@ironsource/shared-ui 2.1.12-rc.1 → 2.1.12-rc.11

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 (86) hide show
  1. package/ButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_0123c361_lang.css +1 -0
  2. package/ButtonFilterDropdownTrigger.vue_vue_type_style_index_0_scoped_0198fee8_lang.css +1 -0
  3. package/Chart.vue_vue_type_style_index_0_scoped_78d3f5a8_lang.css +1 -0
  4. package/ChartHeader.vue_vue_type_style_index_0_scoped_32001725_lang.css +1 -0
  5. package/ChartHeaderTrend.vue_vue_type_style_index_0_scoped_e4c673e7_lang.css +1 -0
  6. package/ChartLegend.vue_vue_type_style_index_0_scoped_532f23bc_lang.css +1 -0
  7. package/ChartPlane.vue_vue_type_style_index_0_scoped_4396faf6_lang.css +1 -0
  8. package/ChartTooltip.vue_vue_type_style_index_0_scoped_25d0e129_lang.css +1 -0
  9. package/ConditionalDropdown.vue_vue_type_style_index_0_scoped_8d5521da_lang.css +1 -0
  10. package/DataGrid.vue_vue_type_style_index_0_scoped_86ea5d2a_lang.css +1 -0
  11. package/DateRangeV4.vue_vue_type_style_index_0_scoped_a849128a_lang.css +1 -0
  12. package/DropdownV4.vue_vue_type_style_index_0_scoped_d154c5da_lang.css +1 -0
  13. package/DropdownV4.vue_vue_type_style_index_1_lang.css +1 -1
  14. package/TreeDropdown.vue_vue_type_style_index_0_scoped_4ba9e4bd_lang.css +1 -0
  15. package/components/chart/Chart.vue.d.ts +57 -39
  16. package/components/chart/Chart.vue.js +3 -3
  17. package/components/chart/Chart.vue2.js +98 -297
  18. package/components/chart/ChartHeader.vue.d.ts +20 -10
  19. package/components/chart/ChartHeader.vue.js +2 -2
  20. package/components/chart/ChartHeader.vue2.js +74 -52
  21. package/components/chart/ChartHeaderTrend.vue.d.ts +34 -0
  22. package/components/chart/ChartHeaderTrend.vue.js +7 -0
  23. package/components/chart/ChartHeaderTrend.vue2.js +32 -0
  24. package/components/chart/ChartLegend.vue.js +2 -2
  25. package/components/chart/ChartLegend.vue2.js +36 -35
  26. package/components/chart/ChartPlane.vue.d.ts +143 -0
  27. package/components/chart/ChartPlane.vue.js +7 -0
  28. package/components/chart/ChartPlane.vue2.js +306 -0
  29. package/components/chart/ChartStoryArgs.d.ts +135 -0
  30. package/components/chart/ChartTooltip.vue.js +2 -2
  31. package/components/chart/ChartTooltip.vue2.js +36 -35
  32. package/components/chart/composables/useChartHeight.d.ts +5 -0
  33. package/components/chart/composables/useChartHeight.js +22 -0
  34. package/components/chart/composables/useColorsMap.d.ts +10 -0
  35. package/components/chart/composables/useColorsMap.js +17 -0
  36. package/components/chart/composables/useTooltipPosition.d.ts +1 -1
  37. package/components/chart/composables/useTooltipPosition.js +11 -15
  38. package/components/chart/consts.d.ts +5 -0
  39. package/components/chart/consts.js +20 -15
  40. package/components/chart/index.d.ts +189 -113
  41. package/components/chart/mockData.d.ts +27 -1
  42. package/components/chart/types.d.ts +4 -0
  43. package/components/chart/utils/formatNumber.d.ts +0 -1
  44. package/components/chart/utils/utils.js +5 -5
  45. package/components/dateRange/v4/DateRangeV4.vue.js +2 -2
  46. package/components/dateRange/v4/DateRangeV4.vue2.js +1 -1
  47. package/components/dropdown/common/Dropdown.common.js +92 -85
  48. package/components/dropdown/v4/ButtonDropdownTrigger.vue.js +2 -2
  49. package/components/dropdown/v4/ButtonDropdownTrigger.vue2.js +1 -1
  50. package/components/dropdown/v4/ButtonFilterDropdownTrigger.vue.js +2 -2
  51. package/components/dropdown/v4/ButtonFilterDropdownTrigger.vue2.js +1 -1
  52. package/components/dropdown/v4/ConditionalDropdown.vue.js +3 -3
  53. package/components/dropdown/v4/ConditionalDropdown.vue2.js +76 -76
  54. package/components/dropdown/v4/DropdownV4.vue.js +4 -4
  55. package/components/dropdown/v4/DropdownV4.vue2.js +96 -86
  56. package/components/dropdown/v4/TreeDropdown.vue.js +2 -2
  57. package/components/dropdown/v4/TreeDropdown.vue2.js +68 -73
  58. package/components/emptyState/v4/EmptyStateV4.vue.d.ts +3 -3
  59. package/components/emptyState/v4/index.d.ts +7 -7
  60. package/components/table/v4/DataGrid.vue.d.ts +4 -3
  61. package/components/table/v4/DataGrid.vue.js +3 -3
  62. package/components/table/v4/DataGrid.vue2.js +152 -142
  63. package/components/table/v4/MultipleDataGrid.vue.d.ts +3 -3
  64. package/components/table/v4/index.d.ts +15 -14
  65. package/composables/useFullPageHeight.d.ts +10 -0
  66. package/composables/useFullPageHeight.js +15 -0
  67. package/index.d.ts +48 -42
  68. package/index.js +103 -101
  69. package/package.json +1 -1
  70. package/testids/index.d.ts +2 -1
  71. package/testids/index.js +10 -10
  72. package/utils/formatNumbers.d.ts +1 -1
  73. package/utils/formatNumbers.js +18 -5
  74. package/utils/index.js +7 -0
  75. package/ButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_604dfc6f_lang.css +0 -1
  76. package/ButtonFilterDropdownTrigger.vue_vue_type_style_index_0_scoped_ea1c4589_lang.css +0 -1
  77. package/Chart.vue_vue_type_style_index_0_scoped_026d82c5_lang.css +0 -1
  78. package/ChartHeader.vue_vue_type_style_index_0_scoped_b8213498_lang.css +0 -1
  79. package/ChartLegend.vue_vue_type_style_index_0_scoped_4fe1c7d1_lang.css +0 -1
  80. package/ChartTooltip.vue_vue_type_style_index_0_scoped_6744325c_lang.css +0 -1
  81. package/ConditionalDropdown.vue_vue_type_style_index_0_scoped_3a2aeea3_lang.css +0 -1
  82. package/DataGrid.vue_vue_type_style_index_0_scoped_26488faf_lang.css +0 -1
  83. package/DateRangeV4.vue_vue_type_style_index_0_scoped_8a2714eb_lang.css +0 -1
  84. package/DropdownV4.vue_vue_type_style_index_0_scoped_48ba81e5_lang.css +0 -1
  85. package/TreeDropdown.vue_vue_type_style_index_0_scoped_b883d1fa_lang.css +0 -1
  86. package/components/chart/utils/formatNumber.js +0 -11
