@adyen/bento-vue2 1.50.0 → 1.52.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/@types/index.d.ts +513 -608
- package/dist/accordion.js +1 -1
- package/dist/action-bar.js +1 -1
- package/dist/alert.js +1 -1
- package/dist/assets/accordion-item.css +1 -1
- package/dist/assets/action-bar.css +1 -1
- package/dist/assets/alert.css +1 -1
- package/dist/assets/base-modal.css +1 -1
- package/dist/assets/button-actions-with-menu.css +1 -1
- package/dist/assets/calendar.css +1 -1
- package/dist/assets/card.css +1 -1
- package/dist/assets/checkbox-input.css +1 -1
- package/dist/assets/checkbox.css +1 -1
- package/dist/assets/copy.css +1 -1
- package/dist/assets/data-grid.css +1 -1
- package/dist/assets/date-picker.css +1 -1
- package/dist/assets/date-range-picker.css +1 -1
- package/dist/assets/dialog-page.css +1 -1
- package/dist/assets/dropdown.css +1 -1
- package/dist/assets/file-uploader.css +1 -1
- package/dist/assets/filter-bar.css +1 -1
- package/dist/assets/form-layout-title.css +1 -1
- package/dist/assets/input-field-password.css +1 -1
- package/dist/assets/input-field-phone-number.css +1 -1
- package/dist/assets/input-field.css +1 -1
- package/dist/assets/inspector.css +1 -1
- package/dist/assets/link.css +1 -1
- package/dist/assets/menu.css +1 -1
- package/dist/assets/modal-fullscreen.css +1 -1
- package/dist/assets/pagination.css +1 -1
- package/dist/assets/payment-method.css +1 -1
- package/dist/assets/popover.css +1 -1
- package/dist/assets/search-bar.css +1 -1
- package/dist/assets/sidepanel.css +1 -1
- package/dist/assets/timeline-item.css +1 -1
- package/dist/assets/tutorial.css +1 -1
- package/dist/assets/use-cached-selected-values.css +1 -1
- package/dist/button.js +3 -3
- package/dist/card.js +1 -1
- package/dist/checkbox.js +3 -3
- package/dist/chip.js +1 -1
- package/dist/chunks/{accordion-item.CTxrEQEW.js → accordion-item.C4tyRMCt.js} +2 -2
- package/dist/chunks/{accordion-item.CTxrEQEW.js.map → accordion-item.C4tyRMCt.js.map} +1 -1
- package/dist/chunks/{action-bar.CGJJrMpa.js → action-bar.DuJkjAt1.js} +7 -7
- package/dist/chunks/{action-bar.CGJJrMpa.js.map → action-bar.DuJkjAt1.js.map} +1 -1
- package/dist/chunks/{alert.hiTIDSeX.js → alert.BkMKX9wD.js} +15 -14
- package/dist/chunks/alert.BkMKX9wD.js.map +1 -0
- package/dist/chunks/{base-modal.8kcvtFRx.js → base-modal.CiTysydg.js} +6 -6
- package/dist/chunks/{base-modal.8kcvtFRx.js.map → base-modal.CiTysydg.js.map} +1 -1
- package/dist/chunks/button-actions-with-menu.B9oXYIgo.js +166 -0
- package/dist/chunks/button-actions-with-menu.B9oXYIgo.js.map +1 -0
- package/dist/chunks/{button-actions.BovYBINL.js → button-actions.DAvSJtOB.js} +4 -4
- package/dist/chunks/{button-actions.BovYBINL.js.map → button-actions.DAvSJtOB.js.map} +1 -1
- package/dist/chunks/{button.CdAFZa4V.js → button.D-3uUhuG.js} +2 -2
- package/dist/chunks/{button.CdAFZa4V.js.map → button.D-3uUhuG.js.map} +1 -1
- package/dist/chunks/calendar.Bq67h02Z.js +1130 -0
- package/dist/chunks/calendar.Bq67h02Z.js.map +1 -0
- package/dist/chunks/{card.D-w9c3-n.js → card.AQO_BjGb.js} +3 -3
- package/dist/chunks/{card.D-w9c3-n.js.map → card.AQO_BjGb.js.map} +1 -1
- package/dist/chunks/{checkbox-group.wa6Mtmxa.js → checkbox-group.CqSIn-lG.js} +4 -4
- package/dist/chunks/{checkbox-group.wa6Mtmxa.js.map → checkbox-group.CqSIn-lG.js.map} +1 -1
- package/dist/chunks/checkbox-input.CMhyJDdo.js +129 -0
- package/dist/chunks/checkbox-input.CMhyJDdo.js.map +1 -0
- package/dist/chunks/checkbox.BeYtbfPv.js +170 -0
- package/dist/chunks/checkbox.BeYtbfPv.js.map +1 -0
- package/dist/chunks/checkmark-circle-fill.DZBl7CeY.js +24 -0
- package/dist/chunks/checkmark-circle-fill.DZBl7CeY.js.map +1 -0
- package/dist/chunks/{checkmark-small.BtF8b2gE.js → checkmark-small.C8T8ISN6.js} +4 -4
- package/dist/chunks/checkmark-small.C8T8ISN6.js.map +1 -0
- package/dist/chunks/{chevron-left.PIu6yPqe.js → chevron-left.DOMTgGel.js} +6 -6
- package/dist/chunks/chevron-left.DOMTgGel.js.map +1 -0
- package/dist/chunks/{chevron-up.DVfo78kV.js → chevron-up.CSVyoaTy.js} +6 -6
- package/dist/chunks/chevron-up.CSVyoaTy.js.map +1 -0
- package/dist/chunks/{chip.HNUA9VZl.js → chip.BeK9uqmW.js} +24 -21
- package/dist/chunks/chip.BeK9uqmW.js.map +1 -0
- package/dist/chunks/{code-snippet.3s8WCnke.js → code-snippet.CW42FdpP.js} +7 -7
- package/dist/chunks/{code-snippet.3s8WCnke.js.map → code-snippet.CW42FdpP.js.map} +1 -1
- package/dist/chunks/{controls-group.BnDPMaGI.js → controls-group.D0_cJaFF.js} +2 -2
- package/dist/chunks/{controls-group.BnDPMaGI.js.map → controls-group.D0_cJaFF.js.map} +1 -1
- package/dist/chunks/{copy.DMlIj53I.js → copy.2iD8aI5a.js} +7 -6
- package/dist/chunks/copy.2iD8aI5a.js.map +1 -0
- package/dist/chunks/{cross-circle-fill-small.Oj6lPaDy.js → cross-circle-fill-small.YhLgeipP.js} +4 -4
- package/dist/chunks/cross-circle-fill-small.YhLgeipP.js.map +1 -0
- package/dist/chunks/cross-circle-fill.Ra0-PIUo.js +24 -0
- package/dist/chunks/cross-circle-fill.Ra0-PIUo.js.map +1 -0
- package/dist/chunks/{cross-small.BLUwtRB-.js → cross-small.CZqsjZDz.js} +4 -4
- package/dist/chunks/cross-small.CZqsjZDz.js.map +1 -0
- package/dist/chunks/{cross.CsUPDmaA.js → cross.CJ5EEL2c.js} +4 -4
- package/dist/chunks/cross.CJ5EEL2c.js.map +1 -0
- package/dist/chunks/{dashboard-section.BgyN5u0K.js → dashboard-section.Cmulh6WM.js} +4 -4
- package/dist/chunks/{dashboard-section.BgyN5u0K.js.map → dashboard-section.Cmulh6WM.js.map} +1 -1
- package/dist/chunks/{dashed-underline.Cvn5IoHT.js → dashed-underline.eMF75SuT.js} +3 -3
- package/dist/chunks/{dashed-underline.Cvn5IoHT.js.map → dashed-underline.eMF75SuT.js.map} +1 -1
- package/dist/chunks/{data-grid-template.DtWM0Tnu.js → data-grid-template.CdHnPE1-.js} +3 -3
- package/dist/chunks/{data-grid-template.DtWM0Tnu.js.map → data-grid-template.CdHnPE1-.js.map} +1 -1
- package/dist/chunks/{data-grid.N5Rxo6QB.js → data-grid.DedjAz4_.js} +38 -37
- package/dist/chunks/data-grid.DedjAz4_.js.map +1 -0
- package/dist/chunks/date-picker.BdMr3Sn2.js +235 -0
- package/dist/chunks/date-picker.BdMr3Sn2.js.map +1 -0
- package/dist/chunks/date-range-picker.BHfvD0GK.js +903 -0
- package/dist/chunks/date-range-picker.BHfvD0GK.js.map +1 -0
- package/dist/chunks/{date.YLIcAerL.js → date.dYFFEunA.js} +12 -12
- package/dist/chunks/{date.YLIcAerL.js.map → date.dYFFEunA.js.map} +1 -1
- package/dist/chunks/{dialog-page.Bf07JxdG.js → dialog-page.BfF5_hmG.js} +5 -4
- package/dist/chunks/dialog-page.BfF5_hmG.js.map +1 -0
- package/dist/chunks/{dot.BCX4w7eT.js → dot.CnkXzRn3.js} +4 -4
- package/dist/chunks/dot.CnkXzRn3.js.map +1 -0
- package/dist/chunks/{dropdown-default-textbox.CC9Z_RFG.js → dropdown-default-textbox.CDTdHfTv.js} +4 -4
- package/dist/chunks/{dropdown-default-textbox.CC9Z_RFG.js.map → dropdown-default-textbox.CDTdHfTv.js.map} +1 -1
- package/dist/chunks/{dropdown-tag.ClUMccWv.js → dropdown-tag.CvZ1jckk.js} +4 -4
- package/dist/chunks/{dropdown-tag.ClUMccWv.js.map → dropdown-tag.CvZ1jckk.js.map} +1 -1
- package/dist/chunks/{dropdown.CC1i41NX.js → dropdown.CcHoKbLz.js} +241 -232
- package/dist/chunks/dropdown.CcHoKbLz.js.map +1 -0
- package/dist/chunks/{empty-state.BnHTBgKG.js → empty-state.JbgxSrnv.js} +2 -2
- package/dist/chunks/{empty-state.BnHTBgKG.js.map → empty-state.JbgxSrnv.js.map} +1 -1
- package/dist/chunks/{error-message.xTNEaNn8.js → error-message.B1-ekAMa.js} +3 -3
- package/dist/chunks/{error-message.xTNEaNn8.js.map → error-message.B1-ekAMa.js.map} +1 -1
- package/dist/chunks/es6.BtaxuP0b.js.map +1 -1
- package/dist/chunks/{expand.CwwKq7Uc.js → expand.C263WARj.js} +4 -4
- package/dist/chunks/expand.C263WARj.js.map +1 -0
- package/dist/chunks/{file-uploader.DTkxh9Ct.js → file-uploader.Dlfzh5QQ.js} +17 -16
- package/dist/chunks/file-uploader.Dlfzh5QQ.js.map +1 -0
- package/dist/chunks/{filter-bar.gj9sdW5T.js → filter-bar.CwqoJGiK.js} +735 -844
- package/dist/chunks/filter-bar.CwqoJGiK.js.map +1 -0
- package/dist/chunks/{fixed-scroller.DX2YUuoU.js → fixed-scroller.BwvXYzE6.js} +3 -3
- package/dist/chunks/{fixed-scroller.DX2YUuoU.js.map → fixed-scroller.BwvXYzE6.js.map} +1 -1
- package/dist/chunks/{focus-trap._RrLaKlq.js → focus-trap.CWlKh48z.js} +2 -2
- package/dist/chunks/{focus-trap._RrLaKlq.js.map → focus-trap.CWlKh48z.js.map} +1 -1
- package/dist/chunks/{footer-actions.BsoofCrv.js → footer-actions.BkHpWa7A.js} +3 -3
- package/dist/chunks/{footer-actions.BsoofCrv.js.map → footer-actions.BkHpWa7A.js.map} +1 -1
- package/dist/chunks/{form-layout-title.CJbgfh3P.js → form-layout-title.DK1-01RH.js} +50 -47
- package/dist/chunks/form-layout-title.DK1-01RH.js.map +1 -0
- package/dist/chunks/header.BAKjEGmH.js +183 -0
- package/dist/chunks/header.BAKjEGmH.js.map +1 -0
- package/dist/chunks/{index.CU8GKq4C.js → index.-wO_BQCb.js} +2 -1
- package/dist/chunks/{index.CU8GKq4C.js.map → index.-wO_BQCb.js.map} +1 -1
- package/dist/chunks/index.BDuTpjD8.js +40 -0
- package/dist/chunks/index.BDuTpjD8.js.map +1 -0
- package/dist/chunks/index.BxBB1rsx.js +15 -0
- package/dist/chunks/index.BxBB1rsx.js.map +1 -0
- package/dist/chunks/index.DD7TppDb.js +10 -0
- package/dist/chunks/index.DD7TppDb.js.map +1 -0
- package/dist/chunks/{info-icon-with-popover.B0zJWJZn.js → info-icon-with-popover.CxXWP4TR.js} +3 -3
- package/dist/chunks/{info-icon-with-popover.B0zJWJZn.js.map → info-icon-with-popover.CxXWP4TR.js.map} +1 -1
- package/dist/chunks/{info-icon.C4_l0WAf.js → info-icon.D3neDWqH.js} +4 -4
- package/dist/chunks/{info-icon.C4_l0WAf.js.map → info-icon.D3neDWqH.js.map} +1 -1
- package/dist/chunks/info.4d_mJHvT.js +24 -0
- package/dist/chunks/info.4d_mJHvT.js.map +1 -0
- package/dist/chunks/{input-field-password.PU9SY4FC.js → input-field-password.CO0lAgMh.js} +73 -70
- package/dist/chunks/input-field-password.CO0lAgMh.js.map +1 -0
- package/dist/chunks/{input-field-phone-number.D2juJ9ZD.js → input-field-phone-number.TXnK0dch.js} +324 -321
- package/dist/chunks/{input-field-phone-number.D2juJ9ZD.js.map → input-field-phone-number.TXnK0dch.js.map} +1 -1
- package/dist/chunks/input-field.De4sp76g.js +152 -0
- package/dist/chunks/input-field.De4sp76g.js.map +1 -0
- package/dist/chunks/{inspector.types.BtgXpTC7.js → inspector.types.ClnPOYmb.js} +6 -6
- package/dist/chunks/{inspector.types.BtgXpTC7.js.map → inspector.types.ClnPOYmb.js.map} +1 -1
- package/dist/chunks/{layout-row.CHwDU8yK.js → layout-row.dh2VyGoD.js} +2 -2
- package/dist/chunks/{layout-row.CHwDU8yK.js.map → layout-row.dh2VyGoD.js.map} +1 -1
- package/dist/chunks/{link.DZlbzVSB.js → link.BH3eB_7E.js} +4 -3
- package/dist/chunks/link.BH3eB_7E.js.map +1 -0
- package/dist/chunks/{listbox-option-tag.BJBWnC2r.js → listbox-option-tag.xGQr3Su1.js} +2 -2
- package/dist/chunks/{listbox-option-tag.BJBWnC2r.js.map → listbox-option-tag.xGQr3Su1.js.map} +1 -1
- package/dist/chunks/{menu.BC7ynpgF.js → menu.li3Kg9Uq.js} +227 -194
- package/dist/chunks/menu.li3Kg9Uq.js.map +1 -0
- package/dist/chunks/{modal-fullscreen.Dz3kSuTz.js → modal-fullscreen.C4eL63TC.js} +6 -6
- package/dist/chunks/{modal-fullscreen.Dz3kSuTz.js.map → modal-fullscreen.C4eL63TC.js.map} +1 -1
- package/dist/chunks/{modal.DV55hSPn.js → modal.BpDz0Dhc.js} +5 -5
- package/dist/chunks/{modal.DV55hSPn.js.map → modal.BpDz0Dhc.js.map} +1 -1
- package/dist/chunks/{pagination.CT-h2q0J.js → pagination.FuELftBG.js} +6 -5
- package/dist/chunks/pagination.FuELftBG.js.map +1 -0
- package/dist/chunks/payment-method.NZKiNOmM.js +76 -0
- package/dist/chunks/payment-method.NZKiNOmM.js.map +1 -0
- package/dist/chunks/{popover.CRdrSmFW.js → popover.Cb6utVhS.js} +29 -22
- package/dist/chunks/{popover.CRdrSmFW.js.map → popover.Cb6utVhS.js.map} +1 -1
- package/dist/chunks/{popper-container.CsW4R0-t.js → popper-container.CiEkF7eb.js} +356 -352
- package/dist/chunks/popper-container.CiEkF7eb.js.map +1 -0
- package/dist/chunks/{promo-banner.BNXfyv3h.js → promo-banner.PnHud5Wi.js} +3 -3
- package/dist/chunks/{promo-banner.BNXfyv3h.js.map → promo-banner.PnHud5Wi.js.map} +1 -1
- package/dist/chunks/{radio-group.CUgib4vp.js → radio-group._8PsjPCZ.js} +4 -4
- package/dist/chunks/{radio-group.CUgib4vp.js.map → radio-group._8PsjPCZ.js.map} +1 -1
- package/dist/chunks/{refresh.BKI9WwKh.js → refresh.Bc9FzGjJ.js} +4 -4
- package/dist/chunks/refresh.Bc9FzGjJ.js.map +1 -0
- package/dist/chunks/{search-bar.bMOGN8_E.js → search-bar.CVY2e8_B.js} +28 -46
- package/dist/chunks/search-bar.CVY2e8_B.js.map +1 -0
- package/dist/chunks/search.DLtglc02.js +24 -0
- package/dist/chunks/search.DLtglc02.js.map +1 -0
- package/dist/chunks/{secondary-nav.C9sm93do.js → secondary-nav.LxcuTR16.js} +3 -3
- package/dist/chunks/{secondary-nav.C9sm93do.js.map → secondary-nav.LxcuTR16.js.map} +1 -1
- package/dist/chunks/{segmented-control.BxCcPbKd.js → segmented-control.D69WXQGh.js} +2 -2
- package/dist/chunks/{segmented-control.BxCcPbKd.js.map → segmented-control.D69WXQGh.js.map} +1 -1
- package/dist/chunks/{selection-card-group.0O3gmtoi.js → selection-card-group.MTKkCBeK.js} +11 -11
- package/dist/chunks/{selection-card-group.0O3gmtoi.js.map → selection-card-group.MTKkCBeK.js.map} +1 -1
- package/dist/chunks/{show.IEAxtCB7.js → show.e4LEpZKG.js} +6 -6
- package/dist/chunks/show.e4LEpZKG.js.map +1 -0
- package/dist/chunks/{sidepanel.Dp6dKRnq.js → sidepanel.BStCbRqN.js} +6 -6
- package/dist/chunks/{sidepanel.Dp6dKRnq.js.map → sidepanel.BStCbRqN.js.map} +1 -1
- package/dist/chunks/{step.DrP2Frvn.js → step.CuOpi-Ye.js} +3 -3
- package/dist/chunks/{step.DrP2Frvn.js.map → step.CuOpi-Ye.js.map} +1 -1
- package/dist/chunks/{structured-list-item.DrY71Ndc.js → structured-list-item.CeosjL40.js} +6 -6
- package/dist/chunks/{structured-list-item.DrY71Ndc.js.map → structured-list-item.CeosjL40.js.map} +1 -1
- package/dist/chunks/{summary-grid-item-custom.CXs6AMS4.js → summary-grid-item-custom.CF_TS7oA.js} +4 -4
- package/dist/chunks/{summary-grid-item-custom.CXs6AMS4.js.map → summary-grid-item-custom.CF_TS7oA.js.map} +1 -1
- package/dist/chunks/{tabs.5zgaD1k3.js → tabs.UFoTqvew.js} +2 -2
- package/dist/chunks/{tabs.5zgaD1k3.js.map → tabs.UFoTqvew.js.map} +1 -1
- package/dist/chunks/{tag.CevG31iQ.js → tag.OgtZ3-ql.js} +2 -2
- package/dist/chunks/{tag.CevG31iQ.js.map → tag.OgtZ3-ql.js.map} +1 -1
- package/dist/chunks/{textarea.DHbXaxdU.js → textarea.BEISPJua.js} +4 -4
- package/dist/chunks/{textarea.DHbXaxdU.js.map → textarea.BEISPJua.js.map} +1 -1
- package/dist/chunks/{timeline-item.C4HOsaEG.js → timeline-item.BeWMuM8A.js} +15 -13
- package/dist/chunks/timeline-item.BeWMuM8A.js.map +1 -0
- package/dist/chunks/{toast.C5I7Wsfa.js → toast.DqSWycRO.js} +3 -3
- package/dist/chunks/{toast.C5I7Wsfa.js.map → toast.DqSWycRO.js.map} +1 -1
- package/dist/chunks/{toggle-button.DK4H4sHT.js → toggle-button.DgSFugBP.js} +2 -2
- package/dist/chunks/{toggle-button.DK4H4sHT.js.map → toggle-button.DgSFugBP.js.map} +1 -1
- package/dist/chunks/{toggle.CyaY0U0K.js → toggle.Q52IIKfi.js} +2 -2
- package/dist/chunks/{toggle.CyaY0U0K.js.map → toggle.Q52IIKfi.js.map} +1 -1
- package/dist/chunks/{tooltip.Bu8o7uyZ.js → tooltip.RPURZd36.js} +2 -2
- package/dist/chunks/{tooltip.Bu8o7uyZ.js.map → tooltip.RPURZd36.js.map} +1 -1
- package/dist/chunks/{tutorial.BbQox1EZ.js → tutorial.Ba8PTa0x.js} +10 -9
- package/dist/chunks/tutorial.Ba8PTa0x.js.map +1 -0
- package/dist/chunks/use-cached-selected-values.CxlYYUbd.js +1164 -0
- package/dist/chunks/use-cached-selected-values.CxlYYUbd.js.map +1 -0
- package/dist/chunks/{warning-filled.CLKRzGMT.js → warning-filled.Cd0kVWwa.js} +4 -4
- package/dist/chunks/warning-filled.Cd0kVWwa.js.map +1 -0
- package/dist/code-snippet.js +1 -1
- package/dist/dashboard-template.js +1 -1
- package/dist/dashed-underline.js +1 -1
- package/dist/data-grid-template.js +1 -1
- package/dist/data-grid.js +1 -1
- package/dist/date-picker.js +2 -2
- package/dist/date-range-picker.js +2 -2
- package/dist/date.js +1 -1
- package/dist/dropdown.js +4 -4
- package/dist/empty-state.js +1 -1
- package/dist/file-uploader.js +1 -1
- package/dist/filter-bar.js +1 -1
- package/dist/focus-trap.js +1 -1
- package/dist/form-layout.js +1 -1
- package/dist/header.js +1 -1
- package/dist/index.js +61 -61
- package/dist/info-icon.js +1 -1
- package/dist/input-field-password.js +1 -1
- package/dist/input-field-phone-number.js +1 -1
- package/dist/input-field.js +1 -1
- package/dist/inspector.js +1 -1
- package/dist/internal.js +35 -33
- package/dist/layout.js +1 -1
- package/dist/link.js +1 -1
- package/dist/menu.js +1 -1
- package/dist/modal-fullscreen.js +1 -1
- package/dist/modal.js +2 -2
- package/dist/pagination.js +1 -1
- package/dist/payment-method.js +1 -1
- package/dist/popover.js +1 -1
- package/dist/popper-container.js +1 -1
- package/dist/promo-banner.js +1 -1
- package/dist/radio-group.js +1 -1
- package/dist/search-bar.js +2 -2
- package/dist/secondary-nav.js +1 -1
- package/dist/segmented-control.js +1 -1
- package/dist/selection-card.js +1 -1
- package/dist/sidepanel.js +1 -1
- package/dist/stepper.js +1 -1
- package/dist/structured-list.js +1 -1
- package/dist/styles/bento-dark.css +30 -4
- package/dist/styles/bento-light.css +30 -4
- package/dist/styles/bento.css +30 -4
- package/dist/styles/legacy.css +32 -6
- package/dist/styles/styleguide.css +30 -4
- package/dist/styles/utility.css +2 -2
- package/dist/summary-grid.js +1 -1
- package/dist/tabs.js +1 -1
- package/dist/tag.js +1 -1
- package/dist/textarea.js +1 -1
- package/dist/timeline.js +1 -1
- package/dist/toast.js +1 -1
- package/dist/toggle.js +1 -1
- package/dist/tutorial.js +1 -1
- package/dist/web-types.json +512 -195
- package/package.json +6 -6
- package/dist/chunks/alert.hiTIDSeX.js.map +0 -1
- package/dist/chunks/button-actions-with-menu.C5OE7oOu.js +0 -112
- package/dist/chunks/button-actions-with-menu.C5OE7oOu.js.map +0 -1
- package/dist/chunks/calendar.Bb0-Svhx.js +0 -888
- package/dist/chunks/calendar.Bb0-Svhx.js.map +0 -1
- package/dist/chunks/checkbox-input.Bo4NxNOh.js +0 -127
- package/dist/chunks/checkbox-input.Bo4NxNOh.js.map +0 -1
- package/dist/chunks/checkbox.BPvnJrvd.js +0 -162
- package/dist/chunks/checkbox.BPvnJrvd.js.map +0 -1
- package/dist/chunks/checkmark-circle-fill.Cn7JN_Tk.js +0 -24
- package/dist/chunks/checkmark-circle-fill.Cn7JN_Tk.js.map +0 -1
- package/dist/chunks/checkmark-small.BtF8b2gE.js.map +0 -1
- package/dist/chunks/chevron-left.PIu6yPqe.js.map +0 -1
- package/dist/chunks/chevron-up.DVfo78kV.js.map +0 -1
- package/dist/chunks/chip.HNUA9VZl.js.map +0 -1
- package/dist/chunks/copy.DMlIj53I.js.map +0 -1
- package/dist/chunks/cross-circle-fill-small.Oj6lPaDy.js.map +0 -1
- package/dist/chunks/cross-circle-fill.CnYH4R_h.js +0 -24
- package/dist/chunks/cross-circle-fill.CnYH4R_h.js.map +0 -1
- package/dist/chunks/cross-small.BLUwtRB-.js.map +0 -1
- package/dist/chunks/cross.CsUPDmaA.js.map +0 -1
- package/dist/chunks/data-grid.N5Rxo6QB.js.map +0 -1
- package/dist/chunks/date-picker.Byv5Z-Xj.js +0 -213
- package/dist/chunks/date-picker.Byv5Z-Xj.js.map +0 -1
- package/dist/chunks/date-range-picker.CUS9Q53T.js +0 -884
- package/dist/chunks/date-range-picker.CUS9Q53T.js.map +0 -1
- package/dist/chunks/dialog-page.Bf07JxdG.js.map +0 -1
- package/dist/chunks/dot.BCX4w7eT.js.map +0 -1
- package/dist/chunks/dropdown.CC1i41NX.js.map +0 -1
- package/dist/chunks/expand.CwwKq7Uc.js.map +0 -1
- package/dist/chunks/file-uploader.DTkxh9Ct.js.map +0 -1
- package/dist/chunks/filter-bar.gj9sdW5T.js.map +0 -1
- package/dist/chunks/form-layout-title.CJbgfh3P.js.map +0 -1
- package/dist/chunks/header.5rAXro_L.js +0 -205
- package/dist/chunks/header.5rAXro_L.js.map +0 -1
- package/dist/chunks/index.CrhTVr5J.js +0 -10
- package/dist/chunks/index.CrhTVr5J.js.map +0 -1
- package/dist/chunks/index.DDnf1O9p.js +0 -22
- package/dist/chunks/index.DDnf1O9p.js.map +0 -1
- package/dist/chunks/index.DPafeRJa.js +0 -10
- package/dist/chunks/index.DPafeRJa.js.map +0 -1
- package/dist/chunks/info.CyeBsLgt.js +0 -24
- package/dist/chunks/info.CyeBsLgt.js.map +0 -1
- package/dist/chunks/input-field-password.PU9SY4FC.js.map +0 -1
- package/dist/chunks/input-field.BPbe00eB.js +0 -236
- package/dist/chunks/input-field.BPbe00eB.js.map +0 -1
- package/dist/chunks/link.DZlbzVSB.js.map +0 -1
- package/dist/chunks/menu.BC7ynpgF.js.map +0 -1
- package/dist/chunks/pagination.CT-h2q0J.js.map +0 -1
- package/dist/chunks/payment-method.Bu76jY3c.js +0 -59
- package/dist/chunks/payment-method.Bu76jY3c.js.map +0 -1
- package/dist/chunks/popper-container.CsW4R0-t.js.map +0 -1
- package/dist/chunks/refresh.BKI9WwKh.js.map +0 -1
- package/dist/chunks/search-bar.bMOGN8_E.js.map +0 -1
- package/dist/chunks/search.CBKhp7zB.js +0 -24
- package/dist/chunks/search.CBKhp7zB.js.map +0 -1
- package/dist/chunks/show.IEAxtCB7.js.map +0 -1
- package/dist/chunks/timeline-item.C4HOsaEG.js.map +0 -1
- package/dist/chunks/truncate.BfIl_-71.js +0 -8
- package/dist/chunks/truncate.BfIl_-71.js.map +0 -1
- package/dist/chunks/tutorial.BbQox1EZ.js.map +0 -1
- package/dist/chunks/use-cached-selected-values.a_5Iw6Dh.js +0 -1305
- package/dist/chunks/use-cached-selected-values.a_5Iw6Dh.js.map +0 -1
- package/dist/chunks/warning-filled.CLKRzGMT.js.map +0 -1
- /package/dist/assets/{cross.css → main.css} +0 -0
|
@@ -1,19 +1,20 @@
|
|
|
1
|
-
import { ref as
|
|
2
|
-
import { d as
|
|
3
|
-
import { a as W, b as $, c as De, B as M, D as Be } from "./dropdown-default-textbox.CC9Z_RFG.js";
|
|
4
|
-
import { n as P } from "./_plugin-vue2_normalizer.CeySl7Fu.js";
|
|
5
|
-
import { s as j } from "./events.CMzGybJJ.js";
|
|
1
|
+
import { ref as C, watch as ue, computed as p, defineComponent as R, useSlots as pe, toRefs as fe, nextTick as L, useAttrs as Le, toRef as x, inject as Oe } from "vue";
|
|
2
|
+
import { d as ie, B as Ee } from "./typography.J1v_SPG3.js";
|
|
6
3
|
import { g as k } from "./generate-uid.NJ8tVoha.js";
|
|
7
|
-
import { u as
|
|
8
|
-
import { u as
|
|
9
|
-
import { u as
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import { B as
|
|
4
|
+
import { u as De } from "./aria-label.CaUURpnB.js";
|
|
5
|
+
import { u as V } from "./i18n.BQkEbtPM.js";
|
|
6
|
+
import { u as Be } from "./use-form-layout-loading.D3lALhtC.js";
|
|
7
|
+
import { a as U, b as P, c as Ie, B as F, D as Te } from "./dropdown-default-textbox.CDTdHfTv.js";
|
|
8
|
+
import { u as Ne } from "./use-has-slot.C9lQZ6nz.js";
|
|
9
|
+
import { a as u, b as H, B as J, c as Re, u as Ae } from "./use-cached-selected-values.CxlYYUbd.js";
|
|
10
|
+
import { B as D, a as $e } from "./keyboard-navigation.pB8weElW.js";
|
|
13
11
|
import { B as Me } from "./directive.O3yEdalv.js";
|
|
14
|
-
import { F as
|
|
15
|
-
import { P as
|
|
16
|
-
import { B as Fe } from "./popover.
|
|
12
|
+
import { F as Pe, E as ke } from "./error-message.B1-ekAMa.js";
|
|
13
|
+
import { P as re } from "./popper-container.CiEkF7eb.js";
|
|
14
|
+
import { B as Fe } from "./popover.Cb6utVhS.js";
|
|
15
|
+
import { n as K } from "./_plugin-vue2_normalizer.CeySl7Fu.js";
|
|
16
|
+
/* empty css */
|
|
17
|
+
import { s as q } from "./events.CMzGybJJ.js";
|
|
17
18
|
import "../assets/dropdown.css";
|
|
18
19
|
const Ke = {
|
|
19
20
|
"en-US": {
|
|
@@ -29,62 +30,62 @@ const Ke = {
|
|
|
29
30
|
apply: "Aplicar",
|
|
30
31
|
cancel: "Cancelar"
|
|
31
32
|
}
|
|
32
|
-
}, ze = (
|
|
33
|
-
const
|
|
34
|
-
|
|
35
|
-
|
|
33
|
+
}, ze = (a, t, o, e) => {
|
|
34
|
+
const n = C(a.value), { t: l } = V();
|
|
35
|
+
ue(a, () => {
|
|
36
|
+
n.value = a.value;
|
|
36
37
|
});
|
|
37
38
|
const s = p(
|
|
38
|
-
() => JSON.stringify(
|
|
39
|
-
),
|
|
40
|
-
e(u.SELECT,
|
|
39
|
+
() => JSON.stringify(n.value) === JSON.stringify(a.value)
|
|
40
|
+
), i = () => {
|
|
41
|
+
e(u.SELECT, n.value), e(u.CLOSE_DROPDOWN);
|
|
41
42
|
}, c = () => {
|
|
42
|
-
|
|
43
|
+
n.value = a.value, e(u.CLOSE_DROPDOWN);
|
|
43
44
|
}, m = () => {
|
|
44
|
-
o.value && t.value && (
|
|
45
|
-
},
|
|
45
|
+
o.value && t.value && (n.value = a.value);
|
|
46
|
+
}, r = p(() => [
|
|
46
47
|
{
|
|
47
|
-
title:
|
|
48
|
-
event:
|
|
48
|
+
title: l("apply"),
|
|
49
|
+
event: i,
|
|
49
50
|
disabled: s.value
|
|
50
51
|
},
|
|
51
52
|
{
|
|
52
|
-
title:
|
|
53
|
+
title: l("cancel"),
|
|
53
54
|
event: c
|
|
54
55
|
}
|
|
55
|
-
]), d = (
|
|
56
|
-
|
|
57
|
-
},
|
|
58
|
-
d(
|
|
59
|
-
},
|
|
60
|
-
d(
|
|
61
|
-
},
|
|
62
|
-
d(
|
|
63
|
-
},
|
|
56
|
+
]), d = (b) => {
|
|
57
|
+
n.value = b, t.value || e(u.SELECT, b);
|
|
58
|
+
}, g = (b) => {
|
|
59
|
+
d(b), e(u.TAB);
|
|
60
|
+
}, h = (b) => {
|
|
61
|
+
d(b), e(u.ENTER);
|
|
62
|
+
}, v = (b) => {
|
|
63
|
+
d(b), e(u.SPACE);
|
|
64
|
+
}, O = () => {
|
|
64
65
|
c(), e(u.ESCAPE);
|
|
65
66
|
}, w = () => {
|
|
66
67
|
e(u.SHOW_MORE);
|
|
67
68
|
}, S = {
|
|
68
69
|
[u.SELECT]: d,
|
|
69
70
|
[u.SHOW_MORE]: w,
|
|
70
|
-
[u.TAB]:
|
|
71
|
-
[u.SPACE]:
|
|
72
|
-
[u.ENTER]:
|
|
71
|
+
[u.TAB]: g,
|
|
72
|
+
[u.SPACE]: v,
|
|
73
|
+
[u.ENTER]: h
|
|
73
74
|
};
|
|
74
75
|
return {
|
|
75
76
|
// Values
|
|
76
|
-
actions:
|
|
77
|
-
internalSelectedValue:
|
|
77
|
+
actions: r,
|
|
78
|
+
internalSelectedValue: n,
|
|
78
79
|
// Methods
|
|
79
80
|
listeners: S,
|
|
80
|
-
onEscapeKey:
|
|
81
|
+
onEscapeKey: O,
|
|
81
82
|
onOutsideDropdownClick: m
|
|
82
83
|
};
|
|
83
|
-
},
|
|
84
|
+
}, je = R({
|
|
84
85
|
i18n: { messages: Ke },
|
|
85
86
|
name: "bento-dropdown-options-container"
|
|
86
|
-
}),
|
|
87
|
-
...
|
|
87
|
+
}), We = /* @__PURE__ */ R({
|
|
88
|
+
...je,
|
|
88
89
|
props: {
|
|
89
90
|
/**
|
|
90
91
|
* Defines a string value that labels an interactive element.
|
|
@@ -139,8 +140,8 @@ const Ke = {
|
|
|
139
140
|
*/
|
|
140
141
|
lazyLoadType: {
|
|
141
142
|
type: String,
|
|
142
|
-
default:
|
|
143
|
-
validator: (
|
|
143
|
+
default: J.AUTOMATIC,
|
|
144
|
+
validator: (a) => Object.values(J).includes(a)
|
|
144
145
|
},
|
|
145
146
|
/**
|
|
146
147
|
* Indicates if new options are loading.
|
|
@@ -170,7 +171,7 @@ const Ke = {
|
|
|
170
171
|
*
|
|
171
172
|
* If enabled, hides the "Select all" checkbox in "multiple" mode.
|
|
172
173
|
*/
|
|
173
|
-
searching:
|
|
174
|
+
searching: H.props.searching,
|
|
174
175
|
/**
|
|
175
176
|
* If enabled, dropdown will display non-selectable, static categories
|
|
176
177
|
*/
|
|
@@ -179,7 +180,7 @@ const Ke = {
|
|
|
179
180
|
* Reference to the DOM element or Vue component for positioning
|
|
180
181
|
* the Dropdown container.
|
|
181
182
|
*/
|
|
182
|
-
targetElement: { type:
|
|
183
|
+
targetElement: { type: re.props.targetElement.type, required: !0 },
|
|
183
184
|
/**
|
|
184
185
|
* Enables virtual scrolling if set to true or by providing an object with itemHeight function.
|
|
185
186
|
* The itemHeight function is used to calculate the height of rendered item given it's index.
|
|
@@ -190,20 +191,20 @@ const Ke = {
|
|
|
190
191
|
}
|
|
191
192
|
},
|
|
192
193
|
emits: [],
|
|
193
|
-
setup(
|
|
194
|
-
const e =
|
|
194
|
+
setup(a, { expose: t, emit: o }) {
|
|
195
|
+
const e = a, n = pe(), { selectedValue: l, multiple: s } = fe(e), i = C(null), { t: c } = V(), m = p(() => e.open && !e.disabled), r = p(() => c("noOptionsMatchThisSearch")), d = p(() => ({
|
|
195
196
|
"b-dropdown-options-container--single": !(e != null && e.multiple)
|
|
196
|
-
})),
|
|
197
|
+
})), g = p(() => ({
|
|
197
198
|
"b-dropdown-options-container__listbox--single": !(e != null && e.multiple)
|
|
198
|
-
})), { actions:
|
|
199
|
-
var
|
|
199
|
+
})), { actions: h, internalSelectedValue: v, listeners: O, onEscapeKey: w, onOutsideDropdownClick: S } = ze(l, s, m, o), b = p(() => e != null && e.multiple ? Fe : re), I = p(() => {
|
|
200
|
+
var T;
|
|
200
201
|
const B = {
|
|
201
|
-
"min-width": `${(
|
|
202
|
+
"min-width": `${(T = e == null ? void 0 : e.targetElement) == null ? void 0 : T.clientWidth}px`,
|
|
202
203
|
"max-width": "min(500px, 95%)"
|
|
203
204
|
};
|
|
204
205
|
return e != null && e.multiple ? {
|
|
205
206
|
actionsLayout: "space-between",
|
|
206
|
-
actions:
|
|
207
|
+
actions: h.value,
|
|
207
208
|
divider: !0,
|
|
208
209
|
fallbackPosition: ["top-start"],
|
|
209
210
|
id: k(`dropdown-options-${e.id}`),
|
|
@@ -227,20 +228,20 @@ const Ke = {
|
|
|
227
228
|
});
|
|
228
229
|
return t({
|
|
229
230
|
onOutsideDropdownClick: S
|
|
230
|
-
}), { __sfc: !0, slots:
|
|
231
|
+
}), { __sfc: !0, slots: n, emit: o, props: e, selectedValue: l, multiple: s, dropdownOptionsListboxRef: i, t: c, isDropdownOpen: m, noResultsMessage: r, conditionalClasses: d, conditionalListboxClasses: g, actions: h, internalSelectedValue: v, listeners: O, onEscapeKey: w, onOutsideDropdownClick: S, popperContainerOrPopoverComponent: b, popperContainerOrPopoverProps: I, BentoListbox: H };
|
|
231
232
|
}
|
|
232
233
|
});
|
|
233
234
|
var Ue = function() {
|
|
234
235
|
var t = this, o = t._self._c, e = t._self._setupProxy;
|
|
235
|
-
return o(e.popperContainerOrPopoverComponent, t._b({ tag: "component", staticClass: "b-dropdown-options-container", class: e.conditionalClasses, attrs: { "aria-label": t.ariaLabel } }, "component", e.popperContainerOrPopoverProps, !1), [o("div", { on: { keydown: function(
|
|
236
|
-
return !
|
|
237
|
-
} } }, [o(e.BentoListbox, t._g({ ref: "dropdownOptionsListboxRef", staticClass: "b-dropdown-options-container__listbox", class: e.conditionalListboxClasses, attrs: { id: t.id, "aria-label": t.ariaLabel, "empty-state": t.emptyState, "is-option-disabled": t.isOptionDisabled, items: t.items, "selected-value": e.internalSelectedValue, multiple: e.multiple, "static-categories": t.staticCategories, "no-results-message": e.noResultsMessage, searching: t.searching, loading: t.loading, "lazy-load-type": t.lazyLoadType, "has-more-items": t.hasMoreItems, "virtual-scroll": t.virtualScroll }, scopedSlots: t._u([t._l(e.slots, function(
|
|
238
|
-
return { key:
|
|
239
|
-
return [t._t(
|
|
236
|
+
return o(e.popperContainerOrPopoverComponent, t._b({ tag: "component", staticClass: "b-dropdown-options-container", class: e.conditionalClasses, attrs: { "aria-label": t.ariaLabel } }, "component", e.popperContainerOrPopoverProps, !1), [o("div", { on: { keydown: function(n) {
|
|
237
|
+
return !n.type.indexOf("key") && t._k(n.keyCode, "esc", 27, n.key, ["Esc", "Escape"]) ? null : e.onEscapeKey.apply(null, arguments);
|
|
238
|
+
} } }, [o(e.BentoListbox, t._g({ ref: "dropdownOptionsListboxRef", staticClass: "b-dropdown-options-container__listbox", class: e.conditionalListboxClasses, attrs: { id: t.id, "aria-label": t.ariaLabel, "empty-state": t.emptyState, "is-option-disabled": t.isOptionDisabled, items: t.items, "selected-value": e.internalSelectedValue, multiple: e.multiple, "static-categories": t.staticCategories, "no-results-message": e.noResultsMessage, searching: t.searching, loading: t.loading, "lazy-load-type": t.lazyLoadType, "has-more-items": t.hasMoreItems, "virtual-scroll": t.virtualScroll }, scopedSlots: t._u([t._l(e.slots, function(n, l) {
|
|
239
|
+
return { key: l, fn: function(s) {
|
|
240
|
+
return [t._t(l, null, null, s)];
|
|
240
241
|
} };
|
|
241
242
|
})], null, !0) }, e.listeners))], 1)]);
|
|
242
|
-
}, qe = [], He = /* @__PURE__ */
|
|
243
|
-
|
|
243
|
+
}, qe = [], He = /* @__PURE__ */ K(
|
|
244
|
+
We,
|
|
244
245
|
Ue,
|
|
245
246
|
qe,
|
|
246
247
|
!1,
|
|
@@ -248,16 +249,16 @@ var Ue = function() {
|
|
|
248
249
|
"b7543bfc"
|
|
249
250
|
);
|
|
250
251
|
const Je = He.exports;
|
|
251
|
-
let
|
|
252
|
+
let de = 0;
|
|
252
253
|
const Ve = {
|
|
253
254
|
beforeCreate() {
|
|
254
|
-
this.uuid =
|
|
255
|
+
this.uuid = de.toString(), de += 1;
|
|
255
256
|
}
|
|
256
257
|
};
|
|
257
258
|
var Ye = function() {
|
|
258
259
|
var t = this, o = t._self._c;
|
|
259
260
|
return o("svg", t._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", t.$attrs, !1), [t.$attrs["svg-title"] ? o("title", [t._v(t._s(t.$attrs["svg-title"]))]) : t._e(), o("path", { attrs: { fill: "#00112C", d: "M5.00011 5.43922L8.00011 8.43922L11.0001 5.43922L12.0608 6.49988L8.00011 10.5605L3.93945 6.49988L5.00011 5.43922Z" } })]);
|
|
260
|
-
}, Ze = [], Qe = /* @__PURE__ */
|
|
261
|
+
}, Ze = [], Qe = /* @__PURE__ */ K(
|
|
261
262
|
Ve,
|
|
262
263
|
Ye,
|
|
263
264
|
Ze,
|
|
@@ -266,16 +267,16 @@ var Ye = function() {
|
|
|
266
267
|
null
|
|
267
268
|
);
|
|
268
269
|
const Xe = Qe.exports;
|
|
269
|
-
let
|
|
270
|
+
let ce = 0;
|
|
270
271
|
const Ge = {
|
|
271
272
|
beforeCreate() {
|
|
272
|
-
this.uuid =
|
|
273
|
+
this.uuid = ce.toString(), ce += 1;
|
|
273
274
|
}
|
|
274
275
|
};
|
|
275
276
|
var et = function() {
|
|
276
277
|
var t = this, o = t._self._c;
|
|
277
278
|
return o("svg", t._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", t.$attrs, !1), [t.$attrs["svg-title"] ? o("title", [t._v(t._s(t.$attrs["svg-title"]))]) : t._e(), o("path", { attrs: { fill: "#00112C", d: "M10.9999 10.5608L7.9999 7.56077L4.9999 10.5608L3.93924 9.50011L7.9999 5.43945L12.0606 9.50011L10.9999 10.5608Z" } })]);
|
|
278
|
-
}, tt = [], ot = /* @__PURE__ */
|
|
279
|
+
}, tt = [], ot = /* @__PURE__ */ K(
|
|
279
280
|
Ge,
|
|
280
281
|
et,
|
|
281
282
|
tt,
|
|
@@ -283,11 +284,11 @@ var et = function() {
|
|
|
283
284
|
null,
|
|
284
285
|
null
|
|
285
286
|
);
|
|
286
|
-
const
|
|
287
|
+
const nt = ot.exports, at = R({
|
|
287
288
|
name: "dropdown-small-textbox",
|
|
288
289
|
inheritAttrs: !1
|
|
289
|
-
}), st = /* @__PURE__ */
|
|
290
|
-
...
|
|
290
|
+
}), st = /* @__PURE__ */ R({
|
|
291
|
+
...at,
|
|
291
292
|
props: {
|
|
292
293
|
/**
|
|
293
294
|
* The number of additional items that have been selected in the dropdown.
|
|
@@ -347,33 +348,33 @@ const at = ot.exports, nt = T({
|
|
|
347
348
|
value: { type: String, default: "" }
|
|
348
349
|
},
|
|
349
350
|
emits: ["clear", "close", "input", "keydown", "open"],
|
|
350
|
-
setup(
|
|
351
|
-
const e =
|
|
352
|
-
[`b-dropdown-small-textbox--${
|
|
353
|
-
[`b-dropdown-small-textbox--${
|
|
354
|
-
[`b-dropdown-small-textbox--${
|
|
355
|
-
})), s = p(() => e.open && !e.disabled && !e.readonly),
|
|
356
|
-
o("input",
|
|
357
|
-
}, c = (
|
|
358
|
-
o("keydown",
|
|
359
|
-
}, m = (
|
|
360
|
-
|
|
361
|
-
},
|
|
362
|
-
|
|
363
|
-
}, d = (
|
|
364
|
-
|
|
365
|
-
},
|
|
366
|
-
[
|
|
367
|
-
[
|
|
368
|
-
[
|
|
369
|
-
[
|
|
370
|
-
[
|
|
371
|
-
},
|
|
372
|
-
|
|
351
|
+
setup(a, { expose: t, emit: o }) {
|
|
352
|
+
const e = a, n = C(null), l = p(() => ({
|
|
353
|
+
[`b-dropdown-small-textbox--${U.DISABLED}`]: e.disabled,
|
|
354
|
+
[`b-dropdown-small-textbox--${U.READONLY}`]: e.readonly,
|
|
355
|
+
[`b-dropdown-small-textbox--${U.OPENED}`]: e.open
|
|
356
|
+
})), s = p(() => e.open && !e.disabled && !e.readonly), i = (v) => {
|
|
357
|
+
o("input", v);
|
|
358
|
+
}, c = (v) => {
|
|
359
|
+
o("keydown", v);
|
|
360
|
+
}, m = (v) => {
|
|
361
|
+
q(v), o("open");
|
|
362
|
+
}, r = (v) => {
|
|
363
|
+
q(v), o("close");
|
|
364
|
+
}, d = (v) => {
|
|
365
|
+
q(v), o("clear");
|
|
366
|
+
}, g = {
|
|
367
|
+
[P.INPUT]: i,
|
|
368
|
+
[P.OPEN]: m,
|
|
369
|
+
[P.CLOSE]: r,
|
|
370
|
+
[P.CLEAR]: d,
|
|
371
|
+
[P.KEYDOWN]: c
|
|
372
|
+
}, h = () => {
|
|
373
|
+
n.value.focus();
|
|
373
374
|
};
|
|
374
375
|
return t({
|
|
375
|
-
focus:
|
|
376
|
-
}), { __sfc: !0, emit: o, props: e, baseTextbox:
|
|
376
|
+
focus: h
|
|
377
|
+
}), { __sfc: !0, emit: o, props: e, baseTextbox: n, conditionalClasses: l, isDropdownOpen: s, onInput: i, onKeyDown: c, openDropdown: m, closeDropdown: r, clearValue: d, listeners: g, focus: h, BentoDropdownSize: F, DropdownBaseTextbox: Ie, ChevronDownSmallIcon: Xe, ChevronUpSmallIcon: nt };
|
|
377
378
|
}
|
|
378
379
|
});
|
|
379
380
|
var lt = function() {
|
|
@@ -381,7 +382,7 @@ var lt = function() {
|
|
|
381
382
|
return o("div", { staticClass: "b-dropdown-small-textbox", class: e.conditionalClasses }, [o(e.DropdownBaseTextbox, t._g(t._b({ ref: "baseTextbox", staticClass: "b-dropdown-small-textbox__textbox", attrs: { size: e.BentoDropdownSize.SMALL }, scopedSlots: t._u([{ key: "icon", fn: function() {
|
|
382
383
|
return [o("div", { staticClass: "b-dropdown-small-textbox__chevron" }, [o(e.ChevronUpSmallIcon, { directives: [{ name: "show", rawName: "v-show", value: e.isDropdownOpen, expression: "isDropdownOpen" }], attrs: { "svg-title": "opened" } }), o(e.ChevronDownSmallIcon, { directives: [{ name: "show", rawName: "v-show", value: !e.isDropdownOpen, expression: "!isDropdownOpen" }], attrs: { "svg-title": "closed" } })], 1)];
|
|
383
384
|
}, proxy: !0 }]) }, "dropdown-base-textbox", { ...t.$attrs, ...t.$props }, !1), e.listeners))], 1);
|
|
384
|
-
}, it = [], rt = /* @__PURE__ */
|
|
385
|
+
}, it = [], rt = /* @__PURE__ */ K(
|
|
385
386
|
st,
|
|
386
387
|
lt,
|
|
387
388
|
it,
|
|
@@ -389,90 +390,97 @@ var lt = function() {
|
|
|
389
390
|
null,
|
|
390
391
|
"d0e53db8"
|
|
391
392
|
);
|
|
392
|
-
const dt = rt.exports, ct = (
|
|
393
|
+
const dt = rt.exports, ct = (a, t) => t.value.reduce((o, e) => {
|
|
393
394
|
if (e.items) {
|
|
394
|
-
const
|
|
395
|
-
(s) =>
|
|
395
|
+
const n = e.items.filter(
|
|
396
|
+
(s) => a.value.find((i) => i.value === s.value)
|
|
396
397
|
);
|
|
397
|
-
|
|
398
|
+
n.length === e.items.length ? o.push(e.displayValue ?? e.label) : n.forEach(({ label: s, displayValue: i }) => o.push(i ?? s));
|
|
398
399
|
}
|
|
399
|
-
return
|
|
400
|
-
}, []).join(", "), ut = ({ items:
|
|
401
|
-
const
|
|
402
|
-
() => e.value &&
|
|
403
|
-
var
|
|
404
|
-
return (
|
|
400
|
+
return a.value.find((n) => n.value === e.value) && o.push(e.displayValue ?? e.label), o;
|
|
401
|
+
}, []).join(", "), ut = ({ items: a, placeholder: t, selectedValues: o, isMultiSelect: e }) => {
|
|
402
|
+
const n = p(
|
|
403
|
+
() => e.value && a.value.find((s) => {
|
|
404
|
+
var i;
|
|
405
|
+
return (i = s.items) == null ? void 0 : i.length;
|
|
405
406
|
})
|
|
406
407
|
);
|
|
407
|
-
return p(() => o.value.length ?
|
|
408
|
-
},
|
|
408
|
+
return p(() => o.value.length ? n.value ? ct(o, a) : o.value.map(({ label: s, displayValue: i }) => i ?? s).join(", ") : t.value || null);
|
|
409
|
+
}, ve = (a) => {
|
|
409
410
|
var t;
|
|
410
|
-
(t =
|
|
411
|
+
(t = a.value.$children) == null || t[0].$refs.textbox.focus();
|
|
411
412
|
}, pt = ({
|
|
412
|
-
inputContainerRef:
|
|
413
|
+
inputContainerRef: a,
|
|
413
414
|
optionsContainerRef: t,
|
|
414
415
|
selectedValueIndex: o,
|
|
415
416
|
isDropdownOpen: e,
|
|
416
|
-
isDynamicFltering:
|
|
417
|
-
items:
|
|
417
|
+
isDynamicFltering: n,
|
|
418
|
+
items: l,
|
|
418
419
|
isMultiple: s
|
|
419
|
-
},
|
|
420
|
-
const
|
|
421
|
-
var
|
|
422
|
-
|
|
423
|
-
}, d = (
|
|
424
|
-
var
|
|
425
|
-
|
|
426
|
-
|
|
420
|
+
}, i, c, m) => {
|
|
421
|
+
const r = async (f) => {
|
|
422
|
+
var y, E;
|
|
423
|
+
n.value && await L(), (E = (y = t.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef) == null ? void 0 : y.$el.querySelectorAll('[role="option"]')[f]) == null || E.focus();
|
|
424
|
+
}, d = async (f) => {
|
|
425
|
+
var E, z;
|
|
426
|
+
n.value && await L();
|
|
427
|
+
const y = (E = t.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef) == null ? void 0 : E.$el.querySelectorAll(
|
|
428
|
+
"button"
|
|
427
429
|
);
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
430
|
+
y.length ? (z = y[f]) == null || z.focus() : r(f);
|
|
431
|
+
}, g = (f) => {
|
|
432
|
+
var y;
|
|
433
|
+
return (y = t.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef) == null ? void 0 : y.setListboxFocusedIndex(
|
|
434
|
+
f
|
|
435
|
+
);
|
|
436
|
+
}, h = ({ detail: f }) => {
|
|
437
|
+
f.preventDefault(), e.value || c(), L(() => {
|
|
438
|
+
s ? d(0) : (g(o.value), r(o.value));
|
|
431
439
|
});
|
|
432
|
-
},
|
|
433
|
-
|
|
434
|
-
d(o.value),
|
|
440
|
+
}, v = ({ detail: f }) => {
|
|
441
|
+
f.preventDefault(), e.value || c(), L(() => {
|
|
442
|
+
s ? d(0) : (g(o.value), r(o.value));
|
|
435
443
|
});
|
|
436
|
-
},
|
|
437
|
-
e.value || (c(),
|
|
438
|
-
var
|
|
444
|
+
}, O = () => {
|
|
445
|
+
e.value || (c(), L(() => {
|
|
446
|
+
var f;
|
|
439
447
|
if (s) {
|
|
440
|
-
const
|
|
441
|
-
(
|
|
448
|
+
const y = t.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef.$children;
|
|
449
|
+
(f = y == null ? void 0 : y[y.length - 1].$el.querySelectorAll('[role="option"]')[l.length - 1]) == null || f.focus();
|
|
442
450
|
} else
|
|
443
|
-
|
|
451
|
+
g(l.length - 1), r(l.length - 1);
|
|
444
452
|
}));
|
|
445
|
-
}, L = () => {
|
|
446
|
-
e.value && (m(), fe(n));
|
|
447
453
|
}, w = () => {
|
|
448
|
-
e.value && m();
|
|
454
|
+
e.value && (m(), ve(a));
|
|
449
455
|
}, S = () => {
|
|
450
|
-
e.value
|
|
451
|
-
|
|
456
|
+
e.value && m();
|
|
457
|
+
}, b = () => {
|
|
458
|
+
e.value || c(), L(() => {
|
|
459
|
+
s ? d(0) : r(0);
|
|
452
460
|
});
|
|
453
|
-
},
|
|
454
|
-
|
|
455
|
-
s ?
|
|
461
|
+
}, I = ({ detail: f }) => {
|
|
462
|
+
f.preventDefault(), i(), e.value && L(() => {
|
|
463
|
+
s ? d(0) : (g(o.value), r(o.value));
|
|
456
464
|
});
|
|
457
|
-
},
|
|
458
|
-
|
|
459
|
-
s ?
|
|
465
|
+
}, B = ({ detail: f }) => {
|
|
466
|
+
f.preventDefault(), i(), e.value && L(() => {
|
|
467
|
+
s ? d(0) : (g(o.value), r(o.value));
|
|
460
468
|
});
|
|
461
469
|
};
|
|
462
470
|
return p(() => ({
|
|
463
|
-
...
|
|
464
|
-
[
|
|
465
|
-
[
|
|
466
|
-
[
|
|
467
|
-
[
|
|
468
|
-
[
|
|
469
|
-
[
|
|
470
|
-
[
|
|
471
|
+
...n.value ? {} : { [D.SPACE]: I },
|
|
472
|
+
[D.ENTER]: B,
|
|
473
|
+
[D.ARROW_DOWN]: h,
|
|
474
|
+
[D.ARROW_UP]: v,
|
|
475
|
+
[D.END]: O,
|
|
476
|
+
[D.ESCAPE]: w,
|
|
477
|
+
[D.HOME]: b,
|
|
478
|
+
[D.TAB]: S
|
|
471
479
|
}));
|
|
472
|
-
}, ft = ({ inputContainerRef:
|
|
480
|
+
}, ft = ({ inputContainerRef: a, isDropdownOpen: t }, o) => {
|
|
473
481
|
const e = () => {
|
|
474
|
-
t.value && o(),
|
|
475
|
-
|
|
482
|
+
t.value && o(), L(() => {
|
|
483
|
+
ve(a);
|
|
476
484
|
});
|
|
477
485
|
};
|
|
478
486
|
return {
|
|
@@ -482,15 +490,15 @@ const dt = rt.exports, ct = (n, t) => t.value.reduce((o, e) => {
|
|
|
482
490
|
[u.SPACE]: e
|
|
483
491
|
};
|
|
484
492
|
};
|
|
485
|
-
function vt(
|
|
486
|
-
const
|
|
487
|
-
return
|
|
488
|
-
o !== void 0 && o(
|
|
493
|
+
function vt(a, t, o, e) {
|
|
494
|
+
const n = C(a), l = C(t), s = (c, m = []) => m.flatMap((r) => r.label.toLocaleLowerCase().includes(c) ? e != null && e.value && r.items ? [...s(c, r.items)] : [r, ...s(c, r.items)] : r.items ? [...s(c, r.items)] : []);
|
|
495
|
+
return ue(n, () => {
|
|
496
|
+
o !== void 0 && o(n.value);
|
|
489
497
|
}), p(() => {
|
|
490
|
-
if (!
|
|
491
|
-
return
|
|
492
|
-
const c =
|
|
493
|
-
return s(c,
|
|
498
|
+
if (!n.value || o !== void 0)
|
|
499
|
+
return l.value;
|
|
500
|
+
const c = n.value.toLocaleLowerCase();
|
|
501
|
+
return s(c, l.value);
|
|
494
502
|
});
|
|
495
503
|
}
|
|
496
504
|
const mt = {
|
|
@@ -507,15 +515,15 @@ const mt = {
|
|
|
507
515
|
all: "Todos",
|
|
508
516
|
clearFilter: "Limpar filtro"
|
|
509
517
|
}
|
|
510
|
-
},
|
|
518
|
+
}, bt = Symbol("input field component injection key"), Ft = Symbol("input field hint injection key"), Kt = Symbol("input field parent component injection key"), yt = R({
|
|
511
519
|
i18n: { messages: mt },
|
|
512
520
|
name: "b-dropdown",
|
|
513
521
|
components: {
|
|
514
|
-
DropdownInputDefault:
|
|
522
|
+
DropdownInputDefault: Te,
|
|
515
523
|
DropdownInputSmall: dt
|
|
516
524
|
}
|
|
517
|
-
}), _t = /* @__PURE__ */
|
|
518
|
-
...
|
|
525
|
+
}), _t = /* @__PURE__ */ R({
|
|
526
|
+
...yt,
|
|
519
527
|
props: {
|
|
520
528
|
/**
|
|
521
529
|
* @deprecated from version 2.0.0. Use the aria-label attribute instead.
|
|
@@ -602,8 +610,8 @@ const mt = {
|
|
|
602
610
|
*/
|
|
603
611
|
lazyLoadType: {
|
|
604
612
|
type: String,
|
|
605
|
-
default:
|
|
606
|
-
validator: (
|
|
613
|
+
default: H.props.lazyLoadType.default,
|
|
614
|
+
validator: (a) => Object.values(J).includes(a)
|
|
607
615
|
},
|
|
608
616
|
/*
|
|
609
617
|
* If enabled, the user will be able to select multiple items.
|
|
@@ -643,7 +651,7 @@ const mt = {
|
|
|
643
651
|
size: {
|
|
644
652
|
type: String,
|
|
645
653
|
default: null,
|
|
646
|
-
validator: (
|
|
654
|
+
validator: (a) => Object.values(F).includes(a)
|
|
647
655
|
},
|
|
648
656
|
/**
|
|
649
657
|
* If enabled, dropdown will display non-selectable, static categories
|
|
@@ -672,119 +680,119 @@ const mt = {
|
|
|
672
680
|
}
|
|
673
681
|
},
|
|
674
682
|
emits: ["input", "show-more"],
|
|
675
|
-
setup(
|
|
676
|
-
var
|
|
677
|
-
const e =
|
|
683
|
+
setup(a, { expose: t, emit: o }) {
|
|
684
|
+
var le;
|
|
685
|
+
const e = a, n = Le(), l = pe(), s = Ne(l), { t: i } = V(), c = C(null), m = C(null), r = C(null), d = C(!1), g = k("bento-dropdown-options-container"), h = k("dropdown-label"), v = k("dropdown-description"), O = k("dropdown-error"), { isReadOnly: w } = Be(x(e, "readonly")), { cachedSelectedListboxOptions: S, cachedListboxSelectedValues: b, setCachedValues: I } = Re(
|
|
678
686
|
x(e, "items"),
|
|
679
687
|
x(e, "value"),
|
|
680
688
|
x(e, "multiple")
|
|
681
|
-
), B =
|
|
689
|
+
), B = C(n["aria-label"]), { ariaLabel: T, label: f } = fe(e), y = De({
|
|
682
690
|
// TODO: take ariaLabel ref away when aria-label prop is removed
|
|
683
|
-
ariaLabel:
|
|
684
|
-
label:
|
|
685
|
-
defaultFallback:
|
|
686
|
-
}),
|
|
691
|
+
ariaLabel: T || B,
|
|
692
|
+
label: f,
|
|
693
|
+
defaultFallback: i("ariaLabelFallback")
|
|
694
|
+
}), E = e.size === F.SMALL || Oe(bt, !1), z = p(() => E ? F.SMALL : F.DEFAULT), me = p(() => ({
|
|
687
695
|
"b-dropdown--condensed": e.condensed
|
|
688
|
-
})),
|
|
696
|
+
})), be = p(() => ({
|
|
689
697
|
"b-dropdown__description--error": !!e.errorMessage
|
|
690
|
-
})),
|
|
691
|
-
items:
|
|
698
|
+
})), N = C(""), A = x(e, "items"), Y = x(e, "staticCategories"), Z = vt(N, A, (le = e == null ? void 0 : e.search) == null ? void 0 : le.searchEvent, Y), W = p(() => e.dynamicFiltering && !!N.value), ye = ut({
|
|
699
|
+
items: A,
|
|
692
700
|
placeholder: x(e, "placeholder"),
|
|
693
701
|
isMultiSelect: x(e, "multiple"),
|
|
694
702
|
selectedValues: S
|
|
695
703
|
}), _e = p(() => {
|
|
696
704
|
if (e != null && e.multiple && Array.isArray(e.value))
|
|
697
705
|
return e.items.filter(
|
|
698
|
-
({ value:
|
|
706
|
+
({ value: _ }) => (e == null ? void 0 : e.value) && (e == null ? void 0 : e.value).includes(_)
|
|
699
707
|
);
|
|
700
708
|
if (!e.multiple && e.staticCategories) {
|
|
701
|
-
const
|
|
702
|
-
(
|
|
709
|
+
const _ = e.items.find(
|
|
710
|
+
(M) => M.items.some((xe) => xe.value === e.value)
|
|
703
711
|
);
|
|
704
|
-
return
|
|
712
|
+
return _ ? _.items.find((M) => M.value === e.value) : null;
|
|
705
713
|
}
|
|
706
|
-
return e.items.find(({ value:
|
|
707
|
-
}),
|
|
708
|
-
const
|
|
709
|
-
return
|
|
710
|
-
}), { isMultiLevelSelect:
|
|
711
|
-
var
|
|
714
|
+
return e.items.find(({ value: _ }) => _ === (e == null ? void 0 : e.value));
|
|
715
|
+
}), Q = p(() => {
|
|
716
|
+
const _ = Z.value.findIndex(({ value: $ }) => e.value === $);
|
|
717
|
+
return _ > 0 ? _ : 0;
|
|
718
|
+
}), { isMultiLevelSelect: X, flattenedItemsList: G } = Ae(A), ge = p(() => {
|
|
719
|
+
var _;
|
|
712
720
|
if (e.multiple) {
|
|
713
|
-
const
|
|
714
|
-
return !e.hasMoreItems &&
|
|
721
|
+
const $ = (_ = e == null ? void 0 : e.value) == null ? void 0 : _.length, M = X.value ? G.value.length : A.value.length;
|
|
722
|
+
return !e.hasMoreItems && M === $ ? i("all") : $;
|
|
715
723
|
}
|
|
716
724
|
return null;
|
|
717
725
|
}), he = p(
|
|
718
|
-
() => `${e.description ?
|
|
719
|
-
),
|
|
726
|
+
() => `${e.description ? v : ""} ${e.errorMessage ? O : ""}`.trim() || null
|
|
727
|
+
), ee = () => {
|
|
720
728
|
w.value || (d.value = !0);
|
|
721
|
-
},
|
|
729
|
+
}, j = () => {
|
|
722
730
|
d.value = !1;
|
|
723
|
-
},
|
|
724
|
-
w.value || (d.value = !d.value,
|
|
731
|
+
}, te = () => {
|
|
732
|
+
w.value || (d.value = !d.value, W.value && (N.value = ""));
|
|
725
733
|
}, Ce = () => {
|
|
726
|
-
|
|
727
|
-
},
|
|
728
|
-
e.multiple || (
|
|
729
|
-
},
|
|
734
|
+
W.value && (N.value = ""), d.value && (d.value = !1, r.value.onOutsideDropdownClick());
|
|
735
|
+
}, oe = (_) => {
|
|
736
|
+
e.multiple || (N.value = "", d.value = !1), I(_), o("input", b.value);
|
|
737
|
+
}, ne = () => {
|
|
730
738
|
o(u.SHOW_MORE);
|
|
731
739
|
}, we = pt(
|
|
732
740
|
{
|
|
733
741
|
inputContainerRef: c,
|
|
734
|
-
optionsContainerRef:
|
|
735
|
-
selectedValueIndex:
|
|
742
|
+
optionsContainerRef: r,
|
|
743
|
+
selectedValueIndex: Q,
|
|
736
744
|
isDropdownOpen: d,
|
|
737
745
|
isDynamicFltering: x(e, "dynamicFiltering"),
|
|
738
746
|
items: e.items,
|
|
739
747
|
isMultiple: e.multiple
|
|
740
748
|
},
|
|
749
|
+
te,
|
|
741
750
|
ee,
|
|
742
|
-
|
|
743
|
-
K
|
|
751
|
+
j
|
|
744
752
|
), ae = ft(
|
|
745
753
|
{
|
|
746
754
|
inputContainerRef: c,
|
|
747
755
|
isDropdownOpen: d
|
|
748
756
|
},
|
|
749
|
-
|
|
757
|
+
j
|
|
750
758
|
), Se = {
|
|
751
|
-
[u.CLOSE_DROPDOWN]:
|
|
752
|
-
[u.SELECT]:
|
|
753
|
-
[u.SHOW_MORE]:
|
|
759
|
+
[u.CLOSE_DROPDOWN]: j,
|
|
760
|
+
[u.SELECT]: oe,
|
|
761
|
+
[u.SHOW_MORE]: ne,
|
|
754
762
|
...ae
|
|
755
763
|
};
|
|
756
|
-
e.error &&
|
|
764
|
+
e.error && ie(
|
|
757
765
|
'BentoDropdown "error" property',
|
|
758
766
|
`Use the BentoDropdown "errorMessage" property instead to indicate that there is a modifier error.
|
|
759
767
|
Having the field as "undefined" will hide/remove the error.
|
|
760
768
|
<bento-dropdown errorMessage="Error message text" />`,
|
|
761
769
|
"2.0.0"
|
|
762
|
-
), e.size &&
|
|
763
|
-
const
|
|
770
|
+
), e.size && ie('BentoDropdown "size" property', "Do not use. Only 'default' size should be used.", "2.0.0");
|
|
771
|
+
const se = () => {
|
|
764
772
|
c.value.focus();
|
|
765
773
|
};
|
|
766
774
|
return t({
|
|
767
|
-
focus:
|
|
768
|
-
}), { __sfc: !0, attrs:
|
|
775
|
+
focus: se
|
|
776
|
+
}), { __sfc: !0, attrs: n, slots: l, hasSlot: s, props: e, emit: o, t: i, inputContainerRef: c, inputContainerRefWrapper: m, optionsContainerRef: r, isDropdownOpen: d, dropdownOptionsContainerId: g, labelId: h, descriptionId: v, errorId: O, isReadOnly: w, cachedSelectedListboxOptions: S, cachedListboxSelectedValues: b, setCachedValues: I, ariaLabelAttribute: B, ariaLabel: T, label: f, computedAriaLabel: y, isInputComponent: E, size: z, conditionalClasses: me, descriptionConditionalClasses: be, searchTerm: N, items: A, staticCategories: Y, filteredItems: Z, isSearching: W, displayValue: ye, selectedValueItem: _e, selectedValueIndex: Q, isMultiLevelSelect: X, flattenedItemsList: G, additionalItemsSelected: ge, ariaDescribedBy: he, openDropdown: ee, closeDropdown: j, toggleDropdown: te, clickOutsideDropdown: Ce, onOptionSelected: oe, emitShowMoreEvent: ne, textboxKeyboardNavigationListeners: we, listboxKeyboardNavigationListeners: ae, listboxListeners: Se, focus: se, BentoDropdownOptionsContainer: Je, BentoTypography: Ee, ErrorMessage: ke, FieldLabel: Pe, vBentoClickOutsideDirective: Me, vBentoKeyboardNavigationDirective: $e };
|
|
769
777
|
}
|
|
770
778
|
});
|
|
771
779
|
var gt = function() {
|
|
772
|
-
var
|
|
780
|
+
var n;
|
|
773
781
|
var t = this, o = t._self._c, e = t._self._setupProxy;
|
|
774
|
-
return o("div", { directives: [{ name: "bento-click-outside-directive", rawName: "v-bento-click-outside-directive", value: e.clickOutsideDropdown, expression: "clickOutsideDropdown" }], staticClass: "b-dropdown", class: e.conditionalClasses }, [e.label ? o(e.FieldLabel, { attrs: { id: e.labelId, condensed: t.condensed, label: e.label, "tooltip-text": t.tooltipText, optional: t.optional, required: t.required } }) : t._e(), o("div", t._g({ directives: [{ name: "bento-keyboard-navigation-directive", rawName: "v-bento-keyboard-navigation-directive" }], ref: "inputContainerRefWrapper" }, e.textboxKeyboardNavigationListeners), [o(e.size, { ref: "inputContainerRef", tag: "component", attrs: { condensed: t.condensed, value: e.searchTerm, "additional-items-selected": e.additionalItemsSelected, ariaControls: e.dropdownOptionsContainerId, ariaExpanded: e.isDropdownOpen, "aria-labelledby": e.label ? e.labelId : null, "aria-describedby": e.ariaDescribedBy, "aria-label": e.computedAriaLabel, "aria-readonly": e.isReadOnly, readonly: e.isReadOnly, disabled: t.disabled, "display-value": e.displayValue, "dynamic-filtering": t.dynamicFiltering, "is-invalid": !!t.errorMessage || t.error, multiple: t.multiple, open: e.isDropdownOpen, "selected-value-item": e.isInputComponent ? void 0 : e.selectedValueItem, "show-slot-content-in-multiple": t.showSlotContentInMultiple }, on: { input: function(
|
|
775
|
-
e.searchTerm =
|
|
776
|
-
}, open: e.toggleDropdown, close: e.toggleDropdown }, scopedSlots: t._u([t._l(e.slots, function(
|
|
777
|
-
return { key: s, fn: function(
|
|
778
|
-
return [t._t(s, null, null,
|
|
782
|
+
return o("div", { directives: [{ name: "bento-click-outside-directive", rawName: "v-bento-click-outside-directive", value: e.clickOutsideDropdown, expression: "clickOutsideDropdown" }], staticClass: "b-dropdown", class: e.conditionalClasses }, [e.label ? o(e.FieldLabel, { attrs: { id: e.labelId, condensed: t.condensed, label: e.label, "tooltip-text": t.tooltipText, optional: t.optional, required: t.required } }) : t._e(), o("div", t._g({ directives: [{ name: "bento-keyboard-navigation-directive", rawName: "v-bento-keyboard-navigation-directive" }], ref: "inputContainerRefWrapper" }, e.textboxKeyboardNavigationListeners), [o(e.size, { ref: "inputContainerRef", tag: "component", attrs: { condensed: t.condensed, value: e.searchTerm, "additional-items-selected": e.additionalItemsSelected, ariaControls: e.dropdownOptionsContainerId, ariaExpanded: e.isDropdownOpen, "aria-labelledby": e.label ? e.labelId : null, "aria-describedby": e.ariaDescribedBy, "aria-label": e.computedAriaLabel, "aria-readonly": e.isReadOnly, readonly: e.isReadOnly, disabled: t.disabled, "display-value": e.displayValue, "dynamic-filtering": t.dynamicFiltering, "is-invalid": !!t.errorMessage || t.error, multiple: t.multiple, open: e.isDropdownOpen, "selected-value-item": e.isInputComponent ? void 0 : e.selectedValueItem, "show-slot-content-in-multiple": t.showSlotContentInMultiple }, on: { input: function(l) {
|
|
783
|
+
e.searchTerm = l;
|
|
784
|
+
}, open: e.toggleDropdown, close: e.toggleDropdown }, scopedSlots: t._u([t._l(e.slots, function(l, s) {
|
|
785
|
+
return { key: s, fn: function(i) {
|
|
786
|
+
return [t._t(s, null, null, i)];
|
|
779
787
|
} };
|
|
780
|
-
})], null, !0) })], 1), e.inputContainerRef ? o(e.BentoDropdownOptionsContainer, t._g({ ref: "optionsContainerRef", attrs: { id: e.dropdownOptionsContainerId, "aria-label": e.computedAriaLabel, "empty-state": t.emptyState, "debounce-time": (
|
|
781
|
-
return { key: s, fn: function(
|
|
782
|
-
return [t._t(s, null, null,
|
|
788
|
+
})], null, !0) })], 1), e.inputContainerRef ? o(e.BentoDropdownOptionsContainer, t._g({ ref: "optionsContainerRef", attrs: { id: e.dropdownOptionsContainerId, "aria-label": e.computedAriaLabel, "empty-state": t.emptyState, "debounce-time": (n = t.search) == null ? void 0 : n.debounceTime, disabled: t.disabled, "is-option-disabled": t.isOptionDisabled, items: e.filteredItems, multiple: t.multiple, "static-categories": e.staticCategories, open: e.isDropdownOpen, "selected-value": e.cachedSelectedListboxOptions, searching: e.isSearching, "target-element": e.inputContainerRefWrapper, loading: t.loading, "has-more-items": t.hasMoreItems, "lazy-load-type": t.lazyLoadType, "virtual-scroll": t.virtualScroll }, scopedSlots: t._u([t._l(e.slots, function(l, s) {
|
|
789
|
+
return { key: s, fn: function(i) {
|
|
790
|
+
return [t._t(s, null, null, i)];
|
|
783
791
|
} };
|
|
784
792
|
})], null, !0) }, e.listboxListeners)) : t._e(), t.errorMessage ? o(e.ErrorMessage, { staticClass: "b-dropdown__error-message", attrs: { id: e.errorId, "error-message": t.errorMessage } }) : t._e(), t.description || e.hasSlot("description") ? o(e.BentoTypography, { staticClass: "b-dropdown__description", class: e.descriptionConditionalClasses, attrs: { id: e.descriptionId, el: "span" } }, [t._t("description", function() {
|
|
785
793
|
return [t._v(" " + t._s(t.description) + " ")];
|
|
786
794
|
})], 2) : t._e()], 1);
|
|
787
|
-
}, ht = [], Ct = /* @__PURE__ */
|
|
795
|
+
}, ht = [], Ct = /* @__PURE__ */ K(
|
|
788
796
|
_t,
|
|
789
797
|
gt,
|
|
790
798
|
ht,
|
|
@@ -792,11 +800,12 @@ var gt = function() {
|
|
|
792
800
|
null,
|
|
793
801
|
"de09bc83"
|
|
794
802
|
);
|
|
795
|
-
const
|
|
803
|
+
const zt = Ct.exports;
|
|
796
804
|
export {
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
805
|
+
zt as B,
|
|
806
|
+
Ft as I,
|
|
807
|
+
bt as a,
|
|
808
|
+
Kt as b,
|
|
800
809
|
vt as u
|
|
801
810
|
};
|
|
802
|
-
//# sourceMappingURL=dropdown.
|
|
811
|
+
//# sourceMappingURL=dropdown.CcHoKbLz.js.map
|