@adyen/bento-vue2 1.50.0 → 1.52.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 +513 -608
- package/dist/accordion.js +1 -1
- package/dist/action-bar.js +1 -1
- package/dist/alert.js +1 -1
- package/dist/assets/accordion-item.css +1 -1
- package/dist/assets/action-bar.css +1 -1
- package/dist/assets/alert.css +1 -1
- package/dist/assets/base-modal.css +1 -1
- package/dist/assets/button-actions-with-menu.css +1 -1
- package/dist/assets/calendar.css +1 -1
- package/dist/assets/card.css +1 -1
- package/dist/assets/checkbox-input.css +1 -1
- package/dist/assets/checkbox.css +1 -1
- package/dist/assets/copy.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/dropdown.css +1 -1
- package/dist/assets/file-uploader.css +1 -1
- package/dist/assets/filter-bar.css +1 -1
- package/dist/assets/form-layout-title.css +1 -1
- package/dist/assets/input-field-password.css +1 -1
- package/dist/assets/input-field-phone-number.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/menu.css +1 -1
- package/dist/assets/modal-fullscreen.css +1 -1
- package/dist/assets/pagination.css +1 -1
- package/dist/assets/payment-method.css +1 -1
- package/dist/assets/popover.css +1 -1
- package/dist/assets/search-bar.css +1 -1
- package/dist/assets/sidepanel.css +1 -1
- package/dist/assets/timeline-item.css +1 -1
- package/dist/assets/tutorial.css +1 -1
- package/dist/assets/use-cached-selected-values.css +1 -1
- package/dist/button.js +3 -3
- package/dist/card.js +1 -1
- package/dist/checkbox.js +3 -3
- package/dist/chip.js +1 -1
- package/dist/chunks/{accordion-item.CTxrEQEW.js → accordion-item.C4tyRMCt.js} +2 -2
- package/dist/chunks/{accordion-item.CTxrEQEW.js.map → accordion-item.C4tyRMCt.js.map} +1 -1
- package/dist/chunks/{action-bar.CGJJrMpa.js → action-bar.DuJkjAt1.js} +7 -7
- package/dist/chunks/{action-bar.CGJJrMpa.js.map → action-bar.DuJkjAt1.js.map} +1 -1
- package/dist/chunks/{alert.hiTIDSeX.js → alert.BkMKX9wD.js} +15 -14
- package/dist/chunks/alert.BkMKX9wD.js.map +1 -0
- package/dist/chunks/{base-modal.8kcvtFRx.js → base-modal.CiTysydg.js} +6 -6
- package/dist/chunks/{base-modal.8kcvtFRx.js.map → base-modal.CiTysydg.js.map} +1 -1
- package/dist/chunks/button-actions-with-menu.B9oXYIgo.js +166 -0
- package/dist/chunks/button-actions-with-menu.B9oXYIgo.js.map +1 -0
- package/dist/chunks/{button-actions.BovYBINL.js → button-actions.DAvSJtOB.js} +4 -4
- package/dist/chunks/{button-actions.BovYBINL.js.map → button-actions.DAvSJtOB.js.map} +1 -1
- package/dist/chunks/{button.CdAFZa4V.js → button.D-3uUhuG.js} +2 -2
- package/dist/chunks/{button.CdAFZa4V.js.map → button.D-3uUhuG.js.map} +1 -1
- package/dist/chunks/calendar.Bq67h02Z.js +1130 -0
- package/dist/chunks/calendar.Bq67h02Z.js.map +1 -0
- package/dist/chunks/{card.D-w9c3-n.js → card.AQO_BjGb.js} +3 -3
- package/dist/chunks/{card.D-w9c3-n.js.map → card.AQO_BjGb.js.map} +1 -1
- package/dist/chunks/{checkbox-group.wa6Mtmxa.js → checkbox-group.CqSIn-lG.js} +4 -4
- package/dist/chunks/{checkbox-group.wa6Mtmxa.js.map → checkbox-group.CqSIn-lG.js.map} +1 -1
- package/dist/chunks/checkbox-input.CMhyJDdo.js +129 -0
- package/dist/chunks/checkbox-input.CMhyJDdo.js.map +1 -0
- package/dist/chunks/checkbox.BeYtbfPv.js +170 -0
- package/dist/chunks/checkbox.BeYtbfPv.js.map +1 -0
- package/dist/chunks/checkmark-circle-fill.DZBl7CeY.js +24 -0
- package/dist/chunks/checkmark-circle-fill.DZBl7CeY.js.map +1 -0
- package/dist/chunks/{checkmark-small.BtF8b2gE.js → checkmark-small.C8T8ISN6.js} +4 -4
- package/dist/chunks/checkmark-small.C8T8ISN6.js.map +1 -0
- package/dist/chunks/{chevron-left.PIu6yPqe.js → chevron-left.DOMTgGel.js} +6 -6
- package/dist/chunks/chevron-left.DOMTgGel.js.map +1 -0
- package/dist/chunks/{chevron-up.DVfo78kV.js → chevron-up.CSVyoaTy.js} +6 -6
- package/dist/chunks/chevron-up.CSVyoaTy.js.map +1 -0
- package/dist/chunks/{chip.HNUA9VZl.js → chip.BeK9uqmW.js} +24 -21
- package/dist/chunks/chip.BeK9uqmW.js.map +1 -0
- package/dist/chunks/{code-snippet.3s8WCnke.js → code-snippet.CW42FdpP.js} +7 -7
- package/dist/chunks/{code-snippet.3s8WCnke.js.map → code-snippet.CW42FdpP.js.map} +1 -1
- package/dist/chunks/{controls-group.BnDPMaGI.js → controls-group.D0_cJaFF.js} +2 -2
- package/dist/chunks/{controls-group.BnDPMaGI.js.map → controls-group.D0_cJaFF.js.map} +1 -1
- package/dist/chunks/{copy.DMlIj53I.js → copy.2iD8aI5a.js} +7 -6
- package/dist/chunks/copy.2iD8aI5a.js.map +1 -0
- package/dist/chunks/{cross-circle-fill-small.Oj6lPaDy.js → cross-circle-fill-small.YhLgeipP.js} +4 -4
- package/dist/chunks/cross-circle-fill-small.YhLgeipP.js.map +1 -0
- package/dist/chunks/cross-circle-fill.Ra0-PIUo.js +24 -0
- package/dist/chunks/cross-circle-fill.Ra0-PIUo.js.map +1 -0
- package/dist/chunks/{cross-small.BLUwtRB-.js → cross-small.CZqsjZDz.js} +4 -4
- package/dist/chunks/cross-small.CZqsjZDz.js.map +1 -0
- package/dist/chunks/{cross.CsUPDmaA.js → cross.CJ5EEL2c.js} +4 -4
- package/dist/chunks/cross.CJ5EEL2c.js.map +1 -0
- package/dist/chunks/{dashboard-section.BgyN5u0K.js → dashboard-section.Cmulh6WM.js} +4 -4
- package/dist/chunks/{dashboard-section.BgyN5u0K.js.map → dashboard-section.Cmulh6WM.js.map} +1 -1
- package/dist/chunks/{dashed-underline.Cvn5IoHT.js → dashed-underline.eMF75SuT.js} +3 -3
- package/dist/chunks/{dashed-underline.Cvn5IoHT.js.map → dashed-underline.eMF75SuT.js.map} +1 -1
- package/dist/chunks/{data-grid-template.DtWM0Tnu.js → data-grid-template.CdHnPE1-.js} +3 -3
- package/dist/chunks/{data-grid-template.DtWM0Tnu.js.map → data-grid-template.CdHnPE1-.js.map} +1 -1
- package/dist/chunks/{data-grid.N5Rxo6QB.js → data-grid.DedjAz4_.js} +38 -37
- package/dist/chunks/data-grid.DedjAz4_.js.map +1 -0
- package/dist/chunks/date-picker.BdMr3Sn2.js +235 -0
- package/dist/chunks/date-picker.BdMr3Sn2.js.map +1 -0
- package/dist/chunks/date-range-picker.BHfvD0GK.js +903 -0
- package/dist/chunks/date-range-picker.BHfvD0GK.js.map +1 -0
- package/dist/chunks/{date.YLIcAerL.js → date.dYFFEunA.js} +12 -12
- package/dist/chunks/{date.YLIcAerL.js.map → date.dYFFEunA.js.map} +1 -1
- package/dist/chunks/{dialog-page.Bf07JxdG.js → dialog-page.BfF5_hmG.js} +5 -4
- package/dist/chunks/dialog-page.BfF5_hmG.js.map +1 -0
- package/dist/chunks/{dot.BCX4w7eT.js → dot.CnkXzRn3.js} +4 -4
- package/dist/chunks/dot.CnkXzRn3.js.map +1 -0
- package/dist/chunks/{dropdown-default-textbox.CC9Z_RFG.js → dropdown-default-textbox.CDTdHfTv.js} +4 -4
- package/dist/chunks/{dropdown-default-textbox.CC9Z_RFG.js.map → dropdown-default-textbox.CDTdHfTv.js.map} +1 -1
- package/dist/chunks/{dropdown-tag.ClUMccWv.js → dropdown-tag.CvZ1jckk.js} +4 -4
- package/dist/chunks/{dropdown-tag.ClUMccWv.js.map → dropdown-tag.CvZ1jckk.js.map} +1 -1
- package/dist/chunks/{dropdown.CC1i41NX.js → dropdown.CcHoKbLz.js} +241 -232
- package/dist/chunks/dropdown.CcHoKbLz.js.map +1 -0
- package/dist/chunks/{empty-state.BnHTBgKG.js → empty-state.JbgxSrnv.js} +2 -2
- package/dist/chunks/{empty-state.BnHTBgKG.js.map → empty-state.JbgxSrnv.js.map} +1 -1
- package/dist/chunks/{error-message.xTNEaNn8.js → error-message.B1-ekAMa.js} +3 -3
- package/dist/chunks/{error-message.xTNEaNn8.js.map → error-message.B1-ekAMa.js.map} +1 -1
- package/dist/chunks/es6.BtaxuP0b.js.map +1 -1
- package/dist/chunks/{expand.CwwKq7Uc.js → expand.C263WARj.js} +4 -4
- package/dist/chunks/expand.C263WARj.js.map +1 -0
- package/dist/chunks/{file-uploader.DTkxh9Ct.js → file-uploader.Dlfzh5QQ.js} +17 -16
- package/dist/chunks/file-uploader.Dlfzh5QQ.js.map +1 -0
- package/dist/chunks/{filter-bar.gj9sdW5T.js → filter-bar.CwqoJGiK.js} +735 -844
- package/dist/chunks/filter-bar.CwqoJGiK.js.map +1 -0
- package/dist/chunks/{fixed-scroller.DX2YUuoU.js → fixed-scroller.BwvXYzE6.js} +3 -3
- package/dist/chunks/{fixed-scroller.DX2YUuoU.js.map → fixed-scroller.BwvXYzE6.js.map} +1 -1
- package/dist/chunks/{focus-trap._RrLaKlq.js → focus-trap.CWlKh48z.js} +2 -2
- package/dist/chunks/{focus-trap._RrLaKlq.js.map → focus-trap.CWlKh48z.js.map} +1 -1
- package/dist/chunks/{footer-actions.BsoofCrv.js → footer-actions.BkHpWa7A.js} +3 -3
- package/dist/chunks/{footer-actions.BsoofCrv.js.map → footer-actions.BkHpWa7A.js.map} +1 -1
- package/dist/chunks/{form-layout-title.CJbgfh3P.js → form-layout-title.DK1-01RH.js} +50 -47
- package/dist/chunks/form-layout-title.DK1-01RH.js.map +1 -0
- package/dist/chunks/header.BAKjEGmH.js +183 -0
- package/dist/chunks/header.BAKjEGmH.js.map +1 -0
- package/dist/chunks/{index.CU8GKq4C.js → index.-wO_BQCb.js} +2 -1
- package/dist/chunks/{index.CU8GKq4C.js.map → index.-wO_BQCb.js.map} +1 -1
- package/dist/chunks/index.BDuTpjD8.js +40 -0
- package/dist/chunks/index.BDuTpjD8.js.map +1 -0
- package/dist/chunks/index.BxBB1rsx.js +15 -0
- package/dist/chunks/index.BxBB1rsx.js.map +1 -0
- package/dist/chunks/index.DD7TppDb.js +10 -0
- package/dist/chunks/index.DD7TppDb.js.map +1 -0
- package/dist/chunks/{info-icon-with-popover.B0zJWJZn.js → info-icon-with-popover.CxXWP4TR.js} +3 -3
- package/dist/chunks/{info-icon-with-popover.B0zJWJZn.js.map → info-icon-with-popover.CxXWP4TR.js.map} +1 -1
- package/dist/chunks/{info-icon.C4_l0WAf.js → info-icon.D3neDWqH.js} +4 -4
- package/dist/chunks/{info-icon.C4_l0WAf.js.map → info-icon.D3neDWqH.js.map} +1 -1
- package/dist/chunks/info.4d_mJHvT.js +24 -0
- package/dist/chunks/info.4d_mJHvT.js.map +1 -0
- package/dist/chunks/{input-field-password.PU9SY4FC.js → input-field-password.CO0lAgMh.js} +73 -70
- package/dist/chunks/input-field-password.CO0lAgMh.js.map +1 -0
- package/dist/chunks/{input-field-phone-number.D2juJ9ZD.js → input-field-phone-number.TXnK0dch.js} +324 -321
- package/dist/chunks/{input-field-phone-number.D2juJ9ZD.js.map → input-field-phone-number.TXnK0dch.js.map} +1 -1
- package/dist/chunks/input-field.De4sp76g.js +152 -0
- package/dist/chunks/input-field.De4sp76g.js.map +1 -0
- package/dist/chunks/{inspector.types.BtgXpTC7.js → inspector.types.ClnPOYmb.js} +6 -6
- package/dist/chunks/{inspector.types.BtgXpTC7.js.map → inspector.types.ClnPOYmb.js.map} +1 -1
- package/dist/chunks/{layout-row.CHwDU8yK.js → layout-row.dh2VyGoD.js} +2 -2
- package/dist/chunks/{layout-row.CHwDU8yK.js.map → layout-row.dh2VyGoD.js.map} +1 -1
- package/dist/chunks/{link.DZlbzVSB.js → link.BH3eB_7E.js} +4 -3
- package/dist/chunks/link.BH3eB_7E.js.map +1 -0
- package/dist/chunks/{listbox-option-tag.BJBWnC2r.js → listbox-option-tag.xGQr3Su1.js} +2 -2
- package/dist/chunks/{listbox-option-tag.BJBWnC2r.js.map → listbox-option-tag.xGQr3Su1.js.map} +1 -1
- package/dist/chunks/{menu.BC7ynpgF.js → menu.li3Kg9Uq.js} +227 -194
- package/dist/chunks/menu.li3Kg9Uq.js.map +1 -0
- package/dist/chunks/{modal-fullscreen.Dz3kSuTz.js → modal-fullscreen.C4eL63TC.js} +6 -6
- package/dist/chunks/{modal-fullscreen.Dz3kSuTz.js.map → modal-fullscreen.C4eL63TC.js.map} +1 -1
- package/dist/chunks/{modal.DV55hSPn.js → modal.BpDz0Dhc.js} +5 -5
- package/dist/chunks/{modal.DV55hSPn.js.map → modal.BpDz0Dhc.js.map} +1 -1
- package/dist/chunks/{pagination.CT-h2q0J.js → pagination.FuELftBG.js} +6 -5
- package/dist/chunks/pagination.FuELftBG.js.map +1 -0
- package/dist/chunks/payment-method.NZKiNOmM.js +76 -0
- package/dist/chunks/payment-method.NZKiNOmM.js.map +1 -0
- package/dist/chunks/{popover.CRdrSmFW.js → popover.Cb6utVhS.js} +29 -22
- package/dist/chunks/{popover.CRdrSmFW.js.map → popover.Cb6utVhS.js.map} +1 -1
- package/dist/chunks/{popper-container.CsW4R0-t.js → popper-container.CiEkF7eb.js} +356 -352
- package/dist/chunks/popper-container.CiEkF7eb.js.map +1 -0
- package/dist/chunks/{promo-banner.BNXfyv3h.js → promo-banner.PnHud5Wi.js} +3 -3
- package/dist/chunks/{promo-banner.BNXfyv3h.js.map → promo-banner.PnHud5Wi.js.map} +1 -1
- package/dist/chunks/{radio-group.CUgib4vp.js → radio-group._8PsjPCZ.js} +4 -4
- package/dist/chunks/{radio-group.CUgib4vp.js.map → radio-group._8PsjPCZ.js.map} +1 -1
- package/dist/chunks/{refresh.BKI9WwKh.js → refresh.Bc9FzGjJ.js} +4 -4
- package/dist/chunks/refresh.Bc9FzGjJ.js.map +1 -0
- package/dist/chunks/{search-bar.bMOGN8_E.js → search-bar.CVY2e8_B.js} +28 -46
- package/dist/chunks/search-bar.CVY2e8_B.js.map +1 -0
- package/dist/chunks/search.DLtglc02.js +24 -0
- package/dist/chunks/search.DLtglc02.js.map +1 -0
- package/dist/chunks/{secondary-nav.C9sm93do.js → secondary-nav.LxcuTR16.js} +3 -3
- package/dist/chunks/{secondary-nav.C9sm93do.js.map → secondary-nav.LxcuTR16.js.map} +1 -1
- package/dist/chunks/{segmented-control.BxCcPbKd.js → segmented-control.D69WXQGh.js} +2 -2
- package/dist/chunks/{segmented-control.BxCcPbKd.js.map → segmented-control.D69WXQGh.js.map} +1 -1
- package/dist/chunks/{selection-card-group.0O3gmtoi.js → selection-card-group.MTKkCBeK.js} +11 -11
- package/dist/chunks/{selection-card-group.0O3gmtoi.js.map → selection-card-group.MTKkCBeK.js.map} +1 -1
- package/dist/chunks/{show.IEAxtCB7.js → show.e4LEpZKG.js} +6 -6
- package/dist/chunks/show.e4LEpZKG.js.map +1 -0
- package/dist/chunks/{sidepanel.Dp6dKRnq.js → sidepanel.BStCbRqN.js} +6 -6
- package/dist/chunks/{sidepanel.Dp6dKRnq.js.map → sidepanel.BStCbRqN.js.map} +1 -1
- package/dist/chunks/{step.DrP2Frvn.js → step.CuOpi-Ye.js} +3 -3
- package/dist/chunks/{step.DrP2Frvn.js.map → step.CuOpi-Ye.js.map} +1 -1
- package/dist/chunks/{structured-list-item.DrY71Ndc.js → structured-list-item.CeosjL40.js} +6 -6
- package/dist/chunks/{structured-list-item.DrY71Ndc.js.map → structured-list-item.CeosjL40.js.map} +1 -1
- package/dist/chunks/{summary-grid-item-custom.CXs6AMS4.js → summary-grid-item-custom.CF_TS7oA.js} +4 -4
- package/dist/chunks/{summary-grid-item-custom.CXs6AMS4.js.map → summary-grid-item-custom.CF_TS7oA.js.map} +1 -1
- package/dist/chunks/{tabs.5zgaD1k3.js → tabs.UFoTqvew.js} +2 -2
- package/dist/chunks/{tabs.5zgaD1k3.js.map → tabs.UFoTqvew.js.map} +1 -1
- package/dist/chunks/{tag.CevG31iQ.js → tag.OgtZ3-ql.js} +2 -2
- package/dist/chunks/{tag.CevG31iQ.js.map → tag.OgtZ3-ql.js.map} +1 -1
- package/dist/chunks/{textarea.DHbXaxdU.js → textarea.BEISPJua.js} +4 -4
- package/dist/chunks/{textarea.DHbXaxdU.js.map → textarea.BEISPJua.js.map} +1 -1
- package/dist/chunks/{timeline-item.C4HOsaEG.js → timeline-item.BeWMuM8A.js} +15 -13
- package/dist/chunks/timeline-item.BeWMuM8A.js.map +1 -0
- package/dist/chunks/{toast.C5I7Wsfa.js → toast.DqSWycRO.js} +3 -3
- package/dist/chunks/{toast.C5I7Wsfa.js.map → toast.DqSWycRO.js.map} +1 -1
- package/dist/chunks/{toggle-button.DK4H4sHT.js → toggle-button.DgSFugBP.js} +2 -2
- package/dist/chunks/{toggle-button.DK4H4sHT.js.map → toggle-button.DgSFugBP.js.map} +1 -1
- package/dist/chunks/{toggle.CyaY0U0K.js → toggle.Q52IIKfi.js} +2 -2
- package/dist/chunks/{toggle.CyaY0U0K.js.map → toggle.Q52IIKfi.js.map} +1 -1
- package/dist/chunks/{tooltip.Bu8o7uyZ.js → tooltip.RPURZd36.js} +2 -2
- package/dist/chunks/{tooltip.Bu8o7uyZ.js.map → tooltip.RPURZd36.js.map} +1 -1
- package/dist/chunks/{tutorial.BbQox1EZ.js → tutorial.Ba8PTa0x.js} +10 -9
- package/dist/chunks/tutorial.Ba8PTa0x.js.map +1 -0
- package/dist/chunks/use-cached-selected-values.CxlYYUbd.js +1164 -0
- package/dist/chunks/use-cached-selected-values.CxlYYUbd.js.map +1 -0
- package/dist/chunks/{warning-filled.CLKRzGMT.js → warning-filled.Cd0kVWwa.js} +4 -4
- package/dist/chunks/warning-filled.Cd0kVWwa.js.map +1 -0
- 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.js +1 -1
- package/dist/dropdown.js +4 -4
- 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.js +1 -1
- package/dist/index.js +61 -61
- 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/inspector.js +1 -1
- package/dist/internal.js +35 -33
- package/dist/layout.js +1 -1
- package/dist/link.js +1 -1
- package/dist/menu.js +1 -1
- package/dist/modal-fullscreen.js +1 -1
- package/dist/modal.js +2 -2
- package/dist/pagination.js +1 -1
- package/dist/payment-method.js +1 -1
- package/dist/popover.js +1 -1
- package/dist/popper-container.js +1 -1
- package/dist/promo-banner.js +1 -1
- package/dist/radio-group.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 +30 -4
- package/dist/styles/bento-light.css +30 -4
- package/dist/styles/bento.css +30 -4
- package/dist/styles/legacy.css +32 -6
- package/dist/styles/styleguide.css +30 -4
- package/dist/styles/utility.css +2 -2
- package/dist/summary-grid.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 +512 -195
- package/package.json +6 -6
- package/dist/chunks/alert.hiTIDSeX.js.map +0 -1
- package/dist/chunks/button-actions-with-menu.C5OE7oOu.js +0 -112
- package/dist/chunks/button-actions-with-menu.C5OE7oOu.js.map +0 -1
- package/dist/chunks/calendar.Bb0-Svhx.js +0 -888
- package/dist/chunks/calendar.Bb0-Svhx.js.map +0 -1
- package/dist/chunks/checkbox-input.Bo4NxNOh.js +0 -127
- package/dist/chunks/checkbox-input.Bo4NxNOh.js.map +0 -1
- package/dist/chunks/checkbox.BPvnJrvd.js +0 -162
- package/dist/chunks/checkbox.BPvnJrvd.js.map +0 -1
- package/dist/chunks/checkmark-circle-fill.Cn7JN_Tk.js +0 -24
- package/dist/chunks/checkmark-circle-fill.Cn7JN_Tk.js.map +0 -1
- package/dist/chunks/checkmark-small.BtF8b2gE.js.map +0 -1
- package/dist/chunks/chevron-left.PIu6yPqe.js.map +0 -1
- package/dist/chunks/chevron-up.DVfo78kV.js.map +0 -1
- package/dist/chunks/chip.HNUA9VZl.js.map +0 -1
- package/dist/chunks/copy.DMlIj53I.js.map +0 -1
- package/dist/chunks/cross-circle-fill-small.Oj6lPaDy.js.map +0 -1
- package/dist/chunks/cross-circle-fill.CnYH4R_h.js +0 -24
- package/dist/chunks/cross-circle-fill.CnYH4R_h.js.map +0 -1
- package/dist/chunks/cross-small.BLUwtRB-.js.map +0 -1
- package/dist/chunks/cross.CsUPDmaA.js.map +0 -1
- package/dist/chunks/data-grid.N5Rxo6QB.js.map +0 -1
- package/dist/chunks/date-picker.Byv5Z-Xj.js +0 -213
- package/dist/chunks/date-picker.Byv5Z-Xj.js.map +0 -1
- package/dist/chunks/date-range-picker.CUS9Q53T.js +0 -884
- package/dist/chunks/date-range-picker.CUS9Q53T.js.map +0 -1
- package/dist/chunks/dialog-page.Bf07JxdG.js.map +0 -1
- package/dist/chunks/dot.BCX4w7eT.js.map +0 -1
- package/dist/chunks/dropdown.CC1i41NX.js.map +0 -1
- package/dist/chunks/expand.CwwKq7Uc.js.map +0 -1
- package/dist/chunks/file-uploader.DTkxh9Ct.js.map +0 -1
- package/dist/chunks/filter-bar.gj9sdW5T.js.map +0 -1
- package/dist/chunks/form-layout-title.CJbgfh3P.js.map +0 -1
- package/dist/chunks/header.5rAXro_L.js +0 -205
- package/dist/chunks/header.5rAXro_L.js.map +0 -1
- package/dist/chunks/index.CrhTVr5J.js +0 -10
- package/dist/chunks/index.CrhTVr5J.js.map +0 -1
- package/dist/chunks/index.DDnf1O9p.js +0 -22
- package/dist/chunks/index.DDnf1O9p.js.map +0 -1
- package/dist/chunks/index.DPafeRJa.js +0 -10
- package/dist/chunks/index.DPafeRJa.js.map +0 -1
- package/dist/chunks/info.CyeBsLgt.js +0 -24
- package/dist/chunks/info.CyeBsLgt.js.map +0 -1
- package/dist/chunks/input-field-password.PU9SY4FC.js.map +0 -1
- package/dist/chunks/input-field.BPbe00eB.js +0 -236
- package/dist/chunks/input-field.BPbe00eB.js.map +0 -1
- package/dist/chunks/link.DZlbzVSB.js.map +0 -1
- package/dist/chunks/menu.BC7ynpgF.js.map +0 -1
- package/dist/chunks/pagination.CT-h2q0J.js.map +0 -1
- package/dist/chunks/payment-method.Bu76jY3c.js +0 -59
- package/dist/chunks/payment-method.Bu76jY3c.js.map +0 -1
- package/dist/chunks/popper-container.CsW4R0-t.js.map +0 -1
- package/dist/chunks/refresh.BKI9WwKh.js.map +0 -1
- package/dist/chunks/search-bar.bMOGN8_E.js.map +0 -1
- package/dist/chunks/search.CBKhp7zB.js +0 -24
- package/dist/chunks/search.CBKhp7zB.js.map +0 -1
- package/dist/chunks/show.IEAxtCB7.js.map +0 -1
- package/dist/chunks/timeline-item.C4HOsaEG.js.map +0 -1
- package/dist/chunks/truncate.BfIl_-71.js +0 -8
- package/dist/chunks/truncate.BfIl_-71.js.map +0 -1
- package/dist/chunks/tutorial.BbQox1EZ.js.map +0 -1
- package/dist/chunks/use-cached-selected-values.a_5Iw6Dh.js +0 -1305
- package/dist/chunks/use-cached-selected-values.a_5Iw6Dh.js.map +0 -1
- package/dist/chunks/warning-filled.CLKRzGMT.js.map +0 -1
- /package/dist/assets/{cross.css → main.css} +0 -0
|
@@ -1,58 +1,58 @@
|
|
|
1
|
-
import { computed as
|
|
1
|
+
import { computed as R, unref as tt, ref as z, shallowRef as Zt, watch as it, getCurrentScope as te, onScopeDispose as ee, shallowReadonly as Z, defineComponent as ne, toRefs as oe } from "vue";
|
|
2
2
|
import "./index.Cl4_42j5.js";
|
|
3
|
-
import { B as
|
|
4
|
-
import { n as
|
|
3
|
+
import { B as ie } from "./focus-trap.CWlKh48z.js";
|
|
4
|
+
import { n as re } from "./_plugin-vue2_normalizer.CeySl7Fu.js";
|
|
5
5
|
import "../assets/popper-container.css";
|
|
6
|
-
const
|
|
6
|
+
const Ht = ["top", "right", "bottom", "left"], _t = ["start", "end"], Et = /* @__PURE__ */ Ht.reduce((t, e) => t.concat(e, e + "-" + _t[0], e + "-" + _t[1]), []), nt = Math.min, G = Math.max, at = Math.round, ct = Math.floor, M = (t) => ({
|
|
7
7
|
x: t,
|
|
8
8
|
y: t
|
|
9
|
-
}),
|
|
9
|
+
}), se = {
|
|
10
10
|
left: "right",
|
|
11
11
|
right: "left",
|
|
12
12
|
bottom: "top",
|
|
13
13
|
top: "bottom"
|
|
14
|
-
},
|
|
14
|
+
}, le = {
|
|
15
15
|
start: "end",
|
|
16
16
|
end: "start"
|
|
17
17
|
};
|
|
18
|
-
function
|
|
19
|
-
return
|
|
18
|
+
function wt(t, e, n) {
|
|
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
|
-
function
|
|
24
|
+
function V(t) {
|
|
25
25
|
return t.split("-")[0];
|
|
26
26
|
}
|
|
27
|
-
function
|
|
27
|
+
function B(t) {
|
|
28
28
|
return t.split("-")[1];
|
|
29
29
|
}
|
|
30
|
-
function
|
|
30
|
+
function Nt(t) {
|
|
31
31
|
return t === "x" ? "y" : "x";
|
|
32
32
|
}
|
|
33
|
-
function
|
|
33
|
+
function xt(t) {
|
|
34
34
|
return t === "y" ? "height" : "width";
|
|
35
35
|
}
|
|
36
|
-
function
|
|
37
|
-
return ["top", "bottom"].includes(
|
|
36
|
+
function X(t) {
|
|
37
|
+
return ["top", "bottom"].includes(V(t)) ? "y" : "x";
|
|
38
38
|
}
|
|
39
|
-
function
|
|
40
|
-
return
|
|
39
|
+
function bt(t) {
|
|
40
|
+
return Nt(X(t));
|
|
41
41
|
}
|
|
42
|
-
function
|
|
42
|
+
function Wt(t, e, n) {
|
|
43
43
|
n === void 0 && (n = !1);
|
|
44
|
-
const o =
|
|
44
|
+
const o = B(t), i = bt(t), s = xt(i);
|
|
45
45
|
let r = i === "x" ? o === (n ? "end" : "start") ? "right" : "left" : o === "start" ? "bottom" : "top";
|
|
46
|
-
return e.reference[s] > e.floating[s] && (r =
|
|
46
|
+
return e.reference[s] > e.floating[s] && (r = ut(r)), [r, ut(r)];
|
|
47
47
|
}
|
|
48
|
-
function
|
|
49
|
-
const e =
|
|
50
|
-
return [
|
|
48
|
+
function ce(t) {
|
|
49
|
+
const e = ut(t);
|
|
50
|
+
return [ft(t), e, ft(e)];
|
|
51
51
|
}
|
|
52
|
-
function
|
|
53
|
-
return t.replace(/start|end/g, (e) =>
|
|
52
|
+
function ft(t) {
|
|
53
|
+
return t.replace(/start|end/g, (e) => le[e]);
|
|
54
54
|
}
|
|
55
|
-
function
|
|
55
|
+
function ae(t, e, n) {
|
|
56
56
|
const o = ["left", "right"], i = ["right", "left"], s = ["top", "bottom"], r = ["bottom", "top"];
|
|
57
57
|
switch (t) {
|
|
58
58
|
case "top":
|
|
@@ -65,15 +65,15 @@ function ce(t, e, n) {
|
|
|
65
65
|
return [];
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
|
-
function
|
|
69
|
-
const i =
|
|
70
|
-
let s =
|
|
71
|
-
return i && (s = s.map((r) => r + "-" + i), e && (s = s.concat(s.map(
|
|
68
|
+
function fe(t, e, n, o) {
|
|
69
|
+
const i = B(t);
|
|
70
|
+
let s = ae(V(t), n === "start", o);
|
|
71
|
+
return i && (s = s.map((r) => r + "-" + i), e && (s = s.concat(s.map(ft)))), s;
|
|
72
72
|
}
|
|
73
|
-
function
|
|
74
|
-
return t.replace(/left|right|bottom|top/g, (e) =>
|
|
73
|
+
function ut(t) {
|
|
74
|
+
return t.replace(/left|right|bottom|top/g, (e) => se[e]);
|
|
75
75
|
}
|
|
76
|
-
function
|
|
76
|
+
function ue(t) {
|
|
77
77
|
return {
|
|
78
78
|
top: 0,
|
|
79
79
|
right: 0,
|
|
@@ -82,15 +82,15 @@ function fe(t) {
|
|
|
82
82
|
...t
|
|
83
83
|
};
|
|
84
84
|
}
|
|
85
|
-
function
|
|
86
|
-
return typeof t != "number" ?
|
|
85
|
+
function Vt(t) {
|
|
86
|
+
return typeof t != "number" ? ue(t) : {
|
|
87
87
|
top: t,
|
|
88
88
|
right: t,
|
|
89
89
|
bottom: t,
|
|
90
90
|
left: t
|
|
91
91
|
};
|
|
92
92
|
}
|
|
93
|
-
function
|
|
93
|
+
function dt(t) {
|
|
94
94
|
const {
|
|
95
95
|
x: e,
|
|
96
96
|
y: n,
|
|
@@ -108,12 +108,12 @@ function ut(t) {
|
|
|
108
108
|
y: n
|
|
109
109
|
};
|
|
110
110
|
}
|
|
111
|
-
function
|
|
111
|
+
function Dt(t, e, n) {
|
|
112
112
|
let {
|
|
113
113
|
reference: o,
|
|
114
114
|
floating: i
|
|
115
115
|
} = t;
|
|
116
|
-
const s =
|
|
116
|
+
const s = X(e), r = bt(e), l = xt(r), a = V(e), c = s === "y", d = o.x + o.width / 2 - i.width / 2, u = o.y + o.height / 2 - i.height / 2, m = o[l] / 2 - i[l] / 2;
|
|
117
117
|
let f;
|
|
118
118
|
switch (a) {
|
|
119
119
|
case "top":
|
|
@@ -146,7 +146,7 @@ function Et(t, e, n) {
|
|
|
146
146
|
y: o.y
|
|
147
147
|
};
|
|
148
148
|
}
|
|
149
|
-
switch (
|
|
149
|
+
switch (B(e)) {
|
|
150
150
|
case "start":
|
|
151
151
|
f[r] -= m * (n && c ? -1 : 1);
|
|
152
152
|
break;
|
|
@@ -156,7 +156,7 @@ function Et(t, e, n) {
|
|
|
156
156
|
}
|
|
157
157
|
return f;
|
|
158
158
|
}
|
|
159
|
-
const
|
|
159
|
+
const de = async (t, e, n) => {
|
|
160
160
|
const {
|
|
161
161
|
placement: o = "bottom",
|
|
162
162
|
strategy: i = "absolute",
|
|
@@ -170,7 +170,7 @@ const ue = async (t, e, n) => {
|
|
|
170
170
|
}), {
|
|
171
171
|
x: d,
|
|
172
172
|
y: u
|
|
173
|
-
} =
|
|
173
|
+
} = Dt(c, o, a), m = o, f = {}, p = 0;
|
|
174
174
|
for (let g = 0; g < l.length; g++) {
|
|
175
175
|
const {
|
|
176
176
|
name: w,
|
|
@@ -207,7 +207,7 @@ const ue = async (t, e, n) => {
|
|
|
207
207
|
}) : b.rects), {
|
|
208
208
|
x: d,
|
|
209
209
|
y: u
|
|
210
|
-
} =
|
|
210
|
+
} = Dt(c, m, a)), g = -1);
|
|
211
211
|
}
|
|
212
212
|
return {
|
|
213
213
|
x: d,
|
|
@@ -217,7 +217,7 @@ const ue = async (t, e, n) => {
|
|
|
217
217
|
middlewareData: f
|
|
218
218
|
};
|
|
219
219
|
};
|
|
220
|
-
async function
|
|
220
|
+
async function rt(t, e) {
|
|
221
221
|
var n;
|
|
222
222
|
e === void 0 && (e = {});
|
|
223
223
|
const {
|
|
@@ -233,7 +233,7 @@ async function it(t, e) {
|
|
|
233
233
|
elementContext: u = "floating",
|
|
234
234
|
altBoundary: m = !1,
|
|
235
235
|
padding: f = 0
|
|
236
|
-
} =
|
|
236
|
+
} = J(e, t), p = Vt(f), w = l[m ? u === "floating" ? "reference" : "floating" : u], h = dt(await s.getClippingRect({
|
|
237
237
|
element: (n = await (s.isElement == null ? void 0 : s.isElement(w))) == null || n ? w : w.contextElement || await (s.getDocumentElement == null ? void 0 : s.getDocumentElement(l.floating)),
|
|
238
238
|
boundary: c,
|
|
239
239
|
rootBoundary: d,
|
|
@@ -249,7 +249,7 @@ async function it(t, e) {
|
|
|
249
249
|
} : {
|
|
250
250
|
x: 1,
|
|
251
251
|
y: 1
|
|
252
|
-
}, b =
|
|
252
|
+
}, b = dt(s.convertOffsetParentRelativeRectToViewportRelativeRect ? await s.convertOffsetParentRelativeRectToViewportRelativeRect({
|
|
253
253
|
elements: l,
|
|
254
254
|
rect: v,
|
|
255
255
|
offsetParent: y,
|
|
@@ -262,7 +262,7 @@ async function it(t, e) {
|
|
|
262
262
|
right: (b.right - h.right + p.right) / O.x
|
|
263
263
|
};
|
|
264
264
|
}
|
|
265
|
-
const
|
|
265
|
+
const me = (t) => ({
|
|
266
266
|
name: "arrow",
|
|
267
267
|
options: t,
|
|
268
268
|
async fn(e) {
|
|
@@ -277,33 +277,33 @@ const de = (t) => ({
|
|
|
277
277
|
} = e, {
|
|
278
278
|
element: c,
|
|
279
279
|
padding: d = 0
|
|
280
|
-
} =
|
|
280
|
+
} = J(t, e) || {};
|
|
281
281
|
if (c == null)
|
|
282
282
|
return {};
|
|
283
|
-
const u =
|
|
283
|
+
const u = Vt(d), m = {
|
|
284
284
|
x: n,
|
|
285
285
|
y: o
|
|
286
|
-
}, f =
|
|
286
|
+
}, f = bt(i), p = xt(f), g = await r.getDimensions(c), w = f === "y", h = w ? "top" : "left", v = w ? "bottom" : "right", y = w ? "clientHeight" : "clientWidth", O = s.reference[p] + s.reference[f] - m[f] - s.floating[p], b = m[f] - s.reference[f], T = await (r.getOffsetParent == null ? void 0 : r.getOffsetParent(c));
|
|
287
287
|
let x = T ? T[y] : 0;
|
|
288
288
|
(!x || !await (r.isElement == null ? void 0 : r.isElement(T))) && (x = l.floating[y] || s.floating[p]);
|
|
289
|
-
const
|
|
289
|
+
const H = O / 2 - b / 2, S = x / 2 - g[p] / 2 - 1, A = nt(u[h], S), E = nt(u[v], S), N = A, Y = x - g[p] - E, P = x / 2 - g[p] / 2 + H, D = wt(N, P, Y), q = !a.arrow && B(i) != null && P !== D && s.reference[p] / 2 - (P < N ? A : E) - g[p] / 2 < 0, W = q ? P < N ? P - N : P - Y : 0;
|
|
290
290
|
return {
|
|
291
|
-
[f]: m[f] +
|
|
291
|
+
[f]: m[f] + W,
|
|
292
292
|
data: {
|
|
293
|
-
[f]:
|
|
294
|
-
centerOffset:
|
|
295
|
-
...
|
|
296
|
-
alignmentOffset:
|
|
293
|
+
[f]: D,
|
|
294
|
+
centerOffset: P - D - W,
|
|
295
|
+
...q && {
|
|
296
|
+
alignmentOffset: W
|
|
297
297
|
}
|
|
298
298
|
},
|
|
299
|
-
reset:
|
|
299
|
+
reset: q
|
|
300
300
|
};
|
|
301
301
|
}
|
|
302
302
|
});
|
|
303
|
-
function
|
|
304
|
-
return (t ? [...n.filter((i) =>
|
|
303
|
+
function pe(t, e, n) {
|
|
304
|
+
return (t ? [...n.filter((i) => B(i) === t), ...n.filter((i) => B(i) !== t)] : n.filter((i) => V(i) === i)).filter((i) => t ? B(i) === t || (e ? ft(i) !== i : !1) : !0);
|
|
305
305
|
}
|
|
306
|
-
const
|
|
306
|
+
const ge = function(t) {
|
|
307
307
|
return t === void 0 && (t = {}), {
|
|
308
308
|
name: "autoPlacement",
|
|
309
309
|
options: t,
|
|
@@ -318,20 +318,20 @@ const pe = function(t) {
|
|
|
318
318
|
} = e, {
|
|
319
319
|
crossAxis: d = !1,
|
|
320
320
|
alignment: u,
|
|
321
|
-
allowedPlacements: m =
|
|
321
|
+
allowedPlacements: m = Et,
|
|
322
322
|
autoAlignment: f = !0,
|
|
323
323
|
...p
|
|
324
|
-
} =
|
|
324
|
+
} = J(t, e), g = u !== void 0 || m === Et ? pe(u || null, f, m) : m, w = await rt(e, p), h = ((n = r.autoPlacement) == null ? void 0 : n.index) || 0, v = g[h];
|
|
325
325
|
if (v == null)
|
|
326
326
|
return {};
|
|
327
|
-
const y =
|
|
327
|
+
const y = Wt(v, s, await (a.isRTL == null ? void 0 : a.isRTL(c.floating)));
|
|
328
328
|
if (l !== v)
|
|
329
329
|
return {
|
|
330
330
|
reset: {
|
|
331
331
|
placement: g[0]
|
|
332
332
|
}
|
|
333
333
|
};
|
|
334
|
-
const O = [w[
|
|
334
|
+
const O = [w[V(v)], w[y[0]], w[y[1]]], b = [...((o = r.autoPlacement) == null ? void 0 : o.overflows) || [], {
|
|
335
335
|
placement: v,
|
|
336
336
|
overflows: O
|
|
337
337
|
}], T = g[h + 1];
|
|
@@ -346,32 +346,32 @@ const pe = function(t) {
|
|
|
346
346
|
}
|
|
347
347
|
};
|
|
348
348
|
const x = b.map((A) => {
|
|
349
|
-
const
|
|
350
|
-
return [A.placement,
|
|
349
|
+
const E = B(A.placement);
|
|
350
|
+
return [A.placement, E && d ? (
|
|
351
351
|
// Check along the mainAxis and main crossAxis side.
|
|
352
|
-
A.overflows.slice(0, 2).reduce((
|
|
352
|
+
A.overflows.slice(0, 2).reduce((N, Y) => N + Y, 0)
|
|
353
353
|
) : (
|
|
354
354
|
// Check only the mainAxis.
|
|
355
355
|
A.overflows[0]
|
|
356
356
|
), A.overflows];
|
|
357
|
-
}).sort((A,
|
|
357
|
+
}).sort((A, E) => A[1] - E[1]), S = ((i = x.filter((A) => A[2].slice(
|
|
358
358
|
0,
|
|
359
359
|
// Aligned placements should not check their opposite crossAxis
|
|
360
360
|
// side.
|
|
361
|
-
|
|
362
|
-
).every((
|
|
363
|
-
return
|
|
361
|
+
B(A[0]) ? 2 : 3
|
|
362
|
+
).every((E) => E <= 0))[0]) == null ? void 0 : i[0]) || x[0][0];
|
|
363
|
+
return S !== l ? {
|
|
364
364
|
data: {
|
|
365
365
|
index: h + 1,
|
|
366
366
|
overflows: b
|
|
367
367
|
},
|
|
368
368
|
reset: {
|
|
369
|
-
placement:
|
|
369
|
+
placement: S
|
|
370
370
|
}
|
|
371
371
|
} : {};
|
|
372
372
|
}
|
|
373
373
|
};
|
|
374
|
-
},
|
|
374
|
+
}, he = function(t) {
|
|
375
375
|
return t === void 0 && (t = {}), {
|
|
376
376
|
name: "flip",
|
|
377
377
|
options: t,
|
|
@@ -392,58 +392,62 @@ const pe = function(t) {
|
|
|
392
392
|
fallbackAxisSideDirection: p = "none",
|
|
393
393
|
flipAlignment: g = !0,
|
|
394
394
|
...w
|
|
395
|
-
} =
|
|
395
|
+
} = J(t, e);
|
|
396
396
|
if ((n = s.arrow) != null && n.alignmentOffset)
|
|
397
397
|
return {};
|
|
398
|
-
const h =
|
|
399
|
-
!m && T && b.push(...
|
|
400
|
-
const x = [l, ...b],
|
|
398
|
+
const h = V(i), v = X(l), y = V(l) === l, O = await (a.isRTL == null ? void 0 : a.isRTL(c.floating)), b = m || (y || !g ? [ut(l)] : ce(l)), T = p !== "none";
|
|
399
|
+
!m && T && b.push(...fe(l, g, p, O));
|
|
400
|
+
const x = [l, ...b], H = await rt(e, w), S = [];
|
|
401
401
|
let A = ((o = s.flip) == null ? void 0 : o.overflows) || [];
|
|
402
|
-
if (d &&
|
|
403
|
-
const
|
|
404
|
-
|
|
402
|
+
if (d && S.push(H[h]), u) {
|
|
403
|
+
const D = Wt(i, r, O);
|
|
404
|
+
S.push(H[D[0]], H[D[1]]);
|
|
405
405
|
}
|
|
406
406
|
if (A = [...A, {
|
|
407
407
|
placement: i,
|
|
408
|
-
overflows:
|
|
409
|
-
}], !
|
|
410
|
-
var
|
|
411
|
-
const
|
|
412
|
-
if (
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
408
|
+
overflows: S
|
|
409
|
+
}], !S.every((D) => D <= 0)) {
|
|
410
|
+
var E, N;
|
|
411
|
+
const D = (((E = s.flip) == null ? void 0 : E.index) || 0) + 1, q = x[D];
|
|
412
|
+
if (q) {
|
|
413
|
+
var Y;
|
|
414
|
+
const I = u === "alignment" ? v !== X(q) : !1, F = ((Y = A[0]) == null ? void 0 : Y.overflows[0]) > 0;
|
|
415
|
+
if (!I || F)
|
|
416
|
+
return {
|
|
417
|
+
data: {
|
|
418
|
+
index: D,
|
|
419
|
+
overflows: A
|
|
420
|
+
},
|
|
421
|
+
reset: {
|
|
422
|
+
placement: q
|
|
423
|
+
}
|
|
424
|
+
};
|
|
425
|
+
}
|
|
426
|
+
let W = (N = A.filter((I) => I.overflows[0] <= 0).sort((I, F) => I.overflows[1] - F.overflows[1])[0]) == null ? void 0 : N.placement;
|
|
427
|
+
if (!W)
|
|
424
428
|
switch (f) {
|
|
425
429
|
case "bestFit": {
|
|
426
|
-
var
|
|
427
|
-
const
|
|
430
|
+
var P;
|
|
431
|
+
const I = (P = A.filter((F) => {
|
|
428
432
|
if (T) {
|
|
429
|
-
const
|
|
430
|
-
return
|
|
433
|
+
const j = X(F.placement);
|
|
434
|
+
return j === v || // Create a bias to the `y` side axis due to horizontal
|
|
431
435
|
// reading directions favoring greater width.
|
|
432
|
-
|
|
436
|
+
j === "y";
|
|
433
437
|
}
|
|
434
438
|
return !0;
|
|
435
|
-
}).map((
|
|
436
|
-
|
|
439
|
+
}).map((F) => [F.placement, F.overflows.filter((j) => j > 0).reduce((j, Qt) => j + Qt, 0)]).sort((F, j) => F[1] - j[1])[0]) == null ? void 0 : P[0];
|
|
440
|
+
I && (W = I);
|
|
437
441
|
break;
|
|
438
442
|
}
|
|
439
443
|
case "initialPlacement":
|
|
440
|
-
|
|
444
|
+
W = l;
|
|
441
445
|
break;
|
|
442
446
|
}
|
|
443
|
-
if (i !==
|
|
447
|
+
if (i !== W)
|
|
444
448
|
return {
|
|
445
449
|
reset: {
|
|
446
|
-
placement:
|
|
450
|
+
placement: W
|
|
447
451
|
}
|
|
448
452
|
};
|
|
449
453
|
}
|
|
@@ -451,7 +455,7 @@ const pe = function(t) {
|
|
|
451
455
|
}
|
|
452
456
|
};
|
|
453
457
|
};
|
|
454
|
-
function
|
|
458
|
+
function Lt(t, e) {
|
|
455
459
|
return {
|
|
456
460
|
top: t.top - e.height,
|
|
457
461
|
right: t.right - e.width,
|
|
@@ -459,10 +463,10 @@ function Dt(t, e) {
|
|
|
459
463
|
left: t.left - e.width
|
|
460
464
|
};
|
|
461
465
|
}
|
|
462
|
-
function
|
|
463
|
-
return
|
|
466
|
+
function Ct(t) {
|
|
467
|
+
return Ht.some((e) => t[e] >= 0);
|
|
464
468
|
}
|
|
465
|
-
const
|
|
469
|
+
const we = function(t) {
|
|
466
470
|
return t === void 0 && (t = {}), {
|
|
467
471
|
name: "hide",
|
|
468
472
|
options: t,
|
|
@@ -472,29 +476,29 @@ const he = function(t) {
|
|
|
472
476
|
} = e, {
|
|
473
477
|
strategy: o = "referenceHidden",
|
|
474
478
|
...i
|
|
475
|
-
} =
|
|
479
|
+
} = J(t, e);
|
|
476
480
|
switch (o) {
|
|
477
481
|
case "referenceHidden": {
|
|
478
|
-
const s = await
|
|
482
|
+
const s = await rt(e, {
|
|
479
483
|
...i,
|
|
480
484
|
elementContext: "reference"
|
|
481
|
-
}), r =
|
|
485
|
+
}), r = Lt(s, n.reference);
|
|
482
486
|
return {
|
|
483
487
|
data: {
|
|
484
488
|
referenceHiddenOffsets: r,
|
|
485
|
-
referenceHidden:
|
|
489
|
+
referenceHidden: Ct(r)
|
|
486
490
|
}
|
|
487
491
|
};
|
|
488
492
|
}
|
|
489
493
|
case "escaped": {
|
|
490
|
-
const s = await
|
|
494
|
+
const s = await rt(e, {
|
|
491
495
|
...i,
|
|
492
496
|
altBoundary: !0
|
|
493
|
-
}), r =
|
|
497
|
+
}), r = Lt(s, n.floating);
|
|
494
498
|
return {
|
|
495
499
|
data: {
|
|
496
500
|
escapedOffsets: r,
|
|
497
|
-
escaped:
|
|
501
|
+
escaped: Ct(r)
|
|
498
502
|
}
|
|
499
503
|
};
|
|
500
504
|
}
|
|
@@ -504,12 +508,12 @@ const he = function(t) {
|
|
|
504
508
|
}
|
|
505
509
|
};
|
|
506
510
|
};
|
|
507
|
-
async function
|
|
511
|
+
async function ve(t, e) {
|
|
508
512
|
const {
|
|
509
513
|
placement: n,
|
|
510
514
|
platform: o,
|
|
511
515
|
elements: i
|
|
512
|
-
} = t, s = await (o.isRTL == null ? void 0 : o.isRTL(i.floating)), r =
|
|
516
|
+
} = t, s = await (o.isRTL == null ? void 0 : o.isRTL(i.floating)), r = V(n), l = B(n), a = X(n) === "y", c = ["left", "top"].includes(r) ? -1 : 1, d = s && a ? -1 : 1, u = J(e, t);
|
|
513
517
|
let {
|
|
514
518
|
mainAxis: m,
|
|
515
519
|
crossAxis: f,
|
|
@@ -531,7 +535,7 @@ async function we(t, e) {
|
|
|
531
535
|
y: f * d
|
|
532
536
|
};
|
|
533
537
|
}
|
|
534
|
-
const
|
|
538
|
+
const ye = function(t) {
|
|
535
539
|
return t === void 0 && (t = 0), {
|
|
536
540
|
name: "offset",
|
|
537
541
|
options: t,
|
|
@@ -542,7 +546,7 @@ const ve = function(t) {
|
|
|
542
546
|
y: s,
|
|
543
547
|
placement: r,
|
|
544
548
|
middlewareData: l
|
|
545
|
-
} = e, a = await
|
|
549
|
+
} = e, a = await ve(e, t);
|
|
546
550
|
return r === ((n = l.offset) == null ? void 0 : n.placement) && (o = l.arrow) != null && o.alignmentOffset ? {} : {
|
|
547
551
|
x: i + a.x,
|
|
548
552
|
y: s + a.y,
|
|
@@ -553,7 +557,7 @@ const ve = function(t) {
|
|
|
553
557
|
};
|
|
554
558
|
}
|
|
555
559
|
};
|
|
556
|
-
},
|
|
560
|
+
}, xe = function(t) {
|
|
557
561
|
return t === void 0 && (t = {}), {
|
|
558
562
|
name: "shift",
|
|
559
563
|
options: t,
|
|
@@ -578,18 +582,18 @@ const ve = function(t) {
|
|
|
578
582
|
}
|
|
579
583
|
},
|
|
580
584
|
...a
|
|
581
|
-
} =
|
|
585
|
+
} = J(t, e), c = {
|
|
582
586
|
x: n,
|
|
583
587
|
y: o
|
|
584
|
-
}, d = await
|
|
588
|
+
}, d = await rt(e, a), u = X(V(i)), m = Nt(u);
|
|
585
589
|
let f = c[m], p = c[u];
|
|
586
590
|
if (s) {
|
|
587
591
|
const w = m === "y" ? "top" : "left", h = m === "y" ? "bottom" : "right", v = f + d[w], y = f - d[h];
|
|
588
|
-
f =
|
|
592
|
+
f = wt(v, f, y);
|
|
589
593
|
}
|
|
590
594
|
if (r) {
|
|
591
595
|
const w = u === "y" ? "top" : "left", h = u === "y" ? "bottom" : "right", v = p + d[w], y = p - d[h];
|
|
592
|
-
p =
|
|
596
|
+
p = wt(v, p, y);
|
|
593
597
|
}
|
|
594
598
|
const g = l.fn({
|
|
595
599
|
...e,
|
|
@@ -610,33 +614,33 @@ const ve = function(t) {
|
|
|
610
614
|
}
|
|
611
615
|
};
|
|
612
616
|
};
|
|
613
|
-
function
|
|
617
|
+
function mt() {
|
|
614
618
|
return typeof window < "u";
|
|
615
619
|
}
|
|
616
|
-
function
|
|
617
|
-
return
|
|
620
|
+
function Q(t) {
|
|
621
|
+
return Ot(t) ? (t.nodeName || "").toLowerCase() : "#document";
|
|
618
622
|
}
|
|
619
|
-
function
|
|
623
|
+
function _(t) {
|
|
620
624
|
var e;
|
|
621
625
|
return (t == null || (e = t.ownerDocument) == null ? void 0 : e.defaultView) || window;
|
|
622
626
|
}
|
|
623
627
|
function $(t) {
|
|
624
628
|
var e;
|
|
625
|
-
return (e = (
|
|
629
|
+
return (e = (Ot(t) ? t.ownerDocument : t.document) || window.document) == null ? void 0 : e.documentElement;
|
|
626
630
|
}
|
|
627
|
-
function
|
|
628
|
-
return
|
|
631
|
+
function Ot(t) {
|
|
632
|
+
return mt() ? t instanceof Node || t instanceof _(t).Node : !1;
|
|
629
633
|
}
|
|
630
634
|
function L(t) {
|
|
631
|
-
return
|
|
635
|
+
return mt() ? t instanceof Element || t instanceof _(t).Element : !1;
|
|
632
636
|
}
|
|
633
|
-
function
|
|
634
|
-
return
|
|
637
|
+
function k(t) {
|
|
638
|
+
return mt() ? t instanceof HTMLElement || t instanceof _(t).HTMLElement : !1;
|
|
635
639
|
}
|
|
636
|
-
function
|
|
637
|
-
return !
|
|
640
|
+
function Pt(t) {
|
|
641
|
+
return !mt() || typeof ShadowRoot > "u" ? !1 : t instanceof ShadowRoot || t instanceof _(t).ShadowRoot;
|
|
638
642
|
}
|
|
639
|
-
function
|
|
643
|
+
function lt(t) {
|
|
640
644
|
const {
|
|
641
645
|
overflow: e,
|
|
642
646
|
overflowX: n,
|
|
@@ -645,10 +649,10 @@ function st(t) {
|
|
|
645
649
|
} = C(t);
|
|
646
650
|
return /auto|scroll|overlay|hidden|clip/.test(e + o + n) && !["inline", "contents"].includes(i);
|
|
647
651
|
}
|
|
648
|
-
function
|
|
649
|
-
return ["table", "td", "th"].includes(
|
|
652
|
+
function be(t) {
|
|
653
|
+
return ["table", "td", "th"].includes(Q(t));
|
|
650
654
|
}
|
|
651
|
-
function
|
|
655
|
+
function pt(t) {
|
|
652
656
|
return [":popover-open", ":modal"].some((e) => {
|
|
653
657
|
try {
|
|
654
658
|
return t.matches(e);
|
|
@@ -657,31 +661,31 @@ function mt(t) {
|
|
|
657
661
|
}
|
|
658
662
|
});
|
|
659
663
|
}
|
|
660
|
-
function
|
|
661
|
-
const e =
|
|
664
|
+
function At(t) {
|
|
665
|
+
const e = Tt(), n = L(t) ? C(t) : t;
|
|
662
666
|
return ["transform", "translate", "scale", "rotate", "perspective"].some((o) => n[o] ? n[o] !== "none" : !1) || (n.containerType ? n.containerType !== "normal" : !1) || !e && (n.backdropFilter ? n.backdropFilter !== "none" : !1) || !e && (n.filter ? n.filter !== "none" : !1) || ["transform", "translate", "scale", "rotate", "perspective", "filter"].some((o) => (n.willChange || "").includes(o)) || ["paint", "layout", "strict", "content"].some((o) => (n.contain || "").includes(o));
|
|
663
667
|
}
|
|
664
|
-
function
|
|
665
|
-
let e =
|
|
666
|
-
for (;
|
|
667
|
-
if (
|
|
668
|
+
function Oe(t) {
|
|
669
|
+
let e = U(t);
|
|
670
|
+
for (; k(e) && !ot(e); ) {
|
|
671
|
+
if (At(e))
|
|
668
672
|
return e;
|
|
669
|
-
if (
|
|
673
|
+
if (pt(e))
|
|
670
674
|
return null;
|
|
671
|
-
e =
|
|
675
|
+
e = U(e);
|
|
672
676
|
}
|
|
673
677
|
return null;
|
|
674
678
|
}
|
|
675
|
-
function
|
|
679
|
+
function Tt() {
|
|
676
680
|
return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
|
|
677
681
|
}
|
|
678
|
-
function
|
|
679
|
-
return ["html", "body", "#document"].includes(
|
|
682
|
+
function ot(t) {
|
|
683
|
+
return ["html", "body", "#document"].includes(Q(t));
|
|
680
684
|
}
|
|
681
685
|
function C(t) {
|
|
682
|
-
return
|
|
686
|
+
return _(t).getComputedStyle(t);
|
|
683
687
|
}
|
|
684
|
-
function
|
|
688
|
+
function gt(t) {
|
|
685
689
|
return L(t) ? {
|
|
686
690
|
scrollLeft: t.scrollLeft,
|
|
687
691
|
scrollTop: t.scrollTop
|
|
@@ -690,131 +694,131 @@ function pt(t) {
|
|
|
690
694
|
scrollTop: t.scrollY
|
|
691
695
|
};
|
|
692
696
|
}
|
|
693
|
-
function
|
|
694
|
-
if (
|
|
697
|
+
function U(t) {
|
|
698
|
+
if (Q(t) === "html")
|
|
695
699
|
return t;
|
|
696
700
|
const e = (
|
|
697
701
|
// Step into the shadow DOM of the parent of a slotted node.
|
|
698
702
|
t.assignedSlot || // DOM Element detected.
|
|
699
703
|
t.parentNode || // ShadowRoot detected.
|
|
700
|
-
|
|
704
|
+
Pt(t) && t.host || // Fallback.
|
|
701
705
|
$(t)
|
|
702
706
|
);
|
|
703
|
-
return
|
|
707
|
+
return Pt(e) ? e.host : e;
|
|
704
708
|
}
|
|
705
|
-
function
|
|
706
|
-
const e =
|
|
707
|
-
return
|
|
709
|
+
function It(t) {
|
|
710
|
+
const e = U(t);
|
|
711
|
+
return ot(e) ? t.ownerDocument ? t.ownerDocument.body : t.body : k(e) && lt(e) ? e : It(e);
|
|
708
712
|
}
|
|
709
|
-
function
|
|
713
|
+
function st(t, e, n) {
|
|
710
714
|
var o;
|
|
711
715
|
e === void 0 && (e = []), n === void 0 && (n = !0);
|
|
712
|
-
const i =
|
|
716
|
+
const i = It(t), s = i === ((o = t.ownerDocument) == null ? void 0 : o.body), r = _(i);
|
|
713
717
|
if (s) {
|
|
714
|
-
const l =
|
|
715
|
-
return e.concat(r, r.visualViewport || [],
|
|
718
|
+
const l = vt(r);
|
|
719
|
+
return e.concat(r, r.visualViewport || [], lt(i) ? i : [], l && n ? st(l) : []);
|
|
716
720
|
}
|
|
717
|
-
return e.concat(i,
|
|
721
|
+
return e.concat(i, st(i, [], n));
|
|
718
722
|
}
|
|
719
|
-
function
|
|
723
|
+
function vt(t) {
|
|
720
724
|
return t.parent && Object.getPrototypeOf(t.parent) ? t.frameElement : null;
|
|
721
725
|
}
|
|
722
|
-
function
|
|
726
|
+
function jt(t) {
|
|
723
727
|
const e = C(t);
|
|
724
728
|
let n = parseFloat(e.width) || 0, o = parseFloat(e.height) || 0;
|
|
725
|
-
const i =
|
|
729
|
+
const i = k(t), s = i ? t.offsetWidth : n, r = i ? t.offsetHeight : o, l = at(n) !== s || at(o) !== r;
|
|
726
730
|
return l && (n = s, o = r), {
|
|
727
731
|
width: n,
|
|
728
732
|
height: o,
|
|
729
733
|
$: l
|
|
730
734
|
};
|
|
731
735
|
}
|
|
732
|
-
function
|
|
736
|
+
function Rt(t) {
|
|
733
737
|
return L(t) ? t : t.contextElement;
|
|
734
738
|
}
|
|
735
|
-
function
|
|
736
|
-
const e =
|
|
737
|
-
if (!
|
|
738
|
-
return
|
|
739
|
+
function et(t) {
|
|
740
|
+
const e = Rt(t);
|
|
741
|
+
if (!k(e))
|
|
742
|
+
return M(1);
|
|
739
743
|
const n = e.getBoundingClientRect(), {
|
|
740
744
|
width: o,
|
|
741
745
|
height: i,
|
|
742
746
|
$: s
|
|
743
|
-
} =
|
|
744
|
-
let r = (s ?
|
|
747
|
+
} = jt(e);
|
|
748
|
+
let r = (s ? at(n.width) : n.width) / o, l = (s ? at(n.height) : n.height) / i;
|
|
745
749
|
return (!r || !Number.isFinite(r)) && (r = 1), (!l || !Number.isFinite(l)) && (l = 1), {
|
|
746
750
|
x: r,
|
|
747
751
|
y: l
|
|
748
752
|
};
|
|
749
753
|
}
|
|
750
|
-
const
|
|
751
|
-
function
|
|
752
|
-
const e =
|
|
753
|
-
return !
|
|
754
|
+
const Ae = /* @__PURE__ */ M(0);
|
|
755
|
+
function zt(t) {
|
|
756
|
+
const e = _(t);
|
|
757
|
+
return !Tt() || !e.visualViewport ? Ae : {
|
|
754
758
|
x: e.visualViewport.offsetLeft,
|
|
755
759
|
y: e.visualViewport.offsetTop
|
|
756
760
|
};
|
|
757
761
|
}
|
|
758
|
-
function
|
|
759
|
-
return e === void 0 && (e = !1), !n || e && n !==
|
|
762
|
+
function Te(t, e, n) {
|
|
763
|
+
return e === void 0 && (e = !1), !n || e && n !== _(t) ? !1 : e;
|
|
760
764
|
}
|
|
761
|
-
function
|
|
765
|
+
function K(t, e, n, o) {
|
|
762
766
|
e === void 0 && (e = !1), n === void 0 && (n = !1);
|
|
763
|
-
const i = t.getBoundingClientRect(), s =
|
|
764
|
-
let r =
|
|
765
|
-
e && (o ? L(o) && (r =
|
|
766
|
-
const l =
|
|
767
|
+
const i = t.getBoundingClientRect(), s = Rt(t);
|
|
768
|
+
let r = M(1);
|
|
769
|
+
e && (o ? L(o) && (r = et(o)) : r = et(t));
|
|
770
|
+
const l = Te(s, n, o) ? zt(s) : M(0);
|
|
767
771
|
let a = (i.left + l.x) / r.x, c = (i.top + l.y) / r.y, d = i.width / r.x, u = i.height / r.y;
|
|
768
772
|
if (s) {
|
|
769
|
-
const m =
|
|
770
|
-
let p = m, g =
|
|
773
|
+
const m = _(s), f = o && L(o) ? _(o) : o;
|
|
774
|
+
let p = m, g = vt(p);
|
|
771
775
|
for (; g && o && f !== p; ) {
|
|
772
|
-
const w =
|
|
773
|
-
a *= w.x, c *= w.y, d *= w.x, u *= w.y, a += y, c += O, p =
|
|
776
|
+
const w = et(g), h = g.getBoundingClientRect(), v = C(g), y = h.left + (g.clientLeft + parseFloat(v.paddingLeft)) * w.x, O = h.top + (g.clientTop + parseFloat(v.paddingTop)) * w.y;
|
|
777
|
+
a *= w.x, c *= w.y, d *= w.x, u *= w.y, a += y, c += O, p = _(g), g = vt(p);
|
|
774
778
|
}
|
|
775
779
|
}
|
|
776
|
-
return
|
|
780
|
+
return dt({
|
|
777
781
|
width: d,
|
|
778
782
|
height: u,
|
|
779
783
|
x: a,
|
|
780
784
|
y: c
|
|
781
785
|
});
|
|
782
786
|
}
|
|
783
|
-
function
|
|
784
|
-
const n =
|
|
785
|
-
return e ? e.left + n :
|
|
787
|
+
function St(t, e) {
|
|
788
|
+
const n = gt(t).scrollLeft;
|
|
789
|
+
return e ? e.left + n : K($(t)).left + n;
|
|
786
790
|
}
|
|
787
|
-
function
|
|
791
|
+
function Ut(t, e, n) {
|
|
788
792
|
n === void 0 && (n = !1);
|
|
789
793
|
const o = t.getBoundingClientRect(), i = o.left + e.scrollLeft - (n ? 0 : (
|
|
790
794
|
// RTL <body> scrollbar.
|
|
791
|
-
|
|
795
|
+
St(t, o)
|
|
792
796
|
)), s = o.top + e.scrollTop;
|
|
793
797
|
return {
|
|
794
798
|
x: i,
|
|
795
799
|
y: s
|
|
796
800
|
};
|
|
797
801
|
}
|
|
798
|
-
function
|
|
802
|
+
function Re(t) {
|
|
799
803
|
let {
|
|
800
804
|
elements: e,
|
|
801
805
|
rect: n,
|
|
802
806
|
offsetParent: o,
|
|
803
807
|
strategy: i
|
|
804
808
|
} = t;
|
|
805
|
-
const s = i === "fixed", r = $(o), l = e ?
|
|
809
|
+
const s = i === "fixed", r = $(o), l = e ? pt(e.floating) : !1;
|
|
806
810
|
if (o === r || l && s)
|
|
807
811
|
return n;
|
|
808
812
|
let a = {
|
|
809
813
|
scrollLeft: 0,
|
|
810
814
|
scrollTop: 0
|
|
811
|
-
}, c =
|
|
812
|
-
const d =
|
|
813
|
-
if ((u || !u && !s) && ((
|
|
814
|
-
const f =
|
|
815
|
-
c =
|
|
815
|
+
}, c = M(1);
|
|
816
|
+
const d = M(0), u = k(o);
|
|
817
|
+
if ((u || !u && !s) && ((Q(o) !== "body" || lt(r)) && (a = gt(o)), k(o))) {
|
|
818
|
+
const f = K(o);
|
|
819
|
+
c = et(o), d.x = f.x + o.clientLeft, d.y = f.y + o.clientTop;
|
|
816
820
|
}
|
|
817
|
-
const m = r && !u && !s ?
|
|
821
|
+
const m = r && !u && !s ? Ut(r, a, !0) : M(0);
|
|
818
822
|
return {
|
|
819
823
|
width: n.width * c.x,
|
|
820
824
|
height: n.height * c.y,
|
|
@@ -822,26 +826,26 @@ function Te(t) {
|
|
|
822
826
|
y: n.y * c.y - a.scrollTop * c.y + d.y + m.y
|
|
823
827
|
};
|
|
824
828
|
}
|
|
825
|
-
function
|
|
829
|
+
function Se(t) {
|
|
826
830
|
return Array.from(t.getClientRects());
|
|
827
831
|
}
|
|
828
|
-
function
|
|
829
|
-
const e = $(t), n =
|
|
830
|
-
let r = -n.scrollLeft +
|
|
832
|
+
function _e(t) {
|
|
833
|
+
const e = $(t), n = gt(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);
|
|
834
|
+
let r = -n.scrollLeft + St(t);
|
|
831
835
|
const l = -n.scrollTop;
|
|
832
|
-
return C(o).direction === "rtl" && (r +=
|
|
836
|
+
return C(o).direction === "rtl" && (r += G(e.clientWidth, o.clientWidth) - i), {
|
|
833
837
|
width: i,
|
|
834
838
|
height: s,
|
|
835
839
|
x: r,
|
|
836
840
|
y: l
|
|
837
841
|
};
|
|
838
842
|
}
|
|
839
|
-
function
|
|
840
|
-
const n =
|
|
843
|
+
function Ee(t, e) {
|
|
844
|
+
const n = _(t), o = $(t), i = n.visualViewport;
|
|
841
845
|
let s = o.clientWidth, r = o.clientHeight, l = 0, a = 0;
|
|
842
846
|
if (i) {
|
|
843
847
|
s = i.width, r = i.height;
|
|
844
|
-
const c =
|
|
848
|
+
const c = Tt();
|
|
845
849
|
(!c || c && e === "fixed") && (l = i.offsetLeft, a = i.offsetTop);
|
|
846
850
|
}
|
|
847
851
|
return {
|
|
@@ -851,8 +855,8 @@ function _e(t, e) {
|
|
|
851
855
|
y: a
|
|
852
856
|
};
|
|
853
857
|
}
|
|
854
|
-
function
|
|
855
|
-
const n =
|
|
858
|
+
function De(t, e) {
|
|
859
|
+
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, a = i * s.x, c = o * s.y;
|
|
856
860
|
return {
|
|
857
861
|
width: r,
|
|
858
862
|
height: l,
|
|
@@ -860,16 +864,16 @@ function Ee(t, e) {
|
|
|
860
864
|
y: c
|
|
861
865
|
};
|
|
862
866
|
}
|
|
863
|
-
function
|
|
867
|
+
function Ft(t, e, n) {
|
|
864
868
|
let o;
|
|
865
869
|
if (e === "viewport")
|
|
866
|
-
o =
|
|
870
|
+
o = Ee(t, n);
|
|
867
871
|
else if (e === "document")
|
|
868
|
-
o =
|
|
872
|
+
o = _e($(t));
|
|
869
873
|
else if (L(e))
|
|
870
|
-
o =
|
|
874
|
+
o = De(e, n);
|
|
871
875
|
else {
|
|
872
|
-
const i =
|
|
876
|
+
const i = zt(t);
|
|
873
877
|
o = {
|
|
874
878
|
x: e.x - i.x,
|
|
875
879
|
y: e.y - i.y,
|
|
@@ -877,36 +881,36 @@ function Pt(t, e, n) {
|
|
|
877
881
|
height: e.height
|
|
878
882
|
};
|
|
879
883
|
}
|
|
880
|
-
return
|
|
884
|
+
return dt(o);
|
|
881
885
|
}
|
|
882
|
-
function
|
|
883
|
-
const n =
|
|
884
|
-
return n === e || !L(n) ||
|
|
886
|
+
function Yt(t, e) {
|
|
887
|
+
const n = U(t);
|
|
888
|
+
return n === e || !L(n) || ot(n) ? !1 : C(n).position === "fixed" || Yt(n, e);
|
|
885
889
|
}
|
|
886
|
-
function
|
|
890
|
+
function Le(t, e) {
|
|
887
891
|
const n = e.get(t);
|
|
888
892
|
if (n)
|
|
889
893
|
return n;
|
|
890
|
-
let o =
|
|
894
|
+
let o = st(t, [], !1).filter((l) => L(l) && Q(l) !== "body"), i = null;
|
|
891
895
|
const s = C(t).position === "fixed";
|
|
892
|
-
let r = s ?
|
|
893
|
-
for (; L(r) && !
|
|
894
|
-
const l = C(r), a =
|
|
895
|
-
!a && l.position === "fixed" && (i = null), (s ? !a && !i : !a && l.position === "static" && !!i && ["absolute", "fixed"].includes(i.position) ||
|
|
896
|
+
let r = s ? U(t) : t;
|
|
897
|
+
for (; L(r) && !ot(r); ) {
|
|
898
|
+
const l = C(r), a = At(r);
|
|
899
|
+
!a && l.position === "fixed" && (i = null), (s ? !a && !i : !a && l.position === "static" && !!i && ["absolute", "fixed"].includes(i.position) || lt(r) && !a && Yt(t, r)) ? o = o.filter((d) => d !== r) : i = l, r = U(r);
|
|
896
900
|
}
|
|
897
901
|
return e.set(t, o), o;
|
|
898
902
|
}
|
|
899
|
-
function
|
|
903
|
+
function Ce(t) {
|
|
900
904
|
let {
|
|
901
905
|
element: e,
|
|
902
906
|
boundary: n,
|
|
903
907
|
rootBoundary: o,
|
|
904
908
|
strategy: i
|
|
905
909
|
} = t;
|
|
906
|
-
const r = [...n === "clippingAncestors" ?
|
|
907
|
-
const u =
|
|
908
|
-
return c.top =
|
|
909
|
-
},
|
|
910
|
+
const r = [...n === "clippingAncestors" ? pt(e) ? [] : Le(e, this._c) : [].concat(n), o], l = r[0], a = r.reduce((c, d) => {
|
|
911
|
+
const u = Ft(e, d, i);
|
|
912
|
+
return c.top = G(u.top, c.top), c.right = nt(u.right, c.right), c.bottom = nt(u.bottom, c.bottom), c.left = G(u.left, c.left), c;
|
|
913
|
+
}, Ft(e, l, i));
|
|
910
914
|
return {
|
|
911
915
|
width: a.right - a.left,
|
|
912
916
|
height: a.bottom - a.top,
|
|
@@ -914,29 +918,29 @@ function Le(t) {
|
|
|
914
918
|
y: a.top
|
|
915
919
|
};
|
|
916
920
|
}
|
|
917
|
-
function
|
|
921
|
+
function Pe(t) {
|
|
918
922
|
const {
|
|
919
923
|
width: e,
|
|
920
924
|
height: n
|
|
921
|
-
} =
|
|
925
|
+
} = jt(t);
|
|
922
926
|
return {
|
|
923
927
|
width: e,
|
|
924
928
|
height: n
|
|
925
929
|
};
|
|
926
930
|
}
|
|
927
|
-
function
|
|
928
|
-
const o =
|
|
931
|
+
function Fe(t, e, n) {
|
|
932
|
+
const o = k(e), i = $(e), s = n === "fixed", r = K(t, !0, s, e);
|
|
929
933
|
let l = {
|
|
930
934
|
scrollLeft: 0,
|
|
931
935
|
scrollTop: 0
|
|
932
936
|
};
|
|
933
|
-
const a =
|
|
937
|
+
const a = M(0);
|
|
934
938
|
if (o || !o && !s)
|
|
935
|
-
if ((
|
|
936
|
-
const m =
|
|
939
|
+
if ((Q(e) !== "body" || lt(i)) && (l = gt(e)), o) {
|
|
940
|
+
const m = K(e, !0, s, e);
|
|
937
941
|
a.x = m.x + e.clientLeft, a.y = m.y + e.clientTop;
|
|
938
|
-
} else i && (a.x =
|
|
939
|
-
const c = i && !o && !s ?
|
|
942
|
+
} else i && (a.x = St(i));
|
|
943
|
+
const c = i && !o && !s ? Ut(i, l) : M(0), d = r.left + l.scrollLeft - a.x - c.x, u = r.top + l.scrollTop - a.y - c.y;
|
|
940
944
|
return {
|
|
941
945
|
x: d,
|
|
942
946
|
y: u,
|
|
@@ -944,39 +948,39 @@ function Pe(t, e, n) {
|
|
|
944
948
|
height: r.height
|
|
945
949
|
};
|
|
946
950
|
}
|
|
947
|
-
function
|
|
951
|
+
function ht(t) {
|
|
948
952
|
return C(t).position === "static";
|
|
949
953
|
}
|
|
950
|
-
function
|
|
951
|
-
if (!
|
|
954
|
+
function Mt(t, e) {
|
|
955
|
+
if (!k(t) || C(t).position === "fixed")
|
|
952
956
|
return null;
|
|
953
957
|
if (e)
|
|
954
958
|
return e(t);
|
|
955
959
|
let n = t.offsetParent;
|
|
956
960
|
return $(t) === n && (n = n.ownerDocument.body), n;
|
|
957
961
|
}
|
|
958
|
-
function
|
|
959
|
-
const n =
|
|
960
|
-
if (
|
|
962
|
+
function qt(t, e) {
|
|
963
|
+
const n = _(t);
|
|
964
|
+
if (pt(t))
|
|
961
965
|
return n;
|
|
962
|
-
if (!
|
|
963
|
-
let i =
|
|
964
|
-
for (; i && !
|
|
965
|
-
if (L(i) && !
|
|
966
|
+
if (!k(t)) {
|
|
967
|
+
let i = U(t);
|
|
968
|
+
for (; i && !ot(i); ) {
|
|
969
|
+
if (L(i) && !ht(i))
|
|
966
970
|
return i;
|
|
967
|
-
i =
|
|
971
|
+
i = U(i);
|
|
968
972
|
}
|
|
969
973
|
return n;
|
|
970
974
|
}
|
|
971
|
-
let o =
|
|
972
|
-
for (; o &&
|
|
973
|
-
o =
|
|
974
|
-
return o &&
|
|
975
|
+
let o = Mt(t, e);
|
|
976
|
+
for (; o && be(o) && ht(o); )
|
|
977
|
+
o = Mt(o, e);
|
|
978
|
+
return o && ot(o) && ht(o) && !At(o) ? n : o || Oe(t) || n;
|
|
975
979
|
}
|
|
976
|
-
const
|
|
977
|
-
const e = this.getOffsetParent ||
|
|
980
|
+
const Me = async function(t) {
|
|
981
|
+
const e = this.getOffsetParent || qt, n = this.getDimensions, o = await n(t.floating);
|
|
978
982
|
return {
|
|
979
|
-
reference:
|
|
983
|
+
reference: Fe(t.reference, await e(t.floating), t.strategy),
|
|
980
984
|
floating: {
|
|
981
985
|
x: 0,
|
|
982
986
|
y: 0,
|
|
@@ -985,20 +989,20 @@ const Fe = async function(t) {
|
|
|
985
989
|
}
|
|
986
990
|
};
|
|
987
991
|
};
|
|
988
|
-
function
|
|
992
|
+
function Be(t) {
|
|
989
993
|
return C(t).direction === "rtl";
|
|
990
994
|
}
|
|
991
|
-
const
|
|
992
|
-
convertOffsetParentRelativeRectToViewportRelativeRect:
|
|
995
|
+
const ke = {
|
|
996
|
+
convertOffsetParentRelativeRectToViewportRelativeRect: Re,
|
|
993
997
|
getDocumentElement: $,
|
|
994
|
-
getClippingRect:
|
|
995
|
-
getOffsetParent:
|
|
996
|
-
getElementRects:
|
|
997
|
-
getClientRects:
|
|
998
|
-
getDimensions:
|
|
999
|
-
getScale:
|
|
998
|
+
getClippingRect: Ce,
|
|
999
|
+
getOffsetParent: qt,
|
|
1000
|
+
getElementRects: Me,
|
|
1001
|
+
getClientRects: Se,
|
|
1002
|
+
getDimensions: Pe,
|
|
1003
|
+
getScale: et,
|
|
1000
1004
|
isElement: L,
|
|
1001
|
-
isRTL:
|
|
1005
|
+
isRTL: Be
|
|
1002
1006
|
};
|
|
1003
1007
|
function $e(t, e) {
|
|
1004
1008
|
let n = null, o;
|
|
@@ -1017,9 +1021,9 @@ function $e(t, e) {
|
|
|
1017
1021
|
} = t.getBoundingClientRect();
|
|
1018
1022
|
if (l || e(), !u || !m)
|
|
1019
1023
|
return;
|
|
1020
|
-
const f =
|
|
1024
|
+
const f = ct(d), p = ct(i.clientWidth - (c + u)), g = ct(i.clientHeight - (d + m)), w = ct(c), v = {
|
|
1021
1025
|
rootMargin: -f + "px " + -p + "px " + -g + "px " + -w + "px",
|
|
1022
|
-
threshold:
|
|
1026
|
+
threshold: G(0, nt(1, a)) || 1
|
|
1023
1027
|
};
|
|
1024
1028
|
let y = !0;
|
|
1025
1029
|
function O(b) {
|
|
@@ -1046,7 +1050,7 @@ function $e(t, e) {
|
|
|
1046
1050
|
}
|
|
1047
1051
|
return r(!0), s;
|
|
1048
1052
|
}
|
|
1049
|
-
function
|
|
1053
|
+
function Bt(t, e, n, o) {
|
|
1050
1054
|
o === void 0 && (o = {});
|
|
1051
1055
|
const {
|
|
1052
1056
|
ancestorScroll: i = !0,
|
|
@@ -1054,7 +1058,7 @@ function Mt(t, e, n, o) {
|
|
|
1054
1058
|
elementResize: r = typeof ResizeObserver == "function",
|
|
1055
1059
|
layoutShift: l = typeof IntersectionObserver == "function",
|
|
1056
1060
|
animationFrame: a = !1
|
|
1057
|
-
} = o, c =
|
|
1061
|
+
} = o, c = Rt(t), d = i || s ? [...c ? st(c) : [], ...st(e)] : [];
|
|
1058
1062
|
d.forEach((h) => {
|
|
1059
1063
|
i && h.addEventListener("scroll", n, {
|
|
1060
1064
|
passive: !0
|
|
@@ -1069,10 +1073,10 @@ function Mt(t, e, n, o) {
|
|
|
1069
1073
|
(y = f) == null || y.observe(e);
|
|
1070
1074
|
})), n();
|
|
1071
1075
|
}), c && !a && f.observe(c), f.observe(e));
|
|
1072
|
-
let p, g = a ?
|
|
1076
|
+
let p, g = a ? K(t) : null;
|
|
1073
1077
|
a && w();
|
|
1074
1078
|
function w() {
|
|
1075
|
-
const h =
|
|
1079
|
+
const h = K(t);
|
|
1076
1080
|
g && (h.x !== g.x || h.y !== g.y || h.width !== g.width || h.height !== g.height) && n(), g = h, p = requestAnimationFrame(w);
|
|
1077
1081
|
}
|
|
1078
1082
|
return n(), () => {
|
|
@@ -1082,64 +1086,64 @@ function Mt(t, e, n, o) {
|
|
|
1082
1086
|
}), u == null || u(), (h = f) == null || h.disconnect(), f = null, a && cancelAnimationFrame(p);
|
|
1083
1087
|
};
|
|
1084
1088
|
}
|
|
1085
|
-
const
|
|
1089
|
+
const He = ye, Ne = ge, We = xe, Ve = he, sn = we, Ie = me, je = (t, e, n) => {
|
|
1086
1090
|
const o = /* @__PURE__ */ new Map(), i = {
|
|
1087
|
-
platform:
|
|
1091
|
+
platform: ke,
|
|
1088
1092
|
...n
|
|
1089
1093
|
}, s = {
|
|
1090
1094
|
...i.platform,
|
|
1091
1095
|
_c: o
|
|
1092
1096
|
};
|
|
1093
|
-
return
|
|
1097
|
+
return de(t, e, {
|
|
1094
1098
|
...i,
|
|
1095
1099
|
platform: s
|
|
1096
1100
|
});
|
|
1097
1101
|
};
|
|
1098
|
-
function
|
|
1102
|
+
function ze(t) {
|
|
1099
1103
|
return t != null && typeof t == "object" && "$el" in t;
|
|
1100
1104
|
}
|
|
1101
|
-
function
|
|
1102
|
-
if (
|
|
1105
|
+
function yt(t) {
|
|
1106
|
+
if (ze(t)) {
|
|
1103
1107
|
const e = t.$el;
|
|
1104
|
-
return
|
|
1108
|
+
return Ot(e) && Q(e) === "#comment" ? null : e;
|
|
1105
1109
|
}
|
|
1106
1110
|
return t;
|
|
1107
1111
|
}
|
|
1108
|
-
function
|
|
1112
|
+
function Ue(t) {
|
|
1109
1113
|
return {
|
|
1110
1114
|
name: "arrow",
|
|
1111
1115
|
options: t,
|
|
1112
1116
|
fn(e) {
|
|
1113
|
-
const n =
|
|
1114
|
-
return n == null ? {} :
|
|
1117
|
+
const n = yt(tt(t.element));
|
|
1118
|
+
return n == null ? {} : Ie({
|
|
1115
1119
|
element: n,
|
|
1116
1120
|
padding: t.padding
|
|
1117
1121
|
}).fn(e);
|
|
1118
1122
|
}
|
|
1119
1123
|
};
|
|
1120
1124
|
}
|
|
1121
|
-
function
|
|
1125
|
+
function Gt(t) {
|
|
1122
1126
|
return typeof window > "u" ? 1 : (t.ownerDocument.defaultView || window).devicePixelRatio || 1;
|
|
1123
1127
|
}
|
|
1124
|
-
function
|
|
1125
|
-
const n =
|
|
1128
|
+
function kt(t, e) {
|
|
1129
|
+
const n = Gt(t);
|
|
1126
1130
|
return Math.round(e * n) / n;
|
|
1127
1131
|
}
|
|
1128
|
-
function
|
|
1132
|
+
function Ye(t, e, n) {
|
|
1129
1133
|
n === void 0 && (n = {});
|
|
1130
|
-
const o = n.whileElementsMounted, i =
|
|
1134
|
+
const o = n.whileElementsMounted, i = R(() => {
|
|
1131
1135
|
var x;
|
|
1132
|
-
return (x =
|
|
1133
|
-
}), s =
|
|
1136
|
+
return (x = tt(n.open)) != null ? x : !0;
|
|
1137
|
+
}), s = R(() => tt(n.middleware)), r = R(() => {
|
|
1134
1138
|
var x;
|
|
1135
|
-
return (x =
|
|
1136
|
-
}), l =
|
|
1139
|
+
return (x = tt(n.placement)) != null ? x : "bottom";
|
|
1140
|
+
}), l = R(() => {
|
|
1137
1141
|
var x;
|
|
1138
|
-
return (x =
|
|
1139
|
-
}), a =
|
|
1142
|
+
return (x = tt(n.strategy)) != null ? x : "absolute";
|
|
1143
|
+
}), a = R(() => {
|
|
1140
1144
|
var x;
|
|
1141
|
-
return (x =
|
|
1142
|
-
}), c =
|
|
1145
|
+
return (x = tt(n.transform)) != null ? x : !0;
|
|
1146
|
+
}), c = R(() => yt(t.value)), d = R(() => yt(e.value)), u = z(0), m = z(0), f = z(l.value), p = z(r.value), g = Zt({}), w = z(!1), h = R(() => {
|
|
1143
1147
|
const x = {
|
|
1144
1148
|
position: f.value,
|
|
1145
1149
|
left: "0",
|
|
@@ -1147,22 +1151,22 @@ function Ue(t, e, n) {
|
|
|
1147
1151
|
};
|
|
1148
1152
|
if (!d.value)
|
|
1149
1153
|
return x;
|
|
1150
|
-
const
|
|
1154
|
+
const H = kt(d.value, u.value), S = kt(d.value, m.value);
|
|
1151
1155
|
return a.value ? {
|
|
1152
1156
|
...x,
|
|
1153
|
-
transform: "translate(" +
|
|
1154
|
-
...
|
|
1157
|
+
transform: "translate(" + H + "px, " + S + "px)",
|
|
1158
|
+
...Gt(d.value) >= 1.5 && {
|
|
1155
1159
|
willChange: "transform"
|
|
1156
1160
|
}
|
|
1157
1161
|
} : {
|
|
1158
1162
|
position: f.value,
|
|
1159
|
-
left:
|
|
1160
|
-
top:
|
|
1163
|
+
left: H + "px",
|
|
1164
|
+
top: S + "px"
|
|
1161
1165
|
};
|
|
1162
1166
|
});
|
|
1163
1167
|
let v;
|
|
1164
1168
|
function y() {
|
|
1165
|
-
c.value == null || d.value == null ||
|
|
1169
|
+
c.value == null || d.value == null || je(c.value, d.value, {
|
|
1166
1170
|
middleware: s.value,
|
|
1167
1171
|
placement: r.value,
|
|
1168
1172
|
strategy: l.value
|
|
@@ -1186,34 +1190,34 @@ function Ue(t, e, n) {
|
|
|
1186
1190
|
function T() {
|
|
1187
1191
|
i.value || (w.value = !1);
|
|
1188
1192
|
}
|
|
1189
|
-
return
|
|
1193
|
+
return it([s, r, l], y, {
|
|
1190
1194
|
flush: "sync"
|
|
1191
|
-
}),
|
|
1195
|
+
}), it([c, d], b, {
|
|
1192
1196
|
flush: "sync"
|
|
1193
|
-
}),
|
|
1197
|
+
}), it(i, T, {
|
|
1194
1198
|
flush: "sync"
|
|
1195
|
-
}),
|
|
1196
|
-
x:
|
|
1197
|
-
y:
|
|
1198
|
-
strategy:
|
|
1199
|
-
placement:
|
|
1200
|
-
middlewareData:
|
|
1201
|
-
isPositioned:
|
|
1199
|
+
}), te() && ee(O), {
|
|
1200
|
+
x: Z(u),
|
|
1201
|
+
y: Z(m),
|
|
1202
|
+
strategy: Z(f),
|
|
1203
|
+
placement: Z(p),
|
|
1204
|
+
middlewareData: Z(g),
|
|
1205
|
+
isPositioned: Z(w),
|
|
1202
1206
|
floatingStyles: h,
|
|
1203
1207
|
update: y
|
|
1204
1208
|
};
|
|
1205
1209
|
}
|
|
1206
|
-
var
|
|
1207
|
-
const $t = { ...
|
|
1210
|
+
var Xt = /* @__PURE__ */ ((t) => (t.TOP = "top", t.RIGHT = "right", t.BOTTOM = "bottom", t.LEFT = "left", t))(Xt || {}), Kt = /* @__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))(Kt || {}), Jt = /* @__PURE__ */ ((t) => (t.TOOLTIP = "tooltip", t.POPOVER = "dialog", t))(Jt || {});
|
|
1211
|
+
const $t = { ...Xt, ...Kt }, qe = (t, e) => t ? e[1] + 7 : e[1], Ge = (t) => {
|
|
1208
1212
|
let e = Array.isArray(t) ? t : [t];
|
|
1209
1213
|
return e = e.filter((n) => n !== "auto" && n !== "auto-start" && n !== "auto-end").map((n) => n), {
|
|
1210
1214
|
fallbackPlacements: e
|
|
1211
1215
|
};
|
|
1212
|
-
},
|
|
1216
|
+
}, Xe = {
|
|
1213
1217
|
name: "sameWidth",
|
|
1214
1218
|
fn: ({ elements: t }) => (t.floating.style.width = `${t.reference.offsetWidth}px`, {})
|
|
1215
|
-
},
|
|
1216
|
-
...
|
|
1219
|
+
}, Ke = {}, Je = /* @__PURE__ */ ne({
|
|
1220
|
+
...Ke,
|
|
1217
1221
|
__name: "popper-container",
|
|
1218
1222
|
props: {
|
|
1219
1223
|
/**
|
|
@@ -1222,7 +1226,7 @@ const $t = { ...Gt, ...Xt }, Ye = (t, e) => t ? e[1] + 7 : e[1], qe = (t) => {
|
|
|
1222
1226
|
ariaRole: {
|
|
1223
1227
|
type: String,
|
|
1224
1228
|
default: null,
|
|
1225
|
-
validator: (t) => Object.values(
|
|
1229
|
+
validator: (t) => Object.values(Jt).includes(t)
|
|
1226
1230
|
},
|
|
1227
1231
|
/**
|
|
1228
1232
|
* Indicates if container should have additional arrow, pointing at target element
|
|
@@ -1295,11 +1299,11 @@ const $t = { ...Gt, ...Xt }, Ye = (t, e) => t ? e[1] + 7 : e[1], qe = (t) => {
|
|
|
1295
1299
|
emits: ["placement"],
|
|
1296
1300
|
setup(t, { emit: e }) {
|
|
1297
1301
|
var y;
|
|
1298
|
-
const n = t, { position: o } =
|
|
1302
|
+
const n = t, { position: o } = oe(n), i = z(), s = z(null), r = z(n.position), l = R(
|
|
1299
1303
|
() => n.targetElement.$el ? n.targetElement.$el : n.targetElement
|
|
1300
|
-
), a =
|
|
1304
|
+
), a = R(
|
|
1301
1305
|
() => i.value.$el ? i.value.$el : i.value
|
|
1302
|
-
), c =
|
|
1306
|
+
), c = R(() => (n == null ? void 0 : n.position) !== "auto" && (n == null ? void 0 : n.fallbackPosition) !== "auto"), d = R(() => {
|
|
1303
1307
|
switch (n.position) {
|
|
1304
1308
|
case "auto-start":
|
|
1305
1309
|
return { alignment: "start", crossAxis: !0 };
|
|
@@ -1308,52 +1312,52 @@ const $t = { ...Gt, ...Xt }, Ye = (t, e) => t ? e[1] + 7 : e[1], qe = (t) => {
|
|
|
1308
1312
|
default:
|
|
1309
1313
|
return;
|
|
1310
1314
|
}
|
|
1311
|
-
}), u =
|
|
1315
|
+
}), u = R(() => n.fixedPositioning ? "fixed" : "absolute"), { floatingStyles: m, middlewareData: f, placement: p, update: g } = Ye(l, i, {
|
|
1312
1316
|
placement: o,
|
|
1313
1317
|
middleware: [
|
|
1314
1318
|
// Adds flip modifier if fallbackPosition is not set to auto
|
|
1315
1319
|
...c.value ? [
|
|
1316
|
-
|
|
1317
|
-
fallbackPlacements:
|
|
1320
|
+
Ve({
|
|
1321
|
+
fallbackPlacements: Ge(n.fallbackPosition).fallbackPlacements
|
|
1318
1322
|
})
|
|
1319
1323
|
] : [],
|
|
1320
1324
|
// Adds autoposition middlelare if position is set to any auto variants
|
|
1321
|
-
...c.value ? [] : [
|
|
1325
|
+
...c.value ? [] : [Ne(d.value)],
|
|
1322
1326
|
// Add shifting middle in case popper is still not fully visible in view port
|
|
1323
|
-
|
|
1327
|
+
We(),
|
|
1324
1328
|
// Adds offset middlelare if offset property is set
|
|
1325
|
-
...n.offset ? [
|
|
1329
|
+
...n.offset ? [He(qe(n.arrow, n.offset))] : [],
|
|
1326
1330
|
// Adds arrow middlelare if arrow property is set, can set additional padding property
|
|
1327
|
-
...n.arrow ? [
|
|
1331
|
+
...n.arrow ? [Ue({ element: s, padding: n.arrow.padding || 0 })] : [],
|
|
1328
1332
|
// Adds same width middleware to keep popper width same as referenced element's width
|
|
1329
|
-
...n.matchWidth ? [
|
|
1333
|
+
...n.matchWidth ? [Xe] : [],
|
|
1330
1334
|
// If there is additional custom middleware to add via the property then add it
|
|
1331
1335
|
...((y = n.middleware) == null ? void 0 : y.length) > 0 ? n.middleware : []
|
|
1332
1336
|
],
|
|
1333
1337
|
strategy: u,
|
|
1334
1338
|
// If we're mounting the element with a `v-if` then we need to auto update it while it's mounted
|
|
1335
|
-
...n.isHidden === null ? { whileElementsMounted:
|
|
1339
|
+
...n.isHidden === null ? { whileElementsMounted: Bt } : []
|
|
1336
1340
|
});
|
|
1337
1341
|
let w;
|
|
1338
|
-
|
|
1342
|
+
it(
|
|
1339
1343
|
() => n.isHidden,
|
|
1340
1344
|
() => {
|
|
1341
|
-
n.isHidden !== null && !n.isHidden ? w =
|
|
1345
|
+
n.isHidden !== null && !n.isHidden ? w = Bt(l == null ? void 0 : l.value, a == null ? void 0 : a.value, g) : n.isHidden !== null && n.isHidden && typeof w == "function" && w();
|
|
1342
1346
|
}
|
|
1343
|
-
),
|
|
1347
|
+
), it(
|
|
1344
1348
|
() => p.value,
|
|
1345
1349
|
() => {
|
|
1346
1350
|
r.value !== p.value && (r.value = p.value, e("placement", r.value));
|
|
1347
1351
|
}
|
|
1348
1352
|
);
|
|
1349
|
-
const h =
|
|
1353
|
+
const h = R(() => {
|
|
1350
1354
|
var O, b;
|
|
1351
1355
|
return {
|
|
1352
1356
|
position: "absolute",
|
|
1353
1357
|
left: ((O = f.value.arrow) == null ? void 0 : O.x) != null ? `${f.value.arrow.x}px` : "",
|
|
1354
1358
|
top: ((b = f.value.arrow) == null ? void 0 : b.y) != null ? `${f.value.arrow.y}px` : ""
|
|
1355
1359
|
};
|
|
1356
|
-
}), v =
|
|
1360
|
+
}), v = R(() => {
|
|
1357
1361
|
var O;
|
|
1358
1362
|
return {
|
|
1359
1363
|
class: n.arrow.classes,
|
|
@@ -1362,28 +1366,28 @@ const $t = { ...Gt, ...Xt }, Ye = (t, e) => t ? e[1] + 7 : e[1], qe = (t) => {
|
|
|
1362
1366
|
...((O = f.value.arrow) == null ? void 0 : O.centerOffset) !== 0 ? { "data-hide": "" } : {}
|
|
1363
1367
|
};
|
|
1364
1368
|
});
|
|
1365
|
-
return { __sfc: !0, props: n, emit: e, position: o, popperContainerRef: i, floatingArrow: s, emittedPosition: r, targetElement: l, popperContainerElement: a, isFlipMiddleware: c, getAutoPlacementProps: d, strategy: u, floatingStyles: m, middlewareData: f, placement: p, update: g, cleanupAutoUpdate: w, arrowStyles: h, arrowAttributes: v, BentoFocusTrap:
|
|
1369
|
+
return { __sfc: !0, props: n, emit: e, position: o, popperContainerRef: i, floatingArrow: s, emittedPosition: r, targetElement: l, popperContainerElement: a, isFlipMiddleware: c, getAutoPlacementProps: d, strategy: u, floatingStyles: m, middlewareData: f, placement: p, update: g, cleanupAutoUpdate: w, arrowStyles: h, arrowAttributes: v, BentoFocusTrap: ie };
|
|
1366
1370
|
}
|
|
1367
1371
|
});
|
|
1368
|
-
var
|
|
1372
|
+
var Qe = function() {
|
|
1369
1373
|
var e = this, n = e._self._c, o = e._self._setupProxy;
|
|
1370
1374
|
return n(o.BentoFocusTrap, e._b({ ref: "popperContainerRef", staticClass: "b-popper-container", style: o.floatingStyles, attrs: { id: e.id, "data-popper-placement": o.placement, disabled: e.disabledFocusTrap, role: e.ariaRole } }, "bento-focus-trap", e.$attrs, !1), [e._t("default"), o.props.arrow ? n("span", e._b({ ref: "floatingArrow", staticClass: "b-popper-container__arrow", attrs: { "data-testid": "arrow" } }, "span", o.arrowAttributes, !1)) : e._e()], 2);
|
|
1371
|
-
},
|
|
1372
|
-
Ke,
|
|
1375
|
+
}, Ze = [], tn = /* @__PURE__ */ re(
|
|
1373
1376
|
Je,
|
|
1374
1377
|
Qe,
|
|
1378
|
+
Ze,
|
|
1375
1379
|
!1,
|
|
1376
1380
|
null,
|
|
1377
1381
|
"dd3a8fc3"
|
|
1378
1382
|
);
|
|
1379
|
-
const
|
|
1383
|
+
const ln = tn.exports;
|
|
1380
1384
|
export {
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
+
ln as P,
|
|
1386
|
+
Xt as a,
|
|
1387
|
+
Kt as b,
|
|
1388
|
+
Jt as c,
|
|
1385
1389
|
$t as d,
|
|
1386
|
-
|
|
1387
|
-
|
|
1390
|
+
sn as h,
|
|
1391
|
+
He as o
|
|
1388
1392
|
};
|
|
1389
|
-
//# sourceMappingURL=popper-container.
|
|
1393
|
+
//# sourceMappingURL=popper-container.CiEkF7eb.js.map
|