@ironsource/shared-ui 2.1.11-test.7 → 2.1.11-test.9
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_ba28c717_lang.css +1 -0
- package/ConditionalDroprown.vue_vue_type_style_index_0_scoped_546e19a9_lang.css +1 -0
- package/DropdownV4.vue_vue_type_style_index_0_scoped_f88a132e_lang.css +1 -0
- package/OptionV4.vue_vue_type_style_index_0_scoped_df830bf5_lang.css +1 -0
- package/TreeDropdown.vue_vue_type_style_index_0_scoped_bdfb0aef_lang.css +1 -0
- package/components/autocomplete/Autocomplete.vue2.js +3 -2
- package/components/chart/SettingsHeader.vue2.js +3 -2
- package/components/datePicker/v4/DatePickerV4.vue2.js +8 -7
- package/components/dateRange/v4/DateRangeV4.vue2.js +21 -20
- package/components/dropdown/common/Dropdown.common.js +127 -127
- package/components/dropdown/v3/Dropdown.vue.d.ts +1 -1
- package/components/dropdown/v3/index.d.ts +12 -12
- package/components/dropdown/v4/ChipDropdownTrigger.vue.js +2 -2
- package/components/dropdown/v4/ChipDropdownTrigger.vue2.js +66 -44
- package/components/dropdown/v4/ConditionalDroprown.vue.d.ts +68 -0
- package/components/dropdown/v4/ConditionalDroprown.vue.js +7 -0
- package/components/dropdown/v4/ConditionalDroprown.vue2.js +157 -0
- package/components/dropdown/v4/DropdownV4.vue.d.ts +6 -5
- package/components/dropdown/v4/DropdownV4.vue.js +3 -3
- package/components/dropdown/v4/DropdownV4.vue2.js +85 -78
- package/components/dropdown/v4/OptionV4.vue.d.ts +5 -0
- package/components/dropdown/v4/OptionV4.vue.js +2 -2
- package/components/dropdown/v4/OptionV4.vue2.js +119 -93
- package/components/dropdown/v4/TreeDropdown.vue.js +2 -2
- package/components/dropdown/v4/TreeDropdown.vue2.js +105 -95
- package/components/dropdown/v4/index.d.ts +160 -27
- package/components/dropdown/v4/index.js +6 -3
- package/components/multibar/MultiBarMenu.vue2.js +3 -2
- package/components/popover/v4/PopoverV4.vue.js +3 -2
- package/components/popover/v4/PopoverV4.vue2.js +1 -1
- package/components/table/common/Table.common.js +26 -28
- package/components/table/v4/DataGridMenu.vue2.js +3 -2
- package/index.d.ts +316 -51
- package/index.js +1 -1
- package/mocks/options.d.ts +19 -4
- package/package.json +2 -1
- package/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_49bd7193_lang.css +0 -1
- package/DropdownV4.vue_vue_type_style_index_0_scoped_562f0b72_lang.css +0 -1
- package/OptionV4.vue_vue_type_style_index_0_scoped_da829544_lang.css +0 -1
- package/TreeDropdown.vue_vue_type_style_index_0_scoped_985779f7_lang.css +0 -1
|
@@ -1,21 +1,22 @@
|
|
|
1
|
-
import "../../../DropdownV4.
|
|
1
|
+
import "../../../DropdownV4.vue_vue_type_style_index_0_scoped_f88a132e_lang.css"; import "../../../DropdownV4.vue_vue_type_style_index_1_lang.css"; import { defineComponent as fe, computed as U, openBlock as n, createElementBlock as r, mergeProps as y, unref as t, renderSlot as f, createElementVNode as m, createVNode as i, withCtx as u, Transition as me, normalizeClass as O, normalizeStyle as pe, createTextVNode as T, createCommentVNode as a, isRef as ge, toDisplayString as W, withModifiers as M, Fragment as Te, renderList as ke, toRaw as I, createBlock as X, resolveDynamicComponent as be } from "vue";
|
|
2
2
|
import L 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";
|
|
6
6
|
import "./DropdownV4.vue.js";
|
|
7
7
|
import he from "./DefaultDropdownTrigger.vue.js";
|
|
8
|
-
import
|
|
9
|
-
import
|
|
8
|
+
import we from "./IconButtonDropdownTrigger.vue.js";
|
|
9
|
+
import Ie from "./ChipDropdownTrigger.vue.js";
|
|
10
10
|
import ve from "./AppDropdownTrigger.vue.js";
|
|
11
11
|
import "./ButtonDropdownTrigger.vue.js";
|
|
12
12
|
import "./ButtonFilterDropdownTrigger.vue.js";
|
|
13
13
|
import "./TreeDropdown.vue.js";
|
|
14
14
|
import q from "./OptionV4.vue.js";
|
|
15
|
+
import "./ConditionalDroprown.vue.js";
|
|
15
16
|
import Ce from "../../search/v4/SearchV4.vue.js";
|
|
16
17
|
import Y from "../../typography/v4/Typography.vue.js";
|
|
17
18
|
import { Dropdown as Se } from "floating-vue";
|
|
18
|
-
import { DropdownTestIdModifiers as
|
|
19
|
+
import { DropdownTestIdModifiers as p } from "../../../testids/index.js";
|
|
19
20
|
import { dropdownCommon as Ke } from "../common/Dropdown.common.js";
|
|
20
21
|
import S from "../../skeleton/v4/SkeletonV4.vue.js";
|
|
21
22
|
import { useTestIdAttrs as Ae } from "../../../utils/testIds.js";
|
|
@@ -35,7 +36,7 @@ const Be = ["tabindex"], Fe = { style: { width: "100%" } }, Ne = { key: 0 }, Ve
|
|
|
35
36
|
}, $e = ["aria-selected", "aria-disabled", "onClick"], He = {
|
|
36
37
|
key: 1,
|
|
37
38
|
class: "actions-wrapper"
|
|
38
|
-
}, Ge = { class: "actions-clear-all" }, Ue = { class: "actions-apply-cancel" },
|
|
39
|
+
}, Ge = { class: "actions-clear-all" }, Ue = { class: "actions-apply-cancel" }, Tt = /* @__PURE__ */ fe({
|
|
39
40
|
__name: "DropdownV4",
|
|
40
41
|
props: {
|
|
41
42
|
modelValue: { default: null },
|
|
@@ -89,14 +90,14 @@ const Be = ["tabindex"], Fe = { style: { width: "100%" } }, Ne = { key: 0 }, Ve
|
|
|
89
90
|
optionTwoLinesKey: { default: void 0 },
|
|
90
91
|
groupedOptions: { type: Boolean, default: !1 },
|
|
91
92
|
comparingKey: { default: null },
|
|
92
|
-
withConditions: { type: Boolean, default: !1 },
|
|
93
93
|
customNumberOfDisplayedOptions: { default: null },
|
|
94
94
|
theme: { default: "light-theme-v4" },
|
|
95
95
|
fullWidth: { type: Boolean, default: !0 },
|
|
96
96
|
optionsListWidth: { default: null },
|
|
97
97
|
statusType: { default: null },
|
|
98
98
|
disableVirtualScroll: { type: Boolean, default: !1 },
|
|
99
|
-
overrideOptionCountCalculation: { type: Function, default: null }
|
|
99
|
+
overrideOptionCountCalculation: { type: Function, default: null },
|
|
100
|
+
withConditions: { type: Boolean, default: !1 }
|
|
100
101
|
},
|
|
101
102
|
emits: ["update:selected", "update:isOpen", "closed", "opened", "apply", "selectAll", "clear", "copyToClipboard", "onsearch"],
|
|
102
103
|
setup(e, { expose: j, emit: B }) {
|
|
@@ -129,8 +130,8 @@ const Be = ["tabindex"], Fe = { style: { width: "100%" } }, Ne = { key: 0 }, Ve
|
|
|
129
130
|
onSelect: D,
|
|
130
131
|
activeIndex: P,
|
|
131
132
|
onCancel: le,
|
|
132
|
-
onApply:
|
|
133
|
-
scrollTo:
|
|
133
|
+
onApply: ie,
|
|
134
|
+
scrollTo: ne,
|
|
134
135
|
listRef: ae,
|
|
135
136
|
buttonRef: R,
|
|
136
137
|
apply: de,
|
|
@@ -139,24 +140,24 @@ const Be = ["tabindex"], Fe = { style: { width: "100%" } }, Ne = { key: 0 }, Ve
|
|
|
139
140
|
onClearAllSelections: z,
|
|
140
141
|
clearAll: ue,
|
|
141
142
|
isGroup: ce
|
|
142
|
-
} = Ke(d, B, F),
|
|
143
|
+
} = Ke(d, B, F), g = Ae(d.testId, p), $ = U(() => !d.predefinedTrigger || d.predefinedTrigger === k.DEFAULT ? he : d.predefinedTrigger === k.APP ? ve : null), { width: H } = Ee(R), ye = U(() => d.optionsListWidth ? d.optionsListWidth : !d.predefinedTrigger || d.predefinedTrigger === k.DEFAULT || d.predefinedTrigger === k.APP ? H.value - 2 > 240 ? `${H.value - 2}px` : `${F.DROPLIST_MIN_WIDTH}px` : "auto"), G = () => {
|
|
143
144
|
v();
|
|
144
145
|
};
|
|
145
146
|
return j({
|
|
146
147
|
selectItem: D,
|
|
147
|
-
scrollTo:
|
|
148
|
-
}), (
|
|
148
|
+
scrollTo: ne
|
|
149
|
+
}), (c, l) => (n(), r("div", y({
|
|
149
150
|
ref_key: "el",
|
|
150
151
|
ref: se,
|
|
151
152
|
class: ["dropdown dropdown--main-wrapper", [{ "dropdown--disabled": e.disabled, "full-width": e.fullWidth }]],
|
|
152
153
|
tabindex: e.disabled ? -1 : 0
|
|
153
|
-
}, t(
|
|
154
|
+
}, t(g)[t(p).WRAPPER], {
|
|
154
155
|
onKeydown: l[8] || (l[8] = //@ts-ignore
|
|
155
156
|
(...o) => t(h) && t(h)(...o))
|
|
156
157
|
}), [
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
158
|
+
f(c.$slots, "label", {}, void 0, !0),
|
|
159
|
+
m("div", Fe, [
|
|
160
|
+
i(t(Se), y({
|
|
160
161
|
theme: e.theme,
|
|
161
162
|
"popper-class": [
|
|
162
163
|
e.popperClass,
|
|
@@ -173,11 +174,11 @@ const Be = ["tabindex"], Fe = { style: { width: "100%" } }, Ne = { key: 0 }, Ve
|
|
|
173
174
|
"auto-hide": !1,
|
|
174
175
|
container: e.container,
|
|
175
176
|
"auto-size": e.autoSize
|
|
176
|
-
}, t(
|
|
177
|
+
}, t(g)[t(p).TRIGGER]), {
|
|
177
178
|
popper: u(() => [
|
|
178
|
-
|
|
179
|
+
i(me, null, {
|
|
179
180
|
default: u(() => [
|
|
180
|
-
t(s) ? (
|
|
181
|
+
t(s) ? (n(), r("div", {
|
|
181
182
|
key: 0,
|
|
182
183
|
ref_key: "listRef",
|
|
183
184
|
ref: ae,
|
|
@@ -187,16 +188,16 @@ const Be = ["tabindex"], Fe = { style: { width: "100%" } }, Ne = { key: 0 }, Ve
|
|
|
187
188
|
}]),
|
|
188
189
|
style: pe({ width: t(ye) })
|
|
189
190
|
}, [
|
|
190
|
-
t(s) ? (
|
|
191
|
+
t(s) ? (n(), r("div", {
|
|
191
192
|
key: 0,
|
|
192
193
|
class: O(["dropdown-list-wrapper", { "dropdown-list-wrapper--multi": e.multi }]),
|
|
193
194
|
onKeydown: l[7] || (l[7] = //@ts-ignore
|
|
194
195
|
(...o) => t(h) && t(h)(...o))
|
|
195
196
|
}, [
|
|
196
|
-
t(s) &&
|
|
197
|
-
e.withConditions ?
|
|
198
|
-
|
|
199
|
-
|
|
197
|
+
t(s) && e.inlineSearch ? (n(), r("div", De, [
|
|
198
|
+
e.withConditions ? f(c.$slots, "dropdown-conditions", { key: 0 }, () => [
|
|
199
|
+
m("div", Pe, [
|
|
200
|
+
i(t(Y), { variant: "body2" }, {
|
|
200
201
|
default: u(() => [
|
|
201
202
|
T("Conditions")
|
|
202
203
|
]),
|
|
@@ -204,8 +205,8 @@ const Be = ["tabindex"], Fe = { style: { width: "100%" } }, Ne = { key: 0 }, Ve
|
|
|
204
205
|
})
|
|
205
206
|
])
|
|
206
207
|
], !0) : a("", !0),
|
|
207
|
-
|
|
208
|
-
|
|
208
|
+
f(c.$slots, "inline-search", {}, () => [
|
|
209
|
+
i(t(Ce), {
|
|
209
210
|
modelValue: t(C),
|
|
210
211
|
"onUpdate:modelValue": [
|
|
211
212
|
l[4] || (l[4] = (o) => ge(C) ? C.value = o : null),
|
|
@@ -220,43 +221,48 @@ const Be = ["tabindex"], Fe = { style: { width: "100%" } }, Ne = { key: 0 }, Ve
|
|
|
220
221
|
}, null, 8, ["modelValue", "placeholder", "auto-focus", "test-id", "onUpdate:modelValue", "onKeydown"])
|
|
221
222
|
], !0)
|
|
222
223
|
])) : a("", !0),
|
|
223
|
-
|
|
224
|
-
|
|
224
|
+
f(c.$slots, "input-list", { open: t(s) }, void 0, !0),
|
|
225
|
+
m("div", y({
|
|
225
226
|
class: ["list-container", { "list-container--multi": e.multi }],
|
|
226
227
|
style: { height: `${t(Q)}rem` }
|
|
227
228
|
}, {
|
|
228
229
|
...t(J),
|
|
229
|
-
...t(
|
|
230
|
+
...t(g)[t(p).LIST_CONTAINER]
|
|
230
231
|
}), [
|
|
231
|
-
|
|
232
|
+
f(c.$slots, "custom-list-area", {}, void 0, !0),
|
|
233
|
+
m("ul", y(t(Z), {
|
|
232
234
|
role: "listbox",
|
|
233
|
-
class: ["list", {
|
|
235
|
+
class: ["list", {
|
|
236
|
+
"list--multi": e.multi,
|
|
237
|
+
"list--with-conditions": e.withConditions
|
|
238
|
+
}]
|
|
234
239
|
}), [
|
|
235
|
-
!t(_).length && !e.loading ? (
|
|
236
|
-
|
|
240
|
+
!t(_).length && !e.loading && !e.withConditions ? (n(), r("li", Re, [
|
|
241
|
+
i(t(Y), y({ variant: "body2" }, t(g)[t(p).NO_RESULT]), {
|
|
237
242
|
default: u(() => [
|
|
238
243
|
T(W(e.noResultsText), 1)
|
|
239
244
|
]),
|
|
240
245
|
_: 1
|
|
241
246
|
}, 16)
|
|
242
247
|
])) : a("", !0),
|
|
243
|
-
e.loading ? (
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
+
e.loading ? (n(), r("li", ze, [
|
|
249
|
+
i(t(S), { round: "" }),
|
|
250
|
+
i(t(S), { round: "" }),
|
|
251
|
+
i(t(S), { round: "" }),
|
|
252
|
+
i(t(S), { round: "" })
|
|
248
253
|
])) : a("", !0),
|
|
249
|
-
e.showSelectAll !== !1 && e.multi && !t(C) && !e.loading ?
|
|
250
|
-
|
|
251
|
-
|
|
254
|
+
e.showSelectAll !== !1 && e.multi && !t(C) && !e.loading && e.options.length ? f(c.$slots, "select-all", { key: 2 }, () => [
|
|
255
|
+
m("li", null, [
|
|
256
|
+
i(t(q), y(
|
|
252
257
|
{
|
|
253
258
|
"aria-selected": t(V),
|
|
254
259
|
"aria-disabled": !!e.disabled,
|
|
255
260
|
"selected-prop": t(V),
|
|
256
261
|
"is-indeterminate": t(ee),
|
|
262
|
+
"is-multi": e.multi,
|
|
257
263
|
"select-all-option": ""
|
|
258
264
|
},
|
|
259
|
-
t(
|
|
265
|
+
t(g)[t(p).SELECT_ALL],
|
|
260
266
|
{
|
|
261
267
|
onClick: l[5] || (l[5] = M((o) => t(te)(), ["stop"]))
|
|
262
268
|
}
|
|
@@ -265,34 +271,34 @@ const Be = ["tabindex"], Fe = { style: { width: "100%" } }, Ne = { key: 0 }, Ve
|
|
|
265
271
|
T(" Select all ")
|
|
266
272
|
]),
|
|
267
273
|
_: 1
|
|
268
|
-
}, 16, ["aria-selected", "aria-disabled", "selected-prop", "is-indeterminate"])
|
|
274
|
+
}, 16, ["aria-selected", "aria-disabled", "selected-prop", "is-indeterminate", "is-multi"])
|
|
269
275
|
])
|
|
270
276
|
], !0) : a("", !0),
|
|
271
|
-
t(x).length && !e.loading ? (
|
|
272
|
-
key:
|
|
273
|
-
"aria-selected": t(A)(
|
|
277
|
+
t(x).length && !e.loading ? (n(!0), r(Te, { key: 3 }, ke(t(x), ({ data: o, index: w }) => (n(), r("li", {
|
|
278
|
+
key: w,
|
|
279
|
+
"aria-selected": t(A)(I(t(b)), o),
|
|
274
280
|
"aria-disabled": !!e.disabled,
|
|
275
|
-
onClick: M(() => t(D)(o,
|
|
281
|
+
onClick: M(() => t(D)(o, w), ["stop"])
|
|
276
282
|
}, [
|
|
277
|
-
e.groupedOptions && t(ce)(o) ?
|
|
278
|
-
|
|
283
|
+
e.groupedOptions && t(ce)(o) ? f(c.$slots, "group-option", { key: 0 }, () => [
|
|
284
|
+
i(Le, null, {
|
|
279
285
|
default: u(() => [
|
|
280
286
|
T(W(e.displayValue(o) || o[e.optionNameKey]), 1)
|
|
281
287
|
]),
|
|
282
288
|
_: 2
|
|
283
289
|
}, 1024)
|
|
284
|
-
], !0) :
|
|
290
|
+
], !0) : f(c.$slots, "default", {
|
|
285
291
|
key: 1,
|
|
286
292
|
option: o,
|
|
287
|
-
index:
|
|
288
|
-
selected: t(A)(
|
|
289
|
-
active:
|
|
293
|
+
index: w,
|
|
294
|
+
selected: t(A)(I(t(b)), o),
|
|
295
|
+
active: I(t(P)) === w,
|
|
290
296
|
disabled: o[d.disabledOptionKey]
|
|
291
297
|
}, () => [
|
|
292
|
-
|
|
298
|
+
i(t(q), {
|
|
293
299
|
option: o,
|
|
294
|
-
"selected-prop": t(A)(
|
|
295
|
-
active:
|
|
300
|
+
"selected-prop": t(A)(I(t(b)), o),
|
|
301
|
+
active: I(t(P)) === w,
|
|
296
302
|
disabled: o[d.disabledOptionKey],
|
|
297
303
|
"name-key": e.optionNameKey,
|
|
298
304
|
"image-key": e.optionImageKey,
|
|
@@ -303,15 +309,16 @@ const Be = ["tabindex"], Fe = { style: { width: "100%" } }, Ne = { key: 0 }, Ve
|
|
|
303
309
|
"end-text-icon-key": e.optionsEndTextIconKey,
|
|
304
310
|
"option-flag-key": e.optionFlagKey,
|
|
305
311
|
"option-two-lines-variant": e.optionTwoLinesVariant,
|
|
306
|
-
"option-two-lines-key": e.optionTwoLinesKey
|
|
307
|
-
|
|
312
|
+
"option-two-lines-key": e.optionTwoLinesKey,
|
|
313
|
+
"is-multi": e.multi
|
|
314
|
+
}, null, 8, ["option", "selected-prop", "active", "disabled", "name-key", "image-key", "icon-key", "icon-type", "end-icon-key", "end-icon-type", "end-text-icon-key", "option-flag-key", "option-two-lines-variant", "option-two-lines-key", "is-multi"])
|
|
308
315
|
], !0)
|
|
309
316
|
], 8, $e))), 128)) : a("", !0)
|
|
310
317
|
], 16)
|
|
311
318
|
], 16),
|
|
312
|
-
e.multi ? (
|
|
313
|
-
|
|
314
|
-
|
|
319
|
+
e.multi ? (n(), r("div", He, [
|
|
320
|
+
m("div", Ge, [
|
|
321
|
+
i(t(L), y(
|
|
315
322
|
{
|
|
316
323
|
ref_key: "clearAll",
|
|
317
324
|
ref: ue,
|
|
@@ -319,7 +326,7 @@ const Be = ["tabindex"], Fe = { style: { width: "100%" } }, Ne = { key: 0 }, Ve
|
|
|
319
326
|
variant: "text",
|
|
320
327
|
color: "primary"
|
|
321
328
|
},
|
|
322
|
-
t(
|
|
329
|
+
t(g)[t(p).ACTION_CLEAR_ALL],
|
|
323
330
|
{
|
|
324
331
|
onClick: l[6] || (l[6] = () => t(z)(!1))
|
|
325
332
|
}
|
|
@@ -330,8 +337,8 @@ const Be = ["tabindex"], Fe = { style: { width: "100%" } }, Ne = { key: 0 }, Ve
|
|
|
330
337
|
_: 1
|
|
331
338
|
}, 16)
|
|
332
339
|
]),
|
|
333
|
-
|
|
334
|
-
|
|
340
|
+
m("div", Ue, [
|
|
341
|
+
i(t(L), y(
|
|
335
342
|
{
|
|
336
343
|
ref_key: "cancel",
|
|
337
344
|
ref: re,
|
|
@@ -339,7 +346,7 @@ const Be = ["tabindex"], Fe = { style: { width: "100%" } }, Ne = { key: 0 }, Ve
|
|
|
339
346
|
variant: "outlined",
|
|
340
347
|
color: "primary"
|
|
341
348
|
},
|
|
342
|
-
t(
|
|
349
|
+
t(g)[t(p).ACTION_CANCEL],
|
|
343
350
|
{ onClick: t(le) }
|
|
344
351
|
), {
|
|
345
352
|
default: u(() => [
|
|
@@ -347,13 +354,13 @@ const Be = ["tabindex"], Fe = { style: { width: "100%" } }, Ne = { key: 0 }, Ve
|
|
|
347
354
|
]),
|
|
348
355
|
_: 1
|
|
349
356
|
}, 16, ["onClick"]),
|
|
350
|
-
|
|
357
|
+
i(t(L), y({
|
|
351
358
|
ref_key: "apply",
|
|
352
359
|
ref: de,
|
|
353
360
|
"data-testid": "mutli-apply",
|
|
354
361
|
size: "small",
|
|
355
362
|
class: "apply-button"
|
|
356
|
-
}, t(
|
|
363
|
+
}, t(g)[t(p).ACTION_APPLY], { onClick: t(ie) }), {
|
|
357
364
|
default: u(() => [
|
|
358
365
|
T(" Apply ")
|
|
359
366
|
]),
|
|
@@ -368,18 +375,18 @@ const Be = ["tabindex"], Fe = { style: { width: "100%" } }, Ne = { key: 0 }, Ve
|
|
|
368
375
|
})
|
|
369
376
|
]),
|
|
370
377
|
default: u(() => [
|
|
371
|
-
|
|
378
|
+
m("div", {
|
|
372
379
|
class: O(["button__container", {
|
|
373
380
|
"button__container--open": !!t(s),
|
|
374
381
|
[`button__container--${e.size}`]: !0,
|
|
375
382
|
"button__container--disabled": e.disabled
|
|
376
383
|
}])
|
|
377
384
|
}, [
|
|
378
|
-
|
|
385
|
+
m("div", {
|
|
379
386
|
ref_key: "buttonRef",
|
|
380
387
|
ref: R
|
|
381
388
|
}, [
|
|
382
|
-
|
|
389
|
+
f(c.$slots, "dropdown-trigger", {
|
|
383
390
|
buttonTriggerProps: {
|
|
384
391
|
open: t(s),
|
|
385
392
|
disabled: e.disabled,
|
|
@@ -416,8 +423,8 @@ const Be = ["tabindex"], Fe = { style: { width: "100%" } }, Ne = { key: 0 }, Ve
|
|
|
416
423
|
onClick: G
|
|
417
424
|
}
|
|
418
425
|
}, () => [
|
|
419
|
-
t($) ? (
|
|
420
|
-
(
|
|
426
|
+
t($) ? (n(), r("div", Ne, [
|
|
427
|
+
(n(), X(be(t($)), {
|
|
421
428
|
placeholder: e.placeholder,
|
|
422
429
|
open: t(s),
|
|
423
430
|
label: e.triggerLabel,
|
|
@@ -448,13 +455,13 @@ const Be = ["tabindex"], Fe = { style: { width: "100%" } }, Ne = { key: 0 }, Ve
|
|
|
448
455
|
onCopyToClipboard: l[0] || (l[0] = (o) => B("copyToClipboard"))
|
|
449
456
|
}, 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"]))
|
|
450
457
|
])) : a("", !0),
|
|
451
|
-
e.predefinedTrigger === t(k).ICON_BUTTON ? (
|
|
452
|
-
|
|
458
|
+
e.predefinedTrigger === t(k).ICON_BUTTON ? (n(), r("div", Ve, [
|
|
459
|
+
i(t(we), {
|
|
453
460
|
onClick: l[1] || (l[1] = (o) => t(v)())
|
|
454
461
|
})
|
|
455
462
|
])) : a("", !0),
|
|
456
|
-
e.predefinedTrigger === t(k).CHIP ? (
|
|
457
|
-
|
|
463
|
+
e.predefinedTrigger === t(k).CHIP ? (n(), r("div", xe, [
|
|
464
|
+
i(t(Ie), {
|
|
458
465
|
open: t(s),
|
|
459
466
|
label: e.placeholder,
|
|
460
467
|
"test-id": e.testId,
|
|
@@ -473,7 +480,7 @@ const Be = ["tabindex"], Fe = { style: { width: "100%" } }, Ne = { key: 0 }, Ve
|
|
|
473
480
|
]),
|
|
474
481
|
_: 3
|
|
475
482
|
}, 16, ["theme", "popper-class", "placement", "skidding", "distance", "flip", "shown", "container", "auto-size"]),
|
|
476
|
-
e.triggerFeedbackText ? (
|
|
483
|
+
e.triggerFeedbackText ? (n(), X(Oe, {
|
|
477
484
|
key: 0,
|
|
478
485
|
text: e.triggerFeedbackText,
|
|
479
486
|
variant: e.triggerFeedbackVariant,
|
|
@@ -486,5 +493,5 @@ const Be = ["tabindex"], Fe = { style: { width: "100%" } }, Ne = { key: 0 }, Ve
|
|
|
486
493
|
}
|
|
487
494
|
});
|
|
488
495
|
export {
|
|
489
|
-
|
|
496
|
+
Tt as default
|
|
490
497
|
};
|
|
@@ -21,6 +21,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
21
21
|
optionTwoLinesKey?: string;
|
|
22
22
|
treeChildShown?: boolean;
|
|
23
23
|
optionFlagKey?: string;
|
|
24
|
+
isMulti?: boolean;
|
|
24
25
|
}>, {
|
|
25
26
|
subtitle: string;
|
|
26
27
|
disabled: boolean;
|
|
@@ -43,6 +44,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
43
44
|
optionTwoLinesKey: any;
|
|
44
45
|
treeChildShown: boolean;
|
|
45
46
|
optionFlagKey: any;
|
|
47
|
+
isMulti: boolean;
|
|
46
48
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
47
49
|
toggleTreeCollapse: (option: unknown) => void;
|
|
48
50
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
@@ -68,6 +70,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
68
70
|
optionTwoLinesKey?: string;
|
|
69
71
|
treeChildShown?: boolean;
|
|
70
72
|
optionFlagKey?: string;
|
|
73
|
+
isMulti?: boolean;
|
|
71
74
|
}>, {
|
|
72
75
|
subtitle: string;
|
|
73
76
|
disabled: boolean;
|
|
@@ -90,6 +93,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
90
93
|
optionTwoLinesKey: any;
|
|
91
94
|
treeChildShown: boolean;
|
|
92
95
|
optionFlagKey: any;
|
|
96
|
+
isMulti: boolean;
|
|
93
97
|
}>>> & {
|
|
94
98
|
onToggleTreeCollapse?: (option: unknown) => any;
|
|
95
99
|
}, {
|
|
@@ -114,6 +118,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
114
118
|
treeMainOptionExpanded: boolean;
|
|
115
119
|
stopOptionClickEventPropagation: boolean;
|
|
116
120
|
treeChildShown: boolean;
|
|
121
|
+
isMulti: boolean;
|
|
117
122
|
}>, {
|
|
118
123
|
image?(_: {}): any;
|
|
119
124
|
flag?(_: {}): any;
|
|
@@ -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 s = /* @__PURE__ */ _(o, [["__scopeId", "data-v-
|
|
3
|
+
// import "../../../OptionV4.vue_vue_type_style_index_0_scoped_df830bf5_lang.css"; //*');
|
|
4
|
+
const s = /* @__PURE__ */ _(o, [["__scopeId", "data-v-df830bf5"]]);
|
|
5
5
|
export {
|
|
6
6
|
s as default
|
|
7
7
|
};
|