@ironsource/shared-ui 2.1.12-rc.3 → 2.1.12-rc.5

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 (66) hide show
  1. package/ButtonFilterDropdownTrigger.vue_vue_type_style_index_0_scoped_0198fee8_lang.css +1 -0
  2. package/Chart.vue_vue_type_style_index_0_scoped_78d3f5a8_lang.css +1 -0
  3. package/ChartHeader.vue_vue_type_style_index_0_scoped_32001725_lang.css +1 -0
  4. package/ChartHeaderTrend.vue_vue_type_style_index_0_scoped_e4c673e7_lang.css +1 -0
  5. package/ChartLegend.vue_vue_type_style_index_0_scoped_532f23bc_lang.css +1 -0
  6. package/ChartPlane.vue_vue_type_style_index_0_scoped_4396faf6_lang.css +1 -0
  7. package/ChartTooltip.vue_vue_type_style_index_0_scoped_25d0e129_lang.css +1 -0
  8. package/ConditionalDropdown.vue_vue_type_style_index_0_scoped_96c7507e_lang.css +1 -0
  9. package/DateRangeV4.vue_vue_type_style_index_0_scoped_a849128a_lang.css +1 -0
  10. package/components/chart/Chart.vue.d.ts +57 -39
  11. package/components/chart/Chart.vue.js +3 -3
  12. package/components/chart/Chart.vue2.js +97 -296
  13. package/components/chart/ChartHeader.vue.d.ts +20 -10
  14. package/components/chart/ChartHeader.vue.js +2 -2
  15. package/components/chart/ChartHeader.vue2.js +74 -52
  16. package/components/chart/ChartHeaderTrend.vue.d.ts +34 -0
  17. package/components/chart/ChartHeaderTrend.vue.js +7 -0
  18. package/components/chart/ChartHeaderTrend.vue2.js +32 -0
  19. package/components/chart/ChartLegend.vue.js +2 -2
  20. package/components/chart/ChartLegend.vue2.js +36 -35
  21. package/components/chart/ChartPlane.vue.d.ts +143 -0
  22. package/components/chart/ChartPlane.vue.js +7 -0
  23. package/components/chart/ChartPlane.vue2.js +306 -0
  24. package/components/chart/ChartStoryArgs.d.ts +135 -0
  25. package/components/chart/ChartTooltip.vue.js +2 -2
  26. package/components/chart/ChartTooltip.vue2.js +36 -35
  27. package/components/chart/composables/useChartHeight.d.ts +5 -0
  28. package/components/chart/composables/useChartHeight.js +22 -0
  29. package/components/chart/composables/useColorsMap.d.ts +10 -0
  30. package/components/chart/composables/useColorsMap.js +17 -0
  31. package/components/chart/composables/useTooltipPosition.d.ts +1 -1
  32. package/components/chart/composables/useTooltipPosition.js +11 -15
  33. package/components/chart/consts.d.ts +5 -0
  34. package/components/chart/consts.js +20 -15
  35. package/components/chart/index.d.ts +189 -113
  36. package/components/chart/mockData.d.ts +27 -1
  37. package/components/chart/types.d.ts +4 -0
  38. package/components/chart/utils/formatNumber.d.ts +0 -1
  39. package/components/chart/utils/utils.js +5 -5
  40. package/components/dateRange/v4/DateRangeV4.vue.js +2 -2
  41. package/components/dateRange/v4/DateRangeV4.vue2.js +1 -1
  42. package/components/dropdown/common/Dropdown.common.js +20 -20
  43. package/components/dropdown/v4/ButtonFilterDropdownTrigger.vue.js +2 -2
  44. package/components/dropdown/v4/ButtonFilterDropdownTrigger.vue2.js +1 -1
  45. package/components/dropdown/v4/ConditionalDropdown.vue.js +3 -3
  46. package/components/dropdown/v4/ConditionalDropdown.vue2.js +26 -26
  47. package/components/emptyState/v4/EmptyStateV4.vue.d.ts +3 -3
  48. package/components/emptyState/v4/index.d.ts +7 -7
  49. package/components/table/v4/DataGrid.vue.d.ts +3 -3
  50. package/components/table/v4/MultipleDataGrid.vue.d.ts +3 -3
  51. package/components/table/v4/index.d.ts +14 -14
  52. package/composables/useFullPageHeight.d.ts +10 -0
  53. package/composables/useFullPageHeight.js +15 -0
  54. package/index.d.ts +42 -42
  55. package/index.js +1 -1
  56. package/package.json +1 -1
  57. package/utils/formatNumbers.d.ts +1 -1
  58. package/utils/formatNumbers.js +8 -9
  59. package/ButtonFilterDropdownTrigger.vue_vue_type_style_index_0_scoped_ea1c4589_lang.css +0 -1
  60. package/Chart.vue_vue_type_style_index_0_scoped_a641383a_lang.css +0 -1
  61. package/ChartHeader.vue_vue_type_style_index_0_scoped_b8213498_lang.css +0 -1
  62. package/ChartLegend.vue_vue_type_style_index_0_scoped_4fe1c7d1_lang.css +0 -1
  63. package/ChartTooltip.vue_vue_type_style_index_0_scoped_6744325c_lang.css +0 -1
  64. package/ConditionalDropdown.vue_vue_type_style_index_0_scoped_3a2aeea3_lang.css +0 -1
  65. package/DateRangeV4.vue_vue_type_style_index_0_scoped_8a2714eb_lang.css +0 -1
  66. package/components/chart/utils/formatNumber.js +0 -11
