@ironsource/shared-ui 2.1.5 → 2.1.6-rc.1

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 (50) hide show
  1. package/Autocomplete.vue_vue_type_style_index_0_scoped_d2d1dc1d_lang.css +1 -0
  2. package/ButtonV4.vue_vue_type_style_index_0_scoped_8c3b0c3f_lang.css +1 -0
  3. package/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_889042cf_lang.css +1 -0
  4. package/DataGrid.vue_vue_type_style_index_0_scoped_c96fba2c_lang.css +1 -0
  5. package/DialogV4.vue_vue_type_style_index_0_scoped_c3004ba3_lang.css +1 -0
  6. package/FormCard.vue_vue_type_style_index_0_scoped_ef8b4e81_lang.css +1 -0
  7. package/README.md +1 -1
  8. package/SearchV4.vue_vue_type_style_index_0_scoped_a468fb4a_lang.css +1 -0
  9. package/TextField.vue_vue_type_style_index_0_scoped_b5b2e8fd_lang.css +1 -0
  10. package/TooltipV4.vue_vue_type_style_index_0_scoped_25809092_lang.css +1 -0
  11. package/components/autocomplete/Autocomplete.vue.js +3 -3
  12. package/components/autocomplete/Autocomplete.vue2.js +14 -13
  13. package/components/button/v4/ButtonV4.vue.js +3 -3
  14. package/components/button/v4/ButtonV4.vue2.js +1 -1
  15. package/components/dialog/v4/DialogV4.vue.js +3 -3
  16. package/components/dialog/v4/DialogV4.vue2.js +1 -1
  17. package/components/dropdown/v4/ChipDropdownTrigger.vue.js +2 -2
  18. package/components/dropdown/v4/ChipDropdownTrigger.vue2.js +1 -1
  19. package/components/dropdown/v4/DropdownV4.vue.d.ts +1 -1
  20. package/components/dropdown/v4/index.d.ts +20 -20
  21. package/components/forms/FormCard.vue.js +4 -4
  22. package/components/forms/FormCard.vue2.js +1 -1
  23. package/components/input/v4/TextField.vue.d.ts +5 -0
  24. package/components/input/v4/TextField.vue.js +3 -3
  25. package/components/input/v4/TextField.vue2.js +34 -33
  26. package/components/input/v4/index.d.ts +20 -1
  27. package/components/search/common/Search.common.js +10 -10
  28. package/components/search/v4/SearchV4.vue.d.ts +2 -0
  29. package/components/search/v4/SearchV4.vue.js +5 -5
  30. package/components/search/v4/SearchV4.vue2.js +9 -9
  31. package/components/search/v4/index.d.ts +2 -0
  32. package/components/table/v4/DataGrid.vue.d.ts +2 -0
  33. package/components/table/v4/DataGrid.vue.js +3 -3
  34. package/components/table/v4/DataGrid.vue2.js +138 -137
  35. package/components/table/v4/index.d.ts +7 -1
  36. package/components/tooltip/v4/TooltipV4.vue.d.ts +5 -0
  37. package/components/tooltip/v4/TooltipV4.vue.js +3 -3
  38. package/components/tooltip/v4/TooltipV4.vue2.js +6 -5
  39. package/components/tooltip/v4/index.d.ts +20 -1
  40. package/index.d.ts +138 -46
  41. package/package.json +1 -1
  42. package/Autocomplete.vue_vue_type_style_index_0_scoped_429e5745_lang.css +0 -1
  43. package/ButtonV4.vue_vue_type_style_index_0_scoped_e535063a_lang.css +0 -1
  44. package/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_c859928d_lang.css +0 -1
  45. package/DataGrid.vue_vue_type_style_index_0_scoped_bddb537c_lang.css +0 -1
  46. package/DialogV4.vue_vue_type_style_index_0_scoped_ea9275e6_lang.css +0 -1
  47. package/FormCard.vue_vue_type_style_index_0_scoped_d3abd36a_lang.css +0 -1
  48. package/SearchV4.vue_vue_type_style_index_0_scoped_1330ea8b_lang.css +0 -1
  49. package/TextField.vue_vue_type_style_index_0_scoped_95e25718_lang.css +0 -1
  50. package/TooltipV4.vue_vue_type_style_index_0_scoped_58a19def_lang.css +0 -1
