@ironsource/shared-ui 2.1.6-test.3 → 2.1.6-test.4
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_39c47ad1_lang.css +1 -0
- package/AppHeader.vue_vue_type_style_index_0_scoped_538ccdc6_lang.css +1 -0
- package/Autocomplete.vue_vue_type_style_index_0_scoped_a7bfd237_lang.css +1 -0
- package/CalendarMonth.vue_vue_type_style_index_0_scoped_acd3440c_lang.css +1 -0
- package/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_a8fdae89_lang.css +1 -0
- package/DataGrid.vue_vue_type_style_index_0_scoped_6df3b70f_lang.css +1 -0
- package/DatePicker.vue_vue_type_style_index_0_scoped_67b44cbe_lang.css +1 -0
- package/DatePickerMonth.vue_vue_type_style_index_0_scoped_929d3028_lang.css +1 -0
- package/DateRange.vue_vue_type_style_index_0_scoped_70e316e9_lang.css +1 -0
- package/DefaultDropdownTrigger.vue_vue_type_style_index_0_scoped_ad524750_lang.css +1 -0
- package/DialogV4.vue_vue_type_style_index_0_scoped_09c488cf_lang.css +1 -0
- package/Dropdown.vue_vue_type_style_index_0_scoped_aaa8c4bb_lang.css +1 -0
- package/DropdownV4.vue_vue_type_style_index_0_scoped_0363db63_lang.css +1 -0
- package/FieldLabel.vue_vue_type_style_index_0_scoped_96ee1c98_lang.css +1 -0
- package/{FormCard.vue_vue_type_style_index_0_scoped_ef8b4e81_lang.css → FormCard.vue_vue_type_style_index_0_scoped_52ade67c_lang.css} +1 -1
- package/InlineCopy.vue_vue_type_style_index_0_scoped_6a7b3795_lang.css +1 -0
- package/MultiBar.vue_vue_type_style_index_0_scoped_71617643_lang.css +1 -0
- package/OptionV4.vue_vue_type_style_index_0_scoped_e0c24b6a_lang.css +1 -0
- package/TextAreaV4.vue_vue_type_style_index_0_scoped_8199b662_lang.css +1 -0
- package/TextField.vue_vue_type_style_index_0_scoped_a6457440_lang.css +1 -0
- package/TooltipV4.vue_vue_type_style_index_0_scoped_fcdb9d02_lang.css +1 -0
- package/components/appHeader/AppHeader.vue.d.ts +6 -2
- package/components/appHeader/AppHeader.vue.js +2 -2
- package/components/appHeader/AppHeader.vue2.js +30 -28
- package/components/appHeader/index.d.ts +6 -2
- package/components/autocomplete/Autocomplete.vue.d.ts +5 -0
- package/components/autocomplete/Autocomplete.vue.js +4 -4
- package/components/autocomplete/Autocomplete.vue2.js +43 -37
- package/components/autocomplete/index.d.ts +20 -1
- package/components/datePicker/common/DatePicker.common.d.ts +11 -0
- package/components/datePicker/common/DatePicker.common.js +52 -0
- package/components/datePicker/common/DatePickerMonth.common.d.ts +85 -0
- package/components/datePicker/common/DatePickerMonth.common.js +66 -0
- package/components/datePicker/{DatePicker.vue.d.ts → v3/DatePicker.vue.d.ts} +1 -1
- package/components/datePicker/v3/DatePicker.vue.js +7 -0
- package/components/datePicker/v3/DatePicker.vue2.js +69 -0
- package/components/datePicker/v3/DatePickerMonth.vue.js +7 -0
- package/components/datePicker/v3/DatePickerMonth.vue2.js +40 -0
- package/components/datePicker/{index.d.ts → v3/index.d.ts} +1 -1
- package/components/datePicker/v4/DatePickerMonthV4.vue.d.ts +53 -0
- package/components/datePicker/v4/DatePickerV4.vue.d.ts +67 -0
- package/components/datePicker/v4/index.d.ts +184 -0
- package/components/dateRange/common/CalendarMonth.common.d.ts +17 -0
- package/components/dateRange/common/CalendarMonth.common.js +131 -0
- package/components/dateRange/common/DateRange.common.d.ts +47 -0
- package/components/dateRange/common/DateRange.common.js +265 -0
- package/components/dateRange/common/DateRangePicker.common.d.ts +3 -0
- package/components/dateRange/{CalendarMonth.vue.d.ts → v3/CalendarMonth.vue.d.ts} +1 -1
- package/components/dateRange/v3/CalendarMonth.vue.js +7 -0
- package/components/dateRange/v3/CalendarMonth.vue2.js +147 -0
- package/components/dateRange/{DateRange.vue.d.ts → v3/DateRange.vue.d.ts} +9 -9
- package/components/dateRange/v3/DateRange.vue.js +7 -0
- package/components/dateRange/v3/DateRange.vue2.js +226 -0
- package/components/dateRange/{DateRangePicker.vue.d.ts → v3/DateRangePicker.vue.d.ts} +9 -9
- package/components/dateRange/{index.d.ts → v3/index.d.ts} +21 -21
- package/components/dateRange/v4/CalendarMonthV4.vue.d.ts +75 -0
- package/components/dateRange/v4/DateRangePickerV4.vue.d.ts +115 -0
- package/components/dateRange/v4/DateRangeV4.vue.d.ts +127 -0
- package/components/dateRange/v4/index.d.ts +408 -0
- package/components/dialog/v4/DialogV4.vue.js +3 -3
- package/components/dialog/v4/DialogV4.vue2.js +67 -62
- package/components/dropdown/common/Dropdown.common.js +21 -21
- package/components/dropdown/v3/Dropdown.vue.d.ts +4 -0
- package/components/dropdown/v3/Dropdown.vue.js +4 -4
- package/components/dropdown/v3/Dropdown.vue2.js +32 -32
- package/components/dropdown/v3/index.d.ts +13 -1
- package/components/dropdown/v4/AppDropdownTrigger.vue.d.ts +2 -0
- package/components/dropdown/v4/AppDropdownTrigger.vue.js +2 -2
- package/components/dropdown/v4/AppDropdownTrigger.vue2.js +16 -16
- package/components/dropdown/v4/ChipDropdownTrigger.vue.js +2 -2
- package/components/dropdown/v4/ChipDropdownTrigger.vue2.js +1 -1
- package/components/dropdown/v4/DefaultDropdownTrigger.vue.js +2 -2
- package/components/dropdown/v4/DefaultDropdownTrigger.vue2.js +1 -1
- package/components/dropdown/v4/DropdownV4.vue.d.ts +16 -0
- package/components/dropdown/v4/DropdownV4.vue.js +2 -2
- package/components/dropdown/v4/DropdownV4.vue2.js +90 -85
- package/components/dropdown/v4/OptionV4.vue.d.ts +11 -0
- package/components/dropdown/v4/OptionV4.vue.js +3 -3
- package/components/dropdown/v4/OptionV4.vue2.js +61 -44
- package/components/dropdown/v4/index.d.ts +105 -4
- package/components/filtersPanel/v3/Filter.d.ts +1 -1
- package/components/forms/FormCard.vue.js +2 -2
- package/components/forms/FormCard.vue2.js +9 -9
- package/components/inlineCopy/InlineCopy.vue.d.ts +6 -2
- package/components/inlineCopy/InlineCopy.vue.js +3 -3
- package/components/inlineCopy/InlineCopy.vue2.js +23 -22
- package/components/inlineCopy/index.d.ts +6 -2
- package/components/input/v4/TextField.vue.d.ts +5 -0
- package/components/input/v4/TextField.vue.js +3 -3
- package/components/input/v4/TextField.vue2.js +24 -21
- package/components/input/v4/index.d.ts +20 -1
- package/components/multibar/MultiBar.vue.js +3 -3
- package/components/multibar/MultiBar.vue2.js +21 -21
- package/components/shared/FieldLabel.vue.js +3 -3
- package/components/shared/FieldLabel.vue2.js +9 -9
- package/components/table/v4/DataGrid.vue.d.ts +4 -0
- package/components/table/v4/DataGrid.vue.js +3 -3
- package/components/table/v4/DataGrid.vue2.js +147 -147
- package/components/table/v4/index.d.ts +14 -2
- package/components/textArea/v4/TextAreaV4.vue.js +3 -3
- package/components/textArea/v4/TextAreaV4.vue2.js +1 -1
- package/components/tooltip/v4/TooltipV4.vue.d.ts +6 -2
- package/components/tooltip/v4/TooltipV4.vue.js +2 -2
- package/components/tooltip/v4/TooltipV4.vue2.js +21 -19
- package/components/tooltip/v4/index.d.ts +17 -5
- package/index.d.ts +338 -34
- package/index.js +4 -4
- package/package.json +3 -3
- package/AppDropdownTrigger.vue_vue_type_style_index_0_scoped_0267d003_lang.css +0 -1
- package/AppHeader.vue_vue_type_style_index_0_scoped_c148fc7a_lang.css +0 -1
- package/Autocomplete.vue_vue_type_style_index_0_scoped_e43dd7e6_lang.css +0 -1
- package/CalendarMonth.vue_vue_type_style_index_0_scoped_b2206adb_lang.css +0 -1
- package/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_889042cf_lang.css +0 -1
- package/DataGrid.vue_vue_type_style_index_0_scoped_c96fba2c_lang.css +0 -1
- package/DatePicker.vue_vue_type_style_index_0_scoped_e108ef3b_lang.css +0 -1
- package/DatePickerMonth.vue_vue_type_style_index_0_scoped_b171cdab_lang.css +0 -1
- package/DateRange.vue_vue_type_style_index_0_scoped_eb5d155e_lang.css +0 -1
- package/DefaultDropdownTrigger.vue_vue_type_style_index_0_scoped_c9783327_lang.css +0 -1
- package/DialogV4.vue_vue_type_style_index_0_scoped_c3004ba3_lang.css +0 -1
- package/Dropdown.vue_vue_type_style_index_0_scoped_d4f8e790_lang.css +0 -1
- package/DropdownV4.vue_vue_type_style_index_0_scoped_0968078f_lang.css +0 -1
- package/FieldLabel.vue_vue_type_style_index_0_scoped_72ab1f25_lang.css +0 -1
- package/InlineCopy.vue_vue_type_style_index_0_scoped_ff9f4a0f_lang.css +0 -1
- package/MultiBar.vue_vue_type_style_index_0_scoped_b473b35e_lang.css +0 -1
- package/OptionV4.vue_vue_type_style_index_0_scoped_b8375219_lang.css +0 -1
- package/TextAreaV4.vue_vue_type_style_index_0_scoped_0336a92f_lang.css +0 -1
- package/TextField.vue_vue_type_style_index_0_scoped_e093021d_lang.css +0 -1
- package/TooltipV4.vue_vue_type_style_index_0_scoped_25809092_lang.css +0 -1
- package/components/datePicker/DatePicker.vue.js +0 -7
- package/components/datePicker/DatePicker.vue2.js +0 -97
- package/components/datePicker/DatePickerMonth.vue.js +0 -7
- package/components/datePicker/DatePickerMonth.vue2.js +0 -85
- package/components/dateRange/CalendarMonth.vue.js +0 -7
- package/components/dateRange/CalendarMonth.vue2.js +0 -244
- package/components/dateRange/DateRange.vue.js +0 -7
- package/components/dateRange/DateRange.vue2.js +0 -417
- /package/components/datePicker/{DatePickerMonth.vue.d.ts → v3/DatePickerMonth.vue.d.ts} +0 -0
- /package/components/datePicker/{index.js → v3/index.js} +0 -0
- /package/components/dateRange/{DateServices.d.ts → common/DateServices.common.d.ts} +0 -0
- /package/components/dateRange/{DateServices.js → common/DateServices.common.js} +0 -0
- /package/components/dateRange/{consts.d.ts → common/consts.common.d.ts} +0 -0
- /package/components/dateRange/{consts.js → common/consts.common.js} +0 -0
- /package/components/dateRange/{index.js → v3/index.js} +0 -0
|
@@ -43,6 +43,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
43
43
|
optionIconType: any;
|
|
44
44
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
45
45
|
click: () => void;
|
|
46
|
+
copyToClipboard: () => void;
|
|
46
47
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
47
48
|
placeholder?: string;
|
|
48
49
|
selectedOption?: unknown;
|
|
@@ -88,6 +89,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
88
89
|
optionIconType: any;
|
|
89
90
|
}>>> & {
|
|
90
91
|
onClick?: () => any;
|
|
92
|
+
onCopyToClipboard?: () => any;
|
|
91
93
|
}, {
|
|
92
94
|
label: string;
|
|
93
95
|
disabled: boolean;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./AppDropdownTrigger.vue2.js";
|
|
2
2
|
/* empty css */import p from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
-
// import "../../../AppDropdownTrigger.
|
|
4
|
-
const s = /* @__PURE__ */ p(o, [["__scopeId", "data-v-
|
|
3
|
+
// import "../../../AppDropdownTrigger.vue_vue_type_style_index_0_scoped_39c47ad1_lang.css"; //*');
|
|
4
|
+
const s = /* @__PURE__ */ p(o, [["__scopeId", "data-v-39c47ad1"]]);
|
|
5
5
|
export {
|
|
6
6
|
s as default
|
|
7
7
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../../../AppDropdownTrigger.
|
|
1
|
+
import "../../../AppDropdownTrigger.vue_vue_type_style_index_0_scoped_39c47ad1_lang.css"; import { defineComponent as V, computed as p, openBlock as o, createElementBlock as n, normalizeClass as B, createElementVNode as a, mergeProps as O, unref as l, renderSlot as T, createCommentVNode as i, createVNode as s, withCtx as v, toDisplayString as $ } from "vue";
|
|
2
2
|
import r from "../../icon/v4/IconV4.vue.js";
|
|
3
3
|
import x from "../../typography/v4/Typography.vue.js";
|
|
4
4
|
import { DropdownTestIdModifiers as u } from "../../../testids/index.js";
|
|
@@ -38,13 +38,13 @@ const S = { class: "app-trigger--content" }, D = {
|
|
|
38
38
|
optionIconKey: { default: null },
|
|
39
39
|
optionIconType: { default: null }
|
|
40
40
|
},
|
|
41
|
-
emits: ["click"],
|
|
42
|
-
setup(t, { emit:
|
|
41
|
+
emits: ["click", "copyToClipboard"],
|
|
42
|
+
setup(t, { emit: y }) {
|
|
43
43
|
const e = t, { copy: k, copied: C } = w({}), I = p(
|
|
44
44
|
() => e.feedbackVariant ? `state-${e.feedbackVariant}` : ""
|
|
45
45
|
), b = () => {
|
|
46
|
-
|
|
47
|
-
},
|
|
46
|
+
y("click");
|
|
47
|
+
}, f = K(e.testId, u), m = "All apps selected", g = p(() => e.multi ? !Array.isArray(e.selectedOption) || !e.selectedOption?.length ? e.placeholder : e.options?.length === e.selectedOption.length ? `${m} (${e.selectedOption.length})` : e.selectedOption?.length === 1 && e.displayValue ? e.displayValue(e.selectedOption[0]) : `${e.selectedOption.length} selected` : e.selectedOption ? e.displayValue(e.selectedOption) : e.placeholder), d = p(() => {
|
|
48
48
|
if (!e.selectedOption)
|
|
49
49
|
return null;
|
|
50
50
|
if (!e.multi)
|
|
@@ -52,26 +52,26 @@ const S = { class: "app-trigger--content" }, D = {
|
|
|
52
52
|
if (Array.isArray(e.selectedOption))
|
|
53
53
|
return e.selectedOption.length === 1 ? e.selectedOption[0] : null;
|
|
54
54
|
}), A = async () => {
|
|
55
|
-
await k(e.valueToCopy), C.value && z({
|
|
55
|
+
await k(e.valueToCopy), C.value && (z({
|
|
56
56
|
title: "Copied successfully",
|
|
57
57
|
type: "success",
|
|
58
58
|
duration: 2e3
|
|
59
|
-
});
|
|
59
|
+
}), y("copyToClipboard"));
|
|
60
60
|
};
|
|
61
|
-
return (c,
|
|
61
|
+
return (c, h) => (o(), n("div", {
|
|
62
62
|
class: B(["app-trigger-wrapper", { "with-copy": !!t.valueToCopy }])
|
|
63
63
|
}, [
|
|
64
|
-
a("div",
|
|
64
|
+
a("div", O({
|
|
65
65
|
class: ["app-trigger", [t.size, l(I), { open: t.open, disabled: t.disabled }]],
|
|
66
66
|
style: {
|
|
67
67
|
paddingLeft: c.$slots.image || l(d) && t.optionImageKey ? "8px" : "12px"
|
|
68
68
|
}
|
|
69
|
-
}, l(
|
|
70
|
-
onClick:
|
|
69
|
+
}, l(f)[l(u).BUTTON_WRAPPER], {
|
|
70
|
+
onClick: h[0] || (h[0] = (q) => b())
|
|
71
71
|
}), [
|
|
72
72
|
a("div", S, [
|
|
73
73
|
c.$slots.image || l(d) && t.optionImageKey ? (o(), n("div", D, [
|
|
74
|
-
|
|
74
|
+
T(c.$slots, "image", {}, () => [
|
|
75
75
|
t.optionImageKey ? (o(), n("img", {
|
|
76
76
|
key: 0,
|
|
77
77
|
src: l(d)[t.optionImageKey]
|
|
@@ -79,7 +79,7 @@ const S = { class: "app-trigger--content" }, D = {
|
|
|
79
79
|
], !0)
|
|
80
80
|
])) : i("", !0),
|
|
81
81
|
c.$slots["icon-start"] || l(d) && t.optionIconKey ? (o(), n("div", P, [
|
|
82
|
-
|
|
82
|
+
T(c.$slots, "icon-start", {}, () => [
|
|
83
83
|
s(l(r), {
|
|
84
84
|
type: t.optionIconType,
|
|
85
85
|
name: l(d)[t.optionIconKey],
|
|
@@ -87,10 +87,10 @@ const S = { class: "app-trigger--content" }, D = {
|
|
|
87
87
|
}, null, 8, ["type", "name"])
|
|
88
88
|
], !0)
|
|
89
89
|
])) : i("", !0),
|
|
90
|
-
s(l(x),
|
|
90
|
+
s(l(x), O({ variant: "button" }, l(f)[l(u).BUTTON_CONTENT], { class: "displayed-value" }), {
|
|
91
91
|
default: v(() => [
|
|
92
92
|
a("div", R, [
|
|
93
|
-
l(
|
|
93
|
+
l(g) === m ? (o(), n("span", U, [
|
|
94
94
|
s(l(r), {
|
|
95
95
|
name: "cube",
|
|
96
96
|
size: "20px",
|
|
@@ -98,7 +98,7 @@ const S = { class: "app-trigger--content" }, D = {
|
|
|
98
98
|
})
|
|
99
99
|
])) : i("", !0),
|
|
100
100
|
a("div", L, [
|
|
101
|
-
a("div", M, $(l(
|
|
101
|
+
a("div", M, $(l(g)), 1),
|
|
102
102
|
t.mandatory && (Array.isArray(t.selectedOption) ? !t.selectedOption.length : !t.selectedOption) ? (o(), n("span", W, "*")) : i("", !0)
|
|
103
103
|
])
|
|
104
104
|
])
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./ChipDropdownTrigger.vue2.js";
|
|
2
2
|
/* empty css */import e from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
-
// import "../../../ChipDropdownTrigger.
|
|
4
|
-
const s = /* @__PURE__ */ e(o, [["__scopeId", "data-v-
|
|
3
|
+
// import "../../../ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_a8fdae89_lang.css"; //*');
|
|
4
|
+
const s = /* @__PURE__ */ e(o, [["__scopeId", "data-v-a8fdae89"]]);
|
|
5
5
|
export {
|
|
6
6
|
s as default
|
|
7
7
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../../../ChipDropdownTrigger.
|
|
1
|
+
import "../../../ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_a8fdae89_lang.css"; import { defineComponent as V, ref as b, computed as p, openBlock as _, createElementBlock as C, mergeProps as s, unref as t, createElementVNode as c, createVNode as d, withCtx as w, createTextVNode as k, toDisplayString as v, withDirectives as u, vShow as f, withModifiers as x } from "vue";
|
|
2
2
|
import m from "../../icon/v4/IconV4.vue.js";
|
|
3
3
|
import A from "../../typography/v4/Typography.vue.js";
|
|
4
4
|
import { DropdownTestIdModifiers as o } from "../../../testids/index.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./DefaultDropdownTrigger.vue2.js";
|
|
2
2
|
/* empty css */import e from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
-
// import "../../../DefaultDropdownTrigger.
|
|
4
|
-
const p = /* @__PURE__ */ e(o, [["__scopeId", "data-v-
|
|
3
|
+
// import "../../../DefaultDropdownTrigger.vue_vue_type_style_index_0_scoped_ad524750_lang.css"; //*');
|
|
4
|
+
const p = /* @__PURE__ */ e(o, [["__scopeId", "data-v-ad524750"]]);
|
|
5
5
|
export {
|
|
6
6
|
p as default
|
|
7
7
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../../../DefaultDropdownTrigger.
|
|
1
|
+
import "../../../DefaultDropdownTrigger.vue_vue_type_style_index_0_scoped_ad524750_lang.css"; import { defineComponent as v, computed as r, openBlock as o, createElementBlock as a, createBlock as k, createCommentVNode as n, createElementVNode as c, mergeProps as m, unref as l, renderSlot as y, createVNode as i, withCtx as I, createTextVNode as B, toDisplayString as V } from "vue";
|
|
2
2
|
import x from "../../typography/v4/Typography.vue.js";
|
|
3
3
|
import { DropdownTestIdModifiers as u } from "../../../testids/index.js";
|
|
4
4
|
import h from "../../icon/v4/IconV4.vue.js";
|
|
@@ -40,6 +40,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
40
40
|
optionIconKey?: string;
|
|
41
41
|
optionImageKey?: string;
|
|
42
42
|
optionIconType?: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test";
|
|
43
|
+
optionEndIconKey?: string;
|
|
44
|
+
optionEndIconType?: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test";
|
|
43
45
|
valueToCopy?: string;
|
|
44
46
|
disabledOptionKey?: string;
|
|
45
47
|
theme?: string;
|
|
@@ -85,6 +87,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
85
87
|
optionIconKey: string;
|
|
86
88
|
optionImageKey: string;
|
|
87
89
|
optionIconType: any;
|
|
90
|
+
optionEndIconKey: string;
|
|
91
|
+
optionEndIconType: any;
|
|
88
92
|
valueToCopy: any;
|
|
89
93
|
disabledOptionKey: string;
|
|
90
94
|
fullWidth: boolean;
|
|
@@ -99,6 +103,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
99
103
|
closed: () => void;
|
|
100
104
|
opened: () => void;
|
|
101
105
|
apply: (value: unknown) => void;
|
|
106
|
+
selectAll: () => void;
|
|
107
|
+
clear: () => void;
|
|
108
|
+
copyToClipboard: () => void;
|
|
102
109
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
103
110
|
modelValue?: unknown;
|
|
104
111
|
selected?: unknown;
|
|
@@ -140,6 +147,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
140
147
|
optionIconKey?: string;
|
|
141
148
|
optionImageKey?: string;
|
|
142
149
|
optionIconType?: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test";
|
|
150
|
+
optionEndIconKey?: string;
|
|
151
|
+
optionEndIconType?: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test";
|
|
143
152
|
valueToCopy?: string;
|
|
144
153
|
disabledOptionKey?: string;
|
|
145
154
|
theme?: string;
|
|
@@ -185,13 +194,18 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
185
194
|
optionIconKey: string;
|
|
186
195
|
optionImageKey: string;
|
|
187
196
|
optionIconType: any;
|
|
197
|
+
optionEndIconKey: string;
|
|
198
|
+
optionEndIconType: any;
|
|
188
199
|
valueToCopy: any;
|
|
189
200
|
disabledOptionKey: string;
|
|
190
201
|
fullWidth: boolean;
|
|
191
202
|
optionsListWidth: any;
|
|
192
203
|
statusType: any;
|
|
193
204
|
}>>> & {
|
|
205
|
+
onCopyToClipboard?: () => any;
|
|
206
|
+
onClear?: () => any;
|
|
194
207
|
onApply?: (value: unknown) => any;
|
|
208
|
+
onSelectAll?: () => any;
|
|
195
209
|
"onUpdate:selected"?: (value: unknown) => any;
|
|
196
210
|
"onUpdate:isOpen"?: (value: unknown) => any;
|
|
197
211
|
onOpened?: () => any;
|
|
@@ -234,6 +248,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
234
248
|
optionIconKey: string;
|
|
235
249
|
optionImageKey: string;
|
|
236
250
|
optionIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test";
|
|
251
|
+
optionEndIconKey: string;
|
|
252
|
+
optionEndIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test";
|
|
237
253
|
valueToCopy: string;
|
|
238
254
|
disabledOptionKey: string;
|
|
239
255
|
fullWidth: boolean;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import o from "./DropdownV4.vue2.js";
|
|
2
2
|
/* empty css *//* empty css */import _ from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
-
// import "../../../DropdownV4.
|
|
3
|
+
// import "../../../DropdownV4.vue_vue_type_style_index_0_scoped_0363db63_lang.css"; //*');
|
|
4
4
|
// import "../../../DropdownV4.vue_vue_type_style_index_1_lang.css"; //');
|
|
5
|
-
const r = /* @__PURE__ */ _(o, [["__scopeId", "data-v-
|
|
5
|
+
const r = /* @__PURE__ */ _(o, [["__scopeId", "data-v-0363db63"]]);
|
|
6
6
|
export {
|
|
7
7
|
r as default
|
|
8
8
|
};
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import "../../../DropdownV4.
|
|
2
|
-
import
|
|
1
|
+
import "../../../DropdownV4.vue_vue_type_style_index_0_scoped_0363db63_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 y, 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 me, withModifiers as $, Fragment as ye, renderList as pe, toRaw as k, createBlock as H, resolveDynamicComponent as ge } from "vue";
|
|
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
|
|
5
|
+
import Te from "./DefaultDropdownTrigger.vue.js";
|
|
6
6
|
import be from "./IconButtonDropdownTrigger.vue.js";
|
|
7
|
-
import
|
|
7
|
+
import ke from "./ChipDropdownTrigger.vue.js";
|
|
8
8
|
import he from "./AppDropdownTrigger.vue.js";
|
|
9
9
|
import "./ButtonDropdownTrigger.vue.js";
|
|
10
10
|
import "./ButtonFilterDropdownTrigger.vue.js";
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import { Dropdown as
|
|
11
|
+
import U from "./OptionV4.vue.js";
|
|
12
|
+
import Ie from "../../search/v4/SearchV4.vue.js";
|
|
13
|
+
import W from "../../typography/v4/Typography.vue.js";
|
|
14
|
+
import { Dropdown as ve } from "floating-vue";
|
|
15
15
|
import { DropdownTestIdModifiers as f } from "../../../testids/index.js";
|
|
16
|
-
import { dropdownCommon as
|
|
16
|
+
import { dropdownCommon as we } from "../common/Dropdown.common.js";
|
|
17
17
|
import Ce from "../../loader/v4/Loader.vue.js";
|
|
18
18
|
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"],
|
|
22
|
+
const Oe = ["tabindex"], Ee = { style: { width: "100%" } }, Be = { key: 0 }, Ne = { key: 1 }, Ke = { key: 2 }, De = {
|
|
23
23
|
key: 0,
|
|
24
24
|
class: "inline-search-wrapper"
|
|
25
25
|
}, Pe = {
|
|
@@ -74,6 +74,8 @@ const Oe = ["tabindex"], Be = { style: { width: "100%" } }, Ne = { key: 0 }, De
|
|
|
74
74
|
optionIconKey: { default: "" },
|
|
75
75
|
optionImageKey: { default: "" },
|
|
76
76
|
optionIconType: { default: null },
|
|
77
|
+
optionEndIconKey: { default: "" },
|
|
78
|
+
optionEndIconType: { default: null },
|
|
77
79
|
valueToCopy: { default: null },
|
|
78
80
|
disabledOptionKey: { default: "disabled" },
|
|
79
81
|
theme: { default: "light-theme-v4" },
|
|
@@ -81,9 +83,9 @@ const Oe = ["tabindex"], Be = { style: { width: "100%" } }, Ne = { key: 0 }, De
|
|
|
81
83
|
optionsListWidth: { default: null },
|
|
82
84
|
statusType: { default: null }
|
|
83
85
|
},
|
|
84
|
-
emits: ["update:selected", "update:isOpen", "closed", "opened", "apply"],
|
|
85
|
-
setup(t, { expose:
|
|
86
|
-
const d = t,
|
|
86
|
+
emits: ["update:selected", "update:isOpen", "closed", "opened", "apply", "selectAll", "clear", "copyToClipboard"],
|
|
87
|
+
setup(t, { expose: M, emit: O }) {
|
|
88
|
+
const d = t, E = {
|
|
87
89
|
MULTILINE_LIST_HEIGHT: 48,
|
|
88
90
|
LIST_HEIGHT: 32 + 4,
|
|
89
91
|
MAX_NUMBER_OF_OPTIONS: 7.5,
|
|
@@ -91,7 +93,7 @@ const Oe = ["tabindex"], Be = { style: { width: "100%" } }, Ne = { key: 0 }, De
|
|
|
91
93
|
DROPLIST_MIN_WIDTH: 240,
|
|
92
94
|
VERSION: 4
|
|
93
95
|
}, {
|
|
94
|
-
onKeydown:
|
|
96
|
+
onKeydown: T,
|
|
95
97
|
open: s,
|
|
96
98
|
toggleMenu: h,
|
|
97
99
|
onButtonKeydown: G,
|
|
@@ -100,44 +102,44 @@ const Oe = ["tabindex"], Be = { style: { width: "100%" } }, Ne = { key: 0 }, De
|
|
|
100
102
|
calculateTableHeight: q,
|
|
101
103
|
wrapperProps: Y,
|
|
102
104
|
filteredOptions: j,
|
|
103
|
-
allSelected:
|
|
105
|
+
allSelected: B,
|
|
104
106
|
isIndeterminate: J,
|
|
105
107
|
onSelectAll: Q,
|
|
106
|
-
virtualOptions:
|
|
108
|
+
virtualOptions: N,
|
|
107
109
|
isSelected: S,
|
|
108
110
|
selectedOption: b,
|
|
109
|
-
selectedOptionPrevious:
|
|
111
|
+
selectedOptionPrevious: K,
|
|
110
112
|
selectedValue: Z,
|
|
111
113
|
onSelect: D,
|
|
112
|
-
activeIndex:
|
|
114
|
+
activeIndex: P,
|
|
113
115
|
onCancel: _,
|
|
114
116
|
onApply: ee,
|
|
115
117
|
scrollTo: te,
|
|
116
118
|
listRef: le,
|
|
117
|
-
buttonRef:
|
|
118
|
-
apply:
|
|
119
|
-
cancel:
|
|
119
|
+
buttonRef: R,
|
|
120
|
+
apply: oe,
|
|
121
|
+
cancel: ie,
|
|
120
122
|
el: ne,
|
|
121
|
-
onClearAllSelections:
|
|
123
|
+
onClearAllSelections: F,
|
|
122
124
|
clearAll: ae
|
|
123
|
-
} =
|
|
125
|
+
} = we(d, O, E), m = Se(d.testId, f), z = x(() => !d.predefinedTrigger || d.predefinedTrigger === p.DEFAULT ? Te : 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 = () => {
|
|
124
126
|
h();
|
|
125
127
|
};
|
|
126
|
-
return
|
|
128
|
+
return M({
|
|
127
129
|
selectItem: D,
|
|
128
130
|
scrollTo: te
|
|
129
|
-
}), (
|
|
131
|
+
}), (I, o) => (i(), n("div", u({
|
|
130
132
|
ref_key: "el",
|
|
131
133
|
ref: ne,
|
|
132
134
|
class: ["dropdown dropdown--main-wrapper", [{ "dropdown--disabled": t.disabled, "full-width": t.fullWidth }]],
|
|
133
135
|
tabindex: t.disabled ? -1 : 0
|
|
134
136
|
}, e(m)[e(f).WRAPPER], {
|
|
135
|
-
onKeydown:
|
|
136
|
-
(...l) => e(
|
|
137
|
+
onKeydown: o[8] || (o[8] = //@ts-ignore
|
|
138
|
+
(...l) => e(T) && e(T)(...l))
|
|
137
139
|
}), [
|
|
138
|
-
I
|
|
139
|
-
y("div",
|
|
140
|
-
a(e(
|
|
140
|
+
w(I.$slots, "label", {}, void 0, !0),
|
|
141
|
+
y("div", Ee, [
|
|
142
|
+
a(e(ve), u({
|
|
141
143
|
theme: t.theme,
|
|
142
144
|
"popper-class": [
|
|
143
145
|
t.popperClass,
|
|
@@ -158,27 +160,27 @@ const Oe = ["tabindex"], Be = { style: { width: "100%" } }, Ne = { key: 0 }, De
|
|
|
158
160
|
popper: c(() => [
|
|
159
161
|
a(ue, null, {
|
|
160
162
|
default: c(() => [
|
|
161
|
-
e(s) ? (
|
|
163
|
+
e(s) ? (i(), n("div", {
|
|
162
164
|
key: 0,
|
|
163
165
|
ref_key: "listRef",
|
|
164
166
|
ref: le,
|
|
165
|
-
class:
|
|
167
|
+
class: A(["light-theme-v4", {
|
|
166
168
|
"dropdown--disabled": t.disabled,
|
|
167
169
|
"inline-search": t.inlineSearch
|
|
168
170
|
}]),
|
|
169
171
|
style: ce({ width: e(de) })
|
|
170
172
|
}, [
|
|
171
|
-
e(s) ? (
|
|
173
|
+
e(s) ? (i(), n("div", {
|
|
172
174
|
key: 0,
|
|
173
|
-
class: "dropdown-list-wrapper",
|
|
174
|
-
onKeydown:
|
|
175
|
-
(...l) => e(
|
|
175
|
+
class: A(["dropdown-list-wrapper", { "dropdown-list-wrapper--multi": t.multi }]),
|
|
176
|
+
onKeydown: o[7] || (o[7] = //@ts-ignore
|
|
177
|
+
(...l) => e(T) && e(T)(...l))
|
|
176
178
|
}, [
|
|
177
|
-
e(s) && t.inlineSearch ? (
|
|
178
|
-
a(e(
|
|
179
|
+
e(s) && t.inlineSearch ? (i(), n("div", De, [
|
|
180
|
+
a(e(Ie), {
|
|
179
181
|
modelValue: e(C),
|
|
180
182
|
"onUpdate:modelValue": [
|
|
181
|
-
|
|
183
|
+
o[4] || (o[4] = (l) => fe(C) ? C.value = l : null),
|
|
182
184
|
t.onClear
|
|
183
185
|
],
|
|
184
186
|
placeholder: t.inlineSearchPlaceholder,
|
|
@@ -186,10 +188,10 @@ const Oe = ["tabindex"], Be = { style: { width: "100%" } }, Ne = { key: 0 }, De
|
|
|
186
188
|
size: "md",
|
|
187
189
|
"auto-focus": t.searchAutoFocus,
|
|
188
190
|
"test-id": t.testId,
|
|
189
|
-
onKeydown: e(
|
|
191
|
+
onKeydown: e(T)
|
|
190
192
|
}, null, 8, ["modelValue", "placeholder", "auto-focus", "test-id", "onUpdate:modelValue", "onKeydown"])
|
|
191
193
|
])) : r("", !0),
|
|
192
|
-
I
|
|
194
|
+
w(I.$slots, "input-list", { open: e(s) }, void 0, !0),
|
|
193
195
|
y("div", u({
|
|
194
196
|
class: ["list-container", { "list-container--multi": t.multi }],
|
|
195
197
|
style: { height: `${e(q)}rem` }
|
|
@@ -201,35 +203,35 @@ const Oe = ["tabindex"], Be = { style: { width: "100%" } }, Ne = { key: 0 }, De
|
|
|
201
203
|
role: "listbox",
|
|
202
204
|
class: ["list", { "list--multi": t.multi }]
|
|
203
205
|
}), [
|
|
204
|
-
!e(j).length && !t.loading ? (
|
|
205
|
-
a(e(
|
|
206
|
+
!e(j).length && !t.loading ? (i(), n("li", Pe, [
|
|
207
|
+
a(e(W), u({ variant: "body2" }, e(m)[e(f).NO_RESULT]), {
|
|
206
208
|
default: c(() => [
|
|
207
209
|
g(me(t.noResultsText), 1)
|
|
208
210
|
]),
|
|
209
211
|
_: 1
|
|
210
212
|
}, 16)
|
|
211
213
|
])) : r("", !0),
|
|
212
|
-
t.loading ? (
|
|
214
|
+
t.loading ? (i(), n("li", Re, [
|
|
213
215
|
a(e(Ce)),
|
|
214
|
-
a(e(
|
|
216
|
+
a(e(W), null, {
|
|
215
217
|
default: c(() => [
|
|
216
218
|
g("Loading...")
|
|
217
219
|
]),
|
|
218
220
|
_: 1
|
|
219
221
|
})
|
|
220
222
|
])) : r("", !0),
|
|
221
|
-
t.showSelectAll !== !1 && t.multi ? (
|
|
222
|
-
a(e(
|
|
223
|
+
t.showSelectAll !== !1 && t.multi ? (i(), n("li", Fe, [
|
|
224
|
+
a(e(U), u(
|
|
223
225
|
{
|
|
224
|
-
"aria-selected": e(
|
|
226
|
+
"aria-selected": e(B),
|
|
225
227
|
"aria-disabled": !!t.disabled,
|
|
226
|
-
"selected-prop": e(
|
|
228
|
+
"selected-prop": e(B),
|
|
227
229
|
"is-indeterminate": e(J),
|
|
228
230
|
"select-all-option": ""
|
|
229
231
|
},
|
|
230
232
|
e(m)[e(f).SELECT_ALL],
|
|
231
233
|
{
|
|
232
|
-
onClick:
|
|
234
|
+
onClick: o[5] || (o[5] = $((l) => e(Q)(), ["stop"]))
|
|
233
235
|
}
|
|
234
236
|
), {
|
|
235
237
|
default: c(() => [
|
|
@@ -238,35 +240,37 @@ const Oe = ["tabindex"], Be = { style: { width: "100%" } }, Ne = { key: 0 }, De
|
|
|
238
240
|
_: 1
|
|
239
241
|
}, 16, ["aria-selected", "aria-disabled", "selected-prop", "is-indeterminate"])
|
|
240
242
|
])) : r("", !0),
|
|
241
|
-
e(
|
|
242
|
-
key:
|
|
243
|
-
"aria-selected": e(S)(
|
|
243
|
+
e(N).length && !t.loading ? (i(!0), n(ye, { key: 3 }, pe(e(N), ({ data: l, index: v }) => (i(), n("li", {
|
|
244
|
+
key: v,
|
|
245
|
+
"aria-selected": e(S)(k(e(b)), l),
|
|
244
246
|
"aria-disabled": !!t.disabled,
|
|
245
|
-
onClick:
|
|
247
|
+
onClick: $(() => e(D)(l, v), ["stop"])
|
|
246
248
|
}, [
|
|
247
|
-
I
|
|
249
|
+
w(I.$slots, "default", {
|
|
248
250
|
option: l,
|
|
249
|
-
selected: e(S)(
|
|
250
|
-
active:
|
|
251
|
+
selected: e(S)(k(e(b)), l),
|
|
252
|
+
active: k(e(P)) === v,
|
|
251
253
|
disabled: l[d.disabledOptionKey]
|
|
252
254
|
}, () => [
|
|
253
|
-
a(e(
|
|
255
|
+
a(e(U), {
|
|
254
256
|
option: l,
|
|
255
|
-
selected: e(S)(
|
|
256
|
-
active:
|
|
257
|
+
selected: e(S)(k(e(b)), l),
|
|
258
|
+
active: k(e(P)) === v,
|
|
257
259
|
disabled: l[d.disabledOptionKey],
|
|
258
260
|
"name-key": t.optionNameKey,
|
|
259
261
|
"image-key": t.optionImageKey,
|
|
260
262
|
"icon-key": t.optionIconKey,
|
|
261
|
-
"icon-type": t.optionIconType
|
|
262
|
-
|
|
263
|
+
"icon-type": t.optionIconType,
|
|
264
|
+
"end-icon-key": t.optionEndIconKey,
|
|
265
|
+
"end-icon-type": t.optionEndIconType
|
|
266
|
+
}, null, 8, ["option", "selected", "active", "disabled", "name-key", "image-key", "icon-key", "icon-type", "end-icon-key", "end-icon-type"])
|
|
263
267
|
], !0)
|
|
264
268
|
], 8, ze))), 128)) : r("", !0)
|
|
265
269
|
], 16)
|
|
266
270
|
], 16),
|
|
267
|
-
t.multi ? (
|
|
271
|
+
t.multi ? (i(), n("div", Ve, [
|
|
268
272
|
y("div", xe, [
|
|
269
|
-
a(e(
|
|
273
|
+
a(e(L), u(
|
|
270
274
|
{
|
|
271
275
|
ref_key: "clearAll",
|
|
272
276
|
ref: ae,
|
|
@@ -276,7 +280,7 @@ const Oe = ["tabindex"], Be = { style: { width: "100%" } }, Ne = { key: 0 }, De
|
|
|
276
280
|
},
|
|
277
281
|
e(m)[e(f).ACTION_CLEAR_ALL],
|
|
278
282
|
{
|
|
279
|
-
onClick:
|
|
283
|
+
onClick: o[6] || (o[6] = () => e(F)(!1))
|
|
280
284
|
}
|
|
281
285
|
), {
|
|
282
286
|
default: c(() => [
|
|
@@ -286,10 +290,10 @@ const Oe = ["tabindex"], Be = { style: { width: "100%" } }, Ne = { key: 0 }, De
|
|
|
286
290
|
}, 16)
|
|
287
291
|
]),
|
|
288
292
|
y("div", $e, [
|
|
289
|
-
a(e(
|
|
293
|
+
a(e(L), u(
|
|
290
294
|
{
|
|
291
295
|
ref_key: "cancel",
|
|
292
|
-
ref:
|
|
296
|
+
ref: ie,
|
|
293
297
|
size: "small",
|
|
294
298
|
variant: "outlined",
|
|
295
299
|
color: "primary"
|
|
@@ -302,9 +306,9 @@ const Oe = ["tabindex"], Be = { style: { width: "100%" } }, Ne = { key: 0 }, De
|
|
|
302
306
|
]),
|
|
303
307
|
_: 1
|
|
304
308
|
}, 16, ["onClick"]),
|
|
305
|
-
a(e(
|
|
309
|
+
a(e(L), u({
|
|
306
310
|
ref_key: "apply",
|
|
307
|
-
ref:
|
|
311
|
+
ref: oe,
|
|
308
312
|
"data-testid": "mutli-apply",
|
|
309
313
|
size: "small",
|
|
310
314
|
class: "apply-button"
|
|
@@ -316,7 +320,7 @@ const Oe = ["tabindex"], Be = { style: { width: "100%" } }, Ne = { key: 0 }, De
|
|
|
316
320
|
}, 16, ["onClick"])
|
|
317
321
|
])
|
|
318
322
|
])) : r("", !0)
|
|
319
|
-
],
|
|
323
|
+
], 34)) : r("", !0)
|
|
320
324
|
], 6)) : r("", !0)
|
|
321
325
|
]),
|
|
322
326
|
_: 3
|
|
@@ -324,13 +328,13 @@ const Oe = ["tabindex"], Be = { style: { width: "100%" } }, Ne = { key: 0 }, De
|
|
|
324
328
|
]),
|
|
325
329
|
default: c(() => [
|
|
326
330
|
y("div", {
|
|
327
|
-
class:
|
|
331
|
+
class: A(["button__container", {
|
|
328
332
|
"button__container--open": !!e(s),
|
|
329
333
|
[`button__container--${t.size}`]: !0,
|
|
330
334
|
"button__container--disabled": t.disabled
|
|
331
335
|
}])
|
|
332
336
|
}, [
|
|
333
|
-
I
|
|
337
|
+
w(I.$slots, "dropdown-trigger", {
|
|
334
338
|
buttonTriggerProps: {
|
|
335
339
|
open: e(s),
|
|
336
340
|
disabled: t.disabled,
|
|
@@ -340,10 +344,10 @@ const Oe = ["tabindex"], Be = { style: { width: "100%" } }, Ne = { key: 0 }, De
|
|
|
340
344
|
}, () => [
|
|
341
345
|
y("div", {
|
|
342
346
|
ref_key: "buttonRef",
|
|
343
|
-
ref:
|
|
347
|
+
ref: R
|
|
344
348
|
}, [
|
|
345
|
-
e(
|
|
346
|
-
(
|
|
349
|
+
e(z) ? (i(), n("div", Be, [
|
|
350
|
+
(i(), H(ge(e(z)), {
|
|
347
351
|
placeholder: t.placeholder,
|
|
348
352
|
open: e(s),
|
|
349
353
|
label: t.triggerLabel,
|
|
@@ -352,7 +356,7 @@ const Oe = ["tabindex"], Be = { style: { width: "100%" } }, Ne = { key: 0 }, De
|
|
|
352
356
|
"test-id": t.testId,
|
|
353
357
|
multi: t.multi,
|
|
354
358
|
disabled: t.disabled,
|
|
355
|
-
"selected-option": t.multi ? e(
|
|
359
|
+
"selected-option": t.multi ? e(K) : e(b),
|
|
356
360
|
"display-value": t.displayValue,
|
|
357
361
|
options: t.options,
|
|
358
362
|
"option-name-key": t.optionNameKey,
|
|
@@ -364,25 +368,26 @@ const Oe = ["tabindex"], Be = { style: { width: "100%" } }, Ne = { key: 0 }, De
|
|
|
364
368
|
"status-dot-type": t.statusType,
|
|
365
369
|
size: t.size,
|
|
366
370
|
onKeydown: e(G),
|
|
367
|
-
onClick: re
|
|
371
|
+
onClick: re,
|
|
372
|
+
onCopyToClipboard: o[0] || (o[0] = (l) => O("copyToClipboard"))
|
|
368
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"]))
|
|
369
374
|
])) : r("", !0),
|
|
370
|
-
t.predefinedTrigger === e(p).ICON_BUTTON ? (
|
|
375
|
+
t.predefinedTrigger === e(p).ICON_BUTTON ? (i(), n("div", Ne, [
|
|
371
376
|
a(e(be), {
|
|
372
|
-
onClick:
|
|
377
|
+
onClick: o[1] || (o[1] = (l) => e(h)())
|
|
373
378
|
})
|
|
374
379
|
])) : r("", !0),
|
|
375
|
-
t.predefinedTrigger === e(p).CHIP ? (
|
|
376
|
-
a(e(
|
|
380
|
+
t.predefinedTrigger === e(p).CHIP ? (i(), n("div", Ke, [
|
|
381
|
+
a(e(ke), {
|
|
377
382
|
open: e(s),
|
|
378
383
|
label: t.placeholder,
|
|
379
384
|
"test-id": t.testId,
|
|
380
385
|
options: t.options,
|
|
381
|
-
"selected-option": t.multi ? e(
|
|
386
|
+
"selected-option": t.multi ? e(K) : e(b),
|
|
382
387
|
"display-value": t.displayValue,
|
|
383
388
|
multi: t.multi,
|
|
384
|
-
onClick:
|
|
385
|
-
onClear:
|
|
389
|
+
onClick: o[2] || (o[2] = (l) => e(h)()),
|
|
390
|
+
onClear: o[3] || (o[3] = (l) => e(F)())
|
|
386
391
|
}, null, 8, ["open", "label", "test-id", "options", "selected-option", "display-value", "multi"])
|
|
387
392
|
])) : r("", !0)
|
|
388
393
|
], 512)
|
|
@@ -391,7 +396,7 @@ const Oe = ["tabindex"], Be = { style: { width: "100%" } }, Ne = { key: 0 }, De
|
|
|
391
396
|
]),
|
|
392
397
|
_: 3
|
|
393
398
|
}, 16, ["theme", "popper-class", "placement", "skidding", "distance", "flip", "shown", "container", "auto-size"]),
|
|
394
|
-
t.triggerFeedbackText ? (
|
|
399
|
+
t.triggerFeedbackText ? (i(), H(Le, {
|
|
395
400
|
key: 0,
|
|
396
401
|
text: t.triggerFeedbackText,
|
|
397
402
|
variant: t.triggerFeedbackVariant,
|