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

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 (129) hide show
  1. package/AppHeader.vue_vue_type_style_index_0_scoped_18bc6c0d_lang.css +1 -0
  2. package/ButtonV4.vue_vue_type_style_index_0_scoped_a59af1ad_lang.css +1 -0
  3. package/CalendarMonth.vue_vue_type_style_index_0_scoped_a44769fd_lang.css +1 -0
  4. package/CalendarMonthV4.vue_vue_type_style_index_0_scoped_6eae923a_lang.css +1 -0
  5. package/Chart.vue_vue_type_style_index_0_scoped_3e022c94_lang.css +1 -0
  6. package/ChartHeader.vue_vue_type_style_index_0_scoped_3a061c08_lang.css +1 -0
  7. package/ChartPlane.vue_vue_type_style_index_0_scoped_6de5cddb_lang.css +1 -0
  8. package/ColumnPicker.vue_vue_type_style_index_0_scoped_d59af062_lang.css +1 -0
  9. package/DataGrid.vue_vue_type_style_index_0_scoped_0967498f_lang.css +1 -0
  10. package/DateRange.vue_vue_type_style_index_0_scoped_25d03907_lang.css +1 -0
  11. package/DateRangeV4.vue_vue_type_style_index_0_scoped_f8826716_lang.css +1 -0
  12. package/IconV4.vue_vue_type_style_index_0_scoped_6683c5b5_lang.css +1 -0
  13. package/InlineCopy.vue_vue_type_style_index_0_scoped_9fa1921a_lang.css +1 -0
  14. package/SectionDropdown.vue_vue_type_style_index_0_scoped_65877e48_lang.css +1 -0
  15. package/SnackbarV4.vue_vue_type_style_index_0_scoped_35c79635_lang.css +1 -0
  16. package/SwitchV4.vue_vue_type_style_index_0_scoped_b71a806e_lang.css +1 -0
  17. package/Tag.vue_vue_type_style_index_0_scoped_78f19cb0_lang.css +1 -0
  18. package/ThemeWrapper.vue_vue_type_style_index_1_lang.css +1 -1
  19. package/TooltipV4.vue_vue_type_style_index_0_scoped_a8aebfee_lang.css +1 -0
  20. package/TooltipV4.vue_vue_type_style_index_1_lang.css +1 -1
  21. package/components/appHeader/AppHeader.vue.js +3 -3
  22. package/components/appHeader/AppHeader.vue2.js +43 -44
  23. package/components/button/v3/Button.vue.d.ts +6 -6
  24. package/components/button/v3/index.d.ts +14 -14
  25. package/components/button/v4/ButtonV4.vue.js +3 -3
  26. package/components/button/v4/ButtonV4.vue2.js +1 -1
  27. package/components/chart/Chart.vue.d.ts +5 -0
  28. package/components/chart/Chart.vue.js +3 -3
  29. package/components/chart/Chart.vue2.js +10 -8
  30. package/components/chart/ChartHeader.vue.d.ts +5 -0
  31. package/components/chart/ChartHeader.vue.js +3 -3
  32. package/components/chart/ChartHeader.vue2.js +73 -49
  33. package/components/chart/ChartPlane.vue.d.ts +5 -0
  34. package/components/chart/ChartPlane.vue.js +3 -3
  35. package/components/chart/ChartPlane.vue2.js +33 -31
  36. package/components/chart/ChartStoryArgs.d.ts +6 -0
  37. package/components/chart/index.d.ts +20 -1
  38. package/components/columnConfigurator/SectionDropdown.vue.js +3 -3
  39. package/components/columnConfigurator/SectionDropdown.vue2.js +6 -7
  40. package/components/columnPicker/ColumnPicker.vue.d.ts +2 -0
  41. package/components/columnPicker/ColumnPicker.vue.js +3 -3
  42. package/components/columnPicker/ColumnPicker.vue2.js +173 -153
  43. package/components/columnPicker/index.d.ts +7 -1
  44. package/components/dateRange/common/CalendarMonth.common.js +46 -41
  45. package/components/dateRange/common/DateRange.common.d.ts +1 -0
  46. package/components/dateRange/common/DateRange.common.js +39 -38
  47. package/components/dateRange/common/consts.common.d.ts +5 -0
  48. package/components/dateRange/common/consts.common.js +9 -0
  49. package/components/dateRange/v3/CalendarMonth.vue.d.ts +5 -0
  50. package/components/dateRange/v3/CalendarMonth.vue.js +3 -3
  51. package/components/dateRange/v3/CalendarMonth.vue2.js +6 -5
  52. package/components/dateRange/v3/DateRange.vue.d.ts +8 -3
  53. package/components/dateRange/v3/DateRange.vue.js +2 -2
  54. package/components/dateRange/v3/DateRange.vue2.js +2 -1
  55. package/components/dateRange/v3/DateRangePicker.vue.d.ts +3 -3
  56. package/components/dateRange/v3/index.d.ts +27 -8
  57. package/components/dateRange/v4/CalendarMonthV4.vue.d.ts +5 -0
  58. package/components/dateRange/v4/CalendarMonthV4.vue.js +4 -4
  59. package/components/dateRange/v4/CalendarMonthV4.vue2.js +12 -11
  60. package/components/dateRange/v4/DateRangePickerV4.vue.d.ts +3 -3
  61. package/components/dateRange/v4/DateRangeV4.vue.d.ts +8 -3
  62. package/components/dateRange/v4/DateRangeV4.vue.js +3 -3
  63. package/components/dateRange/v4/DateRangeV4.vue2.js +104 -101
  64. package/components/dateRange/v4/index.d.ts +27 -8
  65. package/components/dropdown/v4/ButtonDropdownTrigger.vue.d.ts +1 -1
  66. package/components/emptyState/v3/EmptyState.vue.d.ts +3 -3
  67. package/components/emptyState/v3/index.d.ts +7 -7
  68. package/components/icon/v4/IconV4.vue.d.ts +5 -0
  69. package/components/icon/v4/IconV4.vue.js +2 -2
  70. package/components/icon/v4/IconV4.vue2.js +27 -26
  71. package/components/icon/v4/index.d.ts +20 -1
  72. package/components/includeExclude/index.d.ts +16 -16
  73. package/components/inlineCopy/InlineCopy.vue.d.ts +15 -0
  74. package/components/inlineCopy/InlineCopy.vue.js +2 -2
  75. package/components/inlineCopy/InlineCopy.vue2.js +80 -51
  76. package/components/inlineCopy/index.d.ts +27 -0
  77. package/components/snackbar/common/notify.js +25 -25
  78. package/components/snackbar/common/snackbar.common.js +19 -19
  79. package/components/snackbar/common/snackbar.types.d.ts +2 -1
  80. package/components/snackbar/v4/SnackbarV4.vue.d.ts +8 -1
  81. package/components/snackbar/v4/SnackbarV4.vue.js +2 -2
  82. package/components/snackbar/v4/SnackbarV4.vue2.js +85 -64
  83. package/components/switch/v4/SwitchV4.vue.d.ts +5 -0
  84. package/components/switch/v4/SwitchV4.vue.js +4 -4
  85. package/components/switch/v4/SwitchV4.vue2.js +14 -13
  86. package/components/switch/v4/index.d.ts +9 -0
  87. package/components/table/v4/DataGrid.vue.d.ts +2 -0
  88. package/components/table/v4/DataGrid.vue.js +4 -4
  89. package/components/table/v4/DataGrid.vue2.js +82 -80
  90. package/components/table/v4/index.d.ts +7 -1
  91. package/components/table-cells/v3/Editable.vue.d.ts +1 -1
  92. package/components/table-cells/v3/index.d.ts +20 -20
  93. package/components/table-cells/v4/EditableV4.vue.d.ts +1 -1
  94. package/components/table-cells/v4/index.d.ts +20 -20
  95. package/components/tag/Tag.vue.d.ts +112 -0
  96. package/components/tag/Tag.vue.js +7 -0
  97. package/components/tag/Tag.vue2.js +221 -0
  98. package/components/tag/index.d.ts +161 -0
  99. package/components/tag/index.js +6 -0
  100. package/components/tagsField/index.d.ts +42 -3
  101. package/components/tagsField/index.js +6 -4
  102. package/components/tooltip/v4/TooltipV4.vue.d.ts +5 -0
  103. package/components/tooltip/v4/TooltipV4.vue.js +2 -2
  104. package/components/tooltip/v4/TooltipV4.vue2.js +76 -36
  105. package/components/tooltip/v4/index.d.ts +20 -1
  106. package/design-foundation.stories/colors/ColorsData.d.ts +1 -0
  107. package/index.d.ts +281 -82
  108. package/index.js +84 -78
  109. package/package.json +2 -7
  110. package/style/v4/colors.scss +1 -1
  111. package/style/v4/grid.css +1 -1
  112. package/style/v4/grid.css.map +1 -1
  113. package/AppHeader.vue_vue_type_style_index_0_scoped_9202b5db_lang.css +0 -1
  114. package/ButtonV4.vue_vue_type_style_index_0_scoped_afe44a65_lang.css +0 -1
  115. package/CalendarMonth.vue_vue_type_style_index_0_scoped_acd3440c_lang.css +0 -1
  116. package/CalendarMonthV4.vue_vue_type_style_index_0_scoped_b0d3ea50_lang.css +0 -1
  117. package/Chart.vue_vue_type_style_index_0_scoped_060d02be_lang.css +0 -1
  118. package/ChartHeader.vue_vue_type_style_index_0_scoped_d90c583e_lang.css +0 -1
  119. package/ChartPlane.vue_vue_type_style_index_0_scoped_3c887f7e_lang.css +0 -1
  120. package/ColumnPicker.vue_vue_type_style_index_0_scoped_01c4e08f_lang.css +0 -1
  121. package/DataGrid.vue_vue_type_style_index_0_scoped_cd41c5ca_lang.css +0 -1
  122. package/DateRange.vue_vue_type_style_index_0_scoped_70e316e9_lang.css +0 -1
  123. package/DateRangeV4.vue_vue_type_style_index_0_scoped_a849128a_lang.css +0 -1
  124. package/IconV4.vue_vue_type_style_index_0_scoped_dc433d48_lang.css +0 -1
  125. package/InlineCopy.vue_vue_type_style_index_0_scoped_ad48b61e_lang.css +0 -1
  126. package/SectionDropdown.vue_vue_type_style_index_0_scoped_cfad60a8_lang.css +0 -1
  127. package/SnackbarV4.vue_vue_type_style_index_0_scoped_1b650c39_lang.css +0 -1
  128. package/SwitchV4.vue_vue_type_style_index_0_scoped_0a80c49f_lang.css +0 -1
  129. package/TooltipV4.vue_vue_type_style_index_0_scoped_8a451e54_lang.css +0 -1
