@ironsource/shared-ui 2.1.2-rc.0 → 2.1.3-rc.0
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/AppHeader.vue_vue_type_style_index_0_scoped_aa538d40_lang.css +1 -0
- package/DefaultDropdownTrigger.vue_vue_type_style_index_0_scoped_f0c4710f_lang.css +1 -0
- package/DropdownV4.vue_vue_type_style_index_0_scoped_78c1497e_lang.css +1 -0
- package/InlineCopy.vue_vue_type_style_index_0_scoped_117ac157_lang.css +1 -0
- package/README.md +1 -1
- package/components/appHeader/AppHeader.vue.d.ts +5 -0
- package/components/appHeader/AppHeader.vue.js +2 -2
- package/components/appHeader/AppHeader.vue2.js +33 -29
- package/components/appHeader/index.d.ts +9 -0
- package/components/dropdown/v4/DefaultDropdownTrigger.vue.d.ts +5 -0
- package/components/dropdown/v4/DefaultDropdownTrigger.vue.js +2 -2
- package/components/dropdown/v4/DefaultDropdownTrigger.vue2.js +15 -13
- package/components/dropdown/v4/DropdownV4.vue.d.ts +5 -0
- package/components/dropdown/v4/DropdownV4.vue.js +2 -2
- package/components/dropdown/v4/DropdownV4.vue2.js +60 -58
- package/components/dropdown/v4/dropdownStoryArgs.d.ts +8 -0
- package/components/dropdown/v4/index.d.ts +40 -2
- package/components/inlineCopy/InlineCopy.vue.d.ts +5 -0
- package/components/inlineCopy/InlineCopy.vue.js +2 -2
- package/components/inlineCopy/InlineCopy.vue2.js +29 -27
- package/components/inlineCopy/index.d.ts +11 -0
- package/index.d.ts +120 -4
- package/package.json +6 -2
- package/AppHeader.vue_vue_type_style_index_0_scoped_5afbd3dd_lang.css +0 -1
- package/DefaultDropdownTrigger.vue_vue_type_style_index_0_scoped_5fa01c78_lang.css +0 -1
- package/DropdownV4.vue_vue_type_style_index_0_scoped_258b9f7e_lang.css +0 -1
- package/InlineCopy.vue_vue_type_style_index_0_scoped_39577dfc_lang.css +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.app-header[data-v-aa538d40]{display:flex}.app-header .image-container[data-v-aa538d40]{height:48px;width:48px;border-radius:4px}.app-header .image-container img[data-v-aa538d40]{min-width:100%;object-fit:cover;border-radius:4px}.app-header .icon-container[data-v-aa538d40]{color:var(--action-active);display:flex;align-items:center;padding:0 8px}.app-header .name-container .title[data-v-aa538d40]{color:var(--text-primary)}.app-header .name-container .inline-copy[data-v-aa538d40]{color:var(--text-secondary)}.app-header.size-small[data-v-aa538d40]{align-items:center}.app-header.size-small .image-container[data-v-aa538d40]{height:28px;width:28px;border-radius:6px}.app-header.size-small .image-container img[data-v-aa538d40]{border-radius:6px}.app-header.size-small .name-container[data-v-aa538d40]{display:flex}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.default-dropdown-wrapper[data-v-f0c4710f]{position:relative}.dropdown-trigger[data-v-f0c4710f]{width:100%;padding:.3125rem .4375rem;display:flex;column-gap:.5rem;max-width:100%;box-sizing:border-box;border-radius:var(--border-radius-md);border:1px solid var(--action-outlined-border);background:var(--default-main);cursor:pointer;user-select:none;position:relative}.dropdown-trigger[data-v-f0c4710f]:hover{border:1px solid var(--action-active);background:var(--action-hover)}.dropdown-trigger.small[data-v-f0c4710f]{padding:.1875rem .4375rem}.dropdown-trigger.large[data-v-f0c4710f]{padding:.5625rem .4375rem}.dropdown-trigger.disabled[data-v-f0c4710f]{border:1px solid var(--action-outlined-border, #bbb);background:var(--action-disabled-background, #f1f1f1);cursor:not-allowed}.dropdown-trigger.open[data-v-f0c4710f]{padding:.25rem .375rem;border:2px solid var(--primary-main)}.dropdown-trigger.open.small[data-v-f0c4710f]{padding:.125rem .375rem}.dropdown-trigger.open.large[data-v-f0c4710f]{padding:.5rem .375rem}.dropdown-trigger.state-error[data-v-f0c4710f]{padding:4px 6px;border:2px solid var(--error-main)}.dropdown-trigger.state-success[data-v-f0c4710f]{padding:4px 6px;border:2px solid var(--success-main)}.dropdown-trigger.state-warning[data-v-f0c4710f]{padding:4px 6px;border:2px solid var(--warning-dark)}.dropdown-trigger .caret-down[data-v-f0c4710f]{color:var(--action-active)}.content[data-v-f0c4710f]{width:calc(100% - 28px);display:flex;gap:.25rem;align-items:center;color:var(--text-primary)}.content .displayed-value[data-v-f0c4710f]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.content .image[data-v-f0c4710f]{width:20px;height:20px;flex:none}.content .image img[data-v-f0c4710f]{border-radius:4px;width:100%;height:100%}.content .start-icon[data-v-f0c4710f]{display:flex;color:var(--action-active)}.content .status-dot[data-v-f0c4710f]{padding-right:.25rem}.content .status-dot>div[data-v-f0c4710f]{position:relative;top:-1px}.dropdown-field-label[data-v-f0c4710f]{color:var(--text-primary)}.dropdown-field-help-text[data-v-f0c4710f]{margin-top:4px;position:absolute}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.v-enter-active[data-v-78c1497e],.v-leave-active[data-v-78c1497e]{transition:opacity .25s ease}ol[data-v-78c1497e],ul[data-v-78c1497e],menu[data-v-78c1497e]{list-style:none;margin:0;padding:0}.dropdown.full-width[data-v-78c1497e],.dropdown.full-width .button__container[data-v-78c1497e]{width:100%}.dropdown-list-wrapper[data-v-78c1497e]{display:flex;flex-direction:column;padding:.5rem}.list-container--multi[data-v-78c1497e]{margin-bottom:0}.inline-search .inline-search-wrapper[data-v-78c1497e]{padding-bottom:.25rem}.inline-search .list-container[data-v-78c1497e]{padding-top:0}.no-result-container[data-v-78c1497e]{height:100%;display:flex;align-items:center;padding:.375rem .5rem;color:var(--text-disabled)}.no-result[data-v-78c1497e]{color:var(--text-disabled);padding-left:.5rem}.list[data-v-78c1497e]{outline:none;display:flex;flex-direction:column;width:100%;min-height:2rem}.list--multi[data-v-78c1497e]{margin-bottom:.5rem;border-bottom-left-radius:0;border-bottom-right-radius:0}.list li[data-v-78c1497e]:last-child .item-container{margin-bottom:0}.image-slot[data-v-78c1497e]{margin-right:.5rem}.actions-wrapper[data-v-78c1497e]{display:flex;width:100%;padding:.5rem .5rem .5rem .125rem;padding-bottom:0;border-top:1px solid var(--common-divider);justify-content:space-between}.apply-button[data-v-78c1497e]{margin-left:.5rem}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.inline-copy[data-v-117ac157]{display:inline-flex;cursor:pointer;color:var(--action-active)}.inline-copy .icon-copy[data-v-117ac157]{padding:0 4px;cursor:pointer;color:var(--action-active)}.inline-copy .icon-copy[data-v-117ac157]:hover{color:var(--action-primary)}
|
package/README.md
CHANGED
|
@@ -129,4 +129,4 @@ cd e2e/playwright
|
|
|
129
129
|
npm run pw:ui:local
|
|
130
130
|
```
|
|
131
131
|
|
|
132
|
-
Read more about this project <a href="https://github.com/ironsource-mobile/shared-ui-ssp/blob/main/e2e/playwright/README.md">here</a
|
|
132
|
+
Read more about this project <a href="https://github.com/ironsource-mobile/shared-ui-ssp/blob/main/e2e/playwright/README.md">here</a>.
|
|
@@ -4,26 +4,31 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
4
4
|
platform: 'android' | 'ios';
|
|
5
5
|
appKey: string;
|
|
6
6
|
testId: string;
|
|
7
|
+
type?: 'small' | 'normal';
|
|
7
8
|
}>, {
|
|
8
9
|
image: string;
|
|
9
10
|
name: string;
|
|
10
11
|
platform: string;
|
|
11
12
|
appKey: string;
|
|
12
13
|
testId: string;
|
|
14
|
+
type: string;
|
|
13
15
|
}>, {}, 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<{
|
|
14
16
|
image: string;
|
|
15
17
|
name: string;
|
|
16
18
|
platform: 'android' | 'ios';
|
|
17
19
|
appKey: string;
|
|
18
20
|
testId: string;
|
|
21
|
+
type?: 'small' | 'normal';
|
|
19
22
|
}>, {
|
|
20
23
|
image: string;
|
|
21
24
|
name: string;
|
|
22
25
|
platform: string;
|
|
23
26
|
appKey: string;
|
|
24
27
|
testId: string;
|
|
28
|
+
type: string;
|
|
25
29
|
}>>>, {
|
|
26
30
|
name: string;
|
|
31
|
+
type: 'small' | 'normal';
|
|
27
32
|
image: string;
|
|
28
33
|
testId: string;
|
|
29
34
|
platform: 'android' | 'ios';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import e from "./AppHeader.vue2.js";
|
|
2
2
|
/* empty css */import o from "../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
-
// import "../../AppHeader.
|
|
4
|
-
const s = /* @__PURE__ */ o(e, [["__scopeId", "data-v-
|
|
3
|
+
// import "../../AppHeader.vue_vue_type_style_index_0_scoped_aa538d40_lang.css"; //*');
|
|
4
|
+
const s = /* @__PURE__ */ o(e, [["__scopeId", "data-v-aa538d40"]]);
|
|
5
5
|
export {
|
|
6
6
|
s as default
|
|
7
7
|
};
|
|
@@ -1,56 +1,60 @@
|
|
|
1
|
-
import "../../AppHeader.
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import { useTestIdAttrs as
|
|
6
|
-
import { AppHeaderTestIdModifiers as
|
|
7
|
-
const
|
|
1
|
+
import "../../AppHeader.vue_vue_type_style_index_0_scoped_aa538d40_lang.css"; import { defineComponent as r, computed as d, openBlock as m, createElementBlock as c, normalizeClass as p, createElementVNode as a, createVNode as o, unref as t, mergeProps as f, withCtx as u, createTextVNode as y, toDisplayString as h } from "vue";
|
|
2
|
+
import x from "../icon/v4/IconV4.vue.js";
|
|
3
|
+
import v from "../typography/v4/Typography.vue.js";
|
|
4
|
+
import I from "../inlineCopy/InlineCopy.vue.js";
|
|
5
|
+
import { useTestIdAttrs as g } from "../../utils/testIds.js";
|
|
6
|
+
import { AppHeaderTestIdModifiers as i } from "../../testids/index.js";
|
|
7
|
+
const T = { class: "image-container" }, z = ["src", "alt"], C = { class: "icon-container" }, A = { class: "name-container" }, K = /* @__PURE__ */ r({
|
|
8
8
|
__name: "AppHeader",
|
|
9
9
|
props: {
|
|
10
10
|
image: { default: "" },
|
|
11
11
|
name: { default: "" },
|
|
12
12
|
platform: { default: "android" },
|
|
13
13
|
appKey: { default: "" },
|
|
14
|
-
testId: { default: "" }
|
|
14
|
+
testId: { default: "" },
|
|
15
|
+
type: { default: "normal" }
|
|
15
16
|
},
|
|
16
17
|
setup(e) {
|
|
17
|
-
const
|
|
18
|
-
() =>
|
|
19
|
-
),
|
|
20
|
-
return (N, E) => (
|
|
21
|
-
|
|
18
|
+
const n = e, l = d(
|
|
19
|
+
() => n.platform ? n.platform.toLowerCase() : ""
|
|
20
|
+
), s = g(n.testId, i);
|
|
21
|
+
return (N, E) => (m(), c("div", {
|
|
22
|
+
class: p(["app-header", `size-${e.type}`])
|
|
23
|
+
}, [
|
|
24
|
+
a("div", T, [
|
|
22
25
|
a("img", {
|
|
23
26
|
src: e.image,
|
|
24
27
|
alt: e.name
|
|
25
|
-
}, null, 8,
|
|
28
|
+
}, null, 8, z)
|
|
26
29
|
]),
|
|
27
|
-
a("div",
|
|
28
|
-
|
|
30
|
+
a("div", C, [
|
|
31
|
+
o(t(x), {
|
|
29
32
|
type: "branded",
|
|
30
|
-
name: t(
|
|
31
|
-
size: "24px"
|
|
32
|
-
}, null, 8, ["name"])
|
|
33
|
+
name: t(l),
|
|
34
|
+
size: e.type === "normal" ? "24px" : "20px"
|
|
35
|
+
}, null, 8, ["name", "size"])
|
|
33
36
|
]),
|
|
34
|
-
a("div",
|
|
35
|
-
|
|
36
|
-
variant: "h2",
|
|
37
|
+
a("div", A, [
|
|
38
|
+
o(t(v), f({
|
|
39
|
+
variant: e.type === "normal" ? "h2" : "button",
|
|
37
40
|
class: "title"
|
|
38
|
-
}, t(
|
|
39
|
-
default:
|
|
40
|
-
|
|
41
|
+
}, t(s)[t(i).TITLE]), {
|
|
42
|
+
default: u(() => [
|
|
43
|
+
y(h(e.name), 1)
|
|
41
44
|
]),
|
|
42
45
|
_: 1
|
|
43
|
-
}, 16),
|
|
46
|
+
}, 16, ["variant"]),
|
|
44
47
|
a("div", null, [
|
|
45
|
-
|
|
48
|
+
o(t(I), {
|
|
46
49
|
text: e.appKey,
|
|
47
50
|
size: "medium",
|
|
48
51
|
class: "inline-copy",
|
|
52
|
+
"hide-text-value": e.type === "small",
|
|
49
53
|
"test-id": e.testId
|
|
50
|
-
}, null, 8, ["text", "test-id"])
|
|
54
|
+
}, null, 8, ["text", "hide-text-value", "test-id"])
|
|
51
55
|
])
|
|
52
56
|
])
|
|
53
|
-
]));
|
|
57
|
+
], 2));
|
|
54
58
|
}
|
|
55
59
|
});
|
|
56
60
|
export {
|
|
@@ -5,6 +5,10 @@ declare const AppHeaderTypes: () => import("vue").DefineComponent<{
|
|
|
5
5
|
required: true;
|
|
6
6
|
default: string;
|
|
7
7
|
};
|
|
8
|
+
type: {
|
|
9
|
+
type: import("vue").PropType<"small" | "normal">;
|
|
10
|
+
default: string;
|
|
11
|
+
};
|
|
8
12
|
image: {
|
|
9
13
|
type: import("vue").PropType<string>;
|
|
10
14
|
required: true;
|
|
@@ -31,6 +35,10 @@ declare const AppHeaderTypes: () => import("vue").DefineComponent<{
|
|
|
31
35
|
required: true;
|
|
32
36
|
default: string;
|
|
33
37
|
};
|
|
38
|
+
type: {
|
|
39
|
+
type: import("vue").PropType<"small" | "normal">;
|
|
40
|
+
default: string;
|
|
41
|
+
};
|
|
34
42
|
image: {
|
|
35
43
|
type: import("vue").PropType<string>;
|
|
36
44
|
required: true;
|
|
@@ -53,6 +61,7 @@ declare const AppHeaderTypes: () => import("vue").DefineComponent<{
|
|
|
53
61
|
};
|
|
54
62
|
}>>, {
|
|
55
63
|
name: string;
|
|
64
|
+
type: "small" | "normal";
|
|
56
65
|
image: string;
|
|
57
66
|
testId: string;
|
|
58
67
|
platform: "android" | "ios";
|
|
@@ -13,6 +13,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
13
13
|
hoverHelpTextPlacement?: "auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end";
|
|
14
14
|
feedbackVariant?: "success" | "warning" | "error";
|
|
15
15
|
feedbackText?: string;
|
|
16
|
+
showFeedbackIcon?: boolean;
|
|
16
17
|
loading?: boolean;
|
|
17
18
|
singleAppSelection?: boolean;
|
|
18
19
|
brandIconType?: "android" | "ios";
|
|
@@ -37,6 +38,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
37
38
|
hoverHelpTextPlacement: string;
|
|
38
39
|
feedbackText: string;
|
|
39
40
|
feedbackVariant: any;
|
|
41
|
+
showFeedbackIcon: boolean;
|
|
40
42
|
loading: boolean;
|
|
41
43
|
singleAppSelection: boolean;
|
|
42
44
|
brandIconType: any;
|
|
@@ -62,6 +64,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
62
64
|
hoverHelpTextPlacement?: "auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end";
|
|
63
65
|
feedbackVariant?: "success" | "warning" | "error";
|
|
64
66
|
feedbackText?: string;
|
|
67
|
+
showFeedbackIcon?: boolean;
|
|
65
68
|
loading?: boolean;
|
|
66
69
|
singleAppSelection?: boolean;
|
|
67
70
|
brandIconType?: "android" | "ios";
|
|
@@ -86,6 +89,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
86
89
|
hoverHelpTextPlacement: string;
|
|
87
90
|
feedbackText: string;
|
|
88
91
|
feedbackVariant: any;
|
|
92
|
+
showFeedbackIcon: boolean;
|
|
89
93
|
loading: boolean;
|
|
90
94
|
singleAppSelection: boolean;
|
|
91
95
|
brandIconType: any;
|
|
@@ -118,6 +122,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
118
122
|
hoverHelpTextPlacement: "auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end";
|
|
119
123
|
feedbackText: string;
|
|
120
124
|
feedbackVariant: "success" | "warning" | "error";
|
|
125
|
+
showFeedbackIcon: boolean;
|
|
121
126
|
statusDotType: "default" | "disabled" | "success" | "warning" | "error" | "archive";
|
|
122
127
|
}>, {
|
|
123
128
|
image?(_: {}): 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 p = /* @__PURE__ */ e(o, [["__scopeId", "data-v-
|
|
3
|
+
// import "../../../DefaultDropdownTrigger.vue_vue_type_style_index_0_scoped_f0c4710f_lang.css"; //*');
|
|
4
|
+
const p = /* @__PURE__ */ e(o, [["__scopeId", "data-v-f0c4710f"]]);
|
|
5
5
|
export {
|
|
6
6
|
p as default
|
|
7
7
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import "../../../DefaultDropdownTrigger.
|
|
2
|
-
import
|
|
1
|
+
import "../../../DefaultDropdownTrigger.vue_vue_type_style_index_0_scoped_f0c4710f_lang.css"; import { defineComponent as I, computed as r, openBlock as a, createElementBlock as n, createBlock as m, createCommentVNode as o, createElementVNode as c, mergeProps as y, unref as l, renderSlot as h, createVNode as s, withCtx as O, createTextVNode as x, toDisplayString as w } from "vue";
|
|
2
|
+
import V from "../../typography/v4/Typography.vue.js";
|
|
3
3
|
import { DropdownTestIdModifiers as u } from "../../../testids/index.js";
|
|
4
4
|
import T from "../../icon/v4/IconV4.vue.js";
|
|
5
|
-
import
|
|
5
|
+
import B from "../../shared/FieldLabel.vue.js";
|
|
6
6
|
import D from "../../shared/FieldHelpText.vue.js";
|
|
7
7
|
import { useTestIdAttrs as A } from "../../../utils/testIds.js";
|
|
8
8
|
import N from "../../statusDot/StatusDot.vue.js";
|
|
@@ -15,7 +15,7 @@ const K = { class: "default-dropdown-wrapper" }, $ = { class: "content" }, C = {
|
|
|
15
15
|
}, S = {
|
|
16
16
|
key: 2,
|
|
17
17
|
class: "status-dot"
|
|
18
|
-
}, z = { class: "caret-down" }, G = /* @__PURE__ */
|
|
18
|
+
}, z = { class: "caret-down" }, G = /* @__PURE__ */ I({
|
|
19
19
|
__name: "DefaultDropdownTrigger",
|
|
20
20
|
props: {
|
|
21
21
|
placeholder: { default: "Select" },
|
|
@@ -32,6 +32,7 @@ const K = { class: "default-dropdown-wrapper" }, $ = { class: "content" }, C = {
|
|
|
32
32
|
hoverHelpTextPlacement: { default: "top" },
|
|
33
33
|
feedbackVariant: { default: null },
|
|
34
34
|
feedbackText: { default: "" },
|
|
35
|
+
showFeedbackIcon: { type: Boolean, default: !1 },
|
|
35
36
|
loading: { type: Boolean, default: !1 },
|
|
36
37
|
singleAppSelection: { type: Boolean, default: !1 },
|
|
37
38
|
brandIconType: { default: null },
|
|
@@ -43,11 +44,11 @@ const K = { class: "default-dropdown-wrapper" }, $ = { class: "content" }, C = {
|
|
|
43
44
|
statusDotType: { default: null }
|
|
44
45
|
},
|
|
45
46
|
emits: ["click"],
|
|
46
|
-
setup(t, { emit:
|
|
47
|
-
const e = t,
|
|
47
|
+
setup(t, { emit: b }) {
|
|
48
|
+
const e = t, g = r(
|
|
48
49
|
() => e.feedbackVariant ? `state-${e.feedbackVariant}` : ""
|
|
49
50
|
), k = () => {
|
|
50
|
-
|
|
51
|
+
b("click");
|
|
51
52
|
}, f = A(e.testId, u), v = r(() => e.multi ? !Array.isArray(e.selectedOption) || !e.selectedOption?.length ? e.placeholder : e.options?.length === e.selectedOption.length ? `All selected (${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 = r(() => {
|
|
52
53
|
if (!e.selectedOption)
|
|
53
54
|
return null;
|
|
@@ -57,7 +58,7 @@ const K = { class: "default-dropdown-wrapper" }, $ = { class: "content" }, C = {
|
|
|
57
58
|
return e.selectedOption.length === 1 ? e.selectedOption[0] : null;
|
|
58
59
|
});
|
|
59
60
|
return (i, p) => (a(), n("div", K, [
|
|
60
|
-
t.label ? (a(), m(
|
|
61
|
+
t.label ? (a(), m(B, {
|
|
61
62
|
key: 0,
|
|
62
63
|
label: t.label,
|
|
63
64
|
mandatory: t.mandatory,
|
|
@@ -68,7 +69,7 @@ const K = { class: "default-dropdown-wrapper" }, $ = { class: "content" }, C = {
|
|
|
68
69
|
class: "dropdown-field-label"
|
|
69
70
|
}, null, 8, ["label", "mandatory", "hover-help-text", "hover-help-text-placement", "disabled", "test-id"])) : o("", !0),
|
|
70
71
|
c("div", y({
|
|
71
|
-
class: ["dropdown-trigger", [t.size, l(
|
|
72
|
+
class: ["dropdown-trigger", [t.size, l(g), { open: t.open, disabled: t.disabled }]]
|
|
72
73
|
}, l(f)[l(u).BUTTON_WRAPPER], {
|
|
73
74
|
onClick: p[0] || (p[0] = (E) => k())
|
|
74
75
|
}), [
|
|
@@ -93,9 +94,9 @@ const K = { class: "default-dropdown-wrapper" }, $ = { class: "content" }, C = {
|
|
|
93
94
|
t.statusDotType ? (a(), n("div", S, [
|
|
94
95
|
s(l(N), { type: t.statusDotType }, null, 8, ["type"])
|
|
95
96
|
])) : o("", !0),
|
|
96
|
-
s(l(
|
|
97
|
-
default:
|
|
98
|
-
x(
|
|
97
|
+
s(l(V), y({ variant: "body1" }, l(f)[l(u).BUTTON_CONTENT], { class: "displayed-value" }), {
|
|
98
|
+
default: O(() => [
|
|
99
|
+
x(w(l(v)), 1)
|
|
99
100
|
]),
|
|
100
101
|
_: 1
|
|
101
102
|
}, 16)
|
|
@@ -111,9 +112,10 @@ const K = { class: "default-dropdown-wrapper" }, $ = { class: "content" }, C = {
|
|
|
111
112
|
key: 1,
|
|
112
113
|
text: t.feedbackText,
|
|
113
114
|
variant: t.feedbackVariant,
|
|
115
|
+
"show-icon": t.showFeedbackIcon,
|
|
114
116
|
"test-id": t.testId,
|
|
115
117
|
class: "dropdown-field-help-text"
|
|
116
|
-
}, null, 8, ["text", "variant", "test-id"])) : o("", !0)
|
|
118
|
+
}, null, 8, ["text", "variant", "show-icon", "test-id"])) : o("", !0)
|
|
117
119
|
]));
|
|
118
120
|
}
|
|
119
121
|
});
|
|
@@ -28,6 +28,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
28
28
|
triggerHelperText?: string;
|
|
29
29
|
triggerFeedbackText?: string;
|
|
30
30
|
triggerFeedbackVariant?: "success" | "warning" | "error";
|
|
31
|
+
triggerFeedbackShowIcon?: boolean;
|
|
31
32
|
size?: "small" | "medium" | "large";
|
|
32
33
|
mandatory?: boolean;
|
|
33
34
|
predefinedTrigger?: "default" | "icon-button" | "chip" | "app";
|
|
@@ -79,6 +80,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
79
80
|
triggerHelperText: string;
|
|
80
81
|
triggerFeedbackText: string;
|
|
81
82
|
triggerFeedbackVariant: any;
|
|
83
|
+
triggerFeedbackShowIcon: boolean;
|
|
82
84
|
searchAutoFocus: boolean;
|
|
83
85
|
predefinedTrigger: "default" | "icon-button" | "chip" | "app";
|
|
84
86
|
optionNameKey: string;
|
|
@@ -127,6 +129,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
127
129
|
triggerHelperText?: string;
|
|
128
130
|
triggerFeedbackText?: string;
|
|
129
131
|
triggerFeedbackVariant?: "success" | "warning" | "error";
|
|
132
|
+
triggerFeedbackShowIcon?: boolean;
|
|
130
133
|
size?: "small" | "medium" | "large";
|
|
131
134
|
mandatory?: boolean;
|
|
132
135
|
predefinedTrigger?: "default" | "icon-button" | "chip" | "app";
|
|
@@ -178,6 +181,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
178
181
|
triggerHelperText: string;
|
|
179
182
|
triggerFeedbackText: string;
|
|
180
183
|
triggerFeedbackVariant: any;
|
|
184
|
+
triggerFeedbackShowIcon: boolean;
|
|
181
185
|
searchAutoFocus: boolean;
|
|
182
186
|
predefinedTrigger: "default" | "icon-button" | "chip" | "app";
|
|
183
187
|
optionNameKey: string;
|
|
@@ -230,6 +234,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
230
234
|
triggerHelperText: string;
|
|
231
235
|
triggerFeedbackText: string;
|
|
232
236
|
triggerFeedbackVariant: "success" | "warning" | "error";
|
|
237
|
+
triggerFeedbackShowIcon: boolean;
|
|
233
238
|
searchAutoFocus: boolean;
|
|
234
239
|
predefinedTrigger: "default" | "icon-button" | "chip" | "app";
|
|
235
240
|
fullWidth: boolean;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import o from "./DropdownV4.vue2.js";
|
|
2
2
|
/* empty css *//* empty css */import e from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
-
// import "../../../DropdownV4.
|
|
3
|
+
// import "../../../DropdownV4.vue_vue_type_style_index_0_scoped_78c1497e_lang.css"; //*');
|
|
4
4
|
// import "../../../DropdownV4.vue_vue_type_style_index_1_lang.css"; //');
|
|
5
|
-
const r = /* @__PURE__ */ e(o, [["__scopeId", "data-v-
|
|
5
|
+
const r = /* @__PURE__ */ e(o, [["__scopeId", "data-v-78c1497e"]]);
|
|
6
6
|
export {
|
|
7
7
|
r as default
|
|
8
8
|
};
|