@ironsource/shared-ui 2.1.6-rc.21 → 2.1.6-rc.23
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/AppDropdownTrigger.vue_vue_type_style_index_0_scoped_454709fb_lang.css +1 -0
- package/DropdownV4.vue_vue_type_style_index_0_scoped_2e7a89bc_lang.css +1 -0
- package/HelpIcon.vue_vue_type_style_index_0_scoped_06fce2e3_lang.css +1 -0
- package/OptionV4.vue_vue_type_style_index_0_scoped_89b98201_lang.css +1 -0
- package/components/dropdown/common/Dropdown.common.js +46 -44
- package/components/dropdown/v4/AppDropdownTrigger.vue.d.ts +11 -0
- package/components/dropdown/v4/AppDropdownTrigger.vue.js +2 -2
- package/components/dropdown/v4/AppDropdownTrigger.vue2.js +72 -58
- package/components/dropdown/v4/DropdownV4.vue.js +3 -3
- package/components/dropdown/v4/DropdownV4.vue2.js +44 -42
- package/components/dropdown/v4/OptionV4.vue.js +3 -3
- package/components/dropdown/v4/OptionV4.vue2.js +12 -12
- package/components/dropdown/v4/index.d.ts +40 -1
- package/components/table/v4/HelpIcon.vue.js +5 -5
- package/components/table/v4/HelpIcon.vue2.js +5 -5
- package/index.d.ts +80 -2
- package/mocks/apps.d.ts +1 -0
- package/package.json +1 -1
- package/AppDropdownTrigger.vue_vue_type_style_index_0_scoped_39c47ad1_lang.css +0 -1
- package/DropdownV4.vue_vue_type_style_index_0_scoped_0363db63_lang.css +0 -1
- package/HelpIcon.vue_vue_type_style_index_0_scoped_7a611779_lang.css +0 -1
- package/OptionV4.vue_vue_type_style_index_0_scoped_e0c24b6a_lang.css +0 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import "../../../DropdownV4.
|
|
1
|
+
import "../../../DropdownV4.vue_vue_type_style_index_0_scoped_2e7a89bc_lang.css"; import "../../../DropdownV4.vue_vue_type_style_index_1_lang.css"; import { defineComponent as se, computed as x, openBlock as i, createElementBlock as n, mergeProps as u, unref as e, renderSlot as w, createElementVNode as m, createVNode as a, withCtx as c, Transition as ue, normalizeClass as A, normalizeStyle as ce, isRef as fe, createCommentVNode as r, createTextVNode as g, toDisplayString as ye, withModifiers as $, Fragment as me, renderList as pe, toRaw as b, createBlock as H, resolveDynamicComponent as ge } from "vue";
|
|
2
2
|
import L from "../../button/v4/ButtonV4.vue.js";
|
|
3
3
|
import "../../button/v4/IconButtonV4.vue.js";
|
|
4
4
|
import "./DropdownV4.vue.js";
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
5
|
+
import ke from "./DefaultDropdownTrigger.vue.js";
|
|
6
|
+
import Te from "./IconButtonDropdownTrigger.vue.js";
|
|
7
|
+
import be from "./ChipDropdownTrigger.vue.js";
|
|
8
8
|
import he from "./AppDropdownTrigger.vue.js";
|
|
9
9
|
import "./ButtonDropdownTrigger.vue.js";
|
|
10
10
|
import "./ButtonFilterDropdownTrigger.vue.js";
|
|
@@ -19,7 +19,7 @@ import { useTestIdAttrs as Se } from "../../../utils/testIds.js";
|
|
|
19
19
|
import { TRIGGERS as p } from "./Dropdown.types.js";
|
|
20
20
|
import { useElementSize as Ae } from "@vueuse/core";
|
|
21
21
|
import Le from "../../shared/FieldHelpText.vue.js";
|
|
22
|
-
const Oe = ["tabindex"], Ee = { style: { width: "100%" } }, Be = { key: 0 },
|
|
22
|
+
const Oe = ["tabindex"], Ee = { style: { width: "100%" } }, Be = { key: 0 }, Ke = { key: 1 }, Ne = { key: 2 }, De = {
|
|
23
23
|
key: 0,
|
|
24
24
|
class: "inline-search-wrapper"
|
|
25
25
|
}, Pe = {
|
|
@@ -93,7 +93,7 @@ const Oe = ["tabindex"], Ee = { style: { width: "100%" } }, Be = { key: 0 }, Ne
|
|
|
93
93
|
DROPLIST_MIN_WIDTH: 240,
|
|
94
94
|
VERSION: 4
|
|
95
95
|
}, {
|
|
96
|
-
onKeydown:
|
|
96
|
+
onKeydown: k,
|
|
97
97
|
open: s,
|
|
98
98
|
toggleMenu: h,
|
|
99
99
|
onButtonKeydown: G,
|
|
@@ -105,10 +105,10 @@ const Oe = ["tabindex"], Ee = { style: { width: "100%" } }, Be = { key: 0 }, Ne
|
|
|
105
105
|
allSelected: B,
|
|
106
106
|
isIndeterminate: J,
|
|
107
107
|
onSelectAll: Q,
|
|
108
|
-
virtualOptions:
|
|
108
|
+
virtualOptions: K,
|
|
109
109
|
isSelected: S,
|
|
110
|
-
selectedOption:
|
|
111
|
-
selectedOptionPrevious:
|
|
110
|
+
selectedOption: T,
|
|
111
|
+
selectedOptionPrevious: N,
|
|
112
112
|
selectedValue: Z,
|
|
113
113
|
onSelect: D,
|
|
114
114
|
activeIndex: P,
|
|
@@ -122,7 +122,7 @@ const Oe = ["tabindex"], Ee = { style: { width: "100%" } }, Be = { key: 0 }, Ne
|
|
|
122
122
|
el: ne,
|
|
123
123
|
onClearAllSelections: F,
|
|
124
124
|
clearAll: ae
|
|
125
|
-
} = we(d, O, E),
|
|
125
|
+
} = we(d, O, E), y = Se(d.testId, f), z = x(() => !d.predefinedTrigger || d.predefinedTrigger === p.DEFAULT ? ke : d.predefinedTrigger === p.APP ? he : null), { width: V } = Ae(R), de = x(() => d.optionsListWidth ? d.optionsListWidth : !d.predefinedTrigger || d.predefinedTrigger === p.DEFAULT || d.predefinedTrigger === p.APP ? V.value - 2 > 240 ? `${V.value - 2}px` : `${E.DROPLIST_MIN_WIDTH}px` : "auto"), re = () => {
|
|
126
126
|
h();
|
|
127
127
|
};
|
|
128
128
|
return M({
|
|
@@ -133,12 +133,12 @@ const Oe = ["tabindex"], Ee = { style: { width: "100%" } }, Be = { key: 0 }, Ne
|
|
|
133
133
|
ref: ne,
|
|
134
134
|
class: ["dropdown dropdown--main-wrapper", [{ "dropdown--disabled": t.disabled, "full-width": t.fullWidth }]],
|
|
135
135
|
tabindex: t.disabled ? -1 : 0
|
|
136
|
-
}, e(
|
|
136
|
+
}, e(y)[e(f).WRAPPER], {
|
|
137
137
|
onKeydown: o[8] || (o[8] = //@ts-ignore
|
|
138
|
-
(...l) => e(
|
|
138
|
+
(...l) => e(k) && e(k)(...l))
|
|
139
139
|
}), [
|
|
140
140
|
w(I.$slots, "label", {}, void 0, !0),
|
|
141
|
-
|
|
141
|
+
m("div", Ee, [
|
|
142
142
|
a(e(ve), u({
|
|
143
143
|
theme: t.theme,
|
|
144
144
|
"popper-class": [
|
|
@@ -156,7 +156,7 @@ const Oe = ["tabindex"], Ee = { style: { width: "100%" } }, Be = { key: 0 }, Ne
|
|
|
156
156
|
"auto-hide": !1,
|
|
157
157
|
container: t.container,
|
|
158
158
|
"auto-size": t.autoSize
|
|
159
|
-
}, e(
|
|
159
|
+
}, e(y)[e(f).TRIGGER]), {
|
|
160
160
|
popper: c(() => [
|
|
161
161
|
a(ue, null, {
|
|
162
162
|
default: c(() => [
|
|
@@ -174,7 +174,7 @@ const Oe = ["tabindex"], Ee = { style: { width: "100%" } }, Be = { key: 0 }, Ne
|
|
|
174
174
|
key: 0,
|
|
175
175
|
class: A(["dropdown-list-wrapper", { "dropdown-list-wrapper--multi": t.multi }]),
|
|
176
176
|
onKeydown: o[7] || (o[7] = //@ts-ignore
|
|
177
|
-
(...l) => e(
|
|
177
|
+
(...l) => e(k) && e(k)(...l))
|
|
178
178
|
}, [
|
|
179
179
|
e(s) && t.inlineSearch ? (i(), n("div", De, [
|
|
180
180
|
a(e(Ie), {
|
|
@@ -188,25 +188,25 @@ const Oe = ["tabindex"], Ee = { style: { width: "100%" } }, Be = { key: 0 }, Ne
|
|
|
188
188
|
size: "md",
|
|
189
189
|
"auto-focus": t.searchAutoFocus,
|
|
190
190
|
"test-id": t.testId,
|
|
191
|
-
onKeydown: e(
|
|
191
|
+
onKeydown: e(k)
|
|
192
192
|
}, null, 8, ["modelValue", "placeholder", "auto-focus", "test-id", "onUpdate:modelValue", "onKeydown"])
|
|
193
193
|
])) : r("", !0),
|
|
194
194
|
w(I.$slots, "input-list", { open: e(s) }, void 0, !0),
|
|
195
|
-
|
|
195
|
+
m("div", u({
|
|
196
196
|
class: ["list-container", { "list-container--multi": t.multi }],
|
|
197
197
|
style: { height: `${e(q)}rem` }
|
|
198
198
|
}, {
|
|
199
199
|
...e(X),
|
|
200
|
-
...e(
|
|
200
|
+
...e(y)[e(f).LIST_CONTAINER]
|
|
201
201
|
}), [
|
|
202
|
-
|
|
202
|
+
m("ul", u(e(Y), {
|
|
203
203
|
role: "listbox",
|
|
204
204
|
class: ["list", { "list--multi": t.multi }]
|
|
205
205
|
}), [
|
|
206
206
|
!e(j).length && !t.loading ? (i(), n("li", Pe, [
|
|
207
|
-
a(e(W), u({ variant: "body2" }, e(
|
|
207
|
+
a(e(W), u({ variant: "body2" }, e(y)[e(f).NO_RESULT]), {
|
|
208
208
|
default: c(() => [
|
|
209
|
-
g(
|
|
209
|
+
g(ye(t.noResultsText), 1)
|
|
210
210
|
]),
|
|
211
211
|
_: 1
|
|
212
212
|
}, 16)
|
|
@@ -229,7 +229,7 @@ const Oe = ["tabindex"], Ee = { style: { width: "100%" } }, Be = { key: 0 }, Ne
|
|
|
229
229
|
"is-indeterminate": e(J),
|
|
230
230
|
"select-all-option": ""
|
|
231
231
|
},
|
|
232
|
-
e(
|
|
232
|
+
e(y)[e(f).SELECT_ALL],
|
|
233
233
|
{
|
|
234
234
|
onClick: o[5] || (o[5] = $((l) => e(Q)(), ["stop"]))
|
|
235
235
|
}
|
|
@@ -240,22 +240,22 @@ const Oe = ["tabindex"], Ee = { style: { width: "100%" } }, Be = { key: 0 }, Ne
|
|
|
240
240
|
_: 1
|
|
241
241
|
}, 16, ["aria-selected", "aria-disabled", "selected-prop", "is-indeterminate"])
|
|
242
242
|
])) : r("", !0),
|
|
243
|
-
e(
|
|
243
|
+
e(K).length && !t.loading ? (i(!0), n(me, { key: 3 }, pe(e(K), ({ data: l, index: v }) => (i(), n("li", {
|
|
244
244
|
key: v,
|
|
245
|
-
"aria-selected": e(S)(
|
|
245
|
+
"aria-selected": e(S)(b(e(T)), l),
|
|
246
246
|
"aria-disabled": !!t.disabled,
|
|
247
247
|
onClick: $(() => e(D)(l, v), ["stop"])
|
|
248
248
|
}, [
|
|
249
249
|
w(I.$slots, "default", {
|
|
250
250
|
option: l,
|
|
251
|
-
selected: e(S)(
|
|
252
|
-
active:
|
|
251
|
+
selected: e(S)(b(e(T)), l),
|
|
252
|
+
active: b(e(P)) === v,
|
|
253
253
|
disabled: l[d.disabledOptionKey]
|
|
254
254
|
}, () => [
|
|
255
255
|
a(e(U), {
|
|
256
256
|
option: l,
|
|
257
|
-
selected: e(S)(
|
|
258
|
-
active:
|
|
257
|
+
selected: e(S)(b(e(T)), l),
|
|
258
|
+
active: b(e(P)) === v,
|
|
259
259
|
disabled: l[d.disabledOptionKey],
|
|
260
260
|
"name-key": t.optionNameKey,
|
|
261
261
|
"image-key": t.optionImageKey,
|
|
@@ -269,7 +269,7 @@ const Oe = ["tabindex"], Ee = { style: { width: "100%" } }, Be = { key: 0 }, Ne
|
|
|
269
269
|
], 16)
|
|
270
270
|
], 16),
|
|
271
271
|
t.multi ? (i(), n("div", Ve, [
|
|
272
|
-
|
|
272
|
+
m("div", xe, [
|
|
273
273
|
a(e(L), u(
|
|
274
274
|
{
|
|
275
275
|
ref_key: "clearAll",
|
|
@@ -278,7 +278,7 @@ const Oe = ["tabindex"], Ee = { style: { width: "100%" } }, Be = { key: 0 }, Ne
|
|
|
278
278
|
variant: "text",
|
|
279
279
|
color: "primary"
|
|
280
280
|
},
|
|
281
|
-
e(
|
|
281
|
+
e(y)[e(f).ACTION_CLEAR_ALL],
|
|
282
282
|
{
|
|
283
283
|
onClick: o[6] || (o[6] = () => e(F)(!1))
|
|
284
284
|
}
|
|
@@ -289,7 +289,7 @@ const Oe = ["tabindex"], Ee = { style: { width: "100%" } }, Be = { key: 0 }, Ne
|
|
|
289
289
|
_: 1
|
|
290
290
|
}, 16)
|
|
291
291
|
]),
|
|
292
|
-
|
|
292
|
+
m("div", $e, [
|
|
293
293
|
a(e(L), u(
|
|
294
294
|
{
|
|
295
295
|
ref_key: "cancel",
|
|
@@ -298,7 +298,7 @@ const Oe = ["tabindex"], Ee = { style: { width: "100%" } }, Be = { key: 0 }, Ne
|
|
|
298
298
|
variant: "outlined",
|
|
299
299
|
color: "primary"
|
|
300
300
|
},
|
|
301
|
-
e(
|
|
301
|
+
e(y)[e(f).ACTION_CANCEL],
|
|
302
302
|
{ onClick: e(_) }
|
|
303
303
|
), {
|
|
304
304
|
default: c(() => [
|
|
@@ -312,7 +312,7 @@ const Oe = ["tabindex"], Ee = { style: { width: "100%" } }, Be = { key: 0 }, Ne
|
|
|
312
312
|
"data-testid": "mutli-apply",
|
|
313
313
|
size: "small",
|
|
314
314
|
class: "apply-button"
|
|
315
|
-
}, e(
|
|
315
|
+
}, e(y)[e(f).ACTION_APPLY], { onClick: e(ee) }), {
|
|
316
316
|
default: c(() => [
|
|
317
317
|
g("Apply ")
|
|
318
318
|
]),
|
|
@@ -327,7 +327,7 @@ const Oe = ["tabindex"], Ee = { style: { width: "100%" } }, Be = { key: 0 }, Ne
|
|
|
327
327
|
})
|
|
328
328
|
]),
|
|
329
329
|
default: c(() => [
|
|
330
|
-
|
|
330
|
+
m("div", {
|
|
331
331
|
class: A(["button__container", {
|
|
332
332
|
"button__container--open": !!e(s),
|
|
333
333
|
[`button__container--${t.size}`]: !0,
|
|
@@ -342,7 +342,7 @@ const Oe = ["tabindex"], Ee = { style: { width: "100%" } }, Be = { key: 0 }, Ne
|
|
|
342
342
|
onClick: () => e(h)()
|
|
343
343
|
}
|
|
344
344
|
}, () => [
|
|
345
|
-
|
|
345
|
+
m("div", {
|
|
346
346
|
ref_key: "buttonRef",
|
|
347
347
|
ref: R
|
|
348
348
|
}, [
|
|
@@ -356,13 +356,15 @@ const Oe = ["tabindex"], Ee = { style: { width: "100%" } }, Be = { key: 0 }, Ne
|
|
|
356
356
|
"test-id": t.testId,
|
|
357
357
|
multi: t.multi,
|
|
358
358
|
disabled: t.disabled,
|
|
359
|
-
"selected-option": t.multi ? e(
|
|
359
|
+
"selected-option": t.multi ? e(N) : e(T),
|
|
360
360
|
"display-value": t.displayValue,
|
|
361
361
|
options: t.options,
|
|
362
362
|
"option-name-key": t.optionNameKey,
|
|
363
363
|
"option-image-key": t.optionImageKey,
|
|
364
364
|
"option-icon-key": t.optionIconKey,
|
|
365
365
|
"option-icon-type": t.optionIconType,
|
|
366
|
+
"option-end-icon-key": t.optionEndIconKey,
|
|
367
|
+
"option-end-icon-type": t.optionEndIconType,
|
|
366
368
|
"feedback-variant": t.triggerFeedbackVariant,
|
|
367
369
|
"value-to-copy": t.valueToCopy,
|
|
368
370
|
"status-dot-type": t.statusType,
|
|
@@ -370,20 +372,20 @@ const Oe = ["tabindex"], Ee = { style: { width: "100%" } }, Be = { key: 0 }, Ne
|
|
|
370
372
|
onKeydown: e(G),
|
|
371
373
|
onClick: re,
|
|
372
374
|
onCopyToClipboard: o[0] || (o[0] = (l) => O("copyToClipboard"))
|
|
373
|
-
}, null, 40, ["placeholder", "open", "label", "show-feedback-icon", "mandatory", "test-id", "multi", "disabled", "selected-option", "display-value", "options", "option-name-key", "option-image-key", "option-icon-key", "option-icon-type", "feedback-variant", "value-to-copy", "status-dot-type", "size", "onKeydown"]))
|
|
375
|
+
}, null, 40, ["placeholder", "open", "label", "show-feedback-icon", "mandatory", "test-id", "multi", "disabled", "selected-option", "display-value", "options", "option-name-key", "option-image-key", "option-icon-key", "option-icon-type", "option-end-icon-key", "option-end-icon-type", "feedback-variant", "value-to-copy", "status-dot-type", "size", "onKeydown"]))
|
|
374
376
|
])) : r("", !0),
|
|
375
|
-
t.predefinedTrigger === e(p).ICON_BUTTON ? (i(), n("div",
|
|
376
|
-
a(e(
|
|
377
|
+
t.predefinedTrigger === e(p).ICON_BUTTON ? (i(), n("div", Ke, [
|
|
378
|
+
a(e(Te), {
|
|
377
379
|
onClick: o[1] || (o[1] = (l) => e(h)())
|
|
378
380
|
})
|
|
379
381
|
])) : r("", !0),
|
|
380
|
-
t.predefinedTrigger === e(p).CHIP ? (i(), n("div",
|
|
381
|
-
a(e(
|
|
382
|
+
t.predefinedTrigger === e(p).CHIP ? (i(), n("div", Ne, [
|
|
383
|
+
a(e(be), {
|
|
382
384
|
open: e(s),
|
|
383
385
|
label: t.placeholder,
|
|
384
386
|
"test-id": t.testId,
|
|
385
387
|
options: t.options,
|
|
386
|
-
"selected-option": t.multi ? e(
|
|
388
|
+
"selected-option": t.multi ? e(N) : e(T),
|
|
387
389
|
"display-value": t.displayValue,
|
|
388
390
|
multi: t.multi,
|
|
389
391
|
onClick: o[2] || (o[2] = (l) => e(h)()),
|
|
@@ -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 _ from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
// import "../../../OptionV4.vue_vue_type_style_index_0_scoped_89b98201_lang.css"; //*');
|
|
4
|
+
const s = /* @__PURE__ */ _(o, [["__scopeId", "data-v-89b98201"]]);
|
|
5
5
|
export {
|
|
6
6
|
s as default
|
|
7
7
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../../../OptionV4.
|
|
1
|
+
import "../../../OptionV4.vue_vue_type_style_index_0_scoped_89b98201_lang.css"; import { defineComponent as $, openBlock as n, createBlock as r, unref as i, withCtx as y, createElementVNode as s, normalizeClass as b, createCommentVNode as o, createElementBlock as l, renderSlot as c, createVNode as d, createTextVNode as k, toDisplayString as h, withModifiers as C } from "vue";
|
|
2
2
|
import "../../typography/Heading.vue.js";
|
|
3
3
|
import B from "../../typography/Text.vue.js";
|
|
4
4
|
import z from "../../checkbox/v4/CheckboxV4.vue.js";
|
|
@@ -35,10 +35,10 @@ const P = {
|
|
|
35
35
|
toolTipPlacement: { default: "right" }
|
|
36
36
|
},
|
|
37
37
|
setup(e) {
|
|
38
|
-
const
|
|
39
|
-
return (t, a) => (n(),
|
|
40
|
-
text:
|
|
41
|
-
"test-id":
|
|
38
|
+
const I = e, { selected: m, isMulti: u, id: K, onClick: v, api: T } = V(I), x = (t) => t && typeof t == "object" && "optionTooltipText" in t ? t.optionTooltipText : "", p = (t) => t && typeof t == "object" && "optionTooltipTestId" in t ? t.optionTooltipTestId : null;
|
|
39
|
+
return (t, a) => (n(), r(i(O), {
|
|
40
|
+
text: x(e.option),
|
|
41
|
+
"test-id": p(e.option),
|
|
42
42
|
placement: e.toolTipPlacement,
|
|
43
43
|
class: "tooltip-option"
|
|
44
44
|
}, {
|
|
@@ -49,24 +49,24 @@ const P = {
|
|
|
49
49
|
"item-container--disabled": e.disabled,
|
|
50
50
|
"item-container--active": e.nameKey ? !1 : e.active,
|
|
51
51
|
"item-container--selected": i(m),
|
|
52
|
-
"item-container--multi": i(
|
|
52
|
+
"item-container--multi": i(u)
|
|
53
53
|
}])
|
|
54
54
|
}, [
|
|
55
55
|
s("div", {
|
|
56
56
|
class: b(["item", {
|
|
57
|
-
"item--multi": i(
|
|
57
|
+
"item--multi": i(u),
|
|
58
58
|
"item--with-icon": t.$slots["icon-start"] || t.$slots.image
|
|
59
59
|
}])
|
|
60
60
|
}, [
|
|
61
|
-
i(
|
|
61
|
+
i(u) ? (n(), r(i(z), {
|
|
62
62
|
key: 0,
|
|
63
|
-
id: i(
|
|
63
|
+
id: i(K).toString(),
|
|
64
64
|
tabindex: "-1",
|
|
65
65
|
class: "checkbox",
|
|
66
66
|
size: "sm",
|
|
67
67
|
"is-checked": i(m),
|
|
68
68
|
"is-indeterminate": e.isIndeterminate && !e.option,
|
|
69
|
-
onClick: a[0] || (a[0] = (g) => e.disabled ? i(N)() : i(
|
|
69
|
+
onClick: a[0] || (a[0] = (g) => e.disabled ? i(N)() : i(v)(g))
|
|
70
70
|
}, null, 8, ["id", "is-checked", "is-indeterminate"])) : o("", !0),
|
|
71
71
|
t.$slots.image || e.imageKey ? (n(), l("div", P, [
|
|
72
72
|
c(t.$slots, "image", {}, () => [
|
|
@@ -97,7 +97,7 @@ const P = {
|
|
|
97
97
|
]),
|
|
98
98
|
_: 3
|
|
99
99
|
}),
|
|
100
|
-
e.subtitle ? (n(),
|
|
100
|
+
e.subtitle ? (n(), r(i(B), {
|
|
101
101
|
key: 0,
|
|
102
102
|
class: "subtitle",
|
|
103
103
|
size: "xs"
|
|
@@ -108,7 +108,7 @@ const P = {
|
|
|
108
108
|
_: 1
|
|
109
109
|
})) : o("", !0)
|
|
110
110
|
]),
|
|
111
|
-
t.$slots["icon-end"] || e.endIconKey ? (n(), l("div", M, [
|
|
111
|
+
t.$slots["icon-end"] || e.endIconKey && e.option[e.endIconKey] ? (n(), l("div", M, [
|
|
112
112
|
c(t.$slots, "icon-end", {}, () => [
|
|
113
113
|
d(i(f), {
|
|
114
114
|
type: e.endIconType,
|
|
@@ -553,6 +553,8 @@ declare const DropdownTypes: () => (({
|
|
|
553
553
|
optionIconKey: string;
|
|
554
554
|
optionImageKey: string;
|
|
555
555
|
optionIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test";
|
|
556
|
+
optionEndIconKey: string;
|
|
557
|
+
optionEndIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test";
|
|
556
558
|
valueToCopy: string;
|
|
557
559
|
selectedOption: any;
|
|
558
560
|
brandIconType: "android" | "ios";
|
|
@@ -623,6 +625,14 @@ declare const DropdownTypes: () => (({
|
|
|
623
625
|
type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test">;
|
|
624
626
|
default: any;
|
|
625
627
|
};
|
|
628
|
+
optionEndIconKey: {
|
|
629
|
+
type: import("vue").PropType<string>;
|
|
630
|
+
default: any;
|
|
631
|
+
};
|
|
632
|
+
optionEndIconType: {
|
|
633
|
+
type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test">;
|
|
634
|
+
default: any;
|
|
635
|
+
};
|
|
626
636
|
valueToCopy: {
|
|
627
637
|
type: import("vue").PropType<string>;
|
|
628
638
|
default: any;
|
|
@@ -638,7 +648,7 @@ declare const DropdownTypes: () => (({
|
|
|
638
648
|
}>> & {
|
|
639
649
|
onClick?: () => any;
|
|
640
650
|
onCopyToClipboard?: () => any;
|
|
641
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "label" | "disabled" | "size" | "open" | "mandatory" | "loading" | "testId" | "options" | "singleAppSelection" | "placeholder" | "multi" | "optionNameKey" | "optionIconKey" | "optionImageKey" | "optionIconType" | "valueToCopy" | "selectedOption" | "brandIconType">;
|
|
651
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "label" | "disabled" | "size" | "open" | "mandatory" | "loading" | "testId" | "options" | "singleAppSelection" | "placeholder" | "multi" | "optionNameKey" | "optionIconKey" | "optionImageKey" | "optionIconType" | "optionEndIconKey" | "optionEndIconType" | "valueToCopy" | "selectedOption" | "brandIconType">;
|
|
642
652
|
$attrs: {
|
|
643
653
|
[x: string]: unknown;
|
|
644
654
|
};
|
|
@@ -719,6 +729,14 @@ declare const DropdownTypes: () => (({
|
|
|
719
729
|
type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test">;
|
|
720
730
|
default: any;
|
|
721
731
|
};
|
|
732
|
+
optionEndIconKey: {
|
|
733
|
+
type: import("vue").PropType<string>;
|
|
734
|
+
default: any;
|
|
735
|
+
};
|
|
736
|
+
optionEndIconType: {
|
|
737
|
+
type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test">;
|
|
738
|
+
default: any;
|
|
739
|
+
};
|
|
722
740
|
valueToCopy: {
|
|
723
741
|
type: import("vue").PropType<string>;
|
|
724
742
|
default: any;
|
|
@@ -753,6 +771,8 @@ declare const DropdownTypes: () => (({
|
|
|
753
771
|
optionIconKey: string;
|
|
754
772
|
optionImageKey: string;
|
|
755
773
|
optionIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test";
|
|
774
|
+
optionEndIconKey: string;
|
|
775
|
+
optionEndIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test";
|
|
756
776
|
valueToCopy: string;
|
|
757
777
|
selectedOption: any;
|
|
758
778
|
brandIconType: "android" | "ios";
|
|
@@ -843,6 +863,14 @@ declare const DropdownTypes: () => (({
|
|
|
843
863
|
type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test">;
|
|
844
864
|
default: any;
|
|
845
865
|
};
|
|
866
|
+
optionEndIconKey: {
|
|
867
|
+
type: import("vue").PropType<string>;
|
|
868
|
+
default: any;
|
|
869
|
+
};
|
|
870
|
+
optionEndIconType: {
|
|
871
|
+
type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test">;
|
|
872
|
+
default: any;
|
|
873
|
+
};
|
|
846
874
|
valueToCopy: {
|
|
847
875
|
type: import("vue").PropType<string>;
|
|
848
876
|
default: any;
|
|
@@ -929,6 +957,14 @@ declare const DropdownTypes: () => (({
|
|
|
929
957
|
type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test">;
|
|
930
958
|
default: any;
|
|
931
959
|
};
|
|
960
|
+
optionEndIconKey: {
|
|
961
|
+
type: import("vue").PropType<string>;
|
|
962
|
+
default: any;
|
|
963
|
+
};
|
|
964
|
+
optionEndIconType: {
|
|
965
|
+
type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test">;
|
|
966
|
+
default: any;
|
|
967
|
+
};
|
|
932
968
|
valueToCopy: {
|
|
933
969
|
type: import("vue").PropType<string>;
|
|
934
970
|
default: any;
|
|
@@ -963,6 +999,8 @@ declare const DropdownTypes: () => (({
|
|
|
963
999
|
optionIconKey: string;
|
|
964
1000
|
optionImageKey: string;
|
|
965
1001
|
optionIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test";
|
|
1002
|
+
optionEndIconKey: string;
|
|
1003
|
+
optionEndIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test";
|
|
966
1004
|
valueToCopy: string;
|
|
967
1005
|
selectedOption: any;
|
|
968
1006
|
brandIconType: "android" | "ios";
|
|
@@ -970,6 +1008,7 @@ declare const DropdownTypes: () => (({
|
|
|
970
1008
|
$slots: {
|
|
971
1009
|
image?(_: {}): any;
|
|
972
1010
|
"icon-start"?(_: {}): any;
|
|
1011
|
+
"icon-end"?(_: {}): any;
|
|
973
1012
|
};
|
|
974
1013
|
})) | ({
|
|
975
1014
|
new (...args: any[]): {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
/* empty css */import
|
|
3
|
-
// import "../../../HelpIcon.
|
|
4
|
-
const
|
|
1
|
+
import e from "./HelpIcon.vue2.js";
|
|
2
|
+
/* empty css */import o from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
// import "../../../HelpIcon.vue_vue_type_style_index_0_scoped_06fce2e3_lang.css"; //*');
|
|
4
|
+
const s = /* @__PURE__ */ o(e, [["__scopeId", "data-v-06fce2e3"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
s as default
|
|
7
7
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "../../../HelpIcon.
|
|
2
|
-
import c from "../../icon/
|
|
3
|
-
import
|
|
1
|
+
import "../../../HelpIcon.vue_vue_type_style_index_0_scoped_06fce2e3_lang.css"; import { defineComponent as o, openBlock as l, createBlock as n, unref as t, withCtx as r, createVNode as a } from "vue";
|
|
2
|
+
import c from "../../icon/v4/IconV4.vue.js";
|
|
3
|
+
import p from "../../tooltip/v4/TooltipV4.vue.js";
|
|
4
4
|
const u = /* @__PURE__ */ o({
|
|
5
5
|
__name: "HelpIcon",
|
|
6
6
|
props: {
|
|
@@ -9,7 +9,7 @@ const u = /* @__PURE__ */ o({
|
|
|
9
9
|
testId: { default: "" }
|
|
10
10
|
},
|
|
11
11
|
setup(e) {
|
|
12
|
-
return (
|
|
12
|
+
return (i, m) => (l(), n(t(p), {
|
|
13
13
|
class: "table-help-icon",
|
|
14
14
|
triggers: ["hover"],
|
|
15
15
|
text: e.hoverHelpText,
|
|
@@ -20,7 +20,7 @@ const u = /* @__PURE__ */ o({
|
|
|
20
20
|
a(t(c), {
|
|
21
21
|
class: "info-icon",
|
|
22
22
|
name: "question",
|
|
23
|
-
|
|
23
|
+
size: "16px"
|
|
24
24
|
})
|
|
25
25
|
]),
|
|
26
26
|
_: 1
|