@adyen/bento-vue2 2.0.0-rc.5 → 2.0.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/README.md +0 -38
- package/dist/@types/index.d.ts +148 -56
- 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-tag.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/calendar.css +1 -1
- package/dist/assets/card.css +1 -1
- package/dist/assets/checkbox-group.css +1 -1
- package/dist/assets/checkbox.css +1 -1
- package/dist/assets/code-snippet.css +1 -1
- package/dist/assets/data-grid-template.css +1 -1
- package/dist/assets/data-grid.css +1 -1
- package/dist/assets/date-picker.css +1 -1
- package/dist/assets/date-range-picker.css +1 -1
- package/dist/assets/dialog-page.css +1 -1
- package/dist/assets/drawer.css +1 -1
- package/dist/assets/dropdown.css +1 -1
- package/dist/assets/file-uploader.css +1 -1
- package/dist/assets/filter-bar.css +1 -1
- package/dist/assets/header-with-views.css +1 -1
- package/dist/assets/header.css +1 -1
- package/dist/assets/info-icon-with-popover.css +1 -0
- package/dist/assets/input-field-password.css +1 -1
- package/dist/assets/input-field.css +1 -1
- package/dist/assets/inspector.css +1 -1
- package/dist/assets/link.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/popper-container.css +1 -1
- package/dist/assets/progress-bar.css +1 -1
- package/dist/assets/promo-banner.css +1 -1
- package/dist/assets/radio-group.css +1 -1
- package/dist/assets/rich-text-editor.css +1 -1
- package/dist/assets/secondary-nav.css +1 -1
- package/dist/assets/segmented-control.css +1 -1
- package/dist/assets/selection-card-group.css +1 -1
- package/dist/assets/sidepanel.css +1 -1
- package/dist/assets/tab.css +1 -1
- package/dist/assets/table-of-contents.css +1 -1
- package/dist/assets/tag.css +1 -1
- package/dist/assets/textarea.css +1 -1
- package/dist/assets/timeline-item.css +1 -1
- package/dist/assets/title-details.css +1 -0
- package/dist/assets/toggle.css +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.V3zpgTzM.js → accordion-item.DOj7vqeL.js} +2 -2
- package/dist/chunks/accordion-item.DOj7vqeL.js.map +1 -0
- package/dist/chunks/{action-bar.Br6mamx3.js → action-bar.BsXW7BI2.js} +77 -67
- package/dist/chunks/action-bar.BsXW7BI2.js.map +1 -0
- package/dist/chunks/{ai-button.CeT3y12R.js → ai-button.BnFk5CzK.js} +2 -2
- package/dist/chunks/{ai-button.CeT3y12R.js.map → ai-button.BnFk5CzK.js.map} +1 -1
- package/dist/chunks/{ai-tag.DtngkeLj.js → ai-tag.D2Q0xhFK.js} +3 -3
- package/dist/chunks/ai-tag.D2Q0xhFK.js.map +1 -0
- package/dist/chunks/{alert.DrGpzkQI.js → alert.DJDHwVeR.js} +2 -2
- package/dist/chunks/{alert.DrGpzkQI.js.map → alert.DJDHwVeR.js.map} +1 -1
- package/dist/chunks/{anchor-scroller.DT7QZd5b.js → anchor-scroller.BbvghQxZ.js} +8 -8
- package/dist/chunks/anchor-scroller.BbvghQxZ.js.map +1 -0
- package/dist/chunks/{base-button.edpjvY15.js → base-button.DOhHyU7x.js} +2 -2
- package/dist/chunks/{base-button.edpjvY15.js.map → base-button.DOhHyU7x.js.map} +1 -1
- package/dist/chunks/{base-modal.DsqIEM0p.js → base-modal.CcmoTJdc.js} +90 -82
- package/dist/chunks/base-modal.CcmoTJdc.js.map +1 -0
- package/dist/chunks/{button-actions-with-menu.BBuKZYuH.js → button-actions-with-menu.BY394ars.js} +2 -2
- package/dist/chunks/{button-actions-with-menu.BBuKZYuH.js.map → button-actions-with-menu.BY394ars.js.map} +1 -1
- package/dist/chunks/{button-actions.CFOxzahr.js → button-actions.bkcLUE1G.js} +51 -50
- package/dist/chunks/button-actions.bkcLUE1G.js.map +1 -0
- package/dist/chunks/{button.CBqJGWy5.js → button.DII5Ifwa.js} +2 -2
- package/dist/chunks/{button.CBqJGWy5.js.map → button.DII5Ifwa.js.map} +1 -1
- package/dist/chunks/{calendar.Bi7oa397.js → calendar.CXdLEeN4.js} +8 -8
- package/dist/chunks/calendar.CXdLEeN4.js.map +1 -0
- package/dist/chunks/card.b9PEJ7hm.js +139 -0
- package/dist/chunks/card.b9PEJ7hm.js.map +1 -0
- package/dist/chunks/{checkbox-group.FlQJn1Zm.js → checkbox-group.UYN1ljai.js} +7 -7
- package/dist/chunks/checkbox-group.UYN1ljai.js.map +1 -0
- package/dist/chunks/{checkbox.D7kTrRAJ.js → checkbox.Co4HoHKF.js} +15 -15
- package/dist/chunks/checkbox.Co4HoHKF.js.map +1 -0
- package/dist/chunks/{chip.CCBRXSGa.js → chip.DRsJylWl.js} +2 -2
- package/dist/chunks/{chip.CCBRXSGa.js.map → chip.DRsJylWl.js.map} +1 -1
- package/dist/chunks/{code-snippet.DOtmgwGx.js → code-snippet.CnThWqVb.js} +73 -74
- package/dist/chunks/code-snippet.CnThWqVb.js.map +1 -0
- package/dist/chunks/constructNow.Dl44Mvpp.js +8 -0
- package/dist/chunks/{constructNow.DyOJDyZZ.js.map → constructNow.Dl44Mvpp.js.map} +1 -1
- package/dist/chunks/{controls-group.C1YlswQH.js → controls-group.fdGc6epa.js} +2 -2
- package/dist/chunks/{controls-group.C1YlswQH.js.map → controls-group.fdGc6epa.js.map} +1 -1
- package/dist/chunks/{copy.DIRgGox4.js → copy.CSk1rCRo.js} +4 -4
- package/dist/chunks/{copy.DIRgGox4.js.map → copy.CSk1rCRo.js.map} +1 -1
- package/dist/chunks/{cross-circle-fill-small.Doaiq7Wx.js → cross-circle-fill-small.CZN966bc.js} +2 -2
- package/dist/chunks/cross-circle-fill-small.CZN966bc.js.map +1 -0
- package/dist/chunks/{dashboard-section.DvYJk8aj.js → dashboard-section.CYEoNH9Q.js} +3 -3
- package/dist/chunks/{dashboard-section.DvYJk8aj.js.map → dashboard-section.CYEoNH9Q.js.map} +1 -1
- package/dist/chunks/{dashed-underline.D3YXHh-k.js → dashed-underline.CzKc-fJW.js} +3 -3
- package/dist/chunks/{dashed-underline.D3YXHh-k.js.map → dashed-underline.CzKc-fJW.js.map} +1 -1
- package/dist/chunks/{data-grid-template.ZZNd2LWk.js → data-grid-template.DCwzh2G7.js} +4 -4
- package/dist/chunks/{data-grid-template.ZZNd2LWk.js.map → data-grid-template.DCwzh2G7.js.map} +1 -1
- package/dist/chunks/{data-grid.4_JJV1_Z.js → data-grid.B1lI07ze.js} +24 -24
- package/dist/chunks/data-grid.B1lI07ze.js.map +1 -0
- package/dist/chunks/{date-picker.EuvvrhtF.js → date-picker.gDsw8bn1.js} +8 -8
- package/dist/chunks/date-picker.gDsw8bn1.js.map +1 -0
- package/dist/chunks/{date-range-picker.Bi5j0eED.js → date-range-picker.CqixIJxG.js} +278 -275
- package/dist/chunks/{date-range-picker.Bi5j0eED.js.map → date-range-picker.CqixIJxG.js.map} +1 -1
- package/dist/chunks/{date-time-picker.DinENKL0.js → date-time-picker.Bktntun4.js} +6 -6
- package/dist/chunks/{date-time-picker.DinENKL0.js.map → date-time-picker.Bktntun4.js.map} +1 -1
- package/dist/chunks/{de.ctR_lBqr.js → de.D953eFBg.js} +2 -2
- package/dist/chunks/{de.ctR_lBqr.js.map → de.D953eFBg.js.map} +1 -1
- package/dist/chunks/{dialog-page.DM6imlbn.js → dialog-page.Bct3zOQO.js} +44 -44
- package/dist/chunks/dialog-page.Bct3zOQO.js.map +1 -0
- package/dist/chunks/{differenceInMonths.yz4Dfe-b.js → differenceInMonths.CPDkGea3.js} +2 -2
- package/dist/chunks/{differenceInMonths.yz4Dfe-b.js.map → differenceInMonths.CPDkGea3.js.map} +1 -1
- package/dist/chunks/{draggable-handle.UmaDf-G4.js → draggable-handle.DgVdGC1V.js} +2 -2
- package/dist/chunks/{draggable-handle.UmaDf-G4.js.map → draggable-handle.DgVdGC1V.js.map} +1 -1
- package/dist/chunks/{draggable.3Uuc40QN.js → draggable.DYKdXdbj.js} +2 -2
- package/dist/chunks/{draggable.3Uuc40QN.js.map → draggable.DYKdXdbj.js.map} +1 -1
- package/dist/chunks/{dropdown-tag.3mltTUPq.js → dropdown-tag.Dk7SooVv.js} +3 -3
- package/dist/chunks/{dropdown-tag.3mltTUPq.js.map → dropdown-tag.Dk7SooVv.js.map} +1 -1
- package/dist/chunks/{dropdown.BdfmQmO_.js → dropdown.Bnq4kP7k.js} +12 -12
- package/dist/chunks/dropdown.Bnq4kP7k.js.map +1 -0
- package/dist/chunks/{empty-state.DWnWb0jM.js → empty-state.C2wjdE3y.js} +3 -3
- package/dist/chunks/{empty-state.DWnWb0jM.js.map → empty-state.C2wjdE3y.js.map} +1 -1
- package/dist/chunks/{en-GB.BsQNm5GT.js → en-GB.DRXS-7tU.js} +2 -2
- package/dist/chunks/{en-GB.BsQNm5GT.js.map → en-GB.DRXS-7tU.js.map} +1 -1
- package/dist/chunks/{en-US.BR6y7foR.js → en-US.C412g-7U.js} +3 -3
- package/dist/chunks/{en-US.BR6y7foR.js.map → en-US.C412g-7U.js.map} +1 -1
- package/dist/chunks/{es.DxqH-QhP.js → es.DieAs0jD.js} +2 -2
- package/dist/chunks/{es.DxqH-QhP.js.map → es.DieAs0jD.js.map} +1 -1
- package/dist/chunks/es6.yPcTMnSH.js.map +1 -1
- package/dist/chunks/{field-label.DsNcfZ6m.js → field-label.C7BCsofY.js} +2 -2
- package/dist/chunks/{field-label.DsNcfZ6m.js.map → field-label.C7BCsofY.js.map} +1 -1
- package/dist/chunks/{file-uploader.D1xDlbsu.js → file-uploader.DllKBmP8.js} +8 -8
- package/dist/chunks/file-uploader.DllKBmP8.js.map +1 -0
- package/dist/chunks/{filter-bar.DlSyWQQ0.js → filter-bar.DXpLhnxG.js} +1050 -974
- package/dist/chunks/filter-bar.DXpLhnxG.js.map +1 -0
- package/dist/chunks/{fixed-scroller.QHqymN36.js → fixed-scroller.YC4bZifw.js} +2 -2
- package/dist/chunks/{fixed-scroller.QHqymN36.js.map → fixed-scroller.YC4bZifw.js.map} +1 -1
- package/dist/chunks/{focus-trap.DK6-TX-N.js → focus-trap.fd6_d2EW.js} +3 -3
- package/dist/chunks/{focus-trap.DK6-TX-N.js.map → focus-trap.fd6_d2EW.js.map} +1 -1
- package/dist/chunks/{footer-actions.cJxmP0fK.js → footer-actions.C9STwwcv.js} +3 -3
- package/dist/chunks/{footer-actions.cJxmP0fK.js.map → footer-actions.C9STwwcv.js.map} +1 -1
- package/dist/chunks/{form-layout-title.CCsmZ9E8.js → form-layout-title.C0lwzPZz.js} +2 -2
- package/dist/chunks/{form-layout-title.CCsmZ9E8.js.map → form-layout-title.C0lwzPZz.js.map} +1 -1
- package/dist/chunks/{fr.DJtn8ron.js → fr.ChY2aIns.js} +2 -2
- package/dist/chunks/{fr.DJtn8ron.js.map → fr.ChY2aIns.js.map} +1 -1
- package/dist/chunks/generate-uid.DBWe4g6T.js.map +1 -1
- package/dist/chunks/{header-with-views.D8XDYW5N.js → header-with-views.HwbE278X.js} +671 -666
- package/dist/chunks/{header-with-views.D8XDYW5N.js.map → header-with-views.HwbE278X.js.map} +1 -1
- package/dist/chunks/{header.BLhATjz3.js → header.CmyqVXuG.js} +14 -13
- package/dist/chunks/header.CmyqVXuG.js.map +1 -0
- package/dist/chunks/info-icon-with-popover.BvYyGm4D.js +65 -0
- package/dist/chunks/info-icon-with-popover.BvYyGm4D.js.map +1 -0
- package/dist/chunks/{info-icon.-3-LB8Zq.js → info-icon.B-FAeceD.js} +3 -3
- package/dist/chunks/{info-icon.-3-LB8Zq.js.map → info-icon.B-FAeceD.js.map} +1 -1
- package/dist/chunks/{input-field-password.KgSx3KDe.js → input-field-password.9bWhLud0.js} +6 -6
- package/dist/chunks/input-field-password.9bWhLud0.js.map +1 -0
- package/dist/chunks/{input-field-phone-number.DE9XpiFH.js → input-field-phone-number.CCn1N9St.js} +2 -2
- package/dist/chunks/{input-field-phone-number.DE9XpiFH.js.map → input-field-phone-number.CCn1N9St.js.map} +1 -1
- package/dist/chunks/{input-field.Dz8yVBEl.js → input-field.D912rZS_.js} +4 -4
- package/dist/chunks/input-field.D912rZS_.js.map +1 -0
- package/dist/chunks/{input-time.Bc50jTCQ.js → input-time.CXMuvF9N.js} +3 -3
- package/dist/chunks/{input-time.Bc50jTCQ.js.map → input-time.CXMuvF9N.js.map} +1 -1
- package/dist/chunks/{inspector-page.BwPtRsaZ.js → inspector-page.BRC_7uro.js} +3 -3
- package/dist/chunks/{inspector-page.BwPtRsaZ.js.map → inspector-page.BRC_7uro.js.map} +1 -1
- package/dist/chunks/inspector.IOtNex1r.js +142 -0
- package/dist/chunks/inspector.IOtNex1r.js.map +1 -0
- package/dist/chunks/isSameWeek.CcrBd5ov.js +14 -0
- package/dist/chunks/{isSameWeek.CieN9XgL.js.map → isSameWeek.CcrBd5ov.js.map} +1 -1
- package/dist/chunks/{it.keS7oN5l.js → it.9ITe-tO1.js} +3 -3
- package/dist/chunks/{it.keS7oN5l.js.map → it.9ITe-tO1.js.map} +1 -1
- package/dist/chunks/{ja.cLwacUE6.js → ja.D1PTbbq5.js} +2 -2
- package/dist/chunks/{ja.cLwacUE6.js.map → ja.D1PTbbq5.js.map} +1 -1
- package/dist/chunks/{link.BzIDMKgE.js → link.Cls8XShm.js} +4 -4
- package/dist/chunks/link.Cls8XShm.js.map +1 -0
- package/dist/chunks/{list-item.CKKEar92.js → list-item.HjabBEb8.js} +3 -3
- package/dist/chunks/{list-item.CKKEar92.js.map → list-item.HjabBEb8.js.map} +1 -1
- package/dist/chunks/{listbox-option-tag.CQ7jWrle.js → listbox-option-tag.DhNxvqRO.js} +2 -2
- package/dist/chunks/{listbox-option-tag.CQ7jWrle.js.map → listbox-option-tag.DhNxvqRO.js.map} +1 -1
- package/dist/chunks/{modal-fullscreen.BMGoNT7r.js → modal-fullscreen.Bi1bQs4Z.js} +9 -9
- package/dist/chunks/modal-fullscreen.Bi1bQs4Z.js.map +1 -0
- package/dist/chunks/{modal.BNqEbVvC.js → modal.B3-pmL5s.js} +5 -5
- package/dist/chunks/{modal.BNqEbVvC.js.map → modal.B3-pmL5s.js.map} +1 -1
- package/dist/chunks/{navigation-menu-group.uRQvdRyU.js → navigation-menu-group.B-AV49Bn.js} +7 -7
- package/dist/chunks/navigation-menu-group.B-AV49Bn.js.map +1 -0
- package/dist/chunks/{pagination.QuT_65w4.js → pagination.cI_pc6oE.js} +5 -5
- package/dist/chunks/pagination.cI_pc6oE.js.map +1 -0
- package/dist/chunks/popover.types.DvIwSAAp.js +6 -0
- package/dist/chunks/{popover.types.hyPD5Kv1.js.map → popover.types.DvIwSAAp.js.map} +1 -1
- package/dist/chunks/{popper-container.scV0X0nk.js → popper-container.Cj3AWXSd.js} +355 -338
- package/dist/chunks/{popper-container.scV0X0nk.js.map → popper-container.Cj3AWXSd.js.map} +1 -1
- package/dist/chunks/{progress-bar.C2EFmk8E.js → progress-bar.RlF3a0Gb.js} +3 -3
- package/dist/chunks/progress-bar.RlF3a0Gb.js.map +1 -0
- package/dist/chunks/{promo-banner.BzTq9SMT.js → promo-banner.B5szTysj.js} +7 -7
- package/dist/chunks/{promo-banner.BzTq9SMT.js.map → promo-banner.B5szTysj.js.map} +1 -1
- package/dist/chunks/{pt-BR.ChPOra5s.js → pt-BR.DmEVD7V-.js} +2 -2
- package/dist/chunks/{pt-BR.ChPOra5s.js.map → pt-BR.DmEVD7V-.js.map} +1 -1
- package/dist/chunks/{radio-group.77fvFrmz.js → radio-group.CvsQDlHi.js} +5 -5
- package/dist/chunks/radio-group.CvsQDlHi.js.map +1 -0
- package/dist/chunks/{rich-text-editor.DL6h2H5r.js → rich-text-editor.DNmVJilP.js} +7 -7
- package/dist/chunks/{rich-text-editor.DL6h2H5r.js.map → rich-text-editor.DNmVJilP.js.map} +1 -1
- package/dist/chunks/{search-bar.CiEKUPNX.js → search-bar.--4KVNkf.js} +3 -3
- package/dist/chunks/{search-bar.CiEKUPNX.js.map → search-bar.--4KVNkf.js.map} +1 -1
- package/dist/chunks/{secondary-nav.ekia7NO0.js → secondary-nav.CXtDQAay.js} +50 -50
- package/dist/chunks/secondary-nav.CXtDQAay.js.map +1 -0
- package/dist/chunks/{segmented-control.qykQS10o.js → segmented-control.nYpRQTGc.js} +3 -3
- package/dist/chunks/segmented-control.nYpRQTGc.js.map +1 -0
- package/dist/chunks/{selection-card-group.BEjddn7D.js → selection-card-group.DjFWMqVZ.js} +22 -22
- package/dist/chunks/selection-card-group.DjFWMqVZ.js.map +1 -0
- package/dist/chunks/{set-time-in-date.BVfkl8K8.js → set-time-in-date.B3K4C7CB.js} +2 -2
- package/dist/chunks/{set-time-in-date.BVfkl8K8.js.map → set-time-in-date.B3K4C7CB.js.map} +1 -1
- package/dist/chunks/{sidepanel.DeX_rFk7.js → sidepanel.CntIcmx-.js} +7 -7
- package/dist/chunks/sidepanel.CntIcmx-.js.map +1 -0
- package/dist/chunks/{startOfWeek.muMEhS7U.js → startOfWeek.CzdYFzXX.js} +2 -2
- package/dist/chunks/{startOfWeek.muMEhS7U.js.map → startOfWeek.CzdYFzXX.js.map} +1 -1
- package/dist/chunks/{step.DWC-MMij.js → step.BCa9IOWB.js} +2 -2
- package/dist/chunks/{step.DWC-MMij.js.map → step.BCa9IOWB.js.map} +1 -1
- package/dist/chunks/{structured-list-item.Bfn0A2G8.js → structured-list-item.Bhe0CH1M.js} +5 -5
- package/dist/chunks/{structured-list-item.Bfn0A2G8.js.map → structured-list-item.Bhe0CH1M.js.map} +1 -1
- package/dist/chunks/{summary-grid.types.B4WEQPEz.js → summary-grid.types.C70ED6WD.js} +5 -5
- package/dist/chunks/{summary-grid.types.B4WEQPEz.js.map → summary-grid.types.C70ED6WD.js.map} +1 -1
- package/dist/chunks/{tab.DCLrEYwn.js → tab.BK1sIJAJ.js} +45 -45
- package/dist/chunks/tab.BK1sIJAJ.js.map +1 -0
- package/dist/chunks/{table-of-contents.f_6G1qFS.js → table-of-contents.BTy95Rrs.js} +2 -2
- package/dist/chunks/table-of-contents.BTy95Rrs.js.map +1 -0
- package/dist/chunks/tag.Dz1FQSZb.js +56 -0
- package/dist/chunks/tag.Dz1FQSZb.js.map +1 -0
- package/dist/chunks/{textarea.OTgZOHYu.js → textarea.CcV9U3I7.js} +5 -5
- package/dist/chunks/textarea.CcV9U3I7.js.map +1 -0
- package/dist/chunks/{timeline-item.Be0xWRey.js → timeline-item.BG2by0xf.js} +10 -10
- package/dist/chunks/{timeline-item.Be0xWRey.js.map → timeline-item.BG2by0xf.js.map} +1 -1
- package/dist/chunks/title-details.ChwPP7C5.js +119 -0
- package/dist/chunks/title-details.ChwPP7C5.js.map +1 -0
- package/dist/chunks/{toast.DL_9zlHB.js → toast.CO6ByH3n.js} +2 -2
- package/dist/chunks/{toast.DL_9zlHB.js.map → toast.CO6ByH3n.js.map} +1 -1
- package/dist/chunks/{toggle.BkTeqKsx.js → toggle.Dgh7aw1D.js} +2 -2
- package/dist/chunks/toggle.Dgh7aw1D.js.map +1 -0
- package/dist/chunks/{tooltip.BwD3JuFl.js → tooltip.DFYc5NKM.js} +11 -11
- package/dist/chunks/tooltip.DFYc5NKM.js.map +1 -0
- package/dist/chunks/{tutorial.BrKSt9Sb.js → tutorial.K0aOQWIg.js} +4 -4
- package/dist/chunks/{tutorial.BrKSt9Sb.js.map → tutorial.K0aOQWIg.js.map} +1 -1
- package/dist/chunks/use-bento-toast-controller.A5xraVqa.js.map +1 -1
- package/dist/chunks/{use-date-input-formatter.Du8KZnNZ.js → use-date-input-formatter.MgbFwUqJ.js} +4 -4
- package/dist/chunks/{use-date-input-formatter.Du8KZnNZ.js.map → use-date-input-formatter.MgbFwUqJ.js.map} +1 -1
- package/dist/chunks/use-dynamic-date-fns-locale.Bpb2DeYR.js +39 -0
- package/dist/chunks/use-dynamic-date-fns-locale.Bpb2DeYR.js.map +1 -0
- package/dist/chunks/{zh-CN.ZG6obniO.js → zh-CN.C-da5IoS.js} +3 -3
- package/dist/chunks/{zh-CN.ZG6obniO.js.map → zh-CN.C-da5IoS.js.map} +1 -1
- package/dist/code-snippet.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/draggable.js +2 -2
- 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 +1 -1
- package/dist/header-with-views.js +1 -1
- package/dist/header.js +1 -1
- package/dist/index.js +67 -67
- 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 +25 -24
- package/dist/internal.js.map +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 +3 -3
- package/dist/modal.js +2 -2
- package/dist/navigation-menu.js +1 -1
- package/dist/pagination.js +1 -1
- package/dist/popover.js +2 -2
- package/dist/popper-container.js +1 -1
- package/dist/progress-bar.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/stepper.js +1 -1
- package/dist/structured-list.js +1 -1
- package/dist/styles/bento-dark.css +3 -3
- package/dist/styles/bento-light.css +4 -4
- package/dist/styles/bento.css +4 -4
- package/dist/styles/legacy.css +4 -4
- package/dist/styles/styleguide.css +4 -4
- package/dist/styles/utility.css +4 -4
- 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/web-types.json +381 -48
- package/package.json +6 -6
- package/dist/assets/header-meta.css +0 -1
- package/dist/chunks/accordion-item.V3zpgTzM.js.map +0 -1
- package/dist/chunks/action-bar.Br6mamx3.js.map +0 -1
- package/dist/chunks/ai-tag.DtngkeLj.js.map +0 -1
- package/dist/chunks/anchor-scroller.DT7QZd5b.js.map +0 -1
- package/dist/chunks/base-modal.DsqIEM0p.js.map +0 -1
- package/dist/chunks/button-actions.CFOxzahr.js.map +0 -1
- package/dist/chunks/calendar.Bi7oa397.js.map +0 -1
- package/dist/chunks/card.B2rIoYTV.js +0 -124
- package/dist/chunks/card.B2rIoYTV.js.map +0 -1
- package/dist/chunks/checkbox-group.FlQJn1Zm.js.map +0 -1
- package/dist/chunks/checkbox.D7kTrRAJ.js.map +0 -1
- package/dist/chunks/code-snippet.DOtmgwGx.js.map +0 -1
- package/dist/chunks/constructNow.DyOJDyZZ.js +0 -8
- package/dist/chunks/cross-circle-fill-small.Doaiq7Wx.js.map +0 -1
- package/dist/chunks/data-grid.4_JJV1_Z.js.map +0 -1
- package/dist/chunks/date-picker.EuvvrhtF.js.map +0 -1
- package/dist/chunks/dialog-page.DM6imlbn.js.map +0 -1
- package/dist/chunks/dropdown.BdfmQmO_.js.map +0 -1
- package/dist/chunks/file-uploader.D1xDlbsu.js.map +0 -1
- package/dist/chunks/filter-bar.DlSyWQQ0.js.map +0 -1
- package/dist/chunks/header-meta.C5Ojlg8H.js +0 -206
- package/dist/chunks/header-meta.C5Ojlg8H.js.map +0 -1
- package/dist/chunks/header.BLhATjz3.js.map +0 -1
- package/dist/chunks/input-field-password.KgSx3KDe.js.map +0 -1
- package/dist/chunks/input-field.Dz8yVBEl.js.map +0 -1
- package/dist/chunks/inspector.CUJSQfsX.js +0 -128
- package/dist/chunks/inspector.CUJSQfsX.js.map +0 -1
- package/dist/chunks/isSameWeek.CieN9XgL.js +0 -14
- package/dist/chunks/link.BzIDMKgE.js.map +0 -1
- package/dist/chunks/modal-fullscreen.BMGoNT7r.js.map +0 -1
- package/dist/chunks/navigation-menu-group.uRQvdRyU.js.map +0 -1
- package/dist/chunks/pagination.QuT_65w4.js.map +0 -1
- package/dist/chunks/popover.types.hyPD5Kv1.js +0 -6
- package/dist/chunks/progress-bar.C2EFmk8E.js.map +0 -1
- package/dist/chunks/radio-group.77fvFrmz.js.map +0 -1
- package/dist/chunks/secondary-nav.ekia7NO0.js.map +0 -1
- package/dist/chunks/segmented-control.qykQS10o.js.map +0 -1
- package/dist/chunks/selection-card-group.BEjddn7D.js.map +0 -1
- package/dist/chunks/sidepanel.DeX_rFk7.js.map +0 -1
- package/dist/chunks/tab.DCLrEYwn.js.map +0 -1
- package/dist/chunks/table-of-contents.f_6G1qFS.js.map +0 -1
- package/dist/chunks/tag.Bm-widp9.js +0 -50
- package/dist/chunks/tag.Bm-widp9.js.map +0 -1
- package/dist/chunks/textarea.OTgZOHYu.js.map +0 -1
- package/dist/chunks/toggle.BkTeqKsx.js.map +0 -1
- package/dist/chunks/tooltip.BwD3JuFl.js.map +0 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { unref as tt, computed as R, ref as j, shallowRef as Ht, watch as q, getCurrentScope as ne, onScopeDispose as oe, shallowReadonly as Z, 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.fd6_d2EW.js";
|
|
4
4
|
import { n as le } from "./_plugin-vue2_normalizer.CeySl7Fu.js";
|
|
5
5
|
import "../assets/popper-container.css";
|
|
6
|
-
const
|
|
6
|
+
const Nt = ["top", "right", "bottom", "left"], Rt = ["start", "end"], St = /* @__PURE__ */ Nt.reduce((t, e) => t.concat(e, e + "-" + Rt[0], e + "-" + Rt[1]), []), nt = Math.min, G = Math.max, lt = Math.round, st = Math.floor, M = (t) => ({
|
|
7
7
|
x: t,
|
|
8
8
|
y: t
|
|
9
9
|
}), ce = {
|
|
@@ -16,9 +16,9 @@ const Wt = ["top", "right", "bottom", "left"], Rt = ["start", "end"], St = /* @_
|
|
|
16
16
|
end: "start"
|
|
17
17
|
};
|
|
18
18
|
function ht(t, e, n) {
|
|
19
|
-
return
|
|
19
|
+
return G(t, nt(e, n));
|
|
20
20
|
}
|
|
21
|
-
function
|
|
21
|
+
function J(t, e) {
|
|
22
22
|
return typeof t == "function" ? t(e) : t;
|
|
23
23
|
}
|
|
24
24
|
function V(t) {
|
|
@@ -27,7 +27,7 @@ function V(t) {
|
|
|
27
27
|
function B(t) {
|
|
28
28
|
return t.split("-")[1];
|
|
29
29
|
}
|
|
30
|
-
function
|
|
30
|
+
function Vt(t) {
|
|
31
31
|
return t === "x" ? "y" : "x";
|
|
32
32
|
}
|
|
33
33
|
function yt(t) {
|
|
@@ -38,9 +38,9 @@ function z(t) {
|
|
|
38
38
|
return fe.has(V(t)) ? "y" : "x";
|
|
39
39
|
}
|
|
40
40
|
function xt(t) {
|
|
41
|
-
return
|
|
41
|
+
return Vt(z(t));
|
|
42
42
|
}
|
|
43
|
-
function
|
|
43
|
+
function It(t, e, n) {
|
|
44
44
|
n === void 0 && (n = !1);
|
|
45
45
|
const o = B(t), i = xt(t), s = yt(i);
|
|
46
46
|
let r = i === "x" ? o === (n ? "end" : "start") ? "right" : "left" : o === "start" ? "bottom" : "top";
|
|
@@ -83,7 +83,7 @@ function he(t) {
|
|
|
83
83
|
...t
|
|
84
84
|
};
|
|
85
85
|
}
|
|
86
|
-
function
|
|
86
|
+
function jt(t) {
|
|
87
87
|
return typeof t != "number" ? he(t) : {
|
|
88
88
|
top: t,
|
|
89
89
|
right: t,
|
|
@@ -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), c = V(e), a = 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 f;
|
|
119
|
+
switch (c) {
|
|
120
120
|
case "top":
|
|
121
|
-
|
|
121
|
+
f = {
|
|
122
122
|
x: u,
|
|
123
123
|
y: o.y - i.height
|
|
124
124
|
};
|
|
125
125
|
break;
|
|
126
126
|
case "bottom":
|
|
127
|
-
|
|
127
|
+
f = {
|
|
128
128
|
x: u,
|
|
129
129
|
y: o.y + o.height
|
|
130
130
|
};
|
|
131
131
|
break;
|
|
132
132
|
case "right":
|
|
133
|
-
|
|
133
|
+
f = {
|
|
134
134
|
x: o.x + o.width,
|
|
135
135
|
y: d
|
|
136
136
|
};
|
|
137
137
|
break;
|
|
138
138
|
case "left":
|
|
139
|
-
|
|
139
|
+
f = {
|
|
140
140
|
x: o.x - i.width,
|
|
141
141
|
y: d
|
|
142
142
|
};
|
|
143
143
|
break;
|
|
144
144
|
default:
|
|
145
|
-
|
|
145
|
+
f = {
|
|
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
|
+
f[r] -= m * (n && a ? -1 : 1);
|
|
153
153
|
break;
|
|
154
154
|
case "end":
|
|
155
|
-
|
|
155
|
+
f[r] += m * (n && a ? -1 : 1);
|
|
156
156
|
break;
|
|
157
157
|
}
|
|
158
|
-
return
|
|
158
|
+
return f;
|
|
159
159
|
}
|
|
160
160
|
async function we(t, e) {
|
|
161
161
|
var n;
|
|
@@ -166,19 +166,19 @@ async function we(t, e) {
|
|
|
166
166
|
platform: s,
|
|
167
167
|
rects: r,
|
|
168
168
|
elements: l,
|
|
169
|
-
strategy:
|
|
169
|
+
strategy: c
|
|
170
170
|
} = t, {
|
|
171
|
-
boundary:
|
|
171
|
+
boundary: a = "clippingAncestors",
|
|
172
172
|
rootBoundary: u = "viewport",
|
|
173
173
|
elementContext: d = "floating",
|
|
174
174
|
altBoundary: m = !1,
|
|
175
|
-
padding:
|
|
176
|
-
} =
|
|
177
|
-
element: (n = await (s.isElement == null ? void 0 : s.isElement(
|
|
178
|
-
boundary:
|
|
175
|
+
padding: f = 0
|
|
176
|
+
} = J(e, t), p = jt(f), v = l[m ? d === "floating" ? "reference" : "floating" : d], g = ft(await s.getClippingRect({
|
|
177
|
+
element: (n = await (s.isElement == null ? void 0 : s.isElement(v))) == null || n ? v : v.contextElement || await (s.getDocumentElement == null ? void 0 : s.getDocumentElement(l.floating)),
|
|
178
|
+
boundary: a,
|
|
179
179
|
rootBoundary: u,
|
|
180
|
-
strategy:
|
|
181
|
-
})),
|
|
180
|
+
strategy: c
|
|
181
|
+
})), w = d === "floating" ? {
|
|
182
182
|
x: o,
|
|
183
183
|
y: i,
|
|
184
184
|
width: r.floating.width,
|
|
@@ -191,15 +191,15 @@ async function we(t, e) {
|
|
|
191
191
|
y: 1
|
|
192
192
|
}, A = ft(s.convertOffsetParentRelativeRectToViewportRelativeRect ? await s.convertOffsetParentRelativeRectToViewportRelativeRect({
|
|
193
193
|
elements: l,
|
|
194
|
-
rect:
|
|
194
|
+
rect: w,
|
|
195
195
|
offsetParent: x,
|
|
196
|
-
strategy:
|
|
197
|
-
}) :
|
|
196
|
+
strategy: c
|
|
197
|
+
}) : w);
|
|
198
198
|
return {
|
|
199
|
-
top: (
|
|
200
|
-
bottom: (A.bottom -
|
|
201
|
-
left: (
|
|
202
|
-
right: (A.right -
|
|
199
|
+
top: (g.top - A.top + p.top) / b.y,
|
|
200
|
+
bottom: (A.bottom - g.bottom + p.bottom) / b.y,
|
|
201
|
+
left: (g.left - A.left + p.left) / b.x,
|
|
202
|
+
right: (A.right - g.right + p.right) / b.x
|
|
203
203
|
};
|
|
204
204
|
}
|
|
205
205
|
const ve = async (t, e, n) => {
|
|
@@ -208,63 +208,63 @@ 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), c = await (r.isRTL == null ? void 0 : r.isRTL(e));
|
|
212
|
+
let a = 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(
|
|
220
|
-
for (let
|
|
221
|
-
var
|
|
219
|
+
} = Ct(a, o, c), m = o, f = {}, p = 0;
|
|
220
|
+
for (let v = 0; v < l.length; v++) {
|
|
221
|
+
var h;
|
|
222
222
|
const {
|
|
223
|
-
name:
|
|
224
|
-
fn:
|
|
225
|
-
} = l[
|
|
223
|
+
name: g,
|
|
224
|
+
fn: w
|
|
225
|
+
} = l[v], {
|
|
226
226
|
x,
|
|
227
227
|
y: b,
|
|
228
228
|
data: A,
|
|
229
229
|
reset: O
|
|
230
|
-
} = await
|
|
230
|
+
} = await w({
|
|
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: f,
|
|
237
|
+
rects: a,
|
|
238
238
|
platform: {
|
|
239
239
|
...r,
|
|
240
|
-
detectOverflow: (
|
|
240
|
+
detectOverflow: (h = r.detectOverflow) != null ? h : we
|
|
241
241
|
},
|
|
242
242
|
elements: {
|
|
243
243
|
reference: t,
|
|
244
244
|
floating: e
|
|
245
245
|
}
|
|
246
246
|
});
|
|
247
|
-
u = x ?? u, d = b ?? d,
|
|
248
|
-
...
|
|
249
|
-
[
|
|
250
|
-
...
|
|
247
|
+
u = x ?? u, d = b ?? d, f = {
|
|
248
|
+
...f,
|
|
249
|
+
[g]: {
|
|
250
|
+
...f[g],
|
|
251
251
|
...A
|
|
252
252
|
}
|
|
253
|
-
}, O && p <= 50 && (p++, typeof O == "object" && (O.placement && (m = O.placement), O.rects && (
|
|
253
|
+
}, O && p <= 50 && (p++, typeof O == "object" && (O.placement && (m = O.placement), O.rects && (a = 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(a, m, c)), v = -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: f
|
|
268
268
|
};
|
|
269
269
|
}, ye = (t) => ({
|
|
270
270
|
name: "arrow",
|
|
@@ -277,25 +277,25 @@ const ve = async (t, e, n) => {
|
|
|
277
277
|
rects: s,
|
|
278
278
|
platform: r,
|
|
279
279
|
elements: l,
|
|
280
|
-
middlewareData:
|
|
280
|
+
middlewareData: c
|
|
281
281
|
} = e, {
|
|
282
|
-
element:
|
|
282
|
+
element: a,
|
|
283
283
|
padding: u = 0
|
|
284
|
-
} =
|
|
285
|
-
if (
|
|
284
|
+
} = J(t, e) || {};
|
|
285
|
+
if (a == null)
|
|
286
286
|
return {};
|
|
287
|
-
const d =
|
|
287
|
+
const d = jt(u), m = {
|
|
288
288
|
x: n,
|
|
289
289
|
y: o
|
|
290
|
-
},
|
|
290
|
+
}, f = xt(i), p = yt(f), h = await r.getDimensions(a), v = f === "y", g = v ? "top" : "left", w = v ? "bottom" : "right", x = v ? "clientHeight" : "clientWidth", b = s.reference[p] + s.reference[f] - m[f] - s.floating[p], A = m[f] - s.reference[f], O = await (r.getOffsetParent == null ? void 0 : r.getOffsetParent(a));
|
|
291
291
|
let y = O ? O[x] : 0;
|
|
292
292
|
(!y || !await (r.isElement == null ? void 0 : r.isElement(O))) && (y = l.floating[x] || s.floating[p]);
|
|
293
|
-
const
|
|
293
|
+
const W = b / 2 - A / 2, E = y / 2 - h[p] / 2 - 1, T = nt(d[g], E), C = nt(d[w], E), H = T, X = y - h[p] - C, S = y / 2 - h[p] / 2 + W, Y = ht(H, S, X), N = !c.arrow && B(i) != null && S !== Y && s.reference[p] / 2 - (S < H ? T : C) - h[p] / 2 < 0, L = N ? S < H ? S - H : S - X : 0;
|
|
294
294
|
return {
|
|
295
|
-
[
|
|
295
|
+
[f]: m[f] + L,
|
|
296
296
|
data: {
|
|
297
|
-
[
|
|
298
|
-
centerOffset:
|
|
297
|
+
[f]: Y,
|
|
298
|
+
centerOffset: S - Y - L,
|
|
299
299
|
...N && {
|
|
300
300
|
alignmentOffset: L
|
|
301
301
|
}
|
|
@@ -317,32 +317,32 @@ const be = function(t) {
|
|
|
317
317
|
rects: s,
|
|
318
318
|
middlewareData: r,
|
|
319
319
|
placement: l,
|
|
320
|
-
platform:
|
|
321
|
-
elements:
|
|
320
|
+
platform: c,
|
|
321
|
+
elements: a
|
|
322
322
|
} = e, {
|
|
323
323
|
crossAxis: u = !1,
|
|
324
324
|
alignment: d,
|
|
325
325
|
allowedPlacements: m = St,
|
|
326
|
-
autoAlignment:
|
|
326
|
+
autoAlignment: f = !0,
|
|
327
327
|
...p
|
|
328
|
-
} =
|
|
329
|
-
if (
|
|
328
|
+
} = J(t, e), h = d !== void 0 || m === St ? xe(d || null, f, m) : m, v = await c.detectOverflow(e, p), g = ((n = r.autoPlacement) == null ? void 0 : n.index) || 0, w = h[g];
|
|
329
|
+
if (w == null)
|
|
330
330
|
return {};
|
|
331
|
-
const x =
|
|
332
|
-
if (l !==
|
|
331
|
+
const x = It(w, s, await (c.isRTL == null ? void 0 : c.isRTL(a.floating)));
|
|
332
|
+
if (l !== w)
|
|
333
333
|
return {
|
|
334
334
|
reset: {
|
|
335
|
-
placement:
|
|
335
|
+
placement: h[0]
|
|
336
336
|
}
|
|
337
337
|
};
|
|
338
|
-
const b = [
|
|
339
|
-
placement:
|
|
338
|
+
const b = [v[V(w)], v[x[0]], v[x[1]]], A = [...((o = r.autoPlacement) == null ? void 0 : o.overflows) || [], {
|
|
339
|
+
placement: w,
|
|
340
340
|
overflows: b
|
|
341
|
-
}], O =
|
|
341
|
+
}], O = h[g + 1];
|
|
342
342
|
if (O)
|
|
343
343
|
return {
|
|
344
344
|
data: {
|
|
345
|
-
index:
|
|
345
|
+
index: g + 1,
|
|
346
346
|
overflows: A
|
|
347
347
|
},
|
|
348
348
|
reset: {
|
|
@@ -353,7 +353,7 @@ const be = function(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.
|
|
356
|
-
T.overflows.slice(0, 2).reduce((
|
|
356
|
+
T.overflows.slice(0, 2).reduce((H, X) => H + X, 0)
|
|
357
357
|
) : (
|
|
358
358
|
// Check only the mainAxis.
|
|
359
359
|
T.overflows[0]
|
|
@@ -366,7 +366,7 @@ const be = function(t) {
|
|
|
366
366
|
).every((C) => C <= 0))[0]) == null ? void 0 : i[0]) || y[0][0];
|
|
367
367
|
return E !== l ? {
|
|
368
368
|
data: {
|
|
369
|
-
index:
|
|
369
|
+
index: g + 1,
|
|
370
370
|
overflows: A
|
|
371
371
|
},
|
|
372
372
|
reset: {
|
|
@@ -386,59 +386,59 @@ const be = function(t) {
|
|
|
386
386
|
middlewareData: s,
|
|
387
387
|
rects: r,
|
|
388
388
|
initialPlacement: l,
|
|
389
|
-
platform:
|
|
390
|
-
elements:
|
|
389
|
+
platform: c,
|
|
390
|
+
elements: a
|
|
391
391
|
} = e, {
|
|
392
392
|
mainAxis: u = !0,
|
|
393
393
|
crossAxis: d = !0,
|
|
394
394
|
fallbackPlacements: m,
|
|
395
|
-
fallbackStrategy:
|
|
395
|
+
fallbackStrategy: f = "bestFit",
|
|
396
396
|
fallbackAxisSideDirection: p = "none",
|
|
397
|
-
flipAlignment:
|
|
398
|
-
...
|
|
399
|
-
} =
|
|
397
|
+
flipAlignment: h = !0,
|
|
398
|
+
...v
|
|
399
|
+
} = J(t, e);
|
|
400
400
|
if ((n = s.arrow) != null && n.alignmentOffset)
|
|
401
401
|
return {};
|
|
402
|
-
const
|
|
403
|
-
!m && O && A.push(...ge(l,
|
|
404
|
-
const y = [l, ...A],
|
|
402
|
+
const g = V(i), w = z(l), x = V(l) === l, b = await (c.isRTL == null ? void 0 : c.isRTL(a.floating)), A = m || (x || !h ? [at(l)] : ue(l)), O = p !== "none";
|
|
403
|
+
!m && O && A.push(...ge(l, h, p, b));
|
|
404
|
+
const y = [l, ...A], W = await c.detectOverflow(e, v), E = [];
|
|
405
405
|
let T = ((o = s.flip) == null ? void 0 : o.overflows) || [];
|
|
406
|
-
if (u && E.push(
|
|
407
|
-
const
|
|
408
|
-
E.push(
|
|
406
|
+
if (u && E.push(W[g]), d) {
|
|
407
|
+
const S = It(i, r, b);
|
|
408
|
+
E.push(W[S[0]], W[S[1]]);
|
|
409
409
|
}
|
|
410
410
|
if (T = [...T, {
|
|
411
411
|
placement: i,
|
|
412
412
|
overflows: E
|
|
413
|
-
}], !E.every((
|
|
414
|
-
var C,
|
|
415
|
-
const
|
|
416
|
-
if (Y && (!(d === "alignment" ?
|
|
413
|
+
}], !E.every((S) => S <= 0)) {
|
|
414
|
+
var C, H;
|
|
415
|
+
const S = (((C = s.flip) == null ? void 0 : C.index) || 0) + 1, Y = y[S];
|
|
416
|
+
if (Y && (!(d === "alignment" ? w !== z(Y) : !1) || // We leave the current main axis only if every placement on that axis
|
|
417
417
|
// overflows the main axis.
|
|
418
|
-
T.every((D) => z(D.placement) ===
|
|
418
|
+
T.every((D) => z(D.placement) === w ? D.overflows[0] > 0 : !0)))
|
|
419
419
|
return {
|
|
420
420
|
data: {
|
|
421
|
-
index:
|
|
421
|
+
index: S,
|
|
422
422
|
overflows: T
|
|
423
423
|
},
|
|
424
424
|
reset: {
|
|
425
425
|
placement: Y
|
|
426
426
|
}
|
|
427
427
|
};
|
|
428
|
-
let N = (
|
|
428
|
+
let N = (H = T.filter((L) => L.overflows[0] <= 0).sort((L, D) => L.overflows[1] - D.overflows[1])[0]) == null ? void 0 : H.placement;
|
|
429
429
|
if (!N)
|
|
430
|
-
switch (
|
|
430
|
+
switch (f) {
|
|
431
431
|
case "bestFit": {
|
|
432
432
|
var X;
|
|
433
433
|
const L = (X = T.filter((D) => {
|
|
434
434
|
if (O) {
|
|
435
435
|
const I = z(D.placement);
|
|
436
|
-
return I ===
|
|
436
|
+
return I === w || // Create a bias to the `y` side axis due to horizontal
|
|
437
437
|
// reading directions favoring greater width.
|
|
438
438
|
I === "y";
|
|
439
439
|
}
|
|
440
440
|
return !0;
|
|
441
|
-
}).map((D) => [D.placement, D.overflows.filter((I) => I > 0).reduce((I,
|
|
441
|
+
}).map((D) => [D.placement, D.overflows.filter((I) => I > 0).reduce((I, ee) => I + ee, 0)]).sort((D, I) => D[1] - I[1])[0]) == null ? void 0 : X[0];
|
|
442
442
|
L && (N = L);
|
|
443
443
|
break;
|
|
444
444
|
}
|
|
@@ -466,7 +466,7 @@ function Lt(t, e) {
|
|
|
466
466
|
};
|
|
467
467
|
}
|
|
468
468
|
function Dt(t) {
|
|
469
|
-
return
|
|
469
|
+
return Nt.some((e) => t[e] >= 0);
|
|
470
470
|
}
|
|
471
471
|
const Ae = function(t) {
|
|
472
472
|
return t === void 0 && (t = {}), {
|
|
@@ -479,7 +479,7 @@ const Ae = function(t) {
|
|
|
479
479
|
} = e, {
|
|
480
480
|
strategy: i = "referenceHidden",
|
|
481
481
|
...s
|
|
482
|
-
} =
|
|
482
|
+
} = J(t, e);
|
|
483
483
|
switch (i) {
|
|
484
484
|
case "referenceHidden": {
|
|
485
485
|
const r = await o.detectOverflow(e, {
|
|
@@ -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), c = z(n) === "y", a = Te.has(r) ? -1 : 1, u = s && c ? -1 : 1, d = J(e, t);
|
|
520
520
|
let {
|
|
521
521
|
mainAxis: m,
|
|
522
|
-
crossAxis:
|
|
522
|
+
crossAxis: f,
|
|
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" && (f = l === "end" ? p * -1 : p), c ? {
|
|
534
|
+
x: f * u,
|
|
535
|
+
y: m * a
|
|
536
536
|
} : {
|
|
537
|
-
x: m *
|
|
538
|
-
y:
|
|
537
|
+
x: m * a,
|
|
538
|
+
y: f * u
|
|
539
539
|
};
|
|
540
540
|
}
|
|
541
541
|
const Se = function(t) {
|
|
@@ -549,12 +549,12 @@ const Se = function(t) {
|
|
|
549
549
|
y: s,
|
|
550
550
|
placement: r,
|
|
551
551
|
middlewareData: l
|
|
552
|
-
} = e,
|
|
552
|
+
} = e, c = 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 + c.x,
|
|
555
|
+
y: s + c.y,
|
|
556
556
|
data: {
|
|
557
|
-
...
|
|
557
|
+
...c,
|
|
558
558
|
placement: r
|
|
559
559
|
}
|
|
560
560
|
};
|
|
@@ -573,44 +573,44 @@ const Se = function(t) {
|
|
|
573
573
|
} = e, {
|
|
574
574
|
mainAxis: r = !0,
|
|
575
575
|
crossAxis: l = !1,
|
|
576
|
-
limiter:
|
|
577
|
-
fn: (
|
|
576
|
+
limiter: c = {
|
|
577
|
+
fn: (g) => {
|
|
578
578
|
let {
|
|
579
|
-
x:
|
|
579
|
+
x: w,
|
|
580
580
|
y: x
|
|
581
|
-
} =
|
|
581
|
+
} = g;
|
|
582
582
|
return {
|
|
583
|
-
x:
|
|
583
|
+
x: w,
|
|
584
584
|
y: x
|
|
585
585
|
};
|
|
586
586
|
}
|
|
587
587
|
},
|
|
588
|
-
...
|
|
589
|
-
} =
|
|
588
|
+
...a
|
|
589
|
+
} = J(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, a), m = z(V(i)), f = Vt(m);
|
|
593
|
+
let p = u[f], h = u[m];
|
|
594
594
|
if (r) {
|
|
595
|
-
const
|
|
595
|
+
const g = f === "y" ? "top" : "left", w = f === "y" ? "bottom" : "right", x = p + d[g], b = p - d[w];
|
|
596
596
|
p = ht(x, p, b);
|
|
597
597
|
}
|
|
598
598
|
if (l) {
|
|
599
|
-
const
|
|
600
|
-
|
|
599
|
+
const g = m === "y" ? "top" : "left", w = m === "y" ? "bottom" : "right", x = h + d[g], b = h - d[w];
|
|
600
|
+
h = ht(x, h, b);
|
|
601
601
|
}
|
|
602
|
-
const
|
|
602
|
+
const v = c.fn({
|
|
603
603
|
...e,
|
|
604
|
-
[
|
|
605
|
-
[m]:
|
|
604
|
+
[f]: p,
|
|
605
|
+
[m]: h
|
|
606
606
|
});
|
|
607
607
|
return {
|
|
608
|
-
...
|
|
608
|
+
...v,
|
|
609
609
|
data: {
|
|
610
|
-
x:
|
|
611
|
-
y:
|
|
610
|
+
x: v.x - n,
|
|
611
|
+
y: v.y - o,
|
|
612
612
|
enabled: {
|
|
613
|
-
[
|
|
613
|
+
[f]: r,
|
|
614
614
|
[m]: l
|
|
615
615
|
}
|
|
616
616
|
}
|
|
@@ -621,7 +621,7 @@ const Se = function(t) {
|
|
|
621
621
|
function ut() {
|
|
622
622
|
return typeof window < "u";
|
|
623
623
|
}
|
|
624
|
-
function
|
|
624
|
+
function Q(t) {
|
|
625
625
|
return bt(t) ? (t.nodeName || "").toLowerCase() : "#document";
|
|
626
626
|
}
|
|
627
627
|
function _(t) {
|
|
@@ -656,7 +656,7 @@ function rt(t) {
|
|
|
656
656
|
}
|
|
657
657
|
const Ce = /* @__PURE__ */ new Set(["table", "td", "th"]);
|
|
658
658
|
function Le(t) {
|
|
659
|
-
return Ce.has(
|
|
659
|
+
return Ce.has(Q(t));
|
|
660
660
|
}
|
|
661
661
|
const De = [":popover-open", ":modal"];
|
|
662
662
|
function dt(t) {
|
|
@@ -675,7 +675,7 @@ function Ot(t) {
|
|
|
675
675
|
}
|
|
676
676
|
function Be(t) {
|
|
677
677
|
let e = U(t);
|
|
678
|
-
for (; k(e) && !
|
|
678
|
+
for (; k(e) && !ot(e); ) {
|
|
679
679
|
if (Ot(e))
|
|
680
680
|
return e;
|
|
681
681
|
if (dt(e))
|
|
@@ -688,8 +688,8 @@ function At() {
|
|
|
688
688
|
return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
|
|
689
689
|
}
|
|
690
690
|
const ke = /* @__PURE__ */ new Set(["html", "body", "#document"]);
|
|
691
|
-
function
|
|
692
|
-
return ke.has(
|
|
691
|
+
function ot(t) {
|
|
692
|
+
return ke.has(Q(t));
|
|
693
693
|
}
|
|
694
694
|
function F(t) {
|
|
695
695
|
return _(t).getComputedStyle(t);
|
|
@@ -704,7 +704,7 @@ function mt(t) {
|
|
|
704
704
|
};
|
|
705
705
|
}
|
|
706
706
|
function U(t) {
|
|
707
|
-
if (
|
|
707
|
+
if (Q(t) === "html")
|
|
708
708
|
return t;
|
|
709
709
|
const e = (
|
|
710
710
|
// Step into the shadow DOM of the parent of a slotted node.
|
|
@@ -715,14 +715,14 @@ function U(t) {
|
|
|
715
715
|
);
|
|
716
716
|
return Pt(e) ? e.host : e;
|
|
717
717
|
}
|
|
718
|
-
function
|
|
718
|
+
function zt(t) {
|
|
719
719
|
const e = U(t);
|
|
720
|
-
return
|
|
720
|
+
return ot(e) ? t.ownerDocument ? t.ownerDocument.body : t.body : k(e) && rt(e) ? e : zt(e);
|
|
721
721
|
}
|
|
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 =
|
|
725
|
+
const i = zt(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) : []);
|
|
@@ -732,7 +732,7 @@ function it(t, e, n) {
|
|
|
732
732
|
function wt(t) {
|
|
733
733
|
return t.parent && Object.getPrototypeOf(t.parent) ? t.frameElement : null;
|
|
734
734
|
}
|
|
735
|
-
function
|
|
735
|
+
function Ut(t) {
|
|
736
736
|
const e = F(t);
|
|
737
737
|
let n = parseFloat(e.width) || 0, o = parseFloat(e.height) || 0;
|
|
738
738
|
const i = k(t), s = i ? t.offsetWidth : n, r = i ? t.offsetHeight : o, l = lt(n) !== s || lt(o) !== r;
|
|
@@ -745,7 +745,7 @@ function zt(t) {
|
|
|
745
745
|
function Tt(t) {
|
|
746
746
|
return P(t) ? t : t.contextElement;
|
|
747
747
|
}
|
|
748
|
-
function
|
|
748
|
+
function et(t) {
|
|
749
749
|
const e = Tt(t);
|
|
750
750
|
if (!k(e))
|
|
751
751
|
return M(1);
|
|
@@ -753,7 +753,7 @@ function tt(t) {
|
|
|
753
753
|
width: o,
|
|
754
754
|
height: i,
|
|
755
755
|
$: s
|
|
756
|
-
} =
|
|
756
|
+
} = Ut(e);
|
|
757
757
|
let r = (s ? lt(n.width) : n.width) / o, l = (s ? lt(n.height) : n.height) / i;
|
|
758
758
|
return (!r || !Number.isFinite(r)) && (r = 1), (!l || !Number.isFinite(l)) && (l = 1), {
|
|
759
759
|
x: r,
|
|
@@ -761,50 +761,50 @@ function tt(t) {
|
|
|
761
761
|
};
|
|
762
762
|
}
|
|
763
763
|
const $e = /* @__PURE__ */ M(0);
|
|
764
|
-
function
|
|
764
|
+
function Xt(t) {
|
|
765
765
|
const e = _(t);
|
|
766
766
|
return !At() || !e.visualViewport ? $e : {
|
|
767
767
|
x: e.visualViewport.offsetLeft,
|
|
768
768
|
y: e.visualViewport.offsetTop
|
|
769
769
|
};
|
|
770
770
|
}
|
|
771
|
-
function
|
|
771
|
+
function We(t, e, n) {
|
|
772
772
|
return e === void 0 && (e = !1), !n || e && n !== _(t) ? !1 : e;
|
|
773
773
|
}
|
|
774
|
-
function
|
|
774
|
+
function K(t, e, n, o) {
|
|
775
775
|
e === void 0 && (e = !1), n === void 0 && (n = !1);
|
|
776
776
|
const i = t.getBoundingClientRect(), s = Tt(t);
|
|
777
777
|
let r = M(1);
|
|
778
|
-
e && (o ? P(o) && (r =
|
|
779
|
-
const l =
|
|
780
|
-
let
|
|
778
|
+
e && (o ? P(o) && (r = et(o)) : r = et(t));
|
|
779
|
+
const l = We(s, n, o) ? Xt(s) : M(0);
|
|
780
|
+
let c = (i.left + l.x) / r.x, a = (i.top + l.y) / r.y, u = i.width / r.x, d = i.height / r.y;
|
|
781
781
|
if (s) {
|
|
782
|
-
const m = _(s),
|
|
783
|
-
let p = m,
|
|
784
|
-
for (;
|
|
785
|
-
const
|
|
786
|
-
|
|
782
|
+
const m = _(s), f = o && P(o) ? _(o) : o;
|
|
783
|
+
let p = m, h = wt(p);
|
|
784
|
+
for (; h && o && f !== p; ) {
|
|
785
|
+
const v = et(h), g = h.getBoundingClientRect(), w = F(h), x = g.left + (h.clientLeft + parseFloat(w.paddingLeft)) * v.x, b = g.top + (h.clientTop + parseFloat(w.paddingTop)) * v.y;
|
|
786
|
+
c *= v.x, a *= v.y, u *= v.x, d *= v.y, c += x, a += b, p = _(h), h = wt(p);
|
|
787
787
|
}
|
|
788
788
|
}
|
|
789
789
|
return ft({
|
|
790
790
|
width: u,
|
|
791
791
|
height: d,
|
|
792
|
-
x:
|
|
793
|
-
y:
|
|
792
|
+
x: c,
|
|
793
|
+
y: a
|
|
794
794
|
});
|
|
795
795
|
}
|
|
796
796
|
function pt(t, e) {
|
|
797
797
|
const n = mt(t).scrollLeft;
|
|
798
|
-
return e ? e.left + n :
|
|
798
|
+
return e ? e.left + n : K($(t)).left + n;
|
|
799
799
|
}
|
|
800
|
-
function
|
|
800
|
+
function Yt(t, e) {
|
|
801
801
|
const n = t.getBoundingClientRect(), o = n.left + e.scrollLeft - pt(t, n), i = n.top + e.scrollTop;
|
|
802
802
|
return {
|
|
803
803
|
x: o,
|
|
804
804
|
y: i
|
|
805
805
|
};
|
|
806
806
|
}
|
|
807
|
-
function
|
|
807
|
+
function He(t) {
|
|
808
808
|
let {
|
|
809
809
|
elements: e,
|
|
810
810
|
rect: n,
|
|
@@ -814,31 +814,31 @@ function We(t) {
|
|
|
814
814
|
const s = i === "fixed", r = $(o), l = e ? dt(e.floating) : !1;
|
|
815
815
|
if (o === r || l && s)
|
|
816
816
|
return n;
|
|
817
|
-
let
|
|
817
|
+
let c = {
|
|
818
818
|
scrollLeft: 0,
|
|
819
819
|
scrollTop: 0
|
|
820
|
-
},
|
|
820
|
+
}, a = M(1);
|
|
821
821
|
const u = M(0), d = k(o);
|
|
822
|
-
if ((d || !d && !s) && ((
|
|
823
|
-
const
|
|
824
|
-
|
|
822
|
+
if ((d || !d && !s) && ((Q(o) !== "body" || rt(r)) && (c = mt(o)), k(o))) {
|
|
823
|
+
const f = K(o);
|
|
824
|
+
a = et(o), u.x = f.x + o.clientLeft, u.y = f.y + o.clientTop;
|
|
825
825
|
}
|
|
826
|
-
const m = r && !d && !s ?
|
|
826
|
+
const m = r && !d && !s ? Yt(r, c) : 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 * a.x,
|
|
829
|
+
height: n.height * a.y,
|
|
830
|
+
x: n.x * a.x - c.scrollLeft * a.x + u.x + m.x,
|
|
831
|
+
y: n.y * a.y - c.scrollTop * a.y + u.y + m.y
|
|
832
832
|
};
|
|
833
833
|
}
|
|
834
834
|
function Ne(t) {
|
|
835
835
|
return Array.from(t.getClientRects());
|
|
836
836
|
}
|
|
837
837
|
function Ve(t) {
|
|
838
|
-
const e = $(t), n = mt(t), o = t.ownerDocument.body, i =
|
|
838
|
+
const e = $(t), n = mt(t), o = t.ownerDocument.body, i = G(e.scrollWidth, e.clientWidth, o.scrollWidth, o.clientWidth), s = G(e.scrollHeight, e.clientHeight, o.scrollHeight, o.clientHeight);
|
|
839
839
|
let r = -n.scrollLeft + pt(t);
|
|
840
840
|
const l = -n.scrollTop;
|
|
841
|
-
return F(o).direction === "rtl" && (r +=
|
|
841
|
+
return F(o).direction === "rtl" && (r += G(e.clientWidth, o.clientWidth) - i), {
|
|
842
842
|
width: i,
|
|
843
843
|
height: s,
|
|
844
844
|
x: r,
|
|
@@ -848,32 +848,32 @@ function Ve(t) {
|
|
|
848
848
|
const Ft = 25;
|
|
849
849
|
function Ie(t, e) {
|
|
850
850
|
const n = _(t), o = $(t), i = n.visualViewport;
|
|
851
|
-
let s = o.clientWidth, r = o.clientHeight, l = 0,
|
|
851
|
+
let s = o.clientWidth, r = o.clientHeight, l = 0, c = 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, c = i.offsetTop);
|
|
856
856
|
}
|
|
857
|
-
const
|
|
858
|
-
if (
|
|
859
|
-
const u = o.ownerDocument, d = u.body, m = getComputedStyle(d),
|
|
857
|
+
const a = pt(o);
|
|
858
|
+
if (a <= 0) {
|
|
859
|
+
const u = o.ownerDocument, d = u.body, m = getComputedStyle(d), f = u.compatMode === "CSS1Compat" && parseFloat(m.marginLeft) + parseFloat(m.marginRight) || 0, p = Math.abs(o.clientWidth - d.clientWidth - f);
|
|
860
860
|
p <= Ft && (s -= p);
|
|
861
|
-
} else
|
|
861
|
+
} else a <= Ft && (s += a);
|
|
862
862
|
return {
|
|
863
863
|
width: s,
|
|
864
864
|
height: r,
|
|
865
865
|
x: l,
|
|
866
|
-
y:
|
|
866
|
+
y: c
|
|
867
867
|
};
|
|
868
868
|
}
|
|
869
869
|
const je = /* @__PURE__ */ new Set(["absolute", "fixed"]);
|
|
870
870
|
function ze(t, e) {
|
|
871
|
-
const n =
|
|
871
|
+
const n = K(t, !0, e === "fixed"), o = n.top + t.clientTop, i = n.left + t.clientLeft, s = k(t) ? et(t) : M(1), r = t.clientWidth * s.x, l = t.clientHeight * s.y, c = i * s.x, a = o * s.y;
|
|
872
872
|
return {
|
|
873
873
|
width: r,
|
|
874
874
|
height: l,
|
|
875
|
-
x:
|
|
876
|
-
y:
|
|
875
|
+
x: c,
|
|
876
|
+
y: a
|
|
877
877
|
};
|
|
878
878
|
}
|
|
879
879
|
function Mt(t, e, n) {
|
|
@@ -885,7 +885,7 @@ function Mt(t, e, n) {
|
|
|
885
885
|
else if (P(e))
|
|
886
886
|
o = ze(e, n);
|
|
887
887
|
else {
|
|
888
|
-
const i =
|
|
888
|
+
const i = Xt(t);
|
|
889
889
|
o = {
|
|
890
890
|
x: e.x - i.x,
|
|
891
891
|
y: e.y - i.y,
|
|
@@ -895,20 +895,20 @@ function Mt(t, e, n) {
|
|
|
895
895
|
}
|
|
896
896
|
return ft(o);
|
|
897
897
|
}
|
|
898
|
-
function
|
|
898
|
+
function qt(t, e) {
|
|
899
899
|
const n = U(t);
|
|
900
|
-
return n === e || !P(n) ||
|
|
900
|
+
return n === e || !P(n) || ot(n) ? !1 : F(n).position === "fixed" || qt(n, e);
|
|
901
901
|
}
|
|
902
902
|
function Ue(t, e) {
|
|
903
903
|
const n = e.get(t);
|
|
904
904
|
if (n)
|
|
905
905
|
return n;
|
|
906
|
-
let o = it(t, [], !1).filter((l) => P(l) &&
|
|
906
|
+
let o = it(t, [], !1).filter((l) => P(l) && Q(l) !== "body"), i = null;
|
|
907
907
|
const s = F(t).position === "fixed";
|
|
908
908
|
let r = s ? U(t) : t;
|
|
909
|
-
for (; P(r) && !
|
|
910
|
-
const l = F(r),
|
|
911
|
-
!
|
|
909
|
+
for (; P(r) && !ot(r); ) {
|
|
910
|
+
const l = F(r), c = Ot(r);
|
|
911
|
+
!c && l.position === "fixed" && (i = null), (s ? !c && !i : !c && l.position === "static" && !!i && je.has(i.position) || rt(r) && !c && qt(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,44 +919,44 @@ 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], c = r.reduce((a, u) => {
|
|
923
923
|
const d = Mt(e, u, i);
|
|
924
|
-
return
|
|
924
|
+
return a.top = G(d.top, a.top), a.right = nt(d.right, a.right), a.bottom = nt(d.bottom, a.bottom), a.left = G(d.left, a.left), a;
|
|
925
925
|
}, Mt(e, l, i));
|
|
926
926
|
return {
|
|
927
|
-
width:
|
|
928
|
-
height:
|
|
929
|
-
x:
|
|
930
|
-
y:
|
|
927
|
+
width: c.right - c.left,
|
|
928
|
+
height: c.bottom - c.top,
|
|
929
|
+
x: c.left,
|
|
930
|
+
y: c.top
|
|
931
931
|
};
|
|
932
932
|
}
|
|
933
933
|
function Ye(t) {
|
|
934
934
|
const {
|
|
935
935
|
width: e,
|
|
936
936
|
height: n
|
|
937
|
-
} =
|
|
937
|
+
} = Ut(t);
|
|
938
938
|
return {
|
|
939
939
|
width: e,
|
|
940
940
|
height: n
|
|
941
941
|
};
|
|
942
942
|
}
|
|
943
943
|
function qe(t, e, n) {
|
|
944
|
-
const o = k(e), i = $(e), s = n === "fixed", r =
|
|
944
|
+
const o = k(e), i = $(e), s = n === "fixed", r = K(t, !0, s, e);
|
|
945
945
|
let l = {
|
|
946
946
|
scrollLeft: 0,
|
|
947
947
|
scrollTop: 0
|
|
948
948
|
};
|
|
949
|
-
const
|
|
950
|
-
function
|
|
951
|
-
|
|
949
|
+
const c = M(0);
|
|
950
|
+
function a() {
|
|
951
|
+
c.x = pt(i);
|
|
952
952
|
}
|
|
953
953
|
if (o || !o && !s)
|
|
954
|
-
if ((
|
|
955
|
-
const
|
|
956
|
-
|
|
957
|
-
} else i &&
|
|
958
|
-
s && !o && i &&
|
|
959
|
-
const u = i && !o && !s ?
|
|
954
|
+
if ((Q(e) !== "body" || rt(i)) && (l = mt(e)), o) {
|
|
955
|
+
const f = K(e, !0, s, e);
|
|
956
|
+
c.x = f.x + e.clientLeft, c.y = f.y + e.clientTop;
|
|
957
|
+
} else i && a();
|
|
958
|
+
s && !o && i && a();
|
|
959
|
+
const u = i && !o && !s ? Yt(i, l) : M(0), d = r.left + l.scrollLeft - c.x - u.x, m = r.top + l.scrollTop - c.y - u.y;
|
|
960
960
|
return {
|
|
961
961
|
x: d,
|
|
962
962
|
y: m,
|
|
@@ -975,13 +975,13 @@ function Bt(t, e) {
|
|
|
975
975
|
let n = t.offsetParent;
|
|
976
976
|
return $(t) === n && (n = n.ownerDocument.body), n;
|
|
977
977
|
}
|
|
978
|
-
function
|
|
978
|
+
function Gt(t, e) {
|
|
979
979
|
const n = _(t);
|
|
980
980
|
if (dt(t))
|
|
981
981
|
return n;
|
|
982
982
|
if (!k(t)) {
|
|
983
983
|
let i = U(t);
|
|
984
|
-
for (; i && !
|
|
984
|
+
for (; i && !ot(i); ) {
|
|
985
985
|
if (P(i) && !gt(i))
|
|
986
986
|
return i;
|
|
987
987
|
i = U(i);
|
|
@@ -991,10 +991,10 @@ function qt(t, e) {
|
|
|
991
991
|
let o = Bt(t, e);
|
|
992
992
|
for (; o && Le(o) && gt(o); )
|
|
993
993
|
o = Bt(o, e);
|
|
994
|
-
return o &&
|
|
994
|
+
return o && ot(o) && gt(o) && !Ot(o) ? n : o || Be(t) || n;
|
|
995
995
|
}
|
|
996
996
|
const Ge = async function(t) {
|
|
997
|
-
const e = this.getOffsetParent ||
|
|
997
|
+
const e = this.getOffsetParent || Gt, n = this.getDimensions, o = await n(t.floating);
|
|
998
998
|
return {
|
|
999
999
|
reference: qe(t.reference, await e(t.floating), t.strategy),
|
|
1000
1000
|
floating: {
|
|
@@ -1009,18 +1009,18 @@ function Ke(t) {
|
|
|
1009
1009
|
return F(t).direction === "rtl";
|
|
1010
1010
|
}
|
|
1011
1011
|
const Je = {
|
|
1012
|
-
convertOffsetParentRelativeRectToViewportRelativeRect:
|
|
1012
|
+
convertOffsetParentRelativeRectToViewportRelativeRect: He,
|
|
1013
1013
|
getDocumentElement: $,
|
|
1014
1014
|
getClippingRect: Xe,
|
|
1015
|
-
getOffsetParent:
|
|
1015
|
+
getOffsetParent: Gt,
|
|
1016
1016
|
getElementRects: Ge,
|
|
1017
1017
|
getClientRects: Ne,
|
|
1018
1018
|
getDimensions: Ye,
|
|
1019
|
-
getScale:
|
|
1019
|
+
getScale: et,
|
|
1020
1020
|
isElement: P,
|
|
1021
1021
|
isRTL: Ke
|
|
1022
1022
|
};
|
|
1023
|
-
function
|
|
1023
|
+
function Kt(t, e) {
|
|
1024
1024
|
return t.x === e.x && t.y === e.y && t.width === e.width && t.height === e.height;
|
|
1025
1025
|
}
|
|
1026
1026
|
function Qe(t, e) {
|
|
@@ -1030,31 +1030,31 @@ 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, c) {
|
|
1034
|
+
l === void 0 && (l = !1), c === void 0 && (c = 1), s();
|
|
1035
|
+
const a = t.getBoundingClientRect(), {
|
|
1036
1036
|
left: u,
|
|
1037
1037
|
top: d,
|
|
1038
1038
|
width: m,
|
|
1039
|
-
height:
|
|
1040
|
-
} =
|
|
1041
|
-
if (l || e(), !m || !
|
|
1039
|
+
height: f
|
|
1040
|
+
} = a;
|
|
1041
|
+
if (l || e(), !m || !f)
|
|
1042
1042
|
return;
|
|
1043
|
-
const p = st(d),
|
|
1044
|
-
rootMargin: -p + "px " + -
|
|
1045
|
-
threshold:
|
|
1043
|
+
const p = st(d), h = st(i.clientWidth - (u + m)), v = st(i.clientHeight - (d + f)), g = st(u), x = {
|
|
1044
|
+
rootMargin: -p + "px " + -h + "px " + -v + "px " + -g + "px",
|
|
1045
|
+
threshold: G(0, nt(1, c)) || 1
|
|
1046
1046
|
};
|
|
1047
1047
|
let b = !0;
|
|
1048
1048
|
function A(O) {
|
|
1049
1049
|
const y = O[0].intersectionRatio;
|
|
1050
|
-
if (y !==
|
|
1050
|
+
if (y !== c) {
|
|
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
|
-
y === 1 && !
|
|
1057
|
+
y === 1 && !Kt(a, t.getBoundingClientRect()) && r(), b = !1;
|
|
1058
1058
|
}
|
|
1059
1059
|
try {
|
|
1060
1060
|
n = new IntersectionObserver(A, {
|
|
@@ -1076,33 +1076,33 @@ function kt(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,
|
|
1081
|
-
u.forEach((
|
|
1082
|
-
i &&
|
|
1079
|
+
animationFrame: c = !1
|
|
1080
|
+
} = o, a = Tt(t), u = i || s ? [...a ? it(a) : [], ...it(e)] : [];
|
|
1081
|
+
u.forEach((g) => {
|
|
1082
|
+
i && g.addEventListener("scroll", n, {
|
|
1083
1083
|
passive: !0
|
|
1084
|
-
}), s &&
|
|
1084
|
+
}), s && g.addEventListener("resize", n);
|
|
1085
1085
|
});
|
|
1086
|
-
const d =
|
|
1087
|
-
let m = -1,
|
|
1088
|
-
r && (
|
|
1089
|
-
let [
|
|
1090
|
-
|
|
1086
|
+
const d = a && l ? Qe(a, n) : null;
|
|
1087
|
+
let m = -1, f = null;
|
|
1088
|
+
r && (f = new ResizeObserver((g) => {
|
|
1089
|
+
let [w] = g;
|
|
1090
|
+
w && w.target === a && f && (f.unobserve(e), cancelAnimationFrame(m), m = requestAnimationFrame(() => {
|
|
1091
1091
|
var x;
|
|
1092
|
-
(x =
|
|
1092
|
+
(x = f) == null || x.observe(e);
|
|
1093
1093
|
})), n();
|
|
1094
|
-
}),
|
|
1095
|
-
let p,
|
|
1096
|
-
|
|
1097
|
-
function
|
|
1098
|
-
const
|
|
1099
|
-
|
|
1094
|
+
}), a && !c && f.observe(a), f.observe(e));
|
|
1095
|
+
let p, h = c ? K(t) : null;
|
|
1096
|
+
c && v();
|
|
1097
|
+
function v() {
|
|
1098
|
+
const g = K(t);
|
|
1099
|
+
h && !Kt(h, g) && n(), h = g, p = requestAnimationFrame(v);
|
|
1100
1100
|
}
|
|
1101
1101
|
return n(), () => {
|
|
1102
|
-
var
|
|
1103
|
-
u.forEach((
|
|
1104
|
-
i &&
|
|
1105
|
-
}), d?.(), (
|
|
1102
|
+
var g;
|
|
1103
|
+
u.forEach((w) => {
|
|
1104
|
+
i && w.removeEventListener("scroll", n), s && w.removeEventListener("resize", n);
|
|
1105
|
+
}), d?.(), (g = f) == null || g.disconnect(), f = null, c && cancelAnimationFrame(p);
|
|
1106
1106
|
};
|
|
1107
1107
|
}
|
|
1108
1108
|
const Ze = Se, tn = be, en = Ee, nn = Oe, bn = Ae, on = ye, rn = (t, e, n) => {
|
|
@@ -1124,7 +1124,7 @@ function sn(t) {
|
|
|
1124
1124
|
function vt(t) {
|
|
1125
1125
|
if (sn(t)) {
|
|
1126
1126
|
const e = t.$el;
|
|
1127
|
-
return bt(e) &&
|
|
1127
|
+
return bt(e) && Q(e) === "#comment" ? null : e;
|
|
1128
1128
|
}
|
|
1129
1129
|
return t;
|
|
1130
1130
|
}
|
|
@@ -1133,7 +1133,7 @@ function ln(t) {
|
|
|
1133
1133
|
name: "arrow",
|
|
1134
1134
|
options: t,
|
|
1135
1135
|
fn(e) {
|
|
1136
|
-
const n = vt(
|
|
1136
|
+
const n = vt(tt(t.element));
|
|
1137
1137
|
return n == null ? {} : on({
|
|
1138
1138
|
element: n,
|
|
1139
1139
|
padding: t.padding
|
|
@@ -1141,100 +1141,112 @@ function ln(t) {
|
|
|
1141
1141
|
}
|
|
1142
1142
|
};
|
|
1143
1143
|
}
|
|
1144
|
-
function
|
|
1144
|
+
function Jt(t) {
|
|
1145
1145
|
return typeof window > "u" ? 1 : (t.ownerDocument.defaultView || window).devicePixelRatio || 1;
|
|
1146
1146
|
}
|
|
1147
1147
|
function $t(t, e) {
|
|
1148
|
-
const n =
|
|
1148
|
+
const n = Jt(t);
|
|
1149
1149
|
return Math.round(e * n) / n;
|
|
1150
1150
|
}
|
|
1151
1151
|
function cn(t, e, n) {
|
|
1152
1152
|
n === void 0 && (n = {});
|
|
1153
|
-
const o = n.whileElementsMounted, i =
|
|
1153
|
+
const o = n.whileElementsMounted, i = R(() => {
|
|
1154
1154
|
var y;
|
|
1155
|
-
return (y =
|
|
1156
|
-
}), s =
|
|
1155
|
+
return (y = tt(n.open)) != null ? y : !0;
|
|
1156
|
+
}), s = R(() => tt(n.middleware)), r = R(() => {
|
|
1157
1157
|
var y;
|
|
1158
|
-
return (y =
|
|
1159
|
-
}), l =
|
|
1158
|
+
return (y = tt(n.placement)) != null ? y : "bottom";
|
|
1159
|
+
}), l = R(() => {
|
|
1160
1160
|
var y;
|
|
1161
|
-
return (y =
|
|
1162
|
-
}),
|
|
1161
|
+
return (y = tt(n.strategy)) != null ? y : "absolute";
|
|
1162
|
+
}), c = R(() => {
|
|
1163
1163
|
var y;
|
|
1164
|
-
return (y =
|
|
1165
|
-
}),
|
|
1164
|
+
return (y = tt(n.transform)) != null ? y : !0;
|
|
1165
|
+
}), a = R(() => vt(t.value)), u = R(() => vt(e.value)), d = j(0), m = j(0), f = j(l.value), p = j(r.value), h = Ht({}), v = j(!1), g = R(() => {
|
|
1166
1166
|
const y = {
|
|
1167
|
-
position:
|
|
1167
|
+
position: f.value,
|
|
1168
1168
|
left: "0",
|
|
1169
1169
|
top: "0"
|
|
1170
1170
|
};
|
|
1171
1171
|
if (!u.value)
|
|
1172
1172
|
return y;
|
|
1173
|
-
const
|
|
1174
|
-
return
|
|
1173
|
+
const W = $t(u.value, d.value), E = $t(u.value, m.value);
|
|
1174
|
+
return c.value ? {
|
|
1175
1175
|
...y,
|
|
1176
|
-
transform: "translate(" +
|
|
1177
|
-
...
|
|
1176
|
+
transform: "translate(" + W + "px, " + E + "px)",
|
|
1177
|
+
...Jt(u.value) >= 1.5 && {
|
|
1178
1178
|
willChange: "transform"
|
|
1179
1179
|
}
|
|
1180
1180
|
} : {
|
|
1181
|
-
position:
|
|
1182
|
-
left:
|
|
1181
|
+
position: f.value,
|
|
1182
|
+
left: W + "px",
|
|
1183
1183
|
top: E + "px"
|
|
1184
1184
|
};
|
|
1185
1185
|
});
|
|
1186
|
-
let
|
|
1186
|
+
let w;
|
|
1187
1187
|
function x() {
|
|
1188
|
-
|
|
1188
|
+
a.value == null || u.value == null || rn(a.value, u.value, {
|
|
1189
1189
|
middleware: s.value,
|
|
1190
1190
|
placement: r.value,
|
|
1191
1191
|
strategy: l.value
|
|
1192
1192
|
}).then((y) => {
|
|
1193
|
-
d.value = y.x, m.value = y.y,
|
|
1193
|
+
d.value = y.x, m.value = y.y, f.value = y.strategy, p.value = y.placement, h.value = y.middlewareData, v.value = !0;
|
|
1194
1194
|
});
|
|
1195
1195
|
}
|
|
1196
1196
|
function b() {
|
|
1197
|
-
typeof
|
|
1197
|
+
typeof w == "function" && (w(), w = void 0);
|
|
1198
1198
|
}
|
|
1199
1199
|
function A() {
|
|
1200
1200
|
if (b(), o === void 0) {
|
|
1201
1201
|
x();
|
|
1202
1202
|
return;
|
|
1203
1203
|
}
|
|
1204
|
-
if (
|
|
1205
|
-
|
|
1204
|
+
if (a.value != null && u.value != null) {
|
|
1205
|
+
w = o(a.value, u.value, x);
|
|
1206
1206
|
return;
|
|
1207
1207
|
}
|
|
1208
1208
|
}
|
|
1209
1209
|
function O() {
|
|
1210
|
-
i.value || (
|
|
1210
|
+
i.value || (v.value = !1);
|
|
1211
1211
|
}
|
|
1212
|
-
return
|
|
1212
|
+
return q([s, r, l], x, {
|
|
1213
1213
|
flush: "sync"
|
|
1214
|
-
}),
|
|
1214
|
+
}), q([a, u], A, {
|
|
1215
1215
|
flush: "sync"
|
|
1216
|
-
}),
|
|
1216
|
+
}), q(i, O, {
|
|
1217
1217
|
flush: "sync"
|
|
1218
1218
|
}), ne() && oe(b), {
|
|
1219
|
-
x:
|
|
1220
|
-
y:
|
|
1221
|
-
strategy:
|
|
1222
|
-
placement:
|
|
1223
|
-
middlewareData:
|
|
1224
|
-
isPositioned:
|
|
1225
|
-
floatingStyles:
|
|
1219
|
+
x: Z(d),
|
|
1220
|
+
y: Z(m),
|
|
1221
|
+
strategy: Z(f),
|
|
1222
|
+
placement: Z(p),
|
|
1223
|
+
middlewareData: Z(h),
|
|
1224
|
+
isPositioned: Z(v),
|
|
1225
|
+
floatingStyles: g,
|
|
1226
1226
|
update: x
|
|
1227
1227
|
};
|
|
1228
1228
|
}
|
|
1229
|
-
var
|
|
1230
|
-
const
|
|
1229
|
+
var Qt = /* @__PURE__ */ ((t) => (t.TOP = "top", t.RIGHT = "right", t.BOTTOM = "bottom", t.LEFT = "left", t))(Qt || {}), Zt = /* @__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))(Zt || {}), te = /* @__PURE__ */ ((t) => (t.TOOLTIP = "tooltip", t.POPOVER = "dialog", t))(te || {});
|
|
1230
|
+
const Wt = { ...Qt, ...Zt }, an = (t, e) => t ? e[1] + 7 : e[1], fn = (t) => {
|
|
1231
1231
|
let e = Array.isArray(t) ? t : [t];
|
|
1232
1232
|
return e = e.filter((n) => n !== "auto" && n !== "auto-start" && n !== "auto-end").map((n) => n), {
|
|
1233
1233
|
fallbackPlacements: e
|
|
1234
1234
|
};
|
|
1235
|
-
}, un = {
|
|
1236
|
-
|
|
1237
|
-
|
|
1235
|
+
}, un = (t) => {
|
|
1236
|
+
let e = !1;
|
|
1237
|
+
return {
|
|
1238
|
+
name: "sameWidth",
|
|
1239
|
+
fn: ({ elements: n }) => {
|
|
1240
|
+
let o = "";
|
|
1241
|
+
if (t())
|
|
1242
|
+
o = `${n.reference.offsetWidth}px`, e = !0;
|
|
1243
|
+
else if (e)
|
|
1244
|
+
e = !1;
|
|
1245
|
+
else
|
|
1246
|
+
return {};
|
|
1247
|
+
return n.floating.style.width === o ? {} : (n.floating.style.width = o, { reset: { rects: !0 } });
|
|
1248
|
+
}
|
|
1249
|
+
};
|
|
1238
1250
|
}, dn = {}, mn = /* @__PURE__ */ ie({
|
|
1239
1251
|
...dn,
|
|
1240
1252
|
__name: "popper-container",
|
|
@@ -1245,7 +1257,7 @@ const Ht = { ...Jt, ...Qt }, an = (t, e) => t ? e[1] + 7 : e[1], fn = (t) => {
|
|
|
1245
1257
|
ariaRole: {
|
|
1246
1258
|
type: String,
|
|
1247
1259
|
default: null,
|
|
1248
|
-
validator: (t) => Object.values(
|
|
1260
|
+
validator: (t) => Object.values(te).includes(t)
|
|
1249
1261
|
},
|
|
1250
1262
|
/**
|
|
1251
1263
|
* Indicates if container should have additional arrow, pointing at target element
|
|
@@ -1315,8 +1327,8 @@ const Ht = { ...Jt, ...Qt }, an = (t, e) => t ? e[1] + 7 : e[1], fn = (t) => {
|
|
|
1315
1327
|
*/
|
|
1316
1328
|
position: {
|
|
1317
1329
|
type: String,
|
|
1318
|
-
default:
|
|
1319
|
-
validator: (t) => Object.values(
|
|
1330
|
+
default: Wt.AUTO,
|
|
1331
|
+
validator: (t) => Object.values(Wt).includes(t)
|
|
1320
1332
|
},
|
|
1321
1333
|
/**
|
|
1322
1334
|
* Reference to the DOM element or Vue component for positioning
|
|
@@ -1336,11 +1348,11 @@ const Ht = { ...Jt, ...Qt }, an = (t, e) => t ? e[1] + 7 : e[1], fn = (t) => {
|
|
|
1336
1348
|
},
|
|
1337
1349
|
emits: ["placement"],
|
|
1338
1350
|
setup(t, { emit: e }) {
|
|
1339
|
-
const n = t, {
|
|
1351
|
+
const n = t, { matchWidth: o, position: i } = re(n), s = j(), r = j(null), l = j(n.position), c = R(
|
|
1340
1352
|
() => n.targetElement.$el ? n.targetElement.$el : n.targetElement
|
|
1341
|
-
),
|
|
1342
|
-
() =>
|
|
1343
|
-
),
|
|
1353
|
+
), a = R(
|
|
1354
|
+
() => s.value.$el ? s.value.$el : s.value
|
|
1355
|
+
), u = R(() => n?.position !== "auto" && n?.fallbackPosition !== "auto"), d = R(() => {
|
|
1344
1356
|
switch (n.position) {
|
|
1345
1357
|
case "auto-start":
|
|
1346
1358
|
return { alignment: "start", crossAxis: !0 };
|
|
@@ -1349,56 +1361,61 @@ const Ht = { ...Jt, ...Qt }, an = (t, e) => t ? e[1] + 7 : e[1], fn = (t) => {
|
|
|
1349
1361
|
default:
|
|
1350
1362
|
return;
|
|
1351
1363
|
}
|
|
1352
|
-
}),
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1364
|
+
}), m = R(() => n.fixedPositioning ? "fixed" : "absolute"), f = un(() => o.value), p = R(() => [
|
|
1365
|
+
// Adds flip modifier if fallbackPosition is not set to auto
|
|
1366
|
+
...u.value ? [
|
|
1367
|
+
nn({
|
|
1368
|
+
fallbackPlacements: fn(n.fallbackPosition).fallbackPlacements,
|
|
1369
|
+
fallbackStrategy: n.fallbackStrategy
|
|
1370
|
+
})
|
|
1371
|
+
] : [],
|
|
1372
|
+
// Adds autoposition middlelare if position is set to any auto variants
|
|
1373
|
+
...u.value ? [] : [tn(d.value)],
|
|
1374
|
+
// Add shifting middle in case popper is still not fully visible in view port
|
|
1375
|
+
en(),
|
|
1376
|
+
// Adds offset middlelare if offset property is set
|
|
1377
|
+
...n.offset ? [Ze(an(n.arrow, n.offset))] : [],
|
|
1378
|
+
// Adds arrow middlelare if arrow property is set, can set additional padding property
|
|
1379
|
+
...n.arrow ? [ln({ element: r, padding: n.arrow.padding || 0 })] : [],
|
|
1380
|
+
// Adds same width middleware to keep popper width same as referenced element's width
|
|
1381
|
+
f,
|
|
1382
|
+
// If there is additional custom middleware to add via the property then add it
|
|
1383
|
+
...n.middleware?.length > 0 ? n.middleware : []
|
|
1384
|
+
]), h = Ht(p.value);
|
|
1385
|
+
q(p, (y) => {
|
|
1386
|
+
h.value = y;
|
|
1387
|
+
});
|
|
1388
|
+
const { floatingStyles: v, middlewareData: g, placement: w, update: x } = cn(c, s, {
|
|
1389
|
+
placement: i,
|
|
1390
|
+
middleware: h,
|
|
1391
|
+
strategy: m,
|
|
1376
1392
|
// If we're mounting the element with a `v-if` then we need to auto update it while it's mounted
|
|
1377
1393
|
...n.isHidden === null ? { whileElementsMounted: kt } : []
|
|
1378
1394
|
});
|
|
1379
|
-
|
|
1380
|
-
|
|
1395
|
+
q(o, () => x());
|
|
1396
|
+
let b;
|
|
1397
|
+
q(
|
|
1381
1398
|
() => n.isHidden,
|
|
1382
1399
|
() => {
|
|
1383
|
-
n.isHidden !== null && !n.isHidden ?
|
|
1400
|
+
n.isHidden !== null && !n.isHidden ? b = kt(c?.value, a?.value, x) : n.isHidden !== null && n.isHidden && typeof b == "function" && b();
|
|
1384
1401
|
}
|
|
1385
|
-
),
|
|
1386
|
-
() =>
|
|
1402
|
+
), q(
|
|
1403
|
+
() => w.value,
|
|
1387
1404
|
() => {
|
|
1388
|
-
|
|
1405
|
+
l.value !== w.value && (l.value = w.value, e("placement", l.value));
|
|
1389
1406
|
}
|
|
1390
1407
|
);
|
|
1391
|
-
const
|
|
1408
|
+
const A = R(() => ({
|
|
1392
1409
|
position: "absolute",
|
|
1393
|
-
left:
|
|
1394
|
-
top:
|
|
1395
|
-
})),
|
|
1410
|
+
left: g.value.arrow?.x != null ? `${g.value.arrow.x}px` : "",
|
|
1411
|
+
top: g.value.arrow?.y != null ? `${g.value.arrow.y}px` : ""
|
|
1412
|
+
})), O = R(() => ({
|
|
1396
1413
|
class: n.arrow.classes,
|
|
1397
|
-
style:
|
|
1414
|
+
style: A.value,
|
|
1398
1415
|
// Applies a data-hide attribute to arrow element depending on center offset.
|
|
1399
|
-
...
|
|
1416
|
+
...g.value.arrow?.centerOffset !== 0 ? { "data-hide": "" } : {}
|
|
1400
1417
|
}));
|
|
1401
|
-
return { __sfc: !0, props: n, emit: e,
|
|
1418
|
+
return { __sfc: !0, props: n, emit: e, matchWidth: o, position: i, popperContainerRef: s, floatingArrow: r, emittedPosition: l, targetElement: c, popperContainerElement: a, isFlipMiddleware: u, getAutoPlacementProps: d, strategy: m, sameWidthMiddleware: f, middlewareConfig: p, floatingMiddleware: h, floatingStyles: v, middlewareData: g, placement: w, update: x, cleanupAutoUpdate: b, arrowStyles: A, arrowAttributes: O, BentoFocusTrap: se };
|
|
1402
1419
|
}
|
|
1403
1420
|
});
|
|
1404
1421
|
var pn = function() {
|
|
@@ -1410,16 +1427,16 @@ var pn = function() {
|
|
|
1410
1427
|
gn,
|
|
1411
1428
|
!1,
|
|
1412
1429
|
null,
|
|
1413
|
-
"
|
|
1430
|
+
"5554893f"
|
|
1414
1431
|
);
|
|
1415
1432
|
const On = hn.exports;
|
|
1416
1433
|
export {
|
|
1417
1434
|
On as P,
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1435
|
+
te as a,
|
|
1436
|
+
Wt as b,
|
|
1437
|
+
Qt as c,
|
|
1438
|
+
Zt as d,
|
|
1422
1439
|
bn as h,
|
|
1423
1440
|
Ze as o
|
|
1424
1441
|
};
|
|
1425
|
-
//# sourceMappingURL=popper-container.
|
|
1442
|
+
//# sourceMappingURL=popper-container.Cj3AWXSd.js.map
|