@ironsource/shared-ui 2.1.6-rc.19 → 2.1.6-rc.20

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.
@@ -0,0 +1 @@
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)}
@@ -0,0 +1 @@
1
+ .app-header[data-v-538ccdc6]{display:flex}.app-header .image-container[data-v-538ccdc6]{height:3rem;width:3rem;border-radius:.25rem}.app-header .image-container img[data-v-538ccdc6]{min-width:100%;max-width:100%;max-height:100%;object-fit:cover;border-radius:.25rem}.app-header .icon-container[data-v-538ccdc6]{color:var(--action-active);display:flex;align-items:center;padding:0 .5rem}.app-header .name-container .title[data-v-538ccdc6]{color:var(--text-primary)}.app-header .name-container .inline-copy[data-v-538ccdc6]{color:var(--text-secondary)}.app-header.size-small[data-v-538ccdc6]{align-items:center}.app-header.size-small .image-container[data-v-538ccdc6]{height:2rem;width:2rem;border-radius:.375rem}.app-header.size-small .image-container img[data-v-538ccdc6]{border-radius:.375rem}.app-header.size-small .icon-container[data-v-538ccdc6]{padding:0 .25rem}.app-header.size-small .name-container[data-v-538ccdc6]{display:flex;align-items:center}.ab-icon-wrapper[data-v-538ccdc6]{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-538ccdc6]{margin-left:var(--spacing-25);padding-left:var(--spacing-100)}
@@ -0,0 +1 @@
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}
@@ -14,7 +14,9 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
14
14
  testId: string;
15
15
  type: string;
