@ironsource/shared-ui 2.1.10 → 2.1.11-rc.1
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_991a7aad_lang.css +1 -0
- package/OptionV4.vue_vue_type_style_index_0_scoped_4070942a_lang.css +1 -0
- package/TreeDropdown.vue_vue_type_style_index_0_scoped_6ac5f602_lang.css +1 -0
- package/components/dropdown/common/Dropdown.common.js +108 -106
- 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 +10 -9
- package/components/dropdown/v4/OptionV4.vue.js +3 -3
- package/components/dropdown/v4/OptionV4.vue2.js +105 -87
- package/components/dropdown/v4/TreeDropdown.vue.d.ts +4 -2
- package/components/dropdown/v4/TreeDropdown.vue.js +2 -2
- package/components/dropdown/v4/TreeDropdown.vue2.js +135 -127
- package/components/dropdown/v4/index.d.ts +40 -5
- package/index.d.ts +80 -10
- package/index.js +1 -1
- package/mocks/words.d.ts +1 -0
- package/package.json +1 -1
- package/DropdownV4.vue_vue_type_style_index_0_scoped_2d635802_lang.css +0 -1
- package/OptionV4.vue_vue_type_style_index_0_scoped_058de532_lang.css +0 -1
- package/TreeDropdown.vue_vue_type_style_index_0_scoped_a51b6929_lang.css +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "../../../TreeDropdown.
|
|
2
|
-
import
|
|
1
|
+
import "../../../TreeDropdown.vue_vue_type_style_index_0_scoped_6ac5f602_lang.css"; import { defineComponent as F, provide as R, ref as c, onMounted as G, watch as m, computed as H, openBlock as v, createBlock as U, unref as d, withCtx as g, createVNode as k, normalizeProps as J, guardReactiveProps as Q, createSlots as W, renderSlot as X, withModifiers as N, createElementBlock as q, withDirectives as Y, createElementVNode as Z, Fragment as _, renderList as ee, vShow as ne, createCommentVNode as oe } from "vue";
|
|
2
|
+
import te from "./DropdownV4.vue.js";
|
|
3
3
|
import le from "./DefaultDropdownTrigger.vue.js";
|
|
4
4
|
import "./IconButtonDropdownTrigger.vue.js";
|
|
5
5
|
import "./ChipDropdownTrigger.vue.js";
|
|
@@ -7,13 +7,13 @@ 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
|
-
const
|
|
10
|
+
import x from "./OptionV4.vue.js";
|
|
11
|
+
import { useChildOptions as ie } from "../composables/useChildOptions.js";
|
|
12
|
+
import de from "../../search/v4/SearchV4.vue.js";
|
|
13
|
+
const ae = {
|
|
14
14
|
key: 0,
|
|
15
15
|
class: "child-options"
|
|
16
|
-
},
|
|
16
|
+
}, Ce = /* @__PURE__ */ F({
|
|
17
17
|
__name: "TreeDropdown",
|
|
18
18
|
props: {
|
|
19
19
|
options: null,
|
|
@@ -34,187 +34,195 @@ const ie = {
|
|
|
34
34
|
valueToCopy: { default: null },
|
|
35
35
|
disabledOptionKey: { default: "disabled" },
|
|
36
36
|
optionChildrenKey: null,
|
|
37
|
-
optionUniqueIdKey: null
|
|
37
|
+
optionUniqueIdKey: null,
|
|
38
|
+
preExpandedOptions: null
|
|
38
39
|
},
|
|
39
40
|
emits: ["update:selected", "update:isOpen"],
|
|
40
|
-
setup(
|
|
41
|
-
const
|
|
42
|
-
|
|
43
|
-
const
|
|
44
|
-
|
|
45
|
-
n[
|
|
46
|
-
...n[
|
|
41
|
+
setup(t, { emit: I }) {
|
|
42
|
+
const o = t;
|
|
43
|
+
R("isTreeDropdown", !0);
|
|
44
|
+
const h = c([]), f = c([]), O = c({}), w = c(!1), i = c([...o.selected]), u = c(""), b = () => {
|
|
45
|
+
o.options.forEach((n) => {
|
|
46
|
+
n[o.optionChildrenKey] && n[o.optionChildrenKey].length && (O.value[n[o.optionUniqueIdKey]] = [
|
|
47
|
+
...n[o.optionChildrenKey]
|
|
47
48
|
]);
|
|
48
|
-
}),
|
|
49
|
-
}
|
|
50
|
-
R(() => {
|
|
51
|
-
O.value || (S(), O.value = !0);
|
|
52
|
-
}), v(
|
|
53
|
-
() => l.options,
|
|
54
|
-
() => {
|
|
55
|
-
S();
|
|
56
|
-
}
|
|
57
|
-
), v(
|
|
58
|
-
() => l.selected,
|
|
59
|
-
() => {
|
|
60
|
-
i.value = [...l.selected];
|
|
61
|
-
}
|
|
62
|
-
);
|
|
63
|
-
const { hasChildren: p, getChildren: y, allChildrenSelected: g, someChildrenSelected: V } = oe(i, l.optionChildrenKey), b = (n) => {
|
|
49
|
+
}), h.value = [...o.options], f.value = [...o.options];
|
|
50
|
+
}, { hasChildren: p, getChildren: y, allChildrenSelected: K, someChildrenSelected: z } = ie(i, o.optionChildrenKey), E = (n) => {
|
|
64
51
|
if (p(n)) {
|
|
65
|
-
|
|
66
|
-
(
|
|
52
|
+
K(n) ? i.value = i.value.filter(
|
|
53
|
+
(l) => !y(n).includes(l)
|
|
67
54
|
) : i.value = [
|
|
68
|
-
...i.value.filter((
|
|
55
|
+
...i.value.filter((l) => !y(n).includes(l)),
|
|
69
56
|
...y(n)
|
|
70
57
|
];
|
|
71
58
|
return;
|
|
72
59
|
}
|
|
73
60
|
i.value.includes(n) ? i.value = i.value.filter(
|
|
74
|
-
(
|
|
61
|
+
(l) => l !== n
|
|
75
62
|
) : i.value = [...i.value, n];
|
|
76
|
-
},
|
|
63
|
+
}, S = (n) => i.value.includes(n), V = (n) => 1 + (p(n) ? y(n).length : 0), D = () => {
|
|
77
64
|
I("update:selected", i.value);
|
|
78
|
-
},
|
|
65
|
+
}, B = () => {
|
|
79
66
|
i.value = [];
|
|
80
|
-
},
|
|
67
|
+
}, L = () => {
|
|
81
68
|
const n = /* @__PURE__ */ new Set([]);
|
|
82
|
-
|
|
83
|
-
if (
|
|
69
|
+
f.value.forEach((e) => {
|
|
70
|
+
if (o.selected?.includes(e))
|
|
84
71
|
n.add(e);
|
|
85
|
-
else if (e[
|
|
86
|
-
for (const
|
|
87
|
-
if (
|
|
72
|
+
else if (e[o.optionChildrenKey] && e[o.optionChildrenKey].length) {
|
|
73
|
+
for (const s of e[o.optionChildrenKey])
|
|
74
|
+
if (o.selected?.includes(s)) {
|
|
88
75
|
n.add(e);
|
|
89
76
|
break;
|
|
90
77
|
}
|
|
91
78
|
}
|
|
92
79
|
});
|
|
93
|
-
const
|
|
94
|
-
return
|
|
95
|
-
!
|
|
96
|
-
}),
|
|
80
|
+
const l = Array.from(n);
|
|
81
|
+
return f.value.forEach((e) => {
|
|
82
|
+
!o.selected.includes(e) && !n.has(e) && l.push(e);
|
|
83
|
+
}), l;
|
|
97
84
|
};
|
|
98
|
-
|
|
99
|
-
() =>
|
|
85
|
+
G(() => {
|
|
86
|
+
w.value || (b(), w.value = !0, o.preExpandedOptions && o.preExpandedOptions.forEach((n) => {
|
|
87
|
+
a.value[n] = 1;
|
|
88
|
+
}));
|
|
89
|
+
}), m(
|
|
90
|
+
() => o.options,
|
|
100
91
|
() => {
|
|
101
|
-
|
|
92
|
+
b();
|
|
93
|
+
}
|
|
94
|
+
), m(
|
|
95
|
+
() => o.selected,
|
|
96
|
+
() => {
|
|
97
|
+
i.value = [...o.selected];
|
|
98
|
+
}
|
|
99
|
+
), m(
|
|
100
|
+
() => o.isOpen,
|
|
101
|
+
() => {
|
|
102
|
+
o.isOpen ? h.value = L() : (i.value = [...o.selected], u.value = "");
|
|
102
103
|
}
|
|
103
104
|
);
|
|
104
|
-
const
|
|
105
|
-
|
|
105
|
+
const a = c({}), M = (n) => {
|
|
106
|
+
a.value[n[o.optionUniqueIdKey]] ? delete a.value[n[o.optionUniqueIdKey]] : a.value[n[o.optionUniqueIdKey]] = 1;
|
|
106
107
|
};
|
|
107
|
-
function
|
|
108
|
-
const e = n.toLowerCase(),
|
|
109
|
-
return
|
|
110
|
-
const C =
|
|
111
|
-
(
|
|
108
|
+
function P(n, l) {
|
|
109
|
+
const e = n.toLowerCase(), s = [];
|
|
110
|
+
return l.value.forEach((r) => {
|
|
111
|
+
const C = r[o.optionNameKey].toLowerCase().includes(e), T = O.value[r[o.optionUniqueIdKey]]?.filter(
|
|
112
|
+
(j) => j[o.optionNameKey].toLowerCase().includes(e)
|
|
112
113
|
) || [];
|
|
113
|
-
(C || T.length > 0) && (
|
|
114
|
-
}),
|
|
114
|
+
(C || T.length > 0) && (r[o.optionChildrenKey] = T, s.push(r));
|
|
115
|
+
}), s;
|
|
115
116
|
}
|
|
116
|
-
const
|
|
117
|
-
const
|
|
118
|
-
n && (Object.keys(
|
|
119
|
-
delete
|
|
120
|
-
}),
|
|
121
|
-
Array.isArray(e[
|
|
122
|
-
})),
|
|
123
|
-
}
|
|
124
|
-
|
|
117
|
+
const A = (n) => {
|
|
118
|
+
const l = P(n, f);
|
|
119
|
+
n && (Object.keys(a.value).forEach((e) => {
|
|
120
|
+
delete a.value[e];
|
|
121
|
+
}), l.forEach((e) => {
|
|
122
|
+
Array.isArray(e[o.optionChildrenKey]) && e[o.optionChildrenKey].length && (a.value[e[o.optionUniqueIdKey]] = 1);
|
|
123
|
+
})), h.value = l;
|
|
124
|
+
}, $ = H(() => {
|
|
125
|
+
const n = o.options.length, l = o.options.reduce(
|
|
126
|
+
(e, s) => (a.value[s[o.optionUniqueIdKey]] && (e = e + s[o.optionChildrenKey].length), e),
|
|
127
|
+
0
|
|
128
|
+
);
|
|
129
|
+
return n + l;
|
|
130
|
+
});
|
|
131
|
+
return m(
|
|
125
132
|
() => u.value,
|
|
126
133
|
() => {
|
|
127
|
-
|
|
134
|
+
A(u.value);
|
|
128
135
|
}
|
|
129
|
-
), (n,
|
|
136
|
+
), (n, l) => (v(), U(d(te), {
|
|
130
137
|
multi: "",
|
|
131
138
|
class: "tree-dropdown",
|
|
132
139
|
"show-select-all": !1,
|
|
133
|
-
"is-open":
|
|
134
|
-
options:
|
|
135
|
-
selected:
|
|
136
|
-
"display-value":
|
|
137
|
-
placeholder:
|
|
140
|
+
"is-open": t.isOpen,
|
|
141
|
+
options: h.value,
|
|
142
|
+
selected: t.selected,
|
|
143
|
+
"display-value": t.displayValue,
|
|
144
|
+
placeholder: t.placeholder,
|
|
138
145
|
"inline-search": "",
|
|
139
|
-
"inline-search-placeholder":
|
|
140
|
-
"option-name-key":
|
|
141
|
-
size:
|
|
142
|
-
"test-id":
|
|
143
|
-
disabled:
|
|
146
|
+
"inline-search-placeholder": t.inlineSearchPlaceholder,
|
|
147
|
+
"option-name-key": t.optionNameKey,
|
|
148
|
+
size: t.size,
|
|
149
|
+
"test-id": t.testId,
|
|
150
|
+
disabled: t.disabled,
|
|
144
151
|
"disable-virtual-scroll": "",
|
|
145
|
-
"override-option-count-calculation":
|
|
152
|
+
"override-option-count-calculation": V,
|
|
146
153
|
"trigger-show-all-selected-text": !1,
|
|
147
154
|
"predefined-trigger": "default",
|
|
148
|
-
"
|
|
149
|
-
|
|
150
|
-
|
|
155
|
+
"custom-number-of-displayed-options": d($),
|
|
156
|
+
"onUpdate:isOpen": l[1] || (l[1] = (e) => I("update:isOpen", e)),
|
|
157
|
+
onApply: D,
|
|
158
|
+
onClear: B
|
|
151
159
|
}, {
|
|
152
|
-
"dropdown-trigger":
|
|
153
|
-
k(
|
|
160
|
+
"dropdown-trigger": g(({ defaultTriggerProps: e }) => [
|
|
161
|
+
k(d(le), J(Q(e)), W({ _: 2 }, [
|
|
154
162
|
n.$slots["trigger-end-icon"] ? {
|
|
155
163
|
name: "end-icon",
|
|
156
|
-
fn:
|
|
157
|
-
|
|
164
|
+
fn: g(() => [
|
|
165
|
+
X(n.$slots, "trigger-end-icon", {}, void 0, !0)
|
|
158
166
|
]),
|
|
159
167
|
key: "0"
|
|
160
168
|
} : void 0
|
|
161
169
|
]), 1040)
|
|
162
170
|
]),
|
|
163
|
-
"inline-search":
|
|
164
|
-
k(
|
|
171
|
+
"inline-search": g(() => [
|
|
172
|
+
k(d(de), {
|
|
165
173
|
modelValue: u.value,
|
|
166
|
-
"onUpdate:modelValue":
|
|
167
|
-
placeholder:
|
|
174
|
+
"onUpdate:modelValue": l[0] || (l[0] = (e) => u.value = e),
|
|
175
|
+
placeholder: t.inlineSearchPlaceholder,
|
|
168
176
|
variant: "transparent",
|
|
169
177
|
size: "md",
|
|
170
178
|
"auto-focus": "",
|
|
171
|
-
"test-id":
|
|
179
|
+
"test-id": t.testId
|
|
172
180
|
}, null, 8, ["modelValue", "placeholder", "test-id"])
|
|
173
181
|
]),
|
|
174
|
-
default:
|
|
175
|
-
k(
|
|
182
|
+
default: g(({ option: e, index: s }) => [
|
|
183
|
+
k(d(x), {
|
|
176
184
|
option: e,
|
|
177
|
-
"selected-prop":
|
|
178
|
-
"is-indeterminate": !
|
|
179
|
-
disabled: e[
|
|
180
|
-
"name-key":
|
|
181
|
-
"image-key":
|
|
182
|
-
"icon-key":
|
|
183
|
-
"icon-type":
|
|
184
|
-
"end-icon-key":
|
|
185
|
-
"end-icon-type":
|
|
186
|
-
"tree-main-option":
|
|
187
|
-
"tree-main-option-expanded":
|
|
185
|
+
"selected-prop": d(p)(e) ? d(K)(e) : S(e),
|
|
186
|
+
"is-indeterminate": !d(K)(e) && d(z)(e),
|
|
187
|
+
disabled: e[t.disabledOptionKey],
|
|
188
|
+
"name-key": t.optionNameKey,
|
|
189
|
+
"image-key": t.optionImageKey,
|
|
190
|
+
"icon-key": t.optionIconKey,
|
|
191
|
+
"icon-type": t.optionIconType,
|
|
192
|
+
"end-icon-key": t.optionEndIconKey,
|
|
193
|
+
"end-icon-type": t.optionEndIconType,
|
|
194
|
+
"tree-main-option": d(p)(e),
|
|
195
|
+
"tree-main-option-expanded": a.value[e[t.optionUniqueIdKey]],
|
|
188
196
|
"stop-option-click-event-propagation": "",
|
|
189
|
-
onClick:
|
|
190
|
-
onToggleTreeCollapse:
|
|
197
|
+
onClick: N(() => E(e), ["stop"]),
|
|
198
|
+
onToggleTreeCollapse: M
|
|
191
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"]),
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
(
|
|
195
|
-
key: `${
|
|
196
|
-
option:
|
|
197
|
-
"selected-prop":
|
|
198
|
-
disabled:
|
|
199
|
-
"name-key":
|
|
200
|
-
"image-key":
|
|
201
|
-
"icon-key":
|
|
202
|
-
"icon-type":
|
|
203
|
-
"end-icon-key":
|
|
204
|
-
"end-icon-type":
|
|
205
|
-
"tree-child-shown":
|
|
200
|
+
d(p)(e) ? (v(), q("div", ae, [
|
|
201
|
+
Y(Z("div", null, [
|
|
202
|
+
(v(!0), q(_, null, ee(d(y)(e), (r, C) => (v(), U(d(x), {
|
|
203
|
+
key: `${s}-${C}`,
|
|
204
|
+
option: r,
|
|
205
|
+
"selected-prop": S(r),
|
|
206
|
+
disabled: r[t.disabledOptionKey],
|
|
207
|
+
"name-key": t.optionNameKey,
|
|
208
|
+
"image-key": t.optionImageKey,
|
|
209
|
+
"icon-key": t.optionIconKey,
|
|
210
|
+
"icon-type": t.optionIconType,
|
|
211
|
+
"end-icon-key": t.optionEndIconKey,
|
|
212
|
+
"end-icon-type": t.optionEndIconType,
|
|
213
|
+
"tree-child-shown": a.value[e[t.optionUniqueIdKey]],
|
|
206
214
|
"stop-option-click-event-propagation": "",
|
|
207
|
-
onClick:
|
|
215
|
+
onClick: N(() => E(r), ["stop"])
|
|
208
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))
|
|
209
217
|
], 512), [
|
|
210
|
-
[
|
|
218
|
+
[ne, a.value[e[t.optionUniqueIdKey]]]
|
|
211
219
|
])
|
|
212
|
-
])) :
|
|
220
|
+
])) : oe("", !0)
|
|
213
221
|
]),
|
|
214
222
|
_: 3
|
|
215
|
-
}, 8, ["is-open", "options", "selected", "display-value", "placeholder", "inline-search-placeholder", "option-name-key", "size", "test-id", "disabled"]));
|
|
223
|
+
}, 8, ["is-open", "options", "selected", "display-value", "placeholder", "inline-search-placeholder", "option-name-key", "size", "test-id", "disabled", "custom-number-of-displayed-options"]));
|
|
216
224
|
}
|
|
217
225
|
});
|
|
218
226
|
export {
|
|
219
|
-
|
|
227
|
+
Ce as default
|
|
220
228
|
};
|
|
@@ -1704,6 +1704,7 @@ declare const DropdownTypes: () => (({
|
|
|
1704
1704
|
optionTwoLinesKey: string;
|
|
1705
1705
|
groupedOptions: boolean;
|
|
1706
1706
|
comparingKey: string;
|
|
1707
|
+
customNumberOfDisplayedOptions: number;
|
|
1707
1708
|
fullWidth: boolean;
|
|
1708
1709
|
optionsListWidth: string;
|
|
1709
1710
|
statusType: "default" | "disabled" | "success" | "warning" | "error" | "archive";
|
|
@@ -1912,6 +1913,10 @@ declare const DropdownTypes: () => (({
|
|
|
1912
1913
|
type: import("vue").PropType<string>;
|
|
1913
1914
|
default: any;
|
|
1914
1915
|
};
|
|
1916
|
+
customNumberOfDisplayedOptions: {
|
|
1917
|
+
type: import("vue").PropType<number>;
|
|
1918
|
+
default: any;
|
|
1919
|
+
};
|
|
1915
1920
|
fullWidth: {
|
|
1916
1921
|
type: import("vue").PropType<boolean>;
|
|
1917
1922
|
default: boolean;
|
|
@@ -1942,7 +1947,7 @@ declare const DropdownTypes: () => (({
|
|
|
1942
1947
|
onOnsearch?: (value: string) => any;
|
|
1943
1948
|
onOpened?: () => any;
|
|
1944
1949
|
onClosed?: () => any;
|
|
1945
|
-
} & 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" | "fullWidth" | "optionsListWidth" | "statusType" | "disableVirtualScroll" | "overrideOptionCountCalculation">;
|
|
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">;
|
|
1946
1951
|
$attrs: {
|
|
1947
1952
|
[x: string]: unknown;
|
|
1948
1953
|
};
|
|
@@ -2159,6 +2164,10 @@ declare const DropdownTypes: () => (({
|
|
|
2159
2164
|
type: import("vue").PropType<string>;
|
|
2160
2165
|
default: any;
|
|
2161
2166
|
};
|
|
2167
|
+
customNumberOfDisplayedOptions: {
|
|
2168
|
+
type: import("vue").PropType<number>;
|
|
2169
|
+
default: any;
|
|
2170
|
+
};
|
|
2162
2171
|
fullWidth: {
|
|
2163
2172
|
type: import("vue").PropType<boolean>;
|
|
2164
2173
|
default: boolean;
|
|
@@ -2250,6 +2259,7 @@ declare const DropdownTypes: () => (({
|
|
|
2250
2259
|
optionTwoLinesKey: string;
|
|
2251
2260
|
groupedOptions: boolean;
|
|
2252
2261
|
comparingKey: string;
|
|
2262
|
+
customNumberOfDisplayedOptions: number;
|
|
2253
2263
|
fullWidth: boolean;
|
|
2254
2264
|
optionsListWidth: string;
|
|
2255
2265
|
statusType: "default" | "disabled" | "success" | "warning" | "error" | "archive";
|
|
@@ -2478,6 +2488,10 @@ declare const DropdownTypes: () => (({
|
|
|
2478
2488
|
type: import("vue").PropType<string>;
|
|
2479
2489
|
default: any;
|
|
2480
2490
|
};
|
|
2491
|
+
customNumberOfDisplayedOptions: {
|
|
2492
|
+
type: import("vue").PropType<number>;
|
|
2493
|
+
default: any;
|
|
2494
|
+
};
|
|
2481
2495
|
fullWidth: {
|
|
2482
2496
|
type: import("vue").PropType<boolean>;
|
|
2483
2497
|
default: boolean;
|
|
@@ -2718,6 +2732,10 @@ declare const DropdownTypes: () => (({
|
|
|
2718
2732
|
type: import("vue").PropType<string>;
|
|
2719
2733
|
default: any;
|
|
2720
2734
|
};
|
|
2735
|
+
customNumberOfDisplayedOptions: {
|
|
2736
|
+
type: import("vue").PropType<number>;
|
|
2737
|
+
default: any;
|
|
2738
|
+
};
|
|
2721
2739
|
fullWidth: {
|
|
2722
2740
|
type: import("vue").PropType<boolean>;
|
|
2723
2741
|
default: boolean;
|
|
@@ -2809,6 +2827,7 @@ declare const DropdownTypes: () => (({
|
|
|
2809
2827
|
optionTwoLinesKey: string;
|
|
2810
2828
|
groupedOptions: boolean;
|
|
2811
2829
|
comparingKey: string;
|
|
2830
|
+
customNumberOfDisplayedOptions: number;
|
|
2812
2831
|
fullWidth: boolean;
|
|
2813
2832
|
optionsListWidth: string;
|
|
2814
2833
|
statusType: "default" | "disabled" | "success" | "warning" | "error" | "archive";
|
|
@@ -3036,7 +3055,11 @@ declare const DropdownTypes: () => (({
|
|
|
3036
3055
|
required: true;
|
|
3037
3056
|
};
|
|
3038
3057
|
optionUniqueIdKey: {
|
|
3039
|
-
type: import("vue").PropType<string>;
|
|
3058
|
+
type: import("vue").PropType<string | number>;
|
|
3059
|
+
required: true;
|
|
3060
|
+
};
|
|
3061
|
+
preExpandedOptions: {
|
|
3062
|
+
type: import("vue").PropType<string[] | number[]>;
|
|
3040
3063
|
required: true;
|
|
3041
3064
|
};
|
|
3042
3065
|
}>> & {
|
|
@@ -3129,7 +3152,11 @@ declare const DropdownTypes: () => (({
|
|
|
3129
3152
|
required: true;
|
|
3130
3153
|
};
|
|
3131
3154
|
optionUniqueIdKey: {
|
|
3132
|
-
type: import("vue").PropType<string>;
|
|
3155
|
+
type: import("vue").PropType<string | number>;
|
|
3156
|
+
required: true;
|
|
3157
|
+
};
|
|
3158
|
+
preExpandedOptions: {
|
|
3159
|
+
type: import("vue").PropType<string[] | number[]>;
|
|
3133
3160
|
required: true;
|
|
3134
3161
|
};
|
|
3135
3162
|
}>> & {
|
|
@@ -3246,7 +3273,11 @@ declare const DropdownTypes: () => (({
|
|
|
3246
3273
|
required: true;
|
|
3247
3274
|
};
|
|
3248
3275
|
optionUniqueIdKey: {
|
|
3249
|
-
type: import("vue").PropType<string>;
|
|
3276
|
+
type: import("vue").PropType<string | number>;
|
|
3277
|
+
required: true;
|
|
3278
|
+
};
|
|
3279
|
+
preExpandedOptions: {
|
|
3280
|
+
type: import("vue").PropType<string[] | number[]>;
|
|
3250
3281
|
required: true;
|
|
3251
3282
|
};
|
|
3252
3283
|
}>> & {
|
|
@@ -3329,7 +3360,11 @@ declare const DropdownTypes: () => (({
|
|
|
3329
3360
|
required: true;
|
|
3330
3361
|
};
|
|
3331
3362
|
optionUniqueIdKey: {
|
|
3332
|
-
type: import("vue").PropType<string>;
|
|
3363
|
+
type: import("vue").PropType<string | number>;
|
|
3364
|
+
required: true;
|
|
3365
|
+
};
|
|
3366
|
+
preExpandedOptions: {
|
|
3367
|
+
type: import("vue").PropType<string[] | number[]>;
|
|
3333
3368
|
required: true;
|
|
3334
3369
|
};
|
|
3335
3370
|
}>> & {
|