@adyen/bento-vue3 1.63.2 → 1.64.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 +4 -0
- 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/card.css +1 -1
- package/dist/assets/data-grid.css +1 -1
- package/dist/assets/date-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/input-field-password.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/checkbox.js +2 -2
- package/dist/chunks/{checkbox-group.Aqtco8Q5.js → checkbox-group.BKsddn67.js} +4 -4
- package/dist/chunks/{checkbox-group.Aqtco8Q5.js.map → checkbox-group.BKsddn67.js.map} +1 -1
- package/dist/chunks/{checkbox.Hl6-8Sai.js → checkbox.C1y3Ad4Z.js} +3 -3
- package/dist/chunks/{checkbox.Hl6-8Sai.js.map → checkbox.C1y3Ad4Z.js.map} +1 -1
- package/dist/chunks/{code-snippet.DyAfzpUj.js → code-snippet.CcWkFdEq.js} +3 -3
- package/dist/chunks/{code-snippet.DyAfzpUj.js.map → code-snippet.CcWkFdEq.js.map} +1 -1
- package/dist/chunks/{controls-group.D32ggMrj.js → controls-group.DD1m4EKn.js} +2 -2
- package/dist/chunks/{controls-group.D32ggMrj.js.map → controls-group.DD1m4EKn.js.map} +1 -1
- package/dist/chunks/{copy.BFMgEWBq.js → copy.DqckFHHS.js} +2 -2
- package/dist/chunks/{copy.BFMgEWBq.js.map → copy.DqckFHHS.js.map} +1 -1
- package/dist/chunks/{dashed-underline.DPWO9ADi.js → dashed-underline.ywc0ydgS.js} +2 -2
- package/dist/chunks/{dashed-underline.DPWO9ADi.js.map → dashed-underline.ywc0ydgS.js.map} +1 -1
- package/dist/chunks/data-grid.D0De1biC.js +3773 -0
- package/dist/chunks/data-grid.D0De1biC.js.map +1 -0
- package/dist/chunks/{date-picker.DGj3tbf8.js → date-picker.BLYOus7e.js} +20 -20
- package/dist/chunks/date-picker.BLYOus7e.js.map +1 -0
- package/dist/chunks/{date-range-picker.BJm2xOoG.js → date-range-picker._0XU4TRk.js} +5 -5
- package/dist/chunks/{date-range-picker.BJm2xOoG.js.map → date-range-picker._0XU4TRk.js.map} +1 -1
- package/dist/chunks/{dropdown-tag.CQMkfl3K.js → dropdown-tag.JTxCvtZL.js} +3 -3
- package/dist/chunks/{dropdown-tag.CQMkfl3K.js.map → dropdown-tag.JTxCvtZL.js.map} +1 -1
- package/dist/chunks/{dropdown.BPQS22Kl.js → dropdown.Bz5hTRFH.js} +159 -159
- package/dist/chunks/dropdown.Bz5hTRFH.js.map +1 -0
- package/dist/chunks/{error-message.C9YtK-P0.js → error-message.DZWphzoT.js} +2 -2
- package/dist/chunks/{error-message.C9YtK-P0.js.map → error-message.DZWphzoT.js.map} +1 -1
- package/dist/chunks/{file-uploader.CXi2dHhF.js → file-uploader.C8DwUCMp.js} +3 -3
- package/dist/chunks/{file-uploader.CXi2dHhF.js.map → file-uploader.C8DwUCMp.js.map} +1 -1
- package/dist/chunks/{filter-bar.BFnsLrta.js → filter-bar.ChPG7oJN.js} +10 -10
- package/dist/chunks/{filter-bar.BFnsLrta.js.map → filter-bar.ChPG7oJN.js.map} +1 -1
- package/dist/chunks/{header-with-views.CCSJ1mUs.js → header-with-views.DkoDjkyK.js} +4 -4
- package/dist/chunks/{header-with-views.CCSJ1mUs.js.map → header-with-views.DkoDjkyK.js.map} +1 -1
- package/dist/chunks/{info-icon.BOxWZsrW.js → info-icon.CpGwbhZQ.js} +2 -2
- package/dist/chunks/{info-icon.BOxWZsrW.js.map → info-icon.CpGwbhZQ.js.map} +1 -1
- package/dist/chunks/{input-field-password.B5zx9e4K.js → input-field-password.nYZBZ1bM.js} +137 -134
- package/dist/chunks/input-field-password.nYZBZ1bM.js.map +1 -0
- package/dist/chunks/{input-field-phone-number.DqfmWaJ2.js → input-field-phone-number.Ck_1WdgH.js} +3 -3
- package/dist/chunks/{input-field-phone-number.DqfmWaJ2.js.map → input-field-phone-number.Ck_1WdgH.js.map} +1 -1
- package/dist/chunks/{input-field.CfsdWr4t.js → input-field.BdDrm776.js} +3 -3
- package/dist/chunks/{input-field.CfsdWr4t.js.map → input-field.BdDrm776.js.map} +1 -1
- package/dist/chunks/{listbox-option-tag.0fIXV0Bs.js → listbox-option-tag.0BK6jWO9.js} +2 -2
- package/dist/chunks/{listbox-option-tag.0fIXV0Bs.js.map → listbox-option-tag.0BK6jWO9.js.map} +1 -1
- package/dist/chunks/{pagination.BKyr5hq_.js → pagination.DbuaT-4D.js} +2 -2
- package/dist/chunks/{pagination.BKyr5hq_.js.map → pagination.DbuaT-4D.js.map} +1 -1
- package/dist/chunks/{radio-group.B7-_Wh8z.js → radio-group.435rdgzm.js} +4 -4
- package/dist/chunks/{radio-group.B7-_Wh8z.js.map → radio-group.435rdgzm.js.map} +1 -1
- package/dist/chunks/{rich-text-editor.BK2zdyOm.js → rich-text-editor.BDLncrV5.js} +4 -4
- package/dist/chunks/{rich-text-editor.BK2zdyOm.js.map → rich-text-editor.BDLncrV5.js.map} +1 -1
- package/dist/chunks/{search-bar.DgOHq0ns.js → search-bar.DzVNjmpW.js} +3 -3
- package/dist/chunks/{search-bar.DgOHq0ns.js.map → search-bar.DzVNjmpW.js.map} +1 -1
- package/dist/chunks/{secondary-nav.BHpoi5U4.js → secondary-nav.tId-4Wy2.js} +2 -2
- package/dist/chunks/{secondary-nav.BHpoi5U4.js.map → secondary-nav.tId-4Wy2.js.map} +1 -1
- package/dist/chunks/{segmented-control.CZpx9H-d.js → segmented-control.5-vlm8Gt.js} +2 -2
- package/dist/chunks/{segmented-control.CZpx9H-d.js.map → segmented-control.5-vlm8Gt.js.map} +1 -1
- package/dist/chunks/{selection-card-group.-8bXRhOW.js → selection-card-group.9wJy7FC2.js} +3 -3
- package/dist/chunks/{selection-card-group.-8bXRhOW.js.map → selection-card-group.9wJy7FC2.js.map} +1 -1
- package/dist/chunks/{structured-list-item.Ca1EGpL7.js → structured-list-item.DQzxNb_M.js} +4 -4
- package/dist/chunks/{structured-list-item.Ca1EGpL7.js.map → structured-list-item.DQzxNb_M.js.map} +1 -1
- package/dist/chunks/{summary-grid.types.CGJ5YLMz.js → summary-grid.types.BpS1z1-W.js} +5 -5
- package/dist/chunks/{summary-grid.types.CGJ5YLMz.js.map → summary-grid.types.BpS1z1-W.js.map} +1 -1
- package/dist/chunks/{tag.B1G_vwKM.js → tag.D3in0-Bp.js} +2 -2
- package/dist/chunks/{tag.B1G_vwKM.js.map → tag.D3in0-Bp.js.map} +1 -1
- package/dist/chunks/{textarea.CuTrFVEa.js → textarea.CV1HjB0x.js} +2 -2
- package/dist/chunks/{textarea.CuTrFVEa.js.map → textarea.CV1HjB0x.js.map} +1 -1
- package/dist/chunks/{timeline-item.Oovatubh.js → timeline-item.DUp8MmgZ.js} +4 -4
- package/dist/chunks/{timeline-item.Oovatubh.js.map → timeline-item.DUp8MmgZ.js.map} +1 -1
- package/dist/chunks/{tooltip.D2o0d8Xf.js → tooltip.VYPUHERk.js} +13 -13
- package/dist/chunks/tooltip.VYPUHERk.js.map +1 -0
- package/dist/chunks/use-cached-selected-values.CatIU1_1.js +1591 -0
- package/dist/chunks/use-cached-selected-values.CatIU1_1.js.map +1 -0
- package/dist/code-snippet.js +1 -1
- package/dist/dashed-underline.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 +3 -3
- package/dist/file-uploader.js +1 -1
- package/dist/filter-bar.js +1 -1
- package/dist/header-with-views.js +1 -1
- package/dist/index.js +30 -30
- 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/internal.js +6 -6
- package/dist/pagination.js +1 -1
- package/dist/radio-group.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/segmented-control.js +1 -1
- package/dist/selection-card.js +1 -1
- package/dist/structured-list.js +1 -1
- package/dist/summary-grid.js +1 -1
- package/dist/tag.js +1 -1
- package/dist/textarea.js +1 -1
- package/dist/timeline.js +1 -1
- package/dist/web-types.json +1 -1
- package/package.json +5 -5
- package/dist/chunks/data-grid.BD6IwwRl.js +0 -3741
- package/dist/chunks/data-grid.BD6IwwRl.js.map +0 -1
- package/dist/chunks/date-picker.DGj3tbf8.js.map +0 -1
- package/dist/chunks/dropdown.BPQS22Kl.js.map +0 -1
- package/dist/chunks/input-field-password.B5zx9e4K.js.map +0 -1
- package/dist/chunks/tooltip.D2o0d8Xf.js.map +0 -1
- package/dist/chunks/use-cached-selected-values.swt0cdsA.js +0 -1524
- package/dist/chunks/use-cached-selected-values.swt0cdsA.js.map +0 -1
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { ref as
|
|
2
|
-
import { d as
|
|
3
|
-
import { a as se, b as V, c as
|
|
1
|
+
import { ref as w, watch as Be, computed as p, defineComponent as j, useSlots as De, toRefs as Ie, createBlock as K, openBlock as L, resolveDynamicComponent as Te, mergeProps as M, withCtx as z, createElementVNode as te, withKeys as Ze, unref as n, createVNode as Q, toHandlers as G, createSlots as re, renderList as de, renderSlot as X, normalizeProps as ue, guardReactiveProps as ce, createElementBlock as P, createCommentVNode as F, toDisplayString as ve, normalizeClass as pe, withDirectives as ee, vShow as Ee, nextTick as I, useAttrs as Qe, toRef as O, inject as Xe, createTextVNode as Ge } from "vue";
|
|
2
|
+
import { d as we, B as et } from "./typography.DN5eC5ch.js";
|
|
3
|
+
import { a as se, b as V, c as tt, B as J, D as at } from "./dropdown-default-textbox.B05elQig.js";
|
|
4
4
|
/* empty css */
|
|
5
|
-
import { _ } from "./_plugin-vue_export-helper.CHgC5LLL.js";
|
|
5
|
+
import { _ as Y } from "./_plugin-vue_export-helper.CHgC5LLL.js";
|
|
6
6
|
import { s as ie } from "./events.FNmSWp_P.js";
|
|
7
|
-
import { g as
|
|
8
|
-
import { u as
|
|
7
|
+
import { g as _ } from "./generate-uid.NJ8tVoha.js";
|
|
8
|
+
import { u as lt } from "./aria-label.CaUURpnB.js";
|
|
9
9
|
import { u as ye } from "./i18n.B6g5VX0q.js";
|
|
10
|
-
import { u as
|
|
11
|
-
import { B as
|
|
12
|
-
import { B as $, a as
|
|
13
|
-
import { a as
|
|
14
|
-
import { u as
|
|
15
|
-
import { F as
|
|
16
|
-
import { P as
|
|
10
|
+
import { u as ot } from "./use-form-layout-loading.D3lALhtC.js";
|
|
11
|
+
import { B as nt } from "./directive.Cbdox5VL.js";
|
|
12
|
+
import { B as $, a as st } from "./keyboard-navigation.CqgGzfZQ.js";
|
|
13
|
+
import { a as f, b as fe, B as me, c as it, u as rt } from "./use-cached-selected-values.CatIU1_1.js";
|
|
14
|
+
import { u as dt } from "./use-has-slot.B7eQSabc.js";
|
|
15
|
+
import { F as ut, E as ct } from "./error-message.DZWphzoT.js";
|
|
16
|
+
import { P as xe } from "./popper-container.b5h4zYgT.js";
|
|
17
17
|
import "./popper-container.types.BCZMbVFD.js";
|
|
18
|
-
import { B as
|
|
18
|
+
import { B as pt } from "./popover.maCMPyz8.js";
|
|
19
19
|
import "../assets/dropdown.css";
|
|
20
20
|
const be = {
|
|
21
21
|
"en-US": {
|
|
@@ -31,20 +31,20 @@ const be = {
|
|
|
31
31
|
apply: "Aplicar",
|
|
32
32
|
cancel: "Cancelar"
|
|
33
33
|
}
|
|
34
|
-
},
|
|
35
|
-
const o =
|
|
36
|
-
|
|
34
|
+
}, ft = (e, i, s, a) => {
|
|
35
|
+
const o = w(e.value), { t: l } = ye({ messages: be });
|
|
36
|
+
Be(e, () => {
|
|
37
37
|
o.value = e.value;
|
|
38
38
|
});
|
|
39
|
-
const t =
|
|
39
|
+
const t = p(
|
|
40
40
|
() => JSON.stringify(o.value) === JSON.stringify(e.value)
|
|
41
41
|
), c = () => {
|
|
42
|
-
a(
|
|
42
|
+
a(f.SELECT, o.value), a(f.CLOSE_DROPDOWN);
|
|
43
43
|
}, m = () => {
|
|
44
|
-
o.value = e.value, a(
|
|
44
|
+
o.value = e.value, a(f.CLOSE_DROPDOWN);
|
|
45
45
|
}, h = () => {
|
|
46
46
|
s.value && i.value && (o.value = e.value);
|
|
47
|
-
}, r =
|
|
47
|
+
}, r = p(() => [
|
|
48
48
|
{
|
|
49
49
|
title: l("apply"),
|
|
50
50
|
event: c,
|
|
@@ -55,23 +55,23 @@ const be = {
|
|
|
55
55
|
event: m
|
|
56
56
|
}
|
|
57
57
|
]), g = (S) => {
|
|
58
|
-
o.value = S, i.value || a(
|
|
58
|
+
o.value = S, i.value || a(f.SELECT, S);
|
|
59
59
|
}, u = (S) => {
|
|
60
|
-
g(S), a(
|
|
60
|
+
g(S), a(f.TAB);
|
|
61
61
|
}, x = (S) => {
|
|
62
|
-
g(S), a(
|
|
62
|
+
g(S), a(f.ENTER);
|
|
63
63
|
}, B = (S) => {
|
|
64
|
-
g(S), a(
|
|
64
|
+
g(S), a(f.SPACE);
|
|
65
65
|
}, v = () => {
|
|
66
|
-
m(), a(
|
|
66
|
+
m(), a(f.ESCAPE);
|
|
67
67
|
}, D = () => {
|
|
68
|
-
a(
|
|
68
|
+
a(f.SHOW_MORE);
|
|
69
69
|
}, E = {
|
|
70
|
-
[
|
|
71
|
-
[
|
|
72
|
-
[
|
|
73
|
-
[
|
|
74
|
-
[
|
|
70
|
+
[f.SELECT]: g,
|
|
71
|
+
[f.SHOW_MORE]: D,
|
|
72
|
+
[f.TAB]: u,
|
|
73
|
+
[f.SPACE]: B,
|
|
74
|
+
[f.ENTER]: x
|
|
75
75
|
};
|
|
76
76
|
return {
|
|
77
77
|
// Values
|
|
@@ -82,11 +82,11 @@ const be = {
|
|
|
82
82
|
onEscapeKey: v,
|
|
83
83
|
onOutsideDropdownClick: h
|
|
84
84
|
};
|
|
85
|
-
},
|
|
85
|
+
}, mt = j({
|
|
86
86
|
i18n: { messages: be },
|
|
87
87
|
name: "bento-dropdown-options-container"
|
|
88
|
-
}),
|
|
89
|
-
...
|
|
88
|
+
}), vt = /* @__PURE__ */ j({
|
|
89
|
+
...mt,
|
|
90
90
|
props: {
|
|
91
91
|
/**
|
|
92
92
|
* Defines a string value that labels an interactive element.
|
|
@@ -185,7 +185,7 @@ const be = {
|
|
|
185
185
|
* Reference to the DOM element or Vue component for positioning
|
|
186
186
|
* the Dropdown container.
|
|
187
187
|
*/
|
|
188
|
-
targetElement: { type:
|
|
188
|
+
targetElement: { type: xe.props.targetElement.type, required: !0 },
|
|
189
189
|
/**
|
|
190
190
|
* Enables virtual scrolling if set to true or by providing an object with itemHeight function.
|
|
191
191
|
* The itemHeight function is used to calculate the height of rendered item given it's index.
|
|
@@ -196,27 +196,28 @@ const be = {
|
|
|
196
196
|
}
|
|
197
197
|
},
|
|
198
198
|
setup(e, { expose: i, emit: s }) {
|
|
199
|
-
const a =
|
|
199
|
+
const a = De(), o = s, l = e, { selectedValue: t, multiple: c } = Ie(l), m = w(null), { t: h } = ye({ messages: be }), r = p(() => l.open && !l.disabled), g = p(() => h("noOptionsMatchThisSearch")), u = p(() => ({
|
|
200
200
|
"b-dropdown-options-container--single": !(l != null && l.multiple)
|
|
201
|
-
})), x =
|
|
201
|
+
})), x = p(() => ({
|
|
202
202
|
"b-dropdown-options-container__listbox--single": !(l != null && l.multiple)
|
|
203
|
-
})), { actions: B, internalSelectedValue: v, listeners: D, onEscapeKey: E, onOutsideDropdownClick: S } =
|
|
203
|
+
})), { actions: B, internalSelectedValue: v, listeners: D, onEscapeKey: E, onOutsideDropdownClick: S } = ft(t, c, r, o), W = p(() => l != null && l.multiple ? pt : xe), q = p(() => {
|
|
204
204
|
var d;
|
|
205
|
-
const
|
|
205
|
+
const A = {
|
|
206
206
|
"min-width": `${(d = l == null ? void 0 : l.targetElement) == null ? void 0 : d.clientWidth}px`,
|
|
207
207
|
"max-width": "min(500px, 95%)"
|
|
208
208
|
};
|
|
209
209
|
return l != null && l.multiple ? {
|
|
210
210
|
actionsLayout: "space-between",
|
|
211
|
+
ariaLabel: l.ariaLabel,
|
|
211
212
|
actions: B.value,
|
|
212
213
|
divider: !0,
|
|
213
214
|
fallbackPosition: ["top-start"],
|
|
214
|
-
id:
|
|
215
|
+
id: _(`dropdown-options-${l.id}`),
|
|
215
216
|
open: l.open,
|
|
216
217
|
position: "bottom-start",
|
|
217
218
|
style: {
|
|
218
219
|
width: "auto",
|
|
219
|
-
...
|
|
220
|
+
...A
|
|
220
221
|
},
|
|
221
222
|
targetElement: l.targetElement
|
|
222
223
|
} : {
|
|
@@ -225,20 +226,19 @@ const be = {
|
|
|
225
226
|
position: "bottom-start",
|
|
226
227
|
style: {
|
|
227
228
|
display: r.value ? "block" : "none",
|
|
228
|
-
...
|
|
229
|
+
...A
|
|
229
230
|
},
|
|
230
231
|
targetElement: l.targetElement
|
|
231
232
|
};
|
|
232
233
|
});
|
|
233
234
|
return i({
|
|
234
235
|
onOutsideDropdownClick: S
|
|
235
|
-
}), (
|
|
236
|
-
class: ["b-dropdown-options-container", u.value]
|
|
237
|
-
"aria-label": e.ariaLabel
|
|
236
|
+
}), (A, d) => (L(), K(Te(W.value), M({
|
|
237
|
+
class: ["b-dropdown-options-container", u.value]
|
|
238
238
|
}, q.value), {
|
|
239
239
|
default: z(() => [
|
|
240
240
|
te("div", {
|
|
241
|
-
onKeydown: d[0] || (d[0] =
|
|
241
|
+
onKeydown: d[0] || (d[0] = Ze(
|
|
242
242
|
//@ts-ignore
|
|
243
243
|
(...y) => n(E) && n(E)(...y),
|
|
244
244
|
["esc"]
|
|
@@ -264,26 +264,26 @@ const be = {
|
|
|
264
264
|
"has-more-items": e.hasMoreItems,
|
|
265
265
|
"virtual-scroll": e.virtualScroll
|
|
266
266
|
}, G(n(D))), re({ _: 2 }, [
|
|
267
|
-
de(n(a), (y,
|
|
268
|
-
name:
|
|
269
|
-
fn: z((
|
|
270
|
-
X(
|
|
267
|
+
de(n(a), (y, C) => ({
|
|
268
|
+
name: C,
|
|
269
|
+
fn: z((N) => [
|
|
270
|
+
X(A.$slots, C, ue(ce(N)), void 0, !0)
|
|
271
271
|
])
|
|
272
272
|
}))
|
|
273
273
|
]), 1040, ["id", "aria-label", "class", "component-loading", "empty-state", "is-option-disabled", "items", "selected-value", "multiple", "static-categories", "no-results-message", "searching", "loading", "lazy-load-type", "has-more-items", "virtual-scroll"])
|
|
274
274
|
], 32)
|
|
275
275
|
]),
|
|
276
276
|
_: 3
|
|
277
|
-
}, 16, ["
|
|
277
|
+
}, 16, ["class"]));
|
|
278
278
|
}
|
|
279
|
-
}),
|
|
279
|
+
}), yt = /* @__PURE__ */ Y(vt, [["__scopeId", "data-v-aa806d62"]]);
|
|
280
280
|
let Ce = 0;
|
|
281
|
-
const
|
|
281
|
+
const bt = {
|
|
282
282
|
beforeCreate() {
|
|
283
283
|
this.uuid = Ce.toString(), Ce += 1;
|
|
284
284
|
}
|
|
285
|
-
},
|
|
286
|
-
function
|
|
285
|
+
}, gt = { key: 0 };
|
|
286
|
+
function ht(e, i, s, a, o, l) {
|
|
287
287
|
return L(), P("svg", M({ role: "img" }, e.$attrs, {
|
|
288
288
|
class: "ui-assets-icons-16",
|
|
289
289
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -291,21 +291,21 @@ function gt(e, i, s, a, o, l) {
|
|
|
291
291
|
height: "16",
|
|
292
292
|
fill: "none"
|
|
293
293
|
}), [
|
|
294
|
-
e.$attrs["svg-title"] ? (L(), P("title",
|
|
294
|
+
e.$attrs["svg-title"] ? (L(), P("title", gt, ve(e.$attrs["svg-title"]), 1)) : F("", !0),
|
|
295
295
|
i[0] || (i[0] = te("path", {
|
|
296
296
|
fill: "#001222",
|
|
297
297
|
d: "M5.00011 5.43922L8.00011 8.43922L11.0001 5.43922L12.0608 6.49988L8.00011 10.5605L3.93945 6.49988L5.00011 5.43922Z"
|
|
298
298
|
}, null, -1))
|
|
299
299
|
], 16);
|
|
300
300
|
}
|
|
301
|
-
const
|
|
302
|
-
let
|
|
303
|
-
const
|
|
301
|
+
const St = /* @__PURE__ */ Y(bt, [["render", ht]]);
|
|
302
|
+
let Oe = 0;
|
|
303
|
+
const Lt = {
|
|
304
304
|
beforeCreate() {
|
|
305
|
-
this.uuid =
|
|
305
|
+
this.uuid = Oe.toString(), Oe += 1;
|
|
306
306
|
}
|
|
307
|
-
},
|
|
308
|
-
function
|
|
307
|
+
}, Et = { key: 0 };
|
|
308
|
+
function wt(e, i, s, a, o, l) {
|
|
309
309
|
return L(), P("svg", M({ role: "img" }, e.$attrs, {
|
|
310
310
|
class: "ui-assets-icons-16",
|
|
311
311
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -313,18 +313,18 @@ function Et(e, i, s, a, o, l) {
|
|
|
313
313
|
height: "16",
|
|
314
314
|
fill: "none"
|
|
315
315
|
}), [
|
|
316
|
-
e.$attrs["svg-title"] ? (L(), P("title",
|
|
316
|
+
e.$attrs["svg-title"] ? (L(), P("title", Et, ve(e.$attrs["svg-title"]), 1)) : F("", !0),
|
|
317
317
|
i[0] || (i[0] = te("path", {
|
|
318
318
|
fill: "#001222",
|
|
319
319
|
d: "M10.9999 10.5608L7.9999 7.56077L4.9999 10.5608L3.93924 9.50011L7.9999 5.43945L12.0606 9.50011L10.9999 10.5608Z"
|
|
320
320
|
}, null, -1))
|
|
321
321
|
], 16);
|
|
322
322
|
}
|
|
323
|
-
const
|
|
323
|
+
const xt = /* @__PURE__ */ Y(Lt, [["render", wt]]), Ct = { class: "b-dropdown-small-textbox__chevron" }, Ot = j({
|
|
324
324
|
name: "dropdown-small-textbox",
|
|
325
325
|
inheritAttrs: !1
|
|
326
|
-
}),
|
|
327
|
-
...
|
|
326
|
+
}), Bt = /* @__PURE__ */ j({
|
|
327
|
+
...Ot,
|
|
328
328
|
props: {
|
|
329
329
|
/**
|
|
330
330
|
* The number of additional items that have been selected in the dropdown.
|
|
@@ -385,11 +385,11 @@ const wt = /* @__PURE__ */ _(St, [["render", Et]]), Ct = { class: "b-dropdown-sm
|
|
|
385
385
|
},
|
|
386
386
|
emits: ["clear", "close", "input", "keydown", "open"],
|
|
387
387
|
setup(e, { expose: i, emit: s }) {
|
|
388
|
-
const a = s, o = e, l =
|
|
388
|
+
const a = s, o = e, l = w(null), t = p(() => ({
|
|
389
389
|
[`b-dropdown-small-textbox--${se.DISABLED}`]: o.disabled,
|
|
390
390
|
[`b-dropdown-small-textbox--${se.READONLY}`]: o.readonly,
|
|
391
391
|
[`b-dropdown-small-textbox--${se.OPENED}`]: o.open
|
|
392
|
-
})), c =
|
|
392
|
+
})), c = p(() => o.open && !o.disabled && !o.readonly), m = (v) => {
|
|
393
393
|
a("input", v);
|
|
394
394
|
}, h = (v) => {
|
|
395
395
|
a("keydown", v);
|
|
@@ -413,7 +413,7 @@ const wt = /* @__PURE__ */ _(St, [["render", Et]]), Ct = { class: "b-dropdown-sm
|
|
|
413
413
|
}), (v, D) => (L(), P("div", {
|
|
414
414
|
class: pe(["b-dropdown-small-textbox", t.value])
|
|
415
415
|
}, [
|
|
416
|
-
Q(
|
|
416
|
+
Q(tt, M({
|
|
417
417
|
ref_key: "baseTextbox",
|
|
418
418
|
ref: l
|
|
419
419
|
}, { ...v.$attrs, ...v.$props }, {
|
|
@@ -422,11 +422,11 @@ const wt = /* @__PURE__ */ _(St, [["render", Et]]), Ct = { class: "b-dropdown-sm
|
|
|
422
422
|
}, G(x)), {
|
|
423
423
|
icon: z(() => [
|
|
424
424
|
te("div", Ct, [
|
|
425
|
-
ee(Q(n(
|
|
426
|
-
[
|
|
425
|
+
ee(Q(n(xt), { "svg-title": "opened" }, null, 512), [
|
|
426
|
+
[Ee, c.value]
|
|
427
427
|
]),
|
|
428
|
-
ee(Q(n(
|
|
429
|
-
[
|
|
428
|
+
ee(Q(n(St), { "svg-title": "closed" }, null, 512), [
|
|
429
|
+
[Ee, !c.value]
|
|
430
430
|
])
|
|
431
431
|
])
|
|
432
432
|
]),
|
|
@@ -434,7 +434,7 @@ const wt = /* @__PURE__ */ _(St, [["render", Et]]), Ct = { class: "b-dropdown-sm
|
|
|
434
434
|
}, 16, ["size"])
|
|
435
435
|
], 2));
|
|
436
436
|
}
|
|
437
|
-
}),
|
|
437
|
+
}), Dt = /* @__PURE__ */ Y(Bt, [["__scopeId", "data-v-66b5eaa5"]]), It = (e, i) => i.value.reduce((s, a) => {
|
|
438
438
|
if (a.items) {
|
|
439
439
|
const o = a.items.filter(
|
|
440
440
|
(t) => e.value.find((c) => c.value === t.value)
|
|
@@ -442,18 +442,18 @@ const wt = /* @__PURE__ */ _(St, [["render", Et]]), Ct = { class: "b-dropdown-sm
|
|
|
442
442
|
o.length === a.items.length ? s.push(a.displayValue ?? a.label) : o.forEach(({ label: t, displayValue: c }) => s.push(c ?? t));
|
|
443
443
|
}
|
|
444
444
|
return e.value.find((o) => o.value === a.value) && s.push(a.displayValue ?? a.label), s;
|
|
445
|
-
}, []).join(", "),
|
|
446
|
-
const o =
|
|
445
|
+
}, []).join(", "), Tt = ({ items: e, placeholder: i, selectedValues: s, isMultiSelect: a }) => {
|
|
446
|
+
const o = p(
|
|
447
447
|
() => a.value && e.value.find((t) => {
|
|
448
448
|
var c;
|
|
449
449
|
return (c = t.items) == null ? void 0 : c.length;
|
|
450
450
|
})
|
|
451
451
|
);
|
|
452
|
-
return
|
|
453
|
-
},
|
|
452
|
+
return p(() => s.value.length ? o.value ? It(s, e) : s.value.map(({ label: t, displayValue: c }) => c ?? t).join(", ") : i.value || null);
|
|
453
|
+
}, $e = (e) => {
|
|
454
454
|
var i;
|
|
455
455
|
(i = e.value.$children) == null || i[0].$refs.textbox.focus();
|
|
456
|
-
},
|
|
456
|
+
}, $t = ({
|
|
457
457
|
inputContainerRef: e,
|
|
458
458
|
optionsContainerRef: i,
|
|
459
459
|
selectedValueIndex: s,
|
|
@@ -463,15 +463,15 @@ const wt = /* @__PURE__ */ _(St, [["render", Et]]), Ct = { class: "b-dropdown-sm
|
|
|
463
463
|
isMultiple: t
|
|
464
464
|
}, c, m, h) => {
|
|
465
465
|
const r = async (d) => {
|
|
466
|
-
var y,
|
|
467
|
-
o.value && await I(), (
|
|
466
|
+
var y, C;
|
|
467
|
+
o.value && await I(), (C = (y = i.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef) == null ? void 0 : y.$el.querySelectorAll('[role="option"]')[d]) == null || C.focus();
|
|
468
468
|
}, g = async (d) => {
|
|
469
|
-
var
|
|
469
|
+
var C, N;
|
|
470
470
|
o.value && await I();
|
|
471
|
-
const y = (
|
|
471
|
+
const y = (C = i.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef) == null ? void 0 : C.$el.querySelectorAll(
|
|
472
472
|
"button"
|
|
473
473
|
);
|
|
474
|
-
y.length ? (
|
|
474
|
+
y.length ? (N = y[d]) == null || N.focus() : r(d);
|
|
475
475
|
}, u = (d) => {
|
|
476
476
|
var y;
|
|
477
477
|
return (y = i.value.$refs.dropdownOptionsListboxRef.$refs.listboxItemRef) == null ? void 0 : y.setListboxFocusedIndex(
|
|
@@ -495,7 +495,7 @@ const wt = /* @__PURE__ */ _(St, [["render", Et]]), Ct = { class: "b-dropdown-sm
|
|
|
495
495
|
u(l.length - 1), r(l.length - 1);
|
|
496
496
|
}));
|
|
497
497
|
}, D = () => {
|
|
498
|
-
a.value && (h(),
|
|
498
|
+
a.value && (h(), $e(e));
|
|
499
499
|
}, E = () => {
|
|
500
500
|
a.value && h();
|
|
501
501
|
}, S = () => {
|
|
@@ -511,7 +511,7 @@ const wt = /* @__PURE__ */ _(St, [["render", Et]]), Ct = { class: "b-dropdown-sm
|
|
|
511
511
|
t ? g(0) : (u(s.value), r(s.value));
|
|
512
512
|
});
|
|
513
513
|
};
|
|
514
|
-
return
|
|
514
|
+
return p(() => ({
|
|
515
515
|
...o.value ? {} : { [$.SPACE]: W },
|
|
516
516
|
[$.ENTER]: q,
|
|
517
517
|
[$.ARROW_DOWN]: x,
|
|
@@ -521,31 +521,31 @@ const wt = /* @__PURE__ */ _(St, [["render", Et]]), Ct = { class: "b-dropdown-sm
|
|
|
521
521
|
[$.HOME]: S,
|
|
522
522
|
[$.TAB]: E
|
|
523
523
|
}));
|
|
524
|
-
},
|
|
524
|
+
}, At = ({ inputContainerRef: e, isDropdownOpen: i }, s) => {
|
|
525
525
|
const a = () => {
|
|
526
526
|
i.value && s(), I(() => {
|
|
527
|
-
|
|
527
|
+
$e(e);
|
|
528
528
|
});
|
|
529
529
|
};
|
|
530
530
|
return {
|
|
531
|
-
[
|
|
532
|
-
[
|
|
533
|
-
[
|
|
534
|
-
[
|
|
531
|
+
[f.ENTER]: a,
|
|
532
|
+
[f.ESCAPE]: a,
|
|
533
|
+
[f.TAB]: a,
|
|
534
|
+
[f.SPACE]: a
|
|
535
535
|
};
|
|
536
536
|
};
|
|
537
537
|
function Nt(e, i, s, a) {
|
|
538
|
-
const o =
|
|
539
|
-
return
|
|
538
|
+
const o = w(e), l = w(i), t = (m, h = []) => h.flatMap((r) => r.label.toLocaleLowerCase().includes(m) ? a != null && a.value && r.items ? [...t(m, r.items)] : [r, ...t(m, r.items)] : r.items ? [...t(m, r.items)] : []);
|
|
539
|
+
return Be(o, () => {
|
|
540
540
|
s !== void 0 && s(o.value);
|
|
541
|
-
}),
|
|
541
|
+
}), p(() => {
|
|
542
542
|
if (!o.value || s !== void 0)
|
|
543
543
|
return l.value;
|
|
544
544
|
const m = o.value.toLocaleLowerCase();
|
|
545
545
|
return t(m, l.value);
|
|
546
546
|
});
|
|
547
547
|
}
|
|
548
|
-
const
|
|
548
|
+
const Ae = {
|
|
549
549
|
"en-US": {
|
|
550
550
|
all: "All",
|
|
551
551
|
ariaLabelFallback: "Dropdown",
|
|
@@ -559,15 +559,15 @@ const $e = {
|
|
|
559
559
|
all: "Todos",
|
|
560
560
|
clearFilter: "Limpar filtro"
|
|
561
561
|
}
|
|
562
|
-
},
|
|
563
|
-
i18n: { messages:
|
|
562
|
+
}, Rt = Symbol("input field component injection key"), aa = Symbol("input field hint injection key"), la = Symbol("input field parent component injection key"), Mt = j({
|
|
563
|
+
i18n: { messages: Ae },
|
|
564
564
|
name: "b-dropdown",
|
|
565
565
|
components: {
|
|
566
|
-
DropdownInputDefault:
|
|
567
|
-
DropdownInputSmall:
|
|
566
|
+
DropdownInputDefault: at,
|
|
567
|
+
DropdownInputSmall: Dt
|
|
568
568
|
}
|
|
569
|
-
}),
|
|
570
|
-
...
|
|
569
|
+
}), Pt = /* @__PURE__ */ j({
|
|
570
|
+
...Mt,
|
|
571
571
|
props: {
|
|
572
572
|
/**
|
|
573
573
|
* @deprecated from version 2.0.0. Use the aria-label attribute instead.
|
|
@@ -743,27 +743,27 @@ const $e = {
|
|
|
743
743
|
},
|
|
744
744
|
emits: ["input", "show-more"],
|
|
745
745
|
setup(e, { expose: i, emit: s }) {
|
|
746
|
-
var
|
|
747
|
-
const a =
|
|
746
|
+
var Le;
|
|
747
|
+
const a = Qe(), o = De(), l = dt(o), t = e, c = s, { t: m } = ye({ messages: Ae }), h = w(null), r = w(null), g = w(null), u = w(!1), x = _("bento-dropdown-options-container"), B = _("dropdown-label"), v = _("dropdown-description"), D = _("dropdown-error"), { isReadOnly: E } = ot(O(t, "readonly")), { cachedSelectedListboxOptions: S, cachedListboxSelectedValues: W, setCachedValues: q } = it(
|
|
748
748
|
O(t, "items"),
|
|
749
749
|
O(t, "value"),
|
|
750
750
|
O(t, "multiple"),
|
|
751
751
|
O(t, "enableValueLabelPair")
|
|
752
|
-
),
|
|
752
|
+
), A = w(a["aria-label"]), { ariaLabel: d, label: y } = Ie(t), C = p(() => m("ariaLabelFallback")), N = lt({
|
|
753
753
|
// TODO: take ariaLabel ref away when aria-label prop is removed
|
|
754
|
-
ariaLabel: d.value ||
|
|
754
|
+
ariaLabel: d.value || A,
|
|
755
755
|
label: y,
|
|
756
|
-
defaultFallback:
|
|
757
|
-
}),
|
|
756
|
+
defaultFallback: C
|
|
757
|
+
}), ge = t.size === J.SMALL || Xe(Rt, !1), Ne = p(() => ge ? J.SMALL : J.DEFAULT), Re = p(() => ({
|
|
758
758
|
"b-dropdown--condensed": t.condensed
|
|
759
|
-
})),
|
|
759
|
+
})), Me = p(() => ({
|
|
760
760
|
"b-dropdown__description--error": !!t.errorMessage
|
|
761
|
-
})), R =
|
|
761
|
+
})), R = w(""), Z = O(t, "items"), he = O(t, "staticCategories"), Se = Nt(R, Z, (Le = t == null ? void 0 : t.search) == null ? void 0 : Le.searchEvent, he), ae = p(() => t.dynamicFiltering && !!R.value), Pe = Tt({
|
|
762
762
|
items: Z,
|
|
763
763
|
placeholder: O(t, "placeholder"),
|
|
764
764
|
isMultiSelect: O(t, "multiple"),
|
|
765
765
|
selectedValues: S
|
|
766
|
-
}),
|
|
766
|
+
}), ke = p(() => {
|
|
767
767
|
if (t != null && t.multiple && Array.isArray(t.value))
|
|
768
768
|
return t.items.filter(
|
|
769
769
|
({ value: b }) => (t == null ? void 0 : t.value) && (t == null ? void 0 : t.value).includes(b)
|
|
@@ -775,70 +775,70 @@ const $e = {
|
|
|
775
775
|
return b ? b.items.find((k) => k.value === t.value) : null;
|
|
776
776
|
}
|
|
777
777
|
return t.items.find(({ value: b }) => b === (t == null ? void 0 : t.value));
|
|
778
|
-
}),
|
|
779
|
-
const b =
|
|
778
|
+
}), Ke = p(() => {
|
|
779
|
+
const b = Se.value.findIndex(({ value: T }) => t.value === T);
|
|
780
780
|
return b > -1 ? b : 0;
|
|
781
|
-
}), { isMultiLevelSelect:
|
|
781
|
+
}), { isMultiLevelSelect: Fe, flattenedItemsList: ze } = rt(Z), je = p(() => {
|
|
782
782
|
if (t.multiple) {
|
|
783
|
-
const b = Array.isArray(t.value) ? t.value.length : 0, T =
|
|
783
|
+
const b = Array.isArray(t.value) ? t.value.length : 0, T = Fe.value ? ze.value.length : Z.value.length;
|
|
784
784
|
return b === 0 ? null : !t.hasMoreItems && T > 0 && T === b ? m("all") : b;
|
|
785
785
|
}
|
|
786
786
|
return null;
|
|
787
|
-
}),
|
|
787
|
+
}), We = p(
|
|
788
788
|
() => `${t.description ? v : ""} ${t.errorMessage ? D : ""}`.trim() || null
|
|
789
|
-
),
|
|
789
|
+
), qe = () => {
|
|
790
790
|
E.value || (u.value = !0);
|
|
791
791
|
}, le = () => {
|
|
792
792
|
u.value = !1;
|
|
793
793
|
}, oe = () => {
|
|
794
794
|
E.value || (u.value = !u.value, ae.value && (R.value = ""));
|
|
795
|
-
},
|
|
795
|
+
}, Ue = () => {
|
|
796
796
|
ae.value && (R.value = ""), u.value && (u.value = !1, g.value.onOutsideDropdownClick());
|
|
797
|
-
},
|
|
797
|
+
}, He = (b) => {
|
|
798
798
|
t.multiple || (R.value = "", u.value = !1), q(b), c("input", W.value);
|
|
799
|
-
},
|
|
800
|
-
c(
|
|
801
|
-
},
|
|
799
|
+
}, Ve = () => {
|
|
800
|
+
c(f.SHOW_MORE);
|
|
801
|
+
}, Je = $t(
|
|
802
802
|
{
|
|
803
803
|
inputContainerRef: h,
|
|
804
804
|
optionsContainerRef: g,
|
|
805
|
-
selectedValueIndex:
|
|
805
|
+
selectedValueIndex: Ke,
|
|
806
806
|
isDropdownOpen: u,
|
|
807
807
|
isDynamicFltering: O(t, "dynamicFiltering"),
|
|
808
808
|
items: t.items,
|
|
809
809
|
isMultiple: t.multiple
|
|
810
810
|
},
|
|
811
811
|
oe,
|
|
812
|
-
|
|
812
|
+
qe,
|
|
813
813
|
le
|
|
814
|
-
),
|
|
814
|
+
), _e = At(
|
|
815
815
|
{
|
|
816
816
|
inputContainerRef: h,
|
|
817
817
|
isDropdownOpen: u
|
|
818
818
|
},
|
|
819
819
|
le
|
|
820
820
|
), Ye = {
|
|
821
|
-
[
|
|
822
|
-
[
|
|
823
|
-
[
|
|
824
|
-
...
|
|
821
|
+
[f.CLOSE_DROPDOWN]: le,
|
|
822
|
+
[f.SELECT]: He,
|
|
823
|
+
[f.SHOW_MORE]: Ve,
|
|
824
|
+
..._e
|
|
825
825
|
};
|
|
826
|
-
return t.error &&
|
|
826
|
+
return t.error && we(
|
|
827
827
|
'BentoDropdown "error" property',
|
|
828
828
|
`Use the BentoDropdown "errorMessage" property instead to indicate that there is a modifier error.
|
|
829
829
|
Having the field as "undefined" will hide/remove the error.
|
|
830
830
|
<bento-dropdown errorMessage="Error message text" />`,
|
|
831
831
|
"2.0.0"
|
|
832
|
-
), t.size &&
|
|
832
|
+
), t.size && we('BentoDropdown "size" property', "Do not use. Only 'default' size should be used.", "2.0.0"), i({
|
|
833
833
|
focus: () => {
|
|
834
834
|
h.value.focus();
|
|
835
835
|
}
|
|
836
836
|
}), (b, T) => {
|
|
837
837
|
var k;
|
|
838
838
|
return ee((L(), P("div", {
|
|
839
|
-
class: pe(["b-dropdown",
|
|
839
|
+
class: pe(["b-dropdown", Re.value])
|
|
840
840
|
}, [
|
|
841
|
-
n(y) ? (L(), K(n(
|
|
841
|
+
n(y) ? (L(), K(n(ut), {
|
|
842
842
|
key: 0,
|
|
843
843
|
id: n(B),
|
|
844
844
|
condensed: e.condensed,
|
|
@@ -850,27 +850,27 @@ const $e = {
|
|
|
850
850
|
ee((L(), P("div", M({
|
|
851
851
|
ref_key: "inputContainerRefWrapper",
|
|
852
852
|
ref: r
|
|
853
|
-
}, G(n(
|
|
854
|
-
(L(), K(
|
|
853
|
+
}, G(n(Je), !0)), [
|
|
854
|
+
(L(), K(Te(Ne.value), {
|
|
855
855
|
ref_key: "inputContainerRef",
|
|
856
856
|
ref: h,
|
|
857
857
|
condensed: e.condensed,
|
|
858
858
|
value: R.value,
|
|
859
|
-
"additional-items-selected":
|
|
860
|
-
|
|
859
|
+
"additional-items-selected": je.value,
|
|
860
|
+
"aria-controls": n(x),
|
|
861
861
|
ariaExpanded: u.value,
|
|
862
862
|
"aria-labelledby": n(y) ? n(B) : null,
|
|
863
|
-
"aria-describedby":
|
|
864
|
-
"aria-label": n(
|
|
863
|
+
"aria-describedby": We.value,
|
|
864
|
+
"aria-label": n(N),
|
|
865
865
|
"aria-readonly": n(E),
|
|
866
866
|
readonly: n(E),
|
|
867
867
|
disabled: e.disabled,
|
|
868
|
-
"display-value": n(
|
|
868
|
+
"display-value": n(Pe),
|
|
869
869
|
"dynamic-filtering": e.dynamicFiltering,
|
|
870
870
|
"is-invalid": !!e.errorMessage || e.error,
|
|
871
871
|
multiple: e.multiple,
|
|
872
872
|
open: u.value,
|
|
873
|
-
"selected-value-item": n(
|
|
873
|
+
"selected-value-item": n(ge) ? void 0 : ke.value,
|
|
874
874
|
"show-slot-content-in-multiple": e.showSlotContentInMultiple,
|
|
875
875
|
onInput: T[0] || (T[0] = (U) => R.value = U),
|
|
876
876
|
onOpen: oe,
|
|
@@ -882,24 +882,24 @@ const $e = {
|
|
|
882
882
|
X(b.$slots, H, ue(ce(ne)), void 0, !0)
|
|
883
883
|
])
|
|
884
884
|
}))
|
|
885
|
-
]), 1064, ["condensed", "value", "additional-items-selected", "
|
|
885
|
+
]), 1064, ["condensed", "value", "additional-items-selected", "aria-controls", "ariaExpanded", "aria-labelledby", "aria-describedby", "aria-label", "aria-readonly", "readonly", "disabled", "display-value", "dynamic-filtering", "is-invalid", "multiple", "open", "selected-value-item", "show-slot-content-in-multiple"]))
|
|
886
886
|
], 16)), [
|
|
887
|
-
[n(
|
|
887
|
+
[n(st)]
|
|
888
888
|
]),
|
|
889
|
-
h.value ? (L(), K(n(
|
|
889
|
+
h.value ? (L(), K(n(yt), M({
|
|
890
890
|
key: 1,
|
|
891
891
|
id: n(x),
|
|
892
892
|
ref_key: "optionsContainerRef",
|
|
893
893
|
ref: g,
|
|
894
|
-
"aria-label": n(
|
|
894
|
+
"aria-label": n(N),
|
|
895
895
|
"component-loading": e.componentLoading,
|
|
896
896
|
"empty-state": e.emptyState,
|
|
897
897
|
"debounce-time": (k = e.search) == null ? void 0 : k.debounceTime,
|
|
898
898
|
disabled: e.disabled,
|
|
899
899
|
"is-option-disabled": e.isOptionDisabled,
|
|
900
|
-
items: n(
|
|
900
|
+
items: n(Se),
|
|
901
901
|
multiple: e.multiple,
|
|
902
|
-
"static-categories":
|
|
902
|
+
"static-categories": he.value,
|
|
903
903
|
open: u.value,
|
|
904
904
|
"selected-value": n(S),
|
|
905
905
|
searching: ae.value,
|
|
@@ -916,36 +916,36 @@ const $e = {
|
|
|
916
916
|
])
|
|
917
917
|
}))
|
|
918
918
|
]), 1040, ["id", "aria-label", "component-loading", "empty-state", "debounce-time", "disabled", "is-option-disabled", "items", "multiple", "static-categories", "open", "selected-value", "searching", "target-element", "loading", "has-more-items", "lazy-load-type", "virtual-scroll"])) : F("", !0),
|
|
919
|
-
e.errorMessage ? (L(), K(n(
|
|
919
|
+
e.errorMessage ? (L(), K(n(ct), {
|
|
920
920
|
key: 2,
|
|
921
921
|
id: n(D),
|
|
922
922
|
"error-message": e.errorMessage,
|
|
923
923
|
class: "b-dropdown__error-message"
|
|
924
924
|
}, null, 8, ["id", "error-message"])) : F("", !0),
|
|
925
|
-
e.description || n(l)("description") ? (L(), K(n(
|
|
925
|
+
e.description || n(l)("description") ? (L(), K(n(et), {
|
|
926
926
|
key: 3,
|
|
927
927
|
id: n(v),
|
|
928
|
-
class: pe(["b-dropdown__description",
|
|
928
|
+
class: pe(["b-dropdown__description", Me.value]),
|
|
929
929
|
el: "span"
|
|
930
930
|
}, {
|
|
931
931
|
default: z(() => [
|
|
932
932
|
X(b.$slots, "description", {}, () => [
|
|
933
|
-
|
|
933
|
+
Ge(ve(e.description), 1)
|
|
934
934
|
], !0)
|
|
935
935
|
]),
|
|
936
936
|
_: 3
|
|
937
937
|
}, 8, ["id", "class"])) : F("", !0)
|
|
938
938
|
], 2)), [
|
|
939
|
-
[n(
|
|
939
|
+
[n(nt), Ue]
|
|
940
940
|
]);
|
|
941
941
|
};
|
|
942
942
|
}
|
|
943
|
-
}),
|
|
943
|
+
}), oa = /* @__PURE__ */ Y(Pt, [["__scopeId", "data-v-04b90b6f"]]);
|
|
944
944
|
export {
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
945
|
+
oa as B,
|
|
946
|
+
aa as I,
|
|
947
|
+
Rt as a,
|
|
948
|
+
la as b,
|
|
949
949
|
Nt as u
|
|
950
950
|
};
|
|
951
|
-
//# sourceMappingURL=dropdown.
|
|
951
|
+
//# sourceMappingURL=dropdown.Bz5hTRFH.js.map
|