@ironsource/shared-ui 2.1.6-rc.27 → 2.1.6-rc.28
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_092d0e03_lang.css +1 -0
- package/DropdownV4.vue_vue_type_style_index_0_scoped_2e7a89bc_lang.css +1 -0
- package/HelpIcon.vue_vue_type_style_index_0_scoped_06fce2e3_lang.css +1 -0
- package/OptionV4.vue_vue_type_style_index_0_scoped_89b98201_lang.css +1 -0
- package/components/dropdown/v4/AppDropdownTrigger.vue.d.ts +11 -0
- package/components/dropdown/v4/AppDropdownTrigger.vue.js +3 -3
- package/components/dropdown/v4/AppDropdownTrigger.vue2.js +72 -58
- package/components/dropdown/v4/DropdownV4.vue.js +3 -3
- package/components/dropdown/v4/DropdownV4.vue2.js +44 -42
- package/components/dropdown/v4/OptionV4.vue.js +3 -3
- package/components/dropdown/v4/OptionV4.vue2.js +12 -12
- package/components/dropdown/v4/index.d.ts +40 -1
- package/components/table/v4/HelpIcon.vue.js +5 -5
- package/components/table/v4/HelpIcon.vue2.js +5 -5
- package/composables/useFormValidation.js +19 -13
- package/index.d.ts +80 -2
- package/mocks/apps.d.ts +1 -0
- package/package.json +1 -1
- package/AppDropdownTrigger.vue_vue_type_style_index_0_scoped_39c47ad1_lang.css +0 -1
- package/DropdownV4.vue_vue_type_style_index_0_scoped_0363db63_lang.css +0 -1
- package/HelpIcon.vue_vue_type_style_index_0_scoped_7a611779_lang.css +0 -1
- package/OptionV4.vue_vue_type_style_index_0_scoped_e0c24b6a_lang.css +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.app-trigger-wrapper[data-v-092d0e03]{display:flex}.app-trigger-wrapper.with-copy .app-trigger[data-v-092d0e03]{border-radius:var(--border-radius-lg) 0 0 var(--border-radius-lg);width:calc(100% - 41px)}.app-trigger-key[data-v-092d0e03]{flex:none}.app-trigger-key--content[data-v-092d0e03]{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-092d0e03]:hover{background:var(--action-selected);color:var(--action-primary)}.app-trigger[data-v-092d0e03]{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-092d0e03]:hover,.app-trigger.active[data-v-092d0e03]{background:var(--action-selected)}.app-trigger.disabled[data-v-092d0e03]{cursor:auto}.app-trigger--content[data-v-092d0e03]{color:var(--text-primary);display:flex;column-gap:4px;width:calc(100% - 20px);align-items:center}.app-trigger--content .x-circle-wrapper[data-v-092d0e03]{color:var(--primary-dark)}.app-trigger--content .x-circle-wrapper[data-v-092d0e03]:hover{color:var(--primary-main)}.app-trigger--icon[data-v-092d0e03]{display:flex;align-items:center;color:var(--action-active)}.app-trigger .displayed-value[data-v-092d0e03]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;flex:1}.app-trigger .image[data-v-092d0e03]{width:28px;height:28px;flex:none}.app-trigger .image img[data-v-092d0e03]{border-radius:4px;width:100%;height:100%}.app-trigger .start-icon[data-v-092d0e03],.app-trigger .end-icon[data-v-092d0e03]{display:flex;color:var(--action-active)}.app-trigger .end-icon[data-v-092d0e03]{margin-right:var(--spacing-100)}.app-trigger .label-text[data-v-092d0e03]{display:flex;align-items:center;gap:8px}.app-trigger .label-text .text-content[data-v-092d0e03]{display:flex;align-items:center;gap:4px;width:100%}.app-trigger .label-text .text-content .text-content-value[data-v-092d0e03]{width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.app-trigger .label-text .is-mandatory[data-v-092d0e03]{padding-top:5px;color:var(--error-main)}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.v-enter-active[data-v-2e7a89bc],.v-leave-active[data-v-2e7a89bc]{transition:opacity .25s ease}ol[data-v-2e7a89bc],ul[data-v-2e7a89bc],menu[data-v-2e7a89bc]{list-style:none;margin:0;padding:0}.dropdown.full-width[data-v-2e7a89bc],.dropdown.full-width .button__container[data-v-2e7a89bc]{width:100%}.dropdown-list-wrapper[data-v-2e7a89bc]{display:flex;flex-direction:column;padding:.5rem .5rem .25rem}.dropdown-list-wrapper--multi[data-v-2e7a89bc]{padding:.5rem}.list-container--multi[data-v-2e7a89bc]{margin-bottom:0}.inline-search .inline-search-wrapper[data-v-2e7a89bc]{padding-bottom:.25rem}.inline-search .list-container[data-v-2e7a89bc]{padding-top:0}.no-result-container[data-v-2e7a89bc]{height:100%;display:flex;align-items:center;padding:.375rem .5rem;color:var(--text-disabled)}.no-result[data-v-2e7a89bc]{color:var(--text-disabled);padding-left:.5rem}.list[data-v-2e7a89bc]{outline:none;display:flex;flex-direction:column;width:100%;min-height:2rem}.list--multi[data-v-2e7a89bc]{margin-bottom:.5rem;border-bottom-left-radius:0;border-bottom-right-radius:0}.image-slot[data-v-2e7a89bc]{margin-right:.5rem}.actions-wrapper[data-v-2e7a89bc]{display:flex;width:100%;padding:.5rem .5rem .5rem .125rem;padding-bottom:0;border-top:1px solid var(--common-divider);justify-content:space-between;margin-top:.25rem}.apply-button[data-v-2e7a89bc]{margin-left:.5rem}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.table-help-icon[data-v-06fce2e3]{margin-left:var(--spacing-50);color:var(--action-active);margin-right:calc(var(--spacing-50) * -1)}.info-icon[data-v-06fce2e3]{color:var(--action-active)}.info-icon[data-v-06fce2e3]:hover{color:var(--action-primary)}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.label[data-v-89b98201]{color:#41454d}.item-container[data-v-89b98201]{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-89b98201]{cursor:initial;color:var(--text-disabled)}.item-container[data-v-89b98201]:hover:not(.item-container--disabled){background-color:var(--action-hover)}.item-container--active[data-v-89b98201],.item-container[data-v-89b98201]:active{background-color:var(--action-selected)}.item-container:not(.item-container--multi).item-container--selected[data-v-89b98201]{background-color:var(--action-selected)}.subtitle[data-v-89b98201]{color:#7b838c;line-height:1rem}.clear-button[data-v-89b98201]{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-89b98201]:hover{color:#3083ff}.item[data-v-89b98201]{width:100%;display:flex;gap:.5rem;align-items:center}.item--with-icon[data-v-89b98201],.item--multi[data-v-89b98201]{display:flex;flex-direction:row;align-items:center;justify-content:start}.item .image[data-v-89b98201]{width:20px;height:20px;flex:none}.item .image img[data-v-89b98201]{width:20px;height:20px;border-radius:4px}.item .start-icon[data-v-89b98201],.item .end-icon[data-v-89b98201]{display:flex;color:var(--action-active)}.item .option-text[data-v-89b98201]{line-height:1.1875rem}.text-container[data-v-89b98201]{width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;text-align:left}.tooltip-option[data-v-89b98201]{display:block}.tooltip-option[data-v-89b98201] .container{width:100%}
|
|
@@ -18,6 +18,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
18
18
|
optionImageKey?: string;
|
|
19
19
|
optionIconKey?: string;
|
|
20
20
|
optionIconType?: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test";
|
|
21
|
+
optionEndIconKey?: string;
|
|
22
|
+
optionEndIconType?: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test";
|
|
21
23
|
}>, {
|
|
22
24
|
placeholder: string;
|
|
23
25
|
selectedOption: any;
|
|
@@ -41,6 +43,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
41
43
|
optionImageKey: any;
|
|
42
44
|
optionIconKey: any;
|
|
43
45
|
optionIconType: any;
|
|
46
|
+
optionEndIconKey: any;
|
|
47
|
+
optionEndIconType: any;
|
|
44
48
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
45
49
|
click: () => void;
|
|
46
50
|
copyToClipboard: () => void;
|
|
@@ -64,6 +68,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
64
68
|
optionImageKey?: string;
|
|
65
69
|
optionIconKey?: string;
|
|
66
70
|
optionIconType?: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test";
|
|
71
|
+
optionEndIconKey?: string;
|
|
72
|
+
optionEndIconType?: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test";
|
|
67
73
|
}>, {
|
|
68
74
|
placeholder: string;
|
|
69
75
|
selectedOption: any;
|
|
@@ -87,6 +93,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
87
93
|
optionImageKey: any;
|
|
88
94
|
optionIconKey: any;
|
|
89
95
|
optionIconType: any;
|
|
96
|
+
optionEndIconKey: any;
|
|
97
|
+
optionEndIconType: any;
|
|
90
98
|
}>>> & {
|
|
91
99
|
onClick?: () => any;
|
|
92
100
|
onCopyToClipboard?: () => any;
|
|
@@ -106,12 +114,15 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
106
114
|
optionIconKey: string;
|
|
107
115
|
optionImageKey: string;
|
|
108
116
|
optionIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test";
|
|
117
|
+
optionEndIconKey: string;
|
|
118
|
+
optionEndIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test";
|
|
109
119
|
valueToCopy: string;
|
|
110
120
|
selectedOption: any;
|
|
111
121
|
brandIconType: "android" | "ios";
|
|
112
122
|
}>, {
|
|
113
123
|
image?(_: {}): any;
|
|
114
124
|
"icon-start"?(_: {}): any;
|
|
125
|
+
"icon-end"?(_: {}): any;
|
|
115
126
|
}>;
|
|
116
127
|
export default _default;
|
|
117
128
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -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_092d0e03_lang.css"; //*');
|
|
4
|
+
const s = /* @__PURE__ */ e(o, [["__scopeId", "data-v-092d0e03"]]);
|
|
5
5
|
export {
|
|
6
6
|
s as default
|
|
7
7
|
};
|
|
@@ -1,21 +1,24 @@
|
|
|
1
|
-
import "../../../AppDropdownTrigger.
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import { DropdownTestIdModifiers as
|
|
5
|
-
import { useTestIdAttrs as
|
|
6
|
-
import
|
|
7
|
-
import { useClipboard as
|
|
8
|
-
import { Snackbar as
|
|
9
|
-
const
|
|
1
|
+
import "../../../AppDropdownTrigger.vue_vue_type_style_index_0_scoped_092d0e03_lang.css"; import { defineComponent as A, computed as r, openBlock as n, createElementBlock as a, normalizeClass as $, createElementVNode as s, mergeProps as v, unref as o, renderSlot as u, createCommentVNode as d, createVNode as c, withCtx as I, toDisplayString as V } from "vue";
|
|
2
|
+
import p from "../../icon/v4/IconV4.vue.js";
|
|
3
|
+
import B from "../../typography/v4/Typography.vue.js";
|
|
4
|
+
import { DropdownTestIdModifiers as y } from "../../../testids/index.js";
|
|
5
|
+
import { useTestIdAttrs as E } from "../../../utils/testIds.js";
|
|
6
|
+
import x from "../../tooltip/v4/TooltipV4.vue.js";
|
|
7
|
+
import { useClipboard as z } from "@vueuse/core";
|
|
8
|
+
import { Snackbar as N } from "../../snackbar/v4/index.js";
|
|
9
|
+
const w = { class: "app-trigger--content" }, S = {
|
|
10
10
|
key: 0,
|
|
11
11
|
class: "image"
|
|
12
|
-
},
|
|
12
|
+
}, D = ["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
|
-
}, j = {
|
|
18
|
+
}, j = {
|
|
19
|
+
key: 2,
|
|
20
|
+
class: "end-icon"
|
|
21
|
+
}, q = { class: "app-trigger-key--content" }, ee = /* @__PURE__ */ A({
|
|
19
22
|
__name: "AppDropdownTrigger",
|
|
20
23
|
props: {
|
|
21
24
|
placeholder: { default: "Select app" },
|
|
@@ -36,97 +39,108 @@ const S = { class: "app-trigger--content" }, D = {
|
|
|
36
39
|
optionNameKey: { default: null },
|
|
37
40
|
optionImageKey: { default: null },
|
|
38
41
|
optionIconKey: { default: null },
|
|
39
|
-
optionIconType: { default: null }
|
|
42
|
+
optionIconType: { default: null },
|
|
43
|
+
optionEndIconKey: { default: null },
|
|
44
|
+
optionEndIconType: { default: null }
|
|
40
45
|
},
|
|
41
46
|
emits: ["click", "copyToClipboard"],
|
|
42
|
-
setup(t, { emit:
|
|
43
|
-
const e = t, { copy:
|
|
47
|
+
setup(t, { emit: f }) {
|
|
48
|
+
const e = t, { copy: O, copied: k } = z({}), C = r(
|
|
44
49
|
() => e.feedbackVariant ? `state-${e.feedbackVariant}` : ""
|
|
45
50
|
), b = () => {
|
|
46
|
-
|
|
47
|
-
},
|
|
51
|
+
f("click");
|
|
52
|
+
}, m = E(e.testId, y), g = "All apps selected", h = r(() => e.multi ? !Array.isArray(e.selectedOption) || !e.selectedOption?.length ? e.placeholder : e.options?.length === e.selectedOption.length ? `${g} (${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), l = r(() => {
|
|
48
53
|
if (!e.selectedOption)
|
|
49
54
|
return null;
|
|
50
55
|
if (!e.multi)
|
|
51
56
|
return e.selectedOption;
|
|
52
57
|
if (Array.isArray(e.selectedOption))
|
|
53
58
|
return e.selectedOption.length === 1 ? e.selectedOption[0] : null;
|
|
54
|
-
}),
|
|
55
|
-
await
|
|
59
|
+
}), K = async () => {
|
|
60
|
+
await O(e.valueToCopy), k.value && (N({
|
|
56
61
|
title: "Copied successfully",
|
|
57
62
|
type: "success",
|
|
58
63
|
duration: 2e3
|
|
59
|
-
}),
|
|
64
|
+
}), f("copyToClipboard"));
|
|
60
65
|
};
|
|
61
|
-
return (
|
|
62
|
-
class:
|
|
66
|
+
return (i, T) => (n(), a("div", {
|
|
67
|
+
class: $(["app-trigger-wrapper", { "with-copy": !!t.valueToCopy }])
|
|
63
68
|
}, [
|
|
64
|
-
|
|
65
|
-
class: ["app-trigger", [t.size,
|
|
69
|
+
s("div", v({
|
|
70
|
+
class: ["app-trigger", [t.size, o(C), { open: t.open, disabled: t.disabled }]],
|
|
66
71
|
style: {
|
|
67
|
-
paddingLeft:
|
|
72
|
+
paddingLeft: i.$slots.image || o(l) && t.optionImageKey ? "8px" : "12px"
|
|
68
73
|
}
|
|
69
|
-
},
|
|
70
|
-
onClick:
|
|
74
|
+
}, o(m)[o(y).BUTTON_WRAPPER], {
|
|
75
|
+
onClick: T[0] || (T[0] = (F) => b())
|
|
71
76
|
}), [
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
t.optionImageKey ? (
|
|
77
|
+
s("div", w, [
|
|
78
|
+
i.$slots.image || o(l) && t.optionImageKey ? (n(), a("div", S, [
|
|
79
|
+
u(i.$slots, "image", {}, () => [
|
|
80
|
+
t.optionImageKey ? (n(), a("img", {
|
|
76
81
|
key: 0,
|
|
77
|
-
src: l
|
|
78
|
-
}, null, 8,
|
|
82
|
+
src: o(l)[t.optionImageKey]
|
|
83
|
+
}, null, 8, D)) : d("", !0)
|
|
79
84
|
], !0)
|
|
80
|
-
])) :
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
85
|
+
])) : d("", !0),
|
|
86
|
+
i.$slots["icon-start"] || o(l) && t.optionIconKey ? (n(), a("div", P, [
|
|
87
|
+
u(i.$slots, "icon-start", {}, () => [
|
|
88
|
+
c(o(p), {
|
|
84
89
|
type: t.optionIconType,
|
|
85
|
-
name: l
|
|
90
|
+
name: o(l)[t.optionIconKey],
|
|
86
91
|
size: "20px"
|
|
87
92
|
}, null, 8, ["type", "name"])
|
|
88
93
|
], !0)
|
|
89
|
-
])) :
|
|
90
|
-
|
|
91
|
-
default:
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
94
|
+
])) : d("", !0),
|
|
95
|
+
c(o(B), v({ variant: "button" }, o(m)[o(y).BUTTON_CONTENT], { class: "displayed-value" }), {
|
|
96
|
+
default: I(() => [
|
|
97
|
+
s("div", R, [
|
|
98
|
+
o(h) === g ? (n(), a("span", U, [
|
|
99
|
+
c(o(p), {
|
|
95
100
|
name: "cube",
|
|
96
101
|
size: "20px",
|
|
97
102
|
type: "fill"
|
|
98
103
|
})
|
|
99
|
-
])) :
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
t.mandatory && (Array.isArray(t.selectedOption) ? !t.selectedOption.length : !t.selectedOption) ? (
|
|
104
|
+
])) : d("", !0),
|
|
105
|
+
s("div", L, [
|
|
106
|
+
s("div", M, V(o(h)), 1),
|
|
107
|
+
t.mandatory && (Array.isArray(t.selectedOption) ? !t.selectedOption.length : !t.selectedOption) ? (n(), a("span", W, "*")) : d("", !0)
|
|
103
108
|
])
|
|
104
109
|
])
|
|
105
110
|
]),
|
|
106
111
|
_: 1
|
|
107
|
-
}, 16)
|
|
112
|
+
}, 16),
|
|
113
|
+
i.$slots["icon-end"] || o(l) && t.optionEndIconKey && o(l)[t.optionEndIconKey] ? (n(), a("div", j, [
|
|
114
|
+
u(i.$slots, "icon-end", {}, () => [
|
|
115
|
+
c(o(p), {
|
|
116
|
+
type: t.optionEndIconType,
|
|
117
|
+
name: o(l)[t.optionEndIconKey],
|
|
118
|
+
size: "24px"
|
|
119
|
+
}, null, 8, ["type", "name"])
|
|
120
|
+
], !0)
|
|
121
|
+
])) : d("", !0)
|
|
108
122
|
]),
|
|
109
|
-
|
|
110
|
-
|
|
123
|
+
s("div", null, [
|
|
124
|
+
c(o(p), {
|
|
111
125
|
name: "caret-down",
|
|
112
126
|
size: "20px",
|
|
113
127
|
class: "app-trigger--icon"
|
|
114
128
|
})
|
|
115
129
|
])
|
|
116
130
|
], 16),
|
|
117
|
-
t.valueToCopy ? (
|
|
131
|
+
t.valueToCopy ? (n(), a("div", {
|
|
118
132
|
key: 0,
|
|
119
133
|
class: "app-trigger-key",
|
|
120
|
-
onClick:
|
|
134
|
+
onClick: K
|
|
121
135
|
}, [
|
|
122
|
-
|
|
136
|
+
c(o(x), {
|
|
123
137
|
text: t.valueToCopy,
|
|
124
138
|
header: "Copy app key",
|
|
125
139
|
placement: "bottom"
|
|
126
140
|
}, {
|
|
127
|
-
default:
|
|
128
|
-
|
|
129
|
-
|
|
141
|
+
default: I(() => [
|
|
142
|
+
s("div", q, [
|
|
143
|
+
c(o(p), {
|
|
130
144
|
name: "copy",
|
|
131
145
|
size: "20px"
|
|
132
146
|
})
|
|
@@ -134,10 +148,10 @@ const S = { class: "app-trigger--content" }, D = {
|
|
|
134
148
|
]),
|
|
135
149
|
_: 1
|
|
136
150
|
}, 8, ["text"])
|
|
137
|
-
])) :
|
|
151
|
+
])) : d("", !0)
|
|
138
152
|
], 2));
|
|
139
153
|
}
|
|
140
154
|
});
|
|
141
155
|
export {
|
|
142
|
-
|
|
156
|
+
ee as default
|
|
143
157
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import o from "./DropdownV4.vue2.js";
|
|
2
|
-
/* empty css *//* empty css */import
|
|
3
|
-
// import "../../../DropdownV4.
|
|
2
|
+
/* empty css *//* empty css */import e from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
// import "../../../DropdownV4.vue_vue_type_style_index_0_scoped_2e7a89bc_lang.css"; //*');
|
|
4
4
|
// import "../../../DropdownV4.vue_vue_type_style_index_1_lang.css"; //');
|
|
5
|
-
const r = /* @__PURE__ */
|
|
5
|
+
const r = /* @__PURE__ */ e(o, [["__scopeId", "data-v-2e7a89bc"]]);
|
|
6
6
|
export {
|
|
7
7
|
r as default
|
|
8
8
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import "../../../DropdownV4.
|
|
1
|
+
import "../../../DropdownV4.vue_vue_type_style_index_0_scoped_2e7a89bc_lang.css"; import "../../../DropdownV4.vue_vue_type_style_index_1_lang.css"; import { defineComponent as se, computed as x, openBlock as i, createElementBlock as n, mergeProps as u, unref as e, renderSlot as w, createElementVNode as m, createVNode as a, withCtx as c, Transition as ue, normalizeClass as A, normalizeStyle as ce, isRef as fe, createCommentVNode as r, createTextVNode as g, toDisplayString as ye, withModifiers as $, Fragment as me, renderList as pe, toRaw as b, createBlock as H, resolveDynamicComponent as ge } from "vue";
|
|
2
2
|
import L from "../../button/v4/ButtonV4.vue.js";
|
|
3
3
|
import "../../button/v4/IconButtonV4.vue.js";
|
|
4
4
|
import "./DropdownV4.vue.js";
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
5
|
+
import ke from "./DefaultDropdownTrigger.vue.js";
|
|
6
|
+
import Te from "./IconButtonDropdownTrigger.vue.js";
|
|
7
|
+
import be from "./ChipDropdownTrigger.vue.js";
|
|
8
8
|
import he from "./AppDropdownTrigger.vue.js";
|
|
9
9
|
import "./ButtonDropdownTrigger.vue.js";
|
|
10
10
|
import "./ButtonFilterDropdownTrigger.vue.js";
|
|
@@ -19,7 +19,7 @@ import { useTestIdAttrs as Se } from "../../../utils/testIds.js";
|
|
|
19
19
|
import { TRIGGERS as p } from "./Dropdown.types.js";
|
|
20
20
|
import { useElementSize as Ae } from "@vueuse/core";
|
|
21
21
|
import Le from "../../shared/FieldHelpText.vue.js";
|
|
22
|
-
const Oe = ["tabindex"], Ee = { style: { width: "100%" } }, Be = { key: 0 },
|
|
22
|
+
const Oe = ["tabindex"], Ee = { style: { width: "100%" } }, Be = { key: 0 }, Ke = { key: 1 }, Ne = { key: 2 }, De = {
|
|
23
23
|
key: 0,
|
|
24
24
|
class: "inline-search-wrapper"
|
|
25
25
|
}, Pe = {
|
|
@@ -93,7 +93,7 @@ const Oe = ["tabindex"], Ee = { style: { width: "100%" } }, Be = { key: 0 }, Ne
|
|
|
93
93
|
DROPLIST_MIN_WIDTH: 240,
|
|
94
94
|
VERSION: 4
|
|
95
95
|
}, {
|
|
96
|
-
onKeydown:
|
|
96
|
+
onKeydown: k,
|
|
97
97
|
open: s,
|
|
98
98
|
toggleMenu: h,
|
|
99
99
|
onButtonKeydown: G,
|
|
@@ -105,10 +105,10 @@ const Oe = ["tabindex"], Ee = { style: { width: "100%" } }, Be = { key: 0 }, Ne
|
|
|
105
105
|
allSelected: B,
|
|
106
106
|
isIndeterminate: J,
|
|
107
107
|
onSelectAll: Q,
|
|
108
|
-
virtualOptions:
|
|
108
|
+
virtualOptions: K,
|
|
109
109
|
isSelected: S,
|
|
110
|
-
selectedOption:
|
|
111
|
-
selectedOptionPrevious:
|
|
110
|
+
selectedOption: T,
|
|
111
|
+
selectedOptionPrevious: N,
|
|
112
112
|
selectedValue: Z,
|
|
113
113
|
onSelect: D,
|
|
114
114
|
activeIndex: P,
|
|
@@ -122,7 +122,7 @@ const Oe = ["tabindex"], Ee = { style: { width: "100%" } }, Be = { key: 0 }, Ne
|
|
|
122
122
|
el: ne,
|
|
123
123
|
onClearAllSelections: F,
|
|
124
124
|
clearAll: ae
|
|
125
|
-
} = we(d, O, E),
|
|
125
|
+
} = we(d, O, E), y = Se(d.testId, f), z = x(() => !d.predefinedTrigger || d.predefinedTrigger === p.DEFAULT ? ke : d.predefinedTrigger === p.APP ? he : null), { width: V } = Ae(R), de = x(() => d.optionsListWidth ? d.optionsListWidth : !d.predefinedTrigger || d.predefinedTrigger === p.DEFAULT || d.predefinedTrigger === p.APP ? V.value - 2 > 240 ? `${V.value - 2}px` : `${E.DROPLIST_MIN_WIDTH}px` : "auto"), re = () => {
|
|
126
126
|
h();
|
|
127
127
|
};
|
|
128
128
|
return M({
|
|
@@ -133,12 +133,12 @@ const Oe = ["tabindex"], Ee = { style: { width: "100%" } }, Be = { key: 0 }, Ne
|
|
|
133
133
|
ref: ne,
|
|
134
134
|
class: ["dropdown dropdown--main-wrapper", [{ "dropdown--disabled": t.disabled, "full-width": t.fullWidth }]],
|
|
135
135
|
tabindex: t.disabled ? -1 : 0
|
|
136
|
-
}, e(
|
|
136
|
+
}, e(y)[e(f).WRAPPER], {
|
|
137
137
|
onKeydown: o[8] || (o[8] = //@ts-ignore
|
|
138
|
-
(...l) => e(
|
|
138
|
+
(...l) => e(k) && e(k)(...l))
|
|
139
139
|
}), [
|
|
140
140
|
w(I.$slots, "label", {}, void 0, !0),
|
|
141
|
-
|
|
141
|
+
m("div", Ee, [
|
|
142
142
|
a(e(ve), u({
|
|
143
143
|
theme: t.theme,
|
|
144
144
|
"popper-class": [
|
|
@@ -156,7 +156,7 @@ const Oe = ["tabindex"], Ee = { style: { width: "100%" } }, Be = { key: 0 }, Ne
|
|
|
156
156
|
"auto-hide": !1,
|
|
157
157
|
container: t.container,
|
|
158
158
|
"auto-size": t.autoSize
|
|
159
|
-
}, e(
|
|
159
|
+
}, e(y)[e(f).TRIGGER]), {
|
|
160
160
|
popper: c(() => [
|
|
161
161
|
a(ue, null, {
|
|
162
162
|
default: c(() => [
|
|
@@ -174,7 +174,7 @@ const Oe = ["tabindex"], Ee = { style: { width: "100%" } }, Be = { key: 0 }, Ne
|
|
|
174
174
|
key: 0,
|
|
175
175
|
class: A(["dropdown-list-wrapper", { "dropdown-list-wrapper--multi": t.multi }]),
|
|
176
176
|
onKeydown: o[7] || (o[7] = //@ts-ignore
|
|
177
|
-
(...l) => e(
|
|
177
|
+
(...l) => e(k) && e(k)(...l))
|
|
178
178
|
}, [
|
|
179
179
|
e(s) && t.inlineSearch ? (i(), n("div", De, [
|
|
180
180
|
a(e(Ie), {
|
|
@@ -188,25 +188,25 @@ const Oe = ["tabindex"], Ee = { style: { width: "100%" } }, Be = { key: 0 }, Ne
|
|
|
188
188
|
size: "md",
|
|
189
189
|
"auto-focus": t.searchAutoFocus,
|
|
190
190
|
"test-id": t.testId,
|
|
191
|
-
onKeydown: e(
|
|
191
|
+
onKeydown: e(k)
|
|
192
192
|
}, null, 8, ["modelValue", "placeholder", "auto-focus", "test-id", "onUpdate:modelValue", "onKeydown"])
|
|
193
193
|
])) : r("", !0),
|
|
194
194
|
w(I.$slots, "input-list", { open: e(s) }, void 0, !0),
|
|
195
|
-
|
|
195
|
+
m("div", u({
|
|
196
196
|
class: ["list-container", { "list-container--multi": t.multi }],
|
|
197
197
|
style: { height: `${e(q)}rem` }
|
|
198
198
|
}, {
|
|
199
199
|
...e(X),
|
|
200
|
-
...e(
|
|
200
|
+
...e(y)[e(f).LIST_CONTAINER]
|
|
201
201
|
}), [
|
|
202
|
-
|
|
202
|
+
m("ul", u(e(Y), {
|
|
203
203
|
role: "listbox",
|
|
204
204
|
class: ["list", { "list--multi": t.multi }]
|
|
205
205
|
}), [
|
|
206
206
|
!e(j).length && !t.loading ? (i(), n("li", Pe, [
|
|
207
|
-
a(e(W), u({ variant: "body2" }, e(
|
|
207
|
+
a(e(W), u({ variant: "body2" }, e(y)[e(f).NO_RESULT]), {
|
|
208
208
|
default: c(() => [
|
|
209
|
-
g(
|
|
209
|
+
g(ye(t.noResultsText), 1)
|
|
210
210
|
]),
|
|
211
211
|
_: 1
|
|
212
212
|
}, 16)
|
|
@@ -229,7 +229,7 @@ const Oe = ["tabindex"], Ee = { style: { width: "100%" } }, Be = { key: 0 }, Ne
|
|
|
229
229
|
"is-indeterminate": e(J),
|
|
230
230
|
"select-all-option": ""
|
|
231
231
|
},
|
|
232
|
-
e(
|
|
232
|
+
e(y)[e(f).SELECT_ALL],
|
|
233
233
|
{
|
|
234
234
|
onClick: o[5] || (o[5] = $((l) => e(Q)(), ["stop"]))
|
|
235
235
|
}
|
|
@@ -240,22 +240,22 @@ const Oe = ["tabindex"], Ee = { style: { width: "100%" } }, Be = { key: 0 }, Ne
|
|
|
240
240
|
_: 1
|
|
241
241
|
}, 16, ["aria-selected", "aria-disabled", "selected-prop", "is-indeterminate"])
|
|
242
242
|
])) : r("", !0),
|
|
243
|
-
e(
|
|
243
|
+
e(K).length && !t.loading ? (i(!0), n(me, { key: 3 }, pe(e(K), ({ data: l, index: v }) => (i(), n("li", {
|
|
244
244
|
key: v,
|
|
245
|
-
"aria-selected": e(S)(
|
|
245
|
+
"aria-selected": e(S)(b(e(T)), l),
|
|
246
246
|
"aria-disabled": !!t.disabled,
|
|
247
247
|
onClick: $(() => e(D)(l, v), ["stop"])
|
|
248
248
|
}, [
|
|
249
249
|
w(I.$slots, "default", {
|
|
250
250
|
option: l,
|
|
251
|
-
selected: e(S)(
|
|
252
|
-
active:
|
|
251
|
+
selected: e(S)(b(e(T)), l),
|
|
252
|
+
active: b(e(P)) === v,
|
|
253
253
|
disabled: l[d.disabledOptionKey]
|
|
254
254
|
}, () => [
|
|
255
255
|
a(e(U), {
|
|
256
256
|
option: l,
|
|
257
|
-
selected: e(S)(
|
|
258
|
-
active:
|
|
257
|
+
selected: e(S)(b(e(T)), l),
|
|
258
|
+
active: b(e(P)) === v,
|
|
259
259
|
disabled: l[d.disabledOptionKey],
|
|
260
260
|
"name-key": t.optionNameKey,
|
|
261
261
|
"image-key": t.optionImageKey,
|
|
@@ -269,7 +269,7 @@ const Oe = ["tabindex"], Ee = { style: { width: "100%" } }, Be = { key: 0 }, Ne
|
|
|
269
269
|
], 16)
|
|
270
270
|
], 16),
|
|
271
271
|
t.multi ? (i(), n("div", Ve, [
|
|
272
|
-
|
|
272
|
+
m("div", xe, [
|
|
273
273
|
a(e(L), u(
|
|
274
274
|
{
|
|
275
275
|
ref_key: "clearAll",
|
|
@@ -278,7 +278,7 @@ const Oe = ["tabindex"], Ee = { style: { width: "100%" } }, Be = { key: 0 }, Ne
|
|
|
278
278
|
variant: "text",
|
|
279
279
|
color: "primary"
|
|
280
280
|
},
|
|
281
|
-
e(
|
|
281
|
+
e(y)[e(f).ACTION_CLEAR_ALL],
|
|
282
282
|
{
|
|
283
283
|
onClick: o[6] || (o[6] = () => e(F)(!1))
|
|
284
284
|
}
|
|
@@ -289,7 +289,7 @@ const Oe = ["tabindex"], Ee = { style: { width: "100%" } }, Be = { key: 0 }, Ne
|
|
|
289
289
|
_: 1
|
|
290
290
|
}, 16)
|
|
291
291
|
]),
|
|
292
|
-
|
|
292
|
+
m("div", $e, [
|
|
293
293
|
a(e(L), u(
|
|
294
294
|
{
|
|
295
295
|
ref_key: "cancel",
|
|
@@ -298,7 +298,7 @@ const Oe = ["tabindex"], Ee = { style: { width: "100%" } }, Be = { key: 0 }, Ne
|
|
|
298
298
|
variant: "outlined",
|
|
299
299
|
color: "primary"
|
|
300
300
|
},
|
|
301
|
-
e(
|
|
301
|
+
e(y)[e(f).ACTION_CANCEL],
|
|
302
302
|
{ onClick: e(_) }
|
|
303
303
|
), {
|
|
304
304
|
default: c(() => [
|
|
@@ -312,7 +312,7 @@ const Oe = ["tabindex"], Ee = { style: { width: "100%" } }, Be = { key: 0 }, Ne
|
|
|
312
312
|
"data-testid": "mutli-apply",
|
|
313
313
|
size: "small",
|
|
314
314
|
class: "apply-button"
|
|
315
|
-
}, e(
|
|
315
|
+
}, e(y)[e(f).ACTION_APPLY], { onClick: e(ee) }), {
|
|
316
316
|
default: c(() => [
|
|
317
317
|
g("Apply ")
|
|
318
318
|
]),
|
|
@@ -327,7 +327,7 @@ const Oe = ["tabindex"], Ee = { style: { width: "100%" } }, Be = { key: 0 }, Ne
|
|
|
327
327
|
})
|
|
328
328
|
]),
|
|
329
329
|
default: c(() => [
|
|
330
|
-
|
|
330
|
+
m("div", {
|
|
331
331
|
class: A(["button__container", {
|
|
332
332
|
"button__container--open": !!e(s),
|
|
333
333
|
[`button__container--${t.size}`]: !0,
|
|
@@ -342,7 +342,7 @@ const Oe = ["tabindex"], Ee = { style: { width: "100%" } }, Be = { key: 0 }, Ne
|
|
|
342
342
|
onClick: () => e(h)()
|
|
343
343
|
}
|
|
344
344
|
}, () => [
|
|
345
|
-
|
|
345
|
+
m("div", {
|
|
346
346
|
ref_key: "buttonRef",
|
|
347
347
|
ref: R
|
|
348
348
|
}, [
|
|
@@ -356,13 +356,15 @@ const Oe = ["tabindex"], Ee = { style: { width: "100%" } }, Be = { key: 0 }, Ne
|
|
|
356
356
|
"test-id": t.testId,
|
|
357
357
|
multi: t.multi,
|
|
358
358
|
disabled: t.disabled,
|
|
359
|
-
"selected-option": t.multi ? e(
|
|
359
|
+
"selected-option": t.multi ? e(N) : e(T),
|
|
360
360
|
"display-value": t.displayValue,
|
|
361
361
|
options: t.options,
|
|
362
362
|
"option-name-key": t.optionNameKey,
|
|
363
363
|
"option-image-key": t.optionImageKey,
|
|
364
364
|
"option-icon-key": t.optionIconKey,
|
|
365
365
|
"option-icon-type": t.optionIconType,
|
|
366
|
+
"option-end-icon-key": t.optionEndIconKey,
|
|
367
|
+
"option-end-icon-type": t.optionEndIconType,
|
|
366
368
|
"feedback-variant": t.triggerFeedbackVariant,
|
|
367
369
|
"value-to-copy": t.valueToCopy,
|
|
368
370
|
"status-dot-type": t.statusType,
|
|
@@ -370,20 +372,20 @@ const Oe = ["tabindex"], Ee = { style: { width: "100%" } }, Be = { key: 0 }, Ne
|
|
|
370
372
|
onKeydown: e(G),
|
|
371
373
|
onClick: re,
|
|
372
374
|
onCopyToClipboard: o[0] || (o[0] = (l) => O("copyToClipboard"))
|
|
373
|
-
}, null, 40, ["placeholder", "open", "label", "show-feedback-icon", "mandatory", "test-id", "multi", "disabled", "selected-option", "display-value", "options", "option-name-key", "option-image-key", "option-icon-key", "option-icon-type", "feedback-variant", "value-to-copy", "status-dot-type", "size", "onKeydown"]))
|
|
375
|
+
}, null, 40, ["placeholder", "open", "label", "show-feedback-icon", "mandatory", "test-id", "multi", "disabled", "selected-option", "display-value", "options", "option-name-key", "option-image-key", "option-icon-key", "option-icon-type", "option-end-icon-key", "option-end-icon-type", "feedback-variant", "value-to-copy", "status-dot-type", "size", "onKeydown"]))
|
|
374
376
|
])) : r("", !0),
|
|
375
|
-
t.predefinedTrigger === e(p).ICON_BUTTON ? (i(), n("div",
|
|
376
|
-
a(e(
|
|
377
|
+
t.predefinedTrigger === e(p).ICON_BUTTON ? (i(), n("div", Ke, [
|
|
378
|
+
a(e(Te), {
|
|
377
379
|
onClick: o[1] || (o[1] = (l) => e(h)())
|
|
378
380
|
})
|
|
379
381
|
])) : r("", !0),
|
|
380
|
-
t.predefinedTrigger === e(p).CHIP ? (i(), n("div",
|
|
381
|
-
a(e(
|
|
382
|
+
t.predefinedTrigger === e(p).CHIP ? (i(), n("div", Ne, [
|
|
383
|
+
a(e(be), {
|
|
382
384
|
open: e(s),
|
|
383
385
|
label: t.placeholder,
|
|
384
386
|
"test-id": t.testId,
|
|
385
387
|
options: t.options,
|
|
386
|
-
"selected-option": t.multi ? e(
|
|
388
|
+
"selected-option": t.multi ? e(N) : e(T),
|
|
387
389
|
"display-value": t.displayValue,
|
|
388
390
|
multi: t.multi,
|
|
389
391
|
onClick: o[2] || (o[2] = (l) => e(h)()),
|
|
@@ -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 _ from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
// import "../../../OptionV4.vue_vue_type_style_index_0_scoped_89b98201_lang.css"; //*');
|
|
4
|
+
const s = /* @__PURE__ */ _(o, [["__scopeId", "data-v-89b98201"]]);
|
|
5
5
|
export {
|
|
6
6
|
s as default
|
|
7
7
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../../../OptionV4.
|
|
1
|
+
import "../../../OptionV4.vue_vue_type_style_index_0_scoped_89b98201_lang.css"; import { defineComponent as $, openBlock as n, createBlock as r, unref as i, withCtx as y, createElementVNode as s, normalizeClass as b, createCommentVNode as o, createElementBlock as l, renderSlot as c, createVNode as d, createTextVNode as k, toDisplayString as h, withModifiers as C } from "vue";
|
|
2
2
|
import "../../typography/Heading.vue.js";
|
|
3
3
|
import B from "../../typography/Text.vue.js";
|
|
4
4
|
import z from "../../checkbox/v4/CheckboxV4.vue.js";
|
|
@@ -35,10 +35,10 @@ const P = {
|
|
|
35
35
|
toolTipPlacement: { default: "right" }
|
|
36
36
|
},
|
|
37
37
|
setup(e) {
|
|
38
|
-
const
|
|
39
|
-
return (t, a) => (n(),
|
|
40
|
-
text:
|
|
41
|
-
"test-id":
|
|
38
|
+
const I = e, { selected: m, isMulti: u, id: K, onClick: v, api: T } = V(I), x = (t) => t && typeof t == "object" && "optionTooltipText" in t ? t.optionTooltipText : "", p = (t) => t && typeof t == "object" && "optionTooltipTestId" in t ? t.optionTooltipTestId : null;
|
|
39
|
+
return (t, a) => (n(), r(i(O), {
|
|
40
|
+
text: x(e.option),
|
|
41
|
+
"test-id": p(e.option),
|
|
42
42
|
placement: e.toolTipPlacement,
|
|
43
43
|
class: "tooltip-option"
|
|
44
44
|
}, {
|
|
@@ -49,24 +49,24 @@ const P = {
|
|
|
49
49
|
"item-container--disabled": e.disabled,
|
|
50
50
|
"item-container--active": e.nameKey ? !1 : e.active,
|
|
51
51
|
"item-container--selected": i(m),
|
|
52
|
-
"item-container--multi": i(
|
|
52
|
+
"item-container--multi": i(u)
|
|
53
53
|
}])
|
|
54
54
|
}, [
|
|
55
55
|
s("div", {
|
|
56
56
|
class: b(["item", {
|
|
57
|
-
"item--multi": i(
|
|
57
|
+
"item--multi": i(u),
|
|
58
58
|
"item--with-icon": t.$slots["icon-start"] || t.$slots.image
|
|
59
59
|
}])
|
|
60
60
|
}, [
|
|
61
|
-
i(
|
|
61
|
+
i(u) ? (n(), r(i(z), {
|
|
62
62
|
key: 0,
|
|
63
|
-
id: i(
|
|
63
|
+
id: i(K).toString(),
|
|
64
64
|
tabindex: "-1",
|
|
65
65
|
class: "checkbox",
|
|
66
66
|
size: "sm",
|
|
67
67
|
"is-checked": i(m),
|
|
68
68
|
"is-indeterminate": e.isIndeterminate && !e.option,
|
|
69
|
-
onClick: a[0] || (a[0] = (g) => e.disabled ? i(N)() : i(
|
|
69
|
+
onClick: a[0] || (a[0] = (g) => e.disabled ? i(N)() : i(v)(g))
|
|
70
70
|
}, null, 8, ["id", "is-checked", "is-indeterminate"])) : o("", !0),
|
|
71
71
|
t.$slots.image || e.imageKey ? (n(), l("div", P, [
|
|
72
72
|
c(t.$slots, "image", {}, () => [
|
|
@@ -97,7 +97,7 @@ const P = {
|
|
|
97
97
|
]),
|
|
98
98
|
_: 3
|
|
99
99
|
}),
|
|
100
|
-
e.subtitle ? (n(),
|
|
100
|
+
e.subtitle ? (n(), r(i(B), {
|
|
101
101
|
key: 0,
|
|
102
102
|
class: "subtitle",
|
|
103
103
|
size: "xs"
|
|
@@ -108,7 +108,7 @@ const P = {
|
|
|
108
108
|
_: 1
|
|
109
109
|
})) : o("", !0)
|
|
110
110
|
]),
|
|
111
|
-
t.$slots["icon-end"] || e.endIconKey ? (n(), l("div", M, [
|
|
111
|
+
t.$slots["icon-end"] || e.endIconKey && e.option[e.endIconKey] ? (n(), l("div", M, [
|
|
112
112
|
c(t.$slots, "icon-end", {}, () => [
|
|
113
113
|
d(i(f), {
|
|
114
114
|
type: e.endIconType,
|
|
@@ -553,6 +553,8 @@ declare const DropdownTypes: () => (({
|
|
|
553
553
|
optionIconKey: string;
|
|
554
554
|
optionImageKey: string;
|
|
555
555
|
optionIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test";
|
|
556
|
+
optionEndIconKey: string;
|
|
557
|
+
optionEndIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test";
|
|
556
558
|
valueToCopy: string;
|
|
557
559
|
selectedOption: any;
|
|
558
560
|
brandIconType: "android" | "ios";
|
|
@@ -623,6 +625,14 @@ declare const DropdownTypes: () => (({
|
|
|
623
625
|
type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test">;
|
|
624
626
|
default: any;
|
|
625
627
|
};
|
|
628
|
+
optionEndIconKey: {
|
|
629
|
+
type: import("vue").PropType<string>;
|
|
630
|
+
default: any;
|
|
631
|
+
};
|
|
632
|
+
optionEndIconType: {
|
|
633
|
+
type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test">;
|
|
634
|
+
default: any;
|
|
635
|
+
};
|
|
626
636
|
valueToCopy: {
|
|
627
637
|
type: import("vue").PropType<string>;
|
|
628
638
|
default: any;
|
|
@@ -638,7 +648,7 @@ declare const DropdownTypes: () => (({
|
|
|
638
648
|
}>> & {
|
|
639
649
|
onClick?: () => any;
|
|
640
650
|
onCopyToClipboard?: () => any;
|
|
641
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "label" | "disabled" | "size" | "open" | "mandatory" | "loading" | "testId" | "options" | "singleAppSelection" | "placeholder" | "multi" | "optionNameKey" | "optionIconKey" | "optionImageKey" | "optionIconType" | "valueToCopy" | "selectedOption" | "brandIconType">;
|
|
651
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "label" | "disabled" | "size" | "open" | "mandatory" | "loading" | "testId" | "options" | "singleAppSelection" | "placeholder" | "multi" | "optionNameKey" | "optionIconKey" | "optionImageKey" | "optionIconType" | "optionEndIconKey" | "optionEndIconType" | "valueToCopy" | "selectedOption" | "brandIconType">;
|
|
642
652
|
$attrs: {
|
|
643
653
|
[x: string]: unknown;
|
|
644
654
|
};
|
|
@@ -719,6 +729,14 @@ declare const DropdownTypes: () => (({
|
|
|
719
729
|
type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test">;
|
|
720
730
|
default: any;
|
|
721
731
|
};
|
|
732
|
+
optionEndIconKey: {
|
|
733
|
+
type: import("vue").PropType<string>;
|
|
734
|
+
default: any;
|
|
735
|
+
};
|
|
736
|
+
optionEndIconType: {
|
|
737
|
+
type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test">;
|
|
738
|
+
default: any;
|
|
739
|
+
};
|
|
722
740
|
valueToCopy: {
|
|
723
741
|
type: import("vue").PropType<string>;
|
|
724
742
|
default: any;
|
|
@@ -753,6 +771,8 @@ declare const DropdownTypes: () => (({
|
|
|
753
771
|
optionIconKey: string;
|
|
754
772
|
optionImageKey: string;
|
|
755
773
|
optionIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test";
|
|
774
|
+
optionEndIconKey: string;
|
|
775
|
+
optionEndIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test";
|
|
756
776
|
valueToCopy: string;
|
|
757
777
|
selectedOption: any;
|
|
758
778
|
brandIconType: "android" | "ios";
|
|
@@ -843,6 +863,14 @@ declare const DropdownTypes: () => (({
|
|
|
843
863
|
type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test">;
|
|
844
864
|
default: any;
|
|
845
865
|
};
|
|
866
|
+
optionEndIconKey: {
|
|
867
|
+
type: import("vue").PropType<string>;
|
|
868
|
+
default: any;
|
|
869
|
+
};
|
|
870
|
+
optionEndIconType: {
|
|
871
|
+
type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test">;
|
|
872
|
+
default: any;
|
|
873
|
+
};
|
|
846
874
|
valueToCopy: {
|
|
847
875
|
type: import("vue").PropType<string>;
|
|
848
876
|
default: any;
|
|
@@ -929,6 +957,14 @@ declare const DropdownTypes: () => (({
|
|
|
929
957
|
type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test">;
|
|
930
958
|
default: any;
|
|
931
959
|
};
|
|
960
|
+
optionEndIconKey: {
|
|
961
|
+
type: import("vue").PropType<string>;
|
|
962
|
+
default: any;
|
|
963
|
+
};
|
|
964
|
+
optionEndIconType: {
|
|
965
|
+
type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test">;
|
|
966
|
+
default: any;
|
|
967
|
+
};
|
|
932
968
|
valueToCopy: {
|
|
933
969
|
type: import("vue").PropType<string>;
|
|
934
970
|
default: any;
|
|
@@ -963,6 +999,8 @@ declare const DropdownTypes: () => (({
|
|
|
963
999
|
optionIconKey: string;
|
|
964
1000
|
optionImageKey: string;
|
|
965
1001
|
optionIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test";
|
|
1002
|
+
optionEndIconKey: string;
|
|
1003
|
+
optionEndIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test";
|
|
966
1004
|
valueToCopy: string;
|
|
967
1005
|
selectedOption: any;
|
|
968
1006
|
brandIconType: "android" | "ios";
|
|
@@ -970,6 +1008,7 @@ declare const DropdownTypes: () => (({
|
|
|
970
1008
|
$slots: {
|
|
971
1009
|
image?(_: {}): any;
|
|
972
1010
|
"icon-start"?(_: {}): any;
|
|
1011
|
+
"icon-end"?(_: {}): any;
|
|
973
1012
|
};
|
|
974
1013
|
})) | ({
|
|
975
1014
|
new (...args: any[]): {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
/* empty css */import
|
|
3
|
-
// import "../../../HelpIcon.
|
|
4
|
-
const
|
|
1
|
+
import e from "./HelpIcon.vue2.js";
|
|
2
|
+
/* empty css */import o from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
// import "../../../HelpIcon.vue_vue_type_style_index_0_scoped_06fce2e3_lang.css"; //*');
|
|
4
|
+
const s = /* @__PURE__ */ o(e, [["__scopeId", "data-v-06fce2e3"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
s as default
|
|
7
7
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "../../../HelpIcon.
|
|
2
|
-
import c from "../../icon/
|
|
3
|
-
import
|
|
1
|
+
import "../../../HelpIcon.vue_vue_type_style_index_0_scoped_06fce2e3_lang.css"; import { defineComponent as o, openBlock as l, createBlock as n, unref as t, withCtx as r, createVNode as a } from "vue";
|
|
2
|
+
import c from "../../icon/v4/IconV4.vue.js";
|
|
3
|
+
import p from "../../tooltip/v4/TooltipV4.vue.js";
|
|
4
4
|
const u = /* @__PURE__ */ o({
|
|
5
5
|
__name: "HelpIcon",
|
|
6
6
|
props: {
|
|
@@ -9,7 +9,7 @@ const u = /* @__PURE__ */ o({
|
|
|
9
9
|
testId: { default: "" }
|
|
10
10
|
},
|
|
11
11
|
setup(e) {
|
|
12
|
-
return (
|
|
12
|
+
return (i, m) => (l(), n(t(p), {
|
|
13
13
|
class: "table-help-icon",
|
|
14
14
|
triggers: ["hover"],
|
|
15
15
|
text: e.hoverHelpText,
|
|
@@ -20,7 +20,7 @@ const u = /* @__PURE__ */ o({
|
|
|
20
20
|
a(t(c), {
|
|
21
21
|
class: "info-icon",
|
|
22
22
|
name: "question",
|
|
23
|
-
|
|
23
|
+
size: "16px"
|
|
24
24
|
})
|
|
25
25
|
]),
|
|
26
26
|
_: 1
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as m from "yup";
|
|
2
|
-
import { ref as
|
|
2
|
+
import { ref as d, reactive as f, watch as v } from "vue";
|
|
3
3
|
const E = (e, r = 0) => {
|
|
4
4
|
try {
|
|
5
5
|
window.document.getElementsByClassName(e)[r].scrollIntoView({ behavior: "smooth" });
|
|
@@ -9,28 +9,34 @@ const E = (e, r = 0) => {
|
|
|
9
9
|
}, h = (e) => {
|
|
10
10
|
const r = Object.keys(e)?.[0];
|
|
11
11
|
r && E(`form-field-${r}`);
|
|
12
|
-
},
|
|
12
|
+
}, p = (e, r) => {
|
|
13
13
|
const o = m.object().shape(e);
|
|
14
14
|
try {
|
|
15
15
|
return o.validateSync(r.value, { abortEarly: !1 }), { isValid: !0, errors: {} };
|
|
16
16
|
} catch (i) {
|
|
17
|
-
return { isValid: !1, errors: i.inner.reduce((s,
|
|
17
|
+
return { isValid: !1, errors: i.inner.reduce((s, n) => (s[n.path] = n.message, s), {}) };
|
|
18
18
|
}
|
|
19
19
|
}, b = ({
|
|
20
20
|
formState: e,
|
|
21
21
|
formValidationSchema: r
|
|
22
22
|
}) => {
|
|
23
|
-
const o =
|
|
24
|
-
const { isValid:
|
|
25
|
-
o.value = !0, i.value =
|
|
23
|
+
const o = d(!1), i = d(!0), t = f({}), s = (n) => {
|
|
24
|
+
const { isValid: l, errors: c } = p(r, e);
|
|
25
|
+
o.value = !0, i.value = l, Object.keys(t).forEach((a) => {
|
|
26
26
|
a && !c[a] && delete t[a];
|
|
27
|
-
}), Object.entries(c).forEach(([a,
|
|
28
|
-
t[a] =
|
|
29
|
-
}), !
|
|
27
|
+
}), Object.entries(c).forEach(([a, u]) => {
|
|
28
|
+
t[a] = u;
|
|
29
|
+
}), !l && !n && h(t);
|
|
30
30
|
};
|
|
31
|
-
return v(
|
|
32
|
-
|
|
33
|
-
|
|
31
|
+
return v(
|
|
32
|
+
e,
|
|
33
|
+
() => {
|
|
34
|
+
o.value && s(!0);
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
deep: !0
|
|
38
|
+
}
|
|
39
|
+
), {
|
|
34
40
|
validationErrors: t,
|
|
35
41
|
isValid: i,
|
|
36
42
|
validate: s
|
|
@@ -40,5 +46,5 @@ export {
|
|
|
40
46
|
E as scrollToElementByClass,
|
|
41
47
|
h as scrollToFirstInvalidElement,
|
|
42
48
|
b as useFormValidation,
|
|
43
|
-
|
|
49
|
+
p as yupValidation
|
|
44
50
|
};
|
package/index.d.ts
CHANGED
|
@@ -13526,6 +13526,8 @@ declare const _default: {
|
|
|
13526
13526
|
optionIconKey: string;
|
|
13527
13527
|
optionImageKey: string;
|
|
13528
13528
|
optionIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test";
|
|
13529
|
+
optionEndIconKey: string;
|
|
13530
|
+
optionEndIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test";
|
|
13529
13531
|
valueToCopy: string;
|
|
13530
13532
|
selectedOption: any;
|
|
13531
13533
|
brandIconType: "android" | "ios";
|
|
@@ -13596,6 +13598,14 @@ declare const _default: {
|
|
|
13596
13598
|
type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test">;
|
|
13597
13599
|
default: any;
|
|
13598
13600
|
};
|
|
13601
|
+
optionEndIconKey: {
|
|
13602
|
+
type: import("vue").PropType<string>;
|
|
13603
|
+
default: any;
|
|
13604
|
+
};
|
|
13605
|
+
optionEndIconType: {
|
|
13606
|
+
type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test">;
|
|
13607
|
+
default: any;
|
|
13608
|
+
};
|
|
13599
13609
|
valueToCopy: {
|
|
13600
13610
|
type: import("vue").PropType<string>;
|
|
13601
13611
|
default: any;
|
|
@@ -13611,7 +13621,7 @@ declare const _default: {
|
|
|
13611
13621
|
}>> & {
|
|
13612
13622
|
onClick?: () => any;
|
|
13613
13623
|
onCopyToClipboard?: () => any;
|
|
13614
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "label" | "disabled" | "size" | "open" | "mandatory" | "loading" | "testId" | "options" | "singleAppSelection" | "placeholder" | "multi" | "optionNameKey" | "optionIconKey" | "optionImageKey" | "optionIconType" | "valueToCopy" | "selectedOption" | "brandIconType">;
|
|
13624
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "label" | "disabled" | "size" | "open" | "mandatory" | "loading" | "testId" | "options" | "singleAppSelection" | "placeholder" | "multi" | "optionNameKey" | "optionIconKey" | "optionImageKey" | "optionIconType" | "optionEndIconKey" | "optionEndIconType" | "valueToCopy" | "selectedOption" | "brandIconType">;
|
|
13615
13625
|
$attrs: {
|
|
13616
13626
|
[x: string]: unknown;
|
|
13617
13627
|
};
|
|
@@ -13692,6 +13702,14 @@ declare const _default: {
|
|
|
13692
13702
|
type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test">;
|
|
13693
13703
|
default: any;
|
|
13694
13704
|
};
|
|
13705
|
+
optionEndIconKey: {
|
|
13706
|
+
type: import("vue").PropType<string>;
|
|
13707
|
+
default: any;
|
|
13708
|
+
};
|
|
13709
|
+
optionEndIconType: {
|
|
13710
|
+
type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test">;
|
|
13711
|
+
default: any;
|
|
13712
|
+
};
|
|
13695
13713
|
valueToCopy: {
|
|
13696
13714
|
type: import("vue").PropType<string>;
|
|
13697
13715
|
default: any;
|
|
@@ -13726,6 +13744,8 @@ declare const _default: {
|
|
|
13726
13744
|
optionIconKey: string;
|
|
13727
13745
|
optionImageKey: string;
|
|
13728
13746
|
optionIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test";
|
|
13747
|
+
optionEndIconKey: string;
|
|
13748
|
+
optionEndIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test";
|
|
13729
13749
|
valueToCopy: string;
|
|
13730
13750
|
selectedOption: any;
|
|
13731
13751
|
brandIconType: "android" | "ios";
|
|
@@ -13816,6 +13836,14 @@ declare const _default: {
|
|
|
13816
13836
|
type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test">;
|
|
13817
13837
|
default: any;
|
|
13818
13838
|
};
|
|
13839
|
+
optionEndIconKey: {
|
|
13840
|
+
type: import("vue").PropType<string>;
|
|
13841
|
+
default: any;
|
|
13842
|
+
};
|
|
13843
|
+
optionEndIconType: {
|
|
13844
|
+
type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test">;
|
|
13845
|
+
default: any;
|
|
13846
|
+
};
|
|
13819
13847
|
valueToCopy: {
|
|
13820
13848
|
type: import("vue").PropType<string>;
|
|
13821
13849
|
default: any;
|
|
@@ -13902,6 +13930,14 @@ declare const _default: {
|
|
|
13902
13930
|
type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test">;
|
|
13903
13931
|
default: any;
|
|
13904
13932
|
};
|
|
13933
|
+
optionEndIconKey: {
|
|
13934
|
+
type: import("vue").PropType<string>;
|
|
13935
|
+
default: any;
|
|
13936
|
+
};
|
|
13937
|
+
optionEndIconType: {
|
|
13938
|
+
type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test">;
|
|
13939
|
+
default: any;
|
|
13940
|
+
};
|
|
13905
13941
|
valueToCopy: {
|
|
13906
13942
|
type: import("vue").PropType<string>;
|
|
13907
13943
|
default: any;
|
|
@@ -13936,6 +13972,8 @@ declare const _default: {
|
|
|
13936
13972
|
optionIconKey: string;
|
|
13937
13973
|
optionImageKey: string;
|
|
13938
13974
|
optionIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test";
|
|
13975
|
+
optionEndIconKey: string;
|
|
13976
|
+
optionEndIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test";
|
|
13939
13977
|
valueToCopy: string;
|
|
13940
13978
|
selectedOption: any;
|
|
13941
13979
|
brandIconType: "android" | "ios";
|
|
@@ -13943,6 +13981,7 @@ declare const _default: {
|
|
|
13943
13981
|
$slots: {
|
|
13944
13982
|
image?(_: {}): any;
|
|
13945
13983
|
"icon-start"?(_: {}): any;
|
|
13984
|
+
"icon-end"?(_: {}): any;
|
|
13946
13985
|
};
|
|
13947
13986
|
});
|
|
13948
13987
|
DropdownTypes: () => (({
|
|
@@ -14492,6 +14531,8 @@ declare const _default: {
|
|
|
14492
14531
|
optionIconKey: string;
|
|
14493
14532
|
optionImageKey: string;
|
|
14494
14533
|
optionIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test";
|
|
14534
|
+
optionEndIconKey: string;
|
|
14535
|
+
optionEndIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test";
|
|
14495
14536
|
valueToCopy: string;
|
|
14496
14537
|
selectedOption: any;
|
|
14497
14538
|
brandIconType: "android" | "ios";
|
|
@@ -14562,6 +14603,14 @@ declare const _default: {
|
|
|
14562
14603
|
type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test">;
|
|
14563
14604
|
default: any;
|
|
14564
14605
|
};
|
|
14606
|
+
optionEndIconKey: {
|
|
14607
|
+
type: import("vue").PropType<string>;
|
|
14608
|
+
default: any;
|
|
14609
|
+
};
|
|
14610
|
+
optionEndIconType: {
|
|
14611
|
+
type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test">;
|
|
14612
|
+
default: any;
|
|
14613
|
+
};
|
|
14565
14614
|
valueToCopy: {
|
|
14566
14615
|
type: import("vue").PropType<string>;
|
|
14567
14616
|
default: any;
|
|
@@ -14577,7 +14626,7 @@ declare const _default: {
|
|
|
14577
14626
|
}>> & {
|
|
14578
14627
|
onClick?: () => any;
|
|
14579
14628
|
onCopyToClipboard?: () => any;
|
|
14580
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "label" | "disabled" | "size" | "open" | "mandatory" | "loading" | "testId" | "options" | "singleAppSelection" | "placeholder" | "multi" | "optionNameKey" | "optionIconKey" | "optionImageKey" | "optionIconType" | "valueToCopy" | "selectedOption" | "brandIconType">;
|
|
14629
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "label" | "disabled" | "size" | "open" | "mandatory" | "loading" | "testId" | "options" | "singleAppSelection" | "placeholder" | "multi" | "optionNameKey" | "optionIconKey" | "optionImageKey" | "optionIconType" | "optionEndIconKey" | "optionEndIconType" | "valueToCopy" | "selectedOption" | "brandIconType">;
|
|
14581
14630
|
$attrs: {
|
|
14582
14631
|
[x: string]: unknown;
|
|
14583
14632
|
};
|
|
@@ -14658,6 +14707,14 @@ declare const _default: {
|
|
|
14658
14707
|
type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test">;
|
|
14659
14708
|
default: any;
|
|
14660
14709
|
};
|
|
14710
|
+
optionEndIconKey: {
|
|
14711
|
+
type: import("vue").PropType<string>;
|
|
14712
|
+
default: any;
|
|
14713
|
+
};
|
|
14714
|
+
optionEndIconType: {
|
|
14715
|
+
type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test">;
|
|
14716
|
+
default: any;
|
|
14717
|
+
};
|
|
14661
14718
|
valueToCopy: {
|
|
14662
14719
|
type: import("vue").PropType<string>;
|
|
14663
14720
|
default: any;
|
|
@@ -14692,6 +14749,8 @@ declare const _default: {
|
|
|
14692
14749
|
optionIconKey: string;
|
|
14693
14750
|
optionImageKey: string;
|
|
14694
14751
|
optionIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test";
|
|
14752
|
+
optionEndIconKey: string;
|
|
14753
|
+
optionEndIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test";
|
|
14695
14754
|
valueToCopy: string;
|
|
14696
14755
|
selectedOption: any;
|
|
14697
14756
|
brandIconType: "android" | "ios";
|
|
@@ -14782,6 +14841,14 @@ declare const _default: {
|
|
|
14782
14841
|
type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test">;
|
|
14783
14842
|
default: any;
|
|
14784
14843
|
};
|
|
14844
|
+
optionEndIconKey: {
|
|
14845
|
+
type: import("vue").PropType<string>;
|
|
14846
|
+
default: any;
|
|
14847
|
+
};
|
|
14848
|
+
optionEndIconType: {
|
|
14849
|
+
type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test">;
|
|
14850
|
+
default: any;
|
|
14851
|
+
};
|
|
14785
14852
|
valueToCopy: {
|
|
14786
14853
|
type: import("vue").PropType<string>;
|
|
14787
14854
|
default: any;
|
|
@@ -14868,6 +14935,14 @@ declare const _default: {
|
|
|
14868
14935
|
type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test">;
|
|
14869
14936
|
default: any;
|
|
14870
14937
|
};
|
|
14938
|
+
optionEndIconKey: {
|
|
14939
|
+
type: import("vue").PropType<string>;
|
|
14940
|
+
default: any;
|
|
14941
|
+
};
|
|
14942
|
+
optionEndIconType: {
|
|
14943
|
+
type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test">;
|
|
14944
|
+
default: any;
|
|
14945
|
+
};
|
|
14871
14946
|
valueToCopy: {
|
|
14872
14947
|
type: import("vue").PropType<string>;
|
|
14873
14948
|
default: any;
|
|
@@ -14902,6 +14977,8 @@ declare const _default: {
|
|
|
14902
14977
|
optionIconKey: string;
|
|
14903
14978
|
optionImageKey: string;
|
|
14904
14979
|
optionIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test";
|
|
14980
|
+
optionEndIconKey: string;
|
|
14981
|
+
optionEndIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test";
|
|
14905
14982
|
valueToCopy: string;
|
|
14906
14983
|
selectedOption: any;
|
|
14907
14984
|
brandIconType: "android" | "ios";
|
|
@@ -14909,6 +14986,7 @@ declare const _default: {
|
|
|
14909
14986
|
$slots: {
|
|
14910
14987
|
image?(_: {}): any;
|
|
14911
14988
|
"icon-start"?(_: {}): any;
|
|
14989
|
+
"icon-end"?(_: {}): any;
|
|
14912
14990
|
};
|
|
14913
14991
|
})) | ({
|
|
14914
14992
|
new (...args: any[]): {
|
package/mocks/apps.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.app-trigger-wrapper[data-v-39c47ad1]{display:flex}.app-trigger-wrapper.with-copy .app-trigger[data-v-39c47ad1]{border-radius:var(--border-radius-lg) 0 0 var(--border-radius-lg);width:calc(100% - 41px)}.app-trigger-key[data-v-39c47ad1]{flex:none}.app-trigger-key--content[data-v-39c47ad1]{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-39c47ad1]:hover{background:var(--action-selected);color:var(--action-primary)}.app-trigger[data-v-39c47ad1]{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-39c47ad1]:hover,.app-trigger.active[data-v-39c47ad1]{background:var(--action-selected)}.app-trigger.disabled[data-v-39c47ad1]{cursor:auto}.app-trigger--content[data-v-39c47ad1]{color:var(--text-primary);display:flex;column-gap:4px;width:calc(100% - 20px);align-items:center}.app-trigger--content .x-circle-wrapper[data-v-39c47ad1]{color:var(--primary-dark)}.app-trigger--content .x-circle-wrapper[data-v-39c47ad1]:hover{color:var(--primary-main)}.app-trigger--icon[data-v-39c47ad1]{display:flex;align-items:center;color:var(--action-active)}.app-trigger .displayed-value[data-v-39c47ad1]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.app-trigger .image[data-v-39c47ad1]{width:28px;height:28px;flex:none}.app-trigger .image img[data-v-39c47ad1]{border-radius:4px;width:100%;height:100%}.app-trigger .start-icon[data-v-39c47ad1]{display:flex;color:var(--action-active)}.app-trigger .label-text[data-v-39c47ad1]{display:flex;align-items:center;gap:8px}.app-trigger .label-text .text-content[data-v-39c47ad1]{display:flex;align-items:center;gap:4px;width:100%}.app-trigger .label-text .text-content .text-content-value[data-v-39c47ad1]{width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.app-trigger .label-text .is-mandatory[data-v-39c47ad1]{padding-top:5px;color:var(--error-main)}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.v-enter-active[data-v-0363db63],.v-leave-active[data-v-0363db63]{transition:opacity .25s ease}ol[data-v-0363db63],ul[data-v-0363db63],menu[data-v-0363db63]{list-style:none;margin:0;padding:0}.dropdown.full-width[data-v-0363db63],.dropdown.full-width .button__container[data-v-0363db63]{width:100%}.dropdown-list-wrapper[data-v-0363db63]{display:flex;flex-direction:column;padding:.5rem .5rem .25rem}.dropdown-list-wrapper--multi[data-v-0363db63]{padding:.5rem}.list-container--multi[data-v-0363db63]{margin-bottom:0}.inline-search .inline-search-wrapper[data-v-0363db63]{padding-bottom:.25rem}.inline-search .list-container[data-v-0363db63]{padding-top:0}.no-result-container[data-v-0363db63]{height:100%;display:flex;align-items:center;padding:.375rem .5rem;color:var(--text-disabled)}.no-result[data-v-0363db63]{color:var(--text-disabled);padding-left:.5rem}.list[data-v-0363db63]{outline:none;display:flex;flex-direction:column;width:100%;min-height:2rem}.list--multi[data-v-0363db63]{margin-bottom:.5rem;border-bottom-left-radius:0;border-bottom-right-radius:0}.image-slot[data-v-0363db63]{margin-right:.5rem}.actions-wrapper[data-v-0363db63]{display:flex;width:100%;padding:.5rem .5rem .5rem .125rem;padding-bottom:0;border-top:1px solid var(--common-divider);justify-content:space-between;margin-top:.25rem}.apply-button[data-v-0363db63]{margin-left:.5rem}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.table-help-icon[data-v-7a611779]{margin-left:var(--spacing-50);color:var(--action-active);margin-right:calc(var(--spacing-50) * -1)}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.label[data-v-e0c24b6a]{color:#41454d}.item-container[data-v-e0c24b6a]{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-e0c24b6a]{cursor:initial;color:var(--text-disabled)}.item-container[data-v-e0c24b6a]:hover:not(.item-container--disabled){background-color:var(--action-hover)}.item-container--active[data-v-e0c24b6a],.item-container[data-v-e0c24b6a]:active{background-color:var(--action-selected)}.item-container:not(.item-container--multi).item-container--selected[data-v-e0c24b6a]{background-color:var(--action-selected)}.subtitle[data-v-e0c24b6a]{color:#7b838c;line-height:1rem}.clear-button[data-v-e0c24b6a]{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-e0c24b6a]:hover{color:#3083ff}.item[data-v-e0c24b6a]{width:100%;display:flex;gap:.5rem;align-items:center}.item--with-icon[data-v-e0c24b6a],.item--multi[data-v-e0c24b6a]{display:flex;flex-direction:row;align-items:center;justify-content:start}.item .image[data-v-e0c24b6a]{width:20px;height:20px;flex:none}.item .image img[data-v-e0c24b6a]{width:20px;height:20px;border-radius:4px}.item .start-icon[data-v-e0c24b6a],.item .end-icon[data-v-e0c24b6a]{display:flex;color:var(--action-active)}.item .option-text[data-v-e0c24b6a]{line-height:1.1875rem}.text-container[data-v-e0c24b6a]{width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;text-align:left}.tooltip-option[data-v-e0c24b6a]{display:block}.tooltip-option[data-v-e0c24b6a] .container{width:100%}
|