@cordwainer/cw-elements 1.5.0-alpha.0 → 1.5.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -3
- package/cdn/chunks/chunk.27UY4KUS.js +11 -0
- package/cdn/chunks/chunk.2G4LVBCB.js +236 -0
- package/cdn/chunks/chunk.2ITZLKOX.js +77 -0
- package/cdn/chunks/chunk.2P33HCGB.js +127 -0
- package/cdn/chunks/chunk.2RO5K2XF.js +27 -0
- package/cdn/chunks/chunk.2SV5FYYM.js +11 -0
- package/cdn/chunks/chunk.2TG3D325.js +11 -0
- package/cdn/chunks/chunk.2VDZHJYP.js +33 -0
- package/cdn/chunks/chunk.2W26L43F.js +11 -0
- package/cdn/chunks/chunk.32TXK7LZ.js +11 -0
- package/cdn/chunks/chunk.3DLRESGE.js +21 -0
- package/cdn/chunks/chunk.3JS2Q4RT.js +21 -0
- package/cdn/chunks/chunk.3KDQKPYB.js +11 -0
- package/cdn/chunks/chunk.3NFOZANJ.js +1990 -0
- package/cdn/chunks/chunk.3OMA5ZPD.js +21 -0
- package/cdn/chunks/chunk.3TTMQ3PC.js +11 -0
- package/cdn/chunks/chunk.42EKR2KQ.js +499 -0
- package/cdn/chunks/chunk.4DHNQ4MT.js +11 -0
- package/cdn/chunks/chunk.4HKHDE3H.js +16 -0
- package/cdn/chunks/chunk.4IUU7SFV.js +79 -0
- package/cdn/chunks/chunk.4LZRFOGL.js +11 -0
- package/cdn/chunks/chunk.4MCJYORY.js +11 -0
- package/cdn/chunks/chunk.5A4GYAMA.js +21 -0
- package/cdn/chunks/chunk.5FLFSNVV.js +21 -0
- package/cdn/chunks/chunk.5FO33VXB.js +114 -0
- package/cdn/chunks/chunk.5HBLNRTD.js +24 -0
- package/cdn/chunks/chunk.5R3PAMN6.js +137 -0
- package/cdn/chunks/chunk.5YUCE2FM.js +27 -0
- package/cdn/chunks/chunk.5YXF7OA5.js +11 -0
- package/cdn/chunks/chunk.5ZXRYB5V.js +29 -0
- package/cdn/chunks/chunk.6JBJEK2Y.js +122 -0
- package/cdn/chunks/chunk.6MBT2BA3.js +28 -0
- package/cdn/chunks/chunk.6MUYNV2X.js +11 -0
- package/cdn/chunks/chunk.6QWZJLRD.js +11 -0
- package/cdn/chunks/chunk.6TN4AHKO.js +11 -0
- package/cdn/chunks/chunk.723GXFZY.js +11 -0
- package/cdn/chunks/chunk.766EY2MZ.js +142 -0
- package/cdn/chunks/chunk.76EF5TSN.js +63 -0
- package/cdn/chunks/chunk.7HYTRJ3A.js +402 -0
- package/cdn/chunks/chunk.7LI62JKG.js +27 -0
- package/cdn/chunks/chunk.7NG2RS4S.js +302 -0
- package/cdn/chunks/chunk.7RBMEMTY.js +21 -0
- package/cdn/chunks/chunk.7SYD2I2G.js +11 -0
- package/cdn/chunks/chunk.7U4DBIL7.js +29 -0
- package/cdn/chunks/chunk.7X2EPRR2.js +291 -0
- package/cdn/chunks/chunk.7XVOLCO3.js +11 -0
- package/cdn/chunks/chunk.A5OCGU5A.js +21 -0
- package/cdn/chunks/chunk.A6H3FCCP.js +21 -0
- package/cdn/chunks/chunk.A7EGPMG7.js +103 -0
- package/cdn/chunks/chunk.ACWJG4IT.js +21 -0
- package/cdn/chunks/chunk.AIP5CZQP.js +11 -0
- package/cdn/chunks/chunk.AJZGNH7W.js +53 -0
- package/cdn/chunks/chunk.AX7IRAKK.js +11 -0
- package/cdn/chunks/chunk.B2TJ3SCE.js +11 -0
- package/cdn/chunks/chunk.B44PLVUB.js +11 -0
- package/cdn/chunks/chunk.B7BU7M5A.js +11 -0
- package/cdn/chunks/chunk.BBWOWLCL.js +197 -0
- package/cdn/chunks/chunk.BE4CZK46.js +11 -0
- package/cdn/chunks/chunk.BF33JY5C.js +11 -0
- package/cdn/chunks/chunk.BIEX7X3N.js +11 -0
- package/cdn/chunks/chunk.BNMY7WDB.js +186 -0
- package/cdn/chunks/chunk.BR6BUZQC.js +24 -0
- package/cdn/chunks/chunk.BT3BUDHN.js +82 -0
- package/cdn/chunks/chunk.BUPHCYHN.js +844 -0
- package/cdn/chunks/chunk.BWZOKMP4.js +25 -0
- package/cdn/chunks/chunk.BX5NYKSK.js +27 -0
- package/cdn/chunks/chunk.BXIVU25J.js +49 -0
- package/cdn/chunks/chunk.BYU36XBW.js +11 -0
- package/cdn/chunks/chunk.CBO5C7IT.js +185 -0
- package/cdn/chunks/chunk.COG3RDYP.js +11 -0
- package/cdn/chunks/chunk.D4GFECF3.js +25 -0
- package/cdn/chunks/chunk.DA3H3XR4.js +279 -0
- package/cdn/chunks/chunk.DBGLQ7HF.js +21 -0
- package/cdn/chunks/chunk.DHJJ2WXK.js +969 -0
- package/cdn/chunks/chunk.DJTNKRG7.js +11 -0
- package/cdn/chunks/chunk.DQE7S62K.js +21 -0
- package/cdn/chunks/chunk.EAHY6TSH.js +23 -0
- package/cdn/chunks/chunk.EBKA2QKI.js +336 -0
- package/cdn/chunks/chunk.ECILPDAH.js +114 -0
- package/cdn/chunks/chunk.EFFIBDH5.js +21 -0
- package/cdn/chunks/chunk.EKJHSFIY.js +11 -0
- package/cdn/chunks/chunk.EWEJIL2I.js +904 -0
- package/cdn/chunks/chunk.EZBFFUJO.js +26 -0
- package/cdn/chunks/chunk.FOKAMIKS.js +11 -0
- package/cdn/chunks/chunk.FOQSUMA2.js +28 -0
- package/cdn/chunks/chunk.FS5OSSZ7.js +33 -0
- package/cdn/chunks/chunk.FUMNGXVP.js +391 -0
- package/cdn/chunks/chunk.FXGIHWQQ.js +25 -0
- package/cdn/chunks/chunk.FXJULIU5.js +113 -0
- package/cdn/chunks/chunk.G72XKZIO.js +25 -0
- package/cdn/chunks/chunk.GBFWMDJI.js +11 -0
- package/cdn/chunks/chunk.GCT2253R.js +11 -0
- package/cdn/chunks/chunk.GGDUT6HG.js +21 -0
- package/cdn/chunks/chunk.GI42J36Z.js +233 -0
- package/cdn/chunks/chunk.GRBAZSP4.js +385 -0
- package/cdn/chunks/chunk.GSZGW2GW.js +26 -0
- package/cdn/chunks/chunk.H2UNMK3M.js +21 -0
- package/cdn/chunks/chunk.H7NCZRBN.js +28 -0
- package/cdn/chunks/chunk.HEB2JJCN.js +21 -0
- package/cdn/chunks/chunk.HMZRM4BP.js +11 -0
- package/cdn/chunks/chunk.HNOP2RMC.js +21 -0
- package/cdn/chunks/chunk.HX3YELIY.js +27 -0
- package/cdn/chunks/chunk.I74UWOAO.js +21 -0
- package/cdn/chunks/chunk.ID2BQGWB.js +28 -0
- package/cdn/chunks/chunk.IH3KENKG.js +21 -0
- package/cdn/chunks/chunk.IJGPJIWX.js +11 -0
- package/cdn/chunks/chunk.IMIEF4AS.js +11 -0
- package/cdn/chunks/chunk.IVG5Z6V3.js +24 -0
- package/cdn/chunks/chunk.IYPMYK6X.js +11 -0
- package/cdn/chunks/chunk.JA2NJTRE.js +24 -0
- package/cdn/chunks/chunk.JCSBUI23.js +21 -0
- package/cdn/chunks/chunk.JIGSU4VT.js +120 -0
- package/cdn/chunks/chunk.JPCS6ZVN.js +231 -0
- package/cdn/chunks/chunk.JVLTSF44.js +11 -0
- package/cdn/chunks/chunk.JYJVDQ5B.js +25 -0
- package/cdn/chunks/chunk.K3KNKJ5I.js +11 -0
- package/cdn/chunks/chunk.K4ZXZBZS.js +97 -0
- package/cdn/chunks/chunk.K5BGXXHC.js +11 -0
- package/cdn/chunks/chunk.KEIBI4XS.js +27 -0
- package/cdn/chunks/chunk.KJ7ZFKDY.js +11 -0
- package/cdn/chunks/chunk.KLCHA3X2.js +24 -0
- package/cdn/chunks/chunk.KM4PUUJR.js +91 -0
- package/cdn/chunks/chunk.KT3BEM7K.js +218 -0
- package/cdn/chunks/chunk.KVRCNFDI.js +174 -0
- package/cdn/chunks/chunk.KZZNIMGP.js +11 -0
- package/cdn/chunks/chunk.L6MBXKGB.js +25 -0
- package/cdn/chunks/chunk.L6YF5WVF.js +11 -0
- package/cdn/chunks/chunk.L7DMAU6U.js +45 -0
- package/cdn/chunks/chunk.LEBYQU5D.js +11 -0
- package/cdn/chunks/chunk.LIVLIIQ4.js +29 -0
- package/cdn/chunks/chunk.LNKK6QFM.js +11 -0
- package/cdn/chunks/chunk.LYCTNM7V.js +73 -0
- package/cdn/chunks/chunk.M7IGT674.js +21 -0
- package/cdn/chunks/chunk.MCNZGELU.js +455 -0
- package/cdn/chunks/chunk.MMK5NDQL.js +79 -0
- package/cdn/chunks/chunk.MVROSOQR.js +11 -0
- package/cdn/chunks/chunk.MXICKTJN.js +75 -0
- package/cdn/chunks/chunk.NFTA7D52.js +24 -0
- package/cdn/chunks/chunk.NO56IY7Z.js +11 -0
- package/cdn/chunks/chunk.NUX6PEXS.js +330 -0
- package/cdn/chunks/chunk.OBYEYUVK.js +50 -0
- package/cdn/chunks/chunk.OCKUNFY7.js +201 -0
- package/cdn/chunks/chunk.ON3NAMMT.js +24 -0
- package/cdn/chunks/chunk.OSD74E4W.js +11 -0
- package/cdn/chunks/chunk.PAGPISZX.js +11 -0
- package/cdn/chunks/chunk.PBAVZQNV.js +297 -0
- package/cdn/chunks/chunk.PBICPMJG.js +120 -0
- package/cdn/chunks/chunk.PEA3G3RG.js +724 -0
- package/cdn/chunks/chunk.PSWUHTUW.js +26 -0
- package/cdn/chunks/chunk.PXPHPPXS.js +25 -0
- package/cdn/chunks/chunk.PYWS7F4C.js +21 -0
- package/cdn/chunks/chunk.QASO4J6R.js +11 -0
- package/cdn/chunks/chunk.QC4BGO72.js +11 -0
- package/cdn/chunks/chunk.QCBQEON4.js +87 -0
- package/cdn/chunks/chunk.QK4FOJ23.js +21 -0
- package/cdn/chunks/chunk.QMHCFIVL.js +451 -0
- package/cdn/chunks/chunk.QMPCYILV.js +11 -0
- package/cdn/chunks/chunk.QT76G46C.js +28 -0
- package/cdn/chunks/chunk.QTOPIQMF.js +11 -0
- package/cdn/chunks/chunk.QUHOXK6U.js +11 -0
- package/cdn/chunks/chunk.QVZVLZTS.js +42 -0
- package/cdn/chunks/chunk.R6AS4Y3M.js +158 -0
- package/cdn/chunks/chunk.REUAREDK.js +11 -0
- package/cdn/chunks/chunk.RFSXRT74.js +21 -0
- package/cdn/chunks/chunk.RMGUDYQL.js +11 -0
- package/cdn/chunks/chunk.ROBUMV2S.js +27 -0
- package/cdn/chunks/chunk.RYIUFOF6.js +314 -0
- package/cdn/chunks/chunk.RZG35UPT.js +267 -0
- package/cdn/chunks/chunk.S6CWK5LV.js +26 -0
- package/cdn/chunks/chunk.SFXMKYSX.js +11 -0
- package/cdn/chunks/chunk.SFZVBXLY.js +11 -0
- package/cdn/chunks/chunk.SHY7KXEJ.js +11 -0
- package/cdn/chunks/chunk.SJRQ3U4L.js +24 -0
- package/cdn/chunks/chunk.SKJJO7MM.js +255 -0
- package/cdn/chunks/chunk.SQQF5YDP.js +367 -0
- package/cdn/chunks/chunk.SZJ5KL45.js +1501 -0
- package/cdn/chunks/chunk.T3I2WZRV.js +21 -0
- package/cdn/chunks/chunk.TFYI6T3V.js +84 -0
- package/cdn/chunks/chunk.TGMOE2JC.js +21 -0
- package/cdn/chunks/chunk.TSPLONK7.js +24 -0
- package/cdn/chunks/chunk.TYD22Y6S.js +11 -0
- package/cdn/chunks/chunk.U4ZHL7VU.js +95 -0
- package/cdn/chunks/chunk.U6IITA4F.js +29 -0
- package/cdn/chunks/chunk.UBA3JGU4.js +11 -0
- package/cdn/chunks/chunk.UGSZM4VW.js +285 -0
- package/cdn/chunks/chunk.UINEJA3W.js +24 -0
- package/cdn/chunks/chunk.UIWYRVRA.js +378 -0
- package/cdn/chunks/chunk.UJTTBZQZ.js +216 -0
- package/cdn/chunks/chunk.UNEPS3G7.js +49 -0
- package/cdn/chunks/chunk.UNEURCUF.js +25 -0
- package/cdn/chunks/chunk.UNRW32JJ.js +33 -0
- package/cdn/chunks/chunk.URZOYXAB.js +153 -0
- package/cdn/chunks/chunk.USSHUTEA.js +299 -0
- package/cdn/chunks/chunk.UTVIAM62.js +821 -0
- package/cdn/chunks/chunk.UUHZEIH6.js +21 -0
- package/cdn/chunks/chunk.UY2JSRDH.js +11 -0
- package/cdn/chunks/chunk.UYE3L3WD.js +36 -0
- package/cdn/chunks/chunk.V4PYTUHX.js +67 -0
- package/cdn/chunks/chunk.VEESJQA4.js +11 -0
- package/cdn/chunks/chunk.VHZ7LTBS.js +11 -0
- package/cdn/chunks/chunk.VIOBVEJT.js +21 -0
- package/cdn/chunks/chunk.VOZXT3WI.js +64 -0
- package/cdn/chunks/chunk.VPVM2JRQ.js +24 -0
- package/cdn/chunks/chunk.VQAR4AT5.js +11 -0
- package/cdn/chunks/chunk.VTJJWVRD.js +24 -0
- package/cdn/chunks/chunk.WCW3Z5NP.js +11 -0
- package/cdn/chunks/chunk.WLCODGQW.js +11 -0
- package/cdn/chunks/chunk.WMQRTT7U.js +11 -0
- package/cdn/chunks/chunk.WVR3PFJ4.js +139 -0
- package/cdn/chunks/chunk.X22DX6DT.js +11 -0
- package/cdn/chunks/chunk.XBBACYYA.js +63 -0
- package/cdn/chunks/chunk.XD7TFN6C.js +11 -0
- package/cdn/chunks/chunk.XEVABTAK.js +11 -0
- package/cdn/chunks/chunk.XKYJ4ATU.js +11 -0
- package/cdn/chunks/chunk.XVYV2LJI.js +25 -0
- package/cdn/chunks/chunk.XXQS3LC5.js +33 -0
- package/cdn/chunks/chunk.Y5ARRZRT.js +24 -0
- package/cdn/chunks/chunk.YBZTGEC2.js +574 -0
- package/cdn/chunks/chunk.YIXZGNQN.js +267 -0
- package/cdn/chunks/chunk.YO7E62PB.js +27 -0
- package/cdn/chunks/chunk.YTNWFPPH.js +11 -0
- package/cdn/chunks/chunk.Z6ONSOGP.js +346 -0
- package/cdn/chunks/chunk.ZERQZV7Y.js +21 -0
- package/cdn/chunks/chunk.ZFOIJQSH.js +24 -0
- package/cdn/chunks/chunk.ZI3C4D2C.js +11 -0
- package/cdn/chunks/chunk.ZNY7SOIN.js +27 -0
- package/cdn/chunks/chunk.ZO3KO4TN.js +11 -0
- package/cdn/chunks/chunk.ZWUYYOPY.js +292 -0
- package/cdn/components/alert/alert.component.js +6 -6
- package/cdn/components/alert/alert.js +7 -7
- package/cdn/components/animated-image/animated-image.component.js +3 -3
- package/cdn/components/animated-image/animated-image.js +4 -4
- package/cdn/components/animation/animation.component.js +2 -2
- package/cdn/components/animation/animation.js +3 -3
- package/cdn/components/avatar/avatar.component.js +3 -3
- package/cdn/components/avatar/avatar.js +4 -4
- package/cdn/components/badge/badge.component.js +2 -2
- package/cdn/components/badge/badge.js +3 -3
- package/cdn/components/breadcrumb/breadcrumb.component.d.ts +28 -0
- package/cdn/components/breadcrumb/breadcrumb.component.js +30 -6
- package/cdn/components/breadcrumb/breadcrumb.js +31 -7
- package/cdn/components/breadcrumb/breadcrumb.styles.js +1 -1
- package/cdn/components/breadcrumb-item/breadcrumb-item.component.js +2 -2
- package/cdn/components/breadcrumb-item/breadcrumb-item.js +3 -3
- package/cdn/components/button/button.component.js +6 -6
- package/cdn/components/button/button.js +7 -7
- package/cdn/components/button-group/button-group.component.js +2 -2
- package/cdn/components/button-group/button-group.js +3 -3
- package/cdn/components/card/card.component.js +2 -2
- package/cdn/components/card/card.js +3 -3
- package/cdn/components/carousel/carousel.component.js +5 -5
- package/cdn/components/carousel/carousel.js +6 -6
- package/cdn/components/carousel-item/carousel-item.component.js +2 -2
- package/cdn/components/carousel-item/carousel-item.js +3 -3
- package/cdn/components/checkbox/checkbox.component.js +3 -3
- package/cdn/components/checkbox/checkbox.js +4 -4
- package/cdn/components/color-picker/color-picker.component.js +17 -16
- package/cdn/components/color-picker/color-picker.js +18 -17
- package/cdn/components/combobox/combobox.component.js +12 -11
- package/cdn/components/combobox/combobox.js +13 -12
- package/cdn/components/copy-button/copy-button.component.js +8 -7
- package/cdn/components/copy-button/copy-button.js +9 -8
- package/cdn/components/data-table/data-table.component.js +7 -7
- package/cdn/components/data-table/data-table.js +8 -8
- package/cdn/components/data-table-column/data-table-column.component.js +2 -2
- package/cdn/components/data-table-column/data-table-column.js +3 -3
- package/cdn/components/date-picker/date-picker.component.js +9 -8
- package/cdn/components/date-picker/date-picker.js +10 -9
- package/cdn/components/details/details.component.js +5 -5
- package/cdn/components/details/details.js +6 -6
- package/cdn/components/dialog/dialog.component.js +7 -7
- package/cdn/components/dialog/dialog.js +8 -8
- package/cdn/components/divider/divider.component.js +2 -2
- package/cdn/components/divider/divider.js +3 -3
- package/cdn/components/drawer/drawer.component.js +7 -7
- package/cdn/components/drawer/drawer.js +8 -8
- package/cdn/components/dropdown/dropdown.component.js +6 -5
- package/cdn/components/dropdown/dropdown.js +7 -6
- package/cdn/components/footer/footer.component.js +2 -2
- package/cdn/components/footer/footer.js +3 -3
- package/cdn/components/format-bytes/format-bytes.component.js +4 -4
- package/cdn/components/format-bytes/format-bytes.js +5 -5
- package/cdn/components/format-date/format-date.component.js +4 -4
- package/cdn/components/format-date/format-date.js +5 -5
- package/cdn/components/format-number/format-number.component.js +4 -4
- package/cdn/components/format-number/format-number.js +5 -5
- package/cdn/components/header/header.component.js +6 -6
- package/cdn/components/header/header.js +7 -7
- package/cdn/components/icon/icon.component.js +2 -2
- package/cdn/components/icon/icon.js +3 -3
- package/cdn/components/icon-button/icon-button.component.js +3 -3
- package/cdn/components/icon-button/icon-button.js +4 -4
- package/cdn/components/image-comparer/image-comparer.component.js +5 -5
- package/cdn/components/image-comparer/image-comparer.js +6 -6
- package/cdn/components/include/include.component.js +2 -2
- package/cdn/components/include/include.js +3 -3
- package/cdn/components/input/input.component.js +5 -5
- package/cdn/components/input/input.js +6 -6
- package/cdn/components/logo/logo.component.js +4 -4
- package/cdn/components/logo/logo.js +5 -5
- package/cdn/components/menu/menu.component.js +2 -2
- package/cdn/components/menu/menu.js +3 -3
- package/cdn/components/menu-item/menu-item.component.js +8 -7
- package/cdn/components/menu-item/menu-item.js +9 -8
- package/cdn/components/menu-label/menu-label.component.js +2 -2
- package/cdn/components/menu-label/menu-label.js +3 -3
- package/cdn/components/mutation-observer/mutation-observer.component.js +2 -2
- package/cdn/components/mutation-observer/mutation-observer.js +3 -3
- package/cdn/components/option/option.component.js +5 -5
- package/cdn/components/option/option.js +6 -6
- package/cdn/components/pagination/pagination.component.js +6 -6
- package/cdn/components/pagination/pagination.js +7 -7
- package/cdn/components/popover/popover.component.d.ts +76 -0
- package/cdn/components/popover/popover.component.js +21 -0
- package/cdn/components/popover/popover.d.ts +8 -0
- package/cdn/components/popover/popover.js +22 -0
- package/cdn/components/popover/popover.styles.d.ts +2 -0
- package/cdn/components/popover/popover.styles.js +8 -0
- package/cdn/components/popup/popup.component.js +5 -4
- package/cdn/components/popup/popup.js +6 -5
- package/cdn/components/primary-navigation/primary-navigation.component.js +5 -5
- package/cdn/components/primary-navigation/primary-navigation.js +6 -6
- package/cdn/components/primary-navigation-item/primary-navigation-item.component.js +8 -7
- package/cdn/components/primary-navigation-item/primary-navigation-item.js +9 -8
- package/cdn/components/primary-navigation-menu/primary-navigation-menu.component.js +2 -2
- package/cdn/components/primary-navigation-menu/primary-navigation-menu.js +3 -3
- package/cdn/components/progress-bar/progress-bar.component.js +4 -4
- package/cdn/components/progress-bar/progress-bar.js +5 -5
- package/cdn/components/progress-ring/progress-ring.component.js +4 -4
- package/cdn/components/progress-ring/progress-ring.js +5 -5
- package/cdn/components/qr-code/qr-code.component.js +2 -2
- package/cdn/components/qr-code/qr-code.js +3 -3
- package/cdn/components/radio/radio.component.js +3 -3
- package/cdn/components/radio/radio.js +4 -4
- package/cdn/components/radio-button/radio-button.component.js +2 -2
- package/cdn/components/radio-button/radio-button.js +3 -3
- package/cdn/components/radio-group/radio-group.component.js +4 -4
- package/cdn/components/radio-group/radio-group.js +5 -5
- package/cdn/components/range/range.component.js +4 -4
- package/cdn/components/range/range.js +5 -5
- package/cdn/components/rating/rating.component.js +5 -5
- package/cdn/components/rating/rating.js +6 -6
- package/cdn/components/relative-time/relative-time.component.js +4 -4
- package/cdn/components/relative-time/relative-time.js +5 -5
- package/cdn/components/resize-observer/resize-observer.component.js +2 -2
- package/cdn/components/resize-observer/resize-observer.js +3 -3
- package/cdn/components/secondary-navigation/secondary-navigation.component.js +6 -6
- package/cdn/components/secondary-navigation/secondary-navigation.js +7 -7
- package/cdn/components/secondary-navigation-item/secondary-navigation-item.component.js +2 -2
- package/cdn/components/secondary-navigation-item/secondary-navigation-item.js +3 -3
- package/cdn/components/select/select.component.js +10 -9
- package/cdn/components/select/select.js +11 -10
- package/cdn/components/skeleton/skeleton.component.js +2 -2
- package/cdn/components/skeleton/skeleton.js +3 -3
- package/cdn/components/social-link/social-link.component.js +4 -4
- package/cdn/components/social-link/social-link.js +5 -5
- package/cdn/components/spinner/spinner.component.js +4 -4
- package/cdn/components/spinner/spinner.js +5 -5
- package/cdn/components/split-panel/split-panel.component.js +4 -4
- package/cdn/components/split-panel/split-panel.js +5 -5
- package/cdn/components/switch/switch.component.js +2 -2
- package/cdn/components/switch/switch.js +3 -3
- package/cdn/components/tab/tab.component.js +6 -6
- package/cdn/components/tab/tab.js +7 -7
- package/cdn/components/tab-group/tab-group.component.js +7 -7
- package/cdn/components/tab-group/tab-group.js +8 -8
- package/cdn/components/tab-panel/tab-panel.component.js +2 -2
- package/cdn/components/tab-panel/tab-panel.js +3 -3
- package/cdn/components/tag/tag.component.js +6 -6
- package/cdn/components/tag/tag.js +7 -7
- package/cdn/components/textarea/textarea.component.js +2 -2
- package/cdn/components/textarea/textarea.js +3 -3
- package/cdn/components/time-picker/time-picker.component.js +9 -8
- package/cdn/components/time-picker/time-picker.js +10 -9
- package/cdn/components/tooltip/tooltip.component.js +6 -5
- package/cdn/components/tooltip/tooltip.js +7 -6
- package/cdn/components/tree/tree.component.js +9 -9
- package/cdn/components/tree/tree.js +10 -10
- package/cdn/components/tree-item/tree-item.component.js +7 -7
- package/cdn/components/tree-item/tree-item.js +8 -8
- package/cdn/components/visually-hidden/visually-hidden.component.js +2 -2
- package/cdn/components/visually-hidden/visually-hidden.js +3 -3
- package/cdn/custom-elements.json +429 -4
- package/cdn/cw-elements.d.ts +1 -0
- package/cdn/cw-elements.js +197 -190
- package/cdn/react/alert/index.js +7 -7
- package/cdn/react/animated-image/index.js +4 -4
- package/cdn/react/animation/index.js +3 -3
- package/cdn/react/avatar/index.js +4 -4
- package/cdn/react/badge/index.js +3 -3
- package/cdn/react/breadcrumb/index.d.ts +4 -0
- package/cdn/react/breadcrumb/index.js +31 -7
- package/cdn/react/breadcrumb-item/index.js +3 -3
- package/cdn/react/button/index.js +7 -7
- package/cdn/react/button-group/index.js +3 -3
- package/cdn/react/card/index.js +3 -3
- package/cdn/react/carousel/index.js +6 -6
- package/cdn/react/carousel-item/index.js +3 -3
- package/cdn/react/checkbox/index.js +4 -4
- package/cdn/react/color-picker/index.js +18 -17
- package/cdn/react/combobox/index.js +13 -12
- package/cdn/react/copy-button/index.js +9 -8
- package/cdn/react/data-table/index.js +8 -8
- package/cdn/react/data-table-column/index.js +3 -3
- package/cdn/react/date-picker/index.js +10 -9
- package/cdn/react/details/index.js +6 -6
- package/cdn/react/dialog/index.js +8 -8
- package/cdn/react/divider/index.js +3 -3
- package/cdn/react/drawer/index.js +8 -8
- package/cdn/react/dropdown/index.js +7 -6
- package/cdn/react/footer/index.js +3 -3
- package/cdn/react/format-bytes/index.js +5 -5
- package/cdn/react/format-date/index.js +5 -5
- package/cdn/react/format-number/index.js +5 -5
- package/cdn/react/header/index.js +7 -7
- package/cdn/react/icon/index.js +3 -3
- package/cdn/react/icon-button/index.js +4 -4
- package/cdn/react/image-comparer/index.js +6 -6
- package/cdn/react/include/index.js +3 -3
- package/cdn/react/index.d.ts +1 -0
- package/cdn/react/index.js +214 -207
- package/cdn/react/input/index.js +6 -6
- package/cdn/react/logo/index.js +5 -5
- package/cdn/react/menu/index.js +3 -3
- package/cdn/react/menu-item/index.js +9 -8
- package/cdn/react/menu-label/index.js +3 -3
- package/cdn/react/mutation-observer/index.js +3 -3
- package/cdn/react/option/index.js +6 -6
- package/cdn/react/pagination/index.js +7 -7
- package/cdn/react/popover/index.d.ts +45 -0
- package/cdn/react/popover/index.js +22 -0
- package/cdn/react/popup/index.js +6 -5
- package/cdn/react/primary-navigation/index.js +6 -6
- package/cdn/react/primary-navigation-item/index.js +9 -8
- package/cdn/react/primary-navigation-menu/index.js +3 -3
- package/cdn/react/progress-bar/index.js +5 -5
- package/cdn/react/progress-ring/index.js +5 -5
- package/cdn/react/qr-code/index.js +3 -3
- package/cdn/react/radio/index.js +4 -4
- package/cdn/react/radio-button/index.js +3 -3
- package/cdn/react/radio-group/index.js +5 -5
- package/cdn/react/range/index.js +5 -5
- package/cdn/react/rating/index.js +6 -6
- package/cdn/react/relative-time/index.js +5 -5
- package/cdn/react/resize-observer/index.js +3 -3
- package/cdn/react/secondary-navigation/index.js +7 -7
- package/cdn/react/secondary-navigation-item/index.js +3 -3
- package/cdn/react/select/index.js +11 -10
- package/cdn/react/skeleton/index.js +3 -3
- package/cdn/react/social-link/index.js +5 -5
- package/cdn/react/spinner/index.js +5 -5
- package/cdn/react/split-panel/index.js +5 -5
- package/cdn/react/switch/index.js +3 -3
- package/cdn/react/tab/index.js +7 -7
- package/cdn/react/tab-group/index.js +8 -8
- package/cdn/react/tab-panel/index.js +3 -3
- package/cdn/react/tag/index.js +7 -7
- package/cdn/react/textarea/index.js +3 -3
- package/cdn/react/time-picker/index.js +10 -9
- package/cdn/react/tooltip/index.js +7 -6
- package/cdn/react/tree/index.js +10 -10
- package/cdn/react/tree-item/index.js +8 -8
- package/cdn/react/visually-hidden/index.js +3 -3
- package/cdn/translations/da.js +2 -2
- package/cdn/translations/de-ch.js +2 -2
- package/cdn/translations/de.js +2 -2
- package/cdn/translations/en-gb.js +2 -2
- package/cdn/translations/en.js +1 -1
- package/cdn/translations/es.js +2 -2
- package/cdn/translations/fa.js +2 -2
- package/cdn/translations/fr.js +2 -2
- package/cdn/translations/he.js +2 -2
- package/cdn/translations/hu.js +2 -2
- package/cdn/translations/ja.js +2 -2
- package/cdn/translations/nb.js +2 -2
- package/cdn/translations/nl.js +2 -2
- package/cdn/translations/nn.js +2 -2
- package/cdn/translations/pl.js +2 -2
- package/cdn/translations/pt.js +2 -2
- package/cdn/translations/ru.js +2 -2
- package/cdn/translations/sv.js +2 -2
- package/cdn/translations/tr.js +2 -2
- package/cdn/translations/uk.js +2 -2
- package/cdn/translations/zh-cn.js +2 -2
- package/cdn/translations/zh-tw.js +2 -2
- package/cdn/types/vue/index.d.ts +69 -0
- package/cdn/utilities/localize.d.ts +1 -0
- package/cdn/utilities/localize.js +2 -2
- package/cdn/vscode.html-custom-data.json +61 -0
- package/cdn/web-types.json +131 -1
- package/dist/chunks/chunk.23B3PRNQ.js +21 -0
- package/dist/chunks/chunk.2BFDJCQ5.js +11 -0
- package/dist/chunks/chunk.2CAM3BID.js +11 -0
- package/dist/chunks/chunk.2CDIYCB5.js +33 -0
- package/dist/chunks/chunk.2D5H2LDM.js +24 -0
- package/dist/chunks/chunk.2J27ND7U.js +115 -0
- package/dist/chunks/chunk.2MFDR7BC.js +63 -0
- package/dist/chunks/chunk.2PESSHEV.js +813 -0
- package/dist/chunks/chunk.2RTAAJ42.js +24 -0
- package/dist/chunks/chunk.2X2VVRRE.js +119 -0
- package/dist/chunks/chunk.34LSHHON.js +11 -0
- package/dist/chunks/chunk.3EWZT6AX.js +11 -0
- package/dist/chunks/chunk.3FPCQD76.js +15 -0
- package/dist/chunks/chunk.43FNRCCE.js +33 -0
- package/dist/chunks/chunk.45HH245F.js +11 -0
- package/dist/chunks/chunk.4DOZMGX5.js +11 -0
- package/dist/chunks/chunk.4E4JKTDP.js +11 -0
- package/dist/chunks/chunk.4KE3QC7R.js +21 -0
- package/dist/chunks/chunk.4TR6IKMA.js +72 -0
- package/dist/chunks/chunk.4TWRSL7P.js +11 -0
- package/dist/chunks/chunk.57QDPDRT.js +11 -0
- package/dist/chunks/chunk.5H3JUKWF.js +27 -0
- package/dist/chunks/chunk.5IQWA736.js +11 -0
- package/dist/chunks/chunk.5M6BDG2U.js +60 -0
- package/dist/chunks/chunk.5MPSCKDI.js +24 -0
- package/dist/chunks/chunk.5MTCC5ZQ.js +11 -0
- package/dist/chunks/chunk.5SMEBVQK.js +26 -0
- package/dist/chunks/chunk.5WLCRUTG.js +100 -0
- package/dist/chunks/chunk.64JHQYM6.js +11 -0
- package/dist/chunks/chunk.6635K23D.js +151 -0
- package/dist/chunks/chunk.6AKF7ZZY.js +25 -0
- package/dist/chunks/chunk.6EZP7BQA.js +11 -0
- package/dist/chunks/chunk.6GOSQQNM.js +294 -0
- package/dist/chunks/chunk.6IFMZSJR.js +50 -0
- package/dist/chunks/chunk.6OQRQNW7.js +29 -0
- package/dist/chunks/chunk.6OS3FXEG.js +361 -0
- package/dist/chunks/chunk.6PWL6EWN.js +11 -0
- package/dist/chunks/chunk.73YXWCKL.js +198 -0
- package/dist/chunks/chunk.74XOBYSH.js +11 -0
- package/dist/chunks/chunk.7A6DYGGD.js +27 -0
- package/dist/chunks/chunk.7EQ5SZP4.js +25 -0
- package/dist/chunks/chunk.7FIK5UPX.js +109 -0
- package/dist/chunks/chunk.7IP3L6XX.js +11 -0
- package/dist/chunks/chunk.7JWWXKFL.js +337 -0
- package/dist/chunks/chunk.7PKIN2P5.js +75 -0
- package/dist/chunks/chunk.A5JA3S2O.js +11 -0
- package/dist/chunks/chunk.AAFPXU4A.js +961 -0
- package/dist/chunks/chunk.AM5GWNT6.js +11 -0
- package/dist/chunks/chunk.AX72IWVT.js +11 -0
- package/dist/chunks/chunk.B6ZYQ3B3.js +11 -0
- package/dist/chunks/chunk.BAFFM27P.js +11 -0
- package/dist/chunks/chunk.BAONZJ7Z.js +29 -0
- package/dist/chunks/chunk.BCHRQTSC.js +11 -0
- package/dist/chunks/chunk.BETCLSJX.js +94 -0
- package/dist/chunks/chunk.BJSUZFYY.js +26 -0
- package/dist/chunks/chunk.BLVF2IRY.js +21 -0
- package/dist/chunks/chunk.BP5GUX2X.js +93 -0
- package/dist/chunks/chunk.BSGP2754.js +11 -0
- package/dist/chunks/chunk.C5A63XOR.js +24 -0
- package/dist/chunks/chunk.DHNPZF2D.js +91 -0
- package/dist/chunks/chunk.DKZ3YLJW.js +111 -0
- package/dist/chunks/chunk.DLOUJ5XP.js +11 -0
- package/dist/chunks/chunk.DNTFTXRR.js +11 -0
- package/dist/chunks/chunk.DUESER7O.js +11 -0
- package/dist/chunks/chunk.E4ICGAM3.js +11 -0
- package/dist/chunks/chunk.EAPYJL5Y.js +21 -0
- package/dist/chunks/chunk.EBEIAHOH.js +11 -0
- package/dist/chunks/chunk.ECU2QCA7.js +24 -0
- package/dist/chunks/chunk.EFSJRWYV.js +11 -0
- package/dist/chunks/chunk.EGSFVHT4.js +25 -0
- package/dist/chunks/chunk.EJDUATVY.js +11 -0
- package/dist/chunks/chunk.EL2GK6UM.js +11 -0
- package/dist/chunks/chunk.EMOHJ74K.js +21 -0
- package/dist/chunks/chunk.EN3UJIB6.js +286 -0
- package/dist/chunks/chunk.ENTVW2CK.js +75 -0
- package/dist/chunks/chunk.FJN5Z5UB.js +21 -0
- package/dist/chunks/chunk.FJODVYSY.js +213 -0
- package/dist/chunks/chunk.FNJDUSB2.js +25 -0
- package/dist/chunks/chunk.FRWH6BKC.js +100 -0
- package/dist/chunks/chunk.FTBXON56.js +315 -0
- package/dist/chunks/chunk.FW64PXFD.js +21 -0
- package/dist/chunks/chunk.FY2E2UYV.js +21 -0
- package/dist/chunks/chunk.G5YGRF7P.js +293 -0
- package/dist/chunks/chunk.GI5NS4AB.js +21 -0
- package/dist/chunks/chunk.GSEZO3VY.js +11 -0
- package/dist/chunks/chunk.GXVURZVO.js +11 -0
- package/dist/chunks/chunk.GZCRCF6L.js +11 -0
- package/dist/chunks/chunk.GZNDKJH2.js +24 -0
- package/dist/chunks/chunk.H3F5QY2N.js +11 -0
- package/dist/chunks/chunk.H6K3ACGL.js +80 -0
- package/dist/chunks/chunk.HC3MMHUF.js +247 -0
- package/dist/chunks/chunk.HC74XFLQ.js +50 -0
- package/dist/chunks/chunk.HHPFZFB7.js +11 -0
- package/dist/chunks/chunk.HJDURLPX.js +21 -0
- package/dist/chunks/chunk.HKIL4B3J.js +24 -0
- package/dist/chunks/chunk.HPGZ4M75.js +26 -0
- package/dist/chunks/chunk.HRHOVFRY.js +11 -0
- package/dist/chunks/chunk.HYXDQBQE.js +59 -0
- package/dist/chunks/chunk.I2PWEABL.js +21 -0
- package/dist/chunks/chunk.I3T374JB.js +22 -0
- package/dist/chunks/chunk.I54ZCGU6.js +33 -0
- package/dist/chunks/chunk.IA4FR3UV.js +181 -0
- package/dist/chunks/chunk.IERWZNXV.js +28 -0
- package/dist/chunks/chunk.IGWQKOMW.js +11 -0
- package/dist/chunks/chunk.IHSI7JQP.js +24 -0
- package/dist/chunks/chunk.IHTRVJLK.js +130 -0
- package/dist/chunks/chunk.IITTLM5I.js +11 -0
- package/dist/chunks/chunk.IKJIYLDT.js +11 -0
- package/dist/chunks/chunk.ILH2OQTZ.js +147 -0
- package/dist/chunks/chunk.ILYMPUTY.js +21 -0
- package/dist/chunks/chunk.IOAADNY7.js +448 -0
- package/dist/chunks/chunk.IQBPRLM4.js +11 -0
- package/dist/chunks/chunk.IWKF3CEH.js +290 -0
- package/dist/chunks/chunk.J3QHQZMT.js +11 -0
- package/dist/chunks/chunk.J6BOQ55L.js +276 -0
- package/dist/chunks/chunk.J7UZOWXD.js +21 -0
- package/dist/chunks/chunk.JI633SZZ.js +27 -0
- package/dist/chunks/chunk.JVP3ICGA.js +34 -0
- package/dist/chunks/chunk.JYFCQM7F.js +11 -0
- package/dist/chunks/chunk.K2XEINJR.js +29 -0
- package/dist/chunks/chunk.KKYA7SDJ.js +11 -0
- package/dist/chunks/chunk.KSG56NI3.js +117 -0
- package/dist/chunks/chunk.KSMGMR3N.js +11 -0
- package/dist/chunks/chunk.KU2ADIBR.js +11 -0
- package/dist/chunks/chunk.KZZNGJYU.js +85 -0
- package/dist/chunks/chunk.L2YDUOND.js +25 -0
- package/dist/chunks/chunk.L3B7PZ2J.js +11 -0
- package/dist/chunks/chunk.L3L4IEGI.js +255 -0
- package/dist/chunks/chunk.L4CACOV4.js +323 -0
- package/dist/chunks/chunk.L5JSMYZ5.js +192 -0
- package/dist/chunks/chunk.L5OVODUB.js +62 -0
- package/dist/chunks/chunk.L6MZO4MJ.js +28 -0
- package/dist/chunks/chunk.LD7AX7JZ.js +27 -0
- package/dist/chunks/chunk.LDBT7PJY.js +231 -0
- package/dist/chunks/chunk.LK6P25LO.js +417 -0
- package/dist/chunks/chunk.LQ7OA3LY.js +178 -0
- package/dist/chunks/chunk.M5OGQHQT.js +135 -0
- package/dist/chunks/chunk.MAF2JIFT.js +11 -0
- package/dist/chunks/chunk.MGDZEBMD.js +11 -0
- package/dist/chunks/chunk.MNKTAVDN.js +25 -0
- package/dist/chunks/chunk.MP7BD7RD.js +25 -0
- package/dist/chunks/chunk.MS5PZMCE.js +21 -0
- package/dist/chunks/chunk.MSJKU72Y.js +11 -0
- package/dist/chunks/chunk.MVTILUXO.js +550 -0
- package/dist/chunks/chunk.MWHKYG4B.js +42 -0
- package/dist/chunks/chunk.MWUWSNHI.js +274 -0
- package/dist/chunks/chunk.MZREZELP.js +837 -0
- package/dist/chunks/chunk.N7GJ7OYA.js +24 -0
- package/dist/chunks/chunk.NBCU3SS5.js +11 -0
- package/dist/chunks/chunk.NBDPEF7C.js +27 -0
- package/dist/chunks/chunk.NNIXBPUI.js +21 -0
- package/dist/chunks/chunk.NQVNH4R6.js +11 -0
- package/dist/chunks/chunk.NRAS7P2U.js +21 -0
- package/dist/chunks/chunk.NRKIW7RJ.js +11 -0
- package/dist/chunks/chunk.NT3AVAAG.js +26 -0
- package/dist/chunks/chunk.O7YUF5FX.js +21 -0
- package/dist/chunks/chunk.OP6E2G7J.js +21 -0
- package/dist/chunks/chunk.OPDOLPH4.js +11 -0
- package/dist/chunks/chunk.OXNHDT6W.js +109 -0
- package/dist/chunks/chunk.OXPYYSWN.js +11 -0
- package/dist/chunks/chunk.PBU4BTCN.js +11 -0
- package/dist/chunks/chunk.PQARUP7W.js +33 -0
- package/dist/chunks/chunk.PVGCD2Q2.js +11 -0
- package/dist/chunks/chunk.Q2RV5X6V.js +280 -0
- package/dist/chunks/chunk.Q2WYCWMD.js +28 -0
- package/dist/chunks/chunk.Q542GOVC.js +11 -0
- package/dist/chunks/chunk.Q7U5UMMK.js +21 -0
- package/dist/chunks/chunk.QBN7NUUG.js +896 -0
- package/dist/chunks/chunk.QHGHVZHA.js +116 -0
- package/dist/chunks/chunk.QKHNRFVC.js +11 -0
- package/dist/chunks/chunk.QX6LHGML.js +311 -0
- package/dist/chunks/chunk.R5WCRZHV.js +29 -0
- package/dist/chunks/chunk.R6VNMFRI.js +21 -0
- package/dist/chunks/chunk.RCOKUGZX.js +25 -0
- package/dist/chunks/chunk.RDZEX3ZQ.js +21 -0
- package/dist/chunks/chunk.RIKL6ZIW.js +11 -0
- package/dist/chunks/chunk.RPNQD7PE.js +27 -0
- package/dist/chunks/chunk.RUNALYZG.js +25 -0
- package/dist/chunks/chunk.SJOVNMMS.js +134 -0
- package/dist/chunks/chunk.SMABOCLP.js +11 -0
- package/dist/chunks/chunk.SNBTGJPK.js +11 -0
- package/dist/chunks/chunk.SNOQEOOH.js +21 -0
- package/dist/chunks/chunk.SR6F7TBC.js +41 -0
- package/dist/chunks/chunk.SVMOKQYZ.js +45 -0
- package/dist/chunks/chunk.SVQI3ERL.js +227 -0
- package/dist/chunks/chunk.SYTHADNU.js +225 -0
- package/dist/chunks/chunk.T4S4ASWJ.js +24 -0
- package/dist/chunks/chunk.TB5XI6AJ.js +11 -0
- package/dist/chunks/chunk.TGCR3AEN.js +45 -0
- package/dist/chunks/chunk.THBDIHQH.js +73 -0
- package/dist/chunks/chunk.TJUJ4KPX.js +28 -0
- package/dist/chunks/chunk.TV2G2PQI.js +11 -0
- package/dist/chunks/chunk.TZJ2ULMU.js +21 -0
- package/dist/chunks/chunk.U2ILIPAN.js +397 -0
- package/dist/chunks/chunk.U4ZE6L5R.js +11 -0
- package/dist/chunks/chunk.U5YT2OJS.js +949 -0
- package/dist/chunks/chunk.UA3BKXHN.js +25 -0
- package/dist/chunks/chunk.UI3ZMTLI.js +87 -0
- package/dist/chunks/chunk.UJ3YTD6J.js +11 -0
- package/dist/chunks/chunk.UMF2HYHI.js +21 -0
- package/dist/chunks/chunk.UOFTHH5I.js +11 -0
- package/dist/chunks/chunk.UXI4HYWM.js +170 -0
- package/dist/chunks/chunk.UZRRGCLV.js +21 -0
- package/dist/chunks/chunk.V3LMKHRL.js +67 -0
- package/dist/chunks/chunk.VAZKSADT.js +28 -0
- package/dist/chunks/chunk.VIO4QTEX.js +375 -0
- package/dist/chunks/chunk.VIPSAR2M.js +82 -0
- package/dist/chunks/chunk.VJJCJL5J.js +27 -0
- package/dist/chunks/chunk.VMKGKQTC.js +21 -0
- package/dist/chunks/chunk.VO5IVFWZ.js +20 -0
- package/dist/chunks/chunk.WGFKKR55.js +370 -0
- package/dist/chunks/chunk.WM36HTPK.js +24 -0
- package/dist/chunks/chunk.WMSOJXFL.js +27 -0
- package/dist/chunks/chunk.WWDS3BA2.js +11 -0
- package/dist/chunks/chunk.XFFM4OOJ.js +11 -0
- package/dist/chunks/chunk.XNSXR74R.js +11 -0
- package/dist/chunks/chunk.XQ7S64CT.js +21 -0
- package/dist/chunks/chunk.XUNPR5QR.js +42 -0
- package/dist/chunks/chunk.Y3QISL55.js +259 -0
- package/dist/chunks/chunk.Y43LQCCX.js +11 -0
- package/dist/chunks/chunk.YBQTKK6G.js +491 -0
- package/dist/chunks/chunk.YW3ON46Q.js +11 -0
- package/dist/chunks/chunk.Z52SDK5E.js +384 -0
- package/dist/chunks/chunk.ZAWXGRFL.js +11 -0
- package/dist/chunks/chunk.ZCMAJSHW.js +24 -0
- package/dist/chunks/chunk.ZO2G6DAQ.js +21 -0
- package/dist/chunks/chunk.ZRSPRNXV.js +11 -0
- package/dist/chunks/chunk.ZSDCCLWP.js +22 -0
- package/dist/components/alert/alert.component.js +6 -6
- package/dist/components/alert/alert.js +7 -7
- package/dist/components/animated-image/animated-image.component.js +3 -3
- package/dist/components/animated-image/animated-image.js +4 -4
- package/dist/components/animation/animation.component.js +2 -2
- package/dist/components/animation/animation.js +3 -3
- package/dist/components/avatar/avatar.component.js +3 -3
- package/dist/components/avatar/avatar.js +4 -4
- package/dist/components/badge/badge.component.js +2 -2
- package/dist/components/badge/badge.js +3 -3
- package/dist/components/breadcrumb/breadcrumb.component.d.ts +28 -0
- package/dist/components/breadcrumb/breadcrumb.component.js +25 -6
- package/dist/components/breadcrumb/breadcrumb.js +26 -7
- package/dist/components/breadcrumb/breadcrumb.styles.js +1 -1
- package/dist/components/breadcrumb-item/breadcrumb-item.component.js +2 -2
- package/dist/components/breadcrumb-item/breadcrumb-item.js +3 -3
- package/dist/components/button/button.component.js +6 -6
- package/dist/components/button/button.js +7 -7
- package/dist/components/button-group/button-group.component.js +2 -2
- package/dist/components/button-group/button-group.js +3 -3
- package/dist/components/card/card.component.js +2 -2
- package/dist/components/card/card.js +3 -3
- package/dist/components/carousel/carousel.component.js +5 -5
- package/dist/components/carousel/carousel.js +6 -6
- package/dist/components/carousel-item/carousel-item.component.js +2 -2
- package/dist/components/carousel-item/carousel-item.js +3 -3
- package/dist/components/checkbox/checkbox.component.js +3 -3
- package/dist/components/checkbox/checkbox.js +4 -4
- package/dist/components/color-picker/color-picker.component.js +16 -16
- package/dist/components/color-picker/color-picker.js +17 -17
- package/dist/components/combobox/combobox.component.js +11 -11
- package/dist/components/combobox/combobox.js +12 -12
- package/dist/components/copy-button/copy-button.component.js +7 -7
- package/dist/components/copy-button/copy-button.js +8 -8
- package/dist/components/data-table/data-table.component.js +7 -7
- package/dist/components/data-table/data-table.js +8 -8
- package/dist/components/data-table-column/data-table-column.component.js +2 -2
- package/dist/components/data-table-column/data-table-column.js +3 -3
- package/dist/components/date-picker/date-picker.component.js +8 -8
- package/dist/components/date-picker/date-picker.js +9 -9
- package/dist/components/details/details.component.js +5 -5
- package/dist/components/details/details.js +6 -6
- package/dist/components/dialog/dialog.component.js +7 -7
- package/dist/components/dialog/dialog.js +8 -8
- package/dist/components/divider/divider.component.js +2 -2
- package/dist/components/divider/divider.js +3 -3
- package/dist/components/drawer/drawer.component.js +7 -7
- package/dist/components/drawer/drawer.js +8 -8
- package/dist/components/dropdown/dropdown.component.js +5 -5
- package/dist/components/dropdown/dropdown.js +6 -6
- package/dist/components/footer/footer.component.js +2 -2
- package/dist/components/footer/footer.js +3 -3
- package/dist/components/format-bytes/format-bytes.component.js +4 -4
- package/dist/components/format-bytes/format-bytes.js +5 -5
- package/dist/components/format-date/format-date.component.js +4 -4
- package/dist/components/format-date/format-date.js +5 -5
- package/dist/components/format-number/format-number.component.js +4 -4
- package/dist/components/format-number/format-number.js +5 -5
- package/dist/components/header/header.component.js +6 -6
- package/dist/components/header/header.js +7 -7
- 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 +5 -5
- package/dist/components/image-comparer/image-comparer.js +6 -6
- package/dist/components/include/include.component.js +2 -2
- package/dist/components/include/include.js +3 -3
- package/dist/components/input/input.component.js +5 -5
- package/dist/components/input/input.js +6 -6
- package/dist/components/logo/logo.component.js +4 -4
- package/dist/components/logo/logo.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 +7 -7
- package/dist/components/menu-item/menu-item.js +8 -8
- package/dist/components/menu-label/menu-label.component.js +2 -2
- package/dist/components/menu-label/menu-label.js +3 -3
- package/dist/components/mutation-observer/mutation-observer.component.js +2 -2
- package/dist/components/mutation-observer/mutation-observer.js +3 -3
- package/dist/components/option/option.component.js +5 -5
- package/dist/components/option/option.js +6 -6
- package/dist/components/pagination/pagination.component.js +6 -6
- package/dist/components/pagination/pagination.js +7 -7
- package/dist/components/popover/popover.component.d.ts +76 -0
- package/dist/components/popover/popover.component.js +16 -0
- package/dist/components/popover/popover.d.ts +8 -0
- package/dist/components/popover/popover.js +17 -0
- package/dist/components/popover/popover.styles.d.ts +2 -0
- package/dist/components/popover/popover.styles.js +7 -0
- package/dist/components/popup/popup.component.js +4 -4
- package/dist/components/popup/popup.js +5 -5
- package/dist/components/primary-navigation/primary-navigation.component.js +5 -5
- package/dist/components/primary-navigation/primary-navigation.js +6 -6
- package/dist/components/primary-navigation-item/primary-navigation-item.component.js +7 -7
- package/dist/components/primary-navigation-item/primary-navigation-item.js +8 -8
- package/dist/components/primary-navigation-menu/primary-navigation-menu.component.js +2 -2
- package/dist/components/primary-navigation-menu/primary-navigation-menu.js +3 -3
- package/dist/components/progress-bar/progress-bar.component.js +4 -4
- package/dist/components/progress-bar/progress-bar.js +5 -5
- package/dist/components/progress-ring/progress-ring.component.js +4 -4
- package/dist/components/progress-ring/progress-ring.js +5 -5
- 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 +4 -4
- package/dist/components/radio-group/radio-group.js +5 -5
- package/dist/components/range/range.component.js +4 -4
- package/dist/components/range/range.js +5 -5
- package/dist/components/rating/rating.component.js +5 -5
- package/dist/components/rating/rating.js +6 -6
- package/dist/components/relative-time/relative-time.component.js +4 -4
- package/dist/components/relative-time/relative-time.js +5 -5
- package/dist/components/resize-observer/resize-observer.component.js +2 -2
- package/dist/components/resize-observer/resize-observer.js +3 -3
- package/dist/components/secondary-navigation/secondary-navigation.component.js +6 -6
- package/dist/components/secondary-navigation/secondary-navigation.js +7 -7
- package/dist/components/secondary-navigation-item/secondary-navigation-item.component.js +2 -2
- package/dist/components/secondary-navigation-item/secondary-navigation-item.js +3 -3
- package/dist/components/select/select.component.js +9 -9
- package/dist/components/select/select.js +10 -10
- package/dist/components/skeleton/skeleton.component.js +2 -2
- package/dist/components/skeleton/skeleton.js +3 -3
- package/dist/components/social-link/social-link.component.js +4 -4
- package/dist/components/social-link/social-link.js +5 -5
- package/dist/components/spinner/spinner.component.js +4 -4
- package/dist/components/spinner/spinner.js +5 -5
- package/dist/components/split-panel/split-panel.component.js +4 -4
- package/dist/components/split-panel/split-panel.js +5 -5
- package/dist/components/switch/switch.component.js +2 -2
- package/dist/components/switch/switch.js +3 -3
- package/dist/components/tab/tab.component.js +6 -6
- package/dist/components/tab/tab.js +7 -7
- package/dist/components/tab-group/tab-group.component.js +7 -7
- package/dist/components/tab-group/tab-group.js +8 -8
- package/dist/components/tab-panel/tab-panel.component.js +2 -2
- package/dist/components/tab-panel/tab-panel.js +3 -3
- package/dist/components/tag/tag.component.js +6 -6
- package/dist/components/tag/tag.js +7 -7
- package/dist/components/textarea/textarea.component.js +2 -2
- package/dist/components/textarea/textarea.js +3 -3
- package/dist/components/time-picker/time-picker.component.js +8 -8
- package/dist/components/time-picker/time-picker.js +9 -9
- package/dist/components/tooltip/tooltip.component.js +5 -5
- package/dist/components/tooltip/tooltip.js +6 -6
- package/dist/components/tree/tree.component.js +9 -9
- package/dist/components/tree/tree.js +10 -10
- package/dist/components/tree-item/tree-item.component.js +7 -7
- package/dist/components/tree-item/tree-item.js +8 -8
- package/dist/components/visually-hidden/visually-hidden.component.js +2 -2
- package/dist/components/visually-hidden/visually-hidden.js +3 -3
- package/dist/custom-elements.json +429 -4
- package/dist/cw-elements.d.ts +1 -0
- package/dist/cw-elements.js +196 -190
- 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 +3 -3
- package/dist/react/breadcrumb/index.d.ts +4 -0
- package/dist/react/breadcrumb/index.js +26 -7
- package/dist/react/breadcrumb-item/index.js +3 -3
- package/dist/react/button/index.js +7 -7
- package/dist/react/button-group/index.js +3 -3
- package/dist/react/card/index.js +3 -3
- package/dist/react/carousel/index.js +6 -6
- package/dist/react/carousel-item/index.js +3 -3
- package/dist/react/checkbox/index.js +4 -4
- package/dist/react/color-picker/index.js +17 -17
- package/dist/react/combobox/index.js +12 -12
- package/dist/react/copy-button/index.js +8 -8
- package/dist/react/data-table/index.js +8 -8
- package/dist/react/data-table-column/index.js +3 -3
- package/dist/react/date-picker/index.js +9 -9
- package/dist/react/details/index.js +6 -6
- package/dist/react/dialog/index.js +8 -8
- package/dist/react/divider/index.js +3 -3
- package/dist/react/drawer/index.js +8 -8
- package/dist/react/dropdown/index.js +6 -6
- package/dist/react/footer/index.js +3 -3
- package/dist/react/format-bytes/index.js +5 -5
- package/dist/react/format-date/index.js +5 -5
- package/dist/react/format-number/index.js +5 -5
- package/dist/react/header/index.js +7 -7
- package/dist/react/icon/index.js +3 -3
- package/dist/react/icon-button/index.js +4 -4
- package/dist/react/image-comparer/index.js +6 -6
- package/dist/react/include/index.js +3 -3
- package/dist/react/index.d.ts +1 -0
- package/dist/react/index.js +213 -207
- package/dist/react/input/index.js +6 -6
- package/dist/react/logo/index.js +5 -5
- package/dist/react/menu/index.js +3 -3
- package/dist/react/menu-item/index.js +8 -8
- package/dist/react/menu-label/index.js +3 -3
- package/dist/react/mutation-observer/index.js +3 -3
- package/dist/react/option/index.js +6 -6
- package/dist/react/pagination/index.js +7 -7
- package/dist/react/popover/index.d.ts +45 -0
- package/dist/react/popover/index.js +17 -0
- package/dist/react/popup/index.js +5 -5
- package/dist/react/primary-navigation/index.js +6 -6
- package/dist/react/primary-navigation-item/index.js +8 -8
- package/dist/react/primary-navigation-menu/index.js +3 -3
- package/dist/react/progress-bar/index.js +5 -5
- package/dist/react/progress-ring/index.js +5 -5
- 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 +5 -5
- package/dist/react/range/index.js +5 -5
- package/dist/react/rating/index.js +6 -6
- package/dist/react/relative-time/index.js +5 -5
- package/dist/react/resize-observer/index.js +3 -3
- package/dist/react/secondary-navigation/index.js +7 -7
- package/dist/react/secondary-navigation-item/index.js +3 -3
- package/dist/react/select/index.js +10 -10
- package/dist/react/skeleton/index.js +3 -3
- package/dist/react/social-link/index.js +5 -5
- package/dist/react/spinner/index.js +5 -5
- package/dist/react/split-panel/index.js +5 -5
- package/dist/react/switch/index.js +3 -3
- package/dist/react/tab/index.js +7 -7
- package/dist/react/tab-group/index.js +8 -8
- package/dist/react/tab-panel/index.js +3 -3
- package/dist/react/tag/index.js +7 -7
- package/dist/react/textarea/index.js +3 -3
- package/dist/react/time-picker/index.js +9 -9
- package/dist/react/tooltip/index.js +6 -6
- package/dist/react/tree/index.js +10 -10
- package/dist/react/tree-item/index.js +8 -8
- package/dist/react/visually-hidden/index.js +3 -3
- package/dist/translations/da.js +2 -2
- package/dist/translations/de-ch.js +3 -3
- package/dist/translations/de.js +3 -3
- package/dist/translations/en-gb.js +2 -2
- package/dist/translations/en.js +1 -1
- package/dist/translations/es.js +2 -2
- package/dist/translations/fa.js +2 -2
- package/dist/translations/fr.js +2 -2
- package/dist/translations/he.js +2 -2
- package/dist/translations/hu.js +2 -2
- package/dist/translations/ja.js +2 -2
- package/dist/translations/nb.js +2 -2
- package/dist/translations/nl.js +2 -2
- package/dist/translations/nn.js +2 -2
- package/dist/translations/pl.js +2 -2
- package/dist/translations/pt.js +2 -2
- package/dist/translations/ru.js +2 -2
- package/dist/translations/sv.js +2 -2
- package/dist/translations/tr.js +2 -2
- package/dist/translations/uk.js +2 -2
- package/dist/translations/zh-cn.js +2 -2
- package/dist/translations/zh-tw.js +2 -2
- package/dist/types/vue/index.d.ts +69 -0
- package/dist/utilities/localize.d.ts +1 -0
- package/dist/utilities/localize.js +2 -2
- package/dist/vscode.html-custom-data.json +61 -0
- package/dist/web-types.json +131 -1
- package/package.json +1 -1
- package/cdn/chunks/chunk.22CTYNXG.js +0 -186
- package/cdn/chunks/chunk.25YJIL7N.js +0 -11
- package/cdn/chunks/chunk.2BQ437GF.js +0 -11
- package/cdn/chunks/chunk.2M5IBDIZ.js +0 -28
- package/cdn/chunks/chunk.2OGRA2JN.js +0 -24
- package/cdn/chunks/chunk.3BIGWCZ4.js +0 -62
- package/cdn/chunks/chunk.3CJ75NXI.js +0 -122
- package/cdn/chunks/chunk.3ERSNNJV.js +0 -11
- package/cdn/chunks/chunk.3FGWEW5E.js +0 -574
- package/cdn/chunks/chunk.3KMEFTXZ.js +0 -724
- package/cdn/chunks/chunk.3RKAJEI3.js +0 -11
- package/cdn/chunks/chunk.4AFNB7YS.js +0 -11
- package/cdn/chunks/chunk.4DRGVX4D.js +0 -11
- package/cdn/chunks/chunk.4G2C2HKR.js +0 -21
- package/cdn/chunks/chunk.4HF7HPVU.js +0 -236
- package/cdn/chunks/chunk.4IWQS3X3.js +0 -11
- package/cdn/chunks/chunk.4L2NF5FA.js +0 -11
- package/cdn/chunks/chunk.4YZBBINX.js +0 -1990
- package/cdn/chunks/chunk.552QPGQX.js +0 -21
- package/cdn/chunks/chunk.5ARPDEIN.js +0 -142
- package/cdn/chunks/chunk.5BEPI2U2.js +0 -103
- package/cdn/chunks/chunk.5H7K6J5E.js +0 -11
- package/cdn/chunks/chunk.5LBLHN3C.js +0 -11
- package/cdn/chunks/chunk.5MLJVAGL.js +0 -11
- package/cdn/chunks/chunk.5OMSCR6T.js +0 -11
- package/cdn/chunks/chunk.5Q2PBRQ3.js +0 -21
- package/cdn/chunks/chunk.5SRQLZA4.js +0 -95
- package/cdn/chunks/chunk.5WOEUGY4.js +0 -11
- package/cdn/chunks/chunk.62PBMXDR.js +0 -11
- package/cdn/chunks/chunk.62U5R4XV.js +0 -11
- package/cdn/chunks/chunk.65WBKJIX.js +0 -11
- package/cdn/chunks/chunk.6JPPQLUI.js +0 -11
- package/cdn/chunks/chunk.6SSVS4RO.js +0 -49
- package/cdn/chunks/chunk.6T63NFQF.js +0 -21
- package/cdn/chunks/chunk.7254W5ZT.js +0 -255
- package/cdn/chunks/chunk.72ANULQL.js +0 -26
- package/cdn/chunks/chunk.744ZMO4P.js +0 -21
- package/cdn/chunks/chunk.75ZQOYXC.js +0 -16
- package/cdn/chunks/chunk.7CKXJNKV.js +0 -21
- package/cdn/chunks/chunk.7IXPVE35.js +0 -11
- package/cdn/chunks/chunk.7J345ECS.js +0 -11
- package/cdn/chunks/chunk.7Q6YJTWF.js +0 -11
- package/cdn/chunks/chunk.A6ZBWWXP.js +0 -25
- package/cdn/chunks/chunk.A6ZQ55DS.js +0 -21
- package/cdn/chunks/chunk.AB42TC3P.js +0 -24
- package/cdn/chunks/chunk.AETESKCZ.js +0 -24
- package/cdn/chunks/chunk.ANSJH25G.js +0 -24
- package/cdn/chunks/chunk.AO6LFH4L.js +0 -11
- package/cdn/chunks/chunk.AR2RIEZK.js +0 -11
- package/cdn/chunks/chunk.ARVA2MBG.js +0 -79
- package/cdn/chunks/chunk.B3J54PAK.js +0 -11
- package/cdn/chunks/chunk.BFQPCVRO.js +0 -969
- package/cdn/chunks/chunk.BMUKPTNN.js +0 -21
- package/cdn/chunks/chunk.BOH42LQN.js +0 -120
- package/cdn/chunks/chunk.BPWTM36I.js +0 -11
- package/cdn/chunks/chunk.BQ3QLLXD.js +0 -114
- package/cdn/chunks/chunk.BQFNVIHU.js +0 -25
- package/cdn/chunks/chunk.C5K2HSZB.js +0 -21
- package/cdn/chunks/chunk.C62ILZ6F.js +0 -11
- package/cdn/chunks/chunk.CC3VXMJP.js +0 -25
- package/cdn/chunks/chunk.CE7766CB.js +0 -24
- package/cdn/chunks/chunk.CIFGDYDW.js +0 -33
- package/cdn/chunks/chunk.D2NWJTOG.js +0 -21
- package/cdn/chunks/chunk.D7KRKENK.js +0 -27
- package/cdn/chunks/chunk.DDMWNPAS.js +0 -11
- package/cdn/chunks/chunk.E27ZTQQE.js +0 -50
- package/cdn/chunks/chunk.E7NFW4AB.js +0 -302
- package/cdn/chunks/chunk.E7OZ5FDQ.js +0 -21
- package/cdn/chunks/chunk.EJIKSCVH.js +0 -158
- package/cdn/chunks/chunk.ENHUFVC5.js +0 -24
- package/cdn/chunks/chunk.ES73357X.js +0 -11
- package/cdn/chunks/chunk.ETNIDE52.js +0 -11
- package/cdn/chunks/chunk.EVGTW3KL.js +0 -63
- package/cdn/chunks/chunk.EW5ZHIMM.js +0 -11
- package/cdn/chunks/chunk.EXF7QDLH.js +0 -367
- package/cdn/chunks/chunk.F2JP3JKQ.js +0 -24
- package/cdn/chunks/chunk.F6ZIUTSI.js +0 -11
- package/cdn/chunks/chunk.FCBQMTKX.js +0 -11
- package/cdn/chunks/chunk.FDW5E5NG.js +0 -11
- package/cdn/chunks/chunk.FELHCJ5U.js +0 -24
- package/cdn/chunks/chunk.FGO35JBW.js +0 -11
- package/cdn/chunks/chunk.FLELIAB2.js +0 -24
- package/cdn/chunks/chunk.FLFNG3T4.js +0 -21
- package/cdn/chunks/chunk.FNRAMRSI.js +0 -24
- package/cdn/chunks/chunk.FNSOOR7V.js +0 -27
- package/cdn/chunks/chunk.FR6CJRZ3.js +0 -499
- package/cdn/chunks/chunk.FU6HPW3X.js +0 -391
- package/cdn/chunks/chunk.FXJITQUW.js +0 -11
- package/cdn/chunks/chunk.FY5DNFHX.js +0 -27
- package/cdn/chunks/chunk.FYBKWLVO.js +0 -11
- package/cdn/chunks/chunk.G42TMB7H.js +0 -28
- package/cdn/chunks/chunk.GBE73XYY.js +0 -11
- package/cdn/chunks/chunk.GIPYRK6R.js +0 -291
- package/cdn/chunks/chunk.GOZAPAQ5.js +0 -11
- package/cdn/chunks/chunk.GUBZECC6.js +0 -28
- package/cdn/chunks/chunk.H22BWPDV.js +0 -11
- package/cdn/chunks/chunk.HC4XH5GN.js +0 -267
- package/cdn/chunks/chunk.HDPINXBY.js +0 -64
- package/cdn/chunks/chunk.HKHPROFG.js +0 -297
- package/cdn/chunks/chunk.HPTUMWQA.js +0 -21
- package/cdn/chunks/chunk.HSUWWWKL.js +0 -455
- package/cdn/chunks/chunk.I5QZDPDG.js +0 -11
- package/cdn/chunks/chunk.IAVBX2ZQ.js +0 -21
- package/cdn/chunks/chunk.IBHFGIJJ.js +0 -402
- package/cdn/chunks/chunk.IELVNN7G.js +0 -231
- package/cdn/chunks/chunk.IKJ6EY75.js +0 -21
- package/cdn/chunks/chunk.IKQRZUNY.js +0 -77
- package/cdn/chunks/chunk.IY4HOXEN.js +0 -11
- package/cdn/chunks/chunk.J2BQ3GRW.js +0 -279
- package/cdn/chunks/chunk.JHIPJ3PG.js +0 -378
- package/cdn/chunks/chunk.JP4SVRIZ.js +0 -11
- package/cdn/chunks/chunk.JUZ3YZ4T.js +0 -27
- package/cdn/chunks/chunk.JVOK6ATY.js +0 -87
- package/cdn/chunks/chunk.KMUZVPDF.js +0 -21
- package/cdn/chunks/chunk.KNTCIU27.js +0 -75
- package/cdn/chunks/chunk.KOFEUBRW.js +0 -82
- package/cdn/chunks/chunk.KUXUZOIO.js +0 -21
- package/cdn/chunks/chunk.KZCLMIB4.js +0 -24
- package/cdn/chunks/chunk.L43FP2T6.js +0 -11
- package/cdn/chunks/chunk.LBETQYQ7.js +0 -28
- package/cdn/chunks/chunk.LGC3T6PU.js +0 -330
- package/cdn/chunks/chunk.LH364WQS.js +0 -84
- package/cdn/chunks/chunk.LKIVKYMS.js +0 -11
- package/cdn/chunks/chunk.LRY2VWYK.js +0 -25
- package/cdn/chunks/chunk.LV4D2EIK.js +0 -11
- package/cdn/chunks/chunk.LXKB4ENK.js +0 -385
- package/cdn/chunks/chunk.MDYSARZJ.js +0 -73
- package/cdn/chunks/chunk.MJSX2HMQ.js +0 -27
- package/cdn/chunks/chunk.MR27MG3U.js +0 -33
- package/cdn/chunks/chunk.MRECAKWX.js +0 -24
- package/cdn/chunks/chunk.MREZ3NRL.js +0 -120
- package/cdn/chunks/chunk.MUJ53KMN.js +0 -113
- package/cdn/chunks/chunk.MYRQZ23D.js +0 -11
- package/cdn/chunks/chunk.N4FSWEMW.js +0 -21
- package/cdn/chunks/chunk.NGO36JWU.js +0 -27
- package/cdn/chunks/chunk.NIKZ4C6F.js +0 -24
- package/cdn/chunks/chunk.NZ5JANAX.js +0 -11
- package/cdn/chunks/chunk.O4XOMTO2.js +0 -11
- package/cdn/chunks/chunk.O6WP7MBQ.js +0 -26
- package/cdn/chunks/chunk.OFPLPZEA.js +0 -27
- package/cdn/chunks/chunk.OH2TCFFU.js +0 -16
- package/cdn/chunks/chunk.OHWCW2N6.js +0 -11
- package/cdn/chunks/chunk.OJV7ANCQ.js +0 -218
- package/cdn/chunks/chunk.OWVB6DKX.js +0 -25
- package/cdn/chunks/chunk.OY4D3P4A.js +0 -127
- package/cdn/chunks/chunk.OZOZOPAO.js +0 -11
- package/cdn/chunks/chunk.P2AMQYMN.js +0 -285
- package/cdn/chunks/chunk.PATOCYFP.js +0 -49
- package/cdn/chunks/chunk.PBS7QNPI.js +0 -21
- package/cdn/chunks/chunk.PKZVRREM.js +0 -67
- package/cdn/chunks/chunk.POJOCFOC.js +0 -11
- package/cdn/chunks/chunk.PPGWDNDN.js +0 -11
- package/cdn/chunks/chunk.PQ3X3HGY.js +0 -26
- package/cdn/chunks/chunk.PQPKZDR6.js +0 -33
- package/cdn/chunks/chunk.PSKCDK3N.js +0 -137
- package/cdn/chunks/chunk.PT7E52KR.js +0 -91
- package/cdn/chunks/chunk.PVEZDXFP.js +0 -11
- package/cdn/chunks/chunk.Q4XEXGVX.js +0 -299
- package/cdn/chunks/chunk.Q5FCW26N.js +0 -174
- package/cdn/chunks/chunk.Q6VIJ5GE.js +0 -29
- package/cdn/chunks/chunk.QDHI3ZFM.js +0 -21
- package/cdn/chunks/chunk.QFTWCRAS.js +0 -79
- package/cdn/chunks/chunk.QJVMSXPF.js +0 -11
- package/cdn/chunks/chunk.QQ3CHJHC.js +0 -42
- package/cdn/chunks/chunk.QZ5JGT3L.js +0 -11
- package/cdn/chunks/chunk.R3EN5P44.js +0 -844
- package/cdn/chunks/chunk.R3OQQBLM.js +0 -21
- package/cdn/chunks/chunk.R76PEDGL.js +0 -97
- package/cdn/chunks/chunk.R7QOLPSL.js +0 -21
- package/cdn/chunks/chunk.RBTA5PMG.js +0 -197
- package/cdn/chunks/chunk.RH52RJ4E.js +0 -45
- package/cdn/chunks/chunk.RIP6EYDJ.js +0 -11
- package/cdn/chunks/chunk.RLPXZIOP.js +0 -233
- package/cdn/chunks/chunk.ROJZC5BG.js +0 -21
- package/cdn/chunks/chunk.RRNDGQIT.js +0 -29
- package/cdn/chunks/chunk.RV3C3FYD.js +0 -153
- package/cdn/chunks/chunk.SCKHBIUQ.js +0 -346
- package/cdn/chunks/chunk.SDTTEURA.js +0 -21
- package/cdn/chunks/chunk.SRXH7TME.js +0 -29
- package/cdn/chunks/chunk.SUR2QLZK.js +0 -11
- package/cdn/chunks/chunk.SVVCGGAS.js +0 -11
- package/cdn/chunks/chunk.T67YNRZG.js +0 -21
- package/cdn/chunks/chunk.T72ZO7IK.js +0 -28
- package/cdn/chunks/chunk.TIIAIC3F.js +0 -216
- package/cdn/chunks/chunk.TWVJO46F.js +0 -139
- package/cdn/chunks/chunk.TZUYWJII.js +0 -11
- package/cdn/chunks/chunk.U7SBQXKD.js +0 -11
- package/cdn/chunks/chunk.U7XHPLES.js +0 -93
- package/cdn/chunks/chunk.UAMXUOND.js +0 -11
- package/cdn/chunks/chunk.UD3RCDLL.js +0 -1925
- package/cdn/chunks/chunk.UDYUNKA4.js +0 -26
- package/cdn/chunks/chunk.UHFJ76SK.js +0 -821
- package/cdn/chunks/chunk.UOVUPJSD.js +0 -185
- package/cdn/chunks/chunk.UZ4SVDBB.js +0 -904
- package/cdn/chunks/chunk.V2NCJGJU.js +0 -25
- package/cdn/chunks/chunk.VJAVEHLF.js +0 -25
- package/cdn/chunks/chunk.VMW4POGX.js +0 -29
- package/cdn/chunks/chunk.VOLYS2WB.js +0 -11
- package/cdn/chunks/chunk.VS2CNCPM.js +0 -11
- package/cdn/chunks/chunk.VSVP3TLN.js +0 -27
- package/cdn/chunks/chunk.W7XUTFME.js +0 -21
- package/cdn/chunks/chunk.WR2WUKEO.js +0 -24
- package/cdn/chunks/chunk.X22RQQ3D.js +0 -11
- package/cdn/chunks/chunk.X3L5ZELN.js +0 -11
- package/cdn/chunks/chunk.X45FGKSA.js +0 -114
- package/cdn/chunks/chunk.XF4D6NWA.js +0 -33
- package/cdn/chunks/chunk.XJ7NZ2L5.js +0 -11
- package/cdn/chunks/chunk.XNP2OO7F.js +0 -25
- package/cdn/chunks/chunk.XZ4P4NZN.js +0 -11
- package/cdn/chunks/chunk.Y2CQRZEP.js +0 -314
- package/cdn/chunks/chunk.YB25ZOSH.js +0 -11
- package/cdn/chunks/chunk.YB6QFD5C.js +0 -11
- package/cdn/chunks/chunk.YE7KWML4.js +0 -25
- package/cdn/chunks/chunk.YFAA3H55.js +0 -292
- package/cdn/chunks/chunk.YLM5YLBA.js +0 -336
- package/cdn/chunks/chunk.YQNAAHHB.js +0 -21
- package/cdn/chunks/chunk.YRHPG3ML.js +0 -11
- package/cdn/chunks/chunk.YSW4KXF2.js +0 -21
- package/cdn/chunks/chunk.YUZ57RNU.js +0 -11
- package/cdn/chunks/chunk.YZK75ZFB.js +0 -11
- package/cdn/chunks/chunk.Z455RGYW.js +0 -11
- package/cdn/chunks/chunk.Z7BPHGPT.js +0 -36
- package/cdn/chunks/chunk.ZNLAXTZQ.js +0 -11
- package/dist/chunks/chunk.22RESH4J.js +0 -11
- package/dist/chunks/chunk.235GIQHD.js +0 -293
- package/dist/chunks/chunk.2OBK2VDB.js +0 -813
- package/dist/chunks/chunk.2UCE2MXK.js +0 -24
- package/dist/chunks/chunk.2Y5MZTMR.js +0 -311
- package/dist/chunks/chunk.35ZHN2MA.js +0 -24
- package/dist/chunks/chunk.3CA3XWLD.js +0 -11
- package/dist/chunks/chunk.3JMIZSBK.js +0 -231
- package/dist/chunks/chunk.3LHUP62J.js +0 -370
- package/dist/chunks/chunk.3MRMMZSN.js +0 -11
- package/dist/chunks/chunk.3UXGBPRB.js +0 -21
- package/dist/chunks/chunk.42LGFV45.js +0 -33
- package/dist/chunks/chunk.47C7FTL7.js +0 -21
- package/dist/chunks/chunk.4B2CHSXZ.js +0 -25
- package/dist/chunks/chunk.4BYXT4OZ.js +0 -11
- package/dist/chunks/chunk.4JEATDX6.js +0 -26
- package/dist/chunks/chunk.4LZQZAWO.js +0 -11
- package/dist/chunks/chunk.4VXFY3R2.js +0 -25
- package/dist/chunks/chunk.57DFARAY.js +0 -42
- package/dist/chunks/chunk.5BKJIZQD.js +0 -181
- package/dist/chunks/chunk.5IIZ6KQ7.js +0 -27
- package/dist/chunks/chunk.5YF7OM5Q.js +0 -294
- package/dist/chunks/chunk.5ZWRSJ26.js +0 -259
- package/dist/chunks/chunk.63H677ML.js +0 -896
- package/dist/chunks/chunk.6GVT3IYJ.js +0 -21
- package/dist/chunks/chunk.6NFU77VZ.js +0 -11
- package/dist/chunks/chunk.7EEZTFTU.js +0 -11
- package/dist/chunks/chunk.7RL54WFP.js +0 -21
- package/dist/chunks/chunk.7TSV232Y.js +0 -24
- package/dist/chunks/chunk.7VG25FV6.js +0 -24
- package/dist/chunks/chunk.7XDHHYLC.js +0 -21
- package/dist/chunks/chunk.7YPHUAF3.js +0 -29
- package/dist/chunks/chunk.A4NOXOZL.js +0 -21
- package/dist/chunks/chunk.A5JSFZBU.js +0 -21
- package/dist/chunks/chunk.AAHBBZIR.js +0 -100
- package/dist/chunks/chunk.APXCPND7.js +0 -24
- package/dist/chunks/chunk.ARTRXJ7G.js +0 -21
- package/dist/chunks/chunk.B6LT42FH.js +0 -85
- package/dist/chunks/chunk.BAPQ22YT.js +0 -75
- package/dist/chunks/chunk.BI3BOJPJ.js +0 -34
- package/dist/chunks/chunk.BNZVIERD.js +0 -11
- package/dist/chunks/chunk.BZ4GEPJ3.js +0 -11
- package/dist/chunks/chunk.C3LNVYCP.js +0 -130
- package/dist/chunks/chunk.CABF6V2A.js +0 -11
- package/dist/chunks/chunk.CAGLZ47D.js +0 -116
- package/dist/chunks/chunk.CDHY6DRR.js +0 -11
- package/dist/chunks/chunk.CIPPLIJC.js +0 -11
- package/dist/chunks/chunk.CJS4LTBB.js +0 -11
- package/dist/chunks/chunk.CKI7KT5D.js +0 -11
- package/dist/chunks/chunk.CYBF35P2.js +0 -59
- package/dist/chunks/chunk.DBCNZNWY.js +0 -290
- package/dist/chunks/chunk.DCP6IBGH.js +0 -11
- package/dist/chunks/chunk.DPX6WTXT.js +0 -178
- package/dist/chunks/chunk.DRPPK2CB.js +0 -11
- package/dist/chunks/chunk.DTQ2GBMH.js +0 -80
- package/dist/chunks/chunk.DVI5UQIF.js +0 -550
- package/dist/chunks/chunk.DXATTW2G.js +0 -50
- package/dist/chunks/chunk.DYOQCBHO.js +0 -11
- package/dist/chunks/chunk.E7XLY7S5.js +0 -21
- package/dist/chunks/chunk.EBR3ZY6I.js +0 -417
- package/dist/chunks/chunk.EDRTB2YY.js +0 -361
- package/dist/chunks/chunk.EEP7BSKO.js +0 -91
- package/dist/chunks/chunk.EKYMVDYY.js +0 -28
- package/dist/chunks/chunk.EPN3QKVG.js +0 -11
- package/dist/chunks/chunk.EQBREN2F.js +0 -24
- package/dist/chunks/chunk.ESTELP2Q.js +0 -115
- package/dist/chunks/chunk.F5YVJIOC.js +0 -11
- package/dist/chunks/chunk.FA2WASYK.js +0 -21
- package/dist/chunks/chunk.FMEPG5I6.js +0 -213
- package/dist/chunks/chunk.FUMM7AJM.js +0 -111
- package/dist/chunks/chunk.FWCH7LB4.js +0 -11
- package/dist/chunks/chunk.FXG2W4TZ.js +0 -24
- package/dist/chunks/chunk.G4ASSIPK.js +0 -315
- package/dist/chunks/chunk.GAWAPESB.js +0 -11
- package/dist/chunks/chunk.GBDJIGBZ.js +0 -11
- package/dist/chunks/chunk.GLIJD7T3.js +0 -25
- package/dist/chunks/chunk.GLWPBWSR.js +0 -24
- package/dist/chunks/chunk.GNXPFFYQ.js +0 -25
- package/dist/chunks/chunk.GOU6KFVH.js +0 -24
- package/dist/chunks/chunk.GQLVRBSD.js +0 -11
- package/dist/chunks/chunk.GTFHLU4P.js +0 -11
- package/dist/chunks/chunk.GUDXN2CY.js +0 -27
- package/dist/chunks/chunk.GXPX4YA2.js +0 -11
- package/dist/chunks/chunk.GYMA5IPF.js +0 -25
- package/dist/chunks/chunk.H4I2SX34.js +0 -109
- package/dist/chunks/chunk.HDWZFQMS.js +0 -26
- package/dist/chunks/chunk.HEHPKKEA.js +0 -21
- package/dist/chunks/chunk.HIH66BZ2.js +0 -26
- package/dist/chunks/chunk.HNO7TXWQ.js +0 -21
- package/dist/chunks/chunk.HWMODLX6.js +0 -11
- package/dist/chunks/chunk.IDCKVLS4.js +0 -949
- package/dist/chunks/chunk.IJI4QG3G.js +0 -11
- package/dist/chunks/chunk.IQ5FLTXV.js +0 -90
- package/dist/chunks/chunk.IYRUDLXZ.js +0 -11
- package/dist/chunks/chunk.IZKYEODC.js +0 -59
- package/dist/chunks/chunk.J5NCWFXY.js +0 -135
- package/dist/chunks/chunk.JAJM4XAX.js +0 -276
- package/dist/chunks/chunk.JDNDIDZC.js +0 -11
- package/dist/chunks/chunk.JF5CGZDU.js +0 -63
- package/dist/chunks/chunk.JFYKJAPL.js +0 -25
- package/dist/chunks/chunk.JIPMNVY7.js +0 -21
- package/dist/chunks/chunk.JONBEZKY.js +0 -11
- package/dist/chunks/chunk.JR7HWZWH.js +0 -11
- package/dist/chunks/chunk.JVACPVR6.js +0 -11
- package/dist/chunks/chunk.K2FPNFY6.js +0 -21
- package/dist/chunks/chunk.K326FL3O.js +0 -11
- package/dist/chunks/chunk.K5DWX6GO.js +0 -109
- package/dist/chunks/chunk.K7MMFBNP.js +0 -11
- package/dist/chunks/chunk.KCBIQFXT.js +0 -21
- package/dist/chunks/chunk.KLN525SK.js +0 -21
- package/dist/chunks/chunk.KMXEVCIV.js +0 -11
- package/dist/chunks/chunk.KPLVE5OM.js +0 -151
- package/dist/chunks/chunk.KQVRGDT6.js +0 -100
- package/dist/chunks/chunk.KYKDYCCZ.js +0 -961
- package/dist/chunks/chunk.KZIJ2XWQ.js +0 -11
- package/dist/chunks/chunk.LDPFWN7G.js +0 -11
- package/dist/chunks/chunk.LIUVYI3T.js +0 -11
- package/dist/chunks/chunk.LPBJWONV.js +0 -117
- package/dist/chunks/chunk.LQ5A5C2B.js +0 -274
- package/dist/chunks/chunk.LQOCIQSX.js +0 -25
- package/dist/chunks/chunk.LUYZC3PC.js +0 -11
- package/dist/chunks/chunk.M6RNFPNJ.js +0 -11
- package/dist/chunks/chunk.MALK5J5Y.js +0 -11
- package/dist/chunks/chunk.MD4PBRSO.js +0 -11
- package/dist/chunks/chunk.MELB5YL6.js +0 -73
- package/dist/chunks/chunk.MP53YXXD.js +0 -26
- package/dist/chunks/chunk.MPANACBR.js +0 -11
- package/dist/chunks/chunk.NJRBP6LX.js +0 -11
- package/dist/chunks/chunk.NLUGLPS3.js +0 -42
- package/dist/chunks/chunk.NPC5JMB6.js +0 -11
- package/dist/chunks/chunk.NQB6JYVX.js +0 -119
- package/dist/chunks/chunk.NSZXPKMS.js +0 -24
- package/dist/chunks/chunk.O5XQ4DYL.js +0 -62
- package/dist/chunks/chunk.OA5WK6II.js +0 -11
- package/dist/chunks/chunk.OA73JP4V.js +0 -11
- package/dist/chunks/chunk.OFFCHZOX.js +0 -15
- package/dist/chunks/chunk.OHGAEGBH.js +0 -41
- package/dist/chunks/chunk.OJOIL5FM.js +0 -11
- package/dist/chunks/chunk.ONXRG756.js +0 -11
- package/dist/chunks/chunk.ORSE3NIU.js +0 -22
- package/dist/chunks/chunk.OUKQ36RO.js +0 -11
- package/dist/chunks/chunk.OWKQHD6M.js +0 -33
- package/dist/chunks/chunk.P4NYDBZP.js +0 -13
- package/dist/chunks/chunk.PG3RB5OZ.js +0 -11
- package/dist/chunks/chunk.PMY4RLM3.js +0 -72
- package/dist/chunks/chunk.PV7R2XCH.js +0 -67
- package/dist/chunks/chunk.PVWBXFPT.js +0 -11
- package/dist/chunks/chunk.Q4ER4DQI.js +0 -134
- package/dist/chunks/chunk.Q4HC4WCZ.js +0 -375
- package/dist/chunks/chunk.Q6F2FPMI.js +0 -11
- package/dist/chunks/chunk.QFC5PZGQ.js +0 -21
- package/dist/chunks/chunk.QK5GBUXD.js +0 -11
- package/dist/chunks/chunk.QLOG6IQA.js +0 -28
- package/dist/chunks/chunk.QOT5F7RY.js +0 -170
- package/dist/chunks/chunk.R3QND773.js +0 -24
- package/dist/chunks/chunk.RA3UD4VG.js +0 -33
- package/dist/chunks/chunk.RCNAVWWM.js +0 -11
- package/dist/chunks/chunk.RG772UH6.js +0 -247
- package/dist/chunks/chunk.RINWYD5D.js +0 -448
- package/dist/chunks/chunk.RIPDTBJI.js +0 -24
- package/dist/chunks/chunk.RPTQSGTP.js +0 -11
- package/dist/chunks/chunk.RQUQVAPI.js +0 -323
- package/dist/chunks/chunk.RUNVK6MB.js +0 -28
- package/dist/chunks/chunk.S55TYNX7.js +0 -11
- package/dist/chunks/chunk.SIA6LPIS.js +0 -227
- package/dist/chunks/chunk.SKQMAVZA.js +0 -11
- package/dist/chunks/chunk.SMG6RXIU.js +0 -27
- package/dist/chunks/chunk.SMSHSDAP.js +0 -21
- package/dist/chunks/chunk.STAOXN3S.js +0 -11
- package/dist/chunks/chunk.T27PKXWT.js +0 -21
- package/dist/chunks/chunk.T2WWZ3WX.js +0 -147
- package/dist/chunks/chunk.T4ODYE7D.js +0 -27
- package/dist/chunks/chunk.T5Z3Q6J6.js +0 -11
- package/dist/chunks/chunk.T72P3IEE.js +0 -11
- package/dist/chunks/chunk.T7DYO7YZ.js +0 -94
- package/dist/chunks/chunk.TCLHJLZH.js +0 -11
- package/dist/chunks/chunk.TMWDEQ7J.js +0 -11
- package/dist/chunks/chunk.TOIRRS54.js +0 -21
- package/dist/chunks/chunk.TP5AWE7K.js +0 -21
- package/dist/chunks/chunk.TP5Z5VCH.js +0 -21
- package/dist/chunks/chunk.TPC3KPAW.js +0 -21
- package/dist/chunks/chunk.TQYMVBRK.js +0 -192
- package/dist/chunks/chunk.TUIAZVWQ.js +0 -45
- package/dist/chunks/chunk.TX7LPWY5.js +0 -11
- package/dist/chunks/chunk.TXRHKMC6.js +0 -11
- package/dist/chunks/chunk.TYXVRHQ2.js +0 -11
- package/dist/chunks/chunk.U2PZ3UZM.js +0 -27
- package/dist/chunks/chunk.U2RFGULH.js +0 -21
- package/dist/chunks/chunk.U5WXF6AG.js +0 -21
- package/dist/chunks/chunk.UDVB5JQS.js +0 -11
- package/dist/chunks/chunk.UKB36CKH.js +0 -25
- package/dist/chunks/chunk.UNCQW2YD.js +0 -28
- package/dist/chunks/chunk.UW7BBUSR.js +0 -11
- package/dist/chunks/chunk.V3PWDA3O.js +0 -28
- package/dist/chunks/chunk.V55CG6IM.js +0 -25
- package/dist/chunks/chunk.VBNKQXNC.js +0 -21
- package/dist/chunks/chunk.VII4AWDH.js +0 -491
- package/dist/chunks/chunk.VNA3RQIH.js +0 -21
- package/dist/chunks/chunk.VNGDN2PL.js +0 -11
- package/dist/chunks/chunk.VR4YMM3J.js +0 -11
- package/dist/chunks/chunk.VW7IJ6WN.js +0 -397
- package/dist/chunks/chunk.W6QBFSMA.js +0 -27
- package/dist/chunks/chunk.WFPBW2ZC.js +0 -21
- package/dist/chunks/chunk.WNEF3O5A.js +0 -75
- package/dist/chunks/chunk.WNZISFPJ.js +0 -337
- package/dist/chunks/chunk.WS644EPD.js +0 -25
- package/dist/chunks/chunk.X56WZJOS.js +0 -45
- package/dist/chunks/chunk.XFP4NFPI.js +0 -225
- package/dist/chunks/chunk.XG7WCADE.js +0 -27
- package/dist/chunks/chunk.XJQJRCXQ.js +0 -384
- package/dist/chunks/chunk.XKLSLAMA.js +0 -280
- package/dist/chunks/chunk.XWOJJUER.js +0 -29
- package/dist/chunks/chunk.Y6WCKJ7A.js +0 -87
- package/dist/chunks/chunk.YAA6Q6RZ.js +0 -286
- package/dist/chunks/chunk.YBNCMP4A.js +0 -22
- package/dist/chunks/chunk.YCTTN2X2.js +0 -837
- package/dist/chunks/chunk.YEJ6ECBR.js +0 -33
- package/dist/chunks/chunk.YSAST35Q.js +0 -29
- package/dist/chunks/chunk.YVS5BNFA.js +0 -11
- package/dist/chunks/chunk.Z4SU4KDT.js +0 -29
- package/dist/chunks/chunk.ZDEUPC2G.js +0 -82
- package/dist/chunks/chunk.ZMAMRE2S.js +0 -11
- package/dist/chunks/chunk.ZQLDGH4H.js +0 -93
- package/dist/chunks/chunk.ZVDNXMJA.js +0 -11
|
@@ -0,0 +1,1501 @@
|
|
|
1
|
+
import {
|
|
2
|
+
__objRest,
|
|
3
|
+
__spreadProps,
|
|
4
|
+
__spreadValues
|
|
5
|
+
} from "./chunk.QIOX6AG5.js";
|
|
6
|
+
|
|
7
|
+
// node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs
|
|
8
|
+
var min = Math.min;
|
|
9
|
+
var max = Math.max;
|
|
10
|
+
var round = Math.round;
|
|
11
|
+
var floor = Math.floor;
|
|
12
|
+
var createCoords = (v) => ({
|
|
13
|
+
x: v,
|
|
14
|
+
y: v
|
|
15
|
+
});
|
|
16
|
+
var oppositeSideMap = {
|
|
17
|
+
left: "right",
|
|
18
|
+
right: "left",
|
|
19
|
+
bottom: "top",
|
|
20
|
+
top: "bottom"
|
|
21
|
+
};
|
|
22
|
+
function clamp(start, value, end) {
|
|
23
|
+
return max(start, min(value, end));
|
|
24
|
+
}
|
|
25
|
+
function evaluate(value, param) {
|
|
26
|
+
return typeof value === "function" ? value(param) : value;
|
|
27
|
+
}
|
|
28
|
+
function getSide(placement) {
|
|
29
|
+
return placement.split("-")[0];
|
|
30
|
+
}
|
|
31
|
+
function getAlignment(placement) {
|
|
32
|
+
return placement.split("-")[1];
|
|
33
|
+
}
|
|
34
|
+
function getOppositeAxis(axis) {
|
|
35
|
+
return axis === "x" ? "y" : "x";
|
|
36
|
+
}
|
|
37
|
+
function getAxisLength(axis) {
|
|
38
|
+
return axis === "y" ? "height" : "width";
|
|
39
|
+
}
|
|
40
|
+
function getSideAxis(placement) {
|
|
41
|
+
const firstChar = placement[0];
|
|
42
|
+
return firstChar === "t" || firstChar === "b" ? "y" : "x";
|
|
43
|
+
}
|
|
44
|
+
function getAlignmentAxis(placement) {
|
|
45
|
+
return getOppositeAxis(getSideAxis(placement));
|
|
46
|
+
}
|
|
47
|
+
function getAlignmentSides(placement, rects, rtl) {
|
|
48
|
+
if (rtl === void 0) {
|
|
49
|
+
rtl = false;
|
|
50
|
+
}
|
|
51
|
+
const alignment = getAlignment(placement);
|
|
52
|
+
const alignmentAxis = getAlignmentAxis(placement);
|
|
53
|
+
const length = getAxisLength(alignmentAxis);
|
|
54
|
+
let mainAlignmentSide = alignmentAxis === "x" ? alignment === (rtl ? "end" : "start") ? "right" : "left" : alignment === "start" ? "bottom" : "top";
|
|
55
|
+
if (rects.reference[length] > rects.floating[length]) {
|
|
56
|
+
mainAlignmentSide = getOppositePlacement(mainAlignmentSide);
|
|
57
|
+
}
|
|
58
|
+
return [mainAlignmentSide, getOppositePlacement(mainAlignmentSide)];
|
|
59
|
+
}
|
|
60
|
+
function getExpandedPlacements(placement) {
|
|
61
|
+
const oppositePlacement = getOppositePlacement(placement);
|
|
62
|
+
return [getOppositeAlignmentPlacement(placement), oppositePlacement, getOppositeAlignmentPlacement(oppositePlacement)];
|
|
63
|
+
}
|
|
64
|
+
function getOppositeAlignmentPlacement(placement) {
|
|
65
|
+
return placement.includes("start") ? placement.replace("start", "end") : placement.replace("end", "start");
|
|
66
|
+
}
|
|
67
|
+
var lrPlacement = ["left", "right"];
|
|
68
|
+
var rlPlacement = ["right", "left"];
|
|
69
|
+
var tbPlacement = ["top", "bottom"];
|
|
70
|
+
var btPlacement = ["bottom", "top"];
|
|
71
|
+
function getSideList(side, isStart, rtl) {
|
|
72
|
+
switch (side) {
|
|
73
|
+
case "top":
|
|
74
|
+
case "bottom":
|
|
75
|
+
if (rtl) return isStart ? rlPlacement : lrPlacement;
|
|
76
|
+
return isStart ? lrPlacement : rlPlacement;
|
|
77
|
+
case "left":
|
|
78
|
+
case "right":
|
|
79
|
+
return isStart ? tbPlacement : btPlacement;
|
|
80
|
+
default:
|
|
81
|
+
return [];
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
function getOppositeAxisPlacements(placement, flipAlignment, direction, rtl) {
|
|
85
|
+
const alignment = getAlignment(placement);
|
|
86
|
+
let list = getSideList(getSide(placement), direction === "start", rtl);
|
|
87
|
+
if (alignment) {
|
|
88
|
+
list = list.map((side) => side + "-" + alignment);
|
|
89
|
+
if (flipAlignment) {
|
|
90
|
+
list = list.concat(list.map(getOppositeAlignmentPlacement));
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
return list;
|
|
94
|
+
}
|
|
95
|
+
function getOppositePlacement(placement) {
|
|
96
|
+
const side = getSide(placement);
|
|
97
|
+
return oppositeSideMap[side] + placement.slice(side.length);
|
|
98
|
+
}
|
|
99
|
+
function expandPaddingObject(padding) {
|
|
100
|
+
return __spreadValues({
|
|
101
|
+
top: 0,
|
|
102
|
+
right: 0,
|
|
103
|
+
bottom: 0,
|
|
104
|
+
left: 0
|
|
105
|
+
}, padding);
|
|
106
|
+
}
|
|
107
|
+
function getPaddingObject(padding) {
|
|
108
|
+
return typeof padding !== "number" ? expandPaddingObject(padding) : {
|
|
109
|
+
top: padding,
|
|
110
|
+
right: padding,
|
|
111
|
+
bottom: padding,
|
|
112
|
+
left: padding
|
|
113
|
+
};
|
|
114
|
+
}
|
|
115
|
+
function rectToClientRect(rect) {
|
|
116
|
+
const {
|
|
117
|
+
x,
|
|
118
|
+
y,
|
|
119
|
+
width,
|
|
120
|
+
height
|
|
121
|
+
} = rect;
|
|
122
|
+
return {
|
|
123
|
+
width,
|
|
124
|
+
height,
|
|
125
|
+
top: y,
|
|
126
|
+
left: x,
|
|
127
|
+
right: x + width,
|
|
128
|
+
bottom: y + height,
|
|
129
|
+
x,
|
|
130
|
+
y
|
|
131
|
+
};
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
// node_modules/@floating-ui/core/dist/floating-ui.core.mjs
|
|
135
|
+
function computeCoordsFromPlacement(_ref, placement, rtl) {
|
|
136
|
+
let {
|
|
137
|
+
reference,
|
|
138
|
+
floating
|
|
139
|
+
} = _ref;
|
|
140
|
+
const sideAxis = getSideAxis(placement);
|
|
141
|
+
const alignmentAxis = getAlignmentAxis(placement);
|
|
142
|
+
const alignLength = getAxisLength(alignmentAxis);
|
|
143
|
+
const side = getSide(placement);
|
|
144
|
+
const isVertical = sideAxis === "y";
|
|
145
|
+
const commonX = reference.x + reference.width / 2 - floating.width / 2;
|
|
146
|
+
const commonY = reference.y + reference.height / 2 - floating.height / 2;
|
|
147
|
+
const commonAlign = reference[alignLength] / 2 - floating[alignLength] / 2;
|
|
148
|
+
let coords;
|
|
149
|
+
switch (side) {
|
|
150
|
+
case "top":
|
|
151
|
+
coords = {
|
|
152
|
+
x: commonX,
|
|
153
|
+
y: reference.y - floating.height
|
|
154
|
+
};
|
|
155
|
+
break;
|
|
156
|
+
case "bottom":
|
|
157
|
+
coords = {
|
|
158
|
+
x: commonX,
|
|
159
|
+
y: reference.y + reference.height
|
|
160
|
+
};
|
|
161
|
+
break;
|
|
162
|
+
case "right":
|
|
163
|
+
coords = {
|
|
164
|
+
x: reference.x + reference.width,
|
|
165
|
+
y: commonY
|
|
166
|
+
};
|
|
167
|
+
break;
|
|
168
|
+
case "left":
|
|
169
|
+
coords = {
|
|
170
|
+
x: reference.x - floating.width,
|
|
171
|
+
y: commonY
|
|
172
|
+
};
|
|
173
|
+
break;
|
|
174
|
+
default:
|
|
175
|
+
coords = {
|
|
176
|
+
x: reference.x,
|
|
177
|
+
y: reference.y
|
|
178
|
+
};
|
|
179
|
+
}
|
|
180
|
+
switch (getAlignment(placement)) {
|
|
181
|
+
case "start":
|
|
182
|
+
coords[alignmentAxis] -= commonAlign * (rtl && isVertical ? -1 : 1);
|
|
183
|
+
break;
|
|
184
|
+
case "end":
|
|
185
|
+
coords[alignmentAxis] += commonAlign * (rtl && isVertical ? -1 : 1);
|
|
186
|
+
break;
|
|
187
|
+
}
|
|
188
|
+
return coords;
|
|
189
|
+
}
|
|
190
|
+
async function detectOverflow(state, options) {
|
|
191
|
+
var _await$platform$isEle;
|
|
192
|
+
if (options === void 0) {
|
|
193
|
+
options = {};
|
|
194
|
+
}
|
|
195
|
+
const {
|
|
196
|
+
x,
|
|
197
|
+
y,
|
|
198
|
+
platform: platform2,
|
|
199
|
+
rects,
|
|
200
|
+
elements,
|
|
201
|
+
strategy
|
|
202
|
+
} = state;
|
|
203
|
+
const {
|
|
204
|
+
boundary = "clippingAncestors",
|
|
205
|
+
rootBoundary = "viewport",
|
|
206
|
+
elementContext = "floating",
|
|
207
|
+
altBoundary = false,
|
|
208
|
+
padding = 0
|
|
209
|
+
} = evaluate(options, state);
|
|
210
|
+
const paddingObject = getPaddingObject(padding);
|
|
211
|
+
const altContext = elementContext === "floating" ? "reference" : "floating";
|
|
212
|
+
const element = elements[altBoundary ? altContext : elementContext];
|
|
213
|
+
const clippingClientRect = rectToClientRect(await platform2.getClippingRect({
|
|
214
|
+
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)),
|
|
215
|
+
boundary,
|
|
216
|
+
rootBoundary,
|
|
217
|
+
strategy
|
|
218
|
+
}));
|
|
219
|
+
const rect = elementContext === "floating" ? {
|
|
220
|
+
x,
|
|
221
|
+
y,
|
|
222
|
+
width: rects.floating.width,
|
|
223
|
+
height: rects.floating.height
|
|
224
|
+
} : rects.reference;
|
|
225
|
+
const offsetParent = await (platform2.getOffsetParent == null ? void 0 : platform2.getOffsetParent(elements.floating));
|
|
226
|
+
const offsetScale = await (platform2.isElement == null ? void 0 : platform2.isElement(offsetParent)) ? await (platform2.getScale == null ? void 0 : platform2.getScale(offsetParent)) || {
|
|
227
|
+
x: 1,
|
|
228
|
+
y: 1
|
|
229
|
+
} : {
|
|
230
|
+
x: 1,
|
|
231
|
+
y: 1
|
|
232
|
+
};
|
|
233
|
+
const elementClientRect = rectToClientRect(platform2.convertOffsetParentRelativeRectToViewportRelativeRect ? await platform2.convertOffsetParentRelativeRectToViewportRelativeRect({
|
|
234
|
+
elements,
|
|
235
|
+
rect,
|
|
236
|
+
offsetParent,
|
|
237
|
+
strategy
|
|
238
|
+
}) : rect);
|
|
239
|
+
return {
|
|
240
|
+
top: (clippingClientRect.top - elementClientRect.top + paddingObject.top) / offsetScale.y,
|
|
241
|
+
bottom: (elementClientRect.bottom - clippingClientRect.bottom + paddingObject.bottom) / offsetScale.y,
|
|
242
|
+
left: (clippingClientRect.left - elementClientRect.left + paddingObject.left) / offsetScale.x,
|
|
243
|
+
right: (elementClientRect.right - clippingClientRect.right + paddingObject.right) / offsetScale.x
|
|
244
|
+
};
|
|
245
|
+
}
|
|
246
|
+
var MAX_RESET_COUNT = 50;
|
|
247
|
+
var computePosition = async (reference, floating, config) => {
|
|
248
|
+
const {
|
|
249
|
+
placement = "bottom",
|
|
250
|
+
strategy = "absolute",
|
|
251
|
+
middleware = [],
|
|
252
|
+
platform: platform2
|
|
253
|
+
} = config;
|
|
254
|
+
const platformWithDetectOverflow = platform2.detectOverflow ? platform2 : __spreadProps(__spreadValues({}, platform2), {
|
|
255
|
+
detectOverflow
|
|
256
|
+
});
|
|
257
|
+
const rtl = await (platform2.isRTL == null ? void 0 : platform2.isRTL(floating));
|
|
258
|
+
let rects = await platform2.getElementRects({
|
|
259
|
+
reference,
|
|
260
|
+
floating,
|
|
261
|
+
strategy
|
|
262
|
+
});
|
|
263
|
+
let {
|
|
264
|
+
x,
|
|
265
|
+
y
|
|
266
|
+
} = computeCoordsFromPlacement(rects, placement, rtl);
|
|
267
|
+
let statefulPlacement = placement;
|
|
268
|
+
let resetCount = 0;
|
|
269
|
+
const middlewareData = {};
|
|
270
|
+
for (let i = 0; i < middleware.length; i++) {
|
|
271
|
+
const currentMiddleware = middleware[i];
|
|
272
|
+
if (!currentMiddleware) {
|
|
273
|
+
continue;
|
|
274
|
+
}
|
|
275
|
+
const {
|
|
276
|
+
name,
|
|
277
|
+
fn
|
|
278
|
+
} = currentMiddleware;
|
|
279
|
+
const {
|
|
280
|
+
x: nextX,
|
|
281
|
+
y: nextY,
|
|
282
|
+
data,
|
|
283
|
+
reset
|
|
284
|
+
} = await fn({
|
|
285
|
+
x,
|
|
286
|
+
y,
|
|
287
|
+
initialPlacement: placement,
|
|
288
|
+
placement: statefulPlacement,
|
|
289
|
+
strategy,
|
|
290
|
+
middlewareData,
|
|
291
|
+
rects,
|
|
292
|
+
platform: platformWithDetectOverflow,
|
|
293
|
+
elements: {
|
|
294
|
+
reference,
|
|
295
|
+
floating
|
|
296
|
+
}
|
|
297
|
+
});
|
|
298
|
+
x = nextX != null ? nextX : x;
|
|
299
|
+
y = nextY != null ? nextY : y;
|
|
300
|
+
middlewareData[name] = __spreadValues(__spreadValues({}, middlewareData[name]), data);
|
|
301
|
+
if (reset && resetCount < MAX_RESET_COUNT) {
|
|
302
|
+
resetCount++;
|
|
303
|
+
if (typeof reset === "object") {
|
|
304
|
+
if (reset.placement) {
|
|
305
|
+
statefulPlacement = reset.placement;
|
|
306
|
+
}
|
|
307
|
+
if (reset.rects) {
|
|
308
|
+
rects = reset.rects === true ? await platform2.getElementRects({
|
|
309
|
+
reference,
|
|
310
|
+
floating,
|
|
311
|
+
strategy
|
|
312
|
+
}) : reset.rects;
|
|
313
|
+
}
|
|
314
|
+
({
|
|
315
|
+
x,
|
|
316
|
+
y
|
|
317
|
+
} = computeCoordsFromPlacement(rects, statefulPlacement, rtl));
|
|
318
|
+
}
|
|
319
|
+
i = -1;
|
|
320
|
+
}
|
|
321
|
+
}
|
|
322
|
+
return {
|
|
323
|
+
x,
|
|
324
|
+
y,
|
|
325
|
+
placement: statefulPlacement,
|
|
326
|
+
strategy,
|
|
327
|
+
middlewareData
|
|
328
|
+
};
|
|
329
|
+
};
|
|
330
|
+
var arrow = (options) => ({
|
|
331
|
+
name: "arrow",
|
|
332
|
+
options,
|
|
333
|
+
async fn(state) {
|
|
334
|
+
const {
|
|
335
|
+
x,
|
|
336
|
+
y,
|
|
337
|
+
placement,
|
|
338
|
+
rects,
|
|
339
|
+
platform: platform2,
|
|
340
|
+
elements,
|
|
341
|
+
middlewareData
|
|
342
|
+
} = state;
|
|
343
|
+
const {
|
|
344
|
+
element,
|
|
345
|
+
padding = 0
|
|
346
|
+
} = evaluate(options, state) || {};
|
|
347
|
+
if (element == null) {
|
|
348
|
+
return {};
|
|
349
|
+
}
|
|
350
|
+
const paddingObject = getPaddingObject(padding);
|
|
351
|
+
const coords = {
|
|
352
|
+
x,
|
|
353
|
+
y
|
|
354
|
+
};
|
|
355
|
+
const axis = getAlignmentAxis(placement);
|
|
356
|
+
const length = getAxisLength(axis);
|
|
357
|
+
const arrowDimensions = await platform2.getDimensions(element);
|
|
358
|
+
const isYAxis = axis === "y";
|
|
359
|
+
const minProp = isYAxis ? "top" : "left";
|
|
360
|
+
const maxProp = isYAxis ? "bottom" : "right";
|
|
361
|
+
const clientProp = isYAxis ? "clientHeight" : "clientWidth";
|
|
362
|
+
const endDiff = rects.reference[length] + rects.reference[axis] - coords[axis] - rects.floating[length];
|
|
363
|
+
const startDiff = coords[axis] - rects.reference[axis];
|
|
364
|
+
const arrowOffsetParent = await (platform2.getOffsetParent == null ? void 0 : platform2.getOffsetParent(element));
|
|
365
|
+
let clientSize = arrowOffsetParent ? arrowOffsetParent[clientProp] : 0;
|
|
366
|
+
if (!clientSize || !await (platform2.isElement == null ? void 0 : platform2.isElement(arrowOffsetParent))) {
|
|
367
|
+
clientSize = elements.floating[clientProp] || rects.floating[length];
|
|
368
|
+
}
|
|
369
|
+
const centerToReference = endDiff / 2 - startDiff / 2;
|
|
370
|
+
const largestPossiblePadding = clientSize / 2 - arrowDimensions[length] / 2 - 1;
|
|
371
|
+
const minPadding = min(paddingObject[minProp], largestPossiblePadding);
|
|
372
|
+
const maxPadding = min(paddingObject[maxProp], largestPossiblePadding);
|
|
373
|
+
const min$1 = minPadding;
|
|
374
|
+
const max2 = clientSize - arrowDimensions[length] - maxPadding;
|
|
375
|
+
const center = clientSize / 2 - arrowDimensions[length] / 2 + centerToReference;
|
|
376
|
+
const offset3 = clamp(min$1, center, max2);
|
|
377
|
+
const shouldAddOffset = !middlewareData.arrow && getAlignment(placement) != null && center !== offset3 && rects.reference[length] / 2 - (center < min$1 ? minPadding : maxPadding) - arrowDimensions[length] / 2 < 0;
|
|
378
|
+
const alignmentOffset = shouldAddOffset ? center < min$1 ? center - min$1 : center - max2 : 0;
|
|
379
|
+
return {
|
|
380
|
+
[axis]: coords[axis] + alignmentOffset,
|
|
381
|
+
data: __spreadValues({
|
|
382
|
+
[axis]: offset3,
|
|
383
|
+
centerOffset: center - offset3 - alignmentOffset
|
|
384
|
+
}, shouldAddOffset && {
|
|
385
|
+
alignmentOffset
|
|
386
|
+
}),
|
|
387
|
+
reset: shouldAddOffset
|
|
388
|
+
};
|
|
389
|
+
}
|
|
390
|
+
});
|
|
391
|
+
var flip = function(options) {
|
|
392
|
+
if (options === void 0) {
|
|
393
|
+
options = {};
|
|
394
|
+
}
|
|
395
|
+
return {
|
|
396
|
+
name: "flip",
|
|
397
|
+
options,
|
|
398
|
+
async fn(state) {
|
|
399
|
+
var _middlewareData$arrow, _middlewareData$flip;
|
|
400
|
+
const {
|
|
401
|
+
placement,
|
|
402
|
+
middlewareData,
|
|
403
|
+
rects,
|
|
404
|
+
initialPlacement,
|
|
405
|
+
platform: platform2,
|
|
406
|
+
elements
|
|
407
|
+
} = state;
|
|
408
|
+
const _a = evaluate(options, state), {
|
|
409
|
+
mainAxis: checkMainAxis = true,
|
|
410
|
+
crossAxis: checkCrossAxis = true,
|
|
411
|
+
fallbackPlacements: specifiedFallbackPlacements,
|
|
412
|
+
fallbackStrategy = "bestFit",
|
|
413
|
+
fallbackAxisSideDirection = "none",
|
|
414
|
+
flipAlignment = true
|
|
415
|
+
} = _a, detectOverflowOptions = __objRest(_a, [
|
|
416
|
+
"mainAxis",
|
|
417
|
+
"crossAxis",
|
|
418
|
+
"fallbackPlacements",
|
|
419
|
+
"fallbackStrategy",
|
|
420
|
+
"fallbackAxisSideDirection",
|
|
421
|
+
"flipAlignment"
|
|
422
|
+
]);
|
|
423
|
+
if ((_middlewareData$arrow = middlewareData.arrow) != null && _middlewareData$arrow.alignmentOffset) {
|
|
424
|
+
return {};
|
|
425
|
+
}
|
|
426
|
+
const side = getSide(placement);
|
|
427
|
+
const initialSideAxis = getSideAxis(initialPlacement);
|
|
428
|
+
const isBasePlacement = getSide(initialPlacement) === initialPlacement;
|
|
429
|
+
const rtl = await (platform2.isRTL == null ? void 0 : platform2.isRTL(elements.floating));
|
|
430
|
+
const fallbackPlacements = specifiedFallbackPlacements || (isBasePlacement || !flipAlignment ? [getOppositePlacement(initialPlacement)] : getExpandedPlacements(initialPlacement));
|
|
431
|
+
const hasFallbackAxisSideDirection = fallbackAxisSideDirection !== "none";
|
|
432
|
+
if (!specifiedFallbackPlacements && hasFallbackAxisSideDirection) {
|
|
433
|
+
fallbackPlacements.push(...getOppositeAxisPlacements(initialPlacement, flipAlignment, fallbackAxisSideDirection, rtl));
|
|
434
|
+
}
|
|
435
|
+
const placements2 = [initialPlacement, ...fallbackPlacements];
|
|
436
|
+
const overflow = await platform2.detectOverflow(state, detectOverflowOptions);
|
|
437
|
+
const overflows = [];
|
|
438
|
+
let overflowsData = ((_middlewareData$flip = middlewareData.flip) == null ? void 0 : _middlewareData$flip.overflows) || [];
|
|
439
|
+
if (checkMainAxis) {
|
|
440
|
+
overflows.push(overflow[side]);
|
|
441
|
+
}
|
|
442
|
+
if (checkCrossAxis) {
|
|
443
|
+
const sides2 = getAlignmentSides(placement, rects, rtl);
|
|
444
|
+
overflows.push(overflow[sides2[0]], overflow[sides2[1]]);
|
|
445
|
+
}
|
|
446
|
+
overflowsData = [...overflowsData, {
|
|
447
|
+
placement,
|
|
448
|
+
overflows
|
|
449
|
+
}];
|
|
450
|
+
if (!overflows.every((side2) => side2 <= 0)) {
|
|
451
|
+
var _middlewareData$flip2, _overflowsData$filter;
|
|
452
|
+
const nextIndex = (((_middlewareData$flip2 = middlewareData.flip) == null ? void 0 : _middlewareData$flip2.index) || 0) + 1;
|
|
453
|
+
const nextPlacement = placements2[nextIndex];
|
|
454
|
+
if (nextPlacement) {
|
|
455
|
+
const ignoreCrossAxisOverflow = checkCrossAxis === "alignment" ? initialSideAxis !== getSideAxis(nextPlacement) : false;
|
|
456
|
+
if (!ignoreCrossAxisOverflow || // We leave the current main axis only if every placement on that axis
|
|
457
|
+
// overflows the main axis.
|
|
458
|
+
overflowsData.every((d) => getSideAxis(d.placement) === initialSideAxis ? d.overflows[0] > 0 : true)) {
|
|
459
|
+
return {
|
|
460
|
+
data: {
|
|
461
|
+
index: nextIndex,
|
|
462
|
+
overflows: overflowsData
|
|
463
|
+
},
|
|
464
|
+
reset: {
|
|
465
|
+
placement: nextPlacement
|
|
466
|
+
}
|
|
467
|
+
};
|
|
468
|
+
}
|
|
469
|
+
}
|
|
470
|
+
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;
|
|
471
|
+
if (!resetPlacement) {
|
|
472
|
+
switch (fallbackStrategy) {
|
|
473
|
+
case "bestFit": {
|
|
474
|
+
var _overflowsData$filter2;
|
|
475
|
+
const placement2 = (_overflowsData$filter2 = overflowsData.filter((d) => {
|
|
476
|
+
if (hasFallbackAxisSideDirection) {
|
|
477
|
+
const currentSideAxis = getSideAxis(d.placement);
|
|
478
|
+
return currentSideAxis === initialSideAxis || // Create a bias to the `y` side axis due to horizontal
|
|
479
|
+
// reading directions favoring greater width.
|
|
480
|
+
currentSideAxis === "y";
|
|
481
|
+
}
|
|
482
|
+
return true;
|
|
483
|
+
}).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];
|
|
484
|
+
if (placement2) {
|
|
485
|
+
resetPlacement = placement2;
|
|
486
|
+
}
|
|
487
|
+
break;
|
|
488
|
+
}
|
|
489
|
+
case "initialPlacement":
|
|
490
|
+
resetPlacement = initialPlacement;
|
|
491
|
+
break;
|
|
492
|
+
}
|
|
493
|
+
}
|
|
494
|
+
if (placement !== resetPlacement) {
|
|
495
|
+
return {
|
|
496
|
+
reset: {
|
|
497
|
+
placement: resetPlacement
|
|
498
|
+
}
|
|
499
|
+
};
|
|
500
|
+
}
|
|
501
|
+
}
|
|
502
|
+
return {};
|
|
503
|
+
}
|
|
504
|
+
};
|
|
505
|
+
};
|
|
506
|
+
var originSides = /* @__PURE__ */ new Set(["left", "top"]);
|
|
507
|
+
async function convertValueToCoords(state, options) {
|
|
508
|
+
const {
|
|
509
|
+
placement,
|
|
510
|
+
platform: platform2,
|
|
511
|
+
elements
|
|
512
|
+
} = state;
|
|
513
|
+
const rtl = await (platform2.isRTL == null ? void 0 : platform2.isRTL(elements.floating));
|
|
514
|
+
const side = getSide(placement);
|
|
515
|
+
const alignment = getAlignment(placement);
|
|
516
|
+
const isVertical = getSideAxis(placement) === "y";
|
|
517
|
+
const mainAxisMulti = originSides.has(side) ? -1 : 1;
|
|
518
|
+
const crossAxisMulti = rtl && isVertical ? -1 : 1;
|
|
519
|
+
const rawValue = evaluate(options, state);
|
|
520
|
+
let {
|
|
521
|
+
mainAxis,
|
|
522
|
+
crossAxis,
|
|
523
|
+
alignmentAxis
|
|
524
|
+
} = typeof rawValue === "number" ? {
|
|
525
|
+
mainAxis: rawValue,
|
|
526
|
+
crossAxis: 0,
|
|
527
|
+
alignmentAxis: null
|
|
528
|
+
} : {
|
|
529
|
+
mainAxis: rawValue.mainAxis || 0,
|
|
530
|
+
crossAxis: rawValue.crossAxis || 0,
|
|
531
|
+
alignmentAxis: rawValue.alignmentAxis
|
|
532
|
+
};
|
|
533
|
+
if (alignment && typeof alignmentAxis === "number") {
|
|
534
|
+
crossAxis = alignment === "end" ? alignmentAxis * -1 : alignmentAxis;
|
|
535
|
+
}
|
|
536
|
+
return isVertical ? {
|
|
537
|
+
x: crossAxis * crossAxisMulti,
|
|
538
|
+
y: mainAxis * mainAxisMulti
|
|
539
|
+
} : {
|
|
540
|
+
x: mainAxis * mainAxisMulti,
|
|
541
|
+
y: crossAxis * crossAxisMulti
|
|
542
|
+
};
|
|
543
|
+
}
|
|
544
|
+
var offset = function(options) {
|
|
545
|
+
if (options === void 0) {
|
|
546
|
+
options = 0;
|
|
547
|
+
}
|
|
548
|
+
return {
|
|
549
|
+
name: "offset",
|
|
550
|
+
options,
|
|
551
|
+
async fn(state) {
|
|
552
|
+
var _middlewareData$offse, _middlewareData$arrow;
|
|
553
|
+
const {
|
|
554
|
+
x,
|
|
555
|
+
y,
|
|
556
|
+
placement,
|
|
557
|
+
middlewareData
|
|
558
|
+
} = state;
|
|
559
|
+
const diffCoords = await convertValueToCoords(state, options);
|
|
560
|
+
if (placement === ((_middlewareData$offse = middlewareData.offset) == null ? void 0 : _middlewareData$offse.placement) && (_middlewareData$arrow = middlewareData.arrow) != null && _middlewareData$arrow.alignmentOffset) {
|
|
561
|
+
return {};
|
|
562
|
+
}
|
|
563
|
+
return {
|
|
564
|
+
x: x + diffCoords.x,
|
|
565
|
+
y: y + diffCoords.y,
|
|
566
|
+
data: __spreadProps(__spreadValues({}, diffCoords), {
|
|
567
|
+
placement
|
|
568
|
+
})
|
|
569
|
+
};
|
|
570
|
+
}
|
|
571
|
+
};
|
|
572
|
+
};
|
|
573
|
+
var shift = function(options) {
|
|
574
|
+
if (options === void 0) {
|
|
575
|
+
options = {};
|
|
576
|
+
}
|
|
577
|
+
return {
|
|
578
|
+
name: "shift",
|
|
579
|
+
options,
|
|
580
|
+
async fn(state) {
|
|
581
|
+
const {
|
|
582
|
+
x,
|
|
583
|
+
y,
|
|
584
|
+
placement,
|
|
585
|
+
platform: platform2
|
|
586
|
+
} = state;
|
|
587
|
+
const _a = evaluate(options, state), {
|
|
588
|
+
mainAxis: checkMainAxis = true,
|
|
589
|
+
crossAxis: checkCrossAxis = false,
|
|
590
|
+
limiter = {
|
|
591
|
+
fn: (_ref) => {
|
|
592
|
+
let {
|
|
593
|
+
x: x2,
|
|
594
|
+
y: y2
|
|
595
|
+
} = _ref;
|
|
596
|
+
return {
|
|
597
|
+
x: x2,
|
|
598
|
+
y: y2
|
|
599
|
+
};
|
|
600
|
+
}
|
|
601
|
+
}
|
|
602
|
+
} = _a, detectOverflowOptions = __objRest(_a, [
|
|
603
|
+
"mainAxis",
|
|
604
|
+
"crossAxis",
|
|
605
|
+
"limiter"
|
|
606
|
+
]);
|
|
607
|
+
const coords = {
|
|
608
|
+
x,
|
|
609
|
+
y
|
|
610
|
+
};
|
|
611
|
+
const overflow = await platform2.detectOverflow(state, detectOverflowOptions);
|
|
612
|
+
const crossAxis = getSideAxis(getSide(placement));
|
|
613
|
+
const mainAxis = getOppositeAxis(crossAxis);
|
|
614
|
+
let mainAxisCoord = coords[mainAxis];
|
|
615
|
+
let crossAxisCoord = coords[crossAxis];
|
|
616
|
+
if (checkMainAxis) {
|
|
617
|
+
const minSide = mainAxis === "y" ? "top" : "left";
|
|
618
|
+
const maxSide = mainAxis === "y" ? "bottom" : "right";
|
|
619
|
+
const min2 = mainAxisCoord + overflow[minSide];
|
|
620
|
+
const max2 = mainAxisCoord - overflow[maxSide];
|
|
621
|
+
mainAxisCoord = clamp(min2, mainAxisCoord, max2);
|
|
622
|
+
}
|
|
623
|
+
if (checkCrossAxis) {
|
|
624
|
+
const minSide = crossAxis === "y" ? "top" : "left";
|
|
625
|
+
const maxSide = crossAxis === "y" ? "bottom" : "right";
|
|
626
|
+
const min2 = crossAxisCoord + overflow[minSide];
|
|
627
|
+
const max2 = crossAxisCoord - overflow[maxSide];
|
|
628
|
+
crossAxisCoord = clamp(min2, crossAxisCoord, max2);
|
|
629
|
+
}
|
|
630
|
+
const limitedCoords = limiter.fn(__spreadProps(__spreadValues({}, state), {
|
|
631
|
+
[mainAxis]: mainAxisCoord,
|
|
632
|
+
[crossAxis]: crossAxisCoord
|
|
633
|
+
}));
|
|
634
|
+
return __spreadProps(__spreadValues({}, limitedCoords), {
|
|
635
|
+
data: {
|
|
636
|
+
x: limitedCoords.x - x,
|
|
637
|
+
y: limitedCoords.y - y,
|
|
638
|
+
enabled: {
|
|
639
|
+
[mainAxis]: checkMainAxis,
|
|
640
|
+
[crossAxis]: checkCrossAxis
|
|
641
|
+
}
|
|
642
|
+
}
|
|
643
|
+
});
|
|
644
|
+
}
|
|
645
|
+
};
|
|
646
|
+
};
|
|
647
|
+
var size = function(options) {
|
|
648
|
+
if (options === void 0) {
|
|
649
|
+
options = {};
|
|
650
|
+
}
|
|
651
|
+
return {
|
|
652
|
+
name: "size",
|
|
653
|
+
options,
|
|
654
|
+
async fn(state) {
|
|
655
|
+
var _state$middlewareData, _state$middlewareData2;
|
|
656
|
+
const {
|
|
657
|
+
placement,
|
|
658
|
+
rects,
|
|
659
|
+
platform: platform2,
|
|
660
|
+
elements
|
|
661
|
+
} = state;
|
|
662
|
+
const _a = evaluate(options, state), {
|
|
663
|
+
apply = () => {
|
|
664
|
+
}
|
|
665
|
+
} = _a, detectOverflowOptions = __objRest(_a, [
|
|
666
|
+
"apply"
|
|
667
|
+
]);
|
|
668
|
+
const overflow = await platform2.detectOverflow(state, detectOverflowOptions);
|
|
669
|
+
const side = getSide(placement);
|
|
670
|
+
const alignment = getAlignment(placement);
|
|
671
|
+
const isYAxis = getSideAxis(placement) === "y";
|
|
672
|
+
const {
|
|
673
|
+
width,
|
|
674
|
+
height
|
|
675
|
+
} = rects.floating;
|
|
676
|
+
let heightSide;
|
|
677
|
+
let widthSide;
|
|
678
|
+
if (side === "top" || side === "bottom") {
|
|
679
|
+
heightSide = side;
|
|
680
|
+
widthSide = alignment === (await (platform2.isRTL == null ? void 0 : platform2.isRTL(elements.floating)) ? "start" : "end") ? "left" : "right";
|
|
681
|
+
} else {
|
|
682
|
+
widthSide = side;
|
|
683
|
+
heightSide = alignment === "end" ? "top" : "bottom";
|
|
684
|
+
}
|
|
685
|
+
const maximumClippingHeight = height - overflow.top - overflow.bottom;
|
|
686
|
+
const maximumClippingWidth = width - overflow.left - overflow.right;
|
|
687
|
+
const overflowAvailableHeight = min(height - overflow[heightSide], maximumClippingHeight);
|
|
688
|
+
const overflowAvailableWidth = min(width - overflow[widthSide], maximumClippingWidth);
|
|
689
|
+
const noShift = !state.middlewareData.shift;
|
|
690
|
+
let availableHeight = overflowAvailableHeight;
|
|
691
|
+
let availableWidth = overflowAvailableWidth;
|
|
692
|
+
if ((_state$middlewareData = state.middlewareData.shift) != null && _state$middlewareData.enabled.x) {
|
|
693
|
+
availableWidth = maximumClippingWidth;
|
|
694
|
+
}
|
|
695
|
+
if ((_state$middlewareData2 = state.middlewareData.shift) != null && _state$middlewareData2.enabled.y) {
|
|
696
|
+
availableHeight = maximumClippingHeight;
|
|
697
|
+
}
|
|
698
|
+
if (noShift && !alignment) {
|
|
699
|
+
const xMin = max(overflow.left, 0);
|
|
700
|
+
const xMax = max(overflow.right, 0);
|
|
701
|
+
const yMin = max(overflow.top, 0);
|
|
702
|
+
const yMax = max(overflow.bottom, 0);
|
|
703
|
+
if (isYAxis) {
|
|
704
|
+
availableWidth = width - 2 * (xMin !== 0 || xMax !== 0 ? xMin + xMax : max(overflow.left, overflow.right));
|
|
705
|
+
} else {
|
|
706
|
+
availableHeight = height - 2 * (yMin !== 0 || yMax !== 0 ? yMin + yMax : max(overflow.top, overflow.bottom));
|
|
707
|
+
}
|
|
708
|
+
}
|
|
709
|
+
await apply(__spreadProps(__spreadValues({}, state), {
|
|
710
|
+
availableWidth,
|
|
711
|
+
availableHeight
|
|
712
|
+
}));
|
|
713
|
+
const nextDimensions = await platform2.getDimensions(elements.floating);
|
|
714
|
+
if (width !== nextDimensions.width || height !== nextDimensions.height) {
|
|
715
|
+
return {
|
|
716
|
+
reset: {
|
|
717
|
+
rects: true
|
|
718
|
+
}
|
|
719
|
+
};
|
|
720
|
+
}
|
|
721
|
+
return {};
|
|
722
|
+
}
|
|
723
|
+
};
|
|
724
|
+
};
|
|
725
|
+
|
|
726
|
+
// node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs
|
|
727
|
+
function hasWindow() {
|
|
728
|
+
return typeof window !== "undefined";
|
|
729
|
+
}
|
|
730
|
+
function getNodeName(node) {
|
|
731
|
+
if (isNode(node)) {
|
|
732
|
+
return (node.nodeName || "").toLowerCase();
|
|
733
|
+
}
|
|
734
|
+
return "#document";
|
|
735
|
+
}
|
|
736
|
+
function getWindow(node) {
|
|
737
|
+
var _node$ownerDocument;
|
|
738
|
+
return (node == null || (_node$ownerDocument = node.ownerDocument) == null ? void 0 : _node$ownerDocument.defaultView) || window;
|
|
739
|
+
}
|
|
740
|
+
function getDocumentElement(node) {
|
|
741
|
+
var _ref;
|
|
742
|
+
return (_ref = (isNode(node) ? node.ownerDocument : node.document) || window.document) == null ? void 0 : _ref.documentElement;
|
|
743
|
+
}
|
|
744
|
+
function isNode(value) {
|
|
745
|
+
if (!hasWindow()) {
|
|
746
|
+
return false;
|
|
747
|
+
}
|
|
748
|
+
return value instanceof Node || value instanceof getWindow(value).Node;
|
|
749
|
+
}
|
|
750
|
+
function isElement(value) {
|
|
751
|
+
if (!hasWindow()) {
|
|
752
|
+
return false;
|
|
753
|
+
}
|
|
754
|
+
return value instanceof Element || value instanceof getWindow(value).Element;
|
|
755
|
+
}
|
|
756
|
+
function isHTMLElement(value) {
|
|
757
|
+
if (!hasWindow()) {
|
|
758
|
+
return false;
|
|
759
|
+
}
|
|
760
|
+
return value instanceof HTMLElement || value instanceof getWindow(value).HTMLElement;
|
|
761
|
+
}
|
|
762
|
+
function isShadowRoot(value) {
|
|
763
|
+
if (!hasWindow() || typeof ShadowRoot === "undefined") {
|
|
764
|
+
return false;
|
|
765
|
+
}
|
|
766
|
+
return value instanceof ShadowRoot || value instanceof getWindow(value).ShadowRoot;
|
|
767
|
+
}
|
|
768
|
+
function isOverflowElement(element) {
|
|
769
|
+
const {
|
|
770
|
+
overflow,
|
|
771
|
+
overflowX,
|
|
772
|
+
overflowY,
|
|
773
|
+
display
|
|
774
|
+
} = getComputedStyle2(element);
|
|
775
|
+
return /auto|scroll|overlay|hidden|clip/.test(overflow + overflowY + overflowX) && display !== "inline" && display !== "contents";
|
|
776
|
+
}
|
|
777
|
+
function isTableElement(element) {
|
|
778
|
+
return /^(table|td|th)$/.test(getNodeName(element));
|
|
779
|
+
}
|
|
780
|
+
function isTopLayer(element) {
|
|
781
|
+
try {
|
|
782
|
+
if (element.matches(":popover-open")) {
|
|
783
|
+
return true;
|
|
784
|
+
}
|
|
785
|
+
} catch (_e) {
|
|
786
|
+
}
|
|
787
|
+
try {
|
|
788
|
+
return element.matches(":modal");
|
|
789
|
+
} catch (_e) {
|
|
790
|
+
return false;
|
|
791
|
+
}
|
|
792
|
+
}
|
|
793
|
+
var willChangeRe = /transform|translate|scale|rotate|perspective|filter/;
|
|
794
|
+
var containRe = /paint|layout|strict|content/;
|
|
795
|
+
var isNotNone = (value) => !!value && value !== "none";
|
|
796
|
+
var isWebKitValue;
|
|
797
|
+
function isContainingBlock(elementOrCss) {
|
|
798
|
+
const css = isElement(elementOrCss) ? getComputedStyle2(elementOrCss) : elementOrCss;
|
|
799
|
+
return isNotNone(css.transform) || isNotNone(css.translate) || isNotNone(css.scale) || isNotNone(css.rotate) || isNotNone(css.perspective) || !isWebKit() && (isNotNone(css.backdropFilter) || isNotNone(css.filter)) || willChangeRe.test(css.willChange || "") || containRe.test(css.contain || "");
|
|
800
|
+
}
|
|
801
|
+
function getContainingBlock(element) {
|
|
802
|
+
let currentNode = getParentNode(element);
|
|
803
|
+
while (isHTMLElement(currentNode) && !isLastTraversableNode(currentNode)) {
|
|
804
|
+
if (isContainingBlock(currentNode)) {
|
|
805
|
+
return currentNode;
|
|
806
|
+
} else if (isTopLayer(currentNode)) {
|
|
807
|
+
return null;
|
|
808
|
+
}
|
|
809
|
+
currentNode = getParentNode(currentNode);
|
|
810
|
+
}
|
|
811
|
+
return null;
|
|
812
|
+
}
|
|
813
|
+
function isWebKit() {
|
|
814
|
+
if (isWebKitValue == null) {
|
|
815
|
+
isWebKitValue = typeof CSS !== "undefined" && CSS.supports && CSS.supports("-webkit-backdrop-filter", "none");
|
|
816
|
+
}
|
|
817
|
+
return isWebKitValue;
|
|
818
|
+
}
|
|
819
|
+
function isLastTraversableNode(node) {
|
|
820
|
+
return /^(html|body|#document)$/.test(getNodeName(node));
|
|
821
|
+
}
|
|
822
|
+
function getComputedStyle2(element) {
|
|
823
|
+
return getWindow(element).getComputedStyle(element);
|
|
824
|
+
}
|
|
825
|
+
function getNodeScroll(element) {
|
|
826
|
+
if (isElement(element)) {
|
|
827
|
+
return {
|
|
828
|
+
scrollLeft: element.scrollLeft,
|
|
829
|
+
scrollTop: element.scrollTop
|
|
830
|
+
};
|
|
831
|
+
}
|
|
832
|
+
return {
|
|
833
|
+
scrollLeft: element.scrollX,
|
|
834
|
+
scrollTop: element.scrollY
|
|
835
|
+
};
|
|
836
|
+
}
|
|
837
|
+
function getParentNode(node) {
|
|
838
|
+
if (getNodeName(node) === "html") {
|
|
839
|
+
return node;
|
|
840
|
+
}
|
|
841
|
+
const result = (
|
|
842
|
+
// Step into the shadow DOM of the parent of a slotted node.
|
|
843
|
+
node.assignedSlot || // DOM Element detected.
|
|
844
|
+
node.parentNode || // ShadowRoot detected.
|
|
845
|
+
isShadowRoot(node) && node.host || // Fallback.
|
|
846
|
+
getDocumentElement(node)
|
|
847
|
+
);
|
|
848
|
+
return isShadowRoot(result) ? result.host : result;
|
|
849
|
+
}
|
|
850
|
+
function getNearestOverflowAncestor(node) {
|
|
851
|
+
const parentNode = getParentNode(node);
|
|
852
|
+
if (isLastTraversableNode(parentNode)) {
|
|
853
|
+
return node.ownerDocument ? node.ownerDocument.body : node.body;
|
|
854
|
+
}
|
|
855
|
+
if (isHTMLElement(parentNode) && isOverflowElement(parentNode)) {
|
|
856
|
+
return parentNode;
|
|
857
|
+
}
|
|
858
|
+
return getNearestOverflowAncestor(parentNode);
|
|
859
|
+
}
|
|
860
|
+
function getOverflowAncestors(node, list, traverseIframes) {
|
|
861
|
+
var _node$ownerDocument2;
|
|
862
|
+
if (list === void 0) {
|
|
863
|
+
list = [];
|
|
864
|
+
}
|
|
865
|
+
if (traverseIframes === void 0) {
|
|
866
|
+
traverseIframes = true;
|
|
867
|
+
}
|
|
868
|
+
const scrollableAncestor = getNearestOverflowAncestor(node);
|
|
869
|
+
const isBody = scrollableAncestor === ((_node$ownerDocument2 = node.ownerDocument) == null ? void 0 : _node$ownerDocument2.body);
|
|
870
|
+
const win = getWindow(scrollableAncestor);
|
|
871
|
+
if (isBody) {
|
|
872
|
+
const frameElement = getFrameElement(win);
|
|
873
|
+
return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : [], frameElement && traverseIframes ? getOverflowAncestors(frameElement) : []);
|
|
874
|
+
} else {
|
|
875
|
+
return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor, [], traverseIframes));
|
|
876
|
+
}
|
|
877
|
+
}
|
|
878
|
+
function getFrameElement(win) {
|
|
879
|
+
return win.parent && Object.getPrototypeOf(win.parent) ? win.frameElement : null;
|
|
880
|
+
}
|
|
881
|
+
|
|
882
|
+
// node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs
|
|
883
|
+
function getCssDimensions(element) {
|
|
884
|
+
const css = getComputedStyle2(element);
|
|
885
|
+
let width = parseFloat(css.width) || 0;
|
|
886
|
+
let height = parseFloat(css.height) || 0;
|
|
887
|
+
const hasOffset = isHTMLElement(element);
|
|
888
|
+
const offsetWidth = hasOffset ? element.offsetWidth : width;
|
|
889
|
+
const offsetHeight = hasOffset ? element.offsetHeight : height;
|
|
890
|
+
const shouldFallback = round(width) !== offsetWidth || round(height) !== offsetHeight;
|
|
891
|
+
if (shouldFallback) {
|
|
892
|
+
width = offsetWidth;
|
|
893
|
+
height = offsetHeight;
|
|
894
|
+
}
|
|
895
|
+
return {
|
|
896
|
+
width,
|
|
897
|
+
height,
|
|
898
|
+
$: shouldFallback
|
|
899
|
+
};
|
|
900
|
+
}
|
|
901
|
+
function unwrapElement(element) {
|
|
902
|
+
return !isElement(element) ? element.contextElement : element;
|
|
903
|
+
}
|
|
904
|
+
function getScale(element) {
|
|
905
|
+
const domElement = unwrapElement(element);
|
|
906
|
+
if (!isHTMLElement(domElement)) {
|
|
907
|
+
return createCoords(1);
|
|
908
|
+
}
|
|
909
|
+
const rect = domElement.getBoundingClientRect();
|
|
910
|
+
const {
|
|
911
|
+
width,
|
|
912
|
+
height,
|
|
913
|
+
$
|
|
914
|
+
} = getCssDimensions(domElement);
|
|
915
|
+
let x = ($ ? round(rect.width) : rect.width) / width;
|
|
916
|
+
let y = ($ ? round(rect.height) : rect.height) / height;
|
|
917
|
+
if (!x || !Number.isFinite(x)) {
|
|
918
|
+
x = 1;
|
|
919
|
+
}
|
|
920
|
+
if (!y || !Number.isFinite(y)) {
|
|
921
|
+
y = 1;
|
|
922
|
+
}
|
|
923
|
+
return {
|
|
924
|
+
x,
|
|
925
|
+
y
|
|
926
|
+
};
|
|
927
|
+
}
|
|
928
|
+
var noOffsets = /* @__PURE__ */ createCoords(0);
|
|
929
|
+
function getVisualOffsets(element) {
|
|
930
|
+
const win = getWindow(element);
|
|
931
|
+
if (!isWebKit() || !win.visualViewport) {
|
|
932
|
+
return noOffsets;
|
|
933
|
+
}
|
|
934
|
+
return {
|
|
935
|
+
x: win.visualViewport.offsetLeft,
|
|
936
|
+
y: win.visualViewport.offsetTop
|
|
937
|
+
};
|
|
938
|
+
}
|
|
939
|
+
function shouldAddVisualOffsets(element, isFixed, floatingOffsetParent) {
|
|
940
|
+
if (isFixed === void 0) {
|
|
941
|
+
isFixed = false;
|
|
942
|
+
}
|
|
943
|
+
if (!floatingOffsetParent || isFixed && floatingOffsetParent !== getWindow(element)) {
|
|
944
|
+
return false;
|
|
945
|
+
}
|
|
946
|
+
return isFixed;
|
|
947
|
+
}
|
|
948
|
+
function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetParent) {
|
|
949
|
+
if (includeScale === void 0) {
|
|
950
|
+
includeScale = false;
|
|
951
|
+
}
|
|
952
|
+
if (isFixedStrategy === void 0) {
|
|
953
|
+
isFixedStrategy = false;
|
|
954
|
+
}
|
|
955
|
+
const clientRect = element.getBoundingClientRect();
|
|
956
|
+
const domElement = unwrapElement(element);
|
|
957
|
+
let scale = createCoords(1);
|
|
958
|
+
if (includeScale) {
|
|
959
|
+
if (offsetParent) {
|
|
960
|
+
if (isElement(offsetParent)) {
|
|
961
|
+
scale = getScale(offsetParent);
|
|
962
|
+
}
|
|
963
|
+
} else {
|
|
964
|
+
scale = getScale(element);
|
|
965
|
+
}
|
|
966
|
+
}
|
|
967
|
+
const visualOffsets = shouldAddVisualOffsets(domElement, isFixedStrategy, offsetParent) ? getVisualOffsets(domElement) : createCoords(0);
|
|
968
|
+
let x = (clientRect.left + visualOffsets.x) / scale.x;
|
|
969
|
+
let y = (clientRect.top + visualOffsets.y) / scale.y;
|
|
970
|
+
let width = clientRect.width / scale.x;
|
|
971
|
+
let height = clientRect.height / scale.y;
|
|
972
|
+
if (domElement) {
|
|
973
|
+
const win = getWindow(domElement);
|
|
974
|
+
const offsetWin = offsetParent && isElement(offsetParent) ? getWindow(offsetParent) : offsetParent;
|
|
975
|
+
let currentWin = win;
|
|
976
|
+
let currentIFrame = getFrameElement(currentWin);
|
|
977
|
+
while (currentIFrame && offsetParent && offsetWin !== currentWin) {
|
|
978
|
+
const iframeScale = getScale(currentIFrame);
|
|
979
|
+
const iframeRect = currentIFrame.getBoundingClientRect();
|
|
980
|
+
const css = getComputedStyle2(currentIFrame);
|
|
981
|
+
const left = iframeRect.left + (currentIFrame.clientLeft + parseFloat(css.paddingLeft)) * iframeScale.x;
|
|
982
|
+
const top = iframeRect.top + (currentIFrame.clientTop + parseFloat(css.paddingTop)) * iframeScale.y;
|
|
983
|
+
x *= iframeScale.x;
|
|
984
|
+
y *= iframeScale.y;
|
|
985
|
+
width *= iframeScale.x;
|
|
986
|
+
height *= iframeScale.y;
|
|
987
|
+
x += left;
|
|
988
|
+
y += top;
|
|
989
|
+
currentWin = getWindow(currentIFrame);
|
|
990
|
+
currentIFrame = getFrameElement(currentWin);
|
|
991
|
+
}
|
|
992
|
+
}
|
|
993
|
+
return rectToClientRect({
|
|
994
|
+
width,
|
|
995
|
+
height,
|
|
996
|
+
x,
|
|
997
|
+
y
|
|
998
|
+
});
|
|
999
|
+
}
|
|
1000
|
+
function getWindowScrollBarX(element, rect) {
|
|
1001
|
+
const leftScroll = getNodeScroll(element).scrollLeft;
|
|
1002
|
+
if (!rect) {
|
|
1003
|
+
return getBoundingClientRect(getDocumentElement(element)).left + leftScroll;
|
|
1004
|
+
}
|
|
1005
|
+
return rect.left + leftScroll;
|
|
1006
|
+
}
|
|
1007
|
+
function getHTMLOffset(documentElement, scroll) {
|
|
1008
|
+
const htmlRect = documentElement.getBoundingClientRect();
|
|
1009
|
+
const x = htmlRect.left + scroll.scrollLeft - getWindowScrollBarX(documentElement, htmlRect);
|
|
1010
|
+
const y = htmlRect.top + scroll.scrollTop;
|
|
1011
|
+
return {
|
|
1012
|
+
x,
|
|
1013
|
+
y
|
|
1014
|
+
};
|
|
1015
|
+
}
|
|
1016
|
+
function convertOffsetParentRelativeRectToViewportRelativeRect(_ref) {
|
|
1017
|
+
let {
|
|
1018
|
+
elements,
|
|
1019
|
+
rect,
|
|
1020
|
+
offsetParent,
|
|
1021
|
+
strategy
|
|
1022
|
+
} = _ref;
|
|
1023
|
+
const isFixed = strategy === "fixed";
|
|
1024
|
+
const documentElement = getDocumentElement(offsetParent);
|
|
1025
|
+
const topLayer = elements ? isTopLayer(elements.floating) : false;
|
|
1026
|
+
if (offsetParent === documentElement || topLayer && isFixed) {
|
|
1027
|
+
return rect;
|
|
1028
|
+
}
|
|
1029
|
+
let scroll = {
|
|
1030
|
+
scrollLeft: 0,
|
|
1031
|
+
scrollTop: 0
|
|
1032
|
+
};
|
|
1033
|
+
let scale = createCoords(1);
|
|
1034
|
+
const offsets = createCoords(0);
|
|
1035
|
+
const isOffsetParentAnElement = isHTMLElement(offsetParent);
|
|
1036
|
+
if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {
|
|
1037
|
+
if (getNodeName(offsetParent) !== "body" || isOverflowElement(documentElement)) {
|
|
1038
|
+
scroll = getNodeScroll(offsetParent);
|
|
1039
|
+
}
|
|
1040
|
+
if (isOffsetParentAnElement) {
|
|
1041
|
+
const offsetRect = getBoundingClientRect(offsetParent);
|
|
1042
|
+
scale = getScale(offsetParent);
|
|
1043
|
+
offsets.x = offsetRect.x + offsetParent.clientLeft;
|
|
1044
|
+
offsets.y = offsetRect.y + offsetParent.clientTop;
|
|
1045
|
+
}
|
|
1046
|
+
}
|
|
1047
|
+
const htmlOffset = documentElement && !isOffsetParentAnElement && !isFixed ? getHTMLOffset(documentElement, scroll) : createCoords(0);
|
|
1048
|
+
return {
|
|
1049
|
+
width: rect.width * scale.x,
|
|
1050
|
+
height: rect.height * scale.y,
|
|
1051
|
+
x: rect.x * scale.x - scroll.scrollLeft * scale.x + offsets.x + htmlOffset.x,
|
|
1052
|
+
y: rect.y * scale.y - scroll.scrollTop * scale.y + offsets.y + htmlOffset.y
|
|
1053
|
+
};
|
|
1054
|
+
}
|
|
1055
|
+
function getClientRects(element) {
|
|
1056
|
+
return Array.from(element.getClientRects());
|
|
1057
|
+
}
|
|
1058
|
+
function getDocumentRect(element) {
|
|
1059
|
+
const html = getDocumentElement(element);
|
|
1060
|
+
const scroll = getNodeScroll(element);
|
|
1061
|
+
const body = element.ownerDocument.body;
|
|
1062
|
+
const width = max(html.scrollWidth, html.clientWidth, body.scrollWidth, body.clientWidth);
|
|
1063
|
+
const height = max(html.scrollHeight, html.clientHeight, body.scrollHeight, body.clientHeight);
|
|
1064
|
+
let x = -scroll.scrollLeft + getWindowScrollBarX(element);
|
|
1065
|
+
const y = -scroll.scrollTop;
|
|
1066
|
+
if (getComputedStyle2(body).direction === "rtl") {
|
|
1067
|
+
x += max(html.clientWidth, body.clientWidth) - width;
|
|
1068
|
+
}
|
|
1069
|
+
return {
|
|
1070
|
+
width,
|
|
1071
|
+
height,
|
|
1072
|
+
x,
|
|
1073
|
+
y
|
|
1074
|
+
};
|
|
1075
|
+
}
|
|
1076
|
+
var SCROLLBAR_MAX = 25;
|
|
1077
|
+
function getViewportRect(element, strategy) {
|
|
1078
|
+
const win = getWindow(element);
|
|
1079
|
+
const html = getDocumentElement(element);
|
|
1080
|
+
const visualViewport = win.visualViewport;
|
|
1081
|
+
let width = html.clientWidth;
|
|
1082
|
+
let height = html.clientHeight;
|
|
1083
|
+
let x = 0;
|
|
1084
|
+
let y = 0;
|
|
1085
|
+
if (visualViewport) {
|
|
1086
|
+
width = visualViewport.width;
|
|
1087
|
+
height = visualViewport.height;
|
|
1088
|
+
const visualViewportBased = isWebKit();
|
|
1089
|
+
if (!visualViewportBased || visualViewportBased && strategy === "fixed") {
|
|
1090
|
+
x = visualViewport.offsetLeft;
|
|
1091
|
+
y = visualViewport.offsetTop;
|
|
1092
|
+
}
|
|
1093
|
+
}
|
|
1094
|
+
const windowScrollbarX = getWindowScrollBarX(html);
|
|
1095
|
+
if (windowScrollbarX <= 0) {
|
|
1096
|
+
const doc = html.ownerDocument;
|
|
1097
|
+
const body = doc.body;
|
|
1098
|
+
const bodyStyles = getComputedStyle(body);
|
|
1099
|
+
const bodyMarginInline = doc.compatMode === "CSS1Compat" ? parseFloat(bodyStyles.marginLeft) + parseFloat(bodyStyles.marginRight) || 0 : 0;
|
|
1100
|
+
const clippingStableScrollbarWidth = Math.abs(html.clientWidth - body.clientWidth - bodyMarginInline);
|
|
1101
|
+
if (clippingStableScrollbarWidth <= SCROLLBAR_MAX) {
|
|
1102
|
+
width -= clippingStableScrollbarWidth;
|
|
1103
|
+
}
|
|
1104
|
+
} else if (windowScrollbarX <= SCROLLBAR_MAX) {
|
|
1105
|
+
width += windowScrollbarX;
|
|
1106
|
+
}
|
|
1107
|
+
return {
|
|
1108
|
+
width,
|
|
1109
|
+
height,
|
|
1110
|
+
x,
|
|
1111
|
+
y
|
|
1112
|
+
};
|
|
1113
|
+
}
|
|
1114
|
+
function getInnerBoundingClientRect(element, strategy) {
|
|
1115
|
+
const clientRect = getBoundingClientRect(element, true, strategy === "fixed");
|
|
1116
|
+
const top = clientRect.top + element.clientTop;
|
|
1117
|
+
const left = clientRect.left + element.clientLeft;
|
|
1118
|
+
const scale = isHTMLElement(element) ? getScale(element) : createCoords(1);
|
|
1119
|
+
const width = element.clientWidth * scale.x;
|
|
1120
|
+
const height = element.clientHeight * scale.y;
|
|
1121
|
+
const x = left * scale.x;
|
|
1122
|
+
const y = top * scale.y;
|
|
1123
|
+
return {
|
|
1124
|
+
width,
|
|
1125
|
+
height,
|
|
1126
|
+
x,
|
|
1127
|
+
y
|
|
1128
|
+
};
|
|
1129
|
+
}
|
|
1130
|
+
function getClientRectFromClippingAncestor(element, clippingAncestor, strategy) {
|
|
1131
|
+
let rect;
|
|
1132
|
+
if (clippingAncestor === "viewport") {
|
|
1133
|
+
rect = getViewportRect(element, strategy);
|
|
1134
|
+
} else if (clippingAncestor === "document") {
|
|
1135
|
+
rect = getDocumentRect(getDocumentElement(element));
|
|
1136
|
+
} else if (isElement(clippingAncestor)) {
|
|
1137
|
+
rect = getInnerBoundingClientRect(clippingAncestor, strategy);
|
|
1138
|
+
} else {
|
|
1139
|
+
const visualOffsets = getVisualOffsets(element);
|
|
1140
|
+
rect = {
|
|
1141
|
+
x: clippingAncestor.x - visualOffsets.x,
|
|
1142
|
+
y: clippingAncestor.y - visualOffsets.y,
|
|
1143
|
+
width: clippingAncestor.width,
|
|
1144
|
+
height: clippingAncestor.height
|
|
1145
|
+
};
|
|
1146
|
+
}
|
|
1147
|
+
return rectToClientRect(rect);
|
|
1148
|
+
}
|
|
1149
|
+
function hasFixedPositionAncestor(element, stopNode) {
|
|
1150
|
+
const parentNode = getParentNode(element);
|
|
1151
|
+
if (parentNode === stopNode || !isElement(parentNode) || isLastTraversableNode(parentNode)) {
|
|
1152
|
+
return false;
|
|
1153
|
+
}
|
|
1154
|
+
return getComputedStyle2(parentNode).position === "fixed" || hasFixedPositionAncestor(parentNode, stopNode);
|
|
1155
|
+
}
|
|
1156
|
+
function getClippingElementAncestors(element, cache) {
|
|
1157
|
+
const cachedResult = cache.get(element);
|
|
1158
|
+
if (cachedResult) {
|
|
1159
|
+
return cachedResult;
|
|
1160
|
+
}
|
|
1161
|
+
let result = getOverflowAncestors(element, [], false).filter((el) => isElement(el) && getNodeName(el) !== "body");
|
|
1162
|
+
let currentContainingBlockComputedStyle = null;
|
|
1163
|
+
const elementIsFixed = getComputedStyle2(element).position === "fixed";
|
|
1164
|
+
let currentNode = elementIsFixed ? getParentNode(element) : element;
|
|
1165
|
+
while (isElement(currentNode) && !isLastTraversableNode(currentNode)) {
|
|
1166
|
+
const computedStyle = getComputedStyle2(currentNode);
|
|
1167
|
+
const currentNodeIsContaining = isContainingBlock(currentNode);
|
|
1168
|
+
if (!currentNodeIsContaining && computedStyle.position === "fixed") {
|
|
1169
|
+
currentContainingBlockComputedStyle = null;
|
|
1170
|
+
}
|
|
1171
|
+
const shouldDropCurrentNode = elementIsFixed ? !currentNodeIsContaining && !currentContainingBlockComputedStyle : !currentNodeIsContaining && computedStyle.position === "static" && !!currentContainingBlockComputedStyle && (currentContainingBlockComputedStyle.position === "absolute" || currentContainingBlockComputedStyle.position === "fixed") || isOverflowElement(currentNode) && !currentNodeIsContaining && hasFixedPositionAncestor(element, currentNode);
|
|
1172
|
+
if (shouldDropCurrentNode) {
|
|
1173
|
+
result = result.filter((ancestor) => ancestor !== currentNode);
|
|
1174
|
+
} else {
|
|
1175
|
+
currentContainingBlockComputedStyle = computedStyle;
|
|
1176
|
+
}
|
|
1177
|
+
currentNode = getParentNode(currentNode);
|
|
1178
|
+
}
|
|
1179
|
+
cache.set(element, result);
|
|
1180
|
+
return result;
|
|
1181
|
+
}
|
|
1182
|
+
function getClippingRect(_ref) {
|
|
1183
|
+
let {
|
|
1184
|
+
element,
|
|
1185
|
+
boundary,
|
|
1186
|
+
rootBoundary,
|
|
1187
|
+
strategy
|
|
1188
|
+
} = _ref;
|
|
1189
|
+
const elementClippingAncestors = boundary === "clippingAncestors" ? isTopLayer(element) ? [] : getClippingElementAncestors(element, this._c) : [].concat(boundary);
|
|
1190
|
+
const clippingAncestors = [...elementClippingAncestors, rootBoundary];
|
|
1191
|
+
const firstRect = getClientRectFromClippingAncestor(element, clippingAncestors[0], strategy);
|
|
1192
|
+
let top = firstRect.top;
|
|
1193
|
+
let right = firstRect.right;
|
|
1194
|
+
let bottom = firstRect.bottom;
|
|
1195
|
+
let left = firstRect.left;
|
|
1196
|
+
for (let i = 1; i < clippingAncestors.length; i++) {
|
|
1197
|
+
const rect = getClientRectFromClippingAncestor(element, clippingAncestors[i], strategy);
|
|
1198
|
+
top = max(rect.top, top);
|
|
1199
|
+
right = min(rect.right, right);
|
|
1200
|
+
bottom = min(rect.bottom, bottom);
|
|
1201
|
+
left = max(rect.left, left);
|
|
1202
|
+
}
|
|
1203
|
+
return {
|
|
1204
|
+
width: right - left,
|
|
1205
|
+
height: bottom - top,
|
|
1206
|
+
x: left,
|
|
1207
|
+
y: top
|
|
1208
|
+
};
|
|
1209
|
+
}
|
|
1210
|
+
function getDimensions(element) {
|
|
1211
|
+
const {
|
|
1212
|
+
width,
|
|
1213
|
+
height
|
|
1214
|
+
} = getCssDimensions(element);
|
|
1215
|
+
return {
|
|
1216
|
+
width,
|
|
1217
|
+
height
|
|
1218
|
+
};
|
|
1219
|
+
}
|
|
1220
|
+
function getRectRelativeToOffsetParent(element, offsetParent, strategy) {
|
|
1221
|
+
const isOffsetParentAnElement = isHTMLElement(offsetParent);
|
|
1222
|
+
const documentElement = getDocumentElement(offsetParent);
|
|
1223
|
+
const isFixed = strategy === "fixed";
|
|
1224
|
+
const rect = getBoundingClientRect(element, true, isFixed, offsetParent);
|
|
1225
|
+
let scroll = {
|
|
1226
|
+
scrollLeft: 0,
|
|
1227
|
+
scrollTop: 0
|
|
1228
|
+
};
|
|
1229
|
+
const offsets = createCoords(0);
|
|
1230
|
+
function setLeftRTLScrollbarOffset() {
|
|
1231
|
+
offsets.x = getWindowScrollBarX(documentElement);
|
|
1232
|
+
}
|
|
1233
|
+
if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {
|
|
1234
|
+
if (getNodeName(offsetParent) !== "body" || isOverflowElement(documentElement)) {
|
|
1235
|
+
scroll = getNodeScroll(offsetParent);
|
|
1236
|
+
}
|
|
1237
|
+
if (isOffsetParentAnElement) {
|
|
1238
|
+
const offsetRect = getBoundingClientRect(offsetParent, true, isFixed, offsetParent);
|
|
1239
|
+
offsets.x = offsetRect.x + offsetParent.clientLeft;
|
|
1240
|
+
offsets.y = offsetRect.y + offsetParent.clientTop;
|
|
1241
|
+
} else if (documentElement) {
|
|
1242
|
+
setLeftRTLScrollbarOffset();
|
|
1243
|
+
}
|
|
1244
|
+
}
|
|
1245
|
+
if (isFixed && !isOffsetParentAnElement && documentElement) {
|
|
1246
|
+
setLeftRTLScrollbarOffset();
|
|
1247
|
+
}
|
|
1248
|
+
const htmlOffset = documentElement && !isOffsetParentAnElement && !isFixed ? getHTMLOffset(documentElement, scroll) : createCoords(0);
|
|
1249
|
+
const x = rect.left + scroll.scrollLeft - offsets.x - htmlOffset.x;
|
|
1250
|
+
const y = rect.top + scroll.scrollTop - offsets.y - htmlOffset.y;
|
|
1251
|
+
return {
|
|
1252
|
+
x,
|
|
1253
|
+
y,
|
|
1254
|
+
width: rect.width,
|
|
1255
|
+
height: rect.height
|
|
1256
|
+
};
|
|
1257
|
+
}
|
|
1258
|
+
function isStaticPositioned(element) {
|
|
1259
|
+
return getComputedStyle2(element).position === "static";
|
|
1260
|
+
}
|
|
1261
|
+
function getTrueOffsetParent(element, polyfill) {
|
|
1262
|
+
if (!isHTMLElement(element) || getComputedStyle2(element).position === "fixed") {
|
|
1263
|
+
return null;
|
|
1264
|
+
}
|
|
1265
|
+
if (polyfill) {
|
|
1266
|
+
return polyfill(element);
|
|
1267
|
+
}
|
|
1268
|
+
let rawOffsetParent = element.offsetParent;
|
|
1269
|
+
if (getDocumentElement(element) === rawOffsetParent) {
|
|
1270
|
+
rawOffsetParent = rawOffsetParent.ownerDocument.body;
|
|
1271
|
+
}
|
|
1272
|
+
return rawOffsetParent;
|
|
1273
|
+
}
|
|
1274
|
+
function getOffsetParent(element, polyfill) {
|
|
1275
|
+
const win = getWindow(element);
|
|
1276
|
+
if (isTopLayer(element)) {
|
|
1277
|
+
return win;
|
|
1278
|
+
}
|
|
1279
|
+
if (!isHTMLElement(element)) {
|
|
1280
|
+
let svgOffsetParent = getParentNode(element);
|
|
1281
|
+
while (svgOffsetParent && !isLastTraversableNode(svgOffsetParent)) {
|
|
1282
|
+
if (isElement(svgOffsetParent) && !isStaticPositioned(svgOffsetParent)) {
|
|
1283
|
+
return svgOffsetParent;
|
|
1284
|
+
}
|
|
1285
|
+
svgOffsetParent = getParentNode(svgOffsetParent);
|
|
1286
|
+
}
|
|
1287
|
+
return win;
|
|
1288
|
+
}
|
|
1289
|
+
let offsetParent = getTrueOffsetParent(element, polyfill);
|
|
1290
|
+
while (offsetParent && isTableElement(offsetParent) && isStaticPositioned(offsetParent)) {
|
|
1291
|
+
offsetParent = getTrueOffsetParent(offsetParent, polyfill);
|
|
1292
|
+
}
|
|
1293
|
+
if (offsetParent && isLastTraversableNode(offsetParent) && isStaticPositioned(offsetParent) && !isContainingBlock(offsetParent)) {
|
|
1294
|
+
return win;
|
|
1295
|
+
}
|
|
1296
|
+
return offsetParent || getContainingBlock(element) || win;
|
|
1297
|
+
}
|
|
1298
|
+
var getElementRects = async function(data) {
|
|
1299
|
+
const getOffsetParentFn = this.getOffsetParent || getOffsetParent;
|
|
1300
|
+
const getDimensionsFn = this.getDimensions;
|
|
1301
|
+
const floatingDimensions = await getDimensionsFn(data.floating);
|
|
1302
|
+
return {
|
|
1303
|
+
reference: getRectRelativeToOffsetParent(data.reference, await getOffsetParentFn(data.floating), data.strategy),
|
|
1304
|
+
floating: {
|
|
1305
|
+
x: 0,
|
|
1306
|
+
y: 0,
|
|
1307
|
+
width: floatingDimensions.width,
|
|
1308
|
+
height: floatingDimensions.height
|
|
1309
|
+
}
|
|
1310
|
+
};
|
|
1311
|
+
};
|
|
1312
|
+
function isRTL(element) {
|
|
1313
|
+
return getComputedStyle2(element).direction === "rtl";
|
|
1314
|
+
}
|
|
1315
|
+
var platform = {
|
|
1316
|
+
convertOffsetParentRelativeRectToViewportRelativeRect,
|
|
1317
|
+
getDocumentElement,
|
|
1318
|
+
getClippingRect,
|
|
1319
|
+
getOffsetParent,
|
|
1320
|
+
getElementRects,
|
|
1321
|
+
getClientRects,
|
|
1322
|
+
getDimensions,
|
|
1323
|
+
getScale,
|
|
1324
|
+
isElement,
|
|
1325
|
+
isRTL
|
|
1326
|
+
};
|
|
1327
|
+
function rectsAreEqual(a, b) {
|
|
1328
|
+
return a.x === b.x && a.y === b.y && a.width === b.width && a.height === b.height;
|
|
1329
|
+
}
|
|
1330
|
+
function observeMove(element, onMove) {
|
|
1331
|
+
let io = null;
|
|
1332
|
+
let timeoutId;
|
|
1333
|
+
const root = getDocumentElement(element);
|
|
1334
|
+
function cleanup() {
|
|
1335
|
+
var _io;
|
|
1336
|
+
clearTimeout(timeoutId);
|
|
1337
|
+
(_io = io) == null || _io.disconnect();
|
|
1338
|
+
io = null;
|
|
1339
|
+
}
|
|
1340
|
+
function refresh(skip, threshold) {
|
|
1341
|
+
if (skip === void 0) {
|
|
1342
|
+
skip = false;
|
|
1343
|
+
}
|
|
1344
|
+
if (threshold === void 0) {
|
|
1345
|
+
threshold = 1;
|
|
1346
|
+
}
|
|
1347
|
+
cleanup();
|
|
1348
|
+
const elementRectForRootMargin = element.getBoundingClientRect();
|
|
1349
|
+
const {
|
|
1350
|
+
left,
|
|
1351
|
+
top,
|
|
1352
|
+
width,
|
|
1353
|
+
height
|
|
1354
|
+
} = elementRectForRootMargin;
|
|
1355
|
+
if (!skip) {
|
|
1356
|
+
onMove();
|
|
1357
|
+
}
|
|
1358
|
+
if (!width || !height) {
|
|
1359
|
+
return;
|
|
1360
|
+
}
|
|
1361
|
+
const insetTop = floor(top);
|
|
1362
|
+
const insetRight = floor(root.clientWidth - (left + width));
|
|
1363
|
+
const insetBottom = floor(root.clientHeight - (top + height));
|
|
1364
|
+
const insetLeft = floor(left);
|
|
1365
|
+
const rootMargin = -insetTop + "px " + -insetRight + "px " + -insetBottom + "px " + -insetLeft + "px";
|
|
1366
|
+
const options = {
|
|
1367
|
+
rootMargin,
|
|
1368
|
+
threshold: max(0, min(1, threshold)) || 1
|
|
1369
|
+
};
|
|
1370
|
+
let isFirstUpdate = true;
|
|
1371
|
+
function handleObserve(entries) {
|
|
1372
|
+
const ratio = entries[0].intersectionRatio;
|
|
1373
|
+
if (ratio !== threshold) {
|
|
1374
|
+
if (!isFirstUpdate) {
|
|
1375
|
+
return refresh();
|
|
1376
|
+
}
|
|
1377
|
+
if (!ratio) {
|
|
1378
|
+
timeoutId = setTimeout(() => {
|
|
1379
|
+
refresh(false, 1e-7);
|
|
1380
|
+
}, 1e3);
|
|
1381
|
+
} else {
|
|
1382
|
+
refresh(false, ratio);
|
|
1383
|
+
}
|
|
1384
|
+
}
|
|
1385
|
+
if (ratio === 1 && !rectsAreEqual(elementRectForRootMargin, element.getBoundingClientRect())) {
|
|
1386
|
+
refresh();
|
|
1387
|
+
}
|
|
1388
|
+
isFirstUpdate = false;
|
|
1389
|
+
}
|
|
1390
|
+
try {
|
|
1391
|
+
io = new IntersectionObserver(handleObserve, __spreadProps(__spreadValues({}, options), {
|
|
1392
|
+
// Handle <iframe>s
|
|
1393
|
+
root: root.ownerDocument
|
|
1394
|
+
}));
|
|
1395
|
+
} catch (_e) {
|
|
1396
|
+
io = new IntersectionObserver(handleObserve, options);
|
|
1397
|
+
}
|
|
1398
|
+
io.observe(element);
|
|
1399
|
+
}
|
|
1400
|
+
refresh(true);
|
|
1401
|
+
return cleanup;
|
|
1402
|
+
}
|
|
1403
|
+
function autoUpdate(reference, floating, update, options) {
|
|
1404
|
+
if (options === void 0) {
|
|
1405
|
+
options = {};
|
|
1406
|
+
}
|
|
1407
|
+
const {
|
|
1408
|
+
ancestorScroll = true,
|
|
1409
|
+
ancestorResize = true,
|
|
1410
|
+
elementResize = typeof ResizeObserver === "function",
|
|
1411
|
+
layoutShift = typeof IntersectionObserver === "function",
|
|
1412
|
+
animationFrame = false
|
|
1413
|
+
} = options;
|
|
1414
|
+
const referenceEl = unwrapElement(reference);
|
|
1415
|
+
const ancestors = ancestorScroll || ancestorResize ? [...referenceEl ? getOverflowAncestors(referenceEl) : [], ...floating ? getOverflowAncestors(floating) : []] : [];
|
|
1416
|
+
ancestors.forEach((ancestor) => {
|
|
1417
|
+
ancestorScroll && ancestor.addEventListener("scroll", update, {
|
|
1418
|
+
passive: true
|
|
1419
|
+
});
|
|
1420
|
+
ancestorResize && ancestor.addEventListener("resize", update);
|
|
1421
|
+
});
|
|
1422
|
+
const cleanupIo = referenceEl && layoutShift ? observeMove(referenceEl, update) : null;
|
|
1423
|
+
let reobserveFrame = -1;
|
|
1424
|
+
let resizeObserver = null;
|
|
1425
|
+
if (elementResize) {
|
|
1426
|
+
resizeObserver = new ResizeObserver((_ref) => {
|
|
1427
|
+
let [firstEntry] = _ref;
|
|
1428
|
+
if (firstEntry && firstEntry.target === referenceEl && resizeObserver && floating) {
|
|
1429
|
+
resizeObserver.unobserve(floating);
|
|
1430
|
+
cancelAnimationFrame(reobserveFrame);
|
|
1431
|
+
reobserveFrame = requestAnimationFrame(() => {
|
|
1432
|
+
var _resizeObserver;
|
|
1433
|
+
(_resizeObserver = resizeObserver) == null || _resizeObserver.observe(floating);
|
|
1434
|
+
});
|
|
1435
|
+
}
|
|
1436
|
+
update();
|
|
1437
|
+
});
|
|
1438
|
+
if (referenceEl && !animationFrame) {
|
|
1439
|
+
resizeObserver.observe(referenceEl);
|
|
1440
|
+
}
|
|
1441
|
+
if (floating) {
|
|
1442
|
+
resizeObserver.observe(floating);
|
|
1443
|
+
}
|
|
1444
|
+
}
|
|
1445
|
+
let frameId;
|
|
1446
|
+
let prevRefRect = animationFrame ? getBoundingClientRect(reference) : null;
|
|
1447
|
+
if (animationFrame) {
|
|
1448
|
+
frameLoop();
|
|
1449
|
+
}
|
|
1450
|
+
function frameLoop() {
|
|
1451
|
+
const nextRefRect = getBoundingClientRect(reference);
|
|
1452
|
+
if (prevRefRect && !rectsAreEqual(prevRefRect, nextRefRect)) {
|
|
1453
|
+
update();
|
|
1454
|
+
}
|
|
1455
|
+
prevRefRect = nextRefRect;
|
|
1456
|
+
frameId = requestAnimationFrame(frameLoop);
|
|
1457
|
+
}
|
|
1458
|
+
update();
|
|
1459
|
+
return () => {
|
|
1460
|
+
var _resizeObserver2;
|
|
1461
|
+
ancestors.forEach((ancestor) => {
|
|
1462
|
+
ancestorScroll && ancestor.removeEventListener("scroll", update);
|
|
1463
|
+
ancestorResize && ancestor.removeEventListener("resize", update);
|
|
1464
|
+
});
|
|
1465
|
+
cleanupIo == null || cleanupIo();
|
|
1466
|
+
(_resizeObserver2 = resizeObserver) == null || _resizeObserver2.disconnect();
|
|
1467
|
+
resizeObserver = null;
|
|
1468
|
+
if (animationFrame) {
|
|
1469
|
+
cancelAnimationFrame(frameId);
|
|
1470
|
+
}
|
|
1471
|
+
};
|
|
1472
|
+
}
|
|
1473
|
+
var offset2 = offset;
|
|
1474
|
+
var shift2 = shift;
|
|
1475
|
+
var flip2 = flip;
|
|
1476
|
+
var size2 = size;
|
|
1477
|
+
var arrow2 = arrow;
|
|
1478
|
+
var computePosition2 = (reference, floating, options) => {
|
|
1479
|
+
const cache = /* @__PURE__ */ new Map();
|
|
1480
|
+
const mergedOptions = __spreadValues({
|
|
1481
|
+
platform
|
|
1482
|
+
}, options);
|
|
1483
|
+
const platformWithCache = __spreadProps(__spreadValues({}, mergedOptions.platform), {
|
|
1484
|
+
_c: cache
|
|
1485
|
+
});
|
|
1486
|
+
return computePosition(reference, floating, __spreadProps(__spreadValues({}, mergedOptions), {
|
|
1487
|
+
platform: platformWithCache
|
|
1488
|
+
}));
|
|
1489
|
+
};
|
|
1490
|
+
|
|
1491
|
+
export {
|
|
1492
|
+
isContainingBlock,
|
|
1493
|
+
platform,
|
|
1494
|
+
autoUpdate,
|
|
1495
|
+
offset2 as offset,
|
|
1496
|
+
shift2 as shift,
|
|
1497
|
+
flip2 as flip,
|
|
1498
|
+
size2 as size,
|
|
1499
|
+
arrow2 as arrow,
|
|
1500
|
+
computePosition2 as computePosition
|
|
1501
|
+
};
|