@ironsource/shared-ui 2.1.11-rc.52 → 2.1.11-rc.54

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.
Files changed (30) hide show
  1. package/Chart.vue_vue_type_style_index_0_scoped_026d82c5_lang.css +1 -0
  2. package/ConditionalDropdown.vue_vue_type_style_index_0_scoped_03022bc9_lang.css +1 -0
  3. package/DefaultDropdownTrigger.vue_vue_type_style_index_0_scoped_73bf9b5b_lang.css +1 -0
  4. package/{IconFlag.vue_vue_type_style_index_0_scoped_be9dc7bb_lang.css → IconFlag.vue_vue_type_style_index_0_scoped_6526c390_lang.css} +1 -1
  5. package/OptionV4.vue_vue_type_style_index_0_scoped_fffa19a4_lang.css +1 -0
  6. package/SortableList.vue_vue_type_style_index_0_scoped_f1f5f7e8_lang.css +1 -0
  7. package/components/chart/Chart.vue.js +4 -4
  8. package/components/chart/Chart.vue2.js +110 -105
  9. package/components/chart/mockData.d.ts +8 -0
  10. package/components/dropdown/v4/ConditionalDropdown.vue.d.ts +5 -0
  11. package/components/dropdown/v4/ConditionalDropdown.vue.js +2 -2
  12. package/components/dropdown/v4/ConditionalDropdown.vue2.js +98 -91
  13. package/components/dropdown/v4/DefaultDropdownTrigger.vue.js +2 -2
  14. package/components/dropdown/v4/DefaultDropdownTrigger.vue2.js +45 -46
  15. package/components/dropdown/v4/OptionV4.vue.js +3 -3
  16. package/components/dropdown/v4/OptionV4.vue2.js +97 -98
  17. package/components/dropdown/v4/index.d.ts +9 -0
  18. package/components/icon/v4/IconFlag.vue.js +3 -3
  19. package/components/icon/v4/IconFlag.vue2.js +1 -1
  20. package/components/sortableList/SortableList.vue.js +4 -4
  21. package/components/sortableList/SortableList.vue2.js +2 -2
  22. package/index.d.ts +18 -0
  23. package/index.js +1 -1
  24. package/package.json +1 -1
  25. package/Chart.vue_vue_type_style_index_0_scoped_277fde76_lang.css +0 -1
  26. package/ConditionalDropdown.vue_vue_type_style_index_0_scoped_2ba23450_lang.css +0 -1
  27. package/DefaultDropdownTrigger.vue_vue_type_style_index_0_scoped_9fa84b26_lang.css +0 -1
  28. package/OptionV4.vue_vue_type_style_index_0_scoped_2c2947b3_lang.css +0 -1
  29. package/SortableList.vue_vue_type_style_index_0_scoped_8f267f88_lang.css +0 -1
  30. package/consts/configs.js +0 -4
@@ -1,41 +1,40 @@
1
- import "../../../OptionV4.vue_vue_type_style_index_0_scoped_2c2947b3_lang.css"; import { defineComponent as N, ref as I, watch as L, computed as w, openBlock as o, createBlock as v, unref as n, createSlots as P, withCtx as d, createElementVNode as c, normalizeClass as k, createCommentVNode as l, createElementBlock as i, renderSlot as m, createVNode as s, toDisplayString as r, createTextVNode as y, withModifiers as $, Fragment as V, renderList as F } from "vue";
1
+ import "../../../OptionV4.vue_vue_type_style_index_0_scoped_fffa19a4_lang.css"; import { defineComponent as P, ref as C, watch as S, computed as V, openBlock as o, createBlock as m, unref as n, createSlots as A, withCtx as s, createElementVNode as c, normalizeClass as v, createCommentVNode as i, createElementBlock as l, renderSlot as y, createVNode as a, toDisplayString as r, createTextVNode as f, withModifiers as I, Fragment as F, renderList as L } from "vue";
2
2
  import "../../typography/Heading.vue.js";
