@adyen/bento-vue2 1.59.0 → 1.60.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/package.json +12 -8
- package/dist/@types/components.d.ts +0 -201
- package/dist/@types/index.d.ts +0 -17671
- package/dist/accordion.js +0 -6
- package/dist/accordion.js.map +0 -1
- package/dist/action-bar.js +0 -5
- package/dist/action-bar.js.map +0 -1
- package/dist/alert.js +0 -8
- package/dist/alert.js.map +0 -1
- package/dist/assets/accordion-item.css +0 -1
- package/dist/assets/action-bar.css +0 -1
- package/dist/assets/alert.css +0 -1
- package/dist/assets/avatar.css +0 -1
- package/dist/assets/base-button.css +0 -1
- package/dist/assets/base-modal.css +0 -1
- package/dist/assets/button-actions-with-menu.css +0 -1
- package/dist/assets/button-actions.css +0 -1
- package/dist/assets/button.css +0 -1
- package/dist/assets/calendar.css +0 -1
- package/dist/assets/card.css +0 -1
- package/dist/assets/checkbox-group.css +0 -1
- package/dist/assets/checkbox-input.css +0 -1
- package/dist/assets/checkbox.css +0 -1
- package/dist/assets/chip.css +0 -1
- package/dist/assets/code-snippet.css +0 -1
- package/dist/assets/controls-group.css +0 -1
- package/dist/assets/copy.css +0 -1
- package/dist/assets/country.css +0 -1
- package/dist/assets/currency.css +0 -1
- package/dist/assets/dashboard-section.css +0 -1
- package/dist/assets/dashed-underline.css +0 -1
- package/dist/assets/data-grid-template.css +0 -1
- package/dist/assets/data-grid.css +0 -1
- package/dist/assets/date-picker.css +0 -1
- package/dist/assets/date-range-picker.css +0 -1
- package/dist/assets/date.css +0 -1
- package/dist/assets/dialog-page.css +0 -1
- package/dist/assets/divider.css +0 -1
- package/dist/assets/dropdown-default-textbox.css +0 -1
- package/dist/assets/dropdown-tag.css +0 -1
- package/dist/assets/dropdown.css +0 -1
- package/dist/assets/empty-state.css +0 -1
- package/dist/assets/error-message.css +0 -1
- package/dist/assets/file-uploader.css +0 -1
- package/dist/assets/filter-bar.css +0 -1
- package/dist/assets/fixed-scroller.css +0 -1
- package/dist/assets/focus-trap.css +0 -1
- package/dist/assets/footer-actions.css +0 -1
- package/dist/assets/form-layout-title.css +0 -1
- package/dist/assets/grid-layout.css +0 -1
- package/dist/assets/header-with-views.css +0 -1
- package/dist/assets/header.css +0 -1
- package/dist/assets/info-icon-with-popover.css +0 -1
- package/dist/assets/info-icon.css +0 -1
- package/dist/assets/input-field-password.css +0 -1
- package/dist/assets/input-field-phone-number.css +0 -1
- package/dist/assets/input-field.css +0 -1
- package/dist/assets/inspector.css +0 -1
- package/dist/assets/layout-row.css +0 -1
- package/dist/assets/link.css +0 -1
- package/dist/assets/listbox-option-tag.css +0 -1
- package/dist/assets/loading-indicator.css +0 -1
- package/dist/assets/main.css +0 -1
- package/dist/assets/menu.css +0 -1
- package/dist/assets/modal-fullscreen.css +0 -1
- package/dist/assets/pagination.css +0 -1
- package/dist/assets/payment-method.css +0 -1
- package/dist/assets/popover.css +0 -1
- package/dist/assets/popper-container.css +0 -1
- package/dist/assets/promo-banner.css +0 -1
- package/dist/assets/radio-group.css +0 -1
- package/dist/assets/radio-input.css +0 -1
- package/dist/assets/rich-text-editor.css +0 -1
- package/dist/assets/search-bar.css +0 -1
- package/dist/assets/secondary-nav.css +0 -1
- package/dist/assets/segmented-control.css +0 -1
- package/dist/assets/selection-card-group.css +0 -1
- package/dist/assets/sidepanel.css +0 -1
- package/dist/assets/status.css +0 -1
- package/dist/assets/step.css +0 -1
- package/dist/assets/structured-list-item.css +0 -1
- package/dist/assets/summary-grid.css +0 -1
- package/dist/assets/tabs.css +0 -1
- package/dist/assets/tag.css +0 -1
- package/dist/assets/teleport.css +0 -1
- package/dist/assets/textarea.css +0 -1
- package/dist/assets/timeline-item.css +0 -1
- package/dist/assets/toast.css +0 -1
- package/dist/assets/toggle-button.css +0 -1
- package/dist/assets/toggle.css +0 -1
- package/dist/assets/tooltip.css +0 -1
- package/dist/assets/tutorial.css +0 -1
- package/dist/assets/typography.css +0 -1
- package/dist/assets/use-cached-selected-values.css +0 -1
- package/dist/avatar.js +0 -5
- package/dist/avatar.js.map +0 -1
- package/dist/button.js +0 -16
- package/dist/button.js.map +0 -1
- package/dist/card.js +0 -7
- package/dist/card.js.map +0 -1
- package/dist/checkbox.js +0 -11
- package/dist/checkbox.js.map +0 -1
- package/dist/chip.js +0 -5
- package/dist/chip.js.map +0 -1
- package/dist/chunks/1-generic-use.CZhwP2Yc.js +0 -5
- package/dist/chunks/1-generic-use.CZhwP2Yc.js.map +0 -1
- package/dist/chunks/1-generic-use.R6x8PEGA.js +0 -5
- package/dist/chunks/1-generic-use.R6x8PEGA.js.map +0 -1
- package/dist/chunks/2-generic-use.CNKjB4B7.js +0 -5
- package/dist/chunks/2-generic-use.CNKjB4B7.js.map +0 -1
- package/dist/chunks/2-generic-use.w0fUhovx.js +0 -5
- package/dist/chunks/2-generic-use.w0fUhovx.js.map +0 -1
- package/dist/chunks/3-generic-use.BLEzR04g.js +0 -5
- package/dist/chunks/3-generic-use.BLEzR04g.js.map +0 -1
- package/dist/chunks/3-generic-use.D3NFHgI4.js +0 -5
- package/dist/chunks/3-generic-use.D3NFHgI4.js.map +0 -1
- package/dist/chunks/4-generic-use.CULEpvgj.js +0 -5
- package/dist/chunks/4-generic-use.CULEpvgj.js.map +0 -1
- package/dist/chunks/4-generic-use.D82y3n39.js +0 -5
- package/dist/chunks/4-generic-use.D82y3n39.js.map +0 -1
- package/dist/chunks/_commonjsHelpers.C6fGbg64.js +0 -7
- package/dist/chunks/_commonjsHelpers.C6fGbg64.js.map +0 -1
- package/dist/chunks/_plugin-vue2_normalizer.CeySl7Fu.js +0 -11
- package/dist/chunks/_plugin-vue2_normalizer.CeySl7Fu.js.map +0 -1
- package/dist/chunks/accordion-item.C4tyRMCt.js +0 -116
- package/dist/chunks/accordion-item.C4tyRMCt.js.map +0 -1
- package/dist/chunks/action-bar.CHVePTM6.js +0 -161
- package/dist/chunks/action-bar.CHVePTM6.js.map +0 -1
- package/dist/chunks/adding-payment-methods.BJZLPxtM.js +0 -5
- package/dist/chunks/adding-payment-methods.BJZLPxtM.js.map +0 -1
- package/dist/chunks/adding-payment-methods.Dle8zt43.js +0 -5
- package/dist/chunks/adding-payment-methods.Dle8zt43.js.map +0 -1
- package/dist/chunks/adyen-giving.Ffw_DlJK.js +0 -5
- package/dist/chunks/adyen-giving.Ffw_DlJK.js.map +0 -1
- package/dist/chunks/adyen-giving.LiKHj_jY.js +0 -5
- package/dist/chunks/adyen-giving.LiKHj_jY.js.map +0 -1
- package/dist/chunks/alert.Du9NfW-V.js +0 -103
- package/dist/chunks/alert.Du9NfW-V.js.map +0 -1
- package/dist/chunks/aria-label.CaUURpnB.js +0 -13
- package/dist/chunks/aria-label.CaUURpnB.js.map +0 -1
- package/dist/chunks/avatar.BgwjpLQO.js +0 -71
- package/dist/chunks/avatar.BgwjpLQO.js.map +0 -1
- package/dist/chunks/base-button.-gx_u8Bd.js +0 -86
- package/dist/chunks/base-button.-gx_u8Bd.js.map +0 -1
- package/dist/chunks/base-modal.DxywEyGO.js +0 -373
- package/dist/chunks/base-modal.DxywEyGO.js.map +0 -1
- package/dist/chunks/base-modal.keys.C2PQXcE2.js +0 -5
- package/dist/chunks/base-modal.keys.C2PQXcE2.js.map +0 -1
- package/dist/chunks/bin.DuebwJYu.js +0 -24
- package/dist/chunks/bin.DuebwJYu.js.map +0 -1
- package/dist/chunks/button-actions-with-menu.Bh5D7sgB.js +0 -166
- package/dist/chunks/button-actions-with-menu.Bh5D7sgB.js.map +0 -1
- package/dist/chunks/button-actions.V0te_IrY.js +0 -194
- package/dist/chunks/button-actions.V0te_IrY.js.map +0 -1
- package/dist/chunks/button.BuD-IsW5.js +0 -99
- package/dist/chunks/button.BuD-IsW5.js.map +0 -1
- package/dist/chunks/calendar.C4vFYvsY.js +0 -1166
- package/dist/chunks/calendar.C4vFYvsY.js.map +0 -1
- package/dist/chunks/card.CC4BEw-7.js +0 -123
- package/dist/chunks/card.CC4BEw-7.js.map +0 -1
- package/dist/chunks/checkbox-group.BfPZ_Eec.js +0 -152
- package/dist/chunks/checkbox-group.BfPZ_Eec.js.map +0 -1
- package/dist/chunks/checkbox-input.Dr1GS2BZ.js +0 -137
- package/dist/chunks/checkbox-input.Dr1GS2BZ.js.map +0 -1
- package/dist/chunks/checkbox.CTeT6JEP.js +0 -176
- package/dist/chunks/checkbox.CTeT6JEP.js.map +0 -1
- package/dist/chunks/checkmark-circle-fill.DZBl7CeY.js +0 -24
- package/dist/chunks/checkmark-circle-fill.DZBl7CeY.js.map +0 -1
- package/dist/chunks/checkmark-small.C8T8ISN6.js +0 -24
- package/dist/chunks/checkmark-small.C8T8ISN6.js.map +0 -1
- package/dist/chunks/chevron-left.DOMTgGel.js +0 -43
- package/dist/chunks/chevron-left.DOMTgGel.js.map +0 -1
- package/dist/chunks/chevron-up.CSVyoaTy.js +0 -43
- package/dist/chunks/chevron-up.CSVyoaTy.js.map +0 -1
- package/dist/chunks/chip.bZEhHfIk.js +0 -63
- package/dist/chunks/chip.bZEhHfIk.js.map +0 -1
- package/dist/chunks/click-outside.C1Ud8AA2.js +0 -23
- package/dist/chunks/click-outside.C1Ud8AA2.js.map +0 -1
- package/dist/chunks/code-snippet.0x8O1dkV.js +0 -259
- package/dist/chunks/code-snippet.0x8O1dkV.js.map +0 -1
- package/dist/chunks/codemirror.Zv80n3Z2.js +0 -14628
- package/dist/chunks/codemirror.Zv80n3Z2.js.map +0 -1
- package/dist/chunks/controls-group.CvpddKxq.js +0 -81
- package/dist/chunks/controls-group.CvpddKxq.js.map +0 -1
- package/dist/chunks/copy.TvI9Au3G.js +0 -129
- package/dist/chunks/copy.TvI9Au3G.js.map +0 -1
- package/dist/chunks/country.Df7erZov.js +0 -94
- package/dist/chunks/country.Df7erZov.js.map +0 -1
- package/dist/chunks/country.types.C0Q_hhgJ.js +0 -269
- package/dist/chunks/country.types.C0Q_hhgJ.js.map +0 -1
- package/dist/chunks/cross-circle-fill-small.YhLgeipP.js +0 -24
- package/dist/chunks/cross-circle-fill-small.YhLgeipP.js.map +0 -1
- package/dist/chunks/cross-circle-fill.Ra0-PIUo.js +0 -24
- package/dist/chunks/cross-circle-fill.Ra0-PIUo.js.map +0 -1
- package/dist/chunks/cross-small.CZqsjZDz.js +0 -24
- package/dist/chunks/cross-small.CZqsjZDz.js.map +0 -1
- package/dist/chunks/cross.CJ5EEL2c.js +0 -24
- package/dist/chunks/cross.CJ5EEL2c.js.map +0 -1
- package/dist/chunks/currency.B1F9YOIx.js +0 -106
- package/dist/chunks/currency.B1F9YOIx.js.map +0 -1
- package/dist/chunks/dashboard-section.C5zXN82c.js +0 -102
- package/dist/chunks/dashboard-section.C5zXN82c.js.map +0 -1
- package/dist/chunks/dashed-underline.pd87ohFZ.js +0 -65
- package/dist/chunks/dashed-underline.pd87ohFZ.js.map +0 -1
- package/dist/chunks/data-grid-template.keys.2_AkxuNT.js +0 -5
- package/dist/chunks/data-grid-template.keys.2_AkxuNT.js.map +0 -1
- package/dist/chunks/data-grid-template.l-aJapU0.js +0 -84
- package/dist/chunks/data-grid-template.l-aJapU0.js.map +0 -1
- package/dist/chunks/data-grid.vFEU_kt8.js +0 -2782
- package/dist/chunks/data-grid.vFEU_kt8.js.map +0 -1
- package/dist/chunks/date-input.BqBdAO1E.js +0 -17
- package/dist/chunks/date-input.BqBdAO1E.js.map +0 -1
- package/dist/chunks/date-picker.DjbZAEcj.js +0 -235
- package/dist/chunks/date-picker.DjbZAEcj.js.map +0 -1
- package/dist/chunks/date-range-picker.C1ijTRdf.js +0 -966
- package/dist/chunks/date-range-picker.C1ijTRdf.js.map +0 -1
- package/dist/chunks/date.dYFFEunA.js +0 -987
- package/dist/chunks/date.dYFFEunA.js.map +0 -1
- package/dist/chunks/debounce.DUTu11PS.js +0 -10
- package/dist/chunks/debounce.DUTu11PS.js.map +0 -1
- package/dist/chunks/dialog-page.uGh0kYDL.js +0 -131
- package/dist/chunks/dialog-page.uGh0kYDL.js.map +0 -1
- package/dist/chunks/directive.Cbdox5VL.js +0 -23
- package/dist/chunks/directive.Cbdox5VL.js.map +0 -1
- package/dist/chunks/divider.Cc4JFWG_.js +0 -35
- package/dist/chunks/divider.Cc4JFWG_.js.map +0 -1
- package/dist/chunks/dot.CnkXzRn3.js +0 -24
- package/dist/chunks/dot.CnkXzRn3.js.map +0 -1
- package/dist/chunks/dropdown-default-textbox.AUsF-RIc.js +0 -348
- package/dist/chunks/dropdown-default-textbox.AUsF-RIc.js.map +0 -1
- package/dist/chunks/dropdown-tag.CXY_WiRj.js +0 -215
- package/dist/chunks/dropdown-tag.CXY_WiRj.js.map +0 -1
- package/dist/chunks/dropdown.DYN8Okpo.js +0 -818
- package/dist/chunks/dropdown.DYN8Okpo.js.map +0 -1
- package/dist/chunks/empty-state.IvvHHQ35.js +0 -151
- package/dist/chunks/empty-state.IvvHHQ35.js.map +0 -1
- package/dist/chunks/error-message.BM8Y6-u5.js +0 -121
- package/dist/chunks/error-message.BM8Y6-u5.js.map +0 -1
- package/dist/chunks/es6.BA9GH7QZ.js +0 -11
- package/dist/chunks/es6.BA9GH7QZ.js.map +0 -1
- package/dist/chunks/events.CMzGybJJ.js +0 -47
- package/dist/chunks/events.CMzGybJJ.js.map +0 -1
- package/dist/chunks/expand.C263WARj.js +0 -24
- package/dist/chunks/expand.C263WARj.js.map +0 -1
- package/dist/chunks/file-uploader.pWrwnN-c.js +0 -1913
- package/dist/chunks/file-uploader.pWrwnN-c.js.map +0 -1
- package/dist/chunks/filter-bar.BYHzhAr8.js +0 -2288
- package/dist/chunks/filter-bar.BYHzhAr8.js.map +0 -1
- package/dist/chunks/fixed-scroller.D0a6q8_i.js +0 -106
- package/dist/chunks/fixed-scroller.D0a6q8_i.js.map +0 -1
- package/dist/chunks/focus-trap.DKT1Fe6X.js +0 -499
- package/dist/chunks/focus-trap.DKT1Fe6X.js.map +0 -1
- package/dist/chunks/footer-actions.Cn-793_Z.js +0 -96
- package/dist/chunks/footer-actions.Cn-793_Z.js.map +0 -1
- package/dist/chunks/form-layout-title.DBCY18f8.js +0 -190
- package/dist/chunks/form-layout-title.DBCY18f8.js.map +0 -1
- package/dist/chunks/form-layout.types.D3EKzbE7.js +0 -5
- package/dist/chunks/form-layout.types.D3EKzbE7.js.map +0 -1
- package/dist/chunks/generate-uid.NJ8tVoha.js +0 -32
- package/dist/chunks/generate-uid.NJ8tVoha.js.map +0 -1
- package/dist/chunks/get-date-locale.BN8xEjY0.js +0 -1735
- package/dist/chunks/get-date-locale.BN8xEjY0.js.map +0 -1
- package/dist/chunks/get-slot-text.BQS5Olxm.js +0 -12
- package/dist/chunks/get-slot-text.BQS5Olxm.js.map +0 -1
- package/dist/chunks/grid-layout.HvTAa4to.js +0 -76
- package/dist/chunks/grid-layout.HvTAa4to.js.map +0 -1
- package/dist/chunks/header-with-views.Cqd864mp.js +0 -1536
- package/dist/chunks/header-with-views.Cqd864mp.js.map +0 -1
- package/dist/chunks/header.Ds1iyTzn.js +0 -187
- package/dist/chunks/header.Ds1iyTzn.js.map +0 -1
- package/dist/chunks/i18n.BQkEbtPM.js +0 -31
- package/dist/chunks/i18n.BQkEbtPM.js.map +0 -1
- package/dist/chunks/image.C2D2hKat.js +0 -56
- package/dist/chunks/image.C2D2hKat.js.map +0 -1
- package/dist/chunks/index.BDuTpjD8.js +0 -40
- package/dist/chunks/index.BDuTpjD8.js.map +0 -1
- package/dist/chunks/index.BxBB1rsx.js +0 -15
- package/dist/chunks/index.BxBB1rsx.js.map +0 -1
- package/dist/chunks/index.Cl4_42j5.js +0 -8
- package/dist/chunks/index.Cl4_42j5.js.map +0 -1
- package/dist/chunks/index.DD7TppDb.js +0 -10
- package/dist/chunks/index.DD7TppDb.js.map +0 -1
- package/dist/chunks/index.oJzeCMPe.js +0 -529
- package/dist/chunks/index.oJzeCMPe.js.map +0 -1
- package/dist/chunks/info-icon-with-popover.yLETQrb9.js +0 -71
- package/dist/chunks/info-icon-with-popover.yLETQrb9.js.map +0 -1
- package/dist/chunks/info-icon.G9FAlO4C.js +0 -41
- package/dist/chunks/info-icon.G9FAlO4C.js.map +0 -1
- package/dist/chunks/info.4d_mJHvT.js +0 -24
- package/dist/chunks/info.4d_mJHvT.js.map +0 -1
- package/dist/chunks/input-field-password.C1OF1nmo.js +0 -251
- package/dist/chunks/input-field-password.C1OF1nmo.js.map +0 -1
- package/dist/chunks/input-field-phone-number.Dfa1fxvS.js +0 -3097
- package/dist/chunks/input-field-phone-number.Dfa1fxvS.js.map +0 -1
- package/dist/chunks/input-field.C9-4Xo4h.js +0 -152
- package/dist/chunks/input-field.C9-4Xo4h.js.map +0 -1
- package/dist/chunks/inspector.types.NVDCPiVL.js +0 -104
- package/dist/chunks/inspector.types.NVDCPiVL.js.map +0 -1
- package/dist/chunks/internal-error.BLZodVBE.js +0 -5
- package/dist/chunks/internal-error.BLZodVBE.js.map +0 -1
- package/dist/chunks/internal-error.BmrwJFpR.js +0 -5
- package/dist/chunks/internal-error.BmrwJFpR.js.map +0 -1
- package/dist/chunks/keyboard-navigation.pB8weElW.js +0 -66
- package/dist/chunks/keyboard-navigation.pB8weElW.js.map +0 -1
- package/dist/chunks/layout-row.c0ugsIw6.js +0 -87
- package/dist/chunks/layout-row.c0ugsIw6.js.map +0 -1
- package/dist/chunks/link.D0P79Toh.js +0 -95
- package/dist/chunks/link.D0P79Toh.js.map +0 -1
- package/dist/chunks/listbox-option-tag.BcLYsizL.js +0 -44
- package/dist/chunks/listbox-option-tag.BcLYsizL.js.map +0 -1
- package/dist/chunks/loading-indicator.z8COalOc.js +0 -48
- package/dist/chunks/loading-indicator.z8COalOc.js.map +0 -1
- package/dist/chunks/menu.DDXB-L8u.js +0 -601
- package/dist/chunks/menu.DDXB-L8u.js.map +0 -1
- package/dist/chunks/modal-fullscreen.keys.CMba3hYp.js +0 -5
- package/dist/chunks/modal-fullscreen.keys.CMba3hYp.js.map +0 -1
- package/dist/chunks/modal-fullscreen.os2jZ30i.js +0 -202
- package/dist/chunks/modal-fullscreen.os2jZ30i.js.map +0 -1
- package/dist/chunks/modal.D5OesJnF.js +0 -445
- package/dist/chunks/modal.D5OesJnF.js.map +0 -1
- package/dist/chunks/no-results-found.Bg_ZcEid.js +0 -5
- package/dist/chunks/no-results-found.Bg_ZcEid.js.map +0 -1
- package/dist/chunks/no-results-found.BqvYsBR6.js +0 -5
- package/dist/chunks/no-results-found.BqvYsBR6.js.map +0 -1
- package/dist/chunks/notifications-cleared.BMZk37uf.js +0 -5
- package/dist/chunks/notifications-cleared.BMZk37uf.js.map +0 -1
- package/dist/chunks/notifications-cleared.C7W9ZXY7.js +0 -5
- package/dist/chunks/notifications-cleared.C7W9ZXY7.js.map +0 -1
- package/dist/chunks/on-click-outside.D9aY9g8G.js +0 -101
- package/dist/chunks/on-click-outside.D9aY9g8G.js.map +0 -1
- package/dist/chunks/page-not-found.COJLPVaU.js +0 -5
- package/dist/chunks/page-not-found.COJLPVaU.js.map +0 -1
- package/dist/chunks/page-not-found.DWW6W-PZ.js +0 -5
- package/dist/chunks/page-not-found.DWW6W-PZ.js.map +0 -1
- package/dist/chunks/pagination.BoWzbJVF.js +0 -338
- package/dist/chunks/pagination.BoWzbJVF.js.map +0 -1
- package/dist/chunks/payment-method.Cx4nPDtE.js +0 -76
- package/dist/chunks/payment-method.Cx4nPDtE.js.map +0 -1
- package/dist/chunks/payment-method.types.BqtH7RM2.js +0 -5
- package/dist/chunks/payment-method.types.BqtH7RM2.js.map +0 -1
- package/dist/chunks/planned-maintenance.C61sWB9h.js +0 -5
- package/dist/chunks/planned-maintenance.C61sWB9h.js.map +0 -1
- package/dist/chunks/planned-maintenance.jmWYTdet.js +0 -5
- package/dist/chunks/planned-maintenance.jmWYTdet.js.map +0 -1
- package/dist/chunks/popover.K53VtitI.js +0 -295
- package/dist/chunks/popover.K53VtitI.js.map +0 -1
- package/dist/chunks/popper-container.DUNt7nKd.js +0 -1393
- package/dist/chunks/popper-container.DUNt7nKd.js.map +0 -1
- package/dist/chunks/promo-banner.BpLrkuMc.js +0 -70
- package/dist/chunks/promo-banner.BpLrkuMc.js.map +0 -1
- package/dist/chunks/radio-group.BE8gvwsL.js +0 -229
- package/dist/chunks/radio-group.BE8gvwsL.js.map +0 -1
- package/dist/chunks/radio-input.uJAhxKRs.js +0 -90
- package/dist/chunks/radio-input.uJAhxKRs.js.map +0 -1
- package/dist/chunks/referrals.BvtT-kQS.js +0 -5
- package/dist/chunks/referrals.BvtT-kQS.js.map +0 -1
- package/dist/chunks/referrals.aX8WZigH.js +0 -5
- package/dist/chunks/referrals.aX8WZigH.js.map +0 -1
- package/dist/chunks/refresh.Bc9FzGjJ.js +0 -24
- package/dist/chunks/refresh.Bc9FzGjJ.js.map +0 -1
- package/dist/chunks/resize.Bqks3WUm.js +0 -15
- package/dist/chunks/resize.Bqks3WUm.js.map +0 -1
- package/dist/chunks/rich-text-editor.CP_xdt6R.js +0 -6203
- package/dist/chunks/rich-text-editor.CP_xdt6R.js.map +0 -1
- package/dist/chunks/search-bar.I2f0f4fU.js +0 -97
- package/dist/chunks/search-bar.I2f0f4fU.js.map +0 -1
- package/dist/chunks/search.DLtglc02.js +0 -24
- package/dist/chunks/search.DLtglc02.js.map +0 -1
- package/dist/chunks/secondary-nav.D1-GnlU-.js +0 -112
- package/dist/chunks/secondary-nav.D1-GnlU-.js.map +0 -1
- package/dist/chunks/segmented-control.A2eatwIG.js +0 -112
- package/dist/chunks/segmented-control.A2eatwIG.js.map +0 -1
- package/dist/chunks/segmented-control.types.BHRLV8KU.js +0 -5
- package/dist/chunks/segmented-control.types.BHRLV8KU.js.map +0 -1
- package/dist/chunks/selection-card-group.CFNCbcRU.js +0 -299
- package/dist/chunks/selection-card-group.CFNCbcRU.js.map +0 -1
- package/dist/chunks/show.e4LEpZKG.js +0 -43
- package/dist/chunks/show.e4LEpZKG.js.map +0 -1
- package/dist/chunks/sidepanel.CGGRp0oL.js +0 -210
- package/dist/chunks/sidepanel.CGGRp0oL.js.map +0 -1
- package/dist/chunks/sidepanel.keys.R0DKQuYx.js +0 -5
- package/dist/chunks/sidepanel.keys.R0DKQuYx.js.map +0 -1
- package/dist/chunks/status.types.p_TCvoo0.js +0 -36
- package/dist/chunks/status.types.p_TCvoo0.js.map +0 -1
- package/dist/chunks/step.CuOpi-Ye.js +0 -217
- package/dist/chunks/step.CuOpi-Ye.js.map +0 -1
- package/dist/chunks/structured-list-item.C8K371Ss.js +0 -87
- package/dist/chunks/structured-list-item.C8K371Ss.js.map +0 -1
- package/dist/chunks/success.DhioLvPD.js +0 -5
- package/dist/chunks/success.DhioLvPD.js.map +0 -1
- package/dist/chunks/success.nNwxJRBS.js +0 -5
- package/dist/chunks/success.nNwxJRBS.js.map +0 -1
- package/dist/chunks/summary-grid.keys.CxTf_FOc.js +0 -6
- package/dist/chunks/summary-grid.keys.CxTf_FOc.js.map +0 -1
- package/dist/chunks/summary-grid.types.DdghLR6f.js +0 -301
- package/dist/chunks/summary-grid.types.DdghLR6f.js.map +0 -1
- package/dist/chunks/tabs.DX_Gq12z.js +0 -205
- package/dist/chunks/tabs.DX_Gq12z.js.map +0 -1
- package/dist/chunks/tabs.keys.Bc2pSKRw.js +0 -7
- package/dist/chunks/tabs.keys.Bc2pSKRw.js.map +0 -1
- package/dist/chunks/tag.B2vxWwV1.js +0 -44
- package/dist/chunks/tag.B2vxWwV1.js.map +0 -1
- package/dist/chunks/teleport.BV6zrDjA.js +0 -128
- package/dist/chunks/teleport.BV6zrDjA.js.map +0 -1
- package/dist/chunks/textarea.DPa9t8Jw.js +0 -200
- package/dist/chunks/textarea.DPa9t8Jw.js.map +0 -1
- package/dist/chunks/timeline-item.D2534IA9.js +0 -386
- package/dist/chunks/timeline-item.D2534IA9.js.map +0 -1
- package/dist/chunks/toast.B2u2W_TQ.js +0 -171
- package/dist/chunks/toast.B2u2W_TQ.js.map +0 -1
- package/dist/chunks/toggle-button.ChDbeBZ8.js +0 -83
- package/dist/chunks/toggle-button.ChDbeBZ8.js.map +0 -1
- package/dist/chunks/toggle.Q52IIKfi.js +0 -121
- package/dist/chunks/toggle.Q52IIKfi.js.map +0 -1
- package/dist/chunks/tooltip.B8nCejpo.js +0 -189
- package/dist/chunks/tooltip.B8nCejpo.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.X3GhtKlY.js +0 -348
- package/dist/chunks/tutorial.X3GhtKlY.js.map +0 -1
- package/dist/chunks/typography.J1v_SPG3.js +0 -87
- package/dist/chunks/typography.J1v_SPG3.js.map +0 -1
- package/dist/chunks/upload-files.5wQwbfkp.js +0 -5
- package/dist/chunks/upload-files.5wQwbfkp.js.map +0 -1
- package/dist/chunks/upload-files.jTQY6y2X.js +0 -5
- package/dist/chunks/upload-files.jTQY6y2X.js.map +0 -1
- package/dist/chunks/use-bento-toast-controller.Cn_2Eogn.js +0 -52
- package/dist/chunks/use-bento-toast-controller.Cn_2Eogn.js.map +0 -1
- package/dist/chunks/use-cached-selected-values.C6VRhL5_.js +0 -1177
- package/dist/chunks/use-cached-selected-values.C6VRhL5_.js.map +0 -1
- package/dist/chunks/use-click-outside.BnhTgpSt.js +0 -14
- package/dist/chunks/use-click-outside.BnhTgpSt.js.map +0 -1
- package/dist/chunks/use-country-items.HFnjuDsG.js +0 -30
- package/dist/chunks/use-country-items.HFnjuDsG.js.map +0 -1
- package/dist/chunks/use-country-phon-code.DVgE19zT.js +0 -5610
- package/dist/chunks/use-country-phon-code.DVgE19zT.js.map +0 -1
- package/dist/chunks/use-default-slot-validator.BDn0wkYP.js +0 -13
- package/dist/chunks/use-default-slot-validator.BDn0wkYP.js.map +0 -1
- package/dist/chunks/use-expandable-content-height.GkjjbmPy.js +0 -17
- package/dist/chunks/use-expandable-content-height.GkjjbmPy.js.map +0 -1
- package/dist/chunks/use-form-layout-loading.D3lALhtC.js +0 -12
- package/dist/chunks/use-form-layout-loading.D3lALhtC.js.map +0 -1
- package/dist/chunks/use-has-slot.C9lQZ6nz.js +0 -6
- package/dist/chunks/use-has-slot.C9lQZ6nz.js.map +0 -1
- package/dist/chunks/warning-filled.Cd0kVWwa.js +0 -24
- package/dist/chunks/warning-filled.Cd0kVWwa.js.map +0 -1
- package/dist/chunks/wrong-environment.BOsyKdRI.js +0 -5
- package/dist/chunks/wrong-environment.BOsyKdRI.js.map +0 -1
- package/dist/chunks/wrong-environment.BiHTPtbJ.js +0 -5
- package/dist/chunks/wrong-environment.BiHTPtbJ.js.map +0 -1
- package/dist/click-outside.js +0 -5
- package/dist/click-outside.js.map +0 -1
- package/dist/code-snippet.js +0 -8
- package/dist/code-snippet.js.map +0 -1
- package/dist/country.js +0 -12
- package/dist/country.js.map +0 -1
- package/dist/currency.js +0 -6
- package/dist/currency.js.map +0 -1
- package/dist/dashboard-template.js +0 -6
- package/dist/dashboard-template.js.map +0 -1
- package/dist/dashed-underline.js +0 -5
- package/dist/dashed-underline.js.map +0 -1
- package/dist/data-grid-template.js +0 -5
- package/dist/data-grid-template.js.map +0 -1
- package/dist/data-grid.js +0 -11
- package/dist/data-grid.js.map +0 -1
- package/dist/date-picker.js +0 -8
- package/dist/date-picker.js.map +0 -1
- package/dist/date-range-picker.js +0 -8
- package/dist/date-range-picker.js.map +0 -1
- package/dist/date.js +0 -6
- package/dist/date.js.map +0 -1
- package/dist/divider.js +0 -5
- package/dist/divider.js.map +0 -1
- package/dist/dropdown.js +0 -16
- package/dist/dropdown.js.map +0 -1
- package/dist/empty-state.js +0 -8
- package/dist/empty-state.js.map +0 -1
- package/dist/file-uploader.js +0 -5
- package/dist/file-uploader.js.map +0 -1
- package/dist/filter-bar.js +0 -8
- package/dist/filter-bar.js.map +0 -1
- package/dist/focus-trap.js +0 -5
- package/dist/focus-trap.js.map +0 -1
- package/dist/fonts/fonts.css +0 -2
- package/dist/form-layout.js +0 -8
- package/dist/form-layout.js.map +0 -1
- package/dist/header-with-views.js +0 -5
- package/dist/header-with-views.js.map +0 -1
- package/dist/header.js +0 -5
- package/dist/header.js.map +0 -1
- package/dist/image.js +0 -7
- package/dist/image.js.map +0 -1
- package/dist/index.js +0 -371
- package/dist/index.js.map +0 -1
- package/dist/info-icon.js +0 -5
- package/dist/info-icon.js.map +0 -1
- package/dist/input-field-password.js +0 -10
- package/dist/input-field-password.js.map +0 -1
- package/dist/input-field-phone-number.js +0 -5
- package/dist/input-field-phone-number.js.map +0 -1
- package/dist/input-field.js +0 -10
- package/dist/input-field.js.map +0 -1
- package/dist/inspector.js +0 -6
- package/dist/inspector.js.map +0 -1
- package/dist/internal.js +0 -43
- package/dist/internal.js.map +0 -1
- package/dist/layout.js +0 -6
- package/dist/layout.js.map +0 -1
- package/dist/link.js +0 -6
- package/dist/link.js.map +0 -1
- package/dist/loading-indicator.js +0 -6
- package/dist/loading-indicator.js.map +0 -1
- package/dist/menu.js +0 -6
- package/dist/menu.js.map +0 -1
- package/dist/modal-fullscreen.js +0 -6
- package/dist/modal-fullscreen.js.map +0 -1
- package/dist/modal.js +0 -14
- package/dist/modal.js.map +0 -1
- package/dist/pagination.js +0 -5
- package/dist/pagination.js.map +0 -1
- package/dist/payment-method.js +0 -7
- package/dist/payment-method.js.map +0 -1
- package/dist/popover.js +0 -6
- package/dist/popover.js.map +0 -1
- package/dist/popper-container.js +0 -9
- package/dist/popper-container.js.map +0 -1
- package/dist/promo-banner.js +0 -7
- package/dist/promo-banner.js.map +0 -1
- package/dist/radio-group.js +0 -9
- package/dist/radio-group.js.map +0 -1
- package/dist/rich-text-editor.js +0 -5
- package/dist/rich-text-editor.js.map +0 -1
- package/dist/search-bar.js +0 -9
- package/dist/search-bar.js.map +0 -1
- package/dist/secondary-nav.js +0 -5
- package/dist/secondary-nav.js.map +0 -1
- package/dist/segmented-control.js +0 -7
- package/dist/segmented-control.js.map +0 -1
- package/dist/selection-card.js +0 -7
- package/dist/selection-card.js.map +0 -1
- package/dist/sidepanel.js +0 -7
- package/dist/sidepanel.js.map +0 -1
- package/dist/status.js +0 -6
- package/dist/status.js.map +0 -1
- package/dist/stepper.js +0 -8
- package/dist/stepper.js.map +0 -1
- package/dist/structured-list.js +0 -6
- package/dist/structured-list.js.map +0 -1
- package/dist/styles/bento-dark.css +0 -2055
- package/dist/styles/bento-light.css +0 -2054
- package/dist/styles/bento.css +0 -2054
- package/dist/styles/legacy.css +0 -2209
- package/dist/styles/styleguide.css +0 -2109
- package/dist/styles/utility.css +0 -987
- package/dist/summary-grid.js +0 -12
- package/dist/summary-grid.js.map +0 -1
- package/dist/tabs.js +0 -6
- package/dist/tabs.js.map +0 -1
- package/dist/tag.js +0 -6
- package/dist/tag.js.map +0 -1
- package/dist/textarea.js +0 -5
- package/dist/textarea.js.map +0 -1
- package/dist/timeline.js +0 -10
- package/dist/timeline.js.map +0 -1
- package/dist/toast.js +0 -5
- package/dist/toast.js.map +0 -1
- package/dist/toggle.js +0 -7
- package/dist/toggle.js.map +0 -1
- package/dist/tutorial.js +0 -5
- package/dist/tutorial.js.map +0 -1
- package/dist/typography.js +0 -8
- package/dist/typography.js.map +0 -1
- package/dist/use-form-v4.js +0 -8300
- package/dist/use-form-v4.js.map +0 -1
- package/dist/web-types.json +0 -15172
|
@@ -1,1393 +0,0 @@
|
|
|
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
|
-
import "./index.Cl4_42j5.js";
|
|
3
|
-
import { B as ie } from "./focus-trap.DKT1Fe6X.js";
|
|
4
|
-
import { n as re } from "./_plugin-vue2_normalizer.CeySl7Fu.js";
|
|
5
|
-
import "../assets/popper-container.css";
|
|
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
|
-
x: t,
|
|
8
|
-
y: t
|
|
9
|
-
}), se = {
|
|
10
|
-
left: "right",
|
|
11
|
-
right: "left",
|
|
12
|
-
bottom: "top",
|
|
13
|
-
top: "bottom"
|
|
14
|
-
}, le = {
|
|
15
|
-
start: "end",
|
|
16
|
-
end: "start"
|
|
17
|
-
};
|
|
18
|
-
function wt(t, e, n) {
|
|
19
|
-
return G(t, nt(e, n));
|
|
20
|
-
}
|
|
21
|
-
function J(t, e) {
|
|
22
|
-
return typeof t == "function" ? t(e) : t;
|
|
23
|
-
}
|
|
24
|
-
function V(t) {
|
|
25
|
-
return t.split("-")[0];
|
|
26
|
-
}
|
|
27
|
-
function B(t) {
|
|
28
|
-
return t.split("-")[1];
|
|
29
|
-
}
|
|
30
|
-
function Nt(t) {
|
|
31
|
-
return t === "x" ? "y" : "x";
|
|
32
|
-
}
|
|
33
|
-
function xt(t) {
|
|
34
|
-
return t === "y" ? "height" : "width";
|
|
35
|
-
}
|
|
36
|
-
function X(t) {
|
|
37
|
-
return ["top", "bottom"].includes(V(t)) ? "y" : "x";
|
|
38
|
-
}
|
|
39
|
-
function bt(t) {
|
|
40
|
-
return Nt(X(t));
|
|
41
|
-
}
|
|
42
|
-
function Wt(t, e, n) {
|
|
43
|
-
n === void 0 && (n = !1);
|
|
44
|
-
const o = B(t), i = bt(t), s = xt(i);
|
|
45
|
-
let r = i === "x" ? o === (n ? "end" : "start") ? "right" : "left" : o === "start" ? "bottom" : "top";
|
|
46
|
-
return e.reference[s] > e.floating[s] && (r = ut(r)), [r, ut(r)];
|
|
47
|
-
}
|
|
48
|
-
function ce(t) {
|
|
49
|
-
const e = ut(t);
|
|
50
|
-
return [ft(t), e, ft(e)];
|
|
51
|
-
}
|
|
52
|
-
function ft(t) {
|
|
53
|
-
return t.replace(/start|end/g, (e) => le[e]);
|
|
54
|
-
}
|
|
55
|
-
function ae(t, e, n) {
|
|
56
|
-
const o = ["left", "right"], i = ["right", "left"], s = ["top", "bottom"], r = ["bottom", "top"];
|
|
57
|
-
switch (t) {
|
|
58
|
-
case "top":
|
|
59
|
-
case "bottom":
|
|
60
|
-
return n ? e ? i : o : e ? o : i;
|
|
61
|
-
case "left":
|
|
62
|
-
case "right":
|
|
63
|
-
return e ? s : r;
|
|
64
|
-
default:
|
|
65
|
-
return [];
|
|
66
|
-
}
|
|
67
|
-
}
|
|
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
|
-
}
|
|
73
|
-
function ut(t) {
|
|
74
|
-
return t.replace(/left|right|bottom|top/g, (e) => se[e]);
|
|
75
|
-
}
|
|
76
|
-
function ue(t) {
|
|
77
|
-
return {
|
|
78
|
-
top: 0,
|
|
79
|
-
right: 0,
|
|
80
|
-
bottom: 0,
|
|
81
|
-
left: 0,
|
|
82
|
-
...t
|
|
83
|
-
};
|
|
84
|
-
}
|
|
85
|
-
function Vt(t) {
|
|
86
|
-
return typeof t != "number" ? ue(t) : {
|
|
87
|
-
top: t,
|
|
88
|
-
right: t,
|
|
89
|
-
bottom: t,
|
|
90
|
-
left: t
|
|
91
|
-
};
|
|
92
|
-
}
|
|
93
|
-
function dt(t) {
|
|
94
|
-
const {
|
|
95
|
-
x: e,
|
|
96
|
-
y: n,
|
|
97
|
-
width: o,
|
|
98
|
-
height: i
|
|
99
|
-
} = t;
|
|
100
|
-
return {
|
|
101
|
-
width: o,
|
|
102
|
-
height: i,
|
|
103
|
-
top: n,
|
|
104
|
-
left: e,
|
|
105
|
-
right: e + o,
|
|
106
|
-
bottom: n + i,
|
|
107
|
-
x: e,
|
|
108
|
-
y: n
|
|
109
|
-
};
|
|
110
|
-
}
|
|
111
|
-
function Dt(t, e, n) {
|
|
112
|
-
let {
|
|
113
|
-
reference: o,
|
|
114
|
-
floating: i
|
|
115
|
-
} = t;
|
|
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
|
-
let f;
|
|
118
|
-
switch (a) {
|
|
119
|
-
case "top":
|
|
120
|
-
f = {
|
|
121
|
-
x: d,
|
|
122
|
-
y: o.y - i.height
|
|
123
|
-
};
|
|
124
|
-
break;
|
|
125
|
-
case "bottom":
|
|
126
|
-
f = {
|
|
127
|
-
x: d,
|
|
128
|
-
y: o.y + o.height
|
|
129
|
-
};
|
|
130
|
-
break;
|
|
131
|
-
case "right":
|
|
132
|
-
f = {
|
|
133
|
-
x: o.x + o.width,
|
|
134
|
-
y: u
|
|
135
|
-
};
|
|
136
|
-
break;
|
|
137
|
-
case "left":
|
|
138
|
-
f = {
|
|
139
|
-
x: o.x - i.width,
|
|
140
|
-
y: u
|
|
141
|
-
};
|
|
142
|
-
break;
|
|
143
|
-
default:
|
|
144
|
-
f = {
|
|
145
|
-
x: o.x,
|
|
146
|
-
y: o.y
|
|
147
|
-
};
|
|
148
|
-
}
|
|
149
|
-
switch (B(e)) {
|
|
150
|
-
case "start":
|
|
151
|
-
f[r] -= m * (n && c ? -1 : 1);
|
|
152
|
-
break;
|
|
153
|
-
case "end":
|
|
154
|
-
f[r] += m * (n && c ? -1 : 1);
|
|
155
|
-
break;
|
|
156
|
-
}
|
|
157
|
-
return f;
|
|
158
|
-
}
|
|
159
|
-
const de = async (t, e, n) => {
|
|
160
|
-
const {
|
|
161
|
-
placement: o = "bottom",
|
|
162
|
-
strategy: i = "absolute",
|
|
163
|
-
middleware: s = [],
|
|
164
|
-
platform: r
|
|
165
|
-
} = n, l = s.filter(Boolean), a = await (r.isRTL == null ? void 0 : r.isRTL(e));
|
|
166
|
-
let c = await r.getElementRects({
|
|
167
|
-
reference: t,
|
|
168
|
-
floating: e,
|
|
169
|
-
strategy: i
|
|
170
|
-
}), {
|
|
171
|
-
x: d,
|
|
172
|
-
y: u
|
|
173
|
-
} = Dt(c, o, a), m = o, f = {}, p = 0;
|
|
174
|
-
for (let g = 0; g < l.length; g++) {
|
|
175
|
-
const {
|
|
176
|
-
name: w,
|
|
177
|
-
fn: h
|
|
178
|
-
} = l[g], {
|
|
179
|
-
x: v,
|
|
180
|
-
y,
|
|
181
|
-
data: O,
|
|
182
|
-
reset: b
|
|
183
|
-
} = await h({
|
|
184
|
-
x: d,
|
|
185
|
-
y: u,
|
|
186
|
-
initialPlacement: o,
|
|
187
|
-
placement: m,
|
|
188
|
-
strategy: i,
|
|
189
|
-
middlewareData: f,
|
|
190
|
-
rects: c,
|
|
191
|
-
platform: r,
|
|
192
|
-
elements: {
|
|
193
|
-
reference: t,
|
|
194
|
-
floating: e
|
|
195
|
-
}
|
|
196
|
-
});
|
|
197
|
-
d = v ?? d, u = y ?? u, f = {
|
|
198
|
-
...f,
|
|
199
|
-
[w]: {
|
|
200
|
-
...f[w],
|
|
201
|
-
...O
|
|
202
|
-
}
|
|
203
|
-
}, b && p <= 50 && (p++, typeof b == "object" && (b.placement && (m = b.placement), b.rects && (c = b.rects === !0 ? await r.getElementRects({
|
|
204
|
-
reference: t,
|
|
205
|
-
floating: e,
|
|
206
|
-
strategy: i
|
|
207
|
-
}) : b.rects), {
|
|
208
|
-
x: d,
|
|
209
|
-
y: u
|
|
210
|
-
} = Dt(c, m, a)), g = -1);
|
|
211
|
-
}
|
|
212
|
-
return {
|
|
213
|
-
x: d,
|
|
214
|
-
y: u,
|
|
215
|
-
placement: m,
|
|
216
|
-
strategy: i,
|
|
217
|
-
middlewareData: f
|
|
218
|
-
};
|
|
219
|
-
};
|
|
220
|
-
async function rt(t, e) {
|
|
221
|
-
var n;
|
|
222
|
-
e === void 0 && (e = {});
|
|
223
|
-
const {
|
|
224
|
-
x: o,
|
|
225
|
-
y: i,
|
|
226
|
-
platform: s,
|
|
227
|
-
rects: r,
|
|
228
|
-
elements: l,
|
|
229
|
-
strategy: a
|
|
230
|
-
} = t, {
|
|
231
|
-
boundary: c = "clippingAncestors",
|
|
232
|
-
rootBoundary: d = "viewport",
|
|
233
|
-
elementContext: u = "floating",
|
|
234
|
-
altBoundary: m = !1,
|
|
235
|
-
padding: f = 0
|
|
236
|
-
} = J(e, t), p = Vt(f), w = l[m ? u === "floating" ? "reference" : "floating" : u], h = dt(await s.getClippingRect({
|
|
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
|
-
boundary: c,
|
|
239
|
-
rootBoundary: d,
|
|
240
|
-
strategy: a
|
|
241
|
-
})), v = u === "floating" ? {
|
|
242
|
-
x: o,
|
|
243
|
-
y: i,
|
|
244
|
-
width: r.floating.width,
|
|
245
|
-
height: r.floating.height
|
|
246
|
-
} : r.reference, y = await (s.getOffsetParent == null ? void 0 : s.getOffsetParent(l.floating)), O = await (s.isElement == null ? void 0 : s.isElement(y)) ? await (s.getScale == null ? void 0 : s.getScale(y)) || {
|
|
247
|
-
x: 1,
|
|
248
|
-
y: 1
|
|
249
|
-
} : {
|
|
250
|
-
x: 1,
|
|
251
|
-
y: 1
|
|
252
|
-
}, b = dt(s.convertOffsetParentRelativeRectToViewportRelativeRect ? await s.convertOffsetParentRelativeRectToViewportRelativeRect({
|
|
253
|
-
elements: l,
|
|
254
|
-
rect: v,
|
|
255
|
-
offsetParent: y,
|
|
256
|
-
strategy: a
|
|
257
|
-
}) : v);
|
|
258
|
-
return {
|
|
259
|
-
top: (h.top - b.top + p.top) / O.y,
|
|
260
|
-
bottom: (b.bottom - h.bottom + p.bottom) / O.y,
|
|
261
|
-
left: (h.left - b.left + p.left) / O.x,
|
|
262
|
-
right: (b.right - h.right + p.right) / O.x
|
|
263
|
-
};
|
|
264
|
-
}
|
|
265
|
-
const me = (t) => ({
|
|
266
|
-
name: "arrow",
|
|
267
|
-
options: t,
|
|
268
|
-
async fn(e) {
|
|
269
|
-
const {
|
|
270
|
-
x: n,
|
|
271
|
-
y: o,
|
|
272
|
-
placement: i,
|
|
273
|
-
rects: s,
|
|
274
|
-
platform: r,
|
|
275
|
-
elements: l,
|
|
276
|
-
middlewareData: a
|
|
277
|
-
} = e, {
|
|
278
|
-
element: c,
|
|
279
|
-
padding: d = 0
|
|
280
|
-
} = J(t, e) || {};
|
|
281
|
-
if (c == null)
|
|
282
|
-
return {};
|
|
283
|
-
const u = Vt(d), m = {
|
|
284
|
-
x: n,
|
|
285
|
-
y: o
|
|
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
|
-
let x = T ? T[y] : 0;
|
|
288
|
-
(!x || !await (r.isElement == null ? void 0 : r.isElement(T))) && (x = l.floating[y] || s.floating[p]);
|
|
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
|
-
return {
|
|
291
|
-
[f]: m[f] + W,
|
|
292
|
-
data: {
|
|
293
|
-
[f]: D,
|
|
294
|
-
centerOffset: P - D - W,
|
|
295
|
-
...q && {
|
|
296
|
-
alignmentOffset: W
|
|
297
|
-
}
|
|
298
|
-
},
|
|
299
|
-
reset: q
|
|
300
|
-
};
|
|
301
|
-
}
|
|
302
|
-
});
|
|
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
|
-
}
|
|
306
|
-
const ge = function(t) {
|
|
307
|
-
return t === void 0 && (t = {}), {
|
|
308
|
-
name: "autoPlacement",
|
|
309
|
-
options: t,
|
|
310
|
-
async fn(e) {
|
|
311
|
-
var n, o, i;
|
|
312
|
-
const {
|
|
313
|
-
rects: s,
|
|
314
|
-
middlewareData: r,
|
|
315
|
-
placement: l,
|
|
316
|
-
platform: a,
|
|
317
|
-
elements: c
|
|
318
|
-
} = e, {
|
|
319
|
-
crossAxis: d = !1,
|
|
320
|
-
alignment: u,
|
|
321
|
-
allowedPlacements: m = Et,
|
|
322
|
-
autoAlignment: f = !0,
|
|
323
|
-
...p
|
|
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
|
-
if (v == null)
|
|
326
|
-
return {};
|
|
327
|
-
const y = Wt(v, s, await (a.isRTL == null ? void 0 : a.isRTL(c.floating)));
|
|
328
|
-
if (l !== v)
|
|
329
|
-
return {
|
|
330
|
-
reset: {
|
|
331
|
-
placement: g[0]
|
|
332
|
-
}
|
|
333
|
-
};
|
|
334
|
-
const O = [w[V(v)], w[y[0]], w[y[1]]], b = [...((o = r.autoPlacement) == null ? void 0 : o.overflows) || [], {
|
|
335
|
-
placement: v,
|
|
336
|
-
overflows: O
|
|
337
|
-
}], T = g[h + 1];
|
|
338
|
-
if (T)
|
|
339
|
-
return {
|
|
340
|
-
data: {
|
|
341
|
-
index: h + 1,
|
|
342
|
-
overflows: b
|
|
343
|
-
},
|
|
344
|
-
reset: {
|
|
345
|
-
placement: T
|
|
346
|
-
}
|
|
347
|
-
};
|
|
348
|
-
const x = b.map((A) => {
|
|
349
|
-
const E = B(A.placement);
|
|
350
|
-
return [A.placement, E && d ? (
|
|
351
|
-
// Check along the mainAxis and main crossAxis side.
|
|
352
|
-
A.overflows.slice(0, 2).reduce((N, Y) => N + Y, 0)
|
|
353
|
-
) : (
|
|
354
|
-
// Check only the mainAxis.
|
|
355
|
-
A.overflows[0]
|
|
356
|
-
), A.overflows];
|
|
357
|
-
}).sort((A, E) => A[1] - E[1]), S = ((i = x.filter((A) => A[2].slice(
|
|
358
|
-
0,
|
|
359
|
-
// Aligned placements should not check their opposite crossAxis
|
|
360
|
-
// side.
|
|
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
|
-
data: {
|
|
365
|
-
index: h + 1,
|
|
366
|
-
overflows: b
|
|
367
|
-
},
|
|
368
|
-
reset: {
|
|
369
|
-
placement: S
|
|
370
|
-
}
|
|
371
|
-
} : {};
|
|
372
|
-
}
|
|
373
|
-
};
|
|
374
|
-
}, he = function(t) {
|
|
375
|
-
return t === void 0 && (t = {}), {
|
|
376
|
-
name: "flip",
|
|
377
|
-
options: t,
|
|
378
|
-
async fn(e) {
|
|
379
|
-
var n, o;
|
|
380
|
-
const {
|
|
381
|
-
placement: i,
|
|
382
|
-
middlewareData: s,
|
|
383
|
-
rects: r,
|
|
384
|
-
initialPlacement: l,
|
|
385
|
-
platform: a,
|
|
386
|
-
elements: c
|
|
387
|
-
} = e, {
|
|
388
|
-
mainAxis: d = !0,
|
|
389
|
-
crossAxis: u = !0,
|
|
390
|
-
fallbackPlacements: m,
|
|
391
|
-
fallbackStrategy: f = "bestFit",
|
|
392
|
-
fallbackAxisSideDirection: p = "none",
|
|
393
|
-
flipAlignment: g = !0,
|
|
394
|
-
...w
|
|
395
|
-
} = J(t, e);
|
|
396
|
-
if ((n = s.arrow) != null && n.alignmentOffset)
|
|
397
|
-
return {};
|
|
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
|
-
let A = ((o = s.flip) == null ? void 0 : o.overflows) || [];
|
|
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
|
-
}
|
|
406
|
-
if (A = [...A, {
|
|
407
|
-
placement: i,
|
|
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)
|
|
428
|
-
switch (f) {
|
|
429
|
-
case "bestFit": {
|
|
430
|
-
var P;
|
|
431
|
-
const I = (P = A.filter((F) => {
|
|
432
|
-
if (T) {
|
|
433
|
-
const j = X(F.placement);
|
|
434
|
-
return j === v || // Create a bias to the `y` side axis due to horizontal
|
|
435
|
-
// reading directions favoring greater width.
|
|
436
|
-
j === "y";
|
|
437
|
-
}
|
|
438
|
-
return !0;
|
|
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);
|
|
441
|
-
break;
|
|
442
|
-
}
|
|
443
|
-
case "initialPlacement":
|
|
444
|
-
W = l;
|
|
445
|
-
break;
|
|
446
|
-
}
|
|
447
|
-
if (i !== W)
|
|
448
|
-
return {
|
|
449
|
-
reset: {
|
|
450
|
-
placement: W
|
|
451
|
-
}
|
|
452
|
-
};
|
|
453
|
-
}
|
|
454
|
-
return {};
|
|
455
|
-
}
|
|
456
|
-
};
|
|
457
|
-
};
|
|
458
|
-
function Lt(t, e) {
|
|
459
|
-
return {
|
|
460
|
-
top: t.top - e.height,
|
|
461
|
-
right: t.right - e.width,
|
|
462
|
-
bottom: t.bottom - e.height,
|
|
463
|
-
left: t.left - e.width
|
|
464
|
-
};
|
|
465
|
-
}
|
|
466
|
-
function Ct(t) {
|
|
467
|
-
return Ht.some((e) => t[e] >= 0);
|
|
468
|
-
}
|
|
469
|
-
const we = function(t) {
|
|
470
|
-
return t === void 0 && (t = {}), {
|
|
471
|
-
name: "hide",
|
|
472
|
-
options: t,
|
|
473
|
-
async fn(e) {
|
|
474
|
-
const {
|
|
475
|
-
rects: n
|
|
476
|
-
} = e, {
|
|
477
|
-
strategy: o = "referenceHidden",
|
|
478
|
-
...i
|
|
479
|
-
} = J(t, e);
|
|
480
|
-
switch (o) {
|
|
481
|
-
case "referenceHidden": {
|
|
482
|
-
const s = await rt(e, {
|
|
483
|
-
...i,
|
|
484
|
-
elementContext: "reference"
|
|
485
|
-
}), r = Lt(s, n.reference);
|
|
486
|
-
return {
|
|
487
|
-
data: {
|
|
488
|
-
referenceHiddenOffsets: r,
|
|
489
|
-
referenceHidden: Ct(r)
|
|
490
|
-
}
|
|
491
|
-
};
|
|
492
|
-
}
|
|
493
|
-
case "escaped": {
|
|
494
|
-
const s = await rt(e, {
|
|
495
|
-
...i,
|
|
496
|
-
altBoundary: !0
|
|
497
|
-
}), r = Lt(s, n.floating);
|
|
498
|
-
return {
|
|
499
|
-
data: {
|
|
500
|
-
escapedOffsets: r,
|
|
501
|
-
escaped: Ct(r)
|
|
502
|
-
}
|
|
503
|
-
};
|
|
504
|
-
}
|
|
505
|
-
default:
|
|
506
|
-
return {};
|
|
507
|
-
}
|
|
508
|
-
}
|
|
509
|
-
};
|
|
510
|
-
};
|
|
511
|
-
async function ve(t, e) {
|
|
512
|
-
const {
|
|
513
|
-
placement: n,
|
|
514
|
-
platform: o,
|
|
515
|
-
elements: i
|
|
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);
|
|
517
|
-
let {
|
|
518
|
-
mainAxis: m,
|
|
519
|
-
crossAxis: f,
|
|
520
|
-
alignmentAxis: p
|
|
521
|
-
} = typeof u == "number" ? {
|
|
522
|
-
mainAxis: u,
|
|
523
|
-
crossAxis: 0,
|
|
524
|
-
alignmentAxis: null
|
|
525
|
-
} : {
|
|
526
|
-
mainAxis: u.mainAxis || 0,
|
|
527
|
-
crossAxis: u.crossAxis || 0,
|
|
528
|
-
alignmentAxis: u.alignmentAxis
|
|
529
|
-
};
|
|
530
|
-
return l && typeof p == "number" && (f = l === "end" ? p * -1 : p), a ? {
|
|
531
|
-
x: f * d,
|
|
532
|
-
y: m * c
|
|
533
|
-
} : {
|
|
534
|
-
x: m * c,
|
|
535
|
-
y: f * d
|
|
536
|
-
};
|
|
537
|
-
}
|
|
538
|
-
const ye = function(t) {
|
|
539
|
-
return t === void 0 && (t = 0), {
|
|
540
|
-
name: "offset",
|
|
541
|
-
options: t,
|
|
542
|
-
async fn(e) {
|
|
543
|
-
var n, o;
|
|
544
|
-
const {
|
|
545
|
-
x: i,
|
|
546
|
-
y: s,
|
|
547
|
-
placement: r,
|
|
548
|
-
middlewareData: l
|
|
549
|
-
} = e, a = await ve(e, t);
|
|
550
|
-
return r === ((n = l.offset) == null ? void 0 : n.placement) && (o = l.arrow) != null && o.alignmentOffset ? {} : {
|
|
551
|
-
x: i + a.x,
|
|
552
|
-
y: s + a.y,
|
|
553
|
-
data: {
|
|
554
|
-
...a,
|
|
555
|
-
placement: r
|
|
556
|
-
}
|
|
557
|
-
};
|
|
558
|
-
}
|
|
559
|
-
};
|
|
560
|
-
}, xe = function(t) {
|
|
561
|
-
return t === void 0 && (t = {}), {
|
|
562
|
-
name: "shift",
|
|
563
|
-
options: t,
|
|
564
|
-
async fn(e) {
|
|
565
|
-
const {
|
|
566
|
-
x: n,
|
|
567
|
-
y: o,
|
|
568
|
-
placement: i
|
|
569
|
-
} = e, {
|
|
570
|
-
mainAxis: s = !0,
|
|
571
|
-
crossAxis: r = !1,
|
|
572
|
-
limiter: l = {
|
|
573
|
-
fn: (w) => {
|
|
574
|
-
let {
|
|
575
|
-
x: h,
|
|
576
|
-
y: v
|
|
577
|
-
} = w;
|
|
578
|
-
return {
|
|
579
|
-
x: h,
|
|
580
|
-
y: v
|
|
581
|
-
};
|
|
582
|
-
}
|
|
583
|
-
},
|
|
584
|
-
...a
|
|
585
|
-
} = J(t, e), c = {
|
|
586
|
-
x: n,
|
|
587
|
-
y: o
|
|
588
|
-
}, d = await rt(e, a), u = X(V(i)), m = Nt(u);
|
|
589
|
-
let f = c[m], p = c[u];
|
|
590
|
-
if (s) {
|
|
591
|
-
const w = m === "y" ? "top" : "left", h = m === "y" ? "bottom" : "right", v = f + d[w], y = f - d[h];
|
|
592
|
-
f = wt(v, f, y);
|
|
593
|
-
}
|
|
594
|
-
if (r) {
|
|
595
|
-
const w = u === "y" ? "top" : "left", h = u === "y" ? "bottom" : "right", v = p + d[w], y = p - d[h];
|
|
596
|
-
p = wt(v, p, y);
|
|
597
|
-
}
|
|
598
|
-
const g = l.fn({
|
|
599
|
-
...e,
|
|
600
|
-
[m]: f,
|
|
601
|
-
[u]: p
|
|
602
|
-
});
|
|
603
|
-
return {
|
|
604
|
-
...g,
|
|
605
|
-
data: {
|
|
606
|
-
x: g.x - n,
|
|
607
|
-
y: g.y - o,
|
|
608
|
-
enabled: {
|
|
609
|
-
[m]: s,
|
|
610
|
-
[u]: r
|
|
611
|
-
}
|
|
612
|
-
}
|
|
613
|
-
};
|
|
614
|
-
}
|
|
615
|
-
};
|
|
616
|
-
};
|
|
617
|
-
function mt() {
|
|
618
|
-
return typeof window < "u";
|
|
619
|
-
}
|
|
620
|
-
function Q(t) {
|
|
621
|
-
return Ot(t) ? (t.nodeName || "").toLowerCase() : "#document";
|
|
622
|
-
}
|
|
623
|
-
function _(t) {
|
|
624
|
-
var e;
|
|
625
|
-
return (t == null || (e = t.ownerDocument) == null ? void 0 : e.defaultView) || window;
|
|
626
|
-
}
|
|
627
|
-
function $(t) {
|
|
628
|
-
var e;
|
|
629
|
-
return (e = (Ot(t) ? t.ownerDocument : t.document) || window.document) == null ? void 0 : e.documentElement;
|
|
630
|
-
}
|
|
631
|
-
function Ot(t) {
|
|
632
|
-
return mt() ? t instanceof Node || t instanceof _(t).Node : !1;
|
|
633
|
-
}
|
|
634
|
-
function L(t) {
|
|
635
|
-
return mt() ? t instanceof Element || t instanceof _(t).Element : !1;
|
|
636
|
-
}
|
|
637
|
-
function k(t) {
|
|
638
|
-
return mt() ? t instanceof HTMLElement || t instanceof _(t).HTMLElement : !1;
|
|
639
|
-
}
|
|
640
|
-
function Pt(t) {
|
|
641
|
-
return !mt() || typeof ShadowRoot > "u" ? !1 : t instanceof ShadowRoot || t instanceof _(t).ShadowRoot;
|
|
642
|
-
}
|
|
643
|
-
function lt(t) {
|
|
644
|
-
const {
|
|
645
|
-
overflow: e,
|
|
646
|
-
overflowX: n,
|
|
647
|
-
overflowY: o,
|
|
648
|
-
display: i
|
|
649
|
-
} = C(t);
|
|
650
|
-
return /auto|scroll|overlay|hidden|clip/.test(e + o + n) && !["inline", "contents"].includes(i);
|
|
651
|
-
}
|
|
652
|
-
function be(t) {
|
|
653
|
-
return ["table", "td", "th"].includes(Q(t));
|
|
654
|
-
}
|
|
655
|
-
function pt(t) {
|
|
656
|
-
return [":popover-open", ":modal"].some((e) => {
|
|
657
|
-
try {
|
|
658
|
-
return t.matches(e);
|
|
659
|
-
} catch {
|
|
660
|
-
return !1;
|
|
661
|
-
}
|
|
662
|
-
});
|
|
663
|
-
}
|
|
664
|
-
function At(t) {
|
|
665
|
-
const e = Tt(), n = L(t) ? C(t) : t;
|
|
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));
|
|
667
|
-
}
|
|
668
|
-
function Oe(t) {
|
|
669
|
-
let e = U(t);
|
|
670
|
-
for (; k(e) && !ot(e); ) {
|
|
671
|
-
if (At(e))
|
|
672
|
-
return e;
|
|
673
|
-
if (pt(e))
|
|
674
|
-
return null;
|
|
675
|
-
e = U(e);
|
|
676
|
-
}
|
|
677
|
-
return null;
|
|
678
|
-
}
|
|
679
|
-
function Tt() {
|
|
680
|
-
return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
|
|
681
|
-
}
|
|
682
|
-
function ot(t) {
|
|
683
|
-
return ["html", "body", "#document"].includes(Q(t));
|
|
684
|
-
}
|
|
685
|
-
function C(t) {
|
|
686
|
-
return _(t).getComputedStyle(t);
|
|
687
|
-
}
|
|
688
|
-
function gt(t) {
|
|
689
|
-
return L(t) ? {
|
|
690
|
-
scrollLeft: t.scrollLeft,
|
|
691
|
-
scrollTop: t.scrollTop
|
|
692
|
-
} : {
|
|
693
|
-
scrollLeft: t.scrollX,
|
|
694
|
-
scrollTop: t.scrollY
|
|
695
|
-
};
|
|
696
|
-
}
|
|
697
|
-
function U(t) {
|
|
698
|
-
if (Q(t) === "html")
|
|
699
|
-
return t;
|
|
700
|
-
const e = (
|
|
701
|
-
// Step into the shadow DOM of the parent of a slotted node.
|
|
702
|
-
t.assignedSlot || // DOM Element detected.
|
|
703
|
-
t.parentNode || // ShadowRoot detected.
|
|
704
|
-
Pt(t) && t.host || // Fallback.
|
|
705
|
-
$(t)
|
|
706
|
-
);
|
|
707
|
-
return Pt(e) ? e.host : e;
|
|
708
|
-
}
|
|
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);
|
|
712
|
-
}
|
|
713
|
-
function st(t, e, n) {
|
|
714
|
-
var o;
|
|
715
|
-
e === void 0 && (e = []), n === void 0 && (n = !0);
|
|
716
|
-
const i = It(t), s = i === ((o = t.ownerDocument) == null ? void 0 : o.body), r = _(i);
|
|
717
|
-
if (s) {
|
|
718
|
-
const l = vt(r);
|
|
719
|
-
return e.concat(r, r.visualViewport || [], lt(i) ? i : [], l && n ? st(l) : []);
|
|
720
|
-
}
|
|
721
|
-
return e.concat(i, st(i, [], n));
|
|
722
|
-
}
|
|
723
|
-
function vt(t) {
|
|
724
|
-
return t.parent && Object.getPrototypeOf(t.parent) ? t.frameElement : null;
|
|
725
|
-
}
|
|
726
|
-
function jt(t) {
|
|
727
|
-
const e = C(t);
|
|
728
|
-
let n = parseFloat(e.width) || 0, o = parseFloat(e.height) || 0;
|
|
729
|
-
const i = k(t), s = i ? t.offsetWidth : n, r = i ? t.offsetHeight : o, l = at(n) !== s || at(o) !== r;
|
|
730
|
-
return l && (n = s, o = r), {
|
|
731
|
-
width: n,
|
|
732
|
-
height: o,
|
|
733
|
-
$: l
|
|
734
|
-
};
|
|
735
|
-
}
|
|
736
|
-
function Rt(t) {
|
|
737
|
-
return L(t) ? t : t.contextElement;
|
|
738
|
-
}
|
|
739
|
-
function et(t) {
|
|
740
|
-
const e = Rt(t);
|
|
741
|
-
if (!k(e))
|
|
742
|
-
return M(1);
|
|
743
|
-
const n = e.getBoundingClientRect(), {
|
|
744
|
-
width: o,
|
|
745
|
-
height: i,
|
|
746
|
-
$: s
|
|
747
|
-
} = jt(e);
|
|
748
|
-
let r = (s ? at(n.width) : n.width) / o, l = (s ? at(n.height) : n.height) / i;
|
|
749
|
-
return (!r || !Number.isFinite(r)) && (r = 1), (!l || !Number.isFinite(l)) && (l = 1), {
|
|
750
|
-
x: r,
|
|
751
|
-
y: l
|
|
752
|
-
};
|
|
753
|
-
}
|
|
754
|
-
const Ae = /* @__PURE__ */ M(0);
|
|
755
|
-
function zt(t) {
|
|
756
|
-
const e = _(t);
|
|
757
|
-
return !Tt() || !e.visualViewport ? Ae : {
|
|
758
|
-
x: e.visualViewport.offsetLeft,
|
|
759
|
-
y: e.visualViewport.offsetTop
|
|
760
|
-
};
|
|
761
|
-
}
|
|
762
|
-
function Te(t, e, n) {
|
|
763
|
-
return e === void 0 && (e = !1), !n || e && n !== _(t) ? !1 : e;
|
|
764
|
-
}
|
|
765
|
-
function K(t, e, n, o) {
|
|
766
|
-
e === void 0 && (e = !1), n === void 0 && (n = !1);
|
|
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);
|
|
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;
|
|
772
|
-
if (s) {
|
|
773
|
-
const m = _(s), f = o && L(o) ? _(o) : o;
|
|
774
|
-
let p = m, g = vt(p);
|
|
775
|
-
for (; g && o && f !== 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);
|
|
778
|
-
}
|
|
779
|
-
}
|
|
780
|
-
return dt({
|
|
781
|
-
width: d,
|
|
782
|
-
height: u,
|
|
783
|
-
x: a,
|
|
784
|
-
y: c
|
|
785
|
-
});
|
|
786
|
-
}
|
|
787
|
-
function St(t, e) {
|
|
788
|
-
const n = gt(t).scrollLeft;
|
|
789
|
-
return e ? e.left + n : K($(t)).left + n;
|
|
790
|
-
}
|
|
791
|
-
function Ut(t, e, n) {
|
|
792
|
-
n === void 0 && (n = !1);
|
|
793
|
-
const o = t.getBoundingClientRect(), i = o.left + e.scrollLeft - (n ? 0 : (
|
|
794
|
-
// RTL <body> scrollbar.
|
|
795
|
-
St(t, o)
|
|
796
|
-
)), s = o.top + e.scrollTop;
|
|
797
|
-
return {
|
|
798
|
-
x: i,
|
|
799
|
-
y: s
|
|
800
|
-
};
|
|
801
|
-
}
|
|
802
|
-
function Re(t) {
|
|
803
|
-
let {
|
|
804
|
-
elements: e,
|
|
805
|
-
rect: n,
|
|
806
|
-
offsetParent: o,
|
|
807
|
-
strategy: i
|
|
808
|
-
} = t;
|
|
809
|
-
const s = i === "fixed", r = $(o), l = e ? pt(e.floating) : !1;
|
|
810
|
-
if (o === r || l && s)
|
|
811
|
-
return n;
|
|
812
|
-
let a = {
|
|
813
|
-
scrollLeft: 0,
|
|
814
|
-
scrollTop: 0
|
|
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;
|
|
820
|
-
}
|
|
821
|
-
const m = r && !u && !s ? Ut(r, a, !0) : M(0);
|
|
822
|
-
return {
|
|
823
|
-
width: n.width * c.x,
|
|
824
|
-
height: n.height * c.y,
|
|
825
|
-
x: n.x * c.x - a.scrollLeft * c.x + d.x + m.x,
|
|
826
|
-
y: n.y * c.y - a.scrollTop * c.y + d.y + m.y
|
|
827
|
-
};
|
|
828
|
-
}
|
|
829
|
-
function Se(t) {
|
|
830
|
-
return Array.from(t.getClientRects());
|
|
831
|
-
}
|
|
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);
|
|
835
|
-
const l = -n.scrollTop;
|
|
836
|
-
return C(o).direction === "rtl" && (r += G(e.clientWidth, o.clientWidth) - i), {
|
|
837
|
-
width: i,
|
|
838
|
-
height: s,
|
|
839
|
-
x: r,
|
|
840
|
-
y: l
|
|
841
|
-
};
|
|
842
|
-
}
|
|
843
|
-
function Ee(t, e) {
|
|
844
|
-
const n = _(t), o = $(t), i = n.visualViewport;
|
|
845
|
-
let s = o.clientWidth, r = o.clientHeight, l = 0, a = 0;
|
|
846
|
-
if (i) {
|
|
847
|
-
s = i.width, r = i.height;
|
|
848
|
-
const c = Tt();
|
|
849
|
-
(!c || c && e === "fixed") && (l = i.offsetLeft, a = i.offsetTop);
|
|
850
|
-
}
|
|
851
|
-
return {
|
|
852
|
-
width: s,
|
|
853
|
-
height: r,
|
|
854
|
-
x: l,
|
|
855
|
-
y: a
|
|
856
|
-
};
|
|
857
|
-
}
|
|
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;
|
|
860
|
-
return {
|
|
861
|
-
width: r,
|
|
862
|
-
height: l,
|
|
863
|
-
x: a,
|
|
864
|
-
y: c
|
|
865
|
-
};
|
|
866
|
-
}
|
|
867
|
-
function Ft(t, e, n) {
|
|
868
|
-
let o;
|
|
869
|
-
if (e === "viewport")
|
|
870
|
-
o = Ee(t, n);
|
|
871
|
-
else if (e === "document")
|
|
872
|
-
o = _e($(t));
|
|
873
|
-
else if (L(e))
|
|
874
|
-
o = De(e, n);
|
|
875
|
-
else {
|
|
876
|
-
const i = zt(t);
|
|
877
|
-
o = {
|
|
878
|
-
x: e.x - i.x,
|
|
879
|
-
y: e.y - i.y,
|
|
880
|
-
width: e.width,
|
|
881
|
-
height: e.height
|
|
882
|
-
};
|
|
883
|
-
}
|
|
884
|
-
return dt(o);
|
|
885
|
-
}
|
|
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);
|
|
889
|
-
}
|
|
890
|
-
function Le(t, e) {
|
|
891
|
-
const n = e.get(t);
|
|
892
|
-
if (n)
|
|
893
|
-
return n;
|
|
894
|
-
let o = st(t, [], !1).filter((l) => L(l) && Q(l) !== "body"), i = null;
|
|
895
|
-
const s = C(t).position === "fixed";
|
|
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);
|
|
900
|
-
}
|
|
901
|
-
return e.set(t, o), o;
|
|
902
|
-
}
|
|
903
|
-
function Ce(t) {
|
|
904
|
-
let {
|
|
905
|
-
element: e,
|
|
906
|
-
boundary: n,
|
|
907
|
-
rootBoundary: o,
|
|
908
|
-
strategy: i
|
|
909
|
-
} = t;
|
|
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));
|
|
914
|
-
return {
|
|
915
|
-
width: a.right - a.left,
|
|
916
|
-
height: a.bottom - a.top,
|
|
917
|
-
x: a.left,
|
|
918
|
-
y: a.top
|
|
919
|
-
};
|
|
920
|
-
}
|
|
921
|
-
function Pe(t) {
|
|
922
|
-
const {
|
|
923
|
-
width: e,
|
|
924
|
-
height: n
|
|
925
|
-
} = jt(t);
|
|
926
|
-
return {
|
|
927
|
-
width: e,
|
|
928
|
-
height: n
|
|
929
|
-
};
|
|
930
|
-
}
|
|
931
|
-
function Fe(t, e, n) {
|
|
932
|
-
const o = k(e), i = $(e), s = n === "fixed", r = K(t, !0, s, e);
|
|
933
|
-
let l = {
|
|
934
|
-
scrollLeft: 0,
|
|
935
|
-
scrollTop: 0
|
|
936
|
-
};
|
|
937
|
-
const a = M(0);
|
|
938
|
-
if (o || !o && !s)
|
|
939
|
-
if ((Q(e) !== "body" || lt(i)) && (l = gt(e)), o) {
|
|
940
|
-
const m = K(e, !0, s, e);
|
|
941
|
-
a.x = m.x + e.clientLeft, a.y = m.y + e.clientTop;
|
|
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;
|
|
944
|
-
return {
|
|
945
|
-
x: d,
|
|
946
|
-
y: u,
|
|
947
|
-
width: r.width,
|
|
948
|
-
height: r.height
|
|
949
|
-
};
|
|
950
|
-
}
|
|
951
|
-
function ht(t) {
|
|
952
|
-
return C(t).position === "static";
|
|
953
|
-
}
|
|
954
|
-
function Mt(t, e) {
|
|
955
|
-
if (!k(t) || C(t).position === "fixed")
|
|
956
|
-
return null;
|
|
957
|
-
if (e)
|
|
958
|
-
return e(t);
|
|
959
|
-
let n = t.offsetParent;
|
|
960
|
-
return $(t) === n && (n = n.ownerDocument.body), n;
|
|
961
|
-
}
|
|
962
|
-
function qt(t, e) {
|
|
963
|
-
const n = _(t);
|
|
964
|
-
if (pt(t))
|
|
965
|
-
return n;
|
|
966
|
-
if (!k(t)) {
|
|
967
|
-
let i = U(t);
|
|
968
|
-
for (; i && !ot(i); ) {
|
|
969
|
-
if (L(i) && !ht(i))
|
|
970
|
-
return i;
|
|
971
|
-
i = U(i);
|
|
972
|
-
}
|
|
973
|
-
return n;
|
|
974
|
-
}
|
|
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;
|
|
979
|
-
}
|
|
980
|
-
const Me = async function(t) {
|
|
981
|
-
const e = this.getOffsetParent || qt, n = this.getDimensions, o = await n(t.floating);
|
|
982
|
-
return {
|
|
983
|
-
reference: Fe(t.reference, await e(t.floating), t.strategy),
|
|
984
|
-
floating: {
|
|
985
|
-
x: 0,
|
|
986
|
-
y: 0,
|
|
987
|
-
width: o.width,
|
|
988
|
-
height: o.height
|
|
989
|
-
}
|
|
990
|
-
};
|
|
991
|
-
};
|
|
992
|
-
function Be(t) {
|
|
993
|
-
return C(t).direction === "rtl";
|
|
994
|
-
}
|
|
995
|
-
const ke = {
|
|
996
|
-
convertOffsetParentRelativeRectToViewportRelativeRect: Re,
|
|
997
|
-
getDocumentElement: $,
|
|
998
|
-
getClippingRect: Ce,
|
|
999
|
-
getOffsetParent: qt,
|
|
1000
|
-
getElementRects: Me,
|
|
1001
|
-
getClientRects: Se,
|
|
1002
|
-
getDimensions: Pe,
|
|
1003
|
-
getScale: et,
|
|
1004
|
-
isElement: L,
|
|
1005
|
-
isRTL: Be
|
|
1006
|
-
};
|
|
1007
|
-
function $e(t, e) {
|
|
1008
|
-
let n = null, o;
|
|
1009
|
-
const i = $(t);
|
|
1010
|
-
function s() {
|
|
1011
|
-
var l;
|
|
1012
|
-
clearTimeout(o), (l = n) == null || l.disconnect(), n = null;
|
|
1013
|
-
}
|
|
1014
|
-
function r(l, a) {
|
|
1015
|
-
l === void 0 && (l = !1), a === void 0 && (a = 1), s();
|
|
1016
|
-
const {
|
|
1017
|
-
left: c,
|
|
1018
|
-
top: d,
|
|
1019
|
-
width: u,
|
|
1020
|
-
height: m
|
|
1021
|
-
} = t.getBoundingClientRect();
|
|
1022
|
-
if (l || e(), !u || !m)
|
|
1023
|
-
return;
|
|
1024
|
-
const f = ct(d), p = ct(i.clientWidth - (c + u)), g = ct(i.clientHeight - (d + m)), w = ct(c), v = {
|
|
1025
|
-
rootMargin: -f + "px " + -p + "px " + -g + "px " + -w + "px",
|
|
1026
|
-
threshold: G(0, nt(1, a)) || 1
|
|
1027
|
-
};
|
|
1028
|
-
let y = !0;
|
|
1029
|
-
function O(b) {
|
|
1030
|
-
const T = b[0].intersectionRatio;
|
|
1031
|
-
if (T !== a) {
|
|
1032
|
-
if (!y)
|
|
1033
|
-
return r();
|
|
1034
|
-
T ? r(!1, T) : o = setTimeout(() => {
|
|
1035
|
-
r(!1, 1e-7);
|
|
1036
|
-
}, 1e3);
|
|
1037
|
-
}
|
|
1038
|
-
y = !1;
|
|
1039
|
-
}
|
|
1040
|
-
try {
|
|
1041
|
-
n = new IntersectionObserver(O, {
|
|
1042
|
-
...v,
|
|
1043
|
-
// Handle <iframe>s
|
|
1044
|
-
root: i.ownerDocument
|
|
1045
|
-
});
|
|
1046
|
-
} catch {
|
|
1047
|
-
n = new IntersectionObserver(O, v);
|
|
1048
|
-
}
|
|
1049
|
-
n.observe(t);
|
|
1050
|
-
}
|
|
1051
|
-
return r(!0), s;
|
|
1052
|
-
}
|
|
1053
|
-
function Bt(t, e, n, o) {
|
|
1054
|
-
o === void 0 && (o = {});
|
|
1055
|
-
const {
|
|
1056
|
-
ancestorScroll: i = !0,
|
|
1057
|
-
ancestorResize: s = !0,
|
|
1058
|
-
elementResize: r = typeof ResizeObserver == "function",
|
|
1059
|
-
layoutShift: l = typeof IntersectionObserver == "function",
|
|
1060
|
-
animationFrame: a = !1
|
|
1061
|
-
} = o, c = Rt(t), d = i || s ? [...c ? st(c) : [], ...st(e)] : [];
|
|
1062
|
-
d.forEach((h) => {
|
|
1063
|
-
i && h.addEventListener("scroll", n, {
|
|
1064
|
-
passive: !0
|
|
1065
|
-
}), s && h.addEventListener("resize", n);
|
|
1066
|
-
});
|
|
1067
|
-
const u = c && l ? $e(c, n) : null;
|
|
1068
|
-
let m = -1, f = null;
|
|
1069
|
-
r && (f = new ResizeObserver((h) => {
|
|
1070
|
-
let [v] = h;
|
|
1071
|
-
v && v.target === c && f && (f.unobserve(e), cancelAnimationFrame(m), m = requestAnimationFrame(() => {
|
|
1072
|
-
var y;
|
|
1073
|
-
(y = f) == null || y.observe(e);
|
|
1074
|
-
})), n();
|
|
1075
|
-
}), c && !a && f.observe(c), f.observe(e));
|
|
1076
|
-
let p, g = a ? K(t) : null;
|
|
1077
|
-
a && w();
|
|
1078
|
-
function w() {
|
|
1079
|
-
const h = K(t);
|
|
1080
|
-
g && (h.x !== g.x || h.y !== g.y || h.width !== g.width || h.height !== g.height) && n(), g = h, p = requestAnimationFrame(w);
|
|
1081
|
-
}
|
|
1082
|
-
return n(), () => {
|
|
1083
|
-
var h;
|
|
1084
|
-
d.forEach((v) => {
|
|
1085
|
-
i && v.removeEventListener("scroll", n), s && v.removeEventListener("resize", n);
|
|
1086
|
-
}), u == null || u(), (h = f) == null || h.disconnect(), f = null, a && cancelAnimationFrame(p);
|
|
1087
|
-
};
|
|
1088
|
-
}
|
|
1089
|
-
const He = ye, Ne = ge, We = xe, Ve = he, sn = we, Ie = me, je = (t, e, n) => {
|
|
1090
|
-
const o = /* @__PURE__ */ new Map(), i = {
|
|
1091
|
-
platform: ke,
|
|
1092
|
-
...n
|
|
1093
|
-
}, s = {
|
|
1094
|
-
...i.platform,
|
|
1095
|
-
_c: o
|
|
1096
|
-
};
|
|
1097
|
-
return de(t, e, {
|
|
1098
|
-
...i,
|
|
1099
|
-
platform: s
|
|
1100
|
-
});
|
|
1101
|
-
};
|
|
1102
|
-
function ze(t) {
|
|
1103
|
-
return t != null && typeof t == "object" && "$el" in t;
|
|
1104
|
-
}
|
|
1105
|
-
function yt(t) {
|
|
1106
|
-
if (ze(t)) {
|
|
1107
|
-
const e = t.$el;
|
|
1108
|
-
return Ot(e) && Q(e) === "#comment" ? null : e;
|
|
1109
|
-
}
|
|
1110
|
-
return t;
|
|
1111
|
-
}
|
|
1112
|
-
function Ue(t) {
|
|
1113
|
-
return {
|
|
1114
|
-
name: "arrow",
|
|
1115
|
-
options: t,
|
|
1116
|
-
fn(e) {
|
|
1117
|
-
const n = yt(tt(t.element));
|
|
1118
|
-
return n == null ? {} : Ie({
|
|
1119
|
-
element: n,
|
|
1120
|
-
padding: t.padding
|
|
1121
|
-
}).fn(e);
|
|
1122
|
-
}
|
|
1123
|
-
};
|
|
1124
|
-
}
|
|
1125
|
-
function Gt(t) {
|
|
1126
|
-
return typeof window > "u" ? 1 : (t.ownerDocument.defaultView || window).devicePixelRatio || 1;
|
|
1127
|
-
}
|
|
1128
|
-
function kt(t, e) {
|
|
1129
|
-
const n = Gt(t);
|
|
1130
|
-
return Math.round(e * n) / n;
|
|
1131
|
-
}
|
|
1132
|
-
function Ye(t, e, n) {
|
|
1133
|
-
n === void 0 && (n = {});
|
|
1134
|
-
const o = n.whileElementsMounted, i = R(() => {
|
|
1135
|
-
var x;
|
|
1136
|
-
return (x = tt(n.open)) != null ? x : !0;
|
|
1137
|
-
}), s = R(() => tt(n.middleware)), r = R(() => {
|
|
1138
|
-
var x;
|
|
1139
|
-
return (x = tt(n.placement)) != null ? x : "bottom";
|
|
1140
|
-
}), l = R(() => {
|
|
1141
|
-
var x;
|
|
1142
|
-
return (x = tt(n.strategy)) != null ? x : "absolute";
|
|
1143
|
-
}), a = R(() => {
|
|
1144
|
-
var x;
|
|
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(() => {
|
|
1147
|
-
const x = {
|
|
1148
|
-
position: f.value,
|
|
1149
|
-
left: "0",
|
|
1150
|
-
top: "0"
|
|
1151
|
-
};
|
|
1152
|
-
if (!d.value)
|
|
1153
|
-
return x;
|
|
1154
|
-
const H = kt(d.value, u.value), S = kt(d.value, m.value);
|
|
1155
|
-
return a.value ? {
|
|
1156
|
-
...x,
|
|
1157
|
-
transform: "translate(" + H + "px, " + S + "px)",
|
|
1158
|
-
...Gt(d.value) >= 1.5 && {
|
|
1159
|
-
willChange: "transform"
|
|
1160
|
-
}
|
|
1161
|
-
} : {
|
|
1162
|
-
position: f.value,
|
|
1163
|
-
left: H + "px",
|
|
1164
|
-
top: S + "px"
|
|
1165
|
-
};
|
|
1166
|
-
});
|
|
1167
|
-
let v;
|
|
1168
|
-
function y() {
|
|
1169
|
-
c.value == null || d.value == null || je(c.value, d.value, {
|
|
1170
|
-
middleware: s.value,
|
|
1171
|
-
placement: r.value,
|
|
1172
|
-
strategy: l.value
|
|
1173
|
-
}).then((x) => {
|
|
1174
|
-
u.value = x.x, m.value = x.y, f.value = x.strategy, p.value = x.placement, g.value = x.middlewareData, w.value = !0;
|
|
1175
|
-
});
|
|
1176
|
-
}
|
|
1177
|
-
function O() {
|
|
1178
|
-
typeof v == "function" && (v(), v = void 0);
|
|
1179
|
-
}
|
|
1180
|
-
function b() {
|
|
1181
|
-
if (O(), o === void 0) {
|
|
1182
|
-
y();
|
|
1183
|
-
return;
|
|
1184
|
-
}
|
|
1185
|
-
if (c.value != null && d.value != null) {
|
|
1186
|
-
v = o(c.value, d.value, y);
|
|
1187
|
-
return;
|
|
1188
|
-
}
|
|
1189
|
-
}
|
|
1190
|
-
function T() {
|
|
1191
|
-
i.value || (w.value = !1);
|
|
1192
|
-
}
|
|
1193
|
-
return it([s, r, l], y, {
|
|
1194
|
-
flush: "sync"
|
|
1195
|
-
}), it([c, d], b, {
|
|
1196
|
-
flush: "sync"
|
|
1197
|
-
}), it(i, T, {
|
|
1198
|
-
flush: "sync"
|
|
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),
|
|
1206
|
-
floatingStyles: h,
|
|
1207
|
-
update: y
|
|
1208
|
-
};
|
|
1209
|
-
}
|
|
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) => {
|
|
1212
|
-
let e = Array.isArray(t) ? t : [t];
|
|
1213
|
-
return e = e.filter((n) => n !== "auto" && n !== "auto-start" && n !== "auto-end").map((n) => n), {
|
|
1214
|
-
fallbackPlacements: e
|
|
1215
|
-
};
|
|
1216
|
-
}, Xe = {
|
|
1217
|
-
name: "sameWidth",
|
|
1218
|
-
fn: ({ elements: t }) => (t.floating.style.width = `${t.reference.offsetWidth}px`, {})
|
|
1219
|
-
}, Ke = {}, Je = /* @__PURE__ */ ne({
|
|
1220
|
-
...Ke,
|
|
1221
|
-
__name: "popper-container",
|
|
1222
|
-
props: {
|
|
1223
|
-
/**
|
|
1224
|
-
* The aria role assigned to the container. Defaults to null, which means it's not set if nothing is passed.
|
|
1225
|
-
*/
|
|
1226
|
-
ariaRole: {
|
|
1227
|
-
type: String,
|
|
1228
|
-
default: null,
|
|
1229
|
-
validator: (t) => Object.values(Jt).includes(t)
|
|
1230
|
-
},
|
|
1231
|
-
/**
|
|
1232
|
-
* Indicates if container should have additional arrow, pointing at target element
|
|
1233
|
-
* Can be just a boolean flag, or an object with additional configuration:
|
|
1234
|
-
* @property {Array<string>} arrow.classes – apply any additional classes to the arrow element.
|
|
1235
|
-
* @property {string} arrow.padding – useful when content has rounded corners, @see {@link https://floating-ui.com/docs/arrow#padding}
|
|
1236
|
-
*/
|
|
1237
|
-
arrow: { type: Object, default: void 0 },
|
|
1238
|
-
/**
|
|
1239
|
-
* Disables wrapping focus-trap component.
|
|
1240
|
-
* Mostly useful for the storybook demo.
|
|
1241
|
-
*/
|
|
1242
|
-
disabledFocusTrap: { type: Boolean, default: !1 },
|
|
1243
|
-
/**
|
|
1244
|
-
* Allows to configure to fallback position to the one specified, it could be 'auto' or ['right', 'top', ...].
|
|
1245
|
-
* Useful when not using auto as starting placement.
|
|
1246
|
-
* @see {@link https://floating-ui.com/docs/flip#fallbackplacements}
|
|
1247
|
-
*/
|
|
1248
|
-
fallbackPosition: {
|
|
1249
|
-
type: [Array, String],
|
|
1250
|
-
default: null
|
|
1251
|
-
},
|
|
1252
|
-
/**
|
|
1253
|
-
* Instructs popover to be visible outside of the containing container.
|
|
1254
|
-
* Useful when component would be used in limited containers like Modal, Side panel, etc.
|
|
1255
|
-
* @see {@link https://floating-ui.com/docs/usefloating#strategy}
|
|
1256
|
-
*/
|
|
1257
|
-
fixedPositioning: { type: Boolean, default: !1 },
|
|
1258
|
-
/**
|
|
1259
|
-
* The id to be set on the component. Use it for accessibility purposes.
|
|
1260
|
-
*/
|
|
1261
|
-
id: { type: String, default: null },
|
|
1262
|
-
/**
|
|
1263
|
-
* If hiding / showing popper element then use this property to tell the popper when to update it's position.
|
|
1264
|
-
* This will drastically help improve performance, as we will not need to track hidden elements.
|
|
1265
|
-
*/
|
|
1266
|
-
isHidden: { type: Boolean, default: null },
|
|
1267
|
-
/**
|
|
1268
|
-
* Instructs popper container to have the same width as target element.
|
|
1269
|
-
*/
|
|
1270
|
-
matchWidth: { type: Boolean, default: !1 },
|
|
1271
|
-
/**
|
|
1272
|
-
* Custom set of middleware. Useful for low-level control over Popper behavior in some really complex use cases.
|
|
1273
|
-
* @see {@link https://floating-ui.com/docs/middleware}
|
|
1274
|
-
*/
|
|
1275
|
-
middleware: { type: Array, default: null },
|
|
1276
|
-
/**
|
|
1277
|
-
* Allows to displace a popper container from its target element.
|
|
1278
|
-
* @see {@link https://floating-ui.com/docs/offset#options}
|
|
1279
|
-
*/
|
|
1280
|
-
offset: {
|
|
1281
|
-
type: Array,
|
|
1282
|
-
default: () => [0, 0],
|
|
1283
|
-
validator: (t) => (t == null ? void 0 : t.length) === 2
|
|
1284
|
-
},
|
|
1285
|
-
/**
|
|
1286
|
-
* Position relative to the target element
|
|
1287
|
-
* @see {@link https://floating-ui.com/docs/computeposition#placement}
|
|
1288
|
-
*/
|
|
1289
|
-
position: {
|
|
1290
|
-
type: String,
|
|
1291
|
-
default: $t.AUTO,
|
|
1292
|
-
validator: (t) => Object.values($t).includes(t)
|
|
1293
|
-
},
|
|
1294
|
-
/**
|
|
1295
|
-
* Reference to the DOM element or Vue component for positioning
|
|
1296
|
-
*/
|
|
1297
|
-
targetElement: { type: [Element, Object], required: !0 }
|
|
1298
|
-
},
|
|
1299
|
-
emits: ["placement"],
|
|
1300
|
-
setup(t, { emit: e }) {
|
|
1301
|
-
var y;
|
|
1302
|
-
const n = t, { position: o } = oe(n), i = z(), s = z(null), r = z(n.position), l = R(
|
|
1303
|
-
() => n.targetElement.$el ? n.targetElement.$el : n.targetElement
|
|
1304
|
-
), a = R(
|
|
1305
|
-
() => i.value.$el ? i.value.$el : i.value
|
|
1306
|
-
), c = R(() => (n == null ? void 0 : n.position) !== "auto" && (n == null ? void 0 : n.fallbackPosition) !== "auto"), d = R(() => {
|
|
1307
|
-
switch (n.position) {
|
|
1308
|
-
case "auto-start":
|
|
1309
|
-
return { alignment: "start", crossAxis: !0 };
|
|
1310
|
-
case "auto-end":
|
|
1311
|
-
return { alignment: "end", crossAxis: !0 };
|
|
1312
|
-
default:
|
|
1313
|
-
return;
|
|
1314
|
-
}
|
|
1315
|
-
}), u = R(() => n.fixedPositioning ? "fixed" : "absolute"), { floatingStyles: m, middlewareData: f, placement: p, update: g } = Ye(l, i, {
|
|
1316
|
-
placement: o,
|
|
1317
|
-
middleware: [
|
|
1318
|
-
// Adds flip modifier if fallbackPosition is not set to auto
|
|
1319
|
-
...c.value ? [
|
|
1320
|
-
Ve({
|
|
1321
|
-
fallbackPlacements: Ge(n.fallbackPosition).fallbackPlacements
|
|
1322
|
-
})
|
|
1323
|
-
] : [],
|
|
1324
|
-
// Adds autoposition middlelare if position is set to any auto variants
|
|
1325
|
-
...c.value ? [] : [Ne(d.value)],
|
|
1326
|
-
// Add shifting middle in case popper is still not fully visible in view port
|
|
1327
|
-
We(),
|
|
1328
|
-
// Adds offset middlelare if offset property is set
|
|
1329
|
-
...n.offset ? [He(qe(n.arrow, n.offset))] : [],
|
|
1330
|
-
// Adds arrow middlelare if arrow property is set, can set additional padding property
|
|
1331
|
-
...n.arrow ? [Ue({ element: s, padding: n.arrow.padding || 0 })] : [],
|
|
1332
|
-
// Adds same width middleware to keep popper width same as referenced element's width
|
|
1333
|
-
...n.matchWidth ? [Xe] : [],
|
|
1334
|
-
// If there is additional custom middleware to add via the property then add it
|
|
1335
|
-
...((y = n.middleware) == null ? void 0 : y.length) > 0 ? n.middleware : []
|
|
1336
|
-
],
|
|
1337
|
-
strategy: u,
|
|
1338
|
-
// If we're mounting the element with a `v-if` then we need to auto update it while it's mounted
|
|
1339
|
-
...n.isHidden === null ? { whileElementsMounted: Bt } : []
|
|
1340
|
-
});
|
|
1341
|
-
let w;
|
|
1342
|
-
it(
|
|
1343
|
-
() => n.isHidden,
|
|
1344
|
-
() => {
|
|
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();
|
|
1346
|
-
}
|
|
1347
|
-
), it(
|
|
1348
|
-
() => p.value,
|
|
1349
|
-
() => {
|
|
1350
|
-
r.value !== p.value && (r.value = p.value, e("placement", r.value));
|
|
1351
|
-
}
|
|
1352
|
-
);
|
|
1353
|
-
const h = R(() => {
|
|
1354
|
-
var O, b;
|
|
1355
|
-
return {
|
|
1356
|
-
position: "absolute",
|
|
1357
|
-
left: ((O = f.value.arrow) == null ? void 0 : O.x) != null ? `${f.value.arrow.x}px` : "",
|
|
1358
|
-
top: ((b = f.value.arrow) == null ? void 0 : b.y) != null ? `${f.value.arrow.y}px` : ""
|
|
1359
|
-
};
|
|
1360
|
-
}), v = R(() => {
|
|
1361
|
-
var O;
|
|
1362
|
-
return {
|
|
1363
|
-
class: n.arrow.classes,
|
|
1364
|
-
style: h.value,
|
|
1365
|
-
// Applies a data-hide attribute to arrow element depending on center offset.
|
|
1366
|
-
...((O = f.value.arrow) == null ? void 0 : O.centerOffset) !== 0 ? { "data-hide": "" } : {}
|
|
1367
|
-
};
|
|
1368
|
-
});
|
|
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 };
|
|
1370
|
-
}
|
|
1371
|
-
});
|
|
1372
|
-
var Qe = function() {
|
|
1373
|
-
var e = this, n = e._self._c, o = e._self._setupProxy;
|
|
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);
|
|
1375
|
-
}, Ze = [], tn = /* @__PURE__ */ re(
|
|
1376
|
-
Je,
|
|
1377
|
-
Qe,
|
|
1378
|
-
Ze,
|
|
1379
|
-
!1,
|
|
1380
|
-
null,
|
|
1381
|
-
"d43f1772"
|
|
1382
|
-
);
|
|
1383
|
-
const ln = tn.exports;
|
|
1384
|
-
export {
|
|
1385
|
-
ln as P,
|
|
1386
|
-
Xt as a,
|
|
1387
|
-
Kt as b,
|
|
1388
|
-
Jt as c,
|
|
1389
|
-
$t as d,
|
|
1390
|
-
sn as h,
|
|
1391
|
-
He as o
|
|
1392
|
-
};
|
|
1393
|
-
//# sourceMappingURL=popper-container.DUNt7nKd.js.map
|