@adyen/bento-vue2 1.102.0 → 1.103.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/@types/index.d.ts +20 -3
- package/dist/accordion.js +1 -1
- package/dist/action-bar.js +1 -1
- package/dist/ai-tag.js +1 -1
- package/dist/alert.js +1 -1
- package/dist/anchor-scroller.js +1 -1
- package/dist/assets/accordion-item.css +1 -1
- package/dist/assets/action-bar.css +1 -1
- package/dist/assets/ai-button.css +1 -1
- package/dist/assets/anchor-scroller.css +1 -1
- package/dist/assets/base-modal.css +1 -1
- package/dist/assets/button-actions.css +1 -1
- package/dist/assets/button.css +1 -1
- package/dist/assets/card.css +1 -1
- package/dist/assets/checkbox-input.css +1 -1
- package/dist/assets/data-grid.css +1 -1
- package/dist/assets/dialog-page.css +1 -1
- package/dist/assets/dropdown.css +1 -1
- package/dist/assets/empty-state.css +1 -1
- package/dist/assets/file-uploader.css +1 -1
- package/dist/assets/filter-bar.css +1 -1
- package/dist/assets/index.css +1 -1
- package/dist/assets/input-field-password.css +1 -1
- package/dist/assets/inspector.css +1 -1
- package/dist/assets/modal-fullscreen.css +1 -1
- package/dist/assets/navigation-menu-group.css +1 -1
- package/dist/assets/pagination.css +1 -1
- package/dist/assets/radio-input.css +1 -1
- package/dist/assets/secondary-nav.css +1 -1
- package/dist/assets/selection-card-group.css +1 -1
- package/dist/assets/sidepanel.css +1 -1
- package/dist/assets/table-of-contents.css +1 -1
- package/dist/assets/typography.css +1 -1
- package/dist/avatar.js +1 -1
- package/dist/button.js +3 -3
- package/dist/card.js +1 -1
- package/dist/checkbox.js +2 -2
- package/dist/chip.js +1 -1
- package/dist/chunks/{accordion-item.C0va5Mbv.js → accordion-item.CrVVFIHa.js} +16 -49
- package/dist/chunks/{accordion-item.C0va5Mbv.js.map → accordion-item.CrVVFIHa.js.map} +1 -1
- package/dist/chunks/{action-bar.-kzjjAuX.js → action-bar.BC1fWyHX.js} +18 -150
- package/dist/chunks/{action-bar.-kzjjAuX.js.map → action-bar.BC1fWyHX.js.map} +1 -1
- package/dist/chunks/{ai-button.ChLXOu7p.js → ai-button.CP6Bu7PB.js} +3 -3
- package/dist/chunks/{ai-button.ChLXOu7p.js.map → ai-button.CP6Bu7PB.js.map} +1 -1
- package/dist/chunks/{ai-tag.DhBjifex.js → ai-tag.wYWc7yOx.js} +16 -49
- package/dist/chunks/{ai-tag.DhBjifex.js.map → ai-tag.wYWc7yOx.js.map} +1 -1
- package/dist/chunks/{alert.CDP-LTh5.js → alert.Dj57zB88.js} +15 -81
- package/dist/chunks/{alert.CDP-LTh5.js.map → alert.Dj57zB88.js.map} +1 -1
- package/dist/chunks/anchor-scroller.Bhgy748g.js +120 -0
- package/dist/chunks/anchor-scroller.Bhgy748g.js.map +1 -0
- package/dist/chunks/{avatar.rwWPYJnt.js → avatar.D__jLgjI.js} +2 -2
- package/dist/chunks/{avatar.rwWPYJnt.js.map → avatar.D__jLgjI.js.map} +1 -1
- package/dist/chunks/{base-button.BPRPrO0p.js → base-button.D5C9VIYP.js} +20 -23
- package/dist/chunks/{base-button.BPRPrO0p.js.map → base-button.D5C9VIYP.js.map} +1 -1
- package/dist/chunks/{base-modal.BagJ8weI.js → base-modal.DlD_Lj4Y.js} +100 -141
- package/dist/chunks/{base-modal.BagJ8weI.js.map → base-modal.DlD_Lj4Y.js.map} +1 -1
- package/dist/chunks/button-actions-with-menu.CTgggEw2.js +77 -0
- package/dist/chunks/{button-actions-with-menu.DNYoFmV4.js.map → button-actions-with-menu.CTgggEw2.js.map} +1 -1
- package/dist/chunks/{button-actions.Dpbx0xf3.js → button-actions.CxX7lK7z.js} +362 -442
- package/dist/chunks/{button-actions.Dpbx0xf3.js.map → button-actions.CxX7lK7z.js.map} +1 -1
- package/dist/chunks/{button.CKS_V3p5.js → button.C4kKejsg.js} +34 -37
- package/dist/chunks/{button.CKS_V3p5.js.map → button.C4kKejsg.js.map} +1 -1
- package/dist/chunks/calendar.BoFWdxN7.js +1143 -0
- package/dist/chunks/{calendar.CvHJ3Geq.js.map → calendar.BoFWdxN7.js.map} +1 -1
- package/dist/chunks/{card.DqMECGcj.js → card.B70qRHOi.js} +34 -70
- package/dist/chunks/{card.DqMECGcj.js.map → card.B70qRHOi.js.map} +1 -1
- package/dist/chunks/{checkbox-group.YnXz1Hl2.js → checkbox-group.D1zzKsdi.js} +6 -6
- package/dist/chunks/{checkbox-group.YnXz1Hl2.js.map → checkbox-group.D1zzKsdi.js.map} +1 -1
- package/dist/chunks/{checkbox-input.08E9BNeF.js → checkbox-input.kfxcyjfd.js} +28 -31
- package/dist/chunks/{checkbox-input.08E9BNeF.js.map → checkbox-input.kfxcyjfd.js.map} +1 -1
- package/dist/chunks/{checkbox.BUc2332d.js → checkbox.Ca0mu2lE.js} +58 -91
- package/dist/chunks/{checkbox.BUc2332d.js.map → checkbox.Ca0mu2lE.js.map} +1 -1
- package/dist/chunks/{chip.DHmRHsL2.js → chip.wgEnbEPw.js} +16 -38
- package/dist/chunks/{chip.DHmRHsL2.js.map → chip.wgEnbEPw.js.map} +1 -1
- package/dist/chunks/click-outside.B0whuTUU.js +20 -0
- package/dist/chunks/{click-outside.BG01Sm0A.js.map → click-outside.B0whuTUU.js.map} +1 -1
- package/dist/chunks/{code-snippet.Cha3wHUL.js → code-snippet.BglbQWRB.js} +19 -74
- package/dist/chunks/{code-snippet.Cha3wHUL.js.map → code-snippet.BglbQWRB.js.map} +1 -1
- package/dist/chunks/{codemirror.D2BAltnu.js → codemirror.Bzus_EPG.js} +15 -15
- package/dist/chunks/{codemirror.D2BAltnu.js.map → codemirror.Bzus_EPG.js.map} +1 -1
- package/dist/chunks/constructNow.DyOJDyZZ.js +8 -0
- package/dist/chunks/{constructNow.CK0ryPil.js.map → constructNow.DyOJDyZZ.js.map} +1 -1
- package/dist/chunks/{controls-group.BomXFNvi.js → controls-group.DPLAJjbv.js} +3 -3
- package/dist/chunks/{controls-group.BomXFNvi.js.map → controls-group.DPLAJjbv.js.map} +1 -1
- package/dist/chunks/{copy.BlyhTDSU.js → copy.CsKQJlen.js} +16 -60
- package/dist/chunks/{copy.BlyhTDSU.js.map → copy.CsKQJlen.js.map} +1 -1
- package/dist/chunks/{country.DySY9sbA.js → country.D8ncVjcm.js} +5 -5
- package/dist/chunks/{country.DySY9sbA.js.map → country.D8ncVjcm.js.map} +1 -1
- package/dist/chunks/country.types.BUW49nQx.js +27 -0
- package/dist/chunks/country.types.BUW49nQx.js.map +1 -0
- package/dist/chunks/currency.POwX-Trj.js +124 -0
- package/dist/chunks/{currency.Dvy9Qjjf.js.map → currency.POwX-Trj.js.map} +1 -1
- package/dist/chunks/dashboard-section.Bmu65OHg.js +98 -0
- package/dist/chunks/{dashboard-section.D2yqhERq.js.map → dashboard-section.Bmu65OHg.js.map} +1 -1
- package/dist/chunks/{dashed-underline.ByPcIHNe.js → dashed-underline.CbzCYKrk.js} +11 -12
- package/dist/chunks/{dashed-underline.ByPcIHNe.js.map → dashed-underline.CbzCYKrk.js.map} +1 -1
- package/dist/chunks/data-grid-template.BvBHJ0sH.js +102 -0
- package/dist/chunks/{data-grid-template.Ifn423Ot.js.map → data-grid-template.BvBHJ0sH.js.map} +1 -1
- package/dist/chunks/data-grid.DPh8BSnM.js +3266 -0
- package/dist/chunks/{data-grid.BDXQ_kKQ.js.map → data-grid.DPh8BSnM.js.map} +1 -1
- package/dist/chunks/date-picker.DutUBQbH.js +183 -0
- package/dist/chunks/{date-picker.CXZfCxwP.js.map → date-picker.DutUBQbH.js.map} +1 -1
- package/dist/chunks/date-range-picker.5bvgs49h.js +924 -0
- package/dist/chunks/{date-range-picker.BzVQsYk4.js.map → date-range-picker.5bvgs49h.js.map} +1 -1
- package/dist/chunks/date-time-picker.DUWWGlOX.js +127 -0
- package/dist/chunks/{date-time-picker.DaLATfJp.js.map → date-time-picker.DUWWGlOX.js.map} +1 -1
- package/dist/chunks/{date.C1HnIyOv.js → date.CPo8t1n9.js} +25 -25
- package/dist/chunks/{date.C1HnIyOv.js.map → date.CPo8t1n9.js.map} +1 -1
- package/dist/chunks/{de.pvjpUJ1o.js → de.ctR_lBqr.js} +18 -18
- package/dist/chunks/{de.pvjpUJ1o.js.map → de.ctR_lBqr.js.map} +1 -1
- package/dist/chunks/{dialog-page.B_LwIWgK.js → dialog-page.CPorblJc.js} +16 -38
- package/dist/chunks/{dialog-page.B_LwIWgK.js.map → dialog-page.CPorblJc.js.map} +1 -1
- package/dist/chunks/differenceInMonths.yz4Dfe-b.js +44 -0
- package/dist/chunks/{differenceInMonths.CpwVtHZX.js.map → differenceInMonths.yz4Dfe-b.js.map} +1 -1
- package/dist/chunks/{directive.BBWhsNtO.js → directive.D1-d-C2K.js} +2 -2
- package/dist/chunks/{directive.BBWhsNtO.js.map → directive.D1-d-C2K.js.map} +1 -1
- package/dist/chunks/{draggable-handle.kBP4prVO.js → draggable-handle.g2BFN3G1.js} +18 -114
- package/dist/chunks/{draggable-handle.kBP4prVO.js.map → draggable-handle.g2BFN3G1.js.map} +1 -1
- package/dist/chunks/draggable.iIsQLiOa.js +168 -0
- package/dist/chunks/{draggable.rTa1jcHI.js.map → draggable.iIsQLiOa.js.map} +1 -1
- package/dist/chunks/{drawer.DVJxDGw3.js → drawer.CnxX1zZ6.js} +14 -36
- package/dist/chunks/{drawer.DVJxDGw3.js.map → drawer.CnxX1zZ6.js.map} +1 -1
- package/dist/chunks/{dropdown-tag.CaLA2NLd.js → dropdown-tag.BFnfCah8.js} +77 -81
- package/dist/chunks/{dropdown-tag.CaLA2NLd.js.map → dropdown-tag.BFnfCah8.js.map} +1 -1
- package/dist/chunks/{dropdown.DIqgVVXB.js → dropdown.Ce2P9MZ-.js} +1131 -1466
- package/dist/chunks/{dropdown.DIqgVVXB.js.map → dropdown.Ce2P9MZ-.js.map} +1 -1
- package/dist/chunks/empty-state.fziM-yAC.js +102 -0
- package/dist/chunks/empty-state.fziM-yAC.js.map +1 -0
- package/dist/chunks/{en-GB.-Q7Oq-nY.js → en-GB.BsQNm5GT.js} +2 -2
- package/dist/chunks/{en-GB.-Q7Oq-nY.js.map → en-GB.BsQNm5GT.js.map} +1 -1
- package/dist/chunks/{en-US.BK5uiAND.js → en-US.BR6y7foR.js} +30 -30
- package/dist/chunks/{en-US.BK5uiAND.js.map → en-US.BR6y7foR.js.map} +1 -1
- package/dist/chunks/{error-message.Hqp_VvD3.js → error-message.BEHBfjmn.js} +14 -36
- package/dist/chunks/{error-message.Hqp_VvD3.js.map → error-message.BEHBfjmn.js.map} +1 -1
- package/dist/chunks/{es.2H4LvTyV.js → es.DxqH-QhP.js} +14 -14
- package/dist/chunks/{es.2H4LvTyV.js.map → es.DxqH-QhP.js.map} +1 -1
- package/dist/chunks/{field-label.DjJ7wdFi.js → field-label.CgdTst2l.js} +15 -37
- package/dist/chunks/{field-label.DjJ7wdFi.js.map → field-label.CgdTst2l.js.map} +1 -1
- package/dist/chunks/{file-uploader.2rIfQ2jb.js → file-uploader.BG89SLkG.js} +317 -630
- package/dist/chunks/{file-uploader.2rIfQ2jb.js.map → file-uploader.BG89SLkG.js.map} +1 -1
- package/dist/chunks/filter-bar.BMO8wTzb.js +3087 -0
- package/dist/chunks/{filter-bar.qlViDZPY.js.map → filter-bar.BMO8wTzb.js.map} +1 -1
- package/dist/chunks/fixed-scroller.oObE3f7m.js +117 -0
- package/dist/chunks/{fixed-scroller.04EUUgD_.js.map → fixed-scroller.oObE3f7m.js.map} +1 -1
- package/dist/chunks/{focus-trap.oRKjDFzf.js → focus-trap.l-wwtCHi.js} +69 -85
- package/dist/chunks/{focus-trap.oRKjDFzf.js.map → focus-trap.l-wwtCHi.js.map} +1 -1
- package/dist/chunks/{footer-actions.DXyJtVip.js → footer-actions.Dn9KYoqB.js} +4 -4
- package/dist/chunks/{footer-actions.DXyJtVip.js.map → footer-actions.Dn9KYoqB.js.map} +1 -1
- package/dist/chunks/{form-layout-group.DnjoLZZM.js → form-layout-group.C_0b8u-g.js} +2 -2
- package/dist/chunks/{form-layout-group.DnjoLZZM.js.map → form-layout-group.C_0b8u-g.js.map} +1 -1
- package/dist/chunks/{form-layout-title.Bt5bP9r3.js → form-layout-title.YhZCVtoc.js} +15 -37
- package/dist/chunks/{form-layout-title.Bt5bP9r3.js.map → form-layout-title.YhZCVtoc.js.map} +1 -1
- package/dist/chunks/{fr.Cu0IIfBP.js → fr.DJtn8ron.js} +16 -16
- package/dist/chunks/{fr.Cu0IIfBP.js.map → fr.DJtn8ron.js.map} +1 -1
- package/dist/chunks/{generate-uid.NJ8tVoha.js → generate-uid.DBWe4g6T.js} +15 -16
- package/dist/chunks/{generate-uid.NJ8tVoha.js.map → generate-uid.DBWe4g6T.js.map} +1 -1
- package/dist/chunks/get-slot-text.DM_NdrUC.js +6 -0
- package/dist/chunks/{get-slot-text.Bjb9dTSV.js.map → get-slot-text.DM_NdrUC.js.map} +1 -1
- package/dist/chunks/{grid-layout.1aIiz2N_.js → grid-layout.BeCrjPgT.js} +16 -17
- package/dist/chunks/{grid-layout.1aIiz2N_.js.map → grid-layout.BeCrjPgT.js.map} +1 -1
- package/dist/chunks/header-meta.mDdMmFUA.js +206 -0
- package/dist/chunks/{header-meta.CCQVPDU8.js.map → header-meta.mDdMmFUA.js.map} +1 -1
- package/dist/chunks/{header-with-views.CEU6WrV9.js → header-with-views.Dp6SyiPu.js} +791 -1270
- package/dist/chunks/{header-with-views.CEU6WrV9.js.map → header-with-views.Dp6SyiPu.js.map} +1 -1
- package/dist/chunks/{header.BoNOTATn.js → header.DUAxdw_d.js} +4 -4
- package/dist/chunks/{header.BoNOTATn.js.map → header.DUAxdw_d.js.map} +1 -1
- package/dist/chunks/{index.C7m7gI5w.js → index.CL3TXc0a.js} +154 -160
- package/dist/chunks/{index.C7m7gI5w.js.map → index.CL3TXc0a.js.map} +1 -1
- package/dist/chunks/{index.B6WW_F-J.js → index.CPOlyau9.js} +5 -5
- package/dist/chunks/index.CPOlyau9.js.map +1 -0
- package/dist/chunks/{info-icon.BnLYUTzI.js → info-icon.BRnbXunj.js} +3 -3
- package/dist/chunks/{info-icon.BnLYUTzI.js.map → info-icon.BRnbXunj.js.map} +1 -1
- package/dist/chunks/input-field-password.C9_o6Kg2.js +230 -0
- package/dist/chunks/input-field-password.C9_o6Kg2.js.map +1 -0
- package/dist/chunks/{input-field-phone-number.CPjH0EVF.js → input-field-phone-number.zRjd8HPi.js} +724 -756
- package/dist/chunks/{input-field-phone-number.CPjH0EVF.js.map → input-field-phone-number.zRjd8HPi.js.map} +1 -1
- package/dist/chunks/{input-field.BEV5lhwO.js → input-field.BTt1ORWU.js} +22 -58
- package/dist/chunks/{input-field.BEV5lhwO.js.map → input-field.BTt1ORWU.js.map} +1 -1
- package/dist/chunks/{input-time.En4O4DRD.js → input-time.BfJIDgaH.js} +15 -48
- package/dist/chunks/{input-time.En4O4DRD.js.map → input-time.BfJIDgaH.js.map} +1 -1
- package/dist/chunks/{inspector-page.OKPf0I4k.js → inspector-page.i8bVjo9U.js} +4 -4
- package/dist/chunks/{inspector-page.OKPf0I4k.js.map → inspector-page.i8bVjo9U.js.map} +1 -1
- package/dist/chunks/{inspector.DoQPHzCc.js → inspector.Aet0jTC2.js} +39 -106
- package/dist/chunks/{inspector.DoQPHzCc.js.map → inspector.Aet0jTC2.js.map} +1 -1
- package/dist/chunks/isSameWeek.CieN9XgL.js +14 -0
- package/dist/chunks/{isSameWeek.TrpUOIn5.js.map → isSameWeek.CieN9XgL.js.map} +1 -1
- package/dist/chunks/{it.B65snrJA.js → it.keS7oN5l.js} +8 -8
- package/dist/chunks/{it.B65snrJA.js.map → it.keS7oN5l.js.map} +1 -1
- package/dist/chunks/{ja.xGVfFSzL.js → ja.cLwacUE6.js} +27 -27
- package/dist/chunks/{ja.xGVfFSzL.js.map → ja.cLwacUE6.js.map} +1 -1
- package/dist/chunks/{layout-row.CPFK9Bg7.js → layout-row.HslYnPgn.js} +34 -35
- package/dist/chunks/{layout-row.CPFK9Bg7.js.map → layout-row.HslYnPgn.js.map} +1 -1
- package/dist/chunks/{link.Cejg8jB6.js → link.CscSbaXa.js} +15 -37
- package/dist/chunks/{link.Cejg8jB6.js.map → link.CscSbaXa.js.map} +1 -1
- package/dist/chunks/list-item.Cngxa9qN.js +166 -0
- package/dist/chunks/{list-item.BiJMHR7b.js.map → list-item.Cngxa9qN.js.map} +1 -1
- package/dist/chunks/{listbox-option-tag.DnvECZQC.js → listbox-option-tag.BaoiH-Ku.js} +3 -3
- package/dist/chunks/{listbox-option-tag.DnvECZQC.js.map → listbox-option-tag.BaoiH-Ku.js.map} +1 -1
- package/dist/chunks/{modal-fullscreen.Bn8MzG6Z.js → modal-fullscreen.Cg1Q6ERf.js} +64 -93
- package/dist/chunks/{modal-fullscreen.Bn8MzG6Z.js.map → modal-fullscreen.Cg1Q6ERf.js.map} +1 -1
- package/dist/chunks/{modal.CClQItuJ.js → modal.u-t1CvBr.js} +81 -105
- package/dist/chunks/{modal.CClQItuJ.js.map → modal.u-t1CvBr.js.map} +1 -1
- package/dist/chunks/{navigation-menu-group.p1-x06nS.js → navigation-menu-group.gNMP4tW4.js} +80 -129
- package/dist/chunks/{navigation-menu-group.p1-x06nS.js.map → navigation-menu-group.gNMP4tW4.js.map} +1 -1
- package/dist/chunks/{on-click-outside.Cy1eFULD.js → on-click-outside.BgIzQ2G1.js} +32 -33
- package/dist/chunks/{on-click-outside.Cy1eFULD.js.map → on-click-outside.BgIzQ2G1.js.map} +1 -1
- package/dist/chunks/{pagination.CZVdaeqE.js → pagination.D81XgMQ7.js} +73 -192
- package/dist/chunks/pagination.D81XgMQ7.js.map +1 -0
- package/dist/chunks/{payment-method.B3CkgsAY.js → payment-method.Clm5dEYh.js} +2 -2
- package/dist/chunks/{payment-method.B3CkgsAY.js.map → payment-method.Clm5dEYh.js.map} +1 -1
- package/dist/chunks/popover.types.H5Y0rC1r.js +6 -0
- package/dist/chunks/{popover.types.BfnJIpII.js.map → popover.types.H5Y0rC1r.js.map} +1 -1
- package/dist/chunks/{popper-container.Cb9wuFId.js → popper-container.D08eTt4B.js} +245 -252
- package/dist/chunks/{popper-container.Cb9wuFId.js.map → popper-container.D08eTt4B.js.map} +1 -1
- package/dist/chunks/{promo-banner.DZ0gerRx.js → promo-banner.BX47zMKh.js} +17 -39
- package/dist/chunks/{promo-banner.DZ0gerRx.js.map → promo-banner.BX47zMKh.js.map} +1 -1
- package/dist/chunks/{pt-BR.D9FuAQZm.js → pt-BR.ChPOra5s.js} +14 -14
- package/dist/chunks/{pt-BR.D9FuAQZm.js.map → pt-BR.ChPOra5s.js.map} +1 -1
- package/dist/chunks/{radio-group.DUW2dya4.js → radio-group.Dtx5hOkQ.js} +23 -23
- package/dist/chunks/{radio-group.DUW2dya4.js.map → radio-group.Dtx5hOkQ.js.map} +1 -1
- package/dist/chunks/{rich-text-editor.CuCPLzUh.js → rich-text-editor.CmVsFJjh.js} +1364 -1416
- package/dist/chunks/{rich-text-editor.CuCPLzUh.js.map → rich-text-editor.CmVsFJjh.js.map} +1 -1
- package/dist/chunks/scroll-to-section.DhW8SFy0.js +101 -0
- package/dist/chunks/scroll-to-section.DhW8SFy0.js.map +1 -0
- package/dist/chunks/{search-bar.8iDkgmjw.js → search-bar.CRfYCmkl.js} +15 -48
- package/dist/chunks/{search-bar.8iDkgmjw.js.map → search-bar.CRfYCmkl.js.map} +1 -1
- package/dist/chunks/secondary-nav.B1Tj7MAA.js +192 -0
- package/dist/chunks/{secondary-nav.CmvSHxvS.js.map → secondary-nav.B1Tj7MAA.js.map} +1 -1
- package/dist/chunks/{segmented-control.Bkp2Y95s.js → segmented-control.CBc-wx0m.js} +44 -48
- package/dist/chunks/{segmented-control.Bkp2Y95s.js.map → segmented-control.CBc-wx0m.js.map} +1 -1
- package/dist/chunks/{selection-card-group.EGigQJOW.js → selection-card-group.BaK3Rt4K.js} +91 -96
- package/dist/chunks/{selection-card-group.EGigQJOW.js.map → selection-card-group.BaK3Rt4K.js.map} +1 -1
- package/dist/chunks/set-time-in-date.BVfkl8K8.js +27 -0
- package/dist/chunks/{set-time-in-date.CU7HeZLY.js.map → set-time-in-date.BVfkl8K8.js.map} +1 -1
- package/dist/chunks/{sidepanel.yB7YuzVt.js → sidepanel.DeIREn9l.js} +55 -78
- package/dist/chunks/{sidepanel.yB7YuzVt.js.map → sidepanel.DeIREn9l.js.map} +1 -1
- package/dist/chunks/startOfWeek.muMEhS7U.js +9 -0
- package/dist/chunks/{startOfWeek.Br5KM4z_.js.map → startOfWeek.muMEhS7U.js.map} +1 -1
- package/dist/chunks/{status.CKb07vxI.js → status.DJ1Dfh5s.js} +2 -2
- package/dist/chunks/{status.CKb07vxI.js.map → status.DJ1Dfh5s.js.map} +1 -1
- package/dist/chunks/step.DfI11Din.js +221 -0
- package/dist/chunks/{step.CIfxl8Wm.js.map → step.DfI11Din.js.map} +1 -1
- package/dist/chunks/{structured-list-item.Cnv4Pw5n.js → structured-list-item._7YG2L3a.js} +18 -40
- package/dist/chunks/{structured-list-item.Cnv4Pw5n.js.map → structured-list-item._7YG2L3a.js.map} +1 -1
- package/dist/chunks/{summary-grid.types.BcIlkfVO.js → summary-grid.types.B_gUEQ0c.js} +45 -50
- package/dist/chunks/{summary-grid.types.BcIlkfVO.js.map → summary-grid.types.B_gUEQ0c.js.map} +1 -1
- package/dist/chunks/tab.DFk4K9cq.js +229 -0
- package/dist/chunks/{tab.N0xGWsfO.js.map → tab.DFk4K9cq.js.map} +1 -1
- package/dist/chunks/table-of-contents.CoEnQ9g7.js +104 -0
- package/dist/chunks/{table-of-contents.Cf-IrdZl.js.map → table-of-contents.CoEnQ9g7.js.map} +1 -1
- package/dist/chunks/{tag.BAyLm485.js → tag.BC7FFENr.js} +4 -4
- package/dist/chunks/{tag.BAyLm485.js.map → tag.BC7FFENr.js.map} +1 -1
- package/dist/chunks/textarea.Z-VYFZVq.js +176 -0
- package/dist/chunks/{textarea.BDRR1zE0.js.map → textarea.Z-VYFZVq.js.map} +1 -1
- package/dist/chunks/{timeline-item.QEEIwYMy.js → timeline-item.BGHi_lOY.js} +114 -193
- package/dist/chunks/{timeline-item.QEEIwYMy.js.map → timeline-item.BGHi_lOY.js.map} +1 -1
- package/dist/chunks/{toast.XPG0vaQB.js → toast.D-jat1Xw.js} +64 -86
- package/dist/chunks/{toast.XPG0vaQB.js.map → toast.D-jat1Xw.js.map} +1 -1
- package/dist/chunks/{toggle.Ca-MM3dt.js → toggle.BqHWIhqD.js} +4 -4
- package/dist/chunks/{toggle.Ca-MM3dt.js.map → toggle.BqHWIhqD.js.map} +1 -1
- package/dist/chunks/{tooltip.7ct8WxCl.js → tooltip.D_XsoD_u.js} +68 -70
- package/dist/chunks/{tooltip.7ct8WxCl.js.map → tooltip.D_XsoD_u.js.map} +1 -1
- package/dist/chunks/truncate.DmCXQmeb.js +8 -0
- package/dist/chunks/{truncate.BfIl_-71.js.map → truncate.DmCXQmeb.js.map} +1 -1
- package/dist/chunks/{tutorial.bROv3HSx.js → tutorial.BtxKW4ac.js} +80 -173
- package/dist/chunks/{tutorial.bROv3HSx.js.map → tutorial.BtxKW4ac.js.map} +1 -1
- package/dist/chunks/typography.D1OZJbEa.js +90 -0
- package/dist/chunks/typography.D1OZJbEa.js.map +1 -0
- package/dist/chunks/{use-bento-delayed-hover.Bz_8EabW.js → use-bento-delayed-hover.D6QjSugc.js} +2 -2
- package/dist/chunks/{use-bento-delayed-hover.Bz_8EabW.js.map → use-bento-delayed-hover.D6QjSugc.js.map} +1 -1
- package/dist/chunks/{use-bento-toast-controller.CB6Qbf3R.js → use-bento-toast-controller.A5xraVqa.js} +14 -15
- package/dist/chunks/{use-bento-toast-controller.CB6Qbf3R.js.map → use-bento-toast-controller.A5xraVqa.js.map} +1 -1
- package/dist/chunks/use-country-items.B1KhLbqM.js +30 -0
- package/dist/chunks/{use-country-items.CmCRY7QX.js.map → use-country-items.B1KhLbqM.js.map} +1 -1
- package/dist/chunks/use-country-phon-code.Cv5YgCOo.js +291 -0
- package/dist/chunks/use-country-phon-code.Cv5YgCOo.js.map +1 -0
- package/dist/chunks/use-date-input-formatter.DXwvH7B0.js +1629 -0
- package/dist/chunks/{use-date-input-formatter.DfQk8_Dw.js.map → use-date-input-formatter.DXwvH7B0.js.map} +1 -1
- package/dist/chunks/use-expandable-content-height.Bdd9hQwq.js +34 -0
- package/dist/chunks/{use-expandable-content-height.2WJLCL-R.js.map → use-expandable-content-height.Bdd9hQwq.js.map} +1 -1
- package/dist/chunks/utils.DWmc2mUI.js +19 -0
- package/dist/chunks/{utils.BzUwtTXc.js.map → utils.DWmc2mUI.js.map} +1 -1
- package/dist/chunks/{zh-CN.Be4pa3-g.js → zh-CN.ZG6obniO.js} +28 -28
- package/dist/chunks/{zh-CN.Be4pa3-g.js.map → zh-CN.ZG6obniO.js.map} +1 -1
- package/dist/click-outside.js +1 -1
- package/dist/code-snippet.js +1 -1
- package/dist/country.js +3 -3
- package/dist/currency.js +1 -1
- package/dist/dashboard-template.js +1 -1
- package/dist/dashed-underline.js +1 -1
- package/dist/data-grid-template.js +1 -1
- package/dist/data-grid.js +1 -1
- package/dist/date-picker.js +2 -2
- package/dist/date-range-picker.js +2 -2
- package/dist/date-time-picker.js +1 -1
- package/dist/date.js +1 -1
- package/dist/draggable.js +2 -2
- package/dist/drawer.js +1 -1
- package/dist/dropdown.js +2 -2
- package/dist/empty-state.js +1 -1
- package/dist/file-uploader.js +1 -1
- package/dist/filter-bar.js +1 -1
- package/dist/focus-trap.js +1 -1
- package/dist/form-layout.js +2 -2
- package/dist/header-with-views.js +1 -1
- package/dist/header.js +1 -1
- package/dist/index.js +144 -149
- package/dist/index.js.map +1 -1
- package/dist/info-icon.js +1 -1
- package/dist/input-field-password.js +1 -1
- package/dist/input-field-phone-number.js +1 -1
- package/dist/input-field.js +1 -1
- package/dist/input-time.js +1 -1
- package/dist/inspector.js +2 -2
- package/dist/internal.js +14 -14
- package/dist/layout.js +1 -1
- package/dist/link.js +1 -1
- package/dist/list.js +1 -1
- package/dist/menu.js +1 -1
- package/dist/modal-fullscreen.js +1 -1
- package/dist/modal.js +2 -2
- package/dist/navigation-menu.js +1 -1
- package/dist/pagination.js +1 -1
- package/dist/payment-method.js +1 -1
- package/dist/popover.js +2 -2
- package/dist/popper-container.js +1 -1
- package/dist/promo-banner.js +1 -1
- package/dist/radio-group.js +1 -1
- package/dist/rich-text-editor.js +1 -1
- package/dist/search-bar.js +2 -2
- package/dist/secondary-nav.js +1 -1
- package/dist/segmented-control.js +1 -1
- package/dist/selection-card.js +1 -1
- package/dist/sidepanel.js +1 -1
- package/dist/status.js +1 -1
- package/dist/stepper.js +1 -1
- package/dist/structured-list.js +1 -1
- package/dist/summary-grid.js +1 -1
- package/dist/table-of-contents.js +1 -1
- package/dist/tabs.js +1 -1
- package/dist/tag.js +1 -1
- package/dist/textarea.js +1 -1
- package/dist/timeline.js +1 -1
- package/dist/toast.js +1 -1
- package/dist/toggle.js +1 -1
- package/dist/tutorial.js +1 -1
- package/dist/typography.js +1 -1
- package/dist/use-form-v4.js +331 -341
- package/dist/use-form-v4.js.map +1 -1
- package/dist/web-types.json +32 -2
- package/package.json +11 -11
- package/dist/chunks/anchor-scroller.DgC74yeM.js +0 -141
- package/dist/chunks/anchor-scroller.DgC74yeM.js.map +0 -1
- package/dist/chunks/button-actions-with-menu.DNYoFmV4.js +0 -85
- package/dist/chunks/calendar.CvHJ3Geq.js +0 -1247
- package/dist/chunks/click-outside.BG01Sm0A.js +0 -23
- package/dist/chunks/constructNow.CK0ryPil.js +0 -8
- package/dist/chunks/country.types.8GCHsdGN.js +0 -2789
- package/dist/chunks/country.types.8GCHsdGN.js.map +0 -1
- package/dist/chunks/currency.Dvy9Qjjf.js +0 -126
- package/dist/chunks/dashboard-section.D2yqhERq.js +0 -102
- package/dist/chunks/data-grid-template.Ifn423Ot.js +0 -111
- package/dist/chunks/data-grid.BDXQ_kKQ.js +0 -4121
- package/dist/chunks/date-picker.CXZfCxwP.js +0 -252
- package/dist/chunks/date-range-picker.BzVQsYk4.js +0 -1295
- package/dist/chunks/date-time-picker.DaLATfJp.js +0 -202
- package/dist/chunks/differenceInMonths.CpwVtHZX.js +0 -44
- package/dist/chunks/draggable.rTa1jcHI.js +0 -196
- package/dist/chunks/empty-state.DSVU1vU8.js +0 -106
- package/dist/chunks/empty-state.DSVU1vU8.js.map +0 -1
- package/dist/chunks/filter-bar.qlViDZPY.js +0 -3754
- package/dist/chunks/fixed-scroller.04EUUgD_.js +0 -152
- package/dist/chunks/get-slot-text.Bjb9dTSV.js +0 -12
- package/dist/chunks/header-meta.CCQVPDU8.js +0 -250
- package/dist/chunks/index.B6WW_F-J.js.map +0 -1
- package/dist/chunks/input-field-password.Bri9q5EV.js +0 -395
- package/dist/chunks/input-field-password.Bri9q5EV.js.map +0 -1
- package/dist/chunks/isSameWeek.TrpUOIn5.js +0 -14
- package/dist/chunks/list-item.BiJMHR7b.js +0 -226
- package/dist/chunks/pagination.CZVdaeqE.js.map +0 -1
- package/dist/chunks/popover.types.BfnJIpII.js +0 -6
- package/dist/chunks/scroll-to-section.CC5g-HBX.js +0 -111
- package/dist/chunks/scroll-to-section.CC5g-HBX.js.map +0 -1
- package/dist/chunks/secondary-nav.CmvSHxvS.js +0 -266
- package/dist/chunks/set-time-in-date.CU7HeZLY.js +0 -27
- package/dist/chunks/startOfWeek.Br5KM4z_.js +0 -10
- package/dist/chunks/step.CIfxl8Wm.js +0 -253
- package/dist/chunks/tab.N0xGWsfO.js +0 -259
- package/dist/chunks/table-of-contents.Cf-IrdZl.js +0 -129
- package/dist/chunks/textarea.BDRR1zE0.js +0 -224
- package/dist/chunks/truncate.BfIl_-71.js +0 -8
- package/dist/chunks/typography.C8lPlsbD.js +0 -87
- package/dist/chunks/typography.C8lPlsbD.js.map +0 -1
- package/dist/chunks/use-country-items.CmCRY7QX.js +0 -30
- package/dist/chunks/use-country-phon-code.BWkb546s.js +0 -6641
- package/dist/chunks/use-country-phon-code.BWkb546s.js.map +0 -1
- package/dist/chunks/use-date-input-formatter.DfQk8_Dw.js +0 -1732
- package/dist/chunks/use-expandable-content-height.2WJLCL-R.js +0 -35
- package/dist/chunks/utils.BzUwtTXc.js +0 -21
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { computed as S, unref as Z, ref as j, shallowRef as ee, watch as ot, getCurrentScope as ne, onScopeDispose as oe, shallowReadonly as Q, defineComponent as ie, toRefs as re } from "vue";
|
|
2
2
|
import "./index.Cl4_42j5.js";
|
|
3
|
-
import { B as se } from "./focus-trap.
|
|
3
|
+
import { B as se } from "./focus-trap.l-wwtCHi.js";
|
|
4
4
|
import { n as le } from "./_plugin-vue2_normalizer.CeySl7Fu.js";
|
|
5
5
|
import "../assets/popper-container.css";
|
|
6
6
|
const Wt = ["top", "right", "bottom", "left"], Rt = ["start", "end"], St = /* @__PURE__ */ Wt.reduce((t, e) => t.concat(e, e + "-" + Rt[0], e + "-" + Rt[1]), []), et = Math.min, q = Math.max, lt = Math.round, st = Math.floor, M = (t) => ({
|
|
@@ -53,12 +53,12 @@ function ue(t) {
|
|
|
53
53
|
function ct(t) {
|
|
54
54
|
return t.replace(/start|end/g, (e) => ae[e]);
|
|
55
55
|
}
|
|
56
|
-
const
|
|
56
|
+
const Et = ["left", "right"], _t = ["right", "left"], de = ["top", "bottom"], me = ["bottom", "top"];
|
|
57
57
|
function pe(t, e, n) {
|
|
58
58
|
switch (t) {
|
|
59
59
|
case "top":
|
|
60
60
|
case "bottom":
|
|
61
|
-
return n ? e ?
|
|
61
|
+
return n ? e ? _t : Et : e ? Et : _t;
|
|
62
62
|
case "left":
|
|
63
63
|
case "right":
|
|
64
64
|
return e ? de : me;
|
|
@@ -114,48 +114,48 @@ function Ct(t, e, n) {
|
|
|
114
114
|
reference: o,
|
|
115
115
|
floating: i
|
|
116
116
|
} = t;
|
|
117
|
-
const s = z(e), r = xt(e), l = yt(r),
|
|
118
|
-
let
|
|
119
|
-
switch (
|
|
117
|
+
const s = z(e), r = xt(e), l = yt(r), f = V(e), c = s === "y", u = o.x + o.width / 2 - i.width / 2, d = o.y + o.height / 2 - i.height / 2, m = o[l] / 2 - i[l] / 2;
|
|
118
|
+
let a;
|
|
119
|
+
switch (f) {
|
|
120
120
|
case "top":
|
|
121
|
-
|
|
121
|
+
a = {
|
|
122
122
|
x: u,
|
|
123
123
|
y: o.y - i.height
|
|
124
124
|
};
|
|
125
125
|
break;
|
|
126
126
|
case "bottom":
|
|
127
|
-
|
|
127
|
+
a = {
|
|
128
128
|
x: u,
|
|
129
129
|
y: o.y + o.height
|
|
130
130
|
};
|
|
131
131
|
break;
|
|
132
132
|
case "right":
|
|
133
|
-
|
|
133
|
+
a = {
|
|
134
134
|
x: o.x + o.width,
|
|
135
135
|
y: d
|
|
136
136
|
};
|
|
137
137
|
break;
|
|
138
138
|
case "left":
|
|
139
|
-
|
|
139
|
+
a = {
|
|
140
140
|
x: o.x - i.width,
|
|
141
141
|
y: d
|
|
142
142
|
};
|
|
143
143
|
break;
|
|
144
144
|
default:
|
|
145
|
-
|
|
145
|
+
a = {
|
|
146
146
|
x: o.x,
|
|
147
147
|
y: o.y
|
|
148
148
|
};
|
|
149
149
|
}
|
|
150
150
|
switch (B(e)) {
|
|
151
151
|
case "start":
|
|
152
|
-
|
|
152
|
+
a[r] -= m * (n && c ? -1 : 1);
|
|
153
153
|
break;
|
|
154
154
|
case "end":
|
|
155
|
-
|
|
155
|
+
a[r] += m * (n && c ? -1 : 1);
|
|
156
156
|
break;
|
|
157
157
|
}
|
|
158
|
-
return
|
|
158
|
+
return a;
|
|
159
159
|
}
|
|
160
160
|
async function we(t, e) {
|
|
161
161
|
var n;
|
|
@@ -166,40 +166,40 @@ async function we(t, e) {
|
|
|
166
166
|
platform: s,
|
|
167
167
|
rects: r,
|
|
168
168
|
elements: l,
|
|
169
|
-
strategy:
|
|
169
|
+
strategy: f
|
|
170
170
|
} = t, {
|
|
171
|
-
boundary:
|
|
171
|
+
boundary: c = "clippingAncestors",
|
|
172
172
|
rootBoundary: u = "viewport",
|
|
173
173
|
elementContext: d = "floating",
|
|
174
174
|
altBoundary: m = !1,
|
|
175
|
-
padding:
|
|
176
|
-
} = K(e, t), p = It(
|
|
175
|
+
padding: a = 0
|
|
176
|
+
} = K(e, t), p = It(a), g = l[m ? d === "floating" ? "reference" : "floating" : d], h = ft(await s.getClippingRect({
|
|
177
177
|
element: (n = await (s.isElement == null ? void 0 : s.isElement(g))) == null || n ? g : g.contextElement || await (s.getDocumentElement == null ? void 0 : s.getDocumentElement(l.floating)),
|
|
178
|
-
boundary:
|
|
178
|
+
boundary: c,
|
|
179
179
|
rootBoundary: u,
|
|
180
|
-
strategy:
|
|
180
|
+
strategy: f
|
|
181
181
|
})), v = d === "floating" ? {
|
|
182
182
|
x: o,
|
|
183
183
|
y: i,
|
|
184
184
|
width: r.floating.width,
|
|
185
185
|
height: r.floating.height
|
|
186
|
-
} : r.reference,
|
|
186
|
+
} : r.reference, x = await (s.getOffsetParent == null ? void 0 : s.getOffsetParent(l.floating)), b = await (s.isElement == null ? void 0 : s.isElement(x)) ? await (s.getScale == null ? void 0 : s.getScale(x)) || {
|
|
187
187
|
x: 1,
|
|
188
188
|
y: 1
|
|
189
189
|
} : {
|
|
190
190
|
x: 1,
|
|
191
191
|
y: 1
|
|
192
|
-
},
|
|
192
|
+
}, A = ft(s.convertOffsetParentRelativeRectToViewportRelativeRect ? await s.convertOffsetParentRelativeRectToViewportRelativeRect({
|
|
193
193
|
elements: l,
|
|
194
194
|
rect: v,
|
|
195
|
-
offsetParent:
|
|
196
|
-
strategy:
|
|
195
|
+
offsetParent: x,
|
|
196
|
+
strategy: f
|
|
197
197
|
}) : v);
|
|
198
198
|
return {
|
|
199
|
-
top: (h.top -
|
|
200
|
-
bottom: (
|
|
201
|
-
left: (h.left -
|
|
202
|
-
right: (
|
|
199
|
+
top: (h.top - A.top + p.top) / b.y,
|
|
200
|
+
bottom: (A.bottom - h.bottom + p.bottom) / b.y,
|
|
201
|
+
left: (h.left - A.left + p.left) / b.x,
|
|
202
|
+
right: (A.right - h.right + p.right) / b.x
|
|
203
203
|
};
|
|
204
204
|
}
|
|
205
205
|
const ve = async (t, e, n) => {
|
|
@@ -208,33 +208,33 @@ const ve = async (t, e, n) => {
|
|
|
208
208
|
strategy: i = "absolute",
|
|
209
209
|
middleware: s = [],
|
|
210
210
|
platform: r
|
|
211
|
-
} = n, l = s.filter(Boolean),
|
|
212
|
-
let
|
|
211
|
+
} = n, l = s.filter(Boolean), f = await (r.isRTL == null ? void 0 : r.isRTL(e));
|
|
212
|
+
let c = await r.getElementRects({
|
|
213
213
|
reference: t,
|
|
214
214
|
floating: e,
|
|
215
215
|
strategy: i
|
|
216
216
|
}), {
|
|
217
217
|
x: u,
|
|
218
218
|
y: d
|
|
219
|
-
} = Ct(
|
|
219
|
+
} = Ct(c, o, f), m = o, a = {}, p = 0;
|
|
220
220
|
for (let g = 0; g < l.length; g++) {
|
|
221
221
|
var w;
|
|
222
222
|
const {
|
|
223
223
|
name: h,
|
|
224
224
|
fn: v
|
|
225
225
|
} = l[g], {
|
|
226
|
-
x
|
|
226
|
+
x,
|
|
227
227
|
y: b,
|
|
228
|
-
data:
|
|
229
|
-
reset:
|
|
228
|
+
data: A,
|
|
229
|
+
reset: O
|
|
230
230
|
} = await v({
|
|
231
231
|
x: u,
|
|
232
232
|
y: d,
|
|
233
233
|
initialPlacement: o,
|
|
234
234
|
placement: m,
|
|
235
235
|
strategy: i,
|
|
236
|
-
middlewareData:
|
|
237
|
-
rects:
|
|
236
|
+
middlewareData: a,
|
|
237
|
+
rects: c,
|
|
238
238
|
platform: {
|
|
239
239
|
...r,
|
|
240
240
|
detectOverflow: (w = r.detectOverflow) != null ? w : we
|
|
@@ -244,27 +244,27 @@ const ve = async (t, e, n) => {
|
|
|
244
244
|
floating: e
|
|
245
245
|
}
|
|
246
246
|
});
|
|
247
|
-
u =
|
|
248
|
-
...
|
|
247
|
+
u = x ?? u, d = b ?? d, a = {
|
|
248
|
+
...a,
|
|
249
249
|
[h]: {
|
|
250
|
-
...
|
|
251
|
-
...
|
|
250
|
+
...a[h],
|
|
251
|
+
...A
|
|
252
252
|
}
|
|
253
|
-
},
|
|
253
|
+
}, O && p <= 50 && (p++, typeof O == "object" && (O.placement && (m = O.placement), O.rects && (c = O.rects === !0 ? await r.getElementRects({
|
|
254
254
|
reference: t,
|
|
255
255
|
floating: e,
|
|
256
256
|
strategy: i
|
|
257
|
-
}) :
|
|
257
|
+
}) : O.rects), {
|
|
258
258
|
x: u,
|
|
259
259
|
y: d
|
|
260
|
-
} = Ct(
|
|
260
|
+
} = Ct(c, m, f)), g = -1);
|
|
261
261
|
}
|
|
262
262
|
return {
|
|
263
263
|
x: u,
|
|
264
264
|
y: d,
|
|
265
265
|
placement: m,
|
|
266
266
|
strategy: i,
|
|
267
|
-
middlewareData:
|
|
267
|
+
middlewareData: a
|
|
268
268
|
};
|
|
269
269
|
}, ye = (t) => ({
|
|
270
270
|
name: "arrow",
|
|
@@ -277,24 +277,24 @@ const ve = async (t, e, n) => {
|
|
|
277
277
|
rects: s,
|
|
278
278
|
platform: r,
|
|
279
279
|
elements: l,
|
|
280
|
-
middlewareData:
|
|
280
|
+
middlewareData: f
|
|
281
281
|
} = e, {
|
|
282
|
-
element:
|
|
282
|
+
element: c,
|
|
283
283
|
padding: u = 0
|
|
284
284
|
} = K(t, e) || {};
|
|
285
|
-
if (
|
|
285
|
+
if (c == null)
|
|
286
286
|
return {};
|
|
287
287
|
const d = It(u), m = {
|
|
288
288
|
x: n,
|
|
289
289
|
y: o
|
|
290
|
-
},
|
|
291
|
-
let
|
|
292
|
-
(!
|
|
293
|
-
const H = b / 2 -
|
|
290
|
+
}, a = xt(i), p = yt(a), w = await r.getDimensions(c), g = a === "y", h = g ? "top" : "left", v = g ? "bottom" : "right", x = g ? "clientHeight" : "clientWidth", b = s.reference[p] + s.reference[a] - m[a] - s.floating[p], A = m[a] - s.reference[a], O = await (r.getOffsetParent == null ? void 0 : r.getOffsetParent(c));
|
|
291
|
+
let y = O ? O[x] : 0;
|
|
292
|
+
(!y || !await (r.isElement == null ? void 0 : r.isElement(O))) && (y = l.floating[x] || s.floating[p]);
|
|
293
|
+
const H = b / 2 - A / 2, E = y / 2 - w[p] / 2 - 1, T = et(d[h], E), C = et(d[v], E), W = T, X = y - w[p] - C, R = y / 2 - w[p] / 2 + H, Y = ht(W, R, X), N = !f.arrow && B(i) != null && R !== Y && s.reference[p] / 2 - (R < W ? T : C) - w[p] / 2 < 0, L = N ? R < W ? R - W : R - X : 0;
|
|
294
294
|
return {
|
|
295
|
-
[
|
|
295
|
+
[a]: m[a] + L,
|
|
296
296
|
data: {
|
|
297
|
-
[
|
|
297
|
+
[a]: Y,
|
|
298
298
|
centerOffset: R - Y - L,
|
|
299
299
|
...N && {
|
|
300
300
|
alignmentOffset: L
|
|
@@ -317,39 +317,39 @@ const be = function(t) {
|
|
|
317
317
|
rects: s,
|
|
318
318
|
middlewareData: r,
|
|
319
319
|
placement: l,
|
|
320
|
-
platform:
|
|
321
|
-
elements:
|
|
320
|
+
platform: f,
|
|
321
|
+
elements: c
|
|
322
322
|
} = e, {
|
|
323
323
|
crossAxis: u = !1,
|
|
324
324
|
alignment: d,
|
|
325
325
|
allowedPlacements: m = St,
|
|
326
|
-
autoAlignment:
|
|
326
|
+
autoAlignment: a = !0,
|
|
327
327
|
...p
|
|
328
|
-
} = K(t, e), w = d !== void 0 || m === St ? xe(d || null,
|
|
328
|
+
} = K(t, e), w = d !== void 0 || m === St ? xe(d || null, a, m) : m, g = await f.detectOverflow(e, p), h = ((n = r.autoPlacement) == null ? void 0 : n.index) || 0, v = w[h];
|
|
329
329
|
if (v == null)
|
|
330
330
|
return {};
|
|
331
|
-
const
|
|
331
|
+
const x = Vt(v, s, await (f.isRTL == null ? void 0 : f.isRTL(c.floating)));
|
|
332
332
|
if (l !== v)
|
|
333
333
|
return {
|
|
334
334
|
reset: {
|
|
335
335
|
placement: w[0]
|
|
336
336
|
}
|
|
337
337
|
};
|
|
338
|
-
const b = [g[V(v)], g[
|
|
338
|
+
const b = [g[V(v)], g[x[0]], g[x[1]]], A = [...((o = r.autoPlacement) == null ? void 0 : o.overflows) || [], {
|
|
339
339
|
placement: v,
|
|
340
340
|
overflows: b
|
|
341
|
-
}],
|
|
342
|
-
if (
|
|
341
|
+
}], O = w[h + 1];
|
|
342
|
+
if (O)
|
|
343
343
|
return {
|
|
344
344
|
data: {
|
|
345
345
|
index: h + 1,
|
|
346
|
-
overflows:
|
|
346
|
+
overflows: A
|
|
347
347
|
},
|
|
348
348
|
reset: {
|
|
349
|
-
placement:
|
|
349
|
+
placement: O
|
|
350
350
|
}
|
|
351
351
|
};
|
|
352
|
-
const
|
|
352
|
+
const y = A.map((T) => {
|
|
353
353
|
const C = B(T.placement);
|
|
354
354
|
return [T.placement, C && u ? (
|
|
355
355
|
// Check along the mainAxis and main crossAxis side.
|
|
@@ -358,19 +358,19 @@ const be = function(t) {
|
|
|
358
358
|
// Check only the mainAxis.
|
|
359
359
|
T.overflows[0]
|
|
360
360
|
), T.overflows];
|
|
361
|
-
}).sort((T, C) => T[1] - C[1]),
|
|
361
|
+
}).sort((T, C) => T[1] - C[1]), E = ((i = y.filter((T) => T[2].slice(
|
|
362
362
|
0,
|
|
363
363
|
// Aligned placements should not check their opposite crossAxis
|
|
364
364
|
// side.
|
|
365
365
|
B(T[0]) ? 2 : 3
|
|
366
|
-
).every((C) => C <= 0))[0]) == null ? void 0 : i[0]) ||
|
|
367
|
-
return
|
|
366
|
+
).every((C) => C <= 0))[0]) == null ? void 0 : i[0]) || y[0][0];
|
|
367
|
+
return E !== l ? {
|
|
368
368
|
data: {
|
|
369
369
|
index: h + 1,
|
|
370
|
-
overflows:
|
|
370
|
+
overflows: A
|
|
371
371
|
},
|
|
372
372
|
reset: {
|
|
373
|
-
placement:
|
|
373
|
+
placement: E
|
|
374
374
|
}
|
|
375
375
|
} : {};
|
|
376
376
|
}
|
|
@@ -386,33 +386,33 @@ const be = function(t) {
|
|
|
386
386
|
middlewareData: s,
|
|
387
387
|
rects: r,
|
|
388
388
|
initialPlacement: l,
|
|
389
|
-
platform:
|
|
390
|
-
elements:
|
|
389
|
+
platform: f,
|
|
390
|
+
elements: c
|
|
391
391
|
} = e, {
|
|
392
392
|
mainAxis: u = !0,
|
|
393
393
|
crossAxis: d = !0,
|
|
394
394
|
fallbackPlacements: m,
|
|
395
|
-
fallbackStrategy:
|
|
395
|
+
fallbackStrategy: a = "bestFit",
|
|
396
396
|
fallbackAxisSideDirection: p = "none",
|
|
397
397
|
flipAlignment: w = !0,
|
|
398
398
|
...g
|
|
399
399
|
} = K(t, e);
|
|
400
400
|
if ((n = s.arrow) != null && n.alignmentOffset)
|
|
401
401
|
return {};
|
|
402
|
-
const h = V(i), v = z(l),
|
|
403
|
-
!m &&
|
|
404
|
-
const
|
|
402
|
+
const h = V(i), v = z(l), x = V(l) === l, b = await (f.isRTL == null ? void 0 : f.isRTL(c.floating)), A = m || (x || !w ? [at(l)] : ue(l)), O = p !== "none";
|
|
403
|
+
!m && O && A.push(...ge(l, w, p, b));
|
|
404
|
+
const y = [l, ...A], H = await f.detectOverflow(e, g), E = [];
|
|
405
405
|
let T = ((o = s.flip) == null ? void 0 : o.overflows) || [];
|
|
406
|
-
if (u &&
|
|
406
|
+
if (u && E.push(H[h]), d) {
|
|
407
407
|
const R = Vt(i, r, b);
|
|
408
|
-
|
|
408
|
+
E.push(H[R[0]], H[R[1]]);
|
|
409
409
|
}
|
|
410
410
|
if (T = [...T, {
|
|
411
411
|
placement: i,
|
|
412
|
-
overflows:
|
|
413
|
-
}], !
|
|
412
|
+
overflows: E
|
|
413
|
+
}], !E.every((R) => R <= 0)) {
|
|
414
414
|
var C, W;
|
|
415
|
-
const R = (((C = s.flip) == null ? void 0 : C.index) || 0) + 1, Y =
|
|
415
|
+
const R = (((C = s.flip) == null ? void 0 : C.index) || 0) + 1, Y = y[R];
|
|
416
416
|
if (Y && (!(d === "alignment" ? v !== z(Y) : !1) || // We leave the current main axis only if every placement on that axis
|
|
417
417
|
// overflows the main axis.
|
|
418
418
|
T.every((D) => z(D.placement) === v ? D.overflows[0] > 0 : !0)))
|
|
@@ -427,11 +427,11 @@ const be = function(t) {
|
|
|
427
427
|
};
|
|
428
428
|
let N = (W = T.filter((L) => L.overflows[0] <= 0).sort((L, D) => L.overflows[1] - D.overflows[1])[0]) == null ? void 0 : W.placement;
|
|
429
429
|
if (!N)
|
|
430
|
-
switch (
|
|
430
|
+
switch (a) {
|
|
431
431
|
case "bestFit": {
|
|
432
432
|
var X;
|
|
433
433
|
const L = (X = T.filter((D) => {
|
|
434
|
-
if (
|
|
434
|
+
if (O) {
|
|
435
435
|
const I = z(D.placement);
|
|
436
436
|
return I === v || // Create a bias to the `y` side axis due to horizontal
|
|
437
437
|
// reading directions favoring greater width.
|
|
@@ -516,10 +516,10 @@ async function Re(t, e) {
|
|
|
516
516
|
placement: n,
|
|
517
517
|
platform: o,
|
|
518
518
|
elements: i
|
|
519
|
-
} = t, s = await (o.isRTL == null ? void 0 : o.isRTL(i.floating)), r = V(n), l = B(n),
|
|
519
|
+
} = t, s = await (o.isRTL == null ? void 0 : o.isRTL(i.floating)), r = V(n), l = B(n), f = z(n) === "y", c = Te.has(r) ? -1 : 1, u = s && f ? -1 : 1, d = K(e, t);
|
|
520
520
|
let {
|
|
521
521
|
mainAxis: m,
|
|
522
|
-
crossAxis:
|
|
522
|
+
crossAxis: a,
|
|
523
523
|
alignmentAxis: p
|
|
524
524
|
} = typeof d == "number" ? {
|
|
525
525
|
mainAxis: d,
|
|
@@ -530,12 +530,12 @@ async function Re(t, e) {
|
|
|
530
530
|
crossAxis: d.crossAxis || 0,
|
|
531
531
|
alignmentAxis: d.alignmentAxis
|
|
532
532
|
};
|
|
533
|
-
return l && typeof p == "number" && (
|
|
534
|
-
x:
|
|
535
|
-
y: m *
|
|
533
|
+
return l && typeof p == "number" && (a = l === "end" ? p * -1 : p), f ? {
|
|
534
|
+
x: a * u,
|
|
535
|
+
y: m * c
|
|
536
536
|
} : {
|
|
537
|
-
x: m *
|
|
538
|
-
y:
|
|
537
|
+
x: m * c,
|
|
538
|
+
y: a * u
|
|
539
539
|
};
|
|
540
540
|
}
|
|
541
541
|
const Se = function(t) {
|
|
@@ -549,18 +549,18 @@ const Se = function(t) {
|
|
|
549
549
|
y: s,
|
|
550
550
|
placement: r,
|
|
551
551
|
middlewareData: l
|
|
552
|
-
} = e,
|
|
552
|
+
} = e, f = await Re(e, t);
|
|
553
553
|
return r === ((n = l.offset) == null ? void 0 : n.placement) && (o = l.arrow) != null && o.alignmentOffset ? {} : {
|
|
554
|
-
x: i +
|
|
555
|
-
y: s +
|
|
554
|
+
x: i + f.x,
|
|
555
|
+
y: s + f.y,
|
|
556
556
|
data: {
|
|
557
|
-
...
|
|
557
|
+
...f,
|
|
558
558
|
placement: r
|
|
559
559
|
}
|
|
560
560
|
};
|
|
561
561
|
}
|
|
562
562
|
};
|
|
563
|
-
},
|
|
563
|
+
}, Ee = function(t) {
|
|
564
564
|
return t === void 0 && (t = {}), {
|
|
565
565
|
name: "shift",
|
|
566
566
|
options: t,
|
|
@@ -573,35 +573,35 @@ const Se = function(t) {
|
|
|
573
573
|
} = e, {
|
|
574
574
|
mainAxis: r = !0,
|
|
575
575
|
crossAxis: l = !1,
|
|
576
|
-
limiter:
|
|
576
|
+
limiter: f = {
|
|
577
577
|
fn: (h) => {
|
|
578
578
|
let {
|
|
579
579
|
x: v,
|
|
580
|
-
y
|
|
580
|
+
y: x
|
|
581
581
|
} = h;
|
|
582
582
|
return {
|
|
583
583
|
x: v,
|
|
584
|
-
y
|
|
584
|
+
y: x
|
|
585
585
|
};
|
|
586
586
|
}
|
|
587
587
|
},
|
|
588
|
-
...
|
|
588
|
+
...c
|
|
589
589
|
} = K(t, e), u = {
|
|
590
590
|
x: n,
|
|
591
591
|
y: o
|
|
592
|
-
}, d = await s.detectOverflow(e,
|
|
593
|
-
let p = u[
|
|
592
|
+
}, d = await s.detectOverflow(e, c), m = z(V(i)), a = Nt(m);
|
|
593
|
+
let p = u[a], w = u[m];
|
|
594
594
|
if (r) {
|
|
595
|
-
const h =
|
|
596
|
-
p = ht(
|
|
595
|
+
const h = a === "y" ? "top" : "left", v = a === "y" ? "bottom" : "right", x = p + d[h], b = p - d[v];
|
|
596
|
+
p = ht(x, p, b);
|
|
597
597
|
}
|
|
598
598
|
if (l) {
|
|
599
|
-
const h = m === "y" ? "top" : "left", v = m === "y" ? "bottom" : "right",
|
|
600
|
-
w = ht(
|
|
599
|
+
const h = m === "y" ? "top" : "left", v = m === "y" ? "bottom" : "right", x = w + d[h], b = w - d[v];
|
|
600
|
+
w = ht(x, w, b);
|
|
601
601
|
}
|
|
602
|
-
const g =
|
|
602
|
+
const g = f.fn({
|
|
603
603
|
...e,
|
|
604
|
-
[
|
|
604
|
+
[a]: p,
|
|
605
605
|
[m]: w
|
|
606
606
|
});
|
|
607
607
|
return {
|
|
@@ -610,7 +610,7 @@ const Se = function(t) {
|
|
|
610
610
|
x: g.x - n,
|
|
611
611
|
y: g.y - o,
|
|
612
612
|
enabled: {
|
|
613
|
-
[
|
|
613
|
+
[a]: r,
|
|
614
614
|
[m]: l
|
|
615
615
|
}
|
|
616
616
|
}
|
|
@@ -624,7 +624,7 @@ function ut() {
|
|
|
624
624
|
function J(t) {
|
|
625
625
|
return bt(t) ? (t.nodeName || "").toLowerCase() : "#document";
|
|
626
626
|
}
|
|
627
|
-
function
|
|
627
|
+
function _(t) {
|
|
628
628
|
var e;
|
|
629
629
|
return (t == null || (e = t.ownerDocument) == null ? void 0 : e.defaultView) || window;
|
|
630
630
|
}
|
|
@@ -633,18 +633,18 @@ function k(t) {
|
|
|
633
633
|
return (e = (bt(t) ? t.ownerDocument : t.document) || window.document) == null ? void 0 : e.documentElement;
|
|
634
634
|
}
|
|
635
635
|
function bt(t) {
|
|
636
|
-
return ut() ? t instanceof Node || t instanceof
|
|
636
|
+
return ut() ? t instanceof Node || t instanceof _(t).Node : !1;
|
|
637
637
|
}
|
|
638
638
|
function P(t) {
|
|
639
|
-
return ut() ? t instanceof Element || t instanceof
|
|
639
|
+
return ut() ? t instanceof Element || t instanceof _(t).Element : !1;
|
|
640
640
|
}
|
|
641
641
|
function $(t) {
|
|
642
|
-
return ut() ? t instanceof HTMLElement || t instanceof
|
|
642
|
+
return ut() ? t instanceof HTMLElement || t instanceof _(t).HTMLElement : !1;
|
|
643
643
|
}
|
|
644
644
|
function Pt(t) {
|
|
645
|
-
return !ut() || typeof ShadowRoot > "u" ? !1 : t instanceof ShadowRoot || t instanceof
|
|
645
|
+
return !ut() || typeof ShadowRoot > "u" ? !1 : t instanceof ShadowRoot || t instanceof _(t).ShadowRoot;
|
|
646
646
|
}
|
|
647
|
-
const
|
|
647
|
+
const _e = /* @__PURE__ */ new Set(["inline", "contents"]);
|
|
648
648
|
function rt(t) {
|
|
649
649
|
const {
|
|
650
650
|
overflow: e,
|
|
@@ -652,7 +652,7 @@ function rt(t) {
|
|
|
652
652
|
overflowY: o,
|
|
653
653
|
display: i
|
|
654
654
|
} = F(t);
|
|
655
|
-
return /auto|scroll|overlay|hidden|clip/.test(e + o + n) && !
|
|
655
|
+
return /auto|scroll|overlay|hidden|clip/.test(e + o + n) && !_e.has(i);
|
|
656
656
|
}
|
|
657
657
|
const Ce = /* @__PURE__ */ new Set(["table", "td", "th"]);
|
|
658
658
|
function Le(t) {
|
|
@@ -692,7 +692,7 @@ function nt(t) {
|
|
|
692
692
|
return $e.has(J(t));
|
|
693
693
|
}
|
|
694
694
|
function F(t) {
|
|
695
|
-
return
|
|
695
|
+
return _(t).getComputedStyle(t);
|
|
696
696
|
}
|
|
697
697
|
function mt(t) {
|
|
698
698
|
return P(t) ? {
|
|
@@ -722,7 +722,7 @@ function jt(t) {
|
|
|
722
722
|
function it(t, e, n) {
|
|
723
723
|
var o;
|
|
724
724
|
e === void 0 && (e = []), n === void 0 && (n = !0);
|
|
725
|
-
const i = jt(t), s = i === ((o = t.ownerDocument) == null ? void 0 : o.body), r =
|
|
725
|
+
const i = jt(t), s = i === ((o = t.ownerDocument) == null ? void 0 : o.body), r = _(i);
|
|
726
726
|
if (s) {
|
|
727
727
|
const l = wt(r);
|
|
728
728
|
return e.concat(r, r.visualViewport || [], rt(i) ? i : [], l && n ? it(l) : []);
|
|
@@ -762,14 +762,14 @@ function tt(t) {
|
|
|
762
762
|
}
|
|
763
763
|
const ke = /* @__PURE__ */ M(0);
|
|
764
764
|
function Ut(t) {
|
|
765
|
-
const e =
|
|
765
|
+
const e = _(t);
|
|
766
766
|
return !At() || !e.visualViewport ? ke : {
|
|
767
767
|
x: e.visualViewport.offsetLeft,
|
|
768
768
|
y: e.visualViewport.offsetTop
|
|
769
769
|
};
|
|
770
770
|
}
|
|
771
771
|
function He(t, e, n) {
|
|
772
|
-
return e === void 0 && (e = !1), !n || e && n !==
|
|
772
|
+
return e === void 0 && (e = !1), !n || e && n !== _(t) ? !1 : e;
|
|
773
773
|
}
|
|
774
774
|
function G(t, e, n, o) {
|
|
775
775
|
e === void 0 && (e = !1), n === void 0 && (n = !1);
|
|
@@ -777,20 +777,20 @@ function G(t, e, n, o) {
|
|
|
777
777
|
let r = M(1);
|
|
778
778
|
e && (o ? P(o) && (r = tt(o)) : r = tt(t));
|
|
779
779
|
const l = He(s, n, o) ? Ut(s) : M(0);
|
|
780
|
-
let
|
|
780
|
+
let f = (i.left + l.x) / r.x, c = (i.top + l.y) / r.y, u = i.width / r.x, d = i.height / r.y;
|
|
781
781
|
if (s) {
|
|
782
|
-
const m =
|
|
782
|
+
const m = _(s), a = o && P(o) ? _(o) : o;
|
|
783
783
|
let p = m, w = wt(p);
|
|
784
|
-
for (; w && o &&
|
|
785
|
-
const g = tt(w), h = w.getBoundingClientRect(), v = F(w),
|
|
786
|
-
|
|
784
|
+
for (; w && o && a !== p; ) {
|
|
785
|
+
const g = tt(w), h = w.getBoundingClientRect(), v = F(w), x = h.left + (w.clientLeft + parseFloat(v.paddingLeft)) * g.x, b = h.top + (w.clientTop + parseFloat(v.paddingTop)) * g.y;
|
|
786
|
+
f *= g.x, c *= g.y, u *= g.x, d *= g.y, f += x, c += b, p = _(w), w = wt(p);
|
|
787
787
|
}
|
|
788
788
|
}
|
|
789
789
|
return ft({
|
|
790
790
|
width: u,
|
|
791
791
|
height: d,
|
|
792
|
-
x:
|
|
793
|
-
y:
|
|
792
|
+
x: f,
|
|
793
|
+
y: c
|
|
794
794
|
});
|
|
795
795
|
}
|
|
796
796
|
function pt(t, e) {
|
|
@@ -814,21 +814,21 @@ function We(t) {
|
|
|
814
814
|
const s = i === "fixed", r = k(o), l = e ? dt(e.floating) : !1;
|
|
815
815
|
if (o === r || l && s)
|
|
816
816
|
return n;
|
|
817
|
-
let
|
|
817
|
+
let f = {
|
|
818
818
|
scrollLeft: 0,
|
|
819
819
|
scrollTop: 0
|
|
820
|
-
},
|
|
820
|
+
}, c = M(1);
|
|
821
821
|
const u = M(0), d = $(o);
|
|
822
|
-
if ((d || !d && !s) && ((J(o) !== "body" || rt(r)) && (
|
|
823
|
-
const
|
|
824
|
-
|
|
822
|
+
if ((d || !d && !s) && ((J(o) !== "body" || rt(r)) && (f = mt(o)), $(o))) {
|
|
823
|
+
const a = G(o);
|
|
824
|
+
c = tt(o), u.x = a.x + o.clientLeft, u.y = a.y + o.clientTop;
|
|
825
825
|
}
|
|
826
|
-
const m = r && !d && !s ? Xt(r,
|
|
826
|
+
const m = r && !d && !s ? Xt(r, f) : M(0);
|
|
827
827
|
return {
|
|
828
|
-
width: n.width *
|
|
829
|
-
height: n.height *
|
|
830
|
-
x: n.x *
|
|
831
|
-
y: n.y *
|
|
828
|
+
width: n.width * c.x,
|
|
829
|
+
height: n.height * c.y,
|
|
830
|
+
x: n.x * c.x - f.scrollLeft * c.x + u.x + m.x,
|
|
831
|
+
y: n.y * c.y - f.scrollTop * c.y + u.y + m.y
|
|
832
832
|
};
|
|
833
833
|
}
|
|
834
834
|
function Ne(t) {
|
|
@@ -847,33 +847,33 @@ function Ve(t) {
|
|
|
847
847
|
}
|
|
848
848
|
const Ft = 25;
|
|
849
849
|
function Ie(t, e) {
|
|
850
|
-
const n =
|
|
851
|
-
let s = o.clientWidth, r = o.clientHeight, l = 0,
|
|
850
|
+
const n = _(t), o = k(t), i = n.visualViewport;
|
|
851
|
+
let s = o.clientWidth, r = o.clientHeight, l = 0, f = 0;
|
|
852
852
|
if (i) {
|
|
853
853
|
s = i.width, r = i.height;
|
|
854
854
|
const u = At();
|
|
855
|
-
(!u || u && e === "fixed") && (l = i.offsetLeft,
|
|
855
|
+
(!u || u && e === "fixed") && (l = i.offsetLeft, f = i.offsetTop);
|
|
856
856
|
}
|
|
857
|
-
const
|
|
858
|
-
if (
|
|
859
|
-
const u = o.ownerDocument, d = u.body, m = getComputedStyle(d),
|
|
857
|
+
const c = pt(o);
|
|
858
|
+
if (c <= 0) {
|
|
859
|
+
const u = o.ownerDocument, d = u.body, m = getComputedStyle(d), a = u.compatMode === "CSS1Compat" && parseFloat(m.marginLeft) + parseFloat(m.marginRight) || 0, p = Math.abs(o.clientWidth - d.clientWidth - a);
|
|
860
860
|
p <= Ft && (s -= p);
|
|
861
|
-
} else
|
|
861
|
+
} else c <= Ft && (s += c);
|
|
862
862
|
return {
|
|
863
863
|
width: s,
|
|
864
864
|
height: r,
|
|
865
865
|
x: l,
|
|
866
|
-
y:
|
|
866
|
+
y: f
|
|
867
867
|
};
|
|
868
868
|
}
|
|
869
869
|
const je = /* @__PURE__ */ new Set(["absolute", "fixed"]);
|
|
870
870
|
function ze(t, e) {
|
|
871
|
-
const n = G(t, !0, e === "fixed"), o = n.top + t.clientTop, i = n.left + t.clientLeft, s = $(t) ? tt(t) : M(1), r = t.clientWidth * s.x, l = t.clientHeight * s.y,
|
|
871
|
+
const n = G(t, !0, e === "fixed"), o = n.top + t.clientTop, i = n.left + t.clientLeft, s = $(t) ? tt(t) : M(1), r = t.clientWidth * s.x, l = t.clientHeight * s.y, f = i * s.x, c = o * s.y;
|
|
872
872
|
return {
|
|
873
873
|
width: r,
|
|
874
874
|
height: l,
|
|
875
|
-
x:
|
|
876
|
-
y:
|
|
875
|
+
x: f,
|
|
876
|
+
y: c
|
|
877
877
|
};
|
|
878
878
|
}
|
|
879
879
|
function Mt(t, e, n) {
|
|
@@ -907,8 +907,8 @@ function Ue(t, e) {
|
|
|
907
907
|
const s = F(t).position === "fixed";
|
|
908
908
|
let r = s ? U(t) : t;
|
|
909
909
|
for (; P(r) && !nt(r); ) {
|
|
910
|
-
const l = F(r),
|
|
911
|
-
!
|
|
910
|
+
const l = F(r), f = Ot(r);
|
|
911
|
+
!f && l.position === "fixed" && (i = null), (s ? !f && !i : !f && l.position === "static" && !!i && je.has(i.position) || rt(r) && !f && Yt(t, r)) ? o = o.filter((u) => u !== r) : i = l, r = U(r);
|
|
912
912
|
}
|
|
913
913
|
return e.set(t, o), o;
|
|
914
914
|
}
|
|
@@ -919,15 +919,15 @@ function Xe(t) {
|
|
|
919
919
|
rootBoundary: o,
|
|
920
920
|
strategy: i
|
|
921
921
|
} = t;
|
|
922
|
-
const r = [...n === "clippingAncestors" ? dt(e) ? [] : Ue(e, this._c) : [].concat(n), o], l = r[0],
|
|
922
|
+
const r = [...n === "clippingAncestors" ? dt(e) ? [] : Ue(e, this._c) : [].concat(n), o], l = r[0], f = r.reduce((c, u) => {
|
|
923
923
|
const d = Mt(e, u, i);
|
|
924
|
-
return
|
|
924
|
+
return c.top = q(d.top, c.top), c.right = et(d.right, c.right), c.bottom = et(d.bottom, c.bottom), c.left = q(d.left, c.left), c;
|
|
925
925
|
}, Mt(e, l, i));
|
|
926
926
|
return {
|
|
927
|
-
width:
|
|
928
|
-
height:
|
|
929
|
-
x:
|
|
930
|
-
y:
|
|
927
|
+
width: f.right - f.left,
|
|
928
|
+
height: f.bottom - f.top,
|
|
929
|
+
x: f.left,
|
|
930
|
+
y: f.top
|
|
931
931
|
};
|
|
932
932
|
}
|
|
933
933
|
function Ye(t) {
|
|
@@ -946,17 +946,17 @@ function qe(t, e, n) {
|
|
|
946
946
|
scrollLeft: 0,
|
|
947
947
|
scrollTop: 0
|
|
948
948
|
};
|
|
949
|
-
const
|
|
950
|
-
function
|
|
951
|
-
|
|
949
|
+
const f = M(0);
|
|
950
|
+
function c() {
|
|
951
|
+
f.x = pt(i);
|
|
952
952
|
}
|
|
953
953
|
if (o || !o && !s)
|
|
954
954
|
if ((J(e) !== "body" || rt(i)) && (l = mt(e)), o) {
|
|
955
|
-
const
|
|
956
|
-
|
|
957
|
-
} else i &&
|
|
958
|
-
s && !o && i &&
|
|
959
|
-
const u = i && !o && !s ? Xt(i, l) : M(0), d = r.left + l.scrollLeft -
|
|
955
|
+
const a = G(e, !0, s, e);
|
|
956
|
+
f.x = a.x + e.clientLeft, f.y = a.y + e.clientTop;
|
|
957
|
+
} else i && c();
|
|
958
|
+
s && !o && i && c();
|
|
959
|
+
const u = i && !o && !s ? Xt(i, l) : M(0), d = r.left + l.scrollLeft - f.x - u.x, m = r.top + l.scrollTop - f.y - u.y;
|
|
960
960
|
return {
|
|
961
961
|
x: d,
|
|
962
962
|
y: m,
|
|
@@ -976,7 +976,7 @@ function Bt(t, e) {
|
|
|
976
976
|
return k(t) === n && (n = n.ownerDocument.body), n;
|
|
977
977
|
}
|
|
978
978
|
function qt(t, e) {
|
|
979
|
-
const n =
|
|
979
|
+
const n = _(t);
|
|
980
980
|
if (dt(t))
|
|
981
981
|
return n;
|
|
982
982
|
if (!$(t)) {
|
|
@@ -1030,40 +1030,40 @@ function Qe(t, e) {
|
|
|
1030
1030
|
var l;
|
|
1031
1031
|
clearTimeout(o), (l = n) == null || l.disconnect(), n = null;
|
|
1032
1032
|
}
|
|
1033
|
-
function r(l,
|
|
1034
|
-
l === void 0 && (l = !1),
|
|
1035
|
-
const
|
|
1033
|
+
function r(l, f) {
|
|
1034
|
+
l === void 0 && (l = !1), f === void 0 && (f = 1), s();
|
|
1035
|
+
const c = t.getBoundingClientRect(), {
|
|
1036
1036
|
left: u,
|
|
1037
1037
|
top: d,
|
|
1038
1038
|
width: m,
|
|
1039
|
-
height:
|
|
1040
|
-
} =
|
|
1041
|
-
if (l || e(), !m || !
|
|
1039
|
+
height: a
|
|
1040
|
+
} = c;
|
|
1041
|
+
if (l || e(), !m || !a)
|
|
1042
1042
|
return;
|
|
1043
|
-
const p = st(d), w = st(i.clientWidth - (u + m)), g = st(i.clientHeight - (d +
|
|
1043
|
+
const p = st(d), w = st(i.clientWidth - (u + m)), g = st(i.clientHeight - (d + a)), h = st(u), x = {
|
|
1044
1044
|
rootMargin: -p + "px " + -w + "px " + -g + "px " + -h + "px",
|
|
1045
|
-
threshold: q(0, et(1,
|
|
1045
|
+
threshold: q(0, et(1, f)) || 1
|
|
1046
1046
|
};
|
|
1047
1047
|
let b = !0;
|
|
1048
|
-
function O
|
|
1049
|
-
const
|
|
1050
|
-
if (
|
|
1048
|
+
function A(O) {
|
|
1049
|
+
const y = O[0].intersectionRatio;
|
|
1050
|
+
if (y !== f) {
|
|
1051
1051
|
if (!b)
|
|
1052
1052
|
return r();
|
|
1053
|
-
|
|
1053
|
+
y ? r(!1, y) : o = setTimeout(() => {
|
|
1054
1054
|
r(!1, 1e-7);
|
|
1055
1055
|
}, 1e3);
|
|
1056
1056
|
}
|
|
1057
|
-
|
|
1057
|
+
y === 1 && !Gt(c, t.getBoundingClientRect()) && r(), b = !1;
|
|
1058
1058
|
}
|
|
1059
1059
|
try {
|
|
1060
|
-
n = new IntersectionObserver(
|
|
1061
|
-
...
|
|
1060
|
+
n = new IntersectionObserver(A, {
|
|
1061
|
+
...x,
|
|
1062
1062
|
// Handle <iframe>s
|
|
1063
1063
|
root: i.ownerDocument
|
|
1064
1064
|
});
|
|
1065
1065
|
} catch {
|
|
1066
|
-
n = new IntersectionObserver(
|
|
1066
|
+
n = new IntersectionObserver(A, x);
|
|
1067
1067
|
}
|
|
1068
1068
|
n.observe(t);
|
|
1069
1069
|
}
|
|
@@ -1076,24 +1076,24 @@ function $t(t, e, n, o) {
|
|
|
1076
1076
|
ancestorResize: s = !0,
|
|
1077
1077
|
elementResize: r = typeof ResizeObserver == "function",
|
|
1078
1078
|
layoutShift: l = typeof IntersectionObserver == "function",
|
|
1079
|
-
animationFrame:
|
|
1080
|
-
} = o,
|
|
1079
|
+
animationFrame: f = !1
|
|
1080
|
+
} = o, c = Tt(t), u = i || s ? [...c ? it(c) : [], ...it(e)] : [];
|
|
1081
1081
|
u.forEach((h) => {
|
|
1082
1082
|
i && h.addEventListener("scroll", n, {
|
|
1083
1083
|
passive: !0
|
|
1084
1084
|
}), s && h.addEventListener("resize", n);
|
|
1085
1085
|
});
|
|
1086
|
-
const d =
|
|
1087
|
-
let m = -1,
|
|
1088
|
-
r && (
|
|
1086
|
+
const d = c && l ? Qe(c, n) : null;
|
|
1087
|
+
let m = -1, a = null;
|
|
1088
|
+
r && (a = new ResizeObserver((h) => {
|
|
1089
1089
|
let [v] = h;
|
|
1090
|
-
v && v.target ===
|
|
1091
|
-
var
|
|
1092
|
-
(
|
|
1090
|
+
v && v.target === c && a && (a.unobserve(e), cancelAnimationFrame(m), m = requestAnimationFrame(() => {
|
|
1091
|
+
var x;
|
|
1092
|
+
(x = a) == null || x.observe(e);
|
|
1093
1093
|
})), n();
|
|
1094
|
-
}),
|
|
1095
|
-
let p, w =
|
|
1096
|
-
|
|
1094
|
+
}), c && !f && a.observe(c), a.observe(e));
|
|
1095
|
+
let p, w = f ? G(t) : null;
|
|
1096
|
+
f && g();
|
|
1097
1097
|
function g() {
|
|
1098
1098
|
const h = G(t);
|
|
1099
1099
|
w && !Gt(w, h) && n(), w = h, p = requestAnimationFrame(g);
|
|
@@ -1102,10 +1102,10 @@ function $t(t, e, n, o) {
|
|
|
1102
1102
|
var h;
|
|
1103
1103
|
u.forEach((v) => {
|
|
1104
1104
|
i && v.removeEventListener("scroll", n), s && v.removeEventListener("resize", n);
|
|
1105
|
-
}), d
|
|
1105
|
+
}), d?.(), (h = a) == null || h.disconnect(), a = null, f && cancelAnimationFrame(p);
|
|
1106
1106
|
};
|
|
1107
1107
|
}
|
|
1108
|
-
const Ze = Se, tn = be, en =
|
|
1108
|
+
const Ze = Se, tn = be, en = Ee, nn = Oe, bn = Ae, on = ye, rn = (t, e, n) => {
|
|
1109
1109
|
const o = /* @__PURE__ */ new Map(), i = {
|
|
1110
1110
|
platform: Je,
|
|
1111
1111
|
...n
|
|
@@ -1151,79 +1151,79 @@ function kt(t, e) {
|
|
|
1151
1151
|
function cn(t, e, n) {
|
|
1152
1152
|
n === void 0 && (n = {});
|
|
1153
1153
|
const o = n.whileElementsMounted, i = S(() => {
|
|
1154
|
-
var
|
|
1155
|
-
return (
|
|
1154
|
+
var y;
|
|
1155
|
+
return (y = Z(n.open)) != null ? y : !0;
|
|
1156
1156
|
}), s = S(() => Z(n.middleware)), r = S(() => {
|
|
1157
|
-
var
|
|
1158
|
-
return (
|
|
1157
|
+
var y;
|
|
1158
|
+
return (y = Z(n.placement)) != null ? y : "bottom";
|
|
1159
1159
|
}), l = S(() => {
|
|
1160
|
-
var
|
|
1161
|
-
return (
|
|
1162
|
-
}),
|
|
1163
|
-
var
|
|
1164
|
-
return (
|
|
1165
|
-
}),
|
|
1166
|
-
const
|
|
1167
|
-
position:
|
|
1160
|
+
var y;
|
|
1161
|
+
return (y = Z(n.strategy)) != null ? y : "absolute";
|
|
1162
|
+
}), f = S(() => {
|
|
1163
|
+
var y;
|
|
1164
|
+
return (y = Z(n.transform)) != null ? y : !0;
|
|
1165
|
+
}), c = S(() => vt(t.value)), u = S(() => vt(e.value)), d = j(0), m = j(0), a = j(l.value), p = j(r.value), w = ee({}), g = j(!1), h = S(() => {
|
|
1166
|
+
const y = {
|
|
1167
|
+
position: a.value,
|
|
1168
1168
|
left: "0",
|
|
1169
1169
|
top: "0"
|
|
1170
1170
|
};
|
|
1171
1171
|
if (!u.value)
|
|
1172
|
-
return
|
|
1173
|
-
const H = kt(u.value, d.value),
|
|
1174
|
-
return
|
|
1175
|
-
...
|
|
1176
|
-
transform: "translate(" + H + "px, " +
|
|
1172
|
+
return y;
|
|
1173
|
+
const H = kt(u.value, d.value), E = kt(u.value, m.value);
|
|
1174
|
+
return f.value ? {
|
|
1175
|
+
...y,
|
|
1176
|
+
transform: "translate(" + H + "px, " + E + "px)",
|
|
1177
1177
|
...Kt(u.value) >= 1.5 && {
|
|
1178
1178
|
willChange: "transform"
|
|
1179
1179
|
}
|
|
1180
1180
|
} : {
|
|
1181
|
-
position:
|
|
1181
|
+
position: a.value,
|
|
1182
1182
|
left: H + "px",
|
|
1183
|
-
top:
|
|
1183
|
+
top: E + "px"
|
|
1184
1184
|
};
|
|
1185
1185
|
});
|
|
1186
1186
|
let v;
|
|
1187
|
-
function
|
|
1188
|
-
|
|
1187
|
+
function x() {
|
|
1188
|
+
c.value == null || u.value == null || rn(c.value, u.value, {
|
|
1189
1189
|
middleware: s.value,
|
|
1190
1190
|
placement: r.value,
|
|
1191
1191
|
strategy: l.value
|
|
1192
|
-
}).then((
|
|
1193
|
-
d.value =
|
|
1192
|
+
}).then((y) => {
|
|
1193
|
+
d.value = y.x, m.value = y.y, a.value = y.strategy, p.value = y.placement, w.value = y.middlewareData, g.value = !0;
|
|
1194
1194
|
});
|
|
1195
1195
|
}
|
|
1196
1196
|
function b() {
|
|
1197
1197
|
typeof v == "function" && (v(), v = void 0);
|
|
1198
1198
|
}
|
|
1199
|
-
function
|
|
1199
|
+
function A() {
|
|
1200
1200
|
if (b(), o === void 0) {
|
|
1201
|
-
|
|
1201
|
+
x();
|
|
1202
1202
|
return;
|
|
1203
1203
|
}
|
|
1204
|
-
if (
|
|
1205
|
-
v = o(
|
|
1204
|
+
if (c.value != null && u.value != null) {
|
|
1205
|
+
v = o(c.value, u.value, x);
|
|
1206
1206
|
return;
|
|
1207
1207
|
}
|
|
1208
1208
|
}
|
|
1209
|
-
function
|
|
1209
|
+
function O() {
|
|
1210
1210
|
i.value || (g.value = !1);
|
|
1211
1211
|
}
|
|
1212
|
-
return ot([s, r, l],
|
|
1212
|
+
return ot([s, r, l], x, {
|
|
1213
1213
|
flush: "sync"
|
|
1214
|
-
}), ot([
|
|
1214
|
+
}), ot([c, u], A, {
|
|
1215
1215
|
flush: "sync"
|
|
1216
|
-
}), ot(i,
|
|
1216
|
+
}), ot(i, O, {
|
|
1217
1217
|
flush: "sync"
|
|
1218
1218
|
}), ne() && oe(b), {
|
|
1219
1219
|
x: Q(d),
|
|
1220
1220
|
y: Q(m),
|
|
1221
|
-
strategy: Q(
|
|
1221
|
+
strategy: Q(a),
|
|
1222
1222
|
placement: Q(p),
|
|
1223
1223
|
middlewareData: Q(w),
|
|
1224
1224
|
isPositioned: Q(g),
|
|
1225
1225
|
floatingStyles: h,
|
|
1226
|
-
update:
|
|
1226
|
+
update: x
|
|
1227
1227
|
};
|
|
1228
1228
|
}
|
|
1229
1229
|
var Jt = /* @__PURE__ */ ((t) => (t.TOP = "top", t.RIGHT = "right", t.BOTTOM = "bottom", t.LEFT = "left", t))(Jt || {}), Qt = /* @__PURE__ */ ((t) => (t.AUTO = "auto", t.AUTO_START = "auto-start", t.AUTO_END = "auto-end", t.TOP_START = "top-start", t.TOP_END = "top-end", t.RIGHT_START = "right-start", t.RIGHT_END = "right-end", t.BOTTOM_START = "bottom-start", t.BOTTOM_END = "bottom-end", t.LEFT_START = "left-start", t.LEFT_END = "left-end", t))(Qt || {}), Zt = /* @__PURE__ */ ((t) => (t.TOOLTIP = "tooltip", t.POPOVER = "dialog", t))(Zt || {});
|
|
@@ -1299,7 +1299,7 @@ const Ht = { ...Jt, ...Qt }, an = (t, e) => t ? e[1] + 7 : e[1], fn = (t) => {
|
|
|
1299
1299
|
offset: {
|
|
1300
1300
|
type: Array,
|
|
1301
1301
|
default: () => [0, 0],
|
|
1302
|
-
validator: (t) =>
|
|
1302
|
+
validator: (t) => t?.length === 2
|
|
1303
1303
|
},
|
|
1304
1304
|
/**
|
|
1305
1305
|
* Position relative to the target element
|
|
@@ -1328,12 +1328,11 @@ const Ht = { ...Jt, ...Qt }, an = (t, e) => t ? e[1] + 7 : e[1], fn = (t) => {
|
|
|
1328
1328
|
},
|
|
1329
1329
|
emits: ["placement"],
|
|
1330
1330
|
setup(t, { emit: e }) {
|
|
1331
|
-
var y;
|
|
1332
1331
|
const n = t, { position: o } = re(n), i = j(), s = j(null), r = j(n.position), l = S(
|
|
1333
1332
|
() => n.targetElement.$el ? n.targetElement.$el : n.targetElement
|
|
1334
|
-
),
|
|
1333
|
+
), f = S(
|
|
1335
1334
|
() => i.value.$el ? i.value.$el : i.value
|
|
1336
|
-
),
|
|
1335
|
+
), c = S(() => n?.position !== "auto" && n?.fallbackPosition !== "auto"), u = S(() => {
|
|
1337
1336
|
switch (n.position) {
|
|
1338
1337
|
case "auto-start":
|
|
1339
1338
|
return { alignment: "start", crossAxis: !0 };
|
|
@@ -1342,17 +1341,17 @@ const Ht = { ...Jt, ...Qt }, an = (t, e) => t ? e[1] + 7 : e[1], fn = (t) => {
|
|
|
1342
1341
|
default:
|
|
1343
1342
|
return;
|
|
1344
1343
|
}
|
|
1345
|
-
}), d = S(() => n.fixedPositioning ? "fixed" : "absolute"), { floatingStyles: m, middlewareData:
|
|
1344
|
+
}), d = S(() => n.fixedPositioning ? "fixed" : "absolute"), { floatingStyles: m, middlewareData: a, placement: p, update: w } = cn(l, i, {
|
|
1346
1345
|
placement: o,
|
|
1347
1346
|
middleware: [
|
|
1348
1347
|
// Adds flip modifier if fallbackPosition is not set to auto
|
|
1349
|
-
...
|
|
1348
|
+
...c.value ? [
|
|
1350
1349
|
nn({
|
|
1351
1350
|
fallbackPlacements: fn(n.fallbackPosition).fallbackPlacements
|
|
1352
1351
|
})
|
|
1353
1352
|
] : [],
|
|
1354
1353
|
// Adds autoposition middlelare if position is set to any auto variants
|
|
1355
|
-
...
|
|
1354
|
+
...c.value ? [] : [tn(u.value)],
|
|
1356
1355
|
// Add shifting middle in case popper is still not fully visible in view port
|
|
1357
1356
|
en(),
|
|
1358
1357
|
// Adds offset middlelare if offset property is set
|
|
@@ -1362,7 +1361,7 @@ const Ht = { ...Jt, ...Qt }, an = (t, e) => t ? e[1] + 7 : e[1], fn = (t) => {
|
|
|
1362
1361
|
// Adds same width middleware to keep popper width same as referenced element's width
|
|
1363
1362
|
...n.matchWidth ? [un] : [],
|
|
1364
1363
|
// If there is additional custom middleware to add via the property then add it
|
|
1365
|
-
...
|
|
1364
|
+
...n.middleware?.length > 0 ? n.middleware : []
|
|
1366
1365
|
],
|
|
1367
1366
|
strategy: d,
|
|
1368
1367
|
// If we're mounting the element with a `v-if` then we need to auto update it while it's mounted
|
|
@@ -1372,7 +1371,7 @@ const Ht = { ...Jt, ...Qt }, an = (t, e) => t ? e[1] + 7 : e[1], fn = (t) => {
|
|
|
1372
1371
|
ot(
|
|
1373
1372
|
() => n.isHidden,
|
|
1374
1373
|
() => {
|
|
1375
|
-
n.isHidden !== null && !n.isHidden ? g = $t(l
|
|
1374
|
+
n.isHidden !== null && !n.isHidden ? g = $t(l?.value, f?.value, w) : n.isHidden !== null && n.isHidden && typeof g == "function" && g();
|
|
1376
1375
|
}
|
|
1377
1376
|
), ot(
|
|
1378
1377
|
() => p.value,
|
|
@@ -1380,23 +1379,17 @@ const Ht = { ...Jt, ...Qt }, an = (t, e) => t ? e[1] + 7 : e[1], fn = (t) => {
|
|
|
1380
1379
|
r.value !== p.value && (r.value = p.value, e("placement", r.value));
|
|
1381
1380
|
}
|
|
1382
1381
|
);
|
|
1383
|
-
const h = S(() => {
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
style: h.value,
|
|
1395
|
-
// Applies a data-hide attribute to arrow element depending on center offset.
|
|
1396
|
-
...((b = f.value.arrow) == null ? void 0 : b.centerOffset) !== 0 ? { "data-hide": "" } : {}
|
|
1397
|
-
};
|
|
1398
|
-
});
|
|
1399
|
-
return { __sfc: !0, props: n, emit: e, position: o, popperContainerRef: i, floatingArrow: s, emittedPosition: r, targetElement: l, popperContainerElement: c, isFlipMiddleware: a, getAutoPlacementProps: u, strategy: d, floatingStyles: m, middlewareData: f, placement: p, update: w, cleanupAutoUpdate: g, arrowStyles: h, arrowAttributes: v, BentoFocusTrap: se };
|
|
1382
|
+
const h = S(() => ({
|
|
1383
|
+
position: "absolute",
|
|
1384
|
+
left: a.value.arrow?.x != null ? `${a.value.arrow.x}px` : "",
|
|
1385
|
+
top: a.value.arrow?.y != null ? `${a.value.arrow.y}px` : ""
|
|
1386
|
+
})), v = S(() => ({
|
|
1387
|
+
class: n.arrow.classes,
|
|
1388
|
+
style: h.value,
|
|
1389
|
+
// Applies a data-hide attribute to arrow element depending on center offset.
|
|
1390
|
+
...a.value.arrow?.centerOffset !== 0 ? { "data-hide": "" } : {}
|
|
1391
|
+
}));
|
|
1392
|
+
return { __sfc: !0, props: n, emit: e, position: o, popperContainerRef: i, floatingArrow: s, emittedPosition: r, targetElement: l, popperContainerElement: f, isFlipMiddleware: c, getAutoPlacementProps: u, strategy: d, floatingStyles: m, middlewareData: a, placement: p, update: w, cleanupAutoUpdate: g, arrowStyles: h, arrowAttributes: v, BentoFocusTrap: se };
|
|
1400
1393
|
}
|
|
1401
1394
|
});
|
|
1402
1395
|
var pn = function() {
|
|
@@ -1420,4 +1413,4 @@ export {
|
|
|
1420
1413
|
bn as h,
|
|
1421
1414
|
Ze as o
|
|
1422
1415
|
};
|
|
1423
|
-
//# sourceMappingURL=popper-container.
|
|
1416
|
+
//# sourceMappingURL=popper-container.D08eTt4B.js.map
|