@ironsource/shared-ui 2.1.12-rc.24 → 2.1.12-rc.26
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/ChartPlane.vue_vue_type_style_index_0_scoped_ff7e556e_lang.css +1 -0
- package/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_38354f10_lang.css +1 -0
- package/ConditionalDropdown.vue_vue_type_style_index_0_scoped_683b8a75_lang.css +1 -0
- package/DataGrid.vue_vue_type_style_index_0_scoped_0963bb3c_lang.css +1 -0
- package/DropdownV4.vue_vue_type_style_index_0_scoped_1f7f7f9c_lang.css +1 -0
- package/OptionV4.vue_vue_type_style_index_0_scoped_9560a062_lang.css +1 -0
- package/SwitchV4.vue_vue_type_style_index_0_scoped_cd6621a7_lang.css +1 -0
- package/components/chart/Chart.vue.d.ts +1 -1
- package/components/chart/ChartPlane.vue.d.ts +1 -1
- package/components/chart/ChartPlane.vue.js +3 -3
- package/components/chart/ChartPlane.vue2.js +141 -141
- package/components/chart/index.d.ts +24 -24
- package/components/chart/utils/utils.d.ts +1 -2
- package/components/chart/utils/utils.js +13 -19
- package/components/dropdown/v4/ChipDropdownTrigger.vue.d.ts +5 -0
- package/components/dropdown/v4/ChipDropdownTrigger.vue.js +3 -3
- package/components/dropdown/v4/ChipDropdownTrigger.vue2.js +64 -54
- package/components/dropdown/v4/ConditionalDropdown.vue.d.ts +22 -9
- package/components/dropdown/v4/ConditionalDropdown.vue.js +4 -4
- package/components/dropdown/v4/ConditionalDropdown.vue2.js +144 -131
- package/components/dropdown/v4/DropdownV4.vue.d.ts +10 -0
- package/components/dropdown/v4/DropdownV4.vue.js +2 -2
- package/components/dropdown/v4/DropdownV4.vue2.js +78 -74
- package/components/dropdown/v4/OptionV4.vue.js +3 -3
- package/components/dropdown/v4/OptionV4.vue2.js +41 -39
- package/components/dropdown/v4/dropdownStoryArgs.d.ts +8 -0
- package/components/dropdown/v4/index.d.ts +485 -103
- package/components/includeExclude/IncludeExclude.vue.d.ts +1 -1
- package/components/includeExclude/IncludeExcludeDragDrop.vue.d.ts +1 -1
- package/components/includeExclude/index.d.ts +40 -40
- package/components/switch/v4/SwitchV4.vue.d.ts +11 -0
- package/components/switch/v4/SwitchV4.vue.js +2 -2
- package/components/switch/v4/SwitchV4.vue2.js +39 -26
- package/components/switch/v4/index.d.ts +18 -0
- package/components/table/v4/DataGrid.vue.js +2 -2
- package/components/table/v4/DataGrid.vue2.js +5 -5
- package/index.d.ts +1010 -210
- package/index.js +1 -1
- package/mocks/optionsWithIcons.d.ts +1 -0
- package/package.json +1 -1
- package/ChartPlane.vue_vue_type_style_index_0_scoped_903fc6ae_lang.css +0 -1
- package/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_e43ac1c9_lang.css +0 -1
- package/ConditionalDropdown.vue_vue_type_style_index_0_scoped_8d5521da_lang.css +0 -1
- package/DataGrid.vue_vue_type_style_index_0_scoped_086c5b0d_lang.css +0 -1
- package/DropdownV4.vue_vue_type_style_index_0_scoped_86b82f0c_lang.css +0 -1
- package/OptionV4.vue_vue_type_style_index_0_scoped_3dc741c1_lang.css +0 -1
- package/SwitchV4.vue_vue_type_style_index_0_scoped_fa120cf6_lang.css +0 -1
- package/components/chart/composables/useChartValues.d.ts +0 -12
- package/components/chart/composables/useChartValues.js +0 -32
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "../../../DropdownV4.
|
|
2
|
-
import
|
|
1
|
+
import "../../../DropdownV4.vue_vue_type_style_index_0_scoped_1f7f7f9c_lang.css"; import "../../../DropdownV4.vue_vue_type_style_index_1_lang.css"; import { defineComponent as ke, computed as E, watch as Te, toRaw as I, openBlock as d, createElementBlock as r, mergeProps as f, unref as t, renderSlot as m, createElementVNode as p, createVNode as a, withCtx as u, Transition as we, normalizeClass as B, normalizeStyle as be, createTextVNode as T, createCommentVNode as s, isRef as Ie, toDisplayString as X, withModifiers as q, Fragment as ve, renderList as Se, createSlots as Ce, createBlock as x, resolveDynamicComponent as Ke } from "vue";
|
|
2
|
+
import F from "../../button/v4/ButtonV4.vue.js";
|
|
3
3
|
import "../../button/v4/IconButtonV4.vue.js";
|
|
4
4
|
import "../../button/v4/ButtonGroup.vue.js";
|
|
5
5
|
import "../../button/v4/ToggleButtonGroupAB.vue.js";
|
|
@@ -20,9 +20,9 @@ import { DropdownTestIdModifiers as g } from "../../../testids/index.js";
|
|
|
20
20
|
import { dropdownCommon as Fe } from "../common/Dropdown.common.js";
|
|
21
21
|
import C from "../../skeleton/v4/SkeletonV4.vue.js";
|
|
22
22
|
import { useTestIdAttrs as Ne } from "../../../utils/testIds.js";
|
|
23
|
-
import { TRIGGERS as
|
|
24
|
-
import { useElementSize as
|
|
25
|
-
import
|
|
23
|
+
import { TRIGGERS as w } from "./Dropdown.types.js";
|
|
24
|
+
import { useElementSize as Ve } from "@vueuse/core";
|
|
25
|
+
import De from "../../shared/FieldHelpText.vue.js";
|
|
26
26
|
import Pe from "./GroupOption.vue.js";
|
|
27
27
|
const Re = ["tabindex"], ze = { style: { width: "100%" } }, $e = { key: 0 }, Me = { key: 1 }, We = { key: 2 }, Ge = {
|
|
28
28
|
key: 0,
|
|
@@ -36,7 +36,7 @@ const Re = ["tabindex"], ze = { style: { width: "100%" } }, $e = { key: 0 }, Me
|
|
|
36
36
|
}, Ye = {
|
|
37
37
|
key: 1,
|
|
38
38
|
class: "actions-wrapper"
|
|
39
|
-
}, je = { class: "actions-clear-all" }, Je = { class: "actions-apply-cancel" }, St = /* @__PURE__ */
|
|
39
|
+
}, je = { class: "actions-clear-all" }, Je = { class: "actions-apply-cancel" }, St = /* @__PURE__ */ ke({
|
|
40
40
|
__name: "DropdownV4",
|
|
41
41
|
props: {
|
|
42
42
|
modelValue: { default: null },
|
|
@@ -52,6 +52,7 @@ const Re = ["tabindex"], ze = { style: { width: "100%" } }, $e = { key: 0 }, Me
|
|
|
52
52
|
isOpen: { type: Boolean },
|
|
53
53
|
options: null,
|
|
54
54
|
showSelectAll: { type: Boolean, default: !0 },
|
|
55
|
+
showClearAll: { type: Boolean, default: !0 },
|
|
55
56
|
defaultOpen: { type: Boolean, default: !1 },
|
|
56
57
|
keepOpen: { type: Boolean, default: !1 },
|
|
57
58
|
autoSize: { type: Boolean, default: !1 },
|
|
@@ -71,9 +72,10 @@ const Re = ["tabindex"], ze = { style: { width: "100%" } }, $e = { key: 0 }, Me
|
|
|
71
72
|
triggerFeedbackVariant: { default: null },
|
|
72
73
|
triggerFeedbackShowIcon: { type: Boolean, default: !1 },
|
|
73
74
|
triggerShowAllSelectedText: { type: Boolean, default: !0 },
|
|
75
|
+
triggerShownValuesCount: { default: 1 },
|
|
74
76
|
size: { default: "medium" },
|
|
75
77
|
mandatory: { type: Boolean, default: !1 },
|
|
76
|
-
predefinedTrigger: { default:
|
|
78
|
+
predefinedTrigger: { default: w.DEFAULT },
|
|
77
79
|
inlineSearch: { type: Boolean, default: !1 },
|
|
78
80
|
inlineSearchPlaceholder: { default: "Search" },
|
|
79
81
|
onSearch: { type: Function, default: null },
|
|
@@ -106,8 +108,8 @@ const Re = ["tabindex"], ze = { style: { width: "100%" } }, $e = { key: 0 }, Me
|
|
|
106
108
|
withConditions: { type: Boolean, default: !1 }
|
|
107
109
|
},
|
|
108
110
|
emits: ["update:selected", "update:isOpen", "closed", "opened", "apply", "selectAll", "clear", "copyToClipboard", "onsearch", "loadMore", "allSelectedChanged", "unsavedSelectionUpdate"],
|
|
109
|
-
setup(e, { expose: J, emit:
|
|
110
|
-
const o = e,
|
|
111
|
+
setup(e, { expose: J, emit: N }) {
|
|
112
|
+
const o = e, V = {
|
|
111
113
|
MULTILINE_LIST_HEIGHT: 48,
|
|
112
114
|
LIST_HEIGHT: 32 + 4,
|
|
113
115
|
MAX_NUMBER_OF_OPTIONS: 7.5,
|
|
@@ -115,7 +117,7 @@ const Re = ["tabindex"], ze = { style: { width: "100%" } }, $e = { key: 0 }, Me
|
|
|
115
117
|
DROPLIST_MIN_WIDTH: 240,
|
|
116
118
|
VERSION: 4
|
|
117
119
|
}, {
|
|
118
|
-
onKeydown:
|
|
120
|
+
onKeydown: b,
|
|
119
121
|
open: c,
|
|
120
122
|
toggleMenu: v,
|
|
121
123
|
onButtonKeydown: D,
|
|
@@ -124,31 +126,31 @@ const Re = ["tabindex"], ze = { style: { width: "100%" } }, $e = { key: 0 }, Me
|
|
|
124
126
|
calculateTableHeight: Z,
|
|
125
127
|
wrapperProps: _,
|
|
126
128
|
filteredOptions: ee,
|
|
127
|
-
allSelected:
|
|
129
|
+
allSelected: P,
|
|
128
130
|
allSelectedApplied: K,
|
|
129
131
|
isIndeterminate: te,
|
|
130
132
|
onSelectAll: oe,
|
|
131
|
-
virtualOptions:
|
|
133
|
+
virtualOptions: R,
|
|
132
134
|
isSelected: A,
|
|
133
|
-
selectedOption:
|
|
135
|
+
selectedOption: k,
|
|
134
136
|
selectedOptionPrevious: O,
|
|
135
137
|
selectedValue: ne,
|
|
136
|
-
onSelect:
|
|
137
|
-
activeIndex:
|
|
138
|
+
onSelect: z,
|
|
139
|
+
activeIndex: $,
|
|
138
140
|
onCancel: ie,
|
|
139
141
|
onApply: le,
|
|
140
142
|
scrollTo: ae,
|
|
141
143
|
listRef: de,
|
|
142
|
-
buttonRef:
|
|
144
|
+
buttonRef: M,
|
|
143
145
|
apply: se,
|
|
144
146
|
cancel: re,
|
|
145
147
|
el: ue,
|
|
146
|
-
onClearAllSelections:
|
|
148
|
+
onClearAllSelections: W,
|
|
147
149
|
clearAll: ce,
|
|
148
150
|
isGroup: ye,
|
|
149
151
|
flattenAndMarkGroupOptions: me
|
|
150
|
-
} = Fe(o,
|
|
151
|
-
|
|
152
|
+
} = Fe(o, N, V), h = Ne(o.testId, g), G = E(() => !o.predefinedTrigger || o.predefinedTrigger === w.DEFAULT ? Ae : o.predefinedTrigger === w.APP ? Ee : null), { width: H } = Ve(M), fe = E(() => o.optionsListWidth ? o.optionsListWidth : !o.predefinedTrigger || o.predefinedTrigger === w.DEFAULT || o.predefinedTrigger === w.APP ? H.value - 2 > 240 ? `${H.value - 2}px` : `${V.DROPLIST_MIN_WIDTH}px` : "auto");
|
|
153
|
+
Te(
|
|
152
154
|
() => o.optionsListWidth,
|
|
153
155
|
() => {
|
|
154
156
|
o.optionsListWidth && document.documentElement.style.setProperty(
|
|
@@ -157,11 +159,11 @@ const Re = ["tabindex"], ze = { style: { width: "100%" } }, $e = { key: 0 }, Me
|
|
|
157
159
|
);
|
|
158
160
|
}
|
|
159
161
|
);
|
|
160
|
-
const
|
|
162
|
+
const U = () => {
|
|
161
163
|
v();
|
|
162
164
|
}, pe = E(() => {
|
|
163
165
|
if (o.multi && o.comparingKey) {
|
|
164
|
-
const i = I(
|
|
166
|
+
const i = I(k.value);
|
|
165
167
|
if (o.minSelections || o.maxSelections) {
|
|
166
168
|
if (Array.isArray(i) && i.length <= o.minSelections)
|
|
167
169
|
return i.map((l) => l[o.comparingKey]);
|
|
@@ -184,16 +186,16 @@ const Re = ["tabindex"], ze = { style: { width: "100%" } }, $e = { key: 0 }, Me
|
|
|
184
186
|
);
|
|
185
187
|
}, L = (i) => i[o.disabledOptionKey] || ge(i);
|
|
186
188
|
return J({
|
|
187
|
-
selectItem:
|
|
189
|
+
selectItem: z,
|
|
188
190
|
scrollTo: ae
|
|
189
191
|
}), (i, l) => (d(), r("div", f({
|
|
190
192
|
ref_key: "el",
|
|
191
193
|
ref: ue,
|
|
192
194
|
class: ["dropdown dropdown--main-wrapper", [{ "dropdown--disabled": e.disabled, "full-width": e.fullWidth }]],
|
|
193
195
|
tabindex: e.disabled ? -1 : 0
|
|
194
|
-
}, t(
|
|
196
|
+
}, t(h)[t(g).WRAPPER], {
|
|
195
197
|
onKeydown: l[8] || (l[8] = //@ts-ignore
|
|
196
|
-
(...n) => t(
|
|
198
|
+
(...n) => t(b) && t(b)(...n))
|
|
197
199
|
}), [
|
|
198
200
|
m(i.$slots, "label", {}, void 0, !0),
|
|
199
201
|
p("div", ze, [
|
|
@@ -214,9 +216,9 @@ const Re = ["tabindex"], ze = { style: { width: "100%" } }, $e = { key: 0 }, Me
|
|
|
214
216
|
"auto-hide": !1,
|
|
215
217
|
container: e.container,
|
|
216
218
|
"auto-size": e.autoSize
|
|
217
|
-
}, t(
|
|
219
|
+
}, t(h)[t(g).TRIGGER]), {
|
|
218
220
|
popper: u(() => [
|
|
219
|
-
a(
|
|
221
|
+
a(we, null, {
|
|
220
222
|
default: u(() => [
|
|
221
223
|
t(c) ? (d(), r("div", {
|
|
222
224
|
key: 0,
|
|
@@ -226,20 +228,20 @@ const Re = ["tabindex"], ze = { style: { width: "100%" } }, $e = { key: 0 }, Me
|
|
|
226
228
|
"dropdown--disabled": e.disabled,
|
|
227
229
|
"inline-search": e.inlineSearch
|
|
228
230
|
}]),
|
|
229
|
-
style:
|
|
231
|
+
style: be({ width: t(fe) })
|
|
230
232
|
}, [
|
|
231
233
|
t(c) ? (d(), r("div", {
|
|
232
234
|
key: 0,
|
|
233
235
|
class: B(["dropdown-list-wrapper", { "dropdown-list-wrapper--multi": e.multi }]),
|
|
234
236
|
onKeydown: l[7] || (l[7] = //@ts-ignore
|
|
235
|
-
(...n) => t(
|
|
237
|
+
(...n) => t(b) && t(b)(...n))
|
|
236
238
|
}, [
|
|
237
239
|
t(c) && e.inlineSearch ? (d(), r("div", Ge, [
|
|
238
240
|
e.withConditions ? m(i.$slots, "dropdown-conditions", { key: 0 }, () => [
|
|
239
241
|
p("div", He, [
|
|
240
242
|
a(t(j), { variant: "body2" }, {
|
|
241
243
|
default: u(() => [
|
|
242
|
-
|
|
244
|
+
T("Conditions")
|
|
243
245
|
]),
|
|
244
246
|
_: 1
|
|
245
247
|
})
|
|
@@ -257,7 +259,7 @@ const Re = ["tabindex"], ze = { style: { width: "100%" } }, $e = { key: 0 }, Me
|
|
|
257
259
|
size: "md",
|
|
258
260
|
"auto-focus": e.searchAutoFocus,
|
|
259
261
|
"test-id": e.testId,
|
|
260
|
-
onKeydown: t(
|
|
262
|
+
onKeydown: t(b)
|
|
261
263
|
}, null, 8, ["modelValue", "placeholder", "auto-focus", "test-id", "onUpdate:modelValue", "onKeydown"])
|
|
262
264
|
], !0)
|
|
263
265
|
])) : s("", !0),
|
|
@@ -267,7 +269,7 @@ const Re = ["tabindex"], ze = { style: { width: "100%" } }, $e = { key: 0 }, Me
|
|
|
267
269
|
style: { height: `${t(Z)}rem` }
|
|
268
270
|
}, {
|
|
269
271
|
...t(Q),
|
|
270
|
-
...t(
|
|
272
|
+
...t(h)[t(g).LIST_CONTAINER]
|
|
271
273
|
}), [
|
|
272
274
|
m(i.$slots, "custom-list-area", {}, void 0, !0),
|
|
273
275
|
p("ul", f(t(_), {
|
|
@@ -278,9 +280,9 @@ const Re = ["tabindex"], ze = { style: { width: "100%" } }, $e = { key: 0 }, Me
|
|
|
278
280
|
}]
|
|
279
281
|
}), [
|
|
280
282
|
!t(ee).length && !e.loading && !e.withConditions ? (d(), r("li", Ue, [
|
|
281
|
-
a(t(j), f({ variant: "body2" }, t(
|
|
283
|
+
a(t(j), f({ variant: "body2" }, t(h)[t(g).NO_RESULT]), {
|
|
282
284
|
default: u(() => [
|
|
283
|
-
|
|
285
|
+
T(X(e.noResultsText), 1)
|
|
284
286
|
]),
|
|
285
287
|
_: 1
|
|
286
288
|
}, 16)
|
|
@@ -289,38 +291,38 @@ const Re = ["tabindex"], ze = { style: { width: "100%" } }, $e = { key: 0 }, Me
|
|
|
289
291
|
p("li", null, [
|
|
290
292
|
a(t(Y), f(
|
|
291
293
|
{
|
|
292
|
-
"aria-selected": t(
|
|
294
|
+
"aria-selected": t(P),
|
|
293
295
|
"aria-disabled": !!e.disabled,
|
|
294
|
-
"selected-prop": t(
|
|
296
|
+
"selected-prop": t(P),
|
|
295
297
|
"is-indeterminate": t(te),
|
|
296
298
|
"is-multi": e.multi,
|
|
297
299
|
"select-all-option": ""
|
|
298
300
|
},
|
|
299
|
-
t(
|
|
301
|
+
t(h)[t(g).SELECT_ALL],
|
|
300
302
|
{
|
|
301
|
-
onClick: l[5] || (l[5] =
|
|
303
|
+
onClick: l[5] || (l[5] = q((n) => t(oe)(), ["stop"]))
|
|
302
304
|
}
|
|
303
305
|
), {
|
|
304
306
|
default: u(() => [
|
|
305
|
-
|
|
307
|
+
T(" Select all ")
|
|
306
308
|
]),
|
|
307
309
|
_: 1
|
|
308
310
|
}, 16, ["aria-selected", "aria-disabled", "selected-prop", "is-indeterminate", "is-multi"])
|
|
309
311
|
])
|
|
310
312
|
], !0) : s("", !0),
|
|
311
|
-
t(
|
|
313
|
+
t(R).length && !e.loading ? (d(!0), r(ve, { key: 2 }, Se(t(R), ({ data: n, index: y }) => (d(), r("li", {
|
|
312
314
|
key: y,
|
|
313
|
-
"aria-selected": t(A)(I(t(
|
|
315
|
+
"aria-selected": t(A)(I(t(k)), n),
|
|
314
316
|
"aria-disabled": !!e.disabled,
|
|
315
|
-
onClick:
|
|
316
|
-
() => !L(n) && t(
|
|
317
|
+
onClick: q(
|
|
318
|
+
() => !L(n) && t(z)(n, y),
|
|
317
319
|
["stop"]
|
|
318
320
|
)
|
|
319
321
|
}, [
|
|
320
322
|
e.groupedOptions && t(ye)(n) ? m(i.$slots, "group-option", { key: 0 }, () => [
|
|
321
323
|
a(Pe, null, {
|
|
322
324
|
default: u(() => [
|
|
323
|
-
|
|
325
|
+
T(X(e.displayValue(n) || n[e.optionNameKey]), 1)
|
|
324
326
|
]),
|
|
325
327
|
_: 2
|
|
326
328
|
}, 1024)
|
|
@@ -328,14 +330,14 @@ const Re = ["tabindex"], ze = { style: { width: "100%" } }, $e = { key: 0 }, Me
|
|
|
328
330
|
key: 1,
|
|
329
331
|
option: n,
|
|
330
332
|
index: y,
|
|
331
|
-
selected: t(A)(I(t(
|
|
332
|
-
active: I(t(
|
|
333
|
+
selected: t(A)(I(t(k)), n),
|
|
334
|
+
active: I(t($)) === y,
|
|
333
335
|
disabled: L(n)
|
|
334
336
|
}, () => [
|
|
335
337
|
a(t(Y), {
|
|
336
338
|
option: n,
|
|
337
|
-
"selected-prop": t(A)(t(
|
|
338
|
-
active: I(t(
|
|
339
|
+
"selected-prop": t(A)(t(k), n),
|
|
340
|
+
active: I(t($)) === y,
|
|
339
341
|
disabled: L(n),
|
|
340
342
|
"name-key": e.optionNameKey,
|
|
341
343
|
"image-key": e.optionImageKey,
|
|
@@ -352,8 +354,8 @@ const Re = ["tabindex"], ze = { style: { width: "100%" } }, $e = { key: 0 }, Me
|
|
|
352
354
|
}, Ce({ _: 2 }, [
|
|
353
355
|
i.$slots["option-end"] ? {
|
|
354
356
|
name: "option-end",
|
|
355
|
-
fn: u(({ option:
|
|
356
|
-
m(i.$slots, "option-end", { option:
|
|
357
|
+
fn: u(({ option: he }) => [
|
|
358
|
+
m(i.$slots, "option-end", { option: he }, void 0, !0)
|
|
357
359
|
]),
|
|
358
360
|
key: "0"
|
|
359
361
|
} : void 0
|
|
@@ -370,27 +372,28 @@ const Re = ["tabindex"], ze = { style: { width: "100%" } }, $e = { key: 0 }, Me
|
|
|
370
372
|
], 16),
|
|
371
373
|
e.multi ? (d(), r("div", Ye, [
|
|
372
374
|
p("div", je, [
|
|
373
|
-
|
|
375
|
+
e.showClearAll ? (d(), x(t(F), f(
|
|
374
376
|
{
|
|
377
|
+
key: 0,
|
|
375
378
|
ref_key: "clearAll",
|
|
376
379
|
ref: ce,
|
|
377
380
|
size: "small",
|
|
378
381
|
variant: "text",
|
|
379
382
|
color: "primary"
|
|
380
383
|
},
|
|
381
|
-
t(
|
|
384
|
+
t(h)[t(g).ACTION_CLEAR_ALL],
|
|
382
385
|
{
|
|
383
|
-
onClick: l[6] || (l[6] = () => t(
|
|
386
|
+
onClick: l[6] || (l[6] = () => t(W)(!1))
|
|
384
387
|
}
|
|
385
388
|
), {
|
|
386
389
|
default: u(() => [
|
|
387
|
-
|
|
390
|
+
T(" Clear all ")
|
|
388
391
|
]),
|
|
389
392
|
_: 1
|
|
390
|
-
}, 16)
|
|
393
|
+
}, 16)) : s("", !0)
|
|
391
394
|
]),
|
|
392
395
|
p("div", Je, [
|
|
393
|
-
a(t(
|
|
396
|
+
a(t(F), f(
|
|
394
397
|
{
|
|
395
398
|
ref_key: "cancel",
|
|
396
399
|
ref: re,
|
|
@@ -398,23 +401,23 @@ const Re = ["tabindex"], ze = { style: { width: "100%" } }, $e = { key: 0 }, Me
|
|
|
398
401
|
variant: "outlined",
|
|
399
402
|
color: "primary"
|
|
400
403
|
},
|
|
401
|
-
t(
|
|
404
|
+
t(h)[t(g).ACTION_CANCEL],
|
|
402
405
|
{ onClick: t(ie) }
|
|
403
406
|
), {
|
|
404
407
|
default: u(() => [
|
|
405
|
-
|
|
408
|
+
T(" Cancel ")
|
|
406
409
|
]),
|
|
407
410
|
_: 1
|
|
408
411
|
}, 16, ["onClick"]),
|
|
409
|
-
a(t(
|
|
412
|
+
a(t(F), f({
|
|
410
413
|
ref_key: "apply",
|
|
411
414
|
ref: se,
|
|
412
415
|
"data-testid": "mutli-apply",
|
|
413
416
|
size: "small",
|
|
414
417
|
class: "apply-button"
|
|
415
|
-
}, t(
|
|
418
|
+
}, t(h)[t(g).ACTION_APPLY], { onClick: t(le) }), {
|
|
416
419
|
default: u(() => [
|
|
417
|
-
|
|
420
|
+
T(" Apply ")
|
|
418
421
|
]),
|
|
419
422
|
_: 1
|
|
420
423
|
}, 16, ["onClick"])
|
|
@@ -436,7 +439,7 @@ const Re = ["tabindex"], ze = { style: { width: "100%" } }, $e = { key: 0 }, Me
|
|
|
436
439
|
}, [
|
|
437
440
|
p("div", {
|
|
438
441
|
ref_key: "buttonRef",
|
|
439
|
-
ref:
|
|
442
|
+
ref: M
|
|
440
443
|
}, [
|
|
441
444
|
m(i.$slots, "dropdown-trigger", {
|
|
442
445
|
buttonTriggerProps: {
|
|
@@ -454,7 +457,7 @@ const Re = ["tabindex"], ze = { style: { width: "100%" } }, $e = { key: 0 }, Me
|
|
|
454
457
|
testId: e.testId,
|
|
455
458
|
multi: e.multi,
|
|
456
459
|
disabled: e.disabled,
|
|
457
|
-
selectedOption: e.multi ? t(O) : t(
|
|
460
|
+
selectedOption: e.multi ? t(O) : t(k),
|
|
458
461
|
displayValue: e.displayValue,
|
|
459
462
|
options: e.options,
|
|
460
463
|
optionNameKey: e.optionNameKey,
|
|
@@ -472,11 +475,11 @@ const Re = ["tabindex"], ze = { style: { width: "100%" } }, $e = { key: 0 }, Me
|
|
|
472
475
|
showAllSelectedText: e.triggerShowAllSelectedText,
|
|
473
476
|
allSelected: t(K),
|
|
474
477
|
onKeydown: t(D),
|
|
475
|
-
onClick:
|
|
478
|
+
onClick: U
|
|
476
479
|
}
|
|
477
480
|
}, () => [
|
|
478
|
-
t(
|
|
479
|
-
(d(),
|
|
481
|
+
t(G) ? (d(), r("div", $e, [
|
|
482
|
+
(d(), x(Ke(t(G)), {
|
|
480
483
|
placeholder: e.placeholder,
|
|
481
484
|
open: t(c),
|
|
482
485
|
label: e.triggerLabel,
|
|
@@ -485,7 +488,7 @@ const Re = ["tabindex"], ze = { style: { width: "100%" } }, $e = { key: 0 }, Me
|
|
|
485
488
|
"test-id": e.testId,
|
|
486
489
|
multi: e.multi,
|
|
487
490
|
disabled: e.disabled,
|
|
488
|
-
"selected-option": e.multi ? t(O) : t(
|
|
491
|
+
"selected-option": e.multi ? t(O) : t(k),
|
|
489
492
|
"display-value": e.displayValue,
|
|
490
493
|
options: e.options,
|
|
491
494
|
"option-name-key": e.optionNameKey,
|
|
@@ -503,28 +506,29 @@ const Re = ["tabindex"], ze = { style: { width: "100%" } }, $e = { key: 0 }, Me
|
|
|
503
506
|
"show-all-selected-text": e.triggerShowAllSelectedText,
|
|
504
507
|
"all-selected": t(K),
|
|
505
508
|
onKeydown: t(D),
|
|
506
|
-
onClick:
|
|
507
|
-
onCopyToClipboard: l[0] || (l[0] = (n) =>
|
|
509
|
+
onClick: U,
|
|
510
|
+
onCopyToClipboard: l[0] || (l[0] = (n) => N("copyToClipboard"))
|
|
508
511
|
}, 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", "options-end-text-icon-key", "option-flag-key", "feedback-variant", "value-to-copy", "status-dot-type", "size", "show-all-selected-text", "all-selected", "onKeydown"]))
|
|
509
512
|
])) : s("", !0),
|
|
510
|
-
e.predefinedTrigger === t(
|
|
513
|
+
e.predefinedTrigger === t(w).ICON_BUTTON ? (d(), r("div", Me, [
|
|
511
514
|
a(t(Oe), {
|
|
512
515
|
onClick: l[1] || (l[1] = (n) => t(v)())
|
|
513
516
|
})
|
|
514
517
|
])) : s("", !0),
|
|
515
|
-
e.predefinedTrigger === t(
|
|
518
|
+
e.predefinedTrigger === t(w).CHIP ? (d(), r("div", We, [
|
|
516
519
|
a(t(Le), {
|
|
517
520
|
open: t(c),
|
|
518
521
|
label: e.placeholder,
|
|
519
522
|
"test-id": e.testId,
|
|
520
523
|
options: e.options,
|
|
521
|
-
"selected-option": e.multi ? t(O) : t(
|
|
524
|
+
"selected-option": e.multi ? t(O) : t(k),
|
|
522
525
|
"display-value": e.displayValue,
|
|
523
526
|
multi: e.multi,
|
|
524
527
|
"all-selected": t(K),
|
|
528
|
+
"shown-values-count": e.triggerShownValuesCount,
|
|
525
529
|
onClick: l[2] || (l[2] = (n) => t(v)()),
|
|
526
|
-
onClear: l[3] || (l[3] = (n) => t(
|
|
527
|
-
}, null, 8, ["open", "label", "test-id", "options", "selected-option", "display-value", "multi", "all-selected"])
|
|
530
|
+
onClear: l[3] || (l[3] = (n) => t(W)())
|
|
531
|
+
}, null, 8, ["open", "label", "test-id", "options", "selected-option", "display-value", "multi", "all-selected", "shown-values-count"])
|
|
528
532
|
])) : s("", !0)
|
|
529
533
|
], !0)
|
|
530
534
|
], 512)
|
|
@@ -532,7 +536,7 @@ const Re = ["tabindex"], ze = { style: { width: "100%" } }, $e = { key: 0 }, Me
|
|
|
532
536
|
]),
|
|
533
537
|
_: 3
|
|
534
538
|
}, 16, ["theme", "popper-class", "placement", "skidding", "distance", "flip", "shown", "container", "auto-size"]),
|
|
535
|
-
e.triggerFeedbackText ? (d(),
|
|
539
|
+
e.triggerFeedbackText ? (d(), x(De, {
|
|
536
540
|
key: 0,
|
|
537
541
|
text: e.triggerFeedbackText,
|
|
538
542
|
variant: e.triggerFeedbackVariant,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./OptionV4.vue2.js";
|
|
2
2
|
/* empty css */import _ from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
-
// import "../../../OptionV4.
|
|
4
|
-
const
|
|
3
|
+
// import "../../../OptionV4.vue_vue_type_style_index_0_scoped_9560a062_lang.css"; //*');
|
|
4
|
+
const s = /* @__PURE__ */ _(o, [["__scopeId", "data-v-9560a062"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
s as default
|
|
7
7
|
};
|