@@ -1,4 +1,4 @@
1
- import "../../../DataGrid.vue_vue_type_style_index_0_scoped_bddb537c_lang.css"; import { defineComponent as se, useCssVars as ae, unref as e, useSlots as ie, computed as g, openBlock as i, createElementBlock as l, createElementVNode as u, normalizeStyle as x, normalizeClass as y, renderSlot as r, createVNode as h, withCtx as T, createTextVNode as C, toDisplayString as E, isRef as le, createCommentVNode as c, Fragment as B, renderList as I, createBlock as z, mergeProps as de } from "vue";
1
+ import "../../../DataGrid.vue_vue_type_style_index_0_scoped_c96fba2c_lang.css"; import { defineComponent as ae, useCssVars as se, unref as t, useSlots as ie, computed as g, openBlock as i, createElementBlock as d, createElementVNode as u, normalizeStyle as x, normalizeClass as y, renderSlot as r, createVNode as h, withCtx as T, createTextVNode as C, toDisplayString as E, isRef as le, createCommentVNode as c, Fragment as B, renderList as I, createBlock as z, mergeProps as de } from "vue";
2
2
  import p from "../../typography/v4/Typography.vue.js";
3
3
  import oe from "../../skeleton/v4/SkeletonV4.vue.js";
4
4
  import ne from "../../emptyState/v4/EmptyStateV4.vue.js";
@@ -10,7 +10,7 @@ import ue from "./HelpIcon.vue.js";
10
10
  import he from "./ExpandRowToggle.vue.js";
11
11
  import ye from "../../search/v4/SearchV4.vue.js";
12
12
  import { useVModel as fe } from "@vueuse/core";
