@ironsource/shared-ui 2.1.10-rc.2 → 2.1.10-rc.3
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/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_49bd7193_lang.css +1 -0
- package/DefaultDropdownTrigger.vue_vue_type_style_index_0_scoped_9fa84b26_lang.css +1 -0
- package/DropdownV4.vue_vue_type_style_index_0_scoped_899679d0_lang.css +1 -0
- package/DropdownV4.vue_vue_type_style_index_1_lang.css +1 -1
- package/MultipleDataGrid.vue_vue_type_style_index_0_scoped_69c40021_lang.css +1 -0
- package/OptionV4.vue_vue_type_style_index_0_scoped_f61be399_lang.css +1 -0
- package/components/dropdown/common/Dropdown.common.d.ts +1 -0
- package/components/dropdown/common/Dropdown.common.js +165 -158
- package/components/dropdown/v4/ChipDropdownTrigger.vue.d.ts +5 -0
- package/components/dropdown/v4/ChipDropdownTrigger.vue.js +2 -2
- package/components/dropdown/v4/ChipDropdownTrigger.vue2.js +23 -22
- package/components/dropdown/v4/DefaultDropdownTrigger.vue.d.ts +11 -0
- package/components/dropdown/v4/DefaultDropdownTrigger.vue.js +2 -2
- package/components/dropdown/v4/DefaultDropdownTrigger.vue2.js +59 -45
- package/components/dropdown/v4/DropdownV4.vue.d.ts +12 -0
- package/components/dropdown/v4/DropdownV4.vue.js +3 -3
- package/components/dropdown/v4/DropdownV4.vue2.js +173 -167
- package/components/dropdown/v4/OptionV4.vue.d.ts +6 -0
- package/components/dropdown/v4/OptionV4.vue.js +3 -3
- package/components/dropdown/v4/OptionV4.vue2.js +83 -70
- package/components/dropdown/v4/index.d.ts +111 -3
- package/components/table/v4/MultipleDataGrid.vue.d.ts +10 -0
- package/components/table/v4/MultipleDataGrid.vue.js +3 -3
- package/components/table/v4/MultipleDataGrid.vue2.js +62 -58
- package/components/table/v4/index.d.ts +39 -1
- package/consts/configs.d.ts +1 -0
- package/consts/configs.js +4 -0
- package/index.d.ts +300 -8
- package/package.json +1 -1
- package/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_a8fdae89_lang.css +0 -1
- package/DefaultDropdownTrigger.vue_vue_type_style_index_0_scoped_fd7a490e_lang.css +0 -1
- package/DropdownV4.vue_vue_type_style_index_0_scoped_62a620ee_lang.css +0 -1
- package/MultipleDataGrid.vue_vue_type_style_index_0_scoped_60d4a465_lang.css +0 -1
- package/OptionV4.vue_vue_type_style_index_0_scoped_77509f61_lang.css +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./OptionV4.vue2.js";
|
|
2
|
-
/* empty css */import
|
|
3
|
-
// import "../../../OptionV4.
|
|
4
|
-
const s = /* @__PURE__ */
|
|
2
|
+
/* empty css */import e from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
// import "../../../OptionV4.vue_vue_type_style_index_0_scoped_f61be399_lang.css"; //*');
|
|
4
|
+
const s = /* @__PURE__ */ e(o, [["__scopeId", "data-v-f61be399"]]);
|
|
5
5
|
export {
|
|
6
6
|
s as default
|
|
7
7
|
};
|
|
@@ -1,28 +1,32 @@
|
|
|
1
|
-
import "../../../OptionV4.
|
|
1
|
+
import "../../../OptionV4.vue_vue_type_style_index_0_scoped_f61be399_lang.css"; import { defineComponent as N, ref as b, watch as P, computed as V, openBlock as n, createBlock as T, unref as o, withCtx as m, createElementVNode as s, normalizeClass as f, createCommentVNode as i, createElementBlock as a, renderSlot as d, createVNode as c, toDisplayString as k, createTextVNode as x, withModifiers as w } from "vue";
|
|
2
2
|
import "../../typography/Heading.vue.js";
|
|
3
|
-
import
|
|
4
|
-
import
|
|
3
|
+
import L from "../../typography/Text.vue.js";
|
|
4
|
+
import A from "../../checkbox/v4/CheckboxV4.vue.js";
|
|
5
5
|
import y from "../../icon/v4/IconV4.vue.js";
|
|
6
6
|
import "../../icon/v4/IconFlag.vue.js";
|
|
7
|
-
import { NOOP as
|
|
8
|
-
import { optionCommon as
|
|
9
|
-
import
|
|
7
|
+
import { NOOP as D } from "@vue/shared";
|
|
8
|
+
import { optionCommon as F } from "../common/Option.common.js";
|
|
9
|
+
import I from "../../typography/v4/Typography.vue.js";
|
|
10
10
|
import R from "../../tooltip/v4/TooltipV4.vue.js";
|
|
11
|
-
import { isElementTruncated as
|
|
12
|
-
import { promiseTimeout as
|
|
11
|
+
import { isElementTruncated as j } from "../../../utils/text.js";
|
|
12
|
+
import { promiseTimeout as H } from "@vueuse/core";
|
|
13
|
+
import { SHARED_ASSETS_CDN_DOMAIN as U } from "../../../consts/configs.js";
|
|
13
14
|
const q = {
|
|
14
15
|
key: 1,
|
|
15
16
|
class: "image"
|
|
16
|
-
},
|
|
17
|
+
}, G = ["src"], J = {
|
|
17
18
|
key: 2,
|
|
19
|
+
class: "flag"
|
|
20
|
+
}, Q = ["src"], W = {
|
|
21
|
+
key: 3,
|
|
18
22
|
class: "start-icon"
|
|
19
|
-
},
|
|
23
|
+
}, X = { class: "main-text" }, Y = {
|
|
20
24
|
key: 0,
|
|
21
25
|
class: "caption-text"
|
|
22
|
-
},
|
|
23
|
-
key:
|
|
26
|
+
}, Z = {
|
|
27
|
+
key: 4,
|
|
24
28
|
class: "end-icon"
|
|
25
|
-
},
|
|
29
|
+
}, _ = ["onClick"], ee = { key: 0 }, ye = /* @__PURE__ */ N({
|
|
26
30
|
__name: "OptionV4",
|
|
27
31
|
props: {
|
|
28
32
|
option: { default: null },
|
|
@@ -44,131 +48,140 @@ const q = {
|
|
|
44
48
|
stopOptionClickEventPropagation: { type: Boolean, default: !1 },
|
|
45
49
|
optionTwoLinesVariant: { default: void 0 },
|
|
46
50
|
optionTwoLinesKey: { default: void 0 },
|
|
47
|
-
treeChildShown: { type: Boolean, default: !1 }
|
|
51
|
+
treeChildShown: { type: Boolean, default: !1 },
|
|
52
|
+
optionFlagKey: { default: null }
|
|
48
53
|
},
|
|
49
54
|
emits: ["toggleTreeCollapse"],
|
|
50
|
-
setup(e, { emit:
|
|
51
|
-
const
|
|
52
|
-
|
|
53
|
-
},
|
|
54
|
-
|
|
55
|
-
await
|
|
55
|
+
setup(e, { emit: $ }) {
|
|
56
|
+
const l = e, { selected: p, isMulti: g, id: O, onClick: B, api: v } = F(l), S = (t) => {
|
|
57
|
+
l.stopOptionClickEventPropagation && t.stopPropagation(), l.disabled ? D() : B(t);
|
|
58
|
+
}, r = b(null), h = b(!1);
|
|
59
|
+
P([() => l.treeChildShown, r], async () => {
|
|
60
|
+
await H(100), h.value = r.value && j(r.value);
|
|
56
61
|
});
|
|
57
|
-
const
|
|
58
|
-
|
|
59
|
-
};
|
|
60
|
-
return (t,
|
|
61
|
-
text:
|
|
62
|
-
"test-id":
|
|
62
|
+
const E = (t) => t && typeof t == "object" && "optionTooltipText" in t ? t.optionTooltipText : h.value ? t[l.nameKey] : "", z = (t) => t && typeof t == "object" && "optionTooltipTestId" in t ? t.optionTooltipTestId : null, M = () => {
|
|
63
|
+
$("toggleTreeCollapse", l.option);
|
|
64
|
+
}, C = V(() => l.optionFlagKey ? `${U}/assets/flags/v4/${l.option[l.optionFlagKey]?.toLowerCase()}.svg` : null);
|
|
65
|
+
return (t, u) => (n(), T(o(R), {
|
|
66
|
+
text: E(e.option),
|
|
67
|
+
"test-id": z(e.option),
|
|
63
68
|
placement: e.toolTipPlacement,
|
|
64
69
|
class: "tooltip-option"
|
|
65
70
|
}, {
|
|
66
|
-
default:
|
|
71
|
+
default: m(() => [
|
|
67
72
|
s("div", {
|
|
68
73
|
ref: "el",
|
|
69
|
-
class:
|
|
74
|
+
class: f(["item-container", {
|
|
70
75
|
"item-container--disabled": e.disabled,
|
|
71
76
|
"item-container--active": e.nameKey ? !1 : e.active,
|
|
72
77
|
"item-container--selected": o(p),
|
|
73
|
-
"item-container--multi": o(
|
|
78
|
+
"item-container--multi": o(g)
|
|
74
79
|
}])
|
|
75
80
|
}, [
|
|
76
81
|
s("div", {
|
|
77
|
-
class:
|
|
78
|
-
"item--multi": o(
|
|
82
|
+
class: f(["item", {
|
|
83
|
+
"item--multi": o(g),
|
|
79
84
|
"item--with-icon": t.$slots["icon-start"] || t.$slots.image
|
|
80
85
|
}])
|
|
81
86
|
}, [
|
|
82
|
-
o(
|
|
87
|
+
o(g) ? (n(), T(o(A), {
|
|
83
88
|
key: 0,
|
|
84
|
-
id: o(
|
|
89
|
+
id: o(O).toString(),
|
|
85
90
|
tabindex: "-1",
|
|
86
91
|
class: "checkbox",
|
|
87
92
|
"is-checked": o(p),
|
|
88
93
|
"is-indeterminate": e.isIndeterminate,
|
|
89
|
-
onClick:
|
|
90
|
-
}, null, 8, ["id", "is-checked", "is-indeterminate"])) :
|
|
91
|
-
t.$slots.image || e.imageKey ? (
|
|
92
|
-
|
|
93
|
-
e.imageKey ? (
|
|
94
|
+
onClick: u[0] || (u[0] = (K) => S(K))
|
|
95
|
+
}, null, 8, ["id", "is-checked", "is-indeterminate"])) : i("", !0),
|
|
96
|
+
t.$slots.image || e.imageKey ? (n(), a("div", q, [
|
|
97
|
+
d(t.$slots, "image", {}, () => [
|
|
98
|
+
e.imageKey ? (n(), a("img", {
|
|
94
99
|
key: 0,
|
|
95
100
|
src: e.option[e.imageKey]
|
|
96
|
-
}, null, 8,
|
|
101
|
+
}, null, 8, G)) : i("", !0)
|
|
102
|
+
], !0)
|
|
103
|
+
])) : i("", !0),
|
|
104
|
+
t.$slots.flag || e.optionFlagKey ? (n(), a("div", J, [
|
|
105
|
+
d(t.$slots, "flag", {}, () => [
|
|
106
|
+
o(C) ? (n(), a("img", {
|
|
107
|
+
key: 0,
|
|
108
|
+
src: o(C)
|
|
109
|
+
}, null, 8, Q)) : i("", !0)
|
|
97
110
|
], !0)
|
|
98
|
-
])) :
|
|
99
|
-
t.$slots["icon-start"] || e.iconKey ? (
|
|
100
|
-
|
|
111
|
+
])) : i("", !0),
|
|
112
|
+
t.$slots["icon-start"] || e.iconKey ? (n(), a("div", W, [
|
|
113
|
+
d(t.$slots, "icon-start", {}, () => [
|
|
101
114
|
c(o(y), {
|
|
102
115
|
type: e.iconType,
|
|
103
116
|
name: e.option[e.iconKey],
|
|
104
117
|
size: e.iconType === "regular" ? "20px" : "16px"
|
|
105
118
|
}, null, 8, ["type", "name", "size"])
|
|
106
119
|
], !0)
|
|
107
|
-
])) :
|
|
120
|
+
])) : i("", !0),
|
|
108
121
|
s("div", {
|
|
109
122
|
ref_key: "textContainerRef",
|
|
110
|
-
ref:
|
|
123
|
+
ref: r,
|
|
111
124
|
class: "text-container"
|
|
112
125
|
}, [
|
|
113
|
-
c(o(
|
|
126
|
+
c(o(I), {
|
|
114
127
|
class: "option-text",
|
|
115
128
|
variant: "body2"
|
|
116
129
|
}, {
|
|
117
|
-
default:
|
|
118
|
-
|
|
130
|
+
default: m(() => [
|
|
131
|
+
d(t.$slots, "default", {}, () => [
|
|
119
132
|
s("div", {
|
|
120
|
-
class:
|
|
133
|
+
class: f(`option-content-${e.optionTwoLinesVariant || "horizontal"}`)
|
|
121
134
|
}, [
|
|
122
|
-
s("div",
|
|
123
|
-
e.optionTwoLinesKey ? (
|
|
124
|
-
c(o(
|
|
125
|
-
default:
|
|
126
|
-
|
|
135
|
+
s("div", X, k(e.option[e.nameKey]), 1),
|
|
136
|
+
e.optionTwoLinesKey ? (n(), a("div", Y, [
|
|
137
|
+
c(o(I), { variant: "caption" }, {
|
|
138
|
+
default: m(() => [
|
|
139
|
+
x(k(e.option[e.optionTwoLinesKey]), 1)
|
|
127
140
|
]),
|
|
128
141
|
_: 1
|
|
129
142
|
})
|
|
130
|
-
])) :
|
|
143
|
+
])) : i("", !0)
|
|
131
144
|
], 2)
|
|
132
145
|
], !0)
|
|
133
146
|
]),
|
|
134
147
|
_: 3
|
|
135
148
|
}),
|
|
136
|
-
e.subtitle ? (
|
|
149
|
+
e.subtitle ? (n(), T(o(L), {
|
|
137
150
|
key: 0,
|
|
138
151
|
class: "subtitle",
|
|
139
152
|
size: "xs"
|
|
140
153
|
}, {
|
|
141
|
-
default:
|
|
142
|
-
|
|
154
|
+
default: m(() => [
|
|
155
|
+
x(k(e.subtitle), 1)
|
|
143
156
|
]),
|
|
144
157
|
_: 1
|
|
145
|
-
})) :
|
|
158
|
+
})) : i("", !0)
|
|
146
159
|
], 512),
|
|
147
|
-
t.$slots["icon-end"] || e.endIconKey && e.option[e.endIconKey] ? (
|
|
148
|
-
|
|
160
|
+
t.$slots["icon-end"] || e.endIconKey && e.option[e.endIconKey] ? (n(), a("div", Z, [
|
|
161
|
+
d(t.$slots, "icon-end", {}, () => [
|
|
149
162
|
c(o(y), {
|
|
150
163
|
type: e.endIconType,
|
|
151
164
|
name: e.option[e.endIconKey],
|
|
152
165
|
size: e.endIconType === "regular" || e.endIconType === "ab-test" ? "20px" : "16px"
|
|
153
166
|
}, null, 8, ["type", "name", "size"])
|
|
154
167
|
], !0)
|
|
155
|
-
])) :
|
|
156
|
-
e.treeMainOption ? (
|
|
157
|
-
key:
|
|
168
|
+
])) : i("", !0),
|
|
169
|
+
e.treeMainOption ? (n(), a("div", {
|
|
170
|
+
key: 5,
|
|
158
171
|
class: "tree-main-arrow-wrapper",
|
|
159
|
-
onClick:
|
|
172
|
+
onClick: w(M, ["stop"])
|
|
160
173
|
}, [
|
|
161
174
|
c(o(y), {
|
|
162
175
|
name: "caret-down",
|
|
163
176
|
size: "16px",
|
|
164
|
-
class:
|
|
177
|
+
class: f(`app-trigger--icon ${e.treeMainOptionExpanded && "expanded"}`)
|
|
165
178
|
}, null, 8, ["class"])
|
|
166
|
-
], 8,
|
|
179
|
+
], 8, _)) : i("", !0)
|
|
167
180
|
], 2),
|
|
168
|
-
o(v).clearable && o(p) ? (
|
|
181
|
+
o(v).clearable && o(p) ? (n(), a("div", ee, [
|
|
169
182
|
s("button", {
|
|
170
183
|
class: "clear-button",
|
|
171
|
-
onClick:
|
|
184
|
+
onClick: u[1] || (u[1] = w((K) => o(v).clearSelection(), ["prevent", "stop"]))
|
|
172
185
|
}, [
|
|
173
186
|
c(o(y), {
|
|
174
187
|
name: "close",
|
|
@@ -176,7 +189,7 @@ const q = {
|
|
|
176
189
|
height: "8"
|
|
177
190
|
})
|
|
178
191
|
])
|
|
179
|
-
])) :
|
|
192
|
+
])) : i("", !0)
|
|
180
193
|
], 2)
|
|
181
194
|
]),
|
|
182
195
|
_: 3
|
|
@@ -184,5 +197,5 @@ const q = {
|
|
|
184
197
|
}
|
|
185
198
|
});
|
|
186
199
|
export {
|
|
187
|
-
|
|
200
|
+
ye as default
|
|
188
201
|
};
|
|
@@ -31,6 +31,8 @@ declare const DropdownTypes: () => (({
|
|
|
31
31
|
optionIconKey: string;
|
|
32
32
|
optionImageKey: string;
|
|
33
33
|
optionIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
|
|
34
|
+
optionFlagKey: string;
|
|
35
|
+
allSelected: boolean;
|
|
34
36
|
selectedOption: any;
|
|
35
37
|
showFeedbackIcon: boolean;
|
|
36
38
|
brandIconType: "android" | "ios";
|
|
@@ -119,6 +121,14 @@ declare const DropdownTypes: () => (({
|
|
|
119
121
|
type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate">;
|
|
120
122
|
default: any;
|
|
121
123
|
};
|
|
124
|
+
optionFlagKey: {
|
|
125
|
+
type: import("vue").PropType<string>;
|
|
126
|
+
default: any;
|
|
127
|
+
};
|
|
128
|
+
allSelected: {
|
|
129
|
+
type: import("vue").PropType<boolean>;
|
|
130
|
+
default: boolean;
|
|
131
|
+
};
|
|
122
132
|
selectedOption: {
|
|
123
133
|
type: import("vue").PropType<unknown>;
|
|
124
134
|
default: any;
|
|
@@ -141,7 +151,7 @@ declare const DropdownTypes: () => (({
|
|
|
141
151
|
};
|
|
142
152
|
}>> & {
|
|
143
153
|
onClick?: () => any;
|
|
144
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "label" | "testId" | "disabled" | "size" | "open" | "mandatory" | "loading" | "options" | "singleAppSelection" | "hoverHelpText" | "hoverHelpTextPlacement" | "placeholder" | "feedbackText" | "feedbackVariant" | "multi" | "optionNameKey" | "optionIconKey" | "optionImageKey" | "optionIconType" | "selectedOption" | "showFeedbackIcon" | "brandIconType" | "showAllSelectedText" | "statusDotType">;
|
|
154
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "label" | "testId" | "disabled" | "size" | "open" | "mandatory" | "loading" | "options" | "singleAppSelection" | "hoverHelpText" | "hoverHelpTextPlacement" | "placeholder" | "feedbackText" | "feedbackVariant" | "multi" | "optionNameKey" | "optionIconKey" | "optionImageKey" | "optionIconType" | "optionFlagKey" | "allSelected" | "selectedOption" | "showFeedbackIcon" | "brandIconType" | "showAllSelectedText" | "statusDotType">;
|
|
145
155
|
$attrs: {
|
|
146
156
|
[x: string]: unknown;
|
|
147
157
|
};
|
|
@@ -238,6 +248,14 @@ declare const DropdownTypes: () => (({
|
|
|
238
248
|
type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate">;
|
|
239
249
|
default: any;
|
|
240
250
|
};
|
|
251
|
+
optionFlagKey: {
|
|
252
|
+
type: import("vue").PropType<string>;
|
|
253
|
+
default: any;
|
|
254
|
+
};
|
|
255
|
+
allSelected: {
|
|
256
|
+
type: import("vue").PropType<boolean>;
|
|
257
|
+
default: boolean;
|
|
258
|
+
};
|
|
241
259
|
selectedOption: {
|
|
242
260
|
type: import("vue").PropType<unknown>;
|
|
243
261
|
default: any;
|
|
@@ -282,6 +300,8 @@ declare const DropdownTypes: () => (({
|
|
|
282
300
|
optionIconKey: string;
|
|
283
301
|
optionImageKey: string;
|
|
284
302
|
optionIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
|
|
303
|
+
optionFlagKey: string;
|
|
304
|
+
allSelected: boolean;
|
|
285
305
|
selectedOption: any;
|
|
286
306
|
showFeedbackIcon: boolean;
|
|
287
307
|
brandIconType: "android" | "ios";
|
|
@@ -390,6 +410,14 @@ declare const DropdownTypes: () => (({
|
|
|
390
410
|
type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate">;
|
|
391
411
|
default: any;
|
|
392
412
|
};
|
|
413
|
+
optionFlagKey: {
|
|
414
|
+
type: import("vue").PropType<string>;
|
|
415
|
+
default: any;
|
|
416
|
+
};
|
|
417
|
+
allSelected: {
|
|
418
|
+
type: import("vue").PropType<boolean>;
|
|
419
|
+
default: boolean;
|
|
420
|
+
};
|
|
393
421
|
selectedOption: {
|
|
394
422
|
type: import("vue").PropType<unknown>;
|
|
395
423
|
default: any;
|
|
@@ -499,6 +527,14 @@ declare const DropdownTypes: () => (({
|
|
|
499
527
|
type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate">;
|
|
500
528
|
default: any;
|
|
501
529
|
};
|
|
530
|
+
optionFlagKey: {
|
|
531
|
+
type: import("vue").PropType<string>;
|
|
532
|
+
default: any;
|
|
533
|
+
};
|
|
534
|
+
allSelected: {
|
|
535
|
+
type: import("vue").PropType<boolean>;
|
|
536
|
+
default: boolean;
|
|
537
|
+
};
|
|
502
538
|
selectedOption: {
|
|
503
539
|
type: import("vue").PropType<unknown>;
|
|
504
540
|
default: any;
|
|
@@ -543,6 +579,8 @@ declare const DropdownTypes: () => (({
|
|
|
543
579
|
optionIconKey: string;
|
|
544
580
|
optionImageKey: string;
|
|
545
581
|
optionIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
|
|
582
|
+
optionFlagKey: string;
|
|
583
|
+
allSelected: boolean;
|
|
546
584
|
selectedOption: any;
|
|
547
585
|
showFeedbackIcon: boolean;
|
|
548
586
|
brandIconType: "android" | "ios";
|
|
@@ -551,6 +589,7 @@ declare const DropdownTypes: () => (({
|
|
|
551
589
|
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
552
590
|
$slots: {
|
|
553
591
|
image?(_: {}): any;
|
|
592
|
+
flag?(_: {}): any;
|
|
554
593
|
"icon-start"?(_: {}): any;
|
|
555
594
|
"displayed-value"?(_: {}): any;
|
|
556
595
|
"end-icon"?(_: {}): any;
|
|
@@ -1041,6 +1080,7 @@ declare const DropdownTypes: () => (({
|
|
|
1041
1080
|
disabled: boolean;
|
|
1042
1081
|
active: boolean;
|
|
1043
1082
|
endIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
|
|
1083
|
+
optionFlagKey: string;
|
|
1044
1084
|
optionTwoLinesVariant: "horizontal" | "vertical";
|
|
1045
1085
|
optionTwoLinesKey: string;
|
|
1046
1086
|
isIndeterminate: boolean;
|
|
@@ -1073,6 +1113,10 @@ declare const DropdownTypes: () => (({
|
|
|
1073
1113
|
type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate">;
|
|
1074
1114
|
default: string;
|
|
1075
1115
|
};
|
|
1116
|
+
optionFlagKey: {
|
|
1117
|
+
type: import("vue").PropType<string>;
|
|
1118
|
+
default: any;
|
|
1119
|
+
};
|
|
1076
1120
|
optionTwoLinesVariant: {
|
|
1077
1121
|
type: import("vue").PropType<"horizontal" | "vertical">;
|
|
1078
1122
|
default: any;
|
|
@@ -1138,7 +1182,7 @@ declare const DropdownTypes: () => (({
|
|
|
1138
1182
|
};
|
|
1139
1183
|
}>> & {
|
|
1140
1184
|
onToggleTreeCollapse?: (option: unknown) => any;
|
|
1141
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "option" | "disabled" | "active" | "endIconType" | "optionTwoLinesVariant" | "optionTwoLinesKey" | "isIndeterminate" | "subtitle" | "selectAllOption" | "nameKey" | "imageKey" | "iconKey" | "iconType" | "endIconKey" | "toolTipPlacement" | "treeMainOption" | "treeMainOptionExpanded" | "stopOptionClickEventPropagation" | "treeChildShown">;
|
|
1185
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "option" | "disabled" | "active" | "endIconType" | "optionFlagKey" | "optionTwoLinesVariant" | "optionTwoLinesKey" | "isIndeterminate" | "subtitle" | "selectAllOption" | "nameKey" | "imageKey" | "iconKey" | "iconType" | "endIconKey" | "toolTipPlacement" | "treeMainOption" | "treeMainOptionExpanded" | "stopOptionClickEventPropagation" | "treeChildShown">;
|
|
1142
1186
|
$attrs: {
|
|
1143
1187
|
[x: string]: unknown;
|
|
1144
1188
|
};
|
|
@@ -1169,6 +1213,10 @@ declare const DropdownTypes: () => (({
|
|
|
1169
1213
|
type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate">;
|
|
1170
1214
|
default: string;
|
|
1171
1215
|
};
|
|
1216
|
+
optionFlagKey: {
|
|
1217
|
+
type: import("vue").PropType<string>;
|
|
1218
|
+
default: any;
|
|
1219
|
+
};
|
|
1172
1220
|
optionTwoLinesVariant: {
|
|
1173
1221
|
type: import("vue").PropType<"horizontal" | "vertical">;
|
|
1174
1222
|
default: any;
|
|
@@ -1241,6 +1289,7 @@ declare const DropdownTypes: () => (({
|
|
|
1241
1289
|
disabled: boolean;
|
|
1242
1290
|
active: boolean;
|
|
1243
1291
|
endIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
|
|
1292
|
+
optionFlagKey: string;
|
|
1244
1293
|
optionTwoLinesVariant: "horizontal" | "vertical";
|
|
1245
1294
|
optionTwoLinesKey: string;
|
|
1246
1295
|
isIndeterminate: boolean;
|
|
@@ -1293,6 +1342,10 @@ declare const DropdownTypes: () => (({
|
|
|
1293
1342
|
type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate">;
|
|
1294
1343
|
default: string;
|
|
1295
1344
|
};
|
|
1345
|
+
optionFlagKey: {
|
|
1346
|
+
type: import("vue").PropType<string>;
|
|
1347
|
+
default: any;
|
|
1348
|
+
};
|
|
1296
1349
|
optionTwoLinesVariant: {
|
|
1297
1350
|
type: import("vue").PropType<"horizontal" | "vertical">;
|
|
1298
1351
|
default: any;
|
|
@@ -1379,6 +1432,10 @@ declare const DropdownTypes: () => (({
|
|
|
1379
1432
|
type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate">;
|
|
1380
1433
|
default: string;
|
|
1381
1434
|
};
|
|
1435
|
+
optionFlagKey: {
|
|
1436
|
+
type: import("vue").PropType<string>;
|
|
1437
|
+
default: any;
|
|
1438
|
+
};
|
|
1382
1439
|
optionTwoLinesVariant: {
|
|
1383
1440
|
type: import("vue").PropType<"horizontal" | "vertical">;
|
|
1384
1441
|
default: any;
|
|
@@ -1451,6 +1508,7 @@ declare const DropdownTypes: () => (({
|
|
|
1451
1508
|
disabled: boolean;
|
|
1452
1509
|
active: boolean;
|
|
1453
1510
|
endIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
|
|
1511
|
+
optionFlagKey: string;
|
|
1454
1512
|
optionTwoLinesVariant: "horizontal" | "vertical";
|
|
1455
1513
|
optionTwoLinesKey: string;
|
|
1456
1514
|
isIndeterminate: boolean;
|
|
@@ -1469,6 +1527,7 @@ declare const DropdownTypes: () => (({
|
|
|
1469
1527
|
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
1470
1528
|
$slots: {
|
|
1471
1529
|
image?(_: {}): any;
|
|
1530
|
+
flag?(_: {}): any;
|
|
1472
1531
|
"icon-start"?(_: {}): any;
|
|
1473
1532
|
default?(_: {}): any;
|
|
1474
1533
|
"icon-end"?(_: {}): any;
|
|
@@ -1520,6 +1579,10 @@ declare const DropdownTypes: () => (({
|
|
|
1520
1579
|
type: import("vue").PropType<(option: unknown) => string>;
|
|
1521
1580
|
required: true;
|
|
1522
1581
|
};
|
|
1582
|
+
allSelected: {
|
|
1583
|
+
type: import("vue").PropType<boolean>;
|
|
1584
|
+
default: boolean;
|
|
1585
|
+
};
|
|
1523
1586
|
selectedOption: {
|
|
1524
1587
|
type: import("vue").PropType<unknown>;
|
|
1525
1588
|
required: true;
|
|
@@ -1566,6 +1629,10 @@ declare const DropdownTypes: () => (({
|
|
|
1566
1629
|
type: import("vue").PropType<(option: unknown) => string>;
|
|
1567
1630
|
required: true;
|
|
1568
1631
|
};
|
|
1632
|
+
allSelected: {
|
|
1633
|
+
type: import("vue").PropType<boolean>;
|
|
1634
|
+
default: boolean;
|
|
1635
|
+
};
|
|
1569
1636
|
selectedOption: {
|
|
1570
1637
|
type: import("vue").PropType<unknown>;
|
|
1571
1638
|
required: true;
|
|
@@ -1583,6 +1650,7 @@ declare const DropdownTypes: () => (({
|
|
|
1583
1650
|
disabled: boolean;
|
|
1584
1651
|
open: boolean;
|
|
1585
1652
|
feedbackVariant: string;
|
|
1653
|
+
allSelected: boolean;
|
|
1586
1654
|
displayedValue: any;
|
|
1587
1655
|
}> | ({
|
|
1588
1656
|
new (...args: any[]): {
|
|
@@ -1629,11 +1697,13 @@ declare const DropdownTypes: () => (({
|
|
|
1629
1697
|
optionIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
|
|
1630
1698
|
optionEndIconKey: string;
|
|
1631
1699
|
optionEndIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
|
|
1700
|
+
optionFlagKey: string;
|
|
1632
1701
|
valueToCopy: string;
|
|
1633
1702
|
disabledOptionKey: string;
|
|
1634
1703
|
optionTwoLinesVariant: "horizontal" | "vertical";
|
|
1635
1704
|
optionTwoLinesKey: string;
|
|
1636
1705
|
groupedOptions: boolean;
|
|
1706
|
+
comparingKey: string;
|
|
1637
1707
|
fullWidth: boolean;
|
|
1638
1708
|
optionsListWidth: string;
|
|
1639
1709
|
statusType: "default" | "disabled" | "success" | "warning" | "error" | "archive";
|
|
@@ -1814,6 +1884,10 @@ declare const DropdownTypes: () => (({
|
|
|
1814
1884
|
type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate">;
|
|
1815
1885
|
default: any;
|
|
1816
1886
|
};
|
|
1887
|
+
optionFlagKey: {
|
|
1888
|
+
type: import("vue").PropType<string>;
|
|
1889
|
+
default: any;
|
|
1890
|
+
};
|
|
1817
1891
|
valueToCopy: {
|
|
1818
1892
|
type: import("vue").PropType<string>;
|
|
1819
1893
|
default: any;
|
|
@@ -1834,6 +1908,10 @@ declare const DropdownTypes: () => (({
|
|
|
1834
1908
|
type: import("vue").PropType<boolean>;
|
|
1835
1909
|
default: boolean;
|
|
1836
1910
|
};
|
|
1911
|
+
comparingKey: {
|
|
1912
|
+
type: import("vue").PropType<string>;
|
|
1913
|
+
default: any;
|
|
1914
|
+
};
|
|
1837
1915
|
fullWidth: {
|
|
1838
1916
|
type: import("vue").PropType<boolean>;
|
|
1839
1917
|
default: boolean;
|
|
@@ -1864,7 +1942,7 @@ declare const DropdownTypes: () => (({
|
|
|
1864
1942
|
onOnsearch?: (value: string) => any;
|
|
1865
1943
|
onOpened?: () => any;
|
|
1866
1944
|
onClosed?: () => any;
|
|
1867
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "theme" | "testId" | "placement" | "disabled" | "distance" | "container" | "popperClass" | "size" | "flip" | "mandatory" | "selected" | "onClear" | "modelValue" | "placeholder" | "multi" | "showSelectAll" | "defaultOpen" | "keepOpen" | "autoSize" | "disableKeyboardEvents" | "isOnTop" | "skidding" | "triggerLabel" | "triggerHelperText" | "triggerFeedbackText" | "triggerFeedbackVariant" | "triggerFeedbackShowIcon" | "triggerShowAllSelectedText" | "predefinedTrigger" | "inlineSearch" | "inlineSearchPlaceholder" | "onSearch" | "noResultsText" | "searchAutoFocus" | "optionNameKey" | "optionIconKey" | "optionImageKey" | "optionIconType" | "optionEndIconKey" | "optionEndIconType" | "valueToCopy" | "disabledOptionKey" | "optionTwoLinesVariant" | "optionTwoLinesKey" | "groupedOptions" | "fullWidth" | "optionsListWidth" | "statusType" | "disableVirtualScroll" | "overrideOptionCountCalculation">;
|
|
1945
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "theme" | "testId" | "placement" | "disabled" | "distance" | "container" | "popperClass" | "size" | "flip" | "mandatory" | "selected" | "onClear" | "modelValue" | "placeholder" | "multi" | "showSelectAll" | "defaultOpen" | "keepOpen" | "autoSize" | "disableKeyboardEvents" | "isOnTop" | "skidding" | "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">;
|
|
1868
1946
|
$attrs: {
|
|
1869
1947
|
[x: string]: unknown;
|
|
1870
1948
|
};
|
|
@@ -2053,6 +2131,10 @@ declare const DropdownTypes: () => (({
|
|
|
2053
2131
|
type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate">;
|
|
2054
2132
|
default: any;
|
|
2055
2133
|
};
|
|
2134
|
+
optionFlagKey: {
|
|
2135
|
+
type: import("vue").PropType<string>;
|
|
2136
|
+
default: any;
|
|
2137
|
+
};
|
|
2056
2138
|
valueToCopy: {
|
|
2057
2139
|
type: import("vue").PropType<string>;
|
|
2058
2140
|
default: any;
|
|
@@ -2073,6 +2155,10 @@ declare const DropdownTypes: () => (({
|
|
|
2073
2155
|
type: import("vue").PropType<boolean>;
|
|
2074
2156
|
default: boolean;
|
|
2075
2157
|
};
|
|
2158
|
+
comparingKey: {
|
|
2159
|
+
type: import("vue").PropType<string>;
|
|
2160
|
+
default: any;
|
|
2161
|
+
};
|
|
2076
2162
|
fullWidth: {
|
|
2077
2163
|
type: import("vue").PropType<boolean>;
|
|
2078
2164
|
default: boolean;
|
|
@@ -2157,11 +2243,13 @@ declare const DropdownTypes: () => (({
|
|
|
2157
2243
|
optionIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
|
|
2158
2244
|
optionEndIconKey: string;
|
|
2159
2245
|
optionEndIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
|
|
2246
|
+
optionFlagKey: string;
|
|
2160
2247
|
valueToCopy: string;
|
|
2161
2248
|
disabledOptionKey: string;
|
|
2162
2249
|
optionTwoLinesVariant: "horizontal" | "vertical";
|
|
2163
2250
|
optionTwoLinesKey: string;
|
|
2164
2251
|
groupedOptions: boolean;
|
|
2252
|
+
comparingKey: string;
|
|
2165
2253
|
fullWidth: boolean;
|
|
2166
2254
|
optionsListWidth: string;
|
|
2167
2255
|
statusType: "default" | "disabled" | "success" | "warning" | "error" | "archive";
|
|
@@ -2362,6 +2450,10 @@ declare const DropdownTypes: () => (({
|
|
|
2362
2450
|
type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate">;
|
|
2363
2451
|
default: any;
|
|
2364
2452
|
};
|
|
2453
|
+
optionFlagKey: {
|
|
2454
|
+
type: import("vue").PropType<string>;
|
|
2455
|
+
default: any;
|
|
2456
|
+
};
|
|
2365
2457
|
valueToCopy: {
|
|
2366
2458
|
type: import("vue").PropType<string>;
|
|
2367
2459
|
default: any;
|
|
@@ -2382,6 +2474,10 @@ declare const DropdownTypes: () => (({
|
|
|
2382
2474
|
type: import("vue").PropType<boolean>;
|
|
2383
2475
|
default: boolean;
|
|
2384
2476
|
};
|
|
2477
|
+
comparingKey: {
|
|
2478
|
+
type: import("vue").PropType<string>;
|
|
2479
|
+
default: any;
|
|
2480
|
+
};
|
|
2385
2481
|
fullWidth: {
|
|
2386
2482
|
type: import("vue").PropType<boolean>;
|
|
2387
2483
|
default: boolean;
|
|
@@ -2594,6 +2690,10 @@ declare const DropdownTypes: () => (({
|
|
|
2594
2690
|
type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate">;
|
|
2595
2691
|
default: any;
|
|
2596
2692
|
};
|
|
2693
|
+
optionFlagKey: {
|
|
2694
|
+
type: import("vue").PropType<string>;
|
|
2695
|
+
default: any;
|
|
2696
|
+
};
|
|
2597
2697
|
valueToCopy: {
|
|
2598
2698
|
type: import("vue").PropType<string>;
|
|
2599
2699
|
default: any;
|
|
@@ -2614,6 +2714,10 @@ declare const DropdownTypes: () => (({
|
|
|
2614
2714
|
type: import("vue").PropType<boolean>;
|
|
2615
2715
|
default: boolean;
|
|
2616
2716
|
};
|
|
2717
|
+
comparingKey: {
|
|
2718
|
+
type: import("vue").PropType<string>;
|
|
2719
|
+
default: any;
|
|
2720
|
+
};
|
|
2617
2721
|
fullWidth: {
|
|
2618
2722
|
type: import("vue").PropType<boolean>;
|
|
2619
2723
|
default: boolean;
|
|
@@ -2698,11 +2802,13 @@ declare const DropdownTypes: () => (({
|
|
|
2698
2802
|
optionIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
|
|
2699
2803
|
optionEndIconKey: string;
|
|
2700
2804
|
optionEndIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
|
|
2805
|
+
optionFlagKey: string;
|
|
2701
2806
|
valueToCopy: string;
|
|
2702
2807
|
disabledOptionKey: string;
|
|
2703
2808
|
optionTwoLinesVariant: "horizontal" | "vertical";
|
|
2704
2809
|
optionTwoLinesKey: string;
|
|
2705
2810
|
groupedOptions: boolean;
|
|
2811
|
+
comparingKey: string;
|
|
2706
2812
|
fullWidth: boolean;
|
|
2707
2813
|
optionsListWidth: string;
|
|
2708
2814
|
statusType: "default" | "disabled" | "success" | "warning" | "error" | "archive";
|
|
@@ -2736,11 +2842,13 @@ declare const DropdownTypes: () => (({
|
|
|
2736
2842
|
optionIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
|
|
2737
2843
|
optionAndIconKey: string;
|
|
2738
2844
|
optionEndIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
|
|
2845
|
+
optionFlagKey: string;
|
|
2739
2846
|
feedbackVariant: "success" | "warning" | "error";
|
|
2740
2847
|
valueToCopy: string;
|
|
2741
2848
|
statusDotType: "default" | "disabled" | "success" | "warning" | "error" | "archive";
|
|
2742
2849
|
size: "small" | "medium" | "large";
|
|
2743
2850
|
showAllSelectedText: boolean;
|
|
2851
|
+
allSelected: boolean;
|
|
2744
2852
|
onKeydown: (event: any) => void;
|
|
2745
2853
|
onClick: () => void;
|
|
2746
2854
|
};
|