@ironsource/shared-ui 2.1.11-test.91 → 2.1.11-test.98
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/ConditionalDropdown.vue_vue_type_style_index_0_scoped_07fe5cf8_lang.css +1 -0
- package/components/dropdown/v4/ConditionalDropdown.vue.d.ts +7 -0
- package/components/dropdown/v4/ConditionalDropdown.vue.js +3 -3
- package/components/dropdown/v4/ConditionalDropdown.vue2.js +91 -80
- package/components/dropdown/v4/index.d.ts +11 -0
- package/index.d.ts +22 -0
- package/index.js +1 -1
- package/package.json +3 -3
- package/ConditionalDropdown.vue_vue_type_style_index_0_scoped_2c6a03f9_lang.css +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.custom-list-area[data-v-07fe5cf8]{color:var(--text-secondary);width:100%;text-align:center;box-sizing:border-box;padding:63px 43px}.inline-search[data-v-07fe5cf8]{width:100%}.contain-accept[data-v-07fe5cf8]{padding:6px 8px;margin-bottom:4px;cursor:pointer}.contain-accept[data-v-07fe5cf8]:hover{background-color:var(--action-hover);border-radius:.5rem}.contain-accept--query[data-v-07fe5cf8]{margin-left:4px;display:inline-flex;color:var(--primary-main)}
|
|
@@ -25,6 +25,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
25
25
|
optionIconKey?: string;
|
|
26
26
|
optionImageKey?: string;
|
|
27
27
|
optionIconType?: IconTypes;
|
|
28
|
+
loadingOverride?: boolean;
|
|
28
29
|
}>, {
|
|
29
30
|
label: string;
|
|
30
31
|
testId: string;
|
|
@@ -42,10 +43,12 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
42
43
|
optionIconKey: string;
|
|
43
44
|
optionImageKey: string;
|
|
44
45
|
optionIconType: any;
|
|
46
|
+
loadingOverride: boolean;
|
|
45
47
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
46
48
|
"update:selectedCondition": (value: SelectedCondition) => void;
|
|
47
49
|
"update:appliedSelections": (value: unknown) => void;
|
|
48
50
|
clear: () => void;
|
|
51
|
+
closed: () => void;
|
|
49
52
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
50
53
|
selectedCondition: SelectedCondition | null;
|
|
51
54
|
appliedSelections: unknown | unknown[];
|
|
@@ -67,6 +70,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
67
70
|
optionIconKey?: string;
|
|
68
71
|
optionImageKey?: string;
|
|
69
72
|
optionIconType?: IconTypes;
|
|
73
|
+
loadingOverride?: boolean;
|
|
70
74
|
}>, {
|
|
71
75
|
label: string;
|
|
72
76
|
testId: string;
|
|
@@ -84,8 +88,10 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
84
88
|
optionIconKey: string;
|
|
85
89
|
optionImageKey: string;
|
|
86
90
|
optionIconType: any;
|
|
91
|
+
loadingOverride: boolean;
|
|
87
92
|
}>>> & {
|
|
88
93
|
onClear?: () => any;
|
|
94
|
+
onClosed?: () => any;
|
|
89
95
|
"onUpdate:selectedCondition"?: (value: SelectedCondition) => any;
|
|
90
96
|
"onUpdate:appliedSelections"?: (value: unknown) => any;
|
|
91
97
|
}, {
|
|
@@ -105,6 +111,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
105
111
|
loadMoreFn: () => Promise<any[]>;
|
|
106
112
|
fetchDataDebounceTime: number;
|
|
107
113
|
autoFocusSearch: boolean;
|
|
114
|
+
loadingOverride: boolean;
|
|
108
115
|
}>;
|
|
109
116
|
export default _default;
|
|
110
117
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./ConditionalDropdown.vue2.js";
|
|
2
|
-
/* empty css */import
|
|
3
|
-
// import "../../../ConditionalDropdown.
|
|
4
|
-
const n = /* @__PURE__ */
|
|
2
|
+
/* empty css */import e from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
// import "../../../ConditionalDropdown.vue_vue_type_style_index_0_scoped_07fe5cf8_lang.css"; //*');
|
|
4
|
+
const n = /* @__PURE__ */ e(o, [["__scopeId", "data-v-07fe5cf8"]]);
|
|
5
5
|
export {
|
|
6
6
|
n as default
|
|
7
7
|
};
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import "../../../ConditionalDropdown.
|
|
1
|
+
import "../../../ConditionalDropdown.vue_vue_type_style_index_0_scoped_07fe5cf8_lang.css"; import { defineComponent as j, computed as O, ref as s, watch as k, onMounted as W, openBlock as L, createBlock as q, unref as d, withCtx as f, createVNode as y, mergeProps as G, createElementVNode as H, isRef as J, normalizeProps as X, guardReactiveProps as Y, createElementBlock as Z, createTextVNode as _, toDisplayString as ee, createCommentVNode as le } from "vue";
|
|
2
2
|
import N from "./DropdownV4.vue.js";
|
|
3
3
|
import "./DefaultDropdownTrigger.vue.js";
|
|
4
4
|
import "./IconButtonDropdownTrigger.vue.js";
|
|
5
|
-
import
|
|
5
|
+
import oe from "./ChipDropdownTrigger.vue.js";
|
|
6
6
|
import "./AppDropdownTrigger.vue.js";
|
|
7
|
-
import
|
|
7
|
+
import ae from "./ButtonDropdownTrigger.vue.js";
|
|
8
8
|
import "./ButtonFilterDropdownTrigger.vue.js";
|
|
9
9
|
import "./TreeDropdown.vue.js";
|
|
10
10
|
import "./OptionV4.vue.js";
|
|
11
11
|
import "./ConditionalDropdown.vue.js";
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import { useDebounceFn as
|
|
15
|
-
const
|
|
12
|
+
import te from "../../search/v4/SearchV4.vue.js";
|
|
13
|
+
import ne from "../../typography/v4/Typography.vue.js";
|
|
14
|
+
import { useDebounceFn as ie } from "@vueuse/core";
|
|
15
|
+
const ue = { class: "conditional-container" }, re = {
|
|
16
16
|
key: 0,
|
|
17
17
|
class: "custom-list-area"
|
|
18
|
-
},
|
|
18
|
+
}, we = /* @__PURE__ */ j({
|
|
19
19
|
__name: "ConditionalDropdown",
|
|
20
20
|
props: {
|
|
21
21
|
selectedCondition: null,
|
|
@@ -37,49 +37,50 @@ const ie = { class: "conditional-container" }, ue = {
|
|
|
37
37
|
optionFlagKey: { default: "" },
|
|
38
38
|
optionIconKey: { default: "" },
|
|
39
39
|
optionImageKey: { default: "" },
|
|
40
|
-
optionIconType: { default: null }
|
|
40
|
+
optionIconType: { default: null },
|
|
41
|
+
loadingOverride: { type: Boolean, default: !1 }
|
|
41
42
|
},
|
|
42
|
-
emits: ["update:selectedCondition", "update:appliedSelections", "clear"],
|
|
43
|
-
setup(
|
|
44
|
-
const e =
|
|
43
|
+
emits: ["update:selectedCondition", "update:appliedSelections", "clear", "closed"],
|
|
44
|
+
setup(u, { emit: h }) {
|
|
45
|
+
const e = u, S = O({
|
|
45
46
|
get: () => e.appliedSelections,
|
|
46
47
|
set: (l) => {
|
|
47
|
-
|
|
48
|
+
h("update:appliedSelections", l);
|
|
48
49
|
}
|
|
49
|
-
}), n =
|
|
50
|
+
}), n = O({
|
|
50
51
|
get: () => e.selectedCondition || e.conditionalOptions[0],
|
|
51
52
|
set: (l) => {
|
|
52
|
-
|
|
53
|
+
h("update:selectedCondition", l);
|
|
53
54
|
}
|
|
54
|
-
}), w = s(null), c = s(!0), a = s([]),
|
|
55
|
-
Array.isArray(e.appliedSelections) ? e.appliedSelections : [e.appliedSelections]
|
|
56
|
-
), K = s(!0), p = s(!1),
|
|
55
|
+
}), w = s(null), c = s(!0), a = s([]), r = s(
|
|
56
|
+
Array.isArray(e.appliedSelections) ? e.appliedSelections : e.appliedSelections ? [e.appliedSelections] : []
|
|
57
|
+
), K = s(!0), p = s(!1), C = s(!1), i = s(e.searchQuery), F = s(""), m = s(e.label), T = s([]), B = O(() => (!i.value || i.value?.length < e.minCharsToStart) && !a.value.length ? `Enter at least ${e.minCharsToStart} keywords to begin` : "No results found"), U = O(() => {
|
|
57
58
|
const l = c.value ? 4 : 4.5, t = a.value.length > 4 ? a.value.length : l;
|
|
58
59
|
if (e.groupedOptions) {
|
|
59
60
|
let o = 0;
|
|
60
|
-
return a.value.forEach((
|
|
61
|
-
|
|
61
|
+
return a.value.forEach((g) => {
|
|
62
|
+
g.options && (o = o + g.options.length);
|
|
62
63
|
}), o > 4 ? o : l;
|
|
63
64
|
}
|
|
64
65
|
return t > l ? t : l;
|
|
65
|
-
}),
|
|
66
|
-
if (e.infiniteLoading && n.value.multi && Array.isArray(
|
|
67
|
-
const o = [],
|
|
66
|
+
}), I = (l, t) => {
|
|
67
|
+
if (e.infiniteLoading && n.value.multi && Array.isArray(r.value) && r.value.length && l && t.length) {
|
|
68
|
+
const o = [], g = r.value.filter(
|
|
68
69
|
(v) => v[e.optionNameKey].includes(l)
|
|
69
70
|
);
|
|
70
71
|
return t.forEach((v) => {
|
|
71
|
-
|
|
72
|
-
(
|
|
72
|
+
g.find(
|
|
73
|
+
($) => $[e.comparingKey] === v[e.comparingKey]
|
|
73
74
|
) && o.push(v[e.comparingKey]);
|
|
74
|
-
}),
|
|
75
|
+
}), g.filter(
|
|
75
76
|
(v) => !o.includes(v[e.comparingKey])
|
|
76
77
|
);
|
|
77
78
|
}
|
|
78
79
|
return [];
|
|
79
|
-
},
|
|
80
|
+
}, A = async (l) => {
|
|
80
81
|
try {
|
|
81
82
|
p.value = !0;
|
|
82
|
-
const t = await e.fetchFnCallback(l), o =
|
|
83
|
+
const t = await e.fetchFnCallback(l), o = I(
|
|
83
84
|
l,
|
|
84
85
|
t
|
|
85
86
|
);
|
|
@@ -90,14 +91,14 @@ const ie = { class: "conditional-container" }, ue = {
|
|
|
90
91
|
}, M = async () => {
|
|
91
92
|
if (e.infiniteLoading)
|
|
92
93
|
try {
|
|
93
|
-
|
|
94
|
+
C.value = !0;
|
|
94
95
|
const l = await e.loadMoreFn();
|
|
95
|
-
|
|
96
|
+
C.value = !1, Array.isArray(l) && (a.value = [...a.value, ...l]);
|
|
96
97
|
} catch (l) {
|
|
97
|
-
|
|
98
|
+
C.value = !1, console.error("Error fetching data:", l);
|
|
98
99
|
}
|
|
99
|
-
}, E =
|
|
100
|
-
|
|
100
|
+
}, E = ie(
|
|
101
|
+
A,
|
|
101
102
|
e.fetchDataDebounceTime
|
|
102
103
|
), b = (l) => {
|
|
103
104
|
l.length >= e.minCharsToStart ? (E(l), w.value?.scrollTo(0)) : e.infiniteLoading && n.value.multi ? a.value = T.value || [] : a.value = [];
|
|
@@ -116,119 +117,129 @@ const ie = { class: "conditional-container" }, ue = {
|
|
|
116
117
|
},
|
|
117
118
|
...a.value
|
|
118
119
|
] : a.value.length && a.value[0].conditionalOptions && a.value.shift();
|
|
119
|
-
},
|
|
120
|
-
c.value &&
|
|
120
|
+
}, D = () => {
|
|
121
|
+
c.value && r.value.length === 0 ? m.value = e.label : m.value = `${e.label} ${n.value.label.toLowerCase()}`;
|
|
121
122
|
};
|
|
122
|
-
|
|
123
|
+
k(i, () => {
|
|
123
124
|
b(i.value);
|
|
124
|
-
}),
|
|
125
|
+
}), k([n, a], () => {
|
|
125
126
|
V();
|
|
126
|
-
})
|
|
127
|
+
}), k(
|
|
128
|
+
() => e.loadingOverride,
|
|
129
|
+
(l, t) => {
|
|
130
|
+
!l && t && !e.infiniteLoading && A(e.searchQuery);
|
|
131
|
+
}
|
|
132
|
+
);
|
|
127
133
|
const x = () => {
|
|
128
|
-
c.value &&
|
|
134
|
+
c.value && r.value.length === 0 ? (n.value = null, S.value = [], n.value = null) : (F.value = i.value, S.value = c.value ? [...r.value] : { ...r.value }, K.value = c.value), D();
|
|
129
135
|
};
|
|
130
|
-
|
|
131
|
-
n.value.multi ? (p.value = !0, !t.multi && l.multi && Array.isArray(e.appliedSelections) && (
|
|
136
|
+
k(n, (l, t) => {
|
|
137
|
+
n.value.multi ? (p.value = !0, !t.multi && l.multi && Array.isArray(e.appliedSelections) && (r.value = e.appliedSelections), setTimeout(() => {
|
|
132
138
|
p.value = !1, c.value = !0;
|
|
133
139
|
}, 100)) : setTimeout(() => {
|
|
134
140
|
c.value = !1;
|
|
135
141
|
}, 100);
|
|
136
142
|
});
|
|
137
|
-
const
|
|
143
|
+
const Q = (l) => {
|
|
138
144
|
T.value = l;
|
|
139
|
-
},
|
|
140
|
-
|
|
145
|
+
}, P = () => {
|
|
146
|
+
r.value = [], S.value = [], n.value = null, m.value = e.label, i.value = "", h("clear");
|
|
141
147
|
}, R = (l) => {
|
|
142
|
-
l && n.value.multi && e.infiniteLoading &&
|
|
148
|
+
l && n.value.multi && e.infiniteLoading && r.value && (a.value = r.value, i.value && b(i.value));
|
|
149
|
+
};
|
|
150
|
+
W(() => {
|
|
151
|
+
(e.searchQuery || !e.infiniteLoading || e.minCharsToStart === 0) && b(e.searchQuery), D();
|
|
152
|
+
});
|
|
153
|
+
const z = () => {
|
|
154
|
+
h("closed");
|
|
143
155
|
};
|
|
144
|
-
return
|
|
145
|
-
(e.searchQuery || !e.infiniteLoading) && b(e.searchQuery), A();
|
|
146
|
-
}), (l, t) => (D(), W(d(N), {
|
|
156
|
+
return (l, t) => (L(), q(d(N), {
|
|
147
157
|
ref_key: "dropdownRef",
|
|
148
158
|
ref: w,
|
|
149
|
-
selected:
|
|
150
|
-
"onUpdate:selected": t[2] || (t[2] = (o) =>
|
|
159
|
+
selected: r.value,
|
|
160
|
+
"onUpdate:selected": t[2] || (t[2] = (o) => r.value = o),
|
|
151
161
|
"predefined-trigger": "chip",
|
|
152
|
-
"display-value": (o) => o?.[
|
|
162
|
+
"display-value": (o) => o?.[u.optionNameKey],
|
|
153
163
|
multi: c.value,
|
|
154
164
|
options: a.value,
|
|
155
165
|
placeholder: m.value,
|
|
156
166
|
"search-placeholder": "Search",
|
|
157
|
-
"option-name-key":
|
|
167
|
+
"option-name-key": u.optionNameKey,
|
|
158
168
|
"with-conditions": "",
|
|
159
169
|
"inline-search": "",
|
|
160
170
|
"custom-number-of-displayed-options": d(U),
|
|
161
171
|
"options-list-width": "330px",
|
|
162
|
-
loading: p.value,
|
|
163
|
-
"load-more-loading":
|
|
164
|
-
"comparing-key":
|
|
165
|
-
"is-open":
|
|
166
|
-
"infinite-loading":
|
|
167
|
-
"show-select-all": !
|
|
168
|
-
"grouped-options":
|
|
169
|
-
"option-flag-key":
|
|
170
|
-
"option-image-key":
|
|
171
|
-
"option-icon-key":
|
|
172
|
-
"option-icon-type":
|
|
172
|
+
loading: p.value || u.loadingOverride,
|
|
173
|
+
"load-more-loading": C.value,
|
|
174
|
+
"comparing-key": u.comparingKey,
|
|
175
|
+
"is-open": u.isOpen,
|
|
176
|
+
"infinite-loading": u.infiniteLoading,
|
|
177
|
+
"show-select-all": !u.infiniteLoading && !i.value,
|
|
178
|
+
"grouped-options": u.groupedOptions,
|
|
179
|
+
"option-flag-key": u.optionFlagKey,
|
|
180
|
+
"option-image-key": u.optionImageKey,
|
|
181
|
+
"option-icon-key": u.optionIconKey,
|
|
182
|
+
"option-icon-type": u.optionIconType,
|
|
173
183
|
"onUpdate:isOpen": R,
|
|
174
184
|
onOnsearch: b,
|
|
175
185
|
onApply: x,
|
|
176
186
|
onLoadMore: M,
|
|
177
|
-
onUnsavedSelectionUpdate:
|
|
187
|
+
onUnsavedSelectionUpdate: Q,
|
|
188
|
+
onClosed: z
|
|
178
189
|
}, {
|
|
179
190
|
"dropdown-trigger": f(({ defaultTriggerProps: o }) => [
|
|
180
|
-
|
|
191
|
+
y(d(oe), G(o, {
|
|
181
192
|
label: m.value,
|
|
182
|
-
"selected-option": d(
|
|
193
|
+
"selected-option": d(S),
|
|
183
194
|
multi: K.value,
|
|
184
195
|
"cancel-all-selected-display": "",
|
|
185
|
-
"display-value-in-quotes": !Array.isArray(
|
|
186
|
-
onClear:
|
|
196
|
+
"display-value-in-quotes": !Array.isArray(r.value) && r.value.conditionalOptions,
|
|
197
|
+
onClear: P
|
|
187
198
|
}), null, 16, ["label", "selected-option", "multi", "display-value-in-quotes"])
|
|
188
199
|
]),
|
|
189
200
|
"dropdown-conditions": f(() => [
|
|
190
|
-
|
|
191
|
-
|
|
201
|
+
H("div", ue, [
|
|
202
|
+
y(d(N), {
|
|
192
203
|
selected: d(n),
|
|
193
|
-
"onUpdate:selected": t[0] || (t[0] = (o) =>
|
|
194
|
-
options:
|
|
204
|
+
"onUpdate:selected": t[0] || (t[0] = (o) => J(n) ? n.value = o : null),
|
|
205
|
+
options: u.conditionalOptions,
|
|
195
206
|
"option-name-key": "label",
|
|
196
207
|
"display-value": (o) => o?.label,
|
|
197
208
|
container: ".conditional-container",
|
|
198
209
|
size: "small"
|
|
199
210
|
}, {
|
|
200
211
|
"dropdown-trigger": f(({ buttonTriggerProps: o }) => [
|
|
201
|
-
|
|
212
|
+
y(d(ae), X(Y(o)), null, 16)
|
|
202
213
|
]),
|
|
203
214
|
_: 1
|
|
204
215
|
}, 8, ["selected", "options", "display-value"])
|
|
205
216
|
])
|
|
206
217
|
]),
|
|
207
218
|
"inline-search": f(() => [
|
|
208
|
-
|
|
219
|
+
y(d(te), {
|
|
209
220
|
modelValue: i.value,
|
|
210
221
|
"onUpdate:modelValue": t[1] || (t[1] = (o) => i.value = o),
|
|
211
222
|
class: "inline-search",
|
|
212
223
|
placeholder: "Search",
|
|
213
224
|
variant: "transparent",
|
|
214
225
|
size: "md",
|
|
215
|
-
"auto-focus":
|
|
226
|
+
"auto-focus": u.autoFocusSearch
|
|
216
227
|
}, null, 8, ["modelValue", "auto-focus"])
|
|
217
228
|
]),
|
|
218
229
|
"custom-list-area": f(() => [
|
|
219
|
-
!a.value.length && !p.value ? (
|
|
220
|
-
|
|
230
|
+
!a.value.length && !p.value ? (L(), Z("div", re, [
|
|
231
|
+
y(ne, { variant: "body1" }, {
|
|
221
232
|
default: f(() => [
|
|
222
|
-
|
|
233
|
+
_(ee(d(B)), 1)
|
|
223
234
|
]),
|
|
224
235
|
_: 1
|
|
225
236
|
})
|
|
226
|
-
])) :
|
|
237
|
+
])) : le("", !0)
|
|
227
238
|
]),
|
|
228
239
|
_: 1
|
|
229
240
|
}, 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", "show-select-all", "grouped-options", "option-flag-key", "option-image-key", "option-icon-key", "option-icon-type"]));
|
|
230
241
|
}
|
|
231
242
|
});
|
|
232
243
|
export {
|
|
233
|
-
|
|
244
|
+
we as default
|
|
234
245
|
};
|
|
@@ -3651,6 +3651,10 @@ declare const DropdownTypes: () => (({
|
|
|
3651
3651
|
type: import("vue").PropType<boolean>;
|
|
3652
3652
|
default: boolean;
|
|
3653
3653
|
};
|
|
3654
|
+
loadingOverride: {
|
|
3655
|
+
type: import("vue").PropType<boolean>;
|
|
3656
|
+
default: boolean;
|
|
3657
|
+
};
|
|
3654
3658
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
3655
3659
|
"update:selectedCondition": (value: {
|
|
3656
3660
|
label: string;
|
|
@@ -3659,6 +3663,7 @@ declare const DropdownTypes: () => (({
|
|
|
3659
3663
|
}) => void;
|
|
3660
3664
|
"update:appliedSelections": (value: unknown) => void;
|
|
3661
3665
|
clear: () => void;
|
|
3666
|
+
closed: () => void;
|
|
3662
3667
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
3663
3668
|
label: {
|
|
3664
3669
|
type: import("vue").PropType<string>;
|
|
@@ -3751,8 +3756,13 @@ declare const DropdownTypes: () => (({
|
|
|
3751
3756
|
type: import("vue").PropType<boolean>;
|
|
3752
3757
|
default: boolean;
|
|
3753
3758
|
};
|
|
3759
|
+
loadingOverride: {
|
|
3760
|
+
type: import("vue").PropType<boolean>;
|
|
3761
|
+
default: boolean;
|
|
3762
|
+
};
|
|
3754
3763
|
}>> & {
|
|
3755
3764
|
onClear?: () => any;
|
|
3765
|
+
onClosed?: () => any;
|
|
3756
3766
|
"onUpdate:selectedCondition"?: (value: {
|
|
3757
3767
|
label: string;
|
|
3758
3768
|
value: string;
|
|
@@ -3776,5 +3786,6 @@ declare const DropdownTypes: () => (({
|
|
|
3776
3786
|
loadMoreFn: () => Promise<any[]>;
|
|
3777
3787
|
fetchDataDebounceTime: number;
|
|
3778
3788
|
autoFocusSearch: boolean;
|
|
3789
|
+
loadingOverride: boolean;
|
|
3779
3790
|
}>)[];
|
|
3780
3791
|
export { Dropdown, DefaultDropdownTrigger, IconButtonDropdownTrigger, ChipDropdownTrigger, ButtonDropdownTrigger, ButtonFilterDropdownTrigger, AppDropdownTrigger, DropdownTypes, Option, TreeDropdown, ConditionalDropdown, };
|
package/index.d.ts
CHANGED
|
@@ -22817,6 +22817,10 @@ declare const _default: {
|
|
|
22817
22817
|
type: import("vue").PropType<boolean>;
|
|
22818
22818
|
default: boolean;
|
|
22819
22819
|
};
|
|
22820
|
+
loadingOverride: {
|
|
22821
|
+
type: import("vue").PropType<boolean>;
|
|
22822
|
+
default: boolean;
|
|
22823
|
+
};
|
|
22820
22824
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
22821
22825
|
"update:selectedCondition": (value: {
|
|
22822
22826
|
label: string;
|
|
@@ -22825,6 +22829,7 @@ declare const _default: {
|
|
|
22825
22829
|
}) => void;
|
|
22826
22830
|
"update:appliedSelections": (value: unknown) => void;
|
|
22827
22831
|
clear: () => void;
|
|
22832
|
+
closed: () => void;
|
|
22828
22833
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
22829
22834
|
label: {
|
|
22830
22835
|
type: import("vue").PropType<string>;
|
|
@@ -22917,8 +22922,13 @@ declare const _default: {
|
|
|
22917
22922
|
type: import("vue").PropType<boolean>;
|
|
22918
22923
|
default: boolean;
|
|
22919
22924
|
};
|
|
22925
|
+
loadingOverride: {
|
|
22926
|
+
type: import("vue").PropType<boolean>;
|
|
22927
|
+
default: boolean;
|
|
22928
|
+
};
|
|
22920
22929
|
}>> & {
|
|
22921
22930
|
onClear?: () => any;
|
|
22931
|
+
onClosed?: () => any;
|
|
22922
22932
|
"onUpdate:selectedCondition"?: (value: {
|
|
22923
22933
|
label: string;
|
|
22924
22934
|
value: string;
|
|
@@ -22942,6 +22952,7 @@ declare const _default: {
|
|
|
22942
22952
|
loadMoreFn: () => Promise<any[]>;
|
|
22943
22953
|
fetchDataDebounceTime: number;
|
|
22944
22954
|
autoFocusSearch: boolean;
|
|
22955
|
+
loadingOverride: boolean;
|
|
22945
22956
|
}>)[];
|
|
22946
22957
|
Option: {
|
|
22947
22958
|
new (...args: any[]): {
|
|
@@ -23984,6 +23995,10 @@ declare const _default: {
|
|
|
23984
23995
|
type: import("vue").PropType<boolean>;
|
|
23985
23996
|
default: boolean;
|
|
23986
23997
|
};
|
|
23998
|
+
loadingOverride: {
|
|
23999
|
+
type: import("vue").PropType<boolean>;
|
|
24000
|
+
default: boolean;
|
|
24001
|
+
};
|
|
23987
24002
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
23988
24003
|
"update:selectedCondition": (value: {
|
|
23989
24004
|
label: string;
|
|
@@ -23992,6 +24007,7 @@ declare const _default: {
|
|
|
23992
24007
|
}) => void;
|
|
23993
24008
|
"update:appliedSelections": (value: unknown) => void;
|
|
23994
24009
|
clear: () => void;
|
|
24010
|
+
closed: () => void;
|
|
23995
24011
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
23996
24012
|
label: {
|
|
23997
24013
|
type: import("vue").PropType<string>;
|
|
@@ -24084,8 +24100,13 @@ declare const _default: {
|
|
|
24084
24100
|
type: import("vue").PropType<boolean>;
|
|
24085
24101
|
default: boolean;
|
|
24086
24102
|
};
|
|
24103
|
+
loadingOverride: {
|
|
24104
|
+
type: import("vue").PropType<boolean>;
|
|
24105
|
+
default: boolean;
|
|
24106
|
+
};
|
|
24087
24107
|
}>> & {
|
|
24088
24108
|
onClear?: () => any;
|
|
24109
|
+
onClosed?: () => any;
|
|
24089
24110
|
"onUpdate:selectedCondition"?: (value: {
|
|
24090
24111
|
label: string;
|
|
24091
24112
|
value: string;
|
|
@@ -24109,6 +24130,7 @@ declare const _default: {
|
|
|
24109
24130
|
loadMoreFn: () => Promise<any[]>;
|
|
24110
24131
|
fetchDataDebounceTime: number;
|
|
24111
24132
|
autoFocusSearch: boolean;
|
|
24133
|
+
loadingOverride: boolean;
|
|
24112
24134
|
}>;
|
|
24113
24135
|
Label: {
|
|
24114
24136
|
new (...args: any[]): {
|
package/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import './
|
|
1
|
+
import './MenuItem.vue_vue_type_style_index_0_scoped_67e53b85_lang.css';
|
|
2
2
|
import { AppTriggerTypes as ro } from "./components/appTrigger/index.js";
|
|
3
3
|
import { AutocompleteDropdownTypes as mo } from "./components/autocompleteDropdown/index.js";
|
|
4
4
|
import { MenuItemTypes as po } from "./components/menuItem/index.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ironsource/shared-ui",
|
|
3
|
-
"version": "2.1.11-test.
|
|
3
|
+
"version": "2.1.11-test.98",
|
|
4
4
|
"engines": {
|
|
5
5
|
"npm": ">=7.0.0",
|
|
6
6
|
"node": ">=16.0.0"
|
|
@@ -410,10 +410,10 @@
|
|
|
410
410
|
"./components/typography/Heading.vue.d.ts"
|
|
411
411
|
],
|
|
412
412
|
"popover": [
|
|
413
|
-
"./components/popover/v3/index.d.ts"
|
|
413
|
+
"./components/popover/v3/index.vue.d.ts"
|
|
414
414
|
],
|
|
415
415
|
"popover/v4": [
|
|
416
|
-
"./components/popover/v4/index.d.ts"
|
|
416
|
+
"./components/popover/v4/index.vue.d.ts"
|
|
417
417
|
],
|
|
418
418
|
"input": [
|
|
419
419
|
"./components/input/v3/Input.vue.d.ts"
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.custom-list-area[data-v-2c6a03f9]{color:var(--text-secondary);width:100%;text-align:center;box-sizing:border-box;padding:63px 43px}.inline-search[data-v-2c6a03f9]{width:100%}.contain-accept[data-v-2c6a03f9]{padding:6px 8px;margin-bottom:4px;cursor:pointer}.contain-accept[data-v-2c6a03f9]:hover{background-color:var(--action-hover);border-radius:.5rem}.contain-accept--query[data-v-2c6a03f9]{margin-left:4px;display:inline-flex;color:var(--primary-main)}
|