@ironsource/shared-ui 2.2.0-test.2 → 2.2.0-test.4

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 (69) hide show
  1. package/AppHeader.vue_vue_type_style_index_0_scoped_4c813f30_lang.css +1 -0
  2. package/ButtonV4.vue_vue_type_style_index_0_scoped_a59af1ad_lang.css +1 -0
  3. package/Chart.vue_vue_type_style_index_0_scoped_22477735_lang.css +1 -0
  4. package/ChartHeader.vue_vue_type_style_index_0_scoped_9a603520_lang.css +1 -0
  5. package/ChartPlane.vue_vue_type_style_index_0_scoped_6de5cddb_lang.css +1 -0
  6. package/DataGrid.vue_vue_type_style_index_0_scoped_3673e156_lang.css +1 -0
  7. package/InlineCopy.vue_vue_type_style_index_0_scoped_9fa1921a_lang.css +1 -0
  8. package/SnackbarV4.vue_vue_type_style_index_0_scoped_35c79635_lang.css +1 -0
  9. package/ThemeWrapper.vue_vue_type_style_index_1_lang.css +1 -1
  10. package/components/appHeader/AppHeader.vue.js +2 -2
  11. package/components/appHeader/AppHeader.vue2.js +1 -1
  12. package/components/button/v3/Button.vue.d.ts +6 -6
  13. package/components/button/v3/index.d.ts +14 -14
  14. package/components/button/v4/ButtonV4.vue.js +3 -3
  15. package/components/button/v4/ButtonV4.vue2.js +1 -1
  16. package/components/button/v4/IconButtonV4.vue2.js +1 -46
  17. package/components/button/v4/ToggleButtonGroupAB.vue2.js +1 -1
  18. package/components/chart/Chart.vue.d.ts +5 -0
  19. package/components/chart/Chart.vue.js +3 -3
  20. package/components/chart/Chart.vue2.js +10 -8
  21. package/components/chart/ChartHeader.vue.d.ts +5 -0
  22. package/components/chart/ChartHeader.vue.js +3 -3
  23. package/components/chart/ChartHeader.vue2.js +73 -49
  24. package/components/chart/ChartPlane.vue.d.ts +5 -0
  25. package/components/chart/ChartPlane.vue.js +3 -3
  26. package/components/chart/ChartPlane.vue2.js +33 -31
  27. package/components/chart/ChartStoryArgs.d.ts +6 -0
  28. package/components/chart/index.d.ts +20 -1
  29. package/components/chip/v4/ChipV4.vue2.js +1 -1
  30. package/components/emptyState/v3/EmptyState.vue.d.ts +3 -3
  31. package/components/emptyState/v3/index.d.ts +7 -7
  32. package/components/includeExclude/index.d.ts +16 -16
  33. package/components/inlineCopy/InlineCopy.vue.d.ts +15 -0
  34. package/components/inlineCopy/InlineCopy.vue.js +2 -2
  35. package/components/inlineCopy/InlineCopy.vue2.js +80 -51
  36. package/components/inlineCopy/index.d.ts +27 -0
  37. package/components/popover/v3/Popover.vue2.js +1 -38
  38. package/components/radioButton/v3/RadioButton.vue2.js +1 -82
  39. package/components/radioButton/v3/RadioGroup.vue2.js +1 -29
  40. package/components/radioButton/v4/RadioButtonV4.vue2.js +1 -80
  41. package/components/radioButton/v4/RadioGroupV4.vue2.js +1 -29
  42. package/components/snackbar/common/notify.js +25 -25
  43. package/components/snackbar/common/snackbar.common.js +19 -19
  44. package/components/snackbar/common/snackbar.types.d.ts +2 -1
  45. package/components/snackbar/v4/SnackbarV4.vue.d.ts +8 -1
  46. package/components/snackbar/v4/SnackbarV4.vue.js +2 -2
  47. package/components/snackbar/v4/SnackbarV4.vue2.js +85 -64
  48. package/components/table/v4/DataGrid.vue.js +4 -4
  49. package/components/table/v4/DataGrid.vue2.js +59 -59
  50. package/components/table-cells/v3/Editable.vue.d.ts +1 -1
  51. package/components/table-cells/v3/index.d.ts +20 -20
  52. package/components/table-cells/v4/EditableV4.vue.d.ts +1 -1
  53. package/components/table-cells/v4/EditableV4.vue2.js +1 -57
  54. package/components/table-cells/v4/index.d.ts +20 -20
  55. package/design-foundation.stories/colors/ColorsData.d.ts +1 -0
  56. package/index.d.ts +94 -40
  57. package/index.js +1 -1
  58. package/package.json +1 -1
  59. package/style/v4/colors.scss +1 -1
  60. package/style/v4/grid.css +1 -1
  61. package/style/v4/grid.css.map +1 -1
  62. package/AppHeader.vue_vue_type_style_index_0_scoped_9202b5db_lang.css +0 -1
  63. package/ButtonV4.vue_vue_type_style_index_0_scoped_afe44a65_lang.css +0 -1
  64. package/Chart.vue_vue_type_style_index_0_scoped_060d02be_lang.css +0 -1
  65. package/ChartHeader.vue_vue_type_style_index_0_scoped_d90c583e_lang.css +0 -1
  66. package/ChartPlane.vue_vue_type_style_index_0_scoped_3c887f7e_lang.css +0 -1
  67. package/DataGrid.vue_vue_type_style_index_0_scoped_cd41c5ca_lang.css +0 -1
  68. package/InlineCopy.vue_vue_type_style_index_0_scoped_ad48b61e_lang.css +0 -1
  69. package/SnackbarV4.vue_vue_type_style_index_0_scoped_1b650c39_lang.css +0 -1
