@adyen/bento-vue3 1.34.0 → 1.35.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/vue2/src/components/checkbox/checkbox.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/checkbox/components/checkbox-group/checkbox-group.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/code-snippet/code-snippet.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-config-settings/data-grid-config-settings.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/dropdown/composables/use-display-value.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/dropdown/composables/use-display-value.types.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/variants/select-avatar-filter/select-avatar-filter.vue.d.ts +7 -7
- package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/variants/select-country-filter/select-country-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 +7 -7
- package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/variants/select-payment-method-filter/select-payment-method-filter.vue.d.ts +7 -7
- package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/variants/select-tag-filter/select-tag-filter.vue.d.ts +7 -7
- 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 +1 -1
- 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 +2 -2
- package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-multi-select/listbox-multi-select.vue.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/internal/listbox/listbox.vue.d.ts +3 -3
- package/dist/@types/packages/vue2/src/utils/ts/get-date-locale/get-date-locale.d.ts +11 -0
- 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/avatar.css +1 -1
- package/dist/assets/base-modal.css +1 -1
- package/dist/assets/calendar.css +1 -1
- package/dist/assets/card.css +1 -1
- package/dist/assets/checkbox-input.css +1 -1
- package/dist/assets/checkbox.css +1 -1
- package/dist/assets/code-snippet.css +1 -1
- package/dist/assets/copy.css +1 -1
- package/dist/assets/currency.css +1 -0
- package/dist/assets/data-grid.css +1 -1
- package/dist/assets/date-range-picker.css +1 -1
- package/dist/assets/dialog-page.css +1 -1
- package/dist/assets/dropdown.css +1 -1
- package/dist/assets/error-message.css +1 -1
- package/dist/assets/filter-bar.css +1 -1
- package/dist/assets/header.css +1 -1
- package/dist/assets/inspector.css +1 -1
- package/dist/assets/loading-button.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/sidepanel.css +1 -1
- package/dist/assets/step.css +1 -1
- package/dist/assets/structured-list-item.css +1 -1
- package/dist/assets/timeline-item.css +1 -1
- package/dist/assets/tutorial.css +1 -1
- package/dist/assets/use-cached-selected-values.css +1 -1
- package/dist/avatar.js +1 -1
- package/dist/button.js +2 -2
- package/dist/card.js +1 -1
- package/dist/checkbox.js +3 -3
- package/dist/chunks/accordion-item.4Cnn47v_.js +142 -0
- package/dist/chunks/accordion-item.4Cnn47v_.js.map +1 -0
- package/dist/chunks/{action-bar.DGQYYi8b.js → action-bar.BYMas_1s.js} +58 -44
- package/dist/chunks/{action-bar.DGQYYi8b.js.map → action-bar.BYMas_1s.js.map} +1 -1
- package/dist/chunks/{alert.Bz4tNKDH.js → alert.B_GZON9f.js} +30 -23
- package/dist/chunks/alert.B_GZON9f.js.map +1 -0
- package/dist/chunks/{avatar.mNlMngHQ.js → avatar.8erKxh8t.js} +13 -13
- package/dist/chunks/avatar.8erKxh8t.js.map +1 -0
- package/dist/chunks/{base-modal.Bl7DBkt0.js → base-modal.BbiSFAn1.js} +37 -31
- package/dist/chunks/{base-modal.Bl7DBkt0.js.map → base-modal.BbiSFAn1.js.map} +1 -1
- package/dist/chunks/{button-actions-with-menu.BLmcwr2f.js → button-actions-with-menu.0ypQxYbM.js} +4 -4
- package/dist/chunks/{button-actions-with-menu.BLmcwr2f.js.map → button-actions-with-menu.0ypQxYbM.js.map} +1 -1
- package/dist/chunks/{button-actions.hdK5IgrZ.js → button-actions.DcvU9vMt.js} +2 -2
- package/dist/chunks/{button-actions.hdK5IgrZ.js.map → button-actions.DcvU9vMt.js.map} +1 -1
- package/dist/chunks/{calendar.D--sOCBT.js → calendar.BPatBsD5.js} +148 -148
- package/dist/chunks/calendar.BPatBsD5.js.map +1 -0
- package/dist/chunks/{card.BvSoujBc.js → card.B7AyQI7f.js} +46 -38
- package/dist/chunks/card.B7AyQI7f.js.map +1 -0
- package/dist/chunks/{checkbox-group.CuLP3hPd.js → checkbox-group.BJM2i93S.js} +4 -4
- package/dist/chunks/{checkbox-group.CuLP3hPd.js.map → checkbox-group.BJM2i93S.js.map} +1 -1
- package/dist/chunks/{checkbox-input.JdcvpfTa.js → checkbox-input.YgPBRaZP.js} +12 -11
- package/dist/chunks/checkbox-input.YgPBRaZP.js.map +1 -0
- package/dist/chunks/{checkbox.DMMXn-h8.js → checkbox.BnYx06nC.js} +50 -40
- package/dist/chunks/{checkbox.DMMXn-h8.js.map → checkbox.BnYx06nC.js.map} +1 -1
- package/dist/chunks/{checkmark-circle-fill.ChV7Jy6r.js → checkmark-circle-fill.Bgdq29pu.js} +4 -4
- package/dist/chunks/checkmark-circle-fill.Bgdq29pu.js.map +1 -0
- package/dist/chunks/{checkmark-small.DEc2T64_.js → checkmark-small.4DMun1A_.js} +4 -4
- package/dist/chunks/checkmark-small.4DMun1A_.js.map +1 -0
- package/dist/chunks/{chevron-left.NvV5m76j.js → chevron-left.ChbQxOxi.js} +6 -6
- package/dist/chunks/chevron-left.ChbQxOxi.js.map +1 -0
- package/dist/chunks/{chevron-up.DQZG_BP3.js → chevron-up.zKonWHVc.js} +6 -6
- package/dist/chunks/chevron-up.zKonWHVc.js.map +1 -0
- package/dist/chunks/{code-snippet.BWM5w4CP.js → code-snippet.1duYqiRx.js} +98 -89
- package/dist/chunks/code-snippet.1duYqiRx.js.map +1 -0
- package/dist/chunks/{controls-group.BnZVHgQK.js → controls-group.DmroeX6Q.js} +2 -2
- package/dist/chunks/{controls-group.BnZVHgQK.js.map → controls-group.DmroeX6Q.js.map} +1 -1
- package/dist/chunks/{copy.h-wVGvID.js → copy.5y12_05v.js} +29 -20
- package/dist/chunks/copy.5y12_05v.js.map +1 -0
- package/dist/chunks/{cross-circle-fill-small.BXO78Wde.js → cross-circle-fill-small.2_Xjp4id.js} +4 -4
- package/dist/chunks/cross-circle-fill-small.2_Xjp4id.js.map +1 -0
- package/dist/chunks/{cross-circle-fill.DN5b3_eL.js → cross-circle-fill.CEUPgI5F.js} +4 -4
- package/dist/chunks/cross-circle-fill.CEUPgI5F.js.map +1 -0
- package/dist/chunks/{cross-small.CXWTuKA_.js → cross-small.DvCEQd10.js} +4 -4
- package/dist/chunks/cross-small.DvCEQd10.js.map +1 -0
- package/dist/chunks/{cross.OvPfvoqX.js → cross.CowwLfo4.js} +4 -4
- package/dist/chunks/cross.CowwLfo4.js.map +1 -0
- package/dist/chunks/{currency.CFJy6QYU.js → currency.BdtY-UIM.js} +3 -2
- package/dist/chunks/{currency.CFJy6QYU.js.map → currency.BdtY-UIM.js.map} +1 -1
- package/dist/chunks/{dashboard-section.BIH2wzgk.js → dashboard-section.BDkYN89r.js} +3 -3
- package/dist/chunks/{dashboard-section.BIH2wzgk.js.map → dashboard-section.BDkYN89r.js.map} +1 -1
- package/dist/chunks/{dashed-underline.CFJdLuJp.js → dashed-underline.CMKbg0Fq.js} +2 -2
- package/dist/chunks/{dashed-underline.CFJdLuJp.js.map → dashed-underline.CMKbg0Fq.js.map} +1 -1
- package/dist/chunks/{data-grid-template.21gqdYrs.js → data-grid-template.CydHXTmg.js} +3 -3
- package/dist/chunks/{data-grid-template.21gqdYrs.js.map → data-grid-template.CydHXTmg.js.map} +1 -1
- package/dist/chunks/{data-grid.DUwLxtW_.js → data-grid.CcGMljDl.js} +585 -538
- package/dist/chunks/data-grid.CcGMljDl.js.map +1 -0
- package/dist/chunks/{date-picker.21z_Sw4V.js → date-picker.BsXcXOgl.js} +99 -91
- package/dist/chunks/date-picker.BsXcXOgl.js.map +1 -0
- package/dist/chunks/{date-range-picker.K2TeW8aX.js → date-range-picker.BFm6Udzx.js} +338 -316
- package/dist/chunks/date-range-picker.BFm6Udzx.js.map +1 -0
- package/dist/chunks/{date.D8rQMzMG.js → date.CYUV4seY.js} +92 -92
- package/dist/chunks/{date.D8rQMzMG.js.map → date.CYUV4seY.js.map} +1 -1
- package/dist/chunks/{dialog-page.DALFn9KR.js → dialog-page.CjKMgUlz.js} +4 -3
- package/dist/chunks/dialog-page.CjKMgUlz.js.map +1 -0
- package/dist/chunks/{dropdown-default-textbox.Bu4bpNGU.js → dropdown-default-textbox.BopLaEkG.js} +4 -4
- package/dist/chunks/{dropdown-default-textbox.Bu4bpNGU.js.map → dropdown-default-textbox.BopLaEkG.js.map} +1 -1
- package/dist/chunks/{dropdown-tag.BNJnscD2.js → dropdown-tag.x3n5-YkA.js} +3 -3
- package/dist/chunks/{dropdown-tag.BNJnscD2.js.map → dropdown-tag.x3n5-YkA.js.map} +1 -1
- package/dist/chunks/{dropdown.ex87AZ7s.js → dropdown.BxvydNp0.js} +214 -194
- package/dist/chunks/dropdown.BxvydNp0.js.map +1 -0
- package/dist/chunks/{error-message.D2Y99KjT.js → error-message.CUZgtlDT.js} +44 -30
- package/dist/chunks/{error-message.D2Y99KjT.js.map → error-message.CUZgtlDT.js.map} +1 -1
- package/dist/chunks/es6.BvpG4Oi6.js.map +1 -1
- package/dist/chunks/{expand.CgwNEbbz.js → expand.B5tyMqaF.js} +4 -4
- package/dist/chunks/expand.B5tyMqaF.js.map +1 -0
- package/dist/chunks/{filter-bar.BAmG-yML.js → filter-bar.re1Tqyai.js} +728 -712
- package/dist/chunks/filter-bar.re1Tqyai.js.map +1 -0
- package/dist/chunks/{fixed-scroller.DwYB1pqo.js → fixed-scroller.Co0y0kWZ.js} +2 -2
- package/dist/chunks/{fixed-scroller.DwYB1pqo.js.map → fixed-scroller.Co0y0kWZ.js.map} +1 -1
- package/dist/chunks/{footer-actions.gtxofUAa.js → footer-actions.M83ZEElA.js} +2 -2
- package/dist/chunks/{footer-actions.gtxofUAa.js.map → footer-actions.M83ZEElA.js.map} +1 -1
- package/dist/chunks/{form-layout-title.Boi0QQZL.js → form-layout-title.ATi1W9uG.js} +2 -2
- package/dist/chunks/{form-layout-title.Boi0QQZL.js.map → form-layout-title.ATi1W9uG.js.map} +1 -1
- package/dist/chunks/{index.B_UZQ6qF.js → get-date-locale.BN8xEjY0.js} +855 -204
- package/dist/chunks/get-date-locale.BN8xEjY0.js.map +1 -0
- package/dist/chunks/{header.BMYhkrGT.js → header.CrNceSOd.js} +104 -98
- package/dist/chunks/{header.BMYhkrGT.js.map → header.CrNceSOd.js.map} +1 -1
- package/dist/chunks/{index.Z84QE0E2.js → index.CrhTVr5J.js} +2 -2
- package/dist/chunks/{index.Z84QE0E2.js.map → index.CrhTVr5J.js.map} +1 -1
- package/dist/chunks/{index.xqFSZOAb.js → index.DDnf1O9p.js} +2 -2
- package/dist/chunks/{index.xqFSZOAb.js.map → index.DDnf1O9p.js.map} +1 -1
- package/dist/chunks/{index.B_EJflcs.js → index.DPafeRJa.js} +2 -2
- package/dist/chunks/{index.B_EJflcs.js.map → index.DPafeRJa.js.map} +1 -1
- package/dist/chunks/{info-icon.DIu8FeJC.js → info-icon.CBiqUH3L.js} +2 -2
- package/dist/chunks/{info-icon.DIu8FeJC.js.map → info-icon.CBiqUH3L.js.map} +1 -1
- package/dist/chunks/{info.CIFBUqf-.js → info.D6XuLsYR.js} +4 -4
- package/dist/chunks/{info.CIFBUqf-.js.map → info.D6XuLsYR.js.map} +1 -1
- package/dist/chunks/{input-field.Dely7A8G.js → input-field.foJTqE5i.js} +3 -3
- package/dist/chunks/{input-field.Dely7A8G.js.map → input-field.foJTqE5i.js.map} +1 -1
- package/dist/chunks/{inspector.types.t2SPyhw3.js → inspector.types.X_7VgZmS.js} +44 -36
- package/dist/chunks/{inspector.types.t2SPyhw3.js.map → inspector.types.X_7VgZmS.js.map} +1 -1
- package/dist/chunks/link.2YS7haGc.js.map +1 -1
- package/dist/chunks/loading-button.BU536EK4.js +137 -0
- package/dist/chunks/loading-button.BU536EK4.js.map +1 -0
- package/dist/chunks/{menu.CLicp_2I.js → menu.CI4R2iw1.js} +6 -5
- package/dist/chunks/menu.CI4R2iw1.js.map +1 -0
- package/dist/chunks/{modal-fullscreen.Caqa7dDp.js → modal-fullscreen.B4sPrlfq.js} +37 -31
- package/dist/chunks/{modal-fullscreen.Caqa7dDp.js.map → modal-fullscreen.B4sPrlfq.js.map} +1 -1
- package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.Dzmth-oW.js → modal.vue_vue_type_script_setup_true_lang.DuNQ8N4W.js} +31 -25
- package/dist/chunks/modal.vue_vue_type_script_setup_true_lang.DuNQ8N4W.js.map +1 -0
- package/dist/chunks/{pagination.I5w8bpUS.js → pagination.-1ibfp5g.js} +5 -4
- package/dist/chunks/pagination.-1ibfp5g.js.map +1 -0
- package/dist/chunks/{popover.DQP3ce2x.js → popover.BN52L17t.js} +3 -3
- package/dist/chunks/{popover.DQP3ce2x.js.map → popover.BN52L17t.js.map} +1 -1
- package/dist/chunks/{radio-group.lOSBHghv.js → radio-group.RLUDLHPT.js} +3 -3
- package/dist/chunks/{radio-group.lOSBHghv.js.map → radio-group.RLUDLHPT.js.map} +1 -1
- package/dist/chunks/{refresh.DvQeGwUF.js → refresh.DPE_95xY.js} +4 -4
- package/dist/chunks/refresh.DPE_95xY.js.map +1 -0
- package/dist/chunks/{search-bar.GCRTgBUA.js → search-bar.CCWTGvJ6.js} +50 -42
- package/dist/chunks/{search-bar.GCRTgBUA.js.map → search-bar.CCWTGvJ6.js.map} +1 -1
- package/dist/chunks/{search.EnLryD8V.js → search.DJr0124y.js} +4 -4
- package/dist/chunks/{search.EnLryD8V.js.map → search.DJr0124y.js.map} +1 -1
- package/dist/chunks/{secondary-nav.CGH_6m7u.js → secondary-nav.D81GEGuc.js} +2 -2
- package/dist/chunks/{secondary-nav.CGH_6m7u.js.map → secondary-nav.D81GEGuc.js.map} +1 -1
- package/dist/chunks/{selection-card-group.BdTuPhEm.js → selection-card-group.3OexUu8G.js} +4 -4
- package/dist/chunks/{selection-card-group.BdTuPhEm.js.map → selection-card-group.3OexUu8G.js.map} +1 -1
- package/dist/chunks/{sidepanel.DA8nQepj.js → sidepanel.iEewXNIJ.js} +38 -32
- package/dist/chunks/{sidepanel.DA8nQepj.js.map → sidepanel.iEewXNIJ.js.map} +1 -1
- package/dist/chunks/{step.ClnCjesW.js → step.CyvTQbAk.js} +29 -28
- package/dist/chunks/step.CyvTQbAk.js.map +1 -0
- package/dist/chunks/{structured-list-item.Z-1ivOFu.js → structured-list-item.DZvCfZuG.js} +36 -30
- package/dist/chunks/{structured-list-item.Z-1ivOFu.js.map → structured-list-item.DZvCfZuG.js.map} +1 -1
- package/dist/chunks/{summary-grid-item-custom.Dq3IIEvH.js → summary-grid-item-custom.BRXtpB7y.js} +3 -3
- package/dist/chunks/{summary-grid-item-custom.Dq3IIEvH.js.map → summary-grid-item-custom.BRXtpB7y.js.map} +1 -1
- package/dist/chunks/{tabs.xY_6yqmE.js → tabs.BUPiNLbZ.js} +2 -2
- package/dist/chunks/{tabs.xY_6yqmE.js.map → tabs.BUPiNLbZ.js.map} +1 -1
- package/dist/chunks/{textarea.kYFGQFwd.js → textarea.Bk8-ivBT.js} +3 -3
- package/dist/chunks/{textarea.kYFGQFwd.js.map → textarea.Bk8-ivBT.js.map} +1 -1
- package/dist/chunks/{timeline-item.D-Yy2qQr.js → timeline-item.USmzRWfs.js} +84 -77
- package/dist/chunks/timeline-item.USmzRWfs.js.map +1 -0
- package/dist/chunks/{toast.CIVPmwmU.js → toast.BwPhzM1x.js} +2 -2
- package/dist/chunks/{toast.CIVPmwmU.js.map → toast.BwPhzM1x.js.map} +1 -1
- package/dist/chunks/{toggle.8t4flh_3.js → toggle.PLkyyLr1.js} +2 -2
- package/dist/chunks/{toggle.8t4flh_3.js.map → toggle.PLkyyLr1.js.map} +1 -1
- package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.D-ZFDn95.js → tutorial.vue_vue_type_script_setup_true_lang.CoFRoKtq.js} +85 -72
- package/dist/chunks/tutorial.vue_vue_type_script_setup_true_lang.CoFRoKtq.js.map +1 -0
- package/dist/chunks/{use-cached-selected-values.ClVxNmUf.js → use-cached-selected-values.DditZmZy.js} +92 -77
- package/dist/chunks/use-cached-selected-values.DditZmZy.js.map +1 -0
- package/dist/chunks/{warning-filled.Dm_HhqzW.js → warning-filled.CKoabS8f.js} +4 -4
- package/dist/chunks/{warning-filled.Dm_HhqzW.js.map → warning-filled.CKoabS8f.js.map} +1 -1
- package/dist/code-snippet.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/filter-bar.js +1 -1
- package/dist/form-layout.js +1 -1
- package/dist/header.js +1 -1
- package/dist/index.js +50 -50
- package/dist/info-icon.js +1 -1
- package/dist/input-field.js +1 -1
- package/dist/inspector.js +1 -1
- package/dist/internal.js +7 -7
- 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/popover.js +1 -1
- package/dist/radio-group.js +1 -1
- package/dist/search-bar.js +2 -2
- package/dist/secondary-nav.js +1 -1
- package/dist/selection-card.js +1 -1
- package/dist/sidepanel.js +1 -1
- package/dist/stepper.js +1 -1
- package/dist/structured-list.js +1 -1
- package/dist/styles/bento.css +3 -0
- package/dist/styles/legacy.css +3 -0
- package/dist/styles/styleguide.css +3 -0
- package/dist/summary-grid.js +1 -1
- package/dist/tabs.js +1 -1
- package/dist/textarea.js +1 -1
- package/dist/timeline.js +1 -1
- package/dist/toast.js +1 -1
- package/dist/toggle.js +1 -1
- package/dist/tutorial.js +1 -1
- package/dist/web-types.json +1 -1
- package/package.json +4 -4
- package/dist/chunks/accordion-item.CQ8DLt9l.js +0 -126
- package/dist/chunks/accordion-item.CQ8DLt9l.js.map +0 -1
- package/dist/chunks/alert.Bz4tNKDH.js.map +0 -1
- package/dist/chunks/avatar.mNlMngHQ.js.map +0 -1
- package/dist/chunks/calendar.D--sOCBT.js.map +0 -1
- package/dist/chunks/card.BvSoujBc.js.map +0 -1
- package/dist/chunks/checkbox-input.JdcvpfTa.js.map +0 -1
- package/dist/chunks/checkmark-circle-fill.ChV7Jy6r.js.map +0 -1
- package/dist/chunks/checkmark-small.DEc2T64_.js.map +0 -1
- package/dist/chunks/chevron-left.NvV5m76j.js.map +0 -1
- package/dist/chunks/chevron-up.DQZG_BP3.js.map +0 -1
- package/dist/chunks/code-snippet.BWM5w4CP.js.map +0 -1
- package/dist/chunks/copy.h-wVGvID.js.map +0 -1
- package/dist/chunks/cross-circle-fill-small.BXO78Wde.js.map +0 -1
- package/dist/chunks/cross-circle-fill.DN5b3_eL.js.map +0 -1
- package/dist/chunks/cross-small.CXWTuKA_.js.map +0 -1
- package/dist/chunks/cross.OvPfvoqX.js.map +0 -1
- package/dist/chunks/data-grid.DUwLxtW_.js.map +0 -1
- package/dist/chunks/date-picker.21z_Sw4V.js.map +0 -1
- package/dist/chunks/date-range-picker.K2TeW8aX.js.map +0 -1
- package/dist/chunks/dialog-page.DALFn9KR.js.map +0 -1
- package/dist/chunks/dropdown.ex87AZ7s.js.map +0 -1
- package/dist/chunks/expand.CgwNEbbz.js.map +0 -1
- package/dist/chunks/filter-bar.BAmG-yML.js.map +0 -1
- package/dist/chunks/index.B_UZQ6qF.js.map +0 -1
- package/dist/chunks/loading-button.Mx-oDIGy.js +0 -123
- package/dist/chunks/loading-button.Mx-oDIGy.js.map +0 -1
- package/dist/chunks/menu.CLicp_2I.js.map +0 -1
- package/dist/chunks/modal.vue_vue_type_script_setup_true_lang.Dzmth-oW.js.map +0 -1
- package/dist/chunks/pagination.I5w8bpUS.js.map +0 -1
- package/dist/chunks/refresh.DvQeGwUF.js.map +0 -1
- package/dist/chunks/step.ClnCjesW.js.map +0 -1
- package/dist/chunks/timeline-item.D-Yy2qQr.js.map +0 -1
- package/dist/chunks/tutorial.vue_vue_type_script_setup_true_lang.D-ZFDn95.js.map +0 -1
- package/dist/chunks/use-cached-selected-values.ClVxNmUf.js.map +0 -1
- /package/dist/assets/{cross.css → main.css} +0 -0
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
import { computed as v, ref as
|
|
1
|
+
import { computed as v, ref as P, onMounted as Oe, onUnmounted as Fe, watch as Ie, defineComponent as W, resolveComponent as L, openBlock as f, createElementBlock as _, createVNode as B, withCtx as T, createTextVNode as G, toDisplayString as w, createElementVNode as K, renderSlot as z, mergeProps as U, withKeys as ve, createCommentVNode as Y, createBlock as D, withModifiers as Ye, normalizeProps as ee, guardReactiveProps as ne, withDirectives as ae, vShow as Ae, toRef as se, resolveDirective as pe, toHandlers as te, Fragment as J, renderList as x, createSlots as ie, normalizeClass as fe, unref as ce, normalizeStyle as Ke } from "vue";
|
|
2
2
|
import { B as F, a as Se } from "./keyboard-navigation.Clz1jOaA.js";
|
|
3
|
-
import { B as
|
|
3
|
+
import { B as Z } from "./typography.z9P0Ec3Q.js";
|
|
4
4
|
import { B as qe } from "./loading-indicator.BFMEf39U.js";
|
|
5
5
|
import { B as We } from "./empty-state.CyEWCcDk.js";
|
|
6
6
|
import { u as ue } from "./i18n.DL9GT2-k.js";
|
|
7
7
|
import { d as je } from "./debounce.DUTu11PS.js";
|
|
8
8
|
import { _ as q } from "./_plugin-vue_export-helper.CHgC5LLL.js";
|
|
9
|
-
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
9
|
+
/* empty css */
|
|
10
|
+
import { B as Ce } from "./checkbox.BnYx06nC.js";
|
|
11
|
+
import { a as He, C as Xe } from "./chevron-up.zKonWHVc.js";
|
|
12
|
+
import { B as Je } from "./base-button.BxUrydaP.js";
|
|
13
|
+
import { C as Ze } from "./cross-small.DvCEQd10.js";
|
|
14
|
+
import { B as Qe, a as he } from "./loading-button.BU536EK4.js";
|
|
14
15
|
import { o as et } from "./resize.Bqks3WUm.js";
|
|
15
16
|
import "../assets/use-cached-selected-values.css";
|
|
16
17
|
const $e = (e, t, a, c) => {
|
|
@@ -32,7 +33,7 @@ const $e = (e, t, a, c) => {
|
|
|
32
33
|
};
|
|
33
34
|
};
|
|
34
35
|
function tt(e, { disabled: t, itemHeight: a, overscan: c = 5, prefixHeight: u }) {
|
|
35
|
-
const n =
|
|
36
|
+
const n = P(null), s = P([]), l = P(0), r = P(0), i = P(0);
|
|
36
37
|
let y;
|
|
37
38
|
const o = v(() => {
|
|
38
39
|
const C = typeof a == "number" ? e.value.length * a : e.value.reduce((k, S, I) => k + a(I), 0), O = typeof a == "number" ? l.value * a : e.value.slice(0, l.value).reduce((k, S, I) => k + a(I), 0);
|
|
@@ -71,7 +72,7 @@ function tt(e, { disabled: t, itemHeight: a, overscan: c = 5, prefixHeight: u })
|
|
|
71
72
|
const C = R();
|
|
72
73
|
l.value = d(), r.value = Math.min(l.value + C + c, e.value.length), s.value = e.value.slice(l.value, r.value);
|
|
73
74
|
}
|
|
74
|
-
},
|
|
75
|
+
}, M = () => {
|
|
75
76
|
$();
|
|
76
77
|
};
|
|
77
78
|
t || (Oe(() => {
|
|
@@ -100,7 +101,7 @@ function tt(e, { disabled: t, itemHeight: a, overscan: c = 5, prefixHeight: u })
|
|
|
100
101
|
} : {
|
|
101
102
|
containerRef: n,
|
|
102
103
|
containerProps: m,
|
|
103
|
-
onScroll:
|
|
104
|
+
onScroll: M,
|
|
104
105
|
list: s,
|
|
105
106
|
wrapperProps: o
|
|
106
107
|
};
|
|
@@ -109,7 +110,7 @@ var b = /* @__PURE__ */ ((e) => (e.SELECT = "select", e.SHOW_MORE = "show-more",
|
|
|
109
110
|
const st = W({
|
|
110
111
|
name: "bento-listbox-static-category",
|
|
111
112
|
components: {
|
|
112
|
-
BentoTypography:
|
|
113
|
+
BentoTypography: Z
|
|
113
114
|
},
|
|
114
115
|
props: {
|
|
115
116
|
/**
|
|
@@ -214,7 +215,7 @@ const dt = /* @__PURE__ */ q(rt, [["render", ut]]), bt = W({
|
|
|
214
215
|
name: "bento-listbox-single-select-option",
|
|
215
216
|
components: {
|
|
216
217
|
BentoListboxOption: de,
|
|
217
|
-
BentoTypography:
|
|
218
|
+
BentoTypography: Z,
|
|
218
219
|
CheckmarkIcon: dt
|
|
219
220
|
},
|
|
220
221
|
props: {
|
|
@@ -299,7 +300,7 @@ function ft(e, t, a, c, u, n) {
|
|
|
299
300
|
const gt = /* @__PURE__ */ q(bt, [["render", ft], ["__scopeId", "data-v-226f4c84"]]), ke = ({ items: e, isOptionDisabled: t, hasStaticCategories: a }, c) => {
|
|
300
301
|
const u = v(
|
|
301
302
|
() => a.value ? e.value.flatMap((m) => m.items) : e.value
|
|
302
|
-
), n = v(() => u.value.length - 1), s =
|
|
303
|
+
), n = v(() => u.value.length - 1), s = P(0);
|
|
303
304
|
Oe(() => {
|
|
304
305
|
t && (s.value = e.value.findIndex((m) => !t(m)));
|
|
305
306
|
});
|
|
@@ -403,7 +404,7 @@ const gt = /* @__PURE__ */ q(bt, [["render", ft], ["__scopeId", "data-v-226f4c84
|
|
|
403
404
|
},
|
|
404
405
|
emits: [b.SELECT, b.ENTER, b.SPACE, b.TAB],
|
|
405
406
|
setup(e, { emit: t, expose: a, slots: c }) {
|
|
406
|
-
const u =
|
|
407
|
+
const u = P([]), n = v(() => {
|
|
407
408
|
var m;
|
|
408
409
|
return !!((m = e.selectedValue) != null && m.length) && e.selectedValue.at(0);
|
|
409
410
|
}), s = v(() => !!e.items.some(({ items: m }) => !!m)), l = (m) => (C) => {
|
|
@@ -426,7 +427,7 @@ const gt = /* @__PURE__ */ q(bt, [["render", ft], ["__scopeId", "data-v-226f4c84
|
|
|
426
427
|
[F.ARROW_DOWN]: i,
|
|
427
428
|
[F.HOME]: o,
|
|
428
429
|
[F.END]: d
|
|
429
|
-
},
|
|
430
|
+
}, M = {
|
|
430
431
|
[b.SELECT]: l(b.SELECT),
|
|
431
432
|
[b.SPACE]: l(b.SPACE),
|
|
432
433
|
[b.TAB]: l(b.TAB),
|
|
@@ -456,20 +457,20 @@ const gt = /* @__PURE__ */ q(bt, [["render", ft], ["__scopeId", "data-v-226f4c84
|
|
|
456
457
|
onOptionSelected: l,
|
|
457
458
|
// Keyboard navigation
|
|
458
459
|
listboxListeners: $,
|
|
459
|
-
listboxOptionListeners:
|
|
460
|
+
listboxOptionListeners: M
|
|
460
461
|
};
|
|
461
462
|
}
|
|
462
463
|
});
|
|
463
464
|
function pt(e, t, a, c, u, n) {
|
|
464
465
|
const s = L("bento-listbox-single-select-option"), l = L("bento-listbox-single-select-category"), r = pe("bento-keyboard-navigation-directive");
|
|
465
466
|
return ae((f(), _("div", te(e.listboxListeners, !0), [
|
|
466
|
-
e.hasCategories && e.staticCategories ? (f(!0), _(
|
|
467
|
+
e.hasCategories && e.staticCategories ? (f(!0), _(J, { key: 0 }, x(e.items, (i) => (f(), D(l, {
|
|
467
468
|
key: i.value,
|
|
468
469
|
"category-label": i.label,
|
|
469
470
|
role: "group"
|
|
470
471
|
}, {
|
|
471
472
|
default: T(() => [
|
|
472
|
-
(f(!0), _(
|
|
473
|
+
(f(!0), _(J, null, x(i.items, (y) => (f(), D(s, U({
|
|
473
474
|
key: y.value,
|
|
474
475
|
ref_for: !0,
|
|
475
476
|
ref: "listboxItemRef",
|
|
@@ -487,7 +488,7 @@ function pt(e, t, a, c, u, n) {
|
|
|
487
488
|
]), 1040, ["option", "disabled", "selected"]))), 128))
|
|
488
489
|
]),
|
|
489
490
|
_: 2
|
|
490
|
-
}, 1032, ["category-label"]))), 128)) : (f(!0), _(
|
|
491
|
+
}, 1032, ["category-label"]))), 128)) : (f(!0), _(J, { key: 1 }, x(e.items, (i) => (f(), D(s, U({
|
|
491
492
|
key: i.value,
|
|
492
493
|
ref_for: !0,
|
|
493
494
|
ref: "listboxItemRef",
|
|
@@ -519,7 +520,7 @@ const Ct = {
|
|
|
519
520
|
name: "bento-listbox-multi-select-category",
|
|
520
521
|
components: {
|
|
521
522
|
BentoCheckbox: Ce,
|
|
522
|
-
BentoTypography:
|
|
523
|
+
BentoTypography: Z,
|
|
523
524
|
BentoListboxOption: de,
|
|
524
525
|
ChevronDownIcon: He,
|
|
525
526
|
ChevronUpIcon: Xe
|
|
@@ -565,7 +566,7 @@ const Ct = {
|
|
|
565
566
|
},
|
|
566
567
|
emits: [oe.SELECT_CATEGORY, oe.UNSELECT_CATEGORY],
|
|
567
568
|
setup(e, { emit: t }) {
|
|
568
|
-
const a =
|
|
569
|
+
const a = P(!1), { t: c } = ue(), u = (S) => e.isOptionDisabled ? e.isOptionDisabled(S) : !1, n = v(
|
|
569
570
|
() => e.category.items.every((S) => u(S))
|
|
570
571
|
), s = se(e, "staticCategories"), l = v(() => a.value || e.staticCategories), r = v(() => ({
|
|
571
572
|
[`b-listbox-multi-select-category--${ge.DISABLED}`]: n.value,
|
|
@@ -599,14 +600,14 @@ const Ct = {
|
|
|
599
600
|
el: "span",
|
|
600
601
|
variant: e.staticCategories ? "caption" : "body"
|
|
601
602
|
})
|
|
602
|
-
),
|
|
603
|
+
), M = () => {
|
|
603
604
|
t(oe.SELECT_CATEGORY);
|
|
604
605
|
}, m = () => {
|
|
605
606
|
t(oe.UNSELECT_CATEGORY);
|
|
606
607
|
}, { isAllSelected: C, isIndeterminate: O, toggleSelectAll: k } = $e(
|
|
607
608
|
d,
|
|
608
609
|
o,
|
|
609
|
-
|
|
610
|
+
M,
|
|
610
611
|
m
|
|
611
612
|
);
|
|
612
613
|
return {
|
|
@@ -682,7 +683,7 @@ const _t = W({
|
|
|
682
683
|
components: {
|
|
683
684
|
BentoCheckbox: Ce,
|
|
684
685
|
BentoListboxOption: de,
|
|
685
|
-
BentoTypography:
|
|
686
|
+
BentoTypography: Z,
|
|
686
687
|
ListboxMultiSelectCategory: Tt
|
|
687
688
|
},
|
|
688
689
|
props: {
|
|
@@ -776,7 +777,7 @@ const _t = W({
|
|
|
776
777
|
function At(e, t, a, c, u, n) {
|
|
777
778
|
const s = L("bento-checkbox"), l = L("bento-typography"), r = L("bento-listbox-option"), i = L("listbox-multi-select-options", !0), y = L("listbox-multi-select-category");
|
|
778
779
|
return f(), _("div", null, [
|
|
779
|
-
(f(!0), _(
|
|
780
|
+
(f(!0), _(J, null, x(e.items, (o) => (f(), _("div", {
|
|
780
781
|
key: `selected-${o.value}`
|
|
781
782
|
}, [
|
|
782
783
|
e.searching && e.isMultiLevel ? (f(), D(r, {
|
|
@@ -814,7 +815,7 @@ function At(e, t, a, c, u, n) {
|
|
|
814
815
|
], !0)
|
|
815
816
|
]),
|
|
816
817
|
_: 2
|
|
817
|
-
}, 1032, ["class", "disabled"])) : (f(), _(
|
|
818
|
+
}, 1032, ["class", "disabled"])) : (f(), _(J, { key: 1 }, [
|
|
818
819
|
o.items ? (f(), D(y, {
|
|
819
820
|
key: 0,
|
|
820
821
|
category: o,
|
|
@@ -880,6 +881,12 @@ function At(e, t, a, c, u, n) {
|
|
|
880
881
|
const $t = /* @__PURE__ */ q(_t, [["render", At], ["__scopeId", "data-v-25938a72"]]), Be = {
|
|
881
882
|
"en-US": {
|
|
882
883
|
remove: "Remove"
|
|
884
|
+
},
|
|
885
|
+
"pt-BR": {
|
|
886
|
+
remove: "Remover"
|
|
887
|
+
},
|
|
888
|
+
"ja-JP": {
|
|
889
|
+
remove: "削除"
|
|
883
890
|
}
|
|
884
891
|
}, kt = { class: "b-listbox-multi-select-chips" }, Bt = {
|
|
885
892
|
i18n: { messages: Be }
|
|
@@ -910,21 +917,21 @@ const $t = /* @__PURE__ */ q(_t, [["render", At], ["__scopeId", "data-v-25938a72
|
|
|
910
917
|
setup(e, { emit: t }) {
|
|
911
918
|
const a = t, { t: c } = ue({ messages: Be }), u = (n) => n.items ? a("unselect-category", n) : a("unselect-item", n);
|
|
912
919
|
return (n, s) => (f(), _("div", kt, [
|
|
913
|
-
(f(!0), _(
|
|
920
|
+
(f(!0), _(J, null, x(e.items, (l) => (f(), _("div", {
|
|
914
921
|
key: `selected-${l.value}`
|
|
915
922
|
}, [
|
|
916
|
-
B(ce(
|
|
923
|
+
B(ce(Je), {
|
|
917
924
|
class: "b-listbox-multi-select-chips__chip",
|
|
918
925
|
disabled: e.isOptionDisabled ? e.isOptionDisabled(l) : null,
|
|
919
926
|
onClick: (r) => u(l)
|
|
920
927
|
}, {
|
|
921
928
|
iconRight: T(() => [
|
|
922
|
-
B(ce(
|
|
929
|
+
B(ce(Ze), {
|
|
923
930
|
"svg-title": ce(c)("remove")
|
|
924
931
|
}, null, 8, ["svg-title"])
|
|
925
932
|
]),
|
|
926
933
|
default: T(() => [
|
|
927
|
-
B(ce(
|
|
934
|
+
B(ce(Z), {
|
|
928
935
|
el: "span",
|
|
929
936
|
variant: "caption",
|
|
930
937
|
class: "b-listbox-multi-select-chips__option-text"
|
|
@@ -947,7 +954,7 @@ const $t = /* @__PURE__ */ q(_t, [["render", At], ["__scopeId", "data-v-25938a72
|
|
|
947
954
|
numbersSelected: "{number} selected",
|
|
948
955
|
selectAll: "Select all ({total})"
|
|
949
956
|
}
|
|
950
|
-
},
|
|
957
|
+
}, Mt = (e) => {
|
|
951
958
|
const t = v(() => {
|
|
952
959
|
var c;
|
|
953
960
|
return !!((c = e.value) != null && c.find(({ items: u }) => !!u));
|
|
@@ -959,13 +966,13 @@ const $t = /* @__PURE__ */ q(_t, [["render", At], ["__scopeId", "data-v-25938a72
|
|
|
959
966
|
isMultiLevelSelect: t,
|
|
960
967
|
flattenedItemsList: a
|
|
961
968
|
};
|
|
962
|
-
},
|
|
969
|
+
}, Pt = W({
|
|
963
970
|
i18n: { messages: Le },
|
|
964
971
|
name: "bento-listbox-multi-select",
|
|
965
972
|
components: {
|
|
966
973
|
BentoCheckbox: Ce,
|
|
967
974
|
BentoListboxOption: de,
|
|
968
|
-
BentoTypography:
|
|
975
|
+
BentoTypography: Z,
|
|
969
976
|
ListboxMultiSelectOptions: $t,
|
|
970
977
|
ListboxMultiSelectChips: Dt
|
|
971
978
|
},
|
|
@@ -1031,9 +1038,9 @@ const $t = /* @__PURE__ */ q(_t, [["render", At], ["__scopeId", "data-v-25938a72
|
|
|
1031
1038
|
},
|
|
1032
1039
|
emits: [b.SELECT],
|
|
1033
1040
|
setup(e, { emit: t, slots: a }) {
|
|
1034
|
-
const { t: c } = ue({ messages: Le }), u =
|
|
1041
|
+
const { t: c } = ue({ messages: Le }), u = P(null), n = P(null), s = P(null), l = v(
|
|
1035
1042
|
() => e.selectedValues.map(({ value: g }) => g)
|
|
1036
|
-
), { isMultiLevelSelect: r, flattenedItemsList: i } =
|
|
1043
|
+
), { isMultiLevelSelect: r, flattenedItemsList: i } = Mt(se(e, "items")), y = (g) => {
|
|
1037
1044
|
var A;
|
|
1038
1045
|
const p = e.isOptionDisabled(g), h = ((A = l.value) == null ? void 0 : A.includes(g.value)) || !1;
|
|
1039
1046
|
return { isDisabled: p, isPreSelected: h };
|
|
@@ -1061,7 +1068,7 @@ const $t = /* @__PURE__ */ q(_t, [["render", At], ["__scopeId", "data-v-25938a72
|
|
|
1061
1068
|
var A;
|
|
1062
1069
|
const g = o.value.length, p = R(), h = ((A = d.value) == null ? void 0 : A.length) || 0;
|
|
1063
1070
|
return h === 0 ? c("selectAll", { total: g }) : h === p ? c("allSelected", { total: p }) : h <= p ? c("numberOfTotalSelected", { number: h, total: p }) : c("numbersSelected", { number: h });
|
|
1064
|
-
}),
|
|
1071
|
+
}), M = (g) => {
|
|
1065
1072
|
const p = (A) => {
|
|
1066
1073
|
const { isDisabled: E, isPreSelected: j } = y(A);
|
|
1067
1074
|
return E && j || !E;
|
|
@@ -1074,7 +1081,7 @@ const $t = /* @__PURE__ */ q(_t, [["render", At], ["__scopeId", "data-v-25938a72
|
|
|
1074
1081
|
}, h = g.filter(p).map(({ value: E }) => E), A = e.selectedValues.filter((E) => !(h != null && h.includes(E.value)));
|
|
1075
1082
|
t(b.SELECT, A);
|
|
1076
1083
|
}, C = () => {
|
|
1077
|
-
|
|
1084
|
+
M(i.value);
|
|
1078
1085
|
}, O = () => {
|
|
1079
1086
|
m(i.value);
|
|
1080
1087
|
}, { isAllSelected: k, isIndeterminate: S, toggleSelectAll: I } = $e(
|
|
@@ -1083,7 +1090,7 @@ const $t = /* @__PURE__ */ q(_t, [["render", At], ["__scopeId", "data-v-25938a72
|
|
|
1083
1090
|
C,
|
|
1084
1091
|
O
|
|
1085
1092
|
), V = (g) => {
|
|
1086
|
-
|
|
1093
|
+
M(g.items);
|
|
1087
1094
|
}, Q = (g) => {
|
|
1088
1095
|
m(g.items);
|
|
1089
1096
|
}, be = (g, p) => {
|
|
@@ -1101,7 +1108,7 @@ const $t = /* @__PURE__ */ q(_t, [["render", At], ["__scopeId", "data-v-25938a72
|
|
|
1101
1108
|
var h, A, E, j;
|
|
1102
1109
|
const g = ["automatic", "button"].includes(e.lazyLoadType), p = ((h = e.selectedValues) == null ? void 0 : h.length) > 0 && ((A = d.value) == null ? void 0 : A.length) !== ((E = i.value) == null ? void 0 : E.length);
|
|
1103
1110
|
return g && e.hasMoreItems ? !!((j = e.selectedValues) != null && j.length) : p;
|
|
1104
|
-
}),
|
|
1111
|
+
}), N = v(() => ["automatic", "button"].includes(e.lazyLoadType) ? !e.hasMoreItems : !0), le = v(
|
|
1105
1112
|
() => u.value ? [u.value] : []
|
|
1106
1113
|
), Re = v(
|
|
1107
1114
|
() => {
|
|
@@ -1113,11 +1120,11 @@ const $t = /* @__PURE__ */ q(_t, [["render", At], ["__scopeId", "data-v-25938a72
|
|
|
1113
1120
|
var g, p;
|
|
1114
1121
|
return (p = (g = s.value) == null ? void 0 : g.$children) != null && p.length ? s.value.$children : [];
|
|
1115
1122
|
}
|
|
1116
|
-
),
|
|
1117
|
-
|
|
1123
|
+
), Me = v(() => ({ label: $, value: k })), Pe = v(() => [
|
|
1124
|
+
Me,
|
|
1118
1125
|
...re.value,
|
|
1119
1126
|
...i.value
|
|
1120
|
-
]),
|
|
1127
|
+
]), Ne = (g) => {
|
|
1121
1128
|
[
|
|
1122
1129
|
...le.value,
|
|
1123
1130
|
...Re.value,
|
|
@@ -1125,11 +1132,11 @@ const $t = /* @__PURE__ */ q(_t, [["render", At], ["__scopeId", "data-v-25938a72
|
|
|
1125
1132
|
][g].$el.focus();
|
|
1126
1133
|
}, { moveToNextElement: we, moveToPreviousElement: Ue, moveToFirstElement: Ve, moveToLastElement: Ge } = ke(
|
|
1127
1134
|
{
|
|
1128
|
-
items:
|
|
1135
|
+
items: P(Pe),
|
|
1129
1136
|
isOptionDisabled: e.isOptionDisabled,
|
|
1130
1137
|
hasStaticCategories: se(e, "staticCategories")
|
|
1131
1138
|
},
|
|
1132
|
-
|
|
1139
|
+
Ne
|
|
1133
1140
|
), ze = {
|
|
1134
1141
|
[F.ARROW_UP]: (g) => Ue(g),
|
|
1135
1142
|
[F.ARROW_DOWN]: (g) => we(g),
|
|
@@ -1150,7 +1157,7 @@ const $t = /* @__PURE__ */ q(_t, [["render", At], ["__scopeId", "data-v-25938a72
|
|
|
1150
1157
|
selectedItemsList: l,
|
|
1151
1158
|
selectAllCheckboxText: $,
|
|
1152
1159
|
selectedOptions: re,
|
|
1153
|
-
showSelectAllCheckbox:
|
|
1160
|
+
showSelectAllCheckbox: N,
|
|
1154
1161
|
slots: a,
|
|
1155
1162
|
// Enums
|
|
1156
1163
|
BentoListboxEvent: b,
|
|
@@ -1163,7 +1170,7 @@ const $t = /* @__PURE__ */ q(_t, [["render", At], ["__scopeId", "data-v-25938a72
|
|
|
1163
1170
|
listboxListeners: ze
|
|
1164
1171
|
};
|
|
1165
1172
|
}
|
|
1166
|
-
}),
|
|
1173
|
+
}), Nt = {
|
|
1167
1174
|
key: 1,
|
|
1168
1175
|
class: "b-listbox-multi-select__divider"
|
|
1169
1176
|
}, wt = { key: 2 };
|
|
@@ -1194,7 +1201,7 @@ function Ut(e, t, a, c, u, n) {
|
|
|
1194
1201
|
]),
|
|
1195
1202
|
_: 1
|
|
1196
1203
|
}, 512)) : Y("", !0),
|
|
1197
|
-
e.showSelectAllCheckbox ? (f(), _("hr",
|
|
1204
|
+
e.showSelectAllCheckbox ? (f(), _("hr", Nt)) : Y("", !0),
|
|
1198
1205
|
e.showSelectedItems ? (f(), _("div", wt, [
|
|
1199
1206
|
B(i, {
|
|
1200
1207
|
ref: "selectedListboxItemsRef",
|
|
@@ -1231,10 +1238,18 @@ function Ut(e, t, a, c, u, n) {
|
|
|
1231
1238
|
[o]
|
|
1232
1239
|
]);
|
|
1233
1240
|
}
|
|
1234
|
-
const Te = /* @__PURE__ */ q(
|
|
1241
|
+
const Te = /* @__PURE__ */ q(Pt, [["render", Ut], ["__scopeId", "data-v-282f5857"]]), _e = {
|
|
1235
1242
|
"en-US": {
|
|
1236
|
-
|
|
1237
|
-
|
|
1243
|
+
loading: "Loading",
|
|
1244
|
+
showMore: "Show more"
|
|
1245
|
+
},
|
|
1246
|
+
"pt-BR": {
|
|
1247
|
+
loading: "Carregando",
|
|
1248
|
+
showMore: "Mostrar mais"
|
|
1249
|
+
},
|
|
1250
|
+
"ja-JP": {
|
|
1251
|
+
loading: "読み込み中",
|
|
1252
|
+
showMore: "表示内容を増やす"
|
|
1238
1253
|
}
|
|
1239
1254
|
}, Vt = 36, Gt = W({
|
|
1240
1255
|
name: "bento-listbox",
|
|
@@ -1242,7 +1257,7 @@ const Te = /* @__PURE__ */ q(Mt, [["render", Ut], ["__scopeId", "data-v-282f5857
|
|
|
1242
1257
|
BentoEmptyState: We,
|
|
1243
1258
|
BentoListboxSingleSelect: St,
|
|
1244
1259
|
BentoListboxMultiSelect: Te,
|
|
1245
|
-
BentoTypography:
|
|
1260
|
+
BentoTypography: Z,
|
|
1246
1261
|
BentoLoadingIndicator: qe,
|
|
1247
1262
|
BentoLoadingButton: Qe
|
|
1248
1263
|
},
|
|
@@ -1352,9 +1367,9 @@ const Te = /* @__PURE__ */ q(Mt, [["render", Ut], ["__scopeId", "data-v-282f5857
|
|
|
1352
1367
|
b.TAB
|
|
1353
1368
|
],
|
|
1354
1369
|
setup(e, { emit: t, slots: a }) {
|
|
1355
|
-
const c =
|
|
1356
|
-
var
|
|
1357
|
-
return typeof (e == null ? void 0 : e.virtualScroll) == "object" && ((
|
|
1370
|
+
const c = P([]), u = se(e, "items"), { t: n } = ue({ messages: _e }), s = v(() => e.lazyLoadType !== X.AUTOMATIC), l = v(() => e.lazyLoadType === X.AUTOMATIC), r = () => {
|
|
1371
|
+
var N;
|
|
1372
|
+
return typeof (e == null ? void 0 : e.virtualScroll) == "object" && ((N = e == null ? void 0 : e.virtualScroll) != null && N.itemHeight) ? e.virtualScroll.itemHeight : Vt;
|
|
1358
1373
|
}, {
|
|
1359
1374
|
containerRef: i,
|
|
1360
1375
|
containerProps: y,
|
|
@@ -1367,25 +1382,25 @@ const Te = /* @__PURE__ */ q(Mt, [["render", Ut], ["__scopeId", "data-v-282f5857
|
|
|
1367
1382
|
disabled: (e == null ? void 0 : e.multiple) || (e == null ? void 0 : e.virtualScroll) === !1 || (e == null ? void 0 : e.lazyLoadType) !== "none"
|
|
1368
1383
|
}), $ = v(
|
|
1369
1384
|
() => s.value ? "true" : void 0
|
|
1370
|
-
),
|
|
1385
|
+
), M = v(
|
|
1371
1386
|
() => s.value && e.loading ? "true" : "false"
|
|
1372
1387
|
), m = v(
|
|
1373
1388
|
() => s.value ? "polite" : void 0
|
|
1374
|
-
), C = (
|
|
1375
|
-
t(
|
|
1389
|
+
), C = (N) => (le) => {
|
|
1390
|
+
t(N, le);
|
|
1376
1391
|
}, O = () => {
|
|
1377
1392
|
t(b.SHOW_MORE);
|
|
1378
1393
|
}, k = je(() => {
|
|
1379
|
-
const
|
|
1380
|
-
if (!
|
|
1394
|
+
const N = i.value;
|
|
1395
|
+
if (!N)
|
|
1381
1396
|
return;
|
|
1382
|
-
const le = Math.round(
|
|
1397
|
+
const le = Math.round(N.scrollTop) + N.clientHeight >= N.scrollHeight;
|
|
1383
1398
|
e.hasMoreItems && le && !e.loading && O();
|
|
1384
1399
|
}), S = () => {
|
|
1385
1400
|
l.value ? k() : o();
|
|
1386
1401
|
}, I = v(() => {
|
|
1387
|
-
var
|
|
1388
|
-
return ((
|
|
1402
|
+
var N;
|
|
1403
|
+
return ((N = e.items) == null ? void 0 : N.length) === 0;
|
|
1389
1404
|
}), V = v(
|
|
1390
1405
|
() => e.lazyLoadType === X.BUTTON && e.hasMoreItems
|
|
1391
1406
|
), Q = v(
|
|
@@ -1405,7 +1420,7 @@ const Te = /* @__PURE__ */ q(Mt, [["render", Ut], ["__scopeId", "data-v-282f5857
|
|
|
1405
1420
|
listboxItemRef: c,
|
|
1406
1421
|
// a11y
|
|
1407
1422
|
ariaAtomic: $,
|
|
1408
|
-
ariaBusy:
|
|
1423
|
+
ariaBusy: M,
|
|
1409
1424
|
ariaLive: m,
|
|
1410
1425
|
// Values
|
|
1411
1426
|
containerProps: y,
|
|
@@ -1464,7 +1479,7 @@ function Kt(e, t, a, c, u, n) {
|
|
|
1464
1479
|
]),
|
|
1465
1480
|
_: 1
|
|
1466
1481
|
}))
|
|
1467
|
-
])) : (f(), _(
|
|
1482
|
+
])) : (f(), _(J, { key: 1 }, [
|
|
1468
1483
|
e.multiple ? (f(), D(r, U({
|
|
1469
1484
|
key: 0,
|
|
1470
1485
|
ref: "listboxItemRef",
|
|
@@ -1476,10 +1491,10 @@ function Kt(e, t, a, c, u, n) {
|
|
|
1476
1491
|
searching: e.searching,
|
|
1477
1492
|
"is-option-disabled": e.isOptionDisabled
|
|
1478
1493
|
}, te(e.listboxListeners)), ie({ _: 2 }, [
|
|
1479
|
-
x(e.slots, ($,
|
|
1480
|
-
name:
|
|
1494
|
+
x(e.slots, ($, M) => ({
|
|
1495
|
+
name: M,
|
|
1481
1496
|
fn: T((m) => [
|
|
1482
|
-
z(e.$slots,
|
|
1497
|
+
z(e.$slots, M, ee(ne(m)), void 0, !0)
|
|
1483
1498
|
])
|
|
1484
1499
|
}))
|
|
1485
1500
|
]), 1040, ["has-more-items", "items", "lazy-load-type", "static-categories", "selected-values", "searching", "is-option-disabled"])) : (f(), D(i, U({
|
|
@@ -1490,10 +1505,10 @@ function Kt(e, t, a, c, u, n) {
|
|
|
1490
1505
|
"static-categories": e.staticCategories,
|
|
1491
1506
|
"is-option-disabled": e.isOptionDisabled
|
|
1492
1507
|
}, te(e.listboxListeners)), ie({ _: 2 }, [
|
|
1493
|
-
x(e.slots, ($,
|
|
1494
|
-
name:
|
|
1508
|
+
x(e.slots, ($, M) => ({
|
|
1509
|
+
name: M,
|
|
1495
1510
|
fn: T((m) => [
|
|
1496
|
-
z(e.$slots,
|
|
1511
|
+
z(e.$slots, M, ee(ne(m)), void 0, !0)
|
|
1497
1512
|
])
|
|
1498
1513
|
}))
|
|
1499
1514
|
]), 1040, ["items", "selected-value", "static-categories", "is-option-disabled"])),
|
|
@@ -1517,7 +1532,7 @@ function Kt(e, t, a, c, u, n) {
|
|
|
1517
1532
|
[d]
|
|
1518
1533
|
]);
|
|
1519
1534
|
}
|
|
1520
|
-
const
|
|
1535
|
+
const as = /* @__PURE__ */ q(Gt, [["render", Kt], ["__scopeId", "data-v-c6bccc42"]]), ye = (e, t) => {
|
|
1521
1536
|
for (const a of e) {
|
|
1522
1537
|
if (a.value === t)
|
|
1523
1538
|
return a.label;
|
|
@@ -1525,8 +1540,8 @@ const is = /* @__PURE__ */ q(Gt, [["render", Kt], ["__scopeId", "data-v-c6bccc42
|
|
|
1525
1540
|
return ye(a.items, t);
|
|
1526
1541
|
}
|
|
1527
1542
|
return null;
|
|
1528
|
-
},
|
|
1529
|
-
const c =
|
|
1543
|
+
}, rs = (e, t, a) => {
|
|
1544
|
+
const c = P([]), u = P(), n = (r) => {
|
|
1530
1545
|
u.value = a.value ? r.map(({ value: i }) => i) : r[0].value;
|
|
1531
1546
|
}, s = (r) => {
|
|
1532
1547
|
c.value = r, n(r);
|
|
@@ -1566,8 +1581,8 @@ const is = /* @__PURE__ */ q(Gt, [["render", Kt], ["__scopeId", "data-v-c6bccc42
|
|
|
1566
1581
|
export {
|
|
1567
1582
|
X as B,
|
|
1568
1583
|
b as a,
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1584
|
+
as as b,
|
|
1585
|
+
rs as c,
|
|
1586
|
+
Mt as u
|
|
1572
1587
|
};
|
|
1573
|
-
//# sourceMappingURL=use-cached-selected-values.
|
|
1588
|
+
//# sourceMappingURL=use-cached-selected-values.DditZmZy.js.map
|