@ironsource/shared-ui 2.2.0-test.5 → 2.2.0-test.7

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 (71) hide show
  1. package/AppHeader.vue_vue_type_style_index_0_scoped_18bc6c0d_lang.css +1 -0
  2. package/CalendarMonth.vue_vue_type_style_index_0_scoped_a44769fd_lang.css +1 -0
  3. package/CalendarMonthV4.vue_vue_type_style_index_0_scoped_6eae923a_lang.css +1 -0
  4. package/ChartHeader.vue_vue_type_style_index_0_scoped_3a061c08_lang.css +1 -0
  5. package/ColumnPicker.vue_vue_type_style_index_0_scoped_d59af062_lang.css +1 -0
  6. package/DataGrid.vue_vue_type_style_index_0_scoped_0967498f_lang.css +1 -0
  7. package/DateRange.vue_vue_type_style_index_0_scoped_25d03907_lang.css +1 -0
  8. package/DateRangeV4.vue_vue_type_style_index_0_scoped_f8826716_lang.css +1 -0
  9. package/IconV4.vue_vue_type_style_index_0_scoped_6683c5b5_lang.css +1 -0
  10. package/SectionDropdown.vue_vue_type_style_index_0_scoped_65877e48_lang.css +1 -0
  11. package/SwitchV4.vue_vue_type_style_index_0_scoped_b71a806e_lang.css +1 -0
  12. package/TagsFieldChip.vue_vue_type_style_index_0_scoped_a5f2dd8b_lang.css +1 -0
  13. package/components/appHeader/AppHeader.vue.js +3 -3
  14. package/components/appHeader/AppHeader.vue2.js +43 -44
  15. package/components/chart/ChartHeader.vue.js +2 -2
  16. package/components/chart/ChartHeader.vue2.js +2 -2
  17. package/components/columnConfigurator/SectionDropdown.vue.js +3 -3
  18. package/components/columnConfigurator/SectionDropdown.vue2.js +6 -7
  19. package/components/columnPicker/ColumnPicker.vue.d.ts +2 -0
  20. package/components/columnPicker/ColumnPicker.vue.js +3 -3
  21. package/components/columnPicker/ColumnPicker.vue2.js +173 -153
  22. package/components/columnPicker/index.d.ts +7 -1
  23. package/components/dateRange/common/CalendarMonth.common.js +46 -41
  24. package/components/dateRange/common/DateRange.common.d.ts +1 -0
  25. package/components/dateRange/common/DateRange.common.js +38 -37
  26. package/components/dateRange/v3/CalendarMonth.vue.d.ts +5 -0
  27. package/components/dateRange/v3/CalendarMonth.vue.js +3 -3
  28. package/components/dateRange/v3/CalendarMonth.vue2.js +6 -5
  29. package/components/dateRange/v3/DateRange.vue.d.ts +5 -0
  30. package/components/dateRange/v3/DateRange.vue.js +2 -2
  31. package/components/dateRange/v3/DateRange.vue2.js +2 -1
  32. package/components/dateRange/v3/index.d.ts +20 -1
  33. package/components/dateRange/v4/CalendarMonthV4.vue.d.ts +5 -0
  34. package/components/dateRange/v4/CalendarMonthV4.vue.js +4 -4
  35. package/components/dateRange/v4/CalendarMonthV4.vue2.js +12 -11
  36. package/components/dateRange/v4/DateRangeV4.vue.d.ts +5 -0
  37. package/components/dateRange/v4/DateRangeV4.vue.js +3 -3
  38. package/components/dateRange/v4/DateRangeV4.vue2.js +104 -101
  39. package/components/dateRange/v4/index.d.ts +20 -1
  40. package/components/icon/v4/IconV4.vue.d.ts +5 -0
  41. package/components/icon/v4/IconV4.vue.js +2 -2
  42. package/components/icon/v4/IconV4.vue2.js +27 -26
  43. package/components/icon/v4/index.d.ts +20 -1
  44. package/components/switch/v4/SwitchV4.vue.d.ts +5 -0
  45. package/components/switch/v4/SwitchV4.vue.js +4 -4
  46. package/components/switch/v4/SwitchV4.vue2.js +14 -13
  47. package/components/switch/v4/index.d.ts +9 -0
  48. package/components/table/v4/DataGrid.vue.d.ts +2 -0
  49. package/components/table/v4/DataGrid.vue.js +3 -3
  50. package/components/table/v4/DataGrid.vue2.js +126 -124
  51. package/components/table/v4/index.d.ts +7 -1
  52. package/components/tagsField/TagsFieldChip.vue.d.ts +41 -0
  53. package/components/tagsField/TagsFieldChip.vue.js +5 -5
  54. package/components/tagsField/TagsFieldChip.vue2.js +96 -54
  55. package/components/tagsField/index.d.ts +114 -3
  56. package/components/tagsField/index.js +6 -4
  57. package/index.d.ts +112 -6
  58. package/index.js +3 -1
  59. package/package.json +1 -1
  60. package/AppHeader.vue_vue_type_style_index_0_scoped_4c813f30_lang.css +0 -1
  61. package/CalendarMonth.vue_vue_type_style_index_0_scoped_acd3440c_lang.css +0 -1
  62. package/CalendarMonthV4.vue_vue_type_style_index_0_scoped_b0d3ea50_lang.css +0 -1
  63. package/ChartHeader.vue_vue_type_style_index_0_scoped_9a603520_lang.css +0 -1
  64. package/ColumnPicker.vue_vue_type_style_index_0_scoped_01c4e08f_lang.css +0 -1
  65. package/DataGrid.vue_vue_type_style_index_0_scoped_3673e156_lang.css +0 -1
  66. package/DateRange.vue_vue_type_style_index_0_scoped_70e316e9_lang.css +0 -1
  67. package/DateRangeV4.vue_vue_type_style_index_0_scoped_a849128a_lang.css +0 -1
  68. package/IconV4.vue_vue_type_style_index_0_scoped_dc433d48_lang.css +0 -1
  69. package/SectionDropdown.vue_vue_type_style_index_0_scoped_cfad60a8_lang.css +0 -1
  70. package/SwitchV4.vue_vue_type_style_index_0_scoped_0a80c49f_lang.css +0 -1
  71. package/TagsFieldChip.vue_vue_type_style_index_0_scoped_d186b7ef_lang.css +0 -1
