@ironsource/shared-ui 2.1.11-rc.5 → 2.1.11-rc.7
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/ButtonFilterDropdownTrigger.vue_vue_type_style_index_0_scoped_9c711f2e_lang.css +1 -0
- package/DropdownV4.vue_vue_type_style_index_0_scoped_111642c6_lang.css +1 -0
- package/OptionV4.vue_vue_type_style_index_0_scoped_da829544_lang.css +1 -0
- package/TreeDropdown.vue_vue_type_style_index_0_scoped_985779f7_lang.css +1 -0
- package/components/dropdown/v4/ButtonFilterDropdownTrigger.vue.js +3 -3
- package/components/dropdown/v4/ButtonFilterDropdownTrigger.vue2.js +7 -7
- package/components/dropdown/v4/DropdownV4.vue.d.ts +7 -0
- package/components/dropdown/v4/DropdownV4.vue.js +3 -3
- package/components/dropdown/v4/DropdownV4.vue2.js +130 -124
- package/components/dropdown/v4/OptionV4.vue.d.ts +5 -0
- package/components/dropdown/v4/OptionV4.vue.js +2 -2
- package/components/dropdown/v4/OptionV4.vue2.js +78 -67
- package/components/dropdown/v4/TreeDropdown.vue.d.ts +5 -0
- package/components/dropdown/v4/TreeDropdown.vue.js +2 -2
- package/components/dropdown/v4/TreeDropdown.vue2.js +151 -116
- package/components/dropdown/v4/index.d.ts +62 -3
- package/index.d.ts +124 -6
- package/index.js +1 -1
- package/mocks/options.d.ts +29 -2
- package/package.json +1 -1
- package/ButtonFilterDropdownTrigger.vue_vue_type_style_index_0_scoped_7f750550_lang.css +0 -1
- package/DropdownV4.vue_vue_type_style_index_0_scoped_991a7aad_lang.css +0 -1
- package/OptionV4.vue_vue_type_style_index_0_scoped_4070942a_lang.css +0 -1
- package/TreeDropdown.vue_vue_type_style_index_0_scoped_6ac5f602_lang.css +0 -1
|
@@ -1,19 +1,21 @@
|
|
|
1
|
-
import "../../../TreeDropdown.
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import "../../../TreeDropdown.vue_vue_type_style_index_0_scoped_985779f7_lang.css"; import { defineComponent as Z, provide as _, ref as c, computed as E, onMounted as ee, watch as m, openBlock as g, createBlock as V, unref as a, withCtx as h, createVNode as C, normalizeProps as ne, guardReactiveProps as le, createSlots as te, renderSlot as oe, createElementVNode as z, mergeProps as ie, withModifiers as w, createTextVNode as ae, createElementBlock as D, withDirectives as de, Fragment as re, renderList as se, vShow as ce, createCommentVNode as ue } from "vue";
|
|
2
|
+
import pe from "./DropdownV4.vue.js";
|
|
3
|
+
import ye from "./DefaultDropdownTrigger.vue.js";
|
|
4
4
|
import "./IconButtonDropdownTrigger.vue.js";
|
|
5
5
|
import "./ChipDropdownTrigger.vue.js";
|
|
6
6
|
import "./AppDropdownTrigger.vue.js";
|
|
7
7
|
import "./ButtonDropdownTrigger.vue.js";
|
|
8
8
|
import "./ButtonFilterDropdownTrigger.vue.js";
|
|
9
9
|
import "./TreeDropdown.vue.js";
|
|
10
|
-
import
|
|
11
|
-
import { useChildOptions as
|
|
12
|
-
import
|
|
13
|
-
|
|
10
|
+
import S from "./OptionV4.vue.js";
|
|
11
|
+
import { useChildOptions as he } from "../composables/useChildOptions.js";
|
|
12
|
+
import fe from "../../search/v4/SearchV4.vue.js";
|
|
13
|
+
import { useTestIdAttrs as ve } from "../../../utils/testIds.js";
|
|
14
|
+
import { DropdownTestIdModifiers as M } from "../../../testids/index.js";
|
|
15
|
+
const me = {
|
|
14
16
|
key: 0,
|
|
15
17
|
class: "child-options"
|
|
16
|
-
},
|
|
18
|
+
}, qe = /* @__PURE__ */ Z({
|
|
17
19
|
__name: "TreeDropdown",
|
|
18
20
|
props: {
|
|
19
21
|
options: null,
|
|
@@ -31,6 +33,7 @@ const ae = {
|
|
|
31
33
|
optionIconType: { default: null },
|
|
32
34
|
optionEndIconKey: { default: "" },
|
|
33
35
|
optionEndIconType: { default: null },
|
|
36
|
+
optionEndTextIconKey: { default: null },
|
|
34
37
|
valueToCopy: { default: null },
|
|
35
38
|
disabledOptionKey: { default: "disabled" },
|
|
36
39
|
optionChildrenKey: null,
|
|
@@ -38,107 +41,119 @@ const ae = {
|
|
|
38
41
|
preExpandedOptions: null
|
|
39
42
|
},
|
|
40
43
|
emits: ["update:selected", "update:isOpen"],
|
|
41
|
-
setup(t, { emit:
|
|
42
|
-
const
|
|
43
|
-
|
|
44
|
-
const
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
44
|
+
setup(t, { emit: b }) {
|
|
45
|
+
const l = t;
|
|
46
|
+
_("isTreeDropdown", !0);
|
|
47
|
+
const K = c([]), p = c([]), T = c({}), O = c(!1), i = c([...l.selected]), y = c(""), x = c(!0), u = c(!1), N = E(() => p.value.reduce((e, o) => (e = e + 1, o[l.optionChildrenKey] && o[l.optionChildrenKey].length && o[l.optionChildrenKey].forEach(() => {
|
|
48
|
+
e = e + 1;
|
|
49
|
+
}), e), 0)), P = E(() => !u.value && i.value.length > 0), U = () => {
|
|
50
|
+
l.options.forEach((e) => {
|
|
51
|
+
e[l.optionChildrenKey] && e[l.optionChildrenKey].length && (T.value[e[l.optionUniqueIdKey]] = [
|
|
52
|
+
...e[l.optionChildrenKey]
|
|
48
53
|
]);
|
|
49
|
-
}),
|
|
50
|
-
}, { hasChildren:
|
|
51
|
-
if (
|
|
52
|
-
|
|
53
|
-
(
|
|
54
|
+
}), K.value = [...l.options], p.value = [...l.options];
|
|
55
|
+
}, { hasChildren: f, getChildren: v, allChildrenSelected: I, someChildrenSelected: B } = he(i, l.optionChildrenKey), q = (e) => {
|
|
56
|
+
if (f(e)) {
|
|
57
|
+
I(e) ? i.value = i.value.filter(
|
|
58
|
+
(o) => !v(e).includes(o)
|
|
54
59
|
) : i.value = [
|
|
55
|
-
...i.value.filter((
|
|
56
|
-
...
|
|
60
|
+
...i.value.filter((o) => !v(e).includes(o)),
|
|
61
|
+
...v(e)
|
|
57
62
|
];
|
|
58
63
|
return;
|
|
59
64
|
}
|
|
60
|
-
i.value.includes(
|
|
61
|
-
(
|
|
62
|
-
) : i.value = [...i.value,
|
|
63
|
-
},
|
|
64
|
-
|
|
65
|
-
},
|
|
65
|
+
i.value.includes(e) ? i.value = i.value.filter(
|
|
66
|
+
(o) => o !== e
|
|
67
|
+
) : i.value = [...i.value, e];
|
|
68
|
+
}, A = (e) => i.value.includes(e), $ = (e) => 1 + (f(e) ? v(e).length : 0), j = () => {
|
|
69
|
+
b("update:selected", i.value);
|
|
70
|
+
}, F = () => {
|
|
66
71
|
i.value = [];
|
|
67
|
-
},
|
|
68
|
-
const
|
|
69
|
-
|
|
70
|
-
if (
|
|
71
|
-
|
|
72
|
-
else if (
|
|
73
|
-
for (const
|
|
74
|
-
if (
|
|
75
|
-
|
|
72
|
+
}, R = () => {
|
|
73
|
+
const e = /* @__PURE__ */ new Set([]);
|
|
74
|
+
p.value.forEach((n) => {
|
|
75
|
+
if (l.selected?.includes(n))
|
|
76
|
+
e.add(n);
|
|
77
|
+
else if (n[l.optionChildrenKey] && n[l.optionChildrenKey].length) {
|
|
78
|
+
for (const r of n[l.optionChildrenKey])
|
|
79
|
+
if (l.selected?.includes(r)) {
|
|
80
|
+
e.add(n);
|
|
76
81
|
break;
|
|
77
82
|
}
|
|
78
83
|
}
|
|
79
84
|
});
|
|
80
|
-
const
|
|
81
|
-
return
|
|
82
|
-
!
|
|
83
|
-
}),
|
|
85
|
+
const o = Array.from(e);
|
|
86
|
+
return p.value.forEach((n) => {
|
|
87
|
+
!l.selected.includes(n) && !e.has(n) && o.push(n);
|
|
88
|
+
}), o;
|
|
84
89
|
};
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
90
|
+
ee(() => {
|
|
91
|
+
O.value || (U(), O.value = !0, l.preExpandedOptions && l.preExpandedOptions.forEach((e) => {
|
|
92
|
+
d.value[e] = 1;
|
|
88
93
|
}));
|
|
89
94
|
}), m(
|
|
90
|
-
() =>
|
|
95
|
+
() => l.options,
|
|
91
96
|
() => {
|
|
92
|
-
|
|
97
|
+
U();
|
|
93
98
|
}
|
|
94
99
|
), m(
|
|
95
|
-
() =>
|
|
100
|
+
() => l.selected,
|
|
96
101
|
() => {
|
|
97
|
-
i.value = [...
|
|
102
|
+
i.value = [...l.selected];
|
|
98
103
|
}
|
|
99
|
-
), m(
|
|
100
|
-
(
|
|
104
|
+
), m(i, () => {
|
|
105
|
+
i.value.length < N.value ? u.value = !1 : i.value.length === N.value && (u.value = !0);
|
|
106
|
+
}), m(
|
|
107
|
+
() => l.isOpen,
|
|
101
108
|
() => {
|
|
102
|
-
|
|
109
|
+
l.isOpen ? K.value = R() : (i.value = [...l.selected], y.value = "");
|
|
103
110
|
}
|
|
104
111
|
);
|
|
105
|
-
const
|
|
106
|
-
|
|
112
|
+
const d = c({}), G = (e) => {
|
|
113
|
+
d.value[e[l.optionUniqueIdKey]] ? delete d.value[e[l.optionUniqueIdKey]] : d.value[e[l.optionUniqueIdKey]] = 1;
|
|
107
114
|
};
|
|
108
|
-
function
|
|
109
|
-
const
|
|
110
|
-
return
|
|
111
|
-
const
|
|
112
|
-
(
|
|
115
|
+
function H(e, o) {
|
|
116
|
+
const n = e.toLowerCase(), r = [];
|
|
117
|
+
return o.value.forEach((s) => {
|
|
118
|
+
const k = s[l.optionNameKey].toLowerCase().includes(n), L = T.value[s[l.optionUniqueIdKey]]?.filter(
|
|
119
|
+
(Y) => Y[l.optionNameKey].toLowerCase().includes(n)
|
|
113
120
|
) || [];
|
|
114
|
-
(
|
|
115
|
-
}),
|
|
121
|
+
(k || L.length > 0) && (s[l.optionChildrenKey] = L, r.push(s));
|
|
122
|
+
}), r;
|
|
116
123
|
}
|
|
117
|
-
const
|
|
118
|
-
const
|
|
119
|
-
|
|
120
|
-
delete
|
|
121
|
-
}),
|
|
122
|
-
Array.isArray(
|
|
123
|
-
})),
|
|
124
|
-
},
|
|
125
|
-
const
|
|
126
|
-
(
|
|
124
|
+
const J = (e) => {
|
|
125
|
+
const o = H(e, p);
|
|
126
|
+
e && (Object.keys(d.value).forEach((n) => {
|
|
127
|
+
delete d.value[n];
|
|
128
|
+
}), o.forEach((n) => {
|
|
129
|
+
Array.isArray(n[l.optionChildrenKey]) && n[l.optionChildrenKey].length && (d.value[n[l.optionUniqueIdKey]] = 1);
|
|
130
|
+
})), K.value = o;
|
|
131
|
+
}, Q = E(() => {
|
|
132
|
+
const e = l.options.length, o = l.options.reduce(
|
|
133
|
+
(n, r) => (d.value[r[l.optionUniqueIdKey]] && (n = n + r[l.optionChildrenKey].length), n),
|
|
127
134
|
0
|
|
128
135
|
);
|
|
129
|
-
return
|
|
136
|
+
return e + o;
|
|
130
137
|
});
|
|
131
|
-
|
|
132
|
-
() =>
|
|
138
|
+
m(
|
|
139
|
+
() => y.value,
|
|
133
140
|
() => {
|
|
134
|
-
|
|
141
|
+
J(y.value), x.value = !y.value;
|
|
135
142
|
}
|
|
136
|
-
)
|
|
143
|
+
);
|
|
144
|
+
const W = () => {
|
|
145
|
+
u.value ? i.value = [] : (i.value = [], p.value.forEach((e) => {
|
|
146
|
+
if (i.value = [e, ...i.value], e[l.optionChildrenKey] && e[l.optionChildrenKey].length)
|
|
147
|
+
for (const o of e[l.optionChildrenKey])
|
|
148
|
+
i.value = [o, ...i.value];
|
|
149
|
+
})), u.value = !u.value;
|
|
150
|
+
}, X = ve(l.testId, M);
|
|
151
|
+
return (e, o) => (g(), V(a(pe), {
|
|
137
152
|
multi: "",
|
|
138
153
|
class: "tree-dropdown",
|
|
139
|
-
"show-select-all":
|
|
154
|
+
"show-select-all": x.value,
|
|
140
155
|
"is-open": t.isOpen,
|
|
141
|
-
options:
|
|
156
|
+
options: K.value,
|
|
142
157
|
selected: t.selected,
|
|
143
158
|
"display-value": t.displayValue,
|
|
144
159
|
placeholder: t.placeholder,
|
|
@@ -149,29 +164,29 @@ const ae = {
|
|
|
149
164
|
"test-id": t.testId,
|
|
150
165
|
disabled: t.disabled,
|
|
151
166
|
"disable-virtual-scroll": "",
|
|
152
|
-
"override-option-count-calculation":
|
|
167
|
+
"override-option-count-calculation": $,
|
|
153
168
|
"trigger-show-all-selected-text": !1,
|
|
154
169
|
"predefined-trigger": "default",
|
|
155
|
-
"custom-number-of-displayed-options":
|
|
156
|
-
"onUpdate:isOpen":
|
|
157
|
-
onApply:
|
|
158
|
-
onClear:
|
|
170
|
+
"custom-number-of-displayed-options": a(Q),
|
|
171
|
+
"onUpdate:isOpen": o[2] || (o[2] = (n) => b("update:isOpen", n)),
|
|
172
|
+
onApply: j,
|
|
173
|
+
onClear: F
|
|
159
174
|
}, {
|
|
160
|
-
"dropdown-trigger":
|
|
161
|
-
|
|
162
|
-
|
|
175
|
+
"dropdown-trigger": h(({ defaultTriggerProps: n }) => [
|
|
176
|
+
C(a(ye), ne(le(n)), te({ _: 2 }, [
|
|
177
|
+
e.$slots["trigger-end-icon"] ? {
|
|
163
178
|
name: "end-icon",
|
|
164
|
-
fn:
|
|
165
|
-
|
|
179
|
+
fn: h(() => [
|
|
180
|
+
oe(e.$slots, "trigger-end-icon", {}, void 0, !0)
|
|
166
181
|
]),
|
|
167
182
|
key: "0"
|
|
168
183
|
} : void 0
|
|
169
184
|
]), 1040)
|
|
170
185
|
]),
|
|
171
|
-
"inline-search":
|
|
172
|
-
|
|
173
|
-
modelValue:
|
|
174
|
-
"onUpdate:modelValue":
|
|
186
|
+
"inline-search": h(() => [
|
|
187
|
+
C(a(fe), {
|
|
188
|
+
modelValue: y.value,
|
|
189
|
+
"onUpdate:modelValue": o[0] || (o[0] = (n) => y.value = n),
|
|
175
190
|
placeholder: t.inlineSearchPlaceholder,
|
|
176
191
|
variant: "transparent",
|
|
177
192
|
size: "md",
|
|
@@ -179,50 +194,70 @@ const ae = {
|
|
|
179
194
|
"test-id": t.testId
|
|
180
195
|
}, null, 8, ["modelValue", "placeholder", "test-id"])
|
|
181
196
|
]),
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
197
|
+
"select-all": h(() => [
|
|
198
|
+
z("li", null, [
|
|
199
|
+
C(a(S), ie({
|
|
200
|
+
"aria-selected": u.value,
|
|
201
|
+
"aria-disabled": !!t.disabled,
|
|
202
|
+
"selected-prop": u.value,
|
|
203
|
+
"is-indeterminate": a(P),
|
|
204
|
+
"select-all-option": ""
|
|
205
|
+
}, a(X)[a(M).SELECT_ALL], {
|
|
206
|
+
onClick: o[1] || (o[1] = w((n) => W(), ["stop"]))
|
|
207
|
+
}), {
|
|
208
|
+
default: h(() => [
|
|
209
|
+
ae(" Select all ")
|
|
210
|
+
]),
|
|
211
|
+
_: 1
|
|
212
|
+
}, 16, ["aria-selected", "aria-disabled", "selected-prop", "is-indeterminate"])
|
|
213
|
+
])
|
|
214
|
+
]),
|
|
215
|
+
default: h(({ option: n, index: r }) => [
|
|
216
|
+
C(a(S), {
|
|
217
|
+
option: n,
|
|
218
|
+
"selected-prop": a(f)(n) ? a(I)(n) : A(n),
|
|
219
|
+
"is-indeterminate": !a(I)(n) && a(B)(n),
|
|
220
|
+
disabled: n[t.disabledOptionKey],
|
|
188
221
|
"name-key": t.optionNameKey,
|
|
189
222
|
"image-key": t.optionImageKey,
|
|
190
223
|
"icon-key": t.optionIconKey,
|
|
191
224
|
"icon-type": t.optionIconType,
|
|
192
225
|
"end-icon-key": t.optionEndIconKey,
|
|
193
226
|
"end-icon-type": t.optionEndIconType,
|
|
194
|
-
"
|
|
195
|
-
"tree-main-option
|
|
227
|
+
"end-text-icon-key": t.optionEndTextIconKey,
|
|
228
|
+
"tree-main-option": a(f)(n),
|
|
229
|
+
"tree-main-option-expanded": d.value[n[t.optionUniqueIdKey]],
|
|
196
230
|
"stop-option-click-event-propagation": "",
|
|
197
|
-
onClick:
|
|
198
|
-
onToggleTreeCollapse:
|
|
199
|
-
}, null, 8, ["option", "selected-prop", "is-indeterminate", "disabled", "name-key", "image-key", "icon-key", "icon-type", "end-icon-key", "end-icon-type", "tree-main-option", "tree-main-option-expanded", "onClick"]),
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
(
|
|
203
|
-
key: `${
|
|
204
|
-
option:
|
|
205
|
-
"selected-prop":
|
|
206
|
-
disabled:
|
|
231
|
+
onClick: w(() => q(n), ["stop"]),
|
|
232
|
+
onToggleTreeCollapse: G
|
|
233
|
+
}, 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"]),
|
|
234
|
+
a(f)(n) ? (g(), D("div", me, [
|
|
235
|
+
de(z("div", null, [
|
|
236
|
+
(g(!0), D(re, null, se(a(v)(n), (s, k) => (g(), V(a(S), {
|
|
237
|
+
key: `${r}-${k}`,
|
|
238
|
+
option: s,
|
|
239
|
+
"selected-prop": A(s),
|
|
240
|
+
disabled: s[t.disabledOptionKey],
|
|
207
241
|
"name-key": t.optionNameKey,
|
|
208
242
|
"image-key": t.optionImageKey,
|
|
209
243
|
"icon-key": t.optionIconKey,
|
|
210
244
|
"icon-type": t.optionIconType,
|
|
211
245
|
"end-icon-key": t.optionEndIconKey,
|
|
212
246
|
"end-icon-type": t.optionEndIconType,
|
|
213
|
-
"
|
|
247
|
+
"end-text-icon-key": t.optionEndTextIconKey,
|
|
248
|
+
"tree-child-shown": d.value[n[t.optionUniqueIdKey]],
|
|
214
249
|
"stop-option-click-event-propagation": "",
|
|
215
|
-
onClick:
|
|
216
|
-
}, null, 8, ["option", "selected-prop", "disabled", "name-key", "image-key", "icon-key", "icon-type", "end-icon-key", "end-icon-type", "tree-child-shown", "onClick"]))), 128))
|
|
250
|
+
onClick: w(() => q(s), ["stop"])
|
|
251
|
+
}, 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))
|
|
217
252
|
], 512), [
|
|
218
|
-
[
|
|
253
|
+
[ce, d.value[n[t.optionUniqueIdKey]]]
|
|
219
254
|
])
|
|
220
|
-
])) :
|
|
255
|
+
])) : ue("", !0)
|
|
221
256
|
]),
|
|
222
257
|
_: 3
|
|
223
|
-
}, 8, ["is-open", "options", "selected", "display-value", "placeholder", "inline-search-placeholder", "option-name-key", "size", "test-id", "disabled", "custom-number-of-displayed-options"]));
|
|
258
|
+
}, 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"]));
|
|
224
259
|
}
|
|
225
260
|
});
|
|
226
261
|
export {
|
|
227
|
-
|
|
262
|
+
qe as default
|
|
228
263
|
};
|
|
@@ -1091,6 +1091,7 @@ declare const DropdownTypes: () => (({
|
|
|
1091
1091
|
iconKey: string;
|
|
1092
1092
|
iconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
|
|
1093
1093
|
endIconKey: string;
|
|
1094
|
+
endTextIconKey: string;
|
|
1094
1095
|
toolTipPlacement: "top" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end";
|
|
1095
1096
|
treeMainOption: boolean;
|
|
1096
1097
|
treeMainOptionExpanded: boolean;
|
|
@@ -1157,6 +1158,10 @@ declare const DropdownTypes: () => (({
|
|
|
1157
1158
|
type: import("vue").PropType<string>;
|
|
1158
1159
|
default: any;
|
|
1159
1160
|
};
|
|
1161
|
+
endTextIconKey: {
|
|
1162
|
+
type: import("vue").PropType<string>;
|
|
1163
|
+
default: any;
|
|
1164
|
+
};
|
|
1160
1165
|
toolTipPlacement: {
|
|
1161
1166
|
type: import("vue").PropType<"top" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end">;
|
|
1162
1167
|
default: string;
|
|
@@ -1182,7 +1187,7 @@ declare const DropdownTypes: () => (({
|
|
|
1182
1187
|
};
|
|
1183
1188
|
}>> & {
|
|
1184
1189
|
onToggleTreeCollapse?: (option: unknown) => any;
|
|
1185
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "option" | "disabled" | "active" | "endIconType" | "optionFlagKey" | "optionTwoLinesVariant" | "optionTwoLinesKey" | "isIndeterminate" | "subtitle" | "selectAllOption" | "nameKey" | "imageKey" | "iconKey" | "iconType" | "endIconKey" | "toolTipPlacement" | "treeMainOption" | "treeMainOptionExpanded" | "stopOptionClickEventPropagation" | "treeChildShown">;
|
|
1190
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "option" | "disabled" | "active" | "endIconType" | "optionFlagKey" | "optionTwoLinesVariant" | "optionTwoLinesKey" | "isIndeterminate" | "subtitle" | "selectAllOption" | "nameKey" | "imageKey" | "iconKey" | "iconType" | "endIconKey" | "endTextIconKey" | "toolTipPlacement" | "treeMainOption" | "treeMainOptionExpanded" | "stopOptionClickEventPropagation" | "treeChildShown">;
|
|
1186
1191
|
$attrs: {
|
|
1187
1192
|
[x: string]: unknown;
|
|
1188
1193
|
};
|
|
@@ -1257,6 +1262,10 @@ declare const DropdownTypes: () => (({
|
|
|
1257
1262
|
type: import("vue").PropType<string>;
|
|
1258
1263
|
default: any;
|
|
1259
1264
|
};
|
|
1265
|
+
endTextIconKey: {
|
|
1266
|
+
type: import("vue").PropType<string>;
|
|
1267
|
+
default: any;
|
|
1268
|
+
};
|
|
1260
1269
|
toolTipPlacement: {
|
|
1261
1270
|
type: import("vue").PropType<"top" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end">;
|
|
1262
1271
|
default: string;
|
|
@@ -1300,6 +1309,7 @@ declare const DropdownTypes: () => (({
|
|
|
1300
1309
|
iconKey: string;
|
|
1301
1310
|
iconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
|
|
1302
1311
|
endIconKey: string;
|
|
1312
|
+
endTextIconKey: string;
|
|
1303
1313
|
toolTipPlacement: "top" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end";
|
|
1304
1314
|
treeMainOption: boolean;
|
|
1305
1315
|
treeMainOptionExpanded: boolean;
|
|
@@ -1386,6 +1396,10 @@ declare const DropdownTypes: () => (({
|
|
|
1386
1396
|
type: import("vue").PropType<string>;
|
|
1387
1397
|
default: any;
|
|
1388
1398
|
};
|
|
1399
|
+
endTextIconKey: {
|
|
1400
|
+
type: import("vue").PropType<string>;
|
|
1401
|
+
default: any;
|
|
1402
|
+
};
|
|
1389
1403
|
toolTipPlacement: {
|
|
1390
1404
|
type: import("vue").PropType<"top" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end">;
|
|
1391
1405
|
default: string;
|
|
@@ -1476,6 +1490,10 @@ declare const DropdownTypes: () => (({
|
|
|
1476
1490
|
type: import("vue").PropType<string>;
|
|
1477
1491
|
default: any;
|
|
1478
1492
|
};
|
|
1493
|
+
endTextIconKey: {
|
|
1494
|
+
type: import("vue").PropType<string>;
|
|
1495
|
+
default: any;
|
|
1496
|
+
};
|
|
1479
1497
|
toolTipPlacement: {
|
|
1480
1498
|
type: import("vue").PropType<"top" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end">;
|
|
1481
1499
|
default: string;
|
|
@@ -1519,6 +1537,7 @@ declare const DropdownTypes: () => (({
|
|
|
1519
1537
|
iconKey: string;
|
|
1520
1538
|
iconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
|
|
1521
1539
|
endIconKey: string;
|
|
1540
|
+
endTextIconKey: string;
|
|
1522
1541
|
toolTipPlacement: "top" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end";
|
|
1523
1542
|
treeMainOption: boolean;
|
|
1524
1543
|
treeMainOptionExpanded: boolean;
|
|
@@ -1697,6 +1716,7 @@ declare const DropdownTypes: () => (({
|
|
|
1697
1716
|
optionIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
|
|
1698
1717
|
optionEndIconKey: string;
|
|
1699
1718
|
optionEndIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
|
|
1719
|
+
optionsEndTextIconKey: string;
|
|
1700
1720
|
optionFlagKey: string;
|
|
1701
1721
|
valueToCopy: string;
|
|
1702
1722
|
disabledOptionKey: string;
|
|
@@ -1885,6 +1905,10 @@ declare const DropdownTypes: () => (({
|
|
|
1885
1905
|
type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate">;
|
|
1886
1906
|
default: any;
|
|
1887
1907
|
};
|
|
1908
|
+
optionsEndTextIconKey: {
|
|
1909
|
+
type: import("vue").PropType<string>;
|
|
1910
|
+
default: any;
|
|
1911
|
+
};
|
|
1888
1912
|
optionFlagKey: {
|
|
1889
1913
|
type: import("vue").PropType<string>;
|
|
1890
1914
|
default: any;
|
|
@@ -1947,7 +1971,7 @@ declare const DropdownTypes: () => (({
|
|
|
1947
1971
|
onOnsearch?: (value: string) => any;
|
|
1948
1972
|
onOpened?: () => any;
|
|
1949
1973
|
onClosed?: () => any;
|
|
1950
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "theme" | "testId" | "placement" | "disabled" | "distance" | "container" | "popperClass" | "size" | "flip" | "mandatory" | "skidding" | "modelValue" | "selected" | "onClear" | "placeholder" | "multi" | "showSelectAll" | "defaultOpen" | "keepOpen" | "autoSize" | "disableKeyboardEvents" | "isOnTop" | "triggerLabel" | "triggerHelperText" | "triggerFeedbackText" | "triggerFeedbackVariant" | "triggerFeedbackShowIcon" | "triggerShowAllSelectedText" | "predefinedTrigger" | "inlineSearch" | "inlineSearchPlaceholder" | "onSearch" | "noResultsText" | "searchAutoFocus" | "optionNameKey" | "optionIconKey" | "optionImageKey" | "optionIconType" | "optionEndIconKey" | "optionEndIconType" | "optionFlagKey" | "valueToCopy" | "disabledOptionKey" | "optionTwoLinesVariant" | "optionTwoLinesKey" | "groupedOptions" | "comparingKey" | "customNumberOfDisplayedOptions" | "fullWidth" | "optionsListWidth" | "statusType" | "disableVirtualScroll" | "overrideOptionCountCalculation">;
|
|
1974
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "theme" | "testId" | "placement" | "disabled" | "distance" | "container" | "popperClass" | "size" | "flip" | "mandatory" | "skidding" | "modelValue" | "selected" | "onClear" | "placeholder" | "multi" | "showSelectAll" | "defaultOpen" | "keepOpen" | "autoSize" | "disableKeyboardEvents" | "isOnTop" | "triggerLabel" | "triggerHelperText" | "triggerFeedbackText" | "triggerFeedbackVariant" | "triggerFeedbackShowIcon" | "triggerShowAllSelectedText" | "predefinedTrigger" | "inlineSearch" | "inlineSearchPlaceholder" | "onSearch" | "noResultsText" | "searchAutoFocus" | "optionNameKey" | "optionIconKey" | "optionImageKey" | "optionIconType" | "optionEndIconKey" | "optionEndIconType" | "optionsEndTextIconKey" | "optionFlagKey" | "valueToCopy" | "disabledOptionKey" | "optionTwoLinesVariant" | "optionTwoLinesKey" | "groupedOptions" | "comparingKey" | "customNumberOfDisplayedOptions" | "fullWidth" | "optionsListWidth" | "statusType" | "disableVirtualScroll" | "overrideOptionCountCalculation">;
|
|
1951
1975
|
$attrs: {
|
|
1952
1976
|
[x: string]: unknown;
|
|
1953
1977
|
};
|
|
@@ -2136,6 +2160,10 @@ declare const DropdownTypes: () => (({
|
|
|
2136
2160
|
type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate">;
|
|
2137
2161
|
default: any;
|
|
2138
2162
|
};
|
|
2163
|
+
optionsEndTextIconKey: {
|
|
2164
|
+
type: import("vue").PropType<string>;
|
|
2165
|
+
default: any;
|
|
2166
|
+
};
|
|
2139
2167
|
optionFlagKey: {
|
|
2140
2168
|
type: import("vue").PropType<string>;
|
|
2141
2169
|
default: any;
|
|
@@ -2252,6 +2280,7 @@ declare const DropdownTypes: () => (({
|
|
|
2252
2280
|
optionIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
|
|
2253
2281
|
optionEndIconKey: string;
|
|
2254
2282
|
optionEndIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
|
|
2283
|
+
optionsEndTextIconKey: string;
|
|
2255
2284
|
optionFlagKey: string;
|
|
2256
2285
|
valueToCopy: string;
|
|
2257
2286
|
disabledOptionKey: string;
|
|
@@ -2460,6 +2489,10 @@ declare const DropdownTypes: () => (({
|
|
|
2460
2489
|
type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate">;
|
|
2461
2490
|
default: any;
|
|
2462
2491
|
};
|
|
2492
|
+
optionsEndTextIconKey: {
|
|
2493
|
+
type: import("vue").PropType<string>;
|
|
2494
|
+
default: any;
|
|
2495
|
+
};
|
|
2463
2496
|
optionFlagKey: {
|
|
2464
2497
|
type: import("vue").PropType<string>;
|
|
2465
2498
|
default: any;
|
|
@@ -2704,6 +2737,10 @@ declare const DropdownTypes: () => (({
|
|
|
2704
2737
|
type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate">;
|
|
2705
2738
|
default: any;
|
|
2706
2739
|
};
|
|
2740
|
+
optionsEndTextIconKey: {
|
|
2741
|
+
type: import("vue").PropType<string>;
|
|
2742
|
+
default: any;
|
|
2743
|
+
};
|
|
2707
2744
|
optionFlagKey: {
|
|
2708
2745
|
type: import("vue").PropType<string>;
|
|
2709
2746
|
default: any;
|
|
@@ -2820,6 +2857,7 @@ declare const DropdownTypes: () => (({
|
|
|
2820
2857
|
optionIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
|
|
2821
2858
|
optionEndIconKey: string;
|
|
2822
2859
|
optionEndIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
|
|
2860
|
+
optionsEndTextIconKey: string;
|
|
2823
2861
|
optionFlagKey: string;
|
|
2824
2862
|
valueToCopy: string;
|
|
2825
2863
|
disabledOptionKey: string;
|
|
@@ -2861,6 +2899,7 @@ declare const DropdownTypes: () => (({
|
|
|
2861
2899
|
optionIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
|
|
2862
2900
|
optionAndIconKey: string;
|
|
2863
2901
|
optionEndIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
|
|
2902
|
+
optionsEndTextIconKey: string;
|
|
2864
2903
|
optionFlagKey: string;
|
|
2865
2904
|
feedbackVariant: "success" | "warning" | "error";
|
|
2866
2905
|
valueToCopy: string;
|
|
@@ -2876,6 +2915,7 @@ declare const DropdownTypes: () => (({
|
|
|
2876
2915
|
"input-list"?(_: {
|
|
2877
2916
|
open: true;
|
|
2878
2917
|
}): any;
|
|
2918
|
+
"select-all"?(_: {}): any;
|
|
2879
2919
|
"group-option"?(_: {}): any;
|
|
2880
2920
|
default?(_: {
|
|
2881
2921
|
option: unknown;
|
|
@@ -2982,6 +3022,7 @@ declare const DropdownTypes: () => (({
|
|
|
2982
3022
|
optionEndIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
|
|
2983
3023
|
valueToCopy: string;
|
|
2984
3024
|
disabledOptionKey: string;
|
|
3025
|
+
optionEndTextIconKey: string;
|
|
2985
3026
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
2986
3027
|
testId: {
|
|
2987
3028
|
type: import("vue").PropType<string>;
|
|
@@ -3050,6 +3091,10 @@ declare const DropdownTypes: () => (({
|
|
|
3050
3091
|
type: import("vue").PropType<string>;
|
|
3051
3092
|
default: string;
|
|
3052
3093
|
};
|
|
3094
|
+
optionEndTextIconKey: {
|
|
3095
|
+
type: import("vue").PropType<string>;
|
|
3096
|
+
default: any;
|
|
3097
|
+
};
|
|
3053
3098
|
optionChildrenKey: {
|
|
3054
3099
|
type: import("vue").PropType<string>;
|
|
3055
3100
|
required: true;
|
|
@@ -3065,7 +3110,7 @@ declare const DropdownTypes: () => (({
|
|
|
3065
3110
|
}>> & {
|
|
3066
3111
|
"onUpdate:selected"?: (value: unknown) => any;
|
|
3067
3112
|
"onUpdate:isOpen"?: (value: unknown) => any;
|
|
3068
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "testId" | "disabled" | "size" | "selected" | "placeholder" | "inlineSearchPlaceholder" | "optionNameKey" | "optionIconKey" | "optionImageKey" | "optionIconType" | "optionEndIconKey" | "optionEndIconType" | "valueToCopy" | "disabledOptionKey">;
|
|
3113
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "testId" | "disabled" | "size" | "selected" | "placeholder" | "inlineSearchPlaceholder" | "optionNameKey" | "optionIconKey" | "optionImageKey" | "optionIconType" | "optionEndIconKey" | "optionEndIconType" | "valueToCopy" | "disabledOptionKey" | "optionEndTextIconKey">;
|
|
3069
3114
|
$attrs: {
|
|
3070
3115
|
[x: string]: unknown;
|
|
3071
3116
|
};
|
|
@@ -3147,6 +3192,10 @@ declare const DropdownTypes: () => (({
|
|
|
3147
3192
|
type: import("vue").PropType<string>;
|
|
3148
3193
|
default: string;
|
|
3149
3194
|
};
|
|
3195
|
+
optionEndTextIconKey: {
|
|
3196
|
+
type: import("vue").PropType<string>;
|
|
3197
|
+
default: any;
|
|
3198
|
+
};
|
|
3150
3199
|
optionChildrenKey: {
|
|
3151
3200
|
type: import("vue").PropType<string>;
|
|
3152
3201
|
required: true;
|
|
@@ -3180,6 +3229,7 @@ declare const DropdownTypes: () => (({
|
|
|
3180
3229
|
optionEndIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
|
|
3181
3230
|
valueToCopy: string;
|
|
3182
3231
|
disabledOptionKey: string;
|
|
3232
|
+
optionEndTextIconKey: string;
|
|
3183
3233
|
}, {}, string> & {
|
|
3184
3234
|
beforeCreate?: (() => void) | (() => void)[];
|
|
3185
3235
|
created?: (() => void) | (() => void)[];
|
|
@@ -3268,6 +3318,10 @@ declare const DropdownTypes: () => (({
|
|
|
3268
3318
|
type: import("vue").PropType<string>;
|
|
3269
3319
|
default: string;
|
|
3270
3320
|
};
|
|
3321
|
+
optionEndTextIconKey: {
|
|
3322
|
+
type: import("vue").PropType<string>;
|
|
3323
|
+
default: any;
|
|
3324
|
+
};
|
|
3271
3325
|
optionChildrenKey: {
|
|
3272
3326
|
type: import("vue").PropType<string>;
|
|
3273
3327
|
required: true;
|
|
@@ -3355,6 +3409,10 @@ declare const DropdownTypes: () => (({
|
|
|
3355
3409
|
type: import("vue").PropType<string>;
|
|
3356
3410
|
default: string;
|
|
3357
3411
|
};
|
|
3412
|
+
optionEndTextIconKey: {
|
|
3413
|
+
type: import("vue").PropType<string>;
|
|
3414
|
+
default: any;
|
|
3415
|
+
};
|
|
3358
3416
|
optionChildrenKey: {
|
|
3359
3417
|
type: import("vue").PropType<string>;
|
|
3360
3418
|
required: true;
|
|
@@ -3388,6 +3446,7 @@ declare const DropdownTypes: () => (({
|
|
|
3388
3446
|
optionEndIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
|
|
3389
3447
|
valueToCopy: string;
|
|
3390
3448
|
disabledOptionKey: string;
|
|
3449
|
+
optionEndTextIconKey: string;
|
|
3391
3450
|
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
3392
3451
|
$slots: {
|
|
3393
3452
|
"trigger-end-icon"?(_: {}): any;
|