@@ -1,5 +1,5 @@
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";
2
- import V from "../../typography/v4/Typography.vue.js";
1
+ import "../../../DataGrid.vue_vue_type_style_index_0_scoped_0967498f_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 f, createBlock as I, isRef as ve, createSlots as pe, withCtx as g, renderSlot as r, createCommentVNode as c, Fragment as C, renderList as R, createVNode as k, createTextVNode as M, toDisplayString as O, mergeProps as P } from "vue";
2
+ import L 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";
5
5
  import Q from "../../checkbox/v4/CheckboxV4.vue.js";
@@ -10,17 +10,17 @@ import "./DataGridRowsCounter.vue.js";
10
10
  import $e from "./DataGridHeader.vue.js";
11
11
  import "./DataGridContainer.vue.js";
12
12
  import "./MultipleDataGrid.vue.js";
13
- import { TableTestIdModifiers as R } from "../../../testids/index.js";
13
+ import { TableTestIdModifiers as $ } from "../../../testids/index.js";
14
14
  import { tableCommon as Te } from "../common/Table.common.js";
15
15
  import He from "./SortIcon.vue.js";
16
16
  import we from "./HelpIcon.vue.js";
17
17
  import Ee from "./ExpandRowToggle.vue.js";
18
18
  import { DEFAULT_ROW_HEIGHT as Be, CHECKBOX_COLUMN_ID as Ae, DATA_GRID_HEADER_HEIGHT as X, HEADER_ROW_HEIGHT as j } from "../common/consts.js";
