@kdcloudjs/shoelace 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cdn/chunks/chunk.226ONJUG.js +11 -0
- package/cdn/chunks/chunk.22IC7IUA.js +11 -0
- package/cdn/chunks/chunk.22NGLBNU.js +21 -0
- package/cdn/chunks/chunk.23MCZEGK.js +199 -0
- package/cdn/chunks/chunk.2CPXNGW5.js +11 -0
- package/cdn/chunks/chunk.2KS6USIH.js +25 -0
- package/cdn/chunks/chunk.2S75J74A.js +25 -0
- package/cdn/chunks/chunk.2XVSGMNG.js +52 -0
- package/cdn/chunks/chunk.2ZX64SKX.js +11 -0
- package/cdn/chunks/chunk.3B3UZOGF.js +11 -0
- package/cdn/chunks/chunk.3EU3NKJA.js +11 -0
- package/cdn/chunks/chunk.3GJC7TMV.js +11 -0
- package/cdn/chunks/chunk.3IMH633K.js +155 -0
- package/cdn/chunks/chunk.3JWTFXPV.js +25 -0
- package/cdn/chunks/chunk.3KZ6RFET.js +77 -0
- package/cdn/chunks/chunk.3PSXUWXP.js +11 -0
- package/cdn/chunks/chunk.3T2QDML2.js +25 -0
- package/cdn/chunks/chunk.3XBUVYUW.js +21 -0
- package/cdn/chunks/chunk.3XFODJZM.js +57 -0
- package/cdn/chunks/chunk.3YSVZYWN.js +113 -0
- package/cdn/chunks/chunk.442W7MG3.js +21 -0
- package/cdn/chunks/chunk.4APTP36J.js +11 -0
- package/cdn/chunks/chunk.4HIOUPRK.js +133 -0
- package/cdn/chunks/chunk.4S4N7F3P.js +28 -0
- package/cdn/chunks/chunk.5HPN2TND.js +294 -0
- package/cdn/chunks/chunk.5Q7XKAIA.js +11 -0
- package/cdn/chunks/chunk.5QXV3Z6R.js +11 -0
- package/cdn/chunks/chunk.622UIAVD.js +63 -0
- package/cdn/chunks/chunk.62VUCHSP.js +90 -0
- package/cdn/chunks/chunk.63T4MBT4.js +11 -0
- package/cdn/chunks/chunk.6BUKA7G2.js +28 -0
- package/cdn/chunks/chunk.6NB6Z2L5.js +24 -0
- package/cdn/chunks/chunk.6OUPSNV2.js +26 -0
- package/cdn/chunks/chunk.6QBRHNIF.js +0 -0
- package/cdn/chunks/chunk.6SC2W2LS.js +11 -0
- package/cdn/chunks/chunk.6W732TKY.js +11 -0
- package/cdn/chunks/chunk.6ZFFF7L3.js +11 -0
- package/cdn/chunks/chunk.7DBKAVCA.js +76 -0
- package/cdn/chunks/chunk.7EV36LF3.js +122 -0
- package/cdn/chunks/chunk.7JDCQAK6.js +124 -0
- package/cdn/chunks/chunk.7JHYGHG4.js +84 -0
- package/cdn/chunks/chunk.7Q2ZB5N6.js +218 -0
- package/cdn/chunks/chunk.AHY6XMBG.js +11 -0
- package/cdn/chunks/chunk.AQ5Q7YJ7.js +79 -0
- package/cdn/chunks/chunk.BHLKMQL6.js +25 -0
- package/cdn/chunks/chunk.BIHUFVN4.js +393 -0
- package/cdn/chunks/chunk.BMW7LFRP.js +27 -0
- package/cdn/chunks/chunk.BNLFOWI3.js +21 -0
- package/cdn/chunks/chunk.BO4D3RTO.js +77 -0
- package/cdn/chunks/chunk.BPSOFJF5.js +27 -0
- package/cdn/chunks/chunk.C4QDDRYA.js +11 -0
- package/cdn/chunks/chunk.CEPTD6VD.js +11 -0
- package/cdn/chunks/chunk.CG7L2MKT.js +11 -0
- package/cdn/chunks/chunk.CMAW3ADL.js +89 -0
- package/cdn/chunks/chunk.CVIVQTQI.js +21 -0
- package/cdn/chunks/chunk.CZCSAYQZ.js +124 -0
- package/cdn/chunks/chunk.D6WQCFRA.js +139 -0
- package/cdn/chunks/chunk.DA7FG377.js +11 -0
- package/cdn/chunks/chunk.DEAET7BJ.js +24 -0
- package/cdn/chunks/chunk.DG53SAEQ.js +26 -0
- package/cdn/chunks/chunk.DRKQ5M3Y.js +11 -0
- package/cdn/chunks/chunk.DZDG6YBL.js +11 -0
- package/cdn/chunks/chunk.EB6TUKLT.js +105 -0
- package/cdn/chunks/chunk.EDPLUZCR.js +29 -0
- package/cdn/chunks/chunk.EERTAC3E.js +27 -0
- package/cdn/chunks/chunk.EKRRYXTN.js +160 -0
- package/cdn/chunks/chunk.EKYW6JMS.js +369 -0
- package/cdn/chunks/chunk.ERY5FHKG.js +99 -0
- package/cdn/chunks/chunk.EZV6VEFR.js +11 -0
- package/cdn/chunks/chunk.F2TMXANM.js +27 -0
- package/cdn/chunks/chunk.FBET7QPS.js +11 -0
- package/cdn/chunks/chunk.FBPU4DQV.js +457 -0
- package/cdn/chunks/chunk.FGRSPVKY.js +39 -0
- package/cdn/chunks/chunk.FIXOK33V.js +29 -0
- package/cdn/chunks/chunk.FTAZM4E2.js +156 -0
- package/cdn/chunks/chunk.FUTLAEWK.js +21 -0
- package/cdn/chunks/chunk.G2EACEEP.js +120 -0
- package/cdn/chunks/chunk.G2HIVVML.js +95 -0
- package/cdn/chunks/chunk.G6TN7LQ2.js +11 -0
- package/cdn/chunks/chunk.GGN4C6HZ.js +301 -0
- package/cdn/chunks/chunk.GGRJWHNG.js +26 -0
- package/cdn/chunks/chunk.GHUITQPC.js +11 -0
- package/cdn/chunks/chunk.GOIUZPCV.js +11 -0
- package/cdn/chunks/chunk.GRGYWQPR.js +21 -0
- package/cdn/chunks/chunk.H6I32WY7.js +217 -0
- package/cdn/chunks/chunk.H6LKMMWQ.js +123 -0
- package/cdn/chunks/chunk.H7BI4ZNH.js +27 -0
- package/cdn/chunks/chunk.HA5BTJ4F.js +175 -0
- package/cdn/chunks/chunk.HAODUULM.js +11 -0
- package/cdn/chunks/chunk.HB2PWSYM.js +21 -0
- package/cdn/chunks/chunk.HDEJDOVP.js +21 -0
- package/cdn/chunks/chunk.HDHWBI5F.js +726 -0
- package/cdn/chunks/chunk.HEBGUDU6.js +1992 -0
- package/cdn/chunks/chunk.HMNXDAS4.js +36 -0
- package/cdn/chunks/chunk.HNQO3DOA.js +192 -0
- package/cdn/chunks/chunk.HNUXU3UF.js +129 -0
- package/cdn/chunks/chunk.HX3E4AEE.js +244 -0
- package/cdn/chunks/chunk.I6HYCGWH.js +11 -0
- package/cdn/chunks/chunk.ID7XB2CS.js +5955 -0
- package/cdn/chunks/chunk.ILWAKT36.js +116 -0
- package/cdn/chunks/chunk.ISWER3QR.js +25 -0
- package/cdn/chunks/chunk.IUQQ6GMY.js +99 -0
- package/cdn/chunks/chunk.J4EOEOJZ.js +588 -0
- package/cdn/chunks/chunk.J4INKYOP.js +11 -0
- package/cdn/chunks/chunk.J5OZABHC.js +269 -0
- package/cdn/chunks/chunk.JBFIWJPT.js +11 -0
- package/cdn/chunks/chunk.JDPUQZOS.js +2970 -0
- package/cdn/chunks/chunk.JDXOFWB5.js +24 -0
- package/cdn/chunks/chunk.JFVPK52D.js +21 -0
- package/cdn/chunks/chunk.JU7LY4IB.js +21 -0
- package/cdn/chunks/chunk.JVCSWDLM.js +11 -0
- package/cdn/chunks/chunk.K4WWLPCH.js +21 -0
- package/cdn/chunks/chunk.K7DBR5HB.js +69 -0
- package/cdn/chunks/chunk.KBT5YSFI.js +11 -0
- package/cdn/chunks/chunk.KHPKKBWY.js +11 -0
- package/cdn/chunks/chunk.KMJ37RZ3.js +177 -0
- package/cdn/chunks/chunk.KRLLUWQA.js +11 -0
- package/cdn/chunks/chunk.KSB7EI3T.js +46 -0
- package/cdn/chunks/chunk.KVJCXT5A.js +26 -0
- package/cdn/chunks/chunk.KWTBRZB7.js +823 -0
- package/cdn/chunks/chunk.KXW2ZRHD.js +21 -0
- package/cdn/chunks/chunk.L33NCTPR.js +28 -0
- package/cdn/chunks/chunk.L5A357JC.js +11 -0
- package/cdn/chunks/chunk.L5M4YLQO.js +11 -0
- package/cdn/chunks/chunk.L633QNYU.js +238 -0
- package/cdn/chunks/chunk.L667GGYI.js +11 -0
- package/cdn/chunks/chunk.L6S5JFT3.js +348 -0
- package/cdn/chunks/chunk.LELHXY6T.js +11 -0
- package/cdn/chunks/chunk.LEUSQWMG.js +75 -0
- package/cdn/chunks/chunk.LGL63TDV.js +167 -0
- package/cdn/chunks/chunk.LU3LDDDN.js +116 -0
- package/cdn/chunks/chunk.LVPDFPZK.js +380 -0
- package/cdn/chunks/chunk.LYWATFDL.js +11 -0
- package/cdn/chunks/chunk.M3ZZEQUI.js +281 -0
- package/cdn/chunks/chunk.M4G4P3LI.js +24 -0
- package/cdn/chunks/chunk.MB7NG6ZJ.js +21 -0
- package/cdn/chunks/chunk.MDNI3GQL.js +235 -0
- package/cdn/chunks/chunk.MF7Y3OSS.js +11 -0
- package/cdn/chunks/chunk.MKMSCVMU.js +11 -0
- package/cdn/chunks/chunk.MNQ7FLV4.js +21 -0
- package/cdn/chunks/chunk.MSERHJOV.js +24 -0
- package/cdn/chunks/chunk.MYPTC2PB.js +257 -0
- package/cdn/chunks/chunk.N4EKR2VN.js +115 -0
- package/cdn/chunks/chunk.N6WEYSEP.js +11 -0
- package/cdn/chunks/chunk.NJ4PF242.js +21 -0
- package/cdn/chunks/chunk.NMYOJZQU.js +86 -0
- package/cdn/chunks/chunk.O77G76YD.js +11 -0
- package/cdn/chunks/chunk.OAYHV2L6.js +11 -0
- package/cdn/chunks/chunk.OBCVX7TC.js +29 -0
- package/cdn/chunks/chunk.OBLU4MW2.js +28 -0
- package/cdn/chunks/chunk.ODA6ZTZX.js +21 -0
- package/cdn/chunks/chunk.ODIP4DDO.js +28 -0
- package/cdn/chunks/chunk.OK4D7NRD.js +11 -0
- package/cdn/chunks/chunk.OS2IKKCL.js +246 -0
- package/cdn/chunks/chunk.OS3MLQPE.js +25 -0
- package/cdn/chunks/chunk.OYTG3ARK.js +56 -0
- package/cdn/chunks/chunk.OZJOM3TM.js +24 -0
- package/cdn/chunks/chunk.PDQFLSFT.js +300 -0
- package/cdn/chunks/chunk.PMLIP3JN.js +25 -0
- package/cdn/chunks/chunk.PPJ6H72V.js +173 -0
- package/cdn/chunks/chunk.PPT46XMC.js +28 -0
- package/cdn/chunks/chunk.PVXRWHWY.js +21 -0
- package/cdn/chunks/chunk.Q3XIGDZS.js +110 -0
- package/cdn/chunks/chunk.Q5AH4UIF.js +11 -0
- package/cdn/chunks/chunk.QA6MLBWA.js +11 -0
- package/cdn/chunks/chunk.QB4EPYJW.js +137 -0
- package/cdn/chunks/chunk.QCG447G3.js +144 -0
- package/cdn/chunks/chunk.QEFKSE53.js +404 -0
- package/cdn/chunks/chunk.QNLIKQUE.js +11 -0
- package/cdn/chunks/chunk.QRSLNIH2.js +24 -0
- package/cdn/chunks/chunk.QULHCJHI.js +382 -0
- package/cdn/chunks/chunk.QXMM33J4.js +189 -0
- package/cdn/chunks/chunk.QYUCN4RV.js +338 -0
- package/cdn/chunks/chunk.RC46L6CZ.js +55 -0
- package/cdn/chunks/chunk.ROP2X3P5.js +11 -0
- package/cdn/chunks/chunk.RQ3CQZHW.js +22 -0
- package/cdn/chunks/chunk.RW5BTS62.js +21 -0
- package/cdn/chunks/chunk.RZXX2PIL.js +119 -0
- package/cdn/chunks/chunk.S63QOIIY.js +100 -0
- package/cdn/chunks/chunk.S7QWUQFL.js +97 -0
- package/cdn/chunks/chunk.SD4FRGL4.js +21 -0
- package/cdn/chunks/chunk.SVODYTFP.js +803 -0
- package/cdn/chunks/chunk.SWNGI3OG.js +24 -0
- package/cdn/chunks/chunk.SY37VGFH.js +302 -0
- package/cdn/chunks/chunk.T6S5UVBV.js +21 -0
- package/cdn/chunks/chunk.TF3IWFSX.js +26 -0
- package/cdn/chunks/chunk.TGVOO6UZ.js +304 -0
- package/cdn/chunks/chunk.TJG3NFQI.js +438 -0
- package/cdn/chunks/chunk.TK4U7QEB.js +11 -0
- package/cdn/chunks/chunk.TPPMZ4WH.js +44 -0
- package/cdn/chunks/chunk.TXS3LYDO.js +11 -0
- package/cdn/chunks/chunk.UIWORSK6.js +21 -0
- package/cdn/chunks/chunk.UJTSFPXW.js +33 -0
- package/cdn/chunks/chunk.UK7F6JLK.js +81 -0
- package/cdn/chunks/chunk.UL6GMPQV.js +11 -0
- package/cdn/chunks/chunk.URQKEUC4.js +21 -0
- package/cdn/chunks/chunk.V722FZYB.js +25 -0
- package/cdn/chunks/chunk.VIUGKMKS.js +24 -0
- package/cdn/chunks/chunk.VPXWS4TL.js +5847 -0
- package/cdn/chunks/chunk.VQTVO2WG.js +24 -0
- package/cdn/chunks/chunk.W3D3IGS2.js +24 -0
- package/cdn/chunks/chunk.W67ISUBG.js +11 -0
- package/cdn/chunks/chunk.WAQCCPIL.js +21 -0
- package/cdn/chunks/chunk.WC6ZL4DF.js +11 -0
- package/cdn/chunks/chunk.WE4USEQU.js +126 -0
- package/cdn/chunks/chunk.WFJE4JXV.js +65 -0
- package/cdn/chunks/chunk.WID3TCT6.js +33 -0
- package/cdn/chunks/chunk.WIVODHCF.js +293 -0
- package/cdn/chunks/chunk.WLZJQXPC.js +162 -0
- package/cdn/chunks/chunk.WOQC6KFO.js +123 -0
- package/cdn/chunks/chunk.WQDITCLK.js +381 -0
- package/cdn/chunks/chunk.WQTJ57OT.js +22 -0
- package/cdn/chunks/chunk.WXUIXCKY.js +11 -0
- package/cdn/chunks/chunk.X4ATDEXB.js +186 -0
- package/cdn/chunks/chunk.XBPX2AGN.js +316 -0
- package/cdn/chunks/chunk.XHQNG4WK.js +49 -0
- package/cdn/chunks/chunk.XKAJX7FM.js +24 -0
- package/cdn/chunks/chunk.XMUP74YS.js +51 -0
- package/cdn/chunks/chunk.XYBIF6PM.js +11 -0
- package/cdn/chunks/chunk.Y2LQHEJK.js +504 -0
- package/cdn/chunks/chunk.Y7NZJG4L.js +21 -0
- package/cdn/chunks/chunk.YHCD3DEM.js +979 -0
- package/cdn/chunks/chunk.YQKM65BK.js +29 -0
- package/cdn/chunks/chunk.YWTCA4Q6.js +11 -0
- package/cdn/chunks/chunk.Z7UUV7BS.js +188 -0
- package/cdn/chunks/chunk.ZCAFNMXU.js +11 -0
- package/cdn/chunks/chunk.ZPX6CR56.js +11 -0
- package/cdn/chunks/chunk.ZSMB7A2Y.js +24 -0
- package/cdn/chunks/chunk.ZUZEZOVI.js +1881 -0
- package/cdn/chunks/chunk.ZXNQUYIE.js +24 -0
- package/cdn/chunks/chunk.ZXUNDYLD.js +101 -0
- package/cdn/components/alert/alert.component.js +12 -11
- package/cdn/components/alert/alert.js +13 -12
- package/cdn/components/alert/alert.styles.js +2 -2
- package/cdn/components/animated-image/animated-image.component.js +6 -5
- package/cdn/components/animated-image/animated-image.js +7 -6
- package/cdn/components/animated-image/animated-image.styles.js +1 -1
- package/cdn/components/animation/animation.component.js +6 -5
- package/cdn/components/animation/animation.js +7 -6
- package/cdn/components/animation/animation.styles.js +1 -1
- package/cdn/components/animation/animations.js +2 -2
- package/cdn/components/avatar/avatar.component.js +6 -5
- package/cdn/components/avatar/avatar.js +7 -6
- package/cdn/components/avatar/avatar.styles.js +1 -1
- package/cdn/components/badge/badge.component.js +5 -4
- package/cdn/components/badge/badge.js +6 -5
- package/cdn/components/badge/badge.styles.js +2 -2
- package/cdn/components/breadcrumb/breadcrumb.component.js +6 -5
- package/cdn/components/breadcrumb/breadcrumb.js +7 -6
- package/cdn/components/breadcrumb/breadcrumb.styles.js +1 -1
- package/cdn/components/breadcrumb-item/breadcrumb-item.component.js +5 -4
- package/cdn/components/breadcrumb-item/breadcrumb-item.js +6 -5
- package/cdn/components/breadcrumb-item/breadcrumb-item.styles.js +1 -1
- package/cdn/components/button/button.component.js +10 -9
- package/cdn/components/button/button.js +11 -10
- package/cdn/components/button/button.styles.js +1 -1
- package/cdn/components/button-group/button-group.component.js +4 -3
- package/cdn/components/button-group/button-group.js +5 -4
- package/cdn/components/button-group/button-group.styles.js +1 -1
- package/cdn/components/calendar/calendar.component.js +14 -10
- package/cdn/components/calendar/calendar.js +14 -10
- package/cdn/components/card/card.component.js +5 -4
- package/cdn/components/card/card.js +6 -5
- package/cdn/components/card/card.styles.js +2 -2
- package/cdn/components/carousel/autoplay-controller.js +1 -1
- package/cdn/components/carousel/carousel.component.js +7 -6
- package/cdn/components/carousel/carousel.js +8 -7
- package/cdn/components/carousel/carousel.styles.js +1 -1
- package/cdn/components/carousel-item/carousel-item.component.js +4 -3
- package/cdn/components/carousel-item/carousel-item.js +5 -4
- package/cdn/components/carousel-item/carousel-item.styles.js +1 -1
- package/cdn/components/checkbox/checkbox.component.js +7 -6
- package/cdn/components/checkbox/checkbox.js +8 -7
- package/cdn/components/checkbox/checkbox.styles.js +1 -1
- package/cdn/components/color-picker/color-picker.component.js +19 -18
- package/cdn/components/color-picker/color-picker.js +20 -19
- package/cdn/components/color-picker/color-picker.styles.js +1 -1
- package/cdn/components/copy-button/copy-button.component.js +11 -10
- package/cdn/components/copy-button/copy-button.js +12 -11
- package/cdn/components/copy-button/copy-button.styles.js +1 -1
- package/cdn/components/datepicker/datepicker.component.js +17 -13
- package/cdn/components/datepicker/datepicker.js +17 -13
- package/cdn/components/details/details.component.js +9 -8
- package/cdn/components/details/details.js +10 -9
- package/cdn/components/details/details.styles.js +2 -2
- package/cdn/components/dialog/dialog.component.js +14 -13
- package/cdn/components/dialog/dialog.js +15 -14
- package/cdn/components/dialog/dialog.styles.js +2 -2
- package/cdn/components/divider/divider.component.js +5 -4
- package/cdn/components/divider/divider.js +6 -5
- package/cdn/components/divider/divider.styles.js +1 -1
- package/cdn/components/drawer/drawer.component.js +14 -13
- package/cdn/components/drawer/drawer.js +15 -14
- package/cdn/components/drawer/drawer.styles.js +2 -2
- package/cdn/components/dropdown/dropdown.component.js +10 -9
- package/cdn/components/dropdown/dropdown.js +11 -10
- package/cdn/components/dropdown/dropdown.styles.js +1 -1
- package/cdn/components/format-bytes/format-bytes.component.js +4 -3
- package/cdn/components/format-bytes/format-bytes.js +5 -4
- package/cdn/components/format-date/format-date.component.js +4 -3
- package/cdn/components/format-date/format-date.js +5 -4
- package/cdn/components/format-number/format-number.component.js +4 -3
- package/cdn/components/format-number/format-number.js +5 -4
- package/cdn/components/icon/icon.component.js +5 -4
- package/cdn/components/icon/icon.js +6 -5
- package/cdn/components/icon/icon.styles.js +1 -1
- package/cdn/components/icon/library.default.js +1 -1
- package/cdn/components/icon/library.js +1 -1
- package/cdn/components/icon/library.system.js +1 -1
- package/cdn/components/icon-button/icon-button.component.js +6 -5
- package/cdn/components/icon-button/icon-button.js +7 -6
- package/cdn/components/icon-button/icon-button.styles.js +1 -1
- package/cdn/components/image-comparer/image-comparer.component.js +6 -5
- package/cdn/components/image-comparer/image-comparer.js +7 -6
- package/cdn/components/image-comparer/image-comparer.styles.js +1 -1
- package/cdn/components/include/include.component.js +5 -4
- package/cdn/components/include/include.js +6 -5
- package/cdn/components/include/include.styles.js +1 -1
- package/cdn/components/include/request.js +1 -1
- package/cdn/components/input/input.component.js +9 -8
- package/cdn/components/input/input.js +10 -9
- package/cdn/components/input/input.styles.js +1 -1
- package/cdn/components/menu/menu.component.js +4 -3
- package/cdn/components/menu/menu.js +5 -4
- package/cdn/components/menu/menu.styles.js +1 -1
- package/cdn/components/menu-item/menu-item.component.js +11 -9
- package/cdn/components/menu-item/menu-item.js +12 -10
- package/cdn/components/menu-item/menu-item.styles.js +1 -1
- package/cdn/components/menu-item/submenu-controller.js +3 -2
- package/cdn/components/menu-label/menu-label.component.js +4 -3
- package/cdn/components/menu-label/menu-label.js +5 -4
- package/cdn/components/menu-label/menu-label.styles.js +1 -1
- package/cdn/components/mutation-observer/mutation-observer.component.js +5 -4
- package/cdn/components/mutation-observer/mutation-observer.js +6 -5
- package/cdn/components/mutation-observer/mutation-observer.styles.js +1 -1
- package/cdn/components/option/option.component.js +6 -5
- package/cdn/components/option/option.js +7 -6
- package/cdn/components/option/option.styles.js +1 -1
- package/cdn/components/pagination/custom-select.js +9 -0
- package/cdn/components/pagination/pagination.component.js +21 -0
- package/cdn/components/pagination/pagination.js +25 -0
- package/cdn/components/pagination/pagination.styles.js +8 -0
- package/cdn/components/popup/popup.component.js +4 -3
- package/cdn/components/popup/popup.js +5 -4
- package/cdn/components/popup/popup.styles.js +1 -1
- package/cdn/components/progress-bar/progress-bar.component.js +5 -4
- package/cdn/components/progress-bar/progress-bar.js +6 -5
- package/cdn/components/progress-bar/progress-bar.styles.js +1 -1
- package/cdn/components/progress-ring/progress-ring.component.js +4 -3
- package/cdn/components/progress-ring/progress-ring.js +5 -4
- package/cdn/components/progress-ring/progress-ring.styles.js +1 -1
- package/cdn/components/qr-code/qr-code.component.js +5 -4
- package/cdn/components/qr-code/qr-code.js +6 -5
- package/cdn/components/qr-code/qr-code.styles.js +1 -1
- package/cdn/components/radio/radio.component.js +6 -5
- package/cdn/components/radio/radio.js +7 -6
- package/cdn/components/radio/radio.styles.js +1 -1
- package/cdn/components/radio-button/radio-button.component.js +5 -4
- package/cdn/components/radio-button/radio-button.js +6 -5
- package/cdn/components/radio-button/radio-button.styles.js +1 -1
- package/cdn/components/radio-group/radio-group.component.js +7 -6
- package/cdn/components/radio-group/radio-group.js +8 -7
- package/cdn/components/radio-group/radio-group.styles.js +1 -1
- package/cdn/components/range/range.component.js +8 -7
- package/cdn/components/range/range.js +9 -8
- package/cdn/components/range/range.styles.js +1 -1
- package/cdn/components/rating/rating.component.js +7 -6
- package/cdn/components/rating/rating.js +8 -7
- package/cdn/components/rating/rating.styles.js +1 -1
- package/cdn/components/relative-time/relative-time.component.js +4 -3
- package/cdn/components/relative-time/relative-time.js +5 -4
- package/cdn/components/resize-observer/resize-observer.component.js +5 -4
- package/cdn/components/resize-observer/resize-observer.js +6 -5
- package/cdn/components/resize-observer/resize-observer.styles.js +1 -1
- package/cdn/components/screen/gridstack.styles.js +8 -0
- package/cdn/components/screen/screen.component.js +14 -0
- package/cdn/components/screen/screen.js +15 -0
- package/cdn/components/screen/screen.styles.js +8 -0
- package/cdn/components/select/select.component.js +15 -14
- package/cdn/components/select/select.js +16 -15
- package/cdn/components/select/select.styles.js +1 -1
- package/cdn/components/skeleton/skeleton.component.js +4 -3
- package/cdn/components/skeleton/skeleton.js +5 -4
- package/cdn/components/skeleton/skeleton.styles.js +1 -1
- package/cdn/components/spinner/spinner.component.js +4 -3
- package/cdn/components/spinner/spinner.js +5 -4
- package/cdn/components/spinner/spinner.styles.js +1 -1
- package/cdn/components/split-panel/split-panel.component.js +6 -5
- package/cdn/components/split-panel/split-panel.js +7 -6
- package/cdn/components/split-panel/split-panel.styles.js +1 -1
- package/cdn/components/switch/switch.component.js +6 -5
- package/cdn/components/switch/switch.js +7 -6
- package/cdn/components/switch/switch.styles.js +1 -1
- package/cdn/components/tab/tab.component.js +9 -8
- package/cdn/components/tab/tab.js +10 -9
- package/cdn/components/tab/tab.styles.js +2 -2
- package/cdn/components/tab-group/tab-group.component.js +10 -9
- package/cdn/components/tab-group/tab-group.js +11 -10
- package/cdn/components/tab-group/tab-group.styles.js +2 -2
- package/cdn/components/tab-panel/tab-panel.component.js +5 -4
- package/cdn/components/tab-panel/tab-panel.js +6 -5
- package/cdn/components/tab-panel/tab-panel.styles.js +1 -1
- package/cdn/components/table/body-table.js +9 -7
- package/cdn/components/table/col-group.js +3 -2
- package/cdn/components/table/features/index.js +22 -0
- package/cdn/components/table/features/row-filtering.js +7 -0
- package/cdn/components/table/features/row-selection.js +5 -3
- package/cdn/components/table/features/row-sorting.js +7 -0
- package/cdn/components/table/head-table.js +56 -7
- package/cdn/components/table/spinner-container.js +4 -3
- package/cdn/components/table/table.component.js +53 -17
- package/cdn/components/table/table.context.js +1 -1
- package/cdn/components/table/table.js +54 -18
- package/cdn/components/table/utils.js +8 -4
- package/cdn/components/tag/tag.component.js +9 -8
- package/cdn/components/tag/tag.js +10 -9
- package/cdn/components/tag/tag.styles.js +2 -2
- package/cdn/components/textarea/textarea.component.js +7 -6
- package/cdn/components/textarea/textarea.js +8 -7
- package/cdn/components/textarea/textarea.styles.js +2 -2
- package/cdn/components/time-panel/time-panel.component.js +33 -0
- package/cdn/components/time-panel/time-panel.js +37 -0
- package/cdn/components/time-panel/time-panel.styles.js +8 -0
- package/cdn/components/timepicker/timepicker.component.js +42 -0
- package/cdn/components/timepicker/timepicker.js +46 -0
- package/cdn/components/timepicker/timepicker.styles.js +8 -0
- package/cdn/components/tooltip/tooltip.component.js +9 -8
- package/cdn/components/tooltip/tooltip.js +10 -9
- package/cdn/components/tooltip/tooltip.styles.js +2 -2
- package/cdn/components/tree/tree.component.js +15 -14
- package/cdn/components/tree/tree.js +16 -15
- package/cdn/components/tree/tree.styles.js +1 -1
- package/cdn/components/tree-item/tree-item.component.js +13 -12
- package/cdn/components/tree-item/tree-item.js +14 -13
- package/cdn/components/tree-item/tree-item.styles.js +1 -1
- package/cdn/components/visually-hidden/visually-hidden.component.js +4 -3
- package/cdn/components/visually-hidden/visually-hidden.js +5 -4
- package/cdn/components/visually-hidden/visually-hidden.styles.js +1 -1
- package/cdn/custom-elements.json +2298 -1014
- package/cdn/react/alert/index.js +13 -12
- package/cdn/react/animated-image/index.js +7 -6
- package/cdn/react/animation/index.js +7 -6
- package/cdn/react/avatar/index.js +7 -6
- package/cdn/react/badge/index.js +6 -5
- package/cdn/react/breadcrumb/index.js +7 -6
- package/cdn/react/breadcrumb-item/index.js +6 -5
- package/cdn/react/button/index.js +11 -10
- package/cdn/react/button-group/index.js +5 -4
- package/cdn/react/card/index.js +6 -5
- package/cdn/react/carousel/index.js +8 -7
- package/cdn/react/carousel-item/index.js +5 -4
- package/cdn/react/checkbox/index.js +8 -7
- package/cdn/react/color-picker/index.js +20 -19
- package/cdn/react/copy-button/index.js +12 -11
- package/cdn/react/datepicker/index.js +18 -14
- package/cdn/react/details/index.js +10 -9
- package/cdn/react/dialog/index.js +15 -14
- package/cdn/react/divider/index.js +6 -5
- package/cdn/react/drawer/index.js +15 -14
- package/cdn/react/dropdown/index.js +11 -10
- package/cdn/react/format-bytes/index.js +5 -4
- package/cdn/react/format-date/index.js +5 -4
- package/cdn/react/format-number/index.js +5 -4
- package/cdn/react/icon/index.js +6 -5
- package/cdn/react/icon-button/index.js +7 -6
- package/cdn/react/image-comparer/index.js +7 -6
- package/cdn/react/include/index.js +6 -5
- package/cdn/react/index.js +237 -202
- package/cdn/react/input/index.js +10 -9
- package/cdn/react/menu/index.js +5 -4
- package/cdn/react/menu-item/index.js +12 -10
- package/cdn/react/menu-label/index.js +5 -4
- package/cdn/react/mutation-observer/index.js +6 -5
- package/cdn/react/option/index.js +7 -6
- package/cdn/react/pagination/index.js +22 -0
- package/cdn/react/popup/index.js +5 -4
- package/cdn/react/progress-bar/index.js +6 -5
- package/cdn/react/progress-ring/index.js +5 -4
- package/cdn/react/qr-code/index.js +6 -5
- package/cdn/react/radio/index.js +7 -6
- package/cdn/react/radio-button/index.js +6 -5
- package/cdn/react/radio-group/index.js +8 -7
- package/cdn/react/range/index.js +9 -8
- package/cdn/react/rating/index.js +8 -7
- package/cdn/react/relative-time/index.js +5 -4
- package/cdn/react/resize-observer/index.js +6 -5
- package/cdn/react/screen/index.js +15 -0
- package/cdn/react/select/index.js +16 -15
- package/cdn/react/skeleton/index.js +5 -4
- package/cdn/react/spinner/index.js +5 -4
- package/cdn/react/split-panel/index.js +7 -6
- package/cdn/react/switch/index.js +7 -6
- package/cdn/react/tab/index.js +10 -9
- package/cdn/react/tab-group/index.js +11 -10
- package/cdn/react/tab-panel/index.js +6 -5
- package/cdn/react/table/index.js +54 -18
- package/cdn/react/tag/index.js +10 -9
- package/cdn/react/textarea/index.js +8 -7
- package/cdn/react/timepicker/index.js +43 -0
- package/cdn/react/tooltip/index.js +10 -9
- package/cdn/react/tree/index.js +16 -15
- package/cdn/react/tree-item/index.js +14 -13
- package/cdn/react/visually-hidden/index.js +5 -4
- package/cdn/shoelace-autoloader.js +1 -1
- package/cdn/shoelace.js +201 -185
- package/cdn/themes/dark.css +22 -1
- package/cdn/themes/dark.styles.js +22 -1
- package/cdn/themes/light.css +26 -2
- package/cdn/themes/light.styles.js +26 -2
- package/cdn/translations/ar.js +1 -1
- package/cdn/translations/cs.js +1 -1
- package/cdn/translations/da.js +1 -1
- package/cdn/translations/de-ch.js +1 -1
- package/cdn/translations/de.js +1 -1
- package/cdn/translations/en-gb.js +1 -1
- package/cdn/translations/en.js +1 -1
- package/cdn/translations/es.js +1 -1
- package/cdn/translations/fa.js +1 -1
- package/cdn/translations/fi.js +1 -1
- package/cdn/translations/fr.js +1 -1
- package/cdn/translations/he.js +1 -1
- package/cdn/translations/hr.js +1 -1
- package/cdn/translations/hu.js +1 -1
- package/cdn/translations/id.js +1 -1
- package/cdn/translations/it.js +1 -1
- package/cdn/translations/ja.js +1 -1
- package/cdn/translations/nb.js +1 -1
- package/cdn/translations/nl.js +1 -1
- package/cdn/translations/nn.js +1 -1
- package/cdn/translations/pl.js +1 -1
- package/cdn/translations/pt.js +1 -1
- package/cdn/translations/ru.js +1 -1
- package/cdn/translations/sl.js +1 -1
- package/cdn/translations/sv.js +1 -1
- package/cdn/translations/tr.js +1 -1
- package/cdn/translations/uk.js +1 -1
- package/cdn/translations/zh-cn.js +1 -1
- package/cdn/translations/zh-tw.js +1 -1
- package/cdn/types/vue/index.d.ts +288 -119
- package/cdn/utilities/animation-registry.js +2 -2
- package/cdn/utilities/animation.js +2 -2
- package/cdn/utilities/base-path.js +1 -1
- package/cdn/utilities/form.js +3 -3
- package/cdn/utilities/icon-library.js +1 -1
- package/cdn/utilities/localize.js +1 -1
- package/cdn/utilities/spread.js +8 -0
- package/cdn/vscode.html-custom-data.json +202 -95
- package/cdn/web-types.json +598 -303
- package/dist/chunks/chunk.23HGCLAW.js +21 -0
- package/dist/chunks/chunk.25TBIPFK.js +11 -0
- package/dist/chunks/chunk.26MJV2ME.js +17 -0
- package/dist/chunks/chunk.27DB7RAU.js +11 -0
- package/dist/chunks/chunk.2DETFS7K.js +28 -0
- package/dist/chunks/chunk.2FX6DNML.js +96 -0
- package/dist/chunks/chunk.2JAQPJLX.js +21 -0
- package/dist/chunks/chunk.2PMBAGTI.js +21 -0
- package/dist/chunks/chunk.34GOOMEW.js +11 -0
- package/dist/chunks/chunk.3CPJQZST.js +11 -0
- package/dist/chunks/chunk.3GQBJUIH.js +11 -0
- package/dist/chunks/chunk.3GZPCEOQ.js +73 -0
- package/dist/chunks/chunk.3JZN62YV.js +117 -0
- package/dist/chunks/chunk.3MARYRGV.js +11 -0
- package/dist/chunks/chunk.3NQXOVD4.js +376 -0
- package/dist/chunks/chunk.3W7CHXD7.js +11 -0
- package/dist/chunks/chunk.3WR6R76A.js +59 -0
- package/dist/chunks/chunk.3ZYRK7M4.js +384 -0
- package/dist/chunks/chunk.43LWOCQ5.js +73 -0
- package/dist/chunks/chunk.43PBKGUD.js +26 -0
- package/dist/chunks/chunk.47P2L262.js +25 -0
- package/dist/chunks/chunk.4A6V4OMT.js +107 -0
- package/dist/chunks/chunk.4C4LIIOK.js +11 -0
- package/dist/chunks/chunk.4DJZULKT.js +241 -0
- package/dist/chunks/chunk.4I7DHCAY.js +11 -0
- package/dist/chunks/chunk.4KMZQJPO.js +11 -0
- package/dist/chunks/chunk.4Y6LADJK.js +21 -0
- package/dist/chunks/chunk.4ZJN6EFC.js +337 -0
- package/dist/chunks/chunk.52ARAKCC.js +550 -0
- package/dist/chunks/chunk.5CMYCASF.js +24 -0
- package/dist/chunks/chunk.5HZWJZUO.js +434 -0
- package/dist/chunks/chunk.5NSTMLSM.js +28 -0
- package/dist/chunks/chunk.5QVXBVXA.js +11 -0
- package/dist/chunks/chunk.663VZMAX.js +432 -0
- package/dist/chunks/chunk.67J6JRJP.js +25 -0
- package/dist/chunks/chunk.6AYRKGUV.js +293 -0
- package/dist/chunks/chunk.6KDBVG3H.js +29 -0
- package/dist/chunks/chunk.6L2T3ALG.js +25 -0
- package/dist/chunks/chunk.6NENZVDS.js +29 -0
- package/dist/chunks/chunk.6QBRHNIF.js +0 -0
- package/dist/chunks/chunk.6VKVHEOL.js +27 -0
- package/dist/chunks/chunk.74VPT7ZS.js +83 -0
- package/dist/chunks/chunk.77ABNQIG.js +25 -0
- package/dist/chunks/chunk.7GXE3QVV.js +28 -0
- package/dist/chunks/chunk.7KVTWOBV.js +11 -0
- package/dist/chunks/chunk.7SUJ6ZAV.js +25 -0
- package/dist/chunks/chunk.7V7LRHSR.js +813 -0
- package/dist/chunks/chunk.A62CYGGP.js +22 -0
- package/dist/chunks/chunk.A7MTSZPU.js +11 -0
- package/dist/chunks/chunk.AE2BEBWF.js +25 -0
- package/dist/chunks/chunk.AGDVEDOE.js +797 -0
- package/dist/chunks/chunk.ANGH2JDN.js +11 -0
- package/dist/chunks/chunk.APCO7M5L.js +417 -0
- package/dist/chunks/chunk.AQ7VF6CF.js +22 -0
- package/dist/chunks/chunk.ARMOXZ76.js +192 -0
- package/dist/chunks/chunk.ATVF7YDX.js +949 -0
- package/dist/chunks/chunk.AV23FU3R.js +24 -0
- package/dist/chunks/chunk.BB3BYBEI.js +100 -0
- package/dist/chunks/chunk.BFSKWSGO.js +11 -0
- package/dist/chunks/chunk.BPLVMOQ5.js +134 -0
- package/dist/chunks/chunk.BRV7DF2B.js +26 -0
- package/dist/chunks/chunk.BSMAWKMA.js +259 -0
- package/dist/chunks/chunk.BUQDXJCJ.js +151 -0
- package/dist/chunks/chunk.C23O55XQ.js +80 -0
- package/dist/chunks/chunk.C4IK7KL2.js +21 -0
- package/dist/chunks/chunk.C6JULJJK.js +213 -0
- package/dist/chunks/chunk.CACN44PI.js +126 -0
- package/dist/chunks/chunk.CD53Z5GS.js +24 -0
- package/dist/chunks/chunk.CHOGC6ZW.js +11 -0
- package/dist/chunks/chunk.CKLJH3H5.js +130 -0
- package/dist/chunks/chunk.CNDBEOVK.js +63 -0
- package/dist/chunks/chunk.DC25J3FI.js +21 -0
- package/dist/chunks/chunk.DQSFCRBV.js +11 -0
- package/dist/chunks/chunk.DXJGRMX7.js +11 -0
- package/dist/chunks/chunk.DYI2P2LM.js +21 -0
- package/dist/chunks/chunk.DYSF3MT2.js +170 -0
- package/dist/chunks/chunk.E5JMPGIC.js +11 -0
- package/dist/chunks/chunk.E6Y3LBAN.js +21 -0
- package/dist/chunks/chunk.EBRU4F73.js +11 -0
- package/dist/chunks/chunk.EOAJW6SY.js +11 -0
- package/dist/chunks/chunk.ERPFKQYT.js +11 -0
- package/dist/chunks/chunk.ETNZZR4T.js +21 -0
- package/dist/chunks/chunk.EVL5ADO6.js +24 -0
- package/dist/chunks/chunk.EWH7BS7Y.js +11 -0
- package/dist/chunks/chunk.F7DRAXN5.js +11 -0
- package/dist/chunks/chunk.FBXX3XY4.js +11 -0
- package/dist/chunks/chunk.FKBCP6QY.js +369 -0
- package/dist/chunks/chunk.FLN4E53F.js +11 -0
- package/dist/chunks/chunk.FMCLCSAV.js +11 -0
- package/dist/chunks/chunk.FMTMCZSJ.js +231 -0
- package/dist/chunks/chunk.GJJTZHM3.js +21 -0
- package/dist/chunks/chunk.GQCSUCFS.js +11 -0
- package/dist/chunks/chunk.GVVUKL73.js +311 -0
- package/dist/chunks/chunk.H3IY5UJN.js +135 -0
- package/dist/chunks/chunk.H7ARQXI3.js +90 -0
- package/dist/chunks/chunk.H7VRRT3C.js +21 -0
- package/dist/chunks/chunk.HA5BTJ4F.js +175 -0
- package/dist/chunks/chunk.HT7IWHH6.js +45 -0
- package/dist/chunks/chunk.HVB3JVQB.js +109 -0
- package/dist/chunks/chunk.HVGOXH2K.js +87 -0
- package/dist/chunks/chunk.HXHOO4S6.js +33 -0
- package/dist/chunks/chunk.IXH5Q2C3.js +52 -0
- package/dist/chunks/chunk.IXRNHJ7C.js +11 -0
- package/dist/chunks/chunk.IYUIHIU3.js +21 -0
- package/dist/chunks/chunk.IZ533ZVC.js +11 -0
- package/dist/chunks/chunk.J36FPWHH.js +27 -0
- package/dist/chunks/chunk.J6BZX3PF.js +11 -0
- package/dist/chunks/chunk.J6SKUHDZ.js +25 -0
- package/dist/chunks/chunk.JN3E4OG5.js +25 -0
- package/dist/chunks/chunk.JUR6F3DD.js +21 -0
- package/dist/chunks/chunk.JWL32KO3.js +21 -0
- package/dist/chunks/chunk.JZ2YKXRJ.js +11 -0
- package/dist/chunks/chunk.K32V4NI2.js +116 -0
- package/dist/chunks/chunk.K432JYJK.js +25 -0
- package/dist/chunks/chunk.KHKYZHHU.js +11 -0
- package/dist/chunks/chunk.KMOJC6EA.js +21 -0
- package/dist/chunks/chunk.KOXGJSCI.js +11 -0
- package/dist/chunks/chunk.KQA326PG.js +25 -0
- package/dist/chunks/chunk.KWFSZBC2.js +11 -0
- package/dist/chunks/chunk.L7TBK2YN.js +50 -0
- package/dist/chunks/chunk.LGSMJUTO.js +29 -0
- package/dist/chunks/chunk.LVBOFYKS.js +120 -0
- package/dist/chunks/chunk.MHMANAVS.js +108 -0
- package/dist/chunks/chunk.MIDZO2CW.js +24 -0
- package/dist/chunks/chunk.MMGOYB6R.js +210 -0
- package/dist/chunks/chunk.MTCVEDBK.js +98 -0
- package/dist/chunks/chunk.MY3GNSET.js +189 -0
- package/dist/chunks/chunk.N2E6KOXF.js +113 -0
- package/dist/chunks/chunk.N2LGAJA2.js +291 -0
- package/dist/chunks/chunk.N4WPBYFA.js +54 -0
- package/dist/chunks/chunk.N63RYGSN.js +286 -0
- package/dist/chunks/chunk.N67I2LK5.js +24 -0
- package/dist/chunks/chunk.NBUPN2TY.js +11 -0
- package/dist/chunks/chunk.NEJH2QQL.js +75 -0
- package/dist/chunks/chunk.NFSCC3IK.js +167 -0
- package/dist/chunks/chunk.NIXTHM4P.js +21 -0
- package/dist/chunks/chunk.NQENY4IX.js +247 -0
- package/dist/chunks/chunk.NS7DILD3.js +11 -0
- package/dist/chunks/chunk.NSJJAQ3U.js +11 -0
- package/dist/chunks/chunk.NTAMDSTW.js +121 -0
- package/dist/chunks/chunk.O65X42L5.js +361 -0
- package/dist/chunks/chunk.ODVFSBOC.js +67 -0
- package/dist/chunks/chunk.OHFOZW2I.js +60 -0
- package/dist/chunks/chunk.OK67O325.js +11 -0
- package/dist/chunks/chunk.OQGWS5BT.js +21 -0
- package/dist/chunks/chunk.OQNVUOJC.js +183 -0
- package/dist/chunks/chunk.OS5A26DZ.js +91 -0
- package/dist/chunks/chunk.OSS7BSOC.js +11 -0
- package/dist/chunks/chunk.OTTDDVK3.js +34 -0
- package/dist/chunks/chunk.PD6BNQMJ.js +27 -0
- package/dist/chunks/chunk.PLEDBP67.js +29 -0
- package/dist/chunks/chunk.PLU5PS67.js +11 -0
- package/dist/chunks/chunk.PWOAOGM4.js +11 -0
- package/dist/chunks/chunk.Q3TRUHPI.js +28 -0
- package/dist/chunks/chunk.Q7SXFP3V.js +28 -0
- package/dist/chunks/chunk.QA6SOMF7.js +11 -0
- package/dist/chunks/chunk.QKZZ7WE2.js +21 -0
- package/dist/chunks/chunk.QMDSMON5.js +24 -0
- package/dist/chunks/chunk.QO55DMT2.js +35 -0
- package/dist/chunks/chunk.R4CJVDYU.js +21 -0
- package/dist/chunks/chunk.R6KPDXN6.js +227 -0
- package/dist/chunks/chunk.R7BRZJ7H.js +397 -0
- package/dist/chunks/chunk.RA24XFOG.js +21 -0
- package/dist/chunks/chunk.RB2W2JEV.js +119 -0
- package/dist/chunks/chunk.ROCNG3Z2.js +100 -0
- package/dist/chunks/chunk.RQ3CQZHW.js +22 -0
- package/dist/chunks/chunk.RTPIRRCU.js +280 -0
- package/dist/chunks/chunk.RVSWZTNX.js +11 -0
- package/dist/chunks/chunk.RX2IV62Q.js +11 -0
- package/dist/chunks/chunk.S3LB4WZD.js +21 -0
- package/dist/chunks/chunk.S7VNNBFG.js +11 -0
- package/dist/chunks/chunk.SBZ6QKSO.js +448 -0
- package/dist/chunks/chunk.SFYM5THF.js +26 -0
- package/dist/chunks/chunk.SLIHMHS3.js +315 -0
- package/dist/chunks/chunk.SRWQANS5.js +11 -0
- package/dist/chunks/chunk.SSBB5KT7.js +21 -0
- package/dist/chunks/chunk.T2L2MWXJ.js +45 -0
- package/dist/chunks/chunk.T3CTIXEX.js +96 -0
- package/dist/chunks/chunk.TCYF7JXX.js +24 -0
- package/dist/chunks/chunk.TF3IWFSX.js +26 -0
- package/dist/chunks/chunk.TFJC77LY.js +11 -0
- package/dist/chunks/chunk.TS7CT7QJ.js +75 -0
- package/dist/chunks/chunk.U4EZFCCR.js +11 -0
- package/dist/chunks/chunk.U4R3XMTE.js +11 -0
- package/dist/chunks/chunk.U6PRCBEA.js +21 -0
- package/dist/chunks/chunk.UBH6LHCJ.js +11 -0
- package/dist/chunks/chunk.UC4EKVMK.js +162 -0
- package/dist/chunks/chunk.UE45ZK4Q.js +11 -0
- package/dist/chunks/chunk.UFOUNVWK.js +152 -0
- package/dist/chunks/chunk.UKGXZZQH.js +42 -0
- package/dist/chunks/chunk.UUWWUAM4.js +28 -0
- package/dist/chunks/chunk.V4O2B7KU.js +74 -0
- package/dist/chunks/chunk.VPK6RGLJ.js +85 -0
- package/dist/chunks/chunk.WETCECT3.js +93 -0
- package/dist/chunks/chunk.WGXTRNRP.js +24 -0
- package/dist/chunks/chunk.WNM4FFE3.js +186 -0
- package/dist/chunks/chunk.WOZN3WMM.js +111 -0
- package/dist/chunks/chunk.WPDW5EMG.js +21 -0
- package/dist/chunks/chunk.WQTJ57OT.js +22 -0
- package/dist/chunks/chunk.X4LGWTV3.js +24 -0
- package/dist/chunks/chunk.X6SGIS5L.js +371 -0
- package/dist/chunks/chunk.X6VPNOV3.js +294 -0
- package/dist/chunks/chunk.XCFT6PZE.js +11 -0
- package/dist/chunks/chunk.XHOQBNMU.js +11 -0
- package/dist/chunks/chunk.XKD4HCYC.js +24 -0
- package/dist/chunks/chunk.XKJXEIIO.js +147 -0
- package/dist/chunks/chunk.XNP4OPE3.js +11 -0
- package/dist/chunks/chunk.XODYJEQZ.js +11 -0
- package/dist/chunks/chunk.XQ5MIFHX.js +27 -0
- package/dist/chunks/chunk.XR4HBT5F.js +24 -0
- package/dist/chunks/chunk.Y7HR6IDH.js +23 -0
- package/dist/chunks/chunk.YSOEBZLH.js +494 -0
- package/dist/chunks/chunk.YURGZ2MY.js +11 -0
- package/dist/chunks/chunk.Z6CT6VEF.js +11 -0
- package/dist/chunks/chunk.Z6PM4ZSE.js +181 -0
- package/dist/chunks/chunk.ZF7BTCOX.js +11 -0
- package/dist/chunks/chunk.ZJQALOHS.js +11 -0
- package/dist/chunks/chunk.ZKCCQ4BX.js +274 -0
- package/dist/components/alert/alert.component.js +6 -6
- package/dist/components/alert/alert.js +7 -7
- package/dist/components/alert/alert.styles.js +1 -1
- package/dist/components/animated-image/animated-image.component.js +3 -3
- package/dist/components/animated-image/animated-image.js +4 -4
- package/dist/components/animation/animation.component.js +2 -2
- package/dist/components/animation/animation.js +3 -3
- package/dist/components/avatar/avatar.component.js +3 -3
- package/dist/components/avatar/avatar.js +4 -4
- package/dist/components/badge/badge.component.js +3 -3
- package/dist/components/badge/badge.js +4 -4
- package/dist/components/badge/badge.styles.js +1 -1
- package/dist/components/breadcrumb/breadcrumb.component.js +3 -3
- package/dist/components/breadcrumb/breadcrumb.js +4 -4
- package/dist/components/breadcrumb-item/breadcrumb-item.component.js +2 -2
- package/dist/components/breadcrumb-item/breadcrumb-item.js +3 -3
- package/dist/components/button/button.component.js +5 -5
- package/dist/components/button/button.js +6 -6
- package/dist/components/button-group/button-group.component.js +2 -2
- package/dist/components/button-group/button-group.js +3 -3
- package/dist/components/calendar/calendar.component.js +9 -6
- package/dist/components/calendar/calendar.js +9 -6
- package/dist/components/card/card.component.js +3 -3
- package/dist/components/card/card.js +4 -4
- package/dist/components/card/card.styles.js +1 -1
- package/dist/components/carousel/carousel.component.js +3 -3
- package/dist/components/carousel/carousel.js +4 -4
- package/dist/components/carousel-item/carousel-item.component.js +2 -2
- package/dist/components/carousel-item/carousel-item.js +3 -3
- package/dist/components/checkbox/checkbox.component.js +3 -3
- package/dist/components/checkbox/checkbox.js +4 -4
- package/dist/components/color-picker/color-picker.component.js +11 -11
- package/dist/components/color-picker/color-picker.js +12 -12
- package/dist/components/copy-button/copy-button.component.js +6 -6
- package/dist/components/copy-button/copy-button.js +7 -7
- package/dist/components/datepicker/datepicker.component.js +12 -9
- package/dist/components/datepicker/datepicker.js +12 -9
- package/dist/components/details/details.component.js +4 -4
- package/dist/components/details/details.js +5 -5
- package/dist/components/details/details.styles.js +1 -1
- package/dist/components/dialog/dialog.component.js +6 -6
- package/dist/components/dialog/dialog.js +7 -7
- package/dist/components/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 +6 -6
- package/dist/components/drawer/drawer.js +7 -7
- package/dist/components/drawer/drawer.styles.js +1 -1
- 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 +2 -2
- package/dist/components/icon/icon.js +3 -3
- package/dist/components/icon-button/icon-button.component.js +3 -3
- package/dist/components/icon-button/icon-button.js +4 -4
- package/dist/components/image-comparer/image-comparer.component.js +3 -3
- package/dist/components/image-comparer/image-comparer.js +4 -4
- package/dist/components/include/include.component.js +2 -2
- package/dist/components/include/include.js +3 -3
- package/dist/components/input/input.component.js +4 -4
- package/dist/components/input/input.js +5 -5
- package/dist/components/menu/menu.component.js +2 -2
- package/dist/components/menu/menu.js +3 -3
- package/dist/components/menu-item/menu-item.component.js +6 -6
- package/dist/components/menu-item/menu-item.js +7 -7
- package/dist/components/menu-label/menu-label.component.js +2 -2
- package/dist/components/menu-label/menu-label.js +3 -3
- package/dist/components/mutation-observer/mutation-observer.component.js +2 -2
- package/dist/components/mutation-observer/mutation-observer.js +3 -3
- package/dist/components/option/option.component.js +3 -3
- package/dist/components/option/option.js +4 -4
- package/dist/components/pagination/custom-select.js +7 -0
- package/dist/components/pagination/pagination.component.js +18 -0
- package/dist/components/pagination/pagination.js +22 -0
- package/dist/components/pagination/pagination.styles.js +7 -0
- package/dist/components/popup/popup.component.js +2 -2
- package/dist/components/popup/popup.js +3 -3
- package/dist/components/progress-bar/progress-bar.component.js +2 -2
- package/dist/components/progress-bar/progress-bar.js +3 -3
- package/dist/components/progress-ring/progress-ring.component.js +2 -2
- package/dist/components/progress-ring/progress-ring.js +3 -3
- package/dist/components/qr-code/qr-code.component.js +2 -2
- package/dist/components/qr-code/qr-code.js +3 -3
- package/dist/components/radio/radio.component.js +3 -3
- package/dist/components/radio/radio.js +4 -4
- package/dist/components/radio-button/radio-button.component.js +2 -2
- package/dist/components/radio-button/radio-button.js +3 -3
- package/dist/components/radio-group/radio-group.component.js +3 -3
- package/dist/components/radio-group/radio-group.js +4 -4
- package/dist/components/range/range.component.js +3 -3
- package/dist/components/range/range.js +4 -4
- package/dist/components/rating/rating.component.js +3 -3
- package/dist/components/rating/rating.js +4 -4
- package/dist/components/relative-time/relative-time.component.js +2 -2
- package/dist/components/relative-time/relative-time.js +3 -3
- package/dist/components/resize-observer/resize-observer.component.js +2 -2
- package/dist/components/resize-observer/resize-observer.js +3 -3
- package/dist/components/screen/gridstack.styles.js +7 -0
- package/dist/components/screen/screen.component.js +12 -0
- package/dist/components/screen/screen.js +13 -0
- package/dist/components/screen/screen.styles.js +7 -0
- package/dist/components/select/select.component.js +8 -8
- package/dist/components/select/select.js +9 -9
- package/dist/components/skeleton/skeleton.component.js +2 -2
- package/dist/components/skeleton/skeleton.js +3 -3
- package/dist/components/spinner/spinner.component.js +2 -2
- package/dist/components/spinner/spinner.js +3 -3
- package/dist/components/split-panel/split-panel.component.js +2 -2
- package/dist/components/split-panel/split-panel.js +3 -3
- package/dist/components/switch/switch.component.js +2 -2
- package/dist/components/switch/switch.js +3 -3
- package/dist/components/tab/tab.component.js +5 -5
- package/dist/components/tab/tab.js +6 -6
- package/dist/components/tab/tab.styles.js +1 -1
- 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-group/tab-group.styles.js +1 -1
- 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 +5 -5
- package/dist/components/table/col-group.js +2 -1
- package/dist/components/table/features/index.js +20 -0
- package/dist/components/table/features/row-filtering.js +7 -0
- package/dist/components/table/features/row-selection.js +3 -1
- package/dist/components/table/features/row-sorting.js +7 -0
- package/dist/components/table/head-table.js +48 -5
- package/dist/components/table/spinner-container.js +2 -2
- package/dist/components/table/table.component.js +45 -12
- package/dist/components/table/table.js +46 -13
- package/dist/components/table/utils.js +7 -3
- package/dist/components/tag/tag.component.js +5 -5
- package/dist/components/tag/tag.js +6 -6
- package/dist/components/tag/tag.styles.js +1 -1
- package/dist/components/textarea/textarea.component.js +3 -3
- package/dist/components/textarea/textarea.js +4 -4
- package/dist/components/textarea/textarea.styles.js +1 -1
- package/dist/components/time-panel/time-panel.component.js +25 -0
- package/dist/components/time-panel/time-panel.js +29 -0
- package/dist/components/time-panel/time-panel.styles.js +7 -0
- package/dist/components/timepicker/timepicker.component.js +34 -0
- package/dist/components/timepicker/timepicker.js +38 -0
- package/dist/components/timepicker/timepicker.styles.js +7 -0
- package/dist/components/tooltip/tooltip.component.js +4 -4
- package/dist/components/tooltip/tooltip.js +5 -5
- package/dist/components/tooltip/tooltip.styles.js +1 -1
- package/dist/components/tree/tree.component.js +8 -8
- package/dist/components/tree/tree.js +9 -9
- package/dist/components/tree-item/tree-item.component.js +6 -6
- package/dist/components/tree-item/tree-item.js +7 -7
- package/dist/components/visually-hidden/visually-hidden.component.js +2 -2
- package/dist/components/visually-hidden/visually-hidden.js +3 -3
- package/dist/custom-elements.json +2298 -1014
- package/dist/react/alert/index.js +7 -7
- package/dist/react/animated-image/index.js +4 -4
- package/dist/react/animation/index.js +3 -3
- package/dist/react/avatar/index.js +4 -4
- package/dist/react/badge/index.js +4 -4
- package/dist/react/breadcrumb/index.js +4 -4
- package/dist/react/breadcrumb-item/index.js +3 -3
- package/dist/react/button/index.js +6 -6
- package/dist/react/button-group/index.js +3 -3
- package/dist/react/card/index.js +4 -4
- package/dist/react/carousel/index.js +4 -4
- package/dist/react/carousel-item/index.js +3 -3
- package/dist/react/checkbox/index.js +4 -4
- package/dist/react/color-picker/index.js +12 -12
- package/dist/react/copy-button/index.js +7 -7
- package/dist/react/datepicker/index.js +13 -10
- 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 +7 -7
- 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 +3 -3
- package/dist/react/icon-button/index.js +4 -4
- package/dist/react/image-comparer/index.js +4 -4
- package/dist/react/include/index.js +3 -3
- package/dist/react/index.js +223 -190
- package/dist/react/input/index.js +5 -5
- package/dist/react/menu/index.js +3 -3
- package/dist/react/menu-item/index.js +7 -7
- package/dist/react/menu-label/index.js +3 -3
- package/dist/react/mutation-observer/index.js +3 -3
- package/dist/react/option/index.js +4 -4
- package/dist/react/pagination/index.js +19 -0
- package/dist/react/popup/index.js +3 -3
- package/dist/react/progress-bar/index.js +3 -3
- package/dist/react/progress-ring/index.js +3 -3
- package/dist/react/qr-code/index.js +3 -3
- package/dist/react/radio/index.js +4 -4
- package/dist/react/radio-button/index.js +3 -3
- package/dist/react/radio-group/index.js +4 -4
- package/dist/react/range/index.js +4 -4
- package/dist/react/rating/index.js +4 -4
- package/dist/react/relative-time/index.js +3 -3
- package/dist/react/resize-observer/index.js +3 -3
- package/dist/react/screen/index.js +13 -0
- package/dist/react/select/index.js +9 -9
- package/dist/react/skeleton/index.js +3 -3
- package/dist/react/spinner/index.js +3 -3
- package/dist/react/split-panel/index.js +3 -3
- package/dist/react/switch/index.js +3 -3
- package/dist/react/tab/index.js +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 +46 -13
- package/dist/react/tag/index.js +6 -6
- package/dist/react/textarea/index.js +4 -4
- package/dist/react/timepicker/index.js +35 -0
- package/dist/react/tooltip/index.js +5 -5
- package/dist/react/tree/index.js +9 -9
- package/dist/react/tree-item/index.js +7 -7
- package/dist/react/visually-hidden/index.js +3 -3
- package/dist/shoelace.js +187 -173
- package/dist/themes/dark.css +22 -1
- package/dist/themes/dark.styles.js +22 -1
- package/dist/themes/light.css +26 -2
- package/dist/themes/light.styles.js +26 -2
- package/dist/types/vue/index.d.ts +288 -119
- package/dist/utilities/spread.js +7 -0
- package/dist/vscode.html-custom-data.json +202 -95
- package/dist/web-types.json +598 -303
- package/package.json +4 -1
- package/cdn/chunks/chunk.23LEVUAD.js +0 -11
- package/cdn/chunks/chunk.2DQM7KR3.js +0 -33
- package/cdn/chunks/chunk.2LZSKJ2T.js +0 -11
- package/cdn/chunks/chunk.2MEQUOQT.js +0 -120
- package/cdn/chunks/chunk.2R5GUAS4.js +0 -93
- package/cdn/chunks/chunk.2ZRKTSMX.js +0 -11
- package/cdn/chunks/chunk.3AHSZRMI.js +0 -21
- package/cdn/chunks/chunk.3DQ7BNHZ.js +0 -11
- package/cdn/chunks/chunk.3GBNNACM.js +0 -28
- package/cdn/chunks/chunk.3IN3JGBF.js +0 -21
- package/cdn/chunks/chunk.3IRFJ4MS.js +0 -11
- package/cdn/chunks/chunk.3QRURD7I.js +0 -391
- package/cdn/chunks/chunk.3WDJGGPP.js +0 -298
- package/cdn/chunks/chunk.4BOWZB3Y.js +0 -302
- package/cdn/chunks/chunk.4MLXM2Q2.js +0 -21
- package/cdn/chunks/chunk.57GYZVBY.js +0 -21
- package/cdn/chunks/chunk.5BFPIXSL.js +0 -11
- package/cdn/chunks/chunk.5GSXGIFL.js +0 -11
- package/cdn/chunks/chunk.5RWZ7VI3.js +0 -244
- package/cdn/chunks/chunk.5SUMIOIU.js +0 -113
- package/cdn/chunks/chunk.622XCQBN.js +0 -21
- package/cdn/chunks/chunk.63IG2JBO.js +0 -186
- package/cdn/chunks/chunk.64HCJCNI.js +0 -255
- package/cdn/chunks/chunk.6MIC4EY5.js +0 -99
- package/cdn/chunks/chunk.6W7LTM2T.js +0 -11
- package/cdn/chunks/chunk.72WPILAC.js +0 -197
- package/cdn/chunks/chunk.7BCM4VPC.js +0 -1124
- package/cdn/chunks/chunk.7FB74Q7I.js +0 -24
- package/cdn/chunks/chunk.7JBGCRPU.js +0 -11
- package/cdn/chunks/chunk.7X3B4SI4.js +0 -11
- package/cdn/chunks/chunk.A4ELXI5A.js +0 -11
- package/cdn/chunks/chunk.A67DT75I.js +0 -156
- package/cdn/chunks/chunk.ADHO6CPR.js +0 -1990
- package/cdn/chunks/chunk.AKG4JRVD.js +0 -11
- package/cdn/chunks/chunk.AQPJESFM.js +0 -11
- package/cdn/chunks/chunk.ARG2AQCR.js +0 -95
- package/cdn/chunks/chunk.AVEHZ7BN.js +0 -25
- package/cdn/chunks/chunk.B6UMYXUN.js +0 -367
- package/cdn/chunks/chunk.BGNYIYEZ.js +0 -45
- package/cdn/chunks/chunk.BIPJBNSR.js +0 -11
- package/cdn/chunks/chunk.BOHUHHB2.js +0 -379
- package/cdn/chunks/chunk.BQM4EFTD.js +0 -586
- package/cdn/chunks/chunk.BQXFJOTS.js +0 -21
- package/cdn/chunks/chunk.BTJSQVOZ.js +0 -21
- package/cdn/chunks/chunk.BUARFHOC.js +0 -24
- package/cdn/chunks/chunk.BWGEM2LO.js +0 -216
- package/cdn/chunks/chunk.BYNKR6YM.js +0 -11
- package/cdn/chunks/chunk.BYXUKV4X.js +0 -336
- package/cdn/chunks/chunk.C2DY4TKR.js +0 -455
- package/cdn/chunks/chunk.C764HI4L.js +0 -24
- package/cdn/chunks/chunk.CAGGHZHZ.js +0 -11
- package/cdn/chunks/chunk.CEKMP3GY.js +0 -28
- package/cdn/chunks/chunk.CJIPDSAV.js +0 -29
- package/cdn/chunks/chunk.CLM7SJO5.js +0 -25
- package/cdn/chunks/chunk.CMIFVAA5.js +0 -75
- package/cdn/chunks/chunk.CMVBJIRG.js +0 -11
- package/cdn/chunks/chunk.D7DBWQOG.js +0 -185
- package/cdn/chunks/chunk.DEAKCJ66.js +0 -16
- package/cdn/chunks/chunk.DLXVTPNS.js +0 -979
- package/cdn/chunks/chunk.DNJTQ2Y7.js +0 -11
- package/cdn/chunks/chunk.DPQTAZXV.js +0 -11
- package/cdn/chunks/chunk.DR5M3QI5.js +0 -21
- package/cdn/chunks/chunk.DTUQJHP5.js +0 -42
- package/cdn/chunks/chunk.DYIBSNEG.js +0 -101
- package/cdn/chunks/chunk.E4IO3LPR.js +0 -24
- package/cdn/chunks/chunk.EFV3N7NN.js +0 -11
- package/cdn/chunks/chunk.EKVQOYN5.js +0 -11
- package/cdn/chunks/chunk.EN6IZDYW.js +0 -186
- package/cdn/chunks/chunk.EOLDHINP.js +0 -24
- package/cdn/chunks/chunk.EPCUFOKP.js +0 -11
- package/cdn/chunks/chunk.ET5BZX7S.js +0 -27
- package/cdn/chunks/chunk.EUIGQH5J.js +0 -11
- package/cdn/chunks/chunk.EYAZDNPG.js +0 -163
- package/cdn/chunks/chunk.FAKWCEXF.js +0 -186
- package/cdn/chunks/chunk.FANLTDNV.js +0 -279
- package/cdn/chunks/chunk.FRQZBLKJ.js +0 -75
- package/cdn/chunks/chunk.FSUIUKO5.js +0 -11
- package/cdn/chunks/chunk.FTIUIMQE.js +0 -11
- package/cdn/chunks/chunk.FWQLDDE5.js +0 -21
- package/cdn/chunks/chunk.FYQMGS2X.js +0 -114
- package/cdn/chunks/chunk.GAFRSKH4.js +0 -108
- package/cdn/chunks/chunk.GB5OWZJX.js +0 -119
- package/cdn/chunks/chunk.GCPKKFNW.js +0 -137
- package/cdn/chunks/chunk.GKTPCOT6.js +0 -11
- package/cdn/chunks/chunk.GMNTE57E.js +0 -267
- package/cdn/chunks/chunk.GMZTJAZL.js +0 -25
- package/cdn/chunks/chunk.GSV23YAG.js +0 -11
- package/cdn/chunks/chunk.H45CY7YS.js +0 -11
- package/cdn/chunks/chunk.H7PLVQKX.js +0 -821
- package/cdn/chunks/chunk.H7XCAV4K.js +0 -24
- package/cdn/chunks/chunk.HD2E6OHH.js +0 -49
- package/cdn/chunks/chunk.HFE55EF2.js +0 -39
- package/cdn/chunks/chunk.HJNGGHHJ.js +0 -11
- package/cdn/chunks/chunk.HSDLV7ZD.js +0 -26
- package/cdn/chunks/chunk.HYLVW7U7.js +0 -103
- package/cdn/chunks/chunk.I7NPEYYT.js +0 -158
- package/cdn/chunks/chunk.IAD2YVQN.js +0 -21
- package/cdn/chunks/chunk.IDZPASV6.js +0 -11
- package/cdn/chunks/chunk.IEBTQFLH.js +0 -21
- package/cdn/chunks/chunk.IHVTSIVV.js +0 -11
- package/cdn/chunks/chunk.IJVUBV4V.js +0 -97
- package/cdn/chunks/chunk.ILT347FT.js +0 -11
- package/cdn/chunks/chunk.IMHLNNT7.js +0 -100
- package/cdn/chunks/chunk.IPM7IFNY.js +0 -11
- package/cdn/chunks/chunk.IS33QEZD.js +0 -24
- package/cdn/chunks/chunk.IXQLNPRF.js +0 -26
- package/cdn/chunks/chunk.IY627F2O.js +0 -54
- package/cdn/chunks/chunk.J2JUWNCI.js +0 -115
- package/cdn/chunks/chunk.J2T3HKZH.js +0 -11
- package/cdn/chunks/chunk.JHJ32V5M.js +0 -11
- package/cdn/chunks/chunk.JHZUFAAR.js +0 -46
- package/cdn/chunks/chunk.JKACP3UT.js +0 -11
- package/cdn/chunks/chunk.JR6MLRGD.js +0 -402
- package/cdn/chunks/chunk.JU77O3AK.js +0 -27
- package/cdn/chunks/chunk.JVOPRJ6L.js +0 -11
- package/cdn/chunks/chunk.JX756U2P.js +0 -11
- package/cdn/chunks/chunk.JYYAJVMY.js +0 -27
- package/cdn/chunks/chunk.K2DR372Y.js +0 -67
- package/cdn/chunks/chunk.K2DTALJC.js +0 -501
- package/cdn/chunks/chunk.KPR25VNY.js +0 -11
- package/cdn/chunks/chunk.KWKKCBZI.js +0 -21
- package/cdn/chunks/chunk.L344MXBL.js +0 -24
- package/cdn/chunks/chunk.LALNQTWY.js +0 -21
- package/cdn/chunks/chunk.LBBMCAAK.js +0 -11
- package/cdn/chunks/chunk.LFJBLFAF.js +0 -25
- package/cdn/chunks/chunk.LNXLFBJF.js +0 -25
- package/cdn/chunks/chunk.LNZZQLSD.js +0 -11
- package/cdn/chunks/chunk.LVLRI4FU.js +0 -153
- package/cdn/chunks/chunk.M25JFF4S.js +0 -11
- package/cdn/chunks/chunk.MENDJ3ES.js +0 -21
- package/cdn/chunks/chunk.MMN6BEAM.js +0 -1879
- package/cdn/chunks/chunk.MTNCCBBC.js +0 -127
- package/cdn/chunks/chunk.MXYQ2YHB.js +0 -127
- package/cdn/chunks/chunk.N46Z5XJ2.js +0 -28
- package/cdn/chunks/chunk.NFYJUZ72.js +0 -27
- package/cdn/chunks/chunk.NOOFLZZ3.js +0 -21
- package/cdn/chunks/chunk.NRRGBRFQ.js +0 -25
- package/cdn/chunks/chunk.NTQAYOOB.js +0 -724
- package/cdn/chunks/chunk.OCNWVR4J.js +0 -236
- package/cdn/chunks/chunk.OUYYS2WY.js +0 -21
- package/cdn/chunks/chunk.OY5V3CPY.js +0 -33
- package/cdn/chunks/chunk.PG3KI7CV.js +0 -233
- package/cdn/chunks/chunk.PYGUMT6D.js +0 -25
- package/cdn/chunks/chunk.Q6EUYTT5.js +0 -11
- package/cdn/chunks/chunk.QCNRKOCR.js +0 -105
- package/cdn/chunks/chunk.QRCSQLDS.js +0 -21
- package/cdn/chunks/chunk.QVZCPPRX.js +0 -24
- package/cdn/chunks/chunk.R5VGZ4LD.js +0 -118
- package/cdn/chunks/chunk.R6B7NPKA.js +0 -11
- package/cdn/chunks/chunk.RBKDUVFD.js +0 -24
- package/cdn/chunks/chunk.RCZ3VAD5.js +0 -299
- package/cdn/chunks/chunk.REFJADYI.js +0 -29
- package/cdn/chunks/chunk.RLDNVYO6.js +0 -142
- package/cdn/chunks/chunk.RNXADPVA.js +0 -11
- package/cdn/chunks/chunk.S4WAIX7T.js +0 -21
- package/cdn/chunks/chunk.S7JPGFFL.js +0 -26
- package/cdn/chunks/chunk.SN2P3DPL.js +0 -11
- package/cdn/chunks/chunk.SNJ5TWRF.js +0 -24
- package/cdn/chunks/chunk.SPNXZ2JR.js +0 -11
- package/cdn/chunks/chunk.SUQHAKBQ.js +0 -11
- package/cdn/chunks/chunk.T2F5SLB3.js +0 -24
- package/cdn/chunks/chunk.T6FDWIJB.js +0 -28
- package/cdn/chunks/chunk.T6QOKWOR.js +0 -79
- package/cdn/chunks/chunk.TJTSA5R4.js +0 -82
- package/cdn/chunks/chunk.TLEAVCNN.js +0 -73
- package/cdn/chunks/chunk.TNBXYFZT.js +0 -291
- package/cdn/chunks/chunk.TSTTKLCU.js +0 -11
- package/cdn/chunks/chunk.TWATOU7Q.js +0 -87
- package/cdn/chunks/chunk.U2JDACQS.js +0 -123
- package/cdn/chunks/chunk.U3SRV2F4.js +0 -75
- package/cdn/chunks/chunk.U6LIZH2N.js +0 -258
- package/cdn/chunks/chunk.UG75OYIV.js +0 -21
- package/cdn/chunks/chunk.UGXEFRCT.js +0 -11
- package/cdn/chunks/chunk.UPXT4IT3.js +0 -55
- package/cdn/chunks/chunk.VCIOYUM7.js +0 -21
- package/cdn/chunks/chunk.VEIVN3WO.js +0 -25
- package/cdn/chunks/chunk.VG7IHWCP.js +0 -11
- package/cdn/chunks/chunk.VJH5TNQS.js +0 -11
- package/cdn/chunks/chunk.VKHUSJ7O.js +0 -25
- package/cdn/chunks/chunk.VM65EBLN.js +0 -302
- package/cdn/chunks/chunk.VNXQLD5E.js +0 -21
- package/cdn/chunks/chunk.VT5AKGJP.js +0 -11
- package/cdn/chunks/chunk.VV24KCRD.js +0 -292
- package/cdn/chunks/chunk.VVX2RMFN.js +0 -24
- package/cdn/chunks/chunk.W5YWNJ3F.js +0 -50
- package/cdn/chunks/chunk.WDULR4A5.js +0 -63
- package/cdn/chunks/chunk.WEXY47CC.js +0 -11
- package/cdn/chunks/chunk.WMKP2YBP.js +0 -346
- package/cdn/chunks/chunk.WOFTPMUN.js +0 -77
- package/cdn/chunks/chunk.WPAIOHRM.js +0 -36
- package/cdn/chunks/chunk.X2PCFGVF.js +0 -314
- package/cdn/chunks/chunk.XJMOUI5V.js +0 -11
- package/cdn/chunks/chunk.XK4LBXDT.js +0 -21
- package/cdn/chunks/chunk.XP2SN5TY.js +0 -28
- package/cdn/chunks/chunk.XQZ75PG6.js +0 -11
- package/cdn/chunks/chunk.Y5DKBB6S.js +0 -29
- package/cdn/chunks/chunk.YBDLYSR6.js +0 -11
- package/cdn/chunks/chunk.YCOYO5Q5.js +0 -29
- package/cdn/chunks/chunk.YO2RCZB4.js +0 -27
- package/cdn/chunks/chunk.YPCLW4PZ.js +0 -122
- package/cdn/chunks/chunk.YQCNCHZK.js +0 -2665
- package/cdn/chunks/chunk.YSDEXDWJ.js +0 -63
- package/cdn/chunks/chunk.YSZADQYN.js +0 -21
- package/cdn/chunks/chunk.YUBWOTKQ.js +0 -135
- package/cdn/chunks/chunk.Z67N6G2D.js +0 -11
- package/cdn/chunks/chunk.ZBHMCLJF.js +0 -49
- package/cdn/chunks/chunk.ZHDYZSPI.js +0 -361
- package/cdn/chunks/chunk.ZHRDFBUU.js +0 -390
- package/cdn/chunks/chunk.ZHXVLA3K.js +0 -11
- package/cdn/chunks/chunk.ZNVXAGZ3.js +0 -128
- package/dist/chunks/chunk.22LMB5ZP.js +0 -384
- package/dist/chunks/chunk.23ZAVB4X.js +0 -388
- package/dist/chunks/chunk.2FMGJK4E.js +0 -21
- package/dist/chunks/chunk.2MZ7OOZO.js +0 -11
- package/dist/chunks/chunk.2RFPHSI5.js +0 -11
- package/dist/chunks/chunk.2ZVVWOR6.js +0 -91
- package/dist/chunks/chunk.37BW2NNU.js +0 -11
- package/dist/chunks/chunk.3AUHAYQF.js +0 -11
- package/dist/chunks/chunk.3FSCZMKR.js +0 -11
- package/dist/chunks/chunk.3N56WNRQ.js +0 -33
- package/dist/chunks/chunk.3PLRXNOC.js +0 -21
- package/dist/chunks/chunk.425FPMNI.js +0 -21
- package/dist/chunks/chunk.44FLCGTL.js +0 -11
- package/dist/chunks/chunk.4FMSGOJY.js +0 -27
- package/dist/chunks/chunk.4IGL2EUS.js +0 -11
- package/dist/chunks/chunk.4J5RMZ66.js +0 -21
- package/dist/chunks/chunk.4NWKJATC.js +0 -274
- package/dist/chunks/chunk.4UW565YL.js +0 -21
- package/dist/chunks/chunk.552GI5TU.js +0 -21
- package/dist/chunks/chunk.5MTSKPDY.js +0 -11
- package/dist/chunks/chunk.5P75LPWV.js +0 -286
- package/dist/chunks/chunk.5PSER7UV.js +0 -27
- package/dist/chunks/chunk.5SW72M24.js +0 -813
- package/dist/chunks/chunk.5VOJ3AWX.js +0 -21
- package/dist/chunks/chunk.5XJCQVEK.js +0 -11
- package/dist/chunks/chunk.6AGGHDKH.js +0 -11
- package/dist/chunks/chunk.6DPE65CH.js +0 -119
- package/dist/chunks/chunk.6DTQ2RST.js +0 -28
- package/dist/chunks/chunk.6KE6SBMU.js +0 -182
- package/dist/chunks/chunk.6MPAPKHR.js +0 -21
- package/dist/chunks/chunk.6X2IWQFG.js +0 -80
- package/dist/chunks/chunk.6YT6UDXE.js +0 -134
- package/dist/chunks/chunk.7EXDF63O.js +0 -24
- package/dist/chunks/chunk.7GJXD3DO.js +0 -28
- package/dist/chunks/chunk.7NUBXZK7.js +0 -29
- package/dist/chunks/chunk.A5D6FTFY.js +0 -72
- package/dist/chunks/chunk.ACPYFT2E.js +0 -28
- package/dist/chunks/chunk.ALA4QTHP.js +0 -21
- package/dist/chunks/chunk.AWG34B4U.js +0 -11
- package/dist/chunks/chunk.BLOSLBZ6.js +0 -28
- package/dist/chunks/chunk.BRQKZQRB.js +0 -160
- package/dist/chunks/chunk.BWI5ZFZ5.js +0 -11
- package/dist/chunks/chunk.BZ2VS2FQ.js +0 -75
- package/dist/chunks/chunk.BZZRVFFY.js +0 -213
- package/dist/chunks/chunk.C2TY2O26.js +0 -100
- package/dist/chunks/chunk.C4P7XNPA.js +0 -25
- package/dist/chunks/chunk.CAYMZ4EW.js +0 -11
- package/dist/chunks/chunk.CCBQATE7.js +0 -25
- package/dist/chunks/chunk.CKWA764R.js +0 -11
- package/dist/chunks/chunk.CMME3D5G.js +0 -25
- package/dist/chunks/chunk.CNMNUZLG.js +0 -72
- package/dist/chunks/chunk.CSB2UAJC.js +0 -26
- package/dist/chunks/chunk.CY435P5S.js +0 -21
- package/dist/chunks/chunk.D2S5RSAL.js +0 -100
- package/dist/chunks/chunk.DEAKCJ66.js +0 -16
- package/dist/chunks/chunk.DFNJ6YO5.js +0 -22
- package/dist/chunks/chunk.DFQZR62N.js +0 -24
- package/dist/chunks/chunk.DJXNG3EF.js +0 -28
- package/dist/chunks/chunk.DOSUJ44B.js +0 -227
- package/dist/chunks/chunk.DWC5QG4U.js +0 -26
- package/dist/chunks/chunk.DWRJLFY6.js +0 -11
- package/dist/chunks/chunk.DY7Q3C4A.js +0 -293
- package/dist/chunks/chunk.ERF3RTMM.js +0 -11
- package/dist/chunks/chunk.EXPNO7Z4.js +0 -25
- package/dist/chunks/chunk.EXR7TTO7.js +0 -93
- package/dist/chunks/chunk.F2MBKXHT.js +0 -29
- package/dist/chunks/chunk.FBKBSND6.js +0 -42
- package/dist/chunks/chunk.FEWYZRCL.js +0 -11
- package/dist/chunks/chunk.FH5BAGDM.js +0 -11
- package/dist/chunks/chunk.FPZJLXNX.js +0 -183
- package/dist/chunks/chunk.FUZUDCOO.js +0 -11
- package/dist/chunks/chunk.FYVEEY2H.js +0 -11
- package/dist/chunks/chunk.G47LKPQO.js +0 -21
- package/dist/chunks/chunk.G5RKA5HF.js +0 -124
- package/dist/chunks/chunk.G7EHMN5V.js +0 -11
- package/dist/chunks/chunk.GW7OPBRP.js +0 -21
- package/dist/chunks/chunk.GZ3345ZF.js +0 -59
- package/dist/chunks/chunk.H27LJJR5.js +0 -42
- package/dist/chunks/chunk.H2HGAU4C.js +0 -11
- package/dist/chunks/chunk.H4OCEP76.js +0 -25
- package/dist/chunks/chunk.HBBG247C.js +0 -11
- package/dist/chunks/chunk.HIFL5MTW.js +0 -11
- package/dist/chunks/chunk.HRAFWQWD.js +0 -113
- package/dist/chunks/chunk.HUI4WJKN.js +0 -105
- package/dist/chunks/chunk.HV7LH2XE.js +0 -73
- package/dist/chunks/chunk.HZY36HHO.js +0 -181
- package/dist/chunks/chunk.I56YA2FE.js +0 -109
- package/dist/chunks/chunk.I5WFQYZE.js +0 -11
- package/dist/chunks/chunk.ICQBJXN3.js +0 -11
- package/dist/chunks/chunk.IE4TYRVL.js +0 -11
- package/dist/chunks/chunk.IFNZ32RQ.js +0 -25
- package/dist/chunks/chunk.IGTQGR6B.js +0 -63
- package/dist/chunks/chunk.IJKSR74B.js +0 -315
- package/dist/chunks/chunk.INDYAKUU.js +0 -45
- package/dist/chunks/chunk.IO6GTQTU.js +0 -21
- package/dist/chunks/chunk.J5VWABYY.js +0 -90
- package/dist/chunks/chunk.JK5NL6H3.js +0 -50
- package/dist/chunks/chunk.JZD6EXKN.js +0 -11
- package/dist/chunks/chunk.K32TBGQR.js +0 -337
- package/dist/chunks/chunk.KBYTZHEC.js +0 -259
- package/dist/chunks/chunk.KE2QIWDZ.js +0 -192
- package/dist/chunks/chunk.KMDC56K4.js +0 -11
- package/dist/chunks/chunk.KMYFAKWZ.js +0 -550
- package/dist/chunks/chunk.KQLHZWQ7.js +0 -25
- package/dist/chunks/chunk.KQS4F4RW.js +0 -22
- package/dist/chunks/chunk.KTFDDZEN.js +0 -27
- package/dist/chunks/chunk.KUQYGN2L.js +0 -113
- package/dist/chunks/chunk.KV3DKCCD.js +0 -11
- package/dist/chunks/chunk.L3HJRGSC.js +0 -85
- package/dist/chunks/chunk.LBKZB3BB.js +0 -11
- package/dist/chunks/chunk.LEQAHGT3.js +0 -1123
- package/dist/chunks/chunk.LJE7KQQL.js +0 -24
- package/dist/chunks/chunk.LNJ4HBRW.js +0 -11
- package/dist/chunks/chunk.LQPRP3BV.js +0 -371
- package/dist/chunks/chunk.LUZBSSAH.js +0 -280
- package/dist/chunks/chunk.LWFN7XDP.js +0 -135
- package/dist/chunks/chunk.LZCI2IZ7.js +0 -24
- package/dist/chunks/chunk.M23X7ZHU.js +0 -11
- package/dist/chunks/chunk.M7K53O4E.js +0 -21
- package/dist/chunks/chunk.MB2BGI3T.js +0 -311
- package/dist/chunks/chunk.MCQ3MIFP.js +0 -21
- package/dist/chunks/chunk.MT7VKMYW.js +0 -493
- package/dist/chunks/chunk.MWB25UWL.js +0 -11
- package/dist/chunks/chunk.MXD5MH5O.js +0 -11
- package/dist/chunks/chunk.NC5OWGIQ.js +0 -11
- package/dist/chunks/chunk.NFUAPOOQ.js +0 -24
- package/dist/chunks/chunk.NOWJUAPU.js +0 -122
- package/dist/chunks/chunk.O37GRY54.js +0 -67
- package/dist/chunks/chunk.O7FCHNBV.js +0 -24
- package/dist/chunks/chunk.OFLRRM34.js +0 -21
- package/dist/chunks/chunk.OJECNAFS.js +0 -11
- package/dist/chunks/chunk.OOCI6WMY.js +0 -97
- package/dist/chunks/chunk.OW7F7LI7.js +0 -231
- package/dist/chunks/chunk.OX23FNIL.js +0 -21
- package/dist/chunks/chunk.PHKH7OCN.js +0 -11
- package/dist/chunks/chunk.PIMYNUWJ.js +0 -26
- package/dist/chunks/chunk.PN7WYPLJ.js +0 -949
- package/dist/chunks/chunk.PVSB7573.js +0 -11
- package/dist/chunks/chunk.PYJTGWJI.js +0 -11
- package/dist/chunks/chunk.PYPURIG4.js +0 -126
- package/dist/chunks/chunk.Q2JWMPGU.js +0 -11
- package/dist/chunks/chunk.QMFGY2QT.js +0 -45
- package/dist/chunks/chunk.QNQR32EM.js +0 -52
- package/dist/chunks/chunk.QOHGG35L.js +0 -11
- package/dist/chunks/chunk.QUMJEIU5.js +0 -21
- package/dist/chunks/chunk.QXJEFE7H.js +0 -11
- package/dist/chunks/chunk.ROFEO45L.js +0 -25
- package/dist/chunks/chunk.RPKIOXBP.js +0 -11
- package/dist/chunks/chunk.RTBKCEHA.js +0 -11
- package/dist/chunks/chunk.RXKXJ2SA.js +0 -397
- package/dist/chunks/chunk.S57JXMIN.js +0 -11
- package/dist/chunks/chunk.S6WWKWOZ.js +0 -11
- package/dist/chunks/chunk.SLQ3TLSD.js +0 -11
- package/dist/chunks/chunk.SMV2BLGG.js +0 -24
- package/dist/chunks/chunk.SO7CGB7F.js +0 -11
- package/dist/chunks/chunk.SSIK4ZGV.js +0 -291
- package/dist/chunks/chunk.T45WUXF7.js +0 -11
- package/dist/chunks/chunk.TDYDKTQ6.js +0 -11
- package/dist/chunks/chunk.TEEYQFIV.js +0 -29
- package/dist/chunks/chunk.TKM2LWRJ.js +0 -24
- package/dist/chunks/chunk.TNMOEHS2.js +0 -294
- package/dist/chunks/chunk.UPHI7XHQ.js +0 -147
- package/dist/chunks/chunk.URUWFFVY.js +0 -75
- package/dist/chunks/chunk.V2OL7VMD.js +0 -120
- package/dist/chunks/chunk.V5S6DIWQ.js +0 -24
- package/dist/chunks/chunk.VKZADIVB.js +0 -34
- package/dist/chunks/chunk.W3F2ZIUM.js +0 -25
- package/dist/chunks/chunk.W45PEBK2.js +0 -29
- package/dist/chunks/chunk.W65XZQUC.js +0 -21
- package/dist/chunks/chunk.WHRP6GOV.js +0 -27
- package/dist/chunks/chunk.WIZKJV2W.js +0 -11
- package/dist/chunks/chunk.WQC6OWUE.js +0 -96
- package/dist/chunks/chunk.WS5RHS4G.js +0 -11
- package/dist/chunks/chunk.XF4NXZUN.js +0 -60
- package/dist/chunks/chunk.XJMVHGGE.js +0 -11
- package/dist/chunks/chunk.XJU7WU2G.js +0 -241
- package/dist/chunks/chunk.XLKWO55H.js +0 -21
- package/dist/chunks/chunk.XMAMNYGV.js +0 -117
- package/dist/chunks/chunk.XPU5YU3S.js +0 -111
- package/dist/chunks/chunk.XRG4AMUL.js +0 -448
- package/dist/chunks/chunk.XU4SWNZ5.js +0 -11
- package/dist/chunks/chunk.XUHKT4XR.js +0 -361
- package/dist/chunks/chunk.XWHXWF67.js +0 -180
- package/dist/chunks/chunk.Y2LLE55K.js +0 -247
- package/dist/chunks/chunk.Y3JGTJDM.js +0 -21
- package/dist/chunks/chunk.Y7D4ZNRS.js +0 -21
- package/dist/chunks/chunk.Y7NL3JM7.js +0 -11
- package/dist/chunks/chunk.YFUR5BLL.js +0 -96
- package/dist/chunks/chunk.YHRMKFU2.js +0 -417
- package/dist/chunks/chunk.YOF7YCGP.js +0 -25
- package/dist/chunks/chunk.YTIFDWTT.js +0 -24
- package/dist/chunks/chunk.YY5HDA3O.js +0 -21
- package/dist/chunks/chunk.Z2OSGQYG.js +0 -151
- package/dist/chunks/chunk.ZDNHA3FE.js +0 -116
- package/dist/chunks/chunk.ZFAPC5IL.js +0 -11
- package/dist/chunks/chunk.ZNPUJHGL.js +0 -11
- package/dist/chunks/chunk.ZO4ROWAE.js +0 -26
- package/dist/chunks/chunk.ZQBGF74C.js +0 -24
- package/dist/chunks/chunk.ZU34TALF.js +0 -11
|
@@ -0,0 +1,1881 @@
|
|
|
1
|
+
import {
|
|
2
|
+
popup_styles_default
|
|
3
|
+
} from "./chunk.NCELV3A3.js";
|
|
4
|
+
import {
|
|
5
|
+
LocalizeController
|
|
6
|
+
} from "./chunk.2SU6QBUU.js";
|
|
7
|
+
import {
|
|
8
|
+
e
|
|
9
|
+
} from "./chunk.ZLZKOPYV.js";
|
|
10
|
+
import {
|
|
11
|
+
component_styles_default
|
|
12
|
+
} from "./chunk.EFE6XYM5.js";
|
|
13
|
+
import {
|
|
14
|
+
ShoelaceElement
|
|
15
|
+
} from "./chunk.S63QOIIY.js";
|
|
16
|
+
import {
|
|
17
|
+
e as e2,
|
|
18
|
+
n
|
|
19
|
+
} from "./chunk.KMJ37RZ3.js";
|
|
20
|
+
import {
|
|
21
|
+
x
|
|
22
|
+
} from "./chunk.ZKRJ3RUK.js";
|
|
23
|
+
import {
|
|
24
|
+
__decorateClass,
|
|
25
|
+
__objRest,
|
|
26
|
+
__spreadProps,
|
|
27
|
+
__spreadValues
|
|
28
|
+
} from "./chunk.CZCSAYQZ.js";
|
|
29
|
+
|
|
30
|
+
// node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs
|
|
31
|
+
var min = Math.min;
|
|
32
|
+
var max = Math.max;
|
|
33
|
+
var round = Math.round;
|
|
34
|
+
var floor = Math.floor;
|
|
35
|
+
var createCoords = (v) => ({
|
|
36
|
+
x: v,
|
|
37
|
+
y: v
|
|
38
|
+
});
|
|
39
|
+
var oppositeSideMap = {
|
|
40
|
+
left: "right",
|
|
41
|
+
right: "left",
|
|
42
|
+
bottom: "top",
|
|
43
|
+
top: "bottom"
|
|
44
|
+
};
|
|
45
|
+
var oppositeAlignmentMap = {
|
|
46
|
+
start: "end",
|
|
47
|
+
end: "start"
|
|
48
|
+
};
|
|
49
|
+
function clamp(start, value, end) {
|
|
50
|
+
return max(start, min(value, end));
|
|
51
|
+
}
|
|
52
|
+
function evaluate(value, param) {
|
|
53
|
+
return typeof value === "function" ? value(param) : value;
|
|
54
|
+
}
|
|
55
|
+
function getSide(placement) {
|
|
56
|
+
return placement.split("-")[0];
|
|
57
|
+
}
|
|
58
|
+
function getAlignment(placement) {
|
|
59
|
+
return placement.split("-")[1];
|
|
60
|
+
}
|
|
61
|
+
function getOppositeAxis(axis) {
|
|
62
|
+
return axis === "x" ? "y" : "x";
|
|
63
|
+
}
|
|
64
|
+
function getAxisLength(axis) {
|
|
65
|
+
return axis === "y" ? "height" : "width";
|
|
66
|
+
}
|
|
67
|
+
function getSideAxis(placement) {
|
|
68
|
+
return ["top", "bottom"].includes(getSide(placement)) ? "y" : "x";
|
|
69
|
+
}
|
|
70
|
+
function getAlignmentAxis(placement) {
|
|
71
|
+
return getOppositeAxis(getSideAxis(placement));
|
|
72
|
+
}
|
|
73
|
+
function getAlignmentSides(placement, rects, rtl) {
|
|
74
|
+
if (rtl === void 0) {
|
|
75
|
+
rtl = false;
|
|
76
|
+
}
|
|
77
|
+
const alignment = getAlignment(placement);
|
|
78
|
+
const alignmentAxis = getAlignmentAxis(placement);
|
|
79
|
+
const length = getAxisLength(alignmentAxis);
|
|
80
|
+
let mainAlignmentSide = alignmentAxis === "x" ? alignment === (rtl ? "end" : "start") ? "right" : "left" : alignment === "start" ? "bottom" : "top";
|
|
81
|
+
if (rects.reference[length] > rects.floating[length]) {
|
|
82
|
+
mainAlignmentSide = getOppositePlacement(mainAlignmentSide);
|
|
83
|
+
}
|
|
84
|
+
return [mainAlignmentSide, getOppositePlacement(mainAlignmentSide)];
|
|
85
|
+
}
|
|
86
|
+
function getExpandedPlacements(placement) {
|
|
87
|
+
const oppositePlacement = getOppositePlacement(placement);
|
|
88
|
+
return [getOppositeAlignmentPlacement(placement), oppositePlacement, getOppositeAlignmentPlacement(oppositePlacement)];
|
|
89
|
+
}
|
|
90
|
+
function getOppositeAlignmentPlacement(placement) {
|
|
91
|
+
return placement.replace(/start|end/g, (alignment) => oppositeAlignmentMap[alignment]);
|
|
92
|
+
}
|
|
93
|
+
function getSideList(side, isStart, rtl) {
|
|
94
|
+
const lr = ["left", "right"];
|
|
95
|
+
const rl = ["right", "left"];
|
|
96
|
+
const tb = ["top", "bottom"];
|
|
97
|
+
const bt = ["bottom", "top"];
|
|
98
|
+
switch (side) {
|
|
99
|
+
case "top":
|
|
100
|
+
case "bottom":
|
|
101
|
+
if (rtl) return isStart ? rl : lr;
|
|
102
|
+
return isStart ? lr : rl;
|
|
103
|
+
case "left":
|
|
104
|
+
case "right":
|
|
105
|
+
return isStart ? tb : bt;
|
|
106
|
+
default:
|
|
107
|
+
return [];
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
function getOppositeAxisPlacements(placement, flipAlignment, direction, rtl) {
|
|
111
|
+
const alignment = getAlignment(placement);
|
|
112
|
+
let list = getSideList(getSide(placement), direction === "start", rtl);
|
|
113
|
+
if (alignment) {
|
|
114
|
+
list = list.map((side) => side + "-" + alignment);
|
|
115
|
+
if (flipAlignment) {
|
|
116
|
+
list = list.concat(list.map(getOppositeAlignmentPlacement));
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
return list;
|
|
120
|
+
}
|
|
121
|
+
function getOppositePlacement(placement) {
|
|
122
|
+
return placement.replace(/left|right|bottom|top/g, (side) => oppositeSideMap[side]);
|
|
123
|
+
}
|
|
124
|
+
function expandPaddingObject(padding) {
|
|
125
|
+
return __spreadValues({
|
|
126
|
+
top: 0,
|
|
127
|
+
right: 0,
|
|
128
|
+
bottom: 0,
|
|
129
|
+
left: 0
|
|
130
|
+
}, padding);
|
|
131
|
+
}
|
|
132
|
+
function getPaddingObject(padding) {
|
|
133
|
+
return typeof padding !== "number" ? expandPaddingObject(padding) : {
|
|
134
|
+
top: padding,
|
|
135
|
+
right: padding,
|
|
136
|
+
bottom: padding,
|
|
137
|
+
left: padding
|
|
138
|
+
};
|
|
139
|
+
}
|
|
140
|
+
function rectToClientRect(rect) {
|
|
141
|
+
const {
|
|
142
|
+
x: x2,
|
|
143
|
+
y,
|
|
144
|
+
width,
|
|
145
|
+
height
|
|
146
|
+
} = rect;
|
|
147
|
+
return {
|
|
148
|
+
width,
|
|
149
|
+
height,
|
|
150
|
+
top: y,
|
|
151
|
+
left: x2,
|
|
152
|
+
right: x2 + width,
|
|
153
|
+
bottom: y + height,
|
|
154
|
+
x: x2,
|
|
155
|
+
y
|
|
156
|
+
};
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
// node_modules/@floating-ui/core/dist/floating-ui.core.mjs
|
|
160
|
+
function computeCoordsFromPlacement(_ref, placement, rtl) {
|
|
161
|
+
let {
|
|
162
|
+
reference,
|
|
163
|
+
floating
|
|
164
|
+
} = _ref;
|
|
165
|
+
const sideAxis = getSideAxis(placement);
|
|
166
|
+
const alignmentAxis = getAlignmentAxis(placement);
|
|
167
|
+
const alignLength = getAxisLength(alignmentAxis);
|
|
168
|
+
const side = getSide(placement);
|
|
169
|
+
const isVertical = sideAxis === "y";
|
|
170
|
+
const commonX = reference.x + reference.width / 2 - floating.width / 2;
|
|
171
|
+
const commonY = reference.y + reference.height / 2 - floating.height / 2;
|
|
172
|
+
const commonAlign = reference[alignLength] / 2 - floating[alignLength] / 2;
|
|
173
|
+
let coords;
|
|
174
|
+
switch (side) {
|
|
175
|
+
case "top":
|
|
176
|
+
coords = {
|
|
177
|
+
x: commonX,
|
|
178
|
+
y: reference.y - floating.height
|
|
179
|
+
};
|
|
180
|
+
break;
|
|
181
|
+
case "bottom":
|
|
182
|
+
coords = {
|
|
183
|
+
x: commonX,
|
|
184
|
+
y: reference.y + reference.height
|
|
185
|
+
};
|
|
186
|
+
break;
|
|
187
|
+
case "right":
|
|
188
|
+
coords = {
|
|
189
|
+
x: reference.x + reference.width,
|
|
190
|
+
y: commonY
|
|
191
|
+
};
|
|
192
|
+
break;
|
|
193
|
+
case "left":
|
|
194
|
+
coords = {
|
|
195
|
+
x: reference.x - floating.width,
|
|
196
|
+
y: commonY
|
|
197
|
+
};
|
|
198
|
+
break;
|
|
199
|
+
default:
|
|
200
|
+
coords = {
|
|
201
|
+
x: reference.x,
|
|
202
|
+
y: reference.y
|
|
203
|
+
};
|
|
204
|
+
}
|
|
205
|
+
switch (getAlignment(placement)) {
|
|
206
|
+
case "start":
|
|
207
|
+
coords[alignmentAxis] -= commonAlign * (rtl && isVertical ? -1 : 1);
|
|
208
|
+
break;
|
|
209
|
+
case "end":
|
|
210
|
+
coords[alignmentAxis] += commonAlign * (rtl && isVertical ? -1 : 1);
|
|
211
|
+
break;
|
|
212
|
+
}
|
|
213
|
+
return coords;
|
|
214
|
+
}
|
|
215
|
+
var computePosition = async (reference, floating, config) => {
|
|
216
|
+
const {
|
|
217
|
+
placement = "bottom",
|
|
218
|
+
strategy = "absolute",
|
|
219
|
+
middleware = [],
|
|
220
|
+
platform: platform2
|
|
221
|
+
} = config;
|
|
222
|
+
const validMiddleware = middleware.filter(Boolean);
|
|
223
|
+
const rtl = await (platform2.isRTL == null ? void 0 : platform2.isRTL(floating));
|
|
224
|
+
let rects = await platform2.getElementRects({
|
|
225
|
+
reference,
|
|
226
|
+
floating,
|
|
227
|
+
strategy
|
|
228
|
+
});
|
|
229
|
+
let {
|
|
230
|
+
x: x2,
|
|
231
|
+
y
|
|
232
|
+
} = computeCoordsFromPlacement(rects, placement, rtl);
|
|
233
|
+
let statefulPlacement = placement;
|
|
234
|
+
let middlewareData = {};
|
|
235
|
+
let resetCount = 0;
|
|
236
|
+
for (let i2 = 0; i2 < validMiddleware.length; i2++) {
|
|
237
|
+
const {
|
|
238
|
+
name,
|
|
239
|
+
fn
|
|
240
|
+
} = validMiddleware[i2];
|
|
241
|
+
const {
|
|
242
|
+
x: nextX,
|
|
243
|
+
y: nextY,
|
|
244
|
+
data,
|
|
245
|
+
reset
|
|
246
|
+
} = await fn({
|
|
247
|
+
x: x2,
|
|
248
|
+
y,
|
|
249
|
+
initialPlacement: placement,
|
|
250
|
+
placement: statefulPlacement,
|
|
251
|
+
strategy,
|
|
252
|
+
middlewareData,
|
|
253
|
+
rects,
|
|
254
|
+
platform: platform2,
|
|
255
|
+
elements: {
|
|
256
|
+
reference,
|
|
257
|
+
floating
|
|
258
|
+
}
|
|
259
|
+
});
|
|
260
|
+
x2 = nextX != null ? nextX : x2;
|
|
261
|
+
y = nextY != null ? nextY : y;
|
|
262
|
+
middlewareData = __spreadProps(__spreadValues({}, middlewareData), {
|
|
263
|
+
[name]: __spreadValues(__spreadValues({}, middlewareData[name]), data)
|
|
264
|
+
});
|
|
265
|
+
if (reset && resetCount <= 50) {
|
|
266
|
+
resetCount++;
|
|
267
|
+
if (typeof reset === "object") {
|
|
268
|
+
if (reset.placement) {
|
|
269
|
+
statefulPlacement = reset.placement;
|
|
270
|
+
}
|
|
271
|
+
if (reset.rects) {
|
|
272
|
+
rects = reset.rects === true ? await platform2.getElementRects({
|
|
273
|
+
reference,
|
|
274
|
+
floating,
|
|
275
|
+
strategy
|
|
276
|
+
}) : reset.rects;
|
|
277
|
+
}
|
|
278
|
+
({
|
|
279
|
+
x: x2,
|
|
280
|
+
y
|
|
281
|
+
} = computeCoordsFromPlacement(rects, statefulPlacement, rtl));
|
|
282
|
+
}
|
|
283
|
+
i2 = -1;
|
|
284
|
+
}
|
|
285
|
+
}
|
|
286
|
+
return {
|
|
287
|
+
x: x2,
|
|
288
|
+
y,
|
|
289
|
+
placement: statefulPlacement,
|
|
290
|
+
strategy,
|
|
291
|
+
middlewareData
|
|
292
|
+
};
|
|
293
|
+
};
|
|
294
|
+
async function detectOverflow(state, options) {
|
|
295
|
+
var _await$platform$isEle;
|
|
296
|
+
if (options === void 0) {
|
|
297
|
+
options = {};
|
|
298
|
+
}
|
|
299
|
+
const {
|
|
300
|
+
x: x2,
|
|
301
|
+
y,
|
|
302
|
+
platform: platform2,
|
|
303
|
+
rects,
|
|
304
|
+
elements,
|
|
305
|
+
strategy
|
|
306
|
+
} = state;
|
|
307
|
+
const {
|
|
308
|
+
boundary = "clippingAncestors",
|
|
309
|
+
rootBoundary = "viewport",
|
|
310
|
+
elementContext = "floating",
|
|
311
|
+
altBoundary = false,
|
|
312
|
+
padding = 0
|
|
313
|
+
} = evaluate(options, state);
|
|
314
|
+
const paddingObject = getPaddingObject(padding);
|
|
315
|
+
const altContext = elementContext === "floating" ? "reference" : "floating";
|
|
316
|
+
const element = elements[altBoundary ? altContext : elementContext];
|
|
317
|
+
const clippingClientRect = rectToClientRect(await platform2.getClippingRect({
|
|
318
|
+
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)),
|
|
319
|
+
boundary,
|
|
320
|
+
rootBoundary,
|
|
321
|
+
strategy
|
|
322
|
+
}));
|
|
323
|
+
const rect = elementContext === "floating" ? {
|
|
324
|
+
x: x2,
|
|
325
|
+
y,
|
|
326
|
+
width: rects.floating.width,
|
|
327
|
+
height: rects.floating.height
|
|
328
|
+
} : rects.reference;
|
|
329
|
+
const offsetParent = await (platform2.getOffsetParent == null ? void 0 : platform2.getOffsetParent(elements.floating));
|
|
330
|
+
const offsetScale = await (platform2.isElement == null ? void 0 : platform2.isElement(offsetParent)) ? await (platform2.getScale == null ? void 0 : platform2.getScale(offsetParent)) || {
|
|
331
|
+
x: 1,
|
|
332
|
+
y: 1
|
|
333
|
+
} : {
|
|
334
|
+
x: 1,
|
|
335
|
+
y: 1
|
|
336
|
+
};
|
|
337
|
+
const elementClientRect = rectToClientRect(platform2.convertOffsetParentRelativeRectToViewportRelativeRect ? await platform2.convertOffsetParentRelativeRectToViewportRelativeRect({
|
|
338
|
+
elements,
|
|
339
|
+
rect,
|
|
340
|
+
offsetParent,
|
|
341
|
+
strategy
|
|
342
|
+
}) : rect);
|
|
343
|
+
return {
|
|
344
|
+
top: (clippingClientRect.top - elementClientRect.top + paddingObject.top) / offsetScale.y,
|
|
345
|
+
bottom: (elementClientRect.bottom - clippingClientRect.bottom + paddingObject.bottom) / offsetScale.y,
|
|
346
|
+
left: (clippingClientRect.left - elementClientRect.left + paddingObject.left) / offsetScale.x,
|
|
347
|
+
right: (elementClientRect.right - clippingClientRect.right + paddingObject.right) / offsetScale.x
|
|
348
|
+
};
|
|
349
|
+
}
|
|
350
|
+
var arrow = (options) => ({
|
|
351
|
+
name: "arrow",
|
|
352
|
+
options,
|
|
353
|
+
async fn(state) {
|
|
354
|
+
const {
|
|
355
|
+
x: x2,
|
|
356
|
+
y,
|
|
357
|
+
placement,
|
|
358
|
+
rects,
|
|
359
|
+
platform: platform2,
|
|
360
|
+
elements,
|
|
361
|
+
middlewareData
|
|
362
|
+
} = state;
|
|
363
|
+
const {
|
|
364
|
+
element,
|
|
365
|
+
padding = 0
|
|
366
|
+
} = evaluate(options, state) || {};
|
|
367
|
+
if (element == null) {
|
|
368
|
+
return {};
|
|
369
|
+
}
|
|
370
|
+
const paddingObject = getPaddingObject(padding);
|
|
371
|
+
const coords = {
|
|
372
|
+
x: x2,
|
|
373
|
+
y
|
|
374
|
+
};
|
|
375
|
+
const axis = getAlignmentAxis(placement);
|
|
376
|
+
const length = getAxisLength(axis);
|
|
377
|
+
const arrowDimensions = await platform2.getDimensions(element);
|
|
378
|
+
const isYAxis = axis === "y";
|
|
379
|
+
const minProp = isYAxis ? "top" : "left";
|
|
380
|
+
const maxProp = isYAxis ? "bottom" : "right";
|
|
381
|
+
const clientProp = isYAxis ? "clientHeight" : "clientWidth";
|
|
382
|
+
const endDiff = rects.reference[length] + rects.reference[axis] - coords[axis] - rects.floating[length];
|
|
383
|
+
const startDiff = coords[axis] - rects.reference[axis];
|
|
384
|
+
const arrowOffsetParent = await (platform2.getOffsetParent == null ? void 0 : platform2.getOffsetParent(element));
|
|
385
|
+
let clientSize = arrowOffsetParent ? arrowOffsetParent[clientProp] : 0;
|
|
386
|
+
if (!clientSize || !await (platform2.isElement == null ? void 0 : platform2.isElement(arrowOffsetParent))) {
|
|
387
|
+
clientSize = elements.floating[clientProp] || rects.floating[length];
|
|
388
|
+
}
|
|
389
|
+
const centerToReference = endDiff / 2 - startDiff / 2;
|
|
390
|
+
const largestPossiblePadding = clientSize / 2 - arrowDimensions[length] / 2 - 1;
|
|
391
|
+
const minPadding = min(paddingObject[minProp], largestPossiblePadding);
|
|
392
|
+
const maxPadding = min(paddingObject[maxProp], largestPossiblePadding);
|
|
393
|
+
const min$1 = minPadding;
|
|
394
|
+
const max2 = clientSize - arrowDimensions[length] - maxPadding;
|
|
395
|
+
const center = clientSize / 2 - arrowDimensions[length] / 2 + centerToReference;
|
|
396
|
+
const offset3 = clamp(min$1, center, max2);
|
|
397
|
+
const shouldAddOffset = !middlewareData.arrow && getAlignment(placement) != null && center !== offset3 && rects.reference[length] / 2 - (center < min$1 ? minPadding : maxPadding) - arrowDimensions[length] / 2 < 0;
|
|
398
|
+
const alignmentOffset = shouldAddOffset ? center < min$1 ? center - min$1 : center - max2 : 0;
|
|
399
|
+
return {
|
|
400
|
+
[axis]: coords[axis] + alignmentOffset,
|
|
401
|
+
data: __spreadValues({
|
|
402
|
+
[axis]: offset3,
|
|
403
|
+
centerOffset: center - offset3 - alignmentOffset
|
|
404
|
+
}, shouldAddOffset && {
|
|
405
|
+
alignmentOffset
|
|
406
|
+
}),
|
|
407
|
+
reset: shouldAddOffset
|
|
408
|
+
};
|
|
409
|
+
}
|
|
410
|
+
});
|
|
411
|
+
var flip = function(options) {
|
|
412
|
+
if (options === void 0) {
|
|
413
|
+
options = {};
|
|
414
|
+
}
|
|
415
|
+
return {
|
|
416
|
+
name: "flip",
|
|
417
|
+
options,
|
|
418
|
+
async fn(state) {
|
|
419
|
+
var _middlewareData$arrow, _middlewareData$flip;
|
|
420
|
+
const {
|
|
421
|
+
placement,
|
|
422
|
+
middlewareData,
|
|
423
|
+
rects,
|
|
424
|
+
initialPlacement,
|
|
425
|
+
platform: platform2,
|
|
426
|
+
elements
|
|
427
|
+
} = state;
|
|
428
|
+
const _a = evaluate(options, state), {
|
|
429
|
+
mainAxis: checkMainAxis = true,
|
|
430
|
+
crossAxis: checkCrossAxis = true,
|
|
431
|
+
fallbackPlacements: specifiedFallbackPlacements,
|
|
432
|
+
fallbackStrategy = "bestFit",
|
|
433
|
+
fallbackAxisSideDirection = "none",
|
|
434
|
+
flipAlignment = true
|
|
435
|
+
} = _a, detectOverflowOptions = __objRest(_a, [
|
|
436
|
+
"mainAxis",
|
|
437
|
+
"crossAxis",
|
|
438
|
+
"fallbackPlacements",
|
|
439
|
+
"fallbackStrategy",
|
|
440
|
+
"fallbackAxisSideDirection",
|
|
441
|
+
"flipAlignment"
|
|
442
|
+
]);
|
|
443
|
+
if ((_middlewareData$arrow = middlewareData.arrow) != null && _middlewareData$arrow.alignmentOffset) {
|
|
444
|
+
return {};
|
|
445
|
+
}
|
|
446
|
+
const side = getSide(placement);
|
|
447
|
+
const initialSideAxis = getSideAxis(initialPlacement);
|
|
448
|
+
const isBasePlacement = getSide(initialPlacement) === initialPlacement;
|
|
449
|
+
const rtl = await (platform2.isRTL == null ? void 0 : platform2.isRTL(elements.floating));
|
|
450
|
+
const fallbackPlacements = specifiedFallbackPlacements || (isBasePlacement || !flipAlignment ? [getOppositePlacement(initialPlacement)] : getExpandedPlacements(initialPlacement));
|
|
451
|
+
const hasFallbackAxisSideDirection = fallbackAxisSideDirection !== "none";
|
|
452
|
+
if (!specifiedFallbackPlacements && hasFallbackAxisSideDirection) {
|
|
453
|
+
fallbackPlacements.push(...getOppositeAxisPlacements(initialPlacement, flipAlignment, fallbackAxisSideDirection, rtl));
|
|
454
|
+
}
|
|
455
|
+
const placements2 = [initialPlacement, ...fallbackPlacements];
|
|
456
|
+
const overflow = await detectOverflow(state, detectOverflowOptions);
|
|
457
|
+
const overflows = [];
|
|
458
|
+
let overflowsData = ((_middlewareData$flip = middlewareData.flip) == null ? void 0 : _middlewareData$flip.overflows) || [];
|
|
459
|
+
if (checkMainAxis) {
|
|
460
|
+
overflows.push(overflow[side]);
|
|
461
|
+
}
|
|
462
|
+
if (checkCrossAxis) {
|
|
463
|
+
const sides2 = getAlignmentSides(placement, rects, rtl);
|
|
464
|
+
overflows.push(overflow[sides2[0]], overflow[sides2[1]]);
|
|
465
|
+
}
|
|
466
|
+
overflowsData = [...overflowsData, {
|
|
467
|
+
placement,
|
|
468
|
+
overflows
|
|
469
|
+
}];
|
|
470
|
+
if (!overflows.every((side2) => side2 <= 0)) {
|
|
471
|
+
var _middlewareData$flip2, _overflowsData$filter;
|
|
472
|
+
const nextIndex = (((_middlewareData$flip2 = middlewareData.flip) == null ? void 0 : _middlewareData$flip2.index) || 0) + 1;
|
|
473
|
+
const nextPlacement = placements2[nextIndex];
|
|
474
|
+
if (nextPlacement) {
|
|
475
|
+
return {
|
|
476
|
+
data: {
|
|
477
|
+
index: nextIndex,
|
|
478
|
+
overflows: overflowsData
|
|
479
|
+
},
|
|
480
|
+
reset: {
|
|
481
|
+
placement: nextPlacement
|
|
482
|
+
}
|
|
483
|
+
};
|
|
484
|
+
}
|
|
485
|
+
let resetPlacement = (_overflowsData$filter = overflowsData.filter((d) => d.overflows[0] <= 0).sort((a, b) => a.overflows[1] - b.overflows[1])[0]) == null ? void 0 : _overflowsData$filter.placement;
|
|
486
|
+
if (!resetPlacement) {
|
|
487
|
+
switch (fallbackStrategy) {
|
|
488
|
+
case "bestFit": {
|
|
489
|
+
var _overflowsData$filter2;
|
|
490
|
+
const placement2 = (_overflowsData$filter2 = overflowsData.filter((d) => {
|
|
491
|
+
if (hasFallbackAxisSideDirection) {
|
|
492
|
+
const currentSideAxis = getSideAxis(d.placement);
|
|
493
|
+
return currentSideAxis === initialSideAxis || // Create a bias to the `y` side axis due to horizontal
|
|
494
|
+
// reading directions favoring greater width.
|
|
495
|
+
currentSideAxis === "y";
|
|
496
|
+
}
|
|
497
|
+
return true;
|
|
498
|
+
}).map((d) => [d.placement, d.overflows.filter((overflow2) => overflow2 > 0).reduce((acc, overflow2) => acc + overflow2, 0)]).sort((a, b) => a[1] - b[1])[0]) == null ? void 0 : _overflowsData$filter2[0];
|
|
499
|
+
if (placement2) {
|
|
500
|
+
resetPlacement = placement2;
|
|
501
|
+
}
|
|
502
|
+
break;
|
|
503
|
+
}
|
|
504
|
+
case "initialPlacement":
|
|
505
|
+
resetPlacement = initialPlacement;
|
|
506
|
+
break;
|
|
507
|
+
}
|
|
508
|
+
}
|
|
509
|
+
if (placement !== resetPlacement) {
|
|
510
|
+
return {
|
|
511
|
+
reset: {
|
|
512
|
+
placement: resetPlacement
|
|
513
|
+
}
|
|
514
|
+
};
|
|
515
|
+
}
|
|
516
|
+
}
|
|
517
|
+
return {};
|
|
518
|
+
}
|
|
519
|
+
};
|
|
520
|
+
};
|
|
521
|
+
async function convertValueToCoords(state, options) {
|
|
522
|
+
const {
|
|
523
|
+
placement,
|
|
524
|
+
platform: platform2,
|
|
525
|
+
elements
|
|
526
|
+
} = state;
|
|
527
|
+
const rtl = await (platform2.isRTL == null ? void 0 : platform2.isRTL(elements.floating));
|
|
528
|
+
const side = getSide(placement);
|
|
529
|
+
const alignment = getAlignment(placement);
|
|
530
|
+
const isVertical = getSideAxis(placement) === "y";
|
|
531
|
+
const mainAxisMulti = ["left", "top"].includes(side) ? -1 : 1;
|
|
532
|
+
const crossAxisMulti = rtl && isVertical ? -1 : 1;
|
|
533
|
+
const rawValue = evaluate(options, state);
|
|
534
|
+
let {
|
|
535
|
+
mainAxis,
|
|
536
|
+
crossAxis,
|
|
537
|
+
alignmentAxis
|
|
538
|
+
} = typeof rawValue === "number" ? {
|
|
539
|
+
mainAxis: rawValue,
|
|
540
|
+
crossAxis: 0,
|
|
541
|
+
alignmentAxis: null
|
|
542
|
+
} : {
|
|
543
|
+
mainAxis: rawValue.mainAxis || 0,
|
|
544
|
+
crossAxis: rawValue.crossAxis || 0,
|
|
545
|
+
alignmentAxis: rawValue.alignmentAxis
|
|
546
|
+
};
|
|
547
|
+
if (alignment && typeof alignmentAxis === "number") {
|
|
548
|
+
crossAxis = alignment === "end" ? alignmentAxis * -1 : alignmentAxis;
|
|
549
|
+
}
|
|
550
|
+
return isVertical ? {
|
|
551
|
+
x: crossAxis * crossAxisMulti,
|
|
552
|
+
y: mainAxis * mainAxisMulti
|
|
553
|
+
} : {
|
|
554
|
+
x: mainAxis * mainAxisMulti,
|
|
555
|
+
y: crossAxis * crossAxisMulti
|
|
556
|
+
};
|
|
557
|
+
}
|
|
558
|
+
var offset = function(options) {
|
|
559
|
+
if (options === void 0) {
|
|
560
|
+
options = 0;
|
|
561
|
+
}
|
|
562
|
+
return {
|
|
563
|
+
name: "offset",
|
|
564
|
+
options,
|
|
565
|
+
async fn(state) {
|
|
566
|
+
var _middlewareData$offse, _middlewareData$arrow;
|
|
567
|
+
const {
|
|
568
|
+
x: x2,
|
|
569
|
+
y,
|
|
570
|
+
placement,
|
|
571
|
+
middlewareData
|
|
572
|
+
} = state;
|
|
573
|
+
const diffCoords = await convertValueToCoords(state, options);
|
|
574
|
+
if (placement === ((_middlewareData$offse = middlewareData.offset) == null ? void 0 : _middlewareData$offse.placement) && (_middlewareData$arrow = middlewareData.arrow) != null && _middlewareData$arrow.alignmentOffset) {
|
|
575
|
+
return {};
|
|
576
|
+
}
|
|
577
|
+
return {
|
|
578
|
+
x: x2 + diffCoords.x,
|
|
579
|
+
y: y + diffCoords.y,
|
|
580
|
+
data: __spreadProps(__spreadValues({}, diffCoords), {
|
|
581
|
+
placement
|
|
582
|
+
})
|
|
583
|
+
};
|
|
584
|
+
}
|
|
585
|
+
};
|
|
586
|
+
};
|
|
587
|
+
var shift = function(options) {
|
|
588
|
+
if (options === void 0) {
|
|
589
|
+
options = {};
|
|
590
|
+
}
|
|
591
|
+
return {
|
|
592
|
+
name: "shift",
|
|
593
|
+
options,
|
|
594
|
+
async fn(state) {
|
|
595
|
+
const {
|
|
596
|
+
x: x2,
|
|
597
|
+
y,
|
|
598
|
+
placement
|
|
599
|
+
} = state;
|
|
600
|
+
const _a = evaluate(options, state), {
|
|
601
|
+
mainAxis: checkMainAxis = true,
|
|
602
|
+
crossAxis: checkCrossAxis = false,
|
|
603
|
+
limiter = {
|
|
604
|
+
fn: (_ref) => {
|
|
605
|
+
let {
|
|
606
|
+
x: x3,
|
|
607
|
+
y: y2
|
|
608
|
+
} = _ref;
|
|
609
|
+
return {
|
|
610
|
+
x: x3,
|
|
611
|
+
y: y2
|
|
612
|
+
};
|
|
613
|
+
}
|
|
614
|
+
}
|
|
615
|
+
} = _a, detectOverflowOptions = __objRest(_a, [
|
|
616
|
+
"mainAxis",
|
|
617
|
+
"crossAxis",
|
|
618
|
+
"limiter"
|
|
619
|
+
]);
|
|
620
|
+
const coords = {
|
|
621
|
+
x: x2,
|
|
622
|
+
y
|
|
623
|
+
};
|
|
624
|
+
const overflow = await detectOverflow(state, detectOverflowOptions);
|
|
625
|
+
const crossAxis = getSideAxis(getSide(placement));
|
|
626
|
+
const mainAxis = getOppositeAxis(crossAxis);
|
|
627
|
+
let mainAxisCoord = coords[mainAxis];
|
|
628
|
+
let crossAxisCoord = coords[crossAxis];
|
|
629
|
+
if (checkMainAxis) {
|
|
630
|
+
const minSide = mainAxis === "y" ? "top" : "left";
|
|
631
|
+
const maxSide = mainAxis === "y" ? "bottom" : "right";
|
|
632
|
+
const min2 = mainAxisCoord + overflow[minSide];
|
|
633
|
+
const max2 = mainAxisCoord - overflow[maxSide];
|
|
634
|
+
mainAxisCoord = clamp(min2, mainAxisCoord, max2);
|
|
635
|
+
}
|
|
636
|
+
if (checkCrossAxis) {
|
|
637
|
+
const minSide = crossAxis === "y" ? "top" : "left";
|
|
638
|
+
const maxSide = crossAxis === "y" ? "bottom" : "right";
|
|
639
|
+
const min2 = crossAxisCoord + overflow[minSide];
|
|
640
|
+
const max2 = crossAxisCoord - overflow[maxSide];
|
|
641
|
+
crossAxisCoord = clamp(min2, crossAxisCoord, max2);
|
|
642
|
+
}
|
|
643
|
+
const limitedCoords = limiter.fn(__spreadProps(__spreadValues({}, state), {
|
|
644
|
+
[mainAxis]: mainAxisCoord,
|
|
645
|
+
[crossAxis]: crossAxisCoord
|
|
646
|
+
}));
|
|
647
|
+
return __spreadProps(__spreadValues({}, limitedCoords), {
|
|
648
|
+
data: {
|
|
649
|
+
x: limitedCoords.x - x2,
|
|
650
|
+
y: limitedCoords.y - y,
|
|
651
|
+
enabled: {
|
|
652
|
+
[mainAxis]: checkMainAxis,
|
|
653
|
+
[crossAxis]: checkCrossAxis
|
|
654
|
+
}
|
|
655
|
+
}
|
|
656
|
+
});
|
|
657
|
+
}
|
|
658
|
+
};
|
|
659
|
+
};
|
|
660
|
+
var size = function(options) {
|
|
661
|
+
if (options === void 0) {
|
|
662
|
+
options = {};
|
|
663
|
+
}
|
|
664
|
+
return {
|
|
665
|
+
name: "size",
|
|
666
|
+
options,
|
|
667
|
+
async fn(state) {
|
|
668
|
+
var _state$middlewareData, _state$middlewareData2;
|
|
669
|
+
const {
|
|
670
|
+
placement,
|
|
671
|
+
rects,
|
|
672
|
+
platform: platform2,
|
|
673
|
+
elements
|
|
674
|
+
} = state;
|
|
675
|
+
const _a = evaluate(options, state), {
|
|
676
|
+
apply = () => {
|
|
677
|
+
}
|
|
678
|
+
} = _a, detectOverflowOptions = __objRest(_a, [
|
|
679
|
+
"apply"
|
|
680
|
+
]);
|
|
681
|
+
const overflow = await detectOverflow(state, detectOverflowOptions);
|
|
682
|
+
const side = getSide(placement);
|
|
683
|
+
const alignment = getAlignment(placement);
|
|
684
|
+
const isYAxis = getSideAxis(placement) === "y";
|
|
685
|
+
const {
|
|
686
|
+
width,
|
|
687
|
+
height
|
|
688
|
+
} = rects.floating;
|
|
689
|
+
let heightSide;
|
|
690
|
+
let widthSide;
|
|
691
|
+
if (side === "top" || side === "bottom") {
|
|
692
|
+
heightSide = side;
|
|
693
|
+
widthSide = alignment === (await (platform2.isRTL == null ? void 0 : platform2.isRTL(elements.floating)) ? "start" : "end") ? "left" : "right";
|
|
694
|
+
} else {
|
|
695
|
+
widthSide = side;
|
|
696
|
+
heightSide = alignment === "end" ? "top" : "bottom";
|
|
697
|
+
}
|
|
698
|
+
const maximumClippingHeight = height - overflow.top - overflow.bottom;
|
|
699
|
+
const maximumClippingWidth = width - overflow.left - overflow.right;
|
|
700
|
+
const overflowAvailableHeight = min(height - overflow[heightSide], maximumClippingHeight);
|
|
701
|
+
const overflowAvailableWidth = min(width - overflow[widthSide], maximumClippingWidth);
|
|
702
|
+
const noShift = !state.middlewareData.shift;
|
|
703
|
+
let availableHeight = overflowAvailableHeight;
|
|
704
|
+
let availableWidth = overflowAvailableWidth;
|
|
705
|
+
if ((_state$middlewareData = state.middlewareData.shift) != null && _state$middlewareData.enabled.x) {
|
|
706
|
+
availableWidth = maximumClippingWidth;
|
|
707
|
+
}
|
|
708
|
+
if ((_state$middlewareData2 = state.middlewareData.shift) != null && _state$middlewareData2.enabled.y) {
|
|
709
|
+
availableHeight = maximumClippingHeight;
|
|
710
|
+
}
|
|
711
|
+
if (noShift && !alignment) {
|
|
712
|
+
const xMin = max(overflow.left, 0);
|
|
713
|
+
const xMax = max(overflow.right, 0);
|
|
714
|
+
const yMin = max(overflow.top, 0);
|
|
715
|
+
const yMax = max(overflow.bottom, 0);
|
|
716
|
+
if (isYAxis) {
|
|
717
|
+
availableWidth = width - 2 * (xMin !== 0 || xMax !== 0 ? xMin + xMax : max(overflow.left, overflow.right));
|
|
718
|
+
} else {
|
|
719
|
+
availableHeight = height - 2 * (yMin !== 0 || yMax !== 0 ? yMin + yMax : max(overflow.top, overflow.bottom));
|
|
720
|
+
}
|
|
721
|
+
}
|
|
722
|
+
await apply(__spreadProps(__spreadValues({}, state), {
|
|
723
|
+
availableWidth,
|
|
724
|
+
availableHeight
|
|
725
|
+
}));
|
|
726
|
+
const nextDimensions = await platform2.getDimensions(elements.floating);
|
|
727
|
+
if (width !== nextDimensions.width || height !== nextDimensions.height) {
|
|
728
|
+
return {
|
|
729
|
+
reset: {
|
|
730
|
+
rects: true
|
|
731
|
+
}
|
|
732
|
+
};
|
|
733
|
+
}
|
|
734
|
+
return {};
|
|
735
|
+
}
|
|
736
|
+
};
|
|
737
|
+
};
|
|
738
|
+
|
|
739
|
+
// node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs
|
|
740
|
+
function hasWindow() {
|
|
741
|
+
return typeof window !== "undefined";
|
|
742
|
+
}
|
|
743
|
+
function getNodeName(node) {
|
|
744
|
+
if (isNode(node)) {
|
|
745
|
+
return (node.nodeName || "").toLowerCase();
|
|
746
|
+
}
|
|
747
|
+
return "#document";
|
|
748
|
+
}
|
|
749
|
+
function getWindow(node) {
|
|
750
|
+
var _node$ownerDocument;
|
|
751
|
+
return (node == null || (_node$ownerDocument = node.ownerDocument) == null ? void 0 : _node$ownerDocument.defaultView) || window;
|
|
752
|
+
}
|
|
753
|
+
function getDocumentElement(node) {
|
|
754
|
+
var _ref;
|
|
755
|
+
return (_ref = (isNode(node) ? node.ownerDocument : node.document) || window.document) == null ? void 0 : _ref.documentElement;
|
|
756
|
+
}
|
|
757
|
+
function isNode(value) {
|
|
758
|
+
if (!hasWindow()) {
|
|
759
|
+
return false;
|
|
760
|
+
}
|
|
761
|
+
return value instanceof Node || value instanceof getWindow(value).Node;
|
|
762
|
+
}
|
|
763
|
+
function isElement(value) {
|
|
764
|
+
if (!hasWindow()) {
|
|
765
|
+
return false;
|
|
766
|
+
}
|
|
767
|
+
return value instanceof Element || value instanceof getWindow(value).Element;
|
|
768
|
+
}
|
|
769
|
+
function isHTMLElement(value) {
|
|
770
|
+
if (!hasWindow()) {
|
|
771
|
+
return false;
|
|
772
|
+
}
|
|
773
|
+
return value instanceof HTMLElement || value instanceof getWindow(value).HTMLElement;
|
|
774
|
+
}
|
|
775
|
+
function isShadowRoot(value) {
|
|
776
|
+
if (!hasWindow() || typeof ShadowRoot === "undefined") {
|
|
777
|
+
return false;
|
|
778
|
+
}
|
|
779
|
+
return value instanceof ShadowRoot || value instanceof getWindow(value).ShadowRoot;
|
|
780
|
+
}
|
|
781
|
+
function isOverflowElement(element) {
|
|
782
|
+
const {
|
|
783
|
+
overflow,
|
|
784
|
+
overflowX,
|
|
785
|
+
overflowY,
|
|
786
|
+
display
|
|
787
|
+
} = getComputedStyle2(element);
|
|
788
|
+
return /auto|scroll|overlay|hidden|clip/.test(overflow + overflowY + overflowX) && !["inline", "contents"].includes(display);
|
|
789
|
+
}
|
|
790
|
+
function isTableElement(element) {
|
|
791
|
+
return ["table", "td", "th"].includes(getNodeName(element));
|
|
792
|
+
}
|
|
793
|
+
function isTopLayer(element) {
|
|
794
|
+
return [":popover-open", ":modal"].some((selector) => {
|
|
795
|
+
try {
|
|
796
|
+
return element.matches(selector);
|
|
797
|
+
} catch (e4) {
|
|
798
|
+
return false;
|
|
799
|
+
}
|
|
800
|
+
});
|
|
801
|
+
}
|
|
802
|
+
function isContainingBlock(elementOrCss) {
|
|
803
|
+
const webkit = isWebKit();
|
|
804
|
+
const css = isElement(elementOrCss) ? getComputedStyle2(elementOrCss) : elementOrCss;
|
|
805
|
+
return css.transform !== "none" || css.perspective !== "none" || (css.containerType ? css.containerType !== "normal" : false) || !webkit && (css.backdropFilter ? css.backdropFilter !== "none" : false) || !webkit && (css.filter ? css.filter !== "none" : false) || ["transform", "perspective", "filter"].some((value) => (css.willChange || "").includes(value)) || ["paint", "layout", "strict", "content"].some((value) => (css.contain || "").includes(value));
|
|
806
|
+
}
|
|
807
|
+
function getContainingBlock(element) {
|
|
808
|
+
let currentNode = getParentNode(element);
|
|
809
|
+
while (isHTMLElement(currentNode) && !isLastTraversableNode(currentNode)) {
|
|
810
|
+
if (isContainingBlock(currentNode)) {
|
|
811
|
+
return currentNode;
|
|
812
|
+
} else if (isTopLayer(currentNode)) {
|
|
813
|
+
return null;
|
|
814
|
+
}
|
|
815
|
+
currentNode = getParentNode(currentNode);
|
|
816
|
+
}
|
|
817
|
+
return null;
|
|
818
|
+
}
|
|
819
|
+
function isWebKit() {
|
|
820
|
+
if (typeof CSS === "undefined" || !CSS.supports) return false;
|
|
821
|
+
return CSS.supports("-webkit-backdrop-filter", "none");
|
|
822
|
+
}
|
|
823
|
+
function isLastTraversableNode(node) {
|
|
824
|
+
return ["html", "body", "#document"].includes(getNodeName(node));
|
|
825
|
+
}
|
|
826
|
+
function getComputedStyle2(element) {
|
|
827
|
+
return getWindow(element).getComputedStyle(element);
|
|
828
|
+
}
|
|
829
|
+
function getNodeScroll(element) {
|
|
830
|
+
if (isElement(element)) {
|
|
831
|
+
return {
|
|
832
|
+
scrollLeft: element.scrollLeft,
|
|
833
|
+
scrollTop: element.scrollTop
|
|
834
|
+
};
|
|
835
|
+
}
|
|
836
|
+
return {
|
|
837
|
+
scrollLeft: element.scrollX,
|
|
838
|
+
scrollTop: element.scrollY
|
|
839
|
+
};
|
|
840
|
+
}
|
|
841
|
+
function getParentNode(node) {
|
|
842
|
+
if (getNodeName(node) === "html") {
|
|
843
|
+
return node;
|
|
844
|
+
}
|
|
845
|
+
const result = (
|
|
846
|
+
// Step into the shadow DOM of the parent of a slotted node.
|
|
847
|
+
node.assignedSlot || // DOM Element detected.
|
|
848
|
+
node.parentNode || // ShadowRoot detected.
|
|
849
|
+
isShadowRoot(node) && node.host || // Fallback.
|
|
850
|
+
getDocumentElement(node)
|
|
851
|
+
);
|
|
852
|
+
return isShadowRoot(result) ? result.host : result;
|
|
853
|
+
}
|
|
854
|
+
function getNearestOverflowAncestor(node) {
|
|
855
|
+
const parentNode = getParentNode(node);
|
|
856
|
+
if (isLastTraversableNode(parentNode)) {
|
|
857
|
+
return node.ownerDocument ? node.ownerDocument.body : node.body;
|
|
858
|
+
}
|
|
859
|
+
if (isHTMLElement(parentNode) && isOverflowElement(parentNode)) {
|
|
860
|
+
return parentNode;
|
|
861
|
+
}
|
|
862
|
+
return getNearestOverflowAncestor(parentNode);
|
|
863
|
+
}
|
|
864
|
+
function getOverflowAncestors(node, list, traverseIframes) {
|
|
865
|
+
var _node$ownerDocument2;
|
|
866
|
+
if (list === void 0) {
|
|
867
|
+
list = [];
|
|
868
|
+
}
|
|
869
|
+
if (traverseIframes === void 0) {
|
|
870
|
+
traverseIframes = true;
|
|
871
|
+
}
|
|
872
|
+
const scrollableAncestor = getNearestOverflowAncestor(node);
|
|
873
|
+
const isBody = scrollableAncestor === ((_node$ownerDocument2 = node.ownerDocument) == null ? void 0 : _node$ownerDocument2.body);
|
|
874
|
+
const win = getWindow(scrollableAncestor);
|
|
875
|
+
if (isBody) {
|
|
876
|
+
const frameElement = getFrameElement(win);
|
|
877
|
+
return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : [], frameElement && traverseIframes ? getOverflowAncestors(frameElement) : []);
|
|
878
|
+
}
|
|
879
|
+
return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor, [], traverseIframes));
|
|
880
|
+
}
|
|
881
|
+
function getFrameElement(win) {
|
|
882
|
+
return win.parent && Object.getPrototypeOf(win.parent) ? win.frameElement : null;
|
|
883
|
+
}
|
|
884
|
+
|
|
885
|
+
// node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs
|
|
886
|
+
function getCssDimensions(element) {
|
|
887
|
+
const css = getComputedStyle2(element);
|
|
888
|
+
let width = parseFloat(css.width) || 0;
|
|
889
|
+
let height = parseFloat(css.height) || 0;
|
|
890
|
+
const hasOffset = isHTMLElement(element);
|
|
891
|
+
const offsetWidth = hasOffset ? element.offsetWidth : width;
|
|
892
|
+
const offsetHeight = hasOffset ? element.offsetHeight : height;
|
|
893
|
+
const shouldFallback = round(width) !== offsetWidth || round(height) !== offsetHeight;
|
|
894
|
+
if (shouldFallback) {
|
|
895
|
+
width = offsetWidth;
|
|
896
|
+
height = offsetHeight;
|
|
897
|
+
}
|
|
898
|
+
return {
|
|
899
|
+
width,
|
|
900
|
+
height,
|
|
901
|
+
$: shouldFallback
|
|
902
|
+
};
|
|
903
|
+
}
|
|
904
|
+
function unwrapElement(element) {
|
|
905
|
+
return !isElement(element) ? element.contextElement : element;
|
|
906
|
+
}
|
|
907
|
+
function getScale(element) {
|
|
908
|
+
const domElement = unwrapElement(element);
|
|
909
|
+
if (!isHTMLElement(domElement)) {
|
|
910
|
+
return createCoords(1);
|
|
911
|
+
}
|
|
912
|
+
const rect = domElement.getBoundingClientRect();
|
|
913
|
+
const {
|
|
914
|
+
width,
|
|
915
|
+
height,
|
|
916
|
+
$
|
|
917
|
+
} = getCssDimensions(domElement);
|
|
918
|
+
let x2 = ($ ? round(rect.width) : rect.width) / width;
|
|
919
|
+
let y = ($ ? round(rect.height) : rect.height) / height;
|
|
920
|
+
if (!x2 || !Number.isFinite(x2)) {
|
|
921
|
+
x2 = 1;
|
|
922
|
+
}
|
|
923
|
+
if (!y || !Number.isFinite(y)) {
|
|
924
|
+
y = 1;
|
|
925
|
+
}
|
|
926
|
+
return {
|
|
927
|
+
x: x2,
|
|
928
|
+
y
|
|
929
|
+
};
|
|
930
|
+
}
|
|
931
|
+
var noOffsets = /* @__PURE__ */ createCoords(0);
|
|
932
|
+
function getVisualOffsets(element) {
|
|
933
|
+
const win = getWindow(element);
|
|
934
|
+
if (!isWebKit() || !win.visualViewport) {
|
|
935
|
+
return noOffsets;
|
|
936
|
+
}
|
|
937
|
+
return {
|
|
938
|
+
x: win.visualViewport.offsetLeft,
|
|
939
|
+
y: win.visualViewport.offsetTop
|
|
940
|
+
};
|
|
941
|
+
}
|
|
942
|
+
function shouldAddVisualOffsets(element, isFixed, floatingOffsetParent) {
|
|
943
|
+
if (isFixed === void 0) {
|
|
944
|
+
isFixed = false;
|
|
945
|
+
}
|
|
946
|
+
if (!floatingOffsetParent || isFixed && floatingOffsetParent !== getWindow(element)) {
|
|
947
|
+
return false;
|
|
948
|
+
}
|
|
949
|
+
return isFixed;
|
|
950
|
+
}
|
|
951
|
+
function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetParent) {
|
|
952
|
+
if (includeScale === void 0) {
|
|
953
|
+
includeScale = false;
|
|
954
|
+
}
|
|
955
|
+
if (isFixedStrategy === void 0) {
|
|
956
|
+
isFixedStrategy = false;
|
|
957
|
+
}
|
|
958
|
+
const clientRect = element.getBoundingClientRect();
|
|
959
|
+
const domElement = unwrapElement(element);
|
|
960
|
+
let scale = createCoords(1);
|
|
961
|
+
if (includeScale) {
|
|
962
|
+
if (offsetParent) {
|
|
963
|
+
if (isElement(offsetParent)) {
|
|
964
|
+
scale = getScale(offsetParent);
|
|
965
|
+
}
|
|
966
|
+
} else {
|
|
967
|
+
scale = getScale(element);
|
|
968
|
+
}
|
|
969
|
+
}
|
|
970
|
+
const visualOffsets = shouldAddVisualOffsets(domElement, isFixedStrategy, offsetParent) ? getVisualOffsets(domElement) : createCoords(0);
|
|
971
|
+
let x2 = (clientRect.left + visualOffsets.x) / scale.x;
|
|
972
|
+
let y = (clientRect.top + visualOffsets.y) / scale.y;
|
|
973
|
+
let width = clientRect.width / scale.x;
|
|
974
|
+
let height = clientRect.height / scale.y;
|
|
975
|
+
if (domElement) {
|
|
976
|
+
const win = getWindow(domElement);
|
|
977
|
+
const offsetWin = offsetParent && isElement(offsetParent) ? getWindow(offsetParent) : offsetParent;
|
|
978
|
+
let currentWin = win;
|
|
979
|
+
let currentIFrame = getFrameElement(currentWin);
|
|
980
|
+
while (currentIFrame && offsetParent && offsetWin !== currentWin) {
|
|
981
|
+
const iframeScale = getScale(currentIFrame);
|
|
982
|
+
const iframeRect = currentIFrame.getBoundingClientRect();
|
|
983
|
+
const css = getComputedStyle2(currentIFrame);
|
|
984
|
+
const left = iframeRect.left + (currentIFrame.clientLeft + parseFloat(css.paddingLeft)) * iframeScale.x;
|
|
985
|
+
const top = iframeRect.top + (currentIFrame.clientTop + parseFloat(css.paddingTop)) * iframeScale.y;
|
|
986
|
+
x2 *= iframeScale.x;
|
|
987
|
+
y *= iframeScale.y;
|
|
988
|
+
width *= iframeScale.x;
|
|
989
|
+
height *= iframeScale.y;
|
|
990
|
+
x2 += left;
|
|
991
|
+
y += top;
|
|
992
|
+
currentWin = getWindow(currentIFrame);
|
|
993
|
+
currentIFrame = getFrameElement(currentWin);
|
|
994
|
+
}
|
|
995
|
+
}
|
|
996
|
+
return rectToClientRect({
|
|
997
|
+
width,
|
|
998
|
+
height,
|
|
999
|
+
x: x2,
|
|
1000
|
+
y
|
|
1001
|
+
});
|
|
1002
|
+
}
|
|
1003
|
+
function getWindowScrollBarX(element, rect) {
|
|
1004
|
+
const leftScroll = getNodeScroll(element).scrollLeft;
|
|
1005
|
+
if (!rect) {
|
|
1006
|
+
return getBoundingClientRect(getDocumentElement(element)).left + leftScroll;
|
|
1007
|
+
}
|
|
1008
|
+
return rect.left + leftScroll;
|
|
1009
|
+
}
|
|
1010
|
+
function getHTMLOffset(documentElement, scroll, ignoreScrollbarX) {
|
|
1011
|
+
if (ignoreScrollbarX === void 0) {
|
|
1012
|
+
ignoreScrollbarX = false;
|
|
1013
|
+
}
|
|
1014
|
+
const htmlRect = documentElement.getBoundingClientRect();
|
|
1015
|
+
const x2 = htmlRect.left + scroll.scrollLeft - (ignoreScrollbarX ? 0 : (
|
|
1016
|
+
// RTL <body> scrollbar.
|
|
1017
|
+
getWindowScrollBarX(documentElement, htmlRect)
|
|
1018
|
+
));
|
|
1019
|
+
const y = htmlRect.top + scroll.scrollTop;
|
|
1020
|
+
return {
|
|
1021
|
+
x: x2,
|
|
1022
|
+
y
|
|
1023
|
+
};
|
|
1024
|
+
}
|
|
1025
|
+
function convertOffsetParentRelativeRectToViewportRelativeRect(_ref) {
|
|
1026
|
+
let {
|
|
1027
|
+
elements,
|
|
1028
|
+
rect,
|
|
1029
|
+
offsetParent,
|
|
1030
|
+
strategy
|
|
1031
|
+
} = _ref;
|
|
1032
|
+
const isFixed = strategy === "fixed";
|
|
1033
|
+
const documentElement = getDocumentElement(offsetParent);
|
|
1034
|
+
const topLayer = elements ? isTopLayer(elements.floating) : false;
|
|
1035
|
+
if (offsetParent === documentElement || topLayer && isFixed) {
|
|
1036
|
+
return rect;
|
|
1037
|
+
}
|
|
1038
|
+
let scroll = {
|
|
1039
|
+
scrollLeft: 0,
|
|
1040
|
+
scrollTop: 0
|
|
1041
|
+
};
|
|
1042
|
+
let scale = createCoords(1);
|
|
1043
|
+
const offsets = createCoords(0);
|
|
1044
|
+
const isOffsetParentAnElement = isHTMLElement(offsetParent);
|
|
1045
|
+
if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {
|
|
1046
|
+
if (getNodeName(offsetParent) !== "body" || isOverflowElement(documentElement)) {
|
|
1047
|
+
scroll = getNodeScroll(offsetParent);
|
|
1048
|
+
}
|
|
1049
|
+
if (isHTMLElement(offsetParent)) {
|
|
1050
|
+
const offsetRect = getBoundingClientRect(offsetParent);
|
|
1051
|
+
scale = getScale(offsetParent);
|
|
1052
|
+
offsets.x = offsetRect.x + offsetParent.clientLeft;
|
|
1053
|
+
offsets.y = offsetRect.y + offsetParent.clientTop;
|
|
1054
|
+
}
|
|
1055
|
+
}
|
|
1056
|
+
const htmlOffset = documentElement && !isOffsetParentAnElement && !isFixed ? getHTMLOffset(documentElement, scroll, true) : createCoords(0);
|
|
1057
|
+
return {
|
|
1058
|
+
width: rect.width * scale.x,
|
|
1059
|
+
height: rect.height * scale.y,
|
|
1060
|
+
x: rect.x * scale.x - scroll.scrollLeft * scale.x + offsets.x + htmlOffset.x,
|
|
1061
|
+
y: rect.y * scale.y - scroll.scrollTop * scale.y + offsets.y + htmlOffset.y
|
|
1062
|
+
};
|
|
1063
|
+
}
|
|
1064
|
+
function getClientRects(element) {
|
|
1065
|
+
return Array.from(element.getClientRects());
|
|
1066
|
+
}
|
|
1067
|
+
function getDocumentRect(element) {
|
|
1068
|
+
const html = getDocumentElement(element);
|
|
1069
|
+
const scroll = getNodeScroll(element);
|
|
1070
|
+
const body = element.ownerDocument.body;
|
|
1071
|
+
const width = max(html.scrollWidth, html.clientWidth, body.scrollWidth, body.clientWidth);
|
|
1072
|
+
const height = max(html.scrollHeight, html.clientHeight, body.scrollHeight, body.clientHeight);
|
|
1073
|
+
let x2 = -scroll.scrollLeft + getWindowScrollBarX(element);
|
|
1074
|
+
const y = -scroll.scrollTop;
|
|
1075
|
+
if (getComputedStyle2(body).direction === "rtl") {
|
|
1076
|
+
x2 += max(html.clientWidth, body.clientWidth) - width;
|
|
1077
|
+
}
|
|
1078
|
+
return {
|
|
1079
|
+
width,
|
|
1080
|
+
height,
|
|
1081
|
+
x: x2,
|
|
1082
|
+
y
|
|
1083
|
+
};
|
|
1084
|
+
}
|
|
1085
|
+
function getViewportRect(element, strategy) {
|
|
1086
|
+
const win = getWindow(element);
|
|
1087
|
+
const html = getDocumentElement(element);
|
|
1088
|
+
const visualViewport = win.visualViewport;
|
|
1089
|
+
let width = html.clientWidth;
|
|
1090
|
+
let height = html.clientHeight;
|
|
1091
|
+
let x2 = 0;
|
|
1092
|
+
let y = 0;
|
|
1093
|
+
if (visualViewport) {
|
|
1094
|
+
width = visualViewport.width;
|
|
1095
|
+
height = visualViewport.height;
|
|
1096
|
+
const visualViewportBased = isWebKit();
|
|
1097
|
+
if (!visualViewportBased || visualViewportBased && strategy === "fixed") {
|
|
1098
|
+
x2 = visualViewport.offsetLeft;
|
|
1099
|
+
y = visualViewport.offsetTop;
|
|
1100
|
+
}
|
|
1101
|
+
}
|
|
1102
|
+
return {
|
|
1103
|
+
width,
|
|
1104
|
+
height,
|
|
1105
|
+
x: x2,
|
|
1106
|
+
y
|
|
1107
|
+
};
|
|
1108
|
+
}
|
|
1109
|
+
function getInnerBoundingClientRect(element, strategy) {
|
|
1110
|
+
const clientRect = getBoundingClientRect(element, true, strategy === "fixed");
|
|
1111
|
+
const top = clientRect.top + element.clientTop;
|
|
1112
|
+
const left = clientRect.left + element.clientLeft;
|
|
1113
|
+
const scale = isHTMLElement(element) ? getScale(element) : createCoords(1);
|
|
1114
|
+
const width = element.clientWidth * scale.x;
|
|
1115
|
+
const height = element.clientHeight * scale.y;
|
|
1116
|
+
const x2 = left * scale.x;
|
|
1117
|
+
const y = top * scale.y;
|
|
1118
|
+
return {
|
|
1119
|
+
width,
|
|
1120
|
+
height,
|
|
1121
|
+
x: x2,
|
|
1122
|
+
y
|
|
1123
|
+
};
|
|
1124
|
+
}
|
|
1125
|
+
function getClientRectFromClippingAncestor(element, clippingAncestor, strategy) {
|
|
1126
|
+
let rect;
|
|
1127
|
+
if (clippingAncestor === "viewport") {
|
|
1128
|
+
rect = getViewportRect(element, strategy);
|
|
1129
|
+
} else if (clippingAncestor === "document") {
|
|
1130
|
+
rect = getDocumentRect(getDocumentElement(element));
|
|
1131
|
+
} else if (isElement(clippingAncestor)) {
|
|
1132
|
+
rect = getInnerBoundingClientRect(clippingAncestor, strategy);
|
|
1133
|
+
} else {
|
|
1134
|
+
const visualOffsets = getVisualOffsets(element);
|
|
1135
|
+
rect = {
|
|
1136
|
+
x: clippingAncestor.x - visualOffsets.x,
|
|
1137
|
+
y: clippingAncestor.y - visualOffsets.y,
|
|
1138
|
+
width: clippingAncestor.width,
|
|
1139
|
+
height: clippingAncestor.height
|
|
1140
|
+
};
|
|
1141
|
+
}
|
|
1142
|
+
return rectToClientRect(rect);
|
|
1143
|
+
}
|
|
1144
|
+
function hasFixedPositionAncestor(element, stopNode) {
|
|
1145
|
+
const parentNode = getParentNode(element);
|
|
1146
|
+
if (parentNode === stopNode || !isElement(parentNode) || isLastTraversableNode(parentNode)) {
|
|
1147
|
+
return false;
|
|
1148
|
+
}
|
|
1149
|
+
return getComputedStyle2(parentNode).position === "fixed" || hasFixedPositionAncestor(parentNode, stopNode);
|
|
1150
|
+
}
|
|
1151
|
+
function getClippingElementAncestors(element, cache) {
|
|
1152
|
+
const cachedResult = cache.get(element);
|
|
1153
|
+
if (cachedResult) {
|
|
1154
|
+
return cachedResult;
|
|
1155
|
+
}
|
|
1156
|
+
let result = getOverflowAncestors(element, [], false).filter((el) => isElement(el) && getNodeName(el) !== "body");
|
|
1157
|
+
let currentContainingBlockComputedStyle = null;
|
|
1158
|
+
const elementIsFixed = getComputedStyle2(element).position === "fixed";
|
|
1159
|
+
let currentNode = elementIsFixed ? getParentNode(element) : element;
|
|
1160
|
+
while (isElement(currentNode) && !isLastTraversableNode(currentNode)) {
|
|
1161
|
+
const computedStyle = getComputedStyle2(currentNode);
|
|
1162
|
+
const currentNodeIsContaining = isContainingBlock(currentNode);
|
|
1163
|
+
if (!currentNodeIsContaining && computedStyle.position === "fixed") {
|
|
1164
|
+
currentContainingBlockComputedStyle = null;
|
|
1165
|
+
}
|
|
1166
|
+
const shouldDropCurrentNode = elementIsFixed ? !currentNodeIsContaining && !currentContainingBlockComputedStyle : !currentNodeIsContaining && computedStyle.position === "static" && !!currentContainingBlockComputedStyle && ["absolute", "fixed"].includes(currentContainingBlockComputedStyle.position) || isOverflowElement(currentNode) && !currentNodeIsContaining && hasFixedPositionAncestor(element, currentNode);
|
|
1167
|
+
if (shouldDropCurrentNode) {
|
|
1168
|
+
result = result.filter((ancestor) => ancestor !== currentNode);
|
|
1169
|
+
} else {
|
|
1170
|
+
currentContainingBlockComputedStyle = computedStyle;
|
|
1171
|
+
}
|
|
1172
|
+
currentNode = getParentNode(currentNode);
|
|
1173
|
+
}
|
|
1174
|
+
cache.set(element, result);
|
|
1175
|
+
return result;
|
|
1176
|
+
}
|
|
1177
|
+
function getClippingRect(_ref) {
|
|
1178
|
+
let {
|
|
1179
|
+
element,
|
|
1180
|
+
boundary,
|
|
1181
|
+
rootBoundary,
|
|
1182
|
+
strategy
|
|
1183
|
+
} = _ref;
|
|
1184
|
+
const elementClippingAncestors = boundary === "clippingAncestors" ? isTopLayer(element) ? [] : getClippingElementAncestors(element, this._c) : [].concat(boundary);
|
|
1185
|
+
const clippingAncestors = [...elementClippingAncestors, rootBoundary];
|
|
1186
|
+
const firstClippingAncestor = clippingAncestors[0];
|
|
1187
|
+
const clippingRect = clippingAncestors.reduce((accRect, clippingAncestor) => {
|
|
1188
|
+
const rect = getClientRectFromClippingAncestor(element, clippingAncestor, strategy);
|
|
1189
|
+
accRect.top = max(rect.top, accRect.top);
|
|
1190
|
+
accRect.right = min(rect.right, accRect.right);
|
|
1191
|
+
accRect.bottom = min(rect.bottom, accRect.bottom);
|
|
1192
|
+
accRect.left = max(rect.left, accRect.left);
|
|
1193
|
+
return accRect;
|
|
1194
|
+
}, getClientRectFromClippingAncestor(element, firstClippingAncestor, strategy));
|
|
1195
|
+
return {
|
|
1196
|
+
width: clippingRect.right - clippingRect.left,
|
|
1197
|
+
height: clippingRect.bottom - clippingRect.top,
|
|
1198
|
+
x: clippingRect.left,
|
|
1199
|
+
y: clippingRect.top
|
|
1200
|
+
};
|
|
1201
|
+
}
|
|
1202
|
+
function getDimensions(element) {
|
|
1203
|
+
const {
|
|
1204
|
+
width,
|
|
1205
|
+
height
|
|
1206
|
+
} = getCssDimensions(element);
|
|
1207
|
+
return {
|
|
1208
|
+
width,
|
|
1209
|
+
height
|
|
1210
|
+
};
|
|
1211
|
+
}
|
|
1212
|
+
function getRectRelativeToOffsetParent(element, offsetParent, strategy) {
|
|
1213
|
+
const isOffsetParentAnElement = isHTMLElement(offsetParent);
|
|
1214
|
+
const documentElement = getDocumentElement(offsetParent);
|
|
1215
|
+
const isFixed = strategy === "fixed";
|
|
1216
|
+
const rect = getBoundingClientRect(element, true, isFixed, offsetParent);
|
|
1217
|
+
let scroll = {
|
|
1218
|
+
scrollLeft: 0,
|
|
1219
|
+
scrollTop: 0
|
|
1220
|
+
};
|
|
1221
|
+
const offsets = createCoords(0);
|
|
1222
|
+
if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {
|
|
1223
|
+
if (getNodeName(offsetParent) !== "body" || isOverflowElement(documentElement)) {
|
|
1224
|
+
scroll = getNodeScroll(offsetParent);
|
|
1225
|
+
}
|
|
1226
|
+
if (isOffsetParentAnElement) {
|
|
1227
|
+
const offsetRect = getBoundingClientRect(offsetParent, true, isFixed, offsetParent);
|
|
1228
|
+
offsets.x = offsetRect.x + offsetParent.clientLeft;
|
|
1229
|
+
offsets.y = offsetRect.y + offsetParent.clientTop;
|
|
1230
|
+
} else if (documentElement) {
|
|
1231
|
+
offsets.x = getWindowScrollBarX(documentElement);
|
|
1232
|
+
}
|
|
1233
|
+
}
|
|
1234
|
+
const htmlOffset = documentElement && !isOffsetParentAnElement && !isFixed ? getHTMLOffset(documentElement, scroll) : createCoords(0);
|
|
1235
|
+
const x2 = rect.left + scroll.scrollLeft - offsets.x - htmlOffset.x;
|
|
1236
|
+
const y = rect.top + scroll.scrollTop - offsets.y - htmlOffset.y;
|
|
1237
|
+
return {
|
|
1238
|
+
x: x2,
|
|
1239
|
+
y,
|
|
1240
|
+
width: rect.width,
|
|
1241
|
+
height: rect.height
|
|
1242
|
+
};
|
|
1243
|
+
}
|
|
1244
|
+
function isStaticPositioned(element) {
|
|
1245
|
+
return getComputedStyle2(element).position === "static";
|
|
1246
|
+
}
|
|
1247
|
+
function getTrueOffsetParent(element, polyfill) {
|
|
1248
|
+
if (!isHTMLElement(element) || getComputedStyle2(element).position === "fixed") {
|
|
1249
|
+
return null;
|
|
1250
|
+
}
|
|
1251
|
+
if (polyfill) {
|
|
1252
|
+
return polyfill(element);
|
|
1253
|
+
}
|
|
1254
|
+
let rawOffsetParent = element.offsetParent;
|
|
1255
|
+
if (getDocumentElement(element) === rawOffsetParent) {
|
|
1256
|
+
rawOffsetParent = rawOffsetParent.ownerDocument.body;
|
|
1257
|
+
}
|
|
1258
|
+
return rawOffsetParent;
|
|
1259
|
+
}
|
|
1260
|
+
function getOffsetParent(element, polyfill) {
|
|
1261
|
+
const win = getWindow(element);
|
|
1262
|
+
if (isTopLayer(element)) {
|
|
1263
|
+
return win;
|
|
1264
|
+
}
|
|
1265
|
+
if (!isHTMLElement(element)) {
|
|
1266
|
+
let svgOffsetParent = getParentNode(element);
|
|
1267
|
+
while (svgOffsetParent && !isLastTraversableNode(svgOffsetParent)) {
|
|
1268
|
+
if (isElement(svgOffsetParent) && !isStaticPositioned(svgOffsetParent)) {
|
|
1269
|
+
return svgOffsetParent;
|
|
1270
|
+
}
|
|
1271
|
+
svgOffsetParent = getParentNode(svgOffsetParent);
|
|
1272
|
+
}
|
|
1273
|
+
return win;
|
|
1274
|
+
}
|
|
1275
|
+
let offsetParent = getTrueOffsetParent(element, polyfill);
|
|
1276
|
+
while (offsetParent && isTableElement(offsetParent) && isStaticPositioned(offsetParent)) {
|
|
1277
|
+
offsetParent = getTrueOffsetParent(offsetParent, polyfill);
|
|
1278
|
+
}
|
|
1279
|
+
if (offsetParent && isLastTraversableNode(offsetParent) && isStaticPositioned(offsetParent) && !isContainingBlock(offsetParent)) {
|
|
1280
|
+
return win;
|
|
1281
|
+
}
|
|
1282
|
+
return offsetParent || getContainingBlock(element) || win;
|
|
1283
|
+
}
|
|
1284
|
+
var getElementRects = async function(data) {
|
|
1285
|
+
const getOffsetParentFn = this.getOffsetParent || getOffsetParent;
|
|
1286
|
+
const getDimensionsFn = this.getDimensions;
|
|
1287
|
+
const floatingDimensions = await getDimensionsFn(data.floating);
|
|
1288
|
+
return {
|
|
1289
|
+
reference: getRectRelativeToOffsetParent(data.reference, await getOffsetParentFn(data.floating), data.strategy),
|
|
1290
|
+
floating: {
|
|
1291
|
+
x: 0,
|
|
1292
|
+
y: 0,
|
|
1293
|
+
width: floatingDimensions.width,
|
|
1294
|
+
height: floatingDimensions.height
|
|
1295
|
+
}
|
|
1296
|
+
};
|
|
1297
|
+
};
|
|
1298
|
+
function isRTL(element) {
|
|
1299
|
+
return getComputedStyle2(element).direction === "rtl";
|
|
1300
|
+
}
|
|
1301
|
+
var platform = {
|
|
1302
|
+
convertOffsetParentRelativeRectToViewportRelativeRect,
|
|
1303
|
+
getDocumentElement,
|
|
1304
|
+
getClippingRect,
|
|
1305
|
+
getOffsetParent,
|
|
1306
|
+
getElementRects,
|
|
1307
|
+
getClientRects,
|
|
1308
|
+
getDimensions,
|
|
1309
|
+
getScale,
|
|
1310
|
+
isElement,
|
|
1311
|
+
isRTL
|
|
1312
|
+
};
|
|
1313
|
+
function observeMove(element, onMove) {
|
|
1314
|
+
let io = null;
|
|
1315
|
+
let timeoutId;
|
|
1316
|
+
const root = getDocumentElement(element);
|
|
1317
|
+
function cleanup() {
|
|
1318
|
+
var _io;
|
|
1319
|
+
clearTimeout(timeoutId);
|
|
1320
|
+
(_io = io) == null || _io.disconnect();
|
|
1321
|
+
io = null;
|
|
1322
|
+
}
|
|
1323
|
+
function refresh(skip, threshold) {
|
|
1324
|
+
if (skip === void 0) {
|
|
1325
|
+
skip = false;
|
|
1326
|
+
}
|
|
1327
|
+
if (threshold === void 0) {
|
|
1328
|
+
threshold = 1;
|
|
1329
|
+
}
|
|
1330
|
+
cleanup();
|
|
1331
|
+
const {
|
|
1332
|
+
left,
|
|
1333
|
+
top,
|
|
1334
|
+
width,
|
|
1335
|
+
height
|
|
1336
|
+
} = element.getBoundingClientRect();
|
|
1337
|
+
if (!skip) {
|
|
1338
|
+
onMove();
|
|
1339
|
+
}
|
|
1340
|
+
if (!width || !height) {
|
|
1341
|
+
return;
|
|
1342
|
+
}
|
|
1343
|
+
const insetTop = floor(top);
|
|
1344
|
+
const insetRight = floor(root.clientWidth - (left + width));
|
|
1345
|
+
const insetBottom = floor(root.clientHeight - (top + height));
|
|
1346
|
+
const insetLeft = floor(left);
|
|
1347
|
+
const rootMargin = -insetTop + "px " + -insetRight + "px " + -insetBottom + "px " + -insetLeft + "px";
|
|
1348
|
+
const options = {
|
|
1349
|
+
rootMargin,
|
|
1350
|
+
threshold: max(0, min(1, threshold)) || 1
|
|
1351
|
+
};
|
|
1352
|
+
let isFirstUpdate = true;
|
|
1353
|
+
function handleObserve(entries) {
|
|
1354
|
+
const ratio = entries[0].intersectionRatio;
|
|
1355
|
+
if (ratio !== threshold) {
|
|
1356
|
+
if (!isFirstUpdate) {
|
|
1357
|
+
return refresh();
|
|
1358
|
+
}
|
|
1359
|
+
if (!ratio) {
|
|
1360
|
+
timeoutId = setTimeout(() => {
|
|
1361
|
+
refresh(false, 1e-7);
|
|
1362
|
+
}, 1e3);
|
|
1363
|
+
} else {
|
|
1364
|
+
refresh(false, ratio);
|
|
1365
|
+
}
|
|
1366
|
+
}
|
|
1367
|
+
isFirstUpdate = false;
|
|
1368
|
+
}
|
|
1369
|
+
try {
|
|
1370
|
+
io = new IntersectionObserver(handleObserve, __spreadProps(__spreadValues({}, options), {
|
|
1371
|
+
// Handle <iframe>s
|
|
1372
|
+
root: root.ownerDocument
|
|
1373
|
+
}));
|
|
1374
|
+
} catch (e4) {
|
|
1375
|
+
io = new IntersectionObserver(handleObserve, options);
|
|
1376
|
+
}
|
|
1377
|
+
io.observe(element);
|
|
1378
|
+
}
|
|
1379
|
+
refresh(true);
|
|
1380
|
+
return cleanup;
|
|
1381
|
+
}
|
|
1382
|
+
function autoUpdate(reference, floating, update, options) {
|
|
1383
|
+
if (options === void 0) {
|
|
1384
|
+
options = {};
|
|
1385
|
+
}
|
|
1386
|
+
const {
|
|
1387
|
+
ancestorScroll = true,
|
|
1388
|
+
ancestorResize = true,
|
|
1389
|
+
elementResize = typeof ResizeObserver === "function",
|
|
1390
|
+
layoutShift = typeof IntersectionObserver === "function",
|
|
1391
|
+
animationFrame = false
|
|
1392
|
+
} = options;
|
|
1393
|
+
const referenceEl = unwrapElement(reference);
|
|
1394
|
+
const ancestors = ancestorScroll || ancestorResize ? [...referenceEl ? getOverflowAncestors(referenceEl) : [], ...getOverflowAncestors(floating)] : [];
|
|
1395
|
+
ancestors.forEach((ancestor) => {
|
|
1396
|
+
ancestorScroll && ancestor.addEventListener("scroll", update, {
|
|
1397
|
+
passive: true
|
|
1398
|
+
});
|
|
1399
|
+
ancestorResize && ancestor.addEventListener("resize", update);
|
|
1400
|
+
});
|
|
1401
|
+
const cleanupIo = referenceEl && layoutShift ? observeMove(referenceEl, update) : null;
|
|
1402
|
+
let reobserveFrame = -1;
|
|
1403
|
+
let resizeObserver = null;
|
|
1404
|
+
if (elementResize) {
|
|
1405
|
+
resizeObserver = new ResizeObserver((_ref) => {
|
|
1406
|
+
let [firstEntry] = _ref;
|
|
1407
|
+
if (firstEntry && firstEntry.target === referenceEl && resizeObserver) {
|
|
1408
|
+
resizeObserver.unobserve(floating);
|
|
1409
|
+
cancelAnimationFrame(reobserveFrame);
|
|
1410
|
+
reobserveFrame = requestAnimationFrame(() => {
|
|
1411
|
+
var _resizeObserver;
|
|
1412
|
+
(_resizeObserver = resizeObserver) == null || _resizeObserver.observe(floating);
|
|
1413
|
+
});
|
|
1414
|
+
}
|
|
1415
|
+
update();
|
|
1416
|
+
});
|
|
1417
|
+
if (referenceEl && !animationFrame) {
|
|
1418
|
+
resizeObserver.observe(referenceEl);
|
|
1419
|
+
}
|
|
1420
|
+
resizeObserver.observe(floating);
|
|
1421
|
+
}
|
|
1422
|
+
let frameId;
|
|
1423
|
+
let prevRefRect = animationFrame ? getBoundingClientRect(reference) : null;
|
|
1424
|
+
if (animationFrame) {
|
|
1425
|
+
frameLoop();
|
|
1426
|
+
}
|
|
1427
|
+
function frameLoop() {
|
|
1428
|
+
const nextRefRect = getBoundingClientRect(reference);
|
|
1429
|
+
if (prevRefRect && (nextRefRect.x !== prevRefRect.x || nextRefRect.y !== prevRefRect.y || nextRefRect.width !== prevRefRect.width || nextRefRect.height !== prevRefRect.height)) {
|
|
1430
|
+
update();
|
|
1431
|
+
}
|
|
1432
|
+
prevRefRect = nextRefRect;
|
|
1433
|
+
frameId = requestAnimationFrame(frameLoop);
|
|
1434
|
+
}
|
|
1435
|
+
update();
|
|
1436
|
+
return () => {
|
|
1437
|
+
var _resizeObserver2;
|
|
1438
|
+
ancestors.forEach((ancestor) => {
|
|
1439
|
+
ancestorScroll && ancestor.removeEventListener("scroll", update);
|
|
1440
|
+
ancestorResize && ancestor.removeEventListener("resize", update);
|
|
1441
|
+
});
|
|
1442
|
+
cleanupIo == null || cleanupIo();
|
|
1443
|
+
(_resizeObserver2 = resizeObserver) == null || _resizeObserver2.disconnect();
|
|
1444
|
+
resizeObserver = null;
|
|
1445
|
+
if (animationFrame) {
|
|
1446
|
+
cancelAnimationFrame(frameId);
|
|
1447
|
+
}
|
|
1448
|
+
};
|
|
1449
|
+
}
|
|
1450
|
+
var offset2 = offset;
|
|
1451
|
+
var shift2 = shift;
|
|
1452
|
+
var flip2 = flip;
|
|
1453
|
+
var size2 = size;
|
|
1454
|
+
var arrow2 = arrow;
|
|
1455
|
+
var computePosition2 = (reference, floating, options) => {
|
|
1456
|
+
const cache = /* @__PURE__ */ new Map();
|
|
1457
|
+
const mergedOptions = __spreadValues({
|
|
1458
|
+
platform
|
|
1459
|
+
}, options);
|
|
1460
|
+
const platformWithCache = __spreadProps(__spreadValues({}, mergedOptions.platform), {
|
|
1461
|
+
_c: cache
|
|
1462
|
+
});
|
|
1463
|
+
return computePosition(reference, floating, __spreadProps(__spreadValues({}, mergedOptions), {
|
|
1464
|
+
platform: platformWithCache
|
|
1465
|
+
}));
|
|
1466
|
+
};
|
|
1467
|
+
|
|
1468
|
+
// node_modules/composed-offset-position/dist/composed-offset-position.browser.min.mjs
|
|
1469
|
+
function e3(t) {
|
|
1470
|
+
return i(t);
|
|
1471
|
+
}
|
|
1472
|
+
function r(t) {
|
|
1473
|
+
return t.assignedSlot ? t.assignedSlot : t.parentNode instanceof ShadowRoot ? t.parentNode.host : t.parentNode;
|
|
1474
|
+
}
|
|
1475
|
+
function i(e4) {
|
|
1476
|
+
for (let t = e4; t; t = r(t)) if (t instanceof Element && "none" === getComputedStyle(t).display) return null;
|
|
1477
|
+
for (let n2 = r(e4); n2; n2 = r(n2)) {
|
|
1478
|
+
if (!(n2 instanceof Element)) continue;
|
|
1479
|
+
const e5 = getComputedStyle(n2);
|
|
1480
|
+
if ("contents" !== e5.display) {
|
|
1481
|
+
if ("static" !== e5.position || isContainingBlock(e5)) return n2;
|
|
1482
|
+
if ("BODY" === n2.tagName) return n2;
|
|
1483
|
+
}
|
|
1484
|
+
}
|
|
1485
|
+
return null;
|
|
1486
|
+
}
|
|
1487
|
+
|
|
1488
|
+
// src/components/popup/popup.component.ts
|
|
1489
|
+
function isVirtualElement(e4) {
|
|
1490
|
+
return e4 !== null && typeof e4 === "object" && "getBoundingClientRect" in e4 && ("contextElement" in e4 ? e4.contextElement instanceof Element : true);
|
|
1491
|
+
}
|
|
1492
|
+
var SlPopup = class extends ShoelaceElement {
|
|
1493
|
+
constructor() {
|
|
1494
|
+
super(...arguments);
|
|
1495
|
+
this.localize = new LocalizeController(this);
|
|
1496
|
+
this.active = false;
|
|
1497
|
+
this.placement = "top";
|
|
1498
|
+
this.strategy = "absolute";
|
|
1499
|
+
this.distance = 0;
|
|
1500
|
+
this.skidding = 0;
|
|
1501
|
+
this.arrow = false;
|
|
1502
|
+
this.arrowPlacement = "anchor";
|
|
1503
|
+
this.arrowPadding = 10;
|
|
1504
|
+
this.flip = false;
|
|
1505
|
+
this.flipFallbackPlacements = "";
|
|
1506
|
+
this.flipFallbackStrategy = "best-fit";
|
|
1507
|
+
this.flipPadding = 0;
|
|
1508
|
+
this.shift = false;
|
|
1509
|
+
this.shiftPadding = 0;
|
|
1510
|
+
this.autoSizePadding = 0;
|
|
1511
|
+
this.hoverBridge = false;
|
|
1512
|
+
this.updateHoverBridge = () => {
|
|
1513
|
+
if (this.hoverBridge && this.anchorEl) {
|
|
1514
|
+
const anchorRect = this.anchorEl.getBoundingClientRect();
|
|
1515
|
+
const popupRect = this.popup.getBoundingClientRect();
|
|
1516
|
+
const isVertical = this.placement.includes("top") || this.placement.includes("bottom");
|
|
1517
|
+
let topLeftX = 0;
|
|
1518
|
+
let topLeftY = 0;
|
|
1519
|
+
let topRightX = 0;
|
|
1520
|
+
let topRightY = 0;
|
|
1521
|
+
let bottomLeftX = 0;
|
|
1522
|
+
let bottomLeftY = 0;
|
|
1523
|
+
let bottomRightX = 0;
|
|
1524
|
+
let bottomRightY = 0;
|
|
1525
|
+
if (isVertical) {
|
|
1526
|
+
if (anchorRect.top < popupRect.top) {
|
|
1527
|
+
topLeftX = anchorRect.left;
|
|
1528
|
+
topLeftY = anchorRect.bottom;
|
|
1529
|
+
topRightX = anchorRect.right;
|
|
1530
|
+
topRightY = anchorRect.bottom;
|
|
1531
|
+
bottomLeftX = popupRect.left;
|
|
1532
|
+
bottomLeftY = popupRect.top;
|
|
1533
|
+
bottomRightX = popupRect.right;
|
|
1534
|
+
bottomRightY = popupRect.top;
|
|
1535
|
+
} else {
|
|
1536
|
+
topLeftX = popupRect.left;
|
|
1537
|
+
topLeftY = popupRect.bottom;
|
|
1538
|
+
topRightX = popupRect.right;
|
|
1539
|
+
topRightY = popupRect.bottom;
|
|
1540
|
+
bottomLeftX = anchorRect.left;
|
|
1541
|
+
bottomLeftY = anchorRect.top;
|
|
1542
|
+
bottomRightX = anchorRect.right;
|
|
1543
|
+
bottomRightY = anchorRect.top;
|
|
1544
|
+
}
|
|
1545
|
+
} else {
|
|
1546
|
+
if (anchorRect.left < popupRect.left) {
|
|
1547
|
+
topLeftX = anchorRect.right;
|
|
1548
|
+
topLeftY = anchorRect.top;
|
|
1549
|
+
topRightX = popupRect.left;
|
|
1550
|
+
topRightY = popupRect.top;
|
|
1551
|
+
bottomLeftX = anchorRect.right;
|
|
1552
|
+
bottomLeftY = anchorRect.bottom;
|
|
1553
|
+
bottomRightX = popupRect.left;
|
|
1554
|
+
bottomRightY = popupRect.bottom;
|
|
1555
|
+
} else {
|
|
1556
|
+
topLeftX = popupRect.right;
|
|
1557
|
+
topLeftY = popupRect.top;
|
|
1558
|
+
topRightX = anchorRect.left;
|
|
1559
|
+
topRightY = anchorRect.top;
|
|
1560
|
+
bottomLeftX = popupRect.right;
|
|
1561
|
+
bottomLeftY = popupRect.bottom;
|
|
1562
|
+
bottomRightX = anchorRect.left;
|
|
1563
|
+
bottomRightY = anchorRect.bottom;
|
|
1564
|
+
}
|
|
1565
|
+
}
|
|
1566
|
+
this.style.setProperty("--hover-bridge-top-left-x", `${topLeftX}px`);
|
|
1567
|
+
this.style.setProperty("--hover-bridge-top-left-y", `${topLeftY}px`);
|
|
1568
|
+
this.style.setProperty("--hover-bridge-top-right-x", `${topRightX}px`);
|
|
1569
|
+
this.style.setProperty("--hover-bridge-top-right-y", `${topRightY}px`);
|
|
1570
|
+
this.style.setProperty("--hover-bridge-bottom-left-x", `${bottomLeftX}px`);
|
|
1571
|
+
this.style.setProperty("--hover-bridge-bottom-left-y", `${bottomLeftY}px`);
|
|
1572
|
+
this.style.setProperty("--hover-bridge-bottom-right-x", `${bottomRightX}px`);
|
|
1573
|
+
this.style.setProperty("--hover-bridge-bottom-right-y", `${bottomRightY}px`);
|
|
1574
|
+
}
|
|
1575
|
+
};
|
|
1576
|
+
}
|
|
1577
|
+
async connectedCallback() {
|
|
1578
|
+
super.connectedCallback();
|
|
1579
|
+
await this.updateComplete;
|
|
1580
|
+
this.start();
|
|
1581
|
+
}
|
|
1582
|
+
disconnectedCallback() {
|
|
1583
|
+
super.disconnectedCallback();
|
|
1584
|
+
this.stop();
|
|
1585
|
+
}
|
|
1586
|
+
async updated(changedProps) {
|
|
1587
|
+
super.updated(changedProps);
|
|
1588
|
+
if (changedProps.has("active")) {
|
|
1589
|
+
if (this.active) {
|
|
1590
|
+
this.start();
|
|
1591
|
+
} else {
|
|
1592
|
+
this.stop();
|
|
1593
|
+
}
|
|
1594
|
+
}
|
|
1595
|
+
if (changedProps.has("anchor")) {
|
|
1596
|
+
this.handleAnchorChange();
|
|
1597
|
+
}
|
|
1598
|
+
if (this.active) {
|
|
1599
|
+
await this.updateComplete;
|
|
1600
|
+
this.reposition();
|
|
1601
|
+
}
|
|
1602
|
+
}
|
|
1603
|
+
async handleAnchorChange() {
|
|
1604
|
+
await this.stop();
|
|
1605
|
+
if (this.anchor && typeof this.anchor === "string") {
|
|
1606
|
+
const root = this.getRootNode();
|
|
1607
|
+
this.anchorEl = root.getElementById(this.anchor);
|
|
1608
|
+
} else if (this.anchor instanceof Element || isVirtualElement(this.anchor)) {
|
|
1609
|
+
this.anchorEl = this.anchor;
|
|
1610
|
+
} else {
|
|
1611
|
+
this.anchorEl = this.querySelector('[slot="anchor"]');
|
|
1612
|
+
}
|
|
1613
|
+
if (this.anchorEl instanceof HTMLSlotElement) {
|
|
1614
|
+
this.anchorEl = this.anchorEl.assignedElements({ flatten: true })[0];
|
|
1615
|
+
}
|
|
1616
|
+
if (this.anchorEl && this.active) {
|
|
1617
|
+
this.start();
|
|
1618
|
+
}
|
|
1619
|
+
}
|
|
1620
|
+
start() {
|
|
1621
|
+
if (!this.anchorEl || !this.active) {
|
|
1622
|
+
return;
|
|
1623
|
+
}
|
|
1624
|
+
this.cleanup = autoUpdate(this.anchorEl, this.popup, () => {
|
|
1625
|
+
this.reposition();
|
|
1626
|
+
});
|
|
1627
|
+
}
|
|
1628
|
+
async stop() {
|
|
1629
|
+
return new Promise((resolve) => {
|
|
1630
|
+
if (this.cleanup) {
|
|
1631
|
+
this.cleanup();
|
|
1632
|
+
this.cleanup = void 0;
|
|
1633
|
+
this.removeAttribute("data-current-placement");
|
|
1634
|
+
this.style.removeProperty("--auto-size-available-width");
|
|
1635
|
+
this.style.removeProperty("--auto-size-available-height");
|
|
1636
|
+
requestAnimationFrame(() => resolve());
|
|
1637
|
+
} else {
|
|
1638
|
+
resolve();
|
|
1639
|
+
}
|
|
1640
|
+
});
|
|
1641
|
+
}
|
|
1642
|
+
/** Forces the popup to recalculate and reposition itself. */
|
|
1643
|
+
reposition() {
|
|
1644
|
+
if (!this.active || !this.anchorEl) {
|
|
1645
|
+
return;
|
|
1646
|
+
}
|
|
1647
|
+
const middleware = [
|
|
1648
|
+
// The offset middleware goes first
|
|
1649
|
+
offset2({ mainAxis: this.distance, crossAxis: this.skidding })
|
|
1650
|
+
];
|
|
1651
|
+
if (this.sync) {
|
|
1652
|
+
middleware.push(
|
|
1653
|
+
size2({
|
|
1654
|
+
apply: ({ rects }) => {
|
|
1655
|
+
const syncWidth = this.sync === "width" || this.sync === "both";
|
|
1656
|
+
const syncHeight = this.sync === "height" || this.sync === "both";
|
|
1657
|
+
this.popup.style.width = syncWidth ? `${rects.reference.width}px` : "";
|
|
1658
|
+
this.popup.style.height = syncHeight ? `${rects.reference.height}px` : "";
|
|
1659
|
+
}
|
|
1660
|
+
})
|
|
1661
|
+
);
|
|
1662
|
+
} else {
|
|
1663
|
+
this.popup.style.width = "";
|
|
1664
|
+
this.popup.style.height = "";
|
|
1665
|
+
}
|
|
1666
|
+
if (this.flip) {
|
|
1667
|
+
middleware.push(
|
|
1668
|
+
flip2({
|
|
1669
|
+
boundary: this.flipBoundary,
|
|
1670
|
+
// @ts-expect-error - We're converting a string attribute to an array here
|
|
1671
|
+
fallbackPlacements: this.flipFallbackPlacements,
|
|
1672
|
+
fallbackStrategy: this.flipFallbackStrategy === "best-fit" ? "bestFit" : "initialPlacement",
|
|
1673
|
+
padding: this.flipPadding
|
|
1674
|
+
})
|
|
1675
|
+
);
|
|
1676
|
+
}
|
|
1677
|
+
if (this.shift) {
|
|
1678
|
+
middleware.push(
|
|
1679
|
+
shift2({
|
|
1680
|
+
boundary: this.shiftBoundary,
|
|
1681
|
+
padding: this.shiftPadding
|
|
1682
|
+
})
|
|
1683
|
+
);
|
|
1684
|
+
}
|
|
1685
|
+
if (this.autoSize) {
|
|
1686
|
+
middleware.push(
|
|
1687
|
+
size2({
|
|
1688
|
+
boundary: this.autoSizeBoundary,
|
|
1689
|
+
padding: this.autoSizePadding,
|
|
1690
|
+
apply: ({ availableWidth, availableHeight }) => {
|
|
1691
|
+
if (this.autoSize === "vertical" || this.autoSize === "both") {
|
|
1692
|
+
this.style.setProperty("--auto-size-available-height", `${availableHeight}px`);
|
|
1693
|
+
} else {
|
|
1694
|
+
this.style.removeProperty("--auto-size-available-height");
|
|
1695
|
+
}
|
|
1696
|
+
if (this.autoSize === "horizontal" || this.autoSize === "both") {
|
|
1697
|
+
this.style.setProperty("--auto-size-available-width", `${availableWidth}px`);
|
|
1698
|
+
} else {
|
|
1699
|
+
this.style.removeProperty("--auto-size-available-width");
|
|
1700
|
+
}
|
|
1701
|
+
}
|
|
1702
|
+
})
|
|
1703
|
+
);
|
|
1704
|
+
} else {
|
|
1705
|
+
this.style.removeProperty("--auto-size-available-width");
|
|
1706
|
+
this.style.removeProperty("--auto-size-available-height");
|
|
1707
|
+
}
|
|
1708
|
+
if (this.arrow) {
|
|
1709
|
+
middleware.push(
|
|
1710
|
+
arrow2({
|
|
1711
|
+
element: this.arrowEl,
|
|
1712
|
+
padding: this.arrowPadding
|
|
1713
|
+
})
|
|
1714
|
+
);
|
|
1715
|
+
}
|
|
1716
|
+
const getOffsetParent2 = this.strategy === "absolute" ? (element) => platform.getOffsetParent(element, e3) : platform.getOffsetParent;
|
|
1717
|
+
computePosition2(this.anchorEl, this.popup, {
|
|
1718
|
+
placement: this.placement,
|
|
1719
|
+
middleware,
|
|
1720
|
+
strategy: this.strategy,
|
|
1721
|
+
platform: __spreadProps(__spreadValues({}, platform), {
|
|
1722
|
+
getOffsetParent: getOffsetParent2
|
|
1723
|
+
})
|
|
1724
|
+
}).then(({ x: x2, y, middlewareData, placement }) => {
|
|
1725
|
+
const isRtl = this.localize.dir() === "rtl";
|
|
1726
|
+
const staticSide = { top: "bottom", right: "left", bottom: "top", left: "right" }[placement.split("-")[0]];
|
|
1727
|
+
this.setAttribute("data-current-placement", placement);
|
|
1728
|
+
Object.assign(this.popup.style, {
|
|
1729
|
+
left: `${x2}px`,
|
|
1730
|
+
top: `${y}px`
|
|
1731
|
+
});
|
|
1732
|
+
if (this.arrow) {
|
|
1733
|
+
const arrowX = middlewareData.arrow.x;
|
|
1734
|
+
const arrowY = middlewareData.arrow.y;
|
|
1735
|
+
let top = "";
|
|
1736
|
+
let right = "";
|
|
1737
|
+
let bottom = "";
|
|
1738
|
+
let left = "";
|
|
1739
|
+
if (this.arrowPlacement === "start") {
|
|
1740
|
+
const value = typeof arrowX === "number" ? `calc(${this.arrowPadding}px - var(--arrow-padding-offset))` : "";
|
|
1741
|
+
top = typeof arrowY === "number" ? `calc(${this.arrowPadding}px - var(--arrow-padding-offset))` : "";
|
|
1742
|
+
right = isRtl ? value : "";
|
|
1743
|
+
left = isRtl ? "" : value;
|
|
1744
|
+
} else if (this.arrowPlacement === "end") {
|
|
1745
|
+
const value = typeof arrowX === "number" ? `calc(${this.arrowPadding}px - var(--arrow-padding-offset))` : "";
|
|
1746
|
+
right = isRtl ? "" : value;
|
|
1747
|
+
left = isRtl ? value : "";
|
|
1748
|
+
bottom = typeof arrowY === "number" ? `calc(${this.arrowPadding}px - var(--arrow-padding-offset))` : "";
|
|
1749
|
+
} else if (this.arrowPlacement === "center") {
|
|
1750
|
+
left = typeof arrowX === "number" ? `calc(50% - var(--arrow-size-diagonal))` : "";
|
|
1751
|
+
top = typeof arrowY === "number" ? `calc(50% - var(--arrow-size-diagonal))` : "";
|
|
1752
|
+
} else {
|
|
1753
|
+
left = typeof arrowX === "number" ? `${arrowX}px` : "";
|
|
1754
|
+
top = typeof arrowY === "number" ? `${arrowY}px` : "";
|
|
1755
|
+
}
|
|
1756
|
+
Object.assign(this.arrowEl.style, {
|
|
1757
|
+
top,
|
|
1758
|
+
right,
|
|
1759
|
+
bottom,
|
|
1760
|
+
left,
|
|
1761
|
+
[staticSide]: "calc(var(--arrow-size-diagonal) * -1)"
|
|
1762
|
+
});
|
|
1763
|
+
}
|
|
1764
|
+
});
|
|
1765
|
+
requestAnimationFrame(() => this.updateHoverBridge());
|
|
1766
|
+
this.emit("sl-reposition");
|
|
1767
|
+
}
|
|
1768
|
+
render() {
|
|
1769
|
+
return x`
|
|
1770
|
+
<slot name="anchor" @slotchange=${this.handleAnchorChange}></slot>
|
|
1771
|
+
|
|
1772
|
+
<span
|
|
1773
|
+
part="hover-bridge"
|
|
1774
|
+
class=${e({
|
|
1775
|
+
"popup-hover-bridge": true,
|
|
1776
|
+
"popup-hover-bridge--visible": this.hoverBridge && this.active
|
|
1777
|
+
})}
|
|
1778
|
+
></span>
|
|
1779
|
+
|
|
1780
|
+
<div
|
|
1781
|
+
part="popup"
|
|
1782
|
+
class=${e({
|
|
1783
|
+
popup: true,
|
|
1784
|
+
"popup--active": this.active,
|
|
1785
|
+
"popup--fixed": this.strategy === "fixed",
|
|
1786
|
+
"popup--has-arrow": this.arrow
|
|
1787
|
+
})}
|
|
1788
|
+
>
|
|
1789
|
+
<slot></slot>
|
|
1790
|
+
${this.arrow ? x`<div part="arrow" class="popup__arrow" role="presentation"></div>` : ""}
|
|
1791
|
+
</div>
|
|
1792
|
+
`;
|
|
1793
|
+
}
|
|
1794
|
+
};
|
|
1795
|
+
SlPopup.styles = [component_styles_default, popup_styles_default];
|
|
1796
|
+
__decorateClass([
|
|
1797
|
+
e2(".popup")
|
|
1798
|
+
], SlPopup.prototype, "popup", 2);
|
|
1799
|
+
__decorateClass([
|
|
1800
|
+
e2(".popup__arrow")
|
|
1801
|
+
], SlPopup.prototype, "arrowEl", 2);
|
|
1802
|
+
__decorateClass([
|
|
1803
|
+
n()
|
|
1804
|
+
], SlPopup.prototype, "anchor", 2);
|
|
1805
|
+
__decorateClass([
|
|
1806
|
+
n({ type: Boolean, reflect: true })
|
|
1807
|
+
], SlPopup.prototype, "active", 2);
|
|
1808
|
+
__decorateClass([
|
|
1809
|
+
n({ reflect: true })
|
|
1810
|
+
], SlPopup.prototype, "placement", 2);
|
|
1811
|
+
__decorateClass([
|
|
1812
|
+
n({ reflect: true })
|
|
1813
|
+
], SlPopup.prototype, "strategy", 2);
|
|
1814
|
+
__decorateClass([
|
|
1815
|
+
n({ type: Number })
|
|
1816
|
+
], SlPopup.prototype, "distance", 2);
|
|
1817
|
+
__decorateClass([
|
|
1818
|
+
n({ type: Number })
|
|
1819
|
+
], SlPopup.prototype, "skidding", 2);
|
|
1820
|
+
__decorateClass([
|
|
1821
|
+
n({ type: Boolean })
|
|
1822
|
+
], SlPopup.prototype, "arrow", 2);
|
|
1823
|
+
__decorateClass([
|
|
1824
|
+
n({ attribute: "arrow-placement" })
|
|
1825
|
+
], SlPopup.prototype, "arrowPlacement", 2);
|
|
1826
|
+
__decorateClass([
|
|
1827
|
+
n({ attribute: "arrow-padding", type: Number })
|
|
1828
|
+
], SlPopup.prototype, "arrowPadding", 2);
|
|
1829
|
+
__decorateClass([
|
|
1830
|
+
n({ type: Boolean })
|
|
1831
|
+
], SlPopup.prototype, "flip", 2);
|
|
1832
|
+
__decorateClass([
|
|
1833
|
+
n({
|
|
1834
|
+
attribute: "flip-fallback-placements",
|
|
1835
|
+
converter: {
|
|
1836
|
+
fromAttribute: (value) => {
|
|
1837
|
+
return value.split(" ").map((p) => p.trim()).filter((p) => p !== "");
|
|
1838
|
+
},
|
|
1839
|
+
toAttribute: (value) => {
|
|
1840
|
+
return value.join(" ");
|
|
1841
|
+
}
|
|
1842
|
+
}
|
|
1843
|
+
})
|
|
1844
|
+
], SlPopup.prototype, "flipFallbackPlacements", 2);
|
|
1845
|
+
__decorateClass([
|
|
1846
|
+
n({ attribute: "flip-fallback-strategy" })
|
|
1847
|
+
], SlPopup.prototype, "flipFallbackStrategy", 2);
|
|
1848
|
+
__decorateClass([
|
|
1849
|
+
n({ type: Object })
|
|
1850
|
+
], SlPopup.prototype, "flipBoundary", 2);
|
|
1851
|
+
__decorateClass([
|
|
1852
|
+
n({ attribute: "flip-padding", type: Number })
|
|
1853
|
+
], SlPopup.prototype, "flipPadding", 2);
|
|
1854
|
+
__decorateClass([
|
|
1855
|
+
n({ type: Boolean })
|
|
1856
|
+
], SlPopup.prototype, "shift", 2);
|
|
1857
|
+
__decorateClass([
|
|
1858
|
+
n({ type: Object })
|
|
1859
|
+
], SlPopup.prototype, "shiftBoundary", 2);
|
|
1860
|
+
__decorateClass([
|
|
1861
|
+
n({ attribute: "shift-padding", type: Number })
|
|
1862
|
+
], SlPopup.prototype, "shiftPadding", 2);
|
|
1863
|
+
__decorateClass([
|
|
1864
|
+
n({ attribute: "auto-size" })
|
|
1865
|
+
], SlPopup.prototype, "autoSize", 2);
|
|
1866
|
+
__decorateClass([
|
|
1867
|
+
n()
|
|
1868
|
+
], SlPopup.prototype, "sync", 2);
|
|
1869
|
+
__decorateClass([
|
|
1870
|
+
n({ type: Object })
|
|
1871
|
+
], SlPopup.prototype, "autoSizeBoundary", 2);
|
|
1872
|
+
__decorateClass([
|
|
1873
|
+
n({ attribute: "auto-size-padding", type: Number })
|
|
1874
|
+
], SlPopup.prototype, "autoSizePadding", 2);
|
|
1875
|
+
__decorateClass([
|
|
1876
|
+
n({ attribute: "hover-bridge", type: Boolean })
|
|
1877
|
+
], SlPopup.prototype, "hoverBridge", 2);
|
|
1878
|
+
|
|
1879
|
+
export {
|
|
1880
|
+
SlPopup
|
|
1881
|
+
};
|