@ironsource/shared-ui 2.1.12-rc.23 → 2.1.12-rc.25
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/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_38354f10_lang.css +1 -0
- package/ConditionalDropdown.vue_vue_type_style_index_0_scoped_cce87267_lang.css +1 -0
- package/DataGrid.vue_vue_type_style_index_0_scoped_5b72e35a_lang.css +1 -0
- package/DropdownV4.vue_vue_type_style_index_0_scoped_92ead583_lang.css +1 -0
- package/ToggleButtonGroupAB.vue_vue_type_style_index_0_scoped_2076b5ab_lang.css +1 -0
- package/components/button/v4/ToggleButtonGroupAB.vue.js +3 -3
- package/components/button/v4/ToggleButtonGroupAB.vue2.js +40 -44
- package/components/dropdown/v3/Dropdown.vue.d.ts +1 -1
- package/components/dropdown/v3/index.d.ts +20 -20
- package/components/dropdown/v4/ChipDropdownTrigger.vue.d.ts +5 -0
- package/components/dropdown/v4/ChipDropdownTrigger.vue.js +3 -3
- package/components/dropdown/v4/ChipDropdownTrigger.vue2.js +64 -54
- package/components/dropdown/v4/ConditionalDropdown.vue.d.ts +5 -0
- package/components/dropdown/v4/ConditionalDropdown.vue.js +3 -3
- package/components/dropdown/v4/ConditionalDropdown.vue2.js +94 -91
- package/components/dropdown/v4/DropdownV4.vue.d.ts +6 -1
- package/components/dropdown/v4/DropdownV4.vue.js +3 -3
- package/components/dropdown/v4/DropdownV4.vue2.js +51 -49
- package/components/dropdown/v4/TreeDropdown.vue.d.ts +1 -1
- package/components/dropdown/v4/index.d.ts +77 -40
- package/components/table/v4/DataGrid.vue.js +4 -4
- package/components/table/v4/DataGrid.vue2.js +5 -5
- package/index.d.ts +154 -80
- package/index.js +1 -1
- package/package.json +1 -1
- package/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_e43ac1c9_lang.css +0 -1
- package/ConditionalDropdown.vue_vue_type_style_index_0_scoped_8d5521da_lang.css +0 -1
- package/DataGrid.vue_vue_type_style_index_0_scoped_086c5b0d_lang.css +0 -1
- package/DropdownV4.vue_vue_type_style_index_0_scoped_86b82f0c_lang.css +0 -1
- package/ToggleButtonGroupAB.vue_vue_type_style_index_0_scoped_c81a7d3e_lang.css +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../../../DropdownV4.
|
|
1
|
+
import "../../../DropdownV4.vue_vue_type_style_index_0_scoped_92ead583_lang.css"; import "../../../DropdownV4.vue_vue_type_style_index_1_lang.css"; import { defineComponent as ke, computed as E, watch as Te, toRaw as I, openBlock as d, createElementBlock as r, mergeProps as f, unref as t, renderSlot as m, createElementVNode as p, createVNode as a, withCtx as u, Transition as we, normalizeClass as B, normalizeStyle as be, createTextVNode as T, createCommentVNode as s, isRef as Ie, toDisplayString as U, withModifiers as X, Fragment as ve, renderList as Se, createSlots as Ce, createBlock as q, resolveDynamicComponent as Ke } from "vue";
|
|
2
2
|
import x from "../../button/v4/ButtonV4.vue.js";
|
|
3
3
|
import "../../button/v4/IconButtonV4.vue.js";
|
|
4
4
|
import "../../button/v4/ButtonGroup.vue.js";
|
|
@@ -20,9 +20,9 @@ import { DropdownTestIdModifiers as g } from "../../../testids/index.js";
|
|
|
20
20
|
import { dropdownCommon as Fe } from "../common/Dropdown.common.js";
|
|
21
21
|
import C from "../../skeleton/v4/SkeletonV4.vue.js";
|
|
22
22
|
import { useTestIdAttrs as Ne } from "../../../utils/testIds.js";
|
|
23
|
-
import { TRIGGERS as
|
|
24
|
-
import { useElementSize as
|
|
25
|
-
import
|
|
23
|
+
import { TRIGGERS as w } from "./Dropdown.types.js";
|
|
24
|
+
import { useElementSize as Ve } from "@vueuse/core";
|
|
25
|
+
import De from "../../shared/FieldHelpText.vue.js";
|
|
26
26
|
import Pe from "./GroupOption.vue.js";
|
|
27
27
|
const Re = ["tabindex"], ze = { style: { width: "100%" } }, $e = { key: 0 }, Me = { key: 1 }, We = { key: 2 }, Ge = {
|
|
28
28
|
key: 0,
|
|
@@ -36,7 +36,7 @@ const Re = ["tabindex"], ze = { style: { width: "100%" } }, $e = { key: 0 }, Me
|
|
|
36
36
|
}, Ye = {
|
|
37
37
|
key: 1,
|
|
38
38
|
class: "actions-wrapper"
|
|
39
|
-
}, je = { class: "actions-clear-all" }, Je = { class: "actions-apply-cancel" }, St = /* @__PURE__ */
|
|
39
|
+
}, je = { class: "actions-clear-all" }, Je = { class: "actions-apply-cancel" }, St = /* @__PURE__ */ ke({
|
|
40
40
|
__name: "DropdownV4",
|
|
41
41
|
props: {
|
|
42
42
|
modelValue: { default: null },
|
|
@@ -71,9 +71,10 @@ const Re = ["tabindex"], ze = { style: { width: "100%" } }, $e = { key: 0 }, Me
|
|
|
71
71
|
triggerFeedbackVariant: { default: null },
|
|
72
72
|
triggerFeedbackShowIcon: { type: Boolean, default: !1 },
|
|
73
73
|
triggerShowAllSelectedText: { type: Boolean, default: !0 },
|
|
74
|
+
triggerShownValuesCount: { default: 1 },
|
|
74
75
|
size: { default: "medium" },
|
|
75
76
|
mandatory: { type: Boolean, default: !1 },
|
|
76
|
-
predefinedTrigger: { default:
|
|
77
|
+
predefinedTrigger: { default: w.DEFAULT },
|
|
77
78
|
inlineSearch: { type: Boolean, default: !1 },
|
|
78
79
|
inlineSearchPlaceholder: { default: "Search" },
|
|
79
80
|
onSearch: { type: Function, default: null },
|
|
@@ -115,22 +116,22 @@ const Re = ["tabindex"], ze = { style: { width: "100%" } }, $e = { key: 0 }, Me
|
|
|
115
116
|
DROPLIST_MIN_WIDTH: 240,
|
|
116
117
|
VERSION: 4
|
|
117
118
|
}, {
|
|
118
|
-
onKeydown:
|
|
119
|
+
onKeydown: b,
|
|
119
120
|
open: c,
|
|
120
121
|
toggleMenu: v,
|
|
121
|
-
onButtonKeydown:
|
|
122
|
+
onButtonKeydown: V,
|
|
122
123
|
query: S,
|
|
123
124
|
containerProps: Q,
|
|
124
125
|
calculateTableHeight: Z,
|
|
125
126
|
wrapperProps: _,
|
|
126
127
|
filteredOptions: ee,
|
|
127
|
-
allSelected:
|
|
128
|
+
allSelected: D,
|
|
128
129
|
allSelectedApplied: K,
|
|
129
130
|
isIndeterminate: te,
|
|
130
131
|
onSelectAll: oe,
|
|
131
132
|
virtualOptions: P,
|
|
132
133
|
isSelected: A,
|
|
133
|
-
selectedOption:
|
|
134
|
+
selectedOption: k,
|
|
134
135
|
selectedOptionPrevious: O,
|
|
135
136
|
selectedValue: ne,
|
|
136
137
|
onSelect: R,
|
|
@@ -147,8 +148,8 @@ const Re = ["tabindex"], ze = { style: { width: "100%" } }, $e = { key: 0 }, Me
|
|
|
147
148
|
clearAll: ce,
|
|
148
149
|
isGroup: ye,
|
|
149
150
|
flattenAndMarkGroupOptions: me
|
|
150
|
-
} = Fe(o, F, N),
|
|
151
|
-
|
|
151
|
+
} = Fe(o, F, N), h = Ne(o.testId, g), W = E(() => !o.predefinedTrigger || o.predefinedTrigger === w.DEFAULT ? Ae : o.predefinedTrigger === w.APP ? Ee : null), { width: G } = Ve($), fe = E(() => o.optionsListWidth ? o.optionsListWidth : !o.predefinedTrigger || o.predefinedTrigger === w.DEFAULT || o.predefinedTrigger === w.APP ? G.value - 2 > 240 ? `${G.value - 2}px` : `${N.DROPLIST_MIN_WIDTH}px` : "auto");
|
|
152
|
+
Te(
|
|
152
153
|
() => o.optionsListWidth,
|
|
153
154
|
() => {
|
|
154
155
|
o.optionsListWidth && document.documentElement.style.setProperty(
|
|
@@ -161,7 +162,7 @@ const Re = ["tabindex"], ze = { style: { width: "100%" } }, $e = { key: 0 }, Me
|
|
|
161
162
|
v();
|
|
162
163
|
}, pe = E(() => {
|
|
163
164
|
if (o.multi && o.comparingKey) {
|
|
164
|
-
const i = I(
|
|
165
|
+
const i = I(k.value);
|
|
165
166
|
if (o.minSelections || o.maxSelections) {
|
|
166
167
|
if (Array.isArray(i) && i.length <= o.minSelections)
|
|
167
168
|
return i.map((l) => l[o.comparingKey]);
|
|
@@ -191,9 +192,9 @@ const Re = ["tabindex"], ze = { style: { width: "100%" } }, $e = { key: 0 }, Me
|
|
|
191
192
|
ref: ue,
|
|
192
193
|
class: ["dropdown dropdown--main-wrapper", [{ "dropdown--disabled": e.disabled, "full-width": e.fullWidth }]],
|
|
193
194
|
tabindex: e.disabled ? -1 : 0
|
|
194
|
-
}, t(
|
|
195
|
+
}, t(h)[t(g).WRAPPER], {
|
|
195
196
|
onKeydown: l[8] || (l[8] = //@ts-ignore
|
|
196
|
-
(...n) => t(
|
|
197
|
+
(...n) => t(b) && t(b)(...n))
|
|
197
198
|
}), [
|
|
198
199
|
m(i.$slots, "label", {}, void 0, !0),
|
|
199
200
|
p("div", ze, [
|
|
@@ -214,9 +215,9 @@ const Re = ["tabindex"], ze = { style: { width: "100%" } }, $e = { key: 0 }, Me
|
|
|
214
215
|
"auto-hide": !1,
|
|
215
216
|
container: e.container,
|
|
216
217
|
"auto-size": e.autoSize
|
|
217
|
-
}, t(
|
|
218
|
+
}, t(h)[t(g).TRIGGER]), {
|
|
218
219
|
popper: u(() => [
|
|
219
|
-
a(
|
|
220
|
+
a(we, null, {
|
|
220
221
|
default: u(() => [
|
|
221
222
|
t(c) ? (d(), r("div", {
|
|
222
223
|
key: 0,
|
|
@@ -226,20 +227,20 @@ const Re = ["tabindex"], ze = { style: { width: "100%" } }, $e = { key: 0 }, Me
|
|
|
226
227
|
"dropdown--disabled": e.disabled,
|
|
227
228
|
"inline-search": e.inlineSearch
|
|
228
229
|
}]),
|
|
229
|
-
style:
|
|
230
|
+
style: be({ width: t(fe) })
|
|
230
231
|
}, [
|
|
231
232
|
t(c) ? (d(), r("div", {
|
|
232
233
|
key: 0,
|
|
233
234
|
class: B(["dropdown-list-wrapper", { "dropdown-list-wrapper--multi": e.multi }]),
|
|
234
235
|
onKeydown: l[7] || (l[7] = //@ts-ignore
|
|
235
|
-
(...n) => t(
|
|
236
|
+
(...n) => t(b) && t(b)(...n))
|
|
236
237
|
}, [
|
|
237
238
|
t(c) && e.inlineSearch ? (d(), r("div", Ge, [
|
|
238
239
|
e.withConditions ? m(i.$slots, "dropdown-conditions", { key: 0 }, () => [
|
|
239
240
|
p("div", He, [
|
|
240
241
|
a(t(j), { variant: "body2" }, {
|
|
241
242
|
default: u(() => [
|
|
242
|
-
|
|
243
|
+
T("Conditions")
|
|
243
244
|
]),
|
|
244
245
|
_: 1
|
|
245
246
|
})
|
|
@@ -257,7 +258,7 @@ const Re = ["tabindex"], ze = { style: { width: "100%" } }, $e = { key: 0 }, Me
|
|
|
257
258
|
size: "md",
|
|
258
259
|
"auto-focus": e.searchAutoFocus,
|
|
259
260
|
"test-id": e.testId,
|
|
260
|
-
onKeydown: t(
|
|
261
|
+
onKeydown: t(b)
|
|
261
262
|
}, null, 8, ["modelValue", "placeholder", "auto-focus", "test-id", "onUpdate:modelValue", "onKeydown"])
|
|
262
263
|
], !0)
|
|
263
264
|
])) : s("", !0),
|
|
@@ -267,7 +268,7 @@ const Re = ["tabindex"], ze = { style: { width: "100%" } }, $e = { key: 0 }, Me
|
|
|
267
268
|
style: { height: `${t(Z)}rem` }
|
|
268
269
|
}, {
|
|
269
270
|
...t(Q),
|
|
270
|
-
...t(
|
|
271
|
+
...t(h)[t(g).LIST_CONTAINER]
|
|
271
272
|
}), [
|
|
272
273
|
m(i.$slots, "custom-list-area", {}, void 0, !0),
|
|
273
274
|
p("ul", f(t(_), {
|
|
@@ -278,9 +279,9 @@ const Re = ["tabindex"], ze = { style: { width: "100%" } }, $e = { key: 0 }, Me
|
|
|
278
279
|
}]
|
|
279
280
|
}), [
|
|
280
281
|
!t(ee).length && !e.loading && !e.withConditions ? (d(), r("li", Ue, [
|
|
281
|
-
a(t(j), f({ variant: "body2" }, t(
|
|
282
|
+
a(t(j), f({ variant: "body2" }, t(h)[t(g).NO_RESULT]), {
|
|
282
283
|
default: u(() => [
|
|
283
|
-
|
|
284
|
+
T(U(e.noResultsText), 1)
|
|
284
285
|
]),
|
|
285
286
|
_: 1
|
|
286
287
|
}, 16)
|
|
@@ -289,20 +290,20 @@ const Re = ["tabindex"], ze = { style: { width: "100%" } }, $e = { key: 0 }, Me
|
|
|
289
290
|
p("li", null, [
|
|
290
291
|
a(t(Y), f(
|
|
291
292
|
{
|
|
292
|
-
"aria-selected": t(
|
|
293
|
+
"aria-selected": t(D),
|
|
293
294
|
"aria-disabled": !!e.disabled,
|
|
294
|
-
"selected-prop": t(
|
|
295
|
+
"selected-prop": t(D),
|
|
295
296
|
"is-indeterminate": t(te),
|
|
296
297
|
"is-multi": e.multi,
|
|
297
298
|
"select-all-option": ""
|
|
298
299
|
},
|
|
299
|
-
t(
|
|
300
|
+
t(h)[t(g).SELECT_ALL],
|
|
300
301
|
{
|
|
301
302
|
onClick: l[5] || (l[5] = X((n) => t(oe)(), ["stop"]))
|
|
302
303
|
}
|
|
303
304
|
), {
|
|
304
305
|
default: u(() => [
|
|
305
|
-
|
|
306
|
+
T(" Select all ")
|
|
306
307
|
]),
|
|
307
308
|
_: 1
|
|
308
309
|
}, 16, ["aria-selected", "aria-disabled", "selected-prop", "is-indeterminate", "is-multi"])
|
|
@@ -310,7 +311,7 @@ const Re = ["tabindex"], ze = { style: { width: "100%" } }, $e = { key: 0 }, Me
|
|
|
310
311
|
], !0) : s("", !0),
|
|
311
312
|
t(P).length && !e.loading ? (d(!0), r(ve, { key: 2 }, Se(t(P), ({ data: n, index: y }) => (d(), r("li", {
|
|
312
313
|
key: y,
|
|
313
|
-
"aria-selected": t(A)(I(t(
|
|
314
|
+
"aria-selected": t(A)(I(t(k)), n),
|
|
314
315
|
"aria-disabled": !!e.disabled,
|
|
315
316
|
onClick: X(
|
|
316
317
|
() => !L(n) && t(R)(n, y),
|
|
@@ -320,7 +321,7 @@ const Re = ["tabindex"], ze = { style: { width: "100%" } }, $e = { key: 0 }, Me
|
|
|
320
321
|
e.groupedOptions && t(ye)(n) ? m(i.$slots, "group-option", { key: 0 }, () => [
|
|
321
322
|
a(Pe, null, {
|
|
322
323
|
default: u(() => [
|
|
323
|
-
|
|
324
|
+
T(U(e.displayValue(n) || n[e.optionNameKey]), 1)
|
|
324
325
|
]),
|
|
325
326
|
_: 2
|
|
326
327
|
}, 1024)
|
|
@@ -328,13 +329,13 @@ const Re = ["tabindex"], ze = { style: { width: "100%" } }, $e = { key: 0 }, Me
|
|
|
328
329
|
key: 1,
|
|
329
330
|
option: n,
|
|
330
331
|
index: y,
|
|
331
|
-
selected: t(A)(I(t(
|
|
332
|
+
selected: t(A)(I(t(k)), n),
|
|
332
333
|
active: I(t(z)) === y,
|
|
333
334
|
disabled: L(n)
|
|
334
335
|
}, () => [
|
|
335
336
|
a(t(Y), {
|
|
336
337
|
option: n,
|
|
337
|
-
"selected-prop": t(A)(t(
|
|
338
|
+
"selected-prop": t(A)(t(k), n),
|
|
338
339
|
active: I(t(z)) === y,
|
|
339
340
|
disabled: L(n),
|
|
340
341
|
"name-key": e.optionNameKey,
|
|
@@ -352,8 +353,8 @@ const Re = ["tabindex"], ze = { style: { width: "100%" } }, $e = { key: 0 }, Me
|
|
|
352
353
|
}, Ce({ _: 2 }, [
|
|
353
354
|
i.$slots["option-end"] ? {
|
|
354
355
|
name: "option-end",
|
|
355
|
-
fn: u(({ option:
|
|
356
|
-
m(i.$slots, "option-end", { option:
|
|
356
|
+
fn: u(({ option: he }) => [
|
|
357
|
+
m(i.$slots, "option-end", { option: he }, void 0, !0)
|
|
357
358
|
]),
|
|
358
359
|
key: "0"
|
|
359
360
|
} : void 0
|
|
@@ -378,13 +379,13 @@ const Re = ["tabindex"], ze = { style: { width: "100%" } }, $e = { key: 0 }, Me
|
|
|
378
379
|
variant: "text",
|
|
379
380
|
color: "primary"
|
|
380
381
|
},
|
|
381
|
-
t(
|
|
382
|
+
t(h)[t(g).ACTION_CLEAR_ALL],
|
|
382
383
|
{
|
|
383
384
|
onClick: l[6] || (l[6] = () => t(M)(!1))
|
|
384
385
|
}
|
|
385
386
|
), {
|
|
386
387
|
default: u(() => [
|
|
387
|
-
|
|
388
|
+
T(" Clear all ")
|
|
388
389
|
]),
|
|
389
390
|
_: 1
|
|
390
391
|
}, 16)
|
|
@@ -398,11 +399,11 @@ const Re = ["tabindex"], ze = { style: { width: "100%" } }, $e = { key: 0 }, Me
|
|
|
398
399
|
variant: "outlined",
|
|
399
400
|
color: "primary"
|
|
400
401
|
},
|
|
401
|
-
t(
|
|
402
|
+
t(h)[t(g).ACTION_CANCEL],
|
|
402
403
|
{ onClick: t(ie) }
|
|
403
404
|
), {
|
|
404
405
|
default: u(() => [
|
|
405
|
-
|
|
406
|
+
T(" Cancel ")
|
|
406
407
|
]),
|
|
407
408
|
_: 1
|
|
408
409
|
}, 16, ["onClick"]),
|
|
@@ -412,9 +413,9 @@ const Re = ["tabindex"], ze = { style: { width: "100%" } }, $e = { key: 0 }, Me
|
|
|
412
413
|
"data-testid": "mutli-apply",
|
|
413
414
|
size: "small",
|
|
414
415
|
class: "apply-button"
|
|
415
|
-
}, t(
|
|
416
|
+
}, t(h)[t(g).ACTION_APPLY], { onClick: t(le) }), {
|
|
416
417
|
default: u(() => [
|
|
417
|
-
|
|
418
|
+
T(" Apply ")
|
|
418
419
|
]),
|
|
419
420
|
_: 1
|
|
420
421
|
}, 16, ["onClick"])
|
|
@@ -454,7 +455,7 @@ const Re = ["tabindex"], ze = { style: { width: "100%" } }, $e = { key: 0 }, Me
|
|
|
454
455
|
testId: e.testId,
|
|
455
456
|
multi: e.multi,
|
|
456
457
|
disabled: e.disabled,
|
|
457
|
-
selectedOption: e.multi ? t(O) : t(
|
|
458
|
+
selectedOption: e.multi ? t(O) : t(k),
|
|
458
459
|
displayValue: e.displayValue,
|
|
459
460
|
options: e.options,
|
|
460
461
|
optionNameKey: e.optionNameKey,
|
|
@@ -471,7 +472,7 @@ const Re = ["tabindex"], ze = { style: { width: "100%" } }, $e = { key: 0 }, Me
|
|
|
471
472
|
size: e.size,
|
|
472
473
|
showAllSelectedText: e.triggerShowAllSelectedText,
|
|
473
474
|
allSelected: t(K),
|
|
474
|
-
onKeydown: t(
|
|
475
|
+
onKeydown: t(V),
|
|
475
476
|
onClick: H
|
|
476
477
|
}
|
|
477
478
|
}, () => [
|
|
@@ -485,7 +486,7 @@ const Re = ["tabindex"], ze = { style: { width: "100%" } }, $e = { key: 0 }, Me
|
|
|
485
486
|
"test-id": e.testId,
|
|
486
487
|
multi: e.multi,
|
|
487
488
|
disabled: e.disabled,
|
|
488
|
-
"selected-option": e.multi ? t(O) : t(
|
|
489
|
+
"selected-option": e.multi ? t(O) : t(k),
|
|
489
490
|
"display-value": e.displayValue,
|
|
490
491
|
options: e.options,
|
|
491
492
|
"option-name-key": e.optionNameKey,
|
|
@@ -502,29 +503,30 @@ const Re = ["tabindex"], ze = { style: { width: "100%" } }, $e = { key: 0 }, Me
|
|
|
502
503
|
size: e.size,
|
|
503
504
|
"show-all-selected-text": e.triggerShowAllSelectedText,
|
|
504
505
|
"all-selected": t(K),
|
|
505
|
-
onKeydown: t(
|
|
506
|
+
onKeydown: t(V),
|
|
506
507
|
onClick: H,
|
|
507
508
|
onCopyToClipboard: l[0] || (l[0] = (n) => F("copyToClipboard"))
|
|
508
509
|
}, null, 40, ["placeholder", "open", "label", "show-feedback-icon", "mandatory", "test-id", "multi", "disabled", "selected-option", "display-value", "options", "option-name-key", "option-image-key", "option-icon-key", "option-icon-type", "option-end-icon-key", "option-end-icon-type", "options-end-text-icon-key", "option-flag-key", "feedback-variant", "value-to-copy", "status-dot-type", "size", "show-all-selected-text", "all-selected", "onKeydown"]))
|
|
509
510
|
])) : s("", !0),
|
|
510
|
-
e.predefinedTrigger === t(
|
|
511
|
+
e.predefinedTrigger === t(w).ICON_BUTTON ? (d(), r("div", Me, [
|
|
511
512
|
a(t(Oe), {
|
|
512
513
|
onClick: l[1] || (l[1] = (n) => t(v)())
|
|
513
514
|
})
|
|
514
515
|
])) : s("", !0),
|
|
515
|
-
e.predefinedTrigger === t(
|
|
516
|
+
e.predefinedTrigger === t(w).CHIP ? (d(), r("div", We, [
|
|
516
517
|
a(t(Le), {
|
|
517
518
|
open: t(c),
|
|
518
519
|
label: e.placeholder,
|
|
519
520
|
"test-id": e.testId,
|
|
520
521
|
options: e.options,
|
|
521
|
-
"selected-option": e.multi ? t(O) : t(
|
|
522
|
+
"selected-option": e.multi ? t(O) : t(k),
|
|
522
523
|
"display-value": e.displayValue,
|
|
523
524
|
multi: e.multi,
|
|
524
525
|
"all-selected": t(K),
|
|
526
|
+
"shown-values-count": e.triggerShownValuesCount,
|
|
525
527
|
onClick: l[2] || (l[2] = (n) => t(v)()),
|
|
526
528
|
onClear: l[3] || (l[3] = (n) => t(M)())
|
|
527
|
-
}, null, 8, ["open", "label", "test-id", "options", "selected-option", "display-value", "multi", "all-selected"])
|
|
529
|
+
}, null, 8, ["open", "label", "test-id", "options", "selected-option", "display-value", "multi", "all-selected", "shown-values-count"])
|
|
528
530
|
])) : s("", !0)
|
|
529
531
|
], !0)
|
|
530
532
|
], 512)
|
|
@@ -532,7 +534,7 @@ const Re = ["tabindex"], ze = { style: { width: "100%" } }, $e = { key: 0 }, Me
|
|
|
532
534
|
]),
|
|
533
535
|
_: 3
|
|
534
536
|
}, 16, ["theme", "popper-class", "placement", "skidding", "distance", "flip", "shown", "container", "auto-size"]),
|
|
535
|
-
e.triggerFeedbackText ? (d(), q(
|
|
537
|
+
e.triggerFeedbackText ? (d(), q(De, {
|
|
536
538
|
key: 0,
|
|
537
539
|
text: e.triggerFeedbackText,
|
|
538
540
|
variant: e.triggerFeedbackVariant,
|
|
@@ -84,8 +84,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
84
84
|
testId: string;
|
|
85
85
|
disabled: boolean;
|
|
86
86
|
size: "small" | "medium" | "large";
|
|
87
|
-
selected: unknown[];
|
|
88
87
|
valueToCopy: string;
|
|
88
|
+
selected: unknown[];
|
|
89
89
|
placeholder: string;
|
|
90
90
|
inlineSearchPlaceholder: string;
|
|
91
91
|
optionNameKey: string;
|