@adyen/bento-vue3 1.66.0 → 1.67.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 +65 -29
- 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/card.css +1 -1
- 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-default-textbox.css +1 -1
- package/dist/assets/file-uploader.css +1 -1
- package/dist/assets/footer-actions.css +1 -1
- package/dist/assets/header-with-views.css +1 -1
- package/dist/assets/input-field-password.css +1 -1
- package/dist/assets/input-field.css +1 -1
- package/dist/assets/inspector.css +1 -1
- package/dist/assets/menu.css +1 -1
- package/dist/assets/modal-fullscreen.css +1 -1
- package/dist/assets/popover.css +1 -1
- package/dist/assets/sidepanel.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/chunks/{action-bar.OzhLTUKc.js → action-bar.ComuZPet.js} +4 -4
- package/dist/chunks/{action-bar.OzhLTUKc.js.map → action-bar.ComuZPet.js.map} +1 -1
- package/dist/chunks/{base-modal.CCwWuH6k.js → base-modal.DzJrvis_.js} +2 -2
- package/dist/chunks/{base-modal.CCwWuH6k.js.map → base-modal.DzJrvis_.js.map} +1 -1
- package/dist/chunks/{button-actions-with-menu.xZYmwO7S.js → button-actions-with-menu.B0nWCTwZ.js} +3 -3
- package/dist/chunks/{button-actions-with-menu.xZYmwO7S.js.map → button-actions-with-menu.B0nWCTwZ.js.map} +1 -1
- package/dist/chunks/{button-actions.D1pXI1AJ.js → button-actions.BwpznQ6c.js} +2 -2
- package/dist/chunks/button-actions.BwpznQ6c.js.map +1 -0
- package/dist/chunks/{card.DiBtLuRU.js → card.JBOvn2BO.js} +2 -2
- package/dist/chunks/{card.DiBtLuRU.js.map → card.JBOvn2BO.js.map} +1 -1
- package/dist/chunks/{code-snippet.DPIhpuKa.js → code-snippet.vrlSqi9k.js} +3 -3
- package/dist/chunks/{code-snippet.DPIhpuKa.js.map → code-snippet.vrlSqi9k.js.map} +1 -1
- package/dist/chunks/{dashboard-section.BmtN9b0B.js → dashboard-section.Bg0dfNs-.js} +2 -2
- package/dist/chunks/{dashboard-section.BmtN9b0B.js.map → dashboard-section.Bg0dfNs-.js.map} +1 -1
- package/dist/chunks/{dashed-underline.ywc0ydgS.js → dashed-underline.DgE-UB-x.js} +2 -2
- package/dist/chunks/{dashed-underline.ywc0ydgS.js.map → dashed-underline.DgE-UB-x.js.map} +1 -1
- package/dist/chunks/{data-grid-template.DAuqLhPI.js → data-grid-template.Df7j2oxe.js} +2 -2
- package/dist/chunks/{data-grid-template.DAuqLhPI.js.map → data-grid-template.Df7j2oxe.js.map} +1 -1
- package/dist/chunks/{data-grid.BrYCmbPR.js → data-grid.rDZadZwc.js} +367 -365
- package/dist/chunks/data-grid.rDZadZwc.js.map +1 -0
- package/dist/chunks/{date-picker.Bk4FNLyR.js → date-picker.CZ6zU-NJ.js} +15 -15
- package/dist/chunks/{date-picker.Bk4FNLyR.js.map → date-picker.CZ6zU-NJ.js.map} +1 -1
- package/dist/chunks/date-range-picker.Dw4R9bIs.js +1225 -0
- package/dist/chunks/date-range-picker.Dw4R9bIs.js.map +1 -0
- package/dist/chunks/{dropdown-default-textbox.B05elQig.js → dropdown-default-textbox.Ce5D3ipi.js} +40 -39
- package/dist/chunks/dropdown-default-textbox.Ce5D3ipi.js.map +1 -0
- package/dist/chunks/{dropdown-tag.BUDNO3d0.js → dropdown-tag.BlHovDol.js} +2 -2
- package/dist/chunks/{dropdown-tag.BUDNO3d0.js.map → dropdown-tag.BlHovDol.js.map} +1 -1
- package/dist/chunks/{dropdown.usAqDecC.js → dropdown.B5ZaFDn_.js} +30 -30
- package/dist/chunks/{dropdown.usAqDecC.js.map → dropdown.B5ZaFDn_.js.map} +1 -1
- package/dist/chunks/{filter-bar.BxfaFHTk.js → filter-bar.XonJn7ao.js} +11 -11
- package/dist/chunks/{filter-bar.BxfaFHTk.js.map → filter-bar.XonJn7ao.js.map} +1 -1
- package/dist/chunks/{footer-actions.vQ4flLqU.js → footer-actions.CdJLLWNR.js} +2 -2
- package/dist/chunks/{footer-actions.vQ4flLqU.js.map → footer-actions.CdJLLWNR.js.map} +1 -1
- package/dist/chunks/{header-with-views.COrWDbtU.js → header-with-views.CHbH1_1V.js} +669 -652
- package/dist/chunks/header-with-views.CHbH1_1V.js.map +1 -0
- package/dist/chunks/{header.DAEUKoX5.js → header.CJJWPB5Z.js} +4 -4
- package/dist/chunks/{header.DAEUKoX5.js.map → header.CJJWPB5Z.js.map} +1 -1
- package/dist/chunks/{info-icon-with-popover.Duk1tj5G.js → info-icon-with-popover.DVH46dPy.js} +2 -2
- package/dist/chunks/{info-icon-with-popover.Duk1tj5G.js.map → info-icon-with-popover.DVH46dPy.js.map} +1 -1
- package/dist/chunks/{input-field-password.XrXAnMpT.js → input-field-password.DWZAf1Oh.js} +86 -85
- package/dist/chunks/input-field-password.DWZAf1Oh.js.map +1 -0
- package/dist/chunks/{input-field-phone-number.CNurVdiF.js → input-field-phone-number.CbpRItYf.js} +3 -3
- package/dist/chunks/{input-field-phone-number.CNurVdiF.js.map → input-field-phone-number.CbpRItYf.js.map} +1 -1
- package/dist/chunks/input-field.DExw_Cow.js +303 -0
- package/dist/chunks/input-field.DExw_Cow.js.map +1 -0
- package/dist/chunks/{menu.CiyYOoKd.js → menu.CeLJ1gIz.js} +2 -2
- package/dist/chunks/{menu.CiyYOoKd.js.map → menu.CeLJ1gIz.js.map} +1 -1
- package/dist/chunks/{modal-fullscreen.CuL9oSAq.js → modal-fullscreen.CZnLS-fQ.js} +2 -2
- package/dist/chunks/{modal-fullscreen.CuL9oSAq.js.map → modal-fullscreen.CZnLS-fQ.js.map} +1 -1
- package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.LnD61fHp.js → modal.vue_vue_type_script_setup_true_lang.CP7dV1Yy.js} +4 -4
- package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.LnD61fHp.js.map → modal.vue_vue_type_script_setup_true_lang.CP7dV1Yy.js.map} +1 -1
- package/dist/chunks/{pagination._rYMF2W_.js → pagination.DL9LmFMJ.js} +2 -2
- package/dist/chunks/{pagination._rYMF2W_.js.map → pagination.DL9LmFMJ.js.map} +1 -1
- package/dist/chunks/{popover.maCMPyz8.js → popover.VI3TrUkL.js} +2 -2
- package/dist/chunks/{popover.maCMPyz8.js.map → popover.VI3TrUkL.js.map} +1 -1
- package/dist/chunks/promo-banner.CQp3z2CP.js.map +1 -1
- package/dist/chunks/{rich-text-editor.RD8aCPTi.js → rich-text-editor.Dl9PsYbk.js} +4 -3
- package/dist/chunks/{rich-text-editor.RD8aCPTi.js.map → rich-text-editor.Dl9PsYbk.js.map} +1 -1
- package/dist/chunks/{search-bar.i7BY4IGB.js → search-bar.a-jzP1UA.js} +3 -3
- package/dist/chunks/{search-bar.i7BY4IGB.js.map → search-bar.a-jzP1UA.js.map} +1 -1
- package/dist/chunks/{secondary-nav.DkRQsIx7.js → secondary-nav.UrmIAVGD.js} +2 -2
- package/dist/chunks/{secondary-nav.DkRQsIx7.js.map → secondary-nav.UrmIAVGD.js.map} +1 -1
- package/dist/chunks/{sidepanel.CTIjklfG.js → sidepanel.BuNmgmpj.js} +2 -2
- package/dist/chunks/{sidepanel.CTIjklfG.js.map → sidepanel.BuNmgmpj.js.map} +1 -1
- package/dist/chunks/{summary-grid.types.BTr6x5cg.js → summary-grid.types.CoSCUI1V.js} +2 -2
- package/dist/chunks/{summary-grid.types.BTr6x5cg.js.map → summary-grid.types.CoSCUI1V.js.map} +1 -1
- package/dist/chunks/{timeline-item.Coz_LRD3.js → timeline-item.BRHwCA1F.js} +2 -2
- package/dist/chunks/{timeline-item.Coz_LRD3.js.map → timeline-item.BRHwCA1F.js.map} +1 -1
- package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.E8oBlhrC.js → tutorial.vue_vue_type_script_setup_true_lang.CAf69UYO.js} +4 -4
- package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.E8oBlhrC.js.map → tutorial.vue_vue_type_script_setup_true_lang.CAf69UYO.js.map} +1 -1
- package/dist/chunks/{use-cached-selected-values.rqtiP4Nd.js → use-cached-selected-values.D7dOPJSO.js} +87 -83
- package/dist/chunks/use-cached-selected-values.D7dOPJSO.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 +1 -1
- package/dist/date-range-picker.js +1 -1
- package/dist/dropdown.js +4 -4
- package/dist/filter-bar.js +1 -1
- package/dist/header-with-views.js +1 -1
- package/dist/header.js +1 -1
- package/dist/index.js +33 -33
- 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/internal.js +4 -4
- 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/rich-text-editor.js +1 -1
- package/dist/search-bar.js +2 -2
- package/dist/secondary-nav.js +1 -1
- package/dist/sidepanel.js +1 -1
- package/dist/summary-grid.js +1 -1
- package/dist/timeline.js +1 -1
- package/dist/tutorial.js +1 -1
- package/dist/web-types.json +1 -1
- package/package.json +6 -6
- package/dist/chunks/button-actions.D1pXI1AJ.js.map +0 -1
- package/dist/chunks/data-grid.BrYCmbPR.js.map +0 -1
- package/dist/chunks/date-range-picker.-YsRuGmp.js +0 -1208
- package/dist/chunks/date-range-picker.-YsRuGmp.js.map +0 -1
- package/dist/chunks/dropdown-default-textbox.B05elQig.js.map +0 -1
- package/dist/chunks/header-with-views.COrWDbtU.js.map +0 -1
- package/dist/chunks/input-field-password.XrXAnMpT.js.map +0 -1
- package/dist/chunks/input-field.EOIwm2tq.js +0 -298
- package/dist/chunks/input-field.EOIwm2tq.js.map +0 -1
- package/dist/chunks/use-cached-selected-values.rqtiP4Nd.js.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { computed as m, ref as $, onMounted as rt, onUnmounted as ct, watch as pe, defineComponent as J, resolveComponent as D, createElementBlock as O, openBlock as v, createVNode as
|
|
1
|
+
import { computed as m, ref as $, onMounted as rt, onUnmounted as ct, watch as pe, defineComponent as J, resolveComponent as D, createElementBlock as O, openBlock as v, createVNode as x, createElementVNode as U, withCtx as A, createTextVNode as F, toDisplayString as z, renderSlot as K, mergeProps as Y, withKeys as ue, createCommentVNode as X, createBlock as N, withModifiers as ne, normalizeProps as ie, guardReactiveProps as be, withDirectives as ae, vShow as Ge, nextTick as we, toRef as me, resolveDirective as Ye, toHandlers as te, Fragment as se, renderList as j, createSlots as ve, normalizeClass as fe, unref as M, useSlots as dt, useAttrs as ut } from "vue";
|
|
2
2
|
import { B as V, a as he } from "./keyboard-navigation.CqgGzfZQ.js";
|
|
3
3
|
import "./events.FNmSWp_P.js";
|
|
4
4
|
import { B as re } from "./typography.DN5eC5ch.js";
|
|
@@ -12,11 +12,11 @@ import { C as Se, N as pt } from "./minus-small.DYIyF5XW.js";
|
|
|
12
12
|
import { C as gt } from "./checkmark-small.x-gmK2Dt.js";
|
|
13
13
|
import { C as yt } from "./chevron-down.DCQ6ZLaq.js";
|
|
14
14
|
import { C as St } from "./chevron-up.kfuLRpZb.js";
|
|
15
|
-
import { d as ht, e as
|
|
15
|
+
import { d as ht, e as Ne } from "./button-actions.BwpznQ6c.js";
|
|
16
16
|
/* empty css */
|
|
17
17
|
import { o as Ct } from "./resize.Bqks3WUm.js";
|
|
18
18
|
import "../assets/use-cached-selected-values.css";
|
|
19
|
-
const
|
|
19
|
+
const Ue = (e, t, i, s) => {
|
|
20
20
|
const n = m(
|
|
21
21
|
() => {
|
|
22
22
|
var p, S;
|
|
@@ -127,7 +127,7 @@ const Ot = J({
|
|
|
127
127
|
function _t(e, t, i, s, n, o) {
|
|
128
128
|
const a = D("bento-typography");
|
|
129
129
|
return v(), O("div", Tt, [
|
|
130
|
-
|
|
130
|
+
x(a, {
|
|
131
131
|
variant: "caption",
|
|
132
132
|
el: "span",
|
|
133
133
|
class: "b-listbox-single-select-category__label-text"
|
|
@@ -192,10 +192,10 @@ function kt(e, t, i, s, n, o) {
|
|
|
192
192
|
], 16);
|
|
193
193
|
}
|
|
194
194
|
const Ce = /* @__PURE__ */ q(At, [["render", kt], ["__scopeId", "data-v-b7af43a6"]]);
|
|
195
|
-
let
|
|
195
|
+
let Pe = 0;
|
|
196
196
|
const Lt = {
|
|
197
197
|
beforeCreate() {
|
|
198
|
-
this.uuid =
|
|
198
|
+
this.uuid = Pe.toString(), Pe += 1;
|
|
199
199
|
}
|
|
200
200
|
}, $t = { key: 0 };
|
|
201
201
|
function Dt(e, t, i, s, n, o) {
|
|
@@ -255,7 +255,7 @@ const Bt = /* @__PURE__ */ q(Lt, [["render", Dt]]), Rt = J({
|
|
|
255
255
|
};
|
|
256
256
|
}
|
|
257
257
|
}), Nt = { class: "b-listbox-single-select-option__text" }, Pt = { class: "b-listbox-single-select-option__check-icon" };
|
|
258
|
-
function
|
|
258
|
+
function Mt(e, t, i, s, n, o) {
|
|
259
259
|
const a = D("bento-typography"), p = D("checkmark-icon"), S = D("bento-listbox-option");
|
|
260
260
|
return v(), N(S, {
|
|
261
261
|
class: "b-listbox-single-select-option",
|
|
@@ -272,7 +272,7 @@ function xt(e, t, i, s, n, o) {
|
|
|
272
272
|
default: A(() => [
|
|
273
273
|
K(e.$slots, "default", ie(be(e.option)), () => [
|
|
274
274
|
U("span", Nt, [
|
|
275
|
-
|
|
275
|
+
x(a, { el: "span" }, {
|
|
276
276
|
default: A(() => [
|
|
277
277
|
F(z(e.option.label), 1)
|
|
278
278
|
]),
|
|
@@ -291,15 +291,15 @@ function xt(e, t, i, s, n, o) {
|
|
|
291
291
|
])
|
|
292
292
|
], !0),
|
|
293
293
|
U("span", Pt, [
|
|
294
|
-
ae(
|
|
295
|
-
[
|
|
294
|
+
ae(x(p, { "svg-title": "selected" }, null, 512), [
|
|
295
|
+
[Ge, e.selected]
|
|
296
296
|
])
|
|
297
297
|
])
|
|
298
298
|
]),
|
|
299
299
|
_: 3
|
|
300
300
|
}, 8, ["disabled", "selected", "aria-selected", "aria-disabled", "tabindex"]);
|
|
301
301
|
}
|
|
302
|
-
const
|
|
302
|
+
const xt = /* @__PURE__ */ q(Rt, [["render", Mt], ["__scopeId", "data-v-226f4c84"]]), ze = ({ items: e }, t) => {
|
|
303
303
|
const i = m(() => e.value.length - 1), s = $(0), n = (f) => {
|
|
304
304
|
switch (f) {
|
|
305
305
|
case "increase":
|
|
@@ -346,7 +346,7 @@ const Mt = /* @__PURE__ */ q(Rt, [["render", xt], ["__scopeId", "data-v-226f4c84
|
|
|
346
346
|
preventDefault: l,
|
|
347
347
|
focusedIndex: s
|
|
348
348
|
};
|
|
349
|
-
},
|
|
349
|
+
}, Ve = (e, t, i = $("option"), s = !0) => {
|
|
350
350
|
const n = $([]), o = async () => {
|
|
351
351
|
if (!e.value || e.value.nodeType === Node.COMMENT_NODE)
|
|
352
352
|
return;
|
|
@@ -356,7 +356,7 @@ const Mt = /* @__PURE__ */ q(Rt, [["render", xt], ["__scopeId", "data-v-226f4c84
|
|
|
356
356
|
return pe(
|
|
357
357
|
t,
|
|
358
358
|
() => {
|
|
359
|
-
|
|
359
|
+
we(() => {
|
|
360
360
|
o();
|
|
361
361
|
});
|
|
362
362
|
},
|
|
@@ -369,7 +369,7 @@ const Mt = /* @__PURE__ */ q(Rt, [["render", xt], ["__scopeId", "data-v-226f4c84
|
|
|
369
369
|
name: "bento-listbox-single-select",
|
|
370
370
|
components: {
|
|
371
371
|
BentoListboxSingleSelectCategory: It,
|
|
372
|
-
BentoListboxSingleSelectOption:
|
|
372
|
+
BentoListboxSingleSelectOption: xt
|
|
373
373
|
},
|
|
374
374
|
directives: { BentoKeyboardNavigationDirective: he },
|
|
375
375
|
inheritAttrs: !1,
|
|
@@ -429,7 +429,7 @@ const Mt = /* @__PURE__ */ q(Rt, [["render", xt], ["__scopeId", "data-v-226f4c84
|
|
|
429
429
|
}
|
|
430
430
|
), r = m(() => !!e.items.some(({ items: y }) => !!y)), u = (y) => (_) => {
|
|
431
431
|
t(y, [_]);
|
|
432
|
-
}, { visibleDomOptions: l } =
|
|
432
|
+
}, { visibleDomOptions: l } = Ve(o, me(e, "items"), $("option"), !1), f = (y) => {
|
|
433
433
|
var _;
|
|
434
434
|
(_ = l.value[y]) == null || _.focus();
|
|
435
435
|
}, {
|
|
@@ -438,7 +438,7 @@ const Mt = /* @__PURE__ */ q(Rt, [["render", xt], ["__scopeId", "data-v-226f4c84
|
|
|
438
438
|
moveToFirstElement: R,
|
|
439
439
|
moveToLastElement: L,
|
|
440
440
|
setListboxFocusedIndex: B
|
|
441
|
-
} =
|
|
441
|
+
} = ze(
|
|
442
442
|
{
|
|
443
443
|
items: l
|
|
444
444
|
},
|
|
@@ -485,7 +485,7 @@ const Mt = /* @__PURE__ */ q(Rt, [["render", xt], ["__scopeId", "data-v-226f4c84
|
|
|
485
485
|
}
|
|
486
486
|
});
|
|
487
487
|
function wt(e, t, i, s, n, o) {
|
|
488
|
-
const a = D("bento-listbox-single-select-option"), p = D("bento-listbox-single-select-category"), S =
|
|
488
|
+
const a = D("bento-listbox-single-select-option"), p = D("bento-listbox-single-select-category"), S = Ye("bento-keyboard-navigation-directive");
|
|
489
489
|
return ae((v(), O("div", Y({ ref: "listboxRef" }, e.ariaAttributes, { role: "listbox" }, te(e.listboxListeners, !0)), [
|
|
490
490
|
e.hasCategories && e.staticCategories ? (v(!0), O(se, { key: 0 }, j(e.items, (r) => (v(), N(p, {
|
|
491
491
|
key: r.value,
|
|
@@ -551,12 +551,12 @@ const Yt = /* @__PURE__ */ q(Gt, [["render", wt]]), Ut = {}, zt = /* @__PURE__ *
|
|
|
551
551
|
class: fe(["b-checkbox-input", i.value]),
|
|
552
552
|
role: "presentation"
|
|
553
553
|
}, [
|
|
554
|
-
n.indeterminate ? (v(), N(
|
|
554
|
+
n.indeterminate ? (v(), N(M(pt), {
|
|
555
555
|
key: 0,
|
|
556
556
|
class: "b-checkbox-input__icon",
|
|
557
557
|
"svg-title": "",
|
|
558
558
|
"aria-hidden": "true"
|
|
559
|
-
})) : n.checked ? (v(), N(
|
|
559
|
+
})) : n.checked ? (v(), N(M(gt), {
|
|
560
560
|
key: 1,
|
|
561
561
|
class: "b-checkbox-input__icon",
|
|
562
562
|
"svg-title": "",
|
|
@@ -568,7 +568,7 @@ const Yt = /* @__PURE__ */ q(Gt, [["render", wt]]), Ut = {}, zt = /* @__PURE__ *
|
|
|
568
568
|
], 2));
|
|
569
569
|
}
|
|
570
570
|
}), Ae = /* @__PURE__ */ q(zt, [["__scopeId", "data-v-c604b68a"]]);
|
|
571
|
-
var
|
|
571
|
+
var Fe = /* @__PURE__ */ ((e) => (e.DISABLED = "disabled", e.STATIC_CATEGORY = "static-category", e))(Fe || {}), ee = /* @__PURE__ */ ((e) => (e.SELECT_CATEGORY = "select-category", e.UNSELECT_CATEGORY = "unselect-category", e.TOGGLE_CATEGORY_VISIBILITY = "toggle-category-visibility", e))(ee || {});
|
|
572
572
|
const Vt = {
|
|
573
573
|
"en-US": {
|
|
574
574
|
categoryClosed: "{category} closed",
|
|
@@ -636,7 +636,7 @@ const Vt = {
|
|
|
636
636
|
const i = $(!1), { t: s } = Ie(), n = (I) => e.isOptionDisabled ? e.isOptionDisabled(I) : !1, o = m(
|
|
637
637
|
() => e.category.items.every((I) => n(I))
|
|
638
638
|
), a = me(e, "staticCategories"), p = m(() => i.value || e.staticCategories), S = m(() => ({
|
|
639
|
-
[`b-listbox-multi-select-category--${
|
|
639
|
+
[`b-listbox-multi-select-category--${Fe.DISABLED}`]: o.value
|
|
640
640
|
})), r = (I, w) => {
|
|
641
641
|
I.preventDefault(), i.value = w !== void 0 ? w : !i.value, t(ee.TOGGLE_CATEGORY_VISIBILITY, e.category.value);
|
|
642
642
|
}, u = (I) => {
|
|
@@ -665,7 +665,7 @@ const Vt = {
|
|
|
665
665
|
t(ee.SELECT_CATEGORY);
|
|
666
666
|
}, R = () => {
|
|
667
667
|
t(ee.UNSELECT_CATEGORY);
|
|
668
|
-
}, { isAllSelected: L, isIndeterminate: B, toggleSelectAll: G } =
|
|
668
|
+
}, { isAllSelected: L, isIndeterminate: B, toggleSelectAll: G } = Ue(
|
|
669
669
|
f,
|
|
670
670
|
l,
|
|
671
671
|
T,
|
|
@@ -702,7 +702,7 @@ function qt(e, t, i, s, n, o) {
|
|
|
702
702
|
return v(), O("div", null, [
|
|
703
703
|
e.isStaticCategory ? (v(), O("div", Wt, [
|
|
704
704
|
U("span", jt, [
|
|
705
|
-
|
|
705
|
+
x(p, {
|
|
706
706
|
el: "span",
|
|
707
707
|
variant: "caption",
|
|
708
708
|
class: "b-listbox-multi-select-category__label-text"
|
|
@@ -717,6 +717,7 @@ function qt(e, t, i, s, n, o) {
|
|
|
717
717
|
key: 0,
|
|
718
718
|
class: fe(["b-listbox-multi-select-category__option", e.conditionalClass]),
|
|
719
719
|
tabindex: e.tabindex,
|
|
720
|
+
"aria-selected": e.ariaCheckedComputed !== "false",
|
|
720
721
|
"aria-checked": e.ariaCheckedComputed,
|
|
721
722
|
"aria-disabled": e.hasAllPropsDisabled,
|
|
722
723
|
"aria-expanded": e.isOpen,
|
|
@@ -730,13 +731,13 @@ function qt(e, t, i, s, n, o) {
|
|
|
730
731
|
]
|
|
731
732
|
}, {
|
|
732
733
|
default: A(() => [
|
|
733
|
-
|
|
734
|
+
x(a, {
|
|
734
735
|
indeterminate: e.isIndeterminate,
|
|
735
736
|
disabled: e.hasAllPropsDisabled,
|
|
736
737
|
checked: e.isAllSelected
|
|
737
738
|
}, null, 8, ["indeterminate", "disabled", "checked"]),
|
|
738
739
|
U("span", Kt, [
|
|
739
|
-
|
|
740
|
+
x(p, {
|
|
740
741
|
el: "span",
|
|
741
742
|
class: "b-listbox-multi-select-category__label-text"
|
|
742
743
|
}, {
|
|
@@ -761,15 +762,15 @@ function qt(e, t, i, s, n, o) {
|
|
|
761
762
|
])
|
|
762
763
|
]),
|
|
763
764
|
_: 1
|
|
764
|
-
}, 8, ["class", "tabindex", "aria-checked", "aria-disabled", "aria-expanded", "onClick", "onEnterPressed", "onSpacePressed"])),
|
|
765
|
+
}, 8, ["class", "tabindex", "aria-selected", "aria-checked", "aria-disabled", "aria-expanded", "onClick", "onEnterPressed", "onSpacePressed"])),
|
|
765
766
|
ae(U("div", null, [
|
|
766
767
|
K(e.$slots, "default", {}, void 0, !0)
|
|
767
768
|
], 512), [
|
|
768
|
-
[
|
|
769
|
+
[Ge, e.showItemChildren]
|
|
769
770
|
])
|
|
770
771
|
]);
|
|
771
772
|
}
|
|
772
|
-
const Ht = /* @__PURE__ */ q(Ft, [["render", qt], ["__scopeId", "data-v-
|
|
773
|
+
const Ht = /* @__PURE__ */ q(Ft, [["render", qt], ["__scopeId", "data-v-94c9983d"]]);
|
|
773
774
|
var H = /* @__PURE__ */ ((e) => (e.SELECT_CATEGORY = "select-category", e.TOGGLE_CHECKBOX_SELECTION = "toggle-checkbox-selection", e.UNSELECT_CATEGORY = "unselect-category", e.TOGGLE_CATEGORY_VISIBILITY = "toggle-category-visibility", e))(H || {});
|
|
774
775
|
const Xt = J({
|
|
775
776
|
name: "listbox-multi-select-options",
|
|
@@ -894,6 +895,7 @@ function Qt(e, t, i, s, n, o) {
|
|
|
894
895
|
class: fe(["b-listbox-multi-select-options", e.conditionalClasses]),
|
|
895
896
|
disabled: e.isOptionDisabled ? e.isOptionDisabled(l) : null,
|
|
896
897
|
tabindex: e.computedTabindex(l.value),
|
|
898
|
+
"aria-selected": `${e.isOptionSelected(l)}`,
|
|
897
899
|
"aria-checked": `${e.isOptionSelected(l)}`,
|
|
898
900
|
"aria-disabled": e.isOptionDisabled ? e.isOptionDisabled(l) : null,
|
|
899
901
|
role: e.$attrs.role,
|
|
@@ -902,13 +904,13 @@ function Qt(e, t, i, s, n, o) {
|
|
|
902
904
|
onSpacePressed: ne((f) => e.toggleSearchOption(l), ["prevent"])
|
|
903
905
|
}, {
|
|
904
906
|
default: A(() => [
|
|
905
|
-
|
|
907
|
+
x(a, {
|
|
906
908
|
disabled: e.isOptionDisabled ? e.isOptionDisabled(l) : null,
|
|
907
909
|
checked: e.isOptionSelected(l)
|
|
908
910
|
}, null, 8, ["disabled", "checked"]),
|
|
909
911
|
K(e.$slots, "default", Y({ ref_for: !0 }, l), () => [
|
|
910
912
|
U("span", Jt, [
|
|
911
|
-
|
|
913
|
+
x(p, { el: "span" }, {
|
|
912
914
|
default: A(() => [
|
|
913
915
|
F(z(l.label), 1)
|
|
914
916
|
]),
|
|
@@ -928,7 +930,7 @@ function Qt(e, t, i, s, n, o) {
|
|
|
928
930
|
], !0)
|
|
929
931
|
]),
|
|
930
932
|
_: 2
|
|
931
|
-
}, 1032, ["class", "disabled", "tabindex", "aria-checked", "aria-disabled", "role", "onClick", "onEnterPressed", "onSpacePressed"])) : (v(), O(se, { key: 1 }, [
|
|
933
|
+
}, 1032, ["class", "disabled", "tabindex", "aria-selected", "aria-checked", "aria-disabled", "role", "onClick", "onEnterPressed", "onSpacePressed"])) : (v(), O(se, { key: 1 }, [
|
|
932
934
|
l.items ? (v(), N(u, {
|
|
933
935
|
key: 0,
|
|
934
936
|
category: l,
|
|
@@ -941,7 +943,7 @@ function Qt(e, t, i, s, n, o) {
|
|
|
941
943
|
onToggleCategoryVisibility: t[1] || (t[1] = (f) => e.$emit(e.ListboxMultiSelectOptionsEvent.TOGGLE_CATEGORY_VISIBILITY, f))
|
|
942
944
|
}, {
|
|
943
945
|
default: A(() => [
|
|
944
|
-
|
|
946
|
+
x(r, {
|
|
945
947
|
"category-items": "",
|
|
946
948
|
items: l.items,
|
|
947
949
|
"is-option-disabled": e.isOptionDisabled,
|
|
@@ -961,6 +963,7 @@ function Qt(e, t, i, s, n, o) {
|
|
|
961
963
|
class: fe(["b-listbox-multi-select-options", e.conditionalClasses]),
|
|
962
964
|
disabled: e.isOptionDisabled ? e.isOptionDisabled(l) : null,
|
|
963
965
|
tabindex: e.computedTabindex(l.value),
|
|
966
|
+
"aria-selected": `${e.isOptionSelected(l)}`,
|
|
964
967
|
"aria-checked": `${e.isOptionSelected(l)}`,
|
|
965
968
|
"aria-disabled": e.isOptionDisabled ? e.isOptionDisabled(l) : null,
|
|
966
969
|
role: e.$attrs.role,
|
|
@@ -969,13 +972,13 @@ function Qt(e, t, i, s, n, o) {
|
|
|
969
972
|
onSpacePressed: ne((f) => e.toggleCheckboxSelection(l), ["prevent"])
|
|
970
973
|
}, {
|
|
971
974
|
default: A(() => [
|
|
972
|
-
|
|
975
|
+
x(a, {
|
|
973
976
|
disabled: e.isOptionDisabled ? e.isOptionDisabled(l) : null,
|
|
974
977
|
checked: e.isOptionSelected(l)
|
|
975
978
|
}, null, 8, ["disabled", "checked"]),
|
|
976
979
|
K(e.$slots, "default", Y({ ref_for: !0 }, l), () => [
|
|
977
980
|
U("span", Zt, [
|
|
978
|
-
|
|
981
|
+
x(p, { el: "span" }, {
|
|
979
982
|
default: A(() => [
|
|
980
983
|
F(z(l.label), 1)
|
|
981
984
|
]),
|
|
@@ -995,12 +998,12 @@ function Qt(e, t, i, s, n, o) {
|
|
|
995
998
|
], !0)
|
|
996
999
|
]),
|
|
997
1000
|
_: 2
|
|
998
|
-
}, 1032, ["class", "disabled", "tabindex", "aria-checked", "aria-disabled", "role", "onClick", "onEnterPressed", "onSpacePressed"]))
|
|
1001
|
+
}, 1032, ["class", "disabled", "tabindex", "aria-selected", "aria-checked", "aria-disabled", "role", "onClick", "onEnterPressed", "onSpacePressed"]))
|
|
999
1002
|
], 64))
|
|
1000
1003
|
]))), 128))
|
|
1001
1004
|
]);
|
|
1002
1005
|
}
|
|
1003
|
-
const es = /* @__PURE__ */ q(Xt, [["render", Qt], ["__scopeId", "data-v-
|
|
1006
|
+
const es = /* @__PURE__ */ q(Xt, [["render", Qt], ["__scopeId", "data-v-fd1a6cbe"]]), ts = (e) => {
|
|
1004
1007
|
const t = m(() => {
|
|
1005
1008
|
var s;
|
|
1006
1009
|
return !!((s = e.value) != null && s.find(({ items: n }) => !!n));
|
|
@@ -1012,7 +1015,7 @@ const es = /* @__PURE__ */ q(Xt, [["render", Qt], ["__scopeId", "data-v-c82ac201
|
|
|
1012
1015
|
isMultiLevelSelect: t,
|
|
1013
1016
|
flattenedItemsList: i
|
|
1014
1017
|
};
|
|
1015
|
-
},
|
|
1018
|
+
}, Ke = {
|
|
1016
1019
|
"en-US": {
|
|
1017
1020
|
allSelected: "All selected ({total})",
|
|
1018
1021
|
numberOfTotalSelected: "{number} of {total} selected",
|
|
@@ -1035,7 +1038,7 @@ const es = /* @__PURE__ */ q(Xt, [["render", Qt], ["__scopeId", "data-v-c82ac201
|
|
|
1035
1038
|
key: 1,
|
|
1036
1039
|
class: "b-listbox-multi-select__divider",
|
|
1037
1040
|
"aria-hidden": "true"
|
|
1038
|
-
}, is = { i18n: { messages:
|
|
1041
|
+
}, is = { i18n: { messages: Ke } }, ns = /* @__PURE__ */ J({
|
|
1039
1042
|
...is,
|
|
1040
1043
|
__name: "listbox-multi-select",
|
|
1041
1044
|
props: {
|
|
@@ -1049,7 +1052,7 @@ const es = /* @__PURE__ */ q(Xt, [["render", Qt], ["__scopeId", "data-v-c82ac201
|
|
|
1049
1052
|
},
|
|
1050
1053
|
emits: ["select"],
|
|
1051
1054
|
setup(e, { expose: t, emit: i }) {
|
|
1052
|
-
const s = e, n = i, { t: o, n: a } = Ie({ messages:
|
|
1055
|
+
const s = e, n = i, { t: o, n: a } = Ie({ messages: Ke }), p = dt(), S = ut(), r = m(
|
|
1053
1056
|
() => {
|
|
1054
1057
|
var c, b, d, h;
|
|
1055
1058
|
return {
|
|
@@ -1104,20 +1107,20 @@ const es = /* @__PURE__ */ q(Xt, [["render", Qt], ["__scopeId", "data-v-c82ac201
|
|
|
1104
1107
|
Q(L.value);
|
|
1105
1108
|
}, Oe = () => {
|
|
1106
1109
|
ge(L.value);
|
|
1107
|
-
}, { isAllSelected: P, isIndeterminate: le, toggleSelectAll:
|
|
1110
|
+
}, { isAllSelected: P, isIndeterminate: le, toggleSelectAll: We } = Ue(
|
|
1108
1111
|
I,
|
|
1109
1112
|
_,
|
|
1110
1113
|
Ee,
|
|
1111
1114
|
Oe
|
|
1112
|
-
),
|
|
1113
|
-
ye.value = !ye.value,
|
|
1115
|
+
), ke = m(() => le.value ? "mixed" : `${P.value}`), ye = $(P.value), Te = () => {
|
|
1116
|
+
ye.value = !ye.value, We(ye.value);
|
|
1114
1117
|
};
|
|
1115
1118
|
pe(P, () => {
|
|
1116
1119
|
ye.value = P.value;
|
|
1117
1120
|
});
|
|
1118
1121
|
const je = (c) => {
|
|
1119
1122
|
Q(c.items);
|
|
1120
|
-
},
|
|
1123
|
+
}, Le = (c) => {
|
|
1121
1124
|
ge(c.items);
|
|
1122
1125
|
}, ce = (c, b) => {
|
|
1123
1126
|
let d = !1;
|
|
@@ -1134,28 +1137,28 @@ const es = /* @__PURE__ */ q(Xt, [["render", Qt], ["__scopeId", "data-v-c82ac201
|
|
|
1134
1137
|
var d, h, C, Z;
|
|
1135
1138
|
const c = ["automatic", "button"].includes(s.lazyLoadType), b = ((d = s.selectedValues) == null ? void 0 : d.length) > 0 && ((h = I.value) == null ? void 0 : h.length) !== ((C = L.value) == null ? void 0 : C.length);
|
|
1136
1139
|
return c && s.hasMoreItems ? !!((Z = s.selectedValues) != null && Z.length) : b;
|
|
1137
|
-
}),
|
|
1140
|
+
}), $e = m(() => ["automatic", "button"].includes(s.lazyLoadType) ? !s.hasMoreItems : !0), de = $([]), { visibleDomOptions: De, updateVisibleDomOptions: Xe } = Ve(
|
|
1138
1141
|
u,
|
|
1139
1142
|
me(s, "items"),
|
|
1140
1143
|
k
|
|
1141
1144
|
), Je = (c) => {
|
|
1142
|
-
de.value.includes(c) ? de.value = de.value.filter((b) => b !== c) : de.value.push(c),
|
|
1145
|
+
de.value.includes(c) ? de.value = de.value.filter((b) => b !== c) : de.value.push(c), we(() => {
|
|
1143
1146
|
Xe();
|
|
1144
1147
|
});
|
|
1145
1148
|
}, Ze = (c) => {
|
|
1146
1149
|
var b;
|
|
1147
|
-
(b =
|
|
1150
|
+
(b = De.value[c]) == null || b.focus();
|
|
1148
1151
|
}, {
|
|
1149
1152
|
moveToNextElement: Qe,
|
|
1150
1153
|
moveToPreviousElement: et,
|
|
1151
1154
|
moveToFirstElement: tt,
|
|
1152
1155
|
moveToLastElement: st,
|
|
1153
|
-
preventDefault:
|
|
1154
|
-
focusedIndex:
|
|
1156
|
+
preventDefault: Be,
|
|
1157
|
+
focusedIndex: Re,
|
|
1155
1158
|
setListboxFocusedIndex: lt
|
|
1156
|
-
} =
|
|
1159
|
+
} = ze(
|
|
1157
1160
|
{
|
|
1158
|
-
items:
|
|
1161
|
+
items: De
|
|
1159
1162
|
},
|
|
1160
1163
|
Ze
|
|
1161
1164
|
), ot = {
|
|
@@ -1172,8 +1175,8 @@ const es = /* @__PURE__ */ q(Xt, [["render", Qt], ["__scopeId", "data-v-c82ac201
|
|
|
1172
1175
|
setListboxFocusedIndex: lt
|
|
1173
1176
|
});
|
|
1174
1177
|
const it = {
|
|
1175
|
-
[V.ARROW_UP]:
|
|
1176
|
-
[V.ARROW_DOWN]:
|
|
1178
|
+
[V.ARROW_UP]: Be,
|
|
1179
|
+
[V.ARROW_DOWN]: Be
|
|
1177
1180
|
}, nt = m(() => {
|
|
1178
1181
|
let c = 1;
|
|
1179
1182
|
const b = {};
|
|
@@ -1192,18 +1195,18 @@ const es = /* @__PURE__ */ q(Xt, [["render", Qt], ["__scopeId", "data-v-c82ac201
|
|
|
1192
1195
|
(v(!0), O(se, null, j(qe.value, (d) => (v(), O("li", {
|
|
1193
1196
|
key: d.value
|
|
1194
1197
|
}, [
|
|
1195
|
-
M(
|
|
1198
|
+
x(M(ft), {
|
|
1196
1199
|
ref_for: !0,
|
|
1197
1200
|
ref_key: "selectedListboxItemsRef",
|
|
1198
1201
|
ref: f,
|
|
1199
1202
|
disabled: c.isOptionDisabled(d),
|
|
1200
1203
|
label: d.label,
|
|
1201
1204
|
condensed: "",
|
|
1202
|
-
onClick: (h) => d.items ?
|
|
1205
|
+
onClick: (h) => d.items ? Le(d) : ce("select", d)
|
|
1203
1206
|
}, null, 8, ["disabled", "label", "onClick"])
|
|
1204
1207
|
]))), 128))
|
|
1205
1208
|
], 16)), [
|
|
1206
|
-
[
|
|
1209
|
+
[M(he)]
|
|
1207
1210
|
]),
|
|
1208
1211
|
b[4] || (b[4] = U("hr", {
|
|
1209
1212
|
class: "b-listbox-multi-select__divider",
|
|
@@ -1211,24 +1214,25 @@ const es = /* @__PURE__ */ q(Xt, [["render", Qt], ["__scopeId", "data-v-c82ac201
|
|
|
1211
1214
|
}, null, -1))
|
|
1212
1215
|
])) : X("", !0),
|
|
1213
1216
|
ae((v(), O("div", Y(r.value, { role: G.value }, te(ot, !0)), [
|
|
1214
|
-
|
|
1217
|
+
$e.value ? (v(), N(M(Ce), {
|
|
1215
1218
|
key: 0,
|
|
1216
1219
|
ref_key: "selectAllListboxItemsRef",
|
|
1217
1220
|
ref: l,
|
|
1218
1221
|
class: "b-listbox-multi-select__option",
|
|
1219
|
-
tabindex:
|
|
1220
|
-
"aria-
|
|
1222
|
+
tabindex: M(Re) === 0 ? 0 : -1,
|
|
1223
|
+
"aria-selected": ke.value !== "false",
|
|
1224
|
+
"aria-checked": ke.value,
|
|
1221
1225
|
role: k.value,
|
|
1222
1226
|
onClick: Te,
|
|
1223
1227
|
onEnterPressed: Te,
|
|
1224
1228
|
onSpacePressed: ne(Te, ["prevent"])
|
|
1225
1229
|
}, {
|
|
1226
1230
|
default: A(() => [
|
|
1227
|
-
M(
|
|
1228
|
-
checked:
|
|
1229
|
-
indeterminate:
|
|
1231
|
+
x(M(Ae), {
|
|
1232
|
+
checked: M(P),
|
|
1233
|
+
indeterminate: M(le)
|
|
1230
1234
|
}, null, 8, ["checked", "indeterminate"]),
|
|
1231
|
-
M(
|
|
1235
|
+
x(M(re), { el: "span" }, {
|
|
1232
1236
|
default: A(() => [
|
|
1233
1237
|
F(z(W.value), 1)
|
|
1234
1238
|
]),
|
|
@@ -1236,29 +1240,29 @@ const es = /* @__PURE__ */ q(Xt, [["render", Qt], ["__scopeId", "data-v-c82ac201
|
|
|
1236
1240
|
})
|
|
1237
1241
|
]),
|
|
1238
1242
|
_: 1
|
|
1239
|
-
}, 8, ["tabindex", "aria-checked", "role"])) : X("", !0),
|
|
1240
|
-
|
|
1241
|
-
M(
|
|
1243
|
+
}, 8, ["tabindex", "aria-selected", "aria-checked", "role"])) : X("", !0),
|
|
1244
|
+
$e.value ? (v(), O("hr", os)) : X("", !0),
|
|
1245
|
+
x(M(es), {
|
|
1242
1246
|
ref_key: "listboxItemsRef",
|
|
1243
1247
|
ref: E,
|
|
1244
1248
|
items: c.items,
|
|
1245
1249
|
"is-option-disabled": c.isOptionDisabled,
|
|
1246
|
-
"is-multi-level":
|
|
1250
|
+
"is-multi-level": M(R),
|
|
1247
1251
|
"static-categories": c.staticCategories,
|
|
1248
1252
|
searching: c.searching,
|
|
1249
1253
|
"selected-items-list": T.value,
|
|
1250
|
-
"focused-index":
|
|
1254
|
+
"focused-index": M(Re),
|
|
1251
1255
|
"items-index": nt.value,
|
|
1252
1256
|
role: k.value,
|
|
1253
1257
|
onToggleCheckboxSelection: b[0] || (b[0] = (d) => ce("select", d)),
|
|
1254
1258
|
onSelectCategory: je,
|
|
1255
|
-
onUnselectCategory:
|
|
1259
|
+
onUnselectCategory: Le,
|
|
1256
1260
|
onToggleCategoryVisibility: Je,
|
|
1257
|
-
onSpacePressed: b[1] || (b[1] = (d) => ce(
|
|
1258
|
-
onTabPressed: b[2] || (b[2] = (d) => ce(
|
|
1259
|
-
onEnterPressed: b[3] || (b[3] = (d) => ce(
|
|
1261
|
+
onSpacePressed: b[1] || (b[1] = (d) => ce(M(g).SPACE, d)),
|
|
1262
|
+
onTabPressed: b[2] || (b[2] = (d) => ce(M(g).TAB, d)),
|
|
1263
|
+
onEnterPressed: b[3] || (b[3] = (d) => ce(M(g).ENTER, d))
|
|
1260
1264
|
}, ve({ _: 2 }, [
|
|
1261
|
-
j(
|
|
1265
|
+
j(M(p), (d, h) => ({
|
|
1262
1266
|
name: h,
|
|
1263
1267
|
fn: A((C) => [
|
|
1264
1268
|
K(c.$slots, h, ie(be(C)), void 0, !0)
|
|
@@ -1266,11 +1270,11 @@ const es = /* @__PURE__ */ q(Xt, [["render", Qt], ["__scopeId", "data-v-c82ac201
|
|
|
1266
1270
|
}))
|
|
1267
1271
|
]), 1032, ["items", "is-option-disabled", "is-multi-level", "static-categories", "searching", "selected-items-list", "focused-index", "items-index", "role"])
|
|
1268
1272
|
], 16, ls)), [
|
|
1269
|
-
[
|
|
1273
|
+
[M(he)]
|
|
1270
1274
|
])
|
|
1271
1275
|
], 512));
|
|
1272
1276
|
}
|
|
1273
|
-
}),
|
|
1277
|
+
}), Me = /* @__PURE__ */ q(ns, [["__scopeId", "data-v-dc031d72"]]), xe = {
|
|
1274
1278
|
"en-US": {
|
|
1275
1279
|
loading: "Loading",
|
|
1276
1280
|
showMore: "Show more"
|
|
@@ -1288,7 +1292,7 @@ const es = /* @__PURE__ */ q(Xt, [["render", Qt], ["__scopeId", "data-v-c82ac201
|
|
|
1288
1292
|
components: {
|
|
1289
1293
|
BentoEmptyState: mt,
|
|
1290
1294
|
BentoListboxSingleSelect: Yt,
|
|
1291
|
-
BentoListboxMultiSelect:
|
|
1295
|
+
BentoListboxMultiSelect: Me,
|
|
1292
1296
|
BentoTypography: re,
|
|
1293
1297
|
BentoLoadingIndicator: bt,
|
|
1294
1298
|
BentoLoadingButton: ht
|
|
@@ -1375,7 +1379,7 @@ const es = /* @__PURE__ */ q(Xt, [["render", Qt], ["__scopeId", "data-v-c82ac201
|
|
|
1375
1379
|
*
|
|
1376
1380
|
* If enabled, hides the "Select all" checkbox in "multiple" mode.
|
|
1377
1381
|
*/
|
|
1378
|
-
searching:
|
|
1382
|
+
searching: Me.props.searching,
|
|
1379
1383
|
/**
|
|
1380
1384
|
* The `input` value.
|
|
1381
1385
|
* Providing an empty string or empty array will select no options.
|
|
@@ -1452,7 +1456,7 @@ const es = /* @__PURE__ */ q(Xt, [["render", Qt], ["__scopeId", "data-v-c82ac201
|
|
|
1452
1456
|
}), W = m(
|
|
1453
1457
|
() => e.lazyLoadType === oe.BUTTON && e.hasMoreItems
|
|
1454
1458
|
), Q = m(
|
|
1455
|
-
() => e.loading ?
|
|
1459
|
+
() => e.loading ? Ne.LOADING : Ne.START
|
|
1456
1460
|
), ge = m(() => e.loading ? o("loading") : o("showMore")), Ee = m(() => ({
|
|
1457
1461
|
...e.emptyState,
|
|
1458
1462
|
variant: "condensed"
|
|
@@ -1504,7 +1508,7 @@ const es = /* @__PURE__ */ q(Xt, [["render", Qt], ["__scopeId", "data-v-c82ac201
|
|
|
1504
1508
|
};
|
|
1505
1509
|
function vs(e, t, i, s, n, o) {
|
|
1506
1510
|
var E;
|
|
1507
|
-
const a = D("bento-loading-indicator"), p = D("bento-empty-state"), S = D("bento-typography"), r = D("bento-listbox-multi-select"), u = D("bento-listbox-single-select"), l = D("bento-loading-button"), f =
|
|
1511
|
+
const a = D("bento-loading-indicator"), p = D("bento-empty-state"), S = D("bento-typography"), r = D("bento-listbox-multi-select"), u = D("bento-listbox-single-select"), l = D("bento-loading-button"), f = Ye("bento-keyboard-navigation-directive");
|
|
1508
1512
|
return ae((v(), O("div", Y({
|
|
1509
1513
|
id: e.id,
|
|
1510
1514
|
ref: "listboxRef",
|
|
@@ -1517,7 +1521,7 @@ function vs(e, t, i, s, n, o) {
|
|
|
1517
1521
|
}), [
|
|
1518
1522
|
U("div", ie(be(e.wrapperProps)), [
|
|
1519
1523
|
e.componentLoading ? (v(), O("div", ds, [
|
|
1520
|
-
|
|
1524
|
+
x(a)
|
|
1521
1525
|
])) : e.isSearchResultEmpty ? (v(), O("div", us, [
|
|
1522
1526
|
e.emptyState ? (v(), N(p, ie(Y({ key: 0 }, e.limitedEmptyStateProps)), null, 16)) : (v(), N(S, {
|
|
1523
1527
|
key: 1,
|
|
@@ -1564,7 +1568,7 @@ function vs(e, t, i, s, n, o) {
|
|
|
1564
1568
|
}))
|
|
1565
1569
|
]), 1040, ["items", "selected-value", "static-categories", "is-option-disabled"])),
|
|
1566
1570
|
e.shouldDisplayShowMoreButton ? (v(), O("div", bs, [
|
|
1567
|
-
|
|
1571
|
+
x(l, {
|
|
1568
1572
|
state: e.loadingButtonState,
|
|
1569
1573
|
variant: "secondary",
|
|
1570
1574
|
onClickCapture: e.emitShowMore
|
|
@@ -1575,7 +1579,7 @@ function vs(e, t, i, s, n, o) {
|
|
|
1575
1579
|
_: 1
|
|
1576
1580
|
}, 8, ["state", "onClickCapture"])
|
|
1577
1581
|
])) : e.loading ? (v(), O("div", ms, [
|
|
1578
|
-
|
|
1582
|
+
x(a)
|
|
1579
1583
|
])) : X("", !0)
|
|
1580
1584
|
], 64))
|
|
1581
1585
|
], 16)
|
|
@@ -1643,7 +1647,7 @@ export {
|
|
|
1643
1647
|
g as a,
|
|
1644
1648
|
Rs as b,
|
|
1645
1649
|
Ns as c,
|
|
1646
|
-
|
|
1650
|
+
Ve as d,
|
|
1647
1651
|
ts as u
|
|
1648
1652
|
};
|
|
1649
|
-
//# sourceMappingURL=use-cached-selected-values.
|
|
1653
|
+
//# sourceMappingURL=use-cached-selected-values.D7dOPJSO.js.map
|