@@ -1,12 +1,12 @@
1
1
  import { format as n } from "date-fns";
2
- import { formatNumber as d } from "./formatNumber.js";
3
- const p = (r, t, e) => {
2
+ import { nFormatter as d } from "../../../utils/formatNumbers.js";
3
+ const M = (r, t, e) => {
4
4
  if (e === 0)
5
5
  return 0;
6
6
  const f = t - r, o = f / e * 0.4;
7
7
  return (f + o) / e;
8
- }, M = (r, t) => t === "day" ? n(new Date(r), "EEEE") : t === "number" ? d(r) : t === "date" ? n(new Date(r), "MMM dd") : t === "dateLong" ? n(new Date(r), "MMM dd, yyyy") : String(r);
8
+ }, c = (r, t) => t === "day" ? n(new Date(r), "EEEE") : t === "number" ? d(r) : t === "date" ? n(new Date(r), "MMM dd") : t === "dateLong" ? n(new Date(r), "MMM dd, yyyy") : String(r);
9
9
  export {
10
- p as calcStepSize,
11
- M as formatValue
10
+ M as calcStepSize,
11
+ c as formatValue
12
12
  };
@@ -1,7 +1,7 @@
1
1
  import e from "./DateRangeV4.vue2.js";
2
2
  /* empty css */import o from "../../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../../DateRangeV4.vue_vue_type_style_index_0_scoped_8a2714eb_lang.css"; //*');
4
- const s = /* @__PURE__ */ o(e, [["__scopeId", "data-v-8a2714eb"]]);
3
+ // import "../../../DateRangeV4.vue_vue_type_style_index_0_scoped_a849128a_lang.css"; //*');
4
+ const s = /* @__PURE__ */ o(e, [["__scopeId", "data-v-a849128a"]]);
5
5
  export {
6
6
  s as default
7
7
  };
@@ -1,4 +1,4 @@
1
- import "../../../DateRangeV4.vue_vue_type_style_index_0_scoped_8a2714eb_lang.css"; import { defineComponent as J, watch as Q, openBlock as n, createElementBlock as s, unref as e, normalizeClass as r, createElementVNode as d, renderSlot as x, createVNode as i, withDirectives as v, Fragment as k, renderList as C, withCtx as l, createTextVNode as m, toDisplayString as g, createCommentVNode as E, vShow as $, normalizeStyle as X, setBlockTracking as R } from "vue";
1
+ import "../../../DateRangeV4.vue_vue_type_style_index_0_scoped_a849128a_lang.css"; import { defineComponent as J, watch as Q, openBlock as n, createElementBlock as s, unref as e, normalizeClass as r, createElementVNode as d, renderSlot as x, createVNode as i, withDirectives as v, Fragment as k, renderList as C, withCtx as l, createTextVNode as m, toDisplayString as g, createCommentVNode as E, vShow as $, normalizeStyle as X, setBlockTracking as R } from "vue";
2
2
  import Z from "./CalendarMonthV4.vue.js";
3
3
  import { typeToName as _, messagePerType as ee } from "../common/consts.common.js";
4
4
  import A from "../../button/v4/ButtonV4.vue.js";
