@ironsource/shared-ui 2.1.3-rc.25 → 2.1.3-rc.27
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_2e91704b_lang.css +1 -0
- package/AppHeader.vue_vue_type_style_index_0_scoped_8ffac784_lang.css +1 -0
- package/OptionV4.vue_vue_type_style_index_0_scoped_cae6bfd4_lang.css +1 -0
- package/components/appHeader/AppHeader.vue.d.ts +5 -0
- package/components/appHeader/AppHeader.vue.js +3 -3
- package/components/appHeader/AppHeader.vue2.js +49 -40
- package/components/appHeader/index.d.ts +9 -0
- package/components/dropdown/v4/AppDropdownTrigger.vue.js +3 -3
- package/components/dropdown/v4/AppDropdownTrigger.vue2.js +31 -31
- package/components/dropdown/v4/OptionV4.vue.js +3 -3
- package/components/dropdown/v4/OptionV4.vue2.js +96 -86
- package/index.d.ts +18 -0
- package/package.json +1 -3
- package/testids/index.d.ts +2 -1
- package/testids/index.js +5 -5
- package/AppDropdownTrigger.vue_vue_type_style_index_0_scoped_5d9c6052_lang.css +0 -1
- package/AppHeader.vue_vue_type_style_index_0_scoped_f9d4e49d_lang.css +0 -1
- package/OptionV4.vue_vue_type_style_index_0_scoped_d2743070_lang.css +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.app-trigger-wrapper[data-v-2e91704b]{display:flex}.app-trigger-wrapper.with-copy .app-trigger[data-v-2e91704b]{border-radius:var(--border-radius-lg) 0 0 var(--border-radius-lg);width:calc(100% - 41px)}.app-trigger-key[data-v-2e91704b]{flex:none}.app-trigger-key--content[data-v-2e91704b]{padding:10px;background:var(--default-main);cursor:pointer;border-radius:0 var(--border-radius-lg) var(--border-radius-lg) 0;border-left:1px solid var(--common-divider);color:var(--action-active)}.app-trigger-key--content[data-v-2e91704b]:hover{background:var(--action-selected)}.app-trigger[data-v-2e91704b]{width:100%;padding:0 12px;border-radius:var(--border-radius-lg);cursor:pointer;user-select:none;display:inline-flex;background:var(--default-main);height:40px;align-items:center}.app-trigger[data-v-2e91704b]:hover,.app-trigger.active[data-v-2e91704b]{background:var(--action-selected)}.app-trigger.disabled[data-v-2e91704b]{cursor:auto}.app-trigger--content[data-v-2e91704b]{color:var(--text-primary);display:flex;column-gap:4px;width:calc(100% - 20px);align-items:center}.app-trigger--content .x-circle-wrapper[data-v-2e91704b]{color:var(--primary-dark)}.app-trigger--content .x-circle-wrapper[data-v-2e91704b]:hover{color:var(--primary-main)}.app-trigger--icon[data-v-2e91704b]{display:flex;align-items:center;color:var(--action-active)}.app-trigger .displayed-value[data-v-2e91704b]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.app-trigger .image[data-v-2e91704b]{width:28px;height:28px;flex:none}.app-trigger .image img[data-v-2e91704b]{border-radius:4px;width:100%;height:100%}.app-trigger .start-icon[data-v-2e91704b]{display:flex;color:var(--action-active)}.app-trigger .label-text[data-v-2e91704b]{display:flex;align-items:center;gap:8px}.app-trigger .label-text .text-content[data-v-2e91704b]{display:flex;align-items:center;gap:4px;width:100%}.app-trigger .label-text .text-content .text-content-value[data-v-2e91704b]{width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.app-trigger .label-text .is-mandatory[data-v-2e91704b]{padding-top:5px;color:var(--error-main)}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.app-header[data-v-8ffac784]{display:flex}.app-header .image-container[data-v-8ffac784]{height:3rem;width:3rem;border-radius:.25rem}.app-header .image-container img[data-v-8ffac784]{min-width:100%;max-width:100%;max-height:100%;object-fit:cover;border-radius:.25rem}.app-header .icon-container[data-v-8ffac784]{color:var(--action-active);display:flex;align-items:center;padding:0 .5rem}.app-header .name-container .title[data-v-8ffac784]{color:var(--text-primary)}.app-header .name-container .inline-copy[data-v-8ffac784]{color:var(--text-secondary)}.app-header.size-small[data-v-8ffac784]{align-items:center}.app-header.size-small .image-container[data-v-8ffac784]{height:2rem;width:2rem;border-radius:.375rem}.app-header.size-small .image-container img[data-v-8ffac784]{border-radius:.375rem}.app-header.size-small .icon-container[data-v-8ffac784]{padding:0 .25rem}.app-header.size-small .name-container[data-v-8ffac784]{display:flex;align-items:center}.ab-icon-wrapper[data-v-8ffac784]{margin-left:var(--spacing-150);padding-left:var(--spacing-150);border-left:1px solid var(--common-divider);min-height:var(--spacing-400);display:flex;align-items:center}.size-small .ab-icon-wrapper[data-v-8ffac784]{margin-left:var(--spacing-25);padding-left:var(--spacing-100)}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.label[data-v-cae6bfd4]{color:#41454d}.item-container[data-v-cae6bfd4]{width:100%;display:flex;align-items:center;cursor:pointer;border-radius:var(--border-radius-lg);margin-bottom:.25rem;color:var(--text-primary);padding:6px 8px}.item-container--disabled[data-v-cae6bfd4]{cursor:initial;color:var(--text-disabled)}.item-container[data-v-cae6bfd4]:hover:not(.item-container--disabled){background-color:var(--action-hover)}.item-container--active[data-v-cae6bfd4],.item-container[data-v-cae6bfd4]:active{background-color:var(--action-selected)}.item-container:not(.item-container--multi).item-container--selected[data-v-cae6bfd4]{background-color:var(--action-selected)}.subtitle[data-v-cae6bfd4]{color:#7b838c;line-height:1rem}.clear-button[data-v-cae6bfd4]{display:flex;padding:0 4px;color:#7b838c;align-items:center;height:auto;background-image:none;min-width:auto;border:none;background-color:transparent}.clear-button[data-v-cae6bfd4]:hover{color:#3083ff}.item[data-v-cae6bfd4]{width:100%;display:flex;gap:.5rem;align-items:center}.item--with-icon[data-v-cae6bfd4],.item--multi[data-v-cae6bfd4]{display:flex;flex-direction:row;align-items:center;justify-content:start}.item .image[data-v-cae6bfd4]{width:20px;height:20px;flex:none}.item .image img[data-v-cae6bfd4]{width:20px;height:20px;border-radius:4px}.item .start-icon[data-v-cae6bfd4]{display:flex;color:var(--action-active)}.text-container[data-v-cae6bfd4]{width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;text-align:left}.tooltip-option[data-v-cae6bfd4]{display:block}.tooltip-option[data-v-cae6bfd4] .container{width:100%}
|
|
@@ -5,6 +5,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
5
5
|
appKey: string;
|
|
6
6
|
testId: string;
|
|
7
7
|
type?: 'small' | 'normal';
|
|
8
|
+
showAbIcon?: boolean;
|
|
8
9
|
}>, {
|
|
9
10
|
image: string;
|
|
10
11
|
name: string;
|
|
@@ -12,6 +13,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
12
13
|
appKey: string;
|
|
13
14
|
testId: string;
|
|
14
15
|
type: string;
|
|
16
|
+
showAbIcon: boolean;
|
|
15
17
|
}>, {}, 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<{
|
|
16
18
|
image: string;
|
|
17
19
|
name: string;
|
|
@@ -19,6 +21,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
19
21
|
appKey: string;
|
|
20
22
|
testId: string;
|
|
21
23
|
type?: 'small' | 'normal';
|
|
24
|
+
showAbIcon?: boolean;
|
|
22
25
|
}>, {
|
|
23
26
|
image: string;
|
|
24
27
|
name: string;
|
|
@@ -26,6 +29,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
26
29
|
appKey: string;
|
|
27
30
|
testId: string;
|
|
28
31
|
type: string;
|
|
32
|
+
showAbIcon: boolean;
|
|
29
33
|
}>>>, {
|
|
30
34
|
name: string;
|
|
31
35
|
type: 'small' | 'normal';
|
|
@@ -33,6 +37,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
33
37
|
testId: string;
|
|
34
38
|
platform: 'android' | 'ios';
|
|
35
39
|
appKey: string;
|
|
40
|
+
showAbIcon: boolean;
|
|
36
41
|
}>;
|
|
37
42
|
export default _default;
|
|
38
43
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -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
|
|
3
|
+
// import "../../AppHeader.vue_vue_type_style_index_0_scoped_8ffac784_lang.css"; //*');
|
|
4
|
+
const t = /* @__PURE__ */ o(e, [["__scopeId", "data-v-8ffac784"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
t as default
|
|
7
7
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
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_8ffac784_lang.css"; import { defineComponent as h, computed as o, openBlock as m, createElementBlock as d, normalizeClass as I, createElementVNode as n, mergeProps as r, unref as e, createVNode as i, withCtx as x, createTextVNode as z, toDisplayString as v, createCommentVNode as A } from "vue";
|
|
2
|
+
import c from "../icon/v4/IconV4.vue.js";
|
|
3
|
+
import b from "../typography/v4/Typography.vue.js";
|
|
4
|
+
import g from "../inlineCopy/InlineCopy.vue.js";
|
|
5
|
+
import { useTestIdAttrs as C } from "../../utils/testIds.js";
|
|
6
|
+
import { AppHeaderTestIdModifiers as s } from "../../testids/index.js";
|
|
7
|
+
const T = { class: "image-container" }, N = ["src", "alt"], w = ["data-platform"], B = { class: "name-container" }, M = /* @__PURE__ */ h({
|
|
8
8
|
__name: "AppHeader",
|
|
9
9
|
props: {
|
|
10
10
|
image: { default: "" },
|
|
@@ -12,61 +12,70 @@ const C = { class: "image-container" }, N = ["src", "alt"], P = ["data-platform"
|
|
|
12
12
|
platform: { default: "android" },
|
|
13
13
|
appKey: { default: "" },
|
|
14
14
|
testId: { default: "" },
|
|
15
|
-
type: { default: "normal" }
|
|
15
|
+
type: { default: "normal" },
|
|
16
|
+
showAbIcon: { type: Boolean, default: !1 }
|
|
16
17
|
},
|
|
17
18
|
setup(t) {
|
|
18
|
-
const a = t,
|
|
19
|
+
const a = t, p = o(
|
|
19
20
|
() => a.platform ? a.platform.toLowerCase() : ""
|
|
20
|
-
),
|
|
21
|
+
), f = o(
|
|
21
22
|
() => a.type === "normal" ? "24px" : "20px"
|
|
22
|
-
),
|
|
23
|
+
), u = o(
|
|
23
24
|
() => a.type === "small" ? "18px" : null
|
|
24
|
-
),
|
|
25
|
+
), y = o(
|
|
25
26
|
() => a.type === "normal" ? "h2" : "subtitle1"
|
|
26
|
-
),
|
|
27
|
-
return (
|
|
28
|
-
class:
|
|
27
|
+
), l = C(a.testId, s);
|
|
28
|
+
return (P, S) => (m(), d("div", {
|
|
29
|
+
class: I(["app-header", `size-${t.type}`])
|
|
29
30
|
}, [
|
|
30
|
-
|
|
31
|
-
|
|
31
|
+
n("div", T, [
|
|
32
|
+
n("img", {
|
|
32
33
|
src: t.image,
|
|
33
34
|
alt: t.name
|
|
34
35
|
}, null, 8, N)
|
|
35
36
|
]),
|
|
36
|
-
|
|
37
|
+
n("div", r({
|
|
37
38
|
class: "icon-container",
|
|
38
39
|
"data-platform": t.platform
|
|
39
|
-
}, e(
|
|
40
|
-
i(e(
|
|
40
|
+
}, e(l)[e(s).APP_PLATFORM]), [
|
|
41
|
+
i(e(c), {
|
|
41
42
|
type: "branded",
|
|
42
|
-
name: e(
|
|
43
|
-
size: e(
|
|
43
|
+
name: e(p),
|
|
44
|
+
size: e(f)
|
|
44
45
|
}, null, 8, ["name", "size"])
|
|
45
|
-
], 16,
|
|
46
|
-
|
|
47
|
-
i(e(
|
|
48
|
-
variant: e(
|
|
46
|
+
], 16, w),
|
|
47
|
+
n("div", B, [
|
|
48
|
+
i(e(b), r({
|
|
49
|
+
variant: e(y),
|
|
49
50
|
class: "title"
|
|
50
|
-
}, e(
|
|
51
|
+
}, e(l)[e(s).TITLE]), {
|
|
51
52
|
default: x(() => [
|
|
52
|
-
|
|
53
|
+
z(v(t.name), 1)
|
|
53
54
|
]),
|
|
54
55
|
_: 1
|
|
55
56
|
}, 16, ["variant"]),
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
57
|
+
i(e(g), {
|
|
58
|
+
text: t.appKey,
|
|
59
|
+
size: "medium",
|
|
60
|
+
class: "inline-copy",
|
|
61
|
+
"hide-text-value": t.type === "small",
|
|
62
|
+
"test-id": t.testId,
|
|
63
|
+
"icon-size": e(u)
|
|
64
|
+
}, null, 8, ["text", "hide-text-value", "test-id", "icon-size"])
|
|
65
|
+
]),
|
|
66
|
+
t.showAbIcon ? (m(), d("div", r({
|
|
67
|
+
key: 0,
|
|
68
|
+
class: "ab-icon-wrapper"
|
|
69
|
+
}, e(l)[e(s).AB_ICON]), [
|
|
70
|
+
i(e(c), {
|
|
71
|
+
type: "ab-test",
|
|
72
|
+
name: "ab",
|
|
73
|
+
size: "28px"
|
|
74
|
+
})
|
|
75
|
+
], 16)) : A("", !0)
|
|
67
76
|
], 2));
|
|
68
77
|
}
|
|
69
78
|
});
|
|
70
79
|
export {
|
|
71
|
-
|
|
80
|
+
M as default
|
|
72
81
|
};
|
|
@@ -29,6 +29,10 @@ declare const AppHeaderTypes: () => import("vue").DefineComponent<{
|
|
|
29
29
|
required: true;
|
|
30
30
|
default: string;
|
|
31
31
|
};
|
|
32
|
+
showAbIcon: {
|
|
33
|
+
type: import("vue").PropType<boolean>;
|
|
34
|
+
default: boolean;
|
|
35
|
+
};
|
|
32
36
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
33
37
|
name: {
|
|
34
38
|
type: import("vue").PropType<string>;
|
|
@@ -59,6 +63,10 @@ declare const AppHeaderTypes: () => import("vue").DefineComponent<{
|
|
|
59
63
|
required: true;
|
|
60
64
|
default: string;
|
|
61
65
|
};
|
|
66
|
+
showAbIcon: {
|
|
67
|
+
type: import("vue").PropType<boolean>;
|
|
68
|
+
default: boolean;
|
|
69
|
+
};
|
|
62
70
|
}>>, {
|
|
63
71
|
name: string;
|
|
64
72
|
type: "small" | "normal";
|
|
@@ -66,5 +74,6 @@ declare const AppHeaderTypes: () => import("vue").DefineComponent<{
|
|
|
66
74
|
testId: string;
|
|
67
75
|
platform: "android" | "ios";
|
|
68
76
|
appKey: string;
|
|
77
|
+
showAbIcon: boolean;
|
|
69
78
|
}>[];
|
|
70
79
|
export { AppHeader, AppHeaderTypes };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./AppDropdownTrigger.vue2.js";
|
|
2
|
-
/* empty css */import
|
|
3
|
-
// import "../../../AppDropdownTrigger.
|
|
4
|
-
const s = /* @__PURE__ */
|
|
2
|
+
/* empty css */import e from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
// import "../../../AppDropdownTrigger.vue_vue_type_style_index_0_scoped_2e91704b_lang.css"; //*');
|
|
4
|
+
const s = /* @__PURE__ */ e(o, [["__scopeId", "data-v-2e91704b"]]);
|
|
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_2e91704b_lang.css"; import { defineComponent as V, computed as p, openBlock as o, createElementBlock as n, normalizeClass as B, createElementVNode as a, mergeProps as h, unref as l, renderSlot as O, createCommentVNode as i, createVNode as s, withCtx as v, toDisplayString as $ } from "vue";
|
|
2
2
|
import r 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
|
|
5
|
+
import { useTestIdAttrs as K } from "../../../utils/testIds.js";
|
|
6
|
+
import N from "../../tooltip/v4/TooltipV4.vue.js";
|
|
7
|
+
import { useClipboard as w } from "@vueuse/core";
|
|
8
8
|
import { Snackbar as z } from "../../snackbar/v4/index.js";
|
|
9
|
-
const
|
|
9
|
+
const S = { class: "app-trigger--content" }, D = {
|
|
10
10
|
key: 0,
|
|
11
11
|
class: "image"
|
|
12
|
-
},
|
|
12
|
+
}, E = ["src"], P = {
|
|
13
13
|
key: 1,
|
|
14
14
|
class: "start-icon"
|
|
15
|
-
},
|
|
15
|
+
}, R = { class: "label-text" }, U = { key: 0 }, L = { class: "text-content" }, M = { class: "text-content-value" }, W = {
|
|
16
16
|
key: 0,
|
|
17
17
|
class: "is-mandatory"
|
|
18
|
-
},
|
|
18
|
+
}, j = { class: "app-trigger-key--content" }, _ = /* @__PURE__ */ V({
|
|
19
19
|
__name: "AppDropdownTrigger",
|
|
20
20
|
props: {
|
|
21
21
|
placeholder: { default: "Select app" },
|
|
@@ -40,45 +40,45 @@ const w = { class: "app-trigger--content" }, S = {
|
|
|
40
40
|
},
|
|
41
41
|
emits: ["click"],
|
|
42
42
|
setup(t, { emit: T }) {
|
|
43
|
-
const e = t, { copy: k } =
|
|
43
|
+
const e = t, { copy: k, copied: I } = w({}), C = p(
|
|
44
44
|
() => e.feedbackVariant ? `state-${e.feedbackVariant}` : ""
|
|
45
|
-
),
|
|
45
|
+
), b = () => {
|
|
46
46
|
T("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})` : 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)
|
|
51
51
|
return e.selectedOption;
|
|
52
52
|
if (Array.isArray(e.selectedOption))
|
|
53
53
|
return e.selectedOption.length === 1 ? e.selectedOption[0] : null;
|
|
54
|
-
}),
|
|
55
|
-
k(e.valueToCopy), z({
|
|
54
|
+
}), A = async () => {
|
|
55
|
+
await k(e.valueToCopy), I.value && z({
|
|
56
56
|
title: "Copied successfully",
|
|
57
57
|
type: "success",
|
|
58
58
|
duration: 2e3
|
|
59
59
|
});
|
|
60
60
|
};
|
|
61
61
|
return (c, g) => (o(), n("div", {
|
|
62
|
-
class:
|
|
62
|
+
class: B(["app-trigger-wrapper", { "with-copy": !!t.valueToCopy }])
|
|
63
63
|
}, [
|
|
64
64
|
a("div", h({
|
|
65
|
-
class: ["app-trigger", [t.size, l(
|
|
65
|
+
class: ["app-trigger", [t.size, l(C), { open: t.open, disabled: t.disabled }]],
|
|
66
66
|
style: {
|
|
67
67
|
paddingLeft: c.$slots.image || l(d) && t.optionImageKey ? "8px" : "12px"
|
|
68
68
|
}
|
|
69
69
|
}, l(y)[l(u).BUTTON_WRAPPER], {
|
|
70
|
-
onClick: g[0] || (g[0] = (
|
|
70
|
+
onClick: g[0] || (g[0] = (q) => b())
|
|
71
71
|
}), [
|
|
72
|
-
a("div",
|
|
73
|
-
c.$slots.image || l(d) && t.optionImageKey ? (o(), n("div",
|
|
72
|
+
a("div", S, [
|
|
73
|
+
c.$slots.image || l(d) && t.optionImageKey ? (o(), n("div", D, [
|
|
74
74
|
O(c.$slots, "image", {}, () => [
|
|
75
75
|
t.optionImageKey ? (o(), n("img", {
|
|
76
76
|
key: 0,
|
|
77
77
|
src: l(d)[t.optionImageKey]
|
|
78
|
-
}, null, 8,
|
|
78
|
+
}, null, 8, E)) : i("", !0)
|
|
79
79
|
], !0)
|
|
80
80
|
])) : i("", !0),
|
|
81
|
-
c.$slots["icon-start"] || l(d) && t.optionIconKey ? (o(), n("div",
|
|
81
|
+
c.$slots["icon-start"] || l(d) && t.optionIconKey ? (o(), n("div", P, [
|
|
82
82
|
O(c.$slots, "icon-start", {}, () => [
|
|
83
83
|
s(l(r), {
|
|
84
84
|
type: t.optionIconType,
|
|
@@ -87,19 +87,19 @@ const w = { class: "app-trigger--content" }, S = {
|
|
|
87
87
|
}, null, 8, ["type", "name"])
|
|
88
88
|
], !0)
|
|
89
89
|
])) : i("", !0),
|
|
90
|
-
s(l(
|
|
90
|
+
s(l(x), h({ variant: "button" }, l(y)[l(u).BUTTON_CONTENT], { class: "displayed-value" }), {
|
|
91
91
|
default: v(() => [
|
|
92
|
-
a("div",
|
|
93
|
-
l(m) === f ? (o(), n("span",
|
|
92
|
+
a("div", R, [
|
|
93
|
+
l(m) === f ? (o(), n("span", U, [
|
|
94
94
|
s(l(r), {
|
|
95
95
|
name: "cube",
|
|
96
96
|
size: "20px",
|
|
97
97
|
type: "fill"
|
|
98
98
|
})
|
|
99
99
|
])) : i("", !0),
|
|
100
|
-
a("div",
|
|
101
|
-
a("div",
|
|
102
|
-
t.mandatory && (Array.isArray(t.selectedOption) ? !t.selectedOption.length : !t.selectedOption) ? (o(), n("span",
|
|
100
|
+
a("div", L, [
|
|
101
|
+
a("div", M, $(l(m)), 1),
|
|
102
|
+
t.mandatory && (Array.isArray(t.selectedOption) ? !t.selectedOption.length : !t.selectedOption) ? (o(), n("span", W, "*")) : i("", !0)
|
|
103
103
|
])
|
|
104
104
|
])
|
|
105
105
|
]),
|
|
@@ -117,14 +117,14 @@ const w = { class: "app-trigger--content" }, S = {
|
|
|
117
117
|
t.valueToCopy ? (o(), n("div", {
|
|
118
118
|
key: 0,
|
|
119
119
|
class: "app-trigger-key",
|
|
120
|
-
onClick:
|
|
120
|
+
onClick: A
|
|
121
121
|
}, [
|
|
122
|
-
s(l(
|
|
122
|
+
s(l(N), {
|
|
123
123
|
text: t.valueToCopy,
|
|
124
124
|
header: "App key"
|
|
125
125
|
}, {
|
|
126
126
|
default: v(() => [
|
|
127
|
-
a("div",
|
|
127
|
+
a("div", j, [
|
|
128
128
|
s(l(r), {
|
|
129
129
|
name: "copy",
|
|
130
130
|
size: "20px"
|
|
@@ -138,5 +138,5 @@ const w = { class: "app-trigger--content" }, S = {
|
|
|
138
138
|
}
|
|
139
139
|
});
|
|
140
140
|
export {
|
|
141
|
-
|
|
141
|
+
_ as default
|
|
142
142
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./OptionV4.vue2.js";
|
|
2
|
-
/* empty css */import
|
|
3
|
-
// import "../../../OptionV4.
|
|
4
|
-
const s = /* @__PURE__ */
|
|
2
|
+
/* empty css */import e from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
// import "../../../OptionV4.vue_vue_type_style_index_0_scoped_cae6bfd4_lang.css"; //*');
|
|
4
|
+
const s = /* @__PURE__ */ e(o, [["__scopeId", "data-v-cae6bfd4"]]);
|
|
5
5
|
export {
|
|
6
6
|
s as default
|
|
7
7
|
};
|
|
@@ -1,18 +1,19 @@
|
|
|
1
|
-
import "../../../OptionV4.
|
|
1
|
+
import "../../../OptionV4.vue_vue_type_style_index_0_scoped_cae6bfd4_lang.css"; import { defineComponent as B, openBlock as o, createBlock as r, unref as i, withCtx as m, createElementVNode as a, normalizeClass as b, createCommentVNode as l, createElementBlock as s, renderSlot as u, createVNode as f, createTextVNode as g, toDisplayString as k, withModifiers as $ } from "vue";
|
|
2
2
|
import "../../typography/Heading.vue.js";
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import { NOOP as
|
|
7
|
-
import { optionCommon as
|
|
8
|
-
import
|
|
9
|
-
|
|
3
|
+
import I from "../../typography/Text.vue.js";
|
|
4
|
+
import z from "../../checkbox/v4/CheckboxV4.vue.js";
|
|
5
|
+
import h from "../../icon/v4/IconV4.vue.js";
|
|
6
|
+
import { NOOP as N } from "@vue/shared";
|
|
7
|
+
import { optionCommon as V } from "../common/Option.common.js";
|
|
8
|
+
import w from "../../typography/v4/Typography.vue.js";
|
|
9
|
+
import O from "../../tooltip/v4/TooltipV4.vue.js";
|
|
10
|
+
const S = {
|
|
10
11
|
key: 1,
|
|
11
12
|
class: "image"
|
|
12
|
-
},
|
|
13
|
+
}, j = ["src"], E = {
|
|
13
14
|
key: 2,
|
|
14
15
|
class: "start-icon"
|
|
15
|
-
},
|
|
16
|
+
}, M = { class: "text-container" }, P = { key: 0 }, R = /* @__PURE__ */ B({
|
|
16
17
|
__name: "OptionV4",
|
|
17
18
|
props: {
|
|
18
19
|
option: { default: null },
|
|
@@ -28,85 +29,94 @@ const w = {
|
|
|
28
29
|
iconType: { default: "regular" }
|
|
29
30
|
},
|
|
30
31
|
setup(e) {
|
|
31
|
-
const
|
|
32
|
-
return (
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
"
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
"is-indeterminate": e.isIndeterminate && !e.option,
|
|
55
|
-
onClick: a[0] || (a[0] = (f) => e.disabled ? t(z)() : t(B)(f))
|
|
56
|
-
}, null, 8, ["id", "is-checked", "is-indeterminate"])) : l("", !0),
|
|
57
|
-
i.$slots.image || e.imageKey ? (n(), o("div", w, [
|
|
58
|
-
m(i.$slots, "image", {}, () => [
|
|
59
|
-
e.imageKey ? (n(), o("img", {
|
|
32
|
+
const p = e, { selected: c, isMulti: d, id: v, onClick: x, api: y } = V(p), K = (t) => t && typeof t == "object" && "optionTooltipText" in t ? t.optionTooltipText : "", C = (t) => t && typeof t == "object" && "optionTooltipTestId" in t ? t.optionTooltipTestId : null;
|
|
33
|
+
return (t, n) => (o(), r(i(O), {
|
|
34
|
+
text: K(e.option),
|
|
35
|
+
"test-id": C(e.option),
|
|
36
|
+
class: "tooltip-option"
|
|
37
|
+
}, {
|
|
38
|
+
default: m(() => [
|
|
39
|
+
a("div", {
|
|
40
|
+
ref: "el",
|
|
41
|
+
class: b(["item-container", {
|
|
42
|
+
"item-container--disabled": e.disabled,
|
|
43
|
+
"item-container--active": e.nameKey ? !1 : e.active,
|
|
44
|
+
"item-container--selected": i(c),
|
|
45
|
+
"item-container--multi": i(d)
|
|
46
|
+
}])
|
|
47
|
+
}, [
|
|
48
|
+
a("div", {
|
|
49
|
+
class: b(["item", {
|
|
50
|
+
"item--multi": i(d),
|
|
51
|
+
"item--with-icon": t.$slots["icon-start"] || t.$slots.image
|
|
52
|
+
}])
|
|
53
|
+
}, [
|
|
54
|
+
i(d) ? (o(), r(i(z), {
|
|
60
55
|
key: 0,
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
r(t(V), { variant: "body2" }, {
|
|
76
|
-
default: b(() => [
|
|
77
|
-
m(i.$slots, "default", {}, () => [
|
|
78
|
-
g(h(e.option[e.nameKey]), 1)
|
|
56
|
+
id: i(v).toString(),
|
|
57
|
+
tabindex: "-1",
|
|
58
|
+
class: "checkbox",
|
|
59
|
+
size: "sm",
|
|
60
|
+
"is-checked": i(c),
|
|
61
|
+
"is-indeterminate": e.isIndeterminate && !e.option,
|
|
62
|
+
onClick: n[0] || (n[0] = (T) => e.disabled ? i(N)() : i(x)(T))
|
|
63
|
+
}, null, 8, ["id", "is-checked", "is-indeterminate"])) : l("", !0),
|
|
64
|
+
t.$slots.image || e.imageKey ? (o(), s("div", S, [
|
|
65
|
+
u(t.$slots, "image", {}, () => [
|
|
66
|
+
e.imageKey ? (o(), s("img", {
|
|
67
|
+
key: 0,
|
|
68
|
+
src: e.option[e.imageKey]
|
|
69
|
+
}, null, 8, j)) : l("", !0)
|
|
79
70
|
], !0)
|
|
80
|
-
]),
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
71
|
+
])) : l("", !0),
|
|
72
|
+
t.$slots["icon-start"] || e.iconKey ? (o(), s("div", E, [
|
|
73
|
+
u(t.$slots, "icon-start", {}, () => [
|
|
74
|
+
f(i(h), {
|
|
75
|
+
type: e.iconType,
|
|
76
|
+
name: e.option[e.iconKey],
|
|
77
|
+
size: e.iconType === "regular" ? "20px" : "16px"
|
|
78
|
+
}, null, 8, ["type", "name", "size"])
|
|
79
|
+
], !0)
|
|
80
|
+
])) : l("", !0),
|
|
81
|
+
a("div", M, [
|
|
82
|
+
f(i(w), { variant: "body2" }, {
|
|
83
|
+
default: m(() => [
|
|
84
|
+
u(t.$slots, "default", {}, () => [
|
|
85
|
+
g(k(e.option[e.nameKey]), 1)
|
|
86
|
+
], !0)
|
|
87
|
+
]),
|
|
88
|
+
_: 3
|
|
89
|
+
}),
|
|
90
|
+
e.subtitle ? (o(), r(i(I), {
|
|
91
|
+
key: 0,
|
|
92
|
+
class: "subtitle",
|
|
93
|
+
size: "xs"
|
|
94
|
+
}, {
|
|
95
|
+
default: m(() => [
|
|
96
|
+
g(k(e.subtitle), 1)
|
|
97
|
+
]),
|
|
98
|
+
_: 1
|
|
99
|
+
})) : l("", !0)
|
|
100
|
+
])
|
|
101
|
+
], 2),
|
|
102
|
+
i(y).clearable && i(c) ? (o(), s("div", P, [
|
|
103
|
+
a("button", {
|
|
104
|
+
class: "clear-button",
|
|
105
|
+
onClick: n[1] || (n[1] = $((T) => i(y).clearSelection(), ["prevent", "stop"]))
|
|
106
|
+
}, [
|
|
107
|
+
f(i(h), {
|
|
108
|
+
name: "close",
|
|
109
|
+
width: "8",
|
|
110
|
+
height: 8
|
|
111
|
+
})
|
|
112
|
+
])
|
|
113
|
+
])) : l("", !0)
|
|
114
|
+
], 2)
|
|
115
|
+
]),
|
|
116
|
+
_: 3
|
|
117
|
+
}, 8, ["text", "test-id"]));
|
|
108
118
|
}
|
|
109
119
|
});
|
|
110
120
|
export {
|
|
111
|
-
|
|
121
|
+
R as default
|
|
112
122
|
};
|
package/index.d.ts
CHANGED
|
@@ -195,6 +195,10 @@ declare const _default: {
|
|
|
195
195
|
required: true;
|
|
196
196
|
default: string;
|
|
197
197
|
};
|
|
198
|
+
showAbIcon: {
|
|
199
|
+
type: import("vue").PropType<boolean>;
|
|
200
|
+
default: boolean;
|
|
201
|
+
};
|
|
198
202
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
199
203
|
name: {
|
|
200
204
|
type: import("vue").PropType<string>;
|
|
@@ -225,6 +229,10 @@ declare const _default: {
|
|
|
225
229
|
required: true;
|
|
226
230
|
default: string;
|
|
227
231
|
};
|
|
232
|
+
showAbIcon: {
|
|
233
|
+
type: import("vue").PropType<boolean>;
|
|
234
|
+
default: boolean;
|
|
235
|
+
};
|
|
228
236
|
}>>, {
|
|
229
237
|
name: string;
|
|
230
238
|
type: "small" | "normal";
|
|
@@ -232,6 +240,7 @@ declare const _default: {
|
|
|
232
240
|
testId: string;
|
|
233
241
|
platform: "android" | "ios";
|
|
234
242
|
appKey: string;
|
|
243
|
+
showAbIcon: boolean;
|
|
235
244
|
}>;
|
|
236
245
|
AppHeaderTypes: () => import("vue").DefineComponent<{
|
|
237
246
|
name: {
|
|
@@ -263,6 +272,10 @@ declare const _default: {
|
|
|
263
272
|
required: true;
|
|
264
273
|
default: string;
|
|
265
274
|
};
|
|
275
|
+
showAbIcon: {
|
|
276
|
+
type: import("vue").PropType<boolean>;
|
|
277
|
+
default: boolean;
|
|
278
|
+
};
|
|
266
279
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
267
280
|
name: {
|
|
268
281
|
type: import("vue").PropType<string>;
|
|
@@ -293,6 +306,10 @@ declare const _default: {
|
|
|
293
306
|
required: true;
|
|
294
307
|
default: string;
|
|
295
308
|
};
|
|
309
|
+
showAbIcon: {
|
|
310
|
+
type: import("vue").PropType<boolean>;
|
|
311
|
+
default: boolean;
|
|
312
|
+
};
|
|
296
313
|
}>>, {
|
|
297
314
|
name: string;
|
|
298
315
|
type: "small" | "normal";
|
|
@@ -300,6 +317,7 @@ declare const _default: {
|
|
|
300
317
|
testId: string;
|
|
301
318
|
platform: "android" | "ios";
|
|
302
319
|
appKey: string;
|
|
320
|
+
showAbIcon: boolean;
|
|
303
321
|
}>[];
|
|
304
322
|
ThemeWrapper: {
|
|
305
323
|
new (...args: any[]): {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ironsource/shared-ui",
|
|
3
|
-
"version": "2.1.3-rc.
|
|
3
|
+
"version": "2.1.3-rc.27",
|
|
4
4
|
"engines": {
|
|
5
5
|
"npm": ">=7.0.0",
|
|
6
6
|
"node": ">=16.0.0"
|
|
@@ -117,7 +117,6 @@
|
|
|
117
117
|
"i": "^0.3.7",
|
|
118
118
|
"jest": "^29.7.0",
|
|
119
119
|
"jest-image-snapshot": "^6.2.0",
|
|
120
|
-
"jest-puppeteer": "^9.0.1",
|
|
121
120
|
"lint-staged": "^15.1.0",
|
|
122
121
|
"lodash.kebabcase": "^4.1.1",
|
|
123
122
|
"mustache": "^4.2.0",
|
|
@@ -127,7 +126,6 @@
|
|
|
127
126
|
"prepend-file": "^2.0.1",
|
|
128
127
|
"prettier": "^3.1.0",
|
|
129
128
|
"prismjs": "^1.29.0",
|
|
130
|
-
"puppeteer": "^21.5.1",
|
|
131
129
|
"replace": "^1.2.2",
|
|
132
130
|
"rimraf": "^5.0.5",
|
|
133
131
|
"sass": "^1.69.5",
|
package/testids/index.d.ts
CHANGED
|
@@ -197,7 +197,8 @@ export declare enum FormCardTestIdModifiers {
|
|
|
197
197
|
export declare enum AppHeaderTestIdModifiers {
|
|
198
198
|
TITLE = "ah-title",
|
|
199
199
|
APP_KEY = "ah-app-key",
|
|
200
|
-
APP_PLATFORM = "ah-app-platform"
|
|
200
|
+
APP_PLATFORM = "ah-app-platform",
|
|
201
|
+
AB_ICON = "ah-ab-icon"
|
|
201
202
|
}
|
|
202
203
|
export declare enum InlineCopyTestIdModifiers {
|
|
203
204
|
TEXT = "ic-text",
|
package/testids/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
var a = /* @__PURE__ */ ((E) => (E.TRIGGER = "ie-trigger", E.CONTENT = "ie-content", E.SEARCH = "ie-search", E.LIST = "ie-list", E.LIST_SELECTED = "ie-list-selected", E.ACTION_CANCEL = "ie-action-cancel", E.ACTION_APPLY = "ie-action-apply", E.SELECT_ALL = "ie-select-all", E.CLEAR_ALL = "ie-clear-all", E))(a || {}), R = /* @__PURE__ */ ((E) => (E.TRIGGER = "dd-trigger", E.WRAPPER = "dd-wrapper", E.BUTTON = "dd-button", E.BUTTON_WRAPPER = "dd-button-wrapper", E.BUTTON_CONTENT = "dd-button-content", E.BUTTON_CLEAR = "dd-button-clear", E.LABEL = "dd-label", E.LIST_CONTAINER = "dd-list-container", E.SEARCH = "dd-search", E.TITLE = "dd-title", E.ACTION_CANCEL = "dd-action-cancel", E.ACTION_APPLY = "dd-action-apply", E.ACTION_CLEAR_ALL = "dd-action-clear-all", E.HELPER_TEXT = "dd-helper-text", E.HELPER_TEXT_ERROR = "dd-helper-text-error", E.SELECT_ALL = "dd-select-all", E.NO_RESULT = "dd-no-result", E))(R || {}), t = /* @__PURE__ */ ((E) => (E.WRAPPER = "banner-wrapper", E.CONTENT = "banner-content", E))(t || {}), A = /* @__PURE__ */ ((E) => (E.WRAPPER = "alert-wrapper", E.TITLE = "alert-title", E.MESSAGE = "alert-message", E.ACTION_BUTTON = "alert-action-button", E.CLOSE_BUTTON = "alert-close-button", E))(A || {}), O = /* @__PURE__ */ ((E) => (E.WRAPPER = "dialog-wrapper", E.HEADER = "dialog-header", E.ACTION_CLOSE = "dialog-action-close", E.HEADER_SECONDARY = "dialog-header-secondary", E.CONTENT = "dialog-content", E.ACTION_BUTTONS_WRAPPER = "dialog-action-buttons-wrapper", E.BACKDROP = "dialog-backdrop", E.SAVE_BUTTON = "dialog-save-button", E.CANCEL_BUTTON = "dialog-cancel-button", E))(O || {}), N = /* @__PURE__ */ ((E) => (E.WRAPPER = "input-wrapper", E.TOOLTIP = "input-tooltip", E.MANDATORY = "input-mandatory", E.LABEL_CONTAINER = "input-label-container", E.LABEL_TEXT = "input-label-text", E.FIELD = "input-field", E.EXTRA_TEXT = "input-extra-text", E.TOGGLE_PASSWORD = "input-toggle-password-icon", E))(N || {}), L = /* @__PURE__ */ ((E) => (E.WRAPPER = "cb-wrapper", E.LABEL = "cb-label", E.FIELD = "cb-field", E.CHECKED = "cb-checked", E))(L || {}), P = /* @__PURE__ */ ((E) => (E.FIELD = "radio-field", E.LABEL = "radio-label", E.ERROR_TEXT = "radio-error-text", E.GROUP = "radio-group", E))(P || {}), c = /* @__PURE__ */ ((E) => (E.WRAPPER = "swicth-wrapper", E.BUTTON = "swicth-button", E.TEXT = "swicth-text", E))(c || {}), n = /* @__PURE__ */ ((E) => (E.WRAPPER = "ta-wrapper", E.LABEL = "ta-label", E.FIELD = "ta-field", E.TEXT = "ta-text", E))(n || {}), l = /* @__PURE__ */ ((E) => (E.CONTAINER = "search-container", E.FIELD = "search-field", E.CLOSE = "search-close", E.CLEAR = "search-clear", E))(l || {}), _ = /* @__PURE__ */ ((E) => (E.CONTAINER = "tbl-container", E.TABLE = "tbl-table", E.HEADER = "tbl-header", E.TITLE = "tbl-title", E.HEADER_RIGHT = "tbl-header-right", E.ACTIONS = "tbl-actions", E.SECTIONS = "tbl-sections", E.BODY_WRAPPER = "tbl-body-wrapper", E.EMPTY_STATE = "tbl-empty-state", E))(_ || {}), r = /* @__PURE__ */ ((E) => (E.WRAPPER = "toggle-wrapper", E.BODY = "toggle-body", E.FIELD = "toggle-field", E.TEXT = "toggle-text", E.HELPER_TEXT = "toggle-helper-text", E.ERROR_TEXT = "toggle-error-text", E))(r || {}), C = /* @__PURE__ */ ((E) => (E.TEXT = "tt-text", E.TRIGGER = "tt-trigger", E.HEADER = "tt-header", E))(C || {}),
|
|
1
|
+
var a = /* @__PURE__ */ ((E) => (E.TRIGGER = "ie-trigger", E.CONTENT = "ie-content", E.SEARCH = "ie-search", E.LIST = "ie-list", E.LIST_SELECTED = "ie-list-selected", E.ACTION_CANCEL = "ie-action-cancel", E.ACTION_APPLY = "ie-action-apply", E.SELECT_ALL = "ie-select-all", E.CLEAR_ALL = "ie-clear-all", E))(a || {}), R = /* @__PURE__ */ ((E) => (E.TRIGGER = "dd-trigger", E.WRAPPER = "dd-wrapper", E.BUTTON = "dd-button", E.BUTTON_WRAPPER = "dd-button-wrapper", E.BUTTON_CONTENT = "dd-button-content", E.BUTTON_CLEAR = "dd-button-clear", E.LABEL = "dd-label", E.LIST_CONTAINER = "dd-list-container", E.SEARCH = "dd-search", E.TITLE = "dd-title", E.ACTION_CANCEL = "dd-action-cancel", E.ACTION_APPLY = "dd-action-apply", E.ACTION_CLEAR_ALL = "dd-action-clear-all", E.HELPER_TEXT = "dd-helper-text", E.HELPER_TEXT_ERROR = "dd-helper-text-error", E.SELECT_ALL = "dd-select-all", E.NO_RESULT = "dd-no-result", E))(R || {}), t = /* @__PURE__ */ ((E) => (E.WRAPPER = "banner-wrapper", E.CONTENT = "banner-content", E))(t || {}), A = /* @__PURE__ */ ((E) => (E.WRAPPER = "alert-wrapper", E.TITLE = "alert-title", E.MESSAGE = "alert-message", E.ACTION_BUTTON = "alert-action-button", E.CLOSE_BUTTON = "alert-close-button", E))(A || {}), O = /* @__PURE__ */ ((E) => (E.WRAPPER = "dialog-wrapper", E.HEADER = "dialog-header", E.ACTION_CLOSE = "dialog-action-close", E.HEADER_SECONDARY = "dialog-header-secondary", E.CONTENT = "dialog-content", E.ACTION_BUTTONS_WRAPPER = "dialog-action-buttons-wrapper", E.BACKDROP = "dialog-backdrop", E.SAVE_BUTTON = "dialog-save-button", E.CANCEL_BUTTON = "dialog-cancel-button", E))(O || {}), N = /* @__PURE__ */ ((E) => (E.WRAPPER = "input-wrapper", E.TOOLTIP = "input-tooltip", E.MANDATORY = "input-mandatory", E.LABEL_CONTAINER = "input-label-container", E.LABEL_TEXT = "input-label-text", E.FIELD = "input-field", E.EXTRA_TEXT = "input-extra-text", E.TOGGLE_PASSWORD = "input-toggle-password-icon", E))(N || {}), L = /* @__PURE__ */ ((E) => (E.WRAPPER = "cb-wrapper", E.LABEL = "cb-label", E.FIELD = "cb-field", E.CHECKED = "cb-checked", E))(L || {}), P = /* @__PURE__ */ ((E) => (E.FIELD = "radio-field", E.LABEL = "radio-label", E.ERROR_TEXT = "radio-error-text", E.GROUP = "radio-group", E))(P || {}), c = /* @__PURE__ */ ((E) => (E.WRAPPER = "swicth-wrapper", E.BUTTON = "swicth-button", E.TEXT = "swicth-text", E))(c || {}), n = /* @__PURE__ */ ((E) => (E.WRAPPER = "ta-wrapper", E.LABEL = "ta-label", E.FIELD = "ta-field", E.TEXT = "ta-text", E))(n || {}), l = /* @__PURE__ */ ((E) => (E.CONTAINER = "search-container", E.FIELD = "search-field", E.CLOSE = "search-close", E.CLEAR = "search-clear", E))(l || {}), _ = /* @__PURE__ */ ((E) => (E.CONTAINER = "tbl-container", E.TABLE = "tbl-table", E.HEADER = "tbl-header", E.TITLE = "tbl-title", E.HEADER_RIGHT = "tbl-header-right", E.ACTIONS = "tbl-actions", E.SECTIONS = "tbl-sections", E.BODY_WRAPPER = "tbl-body-wrapper", E.EMPTY_STATE = "tbl-empty-state", E))(_ || {}), r = /* @__PURE__ */ ((E) => (E.WRAPPER = "toggle-wrapper", E.BODY = "toggle-body", E.FIELD = "toggle-field", E.TEXT = "toggle-text", E.HELPER_TEXT = "toggle-helper-text", E.ERROR_TEXT = "toggle-error-text", E))(r || {}), C = /* @__PURE__ */ ((E) => (E.TEXT = "tt-text", E.TRIGGER = "tt-trigger", E.HEADER = "tt-header", E))(C || {}), b = /* @__PURE__ */ ((E) => (E.WRAPPER = "at-wrapper", E.TITLE_TEXT = "at-title-text", E.TITLE_TOOLTIP_TEXT = "at-tooltip-text", E.DESCRIPTION_TOOLTIP_TEXT = "at-description-tooltip-text", E.DESCRIPTION_TEXT = "at-description-text", E.TRIGGER_BUTTON = "at-trigger-button", E))(b || {}), p = /* @__PURE__ */ ((E) => (E.WRAPPER = "ai-wrapper", E.SELECTED_OPTION = "ai-selected-option", E.SEARCH_FIELD = "ai-search-field", E))(p || {}), v = /* @__PURE__ */ ((E) => (E.WRAPPER = "chip-wrapper", E.CLEAR = "chip-clear", E))(v || {}), u = /* @__PURE__ */ ((E) => (E.WRAPPER = "dp-wrapper", E.INPUT = "dp-input", E))(u || {}), S = /* @__PURE__ */ ((E) => (E.WRAPPER = "cm-wrapper", E.DAYS_HEADER = "cm-days-header", E.PREVIOUS = "cm-previous", E.NEXT = "cm-next", E.DAYS_WRAPPER = "cm-days-wrapper", E.DAY = "cm-day", E.MONTH_HEADER_TEXT = "cm-month-header-text", E.MONTH_HEADER = "cm-month-header", E))(S || {}), B = /* @__PURE__ */ ((E) => (E.WRAPPER = "dr-wrapper", E.FIELD = "dr-field", E.TRIGGER = "dr-trigger", E.CONTAINER = "dr-container", E.MENU = "dr-menu", E.MESSAGE = "dr-message", E.ACTION_APPLY = "dr-action-apply", E.ACTION_CANCEL = "dr-action-cancel", E))(B || {}), m = /* @__PURE__ */ ((E) => (E.WRAPPER = "tabs-wrapper", E.TAB = "tabs-tab", E))(m || {}), W = /* @__PURE__ */ ((E) => (E.TEXT = "t-text", E))(W || {}), X = /* @__PURE__ */ ((E) => (E.HEADER = "h-header", E))(X || {}), h = /* @__PURE__ */ ((E) => (E.CONTAINER = "field-label-container", E.TEXT = "field-label-text", E.MANDATORY = "field-label-mandatory", E.TOOLTIP = "field-label-help-tooltip", E))(h || {}), U = /* @__PURE__ */ ((E) => (E.CONTAINER = "field-help-text-container", E.TEXT = "field-help-text-text", E.ICON = "field-help-text-icon", E))(U || {}), G = /* @__PURE__ */ ((E) => (E.CONTAINER = "sb-container", E.TITLE = "sb-title", E.MESSAGE = "sb-message", E.CLOSE = "sb-close", E.ICON = "sb-icon", E.ACTION_BUTTON = "sb-action-button", E))(G || {}), T = /* @__PURE__ */ ((E) => (E.TITLE = "foldable-section-title", E.CONTENT = "foldable-section-content", E))(T || {}), H = /* @__PURE__ */ ((E) => (E.TITLE = "form-card-title", E.CONTENT = "form-card-content", E.ACTIONS = "form-card-actions", E.SAVE_BUTTON = "form-card-save-btn", E.CANCEL_BUTTON = "form-card-cancel-btn", E))(H || {}), Y = /* @__PURE__ */ ((E) => (E.TITLE = "ah-title", E.APP_KEY = "ah-app-key", E.APP_PLATFORM = "ah-app-platform", E.AB_ICON = "ah-ab-icon", E))(Y || {}), y = /* @__PURE__ */ ((E) => (E.TEXT = "ic-text", E.COPY_BTN = "ic-copy-btn", E))(y || {}), x = /* @__PURE__ */ ((E) => (E.WRAPPER = "multibar-wrapper", E.CLOSE_BTN = "multibar-close-button", E.MENU = "multibar-menu", E.ACTION = "multibar-action", E))(x || {});
|
|
2
2
|
export {
|
|
3
3
|
A as AlertTestIdModifiers,
|
|
4
4
|
Y as AppHeaderTestIdModifiers,
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
b as AppTriggerTestIdModifiers,
|
|
6
|
+
p as AutocompleteInputTestIdModifiers,
|
|
7
7
|
t as BannerTestIdModifiers,
|
|
8
8
|
S as CalendarMonthTestIdModifiers,
|
|
9
9
|
L as CheckboxTestIdModifiers,
|
|
@@ -14,7 +14,7 @@ export {
|
|
|
14
14
|
R as DropdownTestIdModifiers,
|
|
15
15
|
U as FieldHelpTextTestIdModifiers,
|
|
16
16
|
h as FieldLabelTestIdModifiers,
|
|
17
|
-
|
|
17
|
+
T as FoldableSectionTestIdModifiers,
|
|
18
18
|
H as FormCardTestIdModifiers,
|
|
19
19
|
X as HeaderTestIdModifiers,
|
|
20
20
|
a as IncludeExcludeTestIdModifiers,
|
|
@@ -23,7 +23,7 @@ export {
|
|
|
23
23
|
x as MultiBarTestIdModifiers,
|
|
24
24
|
P as RadioTestIdModifiers,
|
|
25
25
|
l as SearchTestIdModifiers,
|
|
26
|
-
|
|
26
|
+
G as SnackbarTestIdModifiers,
|
|
27
27
|
c as SwitchTestIdModifiers,
|
|
28
28
|
_ as TableTestIdModifiers,
|
|
29
29
|
m as TabsTestIdModifiers,
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.app-trigger-wrapper[data-v-5d9c6052]{display:flex}.app-trigger-wrapper.with-copy .app-trigger[data-v-5d9c6052]{border-radius:var(--border-radius-lg) 0 0 var(--border-radius-lg);width:calc(100% - 41px)}.app-trigger-key[data-v-5d9c6052]{flex:none}.app-trigger-key--content[data-v-5d9c6052]{padding:10px;background:var(--default-main);cursor:pointer;border-radius:0 var(--border-radius-lg) var(--border-radius-lg) 0;border-left:1px solid var(--common-divider);color:var(--action-active)}.app-trigger-key--content[data-v-5d9c6052]:hover{background:var(--action-selected)}.app-trigger[data-v-5d9c6052]{width:100%;padding:0 12px;border-radius:var(--border-radius-lg);cursor:pointer;user-select:none;display:inline-flex;background:var(--default-main);height:40px;align-items:center}.app-trigger[data-v-5d9c6052]:hover,.app-trigger.active[data-v-5d9c6052]{background:var(--action-selected)}.app-trigger.disabled[data-v-5d9c6052]{cursor:auto}.app-trigger--content[data-v-5d9c6052]{color:var(--text-primary);display:flex;column-gap:4px;width:calc(100% - 20px);align-items:center}.app-trigger--content .x-circle-wrapper[data-v-5d9c6052]{color:var(--primary-dark)}.app-trigger--content .x-circle-wrapper[data-v-5d9c6052]:hover{color:var(--primary-main)}.app-trigger--icon[data-v-5d9c6052]{display:flex;align-items:center;color:var(--action-active)}.app-trigger .displayed-value[data-v-5d9c6052]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.app-trigger .image[data-v-5d9c6052]{width:28px;height:28px;flex:none}.app-trigger .image img[data-v-5d9c6052]{border-radius:4px;width:100%;height:100%}.app-trigger .start-icon[data-v-5d9c6052]{display:flex;color:var(--action-active)}.app-trigger .label-text[data-v-5d9c6052]{display:flex;align-items:center;gap:8px}.app-trigger .label-text .text-content[data-v-5d9c6052]{display:flex;align-items:center;gap:4px;width:100%}.app-trigger .label-text .text-content .text-content-value[data-v-5d9c6052]{width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.app-trigger .label-text .is-mandatory[data-v-5d9c6052]{padding-top:5px;color:var(--error-main)}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.app-header[data-v-f9d4e49d]{display:flex}.app-header .image-container[data-v-f9d4e49d]{height:3rem;width:3rem;border-radius:.25rem}.app-header .image-container img[data-v-f9d4e49d]{min-width:100%;max-width:100%;max-height:100%;object-fit:cover;border-radius:.25rem}.app-header .icon-container[data-v-f9d4e49d]{color:var(--action-active);display:flex;align-items:center;padding:0 .5rem}.app-header .name-container .title[data-v-f9d4e49d]{color:var(--text-primary)}.app-header .name-container .inline-copy[data-v-f9d4e49d]{color:var(--text-secondary)}.app-header.size-small[data-v-f9d4e49d]{align-items:center}.app-header.size-small .image-container[data-v-f9d4e49d]{height:2rem;width:2rem;border-radius:.375rem}.app-header.size-small .image-container img[data-v-f9d4e49d]{border-radius:.375rem}.app-header.size-small .icon-container[data-v-f9d4e49d]{padding:0 .25rem}.app-header.size-small .name-container[data-v-f9d4e49d]{display:flex}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.label[data-v-d2743070]{color:#41454d}.item-container[data-v-d2743070]{display:flex;align-items:center;cursor:pointer;border-radius:var(--border-radius-lg);margin-bottom:.25rem;color:var(--text-primary);padding:6px 8px}.item-container--disabled[data-v-d2743070]{cursor:initial;color:var(--text-disabled)}.item-container[data-v-d2743070]:hover:not(.item-container--disabled){background-color:var(--action-hover)}.item-container--active[data-v-d2743070],.item-container[data-v-d2743070]:active{background-color:var(--action-selected)}.item-container:not(.item-container--multi).item-container--selected[data-v-d2743070]{background-color:var(--action-selected)}.subtitle[data-v-d2743070]{color:#7b838c;line-height:1rem}.clear-button[data-v-d2743070]{display:flex;padding:0 4px;color:#7b838c;align-items:center;height:auto;background-image:none;min-width:auto;border:none;background-color:transparent}.clear-button[data-v-d2743070]:hover{color:#3083ff}.item[data-v-d2743070]{width:100%;display:flex;gap:.5rem;align-items:center}.item--with-icon[data-v-d2743070],.item--multi[data-v-d2743070]{display:flex;flex-direction:row;align-items:center;justify-content:start}.item .image[data-v-d2743070]{width:20px;height:20px;flex:none}.item .image img[data-v-d2743070]{width:20px;height:20px;border-radius:4px}.item .start-icon[data-v-d2743070]{display:flex;color:var(--action-active)}.text-container[data-v-d2743070]{width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;text-align:left}
|