@ironsource/shared-ui 2.1.11-rc.50 → 2.1.11-rc.51

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
+ .custom-list-area[data-v-2c6a03f9]{color:var(--text-secondary);width:100%;text-align:center;box-sizing:border-box;padding:63px 43px}.inline-search[data-v-2c6a03f9]{width:100%}.contain-accept[data-v-2c6a03f9]{padding:6px 8px;margin-bottom:4px;cursor:pointer}.contain-accept[data-v-2c6a03f9]:hover{background-color:var(--action-hover);border-radius:.5rem}.contain-accept--query[data-v-2c6a03f9]{margin-left:4px;display:inline-flex;color:var(--primary-main)}
@@ -1,3 +1,4 @@
1
+ import { IconTypes } from '@is-ssp/icon/v4/Icon.types';
1
2
  type SelectedCondition = {
2
3
  label: string;
3
4
  value: string;
@@ -15,12 +16,15 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
15
16
  minCharsToStart?: number;
16
17
  isOpen?: boolean;
17
18
  searchQuery?: string;
18
- loadMoreFn?: () => Promise<void>;
19
+ loadMoreFn?: () => Promise<any[]>;
19
20
  infiniteLoading?: boolean;
20
21
  fetchDataDebounceTime?: number;
21
22
  autoFocusSearch?: boolean;
22
23
  groupedOptions?: boolean;
23
24
  optionFlagKey?: string;
25
+ optionIconKey?: string;
26
+ optionImageKey?: string;
27
+ optionIconType?: IconTypes;
24
28
  }>, {
25
29
  label: string;
26
30
  testId: string;
@@ -35,6 +39,9 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
35
39
  autoFocusSearch: boolean;
36
40
  groupedOptions: boolean;
37
41
  optionFlagKey: string;
42
+ optionIconKey: string;
43
+ optionImageKey: string;
44
+ optionIconType: any;
38
45
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
39
46
  "update:selectedCondition": (value: SelectedCondition) => void;
40
47
  "update:appliedSelections": (value: unknown) => void;
@@ -51,12 +58,15 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
51
58
  minCharsToStart?: number;
52
59
  isOpen?: boolean;
53
60
  searchQuery?: string;
54
- loadMoreFn?: () => Promise<void>;
61
+ loadMoreFn?: () => Promise<any[]>;
55
62
  infiniteLoading?: boolean;
56
63
  fetchDataDebounceTime?: number;
57
64
  autoFocusSearch?: boolean;
58
65
  groupedOptions?: boolean;
59
66
  optionFlagKey?: string;
67
+ optionIconKey?: string;
68
+ optionImageKey?: string;
69
+ optionIconType?: IconTypes;
60
70
  }>, {
61
71
  label: string;
62
72
  testId: string;
@@ -71,6 +81,9 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
71
81
  autoFocusSearch: boolean;
72
82
  groupedOptions: boolean;
73
83
  optionFlagKey: string;
84
+ optionIconKey: string;
85
+ optionImageKey: string;
86
+ optionIconType: any;
74
87
  }>>> & {
75
88
  onClear?: () => any;
76
89
  "onUpdate:selectedCondition"?: (value: SelectedCondition) => any;
@@ -81,12 +94,15 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
81
94
  isOpen: boolean;
82
95
  infiniteLoading: boolean;
83
96
  optionNameKey: string;
97
+ optionIconKey: string;
98
+ optionImageKey: string;
99
+ optionIconType: IconTypes;
84
100
  optionFlagKey: string;
85
101
  groupedOptions: boolean;
86
102
  comparingKey: string;
87
103
  minCharsToStart: number;
88
104
  searchQuery: string;
89
- loadMoreFn: () => Promise<void>;
105
+ loadMoreFn: () => Promise<any[]>;
90
106
  fetchDataDebounceTime: number;
91
107
  autoFocusSearch: boolean;
92
108
  }>;
@@ -1,7 +1,7 @@
1
1
  import o from "./ConditionalDropdown.vue2.js";