19
19
  import { useElementSize as Ie } from "@vueuse/core";
20
- const Pe = ["data-testid"], Le = ["data-testid"], Ve = ["data-testid"], Me = {
20
+ const Me = ["data-testid"], Pe = ["data-testid"], Le = ["data-testid"], Ve = {
21
21
  key: 1,
22
22
  class: "expand-toggle-cell"
23
- }, De = ["onClick"], Fe = { class: "table-head-container" }, Ne = {
23
+ }, De = ["onClick", "onMouseenter"], Fe = { class: "table-head-container" }, Ne = {
24
24
  key: 0,
25
25
  class: "totals-row"
26
26
  }, Oe = ["data-testid"], ze = ["onMouseenter", "onClick"], Ge = {
@@ -69,17 +69,17 @@ const Pe = ["data-testid"], Le = ["data-testid"], Ve = ["data-testid"], Me = {
69
69
  isSelectionSticky: { type: Boolean, default: !1 },
70
70
  isSelectionBordered: { type: Boolean, default: !1 }
71
71
  },
72
- emits: ["update:sort", "update:search", "update:selection", "onScroll", "onClearSearch", "saveRow", "loadMore", "selectAll", "selectRow", "clickRow"],
73
- setup(l, { expose: m, emit: f }) {
72
+ emits: ["update:sort", "update:search", "update:selection", "onScroll", "onClearSearch", "saveRow", "loadMore", "selectAll", "selectRow", "clickRow", "columnHover"],
73
+ setup(l, { expose: m, emit: h }) {
74
74
  const a = l;
75
75
  me((s) => ({
76
- "423d7fe6": l.zIndexBase,
77
- "38b7f4c1": t(le),
78
- "9b4c490c": t(G),
79
- "243617e8": t(fe)
76
+ "30f420c8": l.zIndexBase,
77
+ "25787d10": t(le),
78
+ "71198c09": t(G),
79
+ "31cbe0b7": t(fe)
80
80
  }));
81
- const p = be(), q = (s) => a.rowCustomClassKey && a.rows[s] ? a.rows[s][a.rowCustomClassKey] : "", {
82
- list: $,
81
+ const v = be(), q = (s) => a.rowCustomClassKey && a.rows[s] ? a.rows[s][a.rowCustomClassKey] : "", {
82
+ list: p,
83
83
  containerProps: z,
84
84
  wrapperProps: J,
85
85
  activeRow: T,
@@ -93,15 +93,15 @@ const Pe = ["data-testid"], Le = ["data-testid"], Ve = ["data-testid"], Me = {
93
93
  hasExpandSlot: w,
94
94
  toggleExpandRow: te,
95
95
  cssExpandGridCol: le,
96
- isRowExpanded: M,
96
+ isRowExpanded: V,
97
97
  hasCheckboxes: D,
98
98
  activeMenuRow: se,
99
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"]
102
- ), v = u({
100
+ } = Te(a, h), W = u(() => !!v.footer), ie = u(
101
+ () => a.title || v.title || _.value || v["table-header-actions"] || v["table-header-pre-search"]
102
+ ), x = u({
103
103
  get: () => a.search,
104
- set: (s) => f("update:search", s)
104
+ set: (s) => h("update:search", s)
105
105
  }), oe = u(() => a.selection.length || 0), F = u(() => {
106
106
  const s = a.rows.map((o, e) => a.getRowId(o, e));
107
107
  return !!s.length && s.every((o) => E(o));
@@ -110,20 +110,20 @@ const Pe = ["data-testid"], Le = ["data-testid"], Ve = ["data-testid"], Me = {
110
110
  a.selection.filter(
111
111
  (o) => !a.selectedMatcher(s, o)
112
112
  )
113
- ), f("selectRow", !1)) : (B([...a.selection, s]), f("selectRow", !0));
113
+ ), h("selectRow", !1)) : (B([...a.selection, s]), h("selectRow", !0));
114
114
  }, ne = () => {
115
115
  if (F.value)
116
- B([]), f("selectAll", !1);
116
+ B([]), h("selectAll", !1);
117
117
  else {
118
118
  const s = a.rows.map((o, e) => a.getRowId(o, e)).filter((o) => !E(o));
119
- B([...a.selection, ...s]), f("selectAll", !0);
119
+ B([...a.selection, ...s]), h("selectAll", !0);
120
120
  }
121
121
  }, B = (s) => {
122
- f("update:selection", s);
122
+ h("update:selection", s);
123
123
  }, re = (s) => !a.isLoading && T.value === s, ce = u(
124
- () => a.emptyStateVariant ?? (v.value ? "no-results" : "no-data")
124
+ () => a.emptyStateVariant ?? (x.value ? "no-results" : "no-data")
125
125
  ), ue = u(
126
- () => a.emptyStateSubtitle ? a.emptyStateSubtitle : v.value ? "Search again with different filters" : void 0
126
+ () => a.emptyStateSubtitle ? a.emptyStateSubtitle : x.value ? "Search again with different filters" : void 0
127
127
  ), N = u(() => ({
128
128
  class: {
129
129
  sticky: a.isSelectionSticky,
@@ -139,30 +139,31 @@ const Pe = ["data-testid"], Le = ["data-testid"], Ve = ["data-testid"], Me = {
139
139
  () => a.columns.map((s) => he(s))
140
140
  ), ye = (s) => ({
141
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(
142
+ }), A = u(() => p.value.reduce((s, o) => (s[o.index] = ye(o.index), s), {})), fe = u(() => `${X}px`), { height: Se } = Ie(z.ref), ge = u(
143
143
  () => Se.value - j - X
144
144
  );
145
145
  return m({
146
146
  scrollTo: ae
147
147
  }), (s, o) => (i(), d("div", {
148
148
  class: "table-container",
149
- "data-testid": `${l.testId}-${t(R).CONTAINER}`,
149
+ "data-testid": `${l.testId}-${t($).CONTAINER}`,
150
150
  onMouseleave: o[3] || (o[3] = (e) => T.value = null)
151
151
  }, [
152
152
  b("table", {
153
153
  ref: t(z).ref,
154
154
  style: S(t(ee)),
155
- class: y({
156
- hasFooter: t(W)
155
+ class: f({
156
+ hasFooter: t(W),
157
+ "disabled-scrolling": t(p).length === 0
157
158
  }),
158
- "data-testid": `${l.testId}-${t(R).TABLE}`,
159
+ "data-testid": `${l.testId}-${t($).TABLE}`,
159
160
  onScrollPassive: o[2] || (o[2] = //@ts-ignore
160
161
  (...e) => t(K) && t(K)(...e))
161
162
  }, [
162
163
  t(ie) ? (i(), I(t($e), {
163
164
  key: 0,
164
- search: t(v),
165
- "onUpdate:search": o[0] || (o[0] = (e) => pe(v) ? v.value = e : null),
165
+ search: t(x),
166
+ "onUpdate:search": o[0] || (o[0] = (e) => ve(x) ? x.value = e : null),
166
167
  title: l.title,
167
168
  "is-sticky": l.isStickyHeader,
168
169
  "show-search": l.showSearch,
@@ -170,8 +171,8 @@ const Pe = ["data-testid"], Le = ["data-testid"], Ve = ["data-testid"], Me = {
170
171
  "search-auto-focus": l.searchAutoFocus,
171
172
  "z-index-base": l.zIndexBase,
172
173
  "test-id": l.testId,
173
- onOnClearSearch: o[1] || (o[1] = (e) => f("onClearSearch"))
174
- }, ve({
174
+ onOnClearSearch: o[1] || (o[1] = (e) => h("onClearSearch"))
175
+ }, pe({
175
176
  title: g(() => [
176
177
  r(s.$slots, "title")
177
178
  ]),
@@ -180,14 +181,14 @@ const Pe = ["data-testid"], Le = ["data-testid"], Ve = ["data-testid"], Me = {
180
181
  ]),
181
182
  _: 2
182
183
  }, [
183
- t(p)["table-header-pre-search"] ? {
184
+ t(v)["table-header-pre-search"] ? {
184
185
  name: "table-header-pre-search",
185
186
  fn: g(() => [
186
187
  r(s.$slots, "table-header-pre-search")
187
188
  ]),
188
189
  key: "0"
189
190
  } : void 0,
190
- t(p)["table-header-actions"] ? {
191
+ t(v)["table-header-actions"] ? {
191
192
  name: "table-header-actions",
192
193
  fn: g(() => [
193
194
  r(s.$slots, "table-header-actions")
@@ -196,35 +197,35 @@ const Pe = ["data-testid"], Le = ["data-testid"], Ve = ["data-testid"], Me = {
196
197
  } : void 0
197
198
  ]), 1032, ["search", "title", "is-sticky", "show-search", "search-placeholder", "search-auto-focus", "z-index-base", "test-id"])) : c("", !0),
198
199
  b("thead", {
199
- class: y({ sticky: l.isSticky, isStickyHeader: l.isStickyHeader })
200
+ class: f({ sticky: l.isSticky, isStickyHeader: l.isStickyHeader })
200
201
  }, [
201
202
  b("div", {
202
203
  class: "sections",
203
- "data-testid": `${l.testId}-${t(R).SECTIONS}`
204
+ "data-testid": `${l.testId}-${t($).SECTIONS}`
204
205
  }, [
205
- (i(!0), d(x, null, C(l.sections, (e) => (i(), d("div", {
206
+ (i(!0), d(C, null, R(l.sections, (e) => (i(), d("div", {
206
207
  key: e.id,
207
- class: y(["section-container", { sticky: e.isSticky }])
208
+ class: f(["section-container", { sticky: e.isSticky }])
208
209
  }, [
209
210
  r(s.$slots, `section-${e.id}`, {}, () => [
210
211
  b("div", {
211
212
  style: S({ width: e.width + "px" }),
212
- class: y({ section: !0 })
213
+ class: f({ section: !0 })
213
214
  }, [
214
- k(t(V), { variant: "body2" }, {
215
+ k(t(L), { variant: "body2" }, {
215
216
  default: g(() => [
216
- P(O(e.title), 1)
217
+ M(O(e.title), 1)
217
218
  ]),
218
219
  _: 2
219
220
  }, 1024)
220
221
  ], 4)
221
222
  ])
222
223
  ], 2))), 128))
223
- ], 8, Ve),
224
+ ], 8, Le),
224
225
  b("tr", {
225
226
  style: S({ height: `${t(j)}px` })
226
227
  }, [
227
- t(D) ? (i(), d("th", L({
228
+ t(D) ? (i(), d("th", P({
228
229
  key: 0,
229
230
  class: "checkbox-cell"
230
231
  }, t(N)), [
@@ -237,16 +238,17 @@ const Pe = ["data-testid"], Le = ["data-testid"], Ve = ["data-testid"], Me = {
237
238
  }, null, 8, ["disabled", "is-checked", "is-indeterminate"])
238
239
  ])
239
240
  ], 16)) : c("", !0),
240
- t(w) ? (i(), d("th", Me)) : c("", !0),
241
- (i(!0), d(x, null, C(l.columns, (e, h) => (i(), d("th", {
241
+ t(w) ? (i(), d("th", Ve)) : c("", !0),
242
+ (i(!0), d(C, null, R(l.columns, (e, y) => (i(), d("th", {
242
243
  key: e.id,
243
- class: y({
244
- ...t(Y)[h],
244
+ class: f({
245
+ ...t(Y)[y],
245
246
  isSortable: e.isSortable,
246
247
  [`column-${e.id}`]: !0
247
248
  }),
248
249
  style: S(e.isSticky ? t(H)[e.id] : null),
249
- onClick: (n) => e.isSortable ? t(Z)(e) : null
250
+ onClick: (n) => e.isSortable ? t(Z)(e) : null,
251
+ onMouseenter: () => h("columnHover", e)
250
252
  }, [
251
253
  b("div", Fe, [
252
254
  r(s.$slots, `header-${e.id}`, { column: e }, () => [
@@ -257,14 +259,14 @@ const Pe = ["data-testid"], Le = ["data-testid"], Ve = ["data-testid"], Me = {
257
259
  "test-id": `help-tooltip-underlined-${e.id}`
258
260
  }, {
259
261
  default: g(() => [
260
- k(t(V), {
262
+ k(t(L), {
261
263
  variant: "tableLabel",
262
- class: y({
264
+ class: f({
263
265
  underlined: e.helpText && l.helpTooltipVariant === "underline"
264
266
  })
265
267
  }, {
266
268
  default: g(() => [
267
- P(O(e.title), 1)
269
+ M(O(e.title), 1)
268
270
  ]),
269
271
  _: 2
270
272
  }, 1032, ["class"])
@@ -284,28 +286,28 @@ const Pe = ["data-testid"], Le = ["data-testid"], Ve = ["data-testid"], Me = {
284
286
  "sort-order": l.sort.sortOrder
285
287
  }, null, 8, ["sort-order"])) : c("", !0)
286
288
  ])
287
- ], 14, De))), 128))
289
+ ], 46, De))), 128))
288
290
  ], 4),
289
- l.showTotalsRow && t($).length > 0 ? (i(), d("tr", Ne, [
290
- t(D) ? (i(), d("td", L({
291
+ l.showTotalsRow && t(p).length > 0 ? (i(), d("tr", Ne, [
292
+ t(D) ? (i(), d("td", P({
291
293
  key: 0,
292
294
  class: "bg"
293
295
  }, t(N)), null, 16)) : c("", !0),
294
- (i(!0), d(x, null, C(l.columns, (e, h) => (i(), d("td", {
296
+ (i(!0), d(C, null, R(l.columns, (e, y) => (i(), d("td", {
295
297
  key: e.id,
296
- class: y({
297
- ...t(Y)[h],
298
+ class: f({
299
+ ...t(Y)[y],
298
300
  [`total-${e.id}`]: !0
299
301
  }),
300
302
  style: S(e.isSticky ? t(H)[e.id] : null)
301
303
  }, [
302
304
  r(s.$slots, `total-${e.id}`, { column: e }, () => [
303
- h === 0 ? (i(), I(t(V), {
305
+ y === 0 ? (i(), I(t(L), {
304
306
  key: 0,
305
307
  variant: "h6"
306
308
  }, {
307
309
  default: g(() => [
308
- P("Totals")
310
+ M("Totals")
309
311
  ]),
310
312
  _: 1
311
313
  })) : c("", !0)
@@ -314,25 +316,25 @@ const Pe = ["data-testid"], Le = ["data-testid"], Ve = ["data-testid"], Me = {
314
316
  ])) : c("", !0)
315
317
  ], 2),
316
318
  b("tbody", null, [
317
- t($).length > 0 ? (i(), d("div", L({
319
+ t(p).length > 0 ? (i(), d("div", P({
318
320
  key: 0,
319
321
  class: "table-body-wrapper",
320
- "data-testid": `${l.testId}-${t(R).BODY_WRAPPER}`
322
+ "data-testid": `${l.testId}-${t($).BODY_WRAPPER}`
321
323
  }, t(J)), [
322
- (i(!0), d(x, null, C(t($), (e) => (i(), d("tr", {
324
+ (i(!0), d(C, null, R(t(p), (e) => (i(), d("tr", {
323
325
  key: l.getRowKey(e.data, e.index),
324
- class: y(["table-row", {
326
+ class: f(["table-row", {
325
327
  loading: l.isLoading || l.isLoading && !e.data || t(U).includes(e.index),
326
328
  active: t(T) === e.index,
327
329
  activeMenu: t(se) === e.index,
328
- expanded: t(w) && t(M)(e.index),
330
+ expanded: t(w) && t(V)(e.index),
329
331
  [q(e.index)]: !0
330
332
  }]),
331
333
  style: S(t(A)[e.index]),
332
- onMouseenter: (h) => T.value = e.index,
333
- onClick: (h) => f("clickRow", e.index)
334
+ onMouseenter: (y) => T.value = e.index,
335
+ onClick: (y) => h("clickRow", e.index)
334
336
  }, [
335
- t(D) ? (i(), d("td", L({
337
+ t(D) ? (i(), d("td", P({
336
338
  key: 0,
337
339
  class: "checkbox-cell"
338
340
  }, t(N), {
@@ -340,7 +342,7 @@ const Pe = ["data-testid"], Le = ["data-testid"], Ve = ["data-testid"], Me = {
340
342
  }), [
341
343
  k(t(Q), {
342
344
  "is-checked": E(l.getRowId(e.data, e.index)),
343
- "onUpdate:isChecked": (h) => de(l.getRowId(e.data, e.index))
345
+ "onUpdate:isChecked": (y) => de(l.getRowId(e.data, e.index))
344
346
  }, null, 8, ["is-checked", "onUpdate:isChecked"])
345
347
  ], 16)) : c("", !0),
346
348
  t(w) ? (i(), d("td", {
@@ -349,13 +351,13 @@ const Pe = ["data-testid"], Le = ["data-testid"], Ve = ["data-testid"], Me = {
349
351
  style: S(t(A)[e.index])
350
352
  }, [
351
353
  k(Ee, {
352
- expanded: t(M)(e.index),
353
- onClick: (h) => t(te)(e.index, h)
354
+ expanded: t(V)(e.index),
355
+ onClick: (y) => t(te)(e.index, y)
354
356
  }, null, 8, ["expanded", "onClick"])
355
357
  ], 4)) : c("", !0),
356
- (i(!0), d(x, null, C(l.columns, (h, n) => (i(), d("td", {
358
+ (i(!0), d(C, null, R(l.columns, (y, n) => (i(), d("td", {
357
359
  key: n,
358
- class: y({
360
+ class: f({
359
361
  sticky: l.columns[n].isSticky,
360
362
  isStickyRight: l.columns[n].isStickyRight,
361
363
  bordered: l.columns[n].isBordered,
@@ -369,7 +371,7 @@ const Pe = ["data-testid"], Le = ["data-testid"], Ve = ["data-testid"], Me = {
369
371
  }, [
370
372
  !l.isLoading || l.isLoading && e.data[n] ? (i(), d("div", {
371
373
  key: 0,
372
- class: y(["table-cell", { last: n === e.data.length - 1 }])
374
+ class: f(["table-cell", { last: n === e.data.length - 1 }])
373
375
  }, [
374
376
  r(s.$slots, `cell-${l.columns[n].id}`, {
375
377
  cell: e.data[n],
@@ -378,9 +380,9 @@ const Pe = ["data-testid"], Le = ["data-testid"], Ve = ["data-testid"], Me = {
378
380
  row: e,
379
381
  rowIndex: e.index
380
382
  }, () => [
381
- k(t(V), { variant: "body1" }, {
383
+ k(t(L), { variant: "body1" }, {
382
384
  default: g(() => [
383
- P(O(e.data[n]), 1)
385
+ M(O(e.data[n]), 1)
384
386
  ]),
385
387
  _: 2
386
388
  }, 1024)
@@ -389,7 +391,7 @@ const Pe = ["data-testid"], Le = ["data-testid"], Ve = ["data-testid"], Me = {
389
391
  k(t(xe), { round: "" })
390
392
  ])
391
393
  ], 6))), 128)),
392
- t(w) && t(M)(e.index) ? (i(), d("div", Ge, [
394
+ t(w) && t(V)(e.index) ? (i(), d("div", Ge, [
393
395
  r(s.$slots, "expanded", {
394
396
  row: e,
395
397
  gridColumnTemplate: t(G)
@@ -415,16 +417,16 @@ const Pe = ["data-testid"], Le = ["data-testid"], Ve = ["data-testid"], Me = {
415
417
  subtitle: t(ue),
416
418
  variant: t(ce),
417
419
  "icon-name": "file-search",
418
- "test-id": `${l.testId}-${t(R).EMPTY_STATE}`
420
+ "test-id": `${l.testId}-${t($).EMPTY_STATE}`
419
421
  }, null, 8, ["title", "subtitle", "variant", "test-id"])
420
422
  ])
421
423
  ], 4))
422
424
  ])
423
- ], 46, Le),
425
+ ], 46, Pe),
424
426
  t(W) ? (i(), d("div", Ue, [
425
427
  r(s.$slots, "footer")
426
428
  ])) : c("", !0)
427
- ], 40, Pe));
429
+ ], 40, Me));
428
430
  }
429
431
  });
430
432
  export {
@@ -567,6 +567,7 @@ declare const DataGridTypes: () => (import("vue").DefineComponent<{
567
567
  onOnClearSearch?: () => any;
568
568
  onClickRow?: (rowIndex: number) => any;
569
569
  onSelectRow?: (value: boolean) => any;
570
+ onColumnHover?: (column: import("../common/Table.types").Column) => any;
570
571
  } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "sort" | "title" | "search" | "testId" | "isLoading" | "searchAutoFocus" | "searchPlaceholder" | "selection" | "loadingRowCount" | "zIndexBase" | "showSearch" | "emptyStateTitle" | "isSticky" | "sections" | "isStickyHeader" | "emptyStateSubtitle" | "isInfiniteScroll" | "infiniteScrollThreshold" | "rowHeight" | "defaultScrollPosition" | "getRowId" | "getRowKey" | "emptyStateVariant" | "rowCustomClassKey" | "rowDataKey" | "helpTooltipVariant" | "useAvailableHeight" | "selectedMatcher" | "isSelectionSticky" | "isSelectionBordered">;
571
572
  $attrs: {
572
573
  [x: string]: unknown;
@@ -579,7 +580,7 @@ declare const DataGridTypes: () => (import("vue").DefineComponent<{
579
580
  }>;
580
581
  $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
581
582
  $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
582
- $emit: ((event: "onScroll", event: Event) => void) & ((event: "selectAll", value: boolean) => void) & ((event: "loadMore") => void) & ((event: "onClearSearch") => void) & ((event: "update:selection", selection: unknown[]) => void) & ((event: "update:search", query: string) => void) & ((event: "update:sort", newSort: import("../common/Table.types").Sort) => void) & ((event: "saveRow", args_0: import("../common/Table.types").SaveRowEvent) => void) & ((event: "clickRow", rowIndex: number) => void) & ((event: "selectRow", value: boolean) => void);
583
+ $emit: ((event: "onScroll", event: Event) => void) & ((event: "selectAll", value: boolean) => void) & ((event: "loadMore") => void) & ((event: "onClearSearch") => void) & ((event: "update:selection", selection: unknown[]) => void) & ((event: "update:search", query: string) => void) & ((event: "update:sort", newSort: import("../common/Table.types").Sort) => void) & ((event: "saveRow", args_0: import("../common/Table.types").SaveRowEvent) => void) & ((event: "clickRow", rowIndex: number) => void) & ((event: "selectRow", value: boolean) => void) & ((event: "columnHover", column: import("../common/Table.types").Column) => void);
583
584
  $el: any;
584
585
  $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
585
586
  sort: {
@@ -724,6 +725,7 @@ declare const DataGridTypes: () => (import("vue").DefineComponent<{
724
725
  onOnClearSearch?: () => any;
725
726
  onClickRow?: (rowIndex: number) => any;
726
727
  onSelectRow?: (value: boolean) => any;
728
+ onColumnHover?: (column: import("../common/Table.types").Column) => any;
727
729
  }, {
728
730
  scrollTo: (index: number) => void;
729
731
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
@@ -737,6 +739,7 @@ declare const DataGridTypes: () => (import("vue").DefineComponent<{
737
739
  selectAll: (value: boolean) => void;
738
740
  selectRow: (value: boolean) => void;
739
741
  clickRow: (rowIndex: number) => void;
742
+ columnHover: (column: import("../common/Table.types").Column) => void;
740
743
  }, string, {
741
744
  sort: import("../common/Table.types").Sort;
742
745
  title: string;
@@ -931,6 +934,7 @@ declare const DataGridTypes: () => (import("vue").DefineComponent<{
931
934
  onOnClearSearch?: () => any;
932
935
  onClickRow?: (rowIndex: number) => any;
933
936
  onSelectRow?: (value: boolean) => any;
937
+ onColumnHover?: (column: import("../common/Table.types").Column) => any;
934
938
  } & import("vue").ShallowUnwrapRef<{
935
939
  scrollTo: (index: number) => void;
936
940
  }> & {} & import("vue").ComponentCustomProperties & {};
@@ -1080,6 +1084,7 @@ declare const DataGridTypes: () => (import("vue").DefineComponent<{
1080
1084
  onOnClearSearch?: () => any;
1081
1085
  onClickRow?: (rowIndex: number) => any;
1082
1086
  onSelectRow?: (value: boolean) => any;
1087
+ onColumnHover?: (column: import("../common/Table.types").Column) => any;
1083
1088
  }, {
1084
1089
  scrollTo: (index: number) => void;
1085
1090
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
@@ -1093,6 +1098,7 @@ declare const DataGridTypes: () => (import("vue").DefineComponent<{
1093
1098
  selectAll: (value: boolean) => void;
1094
1099
  selectRow: (value: boolean) => void;
1095
1100
  clickRow: (rowIndex: number) => void;
1101
+ columnHover: (column: import("../common/Table.types").Column) => void;
1096
1102
  }, string, {
1097
1103
  sort: import("../common/Table.types").Sort;
1098
1104
  title: string;
@@ -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;
@@ -4,14 +4,18 @@ declare const EditableTypes: () => (import("vue").InjectionKey<import("../common
4
4
  $data: {};
5
5
  $props: Partial<{
6
6
  cell: string;
7
+ isLoading: boolean;
7
8
  isEditing: boolean;
8
9
  validateFunction: (value: unknown) => string | boolean;
9
- isLoading: boolean;
10
10
  }> & Omit<Readonly<import("vue").ExtractPropTypes<{
11
11
  cell: {
12
12
  type: import("vue").PropType<string>;
13
13
  default: string;
14
14
  };
15
+ isLoading: {
16
+ type: import("vue").PropType<boolean>;
17
+ default: boolean;
18
+ };
15
19
  isEditing: {
16
20
  type: import("vue").PropType<boolean>;
17
21
  default: boolean;
@@ -20,10 +24,6 @@ declare const EditableTypes: () => (import("vue").InjectionKey<import("../common
20
24
  type: import("vue").PropType<(value: unknown) => string | boolean>;
21
25
  default: () => false;
22
26
  };
23
- isLoading: {
24
- type: import("vue").PropType<boolean>;
25
- default: boolean;
26
- };
27
27
  rowIndex: {
28
28
  type: import("vue").PropType<number>;
29
29
  required: true;
@@ -32,7 +32,7 @@ declare const EditableTypes: () => (import("vue").InjectionKey<import("../common
32
32
  type: import("vue").PropType<number>;
33
33
  required: true;
34
34
  };
35
- }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "cell" | "isEditing" | "validateFunction" | "isLoading">;
35
+ }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "cell" | "isLoading" | "isEditing" | "validateFunction">;
36
36
  $attrs: {
37
37
  [x: string]: unknown;
38
38
  };
@@ -51,6 +51,10 @@ declare const EditableTypes: () => (import("vue").InjectionKey<import("../common
51
51
  type: import("vue").PropType<string>;
52
52
  default: string;
53
53
  };
54
+ isLoading: {
55
+ type: import("vue").PropType<boolean>;
56
+ default: boolean;
57
+ };
54
58
  isEditing: {
55
59
  type: import("vue").PropType<boolean>;
56
60
  default: boolean;
@@ -59,10 +63,6 @@ declare const EditableTypes: () => (import("vue").InjectionKey<import("../common
59
63
  type: import("vue").PropType<(value: unknown) => string | boolean>;
60
64
  default: () => false;
61
65
  };
62
- isLoading: {
63
- type: import("vue").PropType<boolean>;
64
- default: boolean;
65
- };
66
66
  rowIndex: {
67
67
  type: import("vue").PropType<number>;
68
68
  required: true;
@@ -73,9 +73,9 @@ declare const EditableTypes: () => (import("vue").InjectionKey<import("../common
73
73
  };
74
74
  }>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
75
75
  cell: string;
76
+ isLoading: boolean;
76
77
  isEditing: boolean;
77
78
  validateFunction: (value: unknown) => string | boolean;
78
- isLoading: boolean;
79
79
  }, {}, string> & {
80
80
  beforeCreate?: (() => void) | (() => void)[];
81
81
  created?: (() => void) | (() => void)[];
@@ -101,6 +101,10 @@ declare const EditableTypes: () => (import("vue").InjectionKey<import("../common
101
101
  type: import("vue").PropType<string>;
102
102
  default: string;
103
103
  };
104
+ isLoading: {
105
+ type: import("vue").PropType<boolean>;
106
+ default: boolean;
107
+ };
104
108
  isEditing: {
105
109
  type: import("vue").PropType<boolean>;
106
110
  default: boolean;
@@ -109,10 +113,6 @@ declare const EditableTypes: () => (import("vue").InjectionKey<import("../common
109
113
  type: import("vue").PropType<(value: unknown) => string | boolean>;
110
114
  default: () => false;
111
115
  };
112
- isLoading: {
113
- type: import("vue").PropType<boolean>;
114
- default: boolean;
115
- };
116
116
  rowIndex: {
117
117
  type: import("vue").PropType<number>;
118
118
  required: true;
@@ -130,6 +130,10 @@ declare const EditableTypes: () => (import("vue").InjectionKey<import("../common
130
130
  type: import("vue").PropType<string>;
131
131
  default: string;
132
132
  };
133
+ isLoading: {
134
+ type: import("vue").PropType<boolean>;
135
+ default: boolean;
136
+ };
133
137
  isEditing: {
134
138
  type: import("vue").PropType<boolean>;
135
139
  default: boolean;
@@ -138,10 +142,6 @@ declare const EditableTypes: () => (import("vue").InjectionKey<import("../common
138
142
  type: import("vue").PropType<(value: unknown) => string | boolean>;
139
143
  default: () => false;
140
144
  };
141
- isLoading: {
142
- type: import("vue").PropType<boolean>;
143
- default: boolean;
144
- };
145
145
  rowIndex: {
146
146
  type: import("vue").PropType<number>;
147
147
  required: true;
@@ -152,9 +152,9 @@ declare const EditableTypes: () => (import("vue").InjectionKey<import("../common
152
152
  };
153
153
  }>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
154
154
  cell: string;
155
+ isLoading: boolean;
155
156
  isEditing: boolean;
156
157
  validateFunction: (value: unknown) => string | boolean;
157
- isLoading: boolean;
158
158
  }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
159
159
  $slots: {
160
160
  input?(_: {}): any;
@@ -37,10 +37,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
37
37
  }>>>, {
38
38
  type: "input" | "dropdown";
39
39
  cell: string;
40
+ isLoading: boolean;
40
41
  withIcons: boolean;
41
42
  saveOnClickOutside: boolean;
42
43
  validateFunction: (value: unknown) => string | boolean;
43
- isLoading: boolean;
44
44
  displayValue: (option: unknown) => unknown;
45
45
  }>, {
46
46
  input?(_: {}): any;