@@ -1,6 +1,6 @@
1
- import "../../../TreeDropdown.vue_vue_type_style_index_0_scoped_b883d1fa_lang.css"; import { defineComponent as ee, provide as ne, ref as c, computed as K, onMounted as le, watch as g, openBlock as C, createBlock as D, unref as d, withCtx as f, createVNode as I, mergeProps as z, createSlots as te, renderSlot as oe, createElementVNode as M, withModifiers as S, createTextVNode as ie, createElementBlock as B, withDirectives as de, Fragment as ae, renderList as re, vShow as se, createCommentVNode as ce } from "vue";
2
- import ue from "./DropdownV4.vue.js";
3
- import pe from "./DefaultDropdownTrigger.vue.js";
1
+ import "../../../TreeDropdown.vue_vue_type_style_index_0_scoped_4ba9e4bd_lang.css"; import { defineComponent as ne, provide as le, ref as c, computed as K, onMounted as te, watch as E, openBlock as g, createBlock as D, unref as d, withCtx as h, createVNode as C, mergeProps as z, createSlots as oe, renderSlot as ie, createElementVNode as M, withModifiers as S, createTextVNode as de, createElementBlock as B, withDirectives as ae, Fragment as se, renderList as re, vShow as ce, createCommentVNode as ue } from "vue";
2
+ import pe from "./DropdownV4.vue.js";
3
+ import ye from "./DefaultDropdownTrigger.vue.js";
4
4
  import "./IconButtonDropdownTrigger.vue.js";
