@uplynk/lynk-design 1.0.0-beta.2 → 1.0.0-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cdn/chunks/chunk.22VACRYF.js +21 -0
- package/cdn/chunks/chunk.2C3AVNFZ.js +241 -0
- package/cdn/chunks/chunk.2FCJVZJU.js +11 -0
- package/cdn/chunks/chunk.2HGOXM7L.js +77 -0
- package/cdn/chunks/chunk.2HZTKSZT.js +89 -0
- package/cdn/chunks/chunk.2I36KEAK.js +57 -0
- package/cdn/chunks/chunk.2KVTQM46.js +11 -0
- package/cdn/chunks/chunk.2LPSN5KA.js +27 -0
- package/cdn/chunks/chunk.2PDP3X3U.js +24 -0
- package/cdn/chunks/chunk.2TMV4LH4.js +11 -0
- package/cdn/chunks/chunk.2VYUCHAI.js +1886 -0
- package/cdn/chunks/chunk.37237W5X.js +67 -0
- package/cdn/chunks/chunk.3DG5QJNR.js +21 -0
- package/cdn/chunks/chunk.3DTJ2PUC.js +21 -0
- package/cdn/chunks/chunk.3E27EHD6.js +280 -0
- package/cdn/chunks/chunk.3PF7NLG7.js +230 -0
- package/cdn/chunks/chunk.3SOA22PQ.js +78 -0
- package/cdn/chunks/chunk.3UERRZ4D.js +11 -0
- package/cdn/chunks/chunk.3ZX6Z7HU.js +11 -0
- package/cdn/chunks/chunk.4IE3P35N.js +25 -0
- package/cdn/chunks/chunk.4QHHGCDD.js +11 -0
- package/cdn/chunks/chunk.4S77JP2P.js +107 -0
- package/cdn/chunks/chunk.4UCGSPME.js +79 -0
- package/cdn/chunks/chunk.4ZFA2Y6Q.js +36 -0
- package/cdn/chunks/chunk.5BIIJR2Q.js +11 -0
- package/cdn/chunks/chunk.5DET5S55.js +24 -0
- package/cdn/chunks/chunk.5FUAKLRQ.js +233 -0
- package/cdn/chunks/chunk.5FXN2S6Z.js +21 -0
- package/cdn/chunks/chunk.5KPGFZ7F.js +11 -0
- package/cdn/chunks/chunk.5OZUV6PF.js +11 -0
- package/cdn/chunks/chunk.5SCD7F5P.js +11 -0
- package/cdn/chunks/chunk.5VWRWP3S.js +11 -0
- package/cdn/chunks/chunk.67MLDPRG.js +214 -0
- package/cdn/chunks/chunk.67YDFNTY.js +11 -0
- package/cdn/chunks/chunk.6FRCRCSI.js +11 -0
- package/cdn/chunks/chunk.6PATWSAJ.js +21 -0
- package/cdn/chunks/chunk.7D5DDJO7.js +21 -0
- package/cdn/chunks/chunk.7FBPSU56.js +24 -0
- package/cdn/chunks/chunk.7FD43VQD.js +344 -0
- package/cdn/chunks/chunk.7PUVSL3D.js +42 -0
- package/cdn/chunks/chunk.7RJO232F.js +159 -0
- package/cdn/chunks/chunk.7UXNUGPK.js +21 -0
- package/cdn/chunks/chunk.7WCZRCNU.js +435 -0
- package/cdn/chunks/chunk.A3EIWB5Y.js +11 -0
- package/cdn/chunks/chunk.AA7U2NM2.js +11 -0
- package/cdn/chunks/chunk.ADXRKEQJ.js +11 -0
- package/cdn/chunks/chunk.AIN3TL6X.js +25 -0
- package/cdn/chunks/chunk.AOCWF44B.js +24 -0
- package/cdn/chunks/chunk.AQEIB7VF.js +11 -0
- package/cdn/chunks/chunk.AT6TAOT5.js +21 -0
- package/cdn/chunks/chunk.B365GEDC.js +77 -0
- package/cdn/chunks/chunk.BRE45WHC.js +131 -0
- package/cdn/chunks/chunk.BXXNT45B.js +230 -0
- package/cdn/chunks/chunk.BY5BFWMK.js +98 -0
- package/cdn/chunks/chunk.CADHYGGD.js +27 -0
- package/cdn/chunks/chunk.CBBTGHPI.js +21 -0
- package/cdn/chunks/chunk.CLPS5SEC.js +117 -0
- package/cdn/chunks/chunk.CSBURTV2.js +11 -0
- package/cdn/chunks/chunk.CSJ4BC3R.js +88 -0
- package/cdn/chunks/chunk.CT4P3WY6.js +24 -0
- package/cdn/chunks/chunk.CUMDY2HF.js +21 -0
- package/cdn/chunks/chunk.DAY3APC5.js +42 -0
- package/cdn/chunks/chunk.DCN5XHW3.js +26 -0
- package/cdn/chunks/chunk.DDNCAV3H.js +11 -0
- package/cdn/chunks/chunk.DKVOQ6AI.js +35 -0
- package/cdn/chunks/chunk.DZQMASAS.js +11 -0
- package/cdn/chunks/chunk.E24J3TEN.js +65 -0
- package/cdn/chunks/chunk.E5BMFGKV.js +24 -0
- package/cdn/chunks/chunk.EILWYS45.js +21 -0
- package/cdn/chunks/chunk.EPBOELFB.js +28 -0
- package/cdn/chunks/chunk.EQDOXA7Z.js +36 -0
- package/cdn/chunks/chunk.ESDRLD4A.js +11 -0
- package/cdn/chunks/chunk.EWJUA2OQ.js +565 -0
- package/cdn/chunks/chunk.F66QQVLT.js +21 -0
- package/cdn/chunks/chunk.FFRZCU5O.js +21 -0
- package/cdn/chunks/chunk.FK6EADRC.js +21 -0
- package/cdn/chunks/chunk.FNYZY6MC.js +21 -0
- package/cdn/chunks/chunk.FPMJQYGP.js +88 -0
- package/cdn/chunks/chunk.FQ7772XT.js +11 -0
- package/cdn/chunks/chunk.FUVIFT2X.js +915 -0
- package/cdn/chunks/chunk.FVXZP2IP.js +11 -0
- package/cdn/chunks/chunk.G27ISYHK.js +387 -0
- package/cdn/chunks/chunk.G6Y2KJEW.js +144 -0
- package/cdn/chunks/chunk.GBEE526U.js +11 -0
- package/cdn/chunks/chunk.GGCIAOYA.js +25 -0
- package/cdn/chunks/chunk.GJX2OVA6.js +11 -0
- package/cdn/chunks/chunk.GMITTAQ2.js +64 -0
- package/cdn/chunks/chunk.GO3M7DGT.js +25 -0
- package/cdn/chunks/chunk.GQBVPXXL.js +21 -0
- package/cdn/chunks/chunk.GQPXJFUH.js +11 -0
- package/cdn/chunks/chunk.GWGRI2OR.js +24 -0
- package/cdn/chunks/chunk.GXG6RL6F.js +21 -0
- package/cdn/chunks/chunk.H7D5QWE5.js +370 -0
- package/cdn/chunks/chunk.HO74PDHA.js +50 -0
- package/cdn/chunks/chunk.HPO3O3FT.js +27 -0
- package/cdn/chunks/chunk.HQFSPSST.js +11 -0
- package/cdn/chunks/chunk.HUNFAQOW.js +11 -0
- package/cdn/chunks/chunk.HW3TOPD2.js +28 -0
- package/cdn/chunks/chunk.HZDG4EWR.js +11 -0
- package/cdn/chunks/chunk.I2LP4O52.js +25 -0
- package/cdn/chunks/chunk.I37YPYJ2.js +401 -0
- package/cdn/chunks/chunk.I4WUYGOL.js +82 -0
- package/cdn/chunks/chunk.IAIDAPNT.js +158 -0
- package/cdn/chunks/chunk.ICWJ4RUT.js +11 -0
- package/cdn/chunks/chunk.IH4NT7C2.js +162 -0
- package/cdn/chunks/chunk.IHFTCHIN.js +11 -0
- package/cdn/chunks/chunk.J5BRLJZ2.js +29 -0
- package/cdn/chunks/chunk.JDCNXEQB.js +21 -0
- package/cdn/chunks/chunk.JFSYYBFO.js +11 -0
- package/cdn/chunks/chunk.JNP3JGDX.js +21 -0
- package/cdn/chunks/chunk.JUIQXOSI.js +135 -0
- package/cdn/chunks/chunk.K4IXM2U5.js +28 -0
- package/cdn/chunks/chunk.K4K3RKGM.js +11 -0
- package/cdn/chunks/chunk.KFSPIO4P.js +11 -0
- package/cdn/chunks/chunk.KICRMPB3.js +120 -0
- package/cdn/chunks/chunk.KMEO4BAD.js +24 -0
- package/cdn/chunks/chunk.KOAMGIFW.js +96 -0
- package/cdn/chunks/chunk.KSAQPTJ2.js +113 -0
- package/cdn/chunks/chunk.KUPWYJJZ.js +11 -0
- package/cdn/chunks/chunk.KWTISM2E.js +21 -0
- package/cdn/chunks/chunk.LE4NYLYU.js +11 -0
- package/cdn/chunks/chunk.LL3VX7PG.js +11 -0
- package/cdn/chunks/chunk.LPKHYNYE.js +21 -0
- package/cdn/chunks/chunk.LT4FY5OH.js +24 -0
- package/cdn/chunks/chunk.LX6WOGW7.js +11 -0
- package/cdn/chunks/chunk.LZIPGVQS.js +21 -0
- package/cdn/chunks/chunk.MQW5VWEK.js +11 -0
- package/cdn/chunks/chunk.MVAJSRKZ.js +69 -0
- package/cdn/chunks/chunk.MVFB77AU.js +405 -0
- package/cdn/chunks/chunk.MWWNCSTV.js +87 -0
- package/cdn/chunks/chunk.MXBIPAVP.js +501 -0
- package/cdn/chunks/chunk.N2GII2NA.js +352 -0
- package/cdn/chunks/chunk.N6POHMO5.js +11 -0
- package/cdn/chunks/chunk.NAV5LTXQ.js +25 -0
- package/cdn/chunks/chunk.NERYG65K.js +21 -0
- package/cdn/chunks/chunk.NLZC5O4B.js +26 -0
- package/cdn/chunks/chunk.NPUBSNJP.js +11 -0
- package/cdn/chunks/chunk.NVSDFEQV.js +28 -0
- package/cdn/chunks/chunk.NYEZ4T3V.js +92 -0
- package/cdn/chunks/chunk.O6LUNP55.js +154 -0
- package/cdn/chunks/chunk.ODXTRB6J.js +11 -0
- package/cdn/chunks/chunk.OLGSCAWV.js +11 -0
- package/cdn/chunks/chunk.OMK7YQ7O.js +25 -0
- package/cdn/chunks/chunk.OTVRAULO.js +11 -0
- package/cdn/chunks/chunk.P2A3B4UK.js +25 -0
- package/cdn/chunks/chunk.P4PXSFH2.js +24 -0
- package/cdn/chunks/chunk.PAL45MOJ.js +38 -0
- package/cdn/chunks/chunk.PAYX4243.js +384 -0
- package/cdn/chunks/chunk.PF2DEOFY.js +21 -0
- package/cdn/chunks/chunk.PFJWP752.js +11 -0
- package/cdn/chunks/chunk.PPJ2UWSW.js +246 -0
- package/cdn/chunks/chunk.PQCCH76S.js +33 -0
- package/cdn/chunks/chunk.PSD6KBFS.js +21 -0
- package/cdn/chunks/chunk.PTANCRHI.js +56 -0
- package/cdn/chunks/chunk.PTSUSQB5.js +317 -0
- package/cdn/chunks/chunk.PWJ5DXIQ.js +201 -0
- package/cdn/chunks/chunk.Q42MIF4W.js +11 -0
- package/cdn/chunks/chunk.QK6IUQJM.js +11 -0
- package/cdn/chunks/chunk.QMGUSJ6S.js +21 -0
- package/cdn/chunks/chunk.QOGTEJ57.js +11 -0
- package/cdn/chunks/chunk.QTJMP6JY.js +24 -0
- package/cdn/chunks/chunk.QZGGJ3RB.js +11 -0
- package/cdn/chunks/chunk.R2ITTEFD.js +11 -0
- package/cdn/chunks/chunk.R33VJML4.js +103 -0
- package/cdn/chunks/chunk.RAPWU53E.js +69 -0
- package/cdn/chunks/chunk.RFRWKRQI.js +78 -0
- package/cdn/chunks/chunk.RNUK3K6B.js +24 -0
- package/cdn/chunks/chunk.RPDTJO5R.js +11 -0
- package/cdn/chunks/chunk.S3ZYSPDD.js +11 -0
- package/cdn/chunks/chunk.SACD24J5.js +289 -0
- package/cdn/chunks/chunk.SBT7U46P.js +73 -0
- package/cdn/chunks/chunk.SCNDG4VI.js +300 -0
- package/cdn/chunks/chunk.SS5IR2XE.js +11 -0
- package/cdn/chunks/chunk.SYDYWQ5T.js +11 -0
- package/cdn/chunks/chunk.T4CJSYKC.js +159 -0
- package/cdn/chunks/chunk.TFY3M7TH.js +145 -0
- package/cdn/chunks/chunk.TKKRVA6F.js +11 -0
- package/cdn/chunks/chunk.TLGIYBJ5.js +29 -0
- package/cdn/chunks/chunk.TMGMV6NH.js +897 -0
- package/cdn/chunks/chunk.TRF2MYST.js +11 -0
- package/cdn/chunks/chunk.TUHEHXEL.js +269 -0
- package/cdn/chunks/chunk.UBBSRNE2.js +11 -0
- package/cdn/chunks/chunk.UCGYWHKI.js +11 -0
- package/cdn/chunks/chunk.UG7CNME3.js +24 -0
- package/cdn/chunks/chunk.UHHLSMW6.js +11 -0
- package/cdn/chunks/chunk.UM5ZCMOB.js +11 -0
- package/cdn/chunks/chunk.USPI5F7J.js +27 -0
- package/cdn/chunks/chunk.UTWHX7FO.js +24 -0
- package/cdn/chunks/chunk.UUI65725.js +186 -0
- package/cdn/chunks/chunk.UVOFH4W5.js +21 -0
- package/cdn/chunks/chunk.UWUVYGJM.js +21 -0
- package/cdn/chunks/chunk.V2TYTQ6V.js +11 -0
- package/cdn/chunks/chunk.V5QIVZEY.js +11 -0
- package/cdn/chunks/chunk.V7A2P5VN.js +11 -0
- package/cdn/chunks/chunk.VA6XF6OU.js +11 -0
- package/cdn/chunks/chunk.VAYXDIB4.js +26 -0
- package/cdn/chunks/chunk.VHAIA4A6.js +11 -0
- package/cdn/chunks/chunk.VJJBW7TJ.js +11 -0
- package/cdn/chunks/chunk.VOB2A7EE.js +27 -0
- package/cdn/chunks/chunk.WGONB2FS.js +21 -0
- package/cdn/chunks/chunk.WIEOHGXY.js +21 -0
- package/cdn/chunks/chunk.WK52V4PW.js +216 -0
- package/cdn/chunks/chunk.WPJ4G2TU.js +11 -0
- package/cdn/chunks/chunk.WXOMKIGF.js +24 -0
- package/cdn/chunks/chunk.X4DFPF7Y.js +323 -0
- package/cdn/chunks/chunk.X5OSBDMM.js +11 -0
- package/cdn/chunks/chunk.XAQORCUH.js +93 -0
- package/cdn/chunks/chunk.XF5UA6GQ.js +11 -0
- package/cdn/chunks/chunk.XGUHUKKX.js +21 -0
- package/cdn/chunks/chunk.XPRCZQMU.js +308 -0
- package/cdn/chunks/chunk.XQFX6756.js +21 -0
- package/cdn/chunks/chunk.XXP3WAMG.js +11 -0
- package/cdn/chunks/chunk.Y2XQXV5L.js +27 -0
- package/cdn/chunks/chunk.YDVAFFAV.js +11 -0
- package/cdn/chunks/chunk.YLJXF4FY.js +30 -0
- package/cdn/chunks/chunk.YNALN2H2.js +11 -0
- package/cdn/chunks/chunk.YNLKYROK.js +27 -0
- package/cdn/chunks/chunk.YODDPBOV.js +63 -0
- package/cdn/chunks/chunk.YSSSV435.js +63 -0
- package/cdn/chunks/chunk.YYI3T2XQ.js +11 -0
- package/cdn/chunks/chunk.Z2OY5V5X.js +21 -0
- package/cdn/chunks/chunk.Z56PNWZ6.js +21 -0
- package/cdn/chunks/chunk.Z6VUDMMC.js +34 -0
- package/cdn/chunks/chunk.ZF2WQ532.js +24 -0
- package/cdn/chunks/chunk.ZH3L36HJ.js +79 -0
- package/cdn/chunks/chunk.ZHIU2YRB.js +21 -0
- package/cdn/chunks/chunk.ZUCCMGLP.js +27 -0
- package/cdn/components/accordion/accordion.component.js +2 -2
- package/cdn/components/accordion/accordion.js +3 -3
- package/cdn/components/alert/alert.component.js +4 -4
- package/cdn/components/alert/alert.js +5 -5
- package/cdn/components/animation/animation.component.js +2 -2
- package/cdn/components/animation/animation.js +3 -3
- package/cdn/components/auto-grid/auto-grid.component.js +2 -2
- package/cdn/components/auto-grid/auto-grid.js +3 -3
- package/cdn/components/badge/badge.component.d.ts +1 -1
- package/cdn/components/badge/badge.component.js +3 -3
- package/cdn/components/badge/badge.js +4 -4
- package/cdn/components/badge/badge.styles.js +1 -1
- package/cdn/components/box/box.component.js +2 -2
- package/cdn/components/box/box.js +3 -3
- package/cdn/components/breadcrumb/breadcrumb.component.js +3 -3
- package/cdn/components/breadcrumb/breadcrumb.js +4 -4
- package/cdn/components/breadcrumb-item/breadcrumb-item.component.js +4 -4
- package/cdn/components/breadcrumb-item/breadcrumb-item.js +5 -5
- package/cdn/components/button/button.component.d.ts +1 -1
- package/cdn/components/button/button.component.js +5 -5
- package/cdn/components/button/button.js +6 -6
- package/cdn/components/button/button.styles.js +1 -1
- 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.d.ts +1 -1
- package/cdn/components/card/card.component.js +3 -3
- package/cdn/components/card/card.js +4 -4
- package/cdn/components/card/card.styles.js +1 -1
- package/cdn/components/checkbox/checkbox.component.js +3 -3
- package/cdn/components/checkbox/checkbox.js +4 -4
- package/cdn/components/copy-button/copy-button.component.js +5 -5
- package/cdn/components/copy-button/copy-button.js +6 -6
- package/cdn/components/dialog/dialog.component.js +4 -4
- package/cdn/components/dialog/dialog.js +5 -5
- package/cdn/components/divider/divider.component.js +2 -2
- package/cdn/components/divider/divider.js +3 -3
- package/cdn/components/drawer/drawer.component.js +4 -4
- package/cdn/components/drawer/drawer.js +5 -5
- package/cdn/components/dropdown/dropdown.component.js +3 -3
- package/cdn/components/dropdown/dropdown.js +4 -4
- package/cdn/components/form-field/form-field.component.js +5 -5
- package/cdn/components/form-field/form-field.js +6 -6
- package/cdn/components/format-bytes/format-bytes.component.js +2 -2
- package/cdn/components/format-bytes/format-bytes.js +3 -3
- package/cdn/components/format-date/format-date.component.js +2 -2
- package/cdn/components/format-date/format-date.js +3 -3
- package/cdn/components/format-number/format-number.component.js +2 -2
- package/cdn/components/format-number/format-number.js +3 -3
- package/cdn/components/grid/grid.component.js +2 -2
- package/cdn/components/grid/grid.js +3 -3
- package/cdn/components/icon/icon.component.js +2 -2
- package/cdn/components/icon/icon.js +3 -3
- package/cdn/components/icon-button/icon-button.component.js +3 -3
- package/cdn/components/icon-button/icon-button.js +4 -4
- package/cdn/components/include/include.component.js +2 -2
- package/cdn/components/include/include.js +3 -3
- package/cdn/components/input/input.component.js +6 -6
- package/cdn/components/input/input.js +7 -7
- package/cdn/components/intersection-observer/intersection-observer.component.js +2 -2
- package/cdn/components/intersection-observer/intersection-observer.js +3 -3
- 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 +3 -3
- package/cdn/components/menu-item/menu-item.js +4 -4
- 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/nav/nav.component.js +7 -7
- package/cdn/components/nav/nav.js +8 -8
- package/cdn/components/nav-group/nav-group.component.js +2 -2
- package/cdn/components/nav-group/nav-group.js +3 -3
- package/cdn/components/nav-item/nav-item.component.js +5 -5
- package/cdn/components/nav-item/nav-item.js +6 -6
- package/cdn/components/option/option.component.js +3 -3
- package/cdn/components/option/option.js +4 -4
- package/cdn/components/page/page.component.js +2 -2
- package/cdn/components/page/page.js +3 -3
- package/cdn/components/page-content/page-content.component.js +3 -3
- package/cdn/components/page-content/page-content.js +4 -4
- package/cdn/components/page-footer/page-footer.component.js +4 -4
- package/cdn/components/page-footer/page-footer.js +5 -5
- package/cdn/components/page-header/page-header.component.js +4 -4
- package/cdn/components/page-header/page-header.js +5 -5
- package/cdn/components/page-sidebar/page-sidebar.component.js +10 -10
- package/cdn/components/page-sidebar/page-sidebar.js +11 -11
- package/cdn/components/panel/panel.component.js +4 -4
- package/cdn/components/panel/panel.js +5 -5
- package/cdn/components/popover/popover.component.js +3 -3
- package/cdn/components/popover/popover.js +4 -4
- package/cdn/components/popup/popup.component.js +2 -2
- package/cdn/components/popup/popup.js +3 -3
- package/cdn/components/progress-bar/progress-bar.component.js +2 -2
- package/cdn/components/progress-bar/progress-bar.js +3 -3
- package/cdn/components/progress-ring/progress-ring.component.js +2 -2
- package/cdn/components/progress-ring/progress-ring.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 +4 -4
- package/cdn/components/radio-button/radio-button.js +5 -5
- package/cdn/components/radio-button/radio-button.styles.js +2 -2
- package/cdn/components/radio-group/radio-group.component.js +5 -5
- package/cdn/components/radio-group/radio-group.js +6 -6
- package/cdn/components/range/range.component.js +2 -2
- package/cdn/components/range/range.js +3 -3
- package/cdn/components/relative-time/relative-time.component.js +2 -2
- package/cdn/components/relative-time/relative-time.js +3 -3
- package/cdn/components/resize-observer/resize-observer.component.js +2 -2
- package/cdn/components/resize-observer/resize-observer.js +3 -3
- package/cdn/components/responsive-media/responsive-media.component.js +2 -2
- package/cdn/components/responsive-media/responsive-media.js +3 -3
- package/cdn/components/select/select.component.js +7 -7
- package/cdn/components/select/select.js +8 -8
- package/cdn/components/spinner/spinner.component.js +2 -2
- package/cdn/components/spinner/spinner.js +3 -3
- package/cdn/components/split-panel/split-panel.component.js +2 -2
- package/cdn/components/split-panel/split-panel.js +3 -3
- package/cdn/components/stack/stack.component.js +2 -2
- package/cdn/components/stack/stack.js +3 -3
- package/cdn/components/switch/switch.component.js +2 -2
- package/cdn/components/switch/switch.js +3 -3
- package/cdn/components/tab/tab.component.js +4 -4
- package/cdn/components/tab/tab.js +5 -5
- package/cdn/components/tab-group/tab-group.component.js +5 -5
- package/cdn/components/tab-group/tab-group.js +6 -6
- package/cdn/components/tab-panel/tab-panel.component.js +2 -2
- package/cdn/components/tab-panel/tab-panel.js +3 -3
- package/cdn/components/table/table.component.js +2 -2
- package/cdn/components/table/table.js +3 -3
- package/cdn/components/table-cell/table-cell.component.js +3 -3
- package/cdn/components/table-cell/table-cell.js +4 -4
- package/cdn/components/table-cell/table-cell.styles.js +1 -1
- package/cdn/components/table-column/table-column.component.js +2 -2
- package/cdn/components/table-column/table-column.js +3 -3
- package/cdn/components/table-column-group/table-column-group.component.js +2 -2
- package/cdn/components/table-column-group/table-column-group.js +3 -3
- package/cdn/components/table-header/table-header.component.js +2 -2
- package/cdn/components/table-header/table-header.js +3 -3
- package/cdn/components/table-header-group/table-header-group.component.js +2 -2
- package/cdn/components/table-header-group/table-header-group.js +3 -3
- package/cdn/components/table-row/table-row.component.d.ts +1 -1
- package/cdn/components/table-row/table-row.component.js +3 -3
- package/cdn/components/table-row/table-row.js +4 -4
- package/cdn/components/table-row/table-row.styles.js +1 -1
- package/cdn/components/table-row-group/table-row-group.component.js +2 -2
- package/cdn/components/table-row-group/table-row-group.js +3 -3
- package/cdn/components/tag/tag.component.d.ts +2 -2
- package/cdn/components/tag/tag.component.js +5 -5
- package/cdn/components/tag/tag.js +6 -6
- package/cdn/components/tag/tag.styles.js +1 -1
- package/cdn/components/textarea/textarea.component.js +5 -5
- package/cdn/components/textarea/textarea.js +6 -6
- package/cdn/components/tooltip/tooltip.component.js +3 -3
- package/cdn/components/tooltip/tooltip.js +4 -4
- package/cdn/components/truncate/truncate.component.js +2 -2
- package/cdn/components/truncate/truncate.js +3 -3
- 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 +465 -465
- package/cdn/lynk.js +157 -157
- package/cdn/react/index.d.ts +1 -1
- package/cdn/react/index.js +164 -164
- package/cdn/react/lynk-accordion/index.js +3 -3
- package/cdn/react/lynk-alert/index.js +5 -5
- package/cdn/react/lynk-animation/index.js +3 -3
- package/cdn/react/lynk-auto-grid/index.js +3 -3
- package/cdn/react/lynk-badge/index.js +4 -4
- package/cdn/react/lynk-box/index.js +3 -3
- package/cdn/react/lynk-breadcrumb/index.js +4 -4
- package/cdn/react/lynk-breadcrumb-item/index.js +5 -5
- package/cdn/react/lynk-button/index.js +6 -6
- package/cdn/react/lynk-button-group/index.js +3 -3
- package/cdn/react/lynk-card/index.js +4 -4
- package/cdn/react/lynk-checkbox/index.js +4 -4
- package/cdn/react/lynk-copy-button/index.js +6 -6
- package/cdn/react/lynk-dialog/index.js +5 -5
- package/cdn/react/lynk-divider/index.js +3 -3
- package/cdn/react/lynk-drawer/index.js +5 -5
- package/cdn/react/lynk-dropdown/index.js +4 -4
- package/cdn/react/lynk-form-field/index.js +6 -6
- package/cdn/react/lynk-format-bytes/index.js +3 -3
- package/cdn/react/lynk-format-date/index.js +3 -3
- package/cdn/react/lynk-format-number/index.js +3 -3
- package/cdn/react/lynk-grid/index.js +3 -3
- package/cdn/react/lynk-icon/index.js +3 -3
- package/cdn/react/lynk-icon-button/index.js +4 -4
- package/cdn/react/lynk-include/index.js +3 -3
- package/cdn/react/lynk-input/index.js +7 -7
- package/cdn/react/lynk-intersection-observer/index.js +3 -3
- package/cdn/react/lynk-menu/index.js +3 -3
- package/cdn/react/lynk-menu-item/index.js +4 -4
- package/cdn/react/lynk-menu-label/index.js +3 -3
- package/cdn/react/lynk-mutation-observer/index.js +3 -3
- package/cdn/react/lynk-nav/index.js +8 -8
- package/cdn/react/lynk-nav-group/index.js +3 -3
- package/cdn/react/lynk-nav-item/index.js +6 -6
- package/cdn/react/lynk-option/index.js +4 -4
- package/cdn/react/lynk-page/index.js +3 -3
- package/cdn/react/lynk-page-content/index.js +4 -4
- package/cdn/react/lynk-page-footer/index.js +5 -5
- package/cdn/react/lynk-page-header/index.js +5 -5
- package/cdn/react/lynk-page-sidebar/index.js +11 -11
- package/cdn/react/lynk-panel/index.js +5 -5
- package/cdn/react/lynk-popover/index.js +4 -4
- package/cdn/react/lynk-popup/index.js +3 -3
- package/cdn/react/lynk-progress-bar/index.js +3 -3
- package/cdn/react/lynk-progress-ring/index.js +3 -3
- package/cdn/react/lynk-radio/index.js +4 -4
- package/cdn/react/lynk-radio-button/index.js +5 -5
- package/cdn/react/lynk-radio-group/index.js +6 -6
- package/cdn/react/lynk-range/index.js +3 -3
- package/cdn/react/lynk-relative-time/index.js +3 -3
- package/cdn/react/lynk-resize-observer/index.js +3 -3
- package/cdn/react/lynk-responsive-media/index.js +3 -3
- package/cdn/react/lynk-select/index.js +8 -8
- package/cdn/react/lynk-spinner/index.js +3 -3
- package/cdn/react/lynk-split-panel/index.js +3 -3
- package/cdn/react/lynk-stack/index.js +3 -3
- package/cdn/react/lynk-switch/index.js +3 -3
- package/cdn/react/lynk-tab/index.js +5 -5
- package/cdn/react/lynk-tab-group/index.js +6 -6
- package/cdn/react/lynk-tab-panel/index.js +3 -3
- package/cdn/react/lynk-table/index.js +3 -3
- package/cdn/react/lynk-table-cell/index.js +4 -4
- package/cdn/react/lynk-table-column/index.js +3 -3
- package/cdn/react/lynk-table-column-group/index.js +3 -3
- package/cdn/react/lynk-table-header/index.js +3 -3
- package/cdn/react/lynk-table-header-group/index.js +3 -3
- package/cdn/react/lynk-table-row/index.js +4 -4
- package/cdn/react/lynk-table-row-group/index.js +3 -3
- package/cdn/react/lynk-tag/index.js +6 -6
- package/cdn/react/lynk-textarea/index.js +6 -6
- package/cdn/react/lynk-tooltip/index.js +4 -4
- package/cdn/react/lynk-truncate/index.js +3 -3
- package/cdn/react/lynk-visually-hidden/index.js +3 -3
- package/cdn/themes/dark.css +106 -28
- package/cdn/themes/dark.styles.js +106 -28
- package/cdn/themes/light.css +53 -0
- package/cdn/themes/light.styles.js +53 -0
- package/cdn/types/vue/index.d.ts +43 -43
- package/cdn/vscode.html-custom-data.json +82 -69
- package/cdn/web-types.json +103 -103
- package/dist/chunks/chunk.255X6EDX.js +557 -0
- package/dist/chunks/chunk.275PVVKZ.js +11 -0
- package/dist/chunks/chunk.2EBWTDD7.js +27 -0
- package/dist/chunks/chunk.2FY7DYB2.js +11 -0
- package/dist/chunks/chunk.2GMZHPQ7.js +11 -0
- package/dist/chunks/chunk.2MWAXEPI.js +21 -0
- package/dist/chunks/chunk.2NFDY6MN.js +11 -0
- package/dist/chunks/chunk.2NSB3LQD.js +380 -0
- package/dist/chunks/chunk.2PMTAR4L.js +11 -0
- package/dist/chunks/chunk.2XAIWDZG.js +24 -0
- package/dist/chunks/chunk.2Z4RPVQG.js +24 -0
- package/dist/chunks/chunk.2ZCATYUV.js +11 -0
- package/dist/chunks/chunk.2ZUWR33Y.js +22 -0
- package/dist/chunks/chunk.3B3L7BSW.js +11 -0
- package/dist/chunks/chunk.3B4BHZ2V.js +318 -0
- package/dist/chunks/chunk.3DCK3DX6.js +11 -0
- package/dist/chunks/chunk.3DOTCEZQ.js +21 -0
- package/dist/chunks/chunk.3IL4NM2W.js +21 -0
- package/dist/chunks/chunk.3KDWPSOU.js +21 -0
- package/dist/chunks/chunk.3N6MEMLM.js +42 -0
- package/dist/chunks/chunk.42IL7R33.js +11 -0
- package/dist/chunks/chunk.4BV63CSV.js +40 -0
- package/dist/chunks/chunk.4TVMJBIS.js +241 -0
- package/dist/chunks/chunk.4ZO73SFX.js +137 -0
- package/dist/chunks/chunk.52TPZRXP.js +24 -0
- package/dist/chunks/chunk.54XXFIBJ.js +11 -0
- package/dist/chunks/chunk.56WLVQVY.js +11 -0
- package/dist/chunks/chunk.57SOANYY.js +85 -0
- package/dist/chunks/chunk.5RMUBBAB.js +11 -0
- package/dist/chunks/chunk.5UL4IQKF.js +11 -0
- package/dist/chunks/chunk.5XP6ZKAN.js +11 -0
- package/dist/chunks/chunk.5XWKMVQT.js +21 -0
- package/dist/chunks/chunk.62UW4QW5.js +227 -0
- package/dist/chunks/chunk.6EDPYTZI.js +136 -0
- package/dist/chunks/chunk.6KZEKHTN.js +11 -0
- package/dist/chunks/chunk.6LLIFYOP.js +11 -0
- package/dist/chunks/chunk.6O2EWKWB.js +21 -0
- package/dist/chunks/chunk.6ULJQNOP.js +24 -0
- package/dist/chunks/chunk.6Y573AN3.js +21 -0
- package/dist/chunks/chunk.7CMI3TDT.js +75 -0
- package/dist/chunks/chunk.7EFDZ5VR.js +11 -0
- package/dist/chunks/chunk.7YEM36HP.js +11 -0
- package/dist/chunks/chunk.7YOUQNN6.js +11 -0
- package/dist/chunks/chunk.A2LOWFJZ.js +11 -0
- package/dist/chunks/chunk.A3O3PZTW.js +283 -0
- package/dist/chunks/chunk.A6WSFLNZ.js +25 -0
- package/dist/chunks/chunk.AD2Q5O7X.js +22 -0
- package/dist/chunks/chunk.ADAR35DB.js +11 -0
- package/dist/chunks/chunk.ANUAHPDN.js +28 -0
- package/dist/chunks/chunk.AQODPRRO.js +21 -0
- package/dist/chunks/chunk.ASAAKKUT.js +94 -0
- package/dist/chunks/chunk.B5GZ7VI5.js +34 -0
- package/dist/chunks/chunk.B7OJ7ICI.js +153 -0
- package/dist/chunks/chunk.BA3HGIW5.js +293 -0
- package/dist/chunks/chunk.BDRYUUM7.js +21 -0
- package/dist/chunks/chunk.BTCGYVYP.js +11 -0
- package/dist/chunks/chunk.BXTOUO73.js +21 -0
- package/dist/chunks/chunk.C6JWOQT6.js +24 -0
- package/dist/chunks/chunk.CQBCXFVS.js +11 -0
- package/dist/chunks/chunk.CRQRXDKJ.js +11 -0
- package/dist/chunks/chunk.CRSZ2VF7.js +27 -0
- package/dist/chunks/chunk.DDJX56W5.js +11 -0
- package/dist/chunks/chunk.DP2DZ3M5.js +11 -0
- package/dist/chunks/chunk.DQXO2GBU.js +121 -0
- package/dist/chunks/chunk.DTOAPBO7.js +28 -0
- package/dist/chunks/chunk.DZGCQEUD.js +11 -0
- package/dist/chunks/chunk.DZHGO5OR.js +11 -0
- package/dist/chunks/chunk.E2WQXVRU.js +21 -0
- package/dist/chunks/chunk.E352CY24.js +21 -0
- package/dist/chunks/chunk.E7UO6WRA.js +87 -0
- package/dist/chunks/chunk.ELG2WH43.js +21 -0
- package/dist/chunks/chunk.ENTA7X4D.js +235 -0
- package/dist/chunks/chunk.EPY4JOOX.js +150 -0
- package/dist/chunks/chunk.ES5Y4UKS.js +115 -0
- package/dist/chunks/chunk.EZLBYOEP.js +858 -0
- package/dist/chunks/chunk.F3EHSLUF.js +63 -0
- package/dist/chunks/chunk.F7ATGDUS.js +11 -0
- package/dist/chunks/chunk.FCWLNRWT.js +159 -0
- package/dist/chunks/chunk.FH5NHRGV.js +151 -0
- package/dist/chunks/chunk.FHM2ZKBT.js +94 -0
- package/dist/chunks/chunk.FHPJGJVQ.js +211 -0
- package/dist/chunks/chunk.FJ5DCPUK.js +11 -0
- package/dist/chunks/chunk.FX4ZG2ZM.js +11 -0
- package/dist/chunks/chunk.FXL65C4T.js +11 -0
- package/dist/chunks/chunk.FYUSXLSX.js +27 -0
- package/dist/chunks/chunk.G3UWTJ2V.js +34 -0
- package/dist/chunks/chunk.G5AFB7BW.js +53 -0
- package/dist/chunks/chunk.GBBTBWGZ.js +75 -0
- package/dist/chunks/chunk.GEA6USOM.js +21 -0
- package/dist/chunks/chunk.GKTR7EP3.js +21 -0
- package/dist/chunks/chunk.GL3XS4K3.js +417 -0
- package/dist/chunks/chunk.GMM2EFQC.js +11 -0
- package/dist/chunks/chunk.GXUB5VZ3.js +11 -0
- package/dist/chunks/chunk.H7NX5CL6.js +11 -0
- package/dist/chunks/chunk.HI7W7WOX.js +11 -0
- package/dist/chunks/chunk.HS7L3FDS.js +11 -0
- package/dist/chunks/chunk.HVDL4NQR.js +227 -0
- package/dist/chunks/chunk.I63OHIHR.js +21 -0
- package/dist/chunks/chunk.I6KL5Y5P.js +75 -0
- package/dist/chunks/chunk.IC7Q3JHA.js +63 -0
- package/dist/chunks/chunk.IH7JRVME.js +11 -0
- package/dist/chunks/chunk.IVSDNI4P.js +52 -0
- package/dist/chunks/chunk.J53LHETZ.js +86 -0
- package/dist/chunks/chunk.JP3FTJF5.js +50 -0
- package/dist/chunks/chunk.JR37GZJM.js +22 -0
- package/dist/chunks/chunk.JTEJ3VRQ.js +26 -0
- package/dist/chunks/chunk.JVD5EOCA.js +123 -0
- package/dist/chunks/chunk.JVPHN7YA.js +222 -0
- package/dist/chunks/chunk.JYSZ3WYQ.js +83 -0
- package/dist/chunks/chunk.K4UASZVP.js +11 -0
- package/dist/chunks/chunk.K5FF7Q6E.js +11 -0
- package/dist/chunks/chunk.K5G4OWCP.js +25 -0
- package/dist/chunks/chunk.KBLY2T7M.js +25 -0
- package/dist/chunks/chunk.KOP7NMIL.js +11 -0
- package/dist/chunks/chunk.KQQ73YDV.js +33 -0
- package/dist/chunks/chunk.KTK324CM.js +93 -0
- package/dist/chunks/chunk.KYEZ76Y6.js +11 -0
- package/dist/chunks/chunk.L5GZOG2B.js +21 -0
- package/dist/chunks/chunk.LEMM24LF.js +396 -0
- package/dist/chunks/chunk.LMY2FOA2.js +427 -0
- package/dist/chunks/chunk.LR2GMQ2U.js +21 -0
- package/dist/chunks/chunk.M5ISSNZG.js +73 -0
- package/dist/chunks/chunk.M6Y4DQKC.js +21 -0
- package/dist/chunks/chunk.MD5Z43F6.js +494 -0
- package/dist/chunks/chunk.MF3JCIXS.js +74 -0
- package/dist/chunks/chunk.MI3OVWW5.js +11 -0
- package/dist/chunks/chunk.MQAO2FJX.js +24 -0
- package/dist/chunks/chunk.MXBZTTZP.js +85 -0
- package/dist/chunks/chunk.N32GS3TM.js +21 -0
- package/dist/chunks/chunk.N3AZSWZX.js +11 -0
- package/dist/chunks/chunk.N6UVCBWI.js +29 -0
- package/dist/chunks/chunk.NF2EOQ67.js +24 -0
- package/dist/chunks/chunk.NFMKLHZ2.js +27 -0
- package/dist/chunks/chunk.NGDPK4JE.js +375 -0
- package/dist/chunks/chunk.NI6L6TAA.js +22 -0
- package/dist/chunks/chunk.NU7A237R.js +28 -0
- package/dist/chunks/chunk.NUYJVDMP.js +21 -0
- package/dist/chunks/chunk.O3TI4V7V.js +343 -0
- package/dist/chunks/chunk.O3VKFBQ3.js +21 -0
- package/dist/chunks/chunk.O7SZPZIX.js +363 -0
- package/dist/chunks/chunk.OBF42YPG.js +21 -0
- package/dist/chunks/chunk.OIU53NG6.js +36 -0
- package/dist/chunks/chunk.P5ZD6XNA.js +29 -0
- package/dist/chunks/chunk.PCEQKHBR.js +72 -0
- package/dist/chunks/chunk.PEZVYU3E.js +21 -0
- package/dist/chunks/chunk.PQDKD6AM.js +103 -0
- package/dist/chunks/chunk.PUC4PD2N.js +24 -0
- package/dist/chunks/chunk.PXQ373E6.js +303 -0
- package/dist/chunks/chunk.Q25USOAD.js +25 -0
- package/dist/chunks/chunk.QAHJI34B.js +61 -0
- package/dist/chunks/chunk.QGGYXD73.js +27 -0
- package/dist/chunks/chunk.QHDNUKO6.js +80 -0
- package/dist/chunks/chunk.QIS3NVVU.js +21 -0
- package/dist/chunks/chunk.QKFJOBUJ.js +912 -0
- package/dist/chunks/chunk.QUKMY3AP.js +33 -0
- package/dist/chunks/chunk.QW6SSC53.js +11 -0
- package/dist/chunks/chunk.QWQ3DIEL.js +11 -0
- package/dist/chunks/chunk.QWRHBMLY.js +11 -0
- package/dist/chunks/chunk.QYZPLX6T.js +90 -0
- package/dist/chunks/chunk.RMUW4ZVF.js +26 -0
- package/dist/chunks/chunk.RNOGOGQG.js +28 -0
- package/dist/chunks/chunk.RO464FSX.js +11 -0
- package/dist/chunks/chunk.RQHGNPPI.js +21 -0
- package/dist/chunks/chunk.RUOALAF3.js +11 -0
- package/dist/chunks/chunk.RWKIISV7.js +21 -0
- package/dist/chunks/chunk.RZ6MOEIZ.js +11 -0
- package/dist/chunks/chunk.S5KD6CKZ.js +25 -0
- package/dist/chunks/chunk.SEWLPFU2.js +11 -0
- package/dist/chunks/chunk.SFGCTMRG.js +21 -0
- package/dist/chunks/chunk.SFZPLQZB.js +11 -0
- package/dist/chunks/chunk.SH5FPQAZ.js +181 -0
- package/dist/chunks/chunk.SJKUT2L2.js +21 -0
- package/dist/chunks/chunk.SL2Z5ZT6.js +27 -0
- package/dist/chunks/chunk.SMPVOUGB.js +22 -0
- package/dist/chunks/chunk.SOCLTVGO.js +309 -0
- package/dist/chunks/chunk.SUK5LSSK.js +25 -0
- package/dist/chunks/chunk.SYMHPHDZ.js +211 -0
- package/dist/chunks/chunk.T55ODTMW.js +11 -0
- package/dist/chunks/chunk.TCN447RV.js +67 -0
- package/dist/chunks/chunk.TMNEWFOO.js +100 -0
- package/dist/chunks/chunk.TNTH54I4.js +30 -0
- package/dist/chunks/chunk.TP5Q36N2.js +21 -0
- package/dist/chunks/chunk.TPSNRTE4.js +11 -0
- package/dist/chunks/chunk.TRU7T6YM.js +11 -0
- package/dist/chunks/chunk.TTCAWZ5U.js +27 -0
- package/dist/chunks/chunk.V6EWPUKP.js +399 -0
- package/dist/chunks/chunk.V775BMOX.js +21 -0
- package/dist/chunks/chunk.VAVP5UQX.js +24 -0
- package/dist/chunks/chunk.VD5HNTEQ.js +133 -0
- package/dist/chunks/chunk.VFVDOVRK.js +11 -0
- package/dist/chunks/chunk.VJYFE2BB.js +111 -0
- package/dist/chunks/chunk.VYDGDAMH.js +21 -0
- package/dist/chunks/chunk.VYROT6VZ.js +11 -0
- package/dist/chunks/chunk.WBCEZL6A.js +26 -0
- package/dist/chunks/chunk.WCZODNUF.js +21 -0
- package/dist/chunks/chunk.WDUOJ33T.js +11 -0
- package/dist/chunks/chunk.WHNADZQM.js +11 -0
- package/dist/chunks/chunk.WJ3HYXYE.js +11 -0
- package/dist/chunks/chunk.WKYAPKIN.js +11 -0
- package/dist/chunks/chunk.WQSQ2YM3.js +25 -0
- package/dist/chunks/chunk.WWAR5NAB.js +11 -0
- package/dist/chunks/chunk.WYBHEJLW.js +275 -0
- package/dist/chunks/chunk.X2PJDTJV.js +11 -0
- package/dist/chunks/chunk.XAL2T6LX.js +11 -0
- package/dist/chunks/chunk.XHFGMXOA.js +24 -0
- package/dist/chunks/chunk.XIPMXUN2.js +11 -0
- package/dist/chunks/chunk.XM24AM5A.js +65 -0
- package/dist/chunks/chunk.XOTCWIUI.js +60 -0
- package/dist/chunks/chunk.XPP5MKZM.js +153 -0
- package/dist/chunks/chunk.XRCKARY6.js +21 -0
- package/dist/chunks/chunk.XRLEQKUV.js +24 -0
- package/dist/chunks/chunk.XT4FEC4K.js +11 -0
- package/dist/chunks/chunk.XTIIPHDR.js +11 -0
- package/dist/chunks/chunk.XWEEKPY3.js +11 -0
- package/dist/chunks/chunk.XX4RDWVN.js +11 -0
- package/dist/chunks/chunk.XZRDSMHW.js +11 -0
- package/dist/chunks/chunk.Y3HWN7N3.js +30 -0
- package/dist/chunks/chunk.YSC2BNZZ.js +74 -0
- package/dist/chunks/chunk.YWPN3L7B.js +335 -0
- package/dist/chunks/chunk.YWZ5WTBT.js +27 -0
- package/dist/chunks/chunk.Z3S2I4LU.js +67 -0
- package/dist/chunks/chunk.Z3STKS7Y.js +21 -0
- package/dist/chunks/chunk.ZA62QVXW.js +11 -0
- package/dist/chunks/chunk.ZDOZ37E6.js +61 -0
- package/dist/chunks/chunk.ZJK7GKTH.js +11 -0
- package/dist/chunks/chunk.ZKGWFQCS.js +25 -0
- package/dist/chunks/chunk.ZRAY2Y57.js +11 -0
- package/dist/components/accordion/accordion.component.js +2 -2
- package/dist/components/accordion/accordion.js +3 -3
- package/dist/components/alert/alert.component.js +4 -4
- package/dist/components/alert/alert.js +5 -5
- package/dist/components/animation/animation.component.js +2 -2
- package/dist/components/animation/animation.js +3 -3
- package/dist/components/auto-grid/auto-grid.component.js +2 -2
- package/dist/components/auto-grid/auto-grid.js +3 -3
- package/dist/components/badge/badge.component.d.ts +1 -1
- package/dist/components/badge/badge.component.js +3 -3
- package/dist/components/badge/badge.js +4 -4
- package/dist/components/badge/badge.styles.js +1 -1
- package/dist/components/box/box.component.js +2 -2
- package/dist/components/box/box.js +3 -3
- package/dist/components/breadcrumb/breadcrumb.component.js +3 -3
- package/dist/components/breadcrumb/breadcrumb.js +4 -4
- package/dist/components/breadcrumb-item/breadcrumb-item.component.js +4 -4
- package/dist/components/breadcrumb-item/breadcrumb-item.js +5 -5
- package/dist/components/button/button.component.d.ts +1 -1
- package/dist/components/button/button.component.js +5 -5
- package/dist/components/button/button.js +6 -6
- package/dist/components/button/button.styles.js +1 -1
- package/dist/components/button-group/button-group.component.js +2 -2
- package/dist/components/button-group/button-group.js +3 -3
- package/dist/components/card/card.component.d.ts +1 -1
- package/dist/components/card/card.component.js +3 -3
- package/dist/components/card/card.js +4 -4
- package/dist/components/card/card.styles.js +1 -1
- package/dist/components/checkbox/checkbox.component.js +3 -3
- package/dist/components/checkbox/checkbox.js +4 -4
- package/dist/components/copy-button/copy-button.component.js +5 -5
- package/dist/components/copy-button/copy-button.js +6 -6
- package/dist/components/dialog/dialog.component.js +4 -4
- package/dist/components/dialog/dialog.js +5 -5
- package/dist/components/divider/divider.component.js +2 -2
- package/dist/components/divider/divider.js +3 -3
- package/dist/components/drawer/drawer.component.js +4 -4
- package/dist/components/drawer/drawer.js +5 -5
- package/dist/components/dropdown/dropdown.component.js +3 -3
- package/dist/components/dropdown/dropdown.js +4 -4
- package/dist/components/form-field/form-field.component.js +5 -5
- package/dist/components/form-field/form-field.js +6 -6
- package/dist/components/format-bytes/format-bytes.component.js +2 -2
- package/dist/components/format-bytes/format-bytes.js +3 -3
- package/dist/components/format-date/format-date.component.js +2 -2
- package/dist/components/format-date/format-date.js +3 -3
- package/dist/components/format-number/format-number.component.js +2 -2
- package/dist/components/format-number/format-number.js +3 -3
- package/dist/components/grid/grid.component.js +2 -2
- package/dist/components/grid/grid.js +3 -3
- package/dist/components/icon/icon.component.js +2 -2
- package/dist/components/icon/icon.js +3 -3
- package/dist/components/icon-button/icon-button.component.js +3 -3
- package/dist/components/icon-button/icon-button.js +4 -4
- package/dist/components/include/include.component.js +2 -2
- package/dist/components/include/include.js +3 -3
- package/dist/components/input/input.component.js +6 -6
- package/dist/components/input/input.js +7 -7
- package/dist/components/intersection-observer/intersection-observer.component.js +2 -2
- package/dist/components/intersection-observer/intersection-observer.js +3 -3
- 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 +3 -3
- package/dist/components/menu-item/menu-item.js +4 -4
- package/dist/components/menu-label/menu-label.component.js +2 -2
- package/dist/components/menu-label/menu-label.js +3 -3
- package/dist/components/mutation-observer/mutation-observer.component.js +2 -2
- package/dist/components/mutation-observer/mutation-observer.js +3 -3
- package/dist/components/nav/nav.component.js +7 -7
- package/dist/components/nav/nav.js +8 -8
- package/dist/components/nav-group/nav-group.component.js +2 -2
- package/dist/components/nav-group/nav-group.js +3 -3
- package/dist/components/nav-item/nav-item.component.js +5 -5
- package/dist/components/nav-item/nav-item.js +6 -6
- package/dist/components/option/option.component.js +3 -3
- package/dist/components/option/option.js +4 -4
- package/dist/components/page/page.component.js +2 -2
- package/dist/components/page/page.js +3 -3
- package/dist/components/page-content/page-content.component.js +3 -3
- package/dist/components/page-content/page-content.js +4 -4
- package/dist/components/page-footer/page-footer.component.js +4 -4
- package/dist/components/page-footer/page-footer.js +5 -5
- package/dist/components/page-header/page-header.component.js +4 -4
- package/dist/components/page-header/page-header.js +5 -5
- package/dist/components/page-sidebar/page-sidebar.component.js +10 -10
- package/dist/components/page-sidebar/page-sidebar.js +11 -11
- package/dist/components/panel/panel.component.js +4 -4
- package/dist/components/panel/panel.js +5 -5
- package/dist/components/popover/popover.component.js +3 -3
- package/dist/components/popover/popover.js +4 -4
- package/dist/components/popup/popup.component.js +2 -2
- package/dist/components/popup/popup.js +3 -3
- package/dist/components/progress-bar/progress-bar.component.js +2 -2
- package/dist/components/progress-bar/progress-bar.js +3 -3
- package/dist/components/progress-ring/progress-ring.component.js +2 -2
- package/dist/components/progress-ring/progress-ring.js +3 -3
- package/dist/components/radio/radio.component.js +3 -3
- package/dist/components/radio/radio.js +4 -4
- package/dist/components/radio-button/radio-button.component.js +4 -4
- package/dist/components/radio-button/radio-button.js +5 -5
- package/dist/components/radio-button/radio-button.styles.js +2 -2
- package/dist/components/radio-group/radio-group.component.js +5 -5
- package/dist/components/radio-group/radio-group.js +6 -6
- package/dist/components/range/range.component.js +2 -2
- package/dist/components/range/range.js +3 -3
- package/dist/components/relative-time/relative-time.component.js +2 -2
- package/dist/components/relative-time/relative-time.js +3 -3
- package/dist/components/resize-observer/resize-observer.component.js +2 -2
- package/dist/components/resize-observer/resize-observer.js +3 -3
- package/dist/components/responsive-media/responsive-media.component.js +2 -2
- package/dist/components/responsive-media/responsive-media.js +3 -3
- package/dist/components/select/select.component.js +7 -7
- package/dist/components/select/select.js +8 -8
- package/dist/components/spinner/spinner.component.js +2 -2
- package/dist/components/spinner/spinner.js +3 -3
- package/dist/components/split-panel/split-panel.component.js +2 -2
- package/dist/components/split-panel/split-panel.js +3 -3
- package/dist/components/stack/stack.component.js +2 -2
- package/dist/components/stack/stack.js +3 -3
- package/dist/components/switch/switch.component.js +2 -2
- package/dist/components/switch/switch.js +3 -3
- package/dist/components/tab/tab.component.js +4 -4
- package/dist/components/tab/tab.js +5 -5
- package/dist/components/tab-group/tab-group.component.js +5 -5
- package/dist/components/tab-group/tab-group.js +6 -6
- package/dist/components/tab-panel/tab-panel.component.js +2 -2
- package/dist/components/tab-panel/tab-panel.js +3 -3
- package/dist/components/table/table.component.js +2 -2
- package/dist/components/table/table.js +3 -3
- package/dist/components/table-cell/table-cell.component.js +3 -3
- package/dist/components/table-cell/table-cell.js +4 -4
- package/dist/components/table-cell/table-cell.styles.js +1 -1
- package/dist/components/table-column/table-column.component.js +2 -2
- package/dist/components/table-column/table-column.js +3 -3
- package/dist/components/table-column-group/table-column-group.component.js +2 -2
- package/dist/components/table-column-group/table-column-group.js +3 -3
- package/dist/components/table-header/table-header.component.js +2 -2
- package/dist/components/table-header/table-header.js +3 -3
- package/dist/components/table-header-group/table-header-group.component.js +2 -2
- package/dist/components/table-header-group/table-header-group.js +3 -3
- package/dist/components/table-row/table-row.component.d.ts +1 -1
- package/dist/components/table-row/table-row.component.js +3 -3
- package/dist/components/table-row/table-row.js +4 -4
- package/dist/components/table-row/table-row.styles.js +1 -1
- package/dist/components/table-row-group/table-row-group.component.js +2 -2
- package/dist/components/table-row-group/table-row-group.js +3 -3
- package/dist/components/tag/tag.component.d.ts +2 -2
- package/dist/components/tag/tag.component.js +5 -5
- package/dist/components/tag/tag.js +6 -6
- package/dist/components/tag/tag.styles.js +1 -1
- package/dist/components/textarea/textarea.component.js +5 -5
- package/dist/components/textarea/textarea.js +6 -6
- package/dist/components/tooltip/tooltip.component.js +3 -3
- package/dist/components/tooltip/tooltip.js +4 -4
- package/dist/components/truncate/truncate.component.js +2 -2
- package/dist/components/truncate/truncate.js +3 -3
- 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 +465 -465
- package/dist/lynk.js +157 -157
- package/dist/react/index.d.ts +1 -1
- package/dist/react/index.js +164 -164
- package/dist/react/lynk-accordion/index.js +3 -3
- package/dist/react/lynk-alert/index.js +5 -5
- package/dist/react/lynk-animation/index.js +3 -3
- package/dist/react/lynk-auto-grid/index.js +3 -3
- package/dist/react/lynk-badge/index.js +4 -4
- package/dist/react/lynk-box/index.js +3 -3
- package/dist/react/lynk-breadcrumb/index.js +4 -4
- package/dist/react/lynk-breadcrumb-item/index.js +5 -5
- package/dist/react/lynk-button/index.js +6 -6
- package/dist/react/lynk-button-group/index.js +3 -3
- package/dist/react/lynk-card/index.js +4 -4
- package/dist/react/lynk-checkbox/index.js +4 -4
- package/dist/react/lynk-copy-button/index.js +6 -6
- package/dist/react/lynk-dialog/index.js +5 -5
- package/dist/react/lynk-divider/index.js +3 -3
- package/dist/react/lynk-drawer/index.js +5 -5
- package/dist/react/lynk-dropdown/index.js +4 -4
- package/dist/react/lynk-form-field/index.js +6 -6
- package/dist/react/lynk-format-bytes/index.js +3 -3
- package/dist/react/lynk-format-date/index.js +3 -3
- package/dist/react/lynk-format-number/index.js +3 -3
- package/dist/react/lynk-grid/index.js +3 -3
- package/dist/react/lynk-icon/index.js +3 -3
- package/dist/react/lynk-icon-button/index.js +4 -4
- package/dist/react/lynk-include/index.js +3 -3
- package/dist/react/lynk-input/index.js +7 -7
- package/dist/react/lynk-intersection-observer/index.js +3 -3
- package/dist/react/lynk-menu/index.js +3 -3
- package/dist/react/lynk-menu-item/index.js +4 -4
- package/dist/react/lynk-menu-label/index.js +3 -3
- package/dist/react/lynk-mutation-observer/index.js +3 -3
- package/dist/react/lynk-nav/index.js +8 -8
- package/dist/react/lynk-nav-group/index.js +3 -3
- package/dist/react/lynk-nav-item/index.js +6 -6
- package/dist/react/lynk-option/index.js +4 -4
- package/dist/react/lynk-page/index.js +3 -3
- package/dist/react/lynk-page-content/index.js +4 -4
- package/dist/react/lynk-page-footer/index.js +5 -5
- package/dist/react/lynk-page-header/index.js +5 -5
- package/dist/react/lynk-page-sidebar/index.js +11 -11
- package/dist/react/lynk-panel/index.js +5 -5
- package/dist/react/lynk-popover/index.js +4 -4
- package/dist/react/lynk-popup/index.js +3 -3
- package/dist/react/lynk-progress-bar/index.js +3 -3
- package/dist/react/lynk-progress-ring/index.js +3 -3
- package/dist/react/lynk-radio/index.js +4 -4
- package/dist/react/lynk-radio-button/index.js +5 -5
- package/dist/react/lynk-radio-group/index.js +6 -6
- package/dist/react/lynk-range/index.js +3 -3
- package/dist/react/lynk-relative-time/index.js +3 -3
- package/dist/react/lynk-resize-observer/index.js +3 -3
- package/dist/react/lynk-responsive-media/index.js +3 -3
- package/dist/react/lynk-select/index.js +8 -8
- package/dist/react/lynk-spinner/index.js +3 -3
- package/dist/react/lynk-split-panel/index.js +3 -3
- package/dist/react/lynk-stack/index.js +3 -3
- package/dist/react/lynk-switch/index.js +3 -3
- package/dist/react/lynk-tab/index.js +5 -5
- package/dist/react/lynk-tab-group/index.js +6 -6
- package/dist/react/lynk-tab-panel/index.js +3 -3
- package/dist/react/lynk-table/index.js +3 -3
- package/dist/react/lynk-table-cell/index.js +4 -4
- package/dist/react/lynk-table-column/index.js +3 -3
- package/dist/react/lynk-table-column-group/index.js +3 -3
- package/dist/react/lynk-table-header/index.js +3 -3
- package/dist/react/lynk-table-header-group/index.js +3 -3
- package/dist/react/lynk-table-row/index.js +4 -4
- package/dist/react/lynk-table-row-group/index.js +3 -3
- package/dist/react/lynk-tag/index.js +6 -6
- package/dist/react/lynk-textarea/index.js +6 -6
- package/dist/react/lynk-tooltip/index.js +4 -4
- package/dist/react/lynk-truncate/index.js +3 -3
- package/dist/react/lynk-visually-hidden/index.js +3 -3
- package/dist/themes/dark.css +106 -28
- package/dist/themes/dark.styles.js +106 -28
- package/dist/themes/light.css +53 -0
- package/dist/themes/light.styles.js +53 -0
- package/dist/types/vue/index.d.ts +43 -43
- package/dist/vscode.html-custom-data.json +82 -69
- package/dist/web-types.json +103 -103
- package/package.json +1 -1
- package/cdn/chunks/chunk.255IQSP6.js +0 -11
- package/cdn/chunks/chunk.26ZLVE4O.js +0 -21
- package/cdn/chunks/chunk.2ANVQOA7.js +0 -30
- package/cdn/chunks/chunk.2AWCSYZW.js +0 -25
- package/cdn/chunks/chunk.2B2S5G5Y.js +0 -25
- package/cdn/chunks/chunk.2EDAFZAJ.js +0 -21
- package/cdn/chunks/chunk.2H2BMHCQ.js +0 -241
- package/cdn/chunks/chunk.2LSCZTCY.js +0 -21
- package/cdn/chunks/chunk.3ANAHPWG.js +0 -24
- package/cdn/chunks/chunk.3FLCCJYO.js +0 -11
- package/cdn/chunks/chunk.3FWQHPCH.js +0 -11
- package/cdn/chunks/chunk.3OZTLCN4.js +0 -38
- package/cdn/chunks/chunk.3P5ZQE7W.js +0 -21
- package/cdn/chunks/chunk.3TISJM5L.js +0 -143
- package/cdn/chunks/chunk.3UKYIVNX.js +0 -501
- package/cdn/chunks/chunk.3VBVSFSX.js +0 -200
- package/cdn/chunks/chunk.3W46BMHL.js +0 -24
- package/cdn/chunks/chunk.3XOWRZ2M.js +0 -50
- package/cdn/chunks/chunk.44FUYF3B.js +0 -62
- package/cdn/chunks/chunk.46XJBKC5.js +0 -25
- package/cdn/chunks/chunk.4H44JPSY.js +0 -21
- package/cdn/chunks/chunk.4KEKNKMZ.js +0 -11
- package/cdn/chunks/chunk.4OOBFP5X.js +0 -27
- package/cdn/chunks/chunk.4TGDZ2U5.js +0 -11
- package/cdn/chunks/chunk.4XHMLR2E.js +0 -27
- package/cdn/chunks/chunk.5AV2D27J.js +0 -24
- package/cdn/chunks/chunk.5BKBN2J4.js +0 -11
- package/cdn/chunks/chunk.5GPBYTBR.js +0 -11
- package/cdn/chunks/chunk.5JNWOYDB.js +0 -76
- package/cdn/chunks/chunk.5LEJK33P.js +0 -401
- package/cdn/chunks/chunk.5WHD33SM.js +0 -21
- package/cdn/chunks/chunk.6376QHT4.js +0 -11
- package/cdn/chunks/chunk.64XD3LYZ.js +0 -24
- package/cdn/chunks/chunk.65CBDL5G.js +0 -21
- package/cdn/chunks/chunk.6SOZF2WN.js +0 -24
- package/cdn/chunks/chunk.725IQCCQ.js +0 -11
- package/cdn/chunks/chunk.75RPIUFV.js +0 -308
- package/cdn/chunks/chunk.7MNCKLJR.js +0 -11
- package/cdn/chunks/chunk.7NO43PWF.js +0 -21
- package/cdn/chunks/chunk.7R4OQUEB.js +0 -11
- package/cdn/chunks/chunk.7SE7JPHO.js +0 -11
- package/cdn/chunks/chunk.7UOJFDHO.js +0 -42
- package/cdn/chunks/chunk.7USSJRVZ.js +0 -21
- package/cdn/chunks/chunk.7YEECHGF.js +0 -33
- package/cdn/chunks/chunk.7ZYHRZU6.js +0 -11
- package/cdn/chunks/chunk.A7O64OP3.js +0 -88
- package/cdn/chunks/chunk.ABSBW36K.js +0 -246
- package/cdn/chunks/chunk.AK6QZYIV.js +0 -29
- package/cdn/chunks/chunk.ALAPNUZI.js +0 -11
- package/cdn/chunks/chunk.AZ3RUWM7.js +0 -27
- package/cdn/chunks/chunk.AZG5JSEV.js +0 -11
- package/cdn/chunks/chunk.B2WIU5FL.js +0 -300
- package/cdn/chunks/chunk.BBVDB4HQ.js +0 -11
- package/cdn/chunks/chunk.BE6SJRB2.js +0 -21
- package/cdn/chunks/chunk.BFODVVTZ.js +0 -11
- package/cdn/chunks/chunk.BISZZXCV.js +0 -11
- package/cdn/chunks/chunk.BM2A5KUY.js +0 -11
- package/cdn/chunks/chunk.BP2EU6UY.js +0 -159
- package/cdn/chunks/chunk.BRNFE2WA.js +0 -79
- package/cdn/chunks/chunk.BVMFYDLW.js +0 -26
- package/cdn/chunks/chunk.BZIL2L2L.js +0 -11
- package/cdn/chunks/chunk.C63C2FBG.js +0 -11
- package/cdn/chunks/chunk.C7ZW5LEE.js +0 -11
- package/cdn/chunks/chunk.CEVTVE3G.js +0 -21
- package/cdn/chunks/chunk.CHHQVS5H.js +0 -342
- package/cdn/chunks/chunk.CL4PJ4BA.js +0 -21
- package/cdn/chunks/chunk.CWPVO273.js +0 -24
- package/cdn/chunks/chunk.D5OJCWTL.js +0 -11
- package/cdn/chunks/chunk.DAQ6EVXR.js +0 -11
- package/cdn/chunks/chunk.DGMCS63J.js +0 -21
- package/cdn/chunks/chunk.DIEGJR6L.js +0 -27
- package/cdn/chunks/chunk.DQYKYPVD.js +0 -11
- package/cdn/chunks/chunk.DSIVLR7Z.js +0 -11
- package/cdn/chunks/chunk.DTZDGS6V.js +0 -21
- package/cdn/chunks/chunk.DX23USZC.js +0 -11
- package/cdn/chunks/chunk.EDNGHM7G.js +0 -24
- package/cdn/chunks/chunk.EFLQBMFA.js +0 -201
- package/cdn/chunks/chunk.EIUJ6AAR.js +0 -25
- package/cdn/chunks/chunk.EK7DJOKX.js +0 -11
- package/cdn/chunks/chunk.ELX3L5KC.js +0 -233
- package/cdn/chunks/chunk.ENBAHYE3.js +0 -11
- package/cdn/chunks/chunk.EXXMJQEV.js +0 -27
- package/cdn/chunks/chunk.F2C4TREA.js +0 -117
- package/cdn/chunks/chunk.F5AWQTAZ.js +0 -159
- package/cdn/chunks/chunk.FFXFZ2AW.js +0 -11
- package/cdn/chunks/chunk.FIYS6BQY.js +0 -11
- package/cdn/chunks/chunk.FXGFNCEY.js +0 -21
- package/cdn/chunks/chunk.FXJCIM2U.js +0 -21
- package/cdn/chunks/chunk.G5DZMQYL.js +0 -11
- package/cdn/chunks/chunk.GHGOAV4M.js +0 -11
- package/cdn/chunks/chunk.GLNKDBMF.js +0 -11
- package/cdn/chunks/chunk.GU3QMC2O.js +0 -63
- package/cdn/chunks/chunk.GX7ZR3UQ.js +0 -216
- package/cdn/chunks/chunk.GZIGSHMJ.js +0 -67
- package/cdn/chunks/chunk.H35HSBIR.js +0 -65
- package/cdn/chunks/chunk.H7HWZWCY.js +0 -87
- package/cdn/chunks/chunk.HAPTHBRY.js +0 -56
- package/cdn/chunks/chunk.HHMCR4TQ.js +0 -21
- package/cdn/chunks/chunk.HV3HGPCN.js +0 -11
- package/cdn/chunks/chunk.HV65RL4Z.js +0 -11
- package/cdn/chunks/chunk.HVOEAGNH.js +0 -24
- package/cdn/chunks/chunk.I3YE3OP6.js +0 -28
- package/cdn/chunks/chunk.I544N3PL.js +0 -24
- package/cdn/chunks/chunk.I743CUQV.js +0 -323
- package/cdn/chunks/chunk.IC7K4M22.js +0 -26
- package/cdn/chunks/chunk.IEZLPK6T.js +0 -63
- package/cdn/chunks/chunk.IJCH43MP.js +0 -24
- package/cdn/chunks/chunk.IKLYUOE6.js +0 -21
- package/cdn/chunks/chunk.IQ7NCZFA.js +0 -21
- package/cdn/chunks/chunk.J43PJVKK.js +0 -435
- package/cdn/chunks/chunk.J56VS566.js +0 -11
- package/cdn/chunks/chunk.JAAY64MC.js +0 -21
- package/cdn/chunks/chunk.JDSRTKVR.js +0 -11
- package/cdn/chunks/chunk.JHFYVQTN.js +0 -11
- package/cdn/chunks/chunk.JXBNQQ7X.js +0 -11
- package/cdn/chunks/chunk.KA4IG2JR.js +0 -120
- package/cdn/chunks/chunk.KLHY5TCD.js +0 -11
- package/cdn/chunks/chunk.KPTBG6NV.js +0 -77
- package/cdn/chunks/chunk.KRCQIGER.js +0 -26
- package/cdn/chunks/chunk.L4AOC5QZ.js +0 -11
- package/cdn/chunks/chunk.LAMV7HMD.js +0 -21
- package/cdn/chunks/chunk.LBD7IJBA.js +0 -150
- package/cdn/chunks/chunk.LKCFNQ7R.js +0 -29
- package/cdn/chunks/chunk.LKXE6CZ3.js +0 -317
- package/cdn/chunks/chunk.LN6FXTUU.js +0 -42
- package/cdn/chunks/chunk.LOLMYODR.js +0 -11
- package/cdn/chunks/chunk.LOSTMNJA.js +0 -77
- package/cdn/chunks/chunk.LW7XJ2BX.js +0 -78
- package/cdn/chunks/chunk.MCD2MKI5.js +0 -11
- package/cdn/chunks/chunk.MDON4GIQ.js +0 -25
- package/cdn/chunks/chunk.MHZGOAIB.js +0 -21
- package/cdn/chunks/chunk.MJWJPWY7.js +0 -269
- package/cdn/chunks/chunk.MMXM3FOX.js +0 -405
- package/cdn/chunks/chunk.MTYQQ6KL.js +0 -11
- package/cdn/chunks/chunk.MXIOMXK6.js +0 -78
- package/cdn/chunks/chunk.N3NV6SKF.js +0 -34
- package/cdn/chunks/chunk.NFUGH3K4.js +0 -113
- package/cdn/chunks/chunk.NQCVGUTI.js +0 -11
- package/cdn/chunks/chunk.O4BKYCET.js +0 -36
- package/cdn/chunks/chunk.O6C6UIV3.js +0 -352
- package/cdn/chunks/chunk.O6FTH3I5.js +0 -809
- package/cdn/chunks/chunk.O7DVO5E4.js +0 -24
- package/cdn/chunks/chunk.OAEGR6OH.js +0 -11
- package/cdn/chunks/chunk.OD5UUYA4.js +0 -11
- package/cdn/chunks/chunk.OITIXCRT.js +0 -21
- package/cdn/chunks/chunk.ONWG3PSI.js +0 -21
- package/cdn/chunks/chunk.OPOJ4J3X.js +0 -24
- package/cdn/chunks/chunk.P4AOQTXK.js +0 -28
- package/cdn/chunks/chunk.P4PKGMWP.js +0 -27
- package/cdn/chunks/chunk.P5XL35JU.js +0 -21
- package/cdn/chunks/chunk.PAYRUHZU.js +0 -103
- package/cdn/chunks/chunk.PCKVLZM5.js +0 -28
- package/cdn/chunks/chunk.PPYFK3NF.js +0 -96
- package/cdn/chunks/chunk.QFD4IASI.js +0 -11
- package/cdn/chunks/chunk.QORQD37Q.js +0 -24
- package/cdn/chunks/chunk.QQKZSENF.js +0 -897
- package/cdn/chunks/chunk.QRFXX7WS.js +0 -21
- package/cdn/chunks/chunk.QUGX72DX.js +0 -11
- package/cdn/chunks/chunk.QXZH5U2C.js +0 -105
- package/cdn/chunks/chunk.R57G6OXV.js +0 -57
- package/cdn/chunks/chunk.R7NVGNRL.js +0 -11
- package/cdn/chunks/chunk.REX4ZGIU.js +0 -387
- package/cdn/chunks/chunk.RGFL7LRL.js +0 -21
- package/cdn/chunks/chunk.RMBB7XEG.js +0 -21
- package/cdn/chunks/chunk.RSSYUIME.js +0 -280
- package/cdn/chunks/chunk.RTIPZKIC.js +0 -21
- package/cdn/chunks/chunk.RVVNYWOM.js +0 -92
- package/cdn/chunks/chunk.S4BWW6PL.js +0 -11
- package/cdn/chunks/chunk.S4OL3I73.js +0 -11
- package/cdn/chunks/chunk.SEHYUSLA.js +0 -25
- package/cdn/chunks/chunk.SFWGOLD7.js +0 -89
- package/cdn/chunks/chunk.SL5PGWR5.js +0 -11
- package/cdn/chunks/chunk.SMBQ5KWA.js +0 -565
- package/cdn/chunks/chunk.SNAMCLU3.js +0 -35
- package/cdn/chunks/chunk.STJ76UM6.js +0 -11
- package/cdn/chunks/chunk.SV75LUI5.js +0 -11
- package/cdn/chunks/chunk.SVGF3NAQ.js +0 -25
- package/cdn/chunks/chunk.TBII2IZB.js +0 -11
- package/cdn/chunks/chunk.TCZQPCNO.js +0 -370
- package/cdn/chunks/chunk.TEPQP7NO.js +0 -11
- package/cdn/chunks/chunk.TKYWRIL3.js +0 -21
- package/cdn/chunks/chunk.TLVXUPT4.js +0 -11
- package/cdn/chunks/chunk.TLZFKX7A.js +0 -135
- package/cdn/chunks/chunk.TMG7EC4H.js +0 -186
- package/cdn/chunks/chunk.TMTOLQM3.js +0 -24
- package/cdn/chunks/chunk.TZ5T2FGF.js +0 -11
- package/cdn/chunks/chunk.U3IPQH35.js +0 -21
- package/cdn/chunks/chunk.UAB4WX4C.js +0 -11
- package/cdn/chunks/chunk.UKIFWMPL.js +0 -11
- package/cdn/chunks/chunk.UOV7EK25.js +0 -144
- package/cdn/chunks/chunk.UQEVAB44.js +0 -21
- package/cdn/chunks/chunk.USM3IPDF.js +0 -24
- package/cdn/chunks/chunk.UUIIYC3U.js +0 -11
- package/cdn/chunks/chunk.UXZ6VJEK.js +0 -21
- package/cdn/chunks/chunk.UYRPRBZA.js +0 -73
- package/cdn/chunks/chunk.UZCPKE6N.js +0 -158
- package/cdn/chunks/chunk.V2BKX7ZI.js +0 -82
- package/cdn/chunks/chunk.V2XC4PL7.js +0 -11
- package/cdn/chunks/chunk.VDSOWQFQ.js +0 -11
- package/cdn/chunks/chunk.VEJQ2Y4I.js +0 -214
- package/cdn/chunks/chunk.VG4JMG4R.js +0 -11
- package/cdn/chunks/chunk.VP2LVL6C.js +0 -11
- package/cdn/chunks/chunk.VY6SRKVG.js +0 -83
- package/cdn/chunks/chunk.W5B6OR75.js +0 -11
- package/cdn/chunks/chunk.WED55TXW.js +0 -25
- package/cdn/chunks/chunk.WEQXHWCH.js +0 -21
- package/cdn/chunks/chunk.WJQFBEBZ.js +0 -11
- package/cdn/chunks/chunk.WNQTZGNZ.js +0 -36
- package/cdn/chunks/chunk.WQ6UPW72.js +0 -69
- package/cdn/chunks/chunk.WXCBSV4W.js +0 -230
- package/cdn/chunks/chunk.X26TRH22.js +0 -384
- package/cdn/chunks/chunk.X6L5PKUF.js +0 -11
- package/cdn/chunks/chunk.XDANAOXT.js +0 -11
- package/cdn/chunks/chunk.XK44AU5E.js +0 -27
- package/cdn/chunks/chunk.XPP7HBHR.js +0 -145
- package/cdn/chunks/chunk.XUZWQQRQ.js +0 -131
- package/cdn/chunks/chunk.YEWYX7K7.js +0 -27
- package/cdn/chunks/chunk.YSQNNHCP.js +0 -28
- package/cdn/chunks/chunk.YYVDKGRX.js +0 -11
- package/cdn/chunks/chunk.Z442W7MZ.js +0 -21
- package/cdn/chunks/chunk.Z6FOHZGE.js +0 -79
- package/cdn/chunks/chunk.ZASWAP6G.js +0 -289
- package/cdn/chunks/chunk.ZD7RFBLX.js +0 -24
- package/cdn/chunks/chunk.ZDMCIKGH.js +0 -69
- package/cdn/chunks/chunk.ZEBGRIL2.js +0 -98
- package/cdn/chunks/chunk.ZNAVKQQV.js +0 -1886
- package/cdn/chunks/chunk.ZU4U6GWZ.js +0 -11
- package/dist/chunks/chunk.25OLDLWD.js +0 -42
- package/dist/chunks/chunk.2BJL4HEF.js +0 -21
- package/dist/chunks/chunk.2FLZ7BJH.js +0 -11
- package/dist/chunks/chunk.2KD5ZABD.js +0 -11
- package/dist/chunks/chunk.2MMOGHA4.js +0 -11
- package/dist/chunks/chunk.2NMCABQJ.js +0 -11
- package/dist/chunks/chunk.2ONUQIHM.js +0 -63
- package/dist/chunks/chunk.2SQ6S4A4.js +0 -34
- package/dist/chunks/chunk.2TEPKPN2.js +0 -21
- package/dist/chunks/chunk.2WSPGFZF.js +0 -303
- package/dist/chunks/chunk.35I3OQXY.js +0 -11
- package/dist/chunks/chunk.3BAYS4A3.js +0 -396
- package/dist/chunks/chunk.3CIZHJ32.js +0 -11
- package/dist/chunks/chunk.3EXDDVTN.js +0 -11
- package/dist/chunks/chunk.3GDYBJU5.js +0 -24
- package/dist/chunks/chunk.3GWISBGV.js +0 -11
- package/dist/chunks/chunk.3NLGB7KV.js +0 -75
- package/dist/chunks/chunk.43LPHDXF.js +0 -11
- package/dist/chunks/chunk.45KULIC7.js +0 -11
- package/dist/chunks/chunk.4D2IHXWS.js +0 -11
- package/dist/chunks/chunk.4EIDQENR.js +0 -21
- package/dist/chunks/chunk.5CBKX44T.js +0 -111
- package/dist/chunks/chunk.5EO7G6SV.js +0 -11
- package/dist/chunks/chunk.5IACSWYE.js +0 -11
- package/dist/chunks/chunk.5JFC4IXH.js +0 -11
- package/dist/chunks/chunk.5KGB3P33.js +0 -318
- package/dist/chunks/chunk.5P2CRWAO.js +0 -11
- package/dist/chunks/chunk.5QLELEEZ.js +0 -24
- package/dist/chunks/chunk.5WQFOSXK.js +0 -52
- package/dist/chunks/chunk.5XJJLEKX.js +0 -11
- package/dist/chunks/chunk.5ZKXYH6T.js +0 -30
- package/dist/chunks/chunk.654HOOYB.js +0 -24
- package/dist/chunks/chunk.6DHXMFHQ.js +0 -241
- package/dist/chunks/chunk.6QIVKKC5.js +0 -21
- package/dist/chunks/chunk.6RBDB72W.js +0 -86
- package/dist/chunks/chunk.6SL2AUQG.js +0 -24
- package/dist/chunks/chunk.6UC2RQWH.js +0 -11
- package/dist/chunks/chunk.6Y4ISXBA.js +0 -85
- package/dist/chunks/chunk.7C6EIJFK.js +0 -100
- package/dist/chunks/chunk.7IHWORIP.js +0 -11
- package/dist/chunks/chunk.7LKD4S4E.js +0 -399
- package/dist/chunks/chunk.7OUFDY6I.js +0 -427
- package/dist/chunks/chunk.7PCI5VHE.js +0 -21
- package/dist/chunks/chunk.7T22QCUQ.js +0 -197
- package/dist/chunks/chunk.7TU63SPK.js +0 -137
- package/dist/chunks/chunk.7VPNG2W6.js +0 -25
- package/dist/chunks/chunk.AJKCCSFM.js +0 -11
- package/dist/chunks/chunk.APLQQTXR.js +0 -11
- package/dist/chunks/chunk.AR2XQRI7.js +0 -11
- package/dist/chunks/chunk.ASCR2HAY.js +0 -21
- package/dist/chunks/chunk.AWPL3BF5.js +0 -11
- package/dist/chunks/chunk.AWRUB7YW.js +0 -21
- package/dist/chunks/chunk.AXMCD2AX.js +0 -147
- package/dist/chunks/chunk.AZME2T5P.js +0 -22
- package/dist/chunks/chunk.B2CN3JFF.js +0 -293
- package/dist/chunks/chunk.B2ZARF3N.js +0 -11
- package/dist/chunks/chunk.B66QCACR.js +0 -22
- package/dist/chunks/chunk.B6LAFFQR.js +0 -21
- package/dist/chunks/chunk.BR7UXQ4I.js +0 -26
- package/dist/chunks/chunk.BUHBJMJ5.js +0 -53
- package/dist/chunks/chunk.BXHE2P2Y.js +0 -11
- package/dist/chunks/chunk.CIEVGG6E.js +0 -222
- package/dist/chunks/chunk.CJWDYWMW.js +0 -28
- package/dist/chunks/chunk.CR3TUT4C.js +0 -21
- package/dist/chunks/chunk.CZO7UL3T.js +0 -417
- package/dist/chunks/chunk.D2X5MKFX.js +0 -27
- package/dist/chunks/chunk.D4BCN4M6.js +0 -22
- package/dist/chunks/chunk.D5KRMXUF.js +0 -11
- package/dist/chunks/chunk.DJR4W6OR.js +0 -63
- package/dist/chunks/chunk.DLGRHIZV.js +0 -24
- package/dist/chunks/chunk.DN4WCVBJ.js +0 -11
- package/dist/chunks/chunk.DRVM4C6E.js +0 -153
- package/dist/chunks/chunk.E65TPMLO.js +0 -93
- package/dist/chunks/chunk.EGJVQ6FY.js +0 -115
- package/dist/chunks/chunk.EKM3XKAG.js +0 -75
- package/dist/chunks/chunk.EOYTBWP5.js +0 -25
- package/dist/chunks/chunk.EQEWYSHQ.js +0 -11
- package/dist/chunks/chunk.EUAHXU33.js +0 -26
- package/dist/chunks/chunk.EUULPHP3.js +0 -363
- package/dist/chunks/chunk.F2XQUG5K.js +0 -11
- package/dist/chunks/chunk.F3IMAMPV.js +0 -28
- package/dist/chunks/chunk.FA6YOIVV.js +0 -21
- package/dist/chunks/chunk.FAXNX5VR.js +0 -27
- package/dist/chunks/chunk.FIRHL3SK.js +0 -309
- package/dist/chunks/chunk.FMVNG7RL.js +0 -211
- package/dist/chunks/chunk.FO4ER5YR.js +0 -27
- package/dist/chunks/chunk.FV7XPEUX.js +0 -150
- package/dist/chunks/chunk.FWG6U737.js +0 -11
- package/dist/chunks/chunk.FZAWNAG7.js +0 -21
- package/dist/chunks/chunk.G7FNSEXK.js +0 -11
- package/dist/chunks/chunk.G7YM5XT4.js +0 -61
- package/dist/chunks/chunk.GDQNV6LW.js +0 -11
- package/dist/chunks/chunk.GN7Q7BPD.js +0 -36
- package/dist/chunks/chunk.GOM55OSY.js +0 -11
- package/dist/chunks/chunk.GREQ7K5K.js +0 -21
- package/dist/chunks/chunk.GSFIIU2C.js +0 -11
- package/dist/chunks/chunk.GV65GQML.js +0 -101
- package/dist/chunks/chunk.HGUH5AJP.js +0 -11
- package/dist/chunks/chunk.HH242GWJ.js +0 -11
- package/dist/chunks/chunk.HOXF4WV7.js +0 -22
- package/dist/chunks/chunk.HYDMKY7O.js +0 -11
- package/dist/chunks/chunk.I3P7G63K.js +0 -283
- package/dist/chunks/chunk.IMYEMSVU.js +0 -557
- package/dist/chunks/chunk.IPHNPJUB.js +0 -140
- package/dist/chunks/chunk.IPIGTRIZ.js +0 -11
- package/dist/chunks/chunk.IQGVG2BP.js +0 -40
- package/dist/chunks/chunk.IRW55LHU.js +0 -11
- package/dist/chunks/chunk.IV3ZO5DG.js +0 -58
- package/dist/chunks/chunk.JCQSIXUG.js +0 -72
- package/dist/chunks/chunk.JDFOCXOT.js +0 -24
- package/dist/chunks/chunk.JE6BT4DO.js +0 -87
- package/dist/chunks/chunk.JFD3VWLZ.js +0 -25
- package/dist/chunks/chunk.JNPXRA6S.js +0 -75
- package/dist/chunks/chunk.JYURVEBP.js +0 -72
- package/dist/chunks/chunk.JZ46O2EE.js +0 -24
- package/dist/chunks/chunk.K7PRUP65.js +0 -11
- package/dist/chunks/chunk.KCMJV5UK.js +0 -27
- package/dist/chunks/chunk.KF2GOXOJ.js +0 -11
- package/dist/chunks/chunk.KNZ6G7M4.js +0 -11
- package/dist/chunks/chunk.KOGHMIZA.js +0 -11
- package/dist/chunks/chunk.KT5YBBMV.js +0 -11
- package/dist/chunks/chunk.L36M7IES.js +0 -21
- package/dist/chunks/chunk.L66AH6EB.js +0 -94
- package/dist/chunks/chunk.LAN6ILXM.js +0 -21
- package/dist/chunks/chunk.LTLZLEEC.js +0 -11
- package/dist/chunks/chunk.LXAMWUIP.js +0 -11
- package/dist/chunks/chunk.LYV5N45E.js +0 -11
- package/dist/chunks/chunk.M4URBJOX.js +0 -11
- package/dist/chunks/chunk.MF7MWO3M.js +0 -29
- package/dist/chunks/chunk.MJ5QSJL6.js +0 -21
- package/dist/chunks/chunk.MJBS2U5S.js +0 -34
- package/dist/chunks/chunk.MKYTSCWZ.js +0 -11
- package/dist/chunks/chunk.MWR4QI4C.js +0 -67
- package/dist/chunks/chunk.MWUYJNTP.js +0 -27
- package/dist/chunks/chunk.MYRB7PCY.js +0 -153
- package/dist/chunks/chunk.NBOHP3SC.js +0 -181
- package/dist/chunks/chunk.NBZTWCL7.js +0 -11
- package/dist/chunks/chunk.NFSB3BWV.js +0 -235
- package/dist/chunks/chunk.NKJ2BQZP.js +0 -136
- package/dist/chunks/chunk.NLWYBK5N.js +0 -380
- package/dist/chunks/chunk.NLWYFDWW.js +0 -333
- package/dist/chunks/chunk.NNZH6YUX.js +0 -21
- package/dist/chunks/chunk.NVHQBS3M.js +0 -80
- package/dist/chunks/chunk.NVS3UCXI.js +0 -21
- package/dist/chunks/chunk.OAV5POMN.js +0 -25
- package/dist/chunks/chunk.OBGVJ4NS.js +0 -11
- package/dist/chunks/chunk.ORI3ZNIR.js +0 -133
- package/dist/chunks/chunk.ORPBX6BG.js +0 -227
- package/dist/chunks/chunk.ORQQY6XJ.js +0 -11
- package/dist/chunks/chunk.OWAYV6AS.js +0 -11
- package/dist/chunks/chunk.P2M4SH24.js +0 -123
- package/dist/chunks/chunk.P5EXIEFE.js +0 -375
- package/dist/chunks/chunk.PC4OTXR2.js +0 -94
- package/dist/chunks/chunk.PIZBINJI.js +0 -21
- package/dist/chunks/chunk.PJSWRU72.js +0 -343
- package/dist/chunks/chunk.PLEYI4WQ.js +0 -24
- package/dist/chunks/chunk.PLSD6DDR.js +0 -858
- package/dist/chunks/chunk.POVM5BU5.js +0 -11
- package/dist/chunks/chunk.PPSWAHNT.js +0 -80
- package/dist/chunks/chunk.PR6TN5VO.js +0 -33
- package/dist/chunks/chunk.PSGAY4IE.js +0 -11
- package/dist/chunks/chunk.PWWKL3IL.js +0 -21
- package/dist/chunks/chunk.QEOF62TE.js +0 -28
- package/dist/chunks/chunk.QMARORXI.js +0 -11
- package/dist/chunks/chunk.QNCTWSWE.js +0 -21
- package/dist/chunks/chunk.QS7NMCTM.js +0 -21
- package/dist/chunks/chunk.QVJUHYQM.js +0 -22
- package/dist/chunks/chunk.QXFI4JUY.js +0 -11
- package/dist/chunks/chunk.R53EIF5M.js +0 -11
- package/dist/chunks/chunk.REV7OKRA.js +0 -21
- package/dist/chunks/chunk.RGRQMPDV.js +0 -21
- package/dist/chunks/chunk.RH6XQ2O2.js +0 -21
- package/dist/chunks/chunk.RJW4EZ75.js +0 -73
- package/dist/chunks/chunk.S4LABRCC.js +0 -75
- package/dist/chunks/chunk.S5PZ7INB.js +0 -74
- package/dist/chunks/chunk.SMXGEIPW.js +0 -21
- package/dist/chunks/chunk.STCBR2WD.js +0 -27
- package/dist/chunks/chunk.TFZ4WTSO.js +0 -21
- package/dist/chunks/chunk.TOFHSGV5.js +0 -11
- package/dist/chunks/chunk.TPUVEBFN.js +0 -24
- package/dist/chunks/chunk.TQTWJUIV.js +0 -806
- package/dist/chunks/chunk.TXVE34NT.js +0 -21
- package/dist/chunks/chunk.UA6YWVZZ.js +0 -494
- package/dist/chunks/chunk.UFREQAQF.js +0 -21
- package/dist/chunks/chunk.ULCBUDX7.js +0 -21
- package/dist/chunks/chunk.ULDXAUHL.js +0 -21
- package/dist/chunks/chunk.UOUEYEIP.js +0 -67
- package/dist/chunks/chunk.UQCFYJ4B.js +0 -11
- package/dist/chunks/chunk.USMYSE44.js +0 -21
- package/dist/chunks/chunk.UUIE4VVF.js +0 -11
- package/dist/chunks/chunk.UV3JTJJE.js +0 -11
- package/dist/chunks/chunk.UXQFMQLK.js +0 -24
- package/dist/chunks/chunk.UZW7FPCE.js +0 -29
- package/dist/chunks/chunk.V7SFQRKC.js +0 -11
- package/dist/chunks/chunk.VCCGNLU3.js +0 -11
- package/dist/chunks/chunk.VIFFPUO4.js +0 -65
- package/dist/chunks/chunk.VR7H5WK7.js +0 -21
- package/dist/chunks/chunk.VS2LQEGW.js +0 -121
- package/dist/chunks/chunk.VYJHOTA7.js +0 -83
- package/dist/chunks/chunk.VYYAARBJ.js +0 -11
- package/dist/chunks/chunk.W6MI5YE7.js +0 -11
- package/dist/chunks/chunk.WA6M27DY.js +0 -11
- package/dist/chunks/chunk.WLYJIE2A.js +0 -61
- package/dist/chunks/chunk.X5JQVE4P.js +0 -11
- package/dist/chunks/chunk.X6WLP76K.js +0 -11
- package/dist/chunks/chunk.XAUSFZVO.js +0 -11
- package/dist/chunks/chunk.XCFMOBTK.js +0 -11
- package/dist/chunks/chunk.XDNA4VNF.js +0 -33
- package/dist/chunks/chunk.XVS3T6KT.js +0 -27
- package/dist/chunks/chunk.XY5INFKM.js +0 -11
- package/dist/chunks/chunk.Y6I2LWJW.js +0 -25
- package/dist/chunks/chunk.Y7IKF5KL.js +0 -21
- package/dist/chunks/chunk.YBH3FWSX.js +0 -21
- package/dist/chunks/chunk.YDNJPUUR.js +0 -25
- package/dist/chunks/chunk.YEKGRBYJ.js +0 -11
- package/dist/chunks/chunk.YGZ65UHE.js +0 -25
- package/dist/chunks/chunk.YSLLPLAO.js +0 -27
- package/dist/chunks/chunk.YSPLJL27.js +0 -275
- package/dist/chunks/chunk.YTGY6ARH.js +0 -28
- package/dist/chunks/chunk.YZXSXNB3.js +0 -26
- package/dist/chunks/chunk.Z3QTUOE5.js +0 -50
- package/dist/chunks/chunk.ZCRKSQCC.js +0 -25
- package/dist/chunks/chunk.ZK47JYKS.js +0 -21
- package/dist/chunks/chunk.ZM7XWAIB.js +0 -11
- package/dist/chunks/chunk.ZPFDS4JF.js +0 -30
- package/dist/chunks/chunk.ZWLZOAXP.js +0 -211
- package/dist/chunks/chunk.ZY3FXXXN.js +0 -24
|
@@ -0,0 +1,1886 @@
|
|
|
1
|
+
import {
|
|
2
|
+
popup_styles_default
|
|
3
|
+
} from "./chunk.ZU3YDDQD.js";
|
|
4
|
+
import {
|
|
5
|
+
LocalizeController
|
|
6
|
+
} from "./chunk.JRPNDW7P.js";
|
|
7
|
+
import {
|
|
8
|
+
e
|
|
9
|
+
} from "./chunk.3RBSSBZT.js";
|
|
10
|
+
import {
|
|
11
|
+
LynkElement,
|
|
12
|
+
e as e2,
|
|
13
|
+
n
|
|
14
|
+
} from "./chunk.TUHEHXEL.js";
|
|
15
|
+
import {
|
|
16
|
+
component_styles_default
|
|
17
|
+
} from "./chunk.RBCZP5WV.js";
|
|
18
|
+
import {
|
|
19
|
+
x
|
|
20
|
+
} from "./chunk.OOP2EFQH.js";
|
|
21
|
+
import {
|
|
22
|
+
__decorateClass,
|
|
23
|
+
__objRest,
|
|
24
|
+
__spreadProps,
|
|
25
|
+
__spreadValues
|
|
26
|
+
} from "./chunk.W27M6RDR.js";
|
|
27
|
+
|
|
28
|
+
// node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs
|
|
29
|
+
var min = Math.min;
|
|
30
|
+
var max = Math.max;
|
|
31
|
+
var round = Math.round;
|
|
32
|
+
var floor = Math.floor;
|
|
33
|
+
var createCoords = (v) => ({
|
|
34
|
+
x: v,
|
|
35
|
+
y: v
|
|
36
|
+
});
|
|
37
|
+
var oppositeSideMap = {
|
|
38
|
+
left: "right",
|
|
39
|
+
right: "left",
|
|
40
|
+
bottom: "top",
|
|
41
|
+
top: "bottom"
|
|
42
|
+
};
|
|
43
|
+
var oppositeAlignmentMap = {
|
|
44
|
+
start: "end",
|
|
45
|
+
end: "start"
|
|
46
|
+
};
|
|
47
|
+
function clamp(start, value, end) {
|
|
48
|
+
return max(start, min(value, end));
|
|
49
|
+
}
|
|
50
|
+
function evaluate(value, param) {
|
|
51
|
+
return typeof value === "function" ? value(param) : value;
|
|
52
|
+
}
|
|
53
|
+
function getSide(placement) {
|
|
54
|
+
return placement.split("-")[0];
|
|
55
|
+
}
|
|
56
|
+
function getAlignment(placement) {
|
|
57
|
+
return placement.split("-")[1];
|
|
58
|
+
}
|
|
59
|
+
function getOppositeAxis(axis) {
|
|
60
|
+
return axis === "x" ? "y" : "x";
|
|
61
|
+
}
|
|
62
|
+
function getAxisLength(axis) {
|
|
63
|
+
return axis === "y" ? "height" : "width";
|
|
64
|
+
}
|
|
65
|
+
function getSideAxis(placement) {
|
|
66
|
+
return ["top", "bottom"].includes(getSide(placement)) ? "y" : "x";
|
|
67
|
+
}
|
|
68
|
+
function getAlignmentAxis(placement) {
|
|
69
|
+
return getOppositeAxis(getSideAxis(placement));
|
|
70
|
+
}
|
|
71
|
+
function getAlignmentSides(placement, rects, rtl) {
|
|
72
|
+
if (rtl === void 0) {
|
|
73
|
+
rtl = false;
|
|
74
|
+
}
|
|
75
|
+
const alignment = getAlignment(placement);
|
|
76
|
+
const alignmentAxis = getAlignmentAxis(placement);
|
|
77
|
+
const length = getAxisLength(alignmentAxis);
|
|
78
|
+
let mainAlignmentSide = alignmentAxis === "x" ? alignment === (rtl ? "end" : "start") ? "right" : "left" : alignment === "start" ? "bottom" : "top";
|
|
79
|
+
if (rects.reference[length] > rects.floating[length]) {
|
|
80
|
+
mainAlignmentSide = getOppositePlacement(mainAlignmentSide);
|
|
81
|
+
}
|
|
82
|
+
return [mainAlignmentSide, getOppositePlacement(mainAlignmentSide)];
|
|
83
|
+
}
|
|
84
|
+
function getExpandedPlacements(placement) {
|
|
85
|
+
const oppositePlacement = getOppositePlacement(placement);
|
|
86
|
+
return [getOppositeAlignmentPlacement(placement), oppositePlacement, getOppositeAlignmentPlacement(oppositePlacement)];
|
|
87
|
+
}
|
|
88
|
+
function getOppositeAlignmentPlacement(placement) {
|
|
89
|
+
return placement.replace(/start|end/g, (alignment) => oppositeAlignmentMap[alignment]);
|
|
90
|
+
}
|
|
91
|
+
function getSideList(side, isStart, rtl) {
|
|
92
|
+
const lr = ["left", "right"];
|
|
93
|
+
const rl = ["right", "left"];
|
|
94
|
+
const tb = ["top", "bottom"];
|
|
95
|
+
const bt = ["bottom", "top"];
|
|
96
|
+
switch (side) {
|
|
97
|
+
case "top":
|
|
98
|
+
case "bottom":
|
|
99
|
+
if (rtl) return isStart ? rl : lr;
|
|
100
|
+
return isStart ? lr : rl;
|
|
101
|
+
case "left":
|
|
102
|
+
case "right":
|
|
103
|
+
return isStart ? tb : bt;
|
|
104
|
+
default:
|
|
105
|
+
return [];
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
function getOppositeAxisPlacements(placement, flipAlignment, direction, rtl) {
|
|
109
|
+
const alignment = getAlignment(placement);
|
|
110
|
+
let list = getSideList(getSide(placement), direction === "start", rtl);
|
|
111
|
+
if (alignment) {
|
|
112
|
+
list = list.map((side) => side + "-" + alignment);
|
|
113
|
+
if (flipAlignment) {
|
|
114
|
+
list = list.concat(list.map(getOppositeAlignmentPlacement));
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
return list;
|
|
118
|
+
}
|
|
119
|
+
function getOppositePlacement(placement) {
|
|
120
|
+
return placement.replace(/left|right|bottom|top/g, (side) => oppositeSideMap[side]);
|
|
121
|
+
}
|
|
122
|
+
function expandPaddingObject(padding) {
|
|
123
|
+
return __spreadValues({
|
|
124
|
+
top: 0,
|
|
125
|
+
right: 0,
|
|
126
|
+
bottom: 0,
|
|
127
|
+
left: 0
|
|
128
|
+
}, padding);
|
|
129
|
+
}
|
|
130
|
+
function getPaddingObject(padding) {
|
|
131
|
+
return typeof padding !== "number" ? expandPaddingObject(padding) : {
|
|
132
|
+
top: padding,
|
|
133
|
+
right: padding,
|
|
134
|
+
bottom: padding,
|
|
135
|
+
left: padding
|
|
136
|
+
};
|
|
137
|
+
}
|
|
138
|
+
function rectToClientRect(rect) {
|
|
139
|
+
const {
|
|
140
|
+
x: x2,
|
|
141
|
+
y,
|
|
142
|
+
width,
|
|
143
|
+
height
|
|
144
|
+
} = rect;
|
|
145
|
+
return {
|
|
146
|
+
width,
|
|
147
|
+
height,
|
|
148
|
+
top: y,
|
|
149
|
+
left: x2,
|
|
150
|
+
right: x2 + width,
|
|
151
|
+
bottom: y + height,
|
|
152
|
+
x: x2,
|
|
153
|
+
y
|
|
154
|
+
};
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
// node_modules/@floating-ui/core/dist/floating-ui.core.mjs
|
|
158
|
+
function computeCoordsFromPlacement(_ref, placement, rtl) {
|
|
159
|
+
let {
|
|
160
|
+
reference,
|
|
161
|
+
floating
|
|
162
|
+
} = _ref;
|
|
163
|
+
const sideAxis = getSideAxis(placement);
|
|
164
|
+
const alignmentAxis = getAlignmentAxis(placement);
|
|
165
|
+
const alignLength = getAxisLength(alignmentAxis);
|
|
166
|
+
const side = getSide(placement);
|
|
167
|
+
const isVertical = sideAxis === "y";
|
|
168
|
+
const commonX = reference.x + reference.width / 2 - floating.width / 2;
|
|
169
|
+
const commonY = reference.y + reference.height / 2 - floating.height / 2;
|
|
170
|
+
const commonAlign = reference[alignLength] / 2 - floating[alignLength] / 2;
|
|
171
|
+
let coords;
|
|
172
|
+
switch (side) {
|
|
173
|
+
case "top":
|
|
174
|
+
coords = {
|
|
175
|
+
x: commonX,
|
|
176
|
+
y: reference.y - floating.height
|
|
177
|
+
};
|
|
178
|
+
break;
|
|
179
|
+
case "bottom":
|
|
180
|
+
coords = {
|
|
181
|
+
x: commonX,
|
|
182
|
+
y: reference.y + reference.height
|
|
183
|
+
};
|
|
184
|
+
break;
|
|
185
|
+
case "right":
|
|
186
|
+
coords = {
|
|
187
|
+
x: reference.x + reference.width,
|
|
188
|
+
y: commonY
|
|
189
|
+
};
|
|
190
|
+
break;
|
|
191
|
+
case "left":
|
|
192
|
+
coords = {
|
|
193
|
+
x: reference.x - floating.width,
|
|
194
|
+
y: commonY
|
|
195
|
+
};
|
|
196
|
+
break;
|
|
197
|
+
default:
|
|
198
|
+
coords = {
|
|
199
|
+
x: reference.x,
|
|
200
|
+
y: reference.y
|
|
201
|
+
};
|
|
202
|
+
}
|
|
203
|
+
switch (getAlignment(placement)) {
|
|
204
|
+
case "start":
|
|
205
|
+
coords[alignmentAxis] -= commonAlign * (rtl && isVertical ? -1 : 1);
|
|
206
|
+
break;
|
|
207
|
+
case "end":
|
|
208
|
+
coords[alignmentAxis] += commonAlign * (rtl && isVertical ? -1 : 1);
|
|
209
|
+
break;
|
|
210
|
+
}
|
|
211
|
+
return coords;
|
|
212
|
+
}
|
|
213
|
+
var computePosition = async (reference, floating, config) => {
|
|
214
|
+
const {
|
|
215
|
+
placement = "bottom",
|
|
216
|
+
strategy = "absolute",
|
|
217
|
+
middleware = [],
|
|
218
|
+
platform: platform2
|
|
219
|
+
} = config;
|
|
220
|
+
const validMiddleware = middleware.filter(Boolean);
|
|
221
|
+
const rtl = await (platform2.isRTL == null ? void 0 : platform2.isRTL(floating));
|
|
222
|
+
let rects = await platform2.getElementRects({
|
|
223
|
+
reference,
|
|
224
|
+
floating,
|
|
225
|
+
strategy
|
|
226
|
+
});
|
|
227
|
+
let {
|
|
228
|
+
x: x2,
|
|
229
|
+
y
|
|
230
|
+
} = computeCoordsFromPlacement(rects, placement, rtl);
|
|
231
|
+
let statefulPlacement = placement;
|
|
232
|
+
let middlewareData = {};
|
|
233
|
+
let resetCount = 0;
|
|
234
|
+
for (let i2 = 0; i2 < validMiddleware.length; i2++) {
|
|
235
|
+
const {
|
|
236
|
+
name,
|
|
237
|
+
fn
|
|
238
|
+
} = validMiddleware[i2];
|
|
239
|
+
const {
|
|
240
|
+
x: nextX,
|
|
241
|
+
y: nextY,
|
|
242
|
+
data,
|
|
243
|
+
reset
|
|
244
|
+
} = await fn({
|
|
245
|
+
x: x2,
|
|
246
|
+
y,
|
|
247
|
+
initialPlacement: placement,
|
|
248
|
+
placement: statefulPlacement,
|
|
249
|
+
strategy,
|
|
250
|
+
middlewareData,
|
|
251
|
+
rects,
|
|
252
|
+
platform: platform2,
|
|
253
|
+
elements: {
|
|
254
|
+
reference,
|
|
255
|
+
floating
|
|
256
|
+
}
|
|
257
|
+
});
|
|
258
|
+
x2 = nextX != null ? nextX : x2;
|
|
259
|
+
y = nextY != null ? nextY : y;
|
|
260
|
+
middlewareData = __spreadProps(__spreadValues({}, middlewareData), {
|
|
261
|
+
[name]: __spreadValues(__spreadValues({}, middlewareData[name]), data)
|
|
262
|
+
});
|
|
263
|
+
if (reset && resetCount <= 50) {
|
|
264
|
+
resetCount++;
|
|
265
|
+
if (typeof reset === "object") {
|
|
266
|
+
if (reset.placement) {
|
|
267
|
+
statefulPlacement = reset.placement;
|
|
268
|
+
}
|
|
269
|
+
if (reset.rects) {
|
|
270
|
+
rects = reset.rects === true ? await platform2.getElementRects({
|
|
271
|
+
reference,
|
|
272
|
+
floating,
|
|
273
|
+
strategy
|
|
274
|
+
}) : reset.rects;
|
|
275
|
+
}
|
|
276
|
+
({
|
|
277
|
+
x: x2,
|
|
278
|
+
y
|
|
279
|
+
} = computeCoordsFromPlacement(rects, statefulPlacement, rtl));
|
|
280
|
+
}
|
|
281
|
+
i2 = -1;
|
|
282
|
+
}
|
|
283
|
+
}
|
|
284
|
+
return {
|
|
285
|
+
x: x2,
|
|
286
|
+
y,
|
|
287
|
+
placement: statefulPlacement,
|
|
288
|
+
strategy,
|
|
289
|
+
middlewareData
|
|
290
|
+
};
|
|
291
|
+
};
|
|
292
|
+
async function detectOverflow(state, options) {
|
|
293
|
+
var _await$platform$isEle;
|
|
294
|
+
if (options === void 0) {
|
|
295
|
+
options = {};
|
|
296
|
+
}
|
|
297
|
+
const {
|
|
298
|
+
x: x2,
|
|
299
|
+
y,
|
|
300
|
+
platform: platform2,
|
|
301
|
+
rects,
|
|
302
|
+
elements,
|
|
303
|
+
strategy
|
|
304
|
+
} = state;
|
|
305
|
+
const {
|
|
306
|
+
boundary = "clippingAncestors",
|
|
307
|
+
rootBoundary = "viewport",
|
|
308
|
+
elementContext = "floating",
|
|
309
|
+
altBoundary = false,
|
|
310
|
+
padding = 0
|
|
311
|
+
} = evaluate(options, state);
|
|
312
|
+
const paddingObject = getPaddingObject(padding);
|
|
313
|
+
const altContext = elementContext === "floating" ? "reference" : "floating";
|
|
314
|
+
const element = elements[altBoundary ? altContext : elementContext];
|
|
315
|
+
const clippingClientRect = rectToClientRect(await platform2.getClippingRect({
|
|
316
|
+
element: ((_await$platform$isEle = await (platform2.isElement == null ? void 0 : platform2.isElement(element))) != null ? _await$platform$isEle : true) ? element : element.contextElement || await (platform2.getDocumentElement == null ? void 0 : platform2.getDocumentElement(elements.floating)),
|
|
317
|
+
boundary,
|
|
318
|
+
rootBoundary,
|
|
319
|
+
strategy
|
|
320
|
+
}));
|
|
321
|
+
const rect = elementContext === "floating" ? {
|
|
322
|
+
x: x2,
|
|
323
|
+
y,
|
|
324
|
+
width: rects.floating.width,
|
|
325
|
+
height: rects.floating.height
|
|
326
|
+
} : rects.reference;
|
|
327
|
+
const offsetParent = await (platform2.getOffsetParent == null ? void 0 : platform2.getOffsetParent(elements.floating));
|
|
328
|
+
const offsetScale = await (platform2.isElement == null ? void 0 : platform2.isElement(offsetParent)) ? await (platform2.getScale == null ? void 0 : platform2.getScale(offsetParent)) || {
|
|
329
|
+
x: 1,
|
|
330
|
+
y: 1
|
|
331
|
+
} : {
|
|
332
|
+
x: 1,
|
|
333
|
+
y: 1
|
|
334
|
+
};
|
|
335
|
+
const elementClientRect = rectToClientRect(platform2.convertOffsetParentRelativeRectToViewportRelativeRect ? await platform2.convertOffsetParentRelativeRectToViewportRelativeRect({
|
|
336
|
+
elements,
|
|
337
|
+
rect,
|
|
338
|
+
offsetParent,
|
|
339
|
+
strategy
|
|
340
|
+
}) : rect);
|
|
341
|
+
return {
|
|
342
|
+
top: (clippingClientRect.top - elementClientRect.top + paddingObject.top) / offsetScale.y,
|
|
343
|
+
bottom: (elementClientRect.bottom - clippingClientRect.bottom + paddingObject.bottom) / offsetScale.y,
|
|
344
|
+
left: (clippingClientRect.left - elementClientRect.left + paddingObject.left) / offsetScale.x,
|
|
345
|
+
right: (elementClientRect.right - clippingClientRect.right + paddingObject.right) / offsetScale.x
|
|
346
|
+
};
|
|
347
|
+
}
|
|
348
|
+
var arrow = (options) => ({
|
|
349
|
+
name: "arrow",
|
|
350
|
+
options,
|
|
351
|
+
async fn(state) {
|
|
352
|
+
const {
|
|
353
|
+
x: x2,
|
|
354
|
+
y,
|
|
355
|
+
placement,
|
|
356
|
+
rects,
|
|
357
|
+
platform: platform2,
|
|
358
|
+
elements,
|
|
359
|
+
middlewareData
|
|
360
|
+
} = state;
|
|
361
|
+
const {
|
|
362
|
+
element,
|
|
363
|
+
padding = 0
|
|
364
|
+
} = evaluate(options, state) || {};
|
|
365
|
+
if (element == null) {
|
|
366
|
+
return {};
|
|
367
|
+
}
|
|
368
|
+
const paddingObject = getPaddingObject(padding);
|
|
369
|
+
const coords = {
|
|
370
|
+
x: x2,
|
|
371
|
+
y
|
|
372
|
+
};
|
|
373
|
+
const axis = getAlignmentAxis(placement);
|
|
374
|
+
const length = getAxisLength(axis);
|
|
375
|
+
const arrowDimensions = await platform2.getDimensions(element);
|
|
376
|
+
const isYAxis = axis === "y";
|
|
377
|
+
const minProp = isYAxis ? "top" : "left";
|
|
378
|
+
const maxProp = isYAxis ? "bottom" : "right";
|
|
379
|
+
const clientProp = isYAxis ? "clientHeight" : "clientWidth";
|
|
380
|
+
const endDiff = rects.reference[length] + rects.reference[axis] - coords[axis] - rects.floating[length];
|
|
381
|
+
const startDiff = coords[axis] - rects.reference[axis];
|
|
382
|
+
const arrowOffsetParent = await (platform2.getOffsetParent == null ? void 0 : platform2.getOffsetParent(element));
|
|
383
|
+
let clientSize = arrowOffsetParent ? arrowOffsetParent[clientProp] : 0;
|
|
384
|
+
if (!clientSize || !await (platform2.isElement == null ? void 0 : platform2.isElement(arrowOffsetParent))) {
|
|
385
|
+
clientSize = elements.floating[clientProp] || rects.floating[length];
|
|
386
|
+
}
|
|
387
|
+
const centerToReference = endDiff / 2 - startDiff / 2;
|
|
388
|
+
const largestPossiblePadding = clientSize / 2 - arrowDimensions[length] / 2 - 1;
|
|
389
|
+
const minPadding = min(paddingObject[minProp], largestPossiblePadding);
|
|
390
|
+
const maxPadding = min(paddingObject[maxProp], largestPossiblePadding);
|
|
391
|
+
const min$1 = minPadding;
|
|
392
|
+
const max2 = clientSize - arrowDimensions[length] - maxPadding;
|
|
393
|
+
const center = clientSize / 2 - arrowDimensions[length] / 2 + centerToReference;
|
|
394
|
+
const offset3 = clamp(min$1, center, max2);
|
|
395
|
+
const shouldAddOffset = !middlewareData.arrow && getAlignment(placement) != null && center !== offset3 && rects.reference[length] / 2 - (center < min$1 ? minPadding : maxPadding) - arrowDimensions[length] / 2 < 0;
|
|
396
|
+
const alignmentOffset = shouldAddOffset ? center < min$1 ? center - min$1 : center - max2 : 0;
|
|
397
|
+
return {
|
|
398
|
+
[axis]: coords[axis] + alignmentOffset,
|
|
399
|
+
data: __spreadValues({
|
|
400
|
+
[axis]: offset3,
|
|
401
|
+
centerOffset: center - offset3 - alignmentOffset
|
|
402
|
+
}, shouldAddOffset && {
|
|
403
|
+
alignmentOffset
|
|
404
|
+
}),
|
|
405
|
+
reset: shouldAddOffset
|
|
406
|
+
};
|
|
407
|
+
}
|
|
408
|
+
});
|
|
409
|
+
var flip = function(options) {
|
|
410
|
+
if (options === void 0) {
|
|
411
|
+
options = {};
|
|
412
|
+
}
|
|
413
|
+
return {
|
|
414
|
+
name: "flip",
|
|
415
|
+
options,
|
|
416
|
+
async fn(state) {
|
|
417
|
+
var _middlewareData$arrow, _middlewareData$flip;
|
|
418
|
+
const {
|
|
419
|
+
placement,
|
|
420
|
+
middlewareData,
|
|
421
|
+
rects,
|
|
422
|
+
initialPlacement,
|
|
423
|
+
platform: platform2,
|
|
424
|
+
elements
|
|
425
|
+
} = state;
|
|
426
|
+
const _a = evaluate(options, state), {
|
|
427
|
+
mainAxis: checkMainAxis = true,
|
|
428
|
+
crossAxis: checkCrossAxis = true,
|
|
429
|
+
fallbackPlacements: specifiedFallbackPlacements,
|
|
430
|
+
fallbackStrategy = "bestFit",
|
|
431
|
+
fallbackAxisSideDirection = "none",
|
|
432
|
+
flipAlignment = true
|
|
433
|
+
} = _a, detectOverflowOptions = __objRest(_a, [
|
|
434
|
+
"mainAxis",
|
|
435
|
+
"crossAxis",
|
|
436
|
+
"fallbackPlacements",
|
|
437
|
+
"fallbackStrategy",
|
|
438
|
+
"fallbackAxisSideDirection",
|
|
439
|
+
"flipAlignment"
|
|
440
|
+
]);
|
|
441
|
+
if ((_middlewareData$arrow = middlewareData.arrow) != null && _middlewareData$arrow.alignmentOffset) {
|
|
442
|
+
return {};
|
|
443
|
+
}
|
|
444
|
+
const side = getSide(placement);
|
|
445
|
+
const initialSideAxis = getSideAxis(initialPlacement);
|
|
446
|
+
const isBasePlacement = getSide(initialPlacement) === initialPlacement;
|
|
447
|
+
const rtl = await (platform2.isRTL == null ? void 0 : platform2.isRTL(elements.floating));
|
|
448
|
+
const fallbackPlacements = specifiedFallbackPlacements || (isBasePlacement || !flipAlignment ? [getOppositePlacement(initialPlacement)] : getExpandedPlacements(initialPlacement));
|
|
449
|
+
const hasFallbackAxisSideDirection = fallbackAxisSideDirection !== "none";
|
|
450
|
+
if (!specifiedFallbackPlacements && hasFallbackAxisSideDirection) {
|
|
451
|
+
fallbackPlacements.push(...getOppositeAxisPlacements(initialPlacement, flipAlignment, fallbackAxisSideDirection, rtl));
|
|
452
|
+
}
|
|
453
|
+
const placements2 = [initialPlacement, ...fallbackPlacements];
|
|
454
|
+
const overflow = await detectOverflow(state, detectOverflowOptions);
|
|
455
|
+
const overflows = [];
|
|
456
|
+
let overflowsData = ((_middlewareData$flip = middlewareData.flip) == null ? void 0 : _middlewareData$flip.overflows) || [];
|
|
457
|
+
if (checkMainAxis) {
|
|
458
|
+
overflows.push(overflow[side]);
|
|
459
|
+
}
|
|
460
|
+
if (checkCrossAxis) {
|
|
461
|
+
const sides2 = getAlignmentSides(placement, rects, rtl);
|
|
462
|
+
overflows.push(overflow[sides2[0]], overflow[sides2[1]]);
|
|
463
|
+
}
|
|
464
|
+
overflowsData = [...overflowsData, {
|
|
465
|
+
placement,
|
|
466
|
+
overflows
|
|
467
|
+
}];
|
|
468
|
+
if (!overflows.every((side2) => side2 <= 0)) {
|
|
469
|
+
var _middlewareData$flip2, _overflowsData$filter;
|
|
470
|
+
const nextIndex = (((_middlewareData$flip2 = middlewareData.flip) == null ? void 0 : _middlewareData$flip2.index) || 0) + 1;
|
|
471
|
+
const nextPlacement = placements2[nextIndex];
|
|
472
|
+
if (nextPlacement) {
|
|
473
|
+
return {
|
|
474
|
+
data: {
|
|
475
|
+
index: nextIndex,
|
|
476
|
+
overflows: overflowsData
|
|
477
|
+
},
|
|
478
|
+
reset: {
|
|
479
|
+
placement: nextPlacement
|
|
480
|
+
}
|
|
481
|
+
};
|
|
482
|
+
}
|
|
483
|
+
let resetPlacement = (_overflowsData$filter = overflowsData.filter((d) => d.overflows[0] <= 0).sort((a, b) => a.overflows[1] - b.overflows[1])[0]) == null ? void 0 : _overflowsData$filter.placement;
|
|
484
|
+
if (!resetPlacement) {
|
|
485
|
+
switch (fallbackStrategy) {
|
|
486
|
+
case "bestFit": {
|
|
487
|
+
var _overflowsData$filter2;
|
|
488
|
+
const placement2 = (_overflowsData$filter2 = overflowsData.filter((d) => {
|
|
489
|
+
if (hasFallbackAxisSideDirection) {
|
|
490
|
+
const currentSideAxis = getSideAxis(d.placement);
|
|
491
|
+
return currentSideAxis === initialSideAxis || // Create a bias to the `y` side axis due to horizontal
|
|
492
|
+
// reading directions favoring greater width.
|
|
493
|
+
currentSideAxis === "y";
|
|
494
|
+
}
|
|
495
|
+
return true;
|
|
496
|
+
}).map((d) => [d.placement, d.overflows.filter((overflow2) => overflow2 > 0).reduce((acc, overflow2) => acc + overflow2, 0)]).sort((a, b) => a[1] - b[1])[0]) == null ? void 0 : _overflowsData$filter2[0];
|
|
497
|
+
if (placement2) {
|
|
498
|
+
resetPlacement = placement2;
|
|
499
|
+
}
|
|
500
|
+
break;
|
|
501
|
+
}
|
|
502
|
+
case "initialPlacement":
|
|
503
|
+
resetPlacement = initialPlacement;
|
|
504
|
+
break;
|
|
505
|
+
}
|
|
506
|
+
}
|
|
507
|
+
if (placement !== resetPlacement) {
|
|
508
|
+
return {
|
|
509
|
+
reset: {
|
|
510
|
+
placement: resetPlacement
|
|
511
|
+
}
|
|
512
|
+
};
|
|
513
|
+
}
|
|
514
|
+
}
|
|
515
|
+
return {};
|
|
516
|
+
}
|
|
517
|
+
};
|
|
518
|
+
};
|
|
519
|
+
async function convertValueToCoords(state, options) {
|
|
520
|
+
const {
|
|
521
|
+
placement,
|
|
522
|
+
platform: platform2,
|
|
523
|
+
elements
|
|
524
|
+
} = state;
|
|
525
|
+
const rtl = await (platform2.isRTL == null ? void 0 : platform2.isRTL(elements.floating));
|
|
526
|
+
const side = getSide(placement);
|
|
527
|
+
const alignment = getAlignment(placement);
|
|
528
|
+
const isVertical = getSideAxis(placement) === "y";
|
|
529
|
+
const mainAxisMulti = ["left", "top"].includes(side) ? -1 : 1;
|
|
530
|
+
const crossAxisMulti = rtl && isVertical ? -1 : 1;
|
|
531
|
+
const rawValue = evaluate(options, state);
|
|
532
|
+
let {
|
|
533
|
+
mainAxis,
|
|
534
|
+
crossAxis,
|
|
535
|
+
alignmentAxis
|
|
536
|
+
} = typeof rawValue === "number" ? {
|
|
537
|
+
mainAxis: rawValue,
|
|
538
|
+
crossAxis: 0,
|
|
539
|
+
alignmentAxis: null
|
|
540
|
+
} : {
|
|
541
|
+
mainAxis: rawValue.mainAxis || 0,
|
|
542
|
+
crossAxis: rawValue.crossAxis || 0,
|
|
543
|
+
alignmentAxis: rawValue.alignmentAxis
|
|
544
|
+
};
|
|
545
|
+
if (alignment && typeof alignmentAxis === "number") {
|
|
546
|
+
crossAxis = alignment === "end" ? alignmentAxis * -1 : alignmentAxis;
|
|
547
|
+
}
|
|
548
|
+
return isVertical ? {
|
|
549
|
+
x: crossAxis * crossAxisMulti,
|
|
550
|
+
y: mainAxis * mainAxisMulti
|
|
551
|
+
} : {
|
|
552
|
+
x: mainAxis * mainAxisMulti,
|
|
553
|
+
y: crossAxis * crossAxisMulti
|
|
554
|
+
};
|
|
555
|
+
}
|
|
556
|
+
var offset = function(options) {
|
|
557
|
+
if (options === void 0) {
|
|
558
|
+
options = 0;
|
|
559
|
+
}
|
|
560
|
+
return {
|
|
561
|
+
name: "offset",
|
|
562
|
+
options,
|
|
563
|
+
async fn(state) {
|
|
564
|
+
var _middlewareData$offse, _middlewareData$arrow;
|
|
565
|
+
const {
|
|
566
|
+
x: x2,
|
|
567
|
+
y,
|
|
568
|
+
placement,
|
|
569
|
+
middlewareData
|
|
570
|
+
} = state;
|
|
571
|
+
const diffCoords = await convertValueToCoords(state, options);
|
|
572
|
+
if (placement === ((_middlewareData$offse = middlewareData.offset) == null ? void 0 : _middlewareData$offse.placement) && (_middlewareData$arrow = middlewareData.arrow) != null && _middlewareData$arrow.alignmentOffset) {
|
|
573
|
+
return {};
|
|
574
|
+
}
|
|
575
|
+
return {
|
|
576
|
+
x: x2 + diffCoords.x,
|
|
577
|
+
y: y + diffCoords.y,
|
|
578
|
+
data: __spreadProps(__spreadValues({}, diffCoords), {
|
|
579
|
+
placement
|
|
580
|
+
})
|
|
581
|
+
};
|
|
582
|
+
}
|
|
583
|
+
};
|
|
584
|
+
};
|
|
585
|
+
var shift = function(options) {
|
|
586
|
+
if (options === void 0) {
|
|
587
|
+
options = {};
|
|
588
|
+
}
|
|
589
|
+
return {
|
|
590
|
+
name: "shift",
|
|
591
|
+
options,
|
|
592
|
+
async fn(state) {
|
|
593
|
+
const {
|
|
594
|
+
x: x2,
|
|
595
|
+
y,
|
|
596
|
+
placement
|
|
597
|
+
} = state;
|
|
598
|
+
const _a = evaluate(options, state), {
|
|
599
|
+
mainAxis: checkMainAxis = true,
|
|
600
|
+
crossAxis: checkCrossAxis = false,
|
|
601
|
+
limiter = {
|
|
602
|
+
fn: (_ref) => {
|
|
603
|
+
let {
|
|
604
|
+
x: x3,
|
|
605
|
+
y: y2
|
|
606
|
+
} = _ref;
|
|
607
|
+
return {
|
|
608
|
+
x: x3,
|
|
609
|
+
y: y2
|
|
610
|
+
};
|
|
611
|
+
}
|
|
612
|
+
}
|
|
613
|
+
} = _a, detectOverflowOptions = __objRest(_a, [
|
|
614
|
+
"mainAxis",
|
|
615
|
+
"crossAxis",
|
|
616
|
+
"limiter"
|
|
617
|
+
]);
|
|
618
|
+
const coords = {
|
|
619
|
+
x: x2,
|
|
620
|
+
y
|
|
621
|
+
};
|
|
622
|
+
const overflow = await detectOverflow(state, detectOverflowOptions);
|
|
623
|
+
const crossAxis = getSideAxis(getSide(placement));
|
|
624
|
+
const mainAxis = getOppositeAxis(crossAxis);
|
|
625
|
+
let mainAxisCoord = coords[mainAxis];
|
|
626
|
+
let crossAxisCoord = coords[crossAxis];
|
|
627
|
+
if (checkMainAxis) {
|
|
628
|
+
const minSide = mainAxis === "y" ? "top" : "left";
|
|
629
|
+
const maxSide = mainAxis === "y" ? "bottom" : "right";
|
|
630
|
+
const min2 = mainAxisCoord + overflow[minSide];
|
|
631
|
+
const max2 = mainAxisCoord - overflow[maxSide];
|
|
632
|
+
mainAxisCoord = clamp(min2, mainAxisCoord, max2);
|
|
633
|
+
}
|
|
634
|
+
if (checkCrossAxis) {
|
|
635
|
+
const minSide = crossAxis === "y" ? "top" : "left";
|
|
636
|
+
const maxSide = crossAxis === "y" ? "bottom" : "right";
|
|
637
|
+
const min2 = crossAxisCoord + overflow[minSide];
|
|
638
|
+
const max2 = crossAxisCoord - overflow[maxSide];
|
|
639
|
+
crossAxisCoord = clamp(min2, crossAxisCoord, max2);
|
|
640
|
+
}
|
|
641
|
+
const limitedCoords = limiter.fn(__spreadProps(__spreadValues({}, state), {
|
|
642
|
+
[mainAxis]: mainAxisCoord,
|
|
643
|
+
[crossAxis]: crossAxisCoord
|
|
644
|
+
}));
|
|
645
|
+
return __spreadProps(__spreadValues({}, limitedCoords), {
|
|
646
|
+
data: {
|
|
647
|
+
x: limitedCoords.x - x2,
|
|
648
|
+
y: limitedCoords.y - y,
|
|
649
|
+
enabled: {
|
|
650
|
+
[mainAxis]: checkMainAxis,
|
|
651
|
+
[crossAxis]: checkCrossAxis
|
|
652
|
+
}
|
|
653
|
+
}
|
|
654
|
+
});
|
|
655
|
+
}
|
|
656
|
+
};
|
|
657
|
+
};
|
|
658
|
+
var size = function(options) {
|
|
659
|
+
if (options === void 0) {
|
|
660
|
+
options = {};
|
|
661
|
+
}
|
|
662
|
+
return {
|
|
663
|
+
name: "size",
|
|
664
|
+
options,
|
|
665
|
+
async fn(state) {
|
|
666
|
+
var _state$middlewareData, _state$middlewareData2;
|
|
667
|
+
const {
|
|
668
|
+
placement,
|
|
669
|
+
rects,
|
|
670
|
+
platform: platform2,
|
|
671
|
+
elements
|
|
672
|
+
} = state;
|
|
673
|
+
const _a = evaluate(options, state), {
|
|
674
|
+
apply = () => {
|
|
675
|
+
}
|
|
676
|
+
} = _a, detectOverflowOptions = __objRest(_a, [
|
|
677
|
+
"apply"
|
|
678
|
+
]);
|
|
679
|
+
const overflow = await detectOverflow(state, detectOverflowOptions);
|
|
680
|
+
const side = getSide(placement);
|
|
681
|
+
const alignment = getAlignment(placement);
|
|
682
|
+
const isYAxis = getSideAxis(placement) === "y";
|
|
683
|
+
const {
|
|
684
|
+
width,
|
|
685
|
+
height
|
|
686
|
+
} = rects.floating;
|
|
687
|
+
let heightSide;
|
|
688
|
+
let widthSide;
|
|
689
|
+
if (side === "top" || side === "bottom") {
|
|
690
|
+
heightSide = side;
|
|
691
|
+
widthSide = alignment === (await (platform2.isRTL == null ? void 0 : platform2.isRTL(elements.floating)) ? "start" : "end") ? "left" : "right";
|
|
692
|
+
} else {
|
|
693
|
+
widthSide = side;
|
|
694
|
+
heightSide = alignment === "end" ? "top" : "bottom";
|
|
695
|
+
}
|
|
696
|
+
const maximumClippingHeight = height - overflow.top - overflow.bottom;
|
|
697
|
+
const maximumClippingWidth = width - overflow.left - overflow.right;
|
|
698
|
+
const overflowAvailableHeight = min(height - overflow[heightSide], maximumClippingHeight);
|
|
699
|
+
const overflowAvailableWidth = min(width - overflow[widthSide], maximumClippingWidth);
|
|
700
|
+
const noShift = !state.middlewareData.shift;
|
|
701
|
+
let availableHeight = overflowAvailableHeight;
|
|
702
|
+
let availableWidth = overflowAvailableWidth;
|
|
703
|
+
if ((_state$middlewareData = state.middlewareData.shift) != null && _state$middlewareData.enabled.x) {
|
|
704
|
+
availableWidth = maximumClippingWidth;
|
|
705
|
+
}
|
|
706
|
+
if ((_state$middlewareData2 = state.middlewareData.shift) != null && _state$middlewareData2.enabled.y) {
|
|
707
|
+
availableHeight = maximumClippingHeight;
|
|
708
|
+
}
|
|
709
|
+
if (noShift && !alignment) {
|
|
710
|
+
const xMin = max(overflow.left, 0);
|
|
711
|
+
const xMax = max(overflow.right, 0);
|
|
712
|
+
const yMin = max(overflow.top, 0);
|
|
713
|
+
const yMax = max(overflow.bottom, 0);
|
|
714
|
+
if (isYAxis) {
|
|
715
|
+
availableWidth = width - 2 * (xMin !== 0 || xMax !== 0 ? xMin + xMax : max(overflow.left, overflow.right));
|
|
716
|
+
} else {
|
|
717
|
+
availableHeight = height - 2 * (yMin !== 0 || yMax !== 0 ? yMin + yMax : max(overflow.top, overflow.bottom));
|
|
718
|
+
}
|
|
719
|
+
}
|
|
720
|
+
await apply(__spreadProps(__spreadValues({}, state), {
|
|
721
|
+
availableWidth,
|
|
722
|
+
availableHeight
|
|
723
|
+
}));
|
|
724
|
+
const nextDimensions = await platform2.getDimensions(elements.floating);
|
|
725
|
+
if (width !== nextDimensions.width || height !== nextDimensions.height) {
|
|
726
|
+
return {
|
|
727
|
+
reset: {
|
|
728
|
+
rects: true
|
|
729
|
+
}
|
|
730
|
+
};
|
|
731
|
+
}
|
|
732
|
+
return {};
|
|
733
|
+
}
|
|
734
|
+
};
|
|
735
|
+
};
|
|
736
|
+
|
|
737
|
+
// node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs
|
|
738
|
+
function hasWindow() {
|
|
739
|
+
return typeof window !== "undefined";
|
|
740
|
+
}
|
|
741
|
+
function getNodeName(node) {
|
|
742
|
+
if (isNode(node)) {
|
|
743
|
+
return (node.nodeName || "").toLowerCase();
|
|
744
|
+
}
|
|
745
|
+
return "#document";
|
|
746
|
+
}
|
|
747
|
+
function getWindow(node) {
|
|
748
|
+
var _node$ownerDocument;
|
|
749
|
+
return (node == null || (_node$ownerDocument = node.ownerDocument) == null ? void 0 : _node$ownerDocument.defaultView) || window;
|
|
750
|
+
}
|
|
751
|
+
function getDocumentElement(node) {
|
|
752
|
+
var _ref;
|
|
753
|
+
return (_ref = (isNode(node) ? node.ownerDocument : node.document) || window.document) == null ? void 0 : _ref.documentElement;
|
|
754
|
+
}
|
|
755
|
+
function isNode(value) {
|
|
756
|
+
if (!hasWindow()) {
|
|
757
|
+
return false;
|
|
758
|
+
}
|
|
759
|
+
return value instanceof Node || value instanceof getWindow(value).Node;
|
|
760
|
+
}
|
|
761
|
+
function isElement(value) {
|
|
762
|
+
if (!hasWindow()) {
|
|
763
|
+
return false;
|
|
764
|
+
}
|
|
765
|
+
return value instanceof Element || value instanceof getWindow(value).Element;
|
|
766
|
+
}
|
|
767
|
+
function isHTMLElement(value) {
|
|
768
|
+
if (!hasWindow()) {
|
|
769
|
+
return false;
|
|
770
|
+
}
|
|
771
|
+
return value instanceof HTMLElement || value instanceof getWindow(value).HTMLElement;
|
|
772
|
+
}
|
|
773
|
+
function isShadowRoot(value) {
|
|
774
|
+
if (!hasWindow() || typeof ShadowRoot === "undefined") {
|
|
775
|
+
return false;
|
|
776
|
+
}
|
|
777
|
+
return value instanceof ShadowRoot || value instanceof getWindow(value).ShadowRoot;
|
|
778
|
+
}
|
|
779
|
+
function isOverflowElement(element) {
|
|
780
|
+
const {
|
|
781
|
+
overflow,
|
|
782
|
+
overflowX,
|
|
783
|
+
overflowY,
|
|
784
|
+
display
|
|
785
|
+
} = getComputedStyle2(element);
|
|
786
|
+
return /auto|scroll|overlay|hidden|clip/.test(overflow + overflowY + overflowX) && !["inline", "contents"].includes(display);
|
|
787
|
+
}
|
|
788
|
+
function isTableElement(element) {
|
|
789
|
+
return ["table", "td", "th"].includes(getNodeName(element));
|
|
790
|
+
}
|
|
791
|
+
function isTopLayer(element) {
|
|
792
|
+
return [":popover-open", ":modal"].some((selector) => {
|
|
793
|
+
try {
|
|
794
|
+
return element.matches(selector);
|
|
795
|
+
} catch (e4) {
|
|
796
|
+
return false;
|
|
797
|
+
}
|
|
798
|
+
});
|
|
799
|
+
}
|
|
800
|
+
function isContainingBlock(elementOrCss) {
|
|
801
|
+
const webkit = isWebKit();
|
|
802
|
+
const css = isElement(elementOrCss) ? getComputedStyle2(elementOrCss) : elementOrCss;
|
|
803
|
+
return ["transform", "translate", "scale", "rotate", "perspective"].some((value) => css[value] ? css[value] !== "none" : false) || (css.containerType ? css.containerType !== "normal" : false) || !webkit && (css.backdropFilter ? css.backdropFilter !== "none" : false) || !webkit && (css.filter ? css.filter !== "none" : false) || ["transform", "translate", "scale", "rotate", "perspective", "filter"].some((value) => (css.willChange || "").includes(value)) || ["paint", "layout", "strict", "content"].some((value) => (css.contain || "").includes(value));
|
|
804
|
+
}
|
|
805
|
+
function getContainingBlock(element) {
|
|
806
|
+
let currentNode = getParentNode(element);
|
|
807
|
+
while (isHTMLElement(currentNode) && !isLastTraversableNode(currentNode)) {
|
|
808
|
+
if (isContainingBlock(currentNode)) {
|
|
809
|
+
return currentNode;
|
|
810
|
+
} else if (isTopLayer(currentNode)) {
|
|
811
|
+
return null;
|
|
812
|
+
}
|
|
813
|
+
currentNode = getParentNode(currentNode);
|
|
814
|
+
}
|
|
815
|
+
return null;
|
|
816
|
+
}
|
|
817
|
+
function isWebKit() {
|
|
818
|
+
if (typeof CSS === "undefined" || !CSS.supports) return false;
|
|
819
|
+
return CSS.supports("-webkit-backdrop-filter", "none");
|
|
820
|
+
}
|
|
821
|
+
function isLastTraversableNode(node) {
|
|
822
|
+
return ["html", "body", "#document"].includes(getNodeName(node));
|
|
823
|
+
}
|
|
824
|
+
function getComputedStyle2(element) {
|
|
825
|
+
return getWindow(element).getComputedStyle(element);
|
|
826
|
+
}
|
|
827
|
+
function getNodeScroll(element) {
|
|
828
|
+
if (isElement(element)) {
|
|
829
|
+
return {
|
|
830
|
+
scrollLeft: element.scrollLeft,
|
|
831
|
+
scrollTop: element.scrollTop
|
|
832
|
+
};
|
|
833
|
+
}
|
|
834
|
+
return {
|
|
835
|
+
scrollLeft: element.scrollX,
|
|
836
|
+
scrollTop: element.scrollY
|
|
837
|
+
};
|
|
838
|
+
}
|
|
839
|
+
function getParentNode(node) {
|
|
840
|
+
if (getNodeName(node) === "html") {
|
|
841
|
+
return node;
|
|
842
|
+
}
|
|
843
|
+
const result = (
|
|
844
|
+
// Step into the shadow DOM of the parent of a slotted node.
|
|
845
|
+
node.assignedSlot || // DOM Element detected.
|
|
846
|
+
node.parentNode || // ShadowRoot detected.
|
|
847
|
+
isShadowRoot(node) && node.host || // Fallback.
|
|
848
|
+
getDocumentElement(node)
|
|
849
|
+
);
|
|
850
|
+
return isShadowRoot(result) ? result.host : result;
|
|
851
|
+
}
|
|
852
|
+
function getNearestOverflowAncestor(node) {
|
|
853
|
+
const parentNode = getParentNode(node);
|
|
854
|
+
if (isLastTraversableNode(parentNode)) {
|
|
855
|
+
return node.ownerDocument ? node.ownerDocument.body : node.body;
|
|
856
|
+
}
|
|
857
|
+
if (isHTMLElement(parentNode) && isOverflowElement(parentNode)) {
|
|
858
|
+
return parentNode;
|
|
859
|
+
}
|
|
860
|
+
return getNearestOverflowAncestor(parentNode);
|
|
861
|
+
}
|
|
862
|
+
function getOverflowAncestors(node, list, traverseIframes) {
|
|
863
|
+
var _node$ownerDocument2;
|
|
864
|
+
if (list === void 0) {
|
|
865
|
+
list = [];
|
|
866
|
+
}
|
|
867
|
+
if (traverseIframes === void 0) {
|
|
868
|
+
traverseIframes = true;
|
|
869
|
+
}
|
|
870
|
+
const scrollableAncestor = getNearestOverflowAncestor(node);
|
|
871
|
+
const isBody = scrollableAncestor === ((_node$ownerDocument2 = node.ownerDocument) == null ? void 0 : _node$ownerDocument2.body);
|
|
872
|
+
const win = getWindow(scrollableAncestor);
|
|
873
|
+
if (isBody) {
|
|
874
|
+
const frameElement = getFrameElement(win);
|
|
875
|
+
return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : [], frameElement && traverseIframes ? getOverflowAncestors(frameElement) : []);
|
|
876
|
+
}
|
|
877
|
+
return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor, [], traverseIframes));
|
|
878
|
+
}
|
|
879
|
+
function getFrameElement(win) {
|
|
880
|
+
return win.parent && Object.getPrototypeOf(win.parent) ? win.frameElement : null;
|
|
881
|
+
}
|
|
882
|
+
|
|
883
|
+
// node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs
|
|
884
|
+
function getCssDimensions(element) {
|
|
885
|
+
const css = getComputedStyle2(element);
|
|
886
|
+
let width = parseFloat(css.width) || 0;
|
|
887
|
+
let height = parseFloat(css.height) || 0;
|
|
888
|
+
const hasOffset = isHTMLElement(element);
|
|
889
|
+
const offsetWidth = hasOffset ? element.offsetWidth : width;
|
|
890
|
+
const offsetHeight = hasOffset ? element.offsetHeight : height;
|
|
891
|
+
const shouldFallback = round(width) !== offsetWidth || round(height) !== offsetHeight;
|
|
892
|
+
if (shouldFallback) {
|
|
893
|
+
width = offsetWidth;
|
|
894
|
+
height = offsetHeight;
|
|
895
|
+
}
|
|
896
|
+
return {
|
|
897
|
+
width,
|
|
898
|
+
height,
|
|
899
|
+
$: shouldFallback
|
|
900
|
+
};
|
|
901
|
+
}
|
|
902
|
+
function unwrapElement(element) {
|
|
903
|
+
return !isElement(element) ? element.contextElement : element;
|
|
904
|
+
}
|
|
905
|
+
function getScale(element) {
|
|
906
|
+
const domElement = unwrapElement(element);
|
|
907
|
+
if (!isHTMLElement(domElement)) {
|
|
908
|
+
return createCoords(1);
|
|
909
|
+
}
|
|
910
|
+
const rect = domElement.getBoundingClientRect();
|
|
911
|
+
const {
|
|
912
|
+
width,
|
|
913
|
+
height,
|
|
914
|
+
$
|
|
915
|
+
} = getCssDimensions(domElement);
|
|
916
|
+
let x2 = ($ ? round(rect.width) : rect.width) / width;
|
|
917
|
+
let y = ($ ? round(rect.height) : rect.height) / height;
|
|
918
|
+
if (!x2 || !Number.isFinite(x2)) {
|
|
919
|
+
x2 = 1;
|
|
920
|
+
}
|
|
921
|
+
if (!y || !Number.isFinite(y)) {
|
|
922
|
+
y = 1;
|
|
923
|
+
}
|
|
924
|
+
return {
|
|
925
|
+
x: x2,
|
|
926
|
+
y
|
|
927
|
+
};
|
|
928
|
+
}
|
|
929
|
+
var noOffsets = /* @__PURE__ */ createCoords(0);
|
|
930
|
+
function getVisualOffsets(element) {
|
|
931
|
+
const win = getWindow(element);
|
|
932
|
+
if (!isWebKit() || !win.visualViewport) {
|
|
933
|
+
return noOffsets;
|
|
934
|
+
}
|
|
935
|
+
return {
|
|
936
|
+
x: win.visualViewport.offsetLeft,
|
|
937
|
+
y: win.visualViewport.offsetTop
|
|
938
|
+
};
|
|
939
|
+
}
|
|
940
|
+
function shouldAddVisualOffsets(element, isFixed, floatingOffsetParent) {
|
|
941
|
+
if (isFixed === void 0) {
|
|
942
|
+
isFixed = false;
|
|
943
|
+
}
|
|
944
|
+
if (!floatingOffsetParent || isFixed && floatingOffsetParent !== getWindow(element)) {
|
|
945
|
+
return false;
|
|
946
|
+
}
|
|
947
|
+
return isFixed;
|
|
948
|
+
}
|
|
949
|
+
function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetParent) {
|
|
950
|
+
if (includeScale === void 0) {
|
|
951
|
+
includeScale = false;
|
|
952
|
+
}
|
|
953
|
+
if (isFixedStrategy === void 0) {
|
|
954
|
+
isFixedStrategy = false;
|
|
955
|
+
}
|
|
956
|
+
const clientRect = element.getBoundingClientRect();
|
|
957
|
+
const domElement = unwrapElement(element);
|
|
958
|
+
let scale = createCoords(1);
|
|
959
|
+
if (includeScale) {
|
|
960
|
+
if (offsetParent) {
|
|
961
|
+
if (isElement(offsetParent)) {
|
|
962
|
+
scale = getScale(offsetParent);
|
|
963
|
+
}
|
|
964
|
+
} else {
|
|
965
|
+
scale = getScale(element);
|
|
966
|
+
}
|
|
967
|
+
}
|
|
968
|
+
const visualOffsets = shouldAddVisualOffsets(domElement, isFixedStrategy, offsetParent) ? getVisualOffsets(domElement) : createCoords(0);
|
|
969
|
+
let x2 = (clientRect.left + visualOffsets.x) / scale.x;
|
|
970
|
+
let y = (clientRect.top + visualOffsets.y) / scale.y;
|
|
971
|
+
let width = clientRect.width / scale.x;
|
|
972
|
+
let height = clientRect.height / scale.y;
|
|
973
|
+
if (domElement) {
|
|
974
|
+
const win = getWindow(domElement);
|
|
975
|
+
const offsetWin = offsetParent && isElement(offsetParent) ? getWindow(offsetParent) : offsetParent;
|
|
976
|
+
let currentWin = win;
|
|
977
|
+
let currentIFrame = getFrameElement(currentWin);
|
|
978
|
+
while (currentIFrame && offsetParent && offsetWin !== currentWin) {
|
|
979
|
+
const iframeScale = getScale(currentIFrame);
|
|
980
|
+
const iframeRect = currentIFrame.getBoundingClientRect();
|
|
981
|
+
const css = getComputedStyle2(currentIFrame);
|
|
982
|
+
const left = iframeRect.left + (currentIFrame.clientLeft + parseFloat(css.paddingLeft)) * iframeScale.x;
|
|
983
|
+
const top = iframeRect.top + (currentIFrame.clientTop + parseFloat(css.paddingTop)) * iframeScale.y;
|
|
984
|
+
x2 *= iframeScale.x;
|
|
985
|
+
y *= iframeScale.y;
|
|
986
|
+
width *= iframeScale.x;
|
|
987
|
+
height *= iframeScale.y;
|
|
988
|
+
x2 += left;
|
|
989
|
+
y += top;
|
|
990
|
+
currentWin = getWindow(currentIFrame);
|
|
991
|
+
currentIFrame = getFrameElement(currentWin);
|
|
992
|
+
}
|
|
993
|
+
}
|
|
994
|
+
return rectToClientRect({
|
|
995
|
+
width,
|
|
996
|
+
height,
|
|
997
|
+
x: x2,
|
|
998
|
+
y
|
|
999
|
+
});
|
|
1000
|
+
}
|
|
1001
|
+
function getWindowScrollBarX(element, rect) {
|
|
1002
|
+
const leftScroll = getNodeScroll(element).scrollLeft;
|
|
1003
|
+
if (!rect) {
|
|
1004
|
+
return getBoundingClientRect(getDocumentElement(element)).left + leftScroll;
|
|
1005
|
+
}
|
|
1006
|
+
return rect.left + leftScroll;
|
|
1007
|
+
}
|
|
1008
|
+
function getHTMLOffset(documentElement, scroll, ignoreScrollbarX) {
|
|
1009
|
+
if (ignoreScrollbarX === void 0) {
|
|
1010
|
+
ignoreScrollbarX = false;
|
|
1011
|
+
}
|
|
1012
|
+
const htmlRect = documentElement.getBoundingClientRect();
|
|
1013
|
+
const x2 = htmlRect.left + scroll.scrollLeft - (ignoreScrollbarX ? 0 : (
|
|
1014
|
+
// RTL <body> scrollbar.
|
|
1015
|
+
getWindowScrollBarX(documentElement, htmlRect)
|
|
1016
|
+
));
|
|
1017
|
+
const y = htmlRect.top + scroll.scrollTop;
|
|
1018
|
+
return {
|
|
1019
|
+
x: x2,
|
|
1020
|
+
y
|
|
1021
|
+
};
|
|
1022
|
+
}
|
|
1023
|
+
function convertOffsetParentRelativeRectToViewportRelativeRect(_ref) {
|
|
1024
|
+
let {
|
|
1025
|
+
elements,
|
|
1026
|
+
rect,
|
|
1027
|
+
offsetParent,
|
|
1028
|
+
strategy
|
|
1029
|
+
} = _ref;
|
|
1030
|
+
const isFixed = strategy === "fixed";
|
|
1031
|
+
const documentElement = getDocumentElement(offsetParent);
|
|
1032
|
+
const topLayer = elements ? isTopLayer(elements.floating) : false;
|
|
1033
|
+
if (offsetParent === documentElement || topLayer && isFixed) {
|
|
1034
|
+
return rect;
|
|
1035
|
+
}
|
|
1036
|
+
let scroll = {
|
|
1037
|
+
scrollLeft: 0,
|
|
1038
|
+
scrollTop: 0
|
|
1039
|
+
};
|
|
1040
|
+
let scale = createCoords(1);
|
|
1041
|
+
const offsets = createCoords(0);
|
|
1042
|
+
const isOffsetParentAnElement = isHTMLElement(offsetParent);
|
|
1043
|
+
if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {
|
|
1044
|
+
if (getNodeName(offsetParent) !== "body" || isOverflowElement(documentElement)) {
|
|
1045
|
+
scroll = getNodeScroll(offsetParent);
|
|
1046
|
+
}
|
|
1047
|
+
if (isHTMLElement(offsetParent)) {
|
|
1048
|
+
const offsetRect = getBoundingClientRect(offsetParent);
|
|
1049
|
+
scale = getScale(offsetParent);
|
|
1050
|
+
offsets.x = offsetRect.x + offsetParent.clientLeft;
|
|
1051
|
+
offsets.y = offsetRect.y + offsetParent.clientTop;
|
|
1052
|
+
}
|
|
1053
|
+
}
|
|
1054
|
+
const htmlOffset = documentElement && !isOffsetParentAnElement && !isFixed ? getHTMLOffset(documentElement, scroll, true) : createCoords(0);
|
|
1055
|
+
return {
|
|
1056
|
+
width: rect.width * scale.x,
|
|
1057
|
+
height: rect.height * scale.y,
|
|
1058
|
+
x: rect.x * scale.x - scroll.scrollLeft * scale.x + offsets.x + htmlOffset.x,
|
|
1059
|
+
y: rect.y * scale.y - scroll.scrollTop * scale.y + offsets.y + htmlOffset.y
|
|
1060
|
+
};
|
|
1061
|
+
}
|
|
1062
|
+
function getClientRects(element) {
|
|
1063
|
+
return Array.from(element.getClientRects());
|
|
1064
|
+
}
|
|
1065
|
+
function getDocumentRect(element) {
|
|
1066
|
+
const html = getDocumentElement(element);
|
|
1067
|
+
const scroll = getNodeScroll(element);
|
|
1068
|
+
const body = element.ownerDocument.body;
|
|
1069
|
+
const width = max(html.scrollWidth, html.clientWidth, body.scrollWidth, body.clientWidth);
|
|
1070
|
+
const height = max(html.scrollHeight, html.clientHeight, body.scrollHeight, body.clientHeight);
|
|
1071
|
+
let x2 = -scroll.scrollLeft + getWindowScrollBarX(element);
|
|
1072
|
+
const y = -scroll.scrollTop;
|
|
1073
|
+
if (getComputedStyle2(body).direction === "rtl") {
|
|
1074
|
+
x2 += max(html.clientWidth, body.clientWidth) - width;
|
|
1075
|
+
}
|
|
1076
|
+
return {
|
|
1077
|
+
width,
|
|
1078
|
+
height,
|
|
1079
|
+
x: x2,
|
|
1080
|
+
y
|
|
1081
|
+
};
|
|
1082
|
+
}
|
|
1083
|
+
function getViewportRect(element, strategy) {
|
|
1084
|
+
const win = getWindow(element);
|
|
1085
|
+
const html = getDocumentElement(element);
|
|
1086
|
+
const visualViewport = win.visualViewport;
|
|
1087
|
+
let width = html.clientWidth;
|
|
1088
|
+
let height = html.clientHeight;
|
|
1089
|
+
let x2 = 0;
|
|
1090
|
+
let y = 0;
|
|
1091
|
+
if (visualViewport) {
|
|
1092
|
+
width = visualViewport.width;
|
|
1093
|
+
height = visualViewport.height;
|
|
1094
|
+
const visualViewportBased = isWebKit();
|
|
1095
|
+
if (!visualViewportBased || visualViewportBased && strategy === "fixed") {
|
|
1096
|
+
x2 = visualViewport.offsetLeft;
|
|
1097
|
+
y = visualViewport.offsetTop;
|
|
1098
|
+
}
|
|
1099
|
+
}
|
|
1100
|
+
return {
|
|
1101
|
+
width,
|
|
1102
|
+
height,
|
|
1103
|
+
x: x2,
|
|
1104
|
+
y
|
|
1105
|
+
};
|
|
1106
|
+
}
|
|
1107
|
+
function getInnerBoundingClientRect(element, strategy) {
|
|
1108
|
+
const clientRect = getBoundingClientRect(element, true, strategy === "fixed");
|
|
1109
|
+
const top = clientRect.top + element.clientTop;
|
|
1110
|
+
const left = clientRect.left + element.clientLeft;
|
|
1111
|
+
const scale = isHTMLElement(element) ? getScale(element) : createCoords(1);
|
|
1112
|
+
const width = element.clientWidth * scale.x;
|
|
1113
|
+
const height = element.clientHeight * scale.y;
|
|
1114
|
+
const x2 = left * scale.x;
|
|
1115
|
+
const y = top * scale.y;
|
|
1116
|
+
return {
|
|
1117
|
+
width,
|
|
1118
|
+
height,
|
|
1119
|
+
x: x2,
|
|
1120
|
+
y
|
|
1121
|
+
};
|
|
1122
|
+
}
|
|
1123
|
+
function getClientRectFromClippingAncestor(element, clippingAncestor, strategy) {
|
|
1124
|
+
let rect;
|
|
1125
|
+
if (clippingAncestor === "viewport") {
|
|
1126
|
+
rect = getViewportRect(element, strategy);
|
|
1127
|
+
} else if (clippingAncestor === "document") {
|
|
1128
|
+
rect = getDocumentRect(getDocumentElement(element));
|
|
1129
|
+
} else if (isElement(clippingAncestor)) {
|
|
1130
|
+
rect = getInnerBoundingClientRect(clippingAncestor, strategy);
|
|
1131
|
+
} else {
|
|
1132
|
+
const visualOffsets = getVisualOffsets(element);
|
|
1133
|
+
rect = {
|
|
1134
|
+
x: clippingAncestor.x - visualOffsets.x,
|
|
1135
|
+
y: clippingAncestor.y - visualOffsets.y,
|
|
1136
|
+
width: clippingAncestor.width,
|
|
1137
|
+
height: clippingAncestor.height
|
|
1138
|
+
};
|
|
1139
|
+
}
|
|
1140
|
+
return rectToClientRect(rect);
|
|
1141
|
+
}
|
|
1142
|
+
function hasFixedPositionAncestor(element, stopNode) {
|
|
1143
|
+
const parentNode = getParentNode(element);
|
|
1144
|
+
if (parentNode === stopNode || !isElement(parentNode) || isLastTraversableNode(parentNode)) {
|
|
1145
|
+
return false;
|
|
1146
|
+
}
|
|
1147
|
+
return getComputedStyle2(parentNode).position === "fixed" || hasFixedPositionAncestor(parentNode, stopNode);
|
|
1148
|
+
}
|
|
1149
|
+
function getClippingElementAncestors(element, cache) {
|
|
1150
|
+
const cachedResult = cache.get(element);
|
|
1151
|
+
if (cachedResult) {
|
|
1152
|
+
return cachedResult;
|
|
1153
|
+
}
|
|
1154
|
+
let result = getOverflowAncestors(element, [], false).filter((el) => isElement(el) && getNodeName(el) !== "body");
|
|
1155
|
+
let currentContainingBlockComputedStyle = null;
|
|
1156
|
+
const elementIsFixed = getComputedStyle2(element).position === "fixed";
|
|
1157
|
+
let currentNode = elementIsFixed ? getParentNode(element) : element;
|
|
1158
|
+
while (isElement(currentNode) && !isLastTraversableNode(currentNode)) {
|
|
1159
|
+
const computedStyle = getComputedStyle2(currentNode);
|
|
1160
|
+
const currentNodeIsContaining = isContainingBlock(currentNode);
|
|
1161
|
+
if (!currentNodeIsContaining && computedStyle.position === "fixed") {
|
|
1162
|
+
currentContainingBlockComputedStyle = null;
|
|
1163
|
+
}
|
|
1164
|
+
const shouldDropCurrentNode = elementIsFixed ? !currentNodeIsContaining && !currentContainingBlockComputedStyle : !currentNodeIsContaining && computedStyle.position === "static" && !!currentContainingBlockComputedStyle && ["absolute", "fixed"].includes(currentContainingBlockComputedStyle.position) || isOverflowElement(currentNode) && !currentNodeIsContaining && hasFixedPositionAncestor(element, currentNode);
|
|
1165
|
+
if (shouldDropCurrentNode) {
|
|
1166
|
+
result = result.filter((ancestor) => ancestor !== currentNode);
|
|
1167
|
+
} else {
|
|
1168
|
+
currentContainingBlockComputedStyle = computedStyle;
|
|
1169
|
+
}
|
|
1170
|
+
currentNode = getParentNode(currentNode);
|
|
1171
|
+
}
|
|
1172
|
+
cache.set(element, result);
|
|
1173
|
+
return result;
|
|
1174
|
+
}
|
|
1175
|
+
function getClippingRect(_ref) {
|
|
1176
|
+
let {
|
|
1177
|
+
element,
|
|
1178
|
+
boundary,
|
|
1179
|
+
rootBoundary,
|
|
1180
|
+
strategy
|
|
1181
|
+
} = _ref;
|
|
1182
|
+
const elementClippingAncestors = boundary === "clippingAncestors" ? isTopLayer(element) ? [] : getClippingElementAncestors(element, this._c) : [].concat(boundary);
|
|
1183
|
+
const clippingAncestors = [...elementClippingAncestors, rootBoundary];
|
|
1184
|
+
const firstClippingAncestor = clippingAncestors[0];
|
|
1185
|
+
const clippingRect = clippingAncestors.reduce((accRect, clippingAncestor) => {
|
|
1186
|
+
const rect = getClientRectFromClippingAncestor(element, clippingAncestor, strategy);
|
|
1187
|
+
accRect.top = max(rect.top, accRect.top);
|
|
1188
|
+
accRect.right = min(rect.right, accRect.right);
|
|
1189
|
+
accRect.bottom = min(rect.bottom, accRect.bottom);
|
|
1190
|
+
accRect.left = max(rect.left, accRect.left);
|
|
1191
|
+
return accRect;
|
|
1192
|
+
}, getClientRectFromClippingAncestor(element, firstClippingAncestor, strategy));
|
|
1193
|
+
return {
|
|
1194
|
+
width: clippingRect.right - clippingRect.left,
|
|
1195
|
+
height: clippingRect.bottom - clippingRect.top,
|
|
1196
|
+
x: clippingRect.left,
|
|
1197
|
+
y: clippingRect.top
|
|
1198
|
+
};
|
|
1199
|
+
}
|
|
1200
|
+
function getDimensions(element) {
|
|
1201
|
+
const {
|
|
1202
|
+
width,
|
|
1203
|
+
height
|
|
1204
|
+
} = getCssDimensions(element);
|
|
1205
|
+
return {
|
|
1206
|
+
width,
|
|
1207
|
+
height
|
|
1208
|
+
};
|
|
1209
|
+
}
|
|
1210
|
+
function getRectRelativeToOffsetParent(element, offsetParent, strategy) {
|
|
1211
|
+
const isOffsetParentAnElement = isHTMLElement(offsetParent);
|
|
1212
|
+
const documentElement = getDocumentElement(offsetParent);
|
|
1213
|
+
const isFixed = strategy === "fixed";
|
|
1214
|
+
const rect = getBoundingClientRect(element, true, isFixed, offsetParent);
|
|
1215
|
+
let scroll = {
|
|
1216
|
+
scrollLeft: 0,
|
|
1217
|
+
scrollTop: 0
|
|
1218
|
+
};
|
|
1219
|
+
const offsets = createCoords(0);
|
|
1220
|
+
if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {
|
|
1221
|
+
if (getNodeName(offsetParent) !== "body" || isOverflowElement(documentElement)) {
|
|
1222
|
+
scroll = getNodeScroll(offsetParent);
|
|
1223
|
+
}
|
|
1224
|
+
if (isOffsetParentAnElement) {
|
|
1225
|
+
const offsetRect = getBoundingClientRect(offsetParent, true, isFixed, offsetParent);
|
|
1226
|
+
offsets.x = offsetRect.x + offsetParent.clientLeft;
|
|
1227
|
+
offsets.y = offsetRect.y + offsetParent.clientTop;
|
|
1228
|
+
} else if (documentElement) {
|
|
1229
|
+
offsets.x = getWindowScrollBarX(documentElement);
|
|
1230
|
+
}
|
|
1231
|
+
}
|
|
1232
|
+
const htmlOffset = documentElement && !isOffsetParentAnElement && !isFixed ? getHTMLOffset(documentElement, scroll) : createCoords(0);
|
|
1233
|
+
const x2 = rect.left + scroll.scrollLeft - offsets.x - htmlOffset.x;
|
|
1234
|
+
const y = rect.top + scroll.scrollTop - offsets.y - htmlOffset.y;
|
|
1235
|
+
return {
|
|
1236
|
+
x: x2,
|
|
1237
|
+
y,
|
|
1238
|
+
width: rect.width,
|
|
1239
|
+
height: rect.height
|
|
1240
|
+
};
|
|
1241
|
+
}
|
|
1242
|
+
function isStaticPositioned(element) {
|
|
1243
|
+
return getComputedStyle2(element).position === "static";
|
|
1244
|
+
}
|
|
1245
|
+
function getTrueOffsetParent(element, polyfill) {
|
|
1246
|
+
if (!isHTMLElement(element) || getComputedStyle2(element).position === "fixed") {
|
|
1247
|
+
return null;
|
|
1248
|
+
}
|
|
1249
|
+
if (polyfill) {
|
|
1250
|
+
return polyfill(element);
|
|
1251
|
+
}
|
|
1252
|
+
let rawOffsetParent = element.offsetParent;
|
|
1253
|
+
if (getDocumentElement(element) === rawOffsetParent) {
|
|
1254
|
+
rawOffsetParent = rawOffsetParent.ownerDocument.body;
|
|
1255
|
+
}
|
|
1256
|
+
return rawOffsetParent;
|
|
1257
|
+
}
|
|
1258
|
+
function getOffsetParent(element, polyfill) {
|
|
1259
|
+
const win = getWindow(element);
|
|
1260
|
+
if (isTopLayer(element)) {
|
|
1261
|
+
return win;
|
|
1262
|
+
}
|
|
1263
|
+
if (!isHTMLElement(element)) {
|
|
1264
|
+
let svgOffsetParent = getParentNode(element);
|
|
1265
|
+
while (svgOffsetParent && !isLastTraversableNode(svgOffsetParent)) {
|
|
1266
|
+
if (isElement(svgOffsetParent) && !isStaticPositioned(svgOffsetParent)) {
|
|
1267
|
+
return svgOffsetParent;
|
|
1268
|
+
}
|
|
1269
|
+
svgOffsetParent = getParentNode(svgOffsetParent);
|
|
1270
|
+
}
|
|
1271
|
+
return win;
|
|
1272
|
+
}
|
|
1273
|
+
let offsetParent = getTrueOffsetParent(element, polyfill);
|
|
1274
|
+
while (offsetParent && isTableElement(offsetParent) && isStaticPositioned(offsetParent)) {
|
|
1275
|
+
offsetParent = getTrueOffsetParent(offsetParent, polyfill);
|
|
1276
|
+
}
|
|
1277
|
+
if (offsetParent && isLastTraversableNode(offsetParent) && isStaticPositioned(offsetParent) && !isContainingBlock(offsetParent)) {
|
|
1278
|
+
return win;
|
|
1279
|
+
}
|
|
1280
|
+
return offsetParent || getContainingBlock(element) || win;
|
|
1281
|
+
}
|
|
1282
|
+
var getElementRects = async function(data) {
|
|
1283
|
+
const getOffsetParentFn = this.getOffsetParent || getOffsetParent;
|
|
1284
|
+
const getDimensionsFn = this.getDimensions;
|
|
1285
|
+
const floatingDimensions = await getDimensionsFn(data.floating);
|
|
1286
|
+
return {
|
|
1287
|
+
reference: getRectRelativeToOffsetParent(data.reference, await getOffsetParentFn(data.floating), data.strategy),
|
|
1288
|
+
floating: {
|
|
1289
|
+
x: 0,
|
|
1290
|
+
y: 0,
|
|
1291
|
+
width: floatingDimensions.width,
|
|
1292
|
+
height: floatingDimensions.height
|
|
1293
|
+
}
|
|
1294
|
+
};
|
|
1295
|
+
};
|
|
1296
|
+
function isRTL(element) {
|
|
1297
|
+
return getComputedStyle2(element).direction === "rtl";
|
|
1298
|
+
}
|
|
1299
|
+
var platform = {
|
|
1300
|
+
convertOffsetParentRelativeRectToViewportRelativeRect,
|
|
1301
|
+
getDocumentElement,
|
|
1302
|
+
getClippingRect,
|
|
1303
|
+
getOffsetParent,
|
|
1304
|
+
getElementRects,
|
|
1305
|
+
getClientRects,
|
|
1306
|
+
getDimensions,
|
|
1307
|
+
getScale,
|
|
1308
|
+
isElement,
|
|
1309
|
+
isRTL
|
|
1310
|
+
};
|
|
1311
|
+
function rectsAreEqual(a, b) {
|
|
1312
|
+
return a.x === b.x && a.y === b.y && a.width === b.width && a.height === b.height;
|
|
1313
|
+
}
|
|
1314
|
+
function observeMove(element, onMove) {
|
|
1315
|
+
let io = null;
|
|
1316
|
+
let timeoutId;
|
|
1317
|
+
const root = getDocumentElement(element);
|
|
1318
|
+
function cleanup() {
|
|
1319
|
+
var _io;
|
|
1320
|
+
clearTimeout(timeoutId);
|
|
1321
|
+
(_io = io) == null || _io.disconnect();
|
|
1322
|
+
io = null;
|
|
1323
|
+
}
|
|
1324
|
+
function refresh(skip, threshold) {
|
|
1325
|
+
if (skip === void 0) {
|
|
1326
|
+
skip = false;
|
|
1327
|
+
}
|
|
1328
|
+
if (threshold === void 0) {
|
|
1329
|
+
threshold = 1;
|
|
1330
|
+
}
|
|
1331
|
+
cleanup();
|
|
1332
|
+
const elementRectForRootMargin = element.getBoundingClientRect();
|
|
1333
|
+
const {
|
|
1334
|
+
left,
|
|
1335
|
+
top,
|
|
1336
|
+
width,
|
|
1337
|
+
height
|
|
1338
|
+
} = elementRectForRootMargin;
|
|
1339
|
+
if (!skip) {
|
|
1340
|
+
onMove();
|
|
1341
|
+
}
|
|
1342
|
+
if (!width || !height) {
|
|
1343
|
+
return;
|
|
1344
|
+
}
|
|
1345
|
+
const insetTop = floor(top);
|
|
1346
|
+
const insetRight = floor(root.clientWidth - (left + width));
|
|
1347
|
+
const insetBottom = floor(root.clientHeight - (top + height));
|
|
1348
|
+
const insetLeft = floor(left);
|
|
1349
|
+
const rootMargin = -insetTop + "px " + -insetRight + "px " + -insetBottom + "px " + -insetLeft + "px";
|
|
1350
|
+
const options = {
|
|
1351
|
+
rootMargin,
|
|
1352
|
+
threshold: max(0, min(1, threshold)) || 1
|
|
1353
|
+
};
|
|
1354
|
+
let isFirstUpdate = true;
|
|
1355
|
+
function handleObserve(entries) {
|
|
1356
|
+
const ratio = entries[0].intersectionRatio;
|
|
1357
|
+
if (ratio !== threshold) {
|
|
1358
|
+
if (!isFirstUpdate) {
|
|
1359
|
+
return refresh();
|
|
1360
|
+
}
|
|
1361
|
+
if (!ratio) {
|
|
1362
|
+
timeoutId = setTimeout(() => {
|
|
1363
|
+
refresh(false, 1e-7);
|
|
1364
|
+
}, 1e3);
|
|
1365
|
+
} else {
|
|
1366
|
+
refresh(false, ratio);
|
|
1367
|
+
}
|
|
1368
|
+
}
|
|
1369
|
+
if (ratio === 1 && !rectsAreEqual(elementRectForRootMargin, element.getBoundingClientRect())) {
|
|
1370
|
+
refresh();
|
|
1371
|
+
}
|
|
1372
|
+
isFirstUpdate = false;
|
|
1373
|
+
}
|
|
1374
|
+
try {
|
|
1375
|
+
io = new IntersectionObserver(handleObserve, __spreadProps(__spreadValues({}, options), {
|
|
1376
|
+
// Handle <iframe>s
|
|
1377
|
+
root: root.ownerDocument
|
|
1378
|
+
}));
|
|
1379
|
+
} catch (e4) {
|
|
1380
|
+
io = new IntersectionObserver(handleObserve, options);
|
|
1381
|
+
}
|
|
1382
|
+
io.observe(element);
|
|
1383
|
+
}
|
|
1384
|
+
refresh(true);
|
|
1385
|
+
return cleanup;
|
|
1386
|
+
}
|
|
1387
|
+
function autoUpdate(reference, floating, update, options) {
|
|
1388
|
+
if (options === void 0) {
|
|
1389
|
+
options = {};
|
|
1390
|
+
}
|
|
1391
|
+
const {
|
|
1392
|
+
ancestorScroll = true,
|
|
1393
|
+
ancestorResize = true,
|
|
1394
|
+
elementResize = typeof ResizeObserver === "function",
|
|
1395
|
+
layoutShift = typeof IntersectionObserver === "function",
|
|
1396
|
+
animationFrame = false
|
|
1397
|
+
} = options;
|
|
1398
|
+
const referenceEl = unwrapElement(reference);
|
|
1399
|
+
const ancestors = ancestorScroll || ancestorResize ? [...referenceEl ? getOverflowAncestors(referenceEl) : [], ...getOverflowAncestors(floating)] : [];
|
|
1400
|
+
ancestors.forEach((ancestor) => {
|
|
1401
|
+
ancestorScroll && ancestor.addEventListener("scroll", update, {
|
|
1402
|
+
passive: true
|
|
1403
|
+
});
|
|
1404
|
+
ancestorResize && ancestor.addEventListener("resize", update);
|
|
1405
|
+
});
|
|
1406
|
+
const cleanupIo = referenceEl && layoutShift ? observeMove(referenceEl, update) : null;
|
|
1407
|
+
let reobserveFrame = -1;
|
|
1408
|
+
let resizeObserver = null;
|
|
1409
|
+
if (elementResize) {
|
|
1410
|
+
resizeObserver = new ResizeObserver((_ref) => {
|
|
1411
|
+
let [firstEntry] = _ref;
|
|
1412
|
+
if (firstEntry && firstEntry.target === referenceEl && resizeObserver) {
|
|
1413
|
+
resizeObserver.unobserve(floating);
|
|
1414
|
+
cancelAnimationFrame(reobserveFrame);
|
|
1415
|
+
reobserveFrame = requestAnimationFrame(() => {
|
|
1416
|
+
var _resizeObserver;
|
|
1417
|
+
(_resizeObserver = resizeObserver) == null || _resizeObserver.observe(floating);
|
|
1418
|
+
});
|
|
1419
|
+
}
|
|
1420
|
+
update();
|
|
1421
|
+
});
|
|
1422
|
+
if (referenceEl && !animationFrame) {
|
|
1423
|
+
resizeObserver.observe(referenceEl);
|
|
1424
|
+
}
|
|
1425
|
+
resizeObserver.observe(floating);
|
|
1426
|
+
}
|
|
1427
|
+
let frameId;
|
|
1428
|
+
let prevRefRect = animationFrame ? getBoundingClientRect(reference) : null;
|
|
1429
|
+
if (animationFrame) {
|
|
1430
|
+
frameLoop();
|
|
1431
|
+
}
|
|
1432
|
+
function frameLoop() {
|
|
1433
|
+
const nextRefRect = getBoundingClientRect(reference);
|
|
1434
|
+
if (prevRefRect && !rectsAreEqual(prevRefRect, nextRefRect)) {
|
|
1435
|
+
update();
|
|
1436
|
+
}
|
|
1437
|
+
prevRefRect = nextRefRect;
|
|
1438
|
+
frameId = requestAnimationFrame(frameLoop);
|
|
1439
|
+
}
|
|
1440
|
+
update();
|
|
1441
|
+
return () => {
|
|
1442
|
+
var _resizeObserver2;
|
|
1443
|
+
ancestors.forEach((ancestor) => {
|
|
1444
|
+
ancestorScroll && ancestor.removeEventListener("scroll", update);
|
|
1445
|
+
ancestorResize && ancestor.removeEventListener("resize", update);
|
|
1446
|
+
});
|
|
1447
|
+
cleanupIo == null || cleanupIo();
|
|
1448
|
+
(_resizeObserver2 = resizeObserver) == null || _resizeObserver2.disconnect();
|
|
1449
|
+
resizeObserver = null;
|
|
1450
|
+
if (animationFrame) {
|
|
1451
|
+
cancelAnimationFrame(frameId);
|
|
1452
|
+
}
|
|
1453
|
+
};
|
|
1454
|
+
}
|
|
1455
|
+
var offset2 = offset;
|
|
1456
|
+
var shift2 = shift;
|
|
1457
|
+
var flip2 = flip;
|
|
1458
|
+
var size2 = size;
|
|
1459
|
+
var arrow2 = arrow;
|
|
1460
|
+
var computePosition2 = (reference, floating, options) => {
|
|
1461
|
+
const cache = /* @__PURE__ */ new Map();
|
|
1462
|
+
const mergedOptions = __spreadValues({
|
|
1463
|
+
platform
|
|
1464
|
+
}, options);
|
|
1465
|
+
const platformWithCache = __spreadProps(__spreadValues({}, mergedOptions.platform), {
|
|
1466
|
+
_c: cache
|
|
1467
|
+
});
|
|
1468
|
+
return computePosition(reference, floating, __spreadProps(__spreadValues({}, mergedOptions), {
|
|
1469
|
+
platform: platformWithCache
|
|
1470
|
+
}));
|
|
1471
|
+
};
|
|
1472
|
+
|
|
1473
|
+
// node_modules/composed-offset-position/dist/composed-offset-position.browser.min.mjs
|
|
1474
|
+
function e3(t) {
|
|
1475
|
+
return i(t);
|
|
1476
|
+
}
|
|
1477
|
+
function r(t) {
|
|
1478
|
+
return t.assignedSlot ? t.assignedSlot : t.parentNode instanceof ShadowRoot ? t.parentNode.host : t.parentNode;
|
|
1479
|
+
}
|
|
1480
|
+
function i(e4) {
|
|
1481
|
+
for (let t = e4; t; t = r(t)) if (t instanceof Element && "none" === getComputedStyle(t).display) return null;
|
|
1482
|
+
for (let n2 = r(e4); n2; n2 = r(n2)) {
|
|
1483
|
+
if (!(n2 instanceof Element)) continue;
|
|
1484
|
+
const e5 = getComputedStyle(n2);
|
|
1485
|
+
if ("contents" !== e5.display) {
|
|
1486
|
+
if ("static" !== e5.position || isContainingBlock(e5)) return n2;
|
|
1487
|
+
if ("BODY" === n2.tagName) return n2;
|
|
1488
|
+
}
|
|
1489
|
+
}
|
|
1490
|
+
return null;
|
|
1491
|
+
}
|
|
1492
|
+
|
|
1493
|
+
// src/components/popup/popup.component.ts
|
|
1494
|
+
function isVirtualElement(e4) {
|
|
1495
|
+
return e4 !== null && typeof e4 === "object" && "getBoundingClientRect" in e4 && ("contextElement" in e4 ? e4 instanceof Element : true);
|
|
1496
|
+
}
|
|
1497
|
+
var LynkPopup = class extends LynkElement {
|
|
1498
|
+
constructor() {
|
|
1499
|
+
super(...arguments);
|
|
1500
|
+
this.localize = new LocalizeController(this);
|
|
1501
|
+
this.active = false;
|
|
1502
|
+
this.placement = "top";
|
|
1503
|
+
this.strategy = "absolute";
|
|
1504
|
+
this.distance = 0;
|
|
1505
|
+
this.skidding = 0;
|
|
1506
|
+
this.arrow = false;
|
|
1507
|
+
this.arrowPlacement = "anchor";
|
|
1508
|
+
this.arrowPadding = 10;
|
|
1509
|
+
this.flip = false;
|
|
1510
|
+
this.flipFallbackPlacements = "";
|
|
1511
|
+
this.flipFallbackStrategy = "best-fit";
|
|
1512
|
+
this.flipPadding = 0;
|
|
1513
|
+
this.shift = false;
|
|
1514
|
+
this.shiftPadding = 0;
|
|
1515
|
+
this.autoSizePadding = 0;
|
|
1516
|
+
this.hoverBridge = false;
|
|
1517
|
+
this.updateHoverBridge = () => {
|
|
1518
|
+
if (this.hoverBridge && this.anchorEl) {
|
|
1519
|
+
const anchorRect = this.anchorEl.getBoundingClientRect();
|
|
1520
|
+
const popupRect = this.popup.getBoundingClientRect();
|
|
1521
|
+
const isVertical = this.placement.includes("top") || this.placement.includes("bottom");
|
|
1522
|
+
let topLeftX = 0;
|
|
1523
|
+
let topLeftY = 0;
|
|
1524
|
+
let topRightX = 0;
|
|
1525
|
+
let topRightY = 0;
|
|
1526
|
+
let bottomLeftX = 0;
|
|
1527
|
+
let bottomLeftY = 0;
|
|
1528
|
+
let bottomRightX = 0;
|
|
1529
|
+
let bottomRightY = 0;
|
|
1530
|
+
if (isVertical) {
|
|
1531
|
+
if (anchorRect.top < popupRect.top) {
|
|
1532
|
+
topLeftX = anchorRect.left;
|
|
1533
|
+
topLeftY = anchorRect.bottom;
|
|
1534
|
+
topRightX = anchorRect.right;
|
|
1535
|
+
topRightY = anchorRect.bottom;
|
|
1536
|
+
bottomLeftX = popupRect.left;
|
|
1537
|
+
bottomLeftY = popupRect.top;
|
|
1538
|
+
bottomRightX = popupRect.right;
|
|
1539
|
+
bottomRightY = popupRect.top;
|
|
1540
|
+
} else {
|
|
1541
|
+
topLeftX = popupRect.left;
|
|
1542
|
+
topLeftY = popupRect.bottom;
|
|
1543
|
+
topRightX = popupRect.right;
|
|
1544
|
+
topRightY = popupRect.bottom;
|
|
1545
|
+
bottomLeftX = anchorRect.left;
|
|
1546
|
+
bottomLeftY = anchorRect.top;
|
|
1547
|
+
bottomRightX = anchorRect.right;
|
|
1548
|
+
bottomRightY = anchorRect.top;
|
|
1549
|
+
}
|
|
1550
|
+
} else {
|
|
1551
|
+
if (anchorRect.left < popupRect.left) {
|
|
1552
|
+
topLeftX = anchorRect.right;
|
|
1553
|
+
topLeftY = anchorRect.top;
|
|
1554
|
+
topRightX = popupRect.left;
|
|
1555
|
+
topRightY = popupRect.top;
|
|
1556
|
+
bottomLeftX = anchorRect.right;
|
|
1557
|
+
bottomLeftY = anchorRect.bottom;
|
|
1558
|
+
bottomRightX = popupRect.left;
|
|
1559
|
+
bottomRightY = popupRect.bottom;
|
|
1560
|
+
} else {
|
|
1561
|
+
topLeftX = popupRect.right;
|
|
1562
|
+
topLeftY = popupRect.top;
|
|
1563
|
+
topRightX = anchorRect.left;
|
|
1564
|
+
topRightY = anchorRect.top;
|
|
1565
|
+
bottomLeftX = popupRect.right;
|
|
1566
|
+
bottomLeftY = popupRect.bottom;
|
|
1567
|
+
bottomRightX = anchorRect.left;
|
|
1568
|
+
bottomRightY = anchorRect.bottom;
|
|
1569
|
+
}
|
|
1570
|
+
}
|
|
1571
|
+
this.style.setProperty("--hover-bridge-top-left-x", `${topLeftX}px`);
|
|
1572
|
+
this.style.setProperty("--hover-bridge-top-left-y", `${topLeftY}px`);
|
|
1573
|
+
this.style.setProperty("--hover-bridge-top-right-x", `${topRightX}px`);
|
|
1574
|
+
this.style.setProperty("--hover-bridge-top-right-y", `${topRightY}px`);
|
|
1575
|
+
this.style.setProperty("--hover-bridge-bottom-left-x", `${bottomLeftX}px`);
|
|
1576
|
+
this.style.setProperty("--hover-bridge-bottom-left-y", `${bottomLeftY}px`);
|
|
1577
|
+
this.style.setProperty("--hover-bridge-bottom-right-x", `${bottomRightX}px`);
|
|
1578
|
+
this.style.setProperty("--hover-bridge-bottom-right-y", `${bottomRightY}px`);
|
|
1579
|
+
}
|
|
1580
|
+
};
|
|
1581
|
+
}
|
|
1582
|
+
async connectedCallback() {
|
|
1583
|
+
super.connectedCallback();
|
|
1584
|
+
await this.updateComplete;
|
|
1585
|
+
this.start();
|
|
1586
|
+
}
|
|
1587
|
+
disconnectedCallback() {
|
|
1588
|
+
super.disconnectedCallback();
|
|
1589
|
+
this.stop();
|
|
1590
|
+
}
|
|
1591
|
+
async updated(changedProps) {
|
|
1592
|
+
super.updated(changedProps);
|
|
1593
|
+
if (changedProps.has("active")) {
|
|
1594
|
+
if (this.active) {
|
|
1595
|
+
this.start();
|
|
1596
|
+
} else {
|
|
1597
|
+
this.stop();
|
|
1598
|
+
}
|
|
1599
|
+
}
|
|
1600
|
+
if (changedProps.has("anchor")) {
|
|
1601
|
+
this.handleAnchorChange();
|
|
1602
|
+
}
|
|
1603
|
+
if (this.active) {
|
|
1604
|
+
await this.updateComplete;
|
|
1605
|
+
this.reposition();
|
|
1606
|
+
}
|
|
1607
|
+
}
|
|
1608
|
+
async handleAnchorChange() {
|
|
1609
|
+
await this.stop();
|
|
1610
|
+
if (this.anchor && typeof this.anchor === "string") {
|
|
1611
|
+
const root = this.getRootNode();
|
|
1612
|
+
this.anchorEl = root.getElementById(this.anchor);
|
|
1613
|
+
} else if (this.anchor instanceof Element || isVirtualElement(this.anchor)) {
|
|
1614
|
+
this.anchorEl = this.anchor;
|
|
1615
|
+
} else {
|
|
1616
|
+
this.anchorEl = this.querySelector('[slot="anchor"]');
|
|
1617
|
+
}
|
|
1618
|
+
if (this.anchorEl instanceof HTMLSlotElement) {
|
|
1619
|
+
this.anchorEl = this.anchorEl.assignedElements({ flatten: true })[0];
|
|
1620
|
+
}
|
|
1621
|
+
if (this.anchorEl && this.active) {
|
|
1622
|
+
this.start();
|
|
1623
|
+
}
|
|
1624
|
+
}
|
|
1625
|
+
start() {
|
|
1626
|
+
if (!this.anchorEl || !this.active) {
|
|
1627
|
+
return;
|
|
1628
|
+
}
|
|
1629
|
+
this.cleanup = autoUpdate(this.anchorEl, this.popup, () => {
|
|
1630
|
+
this.reposition();
|
|
1631
|
+
});
|
|
1632
|
+
}
|
|
1633
|
+
async stop() {
|
|
1634
|
+
return new Promise((resolve) => {
|
|
1635
|
+
if (this.cleanup) {
|
|
1636
|
+
this.cleanup();
|
|
1637
|
+
this.cleanup = void 0;
|
|
1638
|
+
this.removeAttribute("data-current-placement");
|
|
1639
|
+
this.style.removeProperty("--auto-size-available-width");
|
|
1640
|
+
this.style.removeProperty("--auto-size-available-height");
|
|
1641
|
+
requestAnimationFrame(() => resolve());
|
|
1642
|
+
} else {
|
|
1643
|
+
resolve();
|
|
1644
|
+
}
|
|
1645
|
+
});
|
|
1646
|
+
}
|
|
1647
|
+
/** Forces the popup to recalculate and reposition itself. */
|
|
1648
|
+
reposition() {
|
|
1649
|
+
if (!this.active || !this.anchorEl) {
|
|
1650
|
+
return;
|
|
1651
|
+
}
|
|
1652
|
+
const middleware = [
|
|
1653
|
+
// The offset middleware goes first
|
|
1654
|
+
offset2({ mainAxis: this.distance, crossAxis: this.skidding })
|
|
1655
|
+
];
|
|
1656
|
+
if (this.sync) {
|
|
1657
|
+
middleware.push(
|
|
1658
|
+
size2({
|
|
1659
|
+
apply: ({ rects }) => {
|
|
1660
|
+
const syncWidth = this.sync === "width" || this.sync === "both";
|
|
1661
|
+
const syncHeight = this.sync === "height" || this.sync === "both";
|
|
1662
|
+
this.popup.style.width = syncWidth ? `${rects.reference.width}px` : "";
|
|
1663
|
+
this.popup.style.height = syncHeight ? `${rects.reference.height}px` : "";
|
|
1664
|
+
}
|
|
1665
|
+
})
|
|
1666
|
+
);
|
|
1667
|
+
} else {
|
|
1668
|
+
this.popup.style.width = "";
|
|
1669
|
+
this.popup.style.height = "";
|
|
1670
|
+
}
|
|
1671
|
+
if (this.flip) {
|
|
1672
|
+
middleware.push(
|
|
1673
|
+
flip2({
|
|
1674
|
+
boundary: this.flipBoundary,
|
|
1675
|
+
// @ts-expect-error - We're converting a string attribute to an array here
|
|
1676
|
+
fallbackPlacements: this.flipFallbackPlacements,
|
|
1677
|
+
fallbackStrategy: this.flipFallbackStrategy === "best-fit" ? "bestFit" : "initialPlacement",
|
|
1678
|
+
padding: this.flipPadding
|
|
1679
|
+
})
|
|
1680
|
+
);
|
|
1681
|
+
}
|
|
1682
|
+
if (this.shift) {
|
|
1683
|
+
middleware.push(
|
|
1684
|
+
shift2({
|
|
1685
|
+
boundary: this.shiftBoundary,
|
|
1686
|
+
padding: this.shiftPadding
|
|
1687
|
+
})
|
|
1688
|
+
);
|
|
1689
|
+
}
|
|
1690
|
+
if (this.autoSize) {
|
|
1691
|
+
middleware.push(
|
|
1692
|
+
size2({
|
|
1693
|
+
boundary: this.autoSizeBoundary,
|
|
1694
|
+
padding: this.autoSizePadding,
|
|
1695
|
+
apply: ({ availableWidth, availableHeight }) => {
|
|
1696
|
+
if (this.autoSize === "vertical" || this.autoSize === "both") {
|
|
1697
|
+
this.style.setProperty("--auto-size-available-height", `${availableHeight}px`);
|
|
1698
|
+
} else {
|
|
1699
|
+
this.style.removeProperty("--auto-size-available-height");
|
|
1700
|
+
}
|
|
1701
|
+
if (this.autoSize === "horizontal" || this.autoSize === "both") {
|
|
1702
|
+
this.style.setProperty("--auto-size-available-width", `${availableWidth}px`);
|
|
1703
|
+
} else {
|
|
1704
|
+
this.style.removeProperty("--auto-size-available-width");
|
|
1705
|
+
}
|
|
1706
|
+
}
|
|
1707
|
+
})
|
|
1708
|
+
);
|
|
1709
|
+
} else {
|
|
1710
|
+
this.style.removeProperty("--auto-size-available-width");
|
|
1711
|
+
this.style.removeProperty("--auto-size-available-height");
|
|
1712
|
+
}
|
|
1713
|
+
if (this.arrow) {
|
|
1714
|
+
middleware.push(
|
|
1715
|
+
arrow2({
|
|
1716
|
+
element: this.arrowEl,
|
|
1717
|
+
padding: this.arrowPadding
|
|
1718
|
+
})
|
|
1719
|
+
);
|
|
1720
|
+
}
|
|
1721
|
+
const getOffsetParent2 = this.strategy === "absolute" ? (element) => platform.getOffsetParent(element, e3) : platform.getOffsetParent;
|
|
1722
|
+
computePosition2(this.anchorEl, this.popup, {
|
|
1723
|
+
placement: this.placement,
|
|
1724
|
+
middleware,
|
|
1725
|
+
strategy: this.strategy,
|
|
1726
|
+
platform: __spreadProps(__spreadValues({}, platform), {
|
|
1727
|
+
getOffsetParent: getOffsetParent2
|
|
1728
|
+
})
|
|
1729
|
+
}).then(({ x: x2, y, middlewareData, placement }) => {
|
|
1730
|
+
const isRtl = this.localize.dir() === "rtl";
|
|
1731
|
+
const staticSide = { top: "bottom", right: "left", bottom: "top", left: "right" }[placement.split("-")[0]];
|
|
1732
|
+
this.setAttribute("data-current-placement", placement);
|
|
1733
|
+
Object.assign(this.popup.style, {
|
|
1734
|
+
left: `${x2}px`,
|
|
1735
|
+
top: `${y}px`
|
|
1736
|
+
});
|
|
1737
|
+
if (this.arrow) {
|
|
1738
|
+
const arrowX = middlewareData.arrow.x;
|
|
1739
|
+
const arrowY = middlewareData.arrow.y;
|
|
1740
|
+
let top = "";
|
|
1741
|
+
let right = "";
|
|
1742
|
+
let bottom = "";
|
|
1743
|
+
let left = "";
|
|
1744
|
+
if (this.arrowPlacement === "start") {
|
|
1745
|
+
const value = typeof arrowX === "number" ? `calc(${this.arrowPadding}px - var(--arrow-padding-offset))` : "";
|
|
1746
|
+
top = typeof arrowY === "number" ? `calc(${this.arrowPadding}px - var(--arrow-padding-offset))` : "";
|
|
1747
|
+
right = isRtl ? value : "";
|
|
1748
|
+
left = isRtl ? "" : value;
|
|
1749
|
+
} else if (this.arrowPlacement === "end") {
|
|
1750
|
+
const value = typeof arrowX === "number" ? `calc(${this.arrowPadding}px - var(--arrow-padding-offset))` : "";
|
|
1751
|
+
right = isRtl ? "" : value;
|
|
1752
|
+
left = isRtl ? value : "";
|
|
1753
|
+
bottom = typeof arrowY === "number" ? `calc(${this.arrowPadding}px - var(--arrow-padding-offset))` : "";
|
|
1754
|
+
} else if (this.arrowPlacement === "center") {
|
|
1755
|
+
left = typeof arrowX === "number" ? `calc(50% - var(--arrow-size-diagonal))` : "";
|
|
1756
|
+
top = typeof arrowY === "number" ? `calc(50% - var(--arrow-size-diagonal))` : "";
|
|
1757
|
+
} else {
|
|
1758
|
+
left = typeof arrowX === "number" ? `${arrowX}px` : "";
|
|
1759
|
+
top = typeof arrowY === "number" ? `${arrowY}px` : "";
|
|
1760
|
+
}
|
|
1761
|
+
Object.assign(this.arrowEl.style, {
|
|
1762
|
+
top,
|
|
1763
|
+
right,
|
|
1764
|
+
bottom,
|
|
1765
|
+
left,
|
|
1766
|
+
[staticSide]: "calc(var(--arrow-size-diagonal) * -1)"
|
|
1767
|
+
});
|
|
1768
|
+
}
|
|
1769
|
+
});
|
|
1770
|
+
requestAnimationFrame(() => this.updateHoverBridge());
|
|
1771
|
+
this.emit("on:reposition");
|
|
1772
|
+
}
|
|
1773
|
+
render() {
|
|
1774
|
+
return x`
|
|
1775
|
+
<slot name="anchor" @slotchange=${this.handleAnchorChange}></slot>
|
|
1776
|
+
|
|
1777
|
+
<span
|
|
1778
|
+
part="hover-bridge"
|
|
1779
|
+
class=${e({
|
|
1780
|
+
"popup-hover-bridge": true,
|
|
1781
|
+
"popup-hover-bridge--visible": this.hoverBridge && this.active
|
|
1782
|
+
})}
|
|
1783
|
+
></span>
|
|
1784
|
+
|
|
1785
|
+
<div
|
|
1786
|
+
part="popup"
|
|
1787
|
+
class=${e({
|
|
1788
|
+
popup: true,
|
|
1789
|
+
"popup--active": this.active,
|
|
1790
|
+
"popup--fixed": this.strategy === "fixed",
|
|
1791
|
+
"popup--has-arrow": this.arrow
|
|
1792
|
+
})}
|
|
1793
|
+
>
|
|
1794
|
+
<slot></slot>
|
|
1795
|
+
${this.arrow ? x`<div part="arrow" class="popup__arrow" role="presentation"></div>` : ""}
|
|
1796
|
+
</div>
|
|
1797
|
+
`;
|
|
1798
|
+
}
|
|
1799
|
+
};
|
|
1800
|
+
LynkPopup.styles = [component_styles_default, popup_styles_default];
|
|
1801
|
+
__decorateClass([
|
|
1802
|
+
e2(".popup")
|
|
1803
|
+
], LynkPopup.prototype, "popup", 2);
|
|
1804
|
+
__decorateClass([
|
|
1805
|
+
e2(".popup__arrow")
|
|
1806
|
+
], LynkPopup.prototype, "arrowEl", 2);
|
|
1807
|
+
__decorateClass([
|
|
1808
|
+
n()
|
|
1809
|
+
], LynkPopup.prototype, "anchor", 2);
|
|
1810
|
+
__decorateClass([
|
|
1811
|
+
n({ type: Boolean, reflect: true })
|
|
1812
|
+
], LynkPopup.prototype, "active", 2);
|
|
1813
|
+
__decorateClass([
|
|
1814
|
+
n({ reflect: true })
|
|
1815
|
+
], LynkPopup.prototype, "placement", 2);
|
|
1816
|
+
__decorateClass([
|
|
1817
|
+
n({ reflect: true })
|
|
1818
|
+
], LynkPopup.prototype, "strategy", 2);
|
|
1819
|
+
__decorateClass([
|
|
1820
|
+
n({ type: Number })
|
|
1821
|
+
], LynkPopup.prototype, "distance", 2);
|
|
1822
|
+
__decorateClass([
|
|
1823
|
+
n({ type: Number })
|
|
1824
|
+
], LynkPopup.prototype, "skidding", 2);
|
|
1825
|
+
__decorateClass([
|
|
1826
|
+
n({ type: Boolean })
|
|
1827
|
+
], LynkPopup.prototype, "arrow", 2);
|
|
1828
|
+
__decorateClass([
|
|
1829
|
+
n({ attribute: "arrow-placement" })
|
|
1830
|
+
], LynkPopup.prototype, "arrowPlacement", 2);
|
|
1831
|
+
__decorateClass([
|
|
1832
|
+
n({ attribute: "arrow-padding", type: Number })
|
|
1833
|
+
], LynkPopup.prototype, "arrowPadding", 2);
|
|
1834
|
+
__decorateClass([
|
|
1835
|
+
n({ type: Boolean })
|
|
1836
|
+
], LynkPopup.prototype, "flip", 2);
|
|
1837
|
+
__decorateClass([
|
|
1838
|
+
n({
|
|
1839
|
+
attribute: "flip-fallback-placements",
|
|
1840
|
+
converter: {
|
|
1841
|
+
fromAttribute: (value) => {
|
|
1842
|
+
return value.split(" ").map((p) => p.trim()).filter((p) => p !== "");
|
|
1843
|
+
},
|
|
1844
|
+
toAttribute: (value) => {
|
|
1845
|
+
return value.join(" ");
|
|
1846
|
+
}
|
|
1847
|
+
}
|
|
1848
|
+
})
|
|
1849
|
+
], LynkPopup.prototype, "flipFallbackPlacements", 2);
|
|
1850
|
+
__decorateClass([
|
|
1851
|
+
n({ attribute: "flip-fallback-strategy" })
|
|
1852
|
+
], LynkPopup.prototype, "flipFallbackStrategy", 2);
|
|
1853
|
+
__decorateClass([
|
|
1854
|
+
n({ type: Object })
|
|
1855
|
+
], LynkPopup.prototype, "flipBoundary", 2);
|
|
1856
|
+
__decorateClass([
|
|
1857
|
+
n({ attribute: "flip-padding", type: Number })
|
|
1858
|
+
], LynkPopup.prototype, "flipPadding", 2);
|
|
1859
|
+
__decorateClass([
|
|
1860
|
+
n({ type: Boolean })
|
|
1861
|
+
], LynkPopup.prototype, "shift", 2);
|
|
1862
|
+
__decorateClass([
|
|
1863
|
+
n({ type: Object })
|
|
1864
|
+
], LynkPopup.prototype, "shiftBoundary", 2);
|
|
1865
|
+
__decorateClass([
|
|
1866
|
+
n({ attribute: "shift-padding", type: Number })
|
|
1867
|
+
], LynkPopup.prototype, "shiftPadding", 2);
|
|
1868
|
+
__decorateClass([
|
|
1869
|
+
n({ attribute: "auto-size" })
|
|
1870
|
+
], LynkPopup.prototype, "autoSize", 2);
|
|
1871
|
+
__decorateClass([
|
|
1872
|
+
n()
|
|
1873
|
+
], LynkPopup.prototype, "sync", 2);
|
|
1874
|
+
__decorateClass([
|
|
1875
|
+
n({ type: Object })
|
|
1876
|
+
], LynkPopup.prototype, "autoSizeBoundary", 2);
|
|
1877
|
+
__decorateClass([
|
|
1878
|
+
n({ attribute: "auto-size-padding", type: Number })
|
|
1879
|
+
], LynkPopup.prototype, "autoSizePadding", 2);
|
|
1880
|
+
__decorateClass([
|
|
1881
|
+
n({ attribute: "hover-bridge", type: Boolean })
|
|
1882
|
+
], LynkPopup.prototype, "hoverBridge", 2);
|
|
1883
|
+
|
|
1884
|
+
export {
|
|
1885
|
+
LynkPopup
|
|
1886
|
+
};
|