@adyen/bento-vue3 1.35.0 → 1.36.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/packages/core/src/components/tag/tag.types.d.ts +14 -0
- package/dist/@types/packages/core/src/components/tooltip/tooltip.types.d.ts +11 -0
- package/dist/@types/packages/vue2/src/components/checkbox/checkbox.vue.d.ts +20 -184
- package/dist/@types/packages/vue2/src/components/checkbox/components/checkbox-group/checkbox-group.vue.d.ts +24 -188
- package/dist/@types/packages/vue2/src/components/data-grid/composables/use-calculate-column-width/use-calculate-column-width.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/data-grid/composables/use-calculate-column-width/use-calculate-column-width.types.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/date-picker/date-picker.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/date-range-picker/date-range-picker.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/filter-bar/components/all-filters-modal/all-filters-modal.vue.d.ts +32 -360
- package/dist/@types/packages/vue2/src/components/filter-bar/components/date-filter/date-filter.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/filter-bar/components/date-range-filter/date-range-filter.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/variants/select-currency-filter/select-currency-filter.vue.d.ts +15 -179
- package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/variants/select-tag-filter/select-tag-filter.vue.d.ts +15 -179
- package/dist/@types/packages/vue2/src/components/filter-bar/filter-bar.vue.d.ts +32 -360
- package/dist/@types/packages/vue2/src/components/internal/checkbox-input/checkbox-input.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/internal/checkbox-input/index.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/internal/index.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-multi-select/components/listbox-multi-select-options/components/listbox-multi-select-category/listbox-multi-select-category.vue.d.ts +20 -184
- package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-multi-select/components/listbox-multi-select-options/listbox-multi-select-options.vue.d.ts +40 -368
- package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-multi-select/listbox-multi-select.vue.d.ts +60 -552
- package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-option-tag/listbox-option-tag.vue.d.ts +15 -179
- package/dist/@types/packages/vue2/src/components/internal/listbox/listbox.vue.d.ts +72 -564
- package/dist/@types/packages/vue2/src/components/internal/tooltip/index.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/{tooltip → internal/tooltip}/tooltip.vue.d.ts +67 -67
- package/dist/@types/packages/vue2/src/components/popper-container/popper-container.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/radio-group/components/radio-button/radio-button.vue.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item/summary-grid-item.vue.d.ts +15 -179
- package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item-amount/summary-grid-item-amount.vue.d.ts +15 -179
- package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item-custom/summary-grid-item-custom.vue.d.ts +15 -179
- package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item-numeric/summary-grid-item-numeric.vue.d.ts +15 -179
- package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item-percentage/summary-grid-item-percentage.vue.d.ts +15 -179
- package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item-text/summary-grid-item-text.vue.d.ts +15 -179
- package/dist/@types/packages/vue2/src/components/tabs/components/tab.types.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/tabs/components/tab.vue.d.ts +15 -0
- package/dist/@types/packages/vue2/src/components/tabs/tabs.types.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/tag/tag.vue.d.ts +26 -219
- package/dist/@types/packages/vue2/src/components/timeline/components/timeline-item/timeline-item.vue.d.ts +17 -181
- package/dist/@types/packages/vue2/src/directives/tooltip/index.d.ts +1 -1
- package/dist/@types/packages/vue2/src/directives/tooltip/tooltip.types.d.ts +0 -11
- package/dist/accordion.js +1 -1
- package/dist/action-bar.js +1 -1
- package/dist/alert.js +1 -1
- package/dist/assets/accordion-item.css +1 -1
- package/dist/assets/action-bar.css +1 -1
- package/dist/assets/alert.css +1 -1
- package/dist/assets/base-modal.css +1 -1
- package/dist/assets/button.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/dashboard-section.css +1 -1
- package/dist/assets/data-grid.css +1 -1
- package/dist/assets/dialog-page.css +1 -1
- package/dist/assets/dropdown.css +1 -1
- package/dist/assets/empty-state.css +1 -1
- package/dist/assets/error-message.css +1 -1
- package/dist/assets/filter-bar.css +1 -1
- package/dist/assets/info-icon.css +1 -1
- package/dist/assets/inspector.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/popover.css +1 -1
- package/dist/assets/popper-container.css +1 -1
- package/dist/assets/radio-input.css +1 -1
- package/dist/assets/sidepanel.css +1 -1
- package/dist/assets/step.css +1 -1
- package/dist/assets/tabs.css +1 -1
- package/dist/assets/tag.css +1 -1
- package/dist/assets/timeline-item.css +1 -1
- package/dist/assets/tooltip.css +1 -1
- package/dist/assets/tutorial.css +1 -1
- package/dist/assets/typography.css +1 -1
- package/dist/assets/use-cached-selected-values.css +1 -1
- package/dist/avatar.js +1 -1
- package/dist/button.js +4 -4
- package/dist/card.js +1 -1
- package/dist/checkbox.js +3 -3
- package/dist/chunks/{accordion-item.4Cnn47v_.js → accordion-item.COc5nXh4.js} +3 -3
- package/dist/chunks/{accordion-item.4Cnn47v_.js.map → accordion-item.COc5nXh4.js.map} +1 -1
- package/dist/chunks/{action-bar.BYMas_1s.js → action-bar.CMuu-R_8.js} +7 -7
- package/dist/chunks/{action-bar.BYMas_1s.js.map → action-bar.CMuu-R_8.js.map} +1 -1
- package/dist/chunks/{alert.B_GZON9f.js → alert.DZFWFceT.js} +9 -10
- package/dist/chunks/alert.DZFWFceT.js.map +1 -0
- package/dist/chunks/{avatar.8erKxh8t.js → avatar.7gix8dxp.js} +2 -2
- package/dist/chunks/{avatar.8erKxh8t.js.map → avatar.7gix8dxp.js.map} +1 -1
- package/dist/chunks/{base-button.BxUrydaP.js → base-button.cDr-F6j_.js} +2 -2
- package/dist/chunks/{base-button.BxUrydaP.js.map → base-button.cDr-F6j_.js.map} +1 -1
- package/dist/chunks/{base-modal.BbiSFAn1.js → base-modal.DS7zI1O2.js} +6 -6
- package/dist/chunks/{base-modal.BbiSFAn1.js.map → base-modal.DS7zI1O2.js.map} +1 -1
- package/dist/chunks/{button-actions-with-menu.0ypQxYbM.js → button-actions-with-menu.B9E4lUQV.js} +4 -4
- package/dist/chunks/{button-actions-with-menu.0ypQxYbM.js.map → button-actions-with-menu.B9E4lUQV.js.map} +1 -1
- package/dist/chunks/{button-actions.DcvU9vMt.js → button-actions.DOvd7VLB.js} +3 -3
- package/dist/chunks/{button-actions.DcvU9vMt.js.map → button-actions.DOvd7VLB.js.map} +1 -1
- package/dist/chunks/{button.Br6CyG40.js → button.DInQYAND.js} +3 -3
- package/dist/chunks/{button.Br6CyG40.js.map → button.DInQYAND.js.map} +1 -1
- package/dist/chunks/{calendar.BPatBsD5.js → calendar.BHy-Sfgc.js} +9 -8
- package/dist/chunks/{calendar.BPatBsD5.js.map → calendar.BHy-Sfgc.js.map} +1 -1
- package/dist/chunks/{card.B7AyQI7f.js → card.Bh7vfIw8.js} +4 -4
- package/dist/chunks/{card.B7AyQI7f.js.map → card.Bh7vfIw8.js.map} +1 -1
- package/dist/chunks/{checkbox-group.BJM2i93S.js → checkbox-group.COoDP0ua.js} +5 -5
- package/dist/chunks/{checkbox-group.BJM2i93S.js.map → checkbox-group.COoDP0ua.js.map} +1 -1
- package/dist/chunks/{checkbox-input.YgPBRaZP.js → checkbox-input.B24-74ay.js} +28 -27
- package/dist/chunks/checkbox-input.B24-74ay.js.map +1 -0
- package/dist/chunks/{checkbox.BnYx06nC.js → checkbox.Dkxm-fWK.js} +5 -5
- package/dist/chunks/{checkbox.BnYx06nC.js.map → checkbox.Dkxm-fWK.js.map} +1 -1
- package/dist/chunks/{checkmark-circle-fill.Bgdq29pu.js → checkmark-circle-fill.ChV7Jy6r.js} +4 -4
- package/dist/chunks/checkmark-circle-fill.ChV7Jy6r.js.map +1 -0
- package/dist/chunks/{checkmark-small.4DMun1A_.js → checkmark-small.DEc2T64_.js} +4 -4
- package/dist/chunks/checkmark-small.DEc2T64_.js.map +1 -0
- package/dist/chunks/{chevron-left.ChbQxOxi.js → chevron-left.NvV5m76j.js} +6 -6
- package/dist/chunks/chevron-left.NvV5m76j.js.map +1 -0
- package/dist/chunks/{chevron-up.zKonWHVc.js → chevron-up.DQZG_BP3.js} +6 -6
- package/dist/chunks/chevron-up.DQZG_BP3.js.map +1 -0
- package/dist/chunks/{code-snippet.1duYqiRx.js → code-snippet.BWbbS2ye.js} +11 -10
- package/dist/chunks/{code-snippet.1duYqiRx.js.map → code-snippet.BWbbS2ye.js.map} +1 -1
- package/dist/chunks/{controls-group.DmroeX6Q.js → controls-group.D4XrqgW3.js} +3 -3
- package/dist/chunks/{controls-group.DmroeX6Q.js.map → controls-group.D4XrqgW3.js.map} +1 -1
- package/dist/chunks/{copy.5y12_05v.js → copy.BvQ6igYf.js} +11 -11
- package/dist/chunks/copy.BvQ6igYf.js.map +1 -0
- package/dist/chunks/{country.CVI-oSer.js → country.Dk5xsUic.js} +2 -2
- package/dist/chunks/{country.CVI-oSer.js.map → country.Dk5xsUic.js.map} +1 -1
- package/dist/chunks/{cross-circle-fill-small.2_Xjp4id.js → cross-circle-fill-small.BXO78Wde.js} +4 -4
- package/dist/chunks/cross-circle-fill-small.BXO78Wde.js.map +1 -0
- package/dist/chunks/{cross-circle-fill.CEUPgI5F.js → cross-circle-fill.DN5b3_eL.js} +4 -4
- package/dist/chunks/cross-circle-fill.DN5b3_eL.js.map +1 -0
- package/dist/chunks/{cross-small.DvCEQd10.js → cross-small.CXWTuKA_.js} +4 -4
- package/dist/chunks/cross-small.CXWTuKA_.js.map +1 -0
- package/dist/chunks/{cross.CowwLfo4.js → cross.OvPfvoqX.js} +4 -4
- package/dist/chunks/cross.OvPfvoqX.js.map +1 -0
- package/dist/chunks/{currency.BdtY-UIM.js → currency.CFIi9B9m.js} +2 -2
- package/dist/chunks/{currency.BdtY-UIM.js.map → currency.CFIi9B9m.js.map} +1 -1
- package/dist/chunks/{dashboard-section.BDkYN89r.js → dashboard-section.BlsQTA_5.js} +3 -3
- package/dist/chunks/{dashboard-section.BDkYN89r.js.map → dashboard-section.BlsQTA_5.js.map} +1 -1
- package/dist/chunks/{dashed-underline.CMKbg0Fq.js → dashed-underline.C3AuURaR.js} +23 -22
- package/dist/chunks/{dashed-underline.CMKbg0Fq.js.map → dashed-underline.C3AuURaR.js.map} +1 -1
- package/dist/chunks/{data-grid-template.CydHXTmg.js → data-grid-template.rvLUWZnh.js} +3 -3
- package/dist/chunks/{data-grid-template.CydHXTmg.js.map → data-grid-template.rvLUWZnh.js.map} +1 -1
- package/dist/chunks/{data-grid.CcGMljDl.js → data-grid.DWCGBlAE.js} +754 -753
- package/dist/chunks/data-grid.DWCGBlAE.js.map +1 -0
- package/dist/chunks/{date-picker.BsXcXOgl.js → date-picker.BJmupHBt.js} +10 -9
- package/dist/chunks/{date-picker.BsXcXOgl.js.map → date-picker.BJmupHBt.js.map} +1 -1
- package/dist/chunks/{date-range-picker.BFm6Udzx.js → date-range-picker.D5z8fqcu.js} +13 -12
- package/dist/chunks/{date-range-picker.BFm6Udzx.js.map → date-range-picker.D5z8fqcu.js.map} +1 -1
- package/dist/chunks/{date.CYUV4seY.js → date.BkeczstG.js} +2 -2
- package/dist/chunks/{date.CYUV4seY.js.map → date.BkeczstG.js.map} +1 -1
- package/dist/chunks/{dialog-page.CjKMgUlz.js → dialog-page.4ArdFk2U.js} +4 -5
- package/dist/chunks/dialog-page.4ArdFk2U.js.map +1 -0
- package/dist/chunks/{dropdown-default-textbox.BopLaEkG.js → dropdown-default-textbox.CeVq45Qy.js} +6 -6
- package/dist/chunks/{dropdown-default-textbox.BopLaEkG.js.map → dropdown-default-textbox.CeVq45Qy.js.map} +1 -1
- package/dist/chunks/{dropdown-tag.x3n5-YkA.js → dropdown-tag.BOJ9WsnN.js} +6 -6
- package/dist/chunks/{dropdown-tag.x3n5-YkA.js.map → dropdown-tag.BOJ9WsnN.js.map} +1 -1
- package/dist/chunks/{dropdown.BxvydNp0.js → dropdown.CPlvW43f.js} +16 -16
- package/dist/chunks/dropdown.CPlvW43f.js.map +1 -0
- package/dist/chunks/{empty-state.CyEWCcDk.js → empty-state.BmZVT8wF.js} +3 -3
- package/dist/chunks/{empty-state.CyEWCcDk.js.map → empty-state.BmZVT8wF.js.map} +1 -1
- package/dist/chunks/{error-message.CUZgtlDT.js → error-message.SLfGzDVf.js} +4 -4
- package/dist/chunks/{error-message.CUZgtlDT.js.map → error-message.SLfGzDVf.js.map} +1 -1
- package/dist/chunks/es6.BvpG4Oi6.js.map +1 -1
- package/dist/chunks/events.FNmSWp_P.js +52 -0
- package/dist/chunks/events.FNmSWp_P.js.map +1 -0
- package/dist/chunks/{expand.B5tyMqaF.js → expand.CgwNEbbz.js} +4 -4
- package/dist/chunks/expand.CgwNEbbz.js.map +1 -0
- package/dist/chunks/{filter-bar.re1Tqyai.js → filter-bar.uZ7n8y_i.js} +27 -28
- package/dist/chunks/{filter-bar.re1Tqyai.js.map → filter-bar.uZ7n8y_i.js.map} +1 -1
- package/dist/chunks/{fixed-scroller.Co0y0kWZ.js → fixed-scroller.BYosMLGj.js} +3 -3
- package/dist/chunks/{fixed-scroller.Co0y0kWZ.js.map → fixed-scroller.BYosMLGj.js.map} +1 -1
- package/dist/chunks/{footer-actions.M83ZEElA.js → footer-actions.DrDUKwOY.js} +4 -4
- package/dist/chunks/{footer-actions.M83ZEElA.js.map → footer-actions.DrDUKwOY.js.map} +1 -1
- package/dist/chunks/{form-layout-title.ATi1W9uG.js → form-layout-title.bE1xo1hK.js} +3 -3
- package/dist/chunks/{form-layout-title.ATi1W9uG.js.map → form-layout-title.bE1xo1hK.js.map} +1 -1
- package/dist/chunks/{header.CrNceSOd.js → header.HQY-nc6l.js} +7 -7
- package/dist/chunks/{header.CrNceSOd.js.map → header.HQY-nc6l.js.map} +1 -1
- package/dist/chunks/{info-icon.CBiqUH3L.js → info-icon.tGhr3-Zh.js} +12 -12
- package/dist/chunks/info-icon.tGhr3-Zh.js.map +1 -0
- package/dist/chunks/{info.D6XuLsYR.js → info.CIFBUqf-.js} +4 -4
- package/dist/chunks/{info.D6XuLsYR.js.map → info.CIFBUqf-.js.map} +1 -1
- package/dist/chunks/{input-field.foJTqE5i.js → input-field.D8Pt05M3.js} +4 -4
- package/dist/chunks/{input-field.foJTqE5i.js.map → input-field.D8Pt05M3.js.map} +1 -1
- package/dist/chunks/{inspector.types.X_7VgZmS.js → inspector.types.eWf-6uBc.js} +5 -5
- package/dist/chunks/{inspector.types.X_7VgZmS.js.map → inspector.types.eWf-6uBc.js.map} +1 -1
- package/dist/chunks/{keyboard-navigation.Clz1jOaA.js → keyboard-navigation.C3QMVRKY.js} +2 -2
- package/dist/chunks/{keyboard-navigation.Clz1jOaA.js.map → keyboard-navigation.C3QMVRKY.js.map} +1 -1
- package/dist/chunks/{link.2YS7haGc.js → link.CbotJFzC.js} +2 -2
- package/dist/chunks/link.CbotJFzC.js.map +1 -0
- package/dist/chunks/{listbox-option-tag.QqDEHMKB.js → listbox-option-tag.C8w0-82a.js} +3 -3
- package/dist/chunks/{listbox-option-tag.QqDEHMKB.js.map → listbox-option-tag.C8w0-82a.js.map} +1 -1
- package/dist/chunks/{loading-button.BU536EK4.js → loading-button.BzCt6ZT0.js} +4 -4
- package/dist/chunks/{loading-button.BU536EK4.js.map → loading-button.BzCt6ZT0.js.map} +1 -1
- package/dist/chunks/{menu.CI4R2iw1.js → menu.bwVdUNQc.js} +8 -9
- package/dist/chunks/menu.bwVdUNQc.js.map +1 -0
- package/dist/chunks/{modal-fullscreen.B4sPrlfq.js → modal-fullscreen.Bn25snRZ.js} +6 -6
- package/dist/chunks/{modal-fullscreen.B4sPrlfq.js.map → modal-fullscreen.Bn25snRZ.js.map} +1 -1
- package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.DuNQ8N4W.js → modal.vue_vue_type_script_setup_true_lang.BZ-e4djX.js} +6 -6
- package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.DuNQ8N4W.js.map → modal.vue_vue_type_script_setup_true_lang.BZ-e4djX.js.map} +1 -1
- package/dist/chunks/{pagination.-1ibfp5g.js → pagination.Cg6ycXwO.js} +6 -7
- package/dist/chunks/pagination.Cg6ycXwO.js.map +1 -0
- package/dist/chunks/{payment-method.-3VYG5ud.js → payment-method.Dqby2asg.js} +2 -2
- package/dist/chunks/{payment-method.-3VYG5ud.js.map → payment-method.Dqby2asg.js.map} +1 -1
- package/dist/chunks/{popover.BN52L17t.js → popover.C7aNk7Ct.js} +9 -8
- package/dist/chunks/{popover.BN52L17t.js.map → popover.C7aNk7Ct.js.map} +1 -1
- package/dist/chunks/{popper-container.DFpaesDm.js → popper-container.Cyf6zCPq.js} +361 -365
- package/dist/chunks/popper-container.Cyf6zCPq.js.map +1 -0
- package/dist/chunks/popper-container.types.BCZMbVFD.js +9 -0
- package/dist/chunks/popper-container.types.BCZMbVFD.js.map +1 -0
- package/dist/chunks/{radio-group.RLUDLHPT.js → radio-group.D0khdiFK.js} +5 -5
- package/dist/chunks/{radio-group.RLUDLHPT.js.map → radio-group.D0khdiFK.js.map} +1 -1
- package/dist/chunks/{refresh.DPE_95xY.js → refresh.DvQeGwUF.js} +4 -4
- package/dist/chunks/refresh.DvQeGwUF.js.map +1 -0
- package/dist/chunks/{search-bar.CCWTGvJ6.js → search-bar.BaqIavRd.js} +4 -4
- package/dist/chunks/{search-bar.CCWTGvJ6.js.map → search-bar.BaqIavRd.js.map} +1 -1
- package/dist/chunks/{search.DJr0124y.js → search.EnLryD8V.js} +4 -4
- package/dist/chunks/{search.DJr0124y.js.map → search.EnLryD8V.js.map} +1 -1
- package/dist/chunks/{secondary-nav.D81GEGuc.js → secondary-nav.eioY-Ac9.js} +3 -3
- package/dist/chunks/{secondary-nav.D81GEGuc.js.map → secondary-nav.eioY-Ac9.js.map} +1 -1
- package/dist/chunks/{segmented-control.DbR5NYWR.js → segmented-control.CyyCTejh.js} +6 -5
- package/dist/chunks/{segmented-control.DbR5NYWR.js.map → segmented-control.CyyCTejh.js.map} +1 -1
- package/dist/chunks/{selection-card-group.3OexUu8G.js → selection-card-group.CJwWtHTD.js} +5 -5
- package/dist/chunks/{selection-card-group.3OexUu8G.js.map → selection-card-group.CJwWtHTD.js.map} +1 -1
- package/dist/chunks/{sidepanel.iEewXNIJ.js → sidepanel.BGS2yzn-.js} +6 -6
- package/dist/chunks/{sidepanel.iEewXNIJ.js.map → sidepanel.BGS2yzn-.js.map} +1 -1
- package/dist/chunks/{status.types.r9TfZmvE.js → status.types.DKEdSwK-.js} +2 -2
- package/dist/chunks/{status.types.r9TfZmvE.js.map → status.types.DKEdSwK-.js.map} +1 -1
- package/dist/chunks/{step.CyvTQbAk.js → step.DQtYDLoP.js} +6 -6
- package/dist/chunks/step.DQtYDLoP.js.map +1 -0
- package/dist/chunks/{structured-list-item.DZvCfZuG.js → structured-list-item.Brk3yBPy.js} +12 -11
- package/dist/chunks/{structured-list-item.DZvCfZuG.js.map → structured-list-item.Brk3yBPy.js.map} +1 -1
- package/dist/chunks/{summary-grid-item-custom.BRXtpB7y.js → summary-grid-item-custom.DnGuM9Cg.js} +5 -5
- package/dist/chunks/{summary-grid-item-custom.BRXtpB7y.js.map → summary-grid-item-custom.DnGuM9Cg.js.map} +1 -1
- package/dist/chunks/tabs.DDfHxVuD.js +211 -0
- package/dist/chunks/tabs.DDfHxVuD.js.map +1 -0
- package/dist/chunks/tag.DuIxjlwJ.js +51 -0
- package/dist/chunks/tag.DuIxjlwJ.js.map +1 -0
- package/dist/chunks/{textarea.Bk8-ivBT.js → textarea.CV2qkkZR.js} +5 -5
- package/dist/chunks/{textarea.Bk8-ivBT.js.map → textarea.CV2qkkZR.js.map} +1 -1
- package/dist/chunks/{timeline-item.USmzRWfs.js → timeline-item.Dqpw7bkB.js} +13 -14
- package/dist/chunks/timeline-item.Dqpw7bkB.js.map +1 -0
- package/dist/chunks/{toast.BwPhzM1x.js → toast.PtFHVFT1.js} +5 -5
- package/dist/chunks/{toast.BwPhzM1x.js.map → toast.PtFHVFT1.js.map} +1 -1
- package/dist/chunks/{toggle-button.CBRd1v6x.js → toggle-button.YSRdRLSS.js} +2 -2
- package/dist/chunks/{toggle-button.CBRd1v6x.js.map → toggle-button.YSRdRLSS.js.map} +1 -1
- package/dist/chunks/{toggle.PLkyyLr1.js → toggle.Bsu11Lof.js} +3 -3
- package/dist/chunks/{toggle.PLkyyLr1.js.map → toggle.Bsu11Lof.js.map} +1 -1
- package/dist/chunks/{tooltip.DvsfWV0-.js → tooltip.CSa9ntbr.js} +49 -50
- package/dist/chunks/tooltip.CSa9ntbr.js.map +1 -0
- package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.CoFRoKtq.js → tutorial.vue_vue_type_script_setup_true_lang.Cx4a7RcE.js} +8 -8
- package/dist/chunks/tutorial.vue_vue_type_script_setup_true_lang.Cx4a7RcE.js.map +1 -0
- package/dist/chunks/{typography.z9P0Ec3Q.js → typography.CE5PgxFf.js} +4 -4
- package/dist/chunks/{typography.z9P0Ec3Q.js.map → typography.CE5PgxFf.js.map} +1 -1
- package/dist/chunks/{use-bento-toast-controller.BDYlxAYq.js → use-bento-toast-controller.6iG-fzM1.js} +2 -2
- package/dist/chunks/{use-bento-toast-controller.BDYlxAYq.js.map → use-bento-toast-controller.6iG-fzM1.js.map} +1 -1
- package/dist/chunks/{use-cached-selected-values.DditZmZy.js → use-cached-selected-values.BVxiRn6R.js} +10 -10
- package/dist/chunks/use-cached-selected-values.BVxiRn6R.js.map +1 -0
- package/dist/chunks/{warning-filled.CKoabS8f.js → warning-filled.Dm_HhqzW.js} +4 -4
- package/dist/chunks/{warning-filled.CKoabS8f.js.map → warning-filled.Dm_HhqzW.js.map} +1 -1
- package/dist/code-snippet.js +1 -1
- package/dist/country.js +1 -1
- package/dist/currency.js +1 -1
- package/dist/dashboard-template.js +1 -1
- package/dist/dashed-underline.js +1 -1
- package/dist/data-grid-template.js +1 -1
- package/dist/data-grid.js +1 -1
- package/dist/date-picker.js +2 -2
- package/dist/date-range-picker.js +2 -2
- package/dist/date.js +1 -1
- package/dist/dropdown.js +4 -4
- package/dist/empty-state.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 +98 -97
- package/dist/index.js.map +1 -1
- package/dist/info-icon.js +1 -1
- package/dist/input-field.js +1 -1
- package/dist/inspector.js +1 -1
- package/dist/internal.js +21 -19
- package/dist/internal.js.map +1 -1
- package/dist/link.js +1 -1
- package/dist/menu.js +1 -1
- package/dist/modal-fullscreen.js +1 -1
- package/dist/modal.js +2 -2
- package/dist/pagination.js +1 -1
- package/dist/payment-method.js +1 -1
- package/dist/popover.js +1 -1
- package/dist/popper-container.js +5 -4
- package/dist/popper-container.js.map +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/status.js +1 -1
- package/dist/stepper.js +1 -1
- package/dist/structured-list.js +1 -1
- package/dist/styles/bento.css +14 -2
- package/dist/styles/legacy.css +13 -1
- package/dist/styles/styleguide.css +14 -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/typography.js +1 -1
- package/dist/web-types.json +1 -1
- package/package.json +4 -4
- package/dist/chunks/alert.B_GZON9f.js.map +0 -1
- package/dist/chunks/checkbox-input.YgPBRaZP.js.map +0 -1
- package/dist/chunks/checkmark-circle-fill.Bgdq29pu.js.map +0 -1
- package/dist/chunks/checkmark-small.4DMun1A_.js.map +0 -1
- package/dist/chunks/chevron-left.ChbQxOxi.js.map +0 -1
- package/dist/chunks/chevron-up.zKonWHVc.js.map +0 -1
- package/dist/chunks/copy.5y12_05v.js.map +0 -1
- package/dist/chunks/cross-circle-fill-small.2_Xjp4id.js.map +0 -1
- package/dist/chunks/cross-circle-fill.CEUPgI5F.js.map +0 -1
- package/dist/chunks/cross-small.DvCEQd10.js.map +0 -1
- package/dist/chunks/cross.CowwLfo4.js.map +0 -1
- package/dist/chunks/data-grid.CcGMljDl.js.map +0 -1
- package/dist/chunks/dialog-page.CjKMgUlz.js.map +0 -1
- package/dist/chunks/dropdown.BxvydNp0.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.B5tyMqaF.js.map +0 -1
- package/dist/chunks/info-icon.CBiqUH3L.js.map +0 -1
- package/dist/chunks/link.2YS7haGc.js.map +0 -1
- package/dist/chunks/menu.CI4R2iw1.js.map +0 -1
- package/dist/chunks/pagination.-1ibfp5g.js.map +0 -1
- package/dist/chunks/popper-container.DFpaesDm.js.map +0 -1
- package/dist/chunks/refresh.DPE_95xY.js.map +0 -1
- package/dist/chunks/step.CyvTQbAk.js.map +0 -1
- package/dist/chunks/tabs.BUPiNLbZ.js +0 -185
- package/dist/chunks/tabs.BUPiNLbZ.js.map +0 -1
- package/dist/chunks/tag.RYw4OhWk.js +0 -75
- package/dist/chunks/tag.RYw4OhWk.js.map +0 -1
- package/dist/chunks/timeline-item.USmzRWfs.js.map +0 -1
- package/dist/chunks/tooltip.DvsfWV0-.js.map +0 -1
- package/dist/chunks/tutorial.vue_vue_type_script_setup_true_lang.CoFRoKtq.js.map +0 -1
- package/dist/chunks/use-cached-selected-values.DditZmZy.js.map +0 -1
- /package/dist/@types/packages/{vue2 → core}/src/components/internal/checkbox-input/checkbox-input.types.d.ts +0 -0
- /package/dist/assets/{main.css → cross.css} +0 -0
|
@@ -1,57 +1,58 @@
|
|
|
1
|
-
import { unref as
|
|
2
|
-
import { B as
|
|
3
|
-
import {
|
|
1
|
+
import { unref as V, computed as C, ref as z, shallowRef as Jt, watch as ot, getCurrentScope as Qt, onScopeDispose as Zt, shallowReadonly as Q, defineComponent as te, toRefs as ee, openBlock as Ct, createBlock as ne, mergeProps as Et, withCtx as oe, renderSlot as ie, createElementBlock as re, createCommentVNode as se } from "vue";
|
|
2
|
+
import { B as le } from "./focus-trap.CwkbHfT8.js";
|
|
3
|
+
import { b as ce, c as St } from "./popper-container.types.BCZMbVFD.js";
|
|
4
|
+
import { _ as ae } from "./_plugin-vue_export-helper.CHgC5LLL.js";
|
|
4
5
|
import "../assets/popper-container.css";
|
|
5
|
-
const
|
|
6
|
+
const Wt = ["top", "right", "bottom", "left"], Tt = ["start", "end"], Dt = /* @__PURE__ */ Wt.reduce((t, e) => t.concat(e, e + "-" + Tt[0], e + "-" + Tt[1]), []), tt = Math.min, q = Math.max, ct = Math.round, lt = Math.floor, F = (t) => ({
|
|
6
7
|
x: t,
|
|
7
8
|
y: t
|
|
8
|
-
}),
|
|
9
|
+
}), fe = {
|
|
9
10
|
left: "right",
|
|
10
11
|
right: "left",
|
|
11
12
|
bottom: "top",
|
|
12
13
|
top: "bottom"
|
|
13
|
-
},
|
|
14
|
+
}, ue = {
|
|
14
15
|
start: "end",
|
|
15
16
|
end: "start"
|
|
16
17
|
};
|
|
17
|
-
function
|
|
18
|
+
function gt(t, e, n) {
|
|
18
19
|
return q(t, tt(e, n));
|
|
19
20
|
}
|
|
20
|
-
function
|
|
21
|
+
function K(t, e) {
|
|
21
22
|
return typeof t == "function" ? t(e) : t;
|
|
22
23
|
}
|
|
23
|
-
function
|
|
24
|
+
function N(t) {
|
|
24
25
|
return t.split("-")[0];
|
|
25
26
|
}
|
|
26
|
-
function
|
|
27
|
+
function B(t) {
|
|
27
28
|
return t.split("-")[1];
|
|
28
29
|
}
|
|
29
|
-
function
|
|
30
|
+
function Vt(t) {
|
|
30
31
|
return t === "x" ? "y" : "x";
|
|
31
32
|
}
|
|
32
|
-
function
|
|
33
|
+
function vt(t) {
|
|
33
34
|
return t === "y" ? "height" : "width";
|
|
34
35
|
}
|
|
35
36
|
function et(t) {
|
|
36
|
-
return ["top", "bottom"].includes(
|
|
37
|
+
return ["top", "bottom"].includes(N(t)) ? "y" : "x";
|
|
37
38
|
}
|
|
38
39
|
function xt(t) {
|
|
39
|
-
return
|
|
40
|
+
return Vt(et(t));
|
|
40
41
|
}
|
|
41
|
-
function
|
|
42
|
+
function Nt(t, e, n) {
|
|
42
43
|
n === void 0 && (n = !1);
|
|
43
|
-
const o =
|
|
44
|
+
const o = B(t), i = xt(t), s = vt(i);
|
|
44
45
|
let r = i === "x" ? o === (n ? "end" : "start") ? "right" : "left" : o === "start" ? "bottom" : "top";
|
|
45
46
|
return e.reference[s] > e.floating[s] && (r = ft(r)), [r, ft(r)];
|
|
46
47
|
}
|
|
47
|
-
function
|
|
48
|
+
function de(t) {
|
|
48
49
|
const e = ft(t);
|
|
49
50
|
return [at(t), e, at(e)];
|
|
50
51
|
}
|
|
51
52
|
function at(t) {
|
|
52
|
-
return t.replace(/start|end/g, (e) =>
|
|
53
|
+
return t.replace(/start|end/g, (e) => ue[e]);
|
|
53
54
|
}
|
|
54
|
-
function
|
|
55
|
+
function me(t, e, n) {
|
|
55
56
|
const o = ["left", "right"], i = ["right", "left"], s = ["top", "bottom"], r = ["bottom", "top"];
|
|
56
57
|
switch (t) {
|
|
57
58
|
case "top":
|
|
@@ -64,15 +65,15 @@ function ge(t, e, n) {
|
|
|
64
65
|
return [];
|
|
65
66
|
}
|
|
66
67
|
}
|
|
67
|
-
function
|
|
68
|
-
const i =
|
|
69
|
-
let s =
|
|
68
|
+
function pe(t, e, n, o) {
|
|
69
|
+
const i = B(t);
|
|
70
|
+
let s = me(N(t), n === "start", o);
|
|
70
71
|
return i && (s = s.map((r) => r + "-" + i), e && (s = s.concat(s.map(at)))), s;
|
|
71
72
|
}
|
|
72
73
|
function ft(t) {
|
|
73
|
-
return t.replace(/left|right|bottom|top/g, (e) =>
|
|
74
|
+
return t.replace(/left|right|bottom|top/g, (e) => fe[e]);
|
|
74
75
|
}
|
|
75
|
-
function
|
|
76
|
+
function he(t) {
|
|
76
77
|
return {
|
|
77
78
|
top: 0,
|
|
78
79
|
right: 0,
|
|
@@ -81,8 +82,8 @@ function we(t) {
|
|
|
81
82
|
...t
|
|
82
83
|
};
|
|
83
84
|
}
|
|
84
|
-
function
|
|
85
|
-
return typeof t != "number" ?
|
|
85
|
+
function jt(t) {
|
|
86
|
+
return typeof t != "number" ? he(t) : {
|
|
86
87
|
top: t,
|
|
87
88
|
right: t,
|
|
88
89
|
bottom: t,
|
|
@@ -107,12 +108,12 @@ function ut(t) {
|
|
|
107
108
|
y: n
|
|
108
109
|
};
|
|
109
110
|
}
|
|
110
|
-
function
|
|
111
|
+
function Lt(t, e, n) {
|
|
111
112
|
let {
|
|
112
113
|
reference: o,
|
|
113
114
|
floating: i
|
|
114
115
|
} = t;
|
|
115
|
-
const s = et(e), r = xt(e), l =
|
|
116
|
+
const s = et(e), r = xt(e), l = vt(r), a = N(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;
|
|
116
117
|
let f;
|
|
117
118
|
switch (a) {
|
|
118
119
|
case "top":
|
|
@@ -145,7 +146,7 @@ function Pt(t, e, n) {
|
|
|
145
146
|
y: o.y
|
|
146
147
|
};
|
|
147
148
|
}
|
|
148
|
-
switch (
|
|
149
|
+
switch (B(e)) {
|
|
149
150
|
case "start":
|
|
150
151
|
f[r] -= p * (n && c ? -1 : 1);
|
|
151
152
|
break;
|
|
@@ -155,7 +156,7 @@ function Pt(t, e, n) {
|
|
|
155
156
|
}
|
|
156
157
|
return f;
|
|
157
158
|
}
|
|
158
|
-
const
|
|
159
|
+
const ge = async (t, e, n) => {
|
|
159
160
|
const {
|
|
160
161
|
placement: o = "bottom",
|
|
161
162
|
strategy: i = "absolute",
|
|
@@ -169,17 +170,17 @@ const ve = async (t, e, n) => {
|
|
|
169
170
|
}), {
|
|
170
171
|
x: d,
|
|
171
172
|
y: u
|
|
172
|
-
} =
|
|
173
|
-
for (let
|
|
173
|
+
} = Lt(c, o, a), p = o, f = {}, m = 0;
|
|
174
|
+
for (let h = 0; h < l.length; h++) {
|
|
174
175
|
const {
|
|
175
176
|
name: w,
|
|
176
|
-
fn:
|
|
177
|
-
} = l[
|
|
178
|
-
x:
|
|
177
|
+
fn: g
|
|
178
|
+
} = l[h], {
|
|
179
|
+
x: y,
|
|
179
180
|
y: x,
|
|
180
181
|
data: O,
|
|
181
|
-
reset:
|
|
182
|
-
} = await
|
|
182
|
+
reset: v
|
|
183
|
+
} = await g({
|
|
183
184
|
x: d,
|
|
184
185
|
y: u,
|
|
185
186
|
initialPlacement: o,
|
|
@@ -193,20 +194,20 @@ const ve = async (t, e, n) => {
|
|
|
193
194
|
floating: e
|
|
194
195
|
}
|
|
195
196
|
});
|
|
196
|
-
d =
|
|
197
|
+
d = y ?? d, u = x ?? u, f = {
|
|
197
198
|
...f,
|
|
198
199
|
[w]: {
|
|
199
200
|
...f[w],
|
|
200
201
|
...O
|
|
201
202
|
}
|
|
202
|
-
},
|
|
203
|
+
}, v && m <= 50 && (m++, typeof v == "object" && (v.placement && (p = v.placement), v.rects && (c = v.rects === !0 ? await r.getElementRects({
|
|
203
204
|
reference: t,
|
|
204
205
|
floating: e,
|
|
205
206
|
strategy: i
|
|
206
|
-
}) :
|
|
207
|
+
}) : v.rects), {
|
|
207
208
|
x: d,
|
|
208
209
|
y: u
|
|
209
|
-
} =
|
|
210
|
+
} = Lt(c, p, a)), h = -1);
|
|
210
211
|
}
|
|
211
212
|
return {
|
|
212
213
|
x: d,
|
|
@@ -232,12 +233,12 @@ async function it(t, e) {
|
|
|
232
233
|
elementContext: u = "floating",
|
|
233
234
|
altBoundary: p = !1,
|
|
234
235
|
padding: f = 0
|
|
235
|
-
} =
|
|
236
|
+
} = K(e, t), m = jt(f), w = l[p ? u === "floating" ? "reference" : "floating" : u], g = ut(await s.getClippingRect({
|
|
236
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)),
|
|
237
238
|
boundary: c,
|
|
238
239
|
rootBoundary: d,
|
|
239
240
|
strategy: a
|
|
240
|
-
})),
|
|
241
|
+
})), y = u === "floating" ? {
|
|
241
242
|
x: o,
|
|
242
243
|
y: i,
|
|
243
244
|
width: r.floating.width,
|
|
@@ -248,20 +249,20 @@ async function it(t, e) {
|
|
|
248
249
|
} : {
|
|
249
250
|
x: 1,
|
|
250
251
|
y: 1
|
|
251
|
-
},
|
|
252
|
+
}, v = ut(s.convertOffsetParentRelativeRectToViewportRelativeRect ? await s.convertOffsetParentRelativeRectToViewportRelativeRect({
|
|
252
253
|
elements: l,
|
|
253
|
-
rect:
|
|
254
|
+
rect: y,
|
|
254
255
|
offsetParent: x,
|
|
255
256
|
strategy: a
|
|
256
|
-
}) :
|
|
257
|
+
}) : y);
|
|
257
258
|
return {
|
|
258
|
-
top: (
|
|
259
|
-
bottom: (
|
|
260
|
-
left: (
|
|
261
|
-
right: (
|
|
259
|
+
top: (g.top - v.top + m.top) / O.y,
|
|
260
|
+
bottom: (v.bottom - g.bottom + m.bottom) / O.y,
|
|
261
|
+
left: (g.left - v.left + m.left) / O.x,
|
|
262
|
+
right: (v.right - g.right + m.right) / O.x
|
|
262
263
|
};
|
|
263
264
|
}
|
|
264
|
-
const
|
|
265
|
+
const we = (t) => ({
|
|
265
266
|
name: "arrow",
|
|
266
267
|
options: t,
|
|
267
268
|
async fn(e) {
|
|
@@ -276,33 +277,33 @@ const ye = (t) => ({
|
|
|
276
277
|
} = e, {
|
|
277
278
|
element: c,
|
|
278
279
|
padding: d = 0
|
|
279
|
-
} =
|
|
280
|
+
} = K(t, e) || {};
|
|
280
281
|
if (c == null)
|
|
281
282
|
return {};
|
|
282
|
-
const u =
|
|
283
|
+
const u = jt(d), p = {
|
|
283
284
|
x: n,
|
|
284
285
|
y: o
|
|
285
|
-
}, f = xt(i), m =
|
|
286
|
+
}, f = xt(i), m = vt(f), h = await r.getDimensions(c), w = f === "y", g = w ? "top" : "left", y = w ? "bottom" : "right", x = w ? "clientHeight" : "clientWidth", O = s.reference[m] + s.reference[f] - p[f] - s.floating[m], v = p[f] - s.reference[f], A = await (r.getOffsetParent == null ? void 0 : r.getOffsetParent(c));
|
|
286
287
|
let b = A ? A[x] : 0;
|
|
287
288
|
(!b || !await (r.isElement == null ? void 0 : r.isElement(A))) && (b = l.floating[x] || s.floating[m]);
|
|
288
|
-
const
|
|
289
|
+
const _ = O / 2 - v / 2, E = b / 2 - h[m] / 2 - 1, R = tt(u[g], E), T = tt(u[y], E), H = R, U = b - h[m] - T, P = b / 2 - h[m] / 2 + _, J = gt(H, P, U), W = !a.arrow && B(i) != null && P !== J && s.reference[m] / 2 - (P < H ? R : T) - h[m] / 2 < 0, k = W ? P < H ? P - H : P - U : 0;
|
|
289
290
|
return {
|
|
290
|
-
[f]: p[f] +
|
|
291
|
+
[f]: p[f] + k,
|
|
291
292
|
data: {
|
|
292
293
|
[f]: J,
|
|
293
|
-
centerOffset:
|
|
294
|
-
...
|
|
295
|
-
alignmentOffset:
|
|
294
|
+
centerOffset: P - J - k,
|
|
295
|
+
...W && {
|
|
296
|
+
alignmentOffset: k
|
|
296
297
|
}
|
|
297
298
|
},
|
|
298
|
-
reset:
|
|
299
|
+
reset: W
|
|
299
300
|
};
|
|
300
301
|
}
|
|
301
302
|
});
|
|
302
|
-
function
|
|
303
|
-
return (t ? [...n.filter((i) =>
|
|
303
|
+
function ye(t, e, n) {
|
|
304
|
+
return (t ? [...n.filter((i) => B(i) === t), ...n.filter((i) => B(i) !== t)] : n.filter((i) => N(i) === i)).filter((i) => t ? B(i) === t || (e ? at(i) !== i : !1) : !0);
|
|
304
305
|
}
|
|
305
|
-
const
|
|
306
|
+
const ve = function(t) {
|
|
306
307
|
return t === void 0 && (t = {}), {
|
|
307
308
|
name: "autoPlacement",
|
|
308
309
|
options: t,
|
|
@@ -317,52 +318,52 @@ const be = function(t) {
|
|
|
317
318
|
} = e, {
|
|
318
319
|
crossAxis: d = !1,
|
|
319
320
|
alignment: u,
|
|
320
|
-
allowedPlacements: p =
|
|
321
|
+
allowedPlacements: p = Dt,
|
|
321
322
|
autoAlignment: f = !0,
|
|
322
323
|
...m
|
|
323
|
-
} =
|
|
324
|
-
if (
|
|
324
|
+
} = K(t, e), h = u !== void 0 || p === Dt ? ye(u || null, f, p) : p, w = await it(e, m), g = ((n = r.autoPlacement) == null ? void 0 : n.index) || 0, y = h[g];
|
|
325
|
+
if (y == null)
|
|
325
326
|
return {};
|
|
326
|
-
const x =
|
|
327
|
-
if (l !==
|
|
327
|
+
const x = Nt(y, s, await (a.isRTL == null ? void 0 : a.isRTL(c.floating)));
|
|
328
|
+
if (l !== y)
|
|
328
329
|
return {
|
|
329
330
|
reset: {
|
|
330
|
-
placement:
|
|
331
|
+
placement: h[0]
|
|
331
332
|
}
|
|
332
333
|
};
|
|
333
|
-
const O = [w[
|
|
334
|
-
placement:
|
|
334
|
+
const O = [w[N(y)], w[x[0]], w[x[1]]], v = [...((o = r.autoPlacement) == null ? void 0 : o.overflows) || [], {
|
|
335
|
+
placement: y,
|
|
335
336
|
overflows: O
|
|
336
|
-
}], A = g
|
|
337
|
+
}], A = h[g + 1];
|
|
337
338
|
if (A)
|
|
338
339
|
return {
|
|
339
340
|
data: {
|
|
340
|
-
index:
|
|
341
|
-
overflows:
|
|
341
|
+
index: g + 1,
|
|
342
|
+
overflows: v
|
|
342
343
|
},
|
|
343
344
|
reset: {
|
|
344
345
|
placement: A
|
|
345
346
|
}
|
|
346
347
|
};
|
|
347
|
-
const b =
|
|
348
|
-
const
|
|
349
|
-
return [
|
|
348
|
+
const b = v.map((R) => {
|
|
349
|
+
const T = B(R.placement);
|
|
350
|
+
return [R.placement, T && d ? (
|
|
350
351
|
// Check along the mainAxis and main crossAxis side.
|
|
351
|
-
|
|
352
|
+
R.overflows.slice(0, 2).reduce((H, U) => H + U, 0)
|
|
352
353
|
) : (
|
|
353
354
|
// Check only the mainAxis.
|
|
354
|
-
|
|
355
|
-
),
|
|
356
|
-
}).sort((
|
|
355
|
+
R.overflows[0]
|
|
356
|
+
), R.overflows];
|
|
357
|
+
}).sort((R, T) => R[1] - T[1]), E = ((i = b.filter((R) => R[2].slice(
|
|
357
358
|
0,
|
|
358
359
|
// Aligned placements should not check their opposite crossAxis
|
|
359
360
|
// side.
|
|
360
|
-
|
|
361
|
-
).every((
|
|
361
|
+
B(R[0]) ? 2 : 3
|
|
362
|
+
).every((T) => T <= 0))[0]) == null ? void 0 : i[0]) || b[0][0];
|
|
362
363
|
return E !== l ? {
|
|
363
364
|
data: {
|
|
364
|
-
index:
|
|
365
|
-
overflows:
|
|
365
|
+
index: g + 1,
|
|
366
|
+
overflows: v
|
|
366
367
|
},
|
|
367
368
|
reset: {
|
|
368
369
|
placement: E
|
|
@@ -370,7 +371,7 @@ const be = function(t) {
|
|
|
370
371
|
} : {};
|
|
371
372
|
}
|
|
372
373
|
};
|
|
373
|
-
},
|
|
374
|
+
}, xe = function(t) {
|
|
374
375
|
return t === void 0 && (t = {}), {
|
|
375
376
|
name: "flip",
|
|
376
377
|
options: t,
|
|
@@ -389,60 +390,60 @@ const be = function(t) {
|
|
|
389
390
|
fallbackPlacements: p,
|
|
390
391
|
fallbackStrategy: f = "bestFit",
|
|
391
392
|
fallbackAxisSideDirection: m = "none",
|
|
392
|
-
flipAlignment:
|
|
393
|
+
flipAlignment: h = !0,
|
|
393
394
|
...w
|
|
394
|
-
} =
|
|
395
|
+
} = K(t, e);
|
|
395
396
|
if ((n = s.arrow) != null && n.alignmentOffset)
|
|
396
397
|
return {};
|
|
397
|
-
const
|
|
398
|
-
!p && A &&
|
|
399
|
-
const b = [l, ...
|
|
400
|
-
let
|
|
401
|
-
if (d && E.push(
|
|
402
|
-
const
|
|
403
|
-
E.push(
|
|
398
|
+
const g = N(i), y = et(l), x = N(l) === l, O = await (a.isRTL == null ? void 0 : a.isRTL(c.floating)), v = p || (x || !h ? [ft(l)] : de(l)), A = m !== "none";
|
|
399
|
+
!p && A && v.push(...pe(l, h, m, O));
|
|
400
|
+
const b = [l, ...v], _ = await it(e, w), E = [];
|
|
401
|
+
let R = ((o = s.flip) == null ? void 0 : o.overflows) || [];
|
|
402
|
+
if (d && E.push(_[g]), u) {
|
|
403
|
+
const P = Nt(i, r, O);
|
|
404
|
+
E.push(_[P[0]], _[P[1]]);
|
|
404
405
|
}
|
|
405
|
-
if (
|
|
406
|
+
if (R = [...R, {
|
|
406
407
|
placement: i,
|
|
407
408
|
overflows: E
|
|
408
|
-
}], !E.every((
|
|
409
|
-
var
|
|
410
|
-
const
|
|
409
|
+
}], !E.every((P) => P <= 0)) {
|
|
410
|
+
var T, H;
|
|
411
|
+
const P = (((T = s.flip) == null ? void 0 : T.index) || 0) + 1, J = b[P];
|
|
411
412
|
if (J)
|
|
412
413
|
return {
|
|
413
414
|
data: {
|
|
414
|
-
index:
|
|
415
|
-
overflows:
|
|
415
|
+
index: P,
|
|
416
|
+
overflows: R
|
|
416
417
|
},
|
|
417
418
|
reset: {
|
|
418
419
|
placement: J
|
|
419
420
|
}
|
|
420
421
|
};
|
|
421
|
-
let
|
|
422
|
-
if (!
|
|
422
|
+
let W = (H = R.filter((k) => k.overflows[0] <= 0).sort((k, j) => k.overflows[1] - j.overflows[1])[0]) == null ? void 0 : H.placement;
|
|
423
|
+
if (!W)
|
|
423
424
|
switch (f) {
|
|
424
425
|
case "bestFit": {
|
|
425
|
-
var
|
|
426
|
-
const
|
|
426
|
+
var U;
|
|
427
|
+
const k = (U = R.filter((j) => {
|
|
427
428
|
if (A) {
|
|
428
|
-
const
|
|
429
|
-
return
|
|
429
|
+
const I = et(j.placement);
|
|
430
|
+
return I === y || // Create a bias to the `y` side axis due to horizontal
|
|
430
431
|
// reading directions favoring greater width.
|
|
431
|
-
|
|
432
|
+
I === "y";
|
|
432
433
|
}
|
|
433
434
|
return !0;
|
|
434
|
-
}).map((
|
|
435
|
-
|
|
435
|
+
}).map((j) => [j.placement, j.overflows.filter((I) => I > 0).reduce((I, Gt) => I + Gt, 0)]).sort((j, I) => j[1] - I[1])[0]) == null ? void 0 : U[0];
|
|
436
|
+
k && (W = k);
|
|
436
437
|
break;
|
|
437
438
|
}
|
|
438
439
|
case "initialPlacement":
|
|
439
|
-
|
|
440
|
+
W = l;
|
|
440
441
|
break;
|
|
441
442
|
}
|
|
442
|
-
if (i !==
|
|
443
|
+
if (i !== W)
|
|
443
444
|
return {
|
|
444
445
|
reset: {
|
|
445
|
-
placement:
|
|
446
|
+
placement: W
|
|
446
447
|
}
|
|
447
448
|
};
|
|
448
449
|
}
|
|
@@ -450,7 +451,7 @@ const be = function(t) {
|
|
|
450
451
|
}
|
|
451
452
|
};
|
|
452
453
|
};
|
|
453
|
-
function
|
|
454
|
+
function kt(t, e) {
|
|
454
455
|
return {
|
|
455
456
|
top: t.top - e.height,
|
|
456
457
|
right: t.right - e.width,
|
|
@@ -458,10 +459,10 @@ function Ct(t, e) {
|
|
|
458
459
|
left: t.left - e.width
|
|
459
460
|
};
|
|
460
461
|
}
|
|
461
|
-
function
|
|
462
|
-
return
|
|
462
|
+
function Ft(t) {
|
|
463
|
+
return Wt.some((e) => t[e] >= 0);
|
|
463
464
|
}
|
|
464
|
-
const
|
|
465
|
+
const be = function(t) {
|
|
465
466
|
return t === void 0 && (t = {}), {
|
|
466
467
|
name: "hide",
|
|
467
468
|
options: t,
|
|
@@ -471,17 +472,17 @@ const Ae = function(t) {
|
|
|
471
472
|
} = e, {
|
|
472
473
|
strategy: o = "referenceHidden",
|
|
473
474
|
...i
|
|
474
|
-
} =
|
|
475
|
+
} = K(t, e);
|
|
475
476
|
switch (o) {
|
|
476
477
|
case "referenceHidden": {
|
|
477
478
|
const s = await it(e, {
|
|
478
479
|
...i,
|
|
479
480
|
elementContext: "reference"
|
|
480
|
-
}), r =
|
|
481
|
+
}), r = kt(s, n.reference);
|
|
481
482
|
return {
|
|
482
483
|
data: {
|
|
483
484
|
referenceHiddenOffsets: r,
|
|
484
|
-
referenceHidden:
|
|
485
|
+
referenceHidden: Ft(r)
|
|
485
486
|
}
|
|
486
487
|
};
|
|
487
488
|
}
|
|
@@ -489,11 +490,11 @@ const Ae = function(t) {
|
|
|
489
490
|
const s = await it(e, {
|
|
490
491
|
...i,
|
|
491
492
|
altBoundary: !0
|
|
492
|
-
}), r =
|
|
493
|
+
}), r = kt(s, n.floating);
|
|
493
494
|
return {
|
|
494
495
|
data: {
|
|
495
496
|
escapedOffsets: r,
|
|
496
|
-
escaped:
|
|
497
|
+
escaped: Ft(r)
|
|
497
498
|
}
|
|
498
499
|
};
|
|
499
500
|
}
|
|
@@ -503,12 +504,12 @@ const Ae = function(t) {
|
|
|
503
504
|
}
|
|
504
505
|
};
|
|
505
506
|
};
|
|
506
|
-
async function
|
|
507
|
+
async function Oe(t, e) {
|
|
507
508
|
const {
|
|
508
509
|
placement: n,
|
|
509
510
|
platform: o,
|
|
510
511
|
elements: i
|
|
511
|
-
} = t, s = await (o.isRTL == null ? void 0 : o.isRTL(i.floating)), r =
|
|
512
|
+
} = t, s = await (o.isRTL == null ? void 0 : o.isRTL(i.floating)), r = N(n), l = B(n), a = et(n) === "y", c = ["left", "top"].includes(r) ? -1 : 1, d = s && a ? -1 : 1, u = K(e, t);
|
|
512
513
|
let {
|
|
513
514
|
mainAxis: p,
|
|
514
515
|
crossAxis: f,
|
|
@@ -530,7 +531,7 @@ async function Te(t, e) {
|
|
|
530
531
|
y: f * d
|
|
531
532
|
};
|
|
532
533
|
}
|
|
533
|
-
const
|
|
534
|
+
const Ae = function(t) {
|
|
534
535
|
return t === void 0 && (t = 0), {
|
|
535
536
|
name: "offset",
|
|
536
537
|
options: t,
|
|
@@ -541,7 +542,7 @@ const Re = function(t) {
|
|
|
541
542
|
y: s,
|
|
542
543
|
placement: r,
|
|
543
544
|
middlewareData: l
|
|
544
|
-
} = e, a = await
|
|
545
|
+
} = e, a = await Oe(e, t);
|
|
545
546
|
return r === ((n = l.offset) == null ? void 0 : n.placement) && (o = l.arrow) != null && o.alignmentOffset ? {} : {
|
|
546
547
|
x: i + a.x,
|
|
547
548
|
y: s + a.y,
|
|
@@ -552,7 +553,7 @@ const Re = function(t) {
|
|
|
552
553
|
};
|
|
553
554
|
}
|
|
554
555
|
};
|
|
555
|
-
},
|
|
556
|
+
}, Re = function(t) {
|
|
556
557
|
return t === void 0 && (t = {}), {
|
|
557
558
|
name: "shift",
|
|
558
559
|
options: t,
|
|
@@ -567,39 +568,39 @@ const Re = function(t) {
|
|
|
567
568
|
limiter: l = {
|
|
568
569
|
fn: (w) => {
|
|
569
570
|
let {
|
|
570
|
-
x:
|
|
571
|
-
y
|
|
571
|
+
x: g,
|
|
572
|
+
y
|
|
572
573
|
} = w;
|
|
573
574
|
return {
|
|
574
|
-
x:
|
|
575
|
-
y
|
|
575
|
+
x: g,
|
|
576
|
+
y
|
|
576
577
|
};
|
|
577
578
|
}
|
|
578
579
|
},
|
|
579
580
|
...a
|
|
580
|
-
} =
|
|
581
|
+
} = K(t, e), c = {
|
|
581
582
|
x: n,
|
|
582
583
|
y: o
|
|
583
|
-
}, d = await it(e, a), u = et(
|
|
584
|
+
}, d = await it(e, a), u = et(N(i)), p = Vt(u);
|
|
584
585
|
let f = c[p], m = c[u];
|
|
585
586
|
if (s) {
|
|
586
|
-
const w = p === "y" ? "top" : "left",
|
|
587
|
-
f =
|
|
587
|
+
const w = p === "y" ? "top" : "left", g = p === "y" ? "bottom" : "right", y = f + d[w], x = f - d[g];
|
|
588
|
+
f = gt(y, f, x);
|
|
588
589
|
}
|
|
589
590
|
if (r) {
|
|
590
|
-
const w = u === "y" ? "top" : "left",
|
|
591
|
-
m =
|
|
591
|
+
const w = u === "y" ? "top" : "left", g = u === "y" ? "bottom" : "right", y = m + d[w], x = m - d[g];
|
|
592
|
+
m = gt(y, m, x);
|
|
592
593
|
}
|
|
593
|
-
const
|
|
594
|
+
const h = l.fn({
|
|
594
595
|
...e,
|
|
595
596
|
[p]: f,
|
|
596
597
|
[u]: m
|
|
597
598
|
});
|
|
598
599
|
return {
|
|
599
|
-
...
|
|
600
|
+
...h,
|
|
600
601
|
data: {
|
|
601
|
-
x:
|
|
602
|
-
y:
|
|
602
|
+
x: h.x - n,
|
|
603
|
+
y: h.y - o,
|
|
603
604
|
enabled: {
|
|
604
605
|
[p]: s,
|
|
605
606
|
[u]: r
|
|
@@ -612,10 +613,10 @@ const Re = function(t) {
|
|
|
612
613
|
function dt() {
|
|
613
614
|
return typeof window < "u";
|
|
614
615
|
}
|
|
615
|
-
function
|
|
616
|
+
function G(t) {
|
|
616
617
|
return bt(t) ? (t.nodeName || "").toLowerCase() : "#document";
|
|
617
618
|
}
|
|
618
|
-
function
|
|
619
|
+
function S(t) {
|
|
619
620
|
var e;
|
|
620
621
|
return (t == null || (e = t.ownerDocument) == null ? void 0 : e.defaultView) || window;
|
|
621
622
|
}
|
|
@@ -624,16 +625,16 @@ function M(t) {
|
|
|
624
625
|
return (e = (bt(t) ? t.ownerDocument : t.document) || window.document) == null ? void 0 : e.documentElement;
|
|
625
626
|
}
|
|
626
627
|
function bt(t) {
|
|
627
|
-
return dt() ? t instanceof Node || t instanceof
|
|
628
|
+
return dt() ? t instanceof Node || t instanceof S(t).Node : !1;
|
|
628
629
|
}
|
|
629
|
-
function
|
|
630
|
-
return dt() ? t instanceof Element || t instanceof
|
|
630
|
+
function D(t) {
|
|
631
|
+
return dt() ? t instanceof Element || t instanceof S(t).Element : !1;
|
|
631
632
|
}
|
|
632
|
-
function
|
|
633
|
-
return dt() ? t instanceof HTMLElement || t instanceof
|
|
633
|
+
function $(t) {
|
|
634
|
+
return dt() ? t instanceof HTMLElement || t instanceof S(t).HTMLElement : !1;
|
|
634
635
|
}
|
|
635
|
-
function
|
|
636
|
-
return !dt() || typeof ShadowRoot > "u" ? !1 : t instanceof ShadowRoot || t instanceof
|
|
636
|
+
function Bt(t) {
|
|
637
|
+
return !dt() || typeof ShadowRoot > "u" ? !1 : t instanceof ShadowRoot || t instanceof S(t).ShadowRoot;
|
|
637
638
|
}
|
|
638
639
|
function st(t) {
|
|
639
640
|
const {
|
|
@@ -641,11 +642,11 @@ function st(t) {
|
|
|
641
642
|
overflowX: n,
|
|
642
643
|
overflowY: o,
|
|
643
644
|
display: i
|
|
644
|
-
} =
|
|
645
|
+
} = L(t);
|
|
645
646
|
return /auto|scroll|overlay|hidden|clip/.test(e + o + n) && !["inline", "contents"].includes(i);
|
|
646
647
|
}
|
|
647
|
-
function
|
|
648
|
-
return ["table", "td", "th"].includes(
|
|
648
|
+
function Pe(t) {
|
|
649
|
+
return ["table", "td", "th"].includes(G(t));
|
|
649
650
|
}
|
|
650
651
|
function mt(t) {
|
|
651
652
|
return [":popover-open", ":modal"].some((e) => {
|
|
@@ -657,17 +658,17 @@ function mt(t) {
|
|
|
657
658
|
});
|
|
658
659
|
}
|
|
659
660
|
function Ot(t) {
|
|
660
|
-
const e = At(), n =
|
|
661
|
+
const e = At(), n = D(t) ? L(t) : t;
|
|
661
662
|
return n.transform !== "none" || n.perspective !== "none" || (n.containerType ? n.containerType !== "normal" : !1) || !e && (n.backdropFilter ? n.backdropFilter !== "none" : !1) || !e && (n.filter ? n.filter !== "none" : !1) || ["transform", "perspective", "filter"].some((o) => (n.willChange || "").includes(o)) || ["paint", "layout", "strict", "content"].some((o) => (n.contain || "").includes(o));
|
|
662
663
|
}
|
|
663
|
-
function
|
|
664
|
-
let e =
|
|
665
|
-
for (;
|
|
664
|
+
function Ce(t) {
|
|
665
|
+
let e = Y(t);
|
|
666
|
+
for (; $(e) && !nt(e); ) {
|
|
666
667
|
if (Ot(e))
|
|
667
668
|
return e;
|
|
668
669
|
if (mt(e))
|
|
669
670
|
return null;
|
|
670
|
-
e =
|
|
671
|
+
e = Y(e);
|
|
671
672
|
}
|
|
672
673
|
return null;
|
|
673
674
|
}
|
|
@@ -675,13 +676,13 @@ function At() {
|
|
|
675
676
|
return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
|
|
676
677
|
}
|
|
677
678
|
function nt(t) {
|
|
678
|
-
return ["html", "body", "#document"].includes(
|
|
679
|
+
return ["html", "body", "#document"].includes(G(t));
|
|
679
680
|
}
|
|
680
|
-
function
|
|
681
|
-
return
|
|
681
|
+
function L(t) {
|
|
682
|
+
return S(t).getComputedStyle(t);
|
|
682
683
|
}
|
|
683
684
|
function pt(t) {
|
|
684
|
-
return
|
|
685
|
+
return D(t) ? {
|
|
685
686
|
scrollLeft: t.scrollLeft,
|
|
686
687
|
scrollTop: t.scrollTop
|
|
687
688
|
} : {
|
|
@@ -689,26 +690,26 @@ function pt(t) {
|
|
|
689
690
|
scrollTop: t.scrollY
|
|
690
691
|
};
|
|
691
692
|
}
|
|
692
|
-
function
|
|
693
|
-
if (
|
|
693
|
+
function Y(t) {
|
|
694
|
+
if (G(t) === "html")
|
|
694
695
|
return t;
|
|
695
696
|
const e = (
|
|
696
697
|
// Step into the shadow DOM of the parent of a slotted node.
|
|
697
698
|
t.assignedSlot || // DOM Element detected.
|
|
698
699
|
t.parentNode || // ShadowRoot detected.
|
|
699
|
-
|
|
700
|
+
Bt(t) && t.host || // Fallback.
|
|
700
701
|
M(t)
|
|
701
702
|
);
|
|
702
|
-
return
|
|
703
|
+
return Bt(e) ? e.host : e;
|
|
703
704
|
}
|
|
704
|
-
function
|
|
705
|
-
const e =
|
|
706
|
-
return nt(e) ? t.ownerDocument ? t.ownerDocument.body : t.body :
|
|
705
|
+
function It(t) {
|
|
706
|
+
const e = Y(t);
|
|
707
|
+
return nt(e) ? t.ownerDocument ? t.ownerDocument.body : t.body : $(e) && st(e) ? e : It(e);
|
|
707
708
|
}
|
|
708
709
|
function rt(t, e, n) {
|
|
709
710
|
var o;
|
|
710
711
|
e === void 0 && (e = []), n === void 0 && (n = !0);
|
|
711
|
-
const i =
|
|
712
|
+
const i = It(t), s = i === ((o = t.ownerDocument) == null ? void 0 : o.body), r = S(i);
|
|
712
713
|
if (s) {
|
|
713
714
|
const l = wt(r);
|
|
714
715
|
return e.concat(r, r.visualViewport || [], st(i) ? i : [], l && n ? rt(l) : []);
|
|
@@ -719,21 +720,21 @@ function wt(t) {
|
|
|
719
720
|
return t.parent && Object.getPrototypeOf(t.parent) ? t.frameElement : null;
|
|
720
721
|
}
|
|
721
722
|
function zt(t) {
|
|
722
|
-
const e =
|
|
723
|
+
const e = L(t);
|
|
723
724
|
let n = parseFloat(e.width) || 0, o = parseFloat(e.height) || 0;
|
|
724
|
-
const i =
|
|
725
|
+
const i = $(t), s = i ? t.offsetWidth : n, r = i ? t.offsetHeight : o, l = ct(n) !== s || ct(o) !== r;
|
|
725
726
|
return l && (n = s, o = r), {
|
|
726
727
|
width: n,
|
|
727
728
|
height: o,
|
|
728
729
|
$: l
|
|
729
730
|
};
|
|
730
731
|
}
|
|
731
|
-
function
|
|
732
|
-
return
|
|
732
|
+
function Rt(t) {
|
|
733
|
+
return D(t) ? t : t.contextElement;
|
|
733
734
|
}
|
|
734
735
|
function Z(t) {
|
|
735
|
-
const e =
|
|
736
|
-
if (
|
|
736
|
+
const e = Rt(t);
|
|
737
|
+
if (!$(e))
|
|
737
738
|
return F(1);
|
|
738
739
|
const n = e.getBoundingClientRect(), {
|
|
739
740
|
width: o,
|
|
@@ -746,30 +747,30 @@ function Z(t) {
|
|
|
746
747
|
y: l
|
|
747
748
|
};
|
|
748
749
|
}
|
|
749
|
-
const
|
|
750
|
-
function
|
|
751
|
-
const e =
|
|
752
|
-
return !At() || !e.visualViewport ?
|
|
750
|
+
const Ee = /* @__PURE__ */ F(0);
|
|
751
|
+
function Yt(t) {
|
|
752
|
+
const e = S(t);
|
|
753
|
+
return !At() || !e.visualViewport ? Ee : {
|
|
753
754
|
x: e.visualViewport.offsetLeft,
|
|
754
755
|
y: e.visualViewport.offsetTop
|
|
755
756
|
};
|
|
756
757
|
}
|
|
757
|
-
function
|
|
758
|
-
return e === void 0 && (e = !1), !n || e && n !==
|
|
758
|
+
function Se(t, e, n) {
|
|
759
|
+
return e === void 0 && (e = !1), !n || e && n !== S(t) ? !1 : e;
|
|
759
760
|
}
|
|
760
|
-
function
|
|
761
|
+
function X(t, e, n, o) {
|
|
761
762
|
e === void 0 && (e = !1), n === void 0 && (n = !1);
|
|
762
|
-
const i = t.getBoundingClientRect(), s =
|
|
763
|
+
const i = t.getBoundingClientRect(), s = Rt(t);
|
|
763
764
|
let r = F(1);
|
|
764
|
-
e && (o ?
|
|
765
|
-
const l =
|
|
765
|
+
e && (o ? D(o) && (r = Z(o)) : r = Z(t));
|
|
766
|
+
const l = Se(s, n, o) ? Yt(s) : F(0);
|
|
766
767
|
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;
|
|
767
768
|
if (s) {
|
|
768
|
-
const p =
|
|
769
|
-
let m = p,
|
|
770
|
-
for (;
|
|
771
|
-
const w = Z(
|
|
772
|
-
a *= w.x, c *= w.y, d *= w.x, u *= w.y, a += x, c += O, m =
|
|
769
|
+
const p = S(s), f = o && D(o) ? S(o) : o;
|
|
770
|
+
let m = p, h = wt(m);
|
|
771
|
+
for (; h && o && f !== m; ) {
|
|
772
|
+
const w = Z(h), g = h.getBoundingClientRect(), y = L(h), x = g.left + (h.clientLeft + parseFloat(y.paddingLeft)) * w.x, O = g.top + (h.clientTop + parseFloat(y.paddingTop)) * w.y;
|
|
773
|
+
a *= w.x, c *= w.y, d *= w.x, u *= w.y, a += x, c += O, m = S(h), h = wt(m);
|
|
773
774
|
}
|
|
774
775
|
}
|
|
775
776
|
return ut({
|
|
@@ -779,22 +780,22 @@ function G(t, e, n, o) {
|
|
|
779
780
|
y: c
|
|
780
781
|
});
|
|
781
782
|
}
|
|
782
|
-
function
|
|
783
|
+
function Pt(t, e) {
|
|
783
784
|
const n = pt(t).scrollLeft;
|
|
784
|
-
return e ? e.left + n :
|
|
785
|
+
return e ? e.left + n : X(M(t)).left + n;
|
|
785
786
|
}
|
|
786
|
-
function
|
|
787
|
+
function Ut(t, e, n) {
|
|
787
788
|
n === void 0 && (n = !1);
|
|
788
789
|
const o = t.getBoundingClientRect(), i = o.left + e.scrollLeft - (n ? 0 : (
|
|
789
790
|
// RTL <body> scrollbar.
|
|
790
|
-
|
|
791
|
+
Pt(t, o)
|
|
791
792
|
)), s = o.top + e.scrollTop;
|
|
792
793
|
return {
|
|
793
794
|
x: i,
|
|
794
795
|
y: s
|
|
795
796
|
};
|
|
796
797
|
}
|
|
797
|
-
function
|
|
798
|
+
function Te(t) {
|
|
798
799
|
let {
|
|
799
800
|
elements: e,
|
|
800
801
|
rect: n,
|
|
@@ -808,12 +809,12 @@ function Ce(t) {
|
|
|
808
809
|
scrollLeft: 0,
|
|
809
810
|
scrollTop: 0
|
|
810
811
|
}, c = F(1);
|
|
811
|
-
const d = F(0), u =
|
|
812
|
-
if ((u || !u && !s) && ((
|
|
813
|
-
const f =
|
|
812
|
+
const d = F(0), u = $(o);
|
|
813
|
+
if ((u || !u && !s) && ((G(o) !== "body" || st(r)) && (a = pt(o)), $(o))) {
|
|
814
|
+
const f = X(o);
|
|
814
815
|
c = Z(o), d.x = f.x + o.clientLeft, d.y = f.y + o.clientTop;
|
|
815
816
|
}
|
|
816
|
-
const p = r && !u && !s ?
|
|
817
|
+
const p = r && !u && !s ? Ut(r, a, !0) : F(0);
|
|
817
818
|
return {
|
|
818
819
|
width: n.width * c.x,
|
|
819
820
|
height: n.height * c.y,
|
|
@@ -821,14 +822,14 @@ function Ce(t) {
|
|
|
821
822
|
y: n.y * c.y - a.scrollTop * c.y + d.y + p.y
|
|
822
823
|
};
|
|
823
824
|
}
|
|
824
|
-
function
|
|
825
|
+
function De(t) {
|
|
825
826
|
return Array.from(t.getClientRects());
|
|
826
827
|
}
|
|
827
|
-
function
|
|
828
|
+
function Le(t) {
|
|
828
829
|
const e = M(t), n = pt(t), o = t.ownerDocument.body, i = q(e.scrollWidth, e.clientWidth, o.scrollWidth, o.clientWidth), s = q(e.scrollHeight, e.clientHeight, o.scrollHeight, o.clientHeight);
|
|
829
|
-
let r = -n.scrollLeft +
|
|
830
|
+
let r = -n.scrollLeft + Pt(t);
|
|
830
831
|
const l = -n.scrollTop;
|
|
831
|
-
return
|
|
832
|
+
return L(o).direction === "rtl" && (r += q(e.clientWidth, o.clientWidth) - i), {
|
|
832
833
|
width: i,
|
|
833
834
|
height: s,
|
|
834
835
|
x: r,
|
|
@@ -836,7 +837,7 @@ function Fe(t) {
|
|
|
836
837
|
};
|
|
837
838
|
}
|
|
838
839
|
function ke(t, e) {
|
|
839
|
-
const n =
|
|
840
|
+
const n = S(t), o = M(t), i = n.visualViewport;
|
|
840
841
|
let s = o.clientWidth, r = o.clientHeight, l = 0, a = 0;
|
|
841
842
|
if (i) {
|
|
842
843
|
s = i.width, r = i.height;
|
|
@@ -850,8 +851,8 @@ function ke(t, e) {
|
|
|
850
851
|
y: a
|
|
851
852
|
};
|
|
852
853
|
}
|
|
853
|
-
function
|
|
854
|
-
const n =
|
|
854
|
+
function Fe(t, e) {
|
|
855
|
+
const n = X(t, !0, e === "fixed"), o = n.top + t.clientTop, i = n.left + t.clientLeft, s = $(t) ? Z(t) : F(1), r = t.clientWidth * s.x, l = t.clientHeight * s.y, a = i * s.x, c = o * s.y;
|
|
855
856
|
return {
|
|
856
857
|
width: r,
|
|
857
858
|
height: l,
|
|
@@ -859,16 +860,16 @@ function Be(t, e) {
|
|
|
859
860
|
y: c
|
|
860
861
|
};
|
|
861
862
|
}
|
|
862
|
-
function
|
|
863
|
+
function $t(t, e, n) {
|
|
863
864
|
let o;
|
|
864
865
|
if (e === "viewport")
|
|
865
866
|
o = ke(t, n);
|
|
866
867
|
else if (e === "document")
|
|
867
|
-
o =
|
|
868
|
-
else if (
|
|
869
|
-
o =
|
|
868
|
+
o = Le(M(t));
|
|
869
|
+
else if (D(e))
|
|
870
|
+
o = Fe(e, n);
|
|
870
871
|
else {
|
|
871
|
-
const i =
|
|
872
|
+
const i = Yt(t);
|
|
872
873
|
o = {
|
|
873
874
|
x: e.x - i.x,
|
|
874
875
|
y: e.y - i.y,
|
|
@@ -879,19 +880,19 @@ function kt(t, e, n) {
|
|
|
879
880
|
return ut(o);
|
|
880
881
|
}
|
|
881
882
|
function qt(t, e) {
|
|
882
|
-
const n =
|
|
883
|
-
return n === e || !
|
|
883
|
+
const n = Y(t);
|
|
884
|
+
return n === e || !D(n) || nt(n) ? !1 : L(n).position === "fixed" || qt(n, e);
|
|
884
885
|
}
|
|
885
|
-
function
|
|
886
|
+
function Be(t, e) {
|
|
886
887
|
const n = e.get(t);
|
|
887
888
|
if (n)
|
|
888
889
|
return n;
|
|
889
|
-
let o = rt(t, [], !1).filter((l) =>
|
|
890
|
-
const s =
|
|
891
|
-
let r = s ?
|
|
892
|
-
for (;
|
|
893
|
-
const l =
|
|
894
|
-
!a && l.position === "fixed" && (i = null), (s ? !a && !i : !a && l.position === "static" && !!i && ["absolute", "fixed"].includes(i.position) || st(r) && !a && qt(t, r)) ? o = o.filter((d) => d !== r) : i = l, r =
|
|
890
|
+
let o = rt(t, [], !1).filter((l) => D(l) && G(l) !== "body"), i = null;
|
|
891
|
+
const s = L(t).position === "fixed";
|
|
892
|
+
let r = s ? Y(t) : t;
|
|
893
|
+
for (; D(r) && !nt(r); ) {
|
|
894
|
+
const l = L(r), a = Ot(r);
|
|
895
|
+
!a && l.position === "fixed" && (i = null), (s ? !a && !i : !a && l.position === "static" && !!i && ["absolute", "fixed"].includes(i.position) || st(r) && !a && qt(t, r)) ? o = o.filter((d) => d !== r) : i = l, r = Y(r);
|
|
895
896
|
}
|
|
896
897
|
return e.set(t, o), o;
|
|
897
898
|
}
|
|
@@ -902,10 +903,10 @@ function $e(t) {
|
|
|
902
903
|
rootBoundary: o,
|
|
903
904
|
strategy: i
|
|
904
905
|
} = t;
|
|
905
|
-
const r = [...n === "clippingAncestors" ? mt(e) ? [] :
|
|
906
|
-
const u =
|
|
906
|
+
const r = [...n === "clippingAncestors" ? mt(e) ? [] : Be(e, this._c) : [].concat(n), o], l = r[0], a = r.reduce((c, d) => {
|
|
907
|
+
const u = $t(e, d, i);
|
|
907
908
|
return c.top = q(u.top, c.top), c.right = tt(u.right, c.right), c.bottom = tt(u.bottom, c.bottom), c.left = q(u.left, c.left), c;
|
|
908
|
-
},
|
|
909
|
+
}, $t(e, l, i));
|
|
909
910
|
return {
|
|
910
911
|
width: a.right - a.left,
|
|
911
912
|
height: a.bottom - a.top,
|
|
@@ -913,7 +914,7 @@ function $e(t) {
|
|
|
913
914
|
y: a.top
|
|
914
915
|
};
|
|
915
916
|
}
|
|
916
|
-
function
|
|
917
|
+
function Me(t) {
|
|
917
918
|
const {
|
|
918
919
|
width: e,
|
|
919
920
|
height: n
|
|
@@ -923,19 +924,19 @@ function He(t) {
|
|
|
923
924
|
height: n
|
|
924
925
|
};
|
|
925
926
|
}
|
|
926
|
-
function
|
|
927
|
-
const o =
|
|
927
|
+
function _e(t, e, n) {
|
|
928
|
+
const o = $(e), i = M(e), s = n === "fixed", r = X(t, !0, s, e);
|
|
928
929
|
let l = {
|
|
929
930
|
scrollLeft: 0,
|
|
930
931
|
scrollTop: 0
|
|
931
932
|
};
|
|
932
933
|
const a = F(0);
|
|
933
934
|
if (o || !o && !s)
|
|
934
|
-
if ((
|
|
935
|
-
const p =
|
|
935
|
+
if ((G(e) !== "body" || st(i)) && (l = pt(e)), o) {
|
|
936
|
+
const p = X(e, !0, s, e);
|
|
936
937
|
a.x = p.x + e.clientLeft, a.y = p.y + e.clientTop;
|
|
937
|
-
} else i && (a.x =
|
|
938
|
-
const c = i && !o && !s ?
|
|
938
|
+
} else i && (a.x = Pt(i));
|
|
939
|
+
const c = i && !o && !s ? Ut(i, l) : F(0), d = r.left + l.scrollLeft - a.x - c.x, u = r.top + l.scrollTop - a.y - c.y;
|
|
939
940
|
return {
|
|
940
941
|
x: d,
|
|
941
942
|
y: u,
|
|
@@ -943,39 +944,39 @@ function Ne(t, e, n) {
|
|
|
943
944
|
height: r.height
|
|
944
945
|
};
|
|
945
946
|
}
|
|
946
|
-
function
|
|
947
|
-
return
|
|
947
|
+
function ht(t) {
|
|
948
|
+
return L(t).position === "static";
|
|
948
949
|
}
|
|
949
|
-
function
|
|
950
|
-
if (
|
|
950
|
+
function Mt(t, e) {
|
|
951
|
+
if (!$(t) || L(t).position === "fixed")
|
|
951
952
|
return null;
|
|
952
953
|
if (e)
|
|
953
954
|
return e(t);
|
|
954
955
|
let n = t.offsetParent;
|
|
955
956
|
return M(t) === n && (n = n.ownerDocument.body), n;
|
|
956
957
|
}
|
|
957
|
-
function
|
|
958
|
-
const n =
|
|
958
|
+
function Xt(t, e) {
|
|
959
|
+
const n = S(t);
|
|
959
960
|
if (mt(t))
|
|
960
961
|
return n;
|
|
961
|
-
if (
|
|
962
|
-
let i =
|
|
962
|
+
if (!$(t)) {
|
|
963
|
+
let i = Y(t);
|
|
963
964
|
for (; i && !nt(i); ) {
|
|
964
|
-
if (
|
|
965
|
+
if (D(i) && !ht(i))
|
|
965
966
|
return i;
|
|
966
|
-
i =
|
|
967
|
+
i = Y(i);
|
|
967
968
|
}
|
|
968
969
|
return n;
|
|
969
970
|
}
|
|
970
|
-
let o =
|
|
971
|
-
for (; o &&
|
|
972
|
-
o =
|
|
973
|
-
return o && nt(o) &&
|
|
971
|
+
let o = Mt(t, e);
|
|
972
|
+
for (; o && Pe(o) && ht(o); )
|
|
973
|
+
o = Mt(o, e);
|
|
974
|
+
return o && nt(o) && ht(o) && !Ot(o) ? n : o || Ce(t) || n;
|
|
974
975
|
}
|
|
975
|
-
const
|
|
976
|
-
const e = this.getOffsetParent ||
|
|
976
|
+
const He = async function(t) {
|
|
977
|
+
const e = this.getOffsetParent || Xt, n = this.getDimensions, o = await n(t.floating);
|
|
977
978
|
return {
|
|
978
|
-
reference:
|
|
979
|
+
reference: _e(t.reference, await e(t.floating), t.strategy),
|
|
979
980
|
floating: {
|
|
980
981
|
x: 0,
|
|
981
982
|
y: 0,
|
|
@@ -984,22 +985,22 @@ const We = async function(t) {
|
|
|
984
985
|
}
|
|
985
986
|
};
|
|
986
987
|
};
|
|
987
|
-
function
|
|
988
|
-
return
|
|
988
|
+
function We(t) {
|
|
989
|
+
return L(t).direction === "rtl";
|
|
989
990
|
}
|
|
990
|
-
const
|
|
991
|
-
convertOffsetParentRelativeRectToViewportRelativeRect:
|
|
991
|
+
const Ve = {
|
|
992
|
+
convertOffsetParentRelativeRectToViewportRelativeRect: Te,
|
|
992
993
|
getDocumentElement: M,
|
|
993
994
|
getClippingRect: $e,
|
|
994
|
-
getOffsetParent:
|
|
995
|
-
getElementRects:
|
|
996
|
-
getClientRects:
|
|
997
|
-
getDimensions:
|
|
995
|
+
getOffsetParent: Xt,
|
|
996
|
+
getElementRects: He,
|
|
997
|
+
getClientRects: De,
|
|
998
|
+
getDimensions: Me,
|
|
998
999
|
getScale: Z,
|
|
999
|
-
isElement:
|
|
1000
|
-
isRTL:
|
|
1000
|
+
isElement: D,
|
|
1001
|
+
isRTL: We
|
|
1001
1002
|
};
|
|
1002
|
-
function
|
|
1003
|
+
function Ne(t, e) {
|
|
1003
1004
|
let n = null, o;
|
|
1004
1005
|
const i = M(t);
|
|
1005
1006
|
function s() {
|
|
@@ -1016,13 +1017,13 @@ function je(t, e) {
|
|
|
1016
1017
|
} = t.getBoundingClientRect();
|
|
1017
1018
|
if (l || e(), !u || !p)
|
|
1018
1019
|
return;
|
|
1019
|
-
const f = lt(d), m = lt(i.clientWidth - (c + u)),
|
|
1020
|
-
rootMargin: -f + "px " + -m + "px " + -
|
|
1020
|
+
const f = lt(d), m = lt(i.clientWidth - (c + u)), h = lt(i.clientHeight - (d + p)), w = lt(c), y = {
|
|
1021
|
+
rootMargin: -f + "px " + -m + "px " + -h + "px " + -w + "px",
|
|
1021
1022
|
threshold: q(0, tt(1, a)) || 1
|
|
1022
1023
|
};
|
|
1023
1024
|
let x = !0;
|
|
1024
|
-
function O(
|
|
1025
|
-
const A =
|
|
1025
|
+
function O(v) {
|
|
1026
|
+
const A = v[0].intersectionRatio;
|
|
1026
1027
|
if (A !== a) {
|
|
1027
1028
|
if (!x)
|
|
1028
1029
|
return r();
|
|
@@ -1034,18 +1035,18 @@ function je(t, e) {
|
|
|
1034
1035
|
}
|
|
1035
1036
|
try {
|
|
1036
1037
|
n = new IntersectionObserver(O, {
|
|
1037
|
-
...
|
|
1038
|
+
...y,
|
|
1038
1039
|
// Handle <iframe>s
|
|
1039
1040
|
root: i.ownerDocument
|
|
1040
1041
|
});
|
|
1041
1042
|
} catch {
|
|
1042
|
-
n = new IntersectionObserver(O,
|
|
1043
|
+
n = new IntersectionObserver(O, y);
|
|
1043
1044
|
}
|
|
1044
1045
|
n.observe(t);
|
|
1045
1046
|
}
|
|
1046
1047
|
return r(!0), s;
|
|
1047
1048
|
}
|
|
1048
|
-
function
|
|
1049
|
+
function _t(t, e, n, o) {
|
|
1049
1050
|
o === void 0 && (o = {});
|
|
1050
1051
|
const {
|
|
1051
1052
|
ancestorScroll: i = !0,
|
|
@@ -1053,92 +1054,92 @@ function Mt(t, e, n, o) {
|
|
|
1053
1054
|
elementResize: r = typeof ResizeObserver == "function",
|
|
1054
1055
|
layoutShift: l = typeof IntersectionObserver == "function",
|
|
1055
1056
|
animationFrame: a = !1
|
|
1056
|
-
} = o, c =
|
|
1057
|
-
d.forEach((
|
|
1058
|
-
i &&
|
|
1057
|
+
} = o, c = Rt(t), d = i || s ? [...c ? rt(c) : [], ...rt(e)] : [];
|
|
1058
|
+
d.forEach((g) => {
|
|
1059
|
+
i && g.addEventListener("scroll", n, {
|
|
1059
1060
|
passive: !0
|
|
1060
|
-
}), s &&
|
|
1061
|
+
}), s && g.addEventListener("resize", n);
|
|
1061
1062
|
});
|
|
1062
|
-
const u = c && l ?
|
|
1063
|
+
const u = c && l ? Ne(c, n) : null;
|
|
1063
1064
|
let p = -1, f = null;
|
|
1064
|
-
r && (f = new ResizeObserver((
|
|
1065
|
-
let [
|
|
1066
|
-
|
|
1065
|
+
r && (f = new ResizeObserver((g) => {
|
|
1066
|
+
let [y] = g;
|
|
1067
|
+
y && y.target === c && f && (f.unobserve(e), cancelAnimationFrame(p), p = requestAnimationFrame(() => {
|
|
1067
1068
|
var x;
|
|
1068
1069
|
(x = f) == null || x.observe(e);
|
|
1069
1070
|
})), n();
|
|
1070
1071
|
}), c && !a && f.observe(c), f.observe(e));
|
|
1071
|
-
let m,
|
|
1072
|
+
let m, h = a ? X(t) : null;
|
|
1072
1073
|
a && w();
|
|
1073
1074
|
function w() {
|
|
1074
|
-
const
|
|
1075
|
-
|
|
1075
|
+
const g = X(t);
|
|
1076
|
+
h && (g.x !== h.x || g.y !== h.y || g.width !== h.width || g.height !== h.height) && n(), h = g, m = requestAnimationFrame(w);
|
|
1076
1077
|
}
|
|
1077
1078
|
return n(), () => {
|
|
1078
|
-
var
|
|
1079
|
-
d.forEach((
|
|
1080
|
-
i &&
|
|
1081
|
-
}), u == null || u(), (
|
|
1079
|
+
var g;
|
|
1080
|
+
d.forEach((y) => {
|
|
1081
|
+
i && y.removeEventListener("scroll", n), s && y.removeEventListener("resize", n);
|
|
1082
|
+
}), u == null || u(), (g = f) == null || g.disconnect(), f = null, a && cancelAnimationFrame(m);
|
|
1082
1083
|
};
|
|
1083
1084
|
}
|
|
1084
|
-
const
|
|
1085
|
+
const je = Ae, Ie = ve, ze = Re, Ye = xe, ln = be, Ue = we, qe = (t, e, n) => {
|
|
1085
1086
|
const o = /* @__PURE__ */ new Map(), i = {
|
|
1086
|
-
platform:
|
|
1087
|
+
platform: Ve,
|
|
1087
1088
|
...n
|
|
1088
1089
|
}, s = {
|
|
1089
1090
|
...i.platform,
|
|
1090
1091
|
_c: o
|
|
1091
1092
|
};
|
|
1092
|
-
return
|
|
1093
|
+
return ge(t, e, {
|
|
1093
1094
|
...i,
|
|
1094
1095
|
platform: s
|
|
1095
1096
|
});
|
|
1096
1097
|
};
|
|
1097
|
-
function
|
|
1098
|
+
function Xe(t) {
|
|
1098
1099
|
return t != null && typeof t == "object" && "$el" in t;
|
|
1099
1100
|
}
|
|
1100
|
-
function
|
|
1101
|
-
if (
|
|
1101
|
+
function yt(t) {
|
|
1102
|
+
if (Xe(t)) {
|
|
1102
1103
|
const e = t.$el;
|
|
1103
|
-
return bt(e) &&
|
|
1104
|
+
return bt(e) && G(e) === "#comment" ? null : e;
|
|
1104
1105
|
}
|
|
1105
1106
|
return t;
|
|
1106
1107
|
}
|
|
1107
|
-
function
|
|
1108
|
+
function Ke(t) {
|
|
1108
1109
|
return {
|
|
1109
1110
|
name: "arrow",
|
|
1110
1111
|
options: t,
|
|
1111
1112
|
fn(e) {
|
|
1112
|
-
const n =
|
|
1113
|
-
return n == null ? {} :
|
|
1113
|
+
const n = yt(V(t.element));
|
|
1114
|
+
return n == null ? {} : Ue({
|
|
1114
1115
|
element: n,
|
|
1115
1116
|
padding: t.padding
|
|
1116
1117
|
}).fn(e);
|
|
1117
1118
|
}
|
|
1118
1119
|
};
|
|
1119
1120
|
}
|
|
1120
|
-
function
|
|
1121
|
+
function Kt(t) {
|
|
1121
1122
|
return typeof window > "u" ? 1 : (t.ownerDocument.defaultView || window).devicePixelRatio || 1;
|
|
1122
1123
|
}
|
|
1123
|
-
function
|
|
1124
|
-
const n =
|
|
1124
|
+
function Ht(t, e) {
|
|
1125
|
+
const n = Kt(t);
|
|
1125
1126
|
return Math.round(e * n) / n;
|
|
1126
1127
|
}
|
|
1127
|
-
function
|
|
1128
|
+
function Ge(t, e, n) {
|
|
1128
1129
|
n === void 0 && (n = {});
|
|
1129
|
-
const o = n.whileElementsMounted, i =
|
|
1130
|
+
const o = n.whileElementsMounted, i = C(() => {
|
|
1130
1131
|
var b;
|
|
1131
|
-
return (b =
|
|
1132
|
-
}), s =
|
|
1132
|
+
return (b = V(n.open)) != null ? b : !0;
|
|
1133
|
+
}), s = C(() => V(n.middleware)), r = C(() => {
|
|
1133
1134
|
var b;
|
|
1134
|
-
return (b =
|
|
1135
|
-
}), l =
|
|
1135
|
+
return (b = V(n.placement)) != null ? b : "bottom";
|
|
1136
|
+
}), l = C(() => {
|
|
1136
1137
|
var b;
|
|
1137
|
-
return (b =
|
|
1138
|
-
}), a =
|
|
1138
|
+
return (b = V(n.strategy)) != null ? b : "absolute";
|
|
1139
|
+
}), a = C(() => {
|
|
1139
1140
|
var b;
|
|
1140
|
-
return (b =
|
|
1141
|
-
}), c =
|
|
1141
|
+
return (b = V(n.transform)) != null ? b : !0;
|
|
1142
|
+
}), c = C(() => yt(t.value)), d = C(() => yt(e.value)), u = z(0), p = z(0), f = z(l.value), m = z(r.value), h = Jt({}), w = z(!1), g = C(() => {
|
|
1142
1143
|
const b = {
|
|
1143
1144
|
position: f.value,
|
|
1144
1145
|
left: "0",
|
|
@@ -1146,39 +1147,39 @@ function Qe(t, e, n) {
|
|
|
1146
1147
|
};
|
|
1147
1148
|
if (!d.value)
|
|
1148
1149
|
return b;
|
|
1149
|
-
const
|
|
1150
|
+
const _ = Ht(d.value, u.value), E = Ht(d.value, p.value);
|
|
1150
1151
|
return a.value ? {
|
|
1151
1152
|
...b,
|
|
1152
|
-
transform: "translate(" +
|
|
1153
|
-
...
|
|
1153
|
+
transform: "translate(" + _ + "px, " + E + "px)",
|
|
1154
|
+
...Kt(d.value) >= 1.5 && {
|
|
1154
1155
|
willChange: "transform"
|
|
1155
1156
|
}
|
|
1156
1157
|
} : {
|
|
1157
1158
|
position: f.value,
|
|
1158
|
-
left:
|
|
1159
|
+
left: _ + "px",
|
|
1159
1160
|
top: E + "px"
|
|
1160
1161
|
};
|
|
1161
1162
|
});
|
|
1162
|
-
let
|
|
1163
|
+
let y;
|
|
1163
1164
|
function x() {
|
|
1164
|
-
c.value == null || d.value == null ||
|
|
1165
|
+
c.value == null || d.value == null || qe(c.value, d.value, {
|
|
1165
1166
|
middleware: s.value,
|
|
1166
1167
|
placement: r.value,
|
|
1167
1168
|
strategy: l.value
|
|
1168
1169
|
}).then((b) => {
|
|
1169
|
-
u.value = b.x, p.value = b.y, f.value = b.strategy, m.value = b.placement,
|
|
1170
|
+
u.value = b.x, p.value = b.y, f.value = b.strategy, m.value = b.placement, h.value = b.middlewareData, w.value = !0;
|
|
1170
1171
|
});
|
|
1171
1172
|
}
|
|
1172
1173
|
function O() {
|
|
1173
|
-
typeof
|
|
1174
|
+
typeof y == "function" && (y(), y = void 0);
|
|
1174
1175
|
}
|
|
1175
|
-
function
|
|
1176
|
+
function v() {
|
|
1176
1177
|
if (O(), o === void 0) {
|
|
1177
1178
|
x();
|
|
1178
1179
|
return;
|
|
1179
1180
|
}
|
|
1180
1181
|
if (c.value != null && d.value != null) {
|
|
1181
|
-
|
|
1182
|
+
y = o(c.value, d.value, x);
|
|
1182
1183
|
return;
|
|
1183
1184
|
}
|
|
1184
1185
|
}
|
|
@@ -1187,32 +1188,31 @@ function Qe(t, e, n) {
|
|
|
1187
1188
|
}
|
|
1188
1189
|
return ot([s, r, l], x, {
|
|
1189
1190
|
flush: "sync"
|
|
1190
|
-
}), ot([c, d],
|
|
1191
|
+
}), ot([c, d], v, {
|
|
1191
1192
|
flush: "sync"
|
|
1192
1193
|
}), ot(i, A, {
|
|
1193
1194
|
flush: "sync"
|
|
1194
|
-
}),
|
|
1195
|
+
}), Qt() && Zt(O), {
|
|
1195
1196
|
x: Q(u),
|
|
1196
1197
|
y: Q(p),
|
|
1197
1198
|
strategy: Q(f),
|
|
1198
1199
|
placement: Q(m),
|
|
1199
|
-
middlewareData: Q(
|
|
1200
|
+
middlewareData: Q(h),
|
|
1200
1201
|
isPositioned: Q(w),
|
|
1201
|
-
floatingStyles:
|
|
1202
|
+
floatingStyles: g,
|
|
1202
1203
|
update: x
|
|
1203
1204
|
};
|
|
1204
1205
|
}
|
|
1205
|
-
|
|
1206
|
-
const Ht = { ...Kt, ...Jt }, Ze = (t, e) => t ? e[1] + 7 : e[1], tn = (t) => {
|
|
1206
|
+
const Je = (t, e) => t ? e[1] + 7 : e[1], Qe = (t) => {
|
|
1207
1207
|
let e = Array.isArray(t) ? t : [t];
|
|
1208
1208
|
return e = e.filter((n) => n !== "auto" && n !== "auto-start" && n !== "auto-end").map((n) => n), {
|
|
1209
1209
|
fallbackPlacements: e
|
|
1210
1210
|
};
|
|
1211
|
-
},
|
|
1211
|
+
}, Ze = {
|
|
1212
1212
|
name: "sameWidth",
|
|
1213
1213
|
fn: ({ elements: t }) => (t.floating.style.width = `${t.reference.offsetWidth}px`, {})
|
|
1214
|
-
},
|
|
1215
|
-
...
|
|
1214
|
+
}, tn = {}, en = /* @__PURE__ */ te({
|
|
1215
|
+
...tn,
|
|
1216
1216
|
__name: "popper-container",
|
|
1217
1217
|
props: {
|
|
1218
1218
|
/**
|
|
@@ -1221,7 +1221,7 @@ const Ht = { ...Kt, ...Jt }, Ze = (t, e) => t ? e[1] + 7 : e[1], tn = (t) => {
|
|
|
1221
1221
|
ariaRole: {
|
|
1222
1222
|
type: String,
|
|
1223
1223
|
default: null,
|
|
1224
|
-
validator: (t) => Object.values(
|
|
1224
|
+
validator: (t) => Object.values(ce).includes(t)
|
|
1225
1225
|
},
|
|
1226
1226
|
/**
|
|
1227
1227
|
* Indicates if container should have additional arrow, pointing at target element
|
|
@@ -1283,8 +1283,8 @@ const Ht = { ...Kt, ...Jt }, Ze = (t, e) => t ? e[1] + 7 : e[1], tn = (t) => {
|
|
|
1283
1283
|
*/
|
|
1284
1284
|
position: {
|
|
1285
1285
|
type: String,
|
|
1286
|
-
default:
|
|
1287
|
-
validator: (t) => Object.values(
|
|
1286
|
+
default: St.AUTO,
|
|
1287
|
+
validator: (t) => Object.values(St).includes(t)
|
|
1288
1288
|
},
|
|
1289
1289
|
/**
|
|
1290
1290
|
* Reference to the DOM element or Vue component for positioning
|
|
@@ -1294,11 +1294,11 @@ const Ht = { ...Kt, ...Jt }, Ze = (t, e) => t ? e[1] + 7 : e[1], tn = (t) => {
|
|
|
1294
1294
|
emits: ["placement"],
|
|
1295
1295
|
setup(t, { emit: e }) {
|
|
1296
1296
|
var O;
|
|
1297
|
-
const n = t, o = e, { position: i } =
|
|
1297
|
+
const n = t, o = e, { position: i } = ee(n), s = z(), r = z(null), l = z(n.position), a = C(
|
|
1298
1298
|
() => n.targetElement.$el ? n.targetElement.$el : n.targetElement
|
|
1299
|
-
), c =
|
|
1299
|
+
), c = C(
|
|
1300
1300
|
() => s.value.$el ? s.value.$el : s.value
|
|
1301
|
-
), d =
|
|
1301
|
+
), d = C(() => (n == null ? void 0 : n.position) !== "auto" && (n == null ? void 0 : n.fallbackPosition) !== "auto"), u = C(() => {
|
|
1302
1302
|
switch (n.position) {
|
|
1303
1303
|
case "auto-start":
|
|
1304
1304
|
return { alignment: "start", crossAxis: !0 };
|
|
@@ -1307,90 +1307,86 @@ const Ht = { ...Kt, ...Jt }, Ze = (t, e) => t ? e[1] + 7 : e[1], tn = (t) => {
|
|
|
1307
1307
|
default:
|
|
1308
1308
|
return;
|
|
1309
1309
|
}
|
|
1310
|
-
}), p =
|
|
1310
|
+
}), p = C(() => n.fixedPositioning ? "fixed" : "absolute"), { floatingStyles: f, middlewareData: m, placement: h, update: w } = Ge(a, s, {
|
|
1311
1311
|
placement: i,
|
|
1312
1312
|
middleware: [
|
|
1313
1313
|
// Adds flip modifier if fallbackPosition is not set to auto
|
|
1314
1314
|
...d.value ? [
|
|
1315
|
-
|
|
1316
|
-
fallbackPlacements:
|
|
1315
|
+
Ye({
|
|
1316
|
+
fallbackPlacements: Qe(n.fallbackPosition).fallbackPlacements
|
|
1317
1317
|
})
|
|
1318
1318
|
] : [],
|
|
1319
1319
|
// Adds autoposition middlelare if position is set to any auto variants
|
|
1320
|
-
...d.value ? [] : [
|
|
1320
|
+
...d.value ? [] : [Ie(u.value)],
|
|
1321
1321
|
// Add shifting middle in case popper is still not fully visible in view port
|
|
1322
|
-
|
|
1322
|
+
ze(),
|
|
1323
1323
|
// Adds offset middlelare if offset property is set
|
|
1324
|
-
...n.offset ? [
|
|
1324
|
+
...n.offset ? [je(Je(n.arrow, n.offset))] : [],
|
|
1325
1325
|
// Adds arrow middlelare if arrow property is set, can set additional padding property
|
|
1326
|
-
...n.arrow ? [
|
|
1326
|
+
...n.arrow ? [Ke({ element: r, padding: n.arrow.padding || 0 })] : [],
|
|
1327
1327
|
// Adds same width middleware to keep popper width same as referenced element's width
|
|
1328
|
-
...n.matchWidth ? [
|
|
1328
|
+
...n.matchWidth ? [Ze] : [],
|
|
1329
1329
|
// If there is additional custom middleware to add via the property then add it
|
|
1330
1330
|
...((O = n.middleware) == null ? void 0 : O.length) > 0 ? n.middleware : []
|
|
1331
1331
|
],
|
|
1332
1332
|
strategy: p,
|
|
1333
1333
|
// 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:
|
|
1334
|
+
...n.isHidden === null ? { whileElementsMounted: _t } : []
|
|
1335
1335
|
});
|
|
1336
|
-
let
|
|
1336
|
+
let g;
|
|
1337
1337
|
ot(
|
|
1338
1338
|
() => n.isHidden,
|
|
1339
1339
|
() => {
|
|
1340
|
-
n.isHidden !== null && !n.isHidden ?
|
|
1340
|
+
n.isHidden !== null && !n.isHidden ? g = _t(a == null ? void 0 : a.value, c == null ? void 0 : c.value, w) : n.isHidden !== null && n.isHidden && typeof g == "function" && g();
|
|
1341
1341
|
}
|
|
1342
1342
|
), ot(
|
|
1343
|
-
() =>
|
|
1343
|
+
() => h.value,
|
|
1344
1344
|
() => {
|
|
1345
|
-
l.value !==
|
|
1345
|
+
l.value !== h.value && (l.value = h.value, o("placement", l.value));
|
|
1346
1346
|
}
|
|
1347
1347
|
);
|
|
1348
|
-
const
|
|
1349
|
-
var
|
|
1348
|
+
const y = C(() => {
|
|
1349
|
+
var v, A;
|
|
1350
1350
|
return {
|
|
1351
1351
|
position: "absolute",
|
|
1352
|
-
left: ((
|
|
1352
|
+
left: ((v = m.value.arrow) == null ? void 0 : v.x) != null ? `${m.value.arrow.x}px` : "",
|
|
1353
1353
|
top: ((A = m.value.arrow) == null ? void 0 : A.y) != null ? `${m.value.arrow.y}px` : ""
|
|
1354
1354
|
};
|
|
1355
|
-
}), x =
|
|
1356
|
-
var
|
|
1355
|
+
}), x = C(() => {
|
|
1356
|
+
var v;
|
|
1357
1357
|
return {
|
|
1358
1358
|
class: n.arrow.classes,
|
|
1359
|
-
style:
|
|
1359
|
+
style: y.value,
|
|
1360
1360
|
// Applies a data-hide attribute to arrow element depending on center offset.
|
|
1361
|
-
...((
|
|
1361
|
+
...((v = m.value.arrow) == null ? void 0 : v.centerOffset) !== 0 ? { "data-hide": "" } : {}
|
|
1362
1362
|
};
|
|
1363
1363
|
});
|
|
1364
|
-
return (
|
|
1364
|
+
return (v, A) => (Ct(), ne(V(le), Et(v.$attrs, {
|
|
1365
1365
|
id: t.id,
|
|
1366
1366
|
ref_key: "popperContainerRef",
|
|
1367
1367
|
ref: s,
|
|
1368
1368
|
class: "b-popper-container",
|
|
1369
|
-
"data-popper-placement":
|
|
1369
|
+
"data-popper-placement": V(h),
|
|
1370
1370
|
disabled: t.disabledFocusTrap,
|
|
1371
|
-
style:
|
|
1371
|
+
style: V(f),
|
|
1372
1372
|
role: t.ariaRole
|
|
1373
1373
|
}), {
|
|
1374
|
-
default:
|
|
1375
|
-
|
|
1376
|
-
n.arrow ? (
|
|
1374
|
+
default: oe(() => [
|
|
1375
|
+
ie(v.$slots, "default", {}, void 0, !0),
|
|
1376
|
+
n.arrow ? (Ct(), re("span", Et({ key: 0 }, x.value, {
|
|
1377
1377
|
ref_key: "floatingArrow",
|
|
1378
1378
|
ref: r,
|
|
1379
1379
|
class: "b-popper-container__arrow",
|
|
1380
1380
|
"data-testid": "arrow"
|
|
1381
|
-
}), null, 16)) :
|
|
1381
|
+
}), null, 16)) : se("", !0)
|
|
1382
1382
|
]),
|
|
1383
1383
|
_: 3
|
|
1384
1384
|
}, 16, ["id", "data-popper-placement", "disabled", "style", "role"]));
|
|
1385
1385
|
}
|
|
1386
|
-
}),
|
|
1386
|
+
}), cn = /* @__PURE__ */ ae(en, [["__scopeId", "data-v-dc16b8e6"]]);
|
|
1387
1387
|
export {
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
Qt as c,
|
|
1392
|
-
Ht as d,
|
|
1393
|
-
cn as h,
|
|
1394
|
-
ze as o
|
|
1388
|
+
cn as P,
|
|
1389
|
+
ln as h,
|
|
1390
|
+
je as o
|
|
1395
1391
|
};
|
|
1396
|
-
//# sourceMappingURL=popper-container.
|
|
1392
|
+
//# sourceMappingURL=popper-container.Cyf6zCPq.js.map
|