@ironsource/shared-ui 2.1.12-rc.8 → 2.1.12-test.57

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 (67) hide show
  1. package/ButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_0123c361_lang.css +1 -0
  2. package/Chart.vue_vue_type_style_index_0_scoped_757e7752_lang.css +1 -0
  3. package/ChartHeader.vue_vue_type_style_index_0_scoped_92052479_lang.css +1 -0
  4. package/ChartHeaderTrend.vue_vue_type_style_index_0_scoped_d61ed404_lang.css +1 -0
  5. package/ChartLegend.vue_vue_type_style_index_0_scoped_da487aba_lang.css +1 -0
  6. package/ChartPlane.vue_vue_type_style_index_0_scoped_bb382dc4_lang.css +1 -0
  7. package/DataGrid.vue_vue_type_style_index_0_scoped_86ea5d2a_lang.css +1 -0
  8. package/IconButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_99e51ecc_lang.css +1 -0
  9. package/SettingsHeader.vue_vue_type_style_index_0_scoped_fba2eaa4_lang.css +1 -0
  10. package/TreeDropdown.vue_vue_type_style_index_0_scoped_4ba9e4bd_lang.css +1 -0
  11. package/components/chart/Chart.vue.d.ts +56 -2
  12. package/components/chart/Chart.vue.js +4 -4
  13. package/components/chart/Chart.vue2.js +93 -60
  14. package/components/chart/ChartHeader.vue.d.ts +25 -0
  15. package/components/chart/ChartHeader.vue.js +2 -2
  16. package/components/chart/ChartHeader.vue2.js +75 -50
  17. package/components/chart/ChartHeaderTrend.vue.d.ts +15 -0
  18. package/components/chart/ChartHeaderTrend.vue.js +3 -3
  19. package/components/chart/ChartHeaderTrend.vue2.js +83 -19
  20. package/components/chart/ChartLegend.vue.d.ts +17 -0
  21. package/components/chart/ChartLegend.vue.js +3 -3
  22. package/components/chart/ChartLegend.vue2.js +78 -67
  23. package/components/chart/ChartPlane.vue.d.ts +43 -4
  24. package/components/chart/ChartPlane.vue.js +3 -3
  25. package/components/chart/ChartPlane.vue2.js +137 -118
  26. package/components/chart/LegendSorting.vue.d.ts +37 -0
  27. package/components/chart/LegendSorting.vue.js +45 -0
  28. package/components/chart/LegendSorting.vue2.js +4 -0
  29. package/components/chart/SettingsHeader.vue.d.ts +1 -0
  30. package/components/chart/SettingsHeader.vue.js +3 -3
  31. package/components/chart/SettingsHeader.vue2.js +17 -16
  32. package/components/chart/colorPalette.d.ts +4 -0
  33. package/components/chart/colorPalette.js +54 -0
  34. package/components/chart/composables/useColorsMap.d.ts +2 -2
  35. package/components/chart/composables/useColorsMap.js +41 -12
  36. package/components/chart/consts.d.ts +12 -1
  37. package/components/chart/consts.js +31 -26
  38. package/components/chart/index.d.ts +237 -40
  39. package/components/chart/mockData.d.ts +8 -14
  40. package/components/chart/types.d.ts +2 -1
  41. package/components/dropdown/common/Dropdown.common.js +81 -74
  42. package/components/dropdown/v4/ButtonDropdownTrigger.vue.js +2 -2
  43. package/components/dropdown/v4/ButtonDropdownTrigger.vue2.js +1 -1
  44. package/components/dropdown/v4/IconButtonDropdownTrigger.vue.d.ts +11 -0
  45. package/components/dropdown/v4/IconButtonDropdownTrigger.vue.js +4 -4
  46. package/components/dropdown/v4/IconButtonDropdownTrigger.vue2.js +12 -10
  47. package/components/dropdown/v4/TreeDropdown.vue.js +2 -2
  48. package/components/dropdown/v4/TreeDropdown.vue2.js +68 -73
  49. package/components/dropdown/v4/index.d.ts +18 -0
  50. package/components/table/v4/DataGrid.vue.js +3 -3
  51. package/components/table/v4/DataGrid.vue2.js +35 -35
  52. package/index.d.ts +37 -1
  53. package/package.json +1 -1
  54. package/utils/formatNumbers.d.ts +1 -1
  55. package/utils/formatNumbers.js +14 -14
  56. package/utils/totals.d.ts +5 -0
  57. package/utils/totals.js +9 -0
  58. package/ButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_604dfc6f_lang.css +0 -1
  59. package/Chart.vue_vue_type_style_index_0_scoped_78d3f5a8_lang.css +0 -1
  60. package/ChartHeader.vue_vue_type_style_index_0_scoped_32001725_lang.css +0 -1
  61. package/ChartHeaderTrend.vue_vue_type_style_index_0_scoped_e4c673e7_lang.css +0 -1
  62. package/ChartLegend.vue_vue_type_style_index_0_scoped_532f23bc_lang.css +0 -1
  63. package/ChartPlane.vue_vue_type_style_index_0_scoped_4396faf6_lang.css +0 -1
  64. package/DataGrid.vue_vue_type_style_index_0_scoped_6b54ac22_lang.css +0 -1
  65. package/IconButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_59fb505a_lang.css +0 -1
  66. package/SettingsHeader.vue_vue_type_style_index_0_scoped_9b6cd9d9_lang.css +0 -1
  67. package/TreeDropdown.vue_vue_type_style_index_0_scoped_b883d1fa_lang.css +0 -1