@@ -1,5 +1,5 @@
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
- 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 }) {
74
- const s = l;
75
- me((a) => ({
76
- fa71c02a: l.zIndexBase,
77
- "0a21f61f": t(le),
78
- "5d6e0550": t(G),
79
- "43e43a46": t(fe)
72
+ emits: ["update:sort", "update:search", "update:selection", "onScroll", "onClearSearch", "saveRow", "loadMore", "selectAll", "selectRow", "clickRow", "columnHover"],
73
+ setup(l, { expose: m, emit: h }) {
74
+ const a = l;
75
+ me((s) => ({
76
+ "30f420c8": l.zIndexBase,
77
+ "25787d10": t(le),
78
+ "71198c09": t(G),
79
+ "31cbe0b7": t(fe)
80
80
  }));
81
- const p = be(), q = (a) => s.rowCustomClassKey && s.rows[a] ? s.rows[a][s.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,76 +93,77 @@ 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
- 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
- ), v = u({
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)
98
+ activeMenuRow: se,
99
+ scrollTo: ae
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
+ get: () => a.search,
104
+ set: (s) => h("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)
112
112
  )
113
- ), f("selectRow", !1)) : (B([...s.selection, a]), 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
- const a = s.rows.map((o, e) => s.getRowId(o, e)).filter((o) => !E(o));
119
- B([...s.selection, ...a]), f("selectAll", !0);
118
+ const s = a.rows.map((o, e) => a.getRowId(o, e)).filter((o) => !E(o));
119
+ B([...a.selection, ...s]), h("selectAll", !0);
120
120
  }
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")
121
+ }, B = (s) => {
122
+ h("update:selection", s);
123
+ }, re = (s) => !a.isLoading && T.value === s, ce = u(
124
+ () => a.emptyStateVariant ?? (x.value ? "no-results" : "no-data")
125
125
  ), ue = u(
126
- () => s.emptyStateSubtitle ? s.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
- sticky: s.isSelectionSticky,
130
- bordered: s.isSelectionBordered
129
+ sticky: a.isSelectionSticky,
130
+ bordered: a.isSelectionBordered
131
131
  },
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
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
138
138
  }), Y = 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(
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(() => 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
- scrollTo: se
147
- }), (a, o) => (i(), d("div", {
146
+ scrollTo: ae
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,65 +171,65 @@ 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
- r(a.$slots, "title")
177
+ r(s.$slots, "title")
177
178
  ]),
178
179
  search: g(() => [
179
- r(a.$slots, "search")
180
+ r(s.$slots, "search")
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
- r(a.$slots, "table-header-pre-search")
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
- r(a.$slots, "table-header-actions")
194
+ r(s.$slots, "table-header-actions")
194
195
  ]),
195
196
  key: "1"
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
- r(a.$slots, `section-${e.id}`, {}, () => [
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)), [
231
- r(a.$slots, "select-all-checkbox", {}, () => [
232
+ r(s.$slots, "select-all-checkbox", {}, () => [
232
233
  k(t(Q), {
233
234
  disabled: l.isLoading,
234
235
  "is-checked": t(F),
@@ -237,19 +238,20 @@ 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
- r(a.$slots, `header-${e.id}`, { column: e }, () => [
254
+ r(s.$slots, `header-${e.id}`, { column: e }, () => [
253
255
  k(t(Re), {
254
256
  text: e.helpText,
255
257
  disabled: !e.helpText || l.helpTooltipVariant === "icon",
@@ -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"])
@@ -278,34 +280,34 @@ const Pe = ["data-testid"], Le = ["data-testid"], Ve = ["data-testid"], Me = {
278
280
  "hover-help-text-placement": e.helpTextPlacement,
279
281
  "test-id": `help-tooltip-${e.id}`
280
282
  }, null, 8, ["hover-help-text", "hover-help-text-placement", "test-id"])) : c("", !0),
281
- r(a.$slots, `after-header-${e.id}`, { column: e }),
283
+ r(s.$slots, `after-header-${e.id}`, { column: e }),
282
284
  e.isSortable && e.id === l.sort?.sortBy ? (i(), I(He, {
283
285
  key: 1,
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
- r(a.$slots, `total-${e.id}`, { column: e }, () => [
303
- h === 0 ? (i(), I(t(V), {
304
+ r(s.$slots, `total-${e.id}`, { column: e }, () => [
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
- activeMenu: t(ae) === e.index,
328
- expanded: t(w) && t(M)(e.index),
329
+ activeMenu: t(se) === 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,34 +371,34 @@ 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
- r(a.$slots, `cell-${l.columns[n].id}`, {
376
+ r(s.$slots, `cell-${l.columns[n].id}`, {
375
377
  cell: e.data[n],
376
378
  isLoading: t(U).includes(e.index),
377
379
  cellIndex: n,
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)
387
389
  ])
388
- ], 2)) : r(a.$slots, "loader", { key: 1 }, () => [
390
+ ], 2)) : r(s.$slots, "loader", { key: 1 }, () => [
389
391
  k(t(xe), { round: "" })
390
392
  ])
391
393
  ], 6))), 128)),
392
- t(w) && t(M)(e.index) ? (i(), d("div", Ge, [
393
- r(a.$slots, "expanded", {
394
+ t(w) && t(V)(e.index) ? (i(), d("div", Ge, [
395
+ r(s.$slots, "expanded", {
394
396
  row: e,
395
397
  gridColumnTemplate: t(G)
396
398
  })
397
399
  ])) : c("", !0),
398
400
  re(e.index) ? (i(), d("div", Ke, [
399
- r(a.$slots, "floating-row", {
401
+ r(s.$slots, "floating-row", {
400
402
  row: e,
401
403
  rowIndex: e.index
402
404
  })
@@ -408,23 +410,23 @@ const Pe = ["data-testid"], Le = ["data-testid"], Ve = ["data-testid"], Me = {
408
410
  l.useAvailableHeight ? { height: `${t(ge)}px` } : {}
409
411
  )
410
412
  }, [
411
- r(a.$slots, "empty-state", {}, () => [
413
+ r(s.$slots, "empty-state", {}, () => [
412
414
  k(t(Ce), {
413
415
  class: "empty-state",
414
416
  title: l.emptyStateTitle,
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
- r(a.$slots, "footer")
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;
@@ -1,11 +1,28 @@
1
+ import { ChipSize, ChipColor, ChipVariant } from '../chip/v4/Chip.types';
1
2
  declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
2
3
  label: string;
3
4
  isInvalid?: boolean;
4
5
  testId?: string;
6
+ size?: ChipSize;
7
+ rounded?: boolean;
8
+ disabled?: boolean;
9
+ removable?: boolean;
10
+ color?: ChipColor;
11
+ iconColor?: string;
12
+ variant?: ChipVariant;
13
+ placeholder?: string;
5
14
  }>, {
6
15
  isInvalid: boolean;
7
16
  label: string;
8
17
  testId: string;
18
+ size: string;
19
+ rounded: boolean;
20
+ disabled: boolean;
21
+ removable: boolean;
22
+ color: string;
23
+ iconColor: string;
24
+ variant: string;
25
+ placeholder: string;
9
26
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
10
27
  "update:label": (value: string) => void;
11
28
  remove: () => void;
@@ -13,17 +30,41 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
13
30
  label: string;
14
31
  isInvalid?: boolean;
15
32
  testId?: string;
33
+ size?: ChipSize;
34
+ rounded?: boolean;
35
+ disabled?: boolean;
36
+ removable?: boolean;
37
+ color?: ChipColor;
38
+ iconColor?: string;
39
+ variant?: ChipVariant;
40
+ placeholder?: string;
16
41
  }>, {
17
42
  isInvalid: boolean;
18
43
  label: string;
19
44
  testId: string;
45
+ size: string;
46
+ rounded: boolean;
47
+ disabled: boolean;
48
+ removable: boolean;
49
+ color: string;
50
+ iconColor: string;
51
+ variant: string;
52
+ placeholder: string;
20
53
  }>>> & {
21
54
  onRemove?: () => any;
22
55
  "onUpdate:label"?: (value: string) => any;
23
56
  }, {
24
57
  label: string;
25
58
  testId: string;
59
+ variant: ChipVariant;
60
+ disabled: boolean;
61
+ color: ChipColor;
62
+ size: ChipSize;
63
+ rounded: boolean;
64
+ placeholder: string;
26
65
  isInvalid: boolean;
66
+ removable: boolean;
67
+ iconColor: string;
27
68
  }>;
28
69
  export default _default;
29
70
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
@@ -1,7 +1,7 @@
1
- import e from "./TagsFieldChip.vue2.js";
2
- /* empty css */import o from "../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../TagsFieldChip.vue_vue_type_style_index_0_scoped_d186b7ef_lang.css"; //*');
4
- const t = /* @__PURE__ */ o(e, [["__scopeId", "data-v-d186b7ef"]]);
1
+ import o from "./TagsFieldChip.vue2.js";
2
+ /* empty css */import e from "../../_virtual/_plugin-vue_export-helper.js";
3
+ // import "../../TagsFieldChip.vue_vue_type_style_index_0_scoped_a5f2dd8b_lang.css"; //*');
4
+ const p = /* @__PURE__ */ e(o, [["__scopeId", "data-v-a5f2dd8b"]]);
5
5
  export {
6
- t as default
6
+ p as default
7
7
  };