2
2
  /* empty css */import _ from "../../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../../ConditionalDropdown.vue_vue_type_style_index_0_scoped_8f96cf5a_lang.css"; //*');
4
- const n = /* @__PURE__ */ _(o, [["__scopeId", "data-v-8f96cf5a"]]);
3
+ // import "../../../ConditionalDropdown.vue_vue_type_style_index_0_scoped_2c6a03f9_lang.css"; //*');
4
+ const n = /* @__PURE__ */ _(o, [["__scopeId", "data-v-2c6a03f9"]]);
5
5
  export {
6
6
  n as default
7
7
  };
@@ -1,18 +1,18 @@
1
- import "../../../ConditionalDropdown.vue_vue_type_style_index_0_scoped_8f96cf5a_lang.css"; import { defineComponent as $, computed as C, ref as s, watch as w, onMounted as I, openBlock as T, createBlock as j, unref as d, withCtx as f, createVNode as y, mergeProps as q, createElementVNode as G, isRef as H, normalizeProps as J, guardReactiveProps as W, createElementBlock as X, createTextVNode as Y, toDisplayString as Z, createCommentVNode as _ } from "vue";
2
- import A from "./DropdownV4.vue.js";
1
+ import "../../../ConditionalDropdown.vue_vue_type_style_index_0_scoped_2c6a03f9_lang.css"; import { defineComponent as $, computed as C, ref as s, watch as O, onMounted as j, openBlock as D, createBlock as W, unref as d, withCtx as f, createVNode as g, mergeProps as q, createElementVNode as G, isRef as H, normalizeProps as J, guardReactiveProps as X, createElementBlock as Y, createTextVNode as Z, toDisplayString as _, createCommentVNode as ee } from "vue";
2
+ import N from "./DropdownV4.vue.js";
3
3
  import "./DefaultDropdownTrigger.vue.js";
4
4
  import "./IconButtonDropdownTrigger.vue.js";
5
- import ee from "./ChipDropdownTrigger.vue.js";
5
+ import le from "./ChipDropdownTrigger.vue.js";
6
6
  import "./AppDropdownTrigger.vue.js";
7
- import le from "./ButtonDropdownTrigger.vue.js";
7
+ import oe from "./ButtonDropdownTrigger.vue.js";
8
8
  import "./ButtonFilterDropdownTrigger.vue.js";
9
9
  import "./TreeDropdown.vue.js";
10
10
  import "./OptionV4.vue.js";
11
11
  import "./ConditionalDropdown.vue.js";
12
12
  import ae from "../../search/v4/SearchV4.vue.js";
13
13
  import te from "../../typography/v4/Typography.vue.js";