16
16
  showAbIcon: boolean;
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<{
17
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
18
+ copyToClipboard: () => void;
19
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
18
20
  image: string;
19
21
  name: string;
20
22
  platform: 'android' | 'ios';
@@ -30,7 +32,9 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
30
32
  testId: string;
31
33
  type: string;
32
34
  showAbIcon: boolean;
33
- }>>>, {
35
+ }>>> & {
36
+ onCopyToClipboard?: () => any;
37
+ }, {
34
38
  name: string;
35
39
  type: 'small' | 'normal';
36
40
  image: string;
@@ -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.vue_vue_type_style_index_0_scoped_c148fc7a_lang.css"; //*');
4
- const s = /* @__PURE__ */ o(e, [["__scopeId", "data-v-c148fc7a"]]);
3
+ // import "../../AppHeader.vue_vue_type_style_index_0_scoped_538ccdc6_lang.css"; //*');
4
+ const s = /* @__PURE__ */ o(e, [["__scopeId", "data-v-538ccdc6"]]);
5
5
  export {
6
6
  s as default
7
7
  };
@@ -1,10 +1,10 @@
1
- import "../../AppHeader.vue_vue_type_style_index_0_scoped_c148fc7a_lang.css"; import { defineComponent as h, computed as o, openBlock as d, createElementBlock as m, normalizeClass as x, createElementVNode as n, mergeProps as r, unref as e, createVNode as i, withCtx as I, createTextVNode as z, toDisplayString as v, createCommentVNode as A } from "vue";
1
+ import "../../AppHeader.vue_vue_type_style_index_0_scoped_538ccdc6_lang.css"; import { defineComponent as h, computed as o, openBlock as m, createElementBlock as p, normalizeClass as C, createElementVNode as n, mergeProps as r, unref as e, createVNode as i, withCtx as b, createTextVNode as v, toDisplayString as z, createCommentVNode as A } from "vue";
2
2
  import c from "../icon/v4/IconV4.vue.js";
3
- import C from "../typography/v4/Typography.vue.js";
4
- import b from "../inlineCopy/InlineCopy.vue.js";
5
- import { useTestIdAttrs as g } from "../../utils/testIds.js";
3
+ import T from "../typography/v4/Typography.vue.js";
4
+ import g from "../inlineCopy/InlineCopy.vue.js";
5
+ import { useTestIdAttrs as N } from "../../utils/testIds.js";
6
6
  import { AppHeaderTestIdModifiers as l } from "../../testids/index.js";
7
- const T = { class: "image-container" }, N = ["src", "alt"], w = ["data-platform"], k = { class: "name-container" }, M = /* @__PURE__ */ h({
7
+ const w = { class: "image-container" }, k = ["src", "alt"], B = ["data-platform"], P = { class: "name-container" }, $ = /* @__PURE__ */ h({
8
8
  __name: "AppHeader",
9
9
  props: {
10
10
  image: { default: "" },
@@ -15,24 +15,25 @@ const T = { class: "image-container" }, N = ["src", "alt"], w = ["data-platform"
15
15
  type: { default: "normal" },
16
16
  showAbIcon: { type: Boolean, default: !1 }
17
17
  },
18
- setup(t) {
19
- const a = t, p = o(
18
+ emits: ["copyToClipboard"],
19
+ setup(t, { emit: f }) {
20
+ const a = t, y = o(
20
21
  () => a.platform ? a.platform.toLowerCase() : ""
21
- ), f = o(
22
- () => a.type === "normal" ? "24px" : "20px"
23
22
  ), u = o(
23
+ () => a.type === "normal" ? "24px" : "20px"
24
+ ), x = o(
24
25
  () => a.type === "small" ? "18px" : null
25
- ), y = o(
26
+ ), I = o(
26
27
  () => a.type === "normal" ? "h2" : "subtitle1"
27
- ), s = g(a.testId, l);
28
- return (B, P) => (d(), m("div", {
29
- class: x(["app-header", `size-${t.type}`])
28
+ ), s = N(a.testId, l);
29
+ return (S, d) => (m(), p("div", {
30
+ class: C(["app-header", `size-${t.type}`])
30
31
  }, [
31
- n("div", T, [
32
+ n("div", w, [
32
33
  n("img", {
33
34
  src: t.image,
34
35
  alt: t.name
35
- }, null, 8, N)
36
+ }, null, 8, k)
36
37
  ]),
37
38
  n("div", r({
38
39
  class: "icon-container",
@@ -40,32 +41,33 @@ const T = { class: "image-container" }, N = ["src", "alt"], w = ["data-platform"
40
41
  }, e(s)[e(l).APP_PLATFORM]), [
41
42
  i(e(c), {
42
43
  type: "branded",
43
- name: e(p),
44
- size: e(f)
44
+ name: e(y),
45
+ size: e(u)
45
46
  }, null, 8, ["name", "size"])
46
- ], 16, w),
47
- n("div", k, [
48
- i(e(C), r({
49
- variant: e(y),
47
+ ], 16, B),
48
+ n("div", P, [
49
+ i(e(T), r({
50
+ variant: e(I),
50
51
  class: "title"
51
52
  }, e(s)[e(l).TITLE]), {
52
- default: I(() => [
53
- z(v(t.name), 1)
53
+ default: b(() => [
54
+ v(z(t.name), 1)
54
55
  ]),
55
56
  _: 1
56
57
  }, 16, ["variant"]),
57
- i(e(b), {
58
+ i(e(g), {
58
59
  text: t.appKey,
59
60
  size: "medium",
60
61
  class: "inline-copy",
61
62
  "hide-text-value": t.type === "small",
62
63
  "test-id": t.testId,
63
- "icon-size": e(u),
64
+ "icon-size": e(x),
64
65
  "tooltip-header": "Copy app key",
65
- "tooltip-text": t.appKey
66
+ "tooltip-text": t.appKey,
67
+ onCopy: d[0] || (d[0] = (V) => f("copyToClipboard"))
66
68
  }, null, 8, ["text", "hide-text-value", "test-id", "icon-size", "tooltip-text"])
67
69
  ]),
68
- t.showAbIcon ? (d(), m("div", r({
70
+ t.showAbIcon ? (m(), p("div", r({
69
71
  key: 0,
70
72
  class: "ab-icon-wrapper"
71
73
  }, e(s)[e(l).AB_ICON]), [
@@ -79,5 +81,5 @@ const T = { class: "image-container" }, N = ["src", "alt"], w = ["data-platform"
79
81
  }
80
82
  });
81
83
  export {
82
- M as default
84
+ $ as default
83
85
  };
@@ -33,7 +33,9 @@ declare const AppHeaderTypes: () => import("vue").DefineComponent<{
33
33
  type: import("vue").PropType<boolean>;
34
34
  default: boolean;
35
35
  };
36
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
36
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
37
+ copyToClipboard: () => void;
38
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
37
39
  name: {
38
40
  type: import("vue").PropType<string>;
39
41
  required: true;
@@ -67,7 +69,9 @@ declare const AppHeaderTypes: () => import("vue").DefineComponent<{
67
69
  type: import("vue").PropType<boolean>;
68
70
  default: boolean;
69
71
  };
70
- }>>, {
72
+ }>> & {
73
+ onCopyToClipboard?: () => any;
74
+ }, {
71
75
  name: string;
72
76
  type: "small" | "normal";
73
77
  image: string;
@@ -28,7 +28,7 @@ const Ue = (l, O, b) => {
28
28
  a.value = l.selected, v.value = l.selected;
29
29
  }
30
30
  );
31
- const p = Pe(), T = n(null), g = n(null), V = n(null), R = n(null), H = n(null), w = n(null), F = n(), B = n(null), L = n(null), U = n(null), ee = 8, le = r(() => w.value ? w.value.getBoundingClientRect().height + ee + l.distance : 0), c = n([]), x = n(-1), I = n(""), v = n([]), q = () => w.value?.focus(), [d, te, ae] = me({
31
+ const p = Pe(), T = n(null), g = n(null), V = n(null), R = n(null), H = n(null), w = n(null), F = n(), B = n(null), L = n(null), U = n(null), ee = 8, le = r(() => w.value ? w.value.getBoundingClientRect().height + ee + l.distance : 0), c = n([]), x = n(-1), I = n(""), v = n(l.selected || []), q = () => w.value?.focus(), [d, te, ae] = me({
32
32
  disabled: l.disabled,
33
33
  initialValue: l.defaultOpen
34
34
  });
@@ -43,6 +43,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
43
43
  optionIconType: any;
44
44
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
45
45
  click: () => void;
46
+ copyToClipboard: () => void;
46
47
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
47
48
  placeholder?: string;
48
49
  selectedOption?: unknown;
@@ -88,6 +89,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
88
89
  optionIconType: any;
89
90
  }>>> & {
90
91
  onClick?: () => any;
92
+ onCopyToClipboard?: () => any;
91
93
  }, {
92
94
  label: string;
93
95
  disabled: boolean;
@@ -1,7 +1,7 @@
1
1
  import o from "./AppDropdownTrigger.vue2.js";
2
2
  /* empty css */import p from "../../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../../AppDropdownTrigger.vue_vue_type_style_index_0_scoped_71c3ab74_lang.css"; //*');
4
- const s = /* @__PURE__ */ p(o, [["__scopeId", "data-v-71c3ab74"]]);
3
+ // import "../../../AppDropdownTrigger.vue_vue_type_style_index_0_scoped_39c47ad1_lang.css"; //*');
4
+ const s = /* @__PURE__ */ p(o, [["__scopeId", "data-v-39c47ad1"]]);
5
5
  export {
6
6
  s as default
7
7
  };
@@ -1,4 +1,4 @@
1
- import "../../../AppDropdownTrigger.vue_vue_type_style_index_0_scoped_71c3ab74_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";
1
+ import "../../../AppDropdownTrigger.vue_vue_type_style_index_0_scoped_39c47ad1_lang.css"; import { defineComponent as V, computed as p, openBlock as o, createElementBlock as n, normalizeClass as B, createElementVNode as a, mergeProps as O, unref as l, renderSlot as T, createCommentVNode as i, createVNode as s, withCtx as v, toDisplayString as $ } from "vue";
2
2
  import r from "../../icon/v4/IconV4.vue.js";
3
3
  import x from "../../typography/v4/Typography.vue.js";
4
4
  import { DropdownTestIdModifiers as u } from "../../../testids/index.js";
@@ -38,13 +38,13 @@ const S = { class: "app-trigger--content" }, D = {
38
38
  optionIconKey: { default: null },
39
39
  optionIconType: { default: null }
40
40
  },
41
- emits: ["click"],
42
- setup(t, { emit: T }) {
41
+ emits: ["click", "copyToClipboard"],
42
+ setup(t, { emit: y }) {
43
43
  const e = t, { copy: k, copied: C } = w({}), I = p(
44
44
  () => e.feedbackVariant ? `state-${e.feedbackVariant}` : ""
45
45
  ), b = () => {
46
- T("click");
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(() => {
46
+ y("click");
47
+ }, f = K(e.testId, u), m = "All apps selected", g = p(() => e.multi ? !Array.isArray(e.selectedOption) || !e.selectedOption?.length ? e.placeholder : e.options?.length === e.selectedOption.length ? `${m} (${e.selectedOption.length})` : e.selectedOption?.length === 1 && e.displayValue ? e.displayValue(e.selectedOption[0]) : `${e.selectedOption.length} selected` : e.selectedOption ? e.displayValue(e.selectedOption) : e.placeholder), d = p(() => {
48
48
  if (!e.selectedOption)
49
49
  return null;
50
50
  if (!e.multi)
@@ -52,26 +52,26 @@ const S = { class: "app-trigger--content" }, D = {
52
52
  if (Array.isArray(e.selectedOption))
53
53
  return e.selectedOption.length === 1 ? e.selectedOption[0] : null;
54
54
  }), A = async () => {
55
- await k(e.valueToCopy), C.value && z({
55
+ await k(e.valueToCopy), C.value && (z({
56
56
  title: "Copied successfully",
57
57
  type: "success",
58
58
  duration: 2e3
59
- });
59
+ }), y("copyToClipboard"));
60
60
  };
61
- return (c, g) => (o(), n("div", {
61
+ return (c, h) => (o(), n("div", {
62
62
  class: B(["app-trigger-wrapper", { "with-copy": !!t.valueToCopy }])
63
63
  }, [
64
- a("div", h({
64
+ a("div", O({
65
65
  class: ["app-trigger", [t.size, l(I), { open: t.open, disabled: t.disabled }]],
66
66
  style: {
67
67
  paddingLeft: c.$slots.image || l(d) && t.optionImageKey ? "8px" : "12px"
68
68
  }
69
- }, l(y)[l(u).BUTTON_WRAPPER], {
70
- onClick: g[0] || (g[0] = (q) => b())
69
+ }, l(f)[l(u).BUTTON_WRAPPER], {
70
+ onClick: h[0] || (h[0] = (q) => b())
71
71
  }), [
72
72
  a("div", S, [
73
73
  c.$slots.image || l(d) && t.optionImageKey ? (o(), n("div", D, [
74
- O(c.$slots, "image", {}, () => [
74
+ T(c.$slots, "image", {}, () => [
75
75
  t.optionImageKey ? (o(), n("img", {
76
76
  key: 0,
77
77
  src: l(d)[t.optionImageKey]
@@ -79,7 +79,7 @@ const S = { class: "app-trigger--content" }, D = {
79
79
  ], !0)
80
80
  ])) : i("", !0),
81
81
  c.$slots["icon-start"] || l(d) && t.optionIconKey ? (o(), n("div", P, [
82
- O(c.$slots, "icon-start", {}, () => [
82
+ T(c.$slots, "icon-start", {}, () => [
83
83
  s(l(r), {
84
84
  type: t.optionIconType,
85
85
  name: l(d)[t.optionIconKey],
@@ -87,10 +87,10 @@ const S = { class: "app-trigger--content" }, D = {
87
87
  }, null, 8, ["type", "name"])
88
88
  ], !0)
89
89
  ])) : i("", !0),
90
- s(l(x), h({ variant: "button" }, l(y)[l(u).BUTTON_CONTENT], { class: "displayed-value" }), {
90
+ s(l(x), O({ variant: "button" }, l(f)[l(u).BUTTON_CONTENT], { class: "displayed-value" }), {
91
91
  default: v(() => [
92
92
  a("div", R, [
93
- l(m) === f ? (o(), n("span", U, [
93
+ l(g) === m ? (o(), n("span", U, [
94
94
  s(l(r), {
95
95
  name: "cube",
96
96
  size: "20px",
@@ -98,7 +98,7 @@ const S = { class: "app-trigger--content" }, D = {
98
98
  })
99
99
  ])) : i("", !0),
100
100
  a("div", L, [
101
- a("div", M, $(l(m)), 1),
101
+ a("div", M, $(l(g)), 1),
102
102
  t.mandatory && (Array.isArray(t.selectedOption) ? !t.selectedOption.length : !t.selectedOption) ? (o(), n("span", W, "*")) : i("", !0)
103
103
  ])
104
104
  ])
@@ -105,6 +105,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
105
105
  apply: (value: unknown) => void;
106
106
  selectAll: () => void;
107
107
  clear: () => void;
108
+ copyToClipboard: () => void;
108
109
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
109
110
  modelValue?: unknown;
110
111
  selected?: unknown;
@@ -201,6 +202,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
201
202
  optionsListWidth: any;
202
203
  statusType: any;
203
204
  }>>> & {
205
+ onCopyToClipboard?: () => any;
204
206
  onClear?: () => any;
205
207
  onApply?: (value: unknown) => any;
206
208
  onSelectAll?: () => any;
@@ -1,8 +1,8 @@
1
1
  import o from "./DropdownV4.vue2.js";
2
2
  /* empty css *//* empty css */import _ from "../../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../../DropdownV4.vue_vue_type_style_index_0_scoped_77f8bdb6_lang.css"; //*');
3
+ // import "../../../DropdownV4.vue_vue_type_style_index_0_scoped_0363db63_lang.css"; //*');
4
4
  // import "../../../DropdownV4.vue_vue_type_style_index_1_lang.css"; //');
5
- const r = /* @__PURE__ */ _(o, [["__scopeId", "data-v-77f8bdb6"]]);
5
+ const r = /* @__PURE__ */ _(o, [["__scopeId", "data-v-0363db63"]]);
6
6
  export {
7
7
  r as default
8
8
  };
@@ -1,16 +1,16 @@
1
- import "../../../DropdownV4.vue_vue_type_style_index_0_scoped_77f8bdb6_lang.css"; import "../../../DropdownV4.vue_vue_type_style_index_1_lang.css"; import { defineComponent as se, computed as V, openBlock as o, createElementBlock as n, mergeProps as u, unref as e, renderSlot as w, createElementVNode as y, createVNode as a, withCtx as c, Transition as ue, normalizeClass as A, normalizeStyle as ce, isRef as fe, createCommentVNode as r, createTextVNode as g, toDisplayString as me, withModifiers as x, Fragment as ye, renderList as pe, toRaw as b, createBlock as $, resolveDynamicComponent as ge } from "vue";
1
+ import "../../../DropdownV4.vue_vue_type_style_index_0_scoped_0363db63_lang.css"; import "../../../DropdownV4.vue_vue_type_style_index_1_lang.css"; import { defineComponent as se, computed as x, openBlock as i, createElementBlock as n, mergeProps as u, unref as e, renderSlot as w, createElementVNode as y, createVNode as a, withCtx as c, Transition as ue, normalizeClass as A, normalizeStyle as ce, isRef as fe, createCommentVNode as r, createTextVNode as g, toDisplayString as me, withModifiers as $, Fragment as ye, renderList as pe, toRaw as k, createBlock as H, resolveDynamicComponent as ge } from "vue";
2
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 ke from "./DefaultDropdownTrigger.vue.js";
6
- import Te from "./IconButtonDropdownTrigger.vue.js";
7
- import be from "./ChipDropdownTrigger.vue.js";
5
+ import Te from "./DefaultDropdownTrigger.vue.js";
6
+ import be from "./IconButtonDropdownTrigger.vue.js";
7
+ import ke from "./ChipDropdownTrigger.vue.js";
8
8
  import he from "./AppDropdownTrigger.vue.js";
9
9
  import "./ButtonDropdownTrigger.vue.js";
10
10
  import "./ButtonFilterDropdownTrigger.vue.js";
11
- import H from "./OptionV4.vue.js";
11
+ import U from "./OptionV4.vue.js";
12
12
  import Ie from "../../search/v4/SearchV4.vue.js";
13
- import U from "../../typography/v4/Typography.vue.js";
13
+ import W from "../../typography/v4/Typography.vue.js";
14
14
  import { Dropdown as ve } from "floating-vue";
15
15
  import { DropdownTestIdModifiers as f } from "../../../testids/index.js";
16
16
  import { dropdownCommon as we } from "../common/Dropdown.common.js";
@@ -83,9 +83,9 @@ const Oe = ["tabindex"], Ee = { style: { width: "100%" } }, Be = { key: 0 }, Ne
83
83
  optionsListWidth: { default: null },
84
84
  statusType: { default: null }
85
85
  },
86
- emits: ["update:selected", "update:isOpen", "closed", "opened", "apply", "selectAll", "clear"],
87
- setup(t, { expose: W, emit: M }) {
88
- const d = t, O = {
86
+ emits: ["update:selected", "update:isOpen", "closed", "opened", "apply", "selectAll", "clear", "copyToClipboard"],
87
+ setup(t, { expose: M, emit: O }) {
88
+ const d = t, E = {
89
89
  MULTILINE_LIST_HEIGHT: 48,
90
90
  LIST_HEIGHT: 32 + 4,
91
91
  MAX_NUMBER_OF_OPTIONS: 7.5,
@@ -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: k,
96
+ onKeydown: T,
97
97
  open: s,
98
98
  toggleMenu: h,
99
99
  onButtonKeydown: G,
@@ -102,40 +102,40 @@ const Oe = ["tabindex"], Ee = { style: { width: "100%" } }, Be = { key: 0 }, Ne
102
102
  calculateTableHeight: q,
103
103
  wrapperProps: Y,
104
104
  filteredOptions: j,
105
- allSelected: E,
105
+ allSelected: B,
106
106
  isIndeterminate: J,
107
107
  onSelectAll: Q,
108
- virtualOptions: B,
108
+ virtualOptions: N,
109
109
  isSelected: S,
110
- selectedOption: T,
111
- selectedOptionPrevious: N,
110
+ selectedOption: b,
111
+ selectedOptionPrevious: K,
112
112
  selectedValue: Z,
113
- onSelect: K,
114
- activeIndex: D,
113
+ onSelect: D,
114
+ activeIndex: P,
115
115
  onCancel: _,
116
116
  onApply: ee,
117
117
  scrollTo: te,
118
118
  listRef: le,
119
- buttonRef: P,
120
- apply: ie,
121
- cancel: oe,
119
+ buttonRef: R,
120
+ apply: oe,
121
+ cancel: ie,
122
122
  el: ne,
123
- onClearAllSelections: R,
123
+ onClearAllSelections: F,
124
124
  clearAll: ae
125
- } = we(d, M, O), m = Se(d.testId, f), F = V(() => !d.predefinedTrigger || d.predefinedTrigger === p.DEFAULT ? ke : d.predefinedTrigger === p.APP ? he : null), { width: z } = Ae(P), de = V(() => d.optionsListWidth ? d.optionsListWidth : !d.predefinedTrigger || d.predefinedTrigger === p.DEFAULT || d.predefinedTrigger === p.APP ? z.value - 2 > 240 ? `${z.value - 2}px` : `${O.DROPLIST_MIN_WIDTH}px` : "auto"), re = () => {
125
+ } = we(d, O, E), m = Se(d.testId, f), z = x(() => !d.predefinedTrigger || d.predefinedTrigger === p.DEFAULT ? Te : d.predefinedTrigger === p.APP ? he : null), { width: V } = Ae(R), de = x(() => d.optionsListWidth ? d.optionsListWidth : !d.predefinedTrigger || d.predefinedTrigger === p.DEFAULT || d.predefinedTrigger === p.APP ? V.value - 2 > 240 ? `${V.value - 2}px` : `${E.DROPLIST_MIN_WIDTH}px` : "auto"), re = () => {
126
126
  h();
127
127
  };
128
- return W({
129
- selectItem: K,
128
+ return M({
129
+ selectItem: D,
130
130
  scrollTo: te
131
- }), (I, i) => (o(), n("div", u({
131
+ }), (I, o) => (i(), n("div", u({
132
132
  ref_key: "el",
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
136
  }, e(m)[e(f).WRAPPER], {
137
- onKeydown: i[7] || (i[7] = //@ts-ignore
138
- (...l) => e(k) && e(k)(...l))
137
+ onKeydown: o[8] || (o[8] = //@ts-ignore
138
+ (...l) => e(T) && e(T)(...l))
139
139
  }), [
140
140
  w(I.$slots, "label", {}, void 0, !0),
141
141
  y("div", Ee, [
@@ -160,7 +160,7 @@ const Oe = ["tabindex"], Ee = { style: { width: "100%" } }, Be = { key: 0 }, Ne
160
160
  popper: c(() => [
161
161
  a(ue, null, {
162
162
  default: c(() => [
163
- e(s) ? (o(), n("div", {
163
+ e(s) ? (i(), n("div", {
164
164
  key: 0,
165
165
  ref_key: "listRef",
166
166
  ref: le,
@@ -170,17 +170,17 @@ const Oe = ["tabindex"], Ee = { style: { width: "100%" } }, Be = { key: 0 }, Ne
170
170
  }]),
171
171
  style: ce({ width: e(de) })
172
172
  }, [
173
- e(s) ? (o(), n("div", {
173
+ e(s) ? (i(), n("div", {
174
174
  key: 0,
175
175
  class: A(["dropdown-list-wrapper", { "dropdown-list-wrapper--multi": t.multi }]),
176
- onKeydown: i[6] || (i[6] = //@ts-ignore
177
- (...l) => e(k) && e(k)(...l))
176
+ onKeydown: o[7] || (o[7] = //@ts-ignore
177
+ (...l) => e(T) && e(T)(...l))
178
178
  }, [
179
- e(s) && t.inlineSearch ? (o(), n("div", De, [
179
+ e(s) && t.inlineSearch ? (i(), n("div", De, [
180
180
  a(e(Ie), {
181
181
  modelValue: e(C),
182
182
  "onUpdate:modelValue": [
183
- i[3] || (i[3] = (l) => fe(C) ? C.value = l : null),
183
+ o[4] || (o[4] = (l) => fe(C) ? C.value = l : null),
184
184
  t.onClear
185
185
  ],
186
186
  placeholder: t.inlineSearchPlaceholder,
@@ -188,7 +188,7 @@ 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(k)
191
+ onKeydown: e(T)
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),
@@ -203,35 +203,35 @@ const Oe = ["tabindex"], Ee = { style: { width: "100%" } }, Be = { key: 0 }, Ne
203
203
  role: "listbox",
204
204
  class: ["list", { "list--multi": t.multi }]
205
205
  }), [
206
- !e(j).length && !t.loading ? (o(), n("li", Pe, [
207
- a(e(U), u({ variant: "body2" }, e(m)[e(f).NO_RESULT]), {
206
+ !e(j).length && !t.loading ? (i(), n("li", Pe, [
207
+ a(e(W), u({ variant: "body2" }, e(m)[e(f).NO_RESULT]), {
208
208
  default: c(() => [
209
209
  g(me(t.noResultsText), 1)
210
210
  ]),
211
211
  _: 1
212
212
  }, 16)
213
213
  ])) : r("", !0),
214
- t.loading ? (o(), n("li", Re, [
214
+ t.loading ? (i(), n("li", Re, [
215
215
  a(e(Ce)),
216
- a(e(U), null, {
216
+ a(e(W), null, {
217
217
  default: c(() => [
218
218
  g("Loading...")
219
219
  ]),
220
220
  _: 1
221
221
  })
222
222
  ])) : r("", !0),
223
- t.showSelectAll !== !1 && t.multi ? (o(), n("li", Fe, [
224
- a(e(H), u(
223
+ t.showSelectAll !== !1 && t.multi ? (i(), n("li", Fe, [
224
+ a(e(U), u(
225
225
  {
226
- "aria-selected": e(E),
226
+ "aria-selected": e(B),
227
227
  "aria-disabled": !!t.disabled,
228
- "selected-prop": e(E),
228
+ "selected-prop": e(B),
229
229
  "is-indeterminate": e(J),
230
230
  "select-all-option": ""
231
231
  },
232
232
  e(m)[e(f).SELECT_ALL],
233
233
  {
234
- onClick: i[4] || (i[4] = x((l) => e(Q)(), ["stop"]))
234
+ onClick: o[5] || (o[5] = $((l) => e(Q)(), ["stop"]))
235
235
  }
236
236
  ), {
237
237
  default: c(() => [
@@ -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(B).length && !t.loading ? (o(!0), n(ye, { key: 3 }, pe(e(B), ({ data: l, index: v }) => (o(), n("li", {
243
+ e(N).length && !t.loading ? (i(!0), n(ye, { key: 3 }, pe(e(N), ({ data: l, index: v }) => (i(), n("li", {
244
244
  key: v,
245
- "aria-selected": e(S)(b(e(T)), l),
245
+ "aria-selected": e(S)(k(e(b)), l),
246
246
  "aria-disabled": !!t.disabled,
247
- onClick: x(() => e(K)(l, v), ["stop"])
247
+ onClick: $(() => e(D)(l, v), ["stop"])
248
248
  }, [
249
249
  w(I.$slots, "default", {
250
250
  option: l,
251
- selected: e(S)(b(e(T)), l),
252
- active: b(e(D)) === v,
251
+ selected: e(S)(k(e(b)), l),
252
+ active: k(e(P)) === v,
253
253
  disabled: l[d.disabledOptionKey]
254
254
  }, () => [
255
- a(e(H), {
255
+ a(e(U), {
256
256
  option: l,
257
- selected: e(S)(b(e(T)), l),
258
- active: b(e(D)) === v,
257
+ selected: e(S)(k(e(b)), l),
258
+ active: k(e(P)) === v,
259
259
  disabled: l[d.disabledOptionKey],
260
260
  "name-key": t.optionNameKey,
261
261
  "image-key": t.optionImageKey,
@@ -268,7 +268,7 @@ const Oe = ["tabindex"], Ee = { style: { width: "100%" } }, Be = { key: 0 }, Ne
268
268
  ], 8, ze))), 128)) : r("", !0)
269
269
  ], 16)
270
270
  ], 16),
271
- t.multi ? (o(), n("div", Ve, [
271
+ t.multi ? (i(), n("div", Ve, [
272
272
  y("div", xe, [
273
273
  a(e(L), u(
274
274
  {
@@ -280,7 +280,7 @@ const Oe = ["tabindex"], Ee = { style: { width: "100%" } }, Be = { key: 0 }, Ne
280
280
  },
281
281
  e(m)[e(f).ACTION_CLEAR_ALL],
282
282
  {
283
- onClick: i[5] || (i[5] = () => e(R)(!1))
283
+ onClick: o[6] || (o[6] = () => e(F)(!1))
284
284
  }
285
285
  ), {
286
286
  default: c(() => [
@@ -293,7 +293,7 @@ const Oe = ["tabindex"], Ee = { style: { width: "100%" } }, Be = { key: 0 }, Ne
293
293
  a(e(L), u(
294
294
  {
295
295
  ref_key: "cancel",
296
- ref: oe,
296
+ ref: ie,
297
297
  size: "small",
298
298
  variant: "outlined",
299
299
  color: "primary"
@@ -308,7 +308,7 @@ const Oe = ["tabindex"], Ee = { style: { width: "100%" } }, Be = { key: 0 }, Ne
308
308
  }, 16, ["onClick"]),
309
309
  a(e(L), u({
310
310
  ref_key: "apply",
311
- ref: ie,
311
+ ref: oe,
312
312
  "data-testid": "mutli-apply",
313
313
  size: "small",
314
314
  class: "apply-button"
@@ -344,10 +344,10 @@ const Oe = ["tabindex"], Ee = { style: { width: "100%" } }, Be = { key: 0 }, Ne
344
344
  }, () => [
345
345
  y("div", {
346
346
  ref_key: "buttonRef",
347
- ref: P
347
+ ref: R
348
348
  }, [
349
- e(F) ? (o(), n("div", Be, [
350
- (o(), $(ge(e(F)), {
349
+ e(z) ? (i(), n("div", Be, [
350
+ (i(), H(ge(e(z)), {
351
351
  placeholder: t.placeholder,
352
352
  open: e(s),
353
353
  label: t.triggerLabel,
@@ -356,7 +356,7 @@ 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(N) : e(T),
359
+ "selected-option": t.multi ? e(K) : e(b),
360
360
  "display-value": t.displayValue,
361
361
  options: t.options,
362
362
  "option-name-key": t.optionNameKey,
@@ -368,25 +368,26 @@ const Oe = ["tabindex"], Ee = { style: { width: "100%" } }, Be = { key: 0 }, Ne
368
368
  "status-dot-type": t.statusType,
369
369
  size: t.size,
370
370
  onKeydown: e(G),
371
- onClick: re
371
+ onClick: re,
372
+ onCopyToClipboard: o[0] || (o[0] = (l) => O("copyToClipboard"))
372
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"]))
373
374
  ])) : r("", !0),
374
- t.predefinedTrigger === e(p).ICON_BUTTON ? (o(), n("div", Ne, [
375
- a(e(Te), {
376
- onClick: i[0] || (i[0] = (l) => e(h)())
375
+ t.predefinedTrigger === e(p).ICON_BUTTON ? (i(), n("div", Ne, [
376
+ a(e(be), {
377
+ onClick: o[1] || (o[1] = (l) => e(h)())
377
378
  })
378
379
  ])) : r("", !0),
379
- t.predefinedTrigger === e(p).CHIP ? (o(), n("div", Ke, [
380
- a(e(be), {
380
+ t.predefinedTrigger === e(p).CHIP ? (i(), n("div", Ke, [
381
+ a(e(ke), {
381
382
  open: e(s),
382
383
  label: t.placeholder,
383
384
  "test-id": t.testId,
384
385
  options: t.options,
385
- "selected-option": t.multi ? e(N) : e(T),
386
+ "selected-option": t.multi ? e(K) : e(b),
386
387
  "display-value": t.displayValue,
387
388
  multi: t.multi,
388
- onClick: i[1] || (i[1] = (l) => e(h)()),
389
- onClear: i[2] || (i[2] = (l) => e(R)())
389
+ onClick: o[2] || (o[2] = (l) => e(h)()),
390
+ onClear: o[3] || (o[3] = (l) => e(F)())
390
391
  }, null, 8, ["open", "label", "test-id", "options", "selected-option", "display-value", "multi"])
391
392
  ])) : r("", !0)
392
393
  ], 512)
@@ -395,7 +396,7 @@ const Oe = ["tabindex"], Ee = { style: { width: "100%" } }, Be = { key: 0 }, Ne
395
396
  ]),
396
397
  _: 3
397
398
  }, 16, ["theme", "popper-class", "placement", "skidding", "distance", "flip", "shown", "container", "auto-size"]),
398
- t.triggerFeedbackText ? (o(), $(Le, {
399
+ t.triggerFeedbackText ? (i(), H(Le, {
399
400
  key: 0,
400
401
  text: t.triggerFeedbackText,
401
402
  variant: t.triggerFeedbackVariant,
@@ -637,6 +637,7 @@ declare const DropdownTypes: () => (({
637
637
  };
638
638
  }>> & {
639
639
  onClick?: () => any;
640
+ onCopyToClipboard?: () => any;
640
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">;
641
642
  $attrs: {
642
643
  [x: string]: unknown;
@@ -649,7 +650,7 @@ declare const DropdownTypes: () => (({
649
650
  }>;
650
651
  $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
651
652
  $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
652
- $emit: (event: "click") => void;
653
+ $emit: ((event: "click") => void) & ((event: "copyToClipboard") => void);
653
654
  $el: any;
654
655
  $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
655
656
  label: {
@@ -732,8 +733,10 @@ declare const DropdownTypes: () => (({
732
733
  };
733
734
  }>> & {
734
735
  onClick?: () => any;
736
+ onCopyToClipboard?: () => any;
735
737
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
736
738
  click: () => void;
739
+ copyToClipboard: () => void;
737
740
  }, string, {
738
741
  label: string;
739
742
  disabled: boolean;
@@ -854,6 +857,7 @@ declare const DropdownTypes: () => (({
854
857
  };
855
858
  }>> & {
856
859
  onClick?: () => any;
860
+ onCopyToClipboard?: () => any;
857
861
  } & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
858
862
  __isFragment?: never;
859
863
  __isTeleport?: never;
@@ -939,8 +943,10 @@ declare const DropdownTypes: () => (({
939
943
  };
940
944
  }>> & {
941
945
  onClick?: () => any;
946
+ onCopyToClipboard?: () => any;
942
947
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
943
948
  click: () => void;
949
+ copyToClipboard: () => void;
944
950
  }, string, {
945
951
  label: string;
946
952
  disabled: boolean;
@@ -1632,6 +1638,7 @@ declare const DropdownTypes: () => (({
1632
1638
  default: any;
1633
1639
  };
1634
1640
  }>> & {
1641
+ onCopyToClipboard?: () => any;
1635
1642
  onClear?: () => any;
1636
1643
  onApply?: (value: unknown) => any;
1637
1644
  onSelectAll?: () => any;
@@ -1651,7 +1658,7 @@ declare const DropdownTypes: () => (({
1651
1658
  }>;
1652
1659
  $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
1653
1660
  $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
1654
- $emit: ((event: "clear") => void) & ((event: "apply", value: unknown) => void) & ((event: "update:selected", value: unknown) => void) & ((event: "update:isOpen", value: unknown) => void) & ((event: "selectAll") => void) & ((event: "opened") => void) & ((event: "closed") => void);
1661
+ $emit: ((event: "clear") => void) & ((event: "copyToClipboard") => void) & ((event: "apply", value: unknown) => void) & ((event: "update:selected", value: unknown) => void) & ((event: "update:isOpen", value: unknown) => void) & ((event: "selectAll") => void) & ((event: "opened") => void) & ((event: "closed") => void);
1655
1662
  $el: any;
1656
1663
  $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
1657
1664
  theme: {
@@ -1845,6 +1852,7 @@ declare const DropdownTypes: () => (({
1845
1852
  default: any;
1846
1853
  };
1847
1854
  }>> & {
1855
+ onCopyToClipboard?: () => any;
1848
1856
  onClear?: () => any;
1849
1857
  onApply?: (value: unknown) => any;
1850
1858
  onSelectAll?: () => any;
@@ -1863,6 +1871,7 @@ declare const DropdownTypes: () => (({
1863
1871
  apply: (value: unknown) => void;
1864
1872
  selectAll: () => void;
1865
1873
  clear: () => void;
1874
+ copyToClipboard: () => void;
1866
1875
  }, string, {
1867
1876
  theme: string;
1868
1877
  disabled: boolean;
@@ -2120,6 +2129,7 @@ declare const DropdownTypes: () => (({
2120
2129
  default: any;
2121
2130
  };
2122
2131
  }>> & {
2132
+ onCopyToClipboard?: () => any;
2123
2133
  onClear?: () => any;
2124
2134
  onApply?: (value: unknown) => any;
2125
2135
  onSelectAll?: () => any;
@@ -2326,6 +2336,7 @@ declare const DropdownTypes: () => (({
2326
2336
  default: any;
2327
2337
  };
2328
2338
  }>> & {
2339
+ onCopyToClipboard?: () => any;
2329
2340
  onClear?: () => any;
2330
2341
  onApply?: (value: unknown) => any;
2331
2342
  onSelectAll?: () => any;
@@ -2344,6 +2355,7 @@ declare const DropdownTypes: () => (({
2344
2355
  apply: (value: unknown) => void;
2345
2356
  selectAll: () => void;
2346
2357
  clear: () => void;
2358
+ copyToClipboard: () => void;
2347
2359
  }, string, {
2348
2360
  theme: string;
2349
2361
  disabled: boolean;
package/index.d.ts CHANGED
@@ -261,7 +261,9 @@ declare const _default: {
261
261
  type: import("vue").PropType<boolean>;
262
262
  default: boolean;
263
263
  };
264
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
264
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
265
+ copyToClipboard: () => void;
266
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
265
267
  name: {
266
268
  type: import("vue").PropType<string>;
267
269
  required: true;
@@ -295,7 +297,9 @@ declare const _default: {
295
297
  type: import("vue").PropType<boolean>;
296
298
  default: boolean;
297
299
  };
298
- }>>, {
300
+ }>> & {
301
+ onCopyToClipboard?: () => any;
302
+ }, {
299
303
  name: string;
300
304
  type: "small" | "normal";
301
305
  image: string;
@@ -338,7 +342,9 @@ declare const _default: {
338
342
  type: import("vue").PropType<boolean>;
339
343
  default: boolean;
340
344
  };
341
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
345
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
346
+ copyToClipboard: () => void;
347
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
342
348
  name: {
343
349
  type: import("vue").PropType<string>;
344
350
  required: true;
@@ -372,7 +378,9 @@ declare const _default: {
372
378
  type: import("vue").PropType<boolean>;
373
379
  default: boolean;
374
380
  };
375
- }>>, {
381
+ }>> & {
382
+ onCopyToClipboard?: () => any;
383
+ }, {
376
384
  name: string;
377
385
  type: "small" | "normal";
378
386
  image: string;
@@ -11905,6 +11913,7 @@ declare const _default: {
11905
11913
  default: any;
11906
11914
  };
11907
11915
  }>> & {
11916
+ onCopyToClipboard?: () => any;
11908
11917
  onClear?: () => any;
11909
11918
  onApply?: (value: unknown) => any;
11910
11919
  onSelectAll?: () => any;
@@ -11924,7 +11933,7 @@ declare const _default: {
11924
11933
  }>;
11925
11934
  $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
11926
11935
  $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
11927
- $emit: ((event: "clear") => void) & ((event: "apply", value: unknown) => void) & ((event: "update:selected", value: unknown) => void) & ((event: "update:isOpen", value: unknown) => void) & ((event: "selectAll") => void) & ((event: "opened") => void) & ((event: "closed") => void);
11936
+ $emit: ((event: "clear") => void) & ((event: "copyToClipboard") => void) & ((event: "apply", value: unknown) => void) & ((event: "update:selected", value: unknown) => void) & ((event: "update:isOpen", value: unknown) => void) & ((event: "selectAll") => void) & ((event: "opened") => void) & ((event: "closed") => void);
11928
11937
  $el: any;
11929
11938
  $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
11930
11939
  theme: {
@@ -12118,6 +12127,7 @@ declare const _default: {
12118
12127
  default: any;
12119
12128
  };
12120
12129
  }>> & {
12130
+ onCopyToClipboard?: () => any;
12121
12131
  onClear?: () => any;
12122
12132
  onApply?: (value: unknown) => any;
12123
12133
  onSelectAll?: () => any;
@@ -12136,6 +12146,7 @@ declare const _default: {
12136
12146
  apply: (value: unknown) => void;
12137
12147
  selectAll: () => void;
12138
12148
  clear: () => void;
12149
+ copyToClipboard: () => void;
12139
12150
  }, string, {
12140
12151
  theme: string;
12141
12152
  disabled: boolean;
@@ -12393,6 +12404,7 @@ declare const _default: {
12393
12404
  default: any;
12394
12405
  };
12395
12406
  }>> & {
12407
+ onCopyToClipboard?: () => any;
12396
12408
  onClear?: () => any;
12397
12409
  onApply?: (value: unknown) => any;
12398
12410
  onSelectAll?: () => any;
@@ -12599,6 +12611,7 @@ declare const _default: {
12599
12611
  default: any;
12600
12612
  };
12601
12613
  }>> & {
12614
+ onCopyToClipboard?: () => any;
12602
12615
  onClear?: () => any;
12603
12616
  onApply?: (value: unknown) => any;
12604
12617
  onSelectAll?: () => any;
@@ -12617,6 +12630,7 @@ declare const _default: {
12617
12630
  apply: (value: unknown) => void;
12618
12631
  selectAll: () => void;
12619
12632
  clear: () => void;
12633
+ copyToClipboard: () => void;
12620
12634
  }, string, {
12621
12635
  theme: string;
12622
12636
  disabled: boolean;
@@ -13596,6 +13610,7 @@ declare const _default: {
13596
13610
  };
13597
13611
  }>> & {
13598
13612
  onClick?: () => any;
13613
+ onCopyToClipboard?: () => any;
13599
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">;
13600
13615
  $attrs: {
13601
13616
  [x: string]: unknown;
@@ -13608,7 +13623,7 @@ declare const _default: {
13608
13623
  }>;
13609
13624
  $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
13610
13625
  $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
13611
- $emit: (event: "click") => void;
13626
+ $emit: ((event: "click") => void) & ((event: "copyToClipboard") => void);
13612
13627
  $el: any;
13613
13628
  $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
13614
13629
  label: {
@@ -13691,8 +13706,10 @@ declare const _default: {
13691
13706
  };
13692
13707
  }>> & {
13693
13708
  onClick?: () => any;
13709
+ onCopyToClipboard?: () => any;
13694
13710
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
13695
13711
  click: () => void;
13712
+ copyToClipboard: () => void;
13696
13713
  }, string, {
13697
13714
  label: string;
13698
13715
  disabled: boolean;
@@ -13813,6 +13830,7 @@ declare const _default: {
13813
13830
  };
13814
13831
  }>> & {
13815
13832
  onClick?: () => any;
13833
+ onCopyToClipboard?: () => any;
13816
13834
  } & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
13817
13835
  __isFragment?: never;
13818
13836
  __isTeleport?: never;
@@ -13898,8 +13916,10 @@ declare const _default: {
13898
13916
  };
13899
13917
  }>> & {
13900
13918
  onClick?: () => any;
13919
+ onCopyToClipboard?: () => any;
13901
13920
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
13902
13921
  click: () => void;
13922
+ copyToClipboard: () => void;
13903
13923
  }, string, {
13904
13924
  label: string;
13905
13925
  disabled: boolean;
@@ -14556,6 +14576,7 @@ declare const _default: {
14556
14576
  };
14557
14577
  }>> & {
14558
14578
  onClick?: () => any;
14579
+ onCopyToClipboard?: () => any;
14559
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">;
14560
14581
  $attrs: {
14561
14582
  [x: string]: unknown;
@@ -14568,7 +14589,7 @@ declare const _default: {
14568
14589
  }>;
14569
14590
  $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
14570
14591
  $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
14571
- $emit: (event: "click") => void;
14592
+ $emit: ((event: "click") => void) & ((event: "copyToClipboard") => void);
14572
14593
  $el: any;
14573
14594
  $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
14574
14595
  label: {
@@ -14651,8 +14672,10 @@ declare const _default: {
14651
14672
  };
14652
14673
  }>> & {
14653
14674
  onClick?: () => any;
14675
+ onCopyToClipboard?: () => any;
14654
14676
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
14655
14677
  click: () => void;
14678
+ copyToClipboard: () => void;
14656
14679
  }, string, {
14657
14680
  label: string;
14658
14681
  disabled: boolean;
@@ -14773,6 +14796,7 @@ declare const _default: {
14773
14796
  };
14774
14797
  }>> & {
14775
14798
  onClick?: () => any;
14799
+ onCopyToClipboard?: () => any;
14776
14800
  } & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
14777
14801
  __isFragment?: never;
14778
14802
  __isTeleport?: never;
@@ -14858,8 +14882,10 @@ declare const _default: {
14858
14882
  };
14859
14883
  }>> & {
14860
14884
  onClick?: () => any;
14885
+ onCopyToClipboard?: () => any;
14861
14886
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
14862
14887
  click: () => void;
14888
+ copyToClipboard: () => void;
14863
14889
  }, string, {
14864
14890
  label: string;
14865
14891
  disabled: boolean;
@@ -15551,6 +15577,7 @@ declare const _default: {
15551
15577
  default: any;
15552
15578
  };
15553
15579
  }>> & {
15580
+ onCopyToClipboard?: () => any;
15554
15581
  onClear?: () => any;
15555
15582
  onApply?: (value: unknown) => any;
15556
15583
  onSelectAll?: () => any;
@@ -15570,7 +15597,7 @@ declare const _default: {
15570
15597
  }>;
15571
15598
  $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
15572
15599
  $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
15573
- $emit: ((event: "clear") => void) & ((event: "apply", value: unknown) => void) & ((event: "update:selected", value: unknown) => void) & ((event: "update:isOpen", value: unknown) => void) & ((event: "selectAll") => void) & ((event: "opened") => void) & ((event: "closed") => void);
15600
+ $emit: ((event: "clear") => void) & ((event: "copyToClipboard") => void) & ((event: "apply", value: unknown) => void) & ((event: "update:selected", value: unknown) => void) & ((event: "update:isOpen", value: unknown) => void) & ((event: "selectAll") => void) & ((event: "opened") => void) & ((event: "closed") => void);
15574
15601
  $el: any;
15575
15602
  $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
15576
15603
  theme: {
@@ -15764,6 +15791,7 @@ declare const _default: {
15764
15791
  default: any;
15765
15792
  };
15766
15793
  }>> & {
15794
+ onCopyToClipboard?: () => any;
15767
15795
  onClear?: () => any;
15768
15796
  onApply?: (value: unknown) => any;
15769
15797
  onSelectAll?: () => any;
@@ -15782,6 +15810,7 @@ declare const _default: {
15782
15810
  apply: (value: unknown) => void;
15783
15811
  selectAll: () => void;
15784
15812
  clear: () => void;
15813
+ copyToClipboard: () => void;
15785
15814
  }, string, {
15786
15815
  theme: string;
15787
15816
  disabled: boolean;
@@ -16039,6 +16068,7 @@ declare const _default: {
16039
16068
  default: any;
16040
16069
  };
16041
16070
  }>> & {
16071
+ onCopyToClipboard?: () => any;
16042
16072
  onClear?: () => any;
16043
16073
  onApply?: (value: unknown) => any;
16044
16074
  onSelectAll?: () => any;
@@ -16245,6 +16275,7 @@ declare const _default: {
16245
16275
  default: any;
16246
16276
  };
16247
16277
  }>> & {
16278
+ onCopyToClipboard?: () => any;
16248
16279
  onClear?: () => any;
16249
16280
  onApply?: (value: unknown) => any;
16250
16281
  onSelectAll?: () => any;
@@ -16263,6 +16294,7 @@ declare const _default: {
16263
16294
  apply: (value: unknown) => void;
16264
16295
  selectAll: () => void;
16265
16296
  clear: () => void;
16297
+ copyToClipboard: () => void;
16266
16298
  }, string, {
16267
16299
  theme: string;
16268
16300
  disabled: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ironsource/shared-ui",
3
- "version": "2.1.6-rc.19",
3
+ "version": "2.1.6-rc.20",
4
4
  "engines": {
5
5
  "npm": ">=7.0.0",
6
6
  "node": ">=16.0.0"
@@ -1 +0,0 @@
1
- .app-trigger-wrapper[data-v-71c3ab74]{display:flex}.app-trigger-wrapper.with-copy .app-trigger[data-v-71c3ab74]{border-radius:var(--border-radius-lg) 0 0 var(--border-radius-lg);width:calc(100% - 41px)}.app-trigger-key[data-v-71c3ab74]{flex:none}.app-trigger-key--content[data-v-71c3ab74]{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-71c3ab74]:hover{background:var(--action-selected);color:var(--action-primary)}.app-trigger[data-v-71c3ab74]{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-71c3ab74]:hover,.app-trigger.active[data-v-71c3ab74]{background:var(--action-selected)}.app-trigger.disabled[data-v-71c3ab74]{cursor:auto}.app-trigger--content[data-v-71c3ab74]{color:var(--text-primary);display:flex;column-gap:4px;width:calc(100% - 20px);align-items:center}.app-trigger--content .x-circle-wrapper[data-v-71c3ab74]{color:var(--primary-dark)}.app-trigger--content .x-circle-wrapper[data-v-71c3ab74]:hover{color:var(--primary-main)}.app-trigger--icon[data-v-71c3ab74]{display:flex;align-items:center;color:var(--action-active)}.app-trigger .displayed-value[data-v-71c3ab74]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.app-trigger .image[data-v-71c3ab74]{width:28px;height:28px;flex:none}.app-trigger .image img[data-v-71c3ab74]{border-radius:4px;width:100%;height:100%}.app-trigger .start-icon[data-v-71c3ab74]{display:flex;color:var(--action-active)}.app-trigger .label-text[data-v-71c3ab74]{display:flex;align-items:center;gap:8px}.app-trigger .label-text .text-content[data-v-71c3ab74]{display:flex;align-items:center;gap:4px;width:100%}.app-trigger .label-text .text-content .text-content-value[data-v-71c3ab74]{width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.app-trigger .label-text .is-mandatory[data-v-71c3ab74]{padding-top:5px;color:var(--error-main)}
@@ -1 +0,0 @@
1
- .app-header[data-v-c148fc7a]{display:flex}.app-header .image-container[data-v-c148fc7a]{height:3rem;width:3rem;border-radius:.25rem}.app-header .image-container img[data-v-c148fc7a]{min-width:100%;max-width:100%;max-height:100%;object-fit:cover;border-radius:.25rem}.app-header .icon-container[data-v-c148fc7a]{color:var(--action-active);display:flex;align-items:center;padding:0 .5rem}.app-header .name-container .title[data-v-c148fc7a]{color:var(--text-primary)}.app-header .name-container .inline-copy[data-v-c148fc7a]{color:var(--text-secondary)}.app-header.size-small[data-v-c148fc7a]{align-items:center}.app-header.size-small .image-container[data-v-c148fc7a]{height:2rem;width:2rem;border-radius:.375rem}.app-header.size-small .image-container img[data-v-c148fc7a]{border-radius:.375rem}.app-header.size-small .icon-container[data-v-c148fc7a]{padding:0 .25rem}.app-header.size-small .name-container[data-v-c148fc7a]{display:flex;align-items:center}.ab-icon-wrapper[data-v-c148fc7a]{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-c148fc7a]{margin-left:var(--spacing-25);padding-left:var(--spacing-100)}
@@ -1 +0,0 @@
1
- .v-enter-active[data-v-77f8bdb6],.v-leave-active[data-v-77f8bdb6]{transition:opacity .25s ease}ol[data-v-77f8bdb6],ul[data-v-77f8bdb6],menu[data-v-77f8bdb6]{list-style:none;margin:0;padding:0}.dropdown.full-width[data-v-77f8bdb6],.dropdown.full-width .button__container[data-v-77f8bdb6]{width:100%}.dropdown-list-wrapper[data-v-77f8bdb6]{display:flex;flex-direction:column;padding:.5rem .5rem .25rem}.dropdown-list-wrapper--multi[data-v-77f8bdb6]{padding:.5rem}.list-container--multi[data-v-77f8bdb6]{margin-bottom:0}.inline-search .inline-search-wrapper[data-v-77f8bdb6]{padding-bottom:.25rem}.inline-search .list-container[data-v-77f8bdb6]{padding-top:0}.no-result-container[data-v-77f8bdb6]{height:100%;display:flex;align-items:center;padding:.375rem .5rem;color:var(--text-disabled)}.no-result[data-v-77f8bdb6]{color:var(--text-disabled);padding-left:.5rem}.list[data-v-77f8bdb6]{outline:none;display:flex;flex-direction:column;width:100%;min-height:2rem}.list--multi[data-v-77f8bdb6]{margin-bottom:.5rem;border-bottom-left-radius:0;border-bottom-right-radius:0}.image-slot[data-v-77f8bdb6]{margin-right:.5rem}.actions-wrapper[data-v-77f8bdb6]{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-77f8bdb6]{margin-left:.5rem}