5
5
  import "./ChipDropdownTrigger.vue.js";
6
6
  import "./AppDropdownTrigger.vue.js";
@@ -9,14 +9,14 @@ import "./ButtonFilterDropdownTrigger.vue.js";
9
9
  import "./TreeDropdown.vue.js";
10
10
  import w from "./OptionV4.vue.js";
11
11
  import "./ConditionalDropdown.vue.js";
12
- import { useChildOptions as ye } from "../composables/useChildOptions.js";
12
+ import { useChildOptions as he } from "../composables/useChildOptions.js";
13
13
  import fe from "../../search/v4/SearchV4.vue.js";
14
- import { useTestIdAttrs as he } from "../../../utils/testIds.js";
14
+ import { useTestIdAttrs as ve } from "../../../utils/testIds.js";
15
15
  import { DropdownTestIdModifiers as $ } from "../../../testids/index.js";
16
- const ve = {
16
+ const me = {
17
17
  key: 0,
18
18
  class: "child-options"
19
- }, qe = /* @__PURE__ */ ee({
19
+ }, Ae = /* @__PURE__ */ ne({
20
20
  __name: "TreeDropdown",
21
21
  props: {
22
22
  options: null,
@@ -44,7 +44,7 @@ const ve = {
44
44
  emits: ["update:selected", "update:isOpen"],
45
45
  setup(t, { emit: b }) {
46
46
  const n = t;
47
- ne("isTreeDropdown", !0);
47
+ le("isTreeDropdown", !0);
48
48
  const m = c([]), u = c([]), T = c({}), O = c(!1), i = c([...n.selected]), p = c(""), x = c(!0), N = K(() => u.value.reduce((e, o) => (o[n.optionChildrenKey] && o[n.optionChildrenKey].length && o[n.optionChildrenKey].forEach(() => {
49
49
  e = e + 1;
50
50
  }), o[n.optionChildrenKey] || (e = e + 1), e), 0)), U = () => {
@@ -53,9 +53,9 @@ const ve = {
53
53
  ...e[n.optionChildrenKey]
54
54
  ]);
55
55
  }), m.value = [...n.options], u.value = [...n.options];
56
- }, { hasChildren: h, getChildren: v, allChildrenSelected: k, someChildrenSelected: P } = ye(i, n.optionChildrenKey), q = (e) => {
57
- if (h(e)) {
58
- k(e) ? i.value = i.value.filter(
56
+ }, { hasChildren: f, getChildren: v, allChildrenSelected: I, someChildrenSelected: P } = he(i, n.optionChildrenKey), q = (e) => {
57
+ if (f(e)) {
58
+ I(e) ? i.value = i.value.filter(
59
59
  (o) => !v(e).includes(o)
60
60
  ) : i.value = [
61
61
  ...i.value.filter((o) => !v(e).includes(o)),
@@ -66,7 +66,7 @@ const ve = {
66
66
  i.value.includes(e) ? i.value = i.value.filter(
67
67
  (o) => o !== e
68
68
  ) : i.value = [...i.value, e];
69
- }, A = (e) => i.value.includes(e), J = (e) => 1 + (h(e) ? v(e).length : 0), j = () => {
69
+ }, A = (e) => i.value.includes(e), J = (e) => 1 + (f(e) ? v(e).length : 0), j = () => {
70
70
  b("update:selected", i.value), L.value = y.value;
71
71
  }, F = () => {
72
72
  i.value = [];
@@ -76,8 +76,8 @@ const ve = {
76
76
  if (n.selected?.includes(l))
77
77
  e.add(l);
78
78
  else if (l[n.optionChildrenKey] && l[n.optionChildrenKey].length) {
79
- for (const r of l[n.optionChildrenKey])
80
- if (n.selected?.includes(r)) {
79
+ for (const s of l[n.optionChildrenKey])
80
+ if (n.selected?.includes(s)) {
81
81
  e.add(l);
82
82
  break;
83
83
  }
@@ -88,61 +88,56 @@ const ve = {
88
88
  !n.selected.includes(l) && !e.has(l) && o.push(l);
89
89
  }), o;
90
90
  };
91
- le(() => {
91
+ te(() => {
92
92
  O.value || (U(), O.value = !0, n.preExpandedOptions && n.preExpandedOptions.forEach((e) => {
93
93
  a.value[e] = 1;
94
94
  }));
95
- }), g(
95
+ }), E(
96
96
  () => n.options,
97
97
  () => {
98
98
  U();
99
99
  }
100
- ), g(
100
+ ), E(
101
101
  () => n.selected,
102
102
  (e, o) => {
103
103
  JSON.stringify(e) !== JSON.stringify(o) && (i.value = [...n.selected]);
104
104
  }
105
105
  );
106
- const y = K(() => i.value.length < N.value ? !1 : i.value.length === N.value), H = K(() => !y.value && i.value.length > 0), L = c(y.value);
107
- g(
108
- () => n.isOpen,
109
- () => {
110
- n.isOpen ? m.value = G() : (i.value = [...n.selected], p.value = "");
111
- }
112
- );
113
- const a = c({}), Q = (e) => {
106
+ const y = K(() => i.value.length < N.value ? !1 : i.value.length === N.value), H = K(() => !y.value && i.value.length > 0), L = c(y.value), Q = (e) => {
107
+ b("update:isOpen", e), n.isOpen ? m.value = G() : (i.value = [...n.selected], p.value = "");
108
+ }, a = c({}), R = (e) => {
114
109
  a.value[e[n.optionUniqueIdKey]] ? delete a.value[e[n.optionUniqueIdKey]] : a.value[e[n.optionUniqueIdKey]] = 1;
115
110
  };
116
- function R(e, o) {
117
- const l = e.toLowerCase(), r = [];
118
- return o.value.forEach((s) => {
119
- const E = s[n.optionNameKey].toLowerCase().includes(l), V = T.value[s[n.optionUniqueIdKey]]?.filter(
120
- (_) => _[n.optionNameKey].toLowerCase().includes(l)
111
+ function W(e, o) {
112
+ const l = e.toLowerCase(), s = [];
113
+ return o.value.forEach((r) => {
114
+ const k = r[n.optionNameKey].toLowerCase().includes(l), V = T.value[r[n.optionUniqueIdKey]]?.filter(
115
+ (ee) => ee[n.optionNameKey].toLowerCase().includes(l)
121
116
  ) || [];
122
- (E || V.length > 0) && (s[n.optionChildrenKey] = V, r.push(s));
123
- }), r;
117
+ (k || V.length > 0) && (r[n.optionChildrenKey] = V, s.push(r));
118
+ }), s;
124
119
  }
125
- const W = (e) => {
126
- const o = R(e, u);
120
+ const X = (e) => {
121
+ const o = W(e, u);
127
122
  e && (Object.keys(a.value).forEach((l) => {
128
123
  delete a.value[l];
129
124
  }), o.forEach((l) => {
130
125
  Array.isArray(l[n.optionChildrenKey]) && l[n.optionChildrenKey].length && (a.value[l[n.optionUniqueIdKey]] = 1);
131
126
  })), m.value = o;
132
- }, X = K(() => {
127
+ }, Y = K(() => {
133
128
  const e = n.options.length, o = n.options.reduce(
134
- (l, r) => (a.value[r[n.optionUniqueIdKey]] && (l = l + r[n.optionChildrenKey].length), l),
129
+ (l, s) => (a.value[s[n.optionUniqueIdKey]] && (l = l + s[n.optionChildrenKey].length), l),
135
130
  0
136
131
  );
137
132
  return e + o;
138
133
  });
139
- g(
134
+ E(
140
135
  () => p.value,
141
136
  () => {
142
- W(p.value), x.value = !p.value;
137
+ X(p.value), x.value = !p.value;
143
138
  }
144
139
  );
145
- const Y = () => {
140
+ const Z = () => {
146
141
  y.value ? i.value = [] : (i.value = [], u.value.forEach((e) => {
147
142
  if (e[n.optionChildrenKey] && e[n.optionChildrenKey].length)
148
143
  for (const o of e[n.optionChildrenKey])
@@ -150,8 +145,8 @@ const ve = {
150
145
  else
151
146
  i.value = [e, ...i.value];
152
147
  }));
153
- }, Z = he(n.testId, $);
154
- return (e, o) => (C(), D(d(ue), {
148
+ }, _ = ve(n.testId, $);
149
+ return (e, o) => (g(), D(d(pe), {
155
150
  multi: "",
156
151
  class: "tree-dropdown",
157
152
  "show-select-all": x.value,
@@ -170,27 +165,27 @@ const ve = {
170
165
  "override-option-count-calculation": J,
171
166
  "trigger-show-all-selected-text": !1,
172
167
  "predefined-trigger": "default",
173
- "custom-number-of-displayed-options": d(X),
174
- "onUpdate:isOpen": o[2] || (o[2] = (l) => b("update:isOpen", l)),
168
+ "custom-number-of-displayed-options": d(Y),
169
+ "onUpdate:isOpen": Q,
175
170
  onApply: j,
176
171
  onClear: F
177
172
  }, {
178
- "dropdown-trigger": f(({ defaultTriggerProps: l }) => [
179
- I(d(pe), z(l, {
173
+ "dropdown-trigger": h(({ defaultTriggerProps: l }) => [
174
+ C(d(ye), z(l, {
180
175
  "all-selected": L.value,
181
176
  "show-all-selected-text": ""
182
- }), te({ _: 2 }, [
177
+ }), oe({ _: 2 }, [
183
178
  e.$slots["trigger-end-icon"] ? {
184
179
  name: "end-icon",
185
- fn: f(() => [
186
- oe(e.$slots, "trigger-end-icon", {}, void 0, !0)
180
+ fn: h(() => [
181
+ ie(e.$slots, "trigger-end-icon", {}, void 0, !0)
187
182
  ]),
188
183
  key: "0"
189
184
  } : void 0
190
185
  ]), 1040, ["all-selected"])
191
186
  ]),
192
- "inline-search": f(() => [
193
- I(d(fe), {
187
+ "inline-search": h(() => [
188
+ C(d(fe), {
194
189
  modelValue: p.value,
195
190
  "onUpdate:modelValue": o[0] || (o[0] = (l) => p.value = l),
196
191
  class: "tree-search",
@@ -201,30 +196,30 @@ const ve = {
201
196
  "test-id": t.testId
202
197
  }, null, 8, ["modelValue", "placeholder", "test-id"])
203
198
  ]),
204
- "select-all": f(() => [
199
+ "select-all": h(() => [
205
200
  M("li", null, [
206
- I(d(w), z({
201
+ C(d(w), z({
207
202
  "aria-selected": d(y),
208
203
  "aria-disabled": !!t.disabled,
209
204
  "selected-prop": d(y),
210
205
  "is-indeterminate": d(H),
211
206
  "is-multi": "",
212
207
  "select-all-option": ""
213
- }, d(Z)[d($).SELECT_ALL], {
214
- onClick: o[1] || (o[1] = S((l) => Y(), ["stop"]))
208
+ }, d(_)[d($).SELECT_ALL], {
209
+ onClick: o[1] || (o[1] = S((l) => Z(), ["stop"]))
215
210
  }), {
216
- default: f(() => [
217
- ie(" Select all ")
211
+ default: h(() => [
212
+ de(" Select all ")
218
213
  ]),
219
214
  _: 1
220
215
  }, 16, ["aria-selected", "aria-disabled", "selected-prop", "is-indeterminate"])
221
216
  ])
222
217
  ]),
223
- default: f(({ option: l, index: r }) => [
224
- I(d(w), {
218
+ default: h(({ option: l, index: s }) => [
219
+ C(d(w), {
225
220
  option: l,
226
- "selected-prop": d(h)(l) ? d(k)(l) : A(l),
227
- "is-indeterminate": !d(k)(l) && d(P)(l),
221
+ "selected-prop": d(f)(l) ? d(I)(l) : A(l),
222
+ "is-indeterminate": !d(I)(l) && d(P)(l),
228
223
  disabled: l[t.disabledOptionKey],
229
224
  "name-key": t.optionNameKey,
230
225
  "image-key": t.optionImageKey,
@@ -233,20 +228,20 @@ const ve = {
233
228
  "end-icon-key": t.optionEndIconKey,
234
229
  "end-icon-type": t.optionEndIconType,
235
230
  "end-text-icon-key": t.optionEndTextIconKey,
236
- "tree-main-option": d(h)(l),
231
+ "tree-main-option": d(f)(l),
237
232
  "tree-main-option-expanded": a.value[l[t.optionUniqueIdKey]],
238
233
  "stop-option-click-event-propagation": "",
239
234
  "is-multi": "",
240
235
  onClick: S(() => q(l), ["stop"]),
241
- onToggleTreeCollapse: Q
236
+ onToggleTreeCollapse: R
242
237
  }, null, 8, ["option", "selected-prop", "is-indeterminate", "disabled", "name-key", "image-key", "icon-key", "icon-type", "end-icon-key", "end-icon-type", "end-text-icon-key", "tree-main-option", "tree-main-option-expanded", "onClick"]),
243
- d(h)(l) ? (C(), B("div", ve, [
244
- de(M("div", null, [
245
- (C(!0), B(ae, null, re(d(v)(l), (s, E) => (C(), D(d(w), {
246
- key: `${r}-${E}`,
247
- option: s,
248
- "selected-prop": A(s),
249
- disabled: s[t.disabledOptionKey],
238
+ d(f)(l) ? (g(), B("div", me, [
239
+ ae(M("div", null, [
240
+ (g(!0), B(se, null, re(d(v)(l), (r, k) => (g(), D(d(w), {
241
+ key: `${s}-${k}`,
242
+ option: r,
243
+ "selected-prop": A(r),
244
+ disabled: r[t.disabledOptionKey],
250
245
  "name-key": t.optionNameKey,
251
246
  "image-key": t.optionImageKey,
252
247
  "icon-key": t.optionIconKey,
@@ -257,17 +252,17 @@ const ve = {
257
252
  "tree-child-shown": a.value[l[t.optionUniqueIdKey]],
258
253
  "stop-option-click-event-propagation": "",
259
254
  "is-multi": "",
260
- onClick: S(() => q(s), ["stop"])
255
+ onClick: S(() => q(r), ["stop"])
261
256
  }, null, 8, ["option", "selected-prop", "disabled", "name-key", "image-key", "icon-key", "icon-type", "end-icon-key", "end-icon-type", "end-text-icon-key", "tree-child-shown", "onClick"]))), 128))
262
257
  ], 512), [
263
- [se, a.value[l[t.optionUniqueIdKey]]]
258
+ [ce, a.value[l[t.optionUniqueIdKey]]]
264
259
  ])
265
- ])) : ce("", !0)
260
+ ])) : ue("", !0)
266
261
  ]),
267
262
  _: 3
268
263
  }, 8, ["show-select-all", "is-open", "options", "selected", "display-value", "placeholder", "inline-search-placeholder", "option-name-key", "size", "test-id", "disabled", "custom-number-of-displayed-options"]));
269
264
  }
270
265
  });
271
266
  export {
272
- qe as default
267
+ Ae as default
273
268
  };
@@ -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;
@@ -182,6 +182,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
182
182
  rowIndex: number;
183
183
  }) => any>> & {
184
184
  title?(_: {}): any;
185
+ "table-header-pre-search"?(_: {}): any;
185
186
  search?(_: {}): any;
186
187
  "table-header-actions"?(_: {}): any;
187
188
  "select-all-checkbox"?(_: {}): any;
@@ -1,7 +1,7 @@
1
1
  import o from "./DataGrid.vue2.js";
2
- /* empty css */import _ from "../../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../../DataGrid.vue_vue_type_style_index_0_scoped_26488faf_lang.css"; //*');
4
- const s = /* @__PURE__ */ _(o, [["__scopeId", "data-v-26488faf"]]);
2
+ /* empty css */import a from "../../../_virtual/_plugin-vue_export-helper.js";
3
+ // import "../../../DataGrid.vue_vue_type_style_index_0_scoped_86ea5d2a_lang.css"; //*');
4
+ const s = /* @__PURE__ */ a(o, [["__scopeId", "data-v-86ea5d2a"]]);
5
5
  export {
6
6
  s as default
7
7
  };