13
- const Se = ["data-testid"], me = ["data-testid"], ke = ["data-testid"], ge = ["data-testid"], ve = ["data-testid"], be = { class: "search-wrapper" }, $e = ["data-testid"], Re = ["data-testid"], xe = {
13
+ const Se = ["data-testid"], ke = ["data-testid"], me = ["data-testid"], ge = ["data-testid"], ve = ["data-testid"], be = { class: "search-wrapper" }, $e = ["data-testid"], Re = ["data-testid"], xe = {
14
14
  key: 0,
15
15
  class: "checkbox-cell"
16
16
  }, Te = {
@@ -28,7 +28,7 @@ const Se = ["data-testid"], me = ["data-testid"], ke = ["data-testid"], ge = ["d
28
28
  }, Pe = { key: 1 }, Ve = {
29
29
  key: 0,
30
30
  class: "table-footer"
31
- }, We = /* @__PURE__ */ se({
31
+ }, We = /* @__PURE__ */ ae({
32
32
  __name: "DataGrid",
33
33
  props: {
34
34
  title: { default: "" },
@@ -37,8 +37,8 @@ const Se = ["data-testid"], me = ["data-testid"], ke = ["data-testid"], ge = ["d
37
37
  sections: { default: null },
38
38
  sort: { default: null },
39
39
  selection: { default: null },
40
- getRowId: { type: Function, default: (s, S) => S },
41
- selectedMatcher: { type: Function, default: (s, S) => s === S },
40
+ getRowId: { type: Function, default: (a, S) => S },
41
+ selectedMatcher: { type: Function, default: (a, S) => a === S },
42
42
  isSticky: { type: Boolean, default: !0 },
43
43
  isStickyHeader: { type: Boolean, default: !1 },
44
44
  isLoading: { type: Boolean, default: !1 },
@@ -57,14 +57,14 @@ const Se = ["data-testid"], me = ["data-testid"], ke = ["data-testid"], ge = ["d
57
57
  searchAutoFocus: { type: Boolean, default: !1 },
58
58
  zIndexBase: { default: 100 }
59
59
  },
60
- emits: ["update:sort", "update:search", "update:selection", "onScroll", "saveRow", "loadMore"],
61
- setup(s, { emit: S }) {
62
- const o = s;
63
- ae((a) => ({
64
- "05ee006e": s.zIndexBase,
65
- "7ce7f77d": e(J),
66
- aad7c194: e(H),
67
- "4f64dd84": e(q)
60
+ emits: ["update:sort", "update:search", "update:selection", "onScroll", "onClearSearch", "saveRow", "loadMore"],
61
+ setup(a, { emit: S }) {
62
+ const o = a;
63
+ se((s) => ({
64
+ "7d59c3f5": a.zIndexBase,
65
+ "43b02aae": t(J),
66
+ "88b8113c": t(H),
67
+ f1040b2c: t(q)
68
68
  }));
69
69
  const v = ie(), {
70
70
  list: V,
@@ -85,57 +85,57 @@ const Se = ["data-testid"], me = ["data-testid"], ke = ["data-testid"], ge = ["d
85
85
  isRowExpanded: M,
86
86
  hasCheckboxes: F,
87
87
  activeMenuRow: K
88
- } = re(o, S), O = g(() => !!v.footer), m = fe(o, "search", S), X = g(() => o.selection.length || 0), P = g(() => {
89
- const a = o.rows.map((d, t) => o.getRowId(d, t));
90
- return a.length && a.every((d) => $(d));
91
- }), $ = (a) => o.selection.findIndex((d) => o.selectedMatcher(a, d)) !== -1, Z = (a) => {
92
- $(a) ? R(
88
+ } = re(o, S), O = g(() => !!v.footer), k = fe(o, "search", S), X = g(() => o.selection.length || 0), P = g(() => {
89
+ const s = o.rows.map((l, e) => o.getRowId(l, e));
90
+ return s.length && s.every((l) => $(l));
91
+ }), $ = (s) => o.selection.findIndex((l) => o.selectedMatcher(s, l)) !== -1, Z = (s) => {
92
+ $(s) ? R(
93
93
  o.selection.filter(
94
- (d) => !o.selectedMatcher(a, d)
94
+ (l) => !o.selectedMatcher(s, l)
95
95
  )
96
- ) : R([...o.selection, a]);
96
+ ) : R([...o.selection, s]);
97
97
  }, _ = () => {
98
98
  if (P.value)
99
99
  R([]);
100
100
  else {
101
- const a = o.rows.map((d, t) => o.getRowId(d, t)).filter((d) => !$(d));
102
- R([...o.selection, ...a]);
101
+ const s = o.rows.map((l, e) => o.getRowId(l, e)).filter((l) => !$(l));
102
+ R([...o.selection, ...s]);
103
103
  }
104
- }, R = (a) => {
105
- S("update:selection", a);
104
+ }, R = (s) => {
105
+ S("update:selection", s);
106
106
  }, ee = g(
107
- () => o.emptyStateVariant ?? (m.value ? "no-results" : "no-data")
107
+ () => o.emptyStateVariant ?? (k.value ? "no-results" : "no-data")
108
108
  ), te = g(
109
- () => o.emptyStateSubtitle ? o.emptyStateSubtitle : m.value ? "Search again with different filters" : void 0
109
+ () => o.emptyStateSubtitle ? o.emptyStateSubtitle : k.value ? "Search again with different filters" : void 0
110
110
  );
111
- return (a, d) => (i(), l("div", {
111
+ return (s, l) => (i(), d("div", {
112
112
  class: "table-container",
113
- "data-testid": `${s.testId}-${e(f).CONTAINER}`,
114
- onMouseleave: d[2] || (d[2] = (t) => w.value = null)
113
+ "data-testid": `${a.testId}-${t(f).CONTAINER}`,
114
+ onMouseleave: l[3] || (l[3] = (e) => w.value = null)
115
115
  }, [
116
116
  u("table", {
117
- ref: e(U).ref,
118
- style: x(e(W)),
117
+ ref: t(U).ref,
118
+ style: x(t(W)),
119
119
  class: y({
120
- hasFooter: e(O)
120
+ hasFooter: t(O)
121
121
  }),
122
- "data-testid": `${s.testId}-${e(f).TABLE}`,
123
- onScrollPassive: d[1] || (d[1] = //@ts-ignore
124
- (...t) => e(A) && e(A)(...t))
122
+ "data-testid": `${a.testId}-${t(f).TABLE}`,
123
+ onScrollPassive: l[2] || (l[2] = //@ts-ignore
124
+ (...e) => t(A) && t(A)(...e))
125
125
  }, [
126
- s.title || e(v).title || e(Q) || e(v)["table-header-actions"] ? (i(), l("div", {
126
+ a.title || t(v).title || t(Q) || t(v)["table-header-actions"] ? (i(), d("div", {
127
127
  key: 0,
128
- class: y(["table-header", { isStickyHeader: s.isStickyHeader }]),
129
- "data-testid": `${s.testId}-${e(f).HEADER}`
128
+ class: y(["table-header", { isStickyHeader: a.isStickyHeader }]),
129
+ "data-testid": `${a.testId}-${t(f).HEADER}`
130
130
  }, [
131
131
  u("div", {
132
132
  class: "table-title",
133
- "data-testid": `${s.testId}-${e(f).TITLE}`
133
+ "data-testid": `${a.testId}-${t(f).TITLE}`
134
134
  }, [
135
- r(a.$slots, "title", {}, () => [
136
- h(e(p), { variant: "h3" }, {
135
+ r(s.$slots, "title", {}, () => [
136
+ h(t(p), { variant: "h3" }, {
137
137
  default: T(() => [
138
- C(E(s.title), 1)
138
+ C(E(a.title), 1)
139
139
  ]),
140
140
  _: 1
141
141
  })
@@ -143,47 +143,48 @@ const Se = ["data-testid"], me = ["data-testid"], ke = ["data-testid"], ge = ["d
143
143
  ], 8, ge),
144
144
  u("div", {
145
145
  class: "table-header-right",
146
- "data-testid": `${s.testId}-${e(f).HEADER_RIGHT}`
146
+ "data-testid": `${a.testId}-${t(f).HEADER_RIGHT}`
147
147
  }, [
148
- s.showSearch ? r(a.$slots, "search", { key: 0 }, () => [
148
+ a.showSearch ? r(s.$slots, "search", { key: 0 }, () => [
149
149
  u("div", be, [
150
- h(e(ye), {
151
- modelValue: e(m),
152
- "onUpdate:modelValue": d[0] || (d[0] = (t) => le(m) ? m.value = t : null),
153
- placeholder: s.searchPlaceholder,
154
- "auto-focus": s.searchAutoFocus,
155
- "test-id": s.testId
150
+ h(t(ye), {
151
+ modelValue: t(k),
152
+ "onUpdate:modelValue": l[0] || (l[0] = (e) => le(k) ? k.value = e : null),
153
+ placeholder: a.searchPlaceholder,
154
+ "auto-focus": a.searchAutoFocus,
155
+ "test-id": a.testId,
156
+ onOnClear: l[1] || (l[1] = (e) => S("onClearSearch"))
156
157
  }, null, 8, ["modelValue", "placeholder", "auto-focus", "test-id"])
157
158
  ])
158
159
  ], !0) : c("", !0)
159
160
  ], 8, ve),
160
- e(v)["table-header-actions"] ? (i(), l("div", {
161
+ t(v)["table-header-actions"] ? (i(), d("div", {
161
162
  key: 0,
162
163
  class: "table-header-actions",
163
- "data-testid": `${s.testId}-${e(f).ACTIONS}`
164
+ "data-testid": `${a.testId}-${t(f).ACTIONS}`
164
165
  }, [
165
- r(a.$slots, "table-header-actions", {}, void 0, !0)
166
+ r(s.$slots, "table-header-actions", {}, void 0, !0)
166
167
  ], 8, $e)) : c("", !0)
167
- ], 10, ke)) : c("", !0),
168
+ ], 10, me)) : c("", !0),
168
169
  u("thead", {
169
- class: y({ sticky: s.isSticky, isStickyHeader: s.isStickyHeader })
170
+ class: y({ sticky: a.isSticky, isStickyHeader: a.isStickyHeader })
170
171
  }, [
171
172
  u("div", {
172
173
  class: "sections",
173
- "data-testid": `${s.testId}-${e(f).SECTIONS}`
174
+ "data-testid": `${a.testId}-${t(f).SECTIONS}`
174
175
  }, [
175
- (i(!0), l(B, null, I(s.sections, (t) => (i(), l("div", {
176
- key: t.id,
177
- class: y(["section-container", { sticky: t.isSticky }])
176
+ (i(!0), d(B, null, I(a.sections, (e) => (i(), d("div", {
177
+ key: e.id,
178
+ class: y(["section-container", { sticky: e.isSticky }])
178
179
  }, [
179
- r(a.$slots, `section-${t.id}`, {}, () => [
180
+ r(s.$slots, `section-${e.id}`, {}, () => [
180
181
  u("div", {
181
- style: x({ width: t.width + "px" }),
182
+ style: x({ width: e.width + "px" }),
182
183
  class: y({ section: !0 })
183
184
  }, [
184
- h(e(p), { variant: "body2" }, {
185
+ h(t(p), { variant: "body2" }, {
185
186
  default: T(() => [
186
- C(E(t.title), 1)
187
+ C(E(e.title), 1)
187
188
  ]),
188
189
  _: 2
189
190
  }, 1024)
@@ -192,138 +193,138 @@ const Se = ["data-testid"], me = ["data-testid"], ke = ["data-testid"], ge = ["d
192
193
  ], 2))), 128))
193
194
  ], 8, Re),
194
195
  u("tr", null, [
195
- e(F) ? (i(), l("th", xe, [
196
- r(a.$slots, "select-all-checkbox", {}, () => [
197
- h(e(D), {
198
- disabled: s.isLoading,
199
- "is-checked": e(P),
200
- "is-indeterminate": !e(P) && e(X) > 0,
196
+ t(F) ? (i(), d("th", xe, [
197
+ r(s.$slots, "select-all-checkbox", {}, () => [
198
+ h(t(D), {
199
+ disabled: a.isLoading,
200
+ "is-checked": t(P),
201
+ "is-indeterminate": !t(P) && t(X) > 0,
201
202
  "onUpdate:isChecked": _
202
203
  }, null, 8, ["disabled", "is-checked", "is-indeterminate"])
203
204
  ], !0)
204
205
  ])) : c("", !0),
205
- e(b) ? (i(), l("th", Te)) : c("", !0),
206
- (i(!0), l(B, null, I(s.columns, (t) => (i(), l("th", {
207
- key: t.id,
206
+ t(b) ? (i(), d("th", Te)) : c("", !0),
207
+ (i(!0), d(B, null, I(a.columns, (e) => (i(), d("th", {
208
+ key: e.id,
208
209
  class: y({
209
- sticky: t.isSticky,
210
- isStickyRight: t.isStickyRight,
211
- bordered: t.isBordered,
212
- isTextRight: t.isTextRight,
213
- isSortable: t.isSortable,
214
- [`column-${t.id}`]: !0
210
+ sticky: e.isSticky,
211
+ isStickyRight: e.isStickyRight,
212
+ bordered: e.isBordered,
213
+ isTextRight: e.isTextRight,
214
+ isSortable: e.isSortable,
215
+ [`column-${e.id}`]: !0
215
216
  }),
216
- style: x(t.isSticky ? e(L)[t.id] : null),
217
- onClick: (k) => t.isSortable ? e(Y)(t) : null
217
+ style: x(e.isSticky ? t(L)[e.id] : null),
218
+ onClick: (m) => e.isSortable ? t(Y)(e) : null
218
219
  }, [
219
220
  u("div", Ee, [
220
- r(a.$slots, `header-${t.id}`, { column: t }, () => [
221
- h(e(p), { variant: "tableLabel" }, {
221
+ r(s.$slots, `header-${e.id}`, { column: e }, () => [
222
+ h(t(p), { variant: "tableLabel" }, {
222
223
  default: T(() => [
223
- C(E(t.title), 1)
224
+ C(E(e.title), 1)
224
225
  ]),
225
226
  _: 2
226
227
  }, 1024)
227
228
  ], !0),
228
- t.helpText ? (i(), z(ue, {
229
+ e.helpText ? (i(), z(ue, {
229
230
  key: 0,
230
- "hover-help-text": t.helpText,
231
- "hover-help-text-placement": t.helpTextPlacement
231
+ "hover-help-text": e.helpText,
232
+ "hover-help-text-placement": e.helpTextPlacement
232
233
  }, null, 8, ["hover-help-text", "hover-help-text-placement"])) : c("", !0),
233
- t.isSortable && t.id === s.sort?.sortBy ? (i(), z(ce, {
234
+ e.isSortable && e.id === a.sort?.sortBy ? (i(), z(ce, {
234
235
  key: 1,
235
- "sort-order": s.sort.sortOrder
236
+ "sort-order": a.sort.sortOrder
236
237
  }, null, 8, ["sort-order"])) : c("", !0)
237
238
  ])
238
239
  ], 14, Ce))), 128))
239
240
  ])
240
241
  ], 2),
241
242
  u("tbody", null, [
242
- e(V).length > 0 ? (i(), l("div", de({
243
+ t(V).length > 0 ? (i(), d("div", de({
243
244
  key: 0,
244
245
  class: "table-body-wrapper",
245
- "data-testid": `${s.testId}-${e(f).BODY_WRAPPER}`
246
- }, e(G)), [
247
- (i(!0), l(B, null, I(e(V), (t) => (i(), l("tr", {
248
- key: t.index,
246
+ "data-testid": `${a.testId}-${t(f).BODY_WRAPPER}`
247
+ }, t(G)), [
248
+ (i(!0), d(B, null, I(t(V), (e) => (i(), d("tr", {
249
+ key: e.index,
249
250
  class: y(["table-row", {
250
- loading: s.isLoading || s.isLoading && !t.data || e(N).includes(t.index),
251
- active: e(w) === t.index,
252
- activeMenu: e(K) === t.index,
253
- expanded: e(b) && e(M)(t.index)
251
+ loading: a.isLoading || a.isLoading && !e.data || t(N).includes(e.index),
252
+ active: t(w) === e.index,
253
+ activeMenu: t(K) === e.index,
254
+ expanded: t(b) && t(M)(e.index)
254
255
  }]),
255
- onMouseenter: (k) => w.value = t.index
256
+ onMouseenter: (m) => w.value = e.index
256
257
  }, [
257
- e(F) ? (i(), l("td", pe, [
258
- h(e(D), {
259
- "is-checked": $(s.getRowId(t.data, t.index)),
258
+ t(F) ? (i(), d("td", pe, [
259
+ h(t(D), {
260
+ "is-checked": $(a.getRowId(e.data, e.index)),
260
261
  size: "sm",
261
- "onUpdate:isChecked": (k) => Z(s.getRowId(t.data, t.index))
262
+ "onUpdate:isChecked": (m) => Z(a.getRowId(e.data, e.index))
262
263
  }, null, 8, ["is-checked", "onUpdate:isChecked"])
263
264
  ])) : c("", !0),
264
- e(b) ? (i(), l("td", we, [
265
+ t(b) ? (i(), d("td", we, [
265
266
  h(he, {
266
- expanded: e(M)(t.index),
267
- onClick: (k) => e(j)(t.index, k)
267
+ expanded: t(M)(e.index),
268
+ onClick: (m) => t(j)(e.index, m)
268
269
  }, null, 8, ["expanded", "onClick"])
269
270
  ])) : c("", !0),
270
- (i(!0), l(B, null, I(s.columns, (k, n) => (i(), l("td", {
271
+ (i(!0), d(B, null, I(a.columns, (m, n) => (i(), d("td", {
271
272
  key: n,
272
273
  class: y({
273
- sticky: s.columns[n].isSticky,
274
- isStickyRight: s.columns[n].isStickyRight,
275
- bordered: s.columns[n].isBordered,
276
- isTextRight: s.columns[n].isTextRight,
277
- [`column-${s.columns[n].id}`]: !0
274
+ sticky: a.columns[n].isSticky,
275
+ isStickyRight: a.columns[n].isStickyRight,
276
+ bordered: a.columns[n].isBordered,
277
+ isTextRight: a.columns[n].isTextRight,
278
+ [`column-${a.columns[n].id}`]: !0
278
279
  }),
279
280
  style: x(
280
- s.columns[n].isSticky ? e(L)[s.columns[n].id] : null
281
+ a.columns[n].isSticky ? t(L)[a.columns[n].id] : null
281
282
  )
282
283
  }, [
283
- !s.isLoading || s.isLoading && t.data[n] ? (i(), l("div", {
284
+ !a.isLoading || a.isLoading && e.data[n] ? (i(), d("div", {
284
285
  key: 0,
285
- class: y(["table-cell", { last: n === t.data.length - 1 }])
286
+ class: y(["table-cell", { last: n === e.data.length - 1 }])
286
287
  }, [
287
- r(a.$slots, `cell-${s.columns[n].id}`, {
288
- cell: t.data[n],
289
- isLoading: e(N).includes(t.index),
288
+ r(s.$slots, `cell-${a.columns[n].id}`, {
289
+ cell: e.data[n],
290
+ isLoading: t(N).includes(e.index),
290
291
  cellIndex: n,
291
- row: t,
292
- rowIndex: t.index
292
+ row: e,
293
+ rowIndex: e.index
293
294
  }, () => [
294
- h(e(p), { variant: "body1" }, {
295
+ h(t(p), { variant: "body1" }, {
295
296
  default: T(() => [
296
- C(E(t.data[n]), 1)
297
+ C(E(e.data[n]), 1)
297
298
  ]),
298
299
  _: 2
299
300
  }, 1024)
300
301
  ], !0)
301
- ], 2)) : r(a.$slots, "loader", { key: 1 }, () => [
302
- h(e(oe), { round: "" })
302
+ ], 2)) : r(s.$slots, "loader", { key: 1 }, () => [
303
+ h(t(oe), { round: "" })
303
304
  ], !0)
304
305
  ], 6))), 128)),
305
- e(b) && e(M)(t.index) ? (i(), l("div", Me, [
306
- r(a.$slots, "expanded", {
307
- row: t,
308
- gridColumnTemplate: e(H)
306
+ t(b) && t(M)(e.index) ? (i(), d("div", Me, [
307
+ r(s.$slots, "expanded", {
308
+ row: e,
309
+ gridColumnTemplate: t(H)
309
310
  }, void 0, !0)
310
311
  ])) : c("", !0)
311
312
  ], 42, Ie))), 128))
312
- ], 16, Be)) : (i(), l("div", Pe, [
313
- r(a.$slots, "empty-state", {}, () => [
314
- h(e(ne), {
313
+ ], 16, Be)) : (i(), d("div", Pe, [
314
+ r(s.$slots, "empty-state", {}, () => [
315
+ h(t(ne), {
315
316
  class: "empty-state",
316
- title: s.emptyStateTitle,
317
- subtitle: e(te),
318
- variant: e(ee),
319
- "test-id": `${s.testId}-${e(f).EMPTY_STATE}`
317
+ title: a.emptyStateTitle,
318
+ subtitle: t(te),
319
+ variant: t(ee),
320
+ "test-id": `${a.testId}-${t(f).EMPTY_STATE}`
320
321
  }, null, 8, ["title", "subtitle", "variant", "test-id"])
321
322
  ], !0)
322
323
  ]))
323
324
  ])
324
- ], 46, me),
325
- e(O) ? (i(), l("div", Ve, [
326
- r(a.$slots, "footer", {}, void 0, !0)
325
+ ], 46, ke),
326
+ t(O) ? (i(), d("div", Ve, [
327
+ r(s.$slots, "footer", {}, void 0, !0)
327
328
  ])) : c("", !0)
328
329
  ], 40, Se));
329
330
  }
@@ -142,6 +142,7 @@ declare const DataGridTypes: () => (({
142
142
  onLoadMore?: () => any;
143
143
  "onUpdate:search"?: (query: string) => any;
144
144
  "onUpdate:selection"?: (selection: unknown[]) => any;
145
+ onOnClearSearch?: () => any;
145
146
  } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "sort" | "title" | "search" | "testId" | "isLoading" | "searchAutoFocus" | "searchPlaceholder" | "selection" | "isSticky" | "sections" | "isStickyHeader" | "emptyStateTitle" | "emptyStateSubtitle" | "isInfiniteScroll" | "infiniteScrollThreshold" | "rowHeight" | "loadingRowCount" | "defaultScrollPosition" | "getRowId" | "selectedMatcher" | "emptyStateVariant" | "showSearch" | "zIndexBase">;
146
147
  $attrs: {
147
148
  [x: string]: unknown;
@@ -159,7 +160,7 @@ declare const DataGridTypes: () => (({
159
160
  confirm: () => void;
160
161
  rowIndex: number;
161
162
  cellIndex: number;
162
- }) => void) & ((event: "loadMore") => void) & ((event: "update:search", query: string) => void) & ((event: "update:selection", selection: unknown[]) => void);
163
+ }) => void) & ((event: "loadMore") => void) & ((event: "update:search", query: string) => void) & ((event: "update:selection", selection: unknown[]) => void) & ((event: "onClearSearch") => void);
163
164
  $el: any;
164
165
  $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
165
166
  sort: {
@@ -274,11 +275,13 @@ declare const DataGridTypes: () => (({
274
275
  onLoadMore?: () => any;
275
276
  "onUpdate:search"?: (query: string) => any;
276
277
  "onUpdate:selection"?: (selection: unknown[]) => any;
278
+ onOnClearSearch?: () => any;
277
279
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
278
280
  "update:sort": (newSort: import("../common/Table.types").Sort) => void;
279
281
  "update:search": (query: string) => void;
280
282
  "update:selection": (selection: unknown[]) => void;
281
283
  onScroll: (event: Event) => void;
284
+ onClearSearch: () => void;
282
285
  saveRow: (args_0: {
283
286
  value: unknown;
284
287
  confirm: () => void;
@@ -443,6 +446,7 @@ declare const DataGridTypes: () => (({
443
446
  onLoadMore?: () => any;
444
447
  "onUpdate:search"?: (query: string) => any;
445
448
  "onUpdate:selection"?: (selection: unknown[]) => any;
449
+ onOnClearSearch?: () => any;
446
450
  } & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
447
451
  __isFragment?: never;
448
452
  __isTeleport?: never;
@@ -560,11 +564,13 @@ declare const DataGridTypes: () => (({
560
564
  onLoadMore?: () => any;
561
565
  "onUpdate:search"?: (query: string) => any;
562
566
  "onUpdate:selection"?: (selection: unknown[]) => any;
567
+ onOnClearSearch?: () => any;
563
568
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
564
569
  "update:sort": (newSort: import("../common/Table.types").Sort) => void;
565
570
  "update:search": (query: string) => void;
566
571
  "update:selection": (selection: unknown[]) => void;
567
572
  onScroll: (event: Event) => void;
573
+ onClearSearch: () => void;
568
574
  saveRow: (args_0: {
569
575
  value: unknown;
570
576
  confirm: () => void;
@@ -10,6 +10,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
10
10
  disabled?: boolean;
11
11
  testId?: string;
12
12
  distance?: string | number;
13
+ container?: string;
13
14
  }>, {
14
15
  text: any;
15
16
  header: any;
@@ -21,6 +22,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
21
22
  disabled: boolean;
22
23
  testId: string;
23
24
  distance: string;
25
+ container: string;
24
26
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
25
27
  text?: string;
26
28
  header?: string;
@@ -32,6 +34,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
32
34
  disabled?: boolean;
33
35
  testId?: string;
34
36
  distance?: string | number;
37
+ container?: string;
35
38
  }>, {
36
39
  text: any;
37
40
  header: any;
@@ -43,12 +46,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
43
46
  disabled: boolean;
44
47
  testId: string;
45
48
  distance: string;
49
+ container: string;
46
50
  }>>>, {
47
51
  header: string;
48
52
  text: string;
49
53
  theme: string;
50
54
  disabled: boolean;
51
55
  testId: string;
56
+ container: string;
52
57
  delay: number;
53
58
  triggers: Triggers[];
54
59
  forceShowWithTruncate: boolean;
@@ -1,8 +1,8 @@
1
1
  import o from "./TooltipV4.vue2.js";
2
- /* empty css *//* empty css */import e from "../../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../../TooltipV4.vue_vue_type_style_index_0_scoped_58a19def_lang.css"; //*');
2
+ /* empty css *//* empty css */import _ from "../../../_virtual/_plugin-vue_export-helper.js";
3
+ // import "../../../TooltipV4.vue_vue_type_style_index_0_scoped_25809092_lang.css"; //*');
4
4
  // import "../../../TooltipV4.vue_vue_type_style_index_1_lang.css"; //');
5
- const l = /* @__PURE__ */ e(o, [["__scopeId", "data-v-58a19def"]]);
5
+ const l = /* @__PURE__ */ _(o, [["__scopeId", "data-v-25809092"]]);
6
6
  export {
7
7
  l as default
8
8
  };
@@ -1,11 +1,11 @@
1
- import "../../../TooltipV4.vue_vue_type_style_index_0_scoped_58a19def_lang.css"; import "../../../TooltipV4.vue_vue_type_style_index_1_lang.css"; import { defineComponent as c, openBlock as l, createBlock as d, unref as t, mergeProps as m, withCtx as r, renderSlot as f, createTextVNode as u, toDisplayString as h, createElementVNode as p } from "vue";
1
+ import "../../../TooltipV4.vue_vue_type_style_index_0_scoped_25809092_lang.css"; import "../../../TooltipV4.vue_vue_type_style_index_1_lang.css"; import { defineComponent as c, openBlock as l, createBlock as d, unref as t, mergeProps as m, withCtx as r, renderSlot as f, createTextVNode as u, toDisplayString as h, createElementVNode as p } from "vue";
2
2
  import y from "./TextWithTitleContent.vue.js";
3
3
  import { Tooltip as T } from "floating-vue";
4
4
  import { TooltipTestIdModifiers as i } from "../../../testids/index.js";
5
5
  import g from "../../typography/v4/Typography.vue.js";
6
6
  import { tooltipCommon as x } from "../common/Tooltip.common.js";
7
7
  import { useTestIdAttrs as v } from "../../../utils/testIds.js";
8
- const I = {
8
+ const b = {
9
9
  ref: "container",
10
10
  class: "container"
11
11
  }, $ = /* @__PURE__ */ c({
@@ -20,11 +20,12 @@ const I = {
20
20
  theme: { default: "light-theme-v4" },
21
21
  disabled: { type: Boolean, default: !1 },
22
22
  testId: { default: "" },
23
- distance: { default: "10" }
23
+ distance: { default: "10" },
24
+ container: { default: "body" }
24
25
  },
25
26
  setup(e) {
26
27
  const n = e, { textForDisplay: o } = x(n), s = v(n.testId, i);
27
- return (a, b) => (l(), d(t(T), m({ ...a.$props, ...t(s)[t(i).TRIGGER] }, {
28
+ return (a, I) => (l(), d(t(T), m({ ...a.$props, ...t(s)[t(i).TRIGGER] }, {
28
29
  theme: e.theme,
29
30
  "no-auto-focus": "",
30
31
  triggers: e.triggers,
@@ -54,7 +55,7 @@ const I = {
54
55
  ], !0)
55
56
  ]),
56
57
  default: r(() => [
57
- p("div", I, [
58
+ p("div", b, [
58
59
  f(a.$slots, "default", {}, void 0, !0)
59
60
  ], 512)
60
61
  ]),