@ironsource/shared-ui 2.0.2-rc.4 → 2.0.2-rc.5
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_28bb325a_lang.css +1 -0
- package/ButtonV4.vue_vue_type_style_index_0_scoped_cca772e9_lang.css +1 -0
- package/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_e5202bb9_lang.css +1 -0
- package/DefaultDropdownTrigger.vue_vue_type_style_index_0_scoped_c6156fa0_lang.css +1 -0
- package/OptionV4.vue_vue_type_style_index_0_scoped_17d78416_lang.css +1 -0
- package/SearchV4.vue_vue_type_style_index_0_scoped_215f0f29_lang.css +1 -0
- package/SnackbarV4.vue_vue_type_style_index_0_scoped_48311746_lang.css +1 -0
- package/TooltipV4.vue_vue_type_style_index_0_scoped_cde15298_lang.css +1 -0
- package/TooltipV4.vue_vue_type_style_index_1_lang.css +1 -1
- package/components/ThemeWrapper/index.d.ts +2 -2
- package/components/ThemeWrapper/index.js +4 -4
- package/components/appTrigger/AppTrigger.vue.d.ts +1 -1
- package/components/appTrigger/index.d.ts +20 -20
- package/components/banner/Banner.vue.d.ts +3 -3
- package/components/banner/index.d.ts +7 -7
- package/components/button/v3/Button.vue.d.ts +6 -6
- package/components/button/v3/ButtonBase.vue.d.ts +3 -3
- package/components/button/v3/ScrollButton.vue.d.ts +1 -1
- package/components/button/v3/index.d.ts +23 -23
- package/components/button/v4/ButtonV4.vue.d.ts +12 -12
- package/components/button/v4/ButtonV4.vue.js +3 -3
- package/components/button/v4/ButtonV4.vue2.js +1 -1
- package/components/button/v4/IconButtonV4.vue.d.ts +8 -8
- package/components/button/v4/index.d.ts +116 -116
- package/components/checkbox/v3/index.d.ts +12 -12
- package/components/checkbox/v4/index.d.ts +12 -12
- package/components/chip/v3/Chip.vue.d.ts +1 -1
- package/components/chip/v3/index.d.ts +20 -20
- package/components/chip/v4/ChipV4.vue.d.ts +1 -1
- package/components/chip/v4/index.d.ts +20 -20
- package/components/dateRange/DateRange.vue.d.ts +1 -1
- package/components/dateRange/DateRangePicker.vue.d.ts +1 -1
- package/components/dateRange/index.d.ts +20 -20
- package/components/dialog/v3/Dialog.vue.d.ts +2 -2
- package/components/dialog/v3/index.d.ts +25 -25
- package/components/dialog/v4/DialogV4.vue.d.ts +2 -2
- package/components/dialog/v4/index.d.ts +25 -25
- package/components/dropdown/v3/Dropdown.vue.d.ts +6 -6
- package/components/dropdown/v3/Option.vue.d.ts +1 -1
- package/components/dropdown/v3/index.d.ts +111 -111
- package/components/dropdown/v4/AppDropdownTrigger.vue.d.ts +7 -7
- package/components/dropdown/v4/AppDropdownTrigger.vue.js +2 -2
- package/components/dropdown/v4/AppDropdownTrigger.vue2.js +22 -25
- package/components/dropdown/v4/ChipDropdownTrigger.vue.d.ts +1 -1
- package/components/dropdown/v4/ChipDropdownTrigger.vue.js +2 -2
- package/components/dropdown/v4/ChipDropdownTrigger.vue2.js +1 -1
- package/components/dropdown/v4/DefaultDropdownTrigger.vue.d.ts +13 -13
- package/components/dropdown/v4/DefaultDropdownTrigger.vue.js +3 -3
- package/components/dropdown/v4/DefaultDropdownTrigger.vue2.js +20 -22
- package/components/dropdown/v4/DropdownV4.vue.d.ts +11 -11
- package/components/dropdown/v4/OptionV4.vue.d.ts +6 -6
- package/components/dropdown/v4/OptionV4.vue.js +2 -2
- package/components/dropdown/v4/OptionV4.vue2.js +17 -17
- package/components/dropdown/v4/index.d.ts +331 -331
- package/components/emptyState/v3/EmptyState.vue.d.ts +3 -3
- package/components/emptyState/v3/index.d.ts +7 -7
- package/components/filterDropdown/FilterDropdown.vue.d.ts +1 -1
- package/components/filterDropdown/index.d.ts +9 -9
- package/components/icon/v4/IconV4.vue.d.ts +3 -3
- package/components/icon/v4/index.d.ts +7 -7
- package/components/includeExclude/IncludeExclude.vue.d.ts +3 -3
- package/components/includeExclude/IncludeExcludeDragDrop.vue.d.ts +2 -2
- package/components/includeExclude/index.d.ts +101 -101
- package/components/input/v3/Input.vue.d.ts +2 -2
- package/components/input/v3/index.d.ts +69 -69
- package/components/input/v4/TextField.vue.d.ts +2 -2
- package/components/input/v4/index.d.ts +53 -53
- package/components/layout/FoldableSection.vue.d.ts +1 -1
- package/components/layout/index.d.ts +21 -136
- package/components/layout/index.js +2 -4
- package/components/menu/Menu.vue.d.ts +1 -1
- package/components/menu/index.d.ts +20 -20
- package/components/multibar/MultiBar.vue.d.ts +1 -1
- package/components/multibar/index.d.ts +12 -12
- package/components/popover/Popover.vue.d.ts +5 -5
- package/components/popover/index.d.ts +58 -58
- package/components/radioButton/v3/RadioButton.vue.d.ts +1 -1
- package/components/radioButton/v3/RadioGroup.vue.d.ts +2 -2
- package/components/radioButton/v3/index.d.ts +42 -42
- package/components/radioButton/v4/RadioButtonV4.vue.d.ts +1 -1
- package/components/radioButton/v4/RadioGroupV4.vue.d.ts +2 -2
- package/components/radioButton/v4/index.d.ts +42 -42
- package/components/search/v3/Search.vue.d.ts +2 -2
- package/components/search/v3/index.d.ts +16 -16
- package/components/search/v4/SearchV4.vue.d.ts +1 -4
- package/components/search/v4/SearchV4.vue.js +5 -5
- package/components/search/v4/SearchV4.vue2.js +14 -15
- package/components/search/v4/index.d.ts +9 -12
- package/components/shared/FieldHelpText.vue.d.ts +1 -1
- package/components/shared/FieldLabel.vue.d.ts +1 -1
- package/components/snackbar/common/snackbar.common.d.ts +1 -1
- package/components/snackbar/v3/Snackbar.vue.d.ts +6 -6
- package/components/snackbar/v4/SnackbarV4.vue.d.ts +43 -43
- package/components/snackbar/v4/SnackbarV4.vue.js +5 -5
- package/components/snackbar/v4/SnackbarV4.vue2.js +6 -7
- package/components/table/common/Table.common.js +31 -31
- package/components/table/v3/index.d.ts +16 -16
- package/components/table/v4/index.d.ts +16 -16
- package/components/tabs/v3/Tabs.vue.d.ts +1 -1
- package/components/tabs/v3/index.d.ts +20 -20
- package/components/tabs/v4/TabsV4.vue.d.ts +1 -1
- package/components/tabs/v4/index.d.ts +20 -20
- package/components/textArea/TextArea.vue.d.ts +1 -1
- package/components/textArea/index.d.ts +9 -9
- package/components/toggle/v3/Toggle.vue.d.ts +1 -1
- package/components/toggle/v3/index.d.ts +9 -9
- package/components/toggle/v4/ToggleV4.vue.d.ts +7 -7
- package/components/toggle/v4/index.d.ts +34 -34
- package/components/tooltip/v3/Tooltip.vue.d.ts +4 -4
- package/components/tooltip/v3/index.d.ts +34 -34
- package/components/tooltip/v4/TooltipV4.vue.d.ts +4 -4
- package/components/tooltip/v4/TooltipV4.vue.js +2 -2
- package/components/tooltip/v4/TooltipV4.vue2.js +1 -1
- package/components/tooltip/v4/index.d.ts +34 -34
- package/components/typography/Heading.vue.d.ts +1 -1
- package/components/typography/index.d.ts +20 -20
- package/composables/useStorage.js +9 -10
- package/index.d.ts +1650 -1848
- package/index.js +112 -118
- package/package.json +2 -10
- package/testids/index.d.ts +0 -8
- package/testids/index.js +11 -13
- package/AppDropdownTrigger.vue_vue_type_style_index_0_scoped_a64a46d0_lang.css +0 -1
- package/AppHeader.vue_vue_type_style_index_0_scoped_5afbd3dd_lang.css +0 -1
- package/ButtonV4.vue_vue_type_style_index_0_scoped_38c0ed72_lang.css +0 -1
- package/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_c38e97df_lang.css +0 -1
- package/DefaultDropdownTrigger.vue_vue_type_style_index_0_scoped_06dcfe6d_lang.css +0 -1
- package/FormRow.vue_vue_type_style_index_0_scoped_54a11bf8_lang.css +0 -1
- package/InlineCopy.vue_vue_type_style_index_0_scoped_39577dfc_lang.css +0 -1
- package/OptionV4.vue_vue_type_style_index_0_scoped_d2743070_lang.css +0 -1
- package/SearchV4.vue_vue_type_style_index_0_scoped_1330ea8b_lang.css +0 -1
- package/SnackbarV4.vue_vue_type_style_index_0_scoped_49c5ccea_lang.css +0 -1
- package/TooltipV4.vue_vue_type_style_index_0_scoped_58a19def_lang.css +0 -1
- package/components/appHeader/AppHeader.vue.d.ts +0 -49
- package/components/appHeader/AppHeader.vue.js +0 -7
- package/components/appHeader/AppHeader.vue2.js +0 -58
- package/components/appHeader/index.d.ts +0 -61
- package/components/appHeader/index.js +0 -6
- package/components/inlineCopy/InlineCopy.vue.d.ts +0 -39
- package/components/inlineCopy/InlineCopy.vue.js +0 -7
- package/components/inlineCopy/InlineCopy.vue2.js +0 -60
- package/components/inlineCopy/index.d.ts +0 -39
- package/components/inlineCopy/index.js +0 -6
- package/components/layout/FormRow.vue.d.ts +0 -46
- package/components/layout/FormRow.vue.js +0 -7
- package/components/layout/FormRow.vue2.js +0 -43
- package/mocks/optionsWithIcons.d.ts +0 -5
|
@@ -17,7 +17,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
17
17
|
optionNameKey?: string;
|
|
18
18
|
optionImageKey?: string;
|
|
19
19
|
optionIconKey?: string;
|
|
20
|
-
optionIconType?: "fill" | "bold" | "
|
|
20
|
+
optionIconType?: "fill" | "bold" | "ab-test" | "regular" | "branded" | "ad-unit";
|
|
21
21
|
}>, {
|
|
22
22
|
placeholder: string;
|
|
23
23
|
selectedOption: any;
|
|
@@ -62,7 +62,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
62
62
|
optionNameKey?: string;
|
|
63
63
|
optionImageKey?: string;
|
|
64
64
|
optionIconKey?: string;
|
|
65
|
-
optionIconType?: "fill" | "bold" | "
|
|
65
|
+
optionIconType?: "fill" | "bold" | "ab-test" | "regular" | "branded" | "ad-unit";
|
|
66
66
|
}>, {
|
|
67
67
|
placeholder: string;
|
|
68
68
|
selectedOption: any;
|
|
@@ -90,15 +90,15 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
90
90
|
onClick?: () => any;
|
|
91
91
|
}, {
|
|
92
92
|
label: string;
|
|
93
|
-
disabled: boolean;
|
|
94
93
|
size: "small" | "medium" | "large";
|
|
95
|
-
open: boolean;
|
|
96
|
-
mandatory: boolean;
|
|
97
|
-
loading: boolean;
|
|
98
94
|
testId: string;
|
|
95
|
+
loading: boolean;
|
|
96
|
+
disabled: boolean;
|
|
99
97
|
options: unknown[];
|
|
100
98
|
singleAppSelection: boolean;
|
|
101
99
|
placeholder: string;
|
|
100
|
+
open: boolean;
|
|
101
|
+
mandatory: boolean;
|
|
102
102
|
multi: boolean;
|
|
103
103
|
valueToCopy: string;
|
|
104
104
|
selectedOption: any;
|
|
@@ -106,7 +106,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
106
106
|
optionNameKey: string;
|
|
107
107
|
optionImageKey: string;
|
|
108
108
|
optionIconKey: string;
|
|
109
|
-
optionIconType: "fill" | "bold" | "
|
|
109
|
+
optionIconType: "fill" | "bold" | "ab-test" | "regular" | "branded" | "ad-unit";
|
|
110
110
|
}>, {
|
|
111
111
|
image?(_: {}): any;
|
|
112
112
|
"icon-start"?(_: {}): any;
|
|
@@ -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_28bb325a_lang.css"; //*');
|
|
4
|
+
const s = /* @__PURE__ */ p(o, [["__scopeId", "data-v-28bb325a"]]);
|
|
5
5
|
export {
|
|
6
6
|
s as default
|
|
7
7
|
};
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import "../../../AppDropdownTrigger.
|
|
1
|
+
import "../../../AppDropdownTrigger.vue_vue_type_style_index_0_scoped_28bb325a_lang.css"; import { defineComponent as A, computed as p, openBlock as o, createElementBlock as n, normalizeClass as V, createElementVNode as a, mergeProps as h, unref as t, renderSlot as v, createCommentVNode as s, createVNode as i, withCtx as T, toDisplayString as B } from "vue";
|
|
2
2
|
import c from "../../icon/v4/IconV4.vue.js";
|
|
3
|
-
import
|
|
3
|
+
import x from "../../typography/v4/Typography.vue.js";
|
|
4
4
|
import { DropdownTestIdModifiers as u } from "../../../testids/index.js";
|
|
5
|
-
import { useTestIdAttrs as
|
|
6
|
-
import
|
|
7
|
-
import { useClipboard as
|
|
8
|
-
import { Snackbar as
|
|
5
|
+
import { useTestIdAttrs as K } from "../../../utils/testIds.js";
|
|
6
|
+
import N from "../../tooltip/v4/TooltipV4.vue.js";
|
|
7
|
+
import { useClipboard as z } from "@vueuse/core";
|
|
8
|
+
import { Snackbar as $ } from "../../snackbar/v4/index.js";
|
|
9
9
|
const w = { class: "app-trigger--content" }, S = {
|
|
10
10
|
key: 0,
|
|
11
11
|
class: "image"
|
|
12
12
|
}, D = ["src"], E = {
|
|
13
13
|
key: 1,
|
|
14
14
|
class: "start-icon"
|
|
15
|
-
}, P = { class: "label-text" }, R = { key: 0 }, U = { class: "text-content" },
|
|
15
|
+
}, P = { class: "label-text" }, R = { key: 0 }, U = { class: "text-content" }, M = { class: "text-content-value" }, W = {
|
|
16
16
|
key: 0,
|
|
17
17
|
class: "is-mandatory"
|
|
18
|
-
},
|
|
18
|
+
}, j = { class: "" }, q = { class: "app-trigger-key--content" }, _ = /* @__PURE__ */ A({
|
|
19
19
|
__name: "AppDropdownTrigger",
|
|
20
20
|
props: {
|
|
21
21
|
placeholder: { default: "Select app" },
|
|
@@ -40,11 +40,11 @@ const w = { class: "app-trigger--content" }, S = {
|
|
|
40
40
|
},
|
|
41
41
|
emits: ["click"],
|
|
42
42
|
setup(l, { emit: k }) {
|
|
43
|
-
const e = l, { copy: O } =
|
|
43
|
+
const e = l, { copy: O } = z({}), C = p(
|
|
44
44
|
() => e.feedbackVariant ? `state-${e.feedbackVariant}` : ""
|
|
45
|
-
),
|
|
45
|
+
), I = () => {
|
|
46
46
|
k("click");
|
|
47
|
-
}, y =
|
|
47
|
+
}, y = K(e.testId, u), f = "All apps selected", m = p(() => e.multi ? !Array.isArray(e.selectedOption) || !e.selectedOption?.length ? e.placeholder : e.options?.length === e.selectedOption.length ? f : 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,7 +52,7 @@ const w = { class: "app-trigger--content" }, S = {
|
|
|
52
52
|
if (Array.isArray(e.selectedOption))
|
|
53
53
|
return e.selectedOption.length === 1 ? e.selectedOption[0] : null;
|
|
54
54
|
}), b = () => {
|
|
55
|
-
O(e.valueToCopy),
|
|
55
|
+
O(e.valueToCopy), $({
|
|
56
56
|
title: "Copied successfully",
|
|
57
57
|
type: "success",
|
|
58
58
|
duration: 2e3
|
|
@@ -62,12 +62,9 @@ const w = { class: "app-trigger--content" }, S = {
|
|
|
62
62
|
class: V(["app-trigger-wrapper", { "with-copy": !!l.valueToCopy }])
|
|
63
63
|
}, [
|
|
64
64
|
a("div", h({
|
|
65
|
-
class: ["app-trigger", [l.size, t(
|
|
66
|
-
style: {
|
|
67
|
-
paddingLeft: r.$slots.image || t(d) && l.optionImageKey ? "8px" : "12px"
|
|
68
|
-
}
|
|
65
|
+
class: ["app-trigger", [l.size, t(C), { open: l.open, disabled: l.disabled }]]
|
|
69
66
|
}, t(y)[t(u).BUTTON_WRAPPER], {
|
|
70
|
-
onClick: g[0] || (g[0] = (
|
|
67
|
+
onClick: g[0] || (g[0] = (F) => I())
|
|
71
68
|
}), [
|
|
72
69
|
a("div", w, [
|
|
73
70
|
r.$slots.image || t(d) && l.optionImageKey ? (o(), n("div", S, [
|
|
@@ -83,11 +80,11 @@ const w = { class: "app-trigger--content" }, S = {
|
|
|
83
80
|
i(t(c), {
|
|
84
81
|
type: l.optionIconType,
|
|
85
82
|
name: t(d)[l.optionIconKey],
|
|
86
|
-
size: "
|
|
83
|
+
size: "16px"
|
|
87
84
|
}, null, 8, ["type", "name"])
|
|
88
85
|
], !0)
|
|
89
86
|
])) : s("", !0),
|
|
90
|
-
i(t(
|
|
87
|
+
i(t(x), h({ variant: "button" }, t(y)[t(u).BUTTON_CONTENT], { class: "displayed-value" }), {
|
|
91
88
|
default: T(() => [
|
|
92
89
|
a("div", P, [
|
|
93
90
|
t(m) === f ? (o(), n("span", R, [
|
|
@@ -98,15 +95,15 @@ const w = { class: "app-trigger--content" }, S = {
|
|
|
98
95
|
})
|
|
99
96
|
])) : s("", !0),
|
|
100
97
|
a("div", U, [
|
|
101
|
-
a("div",
|
|
102
|
-
l.mandatory ? (o(), n("span",
|
|
98
|
+
a("div", M, B(t(m)), 1),
|
|
99
|
+
l.mandatory ? (o(), n("span", W, "*")) : s("", !0)
|
|
103
100
|
])
|
|
104
101
|
])
|
|
105
102
|
]),
|
|
106
103
|
_: 1
|
|
107
104
|
}, 16)
|
|
108
105
|
]),
|
|
109
|
-
a("div",
|
|
106
|
+
a("div", j, [
|
|
110
107
|
i(t(c), {
|
|
111
108
|
name: "caret-down",
|
|
112
109
|
size: "20px",
|
|
@@ -119,12 +116,12 @@ const w = { class: "app-trigger--content" }, S = {
|
|
|
119
116
|
class: "app-trigger-key",
|
|
120
117
|
onClick: b
|
|
121
118
|
}, [
|
|
122
|
-
i(t(
|
|
119
|
+
i(t(N), {
|
|
123
120
|
text: l.valueToCopy,
|
|
124
121
|
header: "App key"
|
|
125
122
|
}, {
|
|
126
123
|
default: T(() => [
|
|
127
|
-
a("div",
|
|
124
|
+
a("div", q, [
|
|
128
125
|
i(t(c), {
|
|
129
126
|
name: "copy",
|
|
130
127
|
size: "20px"
|
|
@@ -138,5 +135,5 @@ const w = { class: "app-trigger--content" }, S = {
|
|
|
138
135
|
}
|
|
139
136
|
});
|
|
140
137
|
export {
|
|
141
|
-
|
|
138
|
+
_ as default
|
|
142
139
|
};
|
|
@@ -40,9 +40,9 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
40
40
|
onClear?: () => any;
|
|
41
41
|
}, {
|
|
42
42
|
label: string;
|
|
43
|
+
testId: string;
|
|
43
44
|
disabled: boolean;
|
|
44
45
|
open: boolean;
|
|
45
|
-
testId: string;
|
|
46
46
|
displayedValue: any;
|
|
47
47
|
feedbackVariant: string;
|
|
48
48
|
}>;
|
|
@@ -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_e5202bb9_lang.css"; //*');
|
|
4
|
+
const s = /* @__PURE__ */ e(o, [["__scopeId", "data-v-e5202bb9"]]);
|
|
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_e5202bb9_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";
|
|
@@ -10,8 +10,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
10
10
|
label: string;
|
|
11
11
|
mandatory?: boolean;
|
|
12
12
|
hoverHelpText?: string;
|
|
13
|
-
hoverHelpTextPlacement?: "auto" | "
|
|
14
|
-
feedbackVariant?: "
|
|
13
|
+
hoverHelpTextPlacement?: "auto" | "auto-start" | "auto-end" | "top" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end";
|
|
14
|
+
feedbackVariant?: "error" | "success" | "warning";
|
|
15
15
|
feedbackText?: string;
|
|
16
16
|
loading?: boolean;
|
|
17
17
|
singleAppSelection?: boolean;
|
|
@@ -20,7 +20,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
20
20
|
optionNameKey?: string;
|
|
21
21
|
optionImageKey?: string;
|
|
22
22
|
optionIconKey?: string;
|
|
23
|
-
optionIconType?: "fill" | "bold" | "
|
|
23
|
+
optionIconType?: "fill" | "bold" | "ab-test" | "regular" | "branded" | "ad-unit";
|
|
24
24
|
}>, {
|
|
25
25
|
placeholder: string;
|
|
26
26
|
selectedOption: any;
|
|
@@ -57,8 +57,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
57
57
|
label: string;
|
|
58
58
|
mandatory?: boolean;
|
|
59
59
|
hoverHelpText?: string;
|
|
60
|
-
hoverHelpTextPlacement?: "auto" | "
|
|
61
|
-
feedbackVariant?: "
|
|
60
|
+
hoverHelpTextPlacement?: "auto" | "auto-start" | "auto-end" | "top" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end";
|
|
61
|
+
feedbackVariant?: "error" | "success" | "warning";
|
|
62
62
|
feedbackText?: string;
|
|
63
63
|
loading?: boolean;
|
|
64
64
|
singleAppSelection?: boolean;
|
|
@@ -67,7 +67,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
67
67
|
optionNameKey?: string;
|
|
68
68
|
optionImageKey?: string;
|
|
69
69
|
optionIconKey?: string;
|
|
70
|
-
optionIconType?: "fill" | "bold" | "
|
|
70
|
+
optionIconType?: "fill" | "bold" | "ab-test" | "regular" | "branded" | "ad-unit";
|
|
71
71
|
}>, {
|
|
72
72
|
placeholder: string;
|
|
73
73
|
selectedOption: any;
|
|
@@ -94,26 +94,26 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
94
94
|
onClick?: () => any;
|
|
95
95
|
}, {
|
|
96
96
|
label: string;
|
|
97
|
-
disabled: boolean;
|
|
98
97
|
size: "small" | "medium" | "large";
|
|
99
|
-
open: boolean;
|
|
100
|
-
mandatory: boolean;
|
|
101
|
-
loading: boolean;
|
|
102
98
|
testId: string;
|
|
99
|
+
loading: boolean;
|
|
100
|
+
disabled: boolean;
|
|
103
101
|
options: unknown[];
|
|
104
102
|
singleAppSelection: boolean;
|
|
105
103
|
placeholder: string;
|
|
104
|
+
open: boolean;
|
|
105
|
+
mandatory: boolean;
|
|
106
106
|
multi: boolean;
|
|
107
107
|
selectedOption: any;
|
|
108
108
|
brandIconType: "android" | "ios";
|
|
109
109
|
optionNameKey: string;
|
|
110
110
|
optionImageKey: string;
|
|
111
111
|
optionIconKey: string;
|
|
112
|
-
optionIconType: "fill" | "bold" | "
|
|
112
|
+
optionIconType: "fill" | "bold" | "ab-test" | "regular" | "branded" | "ad-unit";
|
|
113
113
|
hoverHelpText: string;
|
|
114
|
-
hoverHelpTextPlacement: "auto" | "
|
|
114
|
+
hoverHelpTextPlacement: "auto" | "auto-start" | "auto-end" | "top" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end";
|
|
115
115
|
feedbackText: string;
|
|
116
|
-
feedbackVariant: "
|
|
116
|
+
feedbackVariant: "error" | "success" | "warning";
|
|
117
117
|
}>, {
|
|
118
118
|
image?(_: {}): any;
|
|
119
119
|
"icon-start"?(_: {}): any;
|
|
@@ -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
|
|
3
|
+
// import "../../../DefaultDropdownTrigger.vue_vue_type_style_index_0_scoped_c6156fa0_lang.css"; //*');
|
|
4
|
+
const p = /* @__PURE__ */ e(o, [["__scopeId", "data-v-c6156fa0"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
p as default
|
|
7
7
|
};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import "../../../DefaultDropdownTrigger.
|
|
1
|
+
import "../../../DefaultDropdownTrigger.vue_vue_type_style_index_0_scoped_c6156fa0_lang.css"; import { defineComponent as O, computed as r, openBlock as a, createElementBlock as i, Fragment as I, createBlock as m, createCommentVNode as n, createElementVNode as s, mergeProps as y, unref as l, renderSlot as h, createVNode as c, withCtx as x, createTextVNode as V, toDisplayString as B } from "vue";
|
|
2
2
|
import A from "../../typography/v4/Typography.vue.js";
|
|
3
3
|
import { DropdownTestIdModifiers as u } from "../../../testids/index.js";
|
|
4
4
|
import g from "../../icon/v4/IconV4.vue.js";
|
|
5
5
|
import N from "../../shared/FieldLabel.vue.js";
|
|
6
|
-
import
|
|
7
|
-
import { useTestIdAttrs as
|
|
8
|
-
const $ = { class: "content" },
|
|
6
|
+
import K from "../../shared/FieldHelpText.vue.js";
|
|
7
|
+
import { useTestIdAttrs as C } from "../../../utils/testIds.js";
|
|
8
|
+
const $ = { class: "content" }, D = {
|
|
9
9
|
key: 0,
|
|
10
10
|
class: "image"
|
|
11
|
-
},
|
|
11
|
+
}, w = ["src"], H = {
|
|
12
12
|
key: 1,
|
|
13
13
|
class: "start-icon"
|
|
14
|
-
},
|
|
14
|
+
}, M = /* @__PURE__ */ O({
|
|
15
15
|
__name: "DefaultDropdownTrigger",
|
|
16
16
|
props: {
|
|
17
17
|
placeholder: { default: "Select" },
|
|
@@ -39,11 +39,11 @@ const $ = { class: "content" }, C = {
|
|
|
39
39
|
},
|
|
40
40
|
emits: ["click"],
|
|
41
41
|
setup(t, { emit: T }) {
|
|
42
|
-
const e = t, b =
|
|
42
|
+
const e = t, b = r(
|
|
43
43
|
() => e.feedbackVariant ? `state-${e.feedbackVariant}` : ""
|
|
44
44
|
), k = () => {
|
|
45
45
|
T("click");
|
|
46
|
-
}, f =
|
|
46
|
+
}, f = C(e.testId, u), v = r(() => e.multi ? !Array.isArray(e.selectedOption) || !e.selectedOption?.length ? e.placeholder : e.options?.length === e.selectedOption.length ? "All" : e.selectedOption?.length === 1 && e.displayValue ? e.displayValue(e.selectedOption[0]) : `${e.selectedOption.length} selected` : e.selectedOption ? e.displayValue(e.selectedOption) : e.placeholder), o = r(() => {
|
|
47
47
|
if (!e.selectedOption)
|
|
48
48
|
return null;
|
|
49
49
|
if (!e.multi)
|
|
@@ -59,21 +59,20 @@ const $ = { class: "content" }, C = {
|
|
|
59
59
|
"hover-help-text": t.hoverHelpText,
|
|
60
60
|
"hover-help-text-placement": t.hoverHelpTextPlacement,
|
|
61
61
|
disabled: t.disabled,
|
|
62
|
-
"test-id": t.testId
|
|
63
|
-
class: "dropdown-field-label"
|
|
62
|
+
"test-id": t.testId
|
|
64
63
|
}, null, 8, ["label", "mandatory", "hover-help-text", "hover-help-text-placement", "disabled", "test-id"])) : n("", !0),
|
|
65
|
-
|
|
64
|
+
s("div", y({
|
|
66
65
|
class: ["dropdown-trigger", [t.size, l(b), { open: t.open, disabled: t.disabled }]]
|
|
67
66
|
}, l(f)[l(u).BUTTON_WRAPPER], {
|
|
68
|
-
onClick: p[0] || (p[0] = (
|
|
67
|
+
onClick: p[0] || (p[0] = (P) => k())
|
|
69
68
|
}), [
|
|
70
|
-
|
|
71
|
-
d.$slots.image || l(o) && t.optionImageKey ? (a(), i("div",
|
|
69
|
+
s("div", $, [
|
|
70
|
+
d.$slots.image || l(o) && t.optionImageKey ? (a(), i("div", D, [
|
|
72
71
|
h(d.$slots, "image", {}, () => [
|
|
73
72
|
t.optionImageKey ? (a(), i("img", {
|
|
74
73
|
key: 0,
|
|
75
74
|
src: l(o)[t.optionImageKey]
|
|
76
|
-
}, null, 8,
|
|
75
|
+
}, null, 8, w)) : n("", !0)
|
|
77
76
|
], !0)
|
|
78
77
|
])) : n("", !0),
|
|
79
78
|
d.$slots["icon-start"] || l(o) && t.optionIconKey ? (a(), i("div", H, [
|
|
@@ -81,34 +80,33 @@ const $ = { class: "content" }, C = {
|
|
|
81
80
|
c(l(g), {
|
|
82
81
|
type: t.optionIconType,
|
|
83
82
|
name: l(o)[t.optionIconKey],
|
|
84
|
-
size: "
|
|
83
|
+
size: "16px"
|
|
85
84
|
}, null, 8, ["type", "name"])
|
|
86
85
|
], !0)
|
|
87
86
|
])) : n("", !0),
|
|
88
87
|
c(l(A), y({ variant: "body1" }, l(f)[l(u).BUTTON_CONTENT], { class: "displayed-value" }), {
|
|
89
88
|
default: x(() => [
|
|
90
|
-
V(B(l(
|
|
89
|
+
V(B(l(v)), 1)
|
|
91
90
|
]),
|
|
92
91
|
_: 1
|
|
93
92
|
}, 16)
|
|
94
93
|
]),
|
|
95
|
-
|
|
94
|
+
s("div", null, [
|
|
96
95
|
c(l(g), {
|
|
97
96
|
name: "caret-down",
|
|
98
97
|
size: "20px"
|
|
99
98
|
})
|
|
100
99
|
])
|
|
101
100
|
], 16),
|
|
102
|
-
t.feedbackText ? (a(), m(
|
|
101
|
+
t.feedbackText ? (a(), m(K, {
|
|
103
102
|
key: 1,
|
|
104
103
|
text: t.feedbackText,
|
|
105
104
|
variant: t.feedbackVariant,
|
|
106
|
-
"test-id": t.testId
|
|
107
|
-
class: "dropdown-field-help-text"
|
|
105
|
+
"test-id": t.testId
|
|
108
106
|
}, null, 8, ["text", "variant", "test-id"])) : n("", !0)
|
|
109
107
|
], 64));
|
|
110
108
|
}
|
|
111
109
|
});
|
|
112
110
|
export {
|
|
113
|
-
|
|
111
|
+
M as default
|
|
114
112
|
};
|
|
@@ -27,7 +27,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
27
27
|
triggerLabel?: string;
|
|
28
28
|
triggerHelperText?: string;
|
|
29
29
|
triggerFeedbackText?: string;
|
|
30
|
-
triggerFeedbackVariant?: "
|
|
30
|
+
triggerFeedbackVariant?: "error" | "success" | "warning";
|
|
31
31
|
size?: "sm" | "lg";
|
|
32
32
|
mandatory?: boolean;
|
|
33
33
|
predefinedTrigger?: "default" | "icon-button" | "chip" | "app";
|
|
@@ -41,7 +41,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
41
41
|
optionNameKey?: string;
|
|
42
42
|
optionIconKey?: string;
|
|
43
43
|
optionImageKey?: string;
|
|
44
|
-
optionIconType?: "fill" | "bold" | "
|
|
44
|
+
optionIconType?: "fill" | "bold" | "ab-test" | "regular" | "branded" | "ad-unit";
|
|
45
45
|
valueToCopy?: string;
|
|
46
46
|
theme?: string;
|
|
47
47
|
fullWidth?: boolean;
|
|
@@ -123,7 +123,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
123
123
|
triggerLabel?: string;
|
|
124
124
|
triggerHelperText?: string;
|
|
125
125
|
triggerFeedbackText?: string;
|
|
126
|
-
triggerFeedbackVariant?: "
|
|
126
|
+
triggerFeedbackVariant?: "error" | "success" | "warning";
|
|
127
127
|
size?: "sm" | "lg";
|
|
128
128
|
mandatory?: boolean;
|
|
129
129
|
predefinedTrigger?: "default" | "icon-button" | "chip" | "app";
|
|
@@ -137,7 +137,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
137
137
|
optionNameKey?: string;
|
|
138
138
|
optionIconKey?: string;
|
|
139
139
|
optionImageKey?: string;
|
|
140
|
-
optionIconType?: "fill" | "bold" | "
|
|
140
|
+
optionIconType?: "fill" | "bold" | "ab-test" | "regular" | "branded" | "ad-unit";
|
|
141
141
|
valueToCopy?: string;
|
|
142
142
|
theme?: string;
|
|
143
143
|
fullWidth?: boolean;
|
|
@@ -190,25 +190,25 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
190
190
|
onClosed?: () => any;
|
|
191
191
|
}, {
|
|
192
192
|
theme: string;
|
|
193
|
-
disabled: boolean;
|
|
194
193
|
size: "sm" | "lg";
|
|
195
|
-
flip: boolean;
|
|
196
|
-
mandatory: boolean;
|
|
197
194
|
testId: string;
|
|
198
|
-
container: string;
|
|
199
195
|
placement: Placement;
|
|
200
|
-
|
|
196
|
+
disabled: boolean;
|
|
197
|
+
container: string;
|
|
201
198
|
popperClass: string;
|
|
202
199
|
selected: any;
|
|
203
200
|
modelValue: any;
|
|
204
201
|
placeholder: string;
|
|
202
|
+
mandatory: boolean;
|
|
205
203
|
isOnTop: boolean;
|
|
206
204
|
multi: boolean;
|
|
207
205
|
inlineSearch: boolean;
|
|
208
206
|
noResultsText: string;
|
|
209
207
|
defaultOpen: boolean;
|
|
208
|
+
distance: number;
|
|
210
209
|
skidding: number;
|
|
211
210
|
onSearch: (option: any, term: string) => boolean;
|
|
211
|
+
flip: boolean;
|
|
212
212
|
keepOpen: boolean;
|
|
213
213
|
autoSize: boolean;
|
|
214
214
|
disableKeyboardEvents: boolean;
|
|
@@ -216,13 +216,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
216
216
|
optionNameKey: string;
|
|
217
217
|
optionImageKey: string;
|
|
218
218
|
optionIconKey: string;
|
|
219
|
-
optionIconType: "fill" | "bold" | "
|
|
219
|
+
optionIconType: "fill" | "bold" | "ab-test" | "regular" | "branded" | "ad-unit";
|
|
220
220
|
onClear: () => void;
|
|
221
221
|
inlineSearchPlaceholder: string;
|
|
222
222
|
triggerLabel: string;
|
|
223
223
|
triggerHelperText: string;
|
|
224
224
|
triggerFeedbackText: string;
|
|
225
|
-
triggerFeedbackVariant: "
|
|
225
|
+
triggerFeedbackVariant: "error" | "success" | "warning";
|
|
226
226
|
searchAutoFocus: boolean;
|
|
227
227
|
predefinedTrigger: "default" | "icon-button" | "chip" | "app";
|
|
228
228
|
fullWidth: boolean;
|
|
@@ -9,7 +9,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
9
9
|
nameKey?: string;
|
|
10
10
|
imageKey?: string;
|
|
11
11
|
iconKey?: string;
|
|
12
|
-
iconType?: "fill" | "bold" | "
|
|
12
|
+
iconType?: "fill" | "bold" | "ab-test" | "regular" | "branded" | "ad-unit";
|
|
13
13
|
}>, {
|
|
14
14
|
subtitle: string;
|
|
15
15
|
disabled: boolean;
|
|
@@ -20,7 +20,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
20
20
|
nameKey: any;
|
|
21
21
|
imageKey: any;
|
|
22
22
|
iconKey: any;
|
|
23
|
-
iconType:
|
|
23
|
+
iconType: any;
|
|
24
24
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
25
25
|
option?: unknown;
|
|
26
26
|
subtitle?: string;
|
|
@@ -32,7 +32,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
32
32
|
nameKey?: string;
|
|
33
33
|
imageKey?: string;
|
|
34
34
|
iconKey?: string;
|
|
35
|
-
iconType?: "fill" | "bold" | "
|
|
35
|
+
iconType?: "fill" | "bold" | "ab-test" | "regular" | "branded" | "ad-unit";
|
|
36
36
|
}>, {
|
|
37
37
|
subtitle: string;
|
|
38
38
|
disabled: boolean;
|
|
@@ -43,18 +43,18 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
43
43
|
nameKey: any;
|
|
44
44
|
imageKey: any;
|
|
45
45
|
iconKey: any;
|
|
46
|
-
iconType:
|
|
46
|
+
iconType: any;
|
|
47
47
|
}>>>, {
|
|
48
48
|
option: any;
|
|
49
49
|
disabled: boolean;
|
|
50
|
-
active: boolean;
|
|
51
50
|
isIndeterminate: boolean;
|
|
52
51
|
subtitle: string;
|
|
53
52
|
selectAllOption: boolean;
|
|
53
|
+
active: boolean;
|
|
54
54
|
nameKey: string;
|
|
55
55
|
imageKey: string;
|
|
56
56
|
iconKey: string;
|
|
57
|
-
iconType: "fill" | "bold" | "
|
|
57
|
+
iconType: "fill" | "bold" | "ab-test" | "regular" | "branded" | "ad-unit";
|
|
58
58
|
}>, {
|
|
59
59
|
image?(_: {}): any;
|
|
60
60
|
"icon-start"?(_: {}): 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_17d78416_lang.css"; //*');
|
|
4
|
+
const s = /* @__PURE__ */ _(o, [["__scopeId", "data-v-17d78416"]]);
|
|
5
5
|
export {
|
|
6
6
|
s as default
|
|
7
7
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import "../../../OptionV4.
|
|
1
|
+
import "../../../OptionV4.vue_vue_type_style_index_0_scoped_17d78416_lang.css"; import { defineComponent as $, openBlock as n, createElementBlock as o, normalizeClass as y, unref as t, createElementVNode as d, createBlock as k, createCommentVNode as l, renderSlot as m, createVNode as r, withCtx as b, createTextVNode as g, toDisplayString as h, withModifiers as p } from "vue";
|
|
2
2
|
import "../../typography/Heading.vue.js";
|
|
3
|
-
import
|
|
4
|
-
import
|
|
3
|
+
import N from "../../typography/Text.vue.js";
|
|
4
|
+
import T from "../../checkbox/v4/CheckboxV4.vue.js";
|
|
5
5
|
import v from "../../icon/v4/IconV4.vue.js";
|
|
6
|
-
import { NOOP as
|
|
7
|
-
import { optionCommon as
|
|
8
|
-
import
|
|
9
|
-
const
|
|
6
|
+
import { NOOP as V } from "@vue/shared";
|
|
7
|
+
import { optionCommon as w } from "../common/Option.common.js";
|
|
8
|
+
import x from "../../typography/v4/Typography.vue.js";
|
|
9
|
+
const z = {
|
|
10
10
|
key: 1,
|
|
11
11
|
class: "image"
|
|
12
12
|
}, O = ["src"], S = {
|
|
@@ -25,10 +25,10 @@ const w = {
|
|
|
25
25
|
nameKey: { default: null },
|
|
26
26
|
imageKey: { default: null },
|
|
27
27
|
iconKey: { default: null },
|
|
28
|
-
iconType: { default:
|
|
28
|
+
iconType: { default: null }
|
|
29
29
|
},
|
|
30
30
|
setup(e) {
|
|
31
|
-
const K = e, { selected: s, isMulti: c, id: C, onClick: B, api: u } =
|
|
31
|
+
const K = e, { selected: s, isMulti: c, id: C, onClick: B, api: u } = w(K);
|
|
32
32
|
return (i, a) => (n(), o("div", {
|
|
33
33
|
ref: "el",
|
|
34
34
|
class: y(["item-container", {
|
|
@@ -44,7 +44,7 @@ const w = {
|
|
|
44
44
|
"item--with-icon": i.$slots["icon-start"] || i.$slots.image
|
|
45
45
|
}])
|
|
46
46
|
}, [
|
|
47
|
-
t(c) ? (n(), k(t(
|
|
47
|
+
t(c) ? (n(), k(t(T), {
|
|
48
48
|
key: 0,
|
|
49
49
|
id: t(C).toString(),
|
|
50
50
|
tabindex: "-1",
|
|
@@ -52,9 +52,9 @@ const w = {
|
|
|
52
52
|
size: "sm",
|
|
53
53
|
"is-checked": t(s),
|
|
54
54
|
"is-indeterminate": e.isIndeterminate && !e.option,
|
|
55
|
-
onClick: a[0] || (a[0] = (f) => e.disabled ? t(
|
|
55
|
+
onClick: a[0] || (a[0] = (f) => e.disabled ? t(V)() : t(B)(f))
|
|
56
56
|
}, null, 8, ["id", "is-checked", "is-indeterminate"])) : l("", !0),
|
|
57
|
-
i.$slots.image || e.imageKey ? (n(), o("div",
|
|
57
|
+
i.$slots.image || e.imageKey ? (n(), o("div", z, [
|
|
58
58
|
m(i.$slots, "image", {}, () => [
|
|
59
59
|
e.imageKey ? (n(), o("img", {
|
|
60
60
|
key: 0,
|
|
@@ -67,12 +67,12 @@ const w = {
|
|
|
67
67
|
r(t(v), {
|
|
68
68
|
type: e.iconType,
|
|
69
69
|
name: e.option[e.iconKey],
|
|
70
|
-
size:
|
|
71
|
-
}, null, 8, ["type", "name"
|
|
70
|
+
size: "16px"
|
|
71
|
+
}, null, 8, ["type", "name"])
|
|
72
72
|
], !0)
|
|
73
73
|
])) : l("", !0),
|
|
74
74
|
d("div", I, [
|
|
75
|
-
r(t(
|
|
75
|
+
r(t(x), { variant: "body2" }, {
|
|
76
76
|
default: b(() => [
|
|
77
77
|
m(i.$slots, "default", {}, () => [
|
|
78
78
|
g(h(e.option[e.nameKey]), 1)
|
|
@@ -80,7 +80,7 @@ const w = {
|
|
|
80
80
|
]),
|
|
81
81
|
_: 3
|
|
82
82
|
}),
|
|
83
|
-
e.subtitle ? (n(), k(t(
|
|
83
|
+
e.subtitle ? (n(), k(t(N), {
|
|
84
84
|
key: 0,
|
|
85
85
|
class: "subtitle",
|
|
86
86
|
size: "xs"
|
|
@@ -95,7 +95,7 @@ const w = {
|
|
|
95
95
|
t(u).clearable && t(s) ? (n(), o("div", E, [
|
|
96
96
|
d("button", {
|
|
97
97
|
class: "clear-button",
|
|
98
|
-
onClick: a[1] || (a[1] =
|
|
98
|
+
onClick: a[1] || (a[1] = p((f) => t(u).clearSelection(), ["prevent", "stop"]))
|
|
99
99
|
}, [
|
|
100
100
|
r(t(v), {
|
|
101
101
|
name: "close",
|