@@ -7,7 +7,7 @@ import { Mode as T, Type as U, DropdownContext as $e } from "./DropdownContext.j
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, v, g) => {
10
+ const al = (e, d, g) => {
11
11
  const B = ke("isTreeDropdown", !1), {
12
12
  sortOutGroups: H,
13
13
  flattenAndMarkGroupOptions: ue,
@@ -31,16 +31,16 @@ const al = (e, v, g) => {
31
31
  return K?.value?.value ?? a.value;
32
32
  },
33
33
  set(l) {
34
- K.onChange?.(l), K.onClose?.(), v("update:selected", l);
34
+ K.onChange?.(l), K.onClose?.(), d("update:selected", l);
35
35
  }
36
36
  });
37
37
  b(
38
38
  () => e.selected,
39
39
  () => {
40
- a.value = e.selected, d.value = e.selected;
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(""), d = r(e.selected || []), Y = () => I.value?.focus(), [O, ye, he] = Ve({
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({
44
44
  disabled: e.disabled,
45
45
  initialValue: e.defaultOpen
46
46
  });
@@ -57,7 +57,7 @@ const al = (e, v, g) => {
57
57
  return e.isOpen;
58
58
  },
59
59
  set(l) {
60
- v("update:isOpen", l);
60
+ d("update:isOpen", l);
61
61
  }
62
62
  }), Se = c(() => o.value.length - 1), f = He(0, 0, Se), F = c(() => n.value ? e.displayValue(n.value) : ""), me = (l) => {
63
63
  if (!l.value.length && !e.multiOptionsPlaceholderPrefix && !e.multiOptionsPlaceholderSuffix)
@@ -80,7 +80,7 @@ const al = (e, v, g) => {
80
80
  }, M = c(() => e.groupedOptions ? ue(e.options) : e.options), Pe = c(() => {
81
81
  if (oe(
82
82
  M,
83
- d
83
+ v
84
84
  ))
85
85
  return M.value;
86
86
  const l = {
@@ -88,15 +88,15 @@ const al = (e, v, g) => {
88
88
  notSelected: []
89
89
  };
90
90
  P(M).value.forEach((i) => {
91
- const u = (e.comparingKey ? d.value.findIndex(
91
+ const u = (e.comparingKey ? v.value.findIndex(
92
92
  (L) => L[e.comparingKey] === i[e.comparingKey]
93
- ) > -1 : d.value.includes(i)) ? "selected" : "notSelected";
93
+ ) > -1 : v.value.includes(i)) ? "selected" : "notSelected";
94
94
  l[u].push(i);
95
95
  });
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(d.value) && e.multi && g.VERSION === 4 && !B ? Pe.value : M.value;
99
+ const l = Array.isArray(v.value) && e.multi && g.VERSION === 4 && !B ? Pe.value : M.value;
100
100
  if (e.onSearch) {
101
101
  const t = l.filter((i) => e.groupedOptions && q(i) ? i : e.onSearch(i, h.value));
102
102
  return e.groupedOptions ? H(t) : t;
@@ -130,16 +130,16 @@ const al = (e, v, g) => {
130
130
  }));
131
131
  }
132
132
  ), b(h, () => {
133
- v("onsearch", h.value), C(0);
133
+ d("onsearch", h.value), C(0);
134
134
  });
135
135
  const A = (l, t = !1) => {
136
136
  e.disabled || (Z(l), N(() => {
137
- O.value && v("opened"), O.value || v("closed"), w.value && t && w.value.focus();
137
+ O.value && d("opened"), O.value || d("closed"), w.value && t && w.value.focus();
138
138
  }));
139
139
  };
140
140
  b(O, (l) => {
141
141
  if (l) {
142
- h.value = "", p.value && Array.isArray(n.value) && (d.value = P(n.value).slice());
142
+ h.value = "", p.value && Array.isArray(n.value) && (v.value = P(n.value).slice());
143
143
  return;
144
144
  }
145
145
  Y();
@@ -159,12 +159,12 @@ const al = (e, v, g) => {
159
159
  }
160
160
  a.value = o.value;
161
161
  }
162
- v("selectAll");
162
+ d("selectAll");
163
163
  }
164
164
  }, xe = () => {
165
165
  Ie(), g.VERSION !== 4 && (n.value = a.value);
166
166
  }, De = (l = !0) => {
167
- a.value = [], l && (n.value = [], d.value = []), e.dynamicFilterMode || v("clear-all");
167
+ a.value = [], l ? (n.value = [], v.value = [], d("clear")) : e.dynamicFilterMode || d("clear");
168
168
  }, G = (l, t) => {
169
169
  if (l = P(l), g.VERSION === 4 ? l[e.disabledOptionKey] : y.value[t]?.disabled)
170
170
  return;
@@ -208,7 +208,7 @@ const al = (e, v, g) => {
208
208
  placeholder: e.placeholder,
209
209
  select: G,
210
210
  clearSelection: () => {
211
- _(""), n.value = s.mode === T.Single ? null : [], d.value = s.mode === T.Single ? null : [], m.value && (m.value.value = "");
211
+ _(""), n.value = s.mode === T.Single ? null : [], v.value = s.mode === T.Single ? null : [], m.value && (m.value.value = "");
212
212
  },
213
213
  search: _,
214
214
  goToOption: async (l) => {
@@ -267,9 +267,9 @@ const al = (e, v, g) => {
267
267
  ) : D.value = e.options.length === e.selected.length);
268
268
  });
269
269
  const le = () => {
270
- e.multi && (n.value = a.value, Array.isArray(n.value) && (d.value = P(n.value).slice(), D.value = e.groupedOptions ? ce(e.options) === n.value.length : e.options.length === n.value.length)), v("apply", n.value), v("allSelectedChanged", E.value), A(!1), Ce();
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();
271
271
  }, te = () => {
272
- p.value && Array.isArray(d.value) && (n.value = P(d.value).slice()), h.value = "", A(!1);
272
+ p.value && Array.isArray(v.value) && (n.value = P(v.value).slice()), h.value = "", A(!1);
273
273
  }, Ne = (l) => {
274
274
  if (!e.disableKeyboardEvents)
275
275
  switch (l.key) {
@@ -338,11 +338,11 @@ const al = (e, v, g) => {
338
338
  return Xe(
339
339
  k.ref,
340
340
  () => {
341
- !e.loadMoreLoading && e.infiniteLoading && v("loadMore");
341
+ !e.loadMoreLoading && e.infiniteLoading && d("loadMore");
342
342
  },
343
343
  { distance: e.infiniteScrollThreshold }
344
344
  ), b(a, () => {
345
- v("unsavedSelectionUpdate", a.value);
345
+ d("unsavedSelectionUpdate", a.value);
346
346
  }), {
347
347
  onKeydown: Ke,
348
348
  location: ge,
@@ -363,7 +363,7 @@ const al = (e, v, g) => {
363
363
  virtualOptions: V,
364
364
  isSelected: se,
365
365
  selectedOption: n,
366
- selectedOptionPrevious: d,
366
+ selectedOptionPrevious: v,
367
367
  selectedValue: F,
368
368
  onSelect: G,
369
369
  activeIndex: f,
@@ -1,7 +1,7 @@
1
1
  import o from "./ButtonFilterDropdownTrigger.vue2.js";
2
2
  /* empty css */import e from "../../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../../ButtonFilterDropdownTrigger.vue_vue_type_style_index_0_scoped_ea1c4589_lang.css"; //*');
4
- const p = /* @__PURE__ */ e(o, [["__scopeId", "data-v-ea1c4589"]]);
3
+ // import "../../../ButtonFilterDropdownTrigger.vue_vue_type_style_index_0_scoped_0198fee8_lang.css"; //*');
4
+ const p = /* @__PURE__ */ e(o, [["__scopeId", "data-v-0198fee8"]]);
5
5
  export {
6
6
  p as default
7
7
  };
@@ -1,4 +1,4 @@
1
- import "../../../ButtonFilterDropdownTrigger.vue_vue_type_style_index_0_scoped_ea1c4589_lang.css"; import { defineComponent as m, openBlock as o, createElementBlock as u, mergeProps as l, unref as t, createBlock as d, createCommentVNode as i, createVNode as f, withCtx as p, createTextVNode as I, toDisplayString as T } from "vue";
1
+ import "../../../ButtonFilterDropdownTrigger.vue_vue_type_style_index_0_scoped_0198fee8_lang.css"; import { defineComponent as m, openBlock as o, createElementBlock as u, mergeProps as l, unref as t, createBlock as d, createCommentVNode as i, createVNode as f, withCtx as p, createTextVNode as I, toDisplayString as T } from "vue";
2
2
  import y from "../../typography/v4/Typography.vue.js";
3
3
  import s from "../../icon/v4/IconV4.vue.js";
4
4
  import "../../icon/v4/IconFlag.vue.js";
@@ -1,7 +1,7 @@
1
1
  import o from "./ConditionalDropdown.vue2.js";
2
2
  /* empty css */import e from "../../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../../ConditionalDropdown.vue_vue_type_style_index_0_scoped_3a2aeea3_lang.css"; //*');
4
- const p = /* @__PURE__ */ e(o, [["__scopeId", "data-v-3a2aeea3"]]);
3
+ // import "../../../ConditionalDropdown.vue_vue_type_style_index_0_scoped_96c7507e_lang.css"; //*');
4
+ const n = /* @__PURE__ */ e(o, [["__scopeId", "data-v-96c7507e"]]);
5
5
  export {
6
- p as default
6
+ n as default
7
7
  };
@@ -1,4 +1,4 @@
1
- import "../../../ConditionalDropdown.vue_vue_type_style_index_0_scoped_3a2aeea3_lang.css"; import { defineComponent as W, computed as O, ref as s, watch as K, onMounted as q, openBlock as D, createBlock as G, unref as d, withCtx as f, createVNode as g, mergeProps as H, createElementVNode as J, isRef as X, normalizeProps as Y, guardReactiveProps as Z, createElementBlock as _, createTextVNode as ee, toDisplayString as le, createCommentVNode as oe } from "vue";
1
+ import "../../../ConditionalDropdown.vue_vue_type_style_index_0_scoped_96c7507e_lang.css"; import { defineComponent as W, computed as O, ref as s, watch as K, onMounted as q, openBlock as D, createBlock as G, unref as c, withCtx as f, createVNode as g, mergeProps as H, createElementVNode as J, isRef as X, normalizeProps as Y, guardReactiveProps as Z, createElementBlock as _, createTextVNode as ee, toDisplayString as le, createCommentVNode as oe } from "vue";
2
2
  import F from "./DropdownV4.vue.js";
3
3
  import "./DefaultDropdownTrigger.vue.js";
4
4
  import "./IconButtonDropdownTrigger.vue.js";
@@ -55,8 +55,8 @@ const re = { class: "conditional-container" }, se = {
55
55
  }), L = () => {
56
56
  const { appliedSelections: l } = e;
57
57
  return l ? Array.isArray(l) ? l : [l] : [];
58
- }, w = s(null), c = s(!0), a = s([]), n = s(L()), T = s(!0), p = s(!1), C = s(!1), u = s(e.searchQuery), B = s(""), m = s(e.label), k = s([]), U = O(() => (!u.value || u.value?.length < e.minCharsToStart) && !a.value.length ? `Enter at least ${e.minCharsToStart} characters to begin` : "No results found"), I = O(() => {
59
- const l = c.value ? 4 : 4.5, t = a.value.length > 4 ? a.value.length : l;
58
+ }, w = s(null), p = s(!0), a = s([]), n = s(L()), T = s(!0), d = s(!1), C = s(!1), u = s(e.searchQuery), B = s(""), m = s(e.label), k = s([]), U = O(() => (!u.value || u.value?.length < e.minCharsToStart) && !a.value.length ? `Enter at least ${e.minCharsToStart} characters to begin` : "No results found"), I = O(() => {
59
+ const l = p.value ? 4 : 4.5, t = a.value.length > 4 ? a.value.length : l;
60
60
  if (e.groupedOptions) {
61
61
  let o = 0;
62
62
  return a.value.forEach((y) => {
@@ -80,14 +80,14 @@ const re = { class: "conditional-container" }, se = {
80
80
  return [];
81
81
  }, A = async (l) => {
82
82
  try {
83
- p.value = !0;
83
+ d.value = !0;
84
84
  const t = await e.fetchFnCallback(l), o = M(
85
85
  l,
86
86
  t
87
87
  );
88
- a.value = [...o, ...t], p.value = !1;
88
+ a.value = [...o, ...t], d.value = !1;
89
89
  } catch (t) {
90
- p.value = !1, console.error("Error fetching data:", t);
90
+ d.value = !1, console.error("Error fetching data:", t);
91
91
  }
92
92
  }, E = async () => {
93
93
  if (e.infiniteLoading)
@@ -104,7 +104,7 @@ const re = { class: "conditional-container" }, se = {
104
104
  ), b = (l) => {
105
105
  l.length >= e.minCharsToStart ? (V(l), w.value?.scrollTo(0)) : e.infiniteLoading && i.value.multi ? a.value = k.value || [] : a.value = [];
106
106
  }, x = () => {
107
- u.value && a.value.length && !p.value && !i.value.multi ? a.value[0].conditionalOptions ? a.value[0] = {
107
+ u.value && a.value.length && !d.value && !i.value.multi ? a.value[0].conditionalOptions ? a.value[0] = {
108
108
  [e.optionNameKey]: u.value,
109
109
  conditionalOptions: !0,
110
110
  conditionalName: i.value.label,
@@ -119,7 +119,7 @@ const re = { class: "conditional-container" }, se = {
119
119
  ...a.value
120
120
  ] : a.value.length && a.value[0].conditionalOptions && a.value.shift();
121
121
  }, N = () => {
122
- c.value && n.value.length === 0 ? m.value = e.label : m.value = `${e.label} ${i.value.label.toLowerCase()}`;
122
+ p.value && n.value.length === 0 ? m.value = e.label : m.value = `${e.label} ${i.value.label.toLowerCase()}`;
123
123
  };
124
124
  K(u, () => {
125
125
  b(u.value);
@@ -132,14 +132,14 @@ const re = { class: "conditional-container" }, se = {
132
132
  }
133
133
  );
134
134
  const P = () => {
135
- c.value && n.value.length === 0 ? (i.value = null, S.value = [], i.value = null) : (B.value = u.value, S.value = c.value ? [...n.value] : { ...n.value }, T.value = c.value), N();
135
+ p.value && n.value.length === 0 ? (i.value = null, S.value = [], i.value = null) : (B.value = u.value, S.value = p.value ? [...n.value] : { ...n.value }, T.value = p.value), N();
136
136
  };
137
137
  K(i, (l, t) => {
138
- i.value.multi ? (p.value = !0, !t.multi && l.multi && (Array.isArray(e.appliedSelections) ? n.value = e.appliedSelections : n.value = [e.appliedSelections]), setTimeout(() => {
139
- p.value = !1, c.value = !0;
140
- }, 100)) : setTimeout(() => {
141
- c.value = !1;
142
- }, 100);
138
+ i.value.multi ? (d.value = !0, !t.multi && l.multi && (Array.isArray(e.appliedSelections) ? n.value = e.appliedSelections : n.value = [e.appliedSelections]), setTimeout(() => {
139
+ d.value = !1, p.value = !0;
140
+ }, 100)) : (d.value = !0, setTimeout(() => {
141
+ d.value = !1, p.value = !1;
142
+ }, 100));
143
143
  });
144
144
  const Q = (l) => {
145
145
  k.value = l;
@@ -154,23 +154,23 @@ const re = { class: "conditional-container" }, se = {
154
154
  const $ = () => {
155
155
  h("closed");
156
156
  };
157
- return (l, t) => (D(), G(d(F), {
157
+ return (l, t) => (D(), G(c(F), {
158
158
  ref_key: "dropdownRef",
159
159
  ref: w,
160
160
  selected: n.value,
161
161
  "onUpdate:selected": t[2] || (t[2] = (o) => n.value = o),
162
162
  "predefined-trigger": "chip",
163
163
  "display-value": (o) => o?.[r.optionNameKey],
164
- multi: c.value,
164
+ multi: p.value,
165
165
  options: a.value,
166
166
  placeholder: m.value,
167
167
  "search-placeholder": "Search",
168
168
  "option-name-key": r.optionNameKey,
169
169
  "with-conditions": "",
170
170
  "inline-search": "",
171
- "custom-number-of-displayed-options": d(I),
171
+ "custom-number-of-displayed-options": c(I),
172
172
  "options-list-width": "330px",
173
- loading: p.value || r.loadingOverride,
173
+ loading: d.value || r.loadingOverride,
174
174
  "load-more-loading": C.value,
175
175
  "comparing-key": r.comparingKey,
176
176
  "is-open": r.isOpen,
@@ -189,9 +189,9 @@ const re = { class: "conditional-container" }, se = {
189
189
  onClosed: $
190
190
  }, {
191
191
  "dropdown-trigger": f(({ defaultTriggerProps: o }) => [
192
- g(d(ae), H(o, {
192
+ g(c(ae), H(o, {
193
193
  label: m.value,
194
- "selected-option": d(S),
194
+ "selected-option": c(S),
195
195
  multi: T.value,
196
196
  "cancel-all-selected-display": "",
197
197
  "display-value-in-quotes": !Array.isArray(n.value) && n.value.conditionalOptions,
@@ -200,8 +200,8 @@ const re = { class: "conditional-container" }, se = {
200
200
  ]),
201
201
  "dropdown-conditions": f(() => [
202
202
  J("div", re, [
203
- g(d(F), {
204
- selected: d(i),
203
+ g(c(F), {
204
+ selected: c(i),
205
205
  "onUpdate:selected": t[0] || (t[0] = (o) => X(i) ? i.value = o : null),
206
206
  options: r.conditionalOptions,
207
207
  "option-name-key": "label",
@@ -210,14 +210,14 @@ const re = { class: "conditional-container" }, se = {
210
210
  size: "small"
211
211
  }, {
212
212
  "dropdown-trigger": f(({ buttonTriggerProps: o }) => [
213
- g(d(te), Y(Z(o)), null, 16)
213
+ g(c(te), Y(Z(o)), null, 16)
214
214
  ]),
215
215
  _: 1
216
216
  }, 8, ["selected", "options", "display-value"])
217
217
  ])
218
218
  ]),
219
219
  "inline-search": f(() => [
220
- g(d(ne), {
220
+ g(c(ne), {
221
221
  modelValue: u.value,
222
222
  "onUpdate:modelValue": t[1] || (t[1] = (o) => u.value = o),
223
223
  class: "inline-search",
@@ -228,10 +228,10 @@ const re = { class: "conditional-container" }, se = {
228
228
  }, null, 8, ["modelValue", "auto-focus"])
229
229
  ]),
230
230
  "custom-list-area": f(() => [
231
- !a.value.length && !p.value ? (D(), _("div", se, [
231
+ !a.value.length && !d.value ? (D(), _("div", se, [
232
232
  g(ie, { variant: "body1" }, {
233
233
  default: f(() => [
234
- ee(le(d(U)), 1)
234
+ ee(le(c(U)), 1)
235
235
  ]),
236
236
  _: 1
237
237
  })
@@ -1,7 +1,7 @@
1
1
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
2
2
  title?: string;
3
3
  subtitle?: string;
4
- variant?: "error" | "no-access" | "no-results" | "no-data" | "files" | "settings";
4
+ variant?: "error" | "settings" | "no-access" | "no-results" | "no-data" | "files";
5
5
  buttonText?: string;
6
6
  iconName?: string;
7
7
  iconType?: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
@@ -19,7 +19,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
19
19
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
20
20
  title?: string;
21
21
  subtitle?: string;
22
- variant?: "error" | "no-access" | "no-results" | "no-data" | "files" | "settings";
22
+ variant?: "error" | "settings" | "no-access" | "no-results" | "no-data" | "files";
23
23
  buttonText?: string;
24
24
  iconName?: string;
25
25
  iconType?: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
@@ -36,7 +36,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
36
36
  onClick?: () => any;
37
37
  }, {
38
38
  title: string;
39
- variant: "error" | "no-access" | "no-results" | "no-data" | "files" | "settings";
39
+ variant: "error" | "settings" | "no-access" | "no-results" | "no-data" | "files";
40
40
  iconName: string;
41
41
  iconSize: string;
42
42
  subtitle: string;
@@ -5,7 +5,7 @@ declare const EmptyStateTypes: () => ({
5
5
  $data: {};
6
6
  $props: Partial<{
7
7
  title: string;
8
- variant: "error" | "no-access" | "no-results" | "no-data" | "files" | "settings";
8
+ variant: "error" | "settings" | "no-access" | "no-results" | "no-data" | "files";
9
9
  iconName: string;
10
10
  iconSize: string;
11
11
  subtitle: string;
@@ -17,7 +17,7 @@ declare const EmptyStateTypes: () => ({
17
17
  default: string;
18
18
  };
19
19
  variant: {
20
- type: import("vue").PropType<"error" | "no-access" | "no-results" | "no-data" | "files" | "settings">;
20
+ type: import("vue").PropType<"error" | "settings" | "no-access" | "no-results" | "no-data" | "files">;
21
21
  default: string;
22
22
  };
23
23
  iconName: {
@@ -62,7 +62,7 @@ declare const EmptyStateTypes: () => ({
62
62
  default: string;
63
63
  };
64
64
  variant: {
65
- type: import("vue").PropType<"error" | "no-access" | "no-results" | "no-data" | "files" | "settings">;
65
+ type: import("vue").PropType<"error" | "settings" | "no-access" | "no-results" | "no-data" | "files">;
66
66
  default: string;
67
67
  };
68
68
  iconName: {
@@ -91,7 +91,7 @@ declare const EmptyStateTypes: () => ({
91
91
  click: () => void;
92
92
  }, string, {
93
93
  title: string;
94
- variant: "error" | "no-access" | "no-results" | "no-data" | "files" | "settings";
94
+ variant: "error" | "settings" | "no-access" | "no-results" | "no-data" | "files";
95
95
  iconName: string;
96
96
  iconSize: string;
97
97
  subtitle: string;
@@ -123,7 +123,7 @@ declare const EmptyStateTypes: () => ({
123
123
  default: string;
124
124
  };
125
125
  variant: {
126
- type: import("vue").PropType<"error" | "no-access" | "no-results" | "no-data" | "files" | "settings">;
126
+ type: import("vue").PropType<"error" | "settings" | "no-access" | "no-results" | "no-data" | "files">;
127
127
  default: string;
128
128
  };
129
129
  iconName: {
@@ -158,7 +158,7 @@ declare const EmptyStateTypes: () => ({
158
158
  default: string;
159
159
  };
160
160
  variant: {
161
- type: import("vue").PropType<"error" | "no-access" | "no-results" | "no-data" | "files" | "settings">;
161
+ type: import("vue").PropType<"error" | "settings" | "no-access" | "no-results" | "no-data" | "files">;
162
162
  default: string;
163
163
  };
164
164
  iconName: {
@@ -187,7 +187,7 @@ declare const EmptyStateTypes: () => ({
187
187
  click: () => void;
188
188
  }, string, {
189
189
  title: string;
190
- variant: "error" | "no-access" | "no-results" | "no-data" | "files" | "settings";
190
+ variant: "error" | "settings" | "no-access" | "no-results" | "no-data" | "files";
191
191
  iconName: string;
192
192
  iconSize: string;
193
193
  subtitle: string;
@@ -12,7 +12,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
12
12
  isSticky?: boolean;
13
13
  isStickyHeader?: boolean;
14
14
  isLoading?: boolean;
15
- emptyStateVariant?: "error" | "no-access" | "no-results" | "no-data" | "files" | "settings";
15
+ emptyStateVariant?: "error" | "settings" | "no-access" | "no-results" | "no-data" | "files";
16
16
  emptyStateTitle?: string;
17
17
  emptyStateSubtitle?: string;
18
18
  isInfiniteScroll?: boolean;
@@ -85,7 +85,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
85
85
  isSticky?: boolean;
86
86
  isStickyHeader?: boolean;
87
87
  isLoading?: boolean;
88
- emptyStateVariant?: "error" | "no-access" | "no-results" | "no-data" | "files" | "settings";
88
+ emptyStateVariant?: "error" | "settings" | "no-access" | "no-results" | "no-data" | "files";
89
89
  emptyStateTitle?: string;
90
90
  emptyStateSubtitle?: string;
91
91
  isInfiniteScroll?: boolean;
@@ -167,7 +167,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
167
167
  getRowId: (row: Row, index: number) => unknown;
168
168
  getRowKey: (row: Row, index: number) => string | number;
169
169
  selectedMatcher: (rowId: unknown, selected: unknown) => boolean;
170
- emptyStateVariant: "error" | "no-access" | "no-results" | "no-data" | "files" | "settings";
170
+ emptyStateVariant: "error" | "settings" | "no-access" | "no-results" | "no-data" | "files";
171
171
  rowCustomClassKey: string;
172
172
  rowDataKey: string;
173
173
  isSelectionSticky: boolean;
@@ -7,7 +7,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
7
7
  getRowKey?: (row: Row, index: number) => string | number;
8
8
  isSticky?: boolean;
9
9
  isLoading?: boolean;
10
- emptyStateVariant?: "error" | "no-access" | "no-results" | "no-data" | "files" | "settings";
10
+ emptyStateVariant?: "error" | "settings" | "no-access" | "no-results" | "no-data" | "files";
11
11
  emptyStateTitle?: string;
12
12
  emptyStateSubtitle?: string;
13
13
  loadingRowCount?: number;
@@ -61,7 +61,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
61
61
  getRowKey?: (row: Row, index: number) => string | number;
62
62
  isSticky?: boolean;
63
63
  isLoading?: boolean;
64
- emptyStateVariant?: "error" | "no-access" | "no-results" | "no-data" | "files" | "settings";
64
+ emptyStateVariant?: "error" | "settings" | "no-access" | "no-results" | "no-data" | "files";
65
65
  emptyStateTitle?: string;
66
66
  emptyStateSubtitle?: string;
67
67
  loadingRowCount?: number;
@@ -122,7 +122,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
122
122
  emptyStateSubtitle: string;
123
123
  getRowId: (row: Row, index: number) => unknown;
124
124
  getRowKey: (row: Row, index: number) => string | number;
125
- emptyStateVariant: "error" | "no-access" | "no-results" | "no-data" | "files" | "settings";
125
+ emptyStateVariant: "error" | "settings" | "no-access" | "no-results" | "no-data" | "files";
126
126
  rowCustomClassKey: string;
127
127
  rowDataKey: string;
128
128
  totalCount: number;
@@ -30,7 +30,7 @@ declare const DataGridTypes: () => (({
30
30
  getRowId: (row: import("../common/Table.types").Row, index: number) => unknown;
31
31
  getRowKey: (row: import("../common/Table.types").Row, index: number) => string | number;
32
32
  selectedMatcher: (rowId: unknown, selected: unknown) => boolean;
33
- emptyStateVariant: "error" | "no-access" | "no-results" | "no-data" | "files" | "settings";
33
+ emptyStateVariant: "error" | "settings" | "no-access" | "no-results" | "no-data" | "files";
34
34
  rowCustomClassKey: string;
35
35
  rowDataKey: string;
36
36
  isSelectionSticky: boolean;
@@ -137,7 +137,7 @@ declare const DataGridTypes: () => (({
137
137
  default: (rowId: any, selectedItem: any) => boolean;
138
138
  };
139
139
  emptyStateVariant: {
140
- type: import("vue").PropType<"error" | "no-access" | "no-results" | "no-data" | "files" | "settings">;
140
+ type: import("vue").PropType<"error" | "settings" | "no-access" | "no-results" | "no-data" | "files">;
141
141
  default: any;
142
142
  };
143
143
  rowCustomClassKey: {
@@ -283,7 +283,7 @@ declare const DataGridTypes: () => (({
283
283
  default: (rowId: any, selectedItem: any) => boolean;
284
284
  };
285
285
  emptyStateVariant: {
286
- type: import("vue").PropType<"error" | "no-access" | "no-results" | "no-data" | "files" | "settings">;
286
+ type: import("vue").PropType<"error" | "settings" | "no-access" | "no-results" | "no-data" | "files">;
287
287
  default: any;
288
288
  };
289
289
  rowCustomClassKey: {
@@ -350,7 +350,7 @@ declare const DataGridTypes: () => (({
350
350
  getRowId: (row: import("../common/Table.types").Row, index: number) => unknown;
351
351
  getRowKey: (row: import("../common/Table.types").Row, index: number) => string | number;
352
352
  selectedMatcher: (rowId: unknown, selected: unknown) => boolean;
353
- emptyStateVariant: "error" | "no-access" | "no-results" | "no-data" | "files" | "settings";
353
+ emptyStateVariant: "error" | "settings" | "no-access" | "no-results" | "no-data" | "files";
354
354
  rowCustomClassKey: string;
355
355
  rowDataKey: string;
356
356
  isSelectionSticky: boolean;
@@ -477,7 +477,7 @@ declare const DataGridTypes: () => (({
477
477
  default: (rowId: any, selectedItem: any) => boolean;
478
478
  };
479
479
  emptyStateVariant: {
480
- type: import("vue").PropType<"error" | "no-access" | "no-results" | "no-data" | "files" | "settings">;
480
+ type: import("vue").PropType<"error" | "settings" | "no-access" | "no-results" | "no-data" | "files">;
481
481
  default: any;
482
482
  };
483
483
  rowCustomClassKey: {
@@ -615,7 +615,7 @@ declare const DataGridTypes: () => (({
615
615
  default: (rowId: any, selectedItem: any) => boolean;
616
616
  };
617
617
  emptyStateVariant: {
618
- type: import("vue").PropType<"error" | "no-access" | "no-results" | "no-data" | "files" | "settings">;
618
+ type: import("vue").PropType<"error" | "settings" | "no-access" | "no-results" | "no-data" | "files">;
619
619
  default: any;
620
620
  };
621
621
  rowCustomClassKey: {
@@ -682,7 +682,7 @@ declare const DataGridTypes: () => (({
682
682
  getRowId: (row: import("../common/Table.types").Row, index: number) => unknown;
683
683
  getRowKey: (row: import("../common/Table.types").Row, index: number) => string | number;
684
684
  selectedMatcher: (rowId: unknown, selected: unknown) => boolean;
685
- emptyStateVariant: "error" | "no-access" | "no-results" | "no-data" | "files" | "settings";
685
+ emptyStateVariant: "error" | "settings" | "no-access" | "no-results" | "no-data" | "files";
686
686
  rowCustomClassKey: string;
687
687
  rowDataKey: string;
688
688
  isSelectionSticky: boolean;
@@ -825,7 +825,7 @@ declare const DataGridTypes: () => (({
825
825
  emptyStateSubtitle: string;
826
826
  getRowId: (row: import("../common/Table.types").Row, index: number) => unknown;
827
827
  getRowKey: (row: import("../common/Table.types").Row, index: number) => string | number;
828
- emptyStateVariant: "error" | "no-access" | "no-results" | "no-data" | "files" | "settings";
828
+ emptyStateVariant: "error" | "settings" | "no-access" | "no-results" | "no-data" | "files";
829
829
  rowCustomClassKey: string;
830
830
  rowDataKey: string;
831
831
  totalCount: number;
@@ -888,7 +888,7 @@ declare const DataGridTypes: () => (({
888
888
  default: (row: any, index: any) => any;
889
889
  };
890
890
  emptyStateVariant: {
891
- type: import("vue").PropType<"error" | "no-access" | "no-results" | "no-data" | "files" | "settings">;
891
+ type: import("vue").PropType<"error" | "settings" | "no-access" | "no-results" | "no-data" | "files">;
892
892
  default: any;
893
893
  };
894
894
  rowCustomClassKey: {
@@ -1003,7 +1003,7 @@ declare const DataGridTypes: () => (({
1003
1003
  default: (row: any, index: any) => any;
1004
1004
  };
1005
1005
  emptyStateVariant: {
1006
- type: import("vue").PropType<"error" | "no-access" | "no-results" | "no-data" | "files" | "settings">;
1006
+ type: import("vue").PropType<"error" | "settings" | "no-access" | "no-results" | "no-data" | "files">;
1007
1007
  default: any;
1008
1008
  };
1009
1009
  rowCustomClassKey: {
@@ -1070,7 +1070,7 @@ declare const DataGridTypes: () => (({
1070
1070
  emptyStateSubtitle: string;
1071
1071
  getRowId: (row: import("../common/Table.types").Row, index: number) => unknown;
1072
1072
  getRowKey: (row: import("../common/Table.types").Row, index: number) => string | number;
1073
- emptyStateVariant: "error" | "no-access" | "no-results" | "no-data" | "files" | "settings";
1073
+ emptyStateVariant: "error" | "settings" | "no-access" | "no-results" | "no-data" | "files";
1074
1074
  rowCustomClassKey: string;
1075
1075
  rowDataKey: string;
1076
1076
  totalCount: number;
@@ -1153,7 +1153,7 @@ declare const DataGridTypes: () => (({
1153
1153
  default: (row: any, index: any) => any;
1154
1154
  };
1155
1155
  emptyStateVariant: {
1156
- type: import("vue").PropType<"error" | "no-access" | "no-results" | "no-data" | "files" | "settings">;
1156
+ type: import("vue").PropType<"error" | "settings" | "no-access" | "no-results" | "no-data" | "files">;
1157
1157
  default: any;
1158
1158
  };
1159
1159
  rowCustomClassKey: {
@@ -1256,7 +1256,7 @@ declare const DataGridTypes: () => (({
1256
1256
  default: (row: any, index: any) => any;
1257
1257
  };
1258
1258
  emptyStateVariant: {
1259
- type: import("vue").PropType<"error" | "no-access" | "no-results" | "no-data" | "files" | "settings">;
1259
+ type: import("vue").PropType<"error" | "settings" | "no-access" | "no-results" | "no-data" | "files">;
1260
1260
  default: any;
1261
1261
  };
1262
1262
  rowCustomClassKey: {
@@ -1323,7 +1323,7 @@ declare const DataGridTypes: () => (({
1323
1323
  emptyStateSubtitle: string;
1324
1324
  getRowId: (row: import("../common/Table.types").Row, index: number) => unknown;
1325
1325
  getRowKey: (row: import("../common/Table.types").Row, index: number) => string | number;
1326
- emptyStateVariant: "error" | "no-access" | "no-results" | "no-data" | "files" | "settings";
1326
+ emptyStateVariant: "error" | "settings" | "no-access" | "no-results" | "no-data" | "files";
1327
1327
  rowCustomClassKey: string;
1328
1328
  rowDataKey: string;
1329
1329
  totalCount: number;