@ironsource/shared-ui 2.1.11-test.2 → 2.1.11-test.6
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_e899ec7a_lang.css +1 -0
- package/SettingsHeader.vue_vue_type_style_index_0_scoped_9b6cd9d9_lang.css +1 -0
- package/TreeDropdown.vue_vue_type_style_index_0_scoped_6ac5f602_lang.css +1 -0
- package/components/chart/SettingsHeader.vue.js +3 -3
- package/components/chart/SettingsHeader.vue2.js +33 -26
- package/components/dropdown/common/Dropdown.common.js +91 -93
- package/components/dropdown/v4/DropdownV4.vue.d.ts +6 -0
- package/components/dropdown/v4/DropdownV4.vue.js +4 -4
- package/components/dropdown/v4/DropdownV4.vue2.js +152 -141
- package/components/dropdown/v4/TreeDropdown.vue.js +2 -2
- package/components/dropdown/v4/TreeDropdown.vue2.js +142 -145
- package/components/dropdown/v4/index.d.ts +25 -1
- package/index.d.ts +50 -2
- package/mocks/options.d.ts +4 -0
- package/package.json +2 -2
- package/DropdownV4.vue_vue_type_style_index_0_scoped_991a7aad_lang.css +0 -1
- package/SettingsHeader.vue_vue_type_style_index_0_scoped_1791e4fe_lang.css +0 -1
- package/TreeDropdown.vue_vue_type_style_index_0_scoped_c361375a_lang.css +0 -1
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import "../../../TreeDropdown.
|
|
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
2
|
import te from "./DropdownV4.vue.js";
|
|
3
|
-
import
|
|
3
|
+
import le 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
|
|
10
|
+
import x from "./OptionV4.vue.js";
|
|
11
|
+
import { useChildOptions as ie } from "../composables/useChildOptions.js";
|
|
12
12
|
import de from "../../search/v4/SearchV4.vue.js";
|
|
13
|
-
const
|
|
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,
|
|
@@ -38,194 +38,191 @@ const se = {
|
|
|
38
38
|
preExpandedOptions: null
|
|
39
39
|
},
|
|
40
40
|
emits: ["update:selected", "update:isOpen"],
|
|
41
|
-
setup(
|
|
42
|
-
const o =
|
|
43
|
-
|
|
44
|
-
const h = c([]), f = c([]),
|
|
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
45
|
o.options.forEach((n) => {
|
|
46
|
-
n[o.optionChildrenKey] && n[o.optionChildrenKey].length && (
|
|
46
|
+
n[o.optionChildrenKey] && n[o.optionChildrenKey].length && (O.value[n[o.optionUniqueIdKey]] = [
|
|
47
47
|
...n[o.optionChildrenKey]
|
|
48
48
|
]);
|
|
49
49
|
}), h.value = [...o.options], f.value = [...o.options];
|
|
50
|
-
}, { hasChildren: p, getChildren: y, allChildrenSelected:
|
|
50
|
+
}, { hasChildren: p, getChildren: y, allChildrenSelected: K, someChildrenSelected: z } = ie(i, o.optionChildrenKey), E = (n) => {
|
|
51
51
|
if (p(n)) {
|
|
52
|
-
|
|
53
|
-
(
|
|
52
|
+
K(n) ? i.value = i.value.filter(
|
|
53
|
+
(l) => !y(n).includes(l)
|
|
54
54
|
) : i.value = [
|
|
55
|
-
...i.value.filter((
|
|
55
|
+
...i.value.filter((l) => !y(n).includes(l)),
|
|
56
56
|
...y(n)
|
|
57
57
|
];
|
|
58
58
|
return;
|
|
59
59
|
}
|
|
60
60
|
i.value.includes(n) ? i.value = i.value.filter(
|
|
61
|
-
(
|
|
61
|
+
(l) => l !== n
|
|
62
62
|
) : i.value = [...i.value, n];
|
|
63
|
-
},
|
|
64
|
-
|
|
65
|
-
},
|
|
63
|
+
}, S = (n) => i.value.includes(n), V = (n) => 1 + (p(n) ? y(n).length : 0), D = () => {
|
|
64
|
+
I("update:selected", i.value);
|
|
65
|
+
}, B = () => {
|
|
66
66
|
i.value = [];
|
|
67
|
-
},
|
|
67
|
+
}, L = () => {
|
|
68
68
|
const n = /* @__PURE__ */ new Set([]);
|
|
69
69
|
f.value.forEach((e) => {
|
|
70
70
|
if (o.selected?.includes(e))
|
|
71
71
|
n.add(e);
|
|
72
72
|
else if (e[o.optionChildrenKey] && e[o.optionChildrenKey].length) {
|
|
73
|
-
for (const
|
|
74
|
-
if (o.selected?.includes(
|
|
73
|
+
for (const s of e[o.optionChildrenKey])
|
|
74
|
+
if (o.selected?.includes(s)) {
|
|
75
75
|
n.add(e);
|
|
76
76
|
break;
|
|
77
77
|
}
|
|
78
78
|
}
|
|
79
79
|
});
|
|
80
|
-
const
|
|
80
|
+
const l = Array.from(n);
|
|
81
81
|
return f.value.forEach((e) => {
|
|
82
|
-
!o.selected.includes(e) && !n.has(e) &&
|
|
83
|
-
}),
|
|
82
|
+
!o.selected.includes(e) && !n.has(e) && l.push(e);
|
|
83
|
+
}), l;
|
|
84
84
|
};
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
85
|
+
G(() => {
|
|
86
|
+
w.value || (b(), w.value = !0, o.preExpandedOptions && o.preExpandedOptions.forEach((n) => {
|
|
87
|
+
a.value[n] = 1;
|
|
88
88
|
}));
|
|
89
|
-
}),
|
|
89
|
+
}), m(
|
|
90
90
|
() => o.options,
|
|
91
91
|
() => {
|
|
92
|
-
|
|
92
|
+
b();
|
|
93
93
|
}
|
|
94
|
-
),
|
|
94
|
+
), m(
|
|
95
95
|
() => o.selected,
|
|
96
96
|
() => {
|
|
97
97
|
i.value = [...o.selected];
|
|
98
98
|
}
|
|
99
|
-
),
|
|
99
|
+
), m(
|
|
100
100
|
() => o.isOpen,
|
|
101
101
|
() => {
|
|
102
|
-
o.isOpen ? h.value =
|
|
102
|
+
o.isOpen ? h.value = L() : (i.value = [...o.selected], u.value = "");
|
|
103
103
|
}
|
|
104
104
|
);
|
|
105
|
-
const
|
|
106
|
-
|
|
105
|
+
const a = c({}), M = (n) => {
|
|
106
|
+
a.value[n[o.optionUniqueIdKey]] ? delete a.value[n[o.optionUniqueIdKey]] : a.value[n[o.optionUniqueIdKey]] = 1;
|
|
107
107
|
};
|
|
108
|
-
function
|
|
109
|
-
const e = n.toLowerCase(),
|
|
110
|
-
return
|
|
111
|
-
const
|
|
112
|
-
(
|
|
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)
|
|
113
113
|
) || [];
|
|
114
|
-
(
|
|
115
|
-
}),
|
|
114
|
+
(C || T.length > 0) && (r[o.optionChildrenKey] = T, s.push(r));
|
|
115
|
+
}), s;
|
|
116
116
|
}
|
|
117
117
|
const A = (n) => {
|
|
118
|
-
const
|
|
119
|
-
n && (Object.keys(
|
|
120
|
-
delete
|
|
121
|
-
}),
|
|
122
|
-
Array.isArray(e[o.optionChildrenKey]) && e[o.optionChildrenKey].length && (
|
|
123
|
-
})), h.value =
|
|
124
|
-
},
|
|
125
|
-
const n = o.options.length,
|
|
126
|
-
(e,
|
|
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
127
|
0
|
|
128
128
|
);
|
|
129
|
-
return n +
|
|
129
|
+
return n + l;
|
|
130
130
|
});
|
|
131
|
-
return
|
|
131
|
+
return m(
|
|
132
132
|
() => u.value,
|
|
133
133
|
() => {
|
|
134
134
|
A(u.value);
|
|
135
135
|
}
|
|
136
|
-
), (n,
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
}, 8, ["is-open", "options", "selected", "display-value", "placeholder", "inline-search-placeholder", "option-name-key", "size", "test-id", "disabled", "custom-number-of-displayed-options"]),
|
|
225
|
-
x("pre", re, le(d.value), 1)
|
|
226
|
-
], 64));
|
|
136
|
+
), (n, l) => (v(), U(d(te), {
|
|
137
|
+
multi: "",
|
|
138
|
+
class: "tree-dropdown",
|
|
139
|
+
"show-select-all": !1,
|
|
140
|
+
"is-open": t.isOpen,
|
|
141
|
+
options: h.value,
|
|
142
|
+
selected: t.selected,
|
|
143
|
+
"display-value": t.displayValue,
|
|
144
|
+
placeholder: t.placeholder,
|
|
145
|
+
"inline-search": "",
|
|
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,
|
|
151
|
+
"disable-virtual-scroll": "",
|
|
152
|
+
"override-option-count-calculation": V,
|
|
153
|
+
"trigger-show-all-selected-text": !1,
|
|
154
|
+
"predefined-trigger": "default",
|
|
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
|
|
159
|
+
}, {
|
|
160
|
+
"dropdown-trigger": g(({ defaultTriggerProps: e }) => [
|
|
161
|
+
k(d(le), J(Q(e)), W({ _: 2 }, [
|
|
162
|
+
n.$slots["trigger-end-icon"] ? {
|
|
163
|
+
name: "end-icon",
|
|
164
|
+
fn: g(() => [
|
|
165
|
+
X(n.$slots, "trigger-end-icon", {}, void 0, !0)
|
|
166
|
+
]),
|
|
167
|
+
key: "0"
|
|
168
|
+
} : void 0
|
|
169
|
+
]), 1040)
|
|
170
|
+
]),
|
|
171
|
+
"inline-search": g(() => [
|
|
172
|
+
k(d(de), {
|
|
173
|
+
modelValue: u.value,
|
|
174
|
+
"onUpdate:modelValue": l[0] || (l[0] = (e) => u.value = e),
|
|
175
|
+
placeholder: t.inlineSearchPlaceholder,
|
|
176
|
+
variant: "transparent",
|
|
177
|
+
size: "md",
|
|
178
|
+
"auto-focus": "",
|
|
179
|
+
"test-id": t.testId
|
|
180
|
+
}, null, 8, ["modelValue", "placeholder", "test-id"])
|
|
181
|
+
]),
|
|
182
|
+
default: g(({ option: e, index: s }) => [
|
|
183
|
+
k(d(x), {
|
|
184
|
+
option: e,
|
|
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]],
|
|
196
|
+
"stop-option-click-event-propagation": "",
|
|
197
|
+
onClick: N(() => E(e), ["stop"]),
|
|
198
|
+
onToggleTreeCollapse: M
|
|
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
|
+
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]],
|
|
214
|
+
"stop-option-click-event-propagation": "",
|
|
215
|
+
onClick: N(() => E(r), ["stop"])
|
|
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))
|
|
217
|
+
], 512), [
|
|
218
|
+
[ne, a.value[e[t.optionUniqueIdKey]]]
|
|
219
|
+
])
|
|
220
|
+
])) : oe("", !0)
|
|
221
|
+
]),
|
|
222
|
+
_: 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"]));
|
|
227
224
|
}
|
|
228
225
|
});
|
|
229
226
|
export {
|
|
230
|
-
|
|
227
|
+
Ce as default
|
|
231
228
|
};
|
|
@@ -1704,6 +1704,7 @@ declare const DropdownTypes: () => (({
|
|
|
1704
1704
|
optionTwoLinesKey: string;
|
|
1705
1705
|
groupedOptions: boolean;
|
|
1706
1706
|
comparingKey: string;
|
|
1707
|
+
withConditions: boolean;
|
|
1707
1708
|
customNumberOfDisplayedOptions: number;
|
|
1708
1709
|
fullWidth: boolean;
|
|
1709
1710
|
optionsListWidth: string;
|
|
@@ -1913,6 +1914,11 @@ declare const DropdownTypes: () => (({
|
|
|
1913
1914
|
type: import("vue").PropType<string>;
|
|
1914
1915
|
default: any;
|
|
1915
1916
|
};
|
|
1917
|
+
withConditions: {
|
|
1918
|
+
type: import("vue").PropType<boolean>;
|
|
1919
|
+
required: true;
|
|
1920
|
+
default: boolean;
|
|
1921
|
+
};
|
|
1916
1922
|
customNumberOfDisplayedOptions: {
|
|
1917
1923
|
type: import("vue").PropType<number>;
|
|
1918
1924
|
default: any;
|
|
@@ -1947,7 +1953,7 @@ declare const DropdownTypes: () => (({
|
|
|
1947
1953
|
onOnsearch?: (value: string) => any;
|
|
1948
1954
|
onOpened?: () => any;
|
|
1949
1955
|
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">;
|
|
1956
|
+
} & 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" | "withConditions" | "customNumberOfDisplayedOptions" | "fullWidth" | "optionsListWidth" | "statusType" | "disableVirtualScroll" | "overrideOptionCountCalculation">;
|
|
1951
1957
|
$attrs: {
|
|
1952
1958
|
[x: string]: unknown;
|
|
1953
1959
|
};
|
|
@@ -2164,6 +2170,11 @@ declare const DropdownTypes: () => (({
|
|
|
2164
2170
|
type: import("vue").PropType<string>;
|
|
2165
2171
|
default: any;
|
|
2166
2172
|
};
|
|
2173
|
+
withConditions: {
|
|
2174
|
+
type: import("vue").PropType<boolean>;
|
|
2175
|
+
required: true;
|
|
2176
|
+
default: boolean;
|
|
2177
|
+
};
|
|
2167
2178
|
customNumberOfDisplayedOptions: {
|
|
2168
2179
|
type: import("vue").PropType<number>;
|
|
2169
2180
|
default: any;
|
|
@@ -2259,6 +2270,7 @@ declare const DropdownTypes: () => (({
|
|
|
2259
2270
|
optionTwoLinesKey: string;
|
|
2260
2271
|
groupedOptions: boolean;
|
|
2261
2272
|
comparingKey: string;
|
|
2273
|
+
withConditions: boolean;
|
|
2262
2274
|
customNumberOfDisplayedOptions: number;
|
|
2263
2275
|
fullWidth: boolean;
|
|
2264
2276
|
optionsListWidth: string;
|
|
@@ -2488,6 +2500,11 @@ declare const DropdownTypes: () => (({
|
|
|
2488
2500
|
type: import("vue").PropType<string>;
|
|
2489
2501
|
default: any;
|
|
2490
2502
|
};
|
|
2503
|
+
withConditions: {
|
|
2504
|
+
type: import("vue").PropType<boolean>;
|
|
2505
|
+
required: true;
|
|
2506
|
+
default: boolean;
|
|
2507
|
+
};
|
|
2491
2508
|
customNumberOfDisplayedOptions: {
|
|
2492
2509
|
type: import("vue").PropType<number>;
|
|
2493
2510
|
default: any;
|
|
@@ -2732,6 +2749,11 @@ declare const DropdownTypes: () => (({
|
|
|
2732
2749
|
type: import("vue").PropType<string>;
|
|
2733
2750
|
default: any;
|
|
2734
2751
|
};
|
|
2752
|
+
withConditions: {
|
|
2753
|
+
type: import("vue").PropType<boolean>;
|
|
2754
|
+
required: true;
|
|
2755
|
+
default: boolean;
|
|
2756
|
+
};
|
|
2735
2757
|
customNumberOfDisplayedOptions: {
|
|
2736
2758
|
type: import("vue").PropType<number>;
|
|
2737
2759
|
default: any;
|
|
@@ -2827,6 +2849,7 @@ declare const DropdownTypes: () => (({
|
|
|
2827
2849
|
optionTwoLinesKey: string;
|
|
2828
2850
|
groupedOptions: boolean;
|
|
2829
2851
|
comparingKey: string;
|
|
2852
|
+
withConditions: boolean;
|
|
2830
2853
|
customNumberOfDisplayedOptions: number;
|
|
2831
2854
|
fullWidth: boolean;
|
|
2832
2855
|
optionsListWidth: string;
|
|
@@ -2872,6 +2895,7 @@ declare const DropdownTypes: () => (({
|
|
|
2872
2895
|
onClick: () => void;
|
|
2873
2896
|
};
|
|
2874
2897
|
}): any;
|
|
2898
|
+
"dropdown-conditions"?(_: {}): any;
|
|
2875
2899
|
"inline-search"?(_: {}): any;
|
|
2876
2900
|
"input-list"?(_: {
|
|
2877
2901
|
open: true;
|
package/index.d.ts
CHANGED
|
@@ -15799,6 +15799,7 @@ declare const _default: {
|
|
|
15799
15799
|
optionTwoLinesKey: string;
|
|
15800
15800
|
groupedOptions: boolean;
|
|
15801
15801
|
comparingKey: string;
|
|
15802
|
+
withConditions: boolean;
|
|
15802
15803
|
customNumberOfDisplayedOptions: number;
|
|
15803
15804
|
fullWidth: boolean;
|
|
15804
15805
|
optionsListWidth: string;
|
|
@@ -16008,6 +16009,11 @@ declare const _default: {
|
|
|
16008
16009
|
type: import("vue").PropType<string>;
|
|
16009
16010
|
default: any;
|
|
16010
16011
|
};
|
|
16012
|
+
withConditions: {
|
|
16013
|
+
type: import("vue").PropType<boolean>;
|
|
16014
|
+
required: true;
|
|
16015
|
+
default: boolean;
|
|
16016
|
+
};
|
|
16011
16017
|
customNumberOfDisplayedOptions: {
|
|
16012
16018
|
type: import("vue").PropType<number>;
|
|
16013
16019
|
default: any;
|
|
@@ -16042,7 +16048,7 @@ declare const _default: {
|
|
|
16042
16048
|
onOnsearch?: (value: string) => any;
|
|
16043
16049
|
onOpened?: () => any;
|
|
16044
16050
|
onClosed?: () => any;
|
|
16045
|
-
} & 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">;
|
|
16051
|
+
} & 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" | "withConditions" | "customNumberOfDisplayedOptions" | "fullWidth" | "optionsListWidth" | "statusType" | "disableVirtualScroll" | "overrideOptionCountCalculation">;
|
|
16046
16052
|
$attrs: {
|
|
16047
16053
|
[x: string]: unknown;
|
|
16048
16054
|
};
|
|
@@ -16259,6 +16265,11 @@ declare const _default: {
|
|
|
16259
16265
|
type: import("vue").PropType<string>;
|
|
16260
16266
|
default: any;
|
|
16261
16267
|
};
|
|
16268
|
+
withConditions: {
|
|
16269
|
+
type: import("vue").PropType<boolean>;
|
|
16270
|
+
required: true;
|
|
16271
|
+
default: boolean;
|
|
16272
|
+
};
|
|
16262
16273
|
customNumberOfDisplayedOptions: {
|
|
16263
16274
|
type: import("vue").PropType<number>;
|
|
16264
16275
|
default: any;
|
|
@@ -16354,6 +16365,7 @@ declare const _default: {
|
|
|
16354
16365
|
optionTwoLinesKey: string;
|
|
16355
16366
|
groupedOptions: boolean;
|
|
16356
16367
|
comparingKey: string;
|
|
16368
|
+
withConditions: boolean;
|
|
16357
16369
|
customNumberOfDisplayedOptions: number;
|
|
16358
16370
|
fullWidth: boolean;
|
|
16359
16371
|
optionsListWidth: string;
|
|
@@ -16583,6 +16595,11 @@ declare const _default: {
|
|
|
16583
16595
|
type: import("vue").PropType<string>;
|
|
16584
16596
|
default: any;
|
|
16585
16597
|
};
|
|
16598
|
+
withConditions: {
|
|
16599
|
+
type: import("vue").PropType<boolean>;
|
|
16600
|
+
required: true;
|
|
16601
|
+
default: boolean;
|
|
16602
|
+
};
|
|
16586
16603
|
customNumberOfDisplayedOptions: {
|
|
16587
16604
|
type: import("vue").PropType<number>;
|
|
16588
16605
|
default: any;
|
|
@@ -16827,6 +16844,11 @@ declare const _default: {
|
|
|
16827
16844
|
type: import("vue").PropType<string>;
|
|
16828
16845
|
default: any;
|
|
16829
16846
|
};
|
|
16847
|
+
withConditions: {
|
|
16848
|
+
type: import("vue").PropType<boolean>;
|
|
16849
|
+
required: true;
|
|
16850
|
+
default: boolean;
|
|
16851
|
+
};
|
|
16830
16852
|
customNumberOfDisplayedOptions: {
|
|
16831
16853
|
type: import("vue").PropType<number>;
|
|
16832
16854
|
default: any;
|
|
@@ -16922,6 +16944,7 @@ declare const _default: {
|
|
|
16922
16944
|
optionTwoLinesKey: string;
|
|
16923
16945
|
groupedOptions: boolean;
|
|
16924
16946
|
comparingKey: string;
|
|
16947
|
+
withConditions: boolean;
|
|
16925
16948
|
customNumberOfDisplayedOptions: number;
|
|
16926
16949
|
fullWidth: boolean;
|
|
16927
16950
|
optionsListWidth: string;
|
|
@@ -16967,6 +16990,7 @@ declare const _default: {
|
|
|
16967
16990
|
onClick: () => void;
|
|
16968
16991
|
};
|
|
16969
16992
|
}): any;
|
|
16993
|
+
"dropdown-conditions"?(_: {}): any;
|
|
16970
16994
|
"inline-search"?(_: {}): any;
|
|
16971
16995
|
"input-list"?(_: {
|
|
16972
16996
|
open: true;
|
|
@@ -20179,6 +20203,7 @@ declare const _default: {
|
|
|
20179
20203
|
optionTwoLinesKey: string;
|
|
20180
20204
|
groupedOptions: boolean;
|
|
20181
20205
|
comparingKey: string;
|
|
20206
|
+
withConditions: boolean;
|
|
20182
20207
|
customNumberOfDisplayedOptions: number;
|
|
20183
20208
|
fullWidth: boolean;
|
|
20184
20209
|
optionsListWidth: string;
|
|
@@ -20388,6 +20413,11 @@ declare const _default: {
|
|
|
20388
20413
|
type: import("vue").PropType<string>;
|
|
20389
20414
|
default: any;
|
|
20390
20415
|
};
|
|
20416
|
+
withConditions: {
|
|
20417
|
+
type: import("vue").PropType<boolean>;
|
|
20418
|
+
required: true;
|
|
20419
|
+
default: boolean;
|
|
20420
|
+
};
|
|
20391
20421
|
customNumberOfDisplayedOptions: {
|
|
20392
20422
|
type: import("vue").PropType<number>;
|
|
20393
20423
|
default: any;
|
|
@@ -20422,7 +20452,7 @@ declare const _default: {
|
|
|
20422
20452
|
onOnsearch?: (value: string) => any;
|
|
20423
20453
|
onOpened?: () => any;
|
|
20424
20454
|
onClosed?: () => any;
|
|
20425
|
-
} & 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">;
|
|
20455
|
+
} & 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" | "withConditions" | "customNumberOfDisplayedOptions" | "fullWidth" | "optionsListWidth" | "statusType" | "disableVirtualScroll" | "overrideOptionCountCalculation">;
|
|
20426
20456
|
$attrs: {
|
|
20427
20457
|
[x: string]: unknown;
|
|
20428
20458
|
};
|
|
@@ -20639,6 +20669,11 @@ declare const _default: {
|
|
|
20639
20669
|
type: import("vue").PropType<string>;
|
|
20640
20670
|
default: any;
|
|
20641
20671
|
};
|
|
20672
|
+
withConditions: {
|
|
20673
|
+
type: import("vue").PropType<boolean>;
|
|
20674
|
+
required: true;
|
|
20675
|
+
default: boolean;
|
|
20676
|
+
};
|
|
20642
20677
|
customNumberOfDisplayedOptions: {
|
|
20643
20678
|
type: import("vue").PropType<number>;
|
|
20644
20679
|
default: any;
|
|
@@ -20734,6 +20769,7 @@ declare const _default: {
|
|
|
20734
20769
|
optionTwoLinesKey: string;
|
|
20735
20770
|
groupedOptions: boolean;
|
|
20736
20771
|
comparingKey: string;
|
|
20772
|
+
withConditions: boolean;
|
|
20737
20773
|
customNumberOfDisplayedOptions: number;
|
|
20738
20774
|
fullWidth: boolean;
|
|
20739
20775
|
optionsListWidth: string;
|
|
@@ -20963,6 +20999,11 @@ declare const _default: {
|
|
|
20963
20999
|
type: import("vue").PropType<string>;
|
|
20964
21000
|
default: any;
|
|
20965
21001
|
};
|
|
21002
|
+
withConditions: {
|
|
21003
|
+
type: import("vue").PropType<boolean>;
|
|
21004
|
+
required: true;
|
|
21005
|
+
default: boolean;
|
|
21006
|
+
};
|
|
20966
21007
|
customNumberOfDisplayedOptions: {
|
|
20967
21008
|
type: import("vue").PropType<number>;
|
|
20968
21009
|
default: any;
|
|
@@ -21207,6 +21248,11 @@ declare const _default: {
|
|
|
21207
21248
|
type: import("vue").PropType<string>;
|
|
21208
21249
|
default: any;
|
|
21209
21250
|
};
|
|
21251
|
+
withConditions: {
|
|
21252
|
+
type: import("vue").PropType<boolean>;
|
|
21253
|
+
required: true;
|
|
21254
|
+
default: boolean;
|
|
21255
|
+
};
|
|
21210
21256
|
customNumberOfDisplayedOptions: {
|
|
21211
21257
|
type: import("vue").PropType<number>;
|
|
21212
21258
|
default: any;
|
|
@@ -21302,6 +21348,7 @@ declare const _default: {
|
|
|
21302
21348
|
optionTwoLinesKey: string;
|
|
21303
21349
|
groupedOptions: boolean;
|
|
21304
21350
|
comparingKey: string;
|
|
21351
|
+
withConditions: boolean;
|
|
21305
21352
|
customNumberOfDisplayedOptions: number;
|
|
21306
21353
|
fullWidth: boolean;
|
|
21307
21354
|
optionsListWidth: string;
|
|
@@ -21347,6 +21394,7 @@ declare const _default: {
|
|
|
21347
21394
|
onClick: () => void;
|
|
21348
21395
|
};
|
|
21349
21396
|
}): any;
|
|
21397
|
+
"dropdown-conditions"?(_: {}): any;
|
|
21350
21398
|
"inline-search"?(_: {}): any;
|
|
21351
21399
|
"input-list"?(_: {
|
|
21352
21400
|
open: true;
|