@ironsource/shared-ui 2.1.11-test.2 → 2.1.11-test.27
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/ButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_f9a13e27_lang.css +1 -0
- package/ButtonFilterDropdownTrigger.vue_vue_type_style_index_0_scoped_1aa6df01_lang.css +1 -0
- package/Chart.vue_vue_type_style_index_0_scoped_8f471697_lang.css +1 -0
- package/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_039dd922_lang.css +1 -0
- package/ConditionalDropdown.vue_vue_type_style_index_0_scoped_2aee12ad_lang.css +1 -0
- package/DataGrid.vue_vue_type_style_index_0_scoped_2406226b_lang.css +1 -0
- package/DateRangeV4.vue_vue_type_style_index_0_scoped_309e5351_lang.css +1 -0
- package/DropdownV4.vue_vue_type_style_index_0_scoped_6466948d_lang.css +1 -0
- package/FiltersPanelV4.vue_vue_type_style_index_0_scoped_111b200a_lang.css +1 -0
- package/InlineCopy.vue_vue_type_style_index_0_scoped_ad48b61e_lang.css +1 -0
- package/OptionV4.vue_vue_type_style_index_0_scoped_2c2947b3_lang.css +1 -0
- package/PopoverV4.vue_vue_type_style_index_0_scoped_66694b4e_lang.css +1 -0
- package/README.md +4 -15
- package/SettingsHeader.vue_vue_type_style_index_0_scoped_9b6cd9d9_lang.css +1 -0
- package/TextField.vue_vue_type_style_index_0_scoped_2e327aa1_lang.css +1 -0
- package/ToggleButtonGroupAB.vue_vue_type_style_index_0_scoped_c81a7d3e_lang.css +1 -0
- package/TooltipV4.vue_vue_type_style_index_0_scoped_82b46d6d_lang.css +1 -0
- package/TreeDropdown.vue_vue_type_style_index_0_scoped_bdfb0aef_lang.css +1 -0
- package/components/autocomplete/Autocomplete.vue2.js +3 -2
- package/components/button/v4/ToggleButtonGroupAB.vue.d.ts +3 -1
- package/components/button/v4/ToggleButtonGroupAB.vue.js +2 -2
- package/components/button/v4/ToggleButtonGroupAB.vue2.js +44 -39
- package/components/button/v4/index.d.ts +9 -3
- package/components/chart/Chart.vue.js +5 -5
- package/components/chart/Chart.vue2.js +48 -46
- package/components/chart/SettingsHeader.vue.js +3 -3
- package/components/chart/SettingsHeader.vue2.js +34 -26
- package/components/datePicker/v4/DatePickerV4.vue2.js +8 -7
- package/components/dateRange/v4/DateRangeV4.vue.js +2 -2
- package/components/dateRange/v4/DateRangeV4.vue2.js +9 -9
- package/components/dropdown/common/Dropdown.common.js +191 -184
- package/components/dropdown/v3/Dropdown.vue.d.ts +2 -2
- package/components/dropdown/v3/index.d.ts +39 -39
- package/components/dropdown/v4/AppDropdownTrigger.vue.d.ts +1 -1
- package/components/dropdown/v4/ButtonDropdownTrigger.vue.js +3 -3
- package/components/dropdown/v4/ButtonDropdownTrigger.vue2.js +6 -6
- package/components/dropdown/v4/ButtonFilterDropdownTrigger.vue.js +2 -2
- package/components/dropdown/v4/ButtonFilterDropdownTrigger.vue2.js +7 -7
- package/components/dropdown/v4/ChipDropdownTrigger.vue.d.ts +10 -0
- package/components/dropdown/v4/ChipDropdownTrigger.vue.js +3 -3
- package/components/dropdown/v4/ChipDropdownTrigger.vue2.js +73 -47
- package/components/dropdown/v4/ConditionalDropdown.vue.d.ts +90 -0
- package/components/dropdown/v4/ConditionalDropdown.vue.js +7 -0
- package/components/dropdown/v4/ConditionalDropdown.vue2.js +185 -0
- package/components/dropdown/v4/DropdownV4.vue.d.ts +31 -6
- package/components/dropdown/v4/DropdownV4.vue.js +3 -3
- package/components/dropdown/v4/DropdownV4.vue2.js +224 -198
- package/components/dropdown/v4/OptionV4.vue.d.ts +10 -0
- package/components/dropdown/v4/OptionV4.vue.js +2 -2
- package/components/dropdown/v4/OptionV4.vue2.js +135 -98
- package/components/dropdown/v4/TreeDropdown.vue.d.ts +6 -1
- package/components/dropdown/v4/TreeDropdown.vue.js +2 -2
- package/components/dropdown/v4/TreeDropdown.vue2.js +210 -168
- package/components/dropdown/v4/index.d.ts +402 -87
- package/components/dropdown/v4/index.js +6 -3
- package/components/filtersPanel/v4/FiltersPanelV4.vue.js +3 -3
- package/components/filtersPanel/v4/FiltersPanelV4.vue2.js +8 -9
- package/components/icon/v4/consts.d.ts +1 -1
- package/components/icon/v4/consts.js +1 -1
- package/components/inlineCopy/InlineCopy.vue.d.ts +5 -0
- package/components/inlineCopy/InlineCopy.vue.js +2 -2
- package/components/inlineCopy/InlineCopy.vue2.js +24 -22
- package/components/inlineCopy/index.d.ts +9 -0
- package/components/input/v4/TextField.vue.js +3 -3
- package/components/input/v4/TextField.vue2.js +12 -12
- package/components/multibar/MultiBarMenu.vue2.js +3 -2
- package/components/popover/v4/PopoverV4.vue.d.ts +14 -2
- package/components/popover/v4/PopoverV4.vue.js +4 -3
- package/components/popover/v4/PopoverV4.vue2.js +40 -24
- package/components/popover/v4/index.d.ts +55 -11
- package/components/sortableList/SortableList.vue.d.ts +1 -1
- package/components/sortableList/index.d.ts +4 -4
- package/components/table/common/Table.common.js +69 -71
- package/components/table/common/Table.types.d.ts +1 -1
- package/components/table/v3/Table.vue.d.ts +1 -1
- package/components/table/v3/index.d.ts +5 -5
- package/components/table/v4/DataGrid.vue.d.ts +6 -1
- package/components/table/v4/DataGrid.vue.js +3 -3
- package/components/table/v4/DataGrid.vue2.js +124 -117
- package/components/table/v4/DataGridMenu.vue2.js +3 -2
- package/components/table/v4/index.d.ts +26 -7
- package/components/tooltip/v4/TooltipV4.vue.d.ts +10 -0
- package/components/tooltip/v4/TooltipV4.vue.js +2 -2
- package/components/tooltip/v4/TooltipV4.vue2.js +24 -21
- package/components/tooltip/v4/index.d.ts +39 -1
- package/design-foundation.stories/icons/iconsData.d.ts +1 -1
- package/index.d.ts +1123 -262
- package/index.js +1 -1
- package/mocks/options.d.ts +48 -2
- package/mocks/words.d.ts +1 -1
- package/package.json +3 -2
- package/ButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_76c74f58_lang.css +0 -1
- package/ButtonFilterDropdownTrigger.vue_vue_type_style_index_0_scoped_7f750550_lang.css +0 -1
- package/Chart.vue_vue_type_style_index_0_scoped_ea1e5c3e_lang.css +0 -1
- package/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_49bd7193_lang.css +0 -1
- package/DataGrid.vue_vue_type_style_index_0_scoped_0cd8af73_lang.css +0 -1
- package/DateRangeV4.vue_vue_type_style_index_0_scoped_f81413ec_lang.css +0 -1
- package/DropdownV4.vue_vue_type_style_index_0_scoped_991a7aad_lang.css +0 -1
- package/FiltersPanelV4.vue_vue_type_style_index_0_scoped_39061862_lang.css +0 -1
- package/InlineCopy.vue_vue_type_style_index_0_scoped_893a203c_lang.css +0 -1
- package/OptionV4.vue_vue_type_style_index_0_scoped_4070942a_lang.css +0 -1
- package/PopoverV4.vue_vue_type_style_index_0_scoped_74bbce13_lang.css +0 -1
- package/SettingsHeader.vue_vue_type_style_index_0_scoped_1791e4fe_lang.css +0 -1
- package/TextField.vue_vue_type_style_index_0_scoped_4d9bf5b2_lang.css +0 -1
- package/ToggleButtonGroupAB.vue_vue_type_style_index_0_scoped_9d9e51c0_lang.css +0 -1
- package/TooltipV4.vue_vue_type_style_index_0_scoped_fcdb9d02_lang.css +0 -1
- package/TreeDropdown.vue_vue_type_style_index_0_scoped_c361375a_lang.css +0 -1
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import o from "./ConditionalDropdown.vue2.js";
|
|
2
|
+
/* empty css */import e from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
// import "../../../ConditionalDropdown.vue_vue_type_style_index_0_scoped_2aee12ad_lang.css"; //*');
|
|
4
|
+
const d = /* @__PURE__ */ e(o, [["__scopeId", "data-v-2aee12ad"]]);
|
|
5
|
+
export {
|
|
6
|
+
d as default
|
|
7
|
+
};
|
|
@@ -0,0 +1,185 @@
|
|
|
1
|
+
import "../../../ConditionalDropdown.vue_vue_type_style_index_0_scoped_2aee12ad_lang.css"; import { defineComponent as F, computed as h, ref as r, watch as w, onMounted as E, openBlock as k, createBlock as Q, unref as s, withCtx as v, createVNode as f, mergeProps as P, createElementVNode as R, isRef as z, normalizeProps as U, guardReactiveProps as $, createElementBlock as q, createTextVNode as I, toDisplayString as j, createCommentVNode as G } from "vue";
|
|
2
|
+
import T from "./DropdownV4.vue.js";
|
|
3
|
+
import "./DefaultDropdownTrigger.vue.js";
|
|
4
|
+
import "./IconButtonDropdownTrigger.vue.js";
|
|
5
|
+
import H from "./ChipDropdownTrigger.vue.js";
|
|
6
|
+
import "./AppDropdownTrigger.vue.js";
|
|
7
|
+
import J from "./ButtonDropdownTrigger.vue.js";
|
|
8
|
+
import "./ButtonFilterDropdownTrigger.vue.js";
|
|
9
|
+
import "./TreeDropdown.vue.js";
|
|
10
|
+
import "./OptionV4.vue.js";
|
|
11
|
+
import "./ConditionalDropdown.vue.js";
|
|
12
|
+
import W from "../../search/v4/SearchV4.vue.js";
|
|
13
|
+
import X from "../../typography/v4/Typography.vue.js";
|
|
14
|
+
import { useDebounceFn as Y } from "@vueuse/core";
|
|
15
|
+
const Z = { class: "conditional-container" }, _ = {
|
|
16
|
+
key: 0,
|
|
17
|
+
class: "custom-list-area"
|
|
18
|
+
}, me = /* @__PURE__ */ F({
|
|
19
|
+
__name: "ConditionalDropdown",
|
|
20
|
+
props: {
|
|
21
|
+
selectedCondition: null,
|
|
22
|
+
appliedSelections: null,
|
|
23
|
+
conditionalOptions: null,
|
|
24
|
+
label: { default: "" },
|
|
25
|
+
testId: { default: "" },
|
|
26
|
+
comparingKey: { default: "id" },
|
|
27
|
+
fetchFnCallback: null,
|
|
28
|
+
optionNameKey: { default: "name" },
|
|
29
|
+
minCharsToStart: { default: 3 },
|
|
30
|
+
isOpen: { type: Boolean, default: !1 },
|
|
31
|
+
searchQuery: { default: "" },
|
|
32
|
+
loadMoreFn: { type: Function, default: null },
|
|
33
|
+
infiniteLoading: { type: Boolean, default: !1 }
|
|
34
|
+
},
|
|
35
|
+
emits: ["update:selectedCondition", "update:appliedSelections", "clear"],
|
|
36
|
+
setup(c, { emit: b }) {
|
|
37
|
+
const e = c, y = h({
|
|
38
|
+
get: () => e.appliedSelections,
|
|
39
|
+
set: (a) => {
|
|
40
|
+
b("update:appliedSelections", a);
|
|
41
|
+
}
|
|
42
|
+
}), o = h({
|
|
43
|
+
get: () => e.selectedCondition || e.conditionalOptions[0],
|
|
44
|
+
set: (a) => {
|
|
45
|
+
b("update:selectedCondition", a);
|
|
46
|
+
}
|
|
47
|
+
}), S = r(null), p = r(!0), l = r([]), u = r([]), O = r(!0), d = r(!1), g = r(!1), t = r(e.searchQuery), N = r(""), m = r(e.label), D = h(() => (!t.value || t.value?.length < e.minCharsToStart) && !l.value.length ? `Enter at least ${e.minCharsToStart} keywords to begin` : "No results found"), M = h(() => {
|
|
48
|
+
const a = p.value ? 3 : 4.5;
|
|
49
|
+
return l.value.length ? null : a;
|
|
50
|
+
}), A = async (a) => {
|
|
51
|
+
try {
|
|
52
|
+
d.value = !0;
|
|
53
|
+
const i = await e.fetchFnCallback(a);
|
|
54
|
+
l.value = i, d.value = !1;
|
|
55
|
+
} catch (i) {
|
|
56
|
+
d.value = !1, console.error("Error fetching data:", i);
|
|
57
|
+
}
|
|
58
|
+
}, K = async () => {
|
|
59
|
+
if (e.infiniteLoading)
|
|
60
|
+
try {
|
|
61
|
+
g.value = !0;
|
|
62
|
+
const a = await e.loadMoreFn();
|
|
63
|
+
g.value = !1, Array.isArray(a) && (l.value = [...l.value, ...a]);
|
|
64
|
+
} catch (a) {
|
|
65
|
+
g.value = !1, console.error("Error fetching data:", a);
|
|
66
|
+
}
|
|
67
|
+
}, L = Y(A, 400), C = (a) => {
|
|
68
|
+
a.length >= e.minCharsToStart ? (L(a), S.value.scrollTo(0)) : l.value = [];
|
|
69
|
+
}, V = () => {
|
|
70
|
+
t.value && l.value.length && !d.value && !o.value.multi ? l.value[0].conditionalOptions ? l.value[0] = {
|
|
71
|
+
name: t.value,
|
|
72
|
+
conditionalOptions: !0,
|
|
73
|
+
conditionalName: o.value.label,
|
|
74
|
+
[e.comparingKey]: t.value
|
|
75
|
+
} : l.value = [
|
|
76
|
+
{
|
|
77
|
+
name: t.value,
|
|
78
|
+
conditionalOptions: !0,
|
|
79
|
+
conditionalName: o.value.label,
|
|
80
|
+
[e.comparingKey]: t.value
|
|
81
|
+
},
|
|
82
|
+
...l.value
|
|
83
|
+
] : l.value.length && l.value[0].conditionalOptions && l.value.shift();
|
|
84
|
+
};
|
|
85
|
+
w(t, () => {
|
|
86
|
+
C(t.value);
|
|
87
|
+
}), w([o, l], () => {
|
|
88
|
+
V();
|
|
89
|
+
});
|
|
90
|
+
const x = () => {
|
|
91
|
+
p.value && u.value.length === 0 ? (o.value = null, y.value = [], o.value = null, m.value = e.label) : (N.value = t.value, m.value = `${e.label} ${o.value.label.toLowerCase()}`, y.value = p.value ? [...u.value] : { ...u.value }, O.value = p.value);
|
|
92
|
+
};
|
|
93
|
+
w(o, () => {
|
|
94
|
+
o.value.multi ? (d.value = !0, u.value = [], setTimeout(() => {
|
|
95
|
+
d.value = !1, p.value = !0;
|
|
96
|
+
}, 100)) : setTimeout(() => {
|
|
97
|
+
p.value = !1;
|
|
98
|
+
}, 100);
|
|
99
|
+
});
|
|
100
|
+
const B = () => {
|
|
101
|
+
u.value = [], y.value = [], o.value = null, m.value = e.label, t.value = "", b("clear");
|
|
102
|
+
};
|
|
103
|
+
return E(() => {
|
|
104
|
+
e.searchQuery && C(e.searchQuery);
|
|
105
|
+
}), (a, i) => (k(), Q(s(T), {
|
|
106
|
+
ref_key: "dropdownRef",
|
|
107
|
+
ref: S,
|
|
108
|
+
selected: u.value,
|
|
109
|
+
"onUpdate:selected": i[2] || (i[2] = (n) => u.value = n),
|
|
110
|
+
"predefined-trigger": "chip",
|
|
111
|
+
"display-value": (n) => n?.[c.optionNameKey],
|
|
112
|
+
multi: p.value,
|
|
113
|
+
options: l.value,
|
|
114
|
+
placeholder: m.value,
|
|
115
|
+
"search-placeholder": "Search",
|
|
116
|
+
"option-name-key": c.optionNameKey,
|
|
117
|
+
"with-conditions": "",
|
|
118
|
+
"inline-search": "",
|
|
119
|
+
"custom-number-of-displayed-options": s(M),
|
|
120
|
+
"options-list-width": "330px",
|
|
121
|
+
loading: d.value,
|
|
122
|
+
"load-more-loading": g.value,
|
|
123
|
+
"comparing-key": c.comparingKey,
|
|
124
|
+
"is-open": c.isOpen,
|
|
125
|
+
"infinite-loading": c.infiniteLoading,
|
|
126
|
+
onOnsearch: C,
|
|
127
|
+
onApply: x,
|
|
128
|
+
onLoadMore: K
|
|
129
|
+
}, {
|
|
130
|
+
"dropdown-trigger": v(({ defaultTriggerProps: n }) => [
|
|
131
|
+
f(s(H), P(n, {
|
|
132
|
+
label: m.value,
|
|
133
|
+
"selected-option": s(y),
|
|
134
|
+
multi: O.value,
|
|
135
|
+
"cancel-all-selected-display": "",
|
|
136
|
+
"display-value-in-quotes": !Array.isArray(u.value) && u.value.conditionalOptions,
|
|
137
|
+
onClear: B
|
|
138
|
+
}), null, 16, ["label", "selected-option", "multi", "display-value-in-quotes"])
|
|
139
|
+
]),
|
|
140
|
+
"dropdown-conditions": v(() => [
|
|
141
|
+
R("div", Z, [
|
|
142
|
+
f(s(T), {
|
|
143
|
+
selected: s(o),
|
|
144
|
+
"onUpdate:selected": i[0] || (i[0] = (n) => z(o) ? o.value = n : null),
|
|
145
|
+
options: c.conditionalOptions,
|
|
146
|
+
"option-name-key": "label",
|
|
147
|
+
"display-value": (n) => n?.label,
|
|
148
|
+
container: ".conditional-container",
|
|
149
|
+
size: "small"
|
|
150
|
+
}, {
|
|
151
|
+
"dropdown-trigger": v(({ buttonTriggerProps: n }) => [
|
|
152
|
+
f(s(J), U($(n)), null, 16)
|
|
153
|
+
]),
|
|
154
|
+
_: 1
|
|
155
|
+
}, 8, ["selected", "options", "display-value"])
|
|
156
|
+
])
|
|
157
|
+
]),
|
|
158
|
+
"inline-search": v(() => [
|
|
159
|
+
f(s(W), {
|
|
160
|
+
modelValue: t.value,
|
|
161
|
+
"onUpdate:modelValue": i[1] || (i[1] = (n) => t.value = n),
|
|
162
|
+
class: "inline-search",
|
|
163
|
+
placeholder: "Search",
|
|
164
|
+
variant: "transparent",
|
|
165
|
+
size: "md",
|
|
166
|
+
"auto-focus": ""
|
|
167
|
+
}, null, 8, ["modelValue"])
|
|
168
|
+
]),
|
|
169
|
+
"custom-list-area": v(() => [
|
|
170
|
+
!l.value.length && !d.value ? (k(), q("div", _, [
|
|
171
|
+
f(X, { variant: "body1" }, {
|
|
172
|
+
default: v(() => [
|
|
173
|
+
I(j(s(D)), 1)
|
|
174
|
+
]),
|
|
175
|
+
_: 1
|
|
176
|
+
})
|
|
177
|
+
])) : G("", !0)
|
|
178
|
+
]),
|
|
179
|
+
_: 1
|
|
180
|
+
}, 8, ["selected", "display-value", "multi", "options", "placeholder", "option-name-key", "custom-number-of-displayed-options", "loading", "load-more-loading", "comparing-key", "is-open", "infinite-loading"]));
|
|
181
|
+
}
|
|
182
|
+
});
|
|
183
|
+
export {
|
|
184
|
+
me as default
|
|
185
|
+
};
|
|
@@ -7,6 +7,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
7
7
|
disabled?: boolean;
|
|
8
8
|
popperClass?: string;
|
|
9
9
|
loading?: boolean;
|
|
10
|
+
loadMoreLoading?: boolean;
|
|
11
|
+
infiniteLoading?: boolean;
|
|
10
12
|
testId?: string;
|
|
11
13
|
isOpen?: boolean;
|
|
12
14
|
options: unknown[];
|
|
@@ -35,7 +37,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
35
37
|
onSearch?: (option: any, term: string) => boolean;
|
|
36
38
|
noResultsText?: string;
|
|
37
39
|
searchAutoFocus?: boolean;
|
|
38
|
-
|
|
40
|
+
onClearSearch?: () => void;
|
|
39
41
|
displayValue: (option: unknown) => string;
|
|
40
42
|
optionNameKey?: string;
|
|
41
43
|
optionIconKey?: string;
|
|
@@ -43,6 +45,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
43
45
|
optionIconType?: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
|
|
44
46
|
optionEndIconKey?: string;
|
|
45
47
|
optionEndIconType?: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
|
|
48
|
+
optionsEndTextIconKey?: string;
|
|
46
49
|
optionFlagKey?: string;
|
|
47
50
|
valueToCopy?: string;
|
|
48
51
|
disabledOptionKey?: string;
|
|
@@ -57,6 +60,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
57
60
|
statusType?: "default" | "disabled" | "success" | "warning" | "error" | "archive";
|
|
58
61
|
disableVirtualScroll?: boolean;
|
|
59
62
|
overrideOptionCountCalculation?: (option: unknown) => number;
|
|
63
|
+
withConditions?: boolean;
|
|
60
64
|
}>, {
|
|
61
65
|
multi: boolean;
|
|
62
66
|
inlineSearchPlaceholder: string;
|
|
@@ -76,7 +80,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
76
80
|
placeholder: string;
|
|
77
81
|
size: string;
|
|
78
82
|
onSearch: any;
|
|
79
|
-
|
|
83
|
+
onClearSearch: () => true;
|
|
80
84
|
theme: string;
|
|
81
85
|
container: string;
|
|
82
86
|
flip: boolean;
|
|
@@ -99,6 +103,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
99
103
|
optionIconType: any;
|
|
100
104
|
optionEndIconKey: string;
|
|
101
105
|
optionEndIconType: any;
|
|
106
|
+
optionsEndTextIconKey: any;
|
|
102
107
|
optionFlagKey: any;
|
|
103
108
|
valueToCopy: any;
|
|
104
109
|
disabledOptionKey: string;
|
|
@@ -112,6 +117,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
112
117
|
statusType: any;
|
|
113
118
|
disableVirtualScroll: boolean;
|
|
114
119
|
overrideOptionCountCalculation: any;
|
|
120
|
+
withConditions: boolean;
|
|
121
|
+
infiniteLoading: boolean;
|
|
115
122
|
}>, {
|
|
116
123
|
selectItem: (option: any, index?: number) => void;
|
|
117
124
|
scrollTo: (index: number) => void;
|
|
@@ -125,6 +132,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
125
132
|
clear: () => void;
|
|
126
133
|
copyToClipboard: () => void;
|
|
127
134
|
onsearch: (value: string) => void;
|
|
135
|
+
loadMore: () => void;
|
|
136
|
+
allSelectedChanged: (value: boolean) => void;
|
|
128
137
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
129
138
|
modelValue?: unknown;
|
|
130
139
|
selected?: unknown;
|
|
@@ -133,6 +142,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
133
142
|
disabled?: boolean;
|
|
134
143
|
popperClass?: string;
|
|
135
144
|
loading?: boolean;
|
|
145
|
+
loadMoreLoading?: boolean;
|
|
146
|
+
infiniteLoading?: boolean;
|
|
136
147
|
testId?: string;
|
|
137
148
|
isOpen?: boolean;
|
|
138
149
|
options: unknown[];
|
|
@@ -161,7 +172,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
161
172
|
onSearch?: (option: any, term: string) => boolean;
|
|
162
173
|
noResultsText?: string;
|
|
163
174
|
searchAutoFocus?: boolean;
|
|
164
|
-
|
|
175
|
+
onClearSearch?: () => void;
|
|
165
176
|
displayValue: (option: unknown) => string;
|
|
166
177
|
optionNameKey?: string;
|
|
167
178
|
optionIconKey?: string;
|
|
@@ -169,6 +180,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
169
180
|
optionIconType?: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
|
|
170
181
|
optionEndIconKey?: string;
|
|
171
182
|
optionEndIconType?: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
|
|
183
|
+
optionsEndTextIconKey?: string;
|
|
172
184
|
optionFlagKey?: string;
|
|
173
185
|
valueToCopy?: string;
|
|
174
186
|
disabledOptionKey?: string;
|
|
@@ -183,6 +195,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
183
195
|
statusType?: "default" | "disabled" | "success" | "warning" | "error" | "archive";
|
|
184
196
|
disableVirtualScroll?: boolean;
|
|
185
197
|
overrideOptionCountCalculation?: (option: unknown) => number;
|
|
198
|
+
withConditions?: boolean;
|
|
186
199
|
}>, {
|
|
187
200
|
multi: boolean;
|
|
188
201
|
inlineSearchPlaceholder: string;
|
|
@@ -202,7 +215,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
202
215
|
placeholder: string;
|
|
203
216
|
size: string;
|
|
204
217
|
onSearch: any;
|
|
205
|
-
|
|
218
|
+
onClearSearch: () => true;
|
|
206
219
|
theme: string;
|
|
207
220
|
container: string;
|
|
208
221
|
flip: boolean;
|
|
@@ -225,6 +238,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
225
238
|
optionIconType: any;
|
|
226
239
|
optionEndIconKey: string;
|
|
227
240
|
optionEndIconType: any;
|
|
241
|
+
optionsEndTextIconKey: any;
|
|
228
242
|
optionFlagKey: any;
|
|
229
243
|
valueToCopy: any;
|
|
230
244
|
disabledOptionKey: string;
|
|
@@ -238,14 +252,18 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
238
252
|
statusType: any;
|
|
239
253
|
disableVirtualScroll: boolean;
|
|
240
254
|
overrideOptionCountCalculation: any;
|
|
255
|
+
withConditions: boolean;
|
|
256
|
+
infiniteLoading: boolean;
|
|
241
257
|
}>>> & {
|
|
242
258
|
onCopyToClipboard?: () => any;
|
|
243
259
|
onClear?: () => any;
|
|
244
260
|
onApply?: (value: unknown) => any;
|
|
245
261
|
onSelectAll?: () => any;
|
|
246
262
|
"onUpdate:selected"?: (value: unknown) => any;
|
|
263
|
+
onAllSelectedChanged?: (value: boolean) => any;
|
|
247
264
|
"onUpdate:isOpen"?: (value: unknown) => any;
|
|
248
265
|
onOnsearch?: (value: string) => any;
|
|
266
|
+
onLoadMore?: () => any;
|
|
249
267
|
onOpened?: () => any;
|
|
250
268
|
onClosed?: () => any;
|
|
251
269
|
}, {
|
|
@@ -262,9 +280,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
262
280
|
skidding: number;
|
|
263
281
|
modelValue: any;
|
|
264
282
|
selected: any;
|
|
265
|
-
|
|
283
|
+
valueToCopy: string;
|
|
266
284
|
placeholder: string;
|
|
267
285
|
multi: boolean;
|
|
286
|
+
infiniteLoading: boolean;
|
|
268
287
|
showSelectAll: boolean;
|
|
269
288
|
defaultOpen: boolean;
|
|
270
289
|
keepOpen: boolean;
|
|
@@ -283,14 +302,15 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
283
302
|
onSearch: (option: any, term: string) => boolean;
|
|
284
303
|
noResultsText: string;
|
|
285
304
|
searchAutoFocus: boolean;
|
|
305
|
+
onClearSearch: () => void;
|
|
286
306
|
optionNameKey: string;
|
|
287
307
|
optionIconKey: string;
|
|
288
308
|
optionImageKey: string;
|
|
289
309
|
optionIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
|
|
290
310
|
optionEndIconKey: string;
|
|
291
311
|
optionEndIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
|
|
312
|
+
optionsEndTextIconKey: string;
|
|
292
313
|
optionFlagKey: string;
|
|
293
|
-
valueToCopy: string;
|
|
294
314
|
disabledOptionKey: string;
|
|
295
315
|
optionTwoLinesVariant: "horizontal" | "vertical";
|
|
296
316
|
optionTwoLinesKey: string;
|
|
@@ -302,6 +322,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
302
322
|
statusType: "default" | "disabled" | "success" | "warning" | "error" | "archive";
|
|
303
323
|
disableVirtualScroll: boolean;
|
|
304
324
|
overrideOptionCountCalculation: (option: unknown) => number;
|
|
325
|
+
withConditions: boolean;
|
|
305
326
|
}>, {
|
|
306
327
|
label?(_: {}): any;
|
|
307
328
|
"dropdown-trigger"?(_: {
|
|
@@ -329,6 +350,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
329
350
|
optionIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
|
|
330
351
|
optionAndIconKey: string;
|
|
331
352
|
optionEndIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
|
|
353
|
+
optionsEndTextIconKey: string;
|
|
332
354
|
optionFlagKey: string;
|
|
333
355
|
feedbackVariant: "success" | "warning" | "error";
|
|
334
356
|
valueToCopy: string;
|
|
@@ -340,10 +362,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
340
362
|
onClick: () => void;
|
|
341
363
|
};
|
|
342
364
|
}): any;
|
|
365
|
+
"dropdown-conditions"?(_: {}): any;
|
|
343
366
|
"inline-search"?(_: {}): any;
|
|
344
367
|
"input-list"?(_: {
|
|
345
368
|
open: true;
|
|
346
369
|
}): any;
|
|
370
|
+
"custom-list-area"?(_: {}): any;
|
|
371
|
+
"select-all"?(_: {}): any;
|
|
347
372
|
"group-option"?(_: {}): any;
|
|
348
373
|
default?(_: {
|
|
349
374
|
option: unknown;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import o from "./DropdownV4.vue2.js";
|
|
2
2
|
/* empty css *//* empty css */import _ from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
-
// import "../../../DropdownV4.
|
|
3
|
+
// import "../../../DropdownV4.vue_vue_type_style_index_0_scoped_6466948d_lang.css"; //*');
|
|
4
4
|
// import "../../../DropdownV4.vue_vue_type_style_index_1_lang.css"; //');
|
|
5
|
-
const
|
|
5
|
+
const r = /* @__PURE__ */ _(o, [["__scopeId", "data-v-6466948d"]]);
|
|
6
6
|
export {
|
|
7
|
-
|
|
7
|
+
r as default
|
|
8
8
|
};
|