@adyen/bento-vue3 1.49.0 → 1.51.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 +441 -657
- 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/card.css +1 -1
- package/dist/assets/checkbox-input.css +1 -1
- package/dist/assets/copy.css +1 -1
- package/dist/assets/data-grid.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/header.css +1 -1
- 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/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/toggle-button.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.Cf184uiI.js → accordion-item.DLyCF015.js} +2 -2
- package/dist/chunks/{accordion-item.Cf184uiI.js.map → accordion-item.DLyCF015.js.map} +1 -1
- package/dist/chunks/{action-bar.r_Vt4XIu.js → action-bar.BW9db7ja.js} +6 -6
- package/dist/chunks/{action-bar.r_Vt4XIu.js.map → action-bar.BW9db7ja.js.map} +1 -1
- package/dist/chunks/{alert.Dd2DYCZ1.js → alert.eqWeCHyL.js} +25 -24
- package/dist/chunks/alert.eqWeCHyL.js.map +1 -0
- package/dist/chunks/{base-modal.Bis0B1AC.js → base-modal.BRYHc9Ez.js} +5 -5
- package/dist/chunks/{base-modal.Bis0B1AC.js.map → base-modal.BRYHc9Ez.js.map} +1 -1
- package/dist/chunks/{button-actions-with-menu.C5LguXWO.js → button-actions-with-menu.Hl8tUKa4.js} +4 -4
- package/dist/chunks/{button-actions-with-menu.C5LguXWO.js.map → button-actions-with-menu.Hl8tUKa4.js.map} +1 -1
- package/dist/chunks/{button-actions.ncthaz2m.js → button-actions.BPnsl_QP.js} +4 -4
- package/dist/chunks/{button-actions.ncthaz2m.js.map → button-actions.BPnsl_QP.js.map} +1 -1
- package/dist/chunks/{button.Cneb6rPP.js → button.6HMG0xEY.js} +2 -2
- package/dist/chunks/{button.Cneb6rPP.js.map → button.6HMG0xEY.js.map} +1 -1
- package/dist/chunks/{calendar.BdLQOioy.js → calendar.DfN1__E_.js} +3 -3
- package/dist/chunks/{calendar.BdLQOioy.js.map → calendar.DfN1__E_.js.map} +1 -1
- package/dist/chunks/{card.BAg7yMMT.js → card.BwC4MSjn.js} +3 -3
- package/dist/chunks/{card.BAg7yMMT.js.map → card.BwC4MSjn.js.map} +1 -1
- package/dist/chunks/{checkbox-group.CxWYSBy1.js → checkbox-group.Bzd-qpJ-.js} +4 -4
- package/dist/chunks/{checkbox-group.CxWYSBy1.js.map → checkbox-group.Bzd-qpJ-.js.map} +1 -1
- package/dist/chunks/{checkbox-input.CAYgiRHG.js → checkbox-input.XtCjXis9.js} +12 -11
- package/dist/chunks/checkbox-input.XtCjXis9.js.map +1 -0
- package/dist/chunks/{checkbox.bXN3Yann.js → checkbox.DJRe4ync.js} +17 -17
- package/dist/chunks/{checkbox.bXN3Yann.js.map → checkbox.DJRe4ync.js.map} +1 -1
- package/dist/chunks/{checkmark-circle-fill.g_tcBhFJ.js → checkmark-circle-fill.D9gNCN0T.js} +4 -4
- package/dist/chunks/checkmark-circle-fill.D9gNCN0T.js.map +1 -0
- package/dist/chunks/{checkmark-small.BDqUF-Ni.js → checkmark-small.D7l69yBf.js} +4 -4
- package/dist/chunks/checkmark-small.D7l69yBf.js.map +1 -0
- package/dist/chunks/{chevron-left.CYEK2UTr.js → chevron-left.BF63HtOH.js} +6 -6
- package/dist/chunks/chevron-left.BF63HtOH.js.map +1 -0
- package/dist/chunks/{chevron-up.Cu9qXgBY.js → chevron-up.-0oLlHmh.js} +6 -6
- package/dist/chunks/chevron-up.-0oLlHmh.js.map +1 -0
- package/dist/chunks/chip.3T0x6FuI.js +74 -0
- package/dist/chunks/chip.3T0x6FuI.js.map +1 -0
- package/dist/chunks/{code-snippet.baKzBaM6.js → code-snippet.0HhLVaJR.js} +7 -7
- package/dist/chunks/{code-snippet.baKzBaM6.js.map → code-snippet.0HhLVaJR.js.map} +1 -1
- package/dist/chunks/{controls-group.BnbQO34k.js → controls-group.DnX2B502.js} +2 -2
- package/dist/chunks/{controls-group.BnbQO34k.js.map → controls-group.DnX2B502.js.map} +1 -1
- package/dist/chunks/{copy.CXCdp5ly.js → copy.BzeHBtEF.js} +10 -9
- package/dist/chunks/copy.BzeHBtEF.js.map +1 -0
- package/dist/chunks/{cross-circle-fill-small.CJyARMSZ.js → cross-circle-fill-small.mY6ihJcA.js} +4 -4
- package/dist/chunks/cross-circle-fill-small.mY6ihJcA.js.map +1 -0
- package/dist/chunks/{cross-circle-fill.BzSjakuO.js → cross-circle-fill.DLWo6wBR.js} +4 -4
- package/dist/chunks/cross-circle-fill.DLWo6wBR.js.map +1 -0
- package/dist/chunks/{cross-small.Z5EKYRm0.js → cross-small.CFrBIeYK.js} +4 -4
- package/dist/chunks/cross-small.CFrBIeYK.js.map +1 -0
- package/dist/chunks/{cross.BZYw4R3N.js → cross.CbLEjiVy.js} +4 -4
- package/dist/chunks/cross.CbLEjiVy.js.map +1 -0
- package/dist/chunks/{dashboard-section.B87x4XsH.js → dashboard-section.CySxZmlx.js} +3 -3
- package/dist/chunks/{dashboard-section.B87x4XsH.js.map → dashboard-section.CySxZmlx.js.map} +1 -1
- package/dist/chunks/{dashed-underline.dWsHmwUp.js → dashed-underline.CCKLdMc7.js} +3 -3
- package/dist/chunks/{dashed-underline.dWsHmwUp.js.map → dashed-underline.CCKLdMc7.js.map} +1 -1
- package/dist/chunks/{data-grid-template.CZrGeSxR.js → data-grid-template.iM84gKjt.js} +3 -3
- package/dist/chunks/{data-grid-template.CZrGeSxR.js.map → data-grid-template.iM84gKjt.js.map} +1 -1
- package/dist/chunks/{data-grid.Duvh6mRu.js → data-grid.B2L_4qN7.js} +903 -923
- package/dist/chunks/data-grid.B2L_4qN7.js.map +1 -0
- package/dist/chunks/{date-picker.DXrMLxD0.js → date-picker.CMi0Kuy3.js} +5 -5
- package/dist/chunks/{date-picker.DXrMLxD0.js.map → date-picker.CMi0Kuy3.js.map} +1 -1
- package/dist/chunks/{date-range-picker.D7BDFoqM.js → date-range-picker.-KwSzmW_.js} +194 -193
- package/dist/chunks/date-range-picker.-KwSzmW_.js.map +1 -0
- package/dist/chunks/{dialog-page.D_r_CbyD.js → dialog-page.CXQafL9G.js} +5 -4
- package/dist/chunks/dialog-page.CXQafL9G.js.map +1 -0
- package/dist/chunks/{dot.cpdFEk6G.js → dot.BW-xtyjC.js} +4 -4
- package/dist/chunks/dot.BW-xtyjC.js.map +1 -0
- package/dist/chunks/{dropdown-default-textbox.BpvVMlcX.js → dropdown-default-textbox.Filez078.js} +4 -4
- package/dist/chunks/{dropdown-default-textbox.BpvVMlcX.js.map → dropdown-default-textbox.Filez078.js.map} +1 -1
- package/dist/chunks/{dropdown-tag.DrBFdX2o.js → dropdown-tag.B4-3z8xz.js} +4 -4
- package/dist/chunks/{dropdown-tag.DrBFdX2o.js.map → dropdown-tag.B4-3z8xz.js.map} +1 -1
- package/dist/chunks/{dropdown.CWq-VlFX.js → dropdown.CRLx2Juh.js} +333 -325
- package/dist/chunks/dropdown.CRLx2Juh.js.map +1 -0
- package/dist/chunks/{empty-state.C2ancCe6.js → empty-state.BffIZp3a.js} +2 -2
- package/dist/chunks/{empty-state.C2ancCe6.js.map → empty-state.BffIZp3a.js.map} +1 -1
- package/dist/chunks/{error-message.B3z5WkLF.js → error-message.68kVjf_N.js} +3 -3
- package/dist/chunks/{error-message.B3z5WkLF.js.map → error-message.68kVjf_N.js.map} +1 -1
- package/dist/chunks/es6.BtaxuP0b.js.map +1 -1
- package/dist/chunks/{expand.CJ162RaJ.js → expand.DusW7F7p.js} +4 -4
- package/dist/chunks/expand.DusW7F7p.js.map +1 -0
- package/dist/chunks/{file-uploader.NbsEgoj1.js → file-uploader.Cz89e0Ci.js} +275 -278
- package/dist/chunks/file-uploader.Cz89e0Ci.js.map +1 -0
- package/dist/chunks/{filter-bar.DP4SHAQj.js → filter-bar.bfUnCTPj.js} +981 -1039
- package/dist/chunks/filter-bar.bfUnCTPj.js.map +1 -0
- package/dist/chunks/{fixed-scroller.BZwgM5Io.js → fixed-scroller.Bfk75Nei.js} +3 -3
- package/dist/chunks/{fixed-scroller.BZwgM5Io.js.map → fixed-scroller.Bfk75Nei.js.map} +1 -1
- package/dist/chunks/{footer-actions.X_RokrtM.js → footer-actions.DtbsjfSM.js} +3 -3
- package/dist/chunks/{footer-actions.X_RokrtM.js.map → footer-actions.DtbsjfSM.js.map} +1 -1
- package/dist/chunks/{form-layout-title.xkALokzl.js → form-layout-title.B7phPY2m.js} +2 -2
- package/dist/chunks/{form-layout-title.xkALokzl.js.map → form-layout-title.B7phPY2m.js.map} +1 -1
- package/dist/chunks/{header.BBIJHMkv.js → header.ITEMuMAU.js} +21 -21
- package/dist/chunks/{header.BBIJHMkv.js.map → header.ITEMuMAU.js.map} +1 -1
- package/dist/chunks/{info-icon-with-popover.DbIAJO2-.js → info-icon-with-popover.pHwJeQxm.js} +3 -3
- package/dist/chunks/{info-icon-with-popover.DbIAJO2-.js.map → info-icon-with-popover.pHwJeQxm.js.map} +1 -1
- package/dist/chunks/{info-icon.DQn8-VSp.js → info-icon.DUUa2W2z.js} +3 -3
- package/dist/chunks/{info-icon.DQn8-VSp.js.map → info-icon.DUUa2W2z.js.map} +1 -1
- package/dist/chunks/{info.DYNe2WnZ.js → info.CpPLBOVg.js} +4 -4
- package/dist/chunks/info.CpPLBOVg.js.map +1 -0
- package/dist/chunks/{input-field-password.SSiNunUz.js → input-field-password.zIUeIG8i.js} +37 -37
- package/dist/chunks/input-field-password.zIUeIG8i.js.map +1 -0
- package/dist/chunks/{input-field-phone-number._PCiyrci.js → input-field-phone-number.BGS23WKe.js} +2 -2
- package/dist/chunks/{input-field-phone-number._PCiyrci.js.map → input-field-phone-number.BGS23WKe.js.map} +1 -1
- package/dist/chunks/input-field.y006Hyc1.js +292 -0
- package/dist/chunks/input-field.y006Hyc1.js.map +1 -0
- package/dist/chunks/{inspector.types.6P_ZowVx.js → inspector.types.9S8hNOjR.js} +4 -4
- package/dist/chunks/{inspector.types.6P_ZowVx.js.map → inspector.types.9S8hNOjR.js.map} +1 -1
- package/dist/chunks/{link.ClFi8uSm.js → link.D3Fq5tt_.js} +19 -17
- package/dist/chunks/link.D3Fq5tt_.js.map +1 -0
- package/dist/chunks/{listbox-option-tag.DIk4F59J.js → listbox-option-tag.D557okR8.js} +2 -2
- package/dist/chunks/{listbox-option-tag.DIk4F59J.js.map → listbox-option-tag.D557okR8.js.map} +1 -1
- package/dist/chunks/menu.ZE0cTcKL.js +735 -0
- package/dist/chunks/menu.ZE0cTcKL.js.map +1 -0
- package/dist/chunks/{modal-fullscreen.C9FhKsf9.js → modal-fullscreen.CjZh3U8e.js} +5 -5
- package/dist/chunks/{modal-fullscreen.C9FhKsf9.js.map → modal-fullscreen.CjZh3U8e.js.map} +1 -1
- package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.DGz4x-tr.js → modal.vue_vue_type_script_setup_true_lang.C4Z_Q8bq.js} +5 -5
- package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.DGz4x-tr.js.map → modal.vue_vue_type_script_setup_true_lang.C4Z_Q8bq.js.map} +1 -1
- package/dist/chunks/{pagination.DdTcv8B6.js → pagination.BSp5RwM0.js} +37 -36
- package/dist/chunks/pagination.BSp5RwM0.js.map +1 -0
- package/dist/chunks/payment-method.BACjrzKP.js +125 -0
- package/dist/chunks/payment-method.BACjrzKP.js.map +1 -0
- package/dist/chunks/payment-method.types.CJKfZQN5.js.map +1 -1
- package/dist/chunks/{popover.BHGbUyMF.js → popover.DLyVEjCd.js} +106 -98
- package/dist/chunks/popover.DLyVEjCd.js.map +1 -0
- package/dist/chunks/{popper-container.BvGYgqiE.js → popper-container.Bx3CBGg6.js} +448 -444
- package/dist/chunks/popper-container.Bx3CBGg6.js.map +1 -0
- package/dist/chunks/{promo-banner.CKnonHmq.js → promo-banner.Clae7YGL.js} +2 -2
- package/dist/chunks/{promo-banner.CKnonHmq.js.map → promo-banner.Clae7YGL.js.map} +1 -1
- package/dist/chunks/{radio-group.CivaJaaQ.js → radio-group.Bdy7_UIu.js} +4 -4
- package/dist/chunks/{radio-group.CivaJaaQ.js.map → radio-group.Bdy7_UIu.js.map} +1 -1
- package/dist/chunks/{refresh.SzRxQ44W.js → refresh.C20ROVDS.js} +4 -4
- package/dist/chunks/refresh.C20ROVDS.js.map +1 -0
- package/dist/chunks/search-bar.uUWWZpqL.js +114 -0
- package/dist/chunks/search-bar.uUWWZpqL.js.map +1 -0
- package/dist/chunks/{search.KgjmJMHa.js → search.BwQq1yRg.js} +4 -4
- package/dist/chunks/search.BwQq1yRg.js.map +1 -0
- package/dist/chunks/{secondary-nav.DG8xB2Mj.js → secondary-nav.DJudnYiY.js} +2 -2
- package/dist/chunks/{secondary-nav.DG8xB2Mj.js.map → secondary-nav.DJudnYiY.js.map} +1 -1
- package/dist/chunks/{segmented-control.DKWpxDho.js → segmented-control.BqJXrEmp.js} +2 -2
- package/dist/chunks/{segmented-control.DKWpxDho.js.map → segmented-control.BqJXrEmp.js.map} +1 -1
- package/dist/chunks/{selection-card-group.B9nOBntu.js → selection-card-group.COMI4GGI.js} +11 -11
- package/dist/chunks/{selection-card-group.B9nOBntu.js.map → selection-card-group.COMI4GGI.js.map} +1 -1
- package/dist/chunks/{show.J9zXGWlK.js → show.ByWWaogc.js} +6 -6
- package/dist/chunks/show.ByWWaogc.js.map +1 -0
- package/dist/chunks/{sidepanel.dFspFFRG.js → sidepanel.VwZpyqJr.js} +5 -5
- package/dist/chunks/{sidepanel.dFspFFRG.js.map → sidepanel.VwZpyqJr.js.map} +1 -1
- package/dist/chunks/{step.DsfmsUU6.js → step.BGFaHGFO.js} +3 -3
- package/dist/chunks/{step.DsfmsUU6.js.map → step.BGFaHGFO.js.map} +1 -1
- package/dist/chunks/{structured-list-item.C9vL7KwG.js → structured-list-item.BZJQzyt_.js} +6 -6
- package/dist/chunks/{structured-list-item.C9vL7KwG.js.map → structured-list-item.BZJQzyt_.js.map} +1 -1
- package/dist/chunks/{summary-grid-item-custom.B0SvlYn-.js → summary-grid-item-custom.rBC-2kKM.js} +4 -4
- package/dist/chunks/{summary-grid-item-custom.B0SvlYn-.js.map → summary-grid-item-custom.rBC-2kKM.js.map} +1 -1
- package/dist/chunks/{tabs.CR2tWuz3.js → tabs.hp52NnXH.js} +2 -2
- package/dist/chunks/{tabs.CR2tWuz3.js.map → tabs.hp52NnXH.js.map} +1 -1
- package/dist/chunks/{tag.Bmw9RaOG.js → tag.CXADLCgG.js} +2 -2
- package/dist/chunks/{tag.Bmw9RaOG.js.map → tag.CXADLCgG.js.map} +1 -1
- package/dist/chunks/{textarea.CrQk0SR0.js → textarea.4s69xpG3.js} +4 -4
- package/dist/chunks/{textarea.CrQk0SR0.js.map → textarea.4s69xpG3.js.map} +1 -1
- package/dist/chunks/{timeline-item.Cs8JBNAA.js → timeline-item.DOoLkIox.js} +12 -11
- package/dist/chunks/timeline-item.DOoLkIox.js.map +1 -0
- package/dist/chunks/{toast.A5f1_NqV.js → toast.7D23cICy.js} +3 -3
- package/dist/chunks/{toast.A5f1_NqV.js.map → toast.7D23cICy.js.map} +1 -1
- package/dist/chunks/{toggle-button.CCgvi7TQ.js → toggle-button.7iAfO6Xx.js} +23 -22
- package/dist/chunks/toggle-button.7iAfO6Xx.js.map +1 -0
- package/dist/chunks/{toggle.BmwlaQon.js → toggle.hoD_i2Ey.js} +2 -2
- package/dist/chunks/{toggle.BmwlaQon.js.map → toggle.hoD_i2Ey.js.map} +1 -1
- package/dist/chunks/{tooltip.DS1ok8gh.js → tooltip.BtfIbhGU.js} +2 -2
- package/dist/chunks/{tooltip.DS1ok8gh.js.map → tooltip.BtfIbhGU.js.map} +1 -1
- package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.-cMQWbk1.js → tutorial.vue_vue_type_script_setup_true_lang.DRlP0P1P.js} +9 -8
- package/dist/chunks/tutorial.vue_vue_type_script_setup_true_lang.DRlP0P1P.js.map +1 -0
- package/dist/chunks/use-cached-selected-values.9xqNZAmj.js +1446 -0
- package/dist/chunks/use-cached-selected-values.9xqNZAmj.js.map +1 -0
- package/dist/chunks/{warning-filled.tTkVob0l.js → warning-filled.DmHh0nYG.js} +4 -4
- package/dist/chunks/warning-filled.DmHh0nYG.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/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/form-layout.js +1 -1
- package/dist/header.js +1 -1
- package/dist/index.js +59 -59
- 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 +12 -12
- 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 +5 -5
- package/dist/styles/bento-light.css +5 -5
- package/dist/styles/bento.css +5 -5
- package/dist/styles/legacy.css +6 -4
- package/dist/styles/styleguide.css +5 -5
- 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 +1 -1
- package/package.json +5 -6
- package/dist/chunks/alert.Dd2DYCZ1.js.map +0 -1
- package/dist/chunks/checkbox-input.CAYgiRHG.js.map +0 -1
- package/dist/chunks/checkmark-circle-fill.g_tcBhFJ.js.map +0 -1
- package/dist/chunks/checkmark-small.BDqUF-Ni.js.map +0 -1
- package/dist/chunks/chevron-left.CYEK2UTr.js.map +0 -1
- package/dist/chunks/chevron-up.Cu9qXgBY.js.map +0 -1
- package/dist/chunks/chip.sG_6gh3Z.js +0 -71
- package/dist/chunks/chip.sG_6gh3Z.js.map +0 -1
- package/dist/chunks/copy.CXCdp5ly.js.map +0 -1
- package/dist/chunks/cross-circle-fill-small.CJyARMSZ.js.map +0 -1
- package/dist/chunks/cross-circle-fill.BzSjakuO.js.map +0 -1
- package/dist/chunks/cross-small.Z5EKYRm0.js.map +0 -1
- package/dist/chunks/cross.BZYw4R3N.js.map +0 -1
- package/dist/chunks/data-grid.Duvh6mRu.js.map +0 -1
- package/dist/chunks/date-range-picker.D7BDFoqM.js.map +0 -1
- package/dist/chunks/dialog-page.D_r_CbyD.js.map +0 -1
- package/dist/chunks/dot.cpdFEk6G.js.map +0 -1
- package/dist/chunks/dropdown.CWq-VlFX.js.map +0 -1
- package/dist/chunks/expand.CJ162RaJ.js.map +0 -1
- package/dist/chunks/file-uploader.NbsEgoj1.js.map +0 -1
- package/dist/chunks/filter-bar.DP4SHAQj.js.map +0 -1
- package/dist/chunks/info.DYNe2WnZ.js.map +0 -1
- package/dist/chunks/input-field-password.SSiNunUz.js.map +0 -1
- package/dist/chunks/input-field.DhDfq9Er.js +0 -382
- package/dist/chunks/input-field.DhDfq9Er.js.map +0 -1
- package/dist/chunks/link.ClFi8uSm.js.map +0 -1
- package/dist/chunks/menu.DKCUuV6a.js +0 -698
- package/dist/chunks/menu.DKCUuV6a.js.map +0 -1
- package/dist/chunks/pagination.DdTcv8B6.js.map +0 -1
- package/dist/chunks/payment-method.NguqkTwG.js +0 -103
- package/dist/chunks/payment-method.NguqkTwG.js.map +0 -1
- package/dist/chunks/popover.BHGbUyMF.js.map +0 -1
- package/dist/chunks/popper-container.BvGYgqiE.js.map +0 -1
- package/dist/chunks/refresh.SzRxQ44W.js.map +0 -1
- package/dist/chunks/search-bar.BixBEf58.js +0 -132
- package/dist/chunks/search-bar.BixBEf58.js.map +0 -1
- package/dist/chunks/search.KgjmJMHa.js.map +0 -1
- package/dist/chunks/show.J9zXGWlK.js.map +0 -1
- package/dist/chunks/timeline-item.Cs8JBNAA.js.map +0 -1
- package/dist/chunks/toggle-button.CCgvi7TQ.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.vue_vue_type_script_setup_true_lang.-cMQWbk1.js.map +0 -1
- package/dist/chunks/use-cached-selected-values.D82-YBdB.js +0 -1591
- package/dist/chunks/use-cached-selected-values.D82-YBdB.js.map +0 -1
- package/dist/chunks/warning-filled.tTkVob0l.js.map +0 -1
- /package/dist/assets/{cross.css → main.css} +0 -0
|
@@ -1,58 +1,58 @@
|
|
|
1
|
-
import { computed as
|
|
2
|
-
import { B as
|
|
3
|
-
import { c as
|
|
4
|
-
import { _ as
|
|
1
|
+
import { computed as P, unref as N, ref as Y, shallowRef as Qt, watch as it, getCurrentScope as Zt, onScopeDispose as te, shallowReadonly as tt, defineComponent as ee, toRefs as ne, createBlock as oe, openBlock as Et, mergeProps as St, withCtx as ie, renderSlot as re, createElementBlock as se, createCommentVNode as le } from "vue";
|
|
2
|
+
import { B as ce } from "./focus-trap.DPJj05sV.js";
|
|
3
|
+
import { c as Tt, b as ae } from "./popper-container.types.BCZMbVFD.js";
|
|
4
|
+
import { _ as fe } from "./_plugin-vue_export-helper.CHgC5LLL.js";
|
|
5
5
|
import "../assets/popper-container.css";
|
|
6
|
-
const
|
|
6
|
+
const Vt = ["top", "right", "bottom", "left"], Lt = ["start", "end"], Dt = /* @__PURE__ */ Vt.reduce((t, e) => t.concat(e, e + "-" + Lt[0], e + "-" + Lt[1]), []), nt = Math.min, K = Math.max, at = Math.round, ct = Math.floor, B = (t) => ({
|
|
7
7
|
x: t,
|
|
8
8
|
y: t
|
|
9
|
-
}),
|
|
9
|
+
}), ue = {
|
|
10
10
|
left: "right",
|
|
11
11
|
right: "left",
|
|
12
12
|
bottom: "top",
|
|
13
13
|
top: "bottom"
|
|
14
|
-
},
|
|
14
|
+
}, de = {
|
|
15
15
|
start: "end",
|
|
16
16
|
end: "start"
|
|
17
17
|
};
|
|
18
|
-
function
|
|
19
|
-
return
|
|
18
|
+
function wt(t, e, n) {
|
|
19
|
+
return K(t, nt(e, n));
|
|
20
20
|
}
|
|
21
|
-
function
|
|
21
|
+
function Q(t, e) {
|
|
22
22
|
return typeof t == "function" ? t(e) : t;
|
|
23
23
|
}
|
|
24
|
-
function
|
|
24
|
+
function I(t) {
|
|
25
25
|
return t.split("-")[0];
|
|
26
26
|
}
|
|
27
|
-
function
|
|
27
|
+
function M(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 G(t) {
|
|
37
|
+
return ["top", "bottom"].includes(I(t)) ? "y" : "x";
|
|
38
38
|
}
|
|
39
|
-
function
|
|
40
|
-
return
|
|
39
|
+
function bt(t) {
|
|
40
|
+
return Nt(G(t));
|
|
41
41
|
}
|
|
42
|
-
function
|
|
42
|
+
function It(t, e, n) {
|
|
43
43
|
n === void 0 && (n = !1);
|
|
44
|
-
const o =
|
|
44
|
+
const o = M(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 me(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) => de[e]);
|
|
54
54
|
}
|
|
55
|
-
function
|
|
55
|
+
function pe(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,13 +65,13 @@ function me(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 ge(t, e, n, o) {
|
|
69
|
+
const i = M(t);
|
|
70
|
+
let s = pe(I(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) => ue[e]);
|
|
75
75
|
}
|
|
76
76
|
function he(t) {
|
|
77
77
|
return {
|
|
@@ -90,7 +90,7 @@ function jt(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 kt(t, e, n) {
|
|
112
112
|
let {
|
|
113
113
|
reference: o,
|
|
114
114
|
floating: i
|
|
115
115
|
} = t;
|
|
116
|
-
const s =
|
|
116
|
+
const s = G(e), r = bt(e), l = xt(r), a = I(e), c = s === "y", d = o.x + o.width / 2 - i.width / 2, u = o.y + o.height / 2 - i.height / 2, p = o[l] / 2 - i[l] / 2;
|
|
117
117
|
let f;
|
|
118
118
|
switch (a) {
|
|
119
119
|
case "top":
|
|
@@ -146,7 +146,7 @@ function Lt(t, e, n) {
|
|
|
146
146
|
y: o.y
|
|
147
147
|
};
|
|
148
148
|
}
|
|
149
|
-
switch (
|
|
149
|
+
switch (M(e)) {
|
|
150
150
|
case "start":
|
|
151
151
|
f[r] -= p * (n && c ? -1 : 1);
|
|
152
152
|
break;
|
|
@@ -156,7 +156,7 @@ function Lt(t, e, n) {
|
|
|
156
156
|
}
|
|
157
157
|
return f;
|
|
158
158
|
}
|
|
159
|
-
const
|
|
159
|
+
const we = async (t, e, n) => {
|
|
160
160
|
const {
|
|
161
161
|
placement: o = "bottom",
|
|
162
162
|
strategy: i = "absolute",
|
|
@@ -170,17 +170,17 @@ const ge = async (t, e, n) => {
|
|
|
170
170
|
}), {
|
|
171
171
|
x: d,
|
|
172
172
|
y: u
|
|
173
|
-
} =
|
|
174
|
-
for (let
|
|
173
|
+
} = kt(c, o, a), p = o, f = {}, m = 0;
|
|
174
|
+
for (let g = 0; g < l.length; g++) {
|
|
175
175
|
const {
|
|
176
|
-
name:
|
|
177
|
-
fn:
|
|
178
|
-
} = l[
|
|
179
|
-
x:
|
|
176
|
+
name: v,
|
|
177
|
+
fn: h
|
|
178
|
+
} = l[g], {
|
|
179
|
+
x: w,
|
|
180
180
|
y: x,
|
|
181
181
|
data: O,
|
|
182
|
-
reset:
|
|
183
|
-
} = await
|
|
182
|
+
reset: y
|
|
183
|
+
} = await h({
|
|
184
184
|
x: d,
|
|
185
185
|
y: u,
|
|
186
186
|
initialPlacement: o,
|
|
@@ -194,20 +194,20 @@ const ge = async (t, e, n) => {
|
|
|
194
194
|
floating: e
|
|
195
195
|
}
|
|
196
196
|
});
|
|
197
|
-
d =
|
|
197
|
+
d = w ?? d, u = x ?? u, f = {
|
|
198
198
|
...f,
|
|
199
|
-
[
|
|
200
|
-
...f[
|
|
199
|
+
[v]: {
|
|
200
|
+
...f[v],
|
|
201
201
|
...O
|
|
202
202
|
}
|
|
203
|
-
},
|
|
203
|
+
}, y && m <= 50 && (m++, typeof y == "object" && (y.placement && (p = y.placement), y.rects && (c = y.rects === !0 ? await r.getElementRects({
|
|
204
204
|
reference: t,
|
|
205
205
|
floating: e,
|
|
206
206
|
strategy: i
|
|
207
|
-
}) :
|
|
207
|
+
}) : y.rects), {
|
|
208
208
|
x: d,
|
|
209
209
|
y: u
|
|
210
|
-
} =
|
|
210
|
+
} = kt(c, p, a)), g = -1);
|
|
211
211
|
}
|
|
212
212
|
return {
|
|
213
213
|
x: d,
|
|
@@ -217,7 +217,7 @@ const ge = 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,12 +233,12 @@ async function it(t, e) {
|
|
|
233
233
|
elementContext: u = "floating",
|
|
234
234
|
altBoundary: p = !1,
|
|
235
235
|
padding: f = 0
|
|
236
|
-
} =
|
|
237
|
-
element: (n = await (s.isElement == null ? void 0 : s.isElement(
|
|
236
|
+
} = Q(e, t), m = jt(f), v = l[p ? u === "floating" ? "reference" : "floating" : u], h = dt(await s.getClippingRect({
|
|
237
|
+
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)),
|
|
238
238
|
boundary: c,
|
|
239
239
|
rootBoundary: d,
|
|
240
240
|
strategy: a
|
|
241
|
-
})),
|
|
241
|
+
})), w = u === "floating" ? {
|
|
242
242
|
x: o,
|
|
243
243
|
y: i,
|
|
244
244
|
width: r.floating.width,
|
|
@@ -249,20 +249,20 @@ async function it(t, e) {
|
|
|
249
249
|
} : {
|
|
250
250
|
x: 1,
|
|
251
251
|
y: 1
|
|
252
|
-
},
|
|
252
|
+
}, y = dt(s.convertOffsetParentRelativeRectToViewportRelativeRect ? await s.convertOffsetParentRelativeRectToViewportRelativeRect({
|
|
253
253
|
elements: l,
|
|
254
|
-
rect:
|
|
254
|
+
rect: w,
|
|
255
255
|
offsetParent: x,
|
|
256
256
|
strategy: a
|
|
257
|
-
}) :
|
|
257
|
+
}) : w);
|
|
258
258
|
return {
|
|
259
|
-
top: (
|
|
260
|
-
bottom: (
|
|
261
|
-
left: (
|
|
262
|
-
right: (
|
|
259
|
+
top: (h.top - y.top + m.top) / O.y,
|
|
260
|
+
bottom: (y.bottom - h.bottom + m.bottom) / O.y,
|
|
261
|
+
left: (h.left - y.left + m.left) / O.x,
|
|
262
|
+
right: (y.right - h.right + m.right) / O.x
|
|
263
263
|
};
|
|
264
264
|
}
|
|
265
|
-
const
|
|
265
|
+
const ve = (t) => ({
|
|
266
266
|
name: "arrow",
|
|
267
267
|
options: t,
|
|
268
268
|
async fn(e) {
|
|
@@ -277,33 +277,33 @@ const we = (t) => ({
|
|
|
277
277
|
} = e, {
|
|
278
278
|
element: c,
|
|
279
279
|
padding: d = 0
|
|
280
|
-
} =
|
|
280
|
+
} = Q(t, e) || {};
|
|
281
281
|
if (c == null)
|
|
282
282
|
return {};
|
|
283
283
|
const u = jt(d), p = {
|
|
284
284
|
x: n,
|
|
285
285
|
y: o
|
|
286
|
-
}, f =
|
|
287
|
-
let b =
|
|
288
|
-
(!b || !await (r.isElement == null ? void 0 : r.isElement(
|
|
289
|
-
const
|
|
286
|
+
}, f = bt(i), m = xt(f), g = await r.getDimensions(c), v = f === "y", h = v ? "top" : "left", w = v ? "bottom" : "right", x = v ? "clientHeight" : "clientWidth", O = s.reference[m] + s.reference[f] - p[f] - s.floating[m], y = p[f] - s.reference[f], R = await (r.getOffsetParent == null ? void 0 : r.getOffsetParent(c));
|
|
287
|
+
let b = R ? R[x] : 0;
|
|
288
|
+
(!b || !await (r.isElement == null ? void 0 : r.isElement(R))) && (b = l.floating[x] || s.floating[m]);
|
|
289
|
+
const H = O / 2 - y / 2, C = b / 2 - g[m] / 2 - 1, A = nt(u[h], C), S = nt(u[w], C), W = A, q = b - g[m] - S, k = b / 2 - g[m] / 2 + H, T = wt(W, k, q), X = !a.arrow && M(i) != null && k !== T && s.reference[m] / 2 - (k < W ? A : S) - g[m] / 2 < 0, V = X ? k < W ? k - W : k - q : 0;
|
|
290
290
|
return {
|
|
291
|
-
[f]: p[f] +
|
|
291
|
+
[f]: p[f] + V,
|
|
292
292
|
data: {
|
|
293
|
-
[f]:
|
|
294
|
-
centerOffset:
|
|
295
|
-
...
|
|
296
|
-
alignmentOffset:
|
|
293
|
+
[f]: T,
|
|
294
|
+
centerOffset: k - T - V,
|
|
295
|
+
...X && {
|
|
296
|
+
alignmentOffset: V
|
|
297
297
|
}
|
|
298
298
|
},
|
|
299
|
-
reset:
|
|
299
|
+
reset: X
|
|
300
300
|
};
|
|
301
301
|
}
|
|
302
302
|
});
|
|
303
303
|
function ye(t, e, n) {
|
|
304
|
-
return (t ? [...n.filter((i) =>
|
|
304
|
+
return (t ? [...n.filter((i) => M(i) === t), ...n.filter((i) => M(i) !== t)] : n.filter((i) => I(i) === i)).filter((i) => t ? M(i) === t || (e ? ft(i) !== i : !1) : !0);
|
|
305
305
|
}
|
|
306
|
-
const
|
|
306
|
+
const xe = function(t) {
|
|
307
307
|
return t === void 0 && (t = {}), {
|
|
308
308
|
name: "autoPlacement",
|
|
309
309
|
options: t,
|
|
@@ -321,57 +321,57 @@ const ve = function(t) {
|
|
|
321
321
|
allowedPlacements: p = Dt,
|
|
322
322
|
autoAlignment: f = !0,
|
|
323
323
|
...m
|
|
324
|
-
} =
|
|
325
|
-
if (
|
|
324
|
+
} = Q(t, e), g = u !== void 0 || p === Dt ? ye(u || null, f, p) : p, v = await rt(e, m), h = ((n = r.autoPlacement) == null ? void 0 : n.index) || 0, w = g[h];
|
|
325
|
+
if (w == null)
|
|
326
326
|
return {};
|
|
327
|
-
const x =
|
|
328
|
-
if (l !==
|
|
327
|
+
const x = It(w, s, await (a.isRTL == null ? void 0 : a.isRTL(c.floating)));
|
|
328
|
+
if (l !== w)
|
|
329
329
|
return {
|
|
330
330
|
reset: {
|
|
331
|
-
placement:
|
|
331
|
+
placement: g[0]
|
|
332
332
|
}
|
|
333
333
|
};
|
|
334
|
-
const O = [
|
|
335
|
-
placement:
|
|
334
|
+
const O = [v[I(w)], v[x[0]], v[x[1]]], y = [...((o = r.autoPlacement) == null ? void 0 : o.overflows) || [], {
|
|
335
|
+
placement: w,
|
|
336
336
|
overflows: O
|
|
337
|
-
}],
|
|
338
|
-
if (
|
|
337
|
+
}], R = g[h + 1];
|
|
338
|
+
if (R)
|
|
339
339
|
return {
|
|
340
340
|
data: {
|
|
341
|
-
index:
|
|
342
|
-
overflows:
|
|
341
|
+
index: h + 1,
|
|
342
|
+
overflows: y
|
|
343
343
|
},
|
|
344
344
|
reset: {
|
|
345
|
-
placement:
|
|
345
|
+
placement: R
|
|
346
346
|
}
|
|
347
347
|
};
|
|
348
|
-
const b =
|
|
349
|
-
const
|
|
350
|
-
return [
|
|
348
|
+
const b = y.map((A) => {
|
|
349
|
+
const S = M(A.placement);
|
|
350
|
+
return [A.placement, S && d ? (
|
|
351
351
|
// Check along the mainAxis and main crossAxis side.
|
|
352
|
-
|
|
352
|
+
A.overflows.slice(0, 2).reduce((W, q) => W + q, 0)
|
|
353
353
|
) : (
|
|
354
354
|
// Check only the mainAxis.
|
|
355
|
-
|
|
356
|
-
),
|
|
357
|
-
}).sort((
|
|
355
|
+
A.overflows[0]
|
|
356
|
+
), A.overflows];
|
|
357
|
+
}).sort((A, S) => A[1] - S[1]), C = ((i = b.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
|
+
M(A[0]) ? 2 : 3
|
|
362
|
+
).every((S) => S <= 0))[0]) == null ? void 0 : i[0]) || b[0][0];
|
|
363
|
+
return C !== l ? {
|
|
364
364
|
data: {
|
|
365
|
-
index:
|
|
366
|
-
overflows:
|
|
365
|
+
index: h + 1,
|
|
366
|
+
overflows: y
|
|
367
367
|
},
|
|
368
368
|
reset: {
|
|
369
|
-
placement:
|
|
369
|
+
placement: C
|
|
370
370
|
}
|
|
371
371
|
} : {};
|
|
372
372
|
}
|
|
373
373
|
};
|
|
374
|
-
},
|
|
374
|
+
}, be = function(t) {
|
|
375
375
|
return t === void 0 && (t = {}), {
|
|
376
376
|
name: "flip",
|
|
377
377
|
options: t,
|
|
@@ -390,60 +390,64 @@ const ve = function(t) {
|
|
|
390
390
|
fallbackPlacements: p,
|
|
391
391
|
fallbackStrategy: f = "bestFit",
|
|
392
392
|
fallbackAxisSideDirection: m = "none",
|
|
393
|
-
flipAlignment:
|
|
394
|
-
...
|
|
395
|
-
} =
|
|
393
|
+
flipAlignment: g = !0,
|
|
394
|
+
...v
|
|
395
|
+
} = Q(t, e);
|
|
396
396
|
if ((n = s.arrow) != null && n.alignmentOffset)
|
|
397
397
|
return {};
|
|
398
|
-
const
|
|
399
|
-
!p &&
|
|
400
|
-
const b = [l, ...
|
|
401
|
-
let
|
|
402
|
-
if (d &&
|
|
403
|
-
const
|
|
404
|
-
|
|
398
|
+
const h = I(i), w = G(l), x = I(l) === l, O = await (a.isRTL == null ? void 0 : a.isRTL(c.floating)), y = p || (x || !g ? [ut(l)] : me(l)), R = m !== "none";
|
|
399
|
+
!p && R && y.push(...ge(l, g, m, O));
|
|
400
|
+
const b = [l, ...y], H = await rt(e, v), C = [];
|
|
401
|
+
let A = ((o = s.flip) == null ? void 0 : o.overflows) || [];
|
|
402
|
+
if (d && C.push(H[h]), u) {
|
|
403
|
+
const T = It(i, r, O);
|
|
404
|
+
C.push(H[T[0]], H[T[1]]);
|
|
405
405
|
}
|
|
406
|
-
if (
|
|
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: C
|
|
409
|
+
}], !C.every((T) => T <= 0)) {
|
|
410
|
+
var S, W;
|
|
411
|
+
const T = (((S = s.flip) == null ? void 0 : S.index) || 0) + 1, X = b[T];
|
|
412
|
+
if (X) {
|
|
413
|
+
var q;
|
|
414
|
+
const j = u === "alignment" ? w !== G(X) : !1, F = ((q = A[0]) == null ? void 0 : q.overflows[0]) > 0;
|
|
415
|
+
if (!j || F)
|
|
416
|
+
return {
|
|
417
|
+
data: {
|
|
418
|
+
index: T,
|
|
419
|
+
overflows: A
|
|
420
|
+
},
|
|
421
|
+
reset: {
|
|
422
|
+
placement: X
|
|
423
|
+
}
|
|
424
|
+
};
|
|
425
|
+
}
|
|
426
|
+
let V = (W = A.filter((j) => j.overflows[0] <= 0).sort((j, F) => j.overflows[1] - F.overflows[1])[0]) == null ? void 0 : W.placement;
|
|
427
|
+
if (!V)
|
|
424
428
|
switch (f) {
|
|
425
429
|
case "bestFit": {
|
|
426
|
-
var
|
|
427
|
-
const
|
|
428
|
-
if (
|
|
429
|
-
const
|
|
430
|
-
return
|
|
430
|
+
var k;
|
|
431
|
+
const j = (k = A.filter((F) => {
|
|
432
|
+
if (R) {
|
|
433
|
+
const z = G(F.placement);
|
|
434
|
+
return z === w || // Create a bias to the `y` side axis due to horizontal
|
|
431
435
|
// reading directions favoring greater width.
|
|
432
|
-
|
|
436
|
+
z === "y";
|
|
433
437
|
}
|
|
434
438
|
return !0;
|
|
435
|
-
}).map((
|
|
436
|
-
|
|
439
|
+
}).map((F) => [F.placement, F.overflows.filter((z) => z > 0).reduce((z, Jt) => z + Jt, 0)]).sort((F, z) => F[1] - z[1])[0]) == null ? void 0 : k[0];
|
|
440
|
+
j && (V = j);
|
|
437
441
|
break;
|
|
438
442
|
}
|
|
439
443
|
case "initialPlacement":
|
|
440
|
-
|
|
444
|
+
V = l;
|
|
441
445
|
break;
|
|
442
446
|
}
|
|
443
|
-
if (i !==
|
|
447
|
+
if (i !== V)
|
|
444
448
|
return {
|
|
445
449
|
reset: {
|
|
446
|
-
placement:
|
|
450
|
+
placement: V
|
|
447
451
|
}
|
|
448
452
|
};
|
|
449
453
|
}
|
|
@@ -451,7 +455,7 @@ const ve = function(t) {
|
|
|
451
455
|
}
|
|
452
456
|
};
|
|
453
457
|
};
|
|
454
|
-
function
|
|
458
|
+
function Ft(t, e) {
|
|
455
459
|
return {
|
|
456
460
|
top: t.top - e.height,
|
|
457
461
|
right: t.right - e.width,
|
|
@@ -459,10 +463,10 @@ function kt(t, e) {
|
|
|
459
463
|
left: t.left - e.width
|
|
460
464
|
};
|
|
461
465
|
}
|
|
462
|
-
function
|
|
463
|
-
return
|
|
466
|
+
function Bt(t) {
|
|
467
|
+
return Vt.some((e) => t[e] >= 0);
|
|
464
468
|
}
|
|
465
|
-
const
|
|
469
|
+
const Oe = function(t) {
|
|
466
470
|
return t === void 0 && (t = {}), {
|
|
467
471
|
name: "hide",
|
|
468
472
|
options: t,
|
|
@@ -472,29 +476,29 @@ const be = function(t) {
|
|
|
472
476
|
} = e, {
|
|
473
477
|
strategy: o = "referenceHidden",
|
|
474
478
|
...i
|
|
475
|
-
} =
|
|
479
|
+
} = Q(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 = Ft(s, n.reference);
|
|
482
486
|
return {
|
|
483
487
|
data: {
|
|
484
488
|
referenceHiddenOffsets: r,
|
|
485
|
-
referenceHidden:
|
|
489
|
+
referenceHidden: Bt(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 = Ft(s, n.floating);
|
|
494
498
|
return {
|
|
495
499
|
data: {
|
|
496
500
|
escapedOffsets: r,
|
|
497
|
-
escaped:
|
|
501
|
+
escaped: Bt(r)
|
|
498
502
|
}
|
|
499
503
|
};
|
|
500
504
|
}
|
|
@@ -504,12 +508,12 @@ const be = function(t) {
|
|
|
504
508
|
}
|
|
505
509
|
};
|
|
506
510
|
};
|
|
507
|
-
async function
|
|
511
|
+
async function Ae(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 = I(n), l = M(n), a = G(n) === "y", c = ["left", "top"].includes(r) ? -1 : 1, d = s && a ? -1 : 1, u = Q(e, t);
|
|
513
517
|
let {
|
|
514
518
|
mainAxis: p,
|
|
515
519
|
crossAxis: f,
|
|
@@ -531,7 +535,7 @@ async function Oe(t, e) {
|
|
|
531
535
|
y: f * d
|
|
532
536
|
};
|
|
533
537
|
}
|
|
534
|
-
const
|
|
538
|
+
const Re = function(t) {
|
|
535
539
|
return t === void 0 && (t = 0), {
|
|
536
540
|
name: "offset",
|
|
537
541
|
options: t,
|
|
@@ -542,7 +546,7 @@ const Ae = function(t) {
|
|
|
542
546
|
y: s,
|
|
543
547
|
placement: r,
|
|
544
548
|
middlewareData: l
|
|
545
|
-
} = e, a = await
|
|
549
|
+
} = e, a = await Ae(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 Ae = function(t) {
|
|
|
553
557
|
};
|
|
554
558
|
}
|
|
555
559
|
};
|
|
556
|
-
},
|
|
560
|
+
}, Pe = function(t) {
|
|
557
561
|
return t === void 0 && (t = {}), {
|
|
558
562
|
name: "shift",
|
|
559
563
|
options: t,
|
|
@@ -566,41 +570,41 @@ const Ae = function(t) {
|
|
|
566
570
|
mainAxis: s = !0,
|
|
567
571
|
crossAxis: r = !1,
|
|
568
572
|
limiter: l = {
|
|
569
|
-
fn: (
|
|
573
|
+
fn: (v) => {
|
|
570
574
|
let {
|
|
571
|
-
x:
|
|
572
|
-
y
|
|
573
|
-
} =
|
|
575
|
+
x: h,
|
|
576
|
+
y: w
|
|
577
|
+
} = v;
|
|
574
578
|
return {
|
|
575
|
-
x:
|
|
576
|
-
y
|
|
579
|
+
x: h,
|
|
580
|
+
y: w
|
|
577
581
|
};
|
|
578
582
|
}
|
|
579
583
|
},
|
|
580
584
|
...a
|
|
581
|
-
} =
|
|
585
|
+
} = Q(t, e), c = {
|
|
582
586
|
x: n,
|
|
583
587
|
y: o
|
|
584
|
-
}, d = await
|
|
588
|
+
}, d = await rt(e, a), u = G(I(i)), p = Nt(u);
|
|
585
589
|
let f = c[p], m = c[u];
|
|
586
590
|
if (s) {
|
|
587
|
-
const
|
|
588
|
-
f =
|
|
591
|
+
const v = p === "y" ? "top" : "left", h = p === "y" ? "bottom" : "right", w = f + d[v], x = f - d[h];
|
|
592
|
+
f = wt(w, f, x);
|
|
589
593
|
}
|
|
590
594
|
if (r) {
|
|
591
|
-
const
|
|
592
|
-
m =
|
|
595
|
+
const v = u === "y" ? "top" : "left", h = u === "y" ? "bottom" : "right", w = m + d[v], x = m - d[h];
|
|
596
|
+
m = wt(w, m, x);
|
|
593
597
|
}
|
|
594
|
-
const
|
|
598
|
+
const g = l.fn({
|
|
595
599
|
...e,
|
|
596
600
|
[p]: f,
|
|
597
601
|
[u]: m
|
|
598
602
|
});
|
|
599
603
|
return {
|
|
600
|
-
...
|
|
604
|
+
...g,
|
|
601
605
|
data: {
|
|
602
|
-
x:
|
|
603
|
-
y:
|
|
606
|
+
x: g.x - n,
|
|
607
|
+
y: g.y - o,
|
|
604
608
|
enabled: {
|
|
605
609
|
[p]: s,
|
|
606
610
|
[u]: r
|
|
@@ -610,45 +614,45 @@ const Ae = 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 Z(t) {
|
|
621
|
+
return Ot(t) ? (t.nodeName || "").toLowerCase() : "#document";
|
|
618
622
|
}
|
|
619
|
-
function
|
|
623
|
+
function E(t) {
|
|
620
624
|
var e;
|
|
621
625
|
return (t == null || (e = t.ownerDocument) == null ? void 0 : e.defaultView) || window;
|
|
622
626
|
}
|
|
623
|
-
function
|
|
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 E(t).Node : !1;
|
|
629
633
|
}
|
|
630
|
-
function
|
|
631
|
-
return
|
|
634
|
+
function L(t) {
|
|
635
|
+
return mt() ? t instanceof Element || t instanceof E(t).Element : !1;
|
|
632
636
|
}
|
|
633
637
|
function $(t) {
|
|
634
|
-
return
|
|
638
|
+
return mt() ? t instanceof HTMLElement || t instanceof E(t).HTMLElement : !1;
|
|
635
639
|
}
|
|
636
|
-
function
|
|
637
|
-
return !
|
|
640
|
+
function Mt(t) {
|
|
641
|
+
return !mt() || typeof ShadowRoot > "u" ? !1 : t instanceof ShadowRoot || t instanceof E(t).ShadowRoot;
|
|
638
642
|
}
|
|
639
|
-
function
|
|
643
|
+
function lt(t) {
|
|
640
644
|
const {
|
|
641
645
|
overflow: e,
|
|
642
646
|
overflowX: n,
|
|
643
647
|
overflowY: o,
|
|
644
648
|
display: i
|
|
645
|
-
} =
|
|
649
|
+
} = D(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 Ce(t) {
|
|
653
|
+
return ["table", "td", "th"].includes(Z(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,32 +661,32 @@ function mt(t) {
|
|
|
657
661
|
}
|
|
658
662
|
});
|
|
659
663
|
}
|
|
660
|
-
function
|
|
661
|
-
const e =
|
|
664
|
+
function At(t) {
|
|
665
|
+
const e = Rt(), n = L(t) ? D(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 (; $(e) && !
|
|
667
|
-
if (
|
|
668
|
+
function Ee(t) {
|
|
669
|
+
let e = U(t);
|
|
670
|
+
for (; $(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 Rt() {
|
|
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(Z(t));
|
|
680
684
|
}
|
|
681
|
-
function
|
|
682
|
-
return
|
|
685
|
+
function D(t) {
|
|
686
|
+
return E(t).getComputedStyle(t);
|
|
683
687
|
}
|
|
684
|
-
function
|
|
685
|
-
return
|
|
688
|
+
function gt(t) {
|
|
689
|
+
return L(t) ? {
|
|
686
690
|
scrollLeft: t.scrollLeft,
|
|
687
691
|
scrollTop: t.scrollTop
|
|
688
692
|
} : {
|
|
@@ -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 (Z(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
|
-
|
|
701
|
-
|
|
704
|
+
Mt(t) && t.host || // Fallback.
|
|
705
|
+
_(t)
|
|
702
706
|
);
|
|
703
|
-
return
|
|
707
|
+
return Mt(e) ? e.host : e;
|
|
704
708
|
}
|
|
705
|
-
function
|
|
706
|
-
const e =
|
|
707
|
-
return
|
|
709
|
+
function zt(t) {
|
|
710
|
+
const e = U(t);
|
|
711
|
+
return ot(e) ? t.ownerDocument ? t.ownerDocument.body : t.body : $(e) && lt(e) ? e : zt(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 = zt(t), s = i === ((o = t.ownerDocument) == null ? void 0 : o.body), r = E(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
|
|
723
|
-
const e =
|
|
726
|
+
function Yt(t) {
|
|
727
|
+
const e = D(t);
|
|
724
728
|
let n = parseFloat(e.width) || 0, o = parseFloat(e.height) || 0;
|
|
725
|
-
const i = $(t), s = i ? t.offsetWidth : n, r = i ? t.offsetHeight : o, l =
|
|
729
|
+
const i = $(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
|
|
733
|
-
return
|
|
736
|
+
function Pt(t) {
|
|
737
|
+
return L(t) ? t : t.contextElement;
|
|
734
738
|
}
|
|
735
|
-
function
|
|
736
|
-
const e =
|
|
739
|
+
function et(t) {
|
|
740
|
+
const e = Pt(t);
|
|
737
741
|
if (!$(e))
|
|
738
|
-
return
|
|
742
|
+
return B(1);
|
|
739
743
|
const n = e.getBoundingClientRect(), {
|
|
740
744
|
width: o,
|
|
741
745
|
height: i,
|
|
742
746
|
$: s
|
|
743
|
-
} =
|
|
744
|
-
let r = (s ?
|
|
747
|
+
} = Yt(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 Se = /* @__PURE__ */ B(0);
|
|
755
|
+
function Ut(t) {
|
|
756
|
+
const e = E(t);
|
|
757
|
+
return !Rt() || !e.visualViewport ? Se : {
|
|
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 !== E(t) ? !1 : e;
|
|
760
764
|
}
|
|
761
|
-
function
|
|
765
|
+
function J(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 ?
|
|
766
|
-
const l =
|
|
767
|
+
const i = t.getBoundingClientRect(), s = Pt(t);
|
|
768
|
+
let r = B(1);
|
|
769
|
+
e && (o ? L(o) && (r = et(o)) : r = et(t));
|
|
770
|
+
const l = Te(s, n, o) ? Ut(s) : B(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 p =
|
|
770
|
-
let m = p,
|
|
771
|
-
for (;
|
|
772
|
-
const
|
|
773
|
-
a *=
|
|
773
|
+
const p = E(s), f = o && L(o) ? E(o) : o;
|
|
774
|
+
let m = p, g = vt(m);
|
|
775
|
+
for (; g && o && f !== m; ) {
|
|
776
|
+
const v = et(g), h = g.getBoundingClientRect(), w = D(g), x = h.left + (g.clientLeft + parseFloat(w.paddingLeft)) * v.x, O = h.top + (g.clientTop + parseFloat(w.paddingTop)) * v.y;
|
|
777
|
+
a *= v.x, c *= v.y, d *= v.x, u *= v.y, a += x, c += O, m = E(g), g = vt(m);
|
|
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 Ct(t, e) {
|
|
788
|
+
const n = gt(t).scrollLeft;
|
|
789
|
+
return e ? e.left + n : J(_(t)).left + n;
|
|
786
790
|
}
|
|
787
|
-
function
|
|
791
|
+
function qt(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
|
+
Ct(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 Le(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 =
|
|
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 = B(1);
|
|
816
|
+
const d = B(0), u = $(o);
|
|
817
|
+
if ((u || !u && !s) && ((Z(o) !== "body" || lt(r)) && (a = gt(o)), $(o))) {
|
|
818
|
+
const f = J(o);
|
|
819
|
+
c = et(o), d.x = f.x + o.clientLeft, d.y = f.y + o.clientTop;
|
|
816
820
|
}
|
|
817
|
-
const p = r && !u && !s ?
|
|
821
|
+
const p = r && !u && !s ? qt(r, a, !0) : B(0);
|
|
818
822
|
return {
|
|
819
823
|
width: n.width * c.x,
|
|
820
824
|
height: n.height * c.y,
|
|
@@ -825,23 +829,23 @@ function Te(t) {
|
|
|
825
829
|
function De(t) {
|
|
826
830
|
return Array.from(t.getClientRects());
|
|
827
831
|
}
|
|
828
|
-
function
|
|
829
|
-
const e =
|
|
830
|
-
let r = -n.scrollLeft +
|
|
832
|
+
function ke(t) {
|
|
833
|
+
const e = _(t), n = gt(t), o = t.ownerDocument.body, i = K(e.scrollWidth, e.clientWidth, o.scrollWidth, o.clientWidth), s = K(e.scrollHeight, e.clientHeight, o.scrollHeight, o.clientHeight);
|
|
834
|
+
let r = -n.scrollLeft + Ct(t);
|
|
831
835
|
const l = -n.scrollTop;
|
|
832
|
-
return
|
|
836
|
+
return D(o).direction === "rtl" && (r += K(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 Fe(t, e) {
|
|
844
|
+
const n = E(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 = Rt();
|
|
845
849
|
(!c || c && e === "fixed") && (l = i.offsetLeft, a = i.offsetTop);
|
|
846
850
|
}
|
|
847
851
|
return {
|
|
@@ -851,8 +855,8 @@ function ke(t, e) {
|
|
|
851
855
|
y: a
|
|
852
856
|
};
|
|
853
857
|
}
|
|
854
|
-
function
|
|
855
|
-
const n =
|
|
858
|
+
function Be(t, e) {
|
|
859
|
+
const n = J(t, !0, e === "fixed"), o = n.top + t.clientTop, i = n.left + t.clientLeft, s = $(t) ? et(t) : B(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,
|
|
@@ -863,13 +867,13 @@ function Fe(t, e) {
|
|
|
863
867
|
function $t(t, e, n) {
|
|
864
868
|
let o;
|
|
865
869
|
if (e === "viewport")
|
|
866
|
-
o =
|
|
870
|
+
o = Fe(t, n);
|
|
867
871
|
else if (e === "document")
|
|
868
|
-
o =
|
|
869
|
-
else if (
|
|
870
|
-
o =
|
|
872
|
+
o = ke(_(t));
|
|
873
|
+
else if (L(e))
|
|
874
|
+
o = Be(e, n);
|
|
871
875
|
else {
|
|
872
|
-
const i =
|
|
876
|
+
const i = Ut(t);
|
|
873
877
|
o = {
|
|
874
878
|
x: e.x - i.x,
|
|
875
879
|
y: e.y - i.y,
|
|
@@ -877,22 +881,22 @@ function $t(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 || !
|
|
886
|
+
function Xt(t, e) {
|
|
887
|
+
const n = U(t);
|
|
888
|
+
return n === e || !L(n) || ot(n) ? !1 : D(n).position === "fixed" || Xt(n, e);
|
|
885
889
|
}
|
|
886
|
-
function
|
|
890
|
+
function Me(t, e) {
|
|
887
891
|
const n = e.get(t);
|
|
888
892
|
if (n)
|
|
889
893
|
return n;
|
|
890
|
-
let o =
|
|
891
|
-
const s =
|
|
892
|
-
let r = s ?
|
|
893
|
-
for (;
|
|
894
|
-
const l =
|
|
895
|
-
!a && l.position === "fixed" && (i = null), (s ? !a && !i : !a && l.position === "static" && !!i && ["absolute", "fixed"].includes(i.position) ||
|
|
894
|
+
let o = st(t, [], !1).filter((l) => L(l) && Z(l) !== "body"), i = null;
|
|
895
|
+
const s = D(t).position === "fixed";
|
|
896
|
+
let r = s ? U(t) : t;
|
|
897
|
+
for (; L(r) && !ot(r); ) {
|
|
898
|
+
const l = D(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 && Xt(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
|
}
|
|
@@ -903,9 +907,9 @@ function $e(t) {
|
|
|
903
907
|
rootBoundary: o,
|
|
904
908
|
strategy: i
|
|
905
909
|
} = t;
|
|
906
|
-
const r = [...n === "clippingAncestors" ?
|
|
910
|
+
const r = [...n === "clippingAncestors" ? pt(e) ? [] : Me(e, this._c) : [].concat(n), o], l = r[0], a = r.reduce((c, d) => {
|
|
907
911
|
const u = $t(e, d, i);
|
|
908
|
-
return c.top =
|
|
912
|
+
return c.top = K(u.top, c.top), c.right = nt(u.right, c.right), c.bottom = nt(u.bottom, c.bottom), c.left = K(u.left, c.left), c;
|
|
909
913
|
}, $t(e, l, i));
|
|
910
914
|
return {
|
|
911
915
|
width: a.right - a.left,
|
|
@@ -914,29 +918,29 @@ function $e(t) {
|
|
|
914
918
|
y: a.top
|
|
915
919
|
};
|
|
916
920
|
}
|
|
917
|
-
function
|
|
921
|
+
function _e(t) {
|
|
918
922
|
const {
|
|
919
923
|
width: e,
|
|
920
924
|
height: n
|
|
921
|
-
} =
|
|
925
|
+
} = Yt(t);
|
|
922
926
|
return {
|
|
923
927
|
width: e,
|
|
924
928
|
height: n
|
|
925
929
|
};
|
|
926
930
|
}
|
|
927
|
-
function
|
|
928
|
-
const o = $(e), i =
|
|
931
|
+
function He(t, e, n) {
|
|
932
|
+
const o = $(e), i = _(e), s = n === "fixed", r = J(t, !0, s, e);
|
|
929
933
|
let l = {
|
|
930
934
|
scrollLeft: 0,
|
|
931
935
|
scrollTop: 0
|
|
932
936
|
};
|
|
933
|
-
const a =
|
|
937
|
+
const a = B(0);
|
|
934
938
|
if (o || !o && !s)
|
|
935
|
-
if ((
|
|
936
|
-
const p =
|
|
939
|
+
if ((Z(e) !== "body" || lt(i)) && (l = gt(e)), o) {
|
|
940
|
+
const p = J(e, !0, s, e);
|
|
937
941
|
a.x = p.x + e.clientLeft, a.y = p.y + e.clientTop;
|
|
938
|
-
} else i && (a.x =
|
|
939
|
-
const c = i && !o && !s ?
|
|
942
|
+
} else i && (a.x = Ct(i));
|
|
943
|
+
const c = i && !o && !s ? qt(i, l) : B(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,
|
|
@@ -945,38 +949,38 @@ function _e(t, e, n) {
|
|
|
945
949
|
};
|
|
946
950
|
}
|
|
947
951
|
function ht(t) {
|
|
948
|
-
return
|
|
952
|
+
return D(t).position === "static";
|
|
949
953
|
}
|
|
950
|
-
function
|
|
951
|
-
if (!$(t) ||
|
|
954
|
+
function _t(t, e) {
|
|
955
|
+
if (!$(t) || D(t).position === "fixed")
|
|
952
956
|
return null;
|
|
953
957
|
if (e)
|
|
954
958
|
return e(t);
|
|
955
959
|
let n = t.offsetParent;
|
|
956
|
-
return
|
|
960
|
+
return _(t) === n && (n = n.ownerDocument.body), n;
|
|
957
961
|
}
|
|
958
|
-
function
|
|
959
|
-
const n =
|
|
960
|
-
if (
|
|
962
|
+
function Kt(t, e) {
|
|
963
|
+
const n = E(t);
|
|
964
|
+
if (pt(t))
|
|
961
965
|
return n;
|
|
962
966
|
if (!$(t)) {
|
|
963
|
-
let i =
|
|
964
|
-
for (; i && !
|
|
965
|
-
if (
|
|
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 = _t(t, e);
|
|
976
|
+
for (; o && Ce(o) && ht(o); )
|
|
977
|
+
o = _t(o, e);
|
|
978
|
+
return o && ot(o) && ht(o) && !At(o) ? n : o || Ee(t) || n;
|
|
975
979
|
}
|
|
976
|
-
const
|
|
977
|
-
const e = this.getOffsetParent ||
|
|
980
|
+
const We = async function(t) {
|
|
981
|
+
const e = this.getOffsetParent || Kt, n = this.getDimensions, o = await n(t.floating);
|
|
978
982
|
return {
|
|
979
|
-
reference:
|
|
983
|
+
reference: He(t.reference, await e(t.floating), t.strategy),
|
|
980
984
|
floating: {
|
|
981
985
|
x: 0,
|
|
982
986
|
y: 0,
|
|
@@ -985,24 +989,24 @@ const He = async function(t) {
|
|
|
985
989
|
}
|
|
986
990
|
};
|
|
987
991
|
};
|
|
988
|
-
function
|
|
989
|
-
return
|
|
992
|
+
function Ve(t) {
|
|
993
|
+
return D(t).direction === "rtl";
|
|
990
994
|
}
|
|
991
|
-
const
|
|
992
|
-
convertOffsetParentRelativeRectToViewportRelativeRect:
|
|
993
|
-
getDocumentElement:
|
|
995
|
+
const Ne = {
|
|
996
|
+
convertOffsetParentRelativeRectToViewportRelativeRect: Le,
|
|
997
|
+
getDocumentElement: _,
|
|
994
998
|
getClippingRect: $e,
|
|
995
|
-
getOffsetParent:
|
|
996
|
-
getElementRects:
|
|
999
|
+
getOffsetParent: Kt,
|
|
1000
|
+
getElementRects: We,
|
|
997
1001
|
getClientRects: De,
|
|
998
|
-
getDimensions:
|
|
999
|
-
getScale:
|
|
1000
|
-
isElement:
|
|
1001
|
-
isRTL:
|
|
1002
|
+
getDimensions: _e,
|
|
1003
|
+
getScale: et,
|
|
1004
|
+
isElement: L,
|
|
1005
|
+
isRTL: Ve
|
|
1002
1006
|
};
|
|
1003
|
-
function
|
|
1007
|
+
function Ie(t, e) {
|
|
1004
1008
|
let n = null, o;
|
|
1005
|
-
const i =
|
|
1009
|
+
const i = _(t);
|
|
1006
1010
|
function s() {
|
|
1007
1011
|
var l;
|
|
1008
1012
|
clearTimeout(o), (l = n) == null || l.disconnect(), n = null;
|
|
@@ -1017,17 +1021,17 @@ function Ne(t, e) {
|
|
|
1017
1021
|
} = t.getBoundingClientRect();
|
|
1018
1022
|
if (l || e(), !u || !p)
|
|
1019
1023
|
return;
|
|
1020
|
-
const f =
|
|
1021
|
-
rootMargin: -f + "px " + -m + "px " + -
|
|
1022
|
-
threshold:
|
|
1024
|
+
const f = ct(d), m = ct(i.clientWidth - (c + u)), g = ct(i.clientHeight - (d + p)), v = ct(c), w = {
|
|
1025
|
+
rootMargin: -f + "px " + -m + "px " + -g + "px " + -v + "px",
|
|
1026
|
+
threshold: K(0, nt(1, a)) || 1
|
|
1023
1027
|
};
|
|
1024
1028
|
let x = !0;
|
|
1025
|
-
function O(
|
|
1026
|
-
const
|
|
1027
|
-
if (
|
|
1029
|
+
function O(y) {
|
|
1030
|
+
const R = y[0].intersectionRatio;
|
|
1031
|
+
if (R !== a) {
|
|
1028
1032
|
if (!x)
|
|
1029
1033
|
return r();
|
|
1030
|
-
|
|
1034
|
+
R ? r(!1, R) : o = setTimeout(() => {
|
|
1031
1035
|
r(!1, 1e-7);
|
|
1032
1036
|
}, 1e3);
|
|
1033
1037
|
}
|
|
@@ -1035,18 +1039,18 @@ function Ne(t, e) {
|
|
|
1035
1039
|
}
|
|
1036
1040
|
try {
|
|
1037
1041
|
n = new IntersectionObserver(O, {
|
|
1038
|
-
...
|
|
1042
|
+
...w,
|
|
1039
1043
|
// Handle <iframe>s
|
|
1040
1044
|
root: i.ownerDocument
|
|
1041
1045
|
});
|
|
1042
1046
|
} catch {
|
|
1043
|
-
n = new IntersectionObserver(O,
|
|
1047
|
+
n = new IntersectionObserver(O, w);
|
|
1044
1048
|
}
|
|
1045
1049
|
n.observe(t);
|
|
1046
1050
|
}
|
|
1047
1051
|
return r(!0), s;
|
|
1048
1052
|
}
|
|
1049
|
-
function
|
|
1053
|
+
function Ht(t, e, n, o) {
|
|
1050
1054
|
o === void 0 && (o = {});
|
|
1051
1055
|
const {
|
|
1052
1056
|
ancestorScroll: i = !0,
|
|
@@ -1054,92 +1058,92 @@ function _t(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 =
|
|
1058
|
-
d.forEach((
|
|
1059
|
-
i &&
|
|
1061
|
+
} = o, c = Pt(t), d = i || s ? [...c ? st(c) : [], ...st(e)] : [];
|
|
1062
|
+
d.forEach((h) => {
|
|
1063
|
+
i && h.addEventListener("scroll", n, {
|
|
1060
1064
|
passive: !0
|
|
1061
|
-
}), s &&
|
|
1065
|
+
}), s && h.addEventListener("resize", n);
|
|
1062
1066
|
});
|
|
1063
|
-
const u = c && l ?
|
|
1067
|
+
const u = c && l ? Ie(c, n) : null;
|
|
1064
1068
|
let p = -1, f = null;
|
|
1065
|
-
r && (f = new ResizeObserver((
|
|
1066
|
-
let [
|
|
1067
|
-
|
|
1069
|
+
r && (f = new ResizeObserver((h) => {
|
|
1070
|
+
let [w] = h;
|
|
1071
|
+
w && w.target === c && f && (f.unobserve(e), cancelAnimationFrame(p), p = requestAnimationFrame(() => {
|
|
1068
1072
|
var x;
|
|
1069
1073
|
(x = f) == null || x.observe(e);
|
|
1070
1074
|
})), n();
|
|
1071
1075
|
}), c && !a && f.observe(c), f.observe(e));
|
|
1072
|
-
let m,
|
|
1073
|
-
a &&
|
|
1074
|
-
function
|
|
1075
|
-
const
|
|
1076
|
-
|
|
1076
|
+
let m, g = a ? J(t) : null;
|
|
1077
|
+
a && v();
|
|
1078
|
+
function v() {
|
|
1079
|
+
const h = J(t);
|
|
1080
|
+
g && (h.x !== g.x || h.y !== g.y || h.width !== g.width || h.height !== g.height) && n(), g = h, m = requestAnimationFrame(v);
|
|
1077
1081
|
}
|
|
1078
1082
|
return n(), () => {
|
|
1079
|
-
var
|
|
1080
|
-
d.forEach((
|
|
1081
|
-
i &&
|
|
1082
|
-
}), u == null || u(), (
|
|
1083
|
+
var h;
|
|
1084
|
+
d.forEach((w) => {
|
|
1085
|
+
i && w.removeEventListener("scroll", n), s && w.removeEventListener("resize", n);
|
|
1086
|
+
}), u == null || u(), (h = f) == null || h.disconnect(), f = null, a && cancelAnimationFrame(m);
|
|
1083
1087
|
};
|
|
1084
1088
|
}
|
|
1085
|
-
const je =
|
|
1089
|
+
const je = Re, ze = xe, Ye = Pe, Ue = be, cn = Oe, qe = ve, Xe = (t, e, n) => {
|
|
1086
1090
|
const o = /* @__PURE__ */ new Map(), i = {
|
|
1087
|
-
platform:
|
|
1091
|
+
platform: Ne,
|
|
1088
1092
|
...n
|
|
1089
1093
|
}, s = {
|
|
1090
1094
|
...i.platform,
|
|
1091
1095
|
_c: o
|
|
1092
1096
|
};
|
|
1093
|
-
return
|
|
1097
|
+
return we(t, e, {
|
|
1094
1098
|
...i,
|
|
1095
1099
|
platform: s
|
|
1096
1100
|
});
|
|
1097
1101
|
};
|
|
1098
|
-
function
|
|
1102
|
+
function Ke(t) {
|
|
1099
1103
|
return t != null && typeof t == "object" && "$el" in t;
|
|
1100
1104
|
}
|
|
1101
1105
|
function yt(t) {
|
|
1102
|
-
if (
|
|
1106
|
+
if (Ke(t)) {
|
|
1103
1107
|
const e = t.$el;
|
|
1104
|
-
return
|
|
1108
|
+
return Ot(e) && Z(e) === "#comment" ? null : e;
|
|
1105
1109
|
}
|
|
1106
1110
|
return t;
|
|
1107
1111
|
}
|
|
1108
|
-
function
|
|
1112
|
+
function Ge(t) {
|
|
1109
1113
|
return {
|
|
1110
1114
|
name: "arrow",
|
|
1111
1115
|
options: t,
|
|
1112
1116
|
fn(e) {
|
|
1113
|
-
const n = yt(
|
|
1114
|
-
return n == null ? {} :
|
|
1117
|
+
const n = yt(N(t.element));
|
|
1118
|
+
return n == null ? {} : qe({
|
|
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 Wt(t, e) {
|
|
1129
|
+
const n = Gt(t);
|
|
1126
1130
|
return Math.round(e * n) / n;
|
|
1127
1131
|
}
|
|
1128
|
-
function
|
|
1132
|
+
function Je(t, e, n) {
|
|
1129
1133
|
n === void 0 && (n = {});
|
|
1130
|
-
const o = n.whileElementsMounted, i =
|
|
1134
|
+
const o = n.whileElementsMounted, i = P(() => {
|
|
1131
1135
|
var b;
|
|
1132
|
-
return (b =
|
|
1133
|
-
}), s =
|
|
1136
|
+
return (b = N(n.open)) != null ? b : !0;
|
|
1137
|
+
}), s = P(() => N(n.middleware)), r = P(() => {
|
|
1134
1138
|
var b;
|
|
1135
|
-
return (b =
|
|
1136
|
-
}), l =
|
|
1139
|
+
return (b = N(n.placement)) != null ? b : "bottom";
|
|
1140
|
+
}), l = P(() => {
|
|
1137
1141
|
var b;
|
|
1138
|
-
return (b =
|
|
1139
|
-
}), a =
|
|
1142
|
+
return (b = N(n.strategy)) != null ? b : "absolute";
|
|
1143
|
+
}), a = P(() => {
|
|
1140
1144
|
var b;
|
|
1141
|
-
return (b =
|
|
1142
|
-
}), c =
|
|
1145
|
+
return (b = N(n.transform)) != null ? b : !0;
|
|
1146
|
+
}), c = P(() => yt(t.value)), d = P(() => yt(e.value)), u = Y(0), p = Y(0), f = Y(l.value), m = Y(r.value), g = Qt({}), v = Y(!1), h = P(() => {
|
|
1143
1147
|
const b = {
|
|
1144
1148
|
position: f.value,
|
|
1145
1149
|
left: "0",
|
|
@@ -1147,72 +1151,72 @@ function Ge(t, e, n) {
|
|
|
1147
1151
|
};
|
|
1148
1152
|
if (!d.value)
|
|
1149
1153
|
return b;
|
|
1150
|
-
const
|
|
1154
|
+
const H = Wt(d.value, u.value), C = Wt(d.value, p.value);
|
|
1151
1155
|
return a.value ? {
|
|
1152
1156
|
...b,
|
|
1153
|
-
transform: "translate(" +
|
|
1154
|
-
...
|
|
1157
|
+
transform: "translate(" + H + "px, " + C + "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: C + "px"
|
|
1161
1165
|
};
|
|
1162
1166
|
});
|
|
1163
|
-
let
|
|
1167
|
+
let w;
|
|
1164
1168
|
function x() {
|
|
1165
|
-
c.value == null || d.value == null ||
|
|
1169
|
+
c.value == null || d.value == null || Xe(c.value, d.value, {
|
|
1166
1170
|
middleware: s.value,
|
|
1167
1171
|
placement: r.value,
|
|
1168
1172
|
strategy: l.value
|
|
1169
1173
|
}).then((b) => {
|
|
1170
|
-
u.value = b.x, p.value = b.y, f.value = b.strategy, m.value = b.placement,
|
|
1174
|
+
u.value = b.x, p.value = b.y, f.value = b.strategy, m.value = b.placement, g.value = b.middlewareData, v.value = !0;
|
|
1171
1175
|
});
|
|
1172
1176
|
}
|
|
1173
1177
|
function O() {
|
|
1174
|
-
typeof
|
|
1178
|
+
typeof w == "function" && (w(), w = void 0);
|
|
1175
1179
|
}
|
|
1176
|
-
function
|
|
1180
|
+
function y() {
|
|
1177
1181
|
if (O(), o === void 0) {
|
|
1178
1182
|
x();
|
|
1179
1183
|
return;
|
|
1180
1184
|
}
|
|
1181
1185
|
if (c.value != null && d.value != null) {
|
|
1182
|
-
|
|
1186
|
+
w = o(c.value, d.value, x);
|
|
1183
1187
|
return;
|
|
1184
1188
|
}
|
|
1185
1189
|
}
|
|
1186
|
-
function
|
|
1187
|
-
i.value || (
|
|
1190
|
+
function R() {
|
|
1191
|
+
i.value || (v.value = !1);
|
|
1188
1192
|
}
|
|
1189
|
-
return
|
|
1193
|
+
return it([s, r, l], x, {
|
|
1190
1194
|
flush: "sync"
|
|
1191
|
-
}),
|
|
1195
|
+
}), it([c, d], y, {
|
|
1192
1196
|
flush: "sync"
|
|
1193
|
-
}),
|
|
1197
|
+
}), it(i, R, {
|
|
1194
1198
|
flush: "sync"
|
|
1195
|
-
}),
|
|
1196
|
-
x:
|
|
1197
|
-
y:
|
|
1198
|
-
strategy:
|
|
1199
|
-
placement:
|
|
1200
|
-
middlewareData:
|
|
1201
|
-
isPositioned:
|
|
1202
|
-
floatingStyles:
|
|
1199
|
+
}), Zt() && te(O), {
|
|
1200
|
+
x: tt(u),
|
|
1201
|
+
y: tt(p),
|
|
1202
|
+
strategy: tt(f),
|
|
1203
|
+
placement: tt(m),
|
|
1204
|
+
middlewareData: tt(g),
|
|
1205
|
+
isPositioned: tt(v),
|
|
1206
|
+
floatingStyles: h,
|
|
1203
1207
|
update: x
|
|
1204
1208
|
};
|
|
1205
1209
|
}
|
|
1206
|
-
const
|
|
1210
|
+
const Qe = (t, e) => t ? e[1] + 7 : e[1], Ze = (t) => {
|
|
1207
1211
|
let e = Array.isArray(t) ? t : [t];
|
|
1208
1212
|
return e = e.filter((n) => n !== "auto" && n !== "auto-start" && n !== "auto-end").map((n) => n), {
|
|
1209
1213
|
fallbackPlacements: e
|
|
1210
1214
|
};
|
|
1211
|
-
},
|
|
1215
|
+
}, tn = {
|
|
1212
1216
|
name: "sameWidth",
|
|
1213
1217
|
fn: ({ elements: t }) => (t.floating.style.width = `${t.reference.offsetWidth}px`, {})
|
|
1214
|
-
},
|
|
1215
|
-
...
|
|
1218
|
+
}, en = {}, nn = /* @__PURE__ */ ee({
|
|
1219
|
+
...en,
|
|
1216
1220
|
__name: "popper-container",
|
|
1217
1221
|
props: {
|
|
1218
1222
|
/**
|
|
@@ -1221,7 +1225,7 @@ const Je = (t, e) => t ? e[1] + 7 : e[1], Qe = (t) => {
|
|
|
1221
1225
|
ariaRole: {
|
|
1222
1226
|
type: String,
|
|
1223
1227
|
default: null,
|
|
1224
|
-
validator: (t) => Object.values(
|
|
1228
|
+
validator: (t) => Object.values(ae).includes(t)
|
|
1225
1229
|
},
|
|
1226
1230
|
/**
|
|
1227
1231
|
* Indicates if container should have additional arrow, pointing at target element
|
|
@@ -1283,8 +1287,8 @@ const Je = (t, e) => t ? e[1] + 7 : e[1], Qe = (t) => {
|
|
|
1283
1287
|
*/
|
|
1284
1288
|
position: {
|
|
1285
1289
|
type: String,
|
|
1286
|
-
default:
|
|
1287
|
-
validator: (t) => Object.values(
|
|
1290
|
+
default: Tt.AUTO,
|
|
1291
|
+
validator: (t) => Object.values(Tt).includes(t)
|
|
1288
1292
|
},
|
|
1289
1293
|
/**
|
|
1290
1294
|
* Reference to the DOM element or Vue component for positioning
|
|
@@ -1294,11 +1298,11 @@ const Je = (t, e) => t ? e[1] + 7 : e[1], Qe = (t) => {
|
|
|
1294
1298
|
emits: ["placement"],
|
|
1295
1299
|
setup(t, { emit: e }) {
|
|
1296
1300
|
var O;
|
|
1297
|
-
const n = t, o = e, { position: i } =
|
|
1301
|
+
const n = t, o = e, { position: i } = ne(n), s = Y(), r = Y(null), l = Y(n.position), a = P(
|
|
1298
1302
|
() => n.targetElement.$el ? n.targetElement.$el : n.targetElement
|
|
1299
|
-
), c =
|
|
1303
|
+
), c = P(
|
|
1300
1304
|
() => s.value.$el ? s.value.$el : s.value
|
|
1301
|
-
), d =
|
|
1305
|
+
), d = P(() => (n == null ? void 0 : n.position) !== "auto" && (n == null ? void 0 : n.fallbackPosition) !== "auto"), u = P(() => {
|
|
1302
1306
|
switch (n.position) {
|
|
1303
1307
|
case "auto-start":
|
|
1304
1308
|
return { alignment: "start", crossAxis: !0 };
|
|
@@ -1307,86 +1311,86 @@ const Je = (t, e) => t ? e[1] + 7 : e[1], Qe = (t) => {
|
|
|
1307
1311
|
default:
|
|
1308
1312
|
return;
|
|
1309
1313
|
}
|
|
1310
|
-
}), p =
|
|
1314
|
+
}), p = P(() => n.fixedPositioning ? "fixed" : "absolute"), { floatingStyles: f, middlewareData: m, placement: g, update: v } = Je(a, s, {
|
|
1311
1315
|
placement: i,
|
|
1312
1316
|
middleware: [
|
|
1313
1317
|
// Adds flip modifier if fallbackPosition is not set to auto
|
|
1314
1318
|
...d.value ? [
|
|
1315
|
-
|
|
1316
|
-
fallbackPlacements:
|
|
1319
|
+
Ue({
|
|
1320
|
+
fallbackPlacements: Ze(n.fallbackPosition).fallbackPlacements
|
|
1317
1321
|
})
|
|
1318
1322
|
] : [],
|
|
1319
1323
|
// Adds autoposition middlelare if position is set to any auto variants
|
|
1320
|
-
...d.value ? [] : [
|
|
1324
|
+
...d.value ? [] : [ze(u.value)],
|
|
1321
1325
|
// Add shifting middle in case popper is still not fully visible in view port
|
|
1322
|
-
|
|
1326
|
+
Ye(),
|
|
1323
1327
|
// Adds offset middlelare if offset property is set
|
|
1324
|
-
...n.offset ? [je(
|
|
1328
|
+
...n.offset ? [je(Qe(n.arrow, n.offset))] : [],
|
|
1325
1329
|
// Adds arrow middlelare if arrow property is set, can set additional padding property
|
|
1326
|
-
...n.arrow ? [
|
|
1330
|
+
...n.arrow ? [Ge({ element: r, padding: n.arrow.padding || 0 })] : [],
|
|
1327
1331
|
// Adds same width middleware to keep popper width same as referenced element's width
|
|
1328
|
-
...n.matchWidth ? [
|
|
1332
|
+
...n.matchWidth ? [tn] : [],
|
|
1329
1333
|
// If there is additional custom middleware to add via the property then add it
|
|
1330
1334
|
...((O = n.middleware) == null ? void 0 : O.length) > 0 ? n.middleware : []
|
|
1331
1335
|
],
|
|
1332
1336
|
strategy: p,
|
|
1333
1337
|
// If we're mounting the element with a `v-if` then we need to auto update it while it's mounted
|
|
1334
|
-
...n.isHidden === null ? { whileElementsMounted:
|
|
1338
|
+
...n.isHidden === null ? { whileElementsMounted: Ht } : []
|
|
1335
1339
|
});
|
|
1336
|
-
let
|
|
1337
|
-
|
|
1340
|
+
let h;
|
|
1341
|
+
it(
|
|
1338
1342
|
() => n.isHidden,
|
|
1339
1343
|
() => {
|
|
1340
|
-
n.isHidden !== null && !n.isHidden ?
|
|
1344
|
+
n.isHidden !== null && !n.isHidden ? h = Ht(a == null ? void 0 : a.value, c == null ? void 0 : c.value, v) : n.isHidden !== null && n.isHidden && typeof h == "function" && h();
|
|
1341
1345
|
}
|
|
1342
|
-
),
|
|
1343
|
-
() =>
|
|
1346
|
+
), it(
|
|
1347
|
+
() => g.value,
|
|
1344
1348
|
() => {
|
|
1345
|
-
l.value !==
|
|
1349
|
+
l.value !== g.value && (l.value = g.value, o("placement", l.value));
|
|
1346
1350
|
}
|
|
1347
1351
|
);
|
|
1348
|
-
const
|
|
1349
|
-
var
|
|
1352
|
+
const w = P(() => {
|
|
1353
|
+
var y, R;
|
|
1350
1354
|
return {
|
|
1351
1355
|
position: "absolute",
|
|
1352
|
-
left: ((
|
|
1353
|
-
top: ((
|
|
1356
|
+
left: ((y = m.value.arrow) == null ? void 0 : y.x) != null ? `${m.value.arrow.x}px` : "",
|
|
1357
|
+
top: ((R = m.value.arrow) == null ? void 0 : R.y) != null ? `${m.value.arrow.y}px` : ""
|
|
1354
1358
|
};
|
|
1355
|
-
}), x =
|
|
1356
|
-
var
|
|
1359
|
+
}), x = P(() => {
|
|
1360
|
+
var y;
|
|
1357
1361
|
return {
|
|
1358
1362
|
class: n.arrow.classes,
|
|
1359
|
-
style:
|
|
1363
|
+
style: w.value,
|
|
1360
1364
|
// Applies a data-hide attribute to arrow element depending on center offset.
|
|
1361
|
-
...((
|
|
1365
|
+
...((y = m.value.arrow) == null ? void 0 : y.centerOffset) !== 0 ? { "data-hide": "" } : {}
|
|
1362
1366
|
};
|
|
1363
1367
|
});
|
|
1364
|
-
return (
|
|
1368
|
+
return (y, R) => (Et(), oe(N(ce), St(y.$attrs, {
|
|
1365
1369
|
id: t.id,
|
|
1366
1370
|
ref_key: "popperContainerRef",
|
|
1367
1371
|
ref: s,
|
|
1368
1372
|
class: "b-popper-container",
|
|
1369
|
-
"data-popper-placement":
|
|
1373
|
+
"data-popper-placement": N(g),
|
|
1370
1374
|
disabled: t.disabledFocusTrap,
|
|
1371
|
-
style:
|
|
1375
|
+
style: N(f),
|
|
1372
1376
|
role: t.ariaRole
|
|
1373
1377
|
}), {
|
|
1374
|
-
default:
|
|
1375
|
-
|
|
1376
|
-
n.arrow ? (
|
|
1378
|
+
default: ie(() => [
|
|
1379
|
+
re(y.$slots, "default", {}, void 0, !0),
|
|
1380
|
+
n.arrow ? (Et(), se("span", St({ key: 0 }, x.value, {
|
|
1377
1381
|
ref_key: "floatingArrow",
|
|
1378
1382
|
ref: r,
|
|
1379
1383
|
class: "b-popper-container__arrow",
|
|
1380
1384
|
"data-testid": "arrow"
|
|
1381
|
-
}), null, 16)) :
|
|
1385
|
+
}), null, 16)) : le("", !0)
|
|
1382
1386
|
]),
|
|
1383
1387
|
_: 3
|
|
1384
1388
|
}, 16, ["id", "data-popper-placement", "disabled", "style", "role"]));
|
|
1385
1389
|
}
|
|
1386
|
-
}),
|
|
1390
|
+
}), an = /* @__PURE__ */ fe(nn, [["__scopeId", "data-v-13472090"]]);
|
|
1387
1391
|
export {
|
|
1388
|
-
|
|
1389
|
-
|
|
1392
|
+
an as P,
|
|
1393
|
+
cn as h,
|
|
1390
1394
|
je as o
|
|
1391
1395
|
};
|
|
1392
|
-
//# sourceMappingURL=popper-container.
|
|
1396
|
+
//# sourceMappingURL=popper-container.Bx3CBGg6.js.map
|