@ironsource/shared-ui 2.1.11-test.53 → 2.1.11-test.55
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/Chart.vue_vue_type_style_index_0_scoped_026d82c5_lang.css +1 -0
- package/ChartLegend.vue_vue_type_style_index_0_scoped_aa32a103_lang.css +1 -0
- package/ChartLoader.vue_vue_type_style_index_0_scoped_ffa4cc66_lang.css +1 -0
- package/ConditionalDropdown.vue_vue_type_style_index_0_scoped_2a77c137_lang.css +1 -0
- package/DateRangeV4.vue_vue_type_style_index_0_scoped_8a2714eb_lang.css +1 -0
- package/DefaultDropdownTrigger.vue_vue_type_style_index_0_scoped_73bf9b5b_lang.css +1 -0
- package/EditableV4.vue_vue_type_style_index_0_scoped_1bbe222a_lang.css +1 -0
- package/IconFlag.vue_vue_type_style_index_0_scoped_6526c390_lang.css +1 -0
- package/OptionV4.vue_vue_type_style_index_0_scoped_5ff4b654_lang.css +1 -0
- package/SortableItem.vue_vue_type_style_index_0_scoped_48542664_lang.css +1 -0
- package/SortableList.vue_vue_type_style_index_0_scoped_8f267f88_lang.css +1 -0
- package/TextField.vue_vue_type_style_index_0_scoped_fce3948c_lang.css +1 -0
- package/TooltipV4.vue_vue_type_style_index_0_scoped_66eab856_lang.css +1 -0
- package/TooltipV4.vue_vue_type_style_index_1_lang.css +1 -1
- package/Typography.vue_vue_type_style_index_0_scoped_07b259bf_lang.css +1 -0
- package/components/button/v3/Button.vue.d.ts +6 -6
- package/components/button/v3/index.d.ts +14 -14
- package/components/chart/Chart.vue.d.ts +1 -1
- package/components/chart/Chart.vue.js +4 -4
- package/components/chart/Chart.vue2.js +110 -105
- package/components/chart/ChartLegend.vue.js +2 -2
- package/components/chart/ChartLegend.vue2.js +60 -50
- package/components/chart/ChartLoader.vue.js +5 -23
- package/components/chart/ChartLoader.vue2.js +15 -0
- package/components/chart/index.d.ts +20 -20
- package/components/chart/mockData.d.ts +8 -0
- package/components/dateRange/v4/DateRangeV4.vue.js +3 -3
- package/components/dateRange/v4/DateRangeV4.vue2.js +86 -81
- package/components/dropdown/v4/ConditionalDropdown.vue.d.ts +26 -3
- package/components/dropdown/v4/ConditionalDropdown.vue.js +2 -2
- package/components/dropdown/v4/ConditionalDropdown.vue2.js +131 -109
- package/components/dropdown/v4/DefaultDropdownTrigger.vue.js +2 -2
- package/components/dropdown/v4/DefaultDropdownTrigger.vue2.js +45 -46
- package/components/dropdown/v4/OptionV4.vue.js +2 -2
- package/components/dropdown/v4/OptionV4.vue2.js +97 -98
- package/components/dropdown/v4/index.d.ts +41 -3
- package/components/emptyState/v3/EmptyState.vue.d.ts +3 -3
- package/components/emptyState/v3/index.d.ts +7 -7
- package/components/icon/v4/IconFlag.vue.js +3 -3
- package/components/icon/v4/IconFlag.vue2.js +1 -1
- package/components/input/v4/TextField.vue.js +3 -3
- package/components/input/v4/TextField.vue2.js +184 -164
- package/components/sortableList/SortableItem.vue.d.ts +5 -0
- package/components/sortableList/SortableItem.vue.js +3 -3
- package/components/sortableList/SortableItem.vue2.js +76 -61
- package/components/sortableList/SortableList.vue.d.ts +16 -0
- package/components/sortableList/SortableList.vue.js +3 -3
- package/components/sortableList/SortableList.vue2.js +100 -87
- package/components/sortableList/index.d.ts +59 -1
- package/components/table/v4/DataGrid.vue.d.ts +2 -2
- package/components/table/v4/MultipleDataGrid.vue.d.ts +1 -1
- package/components/table/v4/index.d.ts +59 -59
- package/components/table-cells/common/Editable.common.js +8 -7
- package/components/table-cells/common/EditableContext.d.ts +1 -0
- package/components/table-cells/v4/EditableV4.vue.d.ts +5 -0
- package/components/table-cells/v4/EditableV4.vue.js +3 -3
- package/components/table-cells/v4/EditableV4.vue2.js +11 -10
- package/components/table-cells/v4/index.d.ts +20 -1
- package/components/tooltip/v4/TooltipV4.vue.js +3 -3
- package/components/tooltip/v4/TooltipV4.vue2.js +1 -1
- package/components/typography/v4/Typography.vue.js +3 -3
- package/components/typography/v4/Typography.vue2.js +1 -1
- package/composables/useFormValidation.d.ts +1 -1
- package/index.d.ts +385 -155
- package/index.js +1 -1
- package/package.json +239 -2
- package/testids/index.d.ts +1 -0
- package/testids/index.js +13 -13
- package/Chart.vue_vue_type_style_index_0_scoped_277fde76_lang.css +0 -1
- package/ChartLegend.vue_vue_type_style_index_0_scoped_a1c626cd_lang.css +0 -1
- package/ChartLoader.vue_vue_type_style_index_0_scoped_142c444a_lang.css +0 -1
- package/ConditionalDropdown.vue_vue_type_style_index_0_scoped_8f96cf5a_lang.css +0 -1
- package/DateRangeV4.vue_vue_type_style_index_0_scoped_309e5351_lang.css +0 -1
- package/DefaultDropdownTrigger.vue_vue_type_style_index_0_scoped_9fa84b26_lang.css +0 -1
- package/EditableV4.vue_vue_type_style_index_0_scoped_e0c047b4_lang.css +0 -1
- package/IconFlag.vue_vue_type_style_index_0_scoped_7b09cc85_lang.css +0 -1
- package/OptionV4.vue_vue_type_style_index_0_scoped_2c2947b3_lang.css +0 -1
- package/SortableItem.vue_vue_type_style_index_0_scoped_7cb676f1_lang.css +0 -1
- package/SortableList.vue_vue_type_style_index_0_scoped_156c01ca_lang.css +0 -1
- package/TextField.vue_vue_type_style_index_0_scoped_2e327aa1_lang.css +0 -1
- package/TooltipV4.vue_vue_type_style_index_0_scoped_82b46d6d_lang.css +0 -1
- package/Typography.vue_vue_type_style_index_0_scoped_a14013a5_lang.css +0 -1
- package/consts/configs.js +0 -4
- package/tsconfig.json +0 -157
|
@@ -1,41 +1,40 @@
|
|
|
1
|
-
import "../../../OptionV4.
|
|
1
|
+
import "../../../OptionV4.vue_vue_type_style_index_0_scoped_5ff4b654_lang.css"; import { defineComponent as P, ref as C, watch as S, computed as V, openBlock as o, createBlock as m, unref as n, createSlots as A, withCtx as s, createElementVNode as c, normalizeClass as v, createCommentVNode as i, createElementBlock as l, renderSlot as y, createVNode as a, toDisplayString as r, createTextVNode as f, withModifiers as I, Fragment as F, renderList as L } from "vue";
|
|
2
2
|
import "../../typography/Heading.vue.js";
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import "../../icon/v4/IconFlag.vue.js";
|
|
7
|
-
import { NOOP as
|
|
8
|
-
import { optionCommon as
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import { isElementTruncated as
|
|
12
|
-
import { promiseTimeout as
|
|
13
|
-
|
|
14
|
-
const Q = { class: "multiline-tooltip" }, W = {
|
|
3
|
+
import N from "../../typography/Text.vue.js";
|
|
4
|
+
import j from "../../checkbox/v4/CheckboxV4.vue.js";
|
|
5
|
+
import T from "../../icon/v4/IconV4.vue.js";
|
|
6
|
+
import R from "../../icon/v4/IconFlag.vue.js";
|
|
7
|
+
import { NOOP as D } from "@vue/shared";
|
|
8
|
+
import { optionCommon as q } from "../common/Option.common.js";
|
|
9
|
+
import g from "../../typography/v4/Typography.vue.js";
|
|
10
|
+
import G from "../../tooltip/v4/TooltipV4.vue.js";
|
|
11
|
+
import { isElementTruncated as H } from "../../../utils/text.js";
|
|
12
|
+
import { promiseTimeout as J } from "@vueuse/core";
|
|
13
|
+
const Q = { class: "multiline-tooltip" }, U = {
|
|
15
14
|
key: 1,
|
|
16
15
|
class: "image"
|
|
17
|
-
},
|
|
16
|
+
}, W = ["src"], X = {
|
|
18
17
|
key: 2,
|
|
19
18
|
class: "flag"
|
|
20
|
-
},
|
|
19
|
+
}, Y = {
|
|
21
20
|
key: 3,
|
|
22
21
|
class: "start-icon"
|
|
23
|
-
},
|
|
22
|
+
}, Z = {
|
|
24
23
|
key: 0,
|
|
25
24
|
class: "main-text"
|
|
26
|
-
},
|
|
25
|
+
}, _ = {
|
|
27
26
|
key: 1,
|
|
28
27
|
class: "main-text"
|
|
29
|
-
},
|
|
28
|
+
}, ee = {
|
|
30
29
|
key: 2,
|
|
31
30
|
class: "end-text-icon"
|
|
32
|
-
},
|
|
31
|
+
}, te = {
|
|
33
32
|
key: 3,
|
|
34
33
|
class: "caption-text"
|
|
35
|
-
},
|
|
34
|
+
}, ne = {
|
|
36
35
|
key: 4,
|
|
37
36
|
class: "end-icon"
|
|
38
|
-
},
|
|
37
|
+
}, oe = ["onClick"], ie = { key: 0 }, pe = /* @__PURE__ */ P({
|
|
39
38
|
__name: "OptionV4",
|
|
40
39
|
props: {
|
|
41
40
|
option: { default: null },
|
|
@@ -63,26 +62,26 @@ const Q = { class: "multiline-tooltip" }, W = {
|
|
|
63
62
|
isMulti: { type: Boolean, default: !1 }
|
|
64
63
|
},
|
|
65
64
|
emits: ["toggleTreeCollapse"],
|
|
66
|
-
setup(e, { emit:
|
|
67
|
-
const
|
|
68
|
-
|
|
69
|
-
},
|
|
70
|
-
|
|
71
|
-
await
|
|
65
|
+
setup(e, { emit: w }) {
|
|
66
|
+
const d = e, { selected: h, id: O, onClick: $, api: K } = q(d), B = (t) => {
|
|
67
|
+
d.stopOptionClickEventPropagation && t.stopPropagation(), d.disabled ? D() : $(t);
|
|
68
|
+
}, p = C(null), b = C(!1);
|
|
69
|
+
S([() => d.treeChildShown, p], async () => {
|
|
70
|
+
await J(100), b.value = p.value && H(p.value);
|
|
72
71
|
});
|
|
73
|
-
const
|
|
74
|
-
|
|
75
|
-
}
|
|
76
|
-
return (t,
|
|
72
|
+
const M = (t) => t && typeof t == "object" && "optionTooltipText" in t ? (Array.isArray(t.optionTooltipText), t.optionTooltipText) : b.value ? t[d.nameKey] : "", x = V(() => M(d.option)), z = (t) => t && typeof t == "object" && "optionTooltipTestId" in t ? t.optionTooltipTestId : null, E = () => {
|
|
73
|
+
w("toggleTreeCollapse", d.option);
|
|
74
|
+
};
|
|
75
|
+
return (t, k) => (o(), m(n(G), {
|
|
77
76
|
text: n(x),
|
|
78
|
-
"test-id":
|
|
77
|
+
"test-id": z(e.option),
|
|
79
78
|
placement: e.toolTipPlacement,
|
|
80
79
|
class: "tooltip-option"
|
|
81
|
-
},
|
|
82
|
-
default:
|
|
80
|
+
}, A({
|
|
81
|
+
default: s(() => [
|
|
83
82
|
c("div", {
|
|
84
83
|
ref: "el",
|
|
85
|
-
class:
|
|
84
|
+
class: v(["item-container", {
|
|
86
85
|
"item-container--disabled": e.disabled,
|
|
87
86
|
"item-container--active": e.nameKey ? !1 : e.active,
|
|
88
87
|
"item-container--selected": n(h),
|
|
@@ -90,157 +89,157 @@ const Q = { class: "multiline-tooltip" }, W = {
|
|
|
90
89
|
}])
|
|
91
90
|
}, [
|
|
92
91
|
c("div", {
|
|
93
|
-
class:
|
|
92
|
+
class: v(["item", {
|
|
94
93
|
"item--multi": e.isMulti,
|
|
95
94
|
"item--with-icon": t.$slots["icon-start"] || t.$slots.image
|
|
96
95
|
}])
|
|
97
96
|
}, [
|
|
98
|
-
e.isMulti || e.selectAllOption ? (o(),
|
|
97
|
+
e.isMulti || e.selectAllOption ? (o(), m(n(j), {
|
|
99
98
|
key: 0,
|
|
100
|
-
id: n(
|
|
99
|
+
id: n(O).toString(),
|
|
101
100
|
tabindex: "-1",
|
|
102
101
|
class: "checkbox",
|
|
103
102
|
"is-checked": n(h),
|
|
104
103
|
"is-indeterminate": e.isIndeterminate,
|
|
105
|
-
onClick:
|
|
106
|
-
}, null, 8, ["id", "is-checked", "is-indeterminate"])) :
|
|
107
|
-
t.$slots.image || e.imageKey ? (o(),
|
|
108
|
-
|
|
109
|
-
e.imageKey ? (o(),
|
|
104
|
+
onClick: k[0] || (k[0] = (u) => B(u))
|
|
105
|
+
}, null, 8, ["id", "is-checked", "is-indeterminate"])) : i("", !0),
|
|
106
|
+
t.$slots.image || e.imageKey ? (o(), l("div", U, [
|
|
107
|
+
y(t.$slots, "image", {}, () => [
|
|
108
|
+
e.imageKey ? (o(), l("img", {
|
|
110
109
|
key: 0,
|
|
111
110
|
src: e.option[e.imageKey]
|
|
112
|
-
}, null, 8,
|
|
111
|
+
}, null, 8, W)) : i("", !0)
|
|
113
112
|
], !0)
|
|
114
|
-
])) :
|
|
115
|
-
t.$slots.flag || e.optionFlagKey ? (o(),
|
|
116
|
-
|
|
117
|
-
|
|
113
|
+
])) : i("", !0),
|
|
114
|
+
t.$slots.flag || e.optionFlagKey ? (o(), l("div", X, [
|
|
115
|
+
y(t.$slots, "flag", {}, () => [
|
|
116
|
+
e.optionFlagKey ? (o(), m(n(R), {
|
|
118
117
|
key: 0,
|
|
119
|
-
|
|
120
|
-
}, null, 8,
|
|
118
|
+
"country-code": e.option[e.optionFlagKey]
|
|
119
|
+
}, null, 8, ["country-code"])) : i("", !0)
|
|
121
120
|
], !0)
|
|
122
|
-
])) :
|
|
123
|
-
t.$slots["icon-start"] || e.iconKey ? (o(),
|
|
124
|
-
|
|
125
|
-
|
|
121
|
+
])) : i("", !0),
|
|
122
|
+
t.$slots["icon-start"] || e.iconKey ? (o(), l("div", Y, [
|
|
123
|
+
y(t.$slots, "icon-start", {}, () => [
|
|
124
|
+
a(n(T), {
|
|
126
125
|
type: e.iconType,
|
|
127
126
|
name: e.option[e.iconKey],
|
|
128
127
|
size: e.iconType === "regular" ? "20px" : "16px"
|
|
129
128
|
}, null, 8, ["type", "name", "size"])
|
|
130
129
|
], !0)
|
|
131
|
-
])) :
|
|
130
|
+
])) : i("", !0),
|
|
132
131
|
c("div", {
|
|
133
132
|
ref_key: "textContainerRef",
|
|
134
|
-
ref:
|
|
133
|
+
ref: p,
|
|
135
134
|
class: "text-container"
|
|
136
135
|
}, [
|
|
137
|
-
|
|
136
|
+
a(n(g), {
|
|
138
137
|
class: "option-text",
|
|
139
138
|
variant: "body2"
|
|
140
139
|
}, {
|
|
141
|
-
default:
|
|
142
|
-
|
|
140
|
+
default: s(() => [
|
|
141
|
+
y(t.$slots, "default", {}, () => [
|
|
143
142
|
c("div", {
|
|
144
|
-
class:
|
|
143
|
+
class: v(`option-content-${e.optionTwoLinesVariant} option-content`)
|
|
145
144
|
}, [
|
|
146
|
-
e.option.conditionalOptions ? (o(),
|
|
147
|
-
|
|
145
|
+
e.option.conditionalOptions ? (o(), l("div", _, [
|
|
146
|
+
a(n(g), {
|
|
148
147
|
variant: "body2",
|
|
149
148
|
class: "conditional-option-label"
|
|
150
149
|
}, {
|
|
151
|
-
default:
|
|
152
|
-
|
|
150
|
+
default: s(() => [
|
|
151
|
+
f(r(e.option.conditionalName) + ": ", 1)
|
|
153
152
|
]),
|
|
154
153
|
_: 1
|
|
155
154
|
}),
|
|
156
|
-
|
|
155
|
+
a(n(g), {
|
|
157
156
|
variant: "h5",
|
|
158
157
|
class: "conditional-option-value"
|
|
159
158
|
}, {
|
|
160
|
-
default:
|
|
161
|
-
|
|
159
|
+
default: s(() => [
|
|
160
|
+
f('"' + r(e.option[e.nameKey]) + '"', 1)
|
|
162
161
|
]),
|
|
163
162
|
_: 1
|
|
164
163
|
})
|
|
165
|
-
])) : (o(),
|
|
166
|
-
e.endTextIconKey && e.option[e.endTextIconKey] ? (o(),
|
|
167
|
-
|
|
164
|
+
])) : (o(), l("div", Z, r(e.option[e.nameKey]), 1)),
|
|
165
|
+
e.endTextIconKey && e.option[e.endTextIconKey] ? (o(), l("span", ee, [
|
|
166
|
+
a(n(T), {
|
|
168
167
|
type: "regular",
|
|
169
168
|
name: e.option[e.endTextIconKey],
|
|
170
169
|
size: "16px"
|
|
171
170
|
}, null, 8, ["name"])
|
|
172
|
-
])) :
|
|
173
|
-
e.optionTwoLinesKey ? (o(),
|
|
174
|
-
|
|
175
|
-
default:
|
|
176
|
-
|
|
171
|
+
])) : i("", !0),
|
|
172
|
+
e.optionTwoLinesKey ? (o(), l("div", te, [
|
|
173
|
+
a(n(g), { variant: "caption" }, {
|
|
174
|
+
default: s(() => [
|
|
175
|
+
f(r(e.option[e.optionTwoLinesKey]), 1)
|
|
177
176
|
]),
|
|
178
177
|
_: 1
|
|
179
178
|
})
|
|
180
|
-
])) :
|
|
179
|
+
])) : i("", !0)
|
|
181
180
|
], 2)
|
|
182
181
|
], !0)
|
|
183
182
|
]),
|
|
184
183
|
_: 3
|
|
185
184
|
}),
|
|
186
|
-
e.subtitle ? (o(),
|
|
185
|
+
e.subtitle ? (o(), m(n(N), {
|
|
187
186
|
key: 0,
|
|
188
187
|
class: "subtitle",
|
|
189
188
|
size: "xs"
|
|
190
189
|
}, {
|
|
191
|
-
default:
|
|
192
|
-
|
|
190
|
+
default: s(() => [
|
|
191
|
+
f(r(e.subtitle), 1)
|
|
193
192
|
]),
|
|
194
193
|
_: 1
|
|
195
|
-
})) :
|
|
194
|
+
})) : i("", !0)
|
|
196
195
|
], 512),
|
|
197
|
-
t.$slots["icon-end"] || e.endIconKey && e.option[e.endIconKey] ? (o(),
|
|
198
|
-
|
|
199
|
-
|
|
196
|
+
t.$slots["icon-end"] || e.endIconKey && e.option[e.endIconKey] ? (o(), l("div", ne, [
|
|
197
|
+
y(t.$slots, "icon-end", {}, () => [
|
|
198
|
+
a(n(T), {
|
|
200
199
|
type: e.endIconType || "regular",
|
|
201
200
|
name: e.option[e.endIconKey],
|
|
202
201
|
size: e.endIconType === "regular" || e.endIconType === "ab-test" ? "20px" : "16px"
|
|
203
202
|
}, null, 8, ["type", "name", "size"])
|
|
204
203
|
], !0)
|
|
205
|
-
])) :
|
|
206
|
-
e.treeMainOption ? (o(),
|
|
204
|
+
])) : i("", !0),
|
|
205
|
+
e.treeMainOption ? (o(), l("div", {
|
|
207
206
|
key: 5,
|
|
208
207
|
class: "tree-main-arrow-wrapper",
|
|
209
|
-
onClick:
|
|
208
|
+
onClick: I(E, ["stop"])
|
|
210
209
|
}, [
|
|
211
|
-
|
|
210
|
+
a(n(T), {
|
|
212
211
|
name: "caret-down",
|
|
213
212
|
size: "16px",
|
|
214
|
-
class:
|
|
213
|
+
class: v(`app-trigger--icon ${e.treeMainOptionExpanded && "expanded"}`)
|
|
215
214
|
}, null, 8, ["class"])
|
|
216
|
-
], 8,
|
|
215
|
+
], 8, oe)) : i("", !0)
|
|
217
216
|
], 2),
|
|
218
|
-
n(K).clearable && n(h) ? (o(),
|
|
217
|
+
n(K).clearable && n(h) ? (o(), l("div", ie, [
|
|
219
218
|
c("button", {
|
|
220
219
|
class: "clear-button",
|
|
221
|
-
onClick:
|
|
220
|
+
onClick: k[1] || (k[1] = I((u) => n(K).clearSelection(), ["prevent", "stop"]))
|
|
222
221
|
}, [
|
|
223
|
-
|
|
222
|
+
a(n(T), {
|
|
224
223
|
name: "close",
|
|
225
224
|
width: "8",
|
|
226
225
|
height: "8"
|
|
227
226
|
})
|
|
228
227
|
])
|
|
229
|
-
])) :
|
|
228
|
+
])) : i("", !0)
|
|
230
229
|
], 2)
|
|
231
230
|
]),
|
|
232
231
|
_: 2
|
|
233
232
|
}, [
|
|
234
233
|
Array.isArray(n(x)) ? {
|
|
235
234
|
name: "tooltip",
|
|
236
|
-
fn:
|
|
235
|
+
fn: s(() => [
|
|
237
236
|
c("div", Q, [
|
|
238
|
-
(o(!0),
|
|
237
|
+
(o(!0), l(F, null, L(n(x), (u) => (o(), m(n(g), {
|
|
239
238
|
key: u,
|
|
240
239
|
variant: "body2"
|
|
241
240
|
}, {
|
|
242
|
-
default:
|
|
243
|
-
|
|
241
|
+
default: s(() => [
|
|
242
|
+
f(r(u), 1)
|
|
244
243
|
]),
|
|
245
244
|
_: 2
|
|
246
245
|
}, 1024))), 128))
|
|
@@ -252,5 +251,5 @@ const Q = { class: "multiline-tooltip" }, W = {
|
|
|
252
251
|
}
|
|
253
252
|
});
|
|
254
253
|
export {
|
|
255
|
-
|
|
254
|
+
pe as default
|
|
256
255
|
};
|
|
@@ -3582,6 +3582,18 @@ declare const DropdownTypes: () => (({
|
|
|
3582
3582
|
required: true;
|
|
3583
3583
|
default: string;
|
|
3584
3584
|
};
|
|
3585
|
+
optionIconKey: {
|
|
3586
|
+
type: import("vue").PropType<string>;
|
|
3587
|
+
default: string;
|
|
3588
|
+
};
|
|
3589
|
+
optionImageKey: {
|
|
3590
|
+
type: import("vue").PropType<string>;
|
|
3591
|
+
default: string;
|
|
3592
|
+
};
|
|
3593
|
+
optionIconType: {
|
|
3594
|
+
type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate">;
|
|
3595
|
+
default: any;
|
|
3596
|
+
};
|
|
3585
3597
|
optionFlagKey: {
|
|
3586
3598
|
type: import("vue").PropType<string>;
|
|
3587
3599
|
default: string;
|
|
@@ -3628,7 +3640,7 @@ declare const DropdownTypes: () => (({
|
|
|
3628
3640
|
default: string;
|
|
3629
3641
|
};
|
|
3630
3642
|
loadMoreFn: {
|
|
3631
|
-
type: import("vue").PropType<() => Promise<
|
|
3643
|
+
type: import("vue").PropType<() => Promise<any[]>>;
|
|
3632
3644
|
default: any;
|
|
3633
3645
|
};
|
|
3634
3646
|
fetchDataDebounceTime: {
|
|
@@ -3639,6 +3651,10 @@ declare const DropdownTypes: () => (({
|
|
|
3639
3651
|
type: import("vue").PropType<boolean>;
|
|
3640
3652
|
default: boolean;
|
|
3641
3653
|
};
|
|
3654
|
+
loadingOverride: {
|
|
3655
|
+
type: import("vue").PropType<boolean>;
|
|
3656
|
+
default: boolean;
|
|
3657
|
+
};
|
|
3642
3658
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
3643
3659
|
"update:selectedCondition": (value: {
|
|
3644
3660
|
label: string;
|
|
@@ -3647,6 +3663,7 @@ declare const DropdownTypes: () => (({
|
|
|
3647
3663
|
}) => void;
|
|
3648
3664
|
"update:appliedSelections": (value: unknown) => void;
|
|
3649
3665
|
clear: () => void;
|
|
3666
|
+
closed: () => void;
|
|
3650
3667
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
3651
3668
|
label: {
|
|
3652
3669
|
type: import("vue").PropType<string>;
|
|
@@ -3670,6 +3687,18 @@ declare const DropdownTypes: () => (({
|
|
|
3670
3687
|
required: true;
|
|
3671
3688
|
default: string;
|
|
3672
3689
|
};
|
|
3690
|
+
optionIconKey: {
|
|
3691
|
+
type: import("vue").PropType<string>;
|
|
3692
|
+
default: string;
|
|
3693
|
+
};
|
|
3694
|
+
optionImageKey: {
|
|
3695
|
+
type: import("vue").PropType<string>;
|
|
3696
|
+
default: string;
|
|
3697
|
+
};
|
|
3698
|
+
optionIconType: {
|
|
3699
|
+
type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate">;
|
|
3700
|
+
default: any;
|
|
3701
|
+
};
|
|
3673
3702
|
optionFlagKey: {
|
|
3674
3703
|
type: import("vue").PropType<string>;
|
|
3675
3704
|
default: string;
|
|
@@ -3716,7 +3745,7 @@ declare const DropdownTypes: () => (({
|
|
|
3716
3745
|
default: string;
|
|
3717
3746
|
};
|
|
3718
3747
|
loadMoreFn: {
|
|
3719
|
-
type: import("vue").PropType<() => Promise<
|
|
3748
|
+
type: import("vue").PropType<() => Promise<any[]>>;
|
|
3720
3749
|
default: any;
|
|
3721
3750
|
};
|
|
3722
3751
|
fetchDataDebounceTime: {
|
|
@@ -3727,8 +3756,13 @@ declare const DropdownTypes: () => (({
|
|
|
3727
3756
|
type: import("vue").PropType<boolean>;
|
|
3728
3757
|
default: boolean;
|
|
3729
3758
|
};
|
|
3759
|
+
loadingOverride: {
|
|
3760
|
+
type: import("vue").PropType<boolean>;
|
|
3761
|
+
default: boolean;
|
|
3762
|
+
};
|
|
3730
3763
|
}>> & {
|
|
3731
3764
|
onClear?: () => any;
|
|
3765
|
+
onClosed?: () => any;
|
|
3732
3766
|
"onUpdate:selectedCondition"?: (value: {
|
|
3733
3767
|
label: string;
|
|
3734
3768
|
value: string;
|
|
@@ -3741,13 +3775,17 @@ declare const DropdownTypes: () => (({
|
|
|
3741
3775
|
isOpen: boolean;
|
|
3742
3776
|
infiniteLoading: boolean;
|
|
3743
3777
|
optionNameKey: string;
|
|
3778
|
+
optionIconKey: string;
|
|
3779
|
+
optionImageKey: string;
|
|
3780
|
+
optionIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
|
|
3744
3781
|
optionFlagKey: string;
|
|
3745
3782
|
groupedOptions: boolean;
|
|
3746
3783
|
comparingKey: string;
|
|
3747
3784
|
minCharsToStart: number;
|
|
3748
3785
|
searchQuery: string;
|
|
3749
|
-
loadMoreFn: () => Promise<
|
|
3786
|
+
loadMoreFn: () => Promise<any[]>;
|
|
3750
3787
|
fetchDataDebounceTime: number;
|
|
3751
3788
|
autoFocusSearch: boolean;
|
|
3789
|
+
loadingOverride: boolean;
|
|
3752
3790
|
}>)[];
|
|
3753
3791
|
export { Dropdown, DefaultDropdownTrigger, IconButtonDropdownTrigger, ChipDropdownTrigger, ButtonDropdownTrigger, ButtonFilterDropdownTrigger, AppDropdownTrigger, DropdownTypes, Option, TreeDropdown, ConditionalDropdown, };
|
|
@@ -5,7 +5,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
5
5
|
isHorizontal?: boolean;
|
|
6
6
|
hasIcon?: boolean;
|
|
7
7
|
isBordered?: boolean;
|
|
8
|
-
iconName?: "filter" | "
|
|
8
|
+
iconName?: "filter" | "a" | "b" | "link" | "style" | "image" | "switch" | "search" | "ab-test" | "help" | "block" | "add" | "rotate" | "visibility" | "border-color" | "info" | "success" | "warning" | "error" | "close" | "check-circle" | "warning-octagon" | "cancel" | "pause" | "android" | "ios" | "FiltersSearch" | "a-2" | "ab-test-2" | "a-circle" | "account-balance-wallet" | "account-circle" | "account-circle-outline" | "analytics" | "angle-down" | "angle-left" | "angle-right" | "angle-up" | "app-store" | "area-chart" | "arrow-back" | "arrow-downward" | "arrow-forward" | "arrow-left" | "arrow-right" | "arrow-sort-down" | "arrow-sort-up" | "arrow-upward" | "auto-awesome" | "auto-mode" | "hammer" | "autorenew" | "b-2" | "b-circle" | "banner" | "bidding" | "bidding-2" | "bug" | "bullhorn" | "bullseye-arrow" | "cached" | "calendar" | "calendar-today" | "chart-bar" | "chart-line" | "chart-mixed" | "check" | "check-bold" | "close-bold" | "computer-mouse" | "copy-to-clipboard" | "widgets-flat-squares" | "adjust" | "copy-to-clipboard-filled" | "cube" | "cube-background" | "marketing" | "create" | "creative" | "cross" | "crown-fill" | "cup" | "cup-a" | "cup-b" | "delete" | "diamond" | "dots" | "download" | "download-2" | "download-done" | "drag-indicator" | "duplicate" | "ecpi" | "email" | "email-envelope" | "eye" | "favorite-border" | "filter-list" | "frame" | "fullscreen" | "fullscreen-exit" | "functions" | "gamepad-alt" | "games" | "gavel" | "gift" | "git-hub" | "globe-stand" | "google-play" | "group" | "hand-pointer" | "hands" | "heartbeat" | "help-outline" | "history" | "image-not-supported" | "image-slash" | "import-export" | "import-export-2" | "importent" | "info-outline" | "insights" | "interstitial" | "ios-14" | "js" | "landscape" | "launch" | "levelplay" | "limit-circle" | "limit-octagon" | "loading-clean" | "lock" | "lock-open" | "login" | "logout" | "military-tech" | "mix" | "mix-2" | "mobile-landscape" | "mobile-portrait" | "money-check" | "more-horiz" | "more-vert" | "mouse" | "mouse-pointer" | "moving-up" | "notifications-none" | "offerwall" | "palyable" | "paper-plane-off" | "paper-plane" | "pause-circle-filled" | "pause-circle-outline" | "phone-iphone" | "photo" | "photo-2" | "play-arrow" | "play-circle-filled-white" | "play-circle-outline" | "qrcode" | "quick-ab" | "quick-ab-2" | "react" | "redo" | "refresh" | "remove" | "replay" | "rewarded-video" | "rocket-launch" | "route" | "sack-dollar" | "schedule" | "search-bold" | "share" | "slack" | "sports-esports" | "star" | "star-fill" | "status-banner" | "status-interstitial" | "status-offerwall" | "status-rewarded-video" | "stop-circle-filled" | "stop-circle-outline" | "success-full" | "table-edit" | "tablet-landscape" | "tablet-mac" | "tablet-portrait" | "texture" | "theme-dark" | "theme-light" | "timelapse" | "timeline" | "trending-down" | "trending-flat" | "trending-up" | "tune" | "two-tone-banner" | "two-tone-interstitial" | "two-tone-offerwall" | "two-tone-rewarded-video" | "undo" | "unfold-less" | "unfold-more" | "vertical-align-top" | "vertical-align-top-2" | "vibration" | "video-round" | "view-carousel" | "visibility-off" | "visibility-off-strok" | "visibility-strok" | "volume-off" | "volume-up" | "warning-2" | "web-app" | "widgets" | "widgets-fill" | "widgetsz" | "wifi-protected-setup" | "native-ad" | "status-native-ad" | "two-tone-native-ad" | "question" | "info-v4" | "check-v4" | "warning-circle" | "eye-v4" | "eye-slash" | "warning-v4";
|
|
9
9
|
fontSize?: string;
|
|
10
10
|
size?: "sm" | "lg";
|
|
11
11
|
iconWidth: number;
|
|
@@ -31,7 +31,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
31
31
|
isHorizontal?: boolean;
|
|
32
32
|
hasIcon?: boolean;
|
|
33
33
|
isBordered?: boolean;
|
|
34
|
-
iconName?: "filter" | "
|
|
34
|
+
iconName?: "filter" | "a" | "b" | "link" | "style" | "image" | "switch" | "search" | "ab-test" | "help" | "block" | "add" | "rotate" | "visibility" | "border-color" | "info" | "success" | "warning" | "error" | "close" | "check-circle" | "warning-octagon" | "cancel" | "pause" | "android" | "ios" | "FiltersSearch" | "a-2" | "ab-test-2" | "a-circle" | "account-balance-wallet" | "account-circle" | "account-circle-outline" | "analytics" | "angle-down" | "angle-left" | "angle-right" | "angle-up" | "app-store" | "area-chart" | "arrow-back" | "arrow-downward" | "arrow-forward" | "arrow-left" | "arrow-right" | "arrow-sort-down" | "arrow-sort-up" | "arrow-upward" | "auto-awesome" | "auto-mode" | "hammer" | "autorenew" | "b-2" | "b-circle" | "banner" | "bidding" | "bidding-2" | "bug" | "bullhorn" | "bullseye-arrow" | "cached" | "calendar" | "calendar-today" | "chart-bar" | "chart-line" | "chart-mixed" | "check" | "check-bold" | "close-bold" | "computer-mouse" | "copy-to-clipboard" | "widgets-flat-squares" | "adjust" | "copy-to-clipboard-filled" | "cube" | "cube-background" | "marketing" | "create" | "creative" | "cross" | "crown-fill" | "cup" | "cup-a" | "cup-b" | "delete" | "diamond" | "dots" | "download" | "download-2" | "download-done" | "drag-indicator" | "duplicate" | "ecpi" | "email" | "email-envelope" | "eye" | "favorite-border" | "filter-list" | "frame" | "fullscreen" | "fullscreen-exit" | "functions" | "gamepad-alt" | "games" | "gavel" | "gift" | "git-hub" | "globe-stand" | "google-play" | "group" | "hand-pointer" | "hands" | "heartbeat" | "help-outline" | "history" | "image-not-supported" | "image-slash" | "import-export" | "import-export-2" | "importent" | "info-outline" | "insights" | "interstitial" | "ios-14" | "js" | "landscape" | "launch" | "levelplay" | "limit-circle" | "limit-octagon" | "loading-clean" | "lock" | "lock-open" | "login" | "logout" | "military-tech" | "mix" | "mix-2" | "mobile-landscape" | "mobile-portrait" | "money-check" | "more-horiz" | "more-vert" | "mouse" | "mouse-pointer" | "moving-up" | "notifications-none" | "offerwall" | "palyable" | "paper-plane-off" | "paper-plane" | "pause-circle-filled" | "pause-circle-outline" | "phone-iphone" | "photo" | "photo-2" | "play-arrow" | "play-circle-filled-white" | "play-circle-outline" | "qrcode" | "quick-ab" | "quick-ab-2" | "react" | "redo" | "refresh" | "remove" | "replay" | "rewarded-video" | "rocket-launch" | "route" | "sack-dollar" | "schedule" | "search-bold" | "share" | "slack" | "sports-esports" | "star" | "star-fill" | "status-banner" | "status-interstitial" | "status-offerwall" | "status-rewarded-video" | "stop-circle-filled" | "stop-circle-outline" | "success-full" | "table-edit" | "tablet-landscape" | "tablet-mac" | "tablet-portrait" | "texture" | "theme-dark" | "theme-light" | "timelapse" | "timeline" | "trending-down" | "trending-flat" | "trending-up" | "tune" | "two-tone-banner" | "two-tone-interstitial" | "two-tone-offerwall" | "two-tone-rewarded-video" | "undo" | "unfold-less" | "unfold-more" | "vertical-align-top" | "vertical-align-top-2" | "vibration" | "video-round" | "view-carousel" | "visibility-off" | "visibility-off-strok" | "visibility-strok" | "volume-off" | "volume-up" | "warning-2" | "web-app" | "widgets" | "widgets-fill" | "widgetsz" | "wifi-protected-setup" | "native-ad" | "status-native-ad" | "two-tone-native-ad" | "question" | "info-v4" | "check-v4" | "warning-circle" | "eye-v4" | "eye-slash" | "warning-v4";
|
|
35
35
|
fontSize?: string;
|
|
36
36
|
size?: "sm" | "lg";
|
|
37
37
|
iconWidth: number;
|
|
@@ -56,7 +56,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
56
56
|
iconWidth: number;
|
|
57
57
|
iconHeight: number;
|
|
58
58
|
fontSize: string;
|
|
59
|
-
iconName: "filter" | "
|
|
59
|
+
iconName: "filter" | "a" | "b" | "link" | "style" | "image" | "switch" | "search" | "ab-test" | "help" | "block" | "add" | "rotate" | "visibility" | "border-color" | "info" | "success" | "warning" | "error" | "close" | "check-circle" | "warning-octagon" | "cancel" | "pause" | "android" | "ios" | "FiltersSearch" | "a-2" | "ab-test-2" | "a-circle" | "account-balance-wallet" | "account-circle" | "account-circle-outline" | "analytics" | "angle-down" | "angle-left" | "angle-right" | "angle-up" | "app-store" | "area-chart" | "arrow-back" | "arrow-downward" | "arrow-forward" | "arrow-left" | "arrow-right" | "arrow-sort-down" | "arrow-sort-up" | "arrow-upward" | "auto-awesome" | "auto-mode" | "hammer" | "autorenew" | "b-2" | "b-circle" | "banner" | "bidding" | "bidding-2" | "bug" | "bullhorn" | "bullseye-arrow" | "cached" | "calendar" | "calendar-today" | "chart-bar" | "chart-line" | "chart-mixed" | "check" | "check-bold" | "close-bold" | "computer-mouse" | "copy-to-clipboard" | "widgets-flat-squares" | "adjust" | "copy-to-clipboard-filled" | "cube" | "cube-background" | "marketing" | "create" | "creative" | "cross" | "crown-fill" | "cup" | "cup-a" | "cup-b" | "delete" | "diamond" | "dots" | "download" | "download-2" | "download-done" | "drag-indicator" | "duplicate" | "ecpi" | "email" | "email-envelope" | "eye" | "favorite-border" | "filter-list" | "frame" | "fullscreen" | "fullscreen-exit" | "functions" | "gamepad-alt" | "games" | "gavel" | "gift" | "git-hub" | "globe-stand" | "google-play" | "group" | "hand-pointer" | "hands" | "heartbeat" | "help-outline" | "history" | "image-not-supported" | "image-slash" | "import-export" | "import-export-2" | "importent" | "info-outline" | "insights" | "interstitial" | "ios-14" | "js" | "landscape" | "launch" | "levelplay" | "limit-circle" | "limit-octagon" | "loading-clean" | "lock" | "lock-open" | "login" | "logout" | "military-tech" | "mix" | "mix-2" | "mobile-landscape" | "mobile-portrait" | "money-check" | "more-horiz" | "more-vert" | "mouse" | "mouse-pointer" | "moving-up" | "notifications-none" | "offerwall" | "palyable" | "paper-plane-off" | "paper-plane" | "pause-circle-filled" | "pause-circle-outline" | "phone-iphone" | "photo" | "photo-2" | "play-arrow" | "play-circle-filled-white" | "play-circle-outline" | "qrcode" | "quick-ab" | "quick-ab-2" | "react" | "redo" | "refresh" | "remove" | "replay" | "rewarded-video" | "rocket-launch" | "route" | "sack-dollar" | "schedule" | "search-bold" | "share" | "slack" | "sports-esports" | "star" | "star-fill" | "status-banner" | "status-interstitial" | "status-offerwall" | "status-rewarded-video" | "stop-circle-filled" | "stop-circle-outline" | "success-full" | "table-edit" | "tablet-landscape" | "tablet-mac" | "tablet-portrait" | "texture" | "theme-dark" | "theme-light" | "timelapse" | "timeline" | "trending-down" | "trending-flat" | "trending-up" | "tune" | "two-tone-banner" | "two-tone-interstitial" | "two-tone-offerwall" | "two-tone-rewarded-video" | "undo" | "unfold-less" | "unfold-more" | "vertical-align-top" | "vertical-align-top-2" | "vibration" | "video-round" | "view-carousel" | "visibility-off" | "visibility-off-strok" | "visibility-strok" | "volume-off" | "volume-up" | "warning-2" | "web-app" | "widgets" | "widgets-fill" | "widgetsz" | "wifi-protected-setup" | "native-ad" | "status-native-ad" | "two-tone-native-ad" | "question" | "info-v4" | "check-v4" | "warning-circle" | "eye-v4" | "eye-slash" | "warning-v4";
|
|
60
60
|
subtitle: string;
|
|
61
61
|
buttonText: string;
|
|
62
62
|
isHorizontal: boolean;
|