@ironsource/shared-ui 2.1.5-rc.2 → 2.1.5-rc.4

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-header[data-v-13fe6311]{display:flex}.app-header .image-container[data-v-13fe6311]{height:3rem;width:3rem;border-radius:.25rem}.app-header .image-container img[data-v-13fe6311]{min-width:100%;max-width:100%;max-height:100%;object-fit:cover;border-radius:.25rem}.app-header .icon-container[data-v-13fe6311]{color:var(--action-active);display:flex;align-items:center;padding:0 .5rem}.app-header .name-container .title[data-v-13fe6311]{color:var(--text-primary)}.app-header .name-container .inline-copy[data-v-13fe6311]{color:var(--text-secondary)}.app-header.size-small[data-v-13fe6311]{align-items:center}.app-header.size-small .image-container[data-v-13fe6311]{height:2rem;width:2rem;border-radius:.375rem}.app-header.size-small .image-container img[data-v-13fe6311]{border-radius:.375rem}.app-header.size-small .icon-container[data-v-13fe6311]{padding:0 .25rem}.app-header.size-small .name-container[data-v-13fe6311]{display:flex;align-items:center}.ab-icon-wrapper[data-v-13fe6311]{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-13fe6311]{margin-left:var(--spacing-25);padding-left:var(--spacing-100)}
@@ -0,0 +1 @@
1
+ .field-label[data-v-72ab1f25]{flex-grow:1;white-space:nowrap;display:flex;align-items:center;color:var(--text-primary);height:var(--spacing-200);margin-bottom:var(--spacing-50);width:100%}.field-label--with-description[data-v-72ab1f25]{margin-bottom:2px}.description[data-v-72ab1f25]{color:var(--text-secondary);display:flex;height:var(--spacing-250);align-items:center;margin-bottom:var(--spacing-50)}.label[data-v-72ab1f25]{color:var(--text-primary);overflow:hidden;text-overflow:ellipsis;text-wrap:nowrap}.field-label--disabled .label[data-v-72ab1f25]{color:var(--text-disabled)}.mandatory[data-v-72ab1f25]{font-weight:400;margin-left:var(--spacing-50);color:var(--error-main);position:relative;top:2px;line-height:var(--spacing-200)}.info-icon[data-v-72ab1f25]{margin-left:var(--spacing-50);color:var(--action-active)}.info-icon[data-v-72ab1f25]:hover{color:var(--action-active)}
@@ -0,0 +1 @@
1
+ .inline-copy[data-v-a5723ef7]{display:inline-flex;cursor:pointer;color:var(--action-active)}.inline-copy .icon-copy[data-v-a5723ef7]{padding:0 4px;cursor:pointer;color:var(--action-active)}.inline-copy .icon-copy[data-v-a5723ef7]:hover{color:var(--action-primary)}
@@ -6,6 +6,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
6
6
  testId: string;
7
7
  type?: 'small' | 'normal';
8
8
  showAbIcon?: boolean;
9
+ inlineCopyTooltipText?: string;
9
10
  }>, {
10
11
  image: string;
11
12
  name: string;
@@ -14,6 +15,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
14
15
  testId: string;
15
16
  type: string;
16
17
  showAbIcon: boolean;
18
+ inlineCopyTooltipText: any;
17
19
  }>, {}, 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<{
18
20
  image: string;
19
21
  name: string;
@@ -22,6 +24,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
22
24
  testId: string;
23
25
  type?: 'small' | 'normal';
24
26
  showAbIcon?: boolean;
27
+ inlineCopyTooltipText?: string;
25
28
  }>, {
26
29
  image: string;
27
30
  name: string;
@@ -30,6 +33,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
30
33
  testId: string;
31
34
  type: string;
32
35
  showAbIcon: boolean;
36
+ inlineCopyTooltipText: any;
33
37
  }>>>, {
34
38
  name: string;
35
39
  type: 'small' | 'normal';
@@ -38,6 +42,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
38
42
  platform: 'android' | 'ios';
39
43
  appKey: string;
40
44
  showAbIcon: boolean;
45
+ inlineCopyTooltipText: string;
41
46
  }>;
42
47
  export default _default;
43
48
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
@@ -1,7 +1,7 @@
1
1
  import e from "./AppHeader.vue2.js";
2
2
  /* empty css */import o from "../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../AppHeader.vue_vue_type_style_index_0_scoped_8ffac784_lang.css"; //*');
4
- const t = /* @__PURE__ */ o(e, [["__scopeId", "data-v-8ffac784"]]);
3
+ // import "../../AppHeader.vue_vue_type_style_index_0_scoped_13fe6311_lang.css"; //*');
4
+ const t = /* @__PURE__ */ o(e, [["__scopeId", "data-v-13fe6311"]]);
5
5
  export {
6
6
  t as default
7
7
  };