@@ -22,6 +22,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
22
22
  zIndex?: number;
23
23
  actionButtons: ButtonProps[];
24
24
  testId: string;
25
+ isLoading: boolean;
25
26
  }>, {
26
27
  type: string;
27
28
  zIndex: number;
@@ -30,7 +31,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
30
31
  title: string;
31
32
  position: string;
32
33
  testId: string;
33
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
34
+ isLoading: boolean;
35
+ }>, {
36
+ close: () => void;
37
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
34
38
  destroy: (...args: any[]) => void;
35
39
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
36
40
  customClass: string;
@@ -50,6 +54,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
50
54
  zIndex?: number;
51
55
  actionButtons: ButtonProps[];
52
56
  testId: string;
57
+ isLoading: boolean;
53
58
  }>, {
54
59
  type: string;
55
60
  zIndex: number;
@@ -58,6 +63,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
58
63
  title: string;
59
64
  position: string;
60
65
  testId: string;
66
+ isLoading: boolean;
61
67
  }>>> & {
62
68
  onDestroy?: (...args: any[]) => any;
63
69
  }, {
@@ -68,6 +74,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
68
74
  zIndex: number;
69
75
  duration: number;
70
76
  showClose: boolean;
77
+ isLoading: boolean;
71
78
  }>, {
72
79
  default?(_: {}): any;
73
80
  actions?(_: {}): any;
@@ -1,7 +1,7 @@
1
1
  import o from "./SnackbarV4.vue2.js";
2
2
  /* empty css */import _ from "../../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../../SnackbarV4.vue_vue_type_style_index_0_scoped_1b650c39_lang.css"; //*');
4
- const r = /* @__PURE__ */ _(o, [["__scopeId", "data-v-1b650c39"]]);
3
+ // import "../../../SnackbarV4.vue_vue_type_style_index_0_scoped_35c79635_lang.css"; //*');
4
+ const r = /* @__PURE__ */ _(o, [["__scopeId", "data-v-35c79635"]]);
5
5
  export {
6
6
  r as default
7
7
  };
@@ -1,18 +1,22 @@
1
- import "../../../SnackbarV4.vue_vue_type_style_index_0_scoped_1b650c39_lang.css"; import { defineComponent as $, computed as A, openBlock as n, createBlock as d, Transition as O, withCtx as f, withDirectives as I, createElementVNode as a, mergeProps as l, unref as t, createVNode as z, createTextVNode as T, toDisplayString as h, createCommentVNode as u, renderSlot as B, vShow as N, createElementBlock as S, Fragment as V, renderList as x, withModifiers as U } from "vue";
2
- import D from "../../icon/v4/IconV4.vue.js";
1
+ import "../../../SnackbarV4.vue_vue_type_style_index_0_scoped_35c79635_lang.css"; import { defineComponent as $, computed as O, onMounted as x, nextTick as z, openBlock as s, createBlock as l, Transition as V, withCtx as y, withDirectives as I, createElementVNode as r, mergeProps as c, unref as e, createElementBlock as g, createVNode as U, createTextVNode as b, toDisplayString as B, createCommentVNode as u, renderSlot as N, vShow as S, Fragment as D, renderList as H, withModifiers as q } from "vue";
2
+ import F from "../../icon/v4/IconV4.vue.js";
3
3
  import "../../icon/v4/IconFlag.vue.js";
4
- import H from "../../button/v4/ButtonV4.vue.js";
5
- import F from "../../button/v4/IconButtonV4.vue.js";
4
+ import G from "../../button/v4/ButtonV4.vue.js";
5
+ import P from "../../button/v4/IconButtonV4.vue.js";
6
6
  import "../../button/v4/ButtonGroup.vue.js";
7
7
  import "../../button/v4/ToggleButtonGroupAB.vue.js";
8
- import b from "../../typography/v4/Typography.vue.js";
9
- import { snackbarCommon as G } from "../common/snackbar.common.js";
10
- import { useTestIdAttrs as P } from "../../../utils/testIds.js";
8
+ import p from "../../typography/v4/Typography.vue.js";
9
+ import { snackbarCommon as R } from "../common/snackbar.common.js";
10
+ import { useTestIdAttrs as j } from "../../../utils/testIds.js";
11
11
  import { SnackbarTestIdModifiers as i } from "../../../testids/index.js";
12
- const R = ["id"], j = { class: "container" }, q = { class: "texts" }, J = { class: "message" }, K = { class: "action-wrapper" }, Q = {
12
+ import J from "../../loader/v4/Loader.vue.js";
13
+ const K = ["id"], Q = { class: "container" }, W = { class: "texts" }, X = {
14
+ key: 0,
15
+ class: "snackbar-icon-loading"
16
+ }, Y = { class: "message" }, Z = { class: "action-wrapper" }, _ = {
13
17
  key: 0,
14
18
  class: "actions"
15
- }, W = { class: "close-button-wrapper" }, lt = /* @__PURE__ */ $({
19
+ }, ee = { class: "close-button-wrapper" }, fe = /* @__PURE__ */ $({
16
20
  __name: "SnackbarV4",
17
21
  props: {
18
22
  customClass: null,
@@ -29,18 +33,19 @@ const R = ["id"], j = { class: "container" }, q = { class: "texts" }, J = { clas
29
33
  title: { default: "" },
30
34
  zIndex: { default: 0 },
31
35
  actionButtons: null,
32
- testId: { default: "" }
36
+ testId: { default: "" },
37
+ isLoading: { type: Boolean, default: !1 }
33
38
  },
34
39
  emits: ["destroy"],
35
- setup(e) {
36
- const m = e, {
37
- visible: p,
38
- horizontalClass: w,
39
- positionStyle: L,
40
- clearTimer: k,
41
- startTimer: C,
42
- close: y
43
- } = G(m), E = {
40
+ setup(t, { expose: w }) {
41
+ const m = t, {
42
+ visible: L,
43
+ horizontalClass: A,
44
+ positionStyle: E,
45
+ clearTimer: C,
46
+ startTimer: v,
47
+ close: f
48
+ } = R(m), h = {
44
49
  info: {
45
50
  iconName: "info",
46
51
  class: "snackbar-icon-info"
@@ -52,86 +57,102 @@ const R = ["id"], j = { class: "container" }, q = { class: "texts" }, J = { clas
52
57
  success: {
53
58
  iconName: "check-circle",
54
59
  class: "snackbar-icon-success"
60
+ },
61
+ loading: {
62
+ iconName: "circle-notch"
55
63
  }
56
- }, v = A(() => E[m.type]), r = P(m.testId, i), M = ({ closeOnClick: c, onClick: o }) => () => {
57
- c && y(), o && o();
64
+ }, k = O(() => h[m.type]), d = j(m.testId, i);
65
+ x(() => {
66
+ z(() => {
67
+ document.querySelectorAll(".snackbar-icon-loading circle").forEach((o) => {
68
+ o.setAttribute("r", "45%");
69
+ });
70
+ });
71
+ });
72
+ const M = ({ closeOnClick: a, onClick: o }) => () => {
73
+ a && f(), o && o();
58
74
  };
59
- return (c, o) => (n(), d(O, {
75
+ return w({
76
+ close: f
77
+ }), (a, o) => (s(), l(V, {
60
78
  name: "snackbar",
61
- onBeforeLeave: e.onClose,
62
- onAfterLeave: o[3] || (o[3] = (s) => c.$emit("destroy"))
79
+ onBeforeLeave: t.onClose,
80
+ onAfterLeave: o[3] || (o[3] = (n) => a.$emit("destroy"))
63
81
  }, {
64
- default: f(() => [
65
- I(a("div", l({
66
- id: e.id,
67
- class: ["snackbar light-theme-v4", [e.customClass, t(w)]],
68
- style: t(L),
82
+ default: y(() => [
83
+ I(r("div", c({
84
+ id: t.id,
85
+ class: ["snackbar light-theme-v4", [t.customClass, e(A)]],
86
+ style: e(E),
69
87
  role: "alert"
70
- }, t(r)[t(i).CONTAINER], {
88
+ }, e(d)[e(i).CONTAINER], {
71
89
  onMouseenter: o[0] || (o[0] = //@ts-ignore
72
- (...s) => t(k) && t(k)(...s)),
90
+ (...n) => e(C) && e(C)(...n)),
73
91
  onMouseleave: o[1] || (o[1] = //@ts-ignore
74
- (...s) => t(C) && t(C)(...s)),
92
+ (...n) => e(v) && e(v)(...n)),
75
93
  onClick: o[2] || (o[2] = //@ts-ignore
76
- (...s) => e.onClick && e.onClick(...s))
94
+ (...n) => t.onClick && t.onClick(...n))
77
95
  }), [
78
- a("div", j, [
79
- a("div", q, [
80
- e.title ? (n(), d(t(b), l({
96
+ r("div", Q, [
97
+ r("div", W, [
98
+ t.title ? (s(), l(e(p), c({
81
99
  key: 0,
82
100
  variant: "h4",
83
101
  class: "title"
84
- }, t(r)[t(i).TITLE]), {
85
- default: f(() => [
86
- z(t(D), l({
87
- name: t(v).iconName,
102
+ }, e(d)[e(i).TITLE]), {
103
+ default: y(() => [
104
+ e(k) === h.loading ? (s(), g("div", X, [
105
+ U(J, { "stroke-width": 1 })
106
+ ])) : (s(), l(e(F), c({
107
+ key: 1,
108
+ name: e(k).iconName,
88
109
  type: "fill",
89
110
  size: "20px",
90
- class: [t(v).class, "icon-container"]
91
- }, t(r)[t(i).ICON]), null, 16, ["name", "class"]),
92
- T(" " + h(e.title), 1)
111
+ class: [e(k).class, "icon-container"]
112
+ }, e(d)[e(i).ICON]), null, 16, ["name", "class"])),
113
+ b(" " + B(t.title), 1)
93
114
  ]),
94
115
  _: 1
95
116
  }, 16)) : u("", !0),
96
- I(a("div", J, [
97
- B(c.$slots, "default", {}, () => [
98
- e.dangerouslyUseHTMLString ? u("", !0) : (n(), d(t(b), l({
117
+ I(r("div", Y, [
118
+ N(a.$slots, "default", {}, () => [
119
+ t.dangerouslyUseHTMLString ? u("", !0) : (s(), l(e(p), c({
99
120
  key: 0,
100
121
  variant: "body2"
101
- }, t(r)[t(i).MESSAGE]), {
102
- default: f(() => [
103
- T(h(e.message), 1)
122
+ }, e(d)[e(i).MESSAGE]), {
123
+ default: y(() => [
124
+ b(B(t.message), 1)
104
125
  ]),
105
126
  _: 1
106
127
  }, 16))
107
128
  ], !0)
108
129
  ], 512), [
109
- [N, e.message]
130
+ [S, t.message]
110
131
  ]),
111
- a("div", K, [
112
- B(c.$slots, "actions", {}, () => [
113
- e.actionButtons ? (n(), S("div", Q, [
114
- (n(!0), S(V, null, x(e.actionButtons, (s, g) => (n(), d(t(H), l({
115
- key: g,
116
- "data-testid": e.testId ? `${e.testId}-${t(i).ACTION_BUTTON}-${g}` : "",
132
+ r("div", Z, [
133
+ N(a.$slots, "actions", {}, () => [
134
+ t.actionButtons ? (s(), g("div", _, [
135
+ (s(!0), g(D, null, H(t.actionButtons, (n, T) => (s(), l(e(G), c({
136
+ key: T,
137
+ "data-testid": t.testId ? `${t.testId}-${e(i).ACTION_BUTTON}-${T}` : "",
117
138
  size: "small"
118
- }, { ...s, onClick: M(s) }), null, 16, ["data-testid"]))), 128))
139
+ }, { ...n, onClick: M(n) }), null, 16, ["data-testid"]))), 128))
119
140
  ])) : u("", !0)
120
141
  ], !0)
121
142
  ])
122
143
  ]),
123
- a("div", W, [
124
- e.showClose ? (n(), d(t(F), l({
144
+ r("div", ee, [
145
+ t.showClose ? (s(), l(e(P), c({
125
146
  key: 0,
126
147
  "icon-name": "x",
127
148
  size: "small"
128
- }, t(r)[t(i).CLOSE], {
129
- onClick: U(t(y), ["stop"])
149
+ }, e(d)[e(i).CLOSE], {
150
+ onClick: q(e(f), ["stop"])
130
151
  }), null, 16, ["onClick"])) : u("", !0)
131
152
  ])
132
153
  ])
133
- ], 16, R), [
134
- [N, t(p)]
154
+ ], 16, K), [
155
+ [S, e(L)]
135
156
  ])
136
157
  ]),
137
158
  _: 3
@@ -139,5 +160,5 @@ const R = ["id"], j = { class: "container" }, q = { class: "texts" }, J = { clas
139
160
  }
140
161
  });
141
162
  export {
142
- lt as default
163
+ fe as default
143
164
  };
@@ -1,7 +1,7 @@
1
1
  import o from "./DataGrid.vue2.js";
2
- /* empty css */import c from "../../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../../DataGrid.vue_vue_type_style_index_0_scoped_cd41c5ca_lang.css"; //*');
4
- const e = /* @__PURE__ */ c(o, [["__scopeId", "data-v-cd41c5ca"]]);
2
+ /* empty css */import e from "../../../_virtual/_plugin-vue_export-helper.js";
3
+ // import "../../../DataGrid.vue_vue_type_style_index_0_scoped_3673e156_lang.css"; //*');
4
+ const a = /* @__PURE__ */ e(o, [["__scopeId", "data-v-3673e156"]]);
5
5
  export {
6
- e as default
6
+ a as default
7
7
  };
@@ -1,4 +1,4 @@
1
- import "../../../DataGrid.vue_vue_type_style_index_0_scoped_cd41c5ca_lang.css"; import { defineComponent as ke, useCssVars as me, unref as t, useSlots as be, computed as u, openBlock as i, createElementBlock as d, createElementVNode as b, normalizeStyle as S, normalizeClass as y, createBlock as I, isRef as pe, createSlots as ve, withCtx as g, renderSlot as r, createCommentVNode as c, Fragment as x, renderList as C, createVNode as k, createTextVNode as P, toDisplayString as O, mergeProps as L } from "vue";
1
+ import "../../../DataGrid.vue_vue_type_style_index_0_scoped_3673e156_lang.css"; import { defineComponent as ke, useCssVars as me, unref as t, useSlots as be, computed as u, openBlock as i, createElementBlock as d, createElementVNode as b, normalizeStyle as S, normalizeClass as y, createBlock as I, isRef as pe, createSlots as ve, withCtx as g, renderSlot as r, createCommentVNode as c, Fragment as x, renderList as C, createVNode as k, createTextVNode as P, toDisplayString as O, mergeProps as L } from "vue";
2
2
  import V from "../../typography/v4/Typography.vue.js";
3
3
  import xe from "../../skeleton/v4/SkeletonV4.vue.js";
4
4
  import Ce from "../../emptyState/v4/EmptyStateV4.vue.js";
@@ -71,14 +71,14 @@ const Pe = ["data-testid"], Le = ["data-testid"], Ve = ["data-testid"], Me = {
71
71
  },
72
72
  emits: ["update:sort", "update:search", "update:selection", "onScroll", "onClearSearch", "saveRow", "loadMore", "selectAll", "selectRow", "clickRow"],
73
73
  setup(l, { expose: m, emit: f }) {
74
- const a = l;
75
- me((s) => ({
76
- "423d7fe6": l.zIndexBase,
77
- "38b7f4c1": t(le),
78
- "9b4c490c": t(G),
79
- "243617e8": t(fe)
74
+ const s = l;
75
+ me((a) => ({
76
+ fa71c02a: l.zIndexBase,
77
+ "0a21f61f": t(le),
78
+ "5d6e0550": t(G),
79
+ "43e43a46": t(fe)
80
80
  }));
81
- const p = be(), q = (s) => a.rowCustomClassKey && a.rows[s] ? a.rows[s][a.rowCustomClassKey] : "", {
81
+ const p = be(), q = (a) => s.rowCustomClassKey && s.rows[a] ? s.rows[a][s.rowCustomClassKey] : "", {
82
82
  list: $,
83
83
  containerProps: z,
84
84
  wrapperProps: J,
@@ -95,56 +95,56 @@ const Pe = ["data-testid"], Le = ["data-testid"], Ve = ["data-testid"], Me = {
95
95
  cssExpandGridCol: le,
96
96
  isRowExpanded: M,
97
97
  hasCheckboxes: D,
98
- activeMenuRow: se,
99
- scrollTo: ae
100
- } = Te(a, f), W = u(() => !!p.footer), ie = u(
101
- () => a.title || p.title || _.value || p["table-header-actions"] || p["table-header-pre-search"]
98
+ activeMenuRow: ae,
99
+ scrollTo: se
100
+ } = Te(s, f), W = u(() => !!p.footer), ie = u(
101
+ () => s.title || p.title || _.value || p["table-header-actions"] || p["table-header-pre-search"]
102
102
  ), v = u({
103
- get: () => a.search,
104
- set: (s) => f("update:search", s)
105
- }), oe = u(() => a.selection.length || 0), F = u(() => {
106
- const s = a.rows.map((o, e) => a.getRowId(o, e));
107
- return !!s.length && s.every((o) => E(o));
108
- }), E = (s) => a.selection.findIndex((o) => a.selectedMatcher(s, o)) !== -1, de = (s) => {
109
- E(s) ? (B(
110
- a.selection.filter(
111
- (o) => !a.selectedMatcher(s, o)
103
+ get: () => s.search,
104
+ set: (a) => f("update:search", a)
105
+ }), oe = u(() => s.selection.length || 0), F = u(() => {
106
+ const a = s.rows.map((o, e) => s.getRowId(o, e));
107
+ return !!a.length && a.every((o) => E(o));
108
+ }), E = (a) => s.selection.findIndex((o) => s.selectedMatcher(a, o)) !== -1, de = (a) => {
109
+ E(a) ? (B(
110
+ s.selection.filter(
111
+ (o) => !s.selectedMatcher(a, o)
112
112
  )
113
- ), f("selectRow", !1)) : (B([...a.selection, s]), f("selectRow", !0));
113
+ ), f("selectRow", !1)) : (B([...s.selection, a]), f("selectRow", !0));
114
114
  }, ne = () => {
115
115
  if (F.value)
116
116
  B([]), f("selectAll", !1);
117
117
  else {
118
- const s = a.rows.map((o, e) => a.getRowId(o, e)).filter((o) => !E(o));
119
- B([...a.selection, ...s]), f("selectAll", !0);
118
+ const a = s.rows.map((o, e) => s.getRowId(o, e)).filter((o) => !E(o));
119
+ B([...s.selection, ...a]), f("selectAll", !0);
120
120
  }
121
- }, B = (s) => {
122
- f("update:selection", s);
123
- }, re = (s) => !a.isLoading && T.value === s, ce = u(
124
- () => a.emptyStateVariant ?? (v.value ? "no-results" : "no-data")
121
+ }, B = (a) => {
122
+ f("update:selection", a);
123
+ }, re = (a) => !s.isLoading && T.value === a, ce = u(
124
+ () => s.emptyStateVariant ?? (v.value ? "no-results" : "no-data")
125
125
  ), ue = u(
126
- () => a.emptyStateSubtitle ? a.emptyStateSubtitle : v.value ? "Search again with different filters" : void 0
126
+ () => s.emptyStateSubtitle ? s.emptyStateSubtitle : v.value ? "Search again with different filters" : void 0
127
127
  ), N = u(() => ({
128
128
  class: {
129
- sticky: a.isSelectionSticky,
130
- bordered: a.isSelectionBordered
129
+ sticky: s.isSelectionSticky,
130
+ bordered: s.isSelectionBordered
131
131
  },
132
- style: a.isSelectionSticky ? H.value[Ae] : null
133
- })), he = (s) => ({
134
- sticky: s.isSticky,
135
- isStickyRight: s.isStickyRight,
136
- bordered: s.isBordered,
137
- isTextRight: s.isTextRight
132
+ style: s.isSelectionSticky ? H.value[Ae] : null
133
+ })), he = (a) => ({
134
+ sticky: a.isSticky,
135
+ isStickyRight: a.isStickyRight,
136
+ bordered: a.isBordered,
137
+ isTextRight: a.isTextRight
138
138
  }), Y = u(
139
- () => a.columns.map((s) => he(s))
140
- ), ye = (s) => ({
141
- minHeight: (typeof a.rowHeight == "function" ? a.rowHeight(s) : a.rowHeight) + "px"
142
- }), A = u(() => $.value.reduce((s, o) => (s[o.index] = ye(o.index), s), {})), fe = u(() => `${X}px`), { height: Se } = Ie(z.ref), ge = u(
139
+ () => s.columns.map((a) => he(a))
140
+ ), ye = (a) => ({
141
+ minHeight: (typeof s.rowHeight == "function" ? s.rowHeight(a) : s.rowHeight) + "px"
142
+ }), A = u(() => $.value.reduce((a, o) => (a[o.index] = ye(o.index), a), {})), fe = u(() => `${X}px`), { height: Se } = Ie(z.ref), ge = u(
143
143
  () => Se.value - j - X
144
144
  );
145
145
  return m({
146
- scrollTo: ae
147
- }), (s, o) => (i(), d("div", {
146
+ scrollTo: se
147
+ }), (a, o) => (i(), d("div", {
148
148
  class: "table-container",
149
149
  "data-testid": `${l.testId}-${t(R).CONTAINER}`,
150
150
  onMouseleave: o[3] || (o[3] = (e) => T.value = null)
@@ -173,24 +173,24 @@ const Pe = ["data-testid"], Le = ["data-testid"], Ve = ["data-testid"], Me = {
173
173
  onOnClearSearch: o[1] || (o[1] = (e) => f("onClearSearch"))
174
174
  }, ve({
175
175
  title: g(() => [
176
- r(s.$slots, "title")
176
+ r(a.$slots, "title")
177
177
  ]),
178
178
  search: g(() => [
179
- r(s.$slots, "search")
179
+ r(a.$slots, "search")
180
180
  ]),
181
181
  _: 2
182
182
  }, [
183
183
  t(p)["table-header-pre-search"] ? {
184
184
  name: "table-header-pre-search",
185
185
  fn: g(() => [
186
- r(s.$slots, "table-header-pre-search")
186
+ r(a.$slots, "table-header-pre-search")
187
187
  ]),
188
188
  key: "0"
189
189
  } : void 0,
190
190
  t(p)["table-header-actions"] ? {
191
191
  name: "table-header-actions",
192
192
  fn: g(() => [
193
- r(s.$slots, "table-header-actions")
193
+ r(a.$slots, "table-header-actions")
194
194
  ]),
195
195
  key: "1"
196
196
  } : void 0
@@ -206,7 +206,7 @@ const Pe = ["data-testid"], Le = ["data-testid"], Ve = ["data-testid"], Me = {
206
206
  key: e.id,
207
207
  class: y(["section-container", { sticky: e.isSticky }])
208
208
  }, [
209
- r(s.$slots, `section-${e.id}`, {}, () => [
209
+ r(a.$slots, `section-${e.id}`, {}, () => [
210
210
  b("div", {
211
211
  style: S({ width: e.width + "px" }),
212
212
  class: y({ section: !0 })
@@ -228,7 +228,7 @@ const Pe = ["data-testid"], Le = ["data-testid"], Ve = ["data-testid"], Me = {
228
228
  key: 0,
229
229
  class: "checkbox-cell"
230
230
  }, t(N)), [
231
- r(s.$slots, "select-all-checkbox", {}, () => [
231
+ r(a.$slots, "select-all-checkbox", {}, () => [
232
232
  k(t(Q), {
233
233
  disabled: l.isLoading,
234
234
  "is-checked": t(F),
@@ -249,7 +249,7 @@ const Pe = ["data-testid"], Le = ["data-testid"], Ve = ["data-testid"], Me = {
249
249
  onClick: (n) => e.isSortable ? t(Z)(e) : null
250
250
  }, [
251
251
  b("div", Fe, [
252
- r(s.$slots, `header-${e.id}`, { column: e }, () => [
252
+ r(a.$slots, `header-${e.id}`, { column: e }, () => [
253
253
  k(t(Re), {
254
254
  text: e.helpText,
255
255
  disabled: !e.helpText || l.helpTooltipVariant === "icon",
@@ -278,7 +278,7 @@ const Pe = ["data-testid"], Le = ["data-testid"], Ve = ["data-testid"], Me = {
278
278
  "hover-help-text-placement": e.helpTextPlacement,
279
279
  "test-id": `help-tooltip-${e.id}`
280
280
  }, null, 8, ["hover-help-text", "hover-help-text-placement", "test-id"])) : c("", !0),
281
- r(s.$slots, `after-header-${e.id}`, { column: e }),
281
+ r(a.$slots, `after-header-${e.id}`, { column: e }),
282
282
  e.isSortable && e.id === l.sort?.sortBy ? (i(), I(He, {
283
283
  key: 1,
284
284
  "sort-order": l.sort.sortOrder
@@ -299,7 +299,7 @@ const Pe = ["data-testid"], Le = ["data-testid"], Ve = ["data-testid"], Me = {
299
299
  }),
300
300
  style: S(e.isSticky ? t(H)[e.id] : null)
301
301
  }, [
302
- r(s.$slots, `total-${e.id}`, { column: e }, () => [
302
+ r(a.$slots, `total-${e.id}`, { column: e }, () => [
303
303
  h === 0 ? (i(), I(t(V), {
304
304
  key: 0,
305
305
  variant: "h6"
@@ -324,7 +324,7 @@ const Pe = ["data-testid"], Le = ["data-testid"], Ve = ["data-testid"], Me = {
324
324
  class: y(["table-row", {
325
325
  loading: l.isLoading || l.isLoading && !e.data || t(U).includes(e.index),
326
326
  active: t(T) === e.index,
327
- activeMenu: t(se) === e.index,
327
+ activeMenu: t(ae) === e.index,
328
328
  expanded: t(w) && t(M)(e.index),
329
329
  [q(e.index)]: !0
330
330
  }]),
@@ -371,7 +371,7 @@ const Pe = ["data-testid"], Le = ["data-testid"], Ve = ["data-testid"], Me = {
371
371
  key: 0,
372
372
  class: y(["table-cell", { last: n === e.data.length - 1 }])
373
373
  }, [
374
- r(s.$slots, `cell-${l.columns[n].id}`, {
374
+ r(a.$slots, `cell-${l.columns[n].id}`, {
375
375
  cell: e.data[n],
376
376
  isLoading: t(U).includes(e.index),
377
377
  cellIndex: n,
@@ -385,18 +385,18 @@ const Pe = ["data-testid"], Le = ["data-testid"], Ve = ["data-testid"], Me = {
385
385
  _: 2
386
386
  }, 1024)
387
387
  ])
388
- ], 2)) : r(s.$slots, "loader", { key: 1 }, () => [
388
+ ], 2)) : r(a.$slots, "loader", { key: 1 }, () => [
389
389
  k(t(xe), { round: "" })
390
390
  ])
391
391
  ], 6))), 128)),
392
392
  t(w) && t(M)(e.index) ? (i(), d("div", Ge, [
393
- r(s.$slots, "expanded", {
393
+ r(a.$slots, "expanded", {
394
394
  row: e,
395
395
  gridColumnTemplate: t(G)
396
396
  })
397
397
  ])) : c("", !0),
398
398
  re(e.index) ? (i(), d("div", Ke, [
399
- r(s.$slots, "floating-row", {
399
+ r(a.$slots, "floating-row", {
400
400
  row: e,
401
401
  rowIndex: e.index
402
402
  })
@@ -408,7 +408,7 @@ const Pe = ["data-testid"], Le = ["data-testid"], Ve = ["data-testid"], Me = {
408
408
  l.useAvailableHeight ? { height: `${t(ge)}px` } : {}
409
409
  )
410
410
  }, [
411
- r(s.$slots, "empty-state", {}, () => [
411
+ r(a.$slots, "empty-state", {}, () => [
412
412
  k(t(Ce), {
413
413
  class: "empty-state",
414
414
  title: l.emptyStateTitle,
@@ -422,7 +422,7 @@ const Pe = ["data-testid"], Le = ["data-testid"], Ve = ["data-testid"], Me = {
422
422
  ])
423
423
  ], 46, Le),
424
424
  t(W) ? (i(), d("div", Ue, [
425
- r(s.$slots, "footer")
425
+ r(a.$slots, "footer")
426
426
  ])) : c("", !0)
427
427
  ], 40, Pe));
428
428
  }
@@ -24,9 +24,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
24
24
  validateFunction: () => false;
25
25
  }>>>, {
26
26
  cell: string;
27
+ isLoading: boolean;
27
28
  isEditing: boolean;
28
29
  validateFunction: (value: unknown) => string | boolean;
29
- isLoading: boolean;
30
30
  }>, {
31
31
  input?(_: {}): any;
32
32
  content?(_: {}): any;