3
- import D from "../../typography/Text.vue.js";
4
- import R from "../../checkbox/v4/CheckboxV4.vue.js";
5
- import f from "../../icon/v4/IconV4.vue.js";
6
- import "../../icon/v4/IconFlag.vue.js";
7
- import { NOOP as j } from "@vue/shared";
8
- import { optionCommon as H } from "../common/Option.common.js";
9
- import T from "../../typography/v4/Typography.vue.js";
10
- import U from "../../tooltip/v4/TooltipV4.vue.js";
11
- import { isElementTruncated as q } from "../../../utils/text.js";
12
- import { promiseTimeout as G } from "@vueuse/core";
13
- import { SHARED_ASSETS_CDN_DOMAIN as J } from "../../../consts/configs.js";
14
- const Q = { class: "multiline-tooltip" }, W = {
3
+ import N from "../../typography/Text.vue.js";
4
+ import j from "../../checkbox/v4/CheckboxV4.vue.js";
5
+ import T from "../../icon/v4/IconV4.vue.js";
6
+ import R from "../../icon/v4/IconFlag.vue.js";
7
+ import { NOOP as D } from "@vue/shared";
8
+ import { optionCommon as q } from "../common/Option.common.js";
9
+ import g from "../../typography/v4/Typography.vue.js";
10
+ import G from "../../tooltip/v4/TooltipV4.vue.js";
11
+ import { isElementTruncated as H } from "../../../utils/text.js";
12
+ import { promiseTimeout as J } from "@vueuse/core";
13
+ const Q = { class: "multiline-tooltip" }, U = {
15
14
  key: 1,
16
15
  class: "image"
17
- }, X = ["src"], Y = {
16
+ }, W = ["src"], X = {
18
17
  key: 2,
19
18
  class: "flag"
20
- }, Z = ["src"], _ = {
19
+ }, Y = {
21
20
  key: 3,
22
21
  class: "start-icon"
23
- }, ee = {
22
+ }, Z = {
24
23
  key: 0,
25
24
  class: "main-text"
26
- }, te = {
25
+ }, _ = {
27
26
  key: 1,
28
27
  class: "main-text"
29
- }, ne = {
28
+ }, ee = {
30
29
  key: 2,
31
30
  class: "end-text-icon"
32
- }, oe = {
31
+ }, te = {
33
32
  key: 3,
34
33
  class: "caption-text"
35
- }, ie = {
34
+ }, ne = {
36
35
  key: 4,
37
36
  class: "end-icon"
38
- }, le = ["onClick"], ae = { key: 0 }, he = /* @__PURE__ */ N({
37
+ }, oe = ["onClick"], ie = { key: 0 }, pe = /* @__PURE__ */ P({
39
38
  __name: "OptionV4",
40
39
  props: {
41
40
  option: { default: null },
@@ -63,26 +62,26 @@ const Q = { class: "multiline-tooltip" }, W = {
63
62
  isMulti: { type: Boolean, default: !1 }
64
63
  },
65
64
  emits: ["toggleTreeCollapse"],
66
- setup(e, { emit: O }) {
67
- const a = e, { selected: h, id: B, onClick: S, api: K } = H(a), M = (t) => {
68
- a.stopOptionClickEventPropagation && t.stopPropagation(), a.disabled ? j() : S(t);
69
- }, g = I(null), C = I(!1);
70
- L([() => a.treeChildShown, g], async () => {
71
- await G(100), C.value = g.value && q(g.value);
65
+ setup(e, { emit: w }) {
66
+ const d = e, { selected: h, id: O, onClick: $, api: K } = q(d), B = (t) => {
67
+ d.stopOptionClickEventPropagation && t.stopPropagation(), d.disabled ? D() : $(t);
68
+ }, p = C(null), b = C(!1);
69
+ S([() => d.treeChildShown, p], async () => {
70
+ await J(100), b.value = p.value && H(p.value);
72
71
  });
73
- const A = (t) => t && typeof t == "object" && "optionTooltipText" in t ? (Array.isArray(t.optionTooltipText), t.optionTooltipText) : C.value ? t[a.nameKey] : "", x = w(() => A(a.option)), E = (t) => t && typeof t == "object" && "optionTooltipTestId" in t ? t.optionTooltipTestId : null, z = () => {
74
- O("toggleTreeCollapse", a.option);
75
- }, b = w(() => a.optionFlagKey ? `${J}/assets/flags/v4/${a.option[a.optionFlagKey]?.toLowerCase()}.svg` : null);
76
- return (t, p) => (o(), v(n(U), {
72
+ const M = (t) => t && typeof t == "object" && "optionTooltipText" in t ? (Array.isArray(t.optionTooltipText), t.optionTooltipText) : b.value ? t[d.nameKey] : "", x = V(() => M(d.option)), z = (t) => t && typeof t == "object" && "optionTooltipTestId" in t ? t.optionTooltipTestId : null, E = () => {
73
+ w("toggleTreeCollapse", d.option);
74
+ };
75
+ return (t, k) => (o(), m(n(G), {
77
76
  text: n(x),
78
- "test-id": E(e.option),
77
+ "test-id": z(e.option),
79
78
  placement: e.toolTipPlacement,
80
79
  class: "tooltip-option"
81
- }, P({
82
- default: d(() => [
80
+ }, A({
81
+ default: s(() => [
83
82
  c("div", {
84
83
  ref: "el",
85
- class: k(["item-container", {
84
+ class: v(["item-container", {
86
85
  "item-container--disabled": e.disabled,
87
86
  "item-container--active": e.nameKey ? !1 : e.active,
88
87
  "item-container--selected": n(h),
@@ -90,157 +89,157 @@ const Q = { class: "multiline-tooltip" }, W = {
90
89
  }])
91
90
  }, [
92
91
  c("div", {
93
- class: k(["item", {
92
+ class: v(["item", {
94
93
  "item--multi": e.isMulti,
95
94
  "item--with-icon": t.$slots["icon-start"] || t.$slots.image
96
95
  }])
97
96
  }, [
98
- e.isMulti || e.selectAllOption ? (o(), v(n(R), {
97
+ e.isMulti || e.selectAllOption ? (o(), m(n(j), {
99
98
  key: 0,
100
- id: n(B).toString(),
99
+ id: n(O).toString(),
101
100
  tabindex: "-1",
102
101
  class: "checkbox",
103
102
  "is-checked": n(h),
104
103
  "is-indeterminate": e.isIndeterminate,
105
- onClick: p[0] || (p[0] = (u) => M(u))
106
- }, null, 8, ["id", "is-checked", "is-indeterminate"])) : l("", !0),
107
- t.$slots.image || e.imageKey ? (o(), i("div", W, [
108
- m(t.$slots, "image", {}, () => [
109
- e.imageKey ? (o(), i("img", {
104
+ onClick: k[0] || (k[0] = (u) => B(u))
105
+ }, null, 8, ["id", "is-checked", "is-indeterminate"])) : i("", !0),
106
+ t.$slots.image || e.imageKey ? (o(), l("div", U, [
107
+ y(t.$slots, "image", {}, () => [
108
+ e.imageKey ? (o(), l("img", {
110
109
  key: 0,
111
110
  src: e.option[e.imageKey]
112
- }, null, 8, X)) : l("", !0)
111
+ }, null, 8, W)) : i("", !0)
113
112
  ], !0)
114
- ])) : l("", !0),
115
- t.$slots.flag || e.optionFlagKey ? (o(), i("div", Y, [
116
- m(t.$slots, "flag", {}, () => [
117
- n(b) ? (o(), i("img", {
113
+ ])) : i("", !0),
114
+ t.$slots.flag || e.optionFlagKey ? (o(), l("div", X, [
115
+ y(t.$slots, "flag", {}, () => [
116
+ e.optionFlagKey ? (o(), m(n(R), {
118
117
  key: 0,
119
- src: n(b)
120
- }, null, 8, Z)) : l("", !0)
118
+ src: e.option[e.optionFlagKey]
119
+ }, null, 8, ["src"])) : i("", !0)
121
120
  ], !0)
122
- ])) : l("", !0),
123
- t.$slots["icon-start"] || e.iconKey ? (o(), i("div", _, [
124
- m(t.$slots, "icon-start", {}, () => [
125
- s(n(f), {
121
+ ])) : i("", !0),
122
+ t.$slots["icon-start"] || e.iconKey ? (o(), l("div", Y, [
123
+ y(t.$slots, "icon-start", {}, () => [
124
+ a(n(T), {
126
125
  type: e.iconType,
127
126
  name: e.option[e.iconKey],
128
127
  size: e.iconType === "regular" ? "20px" : "16px"
129
128
  }, null, 8, ["type", "name", "size"])
130
129
  ], !0)
131
- ])) : l("", !0),
130
+ ])) : i("", !0),
132
131
  c("div", {
133
132
  ref_key: "textContainerRef",
134
- ref: g,
133
+ ref: p,
135
134
  class: "text-container"
136
135
  }, [
137
- s(n(T), {
136
+ a(n(g), {
138
137
  class: "option-text",
139
138
  variant: "body2"
140
139
  }, {
141
- default: d(() => [
142
- m(t.$slots, "default", {}, () => [
140
+ default: s(() => [
141
+ y(t.$slots, "default", {}, () => [
143
142
  c("div", {
144
- class: k(`option-content-${e.optionTwoLinesVariant} option-content`)
143
+ class: v(`option-content-${e.optionTwoLinesVariant} option-content`)
145
144
  }, [
146
- e.option.conditionalOptions ? (o(), i("div", te, [
147
- s(n(T), {
145
+ e.option.conditionalOptions ? (o(), l("div", _, [
146
+ a(n(g), {
148
147
  variant: "body2",
149
148
  class: "conditional-option-label"
150
149
  }, {
151
- default: d(() => [
152
- y(r(e.option.conditionalName) + ": ", 1)
150
+ default: s(() => [
151
+ f(r(e.option.conditionalName) + ": ", 1)
153
152
  ]),
154
153
  _: 1
155
154
  }),
156
- s(n(T), {
155
+ a(n(g), {
157
156
  variant: "h5",
158
157
  class: "conditional-option-value"
159
158
  }, {
160
- default: d(() => [
161
- y('"' + r(e.option[e.nameKey]) + '"', 1)
159
+ default: s(() => [
160
+ f('"' + r(e.option[e.nameKey]) + '"', 1)
162
161
  ]),
163
162
  _: 1
164
163
  })
165
- ])) : (o(), i("div", ee, r(e.option[e.nameKey]), 1)),
166
- e.endTextIconKey && e.option[e.endTextIconKey] ? (o(), i("span", ne, [
167
- s(n(f), {
164
+ ])) : (o(), l("div", Z, r(e.option[e.nameKey]), 1)),
165
+ e.endTextIconKey && e.option[e.endTextIconKey] ? (o(), l("span", ee, [
166
+ a(n(T), {
168
167
  type: "regular",
169
168
  name: e.option[e.endTextIconKey],
170
169
  size: "16px"
171
170
  }, null, 8, ["name"])
172
- ])) : l("", !0),
173
- e.optionTwoLinesKey ? (o(), i("div", oe, [
174
- s(n(T), { variant: "caption" }, {
175
- default: d(() => [
176
- y(r(e.option[e.optionTwoLinesKey]), 1)
171
+ ])) : i("", !0),
172
+ e.optionTwoLinesKey ? (o(), l("div", te, [
173
+ a(n(g), { variant: "caption" }, {
174
+ default: s(() => [
175
+ f(r(e.option[e.optionTwoLinesKey]), 1)
177
176
  ]),
178
177
  _: 1
179
178
  })
180
- ])) : l("", !0)
179
+ ])) : i("", !0)
181
180
  ], 2)
182
181
  ], !0)
183
182
  ]),
184
183
  _: 3
185
184
  }),
186
- e.subtitle ? (o(), v(n(D), {
185
+ e.subtitle ? (o(), m(n(N), {
187
186
  key: 0,
188
187
  class: "subtitle",
189
188
  size: "xs"
190
189
  }, {
191
- default: d(() => [
192
- y(r(e.subtitle), 1)
190
+ default: s(() => [
191
+ f(r(e.subtitle), 1)
193
192
  ]),
194
193
  _: 1
195
- })) : l("", !0)
194
+ })) : i("", !0)
196
195
  ], 512),
197
- t.$slots["icon-end"] || e.endIconKey && e.option[e.endIconKey] ? (o(), i("div", ie, [
198
- m(t.$slots, "icon-end", {}, () => [
199
- s(n(f), {
196
+ t.$slots["icon-end"] || e.endIconKey && e.option[e.endIconKey] ? (o(), l("div", ne, [
197
+ y(t.$slots, "icon-end", {}, () => [
198
+ a(n(T), {
200
199
  type: e.endIconType || "regular",
201
200
  name: e.option[e.endIconKey],
202
201
  size: e.endIconType === "regular" || e.endIconType === "ab-test" ? "20px" : "16px"
203
202
  }, null, 8, ["type", "name", "size"])
204
203
  ], !0)
205
- ])) : l("", !0),
206
- e.treeMainOption ? (o(), i("div", {
204
+ ])) : i("", !0),
205
+ e.treeMainOption ? (o(), l("div", {
207
206
  key: 5,
208
207
  class: "tree-main-arrow-wrapper",
209
- onClick: $(z, ["stop"])
208
+ onClick: I(E, ["stop"])
210
209
  }, [
211
- s(n(f), {
210
+ a(n(T), {
212
211
  name: "caret-down",
213
212
  size: "16px",
214
- class: k(`app-trigger--icon ${e.treeMainOptionExpanded && "expanded"}`)
213
+ class: v(`app-trigger--icon ${e.treeMainOptionExpanded && "expanded"}`)
215
214
  }, null, 8, ["class"])
216
- ], 8, le)) : l("", !0)
215
+ ], 8, oe)) : i("", !0)
217
216
  ], 2),
218
- n(K).clearable && n(h) ? (o(), i("div", ae, [
217
+ n(K).clearable && n(h) ? (o(), l("div", ie, [
219
218
  c("button", {
220
219
  class: "clear-button",
221
- onClick: p[1] || (p[1] = $((u) => n(K).clearSelection(), ["prevent", "stop"]))
220
+ onClick: k[1] || (k[1] = I((u) => n(K).clearSelection(), ["prevent", "stop"]))
222
221
  }, [
223
- s(n(f), {
222
+ a(n(T), {
224
223
  name: "close",
225
224
  width: "8",
226
225
  height: "8"
227
226
  })
228
227
  ])
229
- ])) : l("", !0)
228
+ ])) : i("", !0)
230
229
  ], 2)
231
230
  ]),
232
231
  _: 2
233
232
  }, [
234
233
  Array.isArray(n(x)) ? {
235
234
  name: "tooltip",
236
- fn: d(() => [
235
+ fn: s(() => [
237
236
  c("div", Q, [
238
- (o(!0), i(V, null, F(n(x), (u) => (o(), v(n(T), {
237
+ (o(!0), l(F, null, L(n(x), (u) => (o(), m(n(g), {
239
238
  key: u,
240
239
  variant: "body2"
241
240
  }, {
242
- default: d(() => [
243
- y(r(u), 1)
241
+ default: s(() => [
242
+ f(r(u), 1)
244
243
  ]),
245
244
  _: 2
246
245
  }, 1024))), 128))
@@ -252,5 +251,5 @@ const Q = { class: "multiline-tooltip" }, W = {
252
251
  }
253
252
  });
254
253
  export {
255
- he as default
254
+ pe as default
256
255
  };
@@ -3651,6 +3651,10 @@ declare const DropdownTypes: () => (({
3651
3651
  type: import("vue").PropType<boolean>;
3652
3652
  default: boolean;
3653
3653
  };
3654
+ loadingOverride: {
3655
+ type: import("vue").PropType<boolean>;
3656
+ default: boolean;
3657
+ };
3654
3658
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
3655
3659
  "update:selectedCondition": (value: {
3656
3660
  label: string;
@@ -3752,6 +3756,10 @@ declare const DropdownTypes: () => (({
3752
3756
  type: import("vue").PropType<boolean>;
3753
3757
  default: boolean;
3754
3758
  };
3759
+ loadingOverride: {
3760
+ type: import("vue").PropType<boolean>;
3761
+ default: boolean;
3762
+ };
3755
3763
  }>> & {
3756
3764
  onClear?: () => any;
3757
3765
  onClosed?: () => any;
@@ -3778,5 +3786,6 @@ declare const DropdownTypes: () => (({
3778
3786
  loadMoreFn: () => Promise<any[]>;
3779
3787
  fetchDataDebounceTime: number;
3780
3788
  autoFocusSearch: boolean;
3789
+ loadingOverride: boolean;
3781
3790
  }>)[];
3782
3791
  export { Dropdown, DefaultDropdownTrigger, IconButtonDropdownTrigger, ChipDropdownTrigger, ButtonDropdownTrigger, ButtonFilterDropdownTrigger, AppDropdownTrigger, DropdownTypes, Option, TreeDropdown, ConditionalDropdown, };
@@ -1,7 +1,7 @@
1
1
  import o from "./IconFlag.vue2.js";
2
- /* empty css */import e from "../../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../../IconFlag.vue_vue_type_style_index_0_scoped_be9dc7bb_lang.css"; //*');
4
- const t = /* @__PURE__ */ e(o, [["__scopeId", "data-v-be9dc7bb"]]);
2
+ /* empty css */import _ from "../../../_virtual/_plugin-vue_export-helper.js";
3
+ // import "../../../IconFlag.vue_vue_type_style_index_0_scoped_6526c390_lang.css"; //*');
4
+ const t = /* @__PURE__ */ _(o, [["__scopeId", "data-v-6526c390"]]);
5
5
  export {
6
6
  t as default
7
7
  };
@@ -1,4 +1,4 @@
1
- import "../../../IconFlag.vue_vue_type_style_index_0_scoped_be9dc7bb_lang.css"; import { defineComponent as n, computed as a, openBlock as e, createElementBlock as t, createElementVNode as c, unref as l } from "vue";
1
+ import "../../../IconFlag.vue_vue_type_style_index_0_scoped_6526c390_lang.css"; import { defineComponent as n, computed as a, openBlock as e, createElementBlock as t, createElementVNode as c, unref as l } from "vue";
2
2
  import { ASSETS_BASE_URL as i } from "./consts.js";
3
3
  const d = { class: "icon-flag" }, u = {
4
4
  xmlns: "http://www.w3.org/2000/svg",
@@ -1,7 +1,7 @@
1
1
  import o from "./SortableList.vue2.js";
2
- /* empty css */import t from "../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../SortableList.vue_vue_type_style_index_0_scoped_8f267f88_lang.css"; //*');
4
- const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-8f267f88"]]);
2
+ /* empty css */import e from "../../_virtual/_plugin-vue_export-helper.js";
3
+ // import "../../SortableList.vue_vue_type_style_index_0_scoped_f1f5f7e8_lang.css"; //*');
4
+ const f = /* @__PURE__ */ e(o, [["__scopeId", "data-v-f1f5f7e8"]]);
5
5
  export {
6
- p as default
6
+ f as default
7
7
  };
@@ -1,4 +1,4 @@
1
- import "../../SortableList.vue_vue_type_style_index_0_scoped_8f267f88_lang.css"; import { defineComponent as P, useCssVars as z, useSlots as G, computed as S, ref as U, openBlock as s, createElementBlock as r, mergeProps as V, unref as l, normalizeClass as K, renderSlot as g, createCommentVNode as h, createBlock as p, isRef as A, withCtx as I, Fragment as x, renderList as B, createSlots as E, createElementVNode as Q, createVNode as H, createTextVNode as j, toDisplayString as J } from "vue";
1
+ import "../../SortableList.vue_vue_type_style_index_0_scoped_f1f5f7e8_lang.css"; import { defineComponent as P, useCssVars as z, useSlots as G, computed as S, ref as U, openBlock as s, createElementBlock as r, mergeProps as V, unref as l, normalizeClass as K, renderSlot as g, createCommentVNode as h, createBlock as p, isRef as A, withCtx as I, Fragment as x, renderList as B, createSlots as E, createElementVNode as Q, createVNode as H, createTextVNode as j, toDisplayString as J } from "vue";
2
2
  import { VueDraggable as W } from "vue-draggable-plus";
3
3
  import N from "./SortableItem.vue.js";
4
4
  import X from "../search/v4/SearchV4.vue.js";
@@ -39,7 +39,7 @@ const te = {
39
39
  setup(d, { emit: n }) {
40
40
  const i = d;
41
41
  z((t) => ({
42
- "2b5787e0": d.zIndexBase
42
+ "4a0cbe7d": d.zIndexBase
43
43
  }));
44
44
  const y = G(), u = _(i, "search", n), k = S(() => !!u.value?.trim()), C = S(() => k.value ? i.items.filter((t) => {
45
45
  const a = t.children || [], e = u.value;
package/index.d.ts CHANGED
@@ -22817,6 +22817,10 @@ declare const _default: {
22817
22817
  type: import("vue").PropType<boolean>;
22818
22818
  default: boolean;
22819
22819
  };
22820
+ loadingOverride: {
22821
+ type: import("vue").PropType<boolean>;
22822
+ default: boolean;
22823
+ };
22820
22824
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
22821
22825
  "update:selectedCondition": (value: {
22822
22826
  label: string;
@@ -22918,6 +22922,10 @@ declare const _default: {
22918
22922
  type: import("vue").PropType<boolean>;
22919
22923
  default: boolean;
22920
22924
  };
22925
+ loadingOverride: {
22926
+ type: import("vue").PropType<boolean>;
22927
+ default: boolean;
22928
+ };
22921
22929
  }>> & {
22922
22930
  onClear?: () => any;
22923
22931
  onClosed?: () => any;
@@ -22944,6 +22952,7 @@ declare const _default: {
22944
22952
  loadMoreFn: () => Promise<any[]>;
22945
22953
  fetchDataDebounceTime: number;
22946
22954
  autoFocusSearch: boolean;
22955
+ loadingOverride: boolean;
22947
22956
  }>)[];
22948
22957
  Option: {
22949
22958
  new (...args: any[]): {
@@ -23986,6 +23995,10 @@ declare const _default: {
23986
23995
  type: import("vue").PropType<boolean>;
23987
23996
  default: boolean;
23988
23997
  };
23998
+ loadingOverride: {
23999
+ type: import("vue").PropType<boolean>;
24000
+ default: boolean;
24001
+ };
23989
24002
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
23990
24003
  "update:selectedCondition": (value: {
23991
24004
  label: string;
@@ -24087,6 +24100,10 @@ declare const _default: {
24087
24100
  type: import("vue").PropType<boolean>;
24088
24101
  default: boolean;
24089
24102
  };
24103
+ loadingOverride: {
24104
+ type: import("vue").PropType<boolean>;
24105
+ default: boolean;
24106
+ };
24090
24107
  }>> & {
24091
24108
  onClear?: () => any;
24092
24109
  onClosed?: () => any;
@@ -24113,6 +24130,7 @@ declare const _default: {
24113
24130
  loadMoreFn: () => Promise<any[]>;
24114
24131
  fetchDataDebounceTime: number;
24115
24132
  autoFocusSearch: boolean;
24133
+ loadingOverride: boolean;
24116
24134
  }>;
24117
24135
  Label: {
24118
24136
  new (...args: any[]): {
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import './AutocompleteDropdown.vue_vue_type_style_index_0_scoped_214ddaf4_lang.css';
1
+ import './IncludeExcludeOptionDraggable.vue_vue_type_style_index_0_scoped_a91fcaa5_lang.css';
2
2
  import { AppTriggerTypes as ro } from "./components/appTrigger/index.js";
3
3
  import { AutocompleteDropdownTypes as mo } from "./components/autocompleteDropdown/index.js";
4
4
  import { MenuItemTypes as po } from "./components/menuItem/index.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ironsource/shared-ui",
3
- "version": "2.1.11-rc.52",
3
+ "version": "2.1.11-rc.54",
4
4
  "engines": {
5
5
  "npm": ">=7.0.0",
6
6
  "node": ">=16.0.0"
@@ -1 +0,0 @@
1
- .chart-container[data-v-277fde76]{border:1px solid var(--common-divider);background:var(--background-paper);display:flex;height:388px;border-radius:0 0 6px 6px;width:100%}.header-wrapper[data-v-277fde76]{height:76px}.chart-content[data-v-277fde76]{width:100%}.chart-content.with-legend[data-v-277fde76]{width:calc(100% - 221px)}.chart-sidebar[data-v-277fde76]{border-left:1px solid var(--common-divider)}.chart[data-v-277fde76]{width:100%;height:312px;position:relative}.chart__canvas[data-v-277fde76]{width:100%;height:100%}.chart__tooltip[data-v-277fde76]{position:absolute;pointer-events:none;transition:all .1s ease;min-width:214px;max-width:270px}
@@ -1 +0,0 @@
1
- .custom-list-area[data-v-2ba23450]{color:var(--text-secondary);width:100%;text-align:center;box-sizing:border-box;padding:63px 43px}.inline-search[data-v-2ba23450]{width:100%}.contain-accept[data-v-2ba23450]{padding:6px 8px;margin-bottom:4px;cursor:pointer}.contain-accept[data-v-2ba23450]:hover{background-color:var(--action-hover);border-radius:.5rem}.contain-accept--query[data-v-2ba23450]{margin-left:4px;display:inline-flex;color:var(--primary-main)}
@@ -1 +0,0 @@
1
- .default-dropdown-wrapper[data-v-9fa84b26]{position:relative}.dropdown-trigger[data-v-9fa84b26]{width:100%;padding:.3125rem .4375rem;display:flex;column-gap:.25rem;max-width:100%;box-sizing:border-box;border-radius:var(--border-radius-md);border:1px solid var(--action-outlined-border);background:var(--default-main);cursor:pointer;user-select:none;position:relative}.dropdown-trigger[data-v-9fa84b26]:hover{border:1px solid var(--action-active);background:var(--action-hover)}.dropdown-trigger.small[data-v-9fa84b26]{padding:.1875rem .4375rem}.dropdown-trigger.large[data-v-9fa84b26]{padding:.5625rem .4375rem}.dropdown-trigger.disabled[data-v-9fa84b26]{border:1px solid var(--action-outlined-border, #bbb);background:var(--action-disabled-background, #f1f1f1);cursor:not-allowed}.dropdown-trigger.disabled .displayed-value[data-v-9fa84b26],.dropdown-trigger.disabled .caret-down[data-v-9fa84b26]{color:var(--text-disabled)}.dropdown-trigger.open[data-v-9fa84b26]{padding:.25rem .375rem;border:2px solid var(--primary-main)}.dropdown-trigger.open.small[data-v-9fa84b26]{padding:.125rem .375rem}.dropdown-trigger.open.large[data-v-9fa84b26]{padding:.5rem .375rem}.dropdown-trigger.state-error[data-v-9fa84b26],.dropdown-trigger.state-success[data-v-9fa84b26],.dropdown-trigger.state-warning[data-v-9fa84b26]{padding:4px 6px}.dropdown-trigger.state-error.small[data-v-9fa84b26],.dropdown-trigger.state-success.small[data-v-9fa84b26],.dropdown-trigger.state-warning.small[data-v-9fa84b26]{padding:.1875rem .4375rem}.dropdown-trigger.state-error.large[data-v-9fa84b26],.dropdown-trigger.state-success.large[data-v-9fa84b26],.dropdown-trigger.state-warning.large[data-v-9fa84b26]{padding:.5625rem .4375rem}.dropdown-trigger.state-error[data-v-9fa84b26]{border:2px solid var(--error-main)}.dropdown-trigger.state-success[data-v-9fa84b26]{border:2px solid var(--success-main)}.dropdown-trigger.state-warning[data-v-9fa84b26]{border:2px solid var(--warning-dark)}.dropdown-trigger .caret-down[data-v-9fa84b26]{color:var(--action-active)}.content[data-v-9fa84b26]{display:flex;flex:1;gap:.25rem;align-items:center;color:var(--text-primary)}.content .displayed-value[data-v-9fa84b26]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.content .image[data-v-9fa84b26]{width:20px;height:20px;flex:none}.content .image img[data-v-9fa84b26]{border-radius:4px;width:100%;height:100%}.content .start-icon[data-v-9fa84b26]{display:flex;color:var(--action-active)}.content .status-dot[data-v-9fa84b26]{padding-right:.25rem}.content .status-dot>div[data-v-9fa84b26]{position:relative;top:-1px}.dropdown-field-label[data-v-9fa84b26]{color:var(--text-primary)}.dropdown-field-help-text[data-v-9fa84b26]{margin-top:4px;position:absolute}.flag[data-v-9fa84b26]{width:16px;height:16px}.flag img[data-v-9fa84b26]{width:16px;height:16px;border-radius:50%}
@@ -1 +0,0 @@
1
- .label[data-v-2c2947b3]{color:#41454d}.item-container[data-v-2c2947b3]{width:100%;display:flex;align-items:center;cursor:pointer;border-radius:var(--border-radius-lg);margin-bottom:.25rem;color:var(--text-primary);padding:6px 8px}.item-container--disabled[data-v-2c2947b3]{cursor:initial;color:var(--text-disabled)}.item-container[data-v-2c2947b3]:hover:not(.item-container--disabled){background-color:var(--action-hover)}.item-container--active[data-v-2c2947b3],.item-container[data-v-2c2947b3]:active{background-color:var(--action-selected)}.item-container:not(.item-container--multi).item-container--selected[data-v-2c2947b3]{background-color:var(--action-selected)}.subtitle[data-v-2c2947b3]{color:#7b838c;line-height:1rem}.clear-button[data-v-2c2947b3]{display:flex;padding:0 4px;color:#7b838c;align-items:center;height:auto;background-image:none;min-width:auto;border:none;background-color:transparent}.clear-button[data-v-2c2947b3]:hover{color:#3083ff}.item[data-v-2c2947b3]{width:100%;display:flex;gap:.5rem;align-items:center}.item--with-icon[data-v-2c2947b3],.item--multi[data-v-2c2947b3]{display:flex;flex-direction:row;align-items:center;justify-content:start}.item .image[data-v-2c2947b3]{width:20px;height:20px;flex:none}.item .image img[data-v-2c2947b3]{width:20px;height:20px;border-radius:4px}.item .flag[data-v-2c2947b3]{width:16px;height:16px}.item .flag img[data-v-2c2947b3]{width:16px;height:16px;border-radius:50%}.item .start-icon[data-v-2c2947b3],.item .end-icon[data-v-2c2947b3]{display:flex;color:var(--action-active)}.item .end-text-icon[data-v-2c2947b3]{display:inline-flex}.item .option-text[data-v-2c2947b3]{line-height:1.1875rem}.text-container[data-v-2c2947b3]{width:100%;text-overflow:ellipsis;overflow:hidden}.tooltip-option[data-v-2c2947b3]{display:block}.tooltip-option[data-v-2c2947b3] .container{width:100%}.app-trigger--icon[data-v-2c2947b3]{color:var(--action-active);transform:rotate(-90deg);transition:transform .2s}.app-trigger--icon.expanded[data-v-2c2947b3]{transform:rotate(0)}.option-content[data-v-2c2947b3]{display:flex}.option-content[data-v-2c2947b3]:not(.option-content-vertical){gap:.5rem;align-items:center}.option-content-horizontal[data-v-2c2947b3]{justify-content:space-between;gap:.5rem}.option-content-vertical[data-v-2c2947b3]{flex-direction:column}.option-text .main-text[data-v-2c2947b3]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;text-align:left}.option-text .main-text .conditional-option-label[data-v-2c2947b3]{color:var(--text-secondary);display:inline-flex}.option-text .main-text .conditional-option-value[data-v-2c2947b3]{margin-left:4px;display:inline-flex;color:var(--primary-main)}.option-text .caption-text[data-v-2c2947b3]{color:var(--text-secondary)}.multiline-tooltip[data-v-2c2947b3]{display:flex;flex-direction:column}
@@ -1 +0,0 @@
1
- .sortable-list-and-header-container[data-v-8f267f88]{display:flex;flex-direction:column;overflow-y:auto;width:100%}.header-container[data-v-8f267f88]{background-color:var(--background-default);display:flex;flex-direction:column;padding-bottom:var(--spacing-100);width:100%}.header-container.sticky[data-v-8f267f88]{position:sticky;top:0;z-index:calc(var(--2b5787e0) + 3)}.sortable-list[data-v-8f267f88],.locked-list[data-v-8f267f88]{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:var(--spacing-75);color:var(--text-primary)}.locked-list[data-v-8f267f88]{margin-top:var(--spacing-75)}.force-grabbing-cursor *[data-v-8f267f88]{cursor:move!important;cursor:-webkit-grabbing!important;cursor:-moz-grabbing!important;cursor:grabbing!important}.empty-state-title[data-v-8f267f88]{color:var(--text-disabled);padding:0 8px;width:100%}.loader-bars[data-v-8f267f88]{display:flex;flex-direction:column;gap:6px}.loader-bars .loader-bar[data-v-8f267f88]{height:40px;width:100%}
package/consts/configs.js DELETED
@@ -1,4 +0,0 @@
1
- const s = "https://shared-platform-assets.ironsrc.mobi";
2
- export {
3
- s as SHARED_ASSETS_CDN_DOMAIN
4
- };