@adyen/bento-vue2 1.52.0 → 1.54.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/components.d.ts +2 -0
- package/dist/@types/index.d.ts +2104 -2027
- package/dist/action-bar.js +1 -1
- package/dist/assets/accordion-item.css +1 -1
- package/dist/assets/action-bar.css +1 -1
- package/dist/assets/base-modal.css +1 -1
- package/dist/assets/button-actions.css +1 -1
- package/dist/assets/calendar.css +1 -1
- package/dist/assets/card.css +1 -1
- package/dist/assets/checkbox.css +1 -1
- package/dist/assets/dashed-underline.css +1 -1
- package/dist/assets/data-grid.css +1 -1
- package/dist/assets/dialog-page.css +1 -1
- package/dist/assets/dropdown.css +1 -1
- package/dist/assets/file-uploader.css +1 -1
- package/dist/assets/filter-bar.css +1 -1
- package/dist/assets/header-with-views.css +1 -0
- package/dist/assets/input-field-password.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/sidepanel.css +1 -1
- package/dist/assets/summary-grid.css +1 -0
- package/dist/assets/tabs.css +1 -1
- package/dist/assets/textarea.css +1 -1
- package/dist/assets/use-cached-selected-values.css +1 -1
- package/dist/button.js +1 -1
- package/dist/card.js +1 -1
- package/dist/checkbox.js +2 -2
- package/dist/chunks/{action-bar.DuJkjAt1.js → action-bar.CH1Mswou.js} +5 -5
- package/dist/chunks/{action-bar.DuJkjAt1.js.map → action-bar.CH1Mswou.js.map} +1 -1
- package/dist/chunks/{base-modal.CiTysydg.js → base-modal.kHzGyWf6.js} +4 -4
- package/dist/chunks/{base-modal.CiTysydg.js.map → base-modal.kHzGyWf6.js.map} +1 -1
- package/dist/chunks/bin.DuebwJYu.js +24 -0
- package/dist/chunks/bin.DuebwJYu.js.map +1 -0
- package/dist/chunks/{button-actions-with-menu.B9oXYIgo.js → button-actions-with-menu.mqNecwDb.js} +5 -5
- package/dist/chunks/{button-actions-with-menu.B9oXYIgo.js.map → button-actions-with-menu.mqNecwDb.js.map} +1 -1
- package/dist/chunks/{button-actions.DAvSJtOB.js → button-actions.XlUhz42n.js} +42 -100
- package/dist/chunks/{button-actions.DAvSJtOB.js.map → button-actions.XlUhz42n.js.map} +1 -1
- package/dist/chunks/{calendar.Bq67h02Z.js → calendar.D4dMXwc0.js} +4 -4
- package/dist/chunks/{calendar.Bq67h02Z.js.map → calendar.D4dMXwc0.js.map} +1 -1
- package/dist/chunks/{card.AQO_BjGb.js → card.BT04hjvV.js} +2 -2
- package/dist/chunks/{card.AQO_BjGb.js.map → card.BT04hjvV.js.map} +1 -1
- package/dist/chunks/{checkbox-group.CqSIn-lG.js → checkbox-group.DZF4UIym.js} +4 -4
- package/dist/chunks/{checkbox-group.CqSIn-lG.js.map → checkbox-group.DZF4UIym.js.map} +1 -1
- package/dist/chunks/{checkbox.BeYtbfPv.js → checkbox.DloQJI-K.js} +57 -51
- package/dist/chunks/checkbox.DloQJI-K.js.map +1 -0
- package/dist/chunks/{click-outside.DSszkIvs.js → click-outside.C1Ud8AA2.js} +2 -2
- package/dist/chunks/{click-outside.DSszkIvs.js.map → click-outside.C1Ud8AA2.js.map} +1 -1
- package/dist/chunks/{code-snippet.CW42FdpP.js → code-snippet.B3GhZo7r.js} +5 -5
- package/dist/chunks/{code-snippet.CW42FdpP.js.map → code-snippet.B3GhZo7r.js.map} +1 -1
- package/dist/chunks/{controls-group.D0_cJaFF.js → controls-group.C-HKhH1m.js} +2 -2
- package/dist/chunks/{controls-group.D0_cJaFF.js.map → controls-group.C-HKhH1m.js.map} +1 -1
- package/dist/chunks/{copy.2iD8aI5a.js → copy.k18tXmP1.js} +3 -3
- package/dist/chunks/{copy.2iD8aI5a.js.map → copy.k18tXmP1.js.map} +1 -1
- package/dist/chunks/{dashboard-section.Cmulh6WM.js → dashboard-section.DlIwNKkx.js} +4 -4
- package/dist/chunks/{dashboard-section.Cmulh6WM.js.map → dashboard-section.DlIwNKkx.js.map} +1 -1
- package/dist/chunks/{dashed-underline.eMF75SuT.js → dashed-underline.BbQIbZfu.js} +8 -8
- package/dist/chunks/{dashed-underline.eMF75SuT.js.map → dashed-underline.BbQIbZfu.js.map} +1 -1
- package/dist/chunks/{data-grid-template.CdHnPE1-.js → data-grid-template.BJTWe6Ty.js} +3 -3
- package/dist/chunks/{data-grid-template.CdHnPE1-.js.map → data-grid-template.BJTWe6Ty.js.map} +1 -1
- package/dist/chunks/{data-grid.DedjAz4_.js → data-grid.BjtvKzyw.js} +213 -203
- package/dist/chunks/data-grid.BjtvKzyw.js.map +1 -0
- package/dist/chunks/{date-picker.BdMr3Sn2.js → date-picker.Dy0k-7_1.js} +16 -16
- package/dist/chunks/{date-picker.BdMr3Sn2.js.map → date-picker.Dy0k-7_1.js.map} +1 -1
- package/dist/chunks/{date-range-picker.BHfvD0GK.js → date-range-picker.B_uiZRMc.js} +25 -25
- package/dist/chunks/{date-range-picker.BHfvD0GK.js.map → date-range-picker.B_uiZRMc.js.map} +1 -1
- package/dist/chunks/{directive.O3yEdalv.js → directive.Cbdox5VL.js} +2 -2
- package/dist/chunks/{directive.O3yEdalv.js.map → directive.Cbdox5VL.js.map} +1 -1
- package/dist/chunks/{dropdown-tag.CvZ1jckk.js → dropdown-tag.D3py85f0.js} +4 -4
- package/dist/chunks/{dropdown-tag.CvZ1jckk.js.map → dropdown-tag.D3py85f0.js.map} +1 -1
- package/dist/chunks/{dropdown.CcHoKbLz.js → dropdown.CI6ccgJJ.js} +89 -82
- package/dist/chunks/dropdown.CI6ccgJJ.js.map +1 -0
- package/dist/chunks/{error-message.B1-ekAMa.js → error-message.qHRfH-8Y.js} +2 -2
- package/dist/chunks/{error-message.B1-ekAMa.js.map → error-message.qHRfH-8Y.js.map} +1 -1
- package/dist/chunks/es6.BtaxuP0b.js.map +1 -1
- package/dist/chunks/{file-uploader.Dlfzh5QQ.js → file-uploader.BOWE87dN.js} +473 -452
- package/dist/chunks/file-uploader.BOWE87dN.js.map +1 -0
- package/dist/chunks/{filter-bar.CwqoJGiK.js → filter-bar.pVpO62X3.js} +620 -613
- package/dist/chunks/filter-bar.pVpO62X3.js.map +1 -0
- package/dist/chunks/{focus-trap.CWlKh48z.js → focus-trap.V3Q8H_5C.js} +2 -2
- package/dist/chunks/{focus-trap.CWlKh48z.js.map → focus-trap.V3Q8H_5C.js.map} +1 -1
- package/dist/chunks/{footer-actions.BkHpWa7A.js → footer-actions.DYi_MR9I.js} +2 -2
- package/dist/chunks/{footer-actions.BkHpWa7A.js.map → footer-actions.DYi_MR9I.js.map} +1 -1
- package/dist/chunks/header-with-views.CLSMOYua.js +1536 -0
- package/dist/chunks/header-with-views.CLSMOYua.js.map +1 -0
- package/dist/chunks/{header.BAKjEGmH.js → header.DWx6s2nt.js} +4 -4
- package/dist/chunks/{header.BAKjEGmH.js.map → header.DWx6s2nt.js.map} +1 -1
- package/dist/chunks/index.48Mn1OCp.js +387 -0
- package/dist/chunks/{index.-wO_BQCb.js.map → index.48Mn1OCp.js.map} +1 -1
- package/dist/chunks/{info-icon-with-popover.CxXWP4TR.js → info-icon-with-popover.B4wYDzGz.js} +2 -2
- package/dist/chunks/{info-icon-with-popover.CxXWP4TR.js.map → info-icon-with-popover.B4wYDzGz.js.map} +1 -1
- package/dist/chunks/{info-icon.D3neDWqH.js → info-icon.J62KXp9I.js} +3 -3
- package/dist/chunks/{info-icon.D3neDWqH.js.map → info-icon.J62KXp9I.js.map} +1 -1
- package/dist/chunks/input-field-password.D6lhO8b2.js +228 -0
- package/dist/chunks/input-field-password.D6lhO8b2.js.map +1 -0
- package/dist/chunks/{input-field-phone-number.TXnK0dch.js → input-field-phone-number.CYRNWZL8.js} +3 -3
- package/dist/chunks/{input-field-phone-number.TXnK0dch.js.map → input-field-phone-number.CYRNWZL8.js.map} +1 -1
- package/dist/chunks/{input-field.De4sp76g.js → input-field.CsnMZceM.js} +3 -3
- package/dist/chunks/{input-field.De4sp76g.js.map → input-field.CsnMZceM.js.map} +1 -1
- package/dist/chunks/inspector.types.Cmq6sdCz.js +105 -0
- package/dist/chunks/inspector.types.Cmq6sdCz.js.map +1 -0
- package/dist/chunks/{layout-row.dh2VyGoD.js → layout-row.DWRoI0dm.js} +2 -2
- package/dist/chunks/{layout-row.dh2VyGoD.js.map → layout-row.DWRoI0dm.js.map} +1 -1
- package/dist/chunks/{listbox-option-tag.xGQr3Su1.js → listbox-option-tag.BHI-8rRX.js} +2 -2
- package/dist/chunks/{listbox-option-tag.xGQr3Su1.js.map → listbox-option-tag.BHI-8rRX.js.map} +1 -1
- package/dist/chunks/{menu.li3Kg9Uq.js → menu.BoxhffPs.js} +84 -83
- package/dist/chunks/{menu.li3Kg9Uq.js.map → menu.BoxhffPs.js.map} +1 -1
- package/dist/chunks/{modal-fullscreen.C4eL63TC.js → modal-fullscreen.E7e13pW9.js} +3 -3
- package/dist/chunks/{modal-fullscreen.C4eL63TC.js.map → modal-fullscreen.E7e13pW9.js.map} +1 -1
- package/dist/chunks/{modal.BpDz0Dhc.js → modal.BUPJIcb6.js} +4 -4
- package/dist/chunks/{modal.BpDz0Dhc.js.map → modal.BUPJIcb6.js.map} +1 -1
- package/dist/chunks/{on-click-outside.MUWbmGDn.js → on-click-outside.D9aY9g8G.js} +3 -2
- package/dist/chunks/{on-click-outside.MUWbmGDn.js.map → on-click-outside.D9aY9g8G.js.map} +1 -1
- package/dist/chunks/{pagination.FuELftBG.js → pagination.FBlW1fUz.js} +3 -3
- package/dist/chunks/{pagination.FuELftBG.js.map → pagination.FBlW1fUz.js.map} +1 -1
- package/dist/chunks/{payment-method.NZKiNOmM.js → payment-method.Cx4nPDtE.js} +6 -6
- package/dist/chunks/payment-method.Cx4nPDtE.js.map +1 -0
- package/dist/chunks/payment-method.types.BqtH7RM2.js +5 -0
- package/dist/chunks/payment-method.types.BqtH7RM2.js.map +1 -0
- package/dist/chunks/{popover.Cb6utVhS.js → popover.C4PNSrnW.js} +3 -3
- package/dist/chunks/{popover.Cb6utVhS.js.map → popover.C4PNSrnW.js.map} +1 -1
- package/dist/chunks/{popper-container.CiEkF7eb.js → popper-container.DWY19wS0.js} +2 -2
- package/dist/chunks/{popper-container.CiEkF7eb.js.map → popper-container.DWY19wS0.js.map} +1 -1
- package/dist/chunks/{promo-banner.PnHud5Wi.js → promo-banner.DgCKKp6o.js} +6 -6
- package/dist/chunks/{promo-banner.PnHud5Wi.js.map → promo-banner.DgCKKp6o.js.map} +1 -1
- package/dist/chunks/{radio-group._8PsjPCZ.js → radio-group.WbbrQhEO.js} +4 -4
- package/dist/chunks/{radio-group._8PsjPCZ.js.map → radio-group.WbbrQhEO.js.map} +1 -1
- package/dist/chunks/{search-bar.CVY2e8_B.js → search-bar.CFKWbNeA.js} +3 -3
- package/dist/chunks/{search-bar.CVY2e8_B.js.map → search-bar.CFKWbNeA.js.map} +1 -1
- package/dist/chunks/{secondary-nav.LxcuTR16.js → secondary-nav.C0gPD0MR.js} +3 -3
- package/dist/chunks/{secondary-nav.LxcuTR16.js.map → secondary-nav.C0gPD0MR.js.map} +1 -1
- package/dist/chunks/{segmented-control.D69WXQGh.js → segmented-control.DGNMY2BP.js} +2 -2
- package/dist/chunks/{segmented-control.D69WXQGh.js.map → segmented-control.DGNMY2BP.js.map} +1 -1
- package/dist/chunks/{selection-card-group.MTKkCBeK.js → selection-card-group.BmKUEuny.js} +4 -4
- package/dist/chunks/{selection-card-group.MTKkCBeK.js.map → selection-card-group.BmKUEuny.js.map} +1 -1
- package/dist/chunks/{sidepanel.BStCbRqN.js → sidepanel.CyhG1nQR.js} +4 -4
- package/dist/chunks/{sidepanel.BStCbRqN.js.map → sidepanel.CyhG1nQR.js.map} +1 -1
- package/dist/chunks/{structured-list-item.CeosjL40.js → structured-list-item.Co5P9bFC.js} +4 -4
- package/dist/chunks/{structured-list-item.CeosjL40.js.map → structured-list-item.Co5P9bFC.js.map} +1 -1
- package/dist/chunks/summary-grid.types.egM7irBt.js +295 -0
- package/dist/chunks/summary-grid.types.egM7irBt.js.map +1 -0
- package/dist/chunks/tabs.C8CgvNt4.js +214 -0
- package/dist/chunks/tabs.C8CgvNt4.js.map +1 -0
- package/dist/chunks/{tag.OgtZ3-ql.js → tag.CyspYb1E.js} +2 -2
- package/dist/chunks/{tag.OgtZ3-ql.js.map → tag.CyspYb1E.js.map} +1 -1
- package/dist/chunks/{teleport.B5fwsT5y.js → teleport.BHfrns33.js} +2 -2
- package/dist/chunks/{teleport.B5fwsT5y.js.map → teleport.BHfrns33.js.map} +1 -1
- package/dist/chunks/{textarea.BEISPJua.js → textarea.CC8esIW6.js} +75 -71
- package/dist/chunks/textarea.CC8esIW6.js.map +1 -0
- package/dist/chunks/{timeline-item.BeWMuM8A.js → timeline-item.Byorbxmc.js} +5 -5
- package/dist/chunks/{timeline-item.BeWMuM8A.js.map → timeline-item.Byorbxmc.js.map} +1 -1
- package/dist/chunks/{tooltip.RPURZd36.js → tooltip.DOvci5lX.js} +2 -2
- package/dist/chunks/{tooltip.RPURZd36.js.map → tooltip.DOvci5lX.js.map} +1 -1
- package/dist/chunks/{tutorial.Ba8PTa0x.js → tutorial.QwHbq1FO.js} +5 -5
- package/dist/chunks/{tutorial.Ba8PTa0x.js.map → tutorial.QwHbq1FO.js.map} +1 -1
- package/dist/chunks/{use-cached-selected-values.CxlYYUbd.js → use-cached-selected-values.DHpjo2tV.js} +36 -32
- package/dist/chunks/{use-cached-selected-values.CxlYYUbd.js.map → use-cached-selected-values.DHpjo2tV.js.map} +1 -1
- package/dist/click-outside.js +1 -1
- package/dist/code-snippet.js +1 -1
- package/dist/dashboard-template.js +1 -1
- package/dist/dashed-underline.js +2 -2
- package/dist/data-grid-template.js +1 -1
- package/dist/data-grid.js +1 -1
- package/dist/date-picker.js +2 -2
- package/dist/date-range-picker.js +2 -2
- package/dist/dropdown.js +3 -3
- package/dist/file-uploader.js +1 -1
- package/dist/filter-bar.js +1 -1
- package/dist/focus-trap.js +1 -1
- package/dist/header-with-views.js +5 -0
- package/dist/header-with-views.js.map +1 -0
- package/dist/header.js +1 -1
- package/dist/index.js +196 -194
- package/dist/index.js.map +1 -1
- 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 +11 -11
- package/dist/layout.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 +2 -2
- 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/structured-list.js +1 -1
- package/dist/styles/bento-dark.css +89 -17
- package/dist/styles/bento-light.css +89 -17
- package/dist/styles/bento.css +89 -17
- package/dist/styles/legacy.css +77 -5
- package/dist/styles/styleguide.css +89 -17
- 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/tutorial.js +1 -1
- package/dist/use-form-v4.js +8300 -0
- package/dist/use-form-v4.js.map +1 -0
- package/dist/web-types.json +4514 -3895
- package/package.json +8 -7
- package/dist/assets/summary-grid-item-custom.css +0 -1
- package/dist/chunks/checkbox.BeYtbfPv.js.map +0 -1
- package/dist/chunks/data-grid.DedjAz4_.js.map +0 -1
- package/dist/chunks/dropdown.CcHoKbLz.js.map +0 -1
- package/dist/chunks/file-uploader.Dlfzh5QQ.js.map +0 -1
- package/dist/chunks/filter-bar.CwqoJGiK.js.map +0 -1
- package/dist/chunks/index.-wO_BQCb.js +0 -370
- package/dist/chunks/input-field-password.CO0lAgMh.js +0 -194
- package/dist/chunks/input-field-password.CO0lAgMh.js.map +0 -1
- package/dist/chunks/inspector.types.ClnPOYmb.js +0 -101
- package/dist/chunks/inspector.types.ClnPOYmb.js.map +0 -1
- package/dist/chunks/payment-method.NZKiNOmM.js.map +0 -1
- package/dist/chunks/payment-method.types.CJKfZQN5.js +0 -5
- package/dist/chunks/payment-method.types.CJKfZQN5.js.map +0 -1
- package/dist/chunks/summary-grid-item-custom.CF_TS7oA.js +0 -578
- package/dist/chunks/summary-grid-item-custom.CF_TS7oA.js.map +0 -1
- package/dist/chunks/tabs.UFoTqvew.js +0 -154
- package/dist/chunks/tabs.UFoTqvew.js.map +0 -1
- package/dist/chunks/textarea.BEISPJua.js.map +0 -1
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { computed as r, ref as O, onMounted as de, onUnmounted as ge, watch as be, defineComponent as
|
|
1
|
+
import { computed as r, ref as O, onMounted as de, onUnmounted as ge, watch as be, defineComponent as P, toRef as F, useSlots as pe } from "vue";
|
|
2
2
|
import { B as G } from "./typography.J1v_SPG3.js";
|
|
3
3
|
import { B as ye } from "./loading-indicator.z8COalOc.js";
|
|
4
4
|
import { B as Ce } from "./empty-state.JbgxSrnv.js";
|
|
5
5
|
import { u as H } from "./i18n.BQkEbtPM.js";
|
|
6
6
|
import { d as Se } from "./debounce.DUTu11PS.js";
|
|
7
7
|
import "./index.Cl4_42j5.js";
|
|
8
|
-
import { B as X } from "./checkbox.
|
|
8
|
+
import { B as X } from "./checkbox.DloQJI-K.js";
|
|
9
9
|
import { B as he } from "./chip.BeK9uqmW.js";
|
|
10
10
|
import { C as xe, a as Ee } from "./chevron-up.CSVyoaTy.js";
|
|
11
11
|
import { B as k, a as J } from "./keyboard-navigation.pB8weElW.js";
|
|
12
12
|
import { n as D } from "./_plugin-vue2_normalizer.CeySl7Fu.js";
|
|
13
|
-
import { d as Le, e as ce } from "./button-actions.
|
|
13
|
+
import { d as Le, e as ce } from "./button-actions.XlUhz42n.js";
|
|
14
14
|
/* empty css */
|
|
15
15
|
import { o as Oe } from "./resize.Bqks3WUm.js";
|
|
16
16
|
import "../assets/use-cached-selected-values.css";
|
|
@@ -107,7 +107,7 @@ function Te(s, { disabled: e, itemHeight: t, overscan: l = 5, prefixHeight: n })
|
|
|
107
107
|
};
|
|
108
108
|
}
|
|
109
109
|
var c = /* @__PURE__ */ ((s) => (s.SELECT = "select", s.SHOW_MORE = "show-more", s.ESCAPE = "escape-pressed", s.CLICK = "click", s.ENTER = "enter-pressed", s.SPACE = "space-pressed", s.TAB = "tab-pressed", s.CLOSE_DROPDOWN = "close-dropdown", s))(c || {}), $ = /* @__PURE__ */ ((s) => (s.AUTOMATIC = "automatic", s.BUTTON = "button", s.NONE = "none", s))($ || {});
|
|
110
|
-
const Ie =
|
|
110
|
+
const Ie = P({
|
|
111
111
|
name: "bento-listbox-static-category",
|
|
112
112
|
components: {
|
|
113
113
|
BentoTypography: G
|
|
@@ -133,7 +133,7 @@ var Ae = function() {
|
|
|
133
133
|
null,
|
|
134
134
|
"4aa8cc6e"
|
|
135
135
|
);
|
|
136
|
-
const ke = Re.exports, De =
|
|
136
|
+
const ke = Re.exports, De = P({
|
|
137
137
|
name: "bento-listbox-option",
|
|
138
138
|
props: {
|
|
139
139
|
/**
|
|
@@ -176,7 +176,7 @@ var Me = function() {
|
|
|
176
176
|
}, function(l) {
|
|
177
177
|
return !l.type.indexOf("key") && e._k(l.keyCode, "tab", 9, l.key, "Tab") ? null : e.onOptionSelected(e.BentoListboxEvent.TAB, l);
|
|
178
178
|
}] } }, "label", e.$attrs, !1), [e._t("default")], 2);
|
|
179
|
-
}, Ne = [],
|
|
179
|
+
}, Ne = [], Pe = /* @__PURE__ */ D(
|
|
180
180
|
De,
|
|
181
181
|
Me,
|
|
182
182
|
Ne,
|
|
@@ -184,9 +184,9 @@ var Me = function() {
|
|
|
184
184
|
null,
|
|
185
185
|
"d7fb415c"
|
|
186
186
|
);
|
|
187
|
-
const Y =
|
|
187
|
+
const Y = Pe.exports;
|
|
188
188
|
let re = 0;
|
|
189
|
-
const
|
|
189
|
+
const we = {
|
|
190
190
|
beforeCreate() {
|
|
191
191
|
this.uuid = re.toString(), re += 1;
|
|
192
192
|
}
|
|
@@ -195,14 +195,14 @@ var $e = function() {
|
|
|
195
195
|
var e = this, t = e._self._c;
|
|
196
196
|
return t("svg", e._b({ staticClass: "ui-assets-icons-16", attrs: { role: "img", xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "none" } }, "svg", e.$attrs, !1), [e.$attrs["svg-title"] ? t("title", [e._v(e._s(e.$attrs["svg-title"]))]) : e._e(), t("path", { attrs: { fill: "#00112C", d: "M15.0608 4.00011L14.0001 2.93945L6.00011 10.9395L2.00011 6.93945L0.939453 8.00011L6.00011 13.0608L15.0608 4.00011Z" } })]);
|
|
197
197
|
}, Fe = [], Ge = /* @__PURE__ */ D(
|
|
198
|
-
|
|
198
|
+
we,
|
|
199
199
|
$e,
|
|
200
200
|
Fe,
|
|
201
201
|
!1,
|
|
202
202
|
null,
|
|
203
203
|
null
|
|
204
204
|
);
|
|
205
|
-
const Ue = Ge.exports, ze =
|
|
205
|
+
const Ue = Ge.exports, ze = P({
|
|
206
206
|
name: "bento-listbox-single-select-option",
|
|
207
207
|
components: {
|
|
208
208
|
BentoListboxOption: Y,
|
|
@@ -323,7 +323,7 @@ const We = Ke.exports, ve = ({ items: s, isOptionDisabled: e, hasStaticCategorie
|
|
|
323
323
|
a.value = f;
|
|
324
324
|
}
|
|
325
325
|
};
|
|
326
|
-
}, qe =
|
|
326
|
+
}, qe = P({
|
|
327
327
|
name: "bento-listbox-single-select",
|
|
328
328
|
components: {
|
|
329
329
|
BentoListboxSingleSelectCategory: ke,
|
|
@@ -465,7 +465,7 @@ const Ze = {
|
|
|
465
465
|
categoryClosed: "{category} closed",
|
|
466
466
|
categoryOpened: "{category} opened"
|
|
467
467
|
}
|
|
468
|
-
}, Qe =
|
|
468
|
+
}, Qe = P({
|
|
469
469
|
i18n: { messages: Ze },
|
|
470
470
|
name: "bento-listbox-multi-select-category",
|
|
471
471
|
components: {
|
|
@@ -524,8 +524,8 @@ const Ze = {
|
|
|
524
524
|
})), v = (m) => {
|
|
525
525
|
m.preventDefault(), t.value = !t.value;
|
|
526
526
|
}, C = (m) => {
|
|
527
|
-
var
|
|
528
|
-
const x = n(m), B = ((
|
|
527
|
+
var w;
|
|
528
|
+
const x = n(m), B = ((w = s.selectedItemsList) == null ? void 0 : w.includes(m.value)) || !1;
|
|
529
529
|
return { isDisabled: x, isPreSelected: B };
|
|
530
530
|
}, S = r(
|
|
531
531
|
() => s.category.items.filter((m) => {
|
|
@@ -593,7 +593,7 @@ var et = function() {
|
|
|
593
593
|
);
|
|
594
594
|
const lt = st.exports;
|
|
595
595
|
var N = /* @__PURE__ */ ((s) => (s.SELECT_CATEGORY = "select-category", s.TOGGLE_CHECKBOX_SELECTION = "toggle-checkbox-selection", s.UNSELECT_CATEGORY = "unselect-category", s))(N || {});
|
|
596
|
-
const nt =
|
|
596
|
+
const nt = P({
|
|
597
597
|
name: "listbox-multi-select-options",
|
|
598
598
|
components: {
|
|
599
599
|
BentoCheckbox: X,
|
|
@@ -731,7 +731,7 @@ const ct = it.exports, rt = (s) => {
|
|
|
731
731
|
numbersSelected: "{number} selected",
|
|
732
732
|
selectAll: "Select all ({total})"
|
|
733
733
|
}
|
|
734
|
-
}, dt = { i18n: { messages: ut } }, bt = /* @__PURE__ */
|
|
734
|
+
}, dt = { i18n: { messages: ut } }, bt = /* @__PURE__ */ P({
|
|
735
735
|
...dt,
|
|
736
736
|
__name: "listbox-multi-select",
|
|
737
737
|
props: {
|
|
@@ -794,7 +794,7 @@ const ct = it.exports, rt = (s) => {
|
|
|
794
794
|
h,
|
|
795
795
|
g,
|
|
796
796
|
L
|
|
797
|
-
),
|
|
797
|
+
), w = (u) => {
|
|
798
798
|
f(u.items);
|
|
799
799
|
}, K = (u) => {
|
|
800
800
|
d(u.items);
|
|
@@ -848,7 +848,7 @@ const ct = it.exports, rt = (s) => {
|
|
|
848
848
|
[k.HOME]: ae,
|
|
849
849
|
[k.END]: ie
|
|
850
850
|
};
|
|
851
|
-
return { __sfc: !0, props: t, emit: e, t: l, slots: n, selectAllListboxItemsRef: o, selectedListboxItemsRef: a, listboxItemsRef: b, selectedItemsList: i, isMultiLevelSelect: v, flattenedItemsList: C, optionStates: S, enabledItems: h, visibleSelectedList: A, calculateTotalItems: T, selectAllCheckboxText: R, selectAll: f, unselectAll: d, selectAllItems: g, unselectAllItems: L, isAllSelected: m, isIndeterminate: x, toggleSelectAll: B, selectAllCategory:
|
|
851
|
+
return { __sfc: !0, props: t, emit: e, t: l, slots: n, selectAllListboxItemsRef: o, selectedListboxItemsRef: a, listboxItemsRef: b, selectedItemsList: i, isMultiLevelSelect: v, flattenedItemsList: C, optionStates: S, enabledItems: h, visibleSelectedList: A, calculateTotalItems: T, selectAllCheckboxText: R, selectAll: f, unselectAll: d, selectAllItems: g, unselectAllItems: L, isAllSelected: m, isIndeterminate: x, toggleSelectAll: B, selectAllCategory: w, unselectAllCategory: K, toggleCheckboxSelection: W, selectedOptions: V, showSelectedItems: I, showSelectAllCheckbox: U, computedSelectAllListboxItemsRefs: Z, computedselectedListboxItemsRefs: Q, computedlistboxItems: ee, computedselectAllItemRefs: te, computedItems: se, focusItem: le, moveToNextElement: ne, moveToPreviousElement: oe, moveToFirstElement: ae, moveToLastElement: ie, listboxListeners: me, BentoCheckbox: X, BentoTypography: G, BentoChip: he, BentoListboxOption: Y, ListboxMultiSelectOptions: ct, vBentoKeyboardNavigationDirective: J, BentoListboxEvent: c };
|
|
852
852
|
}
|
|
853
853
|
});
|
|
854
854
|
var ft = function() {
|
|
@@ -891,7 +891,7 @@ const ue = mt.exports, _t = {
|
|
|
891
891
|
loading: "Carregando",
|
|
892
892
|
showMore: "Mostrar mais"
|
|
893
893
|
}
|
|
894
|
-
}, gt = 36, pt =
|
|
894
|
+
}, gt = 36, pt = P({
|
|
895
895
|
name: "bento-listbox",
|
|
896
896
|
components: {
|
|
897
897
|
BentoEmptyState: Ce,
|
|
@@ -948,7 +948,7 @@ const ue = mt.exports, _t = {
|
|
|
948
948
|
required: !0
|
|
949
949
|
},
|
|
950
950
|
/**
|
|
951
|
-
* Indicates if new options are loading.
|
|
951
|
+
* Indicates if new options are lazy loading.
|
|
952
952
|
*/
|
|
953
953
|
loading: { type: Boolean, default: !1 },
|
|
954
954
|
/**
|
|
@@ -961,6 +961,10 @@ const ue = mt.exports, _t = {
|
|
|
961
961
|
default: $.NONE,
|
|
962
962
|
validator: (s) => Object.values($).includes(s)
|
|
963
963
|
},
|
|
964
|
+
/**
|
|
965
|
+
* Indicates the listbox is loading filtered items.
|
|
966
|
+
*/
|
|
967
|
+
componentLoading: { type: Boolean, default: !1 },
|
|
964
968
|
/**
|
|
965
969
|
* If enabled, the user will be able to select multiple items.
|
|
966
970
|
*/
|
|
@@ -1021,11 +1025,11 @@ const ue = mt.exports, _t = {
|
|
|
1021
1025
|
// Disable virtual scrolling if not enabled or if lazy loading is enabled or if multi-select
|
|
1022
1026
|
disabled: (s == null ? void 0 : s.multiple) || (s == null ? void 0 : s.virtualScroll) === !1 || (s == null ? void 0 : s.lazyLoadType) !== "none"
|
|
1023
1027
|
}), T = r(
|
|
1024
|
-
() => a.value ? "true" : void 0
|
|
1028
|
+
() => s.componentLoading !== void 0 || a.value ? "true" : void 0
|
|
1025
1029
|
), R = r(
|
|
1026
|
-
() => a.value && s.loading ? "true" : "false"
|
|
1030
|
+
() => a.value && s.loading || s.componentLoading ? "true" : "false"
|
|
1027
1031
|
), f = r(
|
|
1028
|
-
() => a.value ? "polite" : void 0
|
|
1032
|
+
() => a.value || s.componentLoading !== void 0 ? "polite" : void 0
|
|
1029
1033
|
), d = (I) => (U) => {
|
|
1030
1034
|
e(I, U);
|
|
1031
1035
|
}, g = () => {
|
|
@@ -1043,7 +1047,7 @@ const ue = mt.exports, _t = {
|
|
|
1043
1047
|
return ((I = s.items) == null ? void 0 : I.length) === 0;
|
|
1044
1048
|
}), B = r(
|
|
1045
1049
|
() => s.lazyLoadType === $.BUTTON && s.hasMoreItems
|
|
1046
|
-
),
|
|
1050
|
+
), w = r(
|
|
1047
1051
|
() => s.loading ? ce.LOADING : ce.START
|
|
1048
1052
|
), K = r(() => s.loading ? o("loading") : o("showMore")), W = r(() => ({
|
|
1049
1053
|
...s.emptyState,
|
|
@@ -1066,7 +1070,7 @@ const ue = mt.exports, _t = {
|
|
|
1066
1070
|
containerProps: C,
|
|
1067
1071
|
isSearchResultEmpty: x,
|
|
1068
1072
|
limitedEmptyStateProps: W,
|
|
1069
|
-
loadingButtonState:
|
|
1073
|
+
loadingButtonState: w,
|
|
1070
1074
|
slots: t,
|
|
1071
1075
|
shouldDisplayShowMoreButton: B,
|
|
1072
1076
|
showMoreButtonText: K,
|
|
@@ -1086,7 +1090,7 @@ const ue = mt.exports, _t = {
|
|
|
1086
1090
|
var yt = function() {
|
|
1087
1091
|
var l;
|
|
1088
1092
|
var e = this, t = e._self._c;
|
|
1089
|
-
return e._self._setupProxy, t("div", { directives: [{ name: "bento-keyboard-navigation-directive", rawName: "v-bento-keyboard-navigation-directive" }], ref: "listboxRef", staticClass: "b-listbox", style: (l = e.containerProps) == null ? void 0 : l.style, attrs: { id: e.id, role: "listbox", tabindex: "-1", "aria-busy": e.ariaBusy, "aria-atomic": e.ariaAtomic, "aria-label": e.ariaLabel, "aria-live": e.ariaLive }, on: { scroll: e.onListboxContainerScroll } }, [t("div", e._b({}, "div", e.wrapperProps, !1), [e.isSearchResultEmpty ? t("div", { staticClass: "b-listbox__empty-search-message" }, [e.emptyState ? t("bento-empty-state", e._b({}, "bento-empty-state", e.limitedEmptyStateProps, !1)) : t("bento-typography", { attrs: { el: "span" } }, [e._v(e._s(e.noResultsMessage))])], 1) : [e.multiple ? [t("bento-listbox-multi-select", e._g({ ref: "listboxItemRef", attrs: { "has-more-items": e.hasMoreItems, items: e.items, "lazy-load-type": e.lazyLoadType, "static-categories": e.staticCategories, "selected-values": e.selectedValue, searching: e.searching, "is-option-disabled": e.isOptionDisabled }, scopedSlots: e._u([e._l(e.slots, function(n, o) {
|
|
1093
|
+
return e._self._setupProxy, t("div", { directives: [{ name: "bento-keyboard-navigation-directive", rawName: "v-bento-keyboard-navigation-directive" }], ref: "listboxRef", staticClass: "b-listbox", style: (l = e.containerProps) == null ? void 0 : l.style, attrs: { id: e.id, role: "listbox", tabindex: "-1", "aria-busy": e.ariaBusy, "aria-atomic": e.ariaAtomic, "aria-label": e.ariaLabel, "aria-live": e.ariaLive }, on: { scroll: e.onListboxContainerScroll } }, [t("div", e._b({}, "div", e.wrapperProps, !1), [e.componentLoading ? t("div", { staticClass: "b-listbox__loading-filtered-items" }, [t("bento-loading-indicator")], 1) : e.isSearchResultEmpty ? t("div", { staticClass: "b-listbox__empty-search-message" }, [e.emptyState ? t("bento-empty-state", e._b({}, "bento-empty-state", e.limitedEmptyStateProps, !1)) : t("bento-typography", { attrs: { el: "span" } }, [e._v(e._s(e.noResultsMessage))])], 1) : [e.multiple ? [t("bento-listbox-multi-select", e._g({ ref: "listboxItemRef", attrs: { "has-more-items": e.hasMoreItems, items: e.items, "lazy-load-type": e.lazyLoadType, "static-categories": e.staticCategories, "selected-values": e.selectedValue, searching: e.searching, "is-option-disabled": e.isOptionDisabled }, scopedSlots: e._u([e._l(e.slots, function(n, o) {
|
|
1090
1094
|
return { key: o, fn: function(a) {
|
|
1091
1095
|
return [e._t(o, null, null, a)];
|
|
1092
1096
|
} };
|
|
@@ -1103,9 +1107,9 @@ var yt = function() {
|
|
|
1103
1107
|
Ct,
|
|
1104
1108
|
!1,
|
|
1105
1109
|
null,
|
|
1106
|
-
"
|
|
1110
|
+
"37a9ab16"
|
|
1107
1111
|
);
|
|
1108
|
-
const
|
|
1112
|
+
const wt = St.exports, j = (s, e) => {
|
|
1109
1113
|
for (const t of s) {
|
|
1110
1114
|
if (t.value === e)
|
|
1111
1115
|
return t;
|
|
@@ -1118,7 +1122,7 @@ const Pt = St.exports, j = (s, e) => {
|
|
|
1118
1122
|
return null;
|
|
1119
1123
|
}, $t = (s, e, t) => {
|
|
1120
1124
|
const l = O([]), n = O(), o = (i) => {
|
|
1121
|
-
|
|
1125
|
+
t.value ? n.value = i.map(({ value: v }) => v) : n.value = i.length > 0 ? i[0].value : null;
|
|
1122
1126
|
}, a = (i) => {
|
|
1123
1127
|
l.value = i, o(i);
|
|
1124
1128
|
}, b = () => {
|
|
@@ -1127,7 +1131,7 @@ const Pt = St.exports, j = (s, e) => {
|
|
|
1127
1131
|
return be(
|
|
1128
1132
|
() => e.value,
|
|
1129
1133
|
() => {
|
|
1130
|
-
if (!e.value) {
|
|
1134
|
+
if (!e.value && e.value !== 0) {
|
|
1131
1135
|
b();
|
|
1132
1136
|
return;
|
|
1133
1137
|
}
|
|
@@ -1157,8 +1161,8 @@ const Pt = St.exports, j = (s, e) => {
|
|
|
1157
1161
|
export {
|
|
1158
1162
|
$ as B,
|
|
1159
1163
|
c as a,
|
|
1160
|
-
|
|
1164
|
+
wt as b,
|
|
1161
1165
|
$t as c,
|
|
1162
1166
|
rt as u
|
|
1163
1167
|
};
|
|
1164
|
-
//# sourceMappingURL=use-cached-selected-values.
|
|
1168
|
+
//# sourceMappingURL=use-cached-selected-values.DHpjo2tV.js.map
|