14
- import { useDebounceFn as oe } from "@vueuse/core";
15
- const ne = { class: "conditional-container" }, ie = {
14
+ import { useDebounceFn as ne } from "@vueuse/core";
15
+ const ie = { class: "conditional-container" }, ue = {
16
16
  key: 0,
17
17
  class: "custom-list-area"
18
18
  }, Oe = /* @__PURE__ */ $({
@@ -34,125 +34,132 @@ const ne = { class: "conditional-container" }, ie = {
34
34
  fetchDataDebounceTime: { default: 400 },
35
35
  autoFocusSearch: { type: Boolean, default: !0 },
36
36
  groupedOptions: { type: Boolean, default: !1 },
37
- optionFlagKey: { default: "" }
37
+ optionFlagKey: { default: "" },
38
+ optionIconKey: { default: "" },
39
+ optionImageKey: { default: "" },
40
+ optionIconType: { default: null }
38
41
  },
39
42
  emits: ["update:selectedCondition", "update:appliedSelections", "clear"],
40
- setup(r, { emit: O }) {
43
+ setup(r, { emit: k }) {
41
44
  const e = r, h = C({
42
45
  get: () => e.appliedSelections,
43
46
  set: (l) => {
44
- O("update:appliedSelections", l);
47
+ k("update:appliedSelections", l);
45
48
  }
46
49
  }), n = C({
47
50
  get: () => e.selectedCondition || e.conditionalOptions[0],
48
51
  set: (l) => {
49
- O("update:selectedCondition", l);
52
+ k("update:selectedCondition", l);
50
53
  }
51
- }), k = s(null), p = s(!0), t = s([]), u = s([]), K = s(!0), c = s(!1), S = s(!1), i = s(e.searchQuery), N = s(""), m = s(e.label), D = s([]), L = C(() => (!i.value || i.value?.length < e.minCharsToStart) && !t.value.length ? `Enter at least ${e.minCharsToStart} keywords to begin` : "No results found"), F = C(() => {
52
- const l = p.value ? 4 : 4.5, o = t.value.length > 4 ? t.value.length : l;
54
+ }), w = s(null), c = s(!0), a = s([]), u = s(
55
+ Array.isArray(e.appliedSelections) ? e.appliedSelections : [e.appliedSelections]
56
+ ), K = s(!0), p = s(!1), S = s(!1), i = s(e.searchQuery), L = s(""), m = s(e.label), T = s([]), F = C(() => (!i.value || i.value?.length < e.minCharsToStart) && !a.value.length ? `Enter at least ${e.minCharsToStart} keywords to begin` : "No results found"), U = C(() => {
57
+ const l = c.value ? 4 : 4.5, t = a.value.length > 4 ? a.value.length : l;
53
58
  if (e.groupedOptions) {
54
- let a = 0;
55
- return t.value.forEach((g) => {
56
- g.options && (a = a + g.options.length);
57
- }), a > 4 ? a : l;
59
+ let o = 0;
60
+ return a.value.forEach((y) => {
61
+ y.options && (o = o + y.options.length);
62
+ }), o > 4 ? o : l;
58
63
  }
59
- return o > l ? o : l;
60
- }), U = (l, o) => {
61
- if (e.infiniteLoading && n.value.multi && Array.isArray(u.value) && u.value.length && l && o.length) {
62
- const a = [], g = u.value.filter(
64
+ return t > l ? t : l;
65
+ }), B = (l, t) => {
66
+ if (e.infiniteLoading && n.value.multi && Array.isArray(u.value) && u.value.length && l && t.length) {
67
+ const o = [], y = u.value.filter(
63
68
  (v) => v[e.optionNameKey].includes(l)
64
69
  );
65
- return o.forEach((v) => {
66
- g.find(
70
+ return t.forEach((v) => {
71
+ y.find(
67
72
  (z) => z[e.comparingKey] === v[e.comparingKey]
68
- ) && a.push(v[e.comparingKey]);
69
- }), g.filter(
70
- (v) => !a.includes(v[e.comparingKey])
73
+ ) && o.push(v[e.comparingKey]);
74
+ }), y.filter(
75
+ (v) => !o.includes(v[e.comparingKey])
71
76
  );
72
77
  }
73
78
  return [];
74
- }, B = async (l) => {
79
+ }, I = async (l) => {
75
80
  try {
76
- c.value = !0;
77
- const o = await e.fetchFnCallback(l), a = U(
81
+ p.value = !0;
82
+ const t = await e.fetchFnCallback(l), o = B(
78
83
  l,
79
- o
84
+ t
80
85
  );
81
- t.value = [...a, ...o], c.value = !1;
82
- } catch (o) {
83
- c.value = !1, console.error("Error fetching data:", o);
86
+ a.value = [...o, ...t], p.value = !1;
87
+ } catch (t) {
88
+ p.value = !1, console.error("Error fetching data:", t);
84
89
  }
85
90
  }, M = async () => {
86
91
  if (e.infiniteLoading)
87
92
  try {
88
93
  S.value = !0;
89
94
  const l = await e.loadMoreFn();
90
- S.value = !1, Array.isArray(l) && (t.value = [...t.value, ...l]);
95
+ S.value = !1, Array.isArray(l) && (a.value = [...a.value, ...l]);
91
96
  } catch (l) {
92
97
  S.value = !1, console.error("Error fetching data:", l);
93
98
  }
94
- }, E = oe(
95
- B,
99
+ }, E = ne(
100
+ I,
96
101
  e.fetchDataDebounceTime
97
102
  ), b = (l) => {
98
- l.length >= e.minCharsToStart ? (E(l), k.value?.scrollTo(0)) : e.infiniteLoading && n.value.multi ? t.value = D.value || [] : t.value = [];
103
+ l.length >= e.minCharsToStart ? (E(l), w.value?.scrollTo(0)) : e.infiniteLoading && n.value.multi ? a.value = T.value || [] : a.value = [];
99
104
  }, V = () => {
100
- i.value && t.value.length && !c.value && !n.value.multi ? t.value[0].conditionalOptions ? t.value[0] = {
105
+ i.value && a.value.length && !p.value && !n.value.multi ? a.value[0].conditionalOptions ? a.value[0] = {
101
106
  name: i.value,
102
107
  conditionalOptions: !0,
103
108
  conditionalName: n.value.label,
104
109
  [e.comparingKey]: i.value
105
- } : t.value = [
110
+ } : a.value = [
106
111
  {
107
112
  name: i.value,
108
113
  conditionalOptions: !0,
109
114
  conditionalName: n.value.label,
110
115
  [e.comparingKey]: i.value
111
116
  },
112
- ...t.value
113
- ] : t.value.length && t.value[0].conditionalOptions && t.value.shift();
117
+ ...a.value
118
+ ] : a.value.length && a.value[0].conditionalOptions && a.value.shift();
119
+ }, A = () => {
120
+ c.value && u.value.length === 0 ? m.value = e.label : m.value = `${e.label} ${n.value.label.toLowerCase()}`;
114
121
  };
115
- w(i, () => {
122
+ O(i, () => {
116
123
  b(i.value);
117
- }), w([n, t], () => {
124
+ }), O([n, a], () => {
118
125
  V();
119
126
  });
120
127
  const x = () => {
121
- p.value && u.value.length === 0 ? (n.value = null, h.value = [], n.value = null, m.value = e.label) : (N.value = i.value, m.value = `${e.label} ${n.value.label.toLowerCase()}`, h.value = p.value ? [...u.value] : { ...u.value }, K.value = p.value);
128
+ c.value && u.value.length === 0 ? (n.value = null, h.value = [], n.value = null) : (L.value = i.value, h.value = c.value ? [...u.value] : { ...u.value }, K.value = c.value), A();
122
129
  };
123
- w(n, (l, o) => {
124
- n.value.multi ? (c.value = !0, !o.multi && l.multi && Array.isArray(e.appliedSelections) && (u.value = e.appliedSelections), setTimeout(() => {
125
- c.value = !1, p.value = !0;
130
+ O(n, (l, t) => {
131
+ n.value.multi ? (p.value = !0, !t.multi && l.multi && Array.isArray(e.appliedSelections) && (u.value = e.appliedSelections), setTimeout(() => {
132
+ p.value = !1, c.value = !0;
126
133
  }, 100)) : setTimeout(() => {
127
- p.value = !1;
134
+ c.value = !1;
128
135
  }, 100);
129
136
  });
130
- const Q = (l) => {
131
- D.value = l;
132
- }, P = () => {
133
- u.value = [], h.value = [], n.value = null, m.value = e.label, i.value = "", O("clear");
137
+ const P = (l) => {
138
+ T.value = l;
139
+ }, Q = () => {
140
+ u.value = [], h.value = [], n.value = null, m.value = e.label, i.value = "", k("clear");
134
141
  }, R = (l) => {
135
- l && n.value.multi && e.infiniteLoading && u.value && (t.value = u.value, i.value && b(i.value));
142
+ l && n.value.multi && e.infiniteLoading && u.value && (a.value = u.value, i.value && b(i.value));
136
143
  };
137
- return I(() => {
138
- (e.searchQuery || !e.infiniteLoading) && b(e.searchQuery);
139
- }), (l, o) => (T(), j(d(A), {
144
+ return j(() => {
145
+ (e.searchQuery || !e.infiniteLoading) && b(e.searchQuery), A();
146
+ }), (l, t) => (D(), W(d(N), {
140
147
  ref_key: "dropdownRef",
141
- ref: k,
148
+ ref: w,
142
149
  selected: u.value,
143
- "onUpdate:selected": o[2] || (o[2] = (a) => u.value = a),
150
+ "onUpdate:selected": t[2] || (t[2] = (o) => u.value = o),
144
151
  "predefined-trigger": "chip",
145
- "display-value": (a) => a?.[r.optionNameKey],
146
- multi: p.value,
147
- options: t.value,
152
+ "display-value": (o) => o?.[r.optionNameKey],
153
+ multi: c.value,
154
+ options: a.value,
148
155
  placeholder: m.value,
149
156
  "search-placeholder": "Search",
150
157
  "option-name-key": r.optionNameKey,
151
158
  "with-conditions": "",
152
159
  "inline-search": "",
153
- "custom-number-of-displayed-options": d(F),
160
+ "custom-number-of-displayed-options": d(U),
154
161
  "options-list-width": "330px",
155
- loading: c.value,
162
+ loading: p.value,
156
163
  "load-more-loading": S.value,
157
164
  "comparing-key": r.comparingKey,
158
165
  "is-open": r.isOpen,
@@ -160,44 +167,47 @@ const ne = { class: "conditional-container" }, ie = {
160
167
  "show-select-all": !r.infiniteLoading && !i.value,
161
168
  "grouped-options": r.groupedOptions,
162
169
  "option-flag-key": r.optionFlagKey,
170
+ "option-image-key": r.optionImageKey,
171
+ "option-icon-key": r.optionIconKey,
172
+ "option-icon-type": r.optionIconType,
163
173
  "onUpdate:isOpen": R,
164
174
  onOnsearch: b,
165
175
  onApply: x,
166
176
  onLoadMore: M,
167
- onUnsavedSelectionUpdate: Q
177
+ onUnsavedSelectionUpdate: P
168
178
  }, {
169
- "dropdown-trigger": f(({ defaultTriggerProps: a }) => [
170
- y(d(ee), q(a, {
179
+ "dropdown-trigger": f(({ defaultTriggerProps: o }) => [
180
+ g(d(le), q(o, {
171
181
  label: m.value,
172
182
  "selected-option": d(h),
173
183
  multi: K.value,
174
184
  "cancel-all-selected-display": "",
175
185
  "display-value-in-quotes": !Array.isArray(u.value) && u.value.conditionalOptions,
176
- onClear: P
186
+ onClear: Q
177
187
  }), null, 16, ["label", "selected-option", "multi", "display-value-in-quotes"])
178
188
  ]),
179
189
  "dropdown-conditions": f(() => [
180
- G("div", ne, [
181
- y(d(A), {
190
+ G("div", ie, [
191
+ g(d(N), {
182
192
  selected: d(n),
183
- "onUpdate:selected": o[0] || (o[0] = (a) => H(n) ? n.value = a : null),
193
+ "onUpdate:selected": t[0] || (t[0] = (o) => H(n) ? n.value = o : null),
184
194
  options: r.conditionalOptions,
185
195
  "option-name-key": "label",
186
- "display-value": (a) => a?.label,
196
+ "display-value": (o) => o?.label,
187
197
  container: ".conditional-container",
188
198
  size: "small"
189
199
  }, {
190
- "dropdown-trigger": f(({ buttonTriggerProps: a }) => [
191
- y(d(le), J(W(a)), null, 16)
200
+ "dropdown-trigger": f(({ buttonTriggerProps: o }) => [
201
+ g(d(oe), J(X(o)), null, 16)
192
202
  ]),
193
203
  _: 1
194
204
  }, 8, ["selected", "options", "display-value"])
195
205
  ])
196
206
  ]),
197
207
  "inline-search": f(() => [
198
- y(d(ae), {
208
+ g(d(ae), {
199
209
  modelValue: i.value,
200
- "onUpdate:modelValue": o[1] || (o[1] = (a) => i.value = a),
210
+ "onUpdate:modelValue": t[1] || (t[1] = (o) => i.value = o),
201
211
  class: "inline-search",
202
212
  placeholder: "Search",
203
213
  variant: "transparent",
@@ -206,17 +216,17 @@ const ne = { class: "conditional-container" }, ie = {
206
216
  }, null, 8, ["modelValue", "auto-focus"])
207
217
  ]),
208
218
  "custom-list-area": f(() => [
209
- !t.value.length && !c.value ? (T(), X("div", ie, [
210
- y(te, { variant: "body1" }, {
219
+ !a.value.length && !p.value ? (D(), Y("div", ue, [
220
+ g(te, { variant: "body1" }, {
211
221
  default: f(() => [
212
- Y(Z(d(L)), 1)
222
+ Z(_(d(F)), 1)
213
223
  ]),
214
224
  _: 1
215
225
  })
216
- ])) : _("", !0)
226
+ ])) : ee("", !0)
217
227
  ]),
218
228
  _: 1
219
- }, 8, ["selected", "display-value", "multi", "options", "placeholder", "option-name-key", "custom-number-of-displayed-options", "loading", "load-more-loading", "comparing-key", "is-open", "infinite-loading", "show-select-all", "grouped-options", "option-flag-key"]));
229
+ }, 8, ["selected", "display-value", "multi", "options", "placeholder", "option-name-key", "custom-number-of-displayed-options", "loading", "load-more-loading", "comparing-key", "is-open", "infinite-loading", "show-select-all", "grouped-options", "option-flag-key", "option-image-key", "option-icon-key", "option-icon-type"]));
220
230
  }
221
231
  });
222
232
  export {
@@ -3582,6 +3582,18 @@ declare const DropdownTypes: () => (({
3582
3582
  required: true;
3583
3583
  default: string;
3584
3584
  };
3585
+ optionIconKey: {
3586
+ type: import("vue").PropType<string>;
3587
+ default: string;
3588
+ };
3589
+ optionImageKey: {
3590
+ type: import("vue").PropType<string>;
3591
+ default: string;
3592
+ };
3593
+ optionIconType: {
3594
+ type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate">;
3595
+ default: any;
3596
+ };
3585
3597
  optionFlagKey: {
3586
3598
  type: import("vue").PropType<string>;
3587
3599
  default: string;
@@ -3628,7 +3640,7 @@ declare const DropdownTypes: () => (({
3628
3640
  default: string;
3629
3641
  };
3630
3642
  loadMoreFn: {
3631
- type: import("vue").PropType<() => Promise<void>>;
3643
+ type: import("vue").PropType<() => Promise<any[]>>;
3632
3644
  default: any;
3633
3645
  };
3634
3646
  fetchDataDebounceTime: {
@@ -3670,6 +3682,18 @@ declare const DropdownTypes: () => (({
3670
3682
  required: true;
3671
3683
  default: string;
3672
3684
  };
3685
+ optionIconKey: {
3686
+ type: import("vue").PropType<string>;
3687
+ default: string;
3688
+ };
3689
+ optionImageKey: {
3690
+ type: import("vue").PropType<string>;
3691
+ default: string;
3692
+ };
3693
+ optionIconType: {
3694
+ type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate">;
3695
+ default: any;
3696
+ };
3673
3697
  optionFlagKey: {
3674
3698
  type: import("vue").PropType<string>;
3675
3699
  default: string;
@@ -3716,7 +3740,7 @@ declare const DropdownTypes: () => (({
3716
3740
  default: string;
3717
3741
  };
3718
3742
  loadMoreFn: {
3719
- type: import("vue").PropType<() => Promise<void>>;
3743
+ type: import("vue").PropType<() => Promise<any[]>>;
3720
3744
  default: any;
3721
3745
  };
3722
3746
  fetchDataDebounceTime: {
@@ -3741,12 +3765,15 @@ declare const DropdownTypes: () => (({
3741
3765
  isOpen: boolean;
3742
3766
  infiniteLoading: boolean;
3743
3767
  optionNameKey: string;
3768
+ optionIconKey: string;
3769
+ optionImageKey: string;
3770
+ optionIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
3744
3771
  optionFlagKey: string;
3745
3772
  groupedOptions: boolean;
3746
3773
  comparingKey: string;
3747
3774
  minCharsToStart: number;
3748
3775
  searchQuery: string;
3749
- loadMoreFn: () => Promise<void>;
3776
+ loadMoreFn: () => Promise<any[]>;
3750
3777
  fetchDataDebounceTime: number;
3751
3778
  autoFocusSearch: boolean;
3752
3779
  }>)[];
package/index.d.ts CHANGED
@@ -22748,6 +22748,18 @@ declare const _default: {
22748
22748
  required: true;
22749
22749
  default: string;
22750
22750
  };
22751
+ optionIconKey: {
22752
+ type: import("vue").PropType<string>;
22753
+ default: string;
22754
+ };
22755
+ optionImageKey: {
22756
+ type: import("vue").PropType<string>;
22757
+ default: string;
22758
+ };
22759
+ optionIconType: {
22760
+ type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate">;
22761
+ default: any;
22762
+ };
22751
22763
  optionFlagKey: {
22752
22764
  type: import("vue").PropType<string>;
22753
22765
  default: string;
@@ -22794,7 +22806,7 @@ declare const _default: {
22794
22806
  default: string;
22795
22807
  };
22796
22808
  loadMoreFn: {
22797
- type: import("vue").PropType<() => Promise<void>>;
22809
+ type: import("vue").PropType<() => Promise<any[]>>;
22798
22810
  default: any;
22799
22811
  };
22800
22812
  fetchDataDebounceTime: {
@@ -22836,6 +22848,18 @@ declare const _default: {
22836
22848
  required: true;
22837
22849
  default: string;
22838
22850
  };
22851
+ optionIconKey: {
22852
+ type: import("vue").PropType<string>;
22853
+ default: string;
22854
+ };
22855
+ optionImageKey: {
22856
+ type: import("vue").PropType<string>;
22857
+ default: string;
22858
+ };
22859
+ optionIconType: {
22860
+ type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate">;
22861
+ default: any;
22862
+ };
22839
22863
  optionFlagKey: {
22840
22864
  type: import("vue").PropType<string>;
22841
22865
  default: string;
@@ -22882,7 +22906,7 @@ declare const _default: {
22882
22906
  default: string;
22883
22907
  };
22884
22908
  loadMoreFn: {
22885
- type: import("vue").PropType<() => Promise<void>>;
22909
+ type: import("vue").PropType<() => Promise<any[]>>;
22886
22910
  default: any;
22887
22911
  };
22888
22912
  fetchDataDebounceTime: {
@@ -22907,12 +22931,15 @@ declare const _default: {
22907
22931
  isOpen: boolean;
22908
22932
  infiniteLoading: boolean;
22909
22933
  optionNameKey: string;
22934
+ optionIconKey: string;
22935
+ optionImageKey: string;
22936
+ optionIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
22910
22937
  optionFlagKey: string;
22911
22938
  groupedOptions: boolean;
22912
22939
  comparingKey: string;
22913
22940
  minCharsToStart: number;
22914
22941
  searchQuery: string;
22915
- loadMoreFn: () => Promise<void>;
22942
+ loadMoreFn: () => Promise<any[]>;
22916
22943
  fetchDataDebounceTime: number;
22917
22944
  autoFocusSearch: boolean;
22918
22945
  }>)[];
@@ -23888,6 +23915,18 @@ declare const _default: {
23888
23915
  required: true;
23889
23916
  default: string;
23890
23917
  };
23918
+ optionIconKey: {
23919
+ type: import("vue").PropType<string>;
23920
+ default: string;
23921
+ };
23922
+ optionImageKey: {
23923
+ type: import("vue").PropType<string>;
23924
+ default: string;
23925
+ };
23926
+ optionIconType: {
23927
+ type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate">;
23928
+ default: any;
23929
+ };
23891
23930
  optionFlagKey: {
23892
23931
  type: import("vue").PropType<string>;
23893
23932
  default: string;
@@ -23934,7 +23973,7 @@ declare const _default: {
23934
23973
  default: string;
23935
23974
  };
23936
23975
  loadMoreFn: {
23937
- type: import("vue").PropType<() => Promise<void>>;
23976
+ type: import("vue").PropType<() => Promise<any[]>>;
23938
23977
  default: any;
23939
23978
  };
23940
23979
  fetchDataDebounceTime: {
@@ -23976,6 +24015,18 @@ declare const _default: {
23976
24015
  required: true;
23977
24016
  default: string;
23978
24017
  };
24018
+ optionIconKey: {
24019
+ type: import("vue").PropType<string>;
24020
+ default: string;
24021
+ };
24022
+ optionImageKey: {
24023
+ type: import("vue").PropType<string>;
24024
+ default: string;
24025
+ };
24026
+ optionIconType: {
24027
+ type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate">;
24028
+ default: any;
24029
+ };
23979
24030
  optionFlagKey: {
23980
24031
  type: import("vue").PropType<string>;
23981
24032
  default: string;
@@ -24022,7 +24073,7 @@ declare const _default: {
24022
24073
  default: string;
24023
24074
  };
24024
24075
  loadMoreFn: {
24025
- type: import("vue").PropType<() => Promise<void>>;
24076
+ type: import("vue").PropType<() => Promise<any[]>>;
24026
24077
  default: any;
24027
24078
  };
24028
24079
  fetchDataDebounceTime: {
@@ -24047,12 +24098,15 @@ declare const _default: {
24047
24098
  isOpen: boolean;
24048
24099
  infiniteLoading: boolean;
24049
24100
  optionNameKey: string;
24101
+ optionIconKey: string;
24102
+ optionImageKey: string;
24103
+ optionIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
24050
24104
  optionFlagKey: string;
24051
24105
  groupedOptions: boolean;
24052
24106
  comparingKey: string;
24053
24107
  minCharsToStart: number;
24054
24108
  searchQuery: string;
24055
- loadMoreFn: () => Promise<void>;
24109
+ loadMoreFn: () => Promise<any[]>;
24056
24110
  fetchDataDebounceTime: number;
24057
24111
  autoFocusSearch: boolean;
24058
24112
  }>;
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import './AppTrigger.vue_vue_type_style_index_0_scoped_121aac8b_lang.css';
1
+ import './AutocompleteDropdown.vue_vue_type_style_index_0_scoped_214ddaf4_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.50",
3
+ "version": "2.1.11-rc.51",
4
4
  "engines": {
5
5
  "npm": ">=7.0.0",
6
6
  "node": ">=16.0.0"
@@ -1 +0,0 @@
1
- .custom-list-area[data-v-8f96cf5a]{color:var(--text-secondary);width:100%;text-align:center;box-sizing:border-box;padding:63px 43px}.inline-search[data-v-8f96cf5a]{width:100%}.contain-accept[data-v-8f96cf5a]{padding:6px 8px;margin-bottom:4px;cursor:pointer}.contain-accept[data-v-8f96cf5a]:hover{background-color:var(--action-hover);border-radius:.5rem}.contain-accept--query[data-v-8f96cf5a]{margin-left:4px;display:inline-flex;color:var(--primary-main)}