@ironsource/shared-ui 2.1.12-rc.54 → 2.1.12-rc.56
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/DropdownV4.vue_vue_type_style_index_0_scoped_a594c97e_lang.css +1 -0
- package/DropdownV4.vue_vue_type_style_index_1_lang.css +1 -1
- package/TreeDropdown.vue_vue_type_style_index_0_scoped_63dc057e_lang.css +1 -0
- package/components/dropdown/v4/DropdownV4.vue.d.ts +5 -0
- package/components/dropdown/v4/DropdownV4.vue.js +3 -3
- package/components/dropdown/v4/DropdownV4.vue2.js +68 -64
- package/components/dropdown/v4/TreeDropdown.vue.d.ts +10 -0
- package/components/dropdown/v4/TreeDropdown.vue.js +2 -2
- package/components/dropdown/v4/TreeDropdown.vue2.js +155 -151
- package/components/dropdown/v4/index.d.ts +59 -2
- package/index.d.ts +118 -4
- package/index.js +1 -1
- package/package.json +1 -1
- package/DropdownV4.vue_vue_type_style_index_0_scoped_2d66b7b6_lang.css +0 -1
- package/TreeDropdown.vue_vue_type_style_index_0_scoped_4ba9e4bd_lang.css +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../../../TreeDropdown.
|
|
1
|
+
import "../../../TreeDropdown.vue_vue_type_style_index_0_scoped_63dc057e_lang.css"; import { defineComponent as te, provide as ne, ref as s, computed as m, onMounted as le, watch as b, openBlock as K, createBlock as D, unref as a, withCtx as f, createVNode as k, mergeProps as z, createSlots as ie, renderSlot as oe, createElementVNode as M, withModifiers as E, createTextVNode as ae, createElementBlock as B, withDirectives as de, Fragment as re, renderList as ce, vShow as se, createCommentVNode as ue } from "vue";
|
|
2
2
|
import pe from "./DropdownV4.vue.js";
|
|
3
3
|
import ye from "./DefaultDropdownTrigger.vue.js";
|
|
4
4
|
import "./IconButtonDropdownTrigger.vue.js";
|
|
@@ -7,16 +7,16 @@ import "./AppDropdownTrigger.vue.js";
|
|
|
7
7
|
import "./ButtonDropdownTrigger.vue.js";
|
|
8
8
|
import "./ButtonFilterDropdownTrigger.vue.js";
|
|
9
9
|
import "./TreeDropdown.vue.js";
|
|
10
|
-
import
|
|
10
|
+
import S from "./OptionV4.vue.js";
|
|
11
11
|
import "./ConditionalDropdown.vue.js";
|
|
12
|
-
import { useChildOptions as
|
|
13
|
-
import
|
|
12
|
+
import { useChildOptions as fe } from "../composables/useChildOptions.js";
|
|
13
|
+
import he from "../../search/v4/SearchV4.vue.js";
|
|
14
14
|
import { useTestIdAttrs as ve } from "../../../utils/testIds.js";
|
|
15
|
-
import { DropdownTestIdModifiers as
|
|
16
|
-
const
|
|
15
|
+
import { DropdownTestIdModifiers as F } from "../../../testids/index.js";
|
|
16
|
+
const ge = {
|
|
17
17
|
key: 0,
|
|
18
18
|
class: "child-options"
|
|
19
|
-
},
|
|
19
|
+
}, Ve = /* @__PURE__ */ te({
|
|
20
20
|
__name: "TreeDropdown",
|
|
21
21
|
props: {
|
|
22
22
|
options: null,
|
|
@@ -39,230 +39,234 @@ const me = {
|
|
|
39
39
|
disabledOptionKey: { default: "disabled" },
|
|
40
40
|
optionChildrenKey: null,
|
|
41
41
|
optionUniqueIdKey: null,
|
|
42
|
-
preExpandedOptions: null
|
|
42
|
+
preExpandedOptions: null,
|
|
43
|
+
triggerFeedbackText: { default: "" },
|
|
44
|
+
triggerFeedbackVariant: { default: null }
|
|
43
45
|
},
|
|
44
46
|
emits: ["update:selected", "update:isOpen"],
|
|
45
|
-
setup(
|
|
46
|
-
const
|
|
47
|
-
|
|
48
|
-
const
|
|
47
|
+
setup(l, { emit: w }) {
|
|
48
|
+
const t = l;
|
|
49
|
+
ne("isTreeDropdown", !0);
|
|
50
|
+
const g = s([]), u = s([]), T = s({}), x = s(!1), o = s([...t.selected]), p = s(""), O = s(!0), N = m(() => u.value.reduce((e, i) => (i[t.optionChildrenKey] && i[t.optionChildrenKey].length && i[t.optionChildrenKey].forEach(() => {
|
|
49
51
|
e = e + 1;
|
|
50
|
-
}),
|
|
51
|
-
|
|
52
|
-
e[
|
|
53
|
-
...e[
|
|
52
|
+
}), i[t.optionChildrenKey] || (e = e + 1), e), 0)), U = () => {
|
|
53
|
+
t.options.forEach((e) => {
|
|
54
|
+
e[t.optionChildrenKey] && e[t.optionChildrenKey].length && (T.value[e[t.optionUniqueIdKey]] = [
|
|
55
|
+
...e[t.optionChildrenKey]
|
|
54
56
|
]);
|
|
55
|
-
}),
|
|
56
|
-
}, { hasChildren:
|
|
57
|
-
if (
|
|
58
|
-
|
|
59
|
-
(
|
|
60
|
-
) :
|
|
61
|
-
...
|
|
57
|
+
}), g.value = [...t.options], u.value = [...t.options];
|
|
58
|
+
}, { hasChildren: h, getChildren: v, allChildrenSelected: C, someChildrenSelected: $ } = fe(o, t.optionChildrenKey), q = (e) => {
|
|
59
|
+
if (h(e)) {
|
|
60
|
+
C(e) ? o.value = o.value.filter(
|
|
61
|
+
(i) => !v(e).includes(i)
|
|
62
|
+
) : o.value = [
|
|
63
|
+
...o.value.filter((i) => !v(e).includes(i)),
|
|
62
64
|
...v(e)
|
|
63
65
|
];
|
|
64
66
|
return;
|
|
65
67
|
}
|
|
66
|
-
|
|
67
|
-
(
|
|
68
|
-
) :
|
|
69
|
-
},
|
|
70
|
-
|
|
71
|
-
},
|
|
72
|
-
|
|
68
|
+
o.value.includes(e) ? o.value = o.value.filter(
|
|
69
|
+
(i) => i !== e
|
|
70
|
+
) : o.value = [...o.value, e];
|
|
71
|
+
}, V = (e) => o.value.includes(e), P = (e) => 1 + (h(e) ? v(e).length : 0), J = () => {
|
|
72
|
+
w("update:selected", o.value), A.value = y.value;
|
|
73
|
+
}, j = () => {
|
|
74
|
+
o.value = [];
|
|
73
75
|
}, G = () => {
|
|
74
76
|
const e = /* @__PURE__ */ new Set([]);
|
|
75
|
-
u.value.forEach((
|
|
76
|
-
if (
|
|
77
|
-
e.add(
|
|
78
|
-
else if (
|
|
79
|
-
for (const
|
|
80
|
-
if (
|
|
81
|
-
e.add(
|
|
77
|
+
u.value.forEach((n) => {
|
|
78
|
+
if (t.selected?.includes(n))
|
|
79
|
+
e.add(n);
|
|
80
|
+
else if (n[t.optionChildrenKey] && n[t.optionChildrenKey].length) {
|
|
81
|
+
for (const r of n[t.optionChildrenKey])
|
|
82
|
+
if (t.selected?.includes(r)) {
|
|
83
|
+
e.add(n);
|
|
82
84
|
break;
|
|
83
85
|
}
|
|
84
86
|
}
|
|
85
87
|
});
|
|
86
|
-
const
|
|
87
|
-
return u.value.forEach((
|
|
88
|
-
!
|
|
89
|
-
}),
|
|
88
|
+
const i = Array.from(e);
|
|
89
|
+
return u.value.forEach((n) => {
|
|
90
|
+
!t.selected.includes(n) && !e.has(n) && i.push(n);
|
|
91
|
+
}), i;
|
|
90
92
|
};
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
93
|
+
le(() => {
|
|
94
|
+
x.value || (U(), x.value = !0, t.preExpandedOptions && t.preExpandedOptions.forEach((e) => {
|
|
95
|
+
d.value[e] = 1;
|
|
94
96
|
}));
|
|
95
|
-
}),
|
|
96
|
-
() =>
|
|
97
|
+
}), b(
|
|
98
|
+
() => t.options,
|
|
97
99
|
() => {
|
|
98
100
|
U();
|
|
99
101
|
}
|
|
100
|
-
),
|
|
101
|
-
() =>
|
|
102
|
-
(e,
|
|
103
|
-
JSON.stringify(e) !== JSON.stringify(
|
|
102
|
+
), b(
|
|
103
|
+
() => t.selected,
|
|
104
|
+
(e, i) => {
|
|
105
|
+
JSON.stringify(e) !== JSON.stringify(i) && (o.value = [...t.selected]);
|
|
104
106
|
}
|
|
105
107
|
);
|
|
106
|
-
const y =
|
|
107
|
-
|
|
108
|
-
},
|
|
109
|
-
|
|
108
|
+
const y = m(() => o.value.length < N.value ? !1 : o.value.length === N.value), H = m(() => !y.value && o.value.length > 0), A = s(y.value), Q = (e) => {
|
|
109
|
+
w("update:isOpen", e), t.isOpen ? g.value = G() : (o.value = [...t.selected], p.value = "");
|
|
110
|
+
}, d = s({}), R = (e) => {
|
|
111
|
+
d.value[e[t.optionUniqueIdKey]] ? delete d.value[e[t.optionUniqueIdKey]] : d.value[e[t.optionUniqueIdKey]] = 1;
|
|
110
112
|
};
|
|
111
|
-
function W(e,
|
|
112
|
-
const
|
|
113
|
-
return
|
|
114
|
-
const
|
|
115
|
-
(ee) => ee[
|
|
113
|
+
function W(e, i) {
|
|
114
|
+
const n = e.toLowerCase(), r = [];
|
|
115
|
+
return i.value.forEach((c) => {
|
|
116
|
+
const I = c[t.optionNameKey].toLowerCase().includes(n), L = T.value[c[t.optionUniqueIdKey]]?.filter(
|
|
117
|
+
(ee) => ee[t.optionNameKey].toLowerCase().includes(n)
|
|
116
118
|
) || [];
|
|
117
|
-
(
|
|
118
|
-
}),
|
|
119
|
+
(I || L.length > 0) && (c[t.optionChildrenKey] = L, r.push(c));
|
|
120
|
+
}), r;
|
|
119
121
|
}
|
|
120
122
|
const X = (e) => {
|
|
121
|
-
const
|
|
122
|
-
e && (Object.keys(
|
|
123
|
-
delete
|
|
124
|
-
}),
|
|
125
|
-
Array.isArray(
|
|
126
|
-
})),
|
|
127
|
-
}, Y =
|
|
128
|
-
const e =
|
|
129
|
-
(
|
|
123
|
+
const i = W(e, u);
|
|
124
|
+
e && (Object.keys(d.value).forEach((n) => {
|
|
125
|
+
delete d.value[n];
|
|
126
|
+
}), i.forEach((n) => {
|
|
127
|
+
Array.isArray(n[t.optionChildrenKey]) && n[t.optionChildrenKey].length && (d.value[n[t.optionUniqueIdKey]] = 1);
|
|
128
|
+
})), g.value = i;
|
|
129
|
+
}, Y = m(() => {
|
|
130
|
+
const e = t.options.length, i = t.options.reduce(
|
|
131
|
+
(n, r) => (d.value[r[t.optionUniqueIdKey]] && (n = n + r[t.optionChildrenKey].length), n),
|
|
130
132
|
0
|
|
131
133
|
);
|
|
132
|
-
return e +
|
|
134
|
+
return e + i;
|
|
133
135
|
});
|
|
134
|
-
|
|
136
|
+
b(
|
|
135
137
|
() => p.value,
|
|
136
138
|
() => {
|
|
137
|
-
X(p.value),
|
|
139
|
+
X(p.value), O.value = !p.value;
|
|
138
140
|
}
|
|
139
141
|
);
|
|
140
142
|
const Z = () => {
|
|
141
|
-
y.value ?
|
|
142
|
-
if (e[
|
|
143
|
-
for (const
|
|
144
|
-
|
|
143
|
+
y.value ? o.value = [] : (o.value = [], u.value.forEach((e) => {
|
|
144
|
+
if (e[t.optionChildrenKey] && e[t.optionChildrenKey].length)
|
|
145
|
+
for (const i of e[t.optionChildrenKey])
|
|
146
|
+
o.value = [i, ...o.value];
|
|
145
147
|
else
|
|
146
|
-
|
|
148
|
+
o.value = [e, ...o.value];
|
|
147
149
|
}));
|
|
148
|
-
}, _ = ve(
|
|
149
|
-
return (e,
|
|
150
|
+
}, _ = ve(t.testId, F);
|
|
151
|
+
return (e, i) => (K(), D(a(pe), {
|
|
150
152
|
multi: "",
|
|
151
153
|
class: "tree-dropdown",
|
|
152
|
-
"show-select-all":
|
|
153
|
-
"is-open":
|
|
154
|
-
options:
|
|
155
|
-
selected:
|
|
156
|
-
"display-value":
|
|
157
|
-
placeholder:
|
|
154
|
+
"show-select-all": O.value,
|
|
155
|
+
"is-open": l.isOpen,
|
|
156
|
+
options: g.value,
|
|
157
|
+
selected: l.selected,
|
|
158
|
+
"display-value": l.displayValue,
|
|
159
|
+
placeholder: l.placeholder,
|
|
158
160
|
"inline-search": "",
|
|
159
|
-
"inline-search-placeholder":
|
|
160
|
-
"option-name-key":
|
|
161
|
-
size:
|
|
162
|
-
"test-id":
|
|
163
|
-
disabled:
|
|
161
|
+
"inline-search-placeholder": l.inlineSearchPlaceholder,
|
|
162
|
+
"option-name-key": l.optionNameKey,
|
|
163
|
+
size: l.size,
|
|
164
|
+
"test-id": l.testId,
|
|
165
|
+
disabled: l.disabled,
|
|
164
166
|
"disable-virtual-scroll": "",
|
|
165
|
-
"override-option-count-calculation":
|
|
167
|
+
"override-option-count-calculation": P,
|
|
166
168
|
"trigger-show-all-selected-text": !1,
|
|
167
169
|
"predefined-trigger": "default",
|
|
168
|
-
"custom-number-of-displayed-options":
|
|
170
|
+
"custom-number-of-displayed-options": a(Y),
|
|
171
|
+
"trigger-feedback-text": l.triggerFeedbackText,
|
|
172
|
+
"trigger-feedback-variant": l.triggerFeedbackVariant,
|
|
169
173
|
"onUpdate:isOpen": Q,
|
|
170
|
-
onApply:
|
|
171
|
-
onClear:
|
|
174
|
+
onApply: J,
|
|
175
|
+
onClear: j
|
|
172
176
|
}, {
|
|
173
|
-
"dropdown-trigger":
|
|
174
|
-
|
|
175
|
-
"all-selected":
|
|
177
|
+
"dropdown-trigger": f(({ defaultTriggerProps: n }) => [
|
|
178
|
+
k(a(ye), z(n, {
|
|
179
|
+
"all-selected": A.value,
|
|
176
180
|
"show-all-selected-text": ""
|
|
177
|
-
}),
|
|
181
|
+
}), ie({ _: 2 }, [
|
|
178
182
|
e.$slots["trigger-end-icon"] ? {
|
|
179
183
|
name: "end-icon",
|
|
180
|
-
fn:
|
|
181
|
-
|
|
184
|
+
fn: f(() => [
|
|
185
|
+
oe(e.$slots, "trigger-end-icon", {}, void 0, !0)
|
|
182
186
|
]),
|
|
183
187
|
key: "0"
|
|
184
188
|
} : void 0
|
|
185
189
|
]), 1040, ["all-selected"])
|
|
186
190
|
]),
|
|
187
|
-
"inline-search":
|
|
188
|
-
|
|
191
|
+
"inline-search": f(() => [
|
|
192
|
+
k(a(he), {
|
|
189
193
|
modelValue: p.value,
|
|
190
|
-
"onUpdate:modelValue":
|
|
194
|
+
"onUpdate:modelValue": i[0] || (i[0] = (n) => p.value = n),
|
|
191
195
|
class: "tree-search",
|
|
192
|
-
placeholder:
|
|
196
|
+
placeholder: l.inlineSearchPlaceholder,
|
|
193
197
|
variant: "transparent",
|
|
194
198
|
size: "md",
|
|
195
199
|
"auto-focus": "",
|
|
196
|
-
"test-id":
|
|
200
|
+
"test-id": l.testId
|
|
197
201
|
}, null, 8, ["modelValue", "placeholder", "test-id"])
|
|
198
202
|
]),
|
|
199
|
-
"select-all":
|
|
203
|
+
"select-all": f(() => [
|
|
200
204
|
M("li", null, [
|
|
201
|
-
|
|
202
|
-
"aria-selected":
|
|
203
|
-
"aria-disabled": !!
|
|
204
|
-
"selected-prop":
|
|
205
|
-
"is-indeterminate":
|
|
205
|
+
k(a(S), z({
|
|
206
|
+
"aria-selected": a(y),
|
|
207
|
+
"aria-disabled": !!l.disabled,
|
|
208
|
+
"selected-prop": a(y),
|
|
209
|
+
"is-indeterminate": a(H),
|
|
206
210
|
"is-multi": "",
|
|
207
211
|
"select-all-option": ""
|
|
208
|
-
},
|
|
209
|
-
onClick:
|
|
212
|
+
}, a(_)[a(F).SELECT_ALL], {
|
|
213
|
+
onClick: i[1] || (i[1] = E((n) => Z(), ["stop"]))
|
|
210
214
|
}), {
|
|
211
|
-
default:
|
|
212
|
-
|
|
215
|
+
default: f(() => [
|
|
216
|
+
ae(" Select all ")
|
|
213
217
|
]),
|
|
214
218
|
_: 1
|
|
215
219
|
}, 16, ["aria-selected", "aria-disabled", "selected-prop", "is-indeterminate"])
|
|
216
220
|
])
|
|
217
221
|
]),
|
|
218
|
-
default:
|
|
219
|
-
|
|
220
|
-
option:
|
|
221
|
-
"selected-prop":
|
|
222
|
-
"is-indeterminate": !
|
|
223
|
-
disabled: l
|
|
224
|
-
"name-key":
|
|
225
|
-
"image-key":
|
|
226
|
-
"icon-key":
|
|
227
|
-
"icon-type":
|
|
228
|
-
"end-icon-key":
|
|
229
|
-
"end-icon-type":
|
|
230
|
-
"end-text-icon-key":
|
|
231
|
-
"tree-main-option":
|
|
232
|
-
"tree-main-option-expanded":
|
|
222
|
+
default: f(({ option: n, index: r }) => [
|
|
223
|
+
k(a(S), {
|
|
224
|
+
option: n,
|
|
225
|
+
"selected-prop": a(h)(n) ? a(C)(n) : V(n),
|
|
226
|
+
"is-indeterminate": !a(C)(n) && a($)(n),
|
|
227
|
+
disabled: n[l.disabledOptionKey],
|
|
228
|
+
"name-key": l.optionNameKey,
|
|
229
|
+
"image-key": l.optionImageKey,
|
|
230
|
+
"icon-key": l.optionIconKey,
|
|
231
|
+
"icon-type": l.optionIconType,
|
|
232
|
+
"end-icon-key": l.optionEndIconKey,
|
|
233
|
+
"end-icon-type": l.optionEndIconType,
|
|
234
|
+
"end-text-icon-key": l.optionEndTextIconKey,
|
|
235
|
+
"tree-main-option": a(h)(n),
|
|
236
|
+
"tree-main-option-expanded": d.value[n[l.optionUniqueIdKey]],
|
|
233
237
|
"stop-option-click-event-propagation": "",
|
|
234
238
|
"is-multi": "",
|
|
235
|
-
onClick:
|
|
239
|
+
onClick: E(() => q(n), ["stop"]),
|
|
236
240
|
onToggleTreeCollapse: R
|
|
237
241
|
}, null, 8, ["option", "selected-prop", "is-indeterminate", "disabled", "name-key", "image-key", "icon-key", "icon-type", "end-icon-key", "end-icon-type", "end-text-icon-key", "tree-main-option", "tree-main-option-expanded", "onClick"]),
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
(
|
|
241
|
-
key: `${
|
|
242
|
-
option:
|
|
243
|
-
"selected-prop":
|
|
244
|
-
disabled:
|
|
245
|
-
"name-key":
|
|
246
|
-
"image-key":
|
|
247
|
-
"icon-key":
|
|
248
|
-
"icon-type":
|
|
249
|
-
"end-icon-key":
|
|
250
|
-
"end-icon-type":
|
|
251
|
-
"end-text-icon-key":
|
|
252
|
-
"tree-child-shown":
|
|
242
|
+
a(h)(n) ? (K(), B("div", ge, [
|
|
243
|
+
de(M("div", null, [
|
|
244
|
+
(K(!0), B(re, null, ce(a(v)(n), (c, I) => (K(), D(a(S), {
|
|
245
|
+
key: `${r}-${I}`,
|
|
246
|
+
option: c,
|
|
247
|
+
"selected-prop": V(c),
|
|
248
|
+
disabled: c[l.disabledOptionKey],
|
|
249
|
+
"name-key": l.optionNameKey,
|
|
250
|
+
"image-key": l.optionImageKey,
|
|
251
|
+
"icon-key": l.optionIconKey,
|
|
252
|
+
"icon-type": l.optionIconType,
|
|
253
|
+
"end-icon-key": l.optionEndIconKey,
|
|
254
|
+
"end-icon-type": l.optionEndIconType,
|
|
255
|
+
"end-text-icon-key": l.optionEndTextIconKey,
|
|
256
|
+
"tree-child-shown": d.value[n[l.optionUniqueIdKey]],
|
|
253
257
|
"stop-option-click-event-propagation": "",
|
|
254
258
|
"is-multi": "",
|
|
255
|
-
onClick:
|
|
259
|
+
onClick: E(() => q(c), ["stop"])
|
|
256
260
|
}, null, 8, ["option", "selected-prop", "disabled", "name-key", "image-key", "icon-key", "icon-type", "end-icon-key", "end-icon-type", "end-text-icon-key", "tree-child-shown", "onClick"]))), 128))
|
|
257
261
|
], 512), [
|
|
258
|
-
[
|
|
262
|
+
[se, d.value[n[l.optionUniqueIdKey]]]
|
|
259
263
|
])
|
|
260
264
|
])) : ue("", !0)
|
|
261
265
|
]),
|
|
262
266
|
_: 3
|
|
263
|
-
}, 8, ["show-select-all", "is-open", "options", "selected", "display-value", "placeholder", "inline-search-placeholder", "option-name-key", "size", "test-id", "disabled", "custom-number-of-displayed-options"]));
|
|
267
|
+
}, 8, ["show-select-all", "is-open", "options", "selected", "display-value", "placeholder", "inline-search-placeholder", "option-name-key", "size", "test-id", "disabled", "custom-number-of-displayed-options", "trigger-feedback-text", "trigger-feedback-variant"]));
|
|
264
268
|
}
|
|
265
269
|
});
|
|
266
270
|
export {
|
|
267
|
-
|
|
271
|
+
Ve as default
|
|
268
272
|
};
|
|
@@ -1827,6 +1827,7 @@ declare const DropdownTypes: () => (({
|
|
|
1827
1827
|
dynamicFilterMode: boolean;
|
|
1828
1828
|
minSelections: number;
|
|
1829
1829
|
maxSelections: number;
|
|
1830
|
+
alwaysShowScroll: boolean;
|
|
1830
1831
|
isOnTop: boolean;
|
|
1831
1832
|
triggerLabel: string;
|
|
1832
1833
|
triggerHelperText: string;
|
|
@@ -1982,6 +1983,10 @@ declare const DropdownTypes: () => (({
|
|
|
1982
1983
|
type: import("vue").PropType<number>;
|
|
1983
1984
|
default: any;
|
|
1984
1985
|
};
|
|
1986
|
+
alwaysShowScroll: {
|
|
1987
|
+
type: import("vue").PropType<boolean>;
|
|
1988
|
+
default: boolean;
|
|
1989
|
+
};
|
|
1985
1990
|
isOnTop: {
|
|
1986
1991
|
type: import("vue").PropType<boolean>;
|
|
1987
1992
|
default: boolean;
|
|
@@ -2147,7 +2152,7 @@ declare const DropdownTypes: () => (({
|
|
|
2147
2152
|
onUnsavedSelectionUpdate?: (value: unknown[]) => any;
|
|
2148
2153
|
onOpened?: () => any;
|
|
2149
2154
|
onClosed?: () => any;
|
|
2150
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "theme" | "testId" | "placement" | "disabled" | "distance" | "container" | "popperClass" | "size" | "flip" | "mandatory" | "skidding" | "modelValue" | "valueToCopy" | "selected" | "placeholder" | "multi" | "infiniteLoading" | "showSelectAll" | "showClearAll" | "defaultOpen" | "keepOpen" | "autoSize" | "disableKeyboardEvents" | "dynamicFilterMode" | "minSelections" | "maxSelections" | "isOnTop" | "triggerLabel" | "triggerHelperText" | "triggerFeedbackText" | "triggerFeedbackVariant" | "triggerFeedbackShowIcon" | "triggerShowAllSelectedText" | "triggerShownValuesCount" | "predefinedTrigger" | "inlineSearch" | "inlineSearchPlaceholder" | "onSearch" | "noResultsText" | "searchAutoFocus" | "onClearSearch" | "optionNameKey" | "optionIconKey" | "optionImageKey" | "optionIconType" | "optionEndIconKey" | "optionEndIconType" | "optionsEndTextIconKey" | "optionFlagKey" | "optionWarningKey" | "disabledOptionKey" | "optionTwoLinesVariant" | "optionTwoLinesKey" | "groupedOptions" | "comparingKey" | "customNumberOfDisplayedOptions" | "optionTooltipPosition" | "fullWidth" | "optionsListWidth" | "statusType" | "disableVirtualScroll" | "overrideOptionCountCalculation" | "withConditions">;
|
|
2155
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "theme" | "testId" | "placement" | "disabled" | "distance" | "container" | "popperClass" | "size" | "flip" | "mandatory" | "skidding" | "modelValue" | "valueToCopy" | "selected" | "placeholder" | "multi" | "infiniteLoading" | "showSelectAll" | "showClearAll" | "defaultOpen" | "keepOpen" | "autoSize" | "disableKeyboardEvents" | "dynamicFilterMode" | "minSelections" | "maxSelections" | "alwaysShowScroll" | "isOnTop" | "triggerLabel" | "triggerHelperText" | "triggerFeedbackText" | "triggerFeedbackVariant" | "triggerFeedbackShowIcon" | "triggerShowAllSelectedText" | "triggerShownValuesCount" | "predefinedTrigger" | "inlineSearch" | "inlineSearchPlaceholder" | "onSearch" | "noResultsText" | "searchAutoFocus" | "onClearSearch" | "optionNameKey" | "optionIconKey" | "optionImageKey" | "optionIconType" | "optionEndIconKey" | "optionEndIconType" | "optionsEndTextIconKey" | "optionFlagKey" | "optionWarningKey" | "disabledOptionKey" | "optionTwoLinesVariant" | "optionTwoLinesKey" | "groupedOptions" | "comparingKey" | "customNumberOfDisplayedOptions" | "optionTooltipPosition" | "fullWidth" | "optionsListWidth" | "statusType" | "disableVirtualScroll" | "overrideOptionCountCalculation" | "withConditions">;
|
|
2151
2156
|
$attrs: {
|
|
2152
2157
|
[x: string]: unknown;
|
|
2153
2158
|
};
|
|
@@ -2279,6 +2284,10 @@ declare const DropdownTypes: () => (({
|
|
|
2279
2284
|
type: import("vue").PropType<number>;
|
|
2280
2285
|
default: any;
|
|
2281
2286
|
};
|
|
2287
|
+
alwaysShowScroll: {
|
|
2288
|
+
type: import("vue").PropType<boolean>;
|
|
2289
|
+
default: boolean;
|
|
2290
|
+
};
|
|
2282
2291
|
isOnTop: {
|
|
2283
2292
|
type: import("vue").PropType<boolean>;
|
|
2284
2293
|
default: boolean;
|
|
@@ -2487,6 +2496,7 @@ declare const DropdownTypes: () => (({
|
|
|
2487
2496
|
dynamicFilterMode: boolean;
|
|
2488
2497
|
minSelections: number;
|
|
2489
2498
|
maxSelections: number;
|
|
2499
|
+
alwaysShowScroll: boolean;
|
|
2490
2500
|
isOnTop: boolean;
|
|
2491
2501
|
triggerLabel: string;
|
|
2492
2502
|
triggerHelperText: string;
|
|
@@ -2662,6 +2672,10 @@ declare const DropdownTypes: () => (({
|
|
|
2662
2672
|
type: import("vue").PropType<number>;
|
|
2663
2673
|
default: any;
|
|
2664
2674
|
};
|
|
2675
|
+
alwaysShowScroll: {
|
|
2676
|
+
type: import("vue").PropType<boolean>;
|
|
2677
|
+
default: boolean;
|
|
2678
|
+
};
|
|
2665
2679
|
isOnTop: {
|
|
2666
2680
|
type: import("vue").PropType<boolean>;
|
|
2667
2681
|
default: boolean;
|
|
@@ -2952,6 +2966,10 @@ declare const DropdownTypes: () => (({
|
|
|
2952
2966
|
type: import("vue").PropType<number>;
|
|
2953
2967
|
default: any;
|
|
2954
2968
|
};
|
|
2969
|
+
alwaysShowScroll: {
|
|
2970
|
+
type: import("vue").PropType<boolean>;
|
|
2971
|
+
default: boolean;
|
|
2972
|
+
};
|
|
2955
2973
|
isOnTop: {
|
|
2956
2974
|
type: import("vue").PropType<boolean>;
|
|
2957
2975
|
default: boolean;
|
|
@@ -3160,6 +3178,7 @@ declare const DropdownTypes: () => (({
|
|
|
3160
3178
|
dynamicFilterMode: boolean;
|
|
3161
3179
|
minSelections: number;
|
|
3162
3180
|
maxSelections: number;
|
|
3181
|
+
alwaysShowScroll: boolean;
|
|
3163
3182
|
isOnTop: boolean;
|
|
3164
3183
|
triggerLabel: string;
|
|
3165
3184
|
triggerHelperText: string;
|
|
@@ -3347,6 +3366,8 @@ declare const DropdownTypes: () => (({
|
|
|
3347
3366
|
valueToCopy: string;
|
|
3348
3367
|
selected: unknown[];
|
|
3349
3368
|
placeholder: string;
|
|
3369
|
+
triggerFeedbackText: string;
|
|
3370
|
+
triggerFeedbackVariant: "success" | "warning" | "error";
|
|
3350
3371
|
inlineSearchPlaceholder: string;
|
|
3351
3372
|
optionNameKey: string;
|
|
3352
3373
|
optionIconKey: string;
|
|
@@ -3388,6 +3409,14 @@ declare const DropdownTypes: () => (({
|
|
|
3388
3409
|
type: import("vue").PropType<string>;
|
|
3389
3410
|
default: string;
|
|
3390
3411
|
};
|
|
3412
|
+
triggerFeedbackText: {
|
|
3413
|
+
type: import("vue").PropType<string>;
|
|
3414
|
+
default: string;
|
|
3415
|
+
};
|
|
3416
|
+
triggerFeedbackVariant: {
|
|
3417
|
+
type: import("vue").PropType<"success" | "warning" | "error">;
|
|
3418
|
+
default: any;
|
|
3419
|
+
};
|
|
3391
3420
|
inlineSearchPlaceholder: {
|
|
3392
3421
|
type: import("vue").PropType<string>;
|
|
3393
3422
|
default: string;
|
|
@@ -3443,7 +3472,7 @@ declare const DropdownTypes: () => (({
|
|
|
3443
3472
|
}>> & {
|
|
3444
3473
|
"onUpdate:selected"?: (value: unknown) => any;
|
|
3445
3474
|
"onUpdate:isOpen"?: (value: unknown) => any;
|
|
3446
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "testId" | "disabled" | "size" | "valueToCopy" | "selected" | "placeholder" | "inlineSearchPlaceholder" | "optionNameKey" | "optionIconKey" | "optionImageKey" | "optionIconType" | "optionEndIconKey" | "optionEndIconType" | "disabledOptionKey" | "optionEndTextIconKey">;
|
|
3475
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "testId" | "disabled" | "size" | "valueToCopy" | "selected" | "placeholder" | "triggerFeedbackText" | "triggerFeedbackVariant" | "inlineSearchPlaceholder" | "optionNameKey" | "optionIconKey" | "optionImageKey" | "optionIconType" | "optionEndIconKey" | "optionEndIconType" | "disabledOptionKey" | "optionEndTextIconKey">;
|
|
3447
3476
|
$attrs: {
|
|
3448
3477
|
[x: string]: unknown;
|
|
3449
3478
|
};
|
|
@@ -3489,6 +3518,14 @@ declare const DropdownTypes: () => (({
|
|
|
3489
3518
|
type: import("vue").PropType<string>;
|
|
3490
3519
|
default: string;
|
|
3491
3520
|
};
|
|
3521
|
+
triggerFeedbackText: {
|
|
3522
|
+
type: import("vue").PropType<string>;
|
|
3523
|
+
default: string;
|
|
3524
|
+
};
|
|
3525
|
+
triggerFeedbackVariant: {
|
|
3526
|
+
type: import("vue").PropType<"success" | "warning" | "error">;
|
|
3527
|
+
default: any;
|
|
3528
|
+
};
|
|
3492
3529
|
inlineSearchPlaceholder: {
|
|
3493
3530
|
type: import("vue").PropType<string>;
|
|
3494
3531
|
default: string;
|
|
@@ -3554,6 +3591,8 @@ declare const DropdownTypes: () => (({
|
|
|
3554
3591
|
valueToCopy: string;
|
|
3555
3592
|
selected: unknown[];
|
|
3556
3593
|
placeholder: string;
|
|
3594
|
+
triggerFeedbackText: string;
|
|
3595
|
+
triggerFeedbackVariant: "success" | "warning" | "error";
|
|
3557
3596
|
inlineSearchPlaceholder: string;
|
|
3558
3597
|
optionNameKey: string;
|
|
3559
3598
|
optionIconKey: string;
|
|
@@ -3615,6 +3654,14 @@ declare const DropdownTypes: () => (({
|
|
|
3615
3654
|
type: import("vue").PropType<string>;
|
|
3616
3655
|
default: string;
|
|
3617
3656
|
};
|
|
3657
|
+
triggerFeedbackText: {
|
|
3658
|
+
type: import("vue").PropType<string>;
|
|
3659
|
+
default: string;
|
|
3660
|
+
};
|
|
3661
|
+
triggerFeedbackVariant: {
|
|
3662
|
+
type: import("vue").PropType<"success" | "warning" | "error">;
|
|
3663
|
+
default: any;
|
|
3664
|
+
};
|
|
3618
3665
|
inlineSearchPlaceholder: {
|
|
3619
3666
|
type: import("vue").PropType<string>;
|
|
3620
3667
|
default: string;
|
|
@@ -3706,6 +3753,14 @@ declare const DropdownTypes: () => (({
|
|
|
3706
3753
|
type: import("vue").PropType<string>;
|
|
3707
3754
|
default: string;
|
|
3708
3755
|
};
|
|
3756
|
+
triggerFeedbackText: {
|
|
3757
|
+
type: import("vue").PropType<string>;
|
|
3758
|
+
default: string;
|
|
3759
|
+
};
|
|
3760
|
+
triggerFeedbackVariant: {
|
|
3761
|
+
type: import("vue").PropType<"success" | "warning" | "error">;
|
|
3762
|
+
default: any;
|
|
3763
|
+
};
|
|
3709
3764
|
inlineSearchPlaceholder: {
|
|
3710
3765
|
type: import("vue").PropType<string>;
|
|
3711
3766
|
default: string;
|
|
@@ -3771,6 +3826,8 @@ declare const DropdownTypes: () => (({
|
|
|
3771
3826
|
valueToCopy: string;
|
|
3772
3827
|
selected: unknown[];
|
|
3773
3828
|
placeholder: string;
|
|
3829
|
+
triggerFeedbackText: string;
|
|
3830
|
+
triggerFeedbackVariant: "success" | "warning" | "error";
|
|
3774
3831
|
inlineSearchPlaceholder: string;
|
|
3775
3832
|
optionNameKey: string;
|
|
3776
3833
|
optionIconKey: string;
|