@@ -1,10 +1,10 @@
1
- import "../../AppHeader.vue_vue_type_style_index_0_scoped_8ffac784_lang.css"; import { defineComponent as h, computed as o, openBlock as m, createElementBlock as d, normalizeClass as I, createElementVNode as n, mergeProps as r, unref as e, createVNode as i, withCtx as x, createTextVNode as z, toDisplayString as v, createCommentVNode as A } from "vue";
1
+ import "../../AppHeader.vue_vue_type_style_index_0_scoped_13fe6311_lang.css"; import { defineComponent as x, computed as o, openBlock as d, createElementBlock as m, normalizeClass as h, createElementVNode as n, mergeProps as r, unref as e, createVNode as i, withCtx as I, createTextVNode as T, toDisplayString as v, createCommentVNode as z } from "vue";
2
2
  import c from "../icon/v4/IconV4.vue.js";
3
- import b from "../typography/v4/Typography.vue.js";
4
- import g from "../inlineCopy/InlineCopy.vue.js";
5
- import { useTestIdAttrs as C } from "../../utils/testIds.js";
6
- import { AppHeaderTestIdModifiers as s } from "../../testids/index.js";
7
- const T = { class: "image-container" }, N = ["src", "alt"], w = ["data-platform"], B = { class: "name-container" }, M = /* @__PURE__ */ h({
3
+ import C from "../typography/v4/Typography.vue.js";
4
+ import A from "../inlineCopy/InlineCopy.vue.js";
5
+ import { useTestIdAttrs as b } from "../../utils/testIds.js";
6
+ import { AppHeaderTestIdModifiers as l } from "../../testids/index.js";
7
+ const g = { class: "image-container" }, N = ["src", "alt"], w = ["data-platform"], B = { class: "name-container" }, M = /* @__PURE__ */ x({
8
8
  __name: "AppHeader",
9
9
  props: {
10
10
  image: { default: "" },
@@ -13,7 +13,8 @@ const T = { class: "image-container" }, N = ["src", "alt"], w = ["data-platform"
13
13
  appKey: { default: "" },
14
14
  testId: { default: "" },
15
15
  type: { default: "normal" },
16
- showAbIcon: { type: Boolean, default: !1 }
16
+ showAbIcon: { type: Boolean, default: !1 },
17
+ inlineCopyTooltipText: { default: void 0 }
17
18
  },
18
19
  setup(t) {
19
20
  const a = t, p = o(
@@ -24,11 +25,11 @@ const T = { class: "image-container" }, N = ["src", "alt"], w = ["data-platform"
24
25
  () => a.type === "small" ? "18px" : null
25
26
  ), y = o(
26
27
  () => a.type === "normal" ? "h2" : "subtitle1"
27
- ), l = C(a.testId, s);
28
- return (P, S) => (m(), d("div", {
29
- class: I(["app-header", `size-${t.type}`])
28
+ ), s = b(a.testId, l);
29
+ return (P, S) => (d(), m("div", {
30
+ class: h(["app-header", `size-${t.type}`])
30
31
  }, [
31
- n("div", T, [
32
+ n("div", g, [
32
33
  n("img", {
33
34
  src: t.image,
34
35
  alt: t.name
@@ -37,7 +38,7 @@ const T = { class: "image-container" }, N = ["src", "alt"], w = ["data-platform"
37
38
  n("div", r({
38
39
  class: "icon-container",
39
40
  "data-platform": t.platform
40
- }, e(l)[e(s).APP_PLATFORM]), [
41
+ }, e(s)[e(l).APP_PLATFORM]), [
41
42
  i(e(c), {
42
43
  type: "branded",
43
44
  name: e(p),
@@ -45,34 +46,35 @@ const T = { class: "image-container" }, N = ["src", "alt"], w = ["data-platform"
45
46
  }, null, 8, ["name", "size"])
46
47
  ], 16, w),
47
48
  n("div", B, [
48
- i(e(b), r({
49
+ i(e(C), r({
49
50
  variant: e(y),
50
51
  class: "title"
51
- }, e(l)[e(s).TITLE]), {
52
- default: x(() => [
53
- z(v(t.name), 1)
52
+ }, e(s)[e(l).TITLE]), {
53
+ default: I(() => [
54
+ T(v(t.name), 1)
54
55
  ]),
55
56
  _: 1
56
57
  }, 16, ["variant"]),
57
- i(e(g), {
58
+ i(e(A), {
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
- }, null, 8, ["text", "hide-text-value", "test-id", "icon-size"])
64
+ "icon-size": e(u),
65
+ "tooltip-text": t.inlineCopyTooltipText
66
+ }, null, 8, ["text", "hide-text-value", "test-id", "icon-size", "tooltip-text"])
65
67
  ]),
66
- t.showAbIcon ? (m(), d("div", r({
68
+ t.showAbIcon ? (d(), m("div", r({
67
69
  key: 0,
68
70
  class: "ab-icon-wrapper"
69
- }, e(l)[e(s).AB_ICON]), [
71
+ }, e(s)[e(l).AB_ICON]), [
70
72
  i(e(c), {
71
73
  type: "ab-test",
72
74
  name: "ab",
73
75
  size: "28px"
74
76
  })
75
- ], 16)) : A("", !0)
77
+ ], 16)) : z("", !0)
76
78
  ], 2));
77
79
  }
78
80
  });
@@ -33,6 +33,10 @@ declare const AppHeaderTypes: () => import("vue").DefineComponent<{
33
33
  type: import("vue").PropType<boolean>;
34
34
  default: boolean;
35
35
  };
36
+ inlineCopyTooltipText: {
37
+ type: import("vue").PropType<string>;
38
+ default: any;
39
+ };
36
40
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
37
41
  name: {
38
42
  type: import("vue").PropType<string>;
@@ -67,6 +71,10 @@ declare const AppHeaderTypes: () => import("vue").DefineComponent<{
67
71
  type: import("vue").PropType<boolean>;
68
72
  default: boolean;
69
73
  };
74
+ inlineCopyTooltipText: {
75
+ type: import("vue").PropType<string>;
76
+ default: any;
77
+ };
70
78
  }>>, {
71
79
  name: string;
72
80
  type: "small" | "normal";
@@ -75,5 +83,6 @@ declare const AppHeaderTypes: () => import("vue").DefineComponent<{
75
83
  platform: "android" | "ios";
76
84
  appKey: string;
77
85
  showAbIcon: boolean;
86
+ inlineCopyTooltipText: string;
78
87
  }>[];
79
88
  export { AppHeader, AppHeaderTypes };
@@ -1,13 +1,13 @@
1
1
  import { useToggle as me } from "../../../composables/useToggle.js";
2
2
  import { ref as n, computed as r, watch as m, useSlots as Pe, toRaw as A, nextTick as D, provide as Te, onMounted as we } from "vue";
3
- import { isObjectInArray as Q } from "../../../utils/array.js";
3
+ import { isObjectInArray as W } from "../../../utils/array.js";
4
4
  import { objectsEqual as xe } from "../../../utils/object.js";
5
- import { useClamp as Ie, useVirtualList as De, onClickOutside as W } from "@vueuse/core";
5
+ import { useClamp as Ie, useVirtualList as De, onClickOutside as Y } from "@vueuse/core";
6
6
  import { Mode as O, Type as _, DropdownContext as Ne } from "./DropdownContext.js";
7
7
  import { pxToRem as Re } from "../../../utils/style.js";
8
8
  import { useEditableContext as Ee } from "../../table-cells/common/EditableContext.js";
9
9
  const Ue = (l, P, b) => {
10
- const Y = (e, t) => l.multi ? Q(e, t) : A(e) === t;
10
+ const Z = (e, t) => l.multi ? W(e, t) : A(e) === t;
11
11
  let k;
12
12
  ((e) => {
13
13
  e[e.None = 0] = "None", e[e.Next = 1] = "Next", e[e.Previous = -1] = "Previous", e[e.NextPage = 10] = "NextPage", e[e.PrevPage = -10] = "PrevPage";
@@ -25,10 +25,10 @@ const Ue = (l, P, b) => {
25
25
  m(
26
26
  () => l.selected,
27
27
  () => {
28
- a.value = l.selected;
28
+ a.value = l.selected, v.value = l.selected;
29
29
  }
30
30
  );
31
- const Z = Pe(), T = n(null), f = 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(""), g = n([]), q = () => w.value?.focus(), [v, 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([]), q = () => w.value?.focus(), [d, te, ae] = me({
32
32
  disabled: l.disabled,
33
33
  initialValue: l.defaultOpen
34
34
  });
@@ -63,22 +63,22 @@ const Ue = (l, P, b) => {
63
63
  }), oe = r(() => !l.multi || !Array.isArray(a.value) ? !1 : a.value.length > 0 && a.value.length < s.value.length), E = (e) => {
64
64
  I.value = e;
65
65
  }, se = r(() => {
66
- const e = A(g.value), t = {
66
+ const e = A(v.value), t = {
67
67
  selected: [],
68
68
  notSelected: []
69
69
  };
70
70
  return A(l.options).forEach((y) => {
71
- const d = e.includes(y) ? "selected" : "notSelected";
72
- t[d].push(y);
71
+ const f = e.includes(y) ? "selected" : "notSelected";
72
+ t[f].push(y);
73
73
  }), [].concat(t.selected, t.notSelected);
74
74
  }), s = r(() => {
75
- const e = Array.isArray(g.value) && l.multi && b.VERSION === 4 ? se.value : l.options;
75
+ const e = Array.isArray(v.value) && l.multi && b.VERSION === 4 ? se.value : l.options;
76
76
  return l.onSearch ? e.filter((t) => l.onSearch(t, I.value)) : e;
77
77
  }), ce = r(() => c.value[0]?.hasSubtitle), X = r(() => i.mode === O.Multi), j = r(
78
78
  () => ce.value ? b.MULTILINE_LIST_HEIGHT : b.LIST_HEIGHT
79
79
  ), {
80
80
  list: z,
81
- containerProps: p,
81
+ containerProps: J,
82
82
  wrapperProps: ve,
83
83
  scrollTo: M
84
84
  } = De(s, {
@@ -93,9 +93,9 @@ const Ue = (l, P, b) => {
93
93
  ), m([x], async () => {
94
94
  await D();
95
95
  }), m(
96
- [v, o, x],
96
+ [d, o, x],
97
97
  async ([e], [t]) => {
98
- v.value && (await D(), x.value !== -1 && e !== t && setTimeout(() => {
98
+ d.value && (await D(), x.value !== -1 && e !== t && setTimeout(() => {
99
99
  l.multi && b.VERSION === 4 || M(x.value);
100
100
  }), o.value && setTimeout(() => {
101
101
  M(o.value);
@@ -104,12 +104,12 @@ const Ue = (l, P, b) => {
104
104
  );
105
105
  const h = (e, t = !1) => {
106
106
  l.disabled || (G(e), D(() => {
107
- v.value && P("opened"), v.value || P("closed"), T.value && t && T.value.focus();
107
+ d.value && P("opened"), d.value || P("closed"), T.value && t && T.value.focus();
108
108
  }));
109
109
  };
110
- m(v, (e) => {
110
+ m(d, (e) => {
111
111
  if (e) {
112
- X.value && Array.isArray(u.value) && (g.value = A(u.value).slice());
112
+ X.value && Array.isArray(u.value) && (v.value = A(u.value).slice());
113
113
  return;
114
114
  }
115
115
  q();
@@ -129,7 +129,7 @@ const Ue = (l, P, b) => {
129
129
  }, fe = () => {
130
130
  de(), b.VERSION !== 4 && (u.value = a.value);
131
131
  }, ge = (e = !0) => {
132
- a.value = [], e && (u.value = [], g.value = []);
132
+ a.value = [], e && (u.value = [], v.value = []);
133
133
  }, C = (e, t) => {
134
134
  if (e = A(e), c.value[t]?.disabled)
135
135
  return;
@@ -137,16 +137,16 @@ const Ue = (l, P, b) => {
137
137
  l.keepOpen || h(!1), i.goToOption(
138
138
  0
139
139
  /* None */
140
- ), u.value = e, E(""), q(), i.type === _.Search && f.value && (f.value.value = l.displayValue(e));
140
+ ), u.value = e, E(""), q(), i.type === _.Search && g.value && (g.value.value = l.displayValue(e));
141
141
  return;
142
142
  }
143
143
  if (!Array.isArray(a.value))
144
144
  return;
145
- f.value?.focus();
145
+ g.value?.focus();
146
146
  const S = A(a.value);
147
- if (Q(S, e)) {
147
+ if (W(S, e)) {
148
148
  a.value = S.filter(
149
- (d) => !xe(d, e)
149
+ (f) => !xe(f, e)
150
150
  );
151
151
  return;
152
152
  } else {
@@ -161,27 +161,27 @@ const Ue = (l, P, b) => {
161
161
  activeOption: R,
162
162
  listRef: T,
163
163
  clearable: l.clearable,
164
- type: Z.input ? _.Search : _.Dropdown,
164
+ type: p.input ? _.Search : _.Dropdown,
165
165
  mode: l.multi ? O.Multi : O.Single,
166
166
  query: I,
167
167
  selectedValue: K,
168
168
  toggle: h,
169
169
  disabled: l.disabled,
170
- open: v,
170
+ open: d,
171
171
  mandatory: l.mandatory,
172
172
  size: l.size,
173
173
  placeholder: l.placeholder,
174
174
  select: C,
175
175
  clearSelection: () => {
176
- E(""), u.value = i.mode === O.Single ? null : [], g.value = i.mode === O.Single ? null : [], f.value && (f.value.value = "");
176
+ E(""), u.value = i.mode === O.Single ? null : [], v.value = i.mode === O.Single ? null : [], g.value && (g.value.value = "");
177
177
  },
178
178
  search: E,
179
179
  goToOption: async (e) => {
180
- if (!v.value)
180
+ if (!d.value)
181
181
  return;
182
182
  let t = o.value + e;
183
183
  const y = c.value.filter(
184
- (d) => d.disabled
184
+ (f) => f.disabled
185
185
  ).length, S = s.value.length - y;
186
186
  for (t > S && (t = S + 1); ; ) {
187
187
  if (!c.value[t]?.disabled) {
@@ -195,7 +195,7 @@ const Ue = (l, P, b) => {
195
195
  }
196
196
  },
197
197
  registerInput: (e) => {
198
- f.value = e.value;
198
+ g.value = e.value;
199
199
  },
200
200
  registerOption: (e, t, y) => {
201
201
  c.value = [...c.value, { id: e, disabled: t, hasSubtitle: y }];
@@ -204,10 +204,10 @@ const Ue = (l, P, b) => {
204
204
  c.value = c.value.filter((t) => t.id !== e);
205
205
  }
206
206
  };
207
- Te(Ne, i), W(
207
+ Te(Ne, i), Y(
208
208
  T,
209
209
  () => {
210
- v.value && J();
210
+ d.value && Q();
211
211
  },
212
212
  {
213
213
  ignore: [
@@ -215,13 +215,13 @@ const Ue = (l, P, b) => {
215
215
  B,
216
216
  L,
217
217
  U,
218
- f,
219
- p.ref
218
+ g,
219
+ J.ref
220
220
  ]
221
221
  }
222
222
  );
223
223
  const ye = () => {
224
- f.value && (f.value.value = i.query.value = "");
224
+ g.value && (g.value.value = i.query.value = "");
225
225
  };
226
226
  we(async () => {
227
227
  l.autoFocus && (await D(), setTimeout(() => {
@@ -229,9 +229,9 @@ const Ue = (l, P, b) => {
229
229
  })), i.goToOption(0);
230
230
  });
231
231
  const Se = () => {
232
- u.value = a.value, Array.isArray(u.value) && (g.value = A(u.value).slice()), P("apply", u.value), h(!1), ye();
233
- }, J = () => {
234
- X.value && Array.isArray(g.value) && (u.value = A(g.value).slice()), I.value = "", h(!1);
232
+ u.value = a.value, Array.isArray(u.value) && (v.value = A(u.value).slice()), P("apply", u.value), h(!1), ye();
233
+ }, Q = () => {
234
+ X.value && Array.isArray(v.value) && (u.value = A(v.value).slice()), I.value = "", h(!1);
235
235
  }, be = (e) => {
236
236
  if (!l.disableKeyboardEvents)
237
237
  switch (e.key) {
@@ -277,7 +277,7 @@ const Ue = (l, P, b) => {
277
277
  break;
278
278
  }
279
279
  case "Enter": {
280
- if (!v.value) {
280
+ if (!d.value) {
281
281
  h(!0);
282
282
  return;
283
283
  }
@@ -287,21 +287,21 @@ const Ue = (l, P, b) => {
287
287
  }
288
288
  }, Oe = r(() => {
289
289
  const e = z.value.length, t = l.multi && l.showSelectAll ? 1 : 0, y = e > b.MAX_NUMBER_OF_OPTIONS, S = e + t;
290
- let d = y ? b.MAX_NUMBER_OF_OPTIONS + 0.1 : S;
291
- return l.noResultsText && d === 0 && (d = d + 1), Re(
292
- d * j.value + b.PADDING_PX
290
+ let f = y ? b.MAX_NUMBER_OF_OPTIONS + 0.1 : S;
291
+ return l.noResultsText && f === 0 && (f = f + 1), Re(
292
+ f * j.value + b.PADDING_PX
293
293
  );
294
294
  });
295
295
  return {
296
296
  onKeydown: Ae,
297
297
  location: le,
298
- open: v,
298
+ open: d,
299
299
  toggleMenu: h,
300
300
  onButtonKeydown: be,
301
301
  displayedValue: re,
302
302
  labelRef: H,
303
303
  query: I,
304
- containerProps: p,
304
+ containerProps: J,
305
305
  calculateTableHeight: Oe,
306
306
  wrapperProps: ve,
307
307
  filteredOptions: s,
@@ -309,16 +309,16 @@ const Ue = (l, P, b) => {
309
309
  isIndeterminate: oe,
310
310
  onSelectAll: fe,
311
311
  virtualOptions: z,
312
- isSelected: Y,
312
+ isSelected: Z,
313
313
  selectedOption: u,
314
- selectedOptionPrevious: g,
314
+ selectedOptionPrevious: v,
315
315
  selectedValue: K,
316
316
  onSelect: C,
317
317
  activeIndex: o,
318
- onCancel: J,
318
+ onCancel: Q,
319
319
  onApply: Se,
320
320
  scrollTo: M,
321
- onClickOutside: W,
321
+ onClickOutside: Y,
322
322
  listRef: T,
323
323
  buttonRef: w,
324
324
  apply: B,
@@ -4,30 +4,35 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
4
4
  testId: string;
5
5
  hideTextValue: boolean;
6
6
  iconSize?: string;
7
+ tooltipText?: string;
7
8
  }>, {
8
9
  size: string;
9
10
  text: string;
10
11
  testId: string;
11
12
  hideTextValue: boolean;
12
13
  iconSize: any;
14
+ tooltipText: string;
13
15
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
14
16
  text: string;
15
17
  size: 'small' | 'medium';
16
18
  testId: string;
17
19
  hideTextValue: boolean;
18
20
  iconSize?: string;
21
+ tooltipText?: string;
19
22
  }>, {
20
23
  size: string;
21
24
  text: string;
22
25
  testId: string;
23
26
  hideTextValue: boolean;
24
27
  iconSize: any;
28
+ tooltipText: string;
25
29
  }>>>, {
26
30
  text: string;
27
31
  size: 'small' | 'medium';
28
32
  testId: string;
29
33
  hideTextValue: boolean;
30
34
  iconSize: string;
35
+ tooltipText: string;
31
36
  }>;
32
37
  export default _default;
33
38
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
@@ -1,7 +1,7 @@
1
1
  import o from "./InlineCopy.vue2.js";
2
2
  /* empty css */import e from "../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../InlineCopy.vue_vue_type_style_index_0_scoped_2a9e8782_lang.css"; //*');
4
- const t = /* @__PURE__ */ e(o, [["__scopeId", "data-v-2a9e8782"]]);
3
+ // import "../../InlineCopy.vue_vue_type_style_index_0_scoped_a5723ef7_lang.css"; //*');
4
+ const t = /* @__PURE__ */ e(o, [["__scopeId", "data-v-a5723ef7"]]);
5
5
  export {
6
6
  t as default
7
7
  };
@@ -1,4 +1,4 @@
1
- import "../../InlineCopy.vue_vue_type_style_index_0_scoped_2a9e8782_lang.css"; import { defineComponent as d, computed as f, openBlock as a, createElementBlock as y, createBlock as x, unref as e, mergeProps as c, withCtx as s, createTextVNode as C, toDisplayString as T, createCommentVNode as z, createVNode as l } from "vue";
1
+ import "../../InlineCopy.vue_vue_type_style_index_0_scoped_a5723ef7_lang.css"; import { defineComponent as d, computed as f, openBlock as l, createElementBlock as y, createBlock as x, unref as e, mergeProps as r, withCtx as c, createTextVNode as T, toDisplayString as C, createCommentVNode as z, createVNode as n } from "vue";
2
2
  import I from "../icon/v4/IconV4.vue.js";
3
3
  import h from "../typography/v4/Typography.vue.js";
4
4
  import { useClipboard as k } from "@vueuse/core";
@@ -6,17 +6,18 @@ import { Snackbar as S } from "../snackbar/v4/index.js";
6
6
  import V from "../tooltip/v4/TooltipV4.vue.js";
7
7
  import { useTestIdAttrs as B } from "../../utils/testIds.js";
8
8
  import { InlineCopyTestIdModifiers as i } from "../../testids/index.js";
9
- const M = /* @__PURE__ */ d({
9
+ const O = /* @__PURE__ */ d({
10
10
  __name: "InlineCopy",
11
11
  props: {
12
12
  text: { default: "" },
13
13
  size: { default: "small" },
14
14
  testId: { default: "" },
15
15
  hideTextValue: { type: Boolean, default: !1 },
16
- iconSize: { default: null }
16
+ iconSize: { default: null },
17
+ tooltipText: { default: "Copy to clipboard" }
17
18
  },
18
19
  setup(t) {
19
- const o = t, { copy: n, copied: p } = k({}), m = f(() => {
20
+ const o = t, { copy: s, copied: p } = k({}), m = f(() => {
20
21
  switch (o.size) {
21
22
  case "medium":
22
23
  return "0.875rem";
@@ -25,39 +26,39 @@ const M = /* @__PURE__ */ d({
25
26
  return "0.75rem";
26
27
  }
27
28
  }), u = async () => {
28
- await n(o.text), p.value && S({
29
+ await s(o.text), p.value && S({
29
30
  title: "Copied successfully",
30
31
  type: "success",
31
32
  duration: 2e3
32
33
  });
33
- }, r = B(o.testId, i);
34
- return (N, b) => (a(), y("div", {
34
+ }, a = B(o.testId, i);
35
+ return (N, b) => (l(), y("div", {
35
36
  class: "inline-copy",
36
37
  onClick: u
37
38
  }, [
38
- t.hideTextValue ? z("", !0) : (a(), x(e(h), c({
39
+ t.hideTextValue ? z("", !0) : (l(), x(e(h), r({
39
40
  key: 0,
40
41
  variant: "caption",
41
42
  style: { fontSize: e(m) }
42
- }, e(r)[e(i).TEXT]), {
43
- default: s(() => [
44
- C(T(t.text), 1)
43
+ }, e(a)[e(i).TEXT]), {
44
+ default: c(() => [
45
+ T(C(t.text), 1)
45
46
  ]),
46
47
  _: 1
47
48
  }, 16, ["style"])),
48
- l(e(V), { text: "Copy to clipboard" }, {
49
- default: s(() => [
50
- l(e(I), c({
49
+ n(e(V), { text: t.tooltipText }, {
50
+ default: c(() => [
51
+ n(e(I), r({
51
52
  class: "icon-copy",
52
53
  name: "copy",
53
54
  size: t.iconSize || "16px"
54
- }, e(r)[e(i).COPY_BTN]), null, 16, ["size"])
55
+ }, e(a)[e(i).COPY_BTN]), null, 16, ["size"])
55
56
  ]),
56
57
  _: 1
57
- })
58
+ }, 8, ["text"])
58
59
  ]));
59
60
  }
60
61
  });
61
62
  export {
62
- M as default
63
+ O as default
63
64
  };
@@ -24,6 +24,10 @@ declare const InlineCopyTypes: () => import("vue").DefineComponent<{
24
24
  type: import("vue").PropType<string>;
25
25
  default: any;
26
26
  };
27
+ tooltipText: {
28
+ type: import("vue").PropType<string>;
29
+ default: string;
30
+ };
27
31
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
28
32
  text: {
29
33
  type: import("vue").PropType<string>;
@@ -49,11 +53,16 @@ declare const InlineCopyTypes: () => import("vue").DefineComponent<{
49
53
  type: import("vue").PropType<string>;
50
54
  default: any;
51
55
  };
56
+ tooltipText: {
57
+ type: import("vue").PropType<string>;
58
+ default: string;
59
+ };
52
60
  }>>, {
53
61
  text: string;
54
62
  size: "small" | "medium";
55
63
  testId: string;
56
64
  hideTextValue: boolean;
57
65
  iconSize: string;
66
+ tooltipText: string;
58
67
  }>[];
59
68
  export { InlineCopy, InlineCopyTypes };
@@ -1,7 +1,7 @@
1
1
  import e from "./FieldLabel.vue2.js";
2
2
  /* empty css */import o from "../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../FieldLabel.vue_vue_type_style_index_0_scoped_5c2a70ad_lang.css"; //*');
4
- const t = /* @__PURE__ */ o(e, [["__scopeId", "data-v-5c2a70ad"]]);
3
+ // import "../../FieldLabel.vue_vue_type_style_index_0_scoped_72ab1f25_lang.css"; //*');
4
+ const a = /* @__PURE__ */ o(e, [["__scopeId", "data-v-72ab1f25"]]);
5
5
  export {
6
- t as default
6
+ a as default
7
7
  };
@@ -1,4 +1,4 @@
1
- import "../../FieldLabel.vue_vue_type_style_index_0_scoped_5c2a70ad_lang.css"; import { defineComponent as p, openBlock as o, createElementBlock as m, Fragment as T, createElementVNode as b, mergeProps as d, unref as e, createVNode as r, withCtx as i, createTextVNode as n, toDisplayString as f, createBlock as u, createCommentVNode as s } from "vue";
1
+ import "../../FieldLabel.vue_vue_type_style_index_0_scoped_72ab1f25_lang.css"; import { defineComponent as p, openBlock as o, createElementBlock as m, Fragment as T, createElementVNode as b, mergeProps as d, unref as e, createVNode as r, withCtx as i, createTextVNode as n, toDisplayString as f, createBlock as u, createCommentVNode as s } from "vue";
2
2
  import h from "../icon/v3/Icon.vue.js";
3
3
  import y from "../tooltip/v4/TooltipV4.vue.js";
4
4
  import c from "../typography/v4/Typography.vue.js";
package/index.d.ts CHANGED
@@ -76,6 +76,10 @@ declare const _default: {
76
76
  type: import("vue").PropType<string>;
77
77
  default: any;
78
78
  };
79
+ tooltipText: {
80
+ type: import("vue").PropType<string>;
81
+ default: string;
82
+ };
79
83
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
80
84
  text: {
81
85
  type: import("vue").PropType<string>;
@@ -101,12 +105,17 @@ declare const _default: {
101
105
  type: import("vue").PropType<string>;
102
106
  default: any;
103
107
  };
108
+ tooltipText: {
109
+ type: import("vue").PropType<string>;
110
+ default: string;
111
+ };
104
112
  }>>, {
105
113
  text: string;
106
114
  size: "small" | "medium";
107
115
  testId: string;
108
116
  hideTextValue: boolean;
109
117
  iconSize: string;
118
+ tooltipText: string;
110
119
  }>;
111
120
  InlineCopyTypes: () => import("vue").DefineComponent<{
112
121
  text: {
@@ -133,6 +142,10 @@ declare const _default: {
133
142
  type: import("vue").PropType<string>;
134
143
  default: any;
135
144
  };
145
+ tooltipText: {
146
+ type: import("vue").PropType<string>;
147
+ default: string;
148
+ };
136
149
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
137
150
  text: {
138
151
  type: import("vue").PropType<string>;
@@ -158,12 +171,17 @@ declare const _default: {
158
171
  type: import("vue").PropType<string>;
159
172
  default: any;
160
173
  };
174
+ tooltipText: {
175
+ type: import("vue").PropType<string>;
176
+ default: string;
177
+ };
161
178
  }>>, {
162
179
  text: string;
163
180
  size: "small" | "medium";
164
181
  testId: string;
165
182
  hideTextValue: boolean;
166
183
  iconSize: string;
184
+ tooltipText: string;
167
185
  }>[];
168
186
  AppHeader: import("vue").DefineComponent<{
169
187
  name: {
@@ -199,6 +217,10 @@ declare const _default: {
199
217
  type: import("vue").PropType<boolean>;
200
218
  default: boolean;
201
219
  };
220
+ inlineCopyTooltipText: {
221
+ type: import("vue").PropType<string>;
222
+ default: any;
223
+ };
202
224
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
203
225
  name: {
204
226
  type: import("vue").PropType<string>;
@@ -233,6 +255,10 @@ declare const _default: {
233
255
  type: import("vue").PropType<boolean>;
234
256
  default: boolean;
235
257
  };
258
+ inlineCopyTooltipText: {
259
+ type: import("vue").PropType<string>;
260
+ default: any;
261
+ };
236
262
  }>>, {
237
263
  name: string;
238
264
  type: "small" | "normal";
@@ -241,6 +267,7 @@ declare const _default: {
241
267
  platform: "android" | "ios";
242
268
  appKey: string;
243
269
  showAbIcon: boolean;
270
+ inlineCopyTooltipText: string;
244
271
  }>;
245
272
  AppHeaderTypes: () => import("vue").DefineComponent<{
246
273
  name: {
@@ -276,6 +303,10 @@ declare const _default: {
276
303
  type: import("vue").PropType<boolean>;
277
304
  default: boolean;
278
305
  };
306
+ inlineCopyTooltipText: {
307
+ type: import("vue").PropType<string>;
308
+ default: any;
309
+ };
279
310
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
280
311
  name: {
281
312
  type: import("vue").PropType<string>;
@@ -310,6 +341,10 @@ declare const _default: {
310
341
  type: import("vue").PropType<boolean>;
311
342
  default: boolean;
312
343
  };
344
+ inlineCopyTooltipText: {
345
+ type: import("vue").PropType<string>;
346
+ default: any;
347
+ };
313
348
  }>>, {
314
349
  name: string;
315
350
  type: "small" | "normal";
@@ -318,6 +353,7 @@ declare const _default: {
318
353
  platform: "android" | "ios";
319
354
  appKey: string;
320
355
  showAbIcon: boolean;
356
+ inlineCopyTooltipText: string;
321
357
  }>[];
322
358
  ThemeWrapper: {
323
359
  new (...args: any[]): {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ironsource/shared-ui",
3
- "version": "2.1.5-rc.2",
3
+ "version": "2.1.5-rc.4",
4
4
  "engines": {
5
5
  "npm": ">=7.0.0",
6
6
  "node": ">=16.0.0"
@@ -1 +0,0 @@
1
- .app-header[data-v-8ffac784]{display:flex}.app-header .image-container[data-v-8ffac784]{height:3rem;width:3rem;border-radius:.25rem}.app-header .image-container img[data-v-8ffac784]{min-width:100%;max-width:100%;max-height:100%;object-fit:cover;border-radius:.25rem}.app-header .icon-container[data-v-8ffac784]{color:var(--action-active);display:flex;align-items:center;padding:0 .5rem}.app-header .name-container .title[data-v-8ffac784]{color:var(--text-primary)}.app-header .name-container .inline-copy[data-v-8ffac784]{color:var(--text-secondary)}.app-header.size-small[data-v-8ffac784]{align-items:center}.app-header.size-small .image-container[data-v-8ffac784]{height:2rem;width:2rem;border-radius:.375rem}.app-header.size-small .image-container img[data-v-8ffac784]{border-radius:.375rem}.app-header.size-small .icon-container[data-v-8ffac784]{padding:0 .25rem}.app-header.size-small .name-container[data-v-8ffac784]{display:flex;align-items:center}.ab-icon-wrapper[data-v-8ffac784]{margin-left:var(--spacing-150);padding-left:var(--spacing-150);border-left:1px solid var(--common-divider);min-height:var(--spacing-400);display:flex;align-items:center}.size-small .ab-icon-wrapper[data-v-8ffac784]{margin-left:var(--spacing-25);padding-left:var(--spacing-100)}
@@ -1 +0,0 @@
1
- .field-label[data-v-5c2a70ad]{flex-grow:1;white-space:nowrap;display:flex;align-items:center;color:var(--text-primary);height:var(--spacing-200);margin-bottom:var(--spacing-50)}.field-label--with-description[data-v-5c2a70ad]{margin-bottom:2px}.description[data-v-5c2a70ad]{color:var(--text-secondary);display:flex;height:var(--spacing-250);align-items:center;margin-bottom:var(--spacing-50)}.label[data-v-5c2a70ad]{color:var(--text-primary)}.field-label--disabled .label[data-v-5c2a70ad]{color:var(--text-disabled)}.mandatory[data-v-5c2a70ad]{font-weight:400;margin-left:var(--spacing-50);color:var(--error-main);position:relative;top:2px;line-height:var(--spacing-200)}.info-icon[data-v-5c2a70ad]{margin-left:var(--spacing-50);color:var(--action-active)}.info-icon[data-v-5c2a70ad]:hover{color:var(--action-active)}
@@ -1 +0,0 @@
1
- .inline-copy[data-v-2a9e8782]{display:inline-flex;cursor:pointer;color:var(--action-active)}.inline-copy .icon-copy[data-v-2a9e8782]{padding:0 4px;cursor:pointer;color:var(--action-active)}.inline-copy .icon-copy[data-v-2a9e8782]:hover{color:var(--action-primary)}