@@ -1,13 +1,13 @@
1
1
  import { useToggle as Ve } from "../../../composables/useToggle.js";
2
- import { inject as ke, ref as r, computed as c, watch as b, useSlots as Ge, toRaw as P, nextTick as N, provide as Le, onMounted as Ue } from "vue";
2
+ import { inject as ke, ref as r, computed as c, watch as b, useSlots as Ge, toRaw as I, nextTick as N, provide as Le, onMounted as Ue } from "vue";
3
3
  import { isObjectInArray as ae } from "../../../utils/array.js";
4
4
  import { objectsEqual as Be } from "../../../utils/object.js";
5
5
  import { useClamp as He, useVirtualList as qe, onClickOutside as ne, useInfiniteScroll as Xe } from "@vueuse/core";
6
- import { Mode as T, Type as U, DropdownContext as $e } from "./DropdownContext.js";
6
+ import { Mode as w, Type as U, DropdownContext as $e } from "./DropdownContext.js";
7
7
  import { pxToRem as je } from "../../../utils/style.js";
8
8
  import { useEditableContext as ze } from "../../table-cells/common/EditableContext.js";
9
9
  import { useGroupedOptions as We } from "./useGroupedOptions.js";
10
- const al = (e, d, g) => {
10
+ const al = (e, d, y) => {
11
11
  const B = ke("isTreeDropdown", !1), {
12
12
  sortOutGroups: H,
13
13
  flattenAndMarkGroupOptions: ue,
@@ -40,7 +40,7 @@ const al = (e, d, g) => {
40
40
  a.value = e.selected, v.value = e.selected;
41
41
  }
42
42
  );
43
- const de = Ge(), w = r(null), m = r(null), j = r(null), R = r(null), z = r(null), I = r(null), ve = r(), W = r(null), J = r(null), Q = r(null), fe = 8, ge = c(() => I.value ? I.value.getBoundingClientRect().height + fe + e.distance : 0), D = r(!1), y = r([]), x = r(-1), h = r(""), v = r(e.selected || []), Y = () => I.value?.focus(), [O, ye, he] = Ve({
43
+ const de = Ge(), x = r(null), m = r(null), j = r(null), R = r(null), z = r(null), D = r(null), ve = r(), W = r(null), J = r(null), Q = r(null), fe = 8, ge = c(() => D.value ? D.value.getBoundingClientRect().height + fe + e.distance : 0), C = r(!1), h = r([]), T = r(-1), O = r(""), v = r(e.selected || []), Y = () => D.value?.focus(), [S, ye, he] = Ve({
44
44
  disabled: e.disabled,
45
45
  initialValue: e.defaultOpen
46
46
  });
@@ -59,7 +59,7 @@ const al = (e, d, g) => {
59
59
  set(l) {
60
60
  d("update:isOpen", l);
61
61
  }
62
- }), Se = c(() => o.value.length - 1), f = He(0, 0, Se), F = c(() => n.value ? e.displayValue(n.value) : ""), me = (l) => {
62
+ }), Se = c(() => o.value.length - 1), g = He(0, 0, Se), F = c(() => n.value ? e.displayValue(n.value) : ""), me = (l) => {
63
63
  if (!l.value.length && !e.multiOptionsPlaceholderPrefix && !e.multiOptionsPlaceholderSuffix)
64
64
  return e.placeholder;
65
65
  const t = !e.multiOptionsPlaceholderPrefix && !e.multiOptionsPlaceholderSuffix ? `${l.value.length} selected` : `${e.multiOptionsPlaceholderPrefix ?? ""}${l.value.length ?? "0"}${e.multiOptionsPlaceholderSuffix ?? ""}`;
@@ -76,8 +76,8 @@ const al = (e, d, g) => {
76
76
  o,
77
77
  a
78
78
  ) : a.value.length > 0 && a.value.length < o.value.length), _ = (l) => {
79
- h.value = l;
80
- }, M = c(() => e.groupedOptions ? ue(e.options) : e.options), Pe = c(() => {
79
+ O.value = l;
80
+ }, M = c(() => e.groupedOptions ? ue(e.options) : e.options), Te = c(() => {
81
81
  if (oe(
82
82
  M,
83
83
  v
@@ -87,7 +87,7 @@ const al = (e, d, g) => {
87
87
  selected: [],
88
88
  notSelected: []
89
89
  };
90
- P(M).value.forEach((i) => {
90
+ I(M).value.forEach((i) => {
91
91
  const u = (e.comparingKey ? v.value.findIndex(
92
92
  (L) => L[e.comparingKey] === i[e.comparingKey]
93
93
  ) > -1 : v.value.includes(i)) ? "selected" : "notSelected";
@@ -96,19 +96,19 @@ const al = (e, d, g) => {
96
96
  const t = e.groupedOptions ? H(l.notSelected) : l.notSelected;
97
97
  return [].concat(l.selected, t);
98
98
  }), o = c(() => {
99
- const l = Array.isArray(v.value) && e.multi && g.VERSION === 4 && !B ? Pe.value : M.value;
99
+ const l = Array.isArray(v.value) && e.multi && y.VERSION === 4 && !B ? Te.value : M.value;
100
100
  if (e.onSearch) {
101
- const t = l.filter((i) => e.groupedOptions && q(i) ? i : e.onSearch(i, h.value));
101
+ const t = l.filter((i) => e.groupedOptions && q(i) ? i : e.onSearch(i, O.value));
102
102
  return e.groupedOptions ? H(t) : t;
103
103
  } else
104
104
  return l;
105
- }), Te = c(() => y.value[0]?.hasSubtitle), p = c(() => s.mode === T.Multi), ee = c(
106
- () => Te.value ? g.MULTILINE_LIST_HEIGHT : g.LIST_HEIGHT
105
+ }), Pe = c(() => h.value[0]?.hasSubtitle), p = c(() => s.mode === w.Multi), ee = c(
106
+ () => Pe.value ? y.MULTILINE_LIST_HEIGHT : y.LIST_HEIGHT
107
107
  ), {
108
108
  list: V,
109
109
  containerProps: k,
110
- wrapperProps: we,
111
- scrollTo: C
110
+ wrapperProps: Ie,
111
+ scrollTo: P
112
112
  } = qe(o, {
113
113
  itemHeight: ee.value,
114
114
  overscan: e.disableVirtualScroll ? 1 / 0 : 2
@@ -118,33 +118,40 @@ const al = (e, d, g) => {
118
118
  (l) => {
119
119
  Z(l);
120
120
  }
121
- ), b([x], async () => {
121
+ ), b([T], async () => {
122
122
  await N();
123
123
  }), b(
124
- [O, f, x],
124
+ [S, g, T],
125
125
  async ([l], [t]) => {
126
- O.value && (await N(), x.value !== -1 && l !== t && setTimeout(() => {
127
- e.multi && g.VERSION === 4 || C(x.value);
128
- }), f.value && setTimeout(() => {
129
- C(f.value);
126
+ S.value && (await N(), T.value !== -1 && l !== t && setTimeout(() => {
127
+ if (!(e.multi && y.VERSION === 4))
128
+ if (P(T.value), e.groupedOptions) {
129
+ const i = M.value.findIndex(
130
+ (f) => f === n.value
131
+ );
132
+ P(i);
133
+ } else
134
+ P(T.value);
135
+ }), g.value && setTimeout(() => {
136
+ P(g.value);
130
137
  }));
131
138
  }
132
- ), b(h, () => {
133
- d("onsearch", h.value), C(0);
139
+ ), b(O, () => {
140
+ d("onsearch", O.value), P(0);
134
141
  });
135
142
  const A = (l, t = !1) => {
136
143
  e.disabled || (Z(l), N(() => {
137
- O.value && d("opened"), O.value || d("closed"), w.value && t && w.value.focus();
144
+ S.value && d("opened"), S.value || d("closed"), x.value && t && x.value.focus();
138
145
  }));
139
146
  };
140
- b(O, (l) => {
147
+ b(S, (l) => {
141
148
  if (l) {
142
- h.value = "", p.value && Array.isArray(n.value) && (v.value = P(n.value).slice());
149
+ O.value = "", p.value && Array.isArray(n.value) && (v.value = I(n.value).slice());
143
150
  return;
144
151
  }
145
152
  Y();
146
153
  });
147
- const Ie = () => {
154
+ const we = () => {
148
155
  if (E.value) {
149
156
  a.value = [];
150
157
  return;
@@ -162,13 +169,13 @@ const al = (e, d, g) => {
162
169
  d("selectAll");
163
170
  }
164
171
  }, xe = () => {
165
- Ie(), g.VERSION !== 4 && (n.value = a.value);
172
+ we(), y.VERSION !== 4 && (n.value = a.value);
166
173
  }, De = (l = !0) => {
167
174
  a.value = [], l ? (n.value = [], v.value = [], d("clear")) : e.dynamicFilterMode || d("clear");
168
175
  }, G = (l, t) => {
169
- if (l = P(l), g.VERSION === 4 ? l[e.disabledOptionKey] : y.value[t]?.disabled)
176
+ if (l = I(l), y.VERSION === 4 ? l[e.disabledOptionKey] : h.value[t]?.disabled)
170
177
  return;
171
- if (x.value = t, !e.multi) {
178
+ if (T.value = t, !e.multi) {
172
179
  e.keepOpen || A(!1), s.goToOption(
173
180
  0
174
181
  /* None */
@@ -178,53 +185,53 @@ const al = (e, d, g) => {
178
185
  if (!Array.isArray(a.value))
179
186
  return;
180
187
  m.value?.focus();
181
- const S = P(a.value);
182
- if (ae(S, l) || e.comparingKey && S.findIndex(
188
+ const f = I(a.value);
189
+ if (ae(f, l) || e.comparingKey && f.findIndex(
183
190
  (u) => u[e.comparingKey] === l[e.comparingKey]
184
191
  ) > -1) {
185
- a.value = S.filter((u) => e.comparingKey ? u[e.comparingKey] !== l[e.comparingKey] : !Be(u, l));
192
+ a.value = f.filter((u) => e.comparingKey ? u[e.comparingKey] !== l[e.comparingKey] : !Be(u, l));
186
193
  return;
187
194
  } else {
188
- a.value = [...S, l];
195
+ a.value = [...f, l];
189
196
  return;
190
197
  }
191
- }, Me = (l) => y.value[l]?.disabled, s = {
192
- activeIndex: f,
193
- options: y,
198
+ }, Me = (l) => h.value[l]?.disabled, s = {
199
+ activeIndex: g,
200
+ options: h,
194
201
  selectedOption: n,
195
202
  labelRef: z,
196
203
  activeOption: R,
197
- listRef: w,
204
+ listRef: x,
198
205
  clearable: e.clearable,
199
206
  type: de.input ? U.Search : U.Dropdown,
200
- mode: e.multi ? T.Multi : T.Single,
201
- query: h,
207
+ mode: e.multi ? w.Multi : w.Single,
208
+ query: O,
202
209
  selectedValue: F,
203
210
  toggle: A,
204
211
  disabled: e.disabled,
205
- open: O,
212
+ open: S,
206
213
  mandatory: e.mandatory,
207
214
  size: e.size,
208
215
  placeholder: e.placeholder,
209
216
  select: G,
210
217
  clearSelection: () => {
211
- _(""), n.value = s.mode === T.Single ? null : [], v.value = s.mode === T.Single ? null : [], m.value && (m.value.value = "");
218
+ _(""), n.value = s.mode === w.Single ? null : [], v.value = s.mode === w.Single ? null : [], m.value && (m.value.value = "");
212
219
  },
213
220
  search: _,
214
221
  goToOption: async (l) => {
215
- if (!O.value)
222
+ if (!S.value)
216
223
  return;
217
- let t = f.value + l;
218
- const i = y.value.filter(
224
+ let t = g.value + l;
225
+ const i = h.value.filter(
219
226
  (u) => u.disabled
220
- ).length, S = o.value.length - i;
221
- for (t > S && (t = S + 1); ; ) {
222
- if (!y.value[t]?.disabled) {
223
- R.value = o.value[t], f.value = t;
227
+ ).length, f = o.value.length - i;
228
+ for (t > f && (t = f + 1); ; ) {
229
+ if (!h.value[t]?.disabled) {
230
+ R.value = o.value[t], g.value = t;
224
231
  return;
225
232
  }
226
- if ((l === 1 || l === 10) && (t = t + 1), (l === -1 || l === -10) && (t = t + -1), !!Me(f.value)) {
227
- R.value = o.value[t], f.value = t;
233
+ if ((l === 1 || l === 10) && (t = t + 1), (l === -1 || l === -10) && (t = t + -1), !!Me(g.value)) {
234
+ R.value = o.value[t], g.value = t;
228
235
  return;
229
236
  }
230
237
  }
@@ -233,20 +240,20 @@ const al = (e, d, g) => {
233
240
  m.value = l.value;
234
241
  },
235
242
  registerOption: (l, t, i) => {
236
- y.value = [...y.value, { id: l, disabled: t, hasSubtitle: i }];
243
+ h.value = [...h.value, { id: l, disabled: t, hasSubtitle: i }];
237
244
  },
238
245
  unRegisterOption(l) {
239
- y.value = y.value.filter((t) => t.id !== l);
246
+ h.value = h.value.filter((t) => t.id !== l);
240
247
  }
241
248
  };
242
249
  Le($e, s), ne(
243
- w,
250
+ x,
244
251
  () => {
245
- O.value && te();
252
+ S.value && te();
246
253
  },
247
254
  {
248
255
  ignore: [
249
- I,
256
+ D,
250
257
  W,
251
258
  J,
252
259
  Q,
@@ -261,15 +268,15 @@ const al = (e, d, g) => {
261
268
  Ue(async () => {
262
269
  e.autoFocus && (await N(), setTimeout(() => {
263
270
  j.value.focus();
264
- })), s.goToOption(0), e.multi && !B && (e.groupedOptions ? D.value = X(
271
+ })), s.goToOption(0), e.multi && !B && (e.groupedOptions ? C.value = X(
265
272
  o,
266
273
  a
267
- ) : D.value = e.options.length === e.selected.length);
274
+ ) : C.value = e.options.length === e.selected.length);
268
275
  });
269
276
  const le = () => {
270
- e.multi && (n.value = a.value, Array.isArray(n.value) && (v.value = P(n.value).slice(), D.value = e.groupedOptions ? ce(e.options) === n.value.length : e.options.length === n.value.length)), d("apply", n.value), d("allSelectedChanged", E.value), A(!1), Ce();
277
+ e.multi && (n.value = a.value, Array.isArray(n.value) && (v.value = I(n.value).slice(), C.value = e.groupedOptions ? ce(e.options) === n.value.length : e.options.length === n.value.length)), d("apply", n.value), d("allSelectedChanged", E.value), A(!1), Ce();
271
278
  }, te = () => {
272
- p.value && Array.isArray(v.value) && (n.value = P(v.value).slice()), h.value = "", A(!1);
279
+ p.value && Array.isArray(v.value) && (n.value = I(v.value).slice()), O.value = "", A(!1);
273
280
  }, Ne = (l) => {
274
281
  if (!e.disableKeyboardEvents)
275
282
  switch (l.key) {
@@ -315,24 +322,24 @@ const al = (e, d, g) => {
315
322
  break;
316
323
  }
317
324
  case "Enter": {
318
- if (!O.value) {
325
+ if (!S.value) {
319
326
  A(!0);
320
327
  return;
321
328
  }
322
- G(o.value[f.value], f.value), s.mode === T.Single && !e.keepOpen && A(!1), l.preventDefault();
329
+ G(o.value[g.value], g.value), s.mode === w.Single && !e.keepOpen && A(!1), l.preventDefault();
323
330
  break;
324
331
  }
325
332
  }
326
333
  }, Re = c(() => {
327
334
  if (e.loading)
328
335
  return 8.5;
329
- const l = e.loadMoreLoading && g.MAX_NUMBER_OF_OPTIONS || e.customNumberOfDisplayedOptions || V.value.reduce((L, Ee) => {
336
+ const l = e.loadMoreLoading && y.MAX_NUMBER_OF_OPTIONS || e.customNumberOfDisplayedOptions || V.value.reduce((L, Ee) => {
330
337
  const _e = e.overrideOptionCountCalculation ? e.overrideOptionCountCalculation(Ee.data) : 1;
331
338
  return L + _e;
332
- }, 0), t = e.multi && e.showSelectAll && !h.value ? 1 : 0, i = l > g.MAX_NUMBER_OF_OPTIONS, S = l + t;
333
- let u = i ? g.MAX_NUMBER_OF_OPTIONS + 0.1 : S;
334
- return e.loadMoreLoading && e.multi && (V.value.length ? u = u + 0.1 : u = u - 0.9), e.noResultsText && u === 0 && (u = u + 1), e.withConditions && h.value && (u = u + 1), je(
335
- u * ee.value + g.PADDING_PX
339
+ }, 0), t = e.multi && e.showSelectAll && !O.value ? 1 : 0, i = l > y.MAX_NUMBER_OF_OPTIONS, f = l + t;
340
+ let u = i ? y.MAX_NUMBER_OF_OPTIONS + 0.1 : f;
341
+ return e.loadMoreLoading && e.multi && (V.value.length ? u = u + 0.1 : u = u - 0.9), e.noResultsText && u === 0 && (u = u + 1), e.withConditions && O.value && (u = u + 1), je(
342
+ u * ee.value + y.PADDING_PX
336
343
  );
337
344
  });
338
345
  return Xe(
@@ -346,18 +353,18 @@ const al = (e, d, g) => {
346
353
  }), {
347
354
  onKeydown: Ke,
348
355
  location: ge,
349
- open: O,
356
+ open: S,
350
357
  toggleMenu: A,
351
358
  onButtonKeydown: Ne,
352
359
  displayedValue: Ae,
353
360
  labelRef: z,
354
- query: h,
361
+ query: O,
355
362
  containerProps: k,
356
363
  calculateTableHeight: Re,
357
- wrapperProps: we,
364
+ wrapperProps: Ie,
358
365
  filteredOptions: o,
359
366
  allSelected: E,
360
- allSelectedApplied: D,
367
+ allSelectedApplied: C,
361
368
  isIndeterminate: be,
362
369
  onSelectAll: xe,
363
370
  virtualOptions: V,
@@ -366,13 +373,13 @@ const al = (e, d, g) => {
366
373
  selectedOptionPrevious: v,
367
374
  selectedValue: F,
368
375
  onSelect: G,
369
- activeIndex: f,
376
+ activeIndex: g,
370
377
  onCancel: te,
371
378
  onApply: le,
372
- scrollTo: C,
379
+ scrollTo: P,
373
380
  onClickOutside: ne,
374
- listRef: w,
375
- buttonRef: I,
381
+ listRef: x,
382
+ buttonRef: D,
376
383
  apply: W,
377
384
  cancel: J,
378
385
  el: j,
@@ -1,7 +1,7 @@
1
1
  import o from "./ButtonDropdownTrigger.vue2.js";
2
2
  /* empty css */import t from "../../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../../ButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_604dfc6f_lang.css"; //*');
4
- const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-604dfc6f"]]);
3
+ // import "../../../ButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_0123c361_lang.css"; //*');
4
+ const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-0123c361"]]);
5
5
  export {
6
6
  p as default
7
7
  };
@@ -1,4 +1,4 @@
1
- import "../../../ButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_604dfc6f_lang.css"; import { defineComponent as c, openBlock as s, createBlock as u, unref as o, normalizeClass as m, withCtx as n, renderSlot as f, createElementVNode as p, normalizeStyle as y, createVNode as h, createTextVNode as b, toDisplayString as x } from "vue";
1
+ import "../../../ButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_0123c361_lang.css"; import { defineComponent as c, openBlock as s, createBlock as u, unref as o, normalizeClass as m, withCtx as n, renderSlot as f, createElementVNode as p, normalizeStyle as y, createVNode as h, createTextVNode as b, toDisplayString as x } from "vue";
2
2
  import T from "../../button/v4/ButtonV4.vue.js";
3
3
  import "../../button/v4/IconButtonV4.vue.js";
4
4
  import "../../button/v4/ButtonGroup.vue.js";
@@ -1,13 +1,24 @@
1
+ import { IconTypes } from '@is-ssp/icon/v4/Icon.types';
1
2
  declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
3
+ iconName?: string;
4
+ iconType?: IconTypes;
2
5
  testId?: string;
3
6
  }>, {
7
+ iconName: string;
8
+ iconType: string;
4
9
  testId: string;
5
10
  }>, {}, 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<{
11
+ iconName?: string;
12
+ iconType?: IconTypes;
6
13
  testId?: string;
7
14
  }>, {
15
+ iconName: string;
16
+ iconType: string;
8
17
  testId: string;
9
18
  }>>>, {
10
19
  testId: string;
20
+ iconName: string;
21
+ iconType: IconTypes;
11
22
  }>;
12
23
  export default _default;
13
24
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
@@ -1,7 +1,7 @@
1
1
  import o from "./IconButtonDropdownTrigger.vue2.js";
2
- /* empty css */import t from "../../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../../IconButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_59fb505a_lang.css"; //*');
4
- const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-59fb505a"]]);
2
+ /* empty css */import e from "../../../_virtual/_plugin-vue_export-helper.js";
3
+ // import "../../../IconButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_99e51ecc_lang.css"; //*');
4
+ const _ = /* @__PURE__ */ e(o, [["__scopeId", "data-v-99e51ecc"]]);
5
5
  export {
6
- p as default
6
+ _ as default
7
7
  };
@@ -1,21 +1,23 @@
1
- import "../../../IconButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_59fb505a_lang.css"; import { defineComponent as e, openBlock as r, createBlock as n, unref as p, mergeProps as c } from "vue";
1
+ import "../../../IconButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_99e51ecc_lang.css"; import { defineComponent as t, openBlock as n, createBlock as r, unref as c, mergeProps as m } from "vue";
2
2
  import "../../button/v4/ButtonV4.vue.js";
3
- import m from "../../button/v4/IconButtonV4.vue.js";
3
+ import p from "../../button/v4/IconButtonV4.vue.js";
4
4
  import "../../button/v4/ButtonGroup.vue.js";
5
5
  import "../../button/v4/ToggleButtonGroupAB.vue.js";
6
- const _ = /* @__PURE__ */ e({
6
+ const y = /* @__PURE__ */ t({
7
7
  __name: "IconButtonDropdownTrigger",
8
8
  props: {
9
+ iconName: { default: "dots-three" },
10
+ iconType: { default: "bold" },
9
11
  testId: { default: "" }
10
12
  },
11
- setup(o) {
12
- const t = o;
13
- return (s, i) => (r(), n(p(m), c({
14
- "icon-name": "dots-three",
15
- type: "bold"
16
- }, t), null, 16));
13
+ setup(e) {
14
+ const o = e;
15
+ return (i, a) => (n(), r(c(p), m({
16
+ "icon-name": e.iconName,
17
+ type: e.iconType
18
+ }, o), null, 16, ["icon-name", "type"]));
17
19
  }
18
20
  });
19
21
  export {
20
- _ as default
22
+ y as default
21
23
  };
@@ -1,7 +1,7 @@
1
1
  import o from "./TreeDropdown.vue2.js";
2
2
  /* empty css */import e from "../../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../../TreeDropdown.vue_vue_type_style_index_0_scoped_b883d1fa_lang.css"; //*');
4
- const s = /* @__PURE__ */ e(o, [["__scopeId", "data-v-b883d1fa"]]);
3
+ // import "../../../TreeDropdown.vue_vue_type_style_index_0_scoped_4ba9e4bd_lang.css"; //*');
4
+ const s = /* @__PURE__ */ e(o, [["__scopeId", "data-v-4ba9e4bd"]]);
5
5
  export {
6
6
  s as default
7
7
  };