@ironsource/shared-ui 2.1.12-test.82 → 2.1.12-test.84

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 (28) hide show
  1. package/ChartHeaderTrend.vue_vue_type_style_index_0_scoped_db8a902c_lang.css +1 -0
  2. package/ChartLegend.vue_vue_type_style_index_0_scoped_6103d8bd_lang.css +1 -0
  3. package/DataGrid.vue_vue_type_style_index_0_scoped_b21a79b1_lang.css +1 -0
  4. package/DropdownV4.vue_vue_type_style_index_0_scoped_dd86e387_lang.css +1 -0
  5. package/OptionV4.vue_vue_type_style_index_0_scoped_8e88292f_lang.css +1 -0
  6. package/components/chart/ChartHeaderTrend.vue.js +3 -3
  7. package/components/chart/ChartHeaderTrend.vue2.js +17 -17
  8. package/components/chart/ChartLegend.vue.js +3 -3
  9. package/components/chart/ChartLegend.vue2.js +1 -1
  10. package/components/dropdown/v4/DropdownV4.vue.js +4 -4
  11. package/components/dropdown/v4/DropdownV4.vue2.js +176 -169
  12. package/components/dropdown/v4/OptionV4.vue.d.ts +5 -0
  13. package/components/dropdown/v4/OptionV4.vue.js +3 -3
  14. package/components/dropdown/v4/OptionV4.vue2.js +83 -78
  15. package/components/dropdown/v4/index.d.ts +20 -1
  16. package/components/table/v4/DataGrid.vue.d.ts +2 -0
  17. package/components/table/v4/DataGrid.vue.js +3 -3
  18. package/components/table/v4/DataGrid.vue2.js +111 -110
  19. package/components/table/v4/index.d.ts +2 -0
  20. package/index.d.ts +44 -2
  21. package/index.js +1 -1
  22. package/mocks/apps.d.ts +1 -0
  23. package/package.json +1 -1
  24. package/ChartHeaderTrend.vue_vue_type_style_index_0_scoped_ebc0c582_lang.css +0 -1
  25. package/ChartLegend.vue_vue_type_style_index_0_scoped_fd9e4ea2_lang.css +0 -1
  26. package/DataGrid.vue_vue_type_style_index_0_scoped_0963bb3c_lang.css +0 -1
  27. package/DropdownV4.vue_vue_type_style_index_0_scoped_1f7f7f9c_lang.css +0 -1
  28. package/OptionV4.vue_vue_type_style_index_0_scoped_9560a062_lang.css +0 -1
@@ -1,4 +1,4 @@
1
- import "../../../DataGrid.vue_vue_type_style_index_0_scoped_0963bb3c_lang.css"; import { defineComponent as he, useCssVars as ye, unref as t, useSlots as fe, computed as g, openBlock as i, createElementBlock as o, createElementVNode as f, normalizeStyle as v, normalizeClass as u, renderSlot as c, createVNode as h, withCtx as $, createTextVNode as R, toDisplayString as P, createCommentVNode as n, isRef as Se, Fragment as T, renderList as x, mergeProps as L, createBlock as D } from "vue";
1
+ import "../../../DataGrid.vue_vue_type_style_index_0_scoped_b21a79b1_lang.css"; import { defineComponent as he, useCssVars as ye, unref as t, useSlots as fe, computed as g, openBlock as i, createElementBlock as d, createElementVNode as f, normalizeStyle as v, normalizeClass as u, renderSlot as c, createVNode as h, withCtx as $, createTextVNode as R, toDisplayString as P, createCommentVNode as n, isRef as Se, Fragment as T, renderList as x, mergeProps as L, createBlock as D } from "vue";
2
2
  import p from "../../typography/v4/Typography.vue.js";
3
3
  import ke from "../../skeleton/v4/SkeletonV4.vue.js";
4
4
  import ge from "../../emptyState/v4/EmptyStateV4.vue.js";
@@ -27,7 +27,7 @@ const we = ["data-testid"], Ee = ["data-testid"], He = ["data-testid"], Be = ["d
27
27
  }, Ge = { key: 1 }, We = {
28
28
  key: 0,
29
29
  class: "table-footer"
30
- }, ot = /* @__PURE__ */ he({
30
+ }, dt = /* @__PURE__ */ he({
31
31
  __name: "DataGrid",
32
32
  props: {
33
33
  title: { default: "" },
@@ -36,9 +36,9 @@ const we = ["data-testid"], Ee = ["data-testid"], He = ["data-testid"], Be = ["d
36
36
  sections: { default: null },
37
37
  sort: { default: null },
38
38
  selection: { default: null },
39
- getRowId: { type: Function, default: (l, m) => m },
40
- getRowKey: { type: Function, default: (l, m) => m },
41
- selectedMatcher: { type: Function, default: (l, m) => l === m },
39
+ getRowId: { type: Function, default: (s, m) => m },
40
+ getRowKey: { type: Function, default: (s, m) => m },
41
+ selectedMatcher: { type: Function, default: (s, m) => s === m },
42
42
  isSticky: { type: Boolean, default: !0 },
43
43
  isStickyHeader: { type: Boolean, default: !1 },
44
44
  isLoading: { type: Boolean, default: !1 },
@@ -64,14 +64,14 @@ const we = ["data-testid"], Ee = ["data-testid"], He = ["data-testid"], Be = ["d
64
64
  isSelectionBordered: { type: Boolean, default: !1 }
65
65
  },
66
66
  emits: ["update:sort", "update:search", "update:selection", "onScroll", "onClearSearch", "saveRow", "loadMore", "selectAll", "selectRow", "clickRow"],
67
- setup(l, { expose: m, emit: k }) {
68
- const a = l;
69
- ye((s) => ({
70
- "63c838b5": l.zIndexBase,
71
- "8cc8612e": t(ee),
72
- ec9ca7bc: t(K)
67
+ setup(s, { expose: m, emit: k }) {
68
+ const a = s;
69
+ ye((l) => ({
70
+ fa2ac520: s.zIndexBase,
71
+ "0a907be4": t(ee),
72
+ "702d25dd": t(K)
73
73
  }));
74
- const b = fe(), Q = (s) => a.rowCustomClassKey && a.rows[s] ? a.rows[s][a.rowCustomClassKey] : "", {
74
+ const b = fe(), Q = (l) => a.rowCustomClassKey && a.rows[l] ? a.rows[l][a.rowCustomClassKey] : "", {
75
75
  list: w,
76
76
  containerProps: X,
77
77
  wrapperProps: j,
@@ -89,28 +89,28 @@ const we = ["data-testid"], Ee = ["data-testid"], He = ["data-testid"], Be = ["d
89
89
  isRowExpanded: M,
90
90
  hasCheckboxes: F,
91
91
  activeMenuRow: te,
92
- scrollTo: le
93
- } = ve(a, k), G = g(() => !!b.footer), se = g(
92
+ scrollTo: se
93
+ } = ve(a, k), G = g(() => !!b.footer), le = g(
94
94
  () => a.title || b.title || J.value || b["table-header-actions"] || b["table-header-pre-search"]
95
95
  ), C = Te(a, "search", k), ae = g(() => a.selection.length || 0), N = g(() => {
96
- const s = a.rows.map((d, e) => a.getRowId(d, e));
97
- return !!s.length && s.every((d) => I(d));
98
- }), I = (s) => a.selection.findIndex((d) => a.selectedMatcher(s, d)) !== -1, ie = (s) => {
99
- I(s) ? (V(
96
+ const l = a.rows.map((o, e) => a.getRowId(o, e));
97
+ return !!l.length && l.every((o) => I(o));
98
+ }), I = (l) => a.selection.findIndex((o) => a.selectedMatcher(l, o)) !== -1, ie = (l) => {
99
+ I(l) ? (V(
100
100
  a.selection.filter(
101
- (d) => !a.selectedMatcher(s, d)
101
+ (o) => !a.selectedMatcher(l, o)
102
102
  )
103
- ), k("selectRow", !1)) : (V([...a.selection, s]), k("selectRow", !0));
104
- }, oe = () => {
103
+ ), k("selectRow", !1)) : (V([...a.selection, l]), k("selectRow", !0));
104
+ }, de = () => {
105
105
  if (N.value)
106
106
  V([]), k("selectAll", !1);
107
107
  else {
108
- const s = a.rows.map((d, e) => a.getRowId(d, e)).filter((d) => !I(d));
109
- V([...a.selection, ...s]), k("selectAll", !0);
108
+ const l = a.rows.map((o, e) => a.getRowId(o, e)).filter((o) => !I(o));
109
+ V([...a.selection, ...l]), k("selectAll", !0);
110
110
  }
111
- }, V = (s) => {
112
- k("update:selection", s);
113
- }, de = (s) => !a.isLoading && E.value === s, ne = g(
111
+ }, V = (l) => {
112
+ k("update:selection", l);
113
+ }, oe = (l) => !a.isLoading && E.value === l, ne = g(
114
114
  () => a.emptyStateVariant ?? (C.value ? "no-results" : "no-data")
115
115
  ), re = g(
116
116
  () => a.emptyStateSubtitle ? a.emptyStateSubtitle : C.value ? "Search again with different filters" : void 0
@@ -120,22 +120,22 @@ const we = ["data-testid"], Ee = ["data-testid"], He = ["data-testid"], Be = ["d
120
120
  bordered: a.isSelectionBordered
121
121
  },
122
122
  style: a.isSelectionSticky ? H.value[pe] : null
123
- })), ce = (s) => ({
124
- sticky: s.isSticky,
125
- isStickyRight: s.isStickyRight,
126
- bordered: s.isBordered,
127
- isTextRight: s.isTextRight
123
+ })), ce = (l) => ({
124
+ sticky: l.isSticky,
125
+ isStickyRight: l.isStickyRight,
126
+ bordered: l.isBordered,
127
+ isTextRight: l.isTextRight
128
128
  }), W = g(
129
- () => a.columns.map((s) => ce(s))
130
- ), ue = (s) => ({
131
- minHeight: (typeof a.rowHeight == "function" ? a.rowHeight(s) : a.rowHeight) + "px"
132
- }), A = g(() => w.value.reduce((s, d) => (s[d.index] = ue(d.index), s), {}));
129
+ () => a.columns.map((l) => ce(l))
130
+ ), ue = (l) => ({
131
+ minHeight: (typeof a.rowHeight == "function" ? a.rowHeight(l) : a.rowHeight) + "px"
132
+ }), A = g(() => w.value.reduce((l, o) => (l[o.index] = ue(o.index), l), {}));
133
133
  return m({
134
- scrollTo: le
135
- }), (s, d) => (i(), o("div", {
134
+ scrollTo: se
135
+ }), (l, o) => (i(), d("div", {
136
136
  class: "table-container",
137
- "data-testid": `${l.testId}-${t(S).CONTAINER}`,
138
- onMouseleave: d[3] || (d[3] = (e) => E.value = null)
137
+ "data-testid": `${s.testId}-${t(S).CONTAINER}`,
138
+ onMouseleave: o[3] || (o[3] = (e) => E.value = null)
139
139
  }, [
140
140
  f("table", {
141
141
  ref: t(X).ref,
@@ -143,72 +143,72 @@ const we = ["data-testid"], Ee = ["data-testid"], He = ["data-testid"], Be = ["d
143
143
  class: u({
144
144
  hasFooter: t(G)
145
145
  }),
146
- "data-testid": `${l.testId}-${t(S).TABLE}`,
147
- onScrollPassive: d[2] || (d[2] = //@ts-ignore
146
+ "data-testid": `${s.testId}-${t(S).TABLE}`,
147
+ onScrollPassive: o[2] || (o[2] = //@ts-ignore
148
148
  (...e) => t(U) && t(U)(...e))
149
149
  }, [
150
- t(se) ? (i(), o("div", {
150
+ t(le) ? (i(), d("div", {
151
151
  key: 0,
152
- class: u(["table-header", { isStickyHeader: l.isStickyHeader }]),
153
- "data-testid": `${l.testId}-${t(S).HEADER}`
152
+ class: u(["table-header", { isStickyHeader: s.isStickyHeader }]),
153
+ "data-testid": `${s.testId}-${t(S).HEADER}`
154
154
  }, [
155
155
  f("div", {
156
156
  class: "table-title",
157
- "data-testid": `${l.testId}-${t(S).TITLE}`
157
+ "data-testid": `${s.testId}-${t(S).TITLE}`
158
158
  }, [
159
- c(s.$slots, "title", {}, () => [
159
+ c(l.$slots, "title", {}, () => [
160
160
  h(t(p), { variant: "h3" }, {
161
161
  default: $(() => [
162
- R(P(l.title), 1)
162
+ R(P(s.title), 1)
163
163
  ]),
164
164
  _: 1
165
165
  })
166
166
  ])
167
167
  ], 8, Be),
168
- t(b)["table-header-pre-search"] ? (i(), o("div", {
168
+ t(b)["table-header-pre-search"] ? (i(), d("div", {
169
169
  key: 0,
170
170
  class: "table-header-pre-search-content",
171
- "data-testid": `${l.testId}-${t(S).PRE_SEARCH_HEADER}`
171
+ "data-testid": `${s.testId}-${t(S).PRE_SEARCH_HEADER}`
172
172
  }, [
173
- c(s.$slots, "table-header-pre-search")
173
+ c(l.$slots, "table-header-pre-search")
174
174
  ], 8, Ie)) : n("", !0),
175
175
  f("div", {
176
176
  class: "table-header-right",
177
- "data-testid": `${l.testId}-${t(S).HEADER_RIGHT}`
177
+ "data-testid": `${s.testId}-${t(S).HEADER_RIGHT}`
178
178
  }, [
179
- l.showSearch ? c(s.$slots, "search", { key: 0 }, () => [
179
+ s.showSearch ? c(l.$slots, "search", { key: 0 }, () => [
180
180
  f("div", Ae, [
181
181
  h(t(Re), {
182
182
  modelValue: t(C),
183
- "onUpdate:modelValue": d[0] || (d[0] = (e) => Se(C) ? C.value = e : null),
184
- placeholder: l.searchPlaceholder,
185
- "auto-focus": l.searchAutoFocus,
186
- "test-id": l.testId,
187
- onOnClear: d[1] || (d[1] = (e) => k("onClearSearch"))
183
+ "onUpdate:modelValue": o[0] || (o[0] = (e) => Se(C) ? C.value = e : null),
184
+ placeholder: s.searchPlaceholder,
185
+ "auto-focus": s.searchAutoFocus,
186
+ "test-id": s.testId,
187
+ onOnClear: o[1] || (o[1] = (e) => k("onClearSearch"))
188
188
  }, null, 8, ["modelValue", "placeholder", "auto-focus", "test-id"])
189
189
  ])
190
190
  ]) : n("", !0)
191
191
  ], 8, Ve),
192
- t(b)["table-header-actions"] ? (i(), o("div", {
192
+ t(b)["table-header-actions"] ? (i(), d("div", {
193
193
  key: 1,
194
194
  class: "table-header-actions",
195
- "data-testid": `${l.testId}-${t(S).ACTIONS}`
195
+ "data-testid": `${s.testId}-${t(S).ACTIONS}`
196
196
  }, [
197
- c(s.$slots, "table-header-actions")
197
+ c(l.$slots, "table-header-actions")
198
198
  ], 8, Pe)) : n("", !0)
199
199
  ], 10, He)) : n("", !0),
200
200
  f("thead", {
201
- class: u({ sticky: l.isSticky, isStickyHeader: l.isStickyHeader })
201
+ class: u({ sticky: s.isSticky, isStickyHeader: s.isStickyHeader })
202
202
  }, [
203
203
  f("div", {
204
204
  class: "sections",
205
- "data-testid": `${l.testId}-${t(S).SECTIONS}`
205
+ "data-testid": `${s.testId}-${t(S).SECTIONS}`
206
206
  }, [
207
- (i(!0), o(T, null, x(l.sections, (e) => (i(), o("div", {
207
+ (i(!0), d(T, null, x(s.sections, (e) => (i(), d("div", {
208
208
  key: e.id,
209
209
  class: u(["section-container", { sticky: e.isSticky }])
210
210
  }, [
211
- c(s.$slots, `section-${e.id}`, {}, () => [
211
+ c(l.$slots, `section-${e.id}`, {}, () => [
212
212
  f("div", {
213
213
  style: v({ width: e.width + "px" }),
214
214
  class: u({ section: !0 })
@@ -224,21 +224,21 @@ const we = ["data-testid"], Ee = ["data-testid"], He = ["data-testid"], Be = ["d
224
224
  ], 2))), 128))
225
225
  ], 8, Le),
226
226
  f("tr", null, [
227
- t(F) ? (i(), o("th", L({
227
+ t(F) ? (i(), d("th", L({
228
228
  key: 0,
229
229
  class: "checkbox-cell"
230
230
  }, t(O)), [
231
- c(s.$slots, "select-all-checkbox", {}, () => [
231
+ c(l.$slots, "select-all-checkbox", {}, () => [
232
232
  h(t(Y), {
233
- disabled: l.isLoading,
233
+ disabled: s.isLoading,
234
234
  "is-checked": t(N),
235
235
  "is-indeterminate": !t(N) && t(ae) > 0,
236
- "onUpdate:isChecked": oe
236
+ "onUpdate:isChecked": de
237
237
  }, null, 8, ["disabled", "is-checked", "is-indeterminate"])
238
238
  ])
239
239
  ], 16)) : n("", !0),
240
- t(B) ? (i(), o("th", Me)) : n("", !0),
241
- (i(!0), o(T, null, x(l.columns, (e, y) => (i(), o("th", {
240
+ t(B) ? (i(), d("th", Me)) : n("", !0),
241
+ (i(!0), d(T, null, x(s.columns, (e, y) => (i(), d("th", {
242
242
  key: e.id,
243
243
  class: u({
244
244
  ...t(W)[y],
@@ -249,10 +249,10 @@ const we = ["data-testid"], Ee = ["data-testid"], He = ["data-testid"], Be = ["d
249
249
  onClick: (r) => e.isSortable ? t(q)(e) : null
250
250
  }, [
251
251
  f("div", Ne, [
252
- c(s.$slots, `header-${e.id}`, { column: e }, () => [
252
+ c(l.$slots, `header-${e.id}`, { column: e }, () => [
253
253
  h(t(me), {
254
254
  text: e.helpText,
255
- disabled: !e.helpText || l.helpTooltipVariant === "icon",
255
+ disabled: !e.helpText || s.helpTooltipVariant === "icon",
256
256
  placement: e.helpTextPlacement || "top",
257
257
  "test-id": `help-tooltip-underlined-${e.id}`
258
258
  }, {
@@ -260,7 +260,7 @@ const we = ["data-testid"], Ee = ["data-testid"], He = ["data-testid"], Be = ["d
260
260
  h(t(p), {
261
261
  variant: "tableLabel",
262
262
  class: u({
263
- underlined: e.helpText && l.helpTooltipVariant === "underline"
263
+ underlined: e.helpText && s.helpTooltipVariant === "underline"
264
264
  })
265
265
  }, {
266
266
  default: $(() => [
@@ -272,25 +272,26 @@ const we = ["data-testid"], Ee = ["data-testid"], He = ["data-testid"], Be = ["d
272
272
  _: 2
273
273
  }, 1032, ["text", "disabled", "placement", "test-id"])
274
274
  ]),
275
- e.helpText && l.helpTooltipVariant === "icon" ? (i(), D($e, {
275
+ e.helpText && s.helpTooltipVariant === "icon" ? (i(), D($e, {
276
276
  key: 0,
277
277
  "hover-help-text": e.helpText,
278
278
  "hover-help-text-placement": e.helpTextPlacement,
279
279
  "test-id": `help-tooltip-${e.id}`
280
280
  }, null, 8, ["hover-help-text", "hover-help-text-placement", "test-id"])) : n("", !0),
281
- e.isSortable && e.id === l.sort?.sortBy ? (i(), D(be, {
281
+ c(l.$slots, `after-header-${e.id}`, { column: e }),
282
+ e.isSortable && e.id === s.sort?.sortBy ? (i(), D(be, {
282
283
  key: 1,
283
- "sort-order": l.sort.sortOrder
284
+ "sort-order": s.sort.sortOrder
284
285
  }, null, 8, ["sort-order"])) : n("", !0)
285
286
  ])
286
287
  ], 14, Fe))), 128))
287
288
  ]),
288
- l.showTotalsRow && t(w).length > 0 ? (i(), o("tr", Oe, [
289
- t(F) ? (i(), o("td", L({
289
+ s.showTotalsRow && t(w).length > 0 ? (i(), d("tr", Oe, [
290
+ t(F) ? (i(), d("td", L({
290
291
  key: 0,
291
292
  class: "bg"
292
293
  }, t(O)), null, 16)) : n("", !0),
293
- (i(!0), o(T, null, x(l.columns, (e, y) => (i(), o("td", {
294
+ (i(!0), d(T, null, x(s.columns, (e, y) => (i(), d("td", {
294
295
  key: e.id,
295
296
  class: u({
296
297
  ...t(W)[y],
@@ -298,7 +299,7 @@ const we = ["data-testid"], Ee = ["data-testid"], He = ["data-testid"], Be = ["d
298
299
  }),
299
300
  style: v(e.isSticky ? t(H)[e.id] : null)
300
301
  }, [
301
- c(s.$slots, `total-${e.id}`, { column: e }, () => [
302
+ c(l.$slots, `total-${e.id}`, { column: e }, () => [
302
303
  y === 0 ? (i(), D(t(p), {
303
304
  key: 0,
304
305
  variant: "h6"
@@ -313,15 +314,15 @@ const we = ["data-testid"], Ee = ["data-testid"], He = ["data-testid"], Be = ["d
313
314
  ])) : n("", !0)
314
315
  ], 2),
315
316
  f("tbody", null, [
316
- t(w).length > 0 ? (i(), o("div", L({
317
+ t(w).length > 0 ? (i(), d("div", L({
317
318
  key: 0,
318
319
  class: "table-body-wrapper",
319
- "data-testid": `${l.testId}-${t(S).BODY_WRAPPER}`
320
+ "data-testid": `${s.testId}-${t(S).BODY_WRAPPER}`
320
321
  }, t(j)), [
321
- (i(!0), o(T, null, x(t(w), (e) => (i(), o("tr", {
322
- key: l.getRowKey(e.data, e.index),
322
+ (i(!0), d(T, null, x(t(w), (e) => (i(), d("tr", {
323
+ key: s.getRowKey(e.data, e.index),
323
324
  class: u(["table-row", {
324
- loading: l.isLoading || l.isLoading && !e.data || t(z).includes(e.index),
325
+ loading: s.isLoading || s.isLoading && !e.data || t(z).includes(e.index),
325
326
  active: t(E) === e.index,
326
327
  activeMenu: t(te) === e.index,
327
328
  expanded: t(B) && t(M)(e.index),
@@ -331,18 +332,18 @@ const we = ["data-testid"], Ee = ["data-testid"], He = ["data-testid"], Be = ["d
331
332
  onMouseenter: (y) => E.value = e.index,
332
333
  onClick: (y) => k("clickRow", e.index)
333
334
  }, [
334
- t(F) ? (i(), o("td", L({
335
+ t(F) ? (i(), d("td", L({
335
336
  key: 0,
336
337
  class: "checkbox-cell"
337
338
  }, t(O), {
338
339
  style: t(A)[e.index]
339
340
  }), [
340
341
  h(t(Y), {
341
- "is-checked": I(l.getRowId(e.data, e.index)),
342
- "onUpdate:isChecked": (y) => ie(l.getRowId(e.data, e.index))
342
+ "is-checked": I(s.getRowId(e.data, e.index)),
343
+ "onUpdate:isChecked": (y) => ie(s.getRowId(e.data, e.index))
343
344
  }, null, 8, ["is-checked", "onUpdate:isChecked"])
344
345
  ], 16)) : n("", !0),
345
- t(B) ? (i(), o("td", {
346
+ t(B) ? (i(), d("td", {
346
347
  key: 1,
347
348
  class: "expand-toggle-cell",
348
349
  style: v(t(A)[e.index])
@@ -352,25 +353,25 @@ const we = ["data-testid"], Ee = ["data-testid"], He = ["data-testid"], Be = ["d
352
353
  onClick: (y) => t(_)(e.index, y)
353
354
  }, null, 8, ["expanded", "onClick"])
354
355
  ], 4)) : n("", !0),
355
- (i(!0), o(T, null, x(l.columns, (y, r) => (i(), o("td", {
356
+ (i(!0), d(T, null, x(s.columns, (y, r) => (i(), d("td", {
356
357
  key: r,
357
358
  class: u({
358
- sticky: l.columns[r].isSticky,
359
- isStickyRight: l.columns[r].isStickyRight,
360
- bordered: l.columns[r].isBordered,
361
- isTextRight: l.columns[r].isTextRight,
362
- [`column-${l.columns[r].id}`]: !0
359
+ sticky: s.columns[r].isSticky,
360
+ isStickyRight: s.columns[r].isStickyRight,
361
+ bordered: s.columns[r].isBordered,
362
+ isTextRight: s.columns[r].isTextRight,
363
+ [`column-${s.columns[r].id}`]: !0
363
364
  }),
364
365
  style: v([
365
- l.columns[r].isSticky ? t(H)[l.columns[r].id] : null,
366
+ s.columns[r].isSticky ? t(H)[s.columns[r].id] : null,
366
367
  t(A)[e.index]
367
368
  ])
368
369
  }, [
369
- !l.isLoading || l.isLoading && e.data[r] ? (i(), o("div", {
370
+ !s.isLoading || s.isLoading && e.data[r] ? (i(), d("div", {
370
371
  key: 0,
371
372
  class: u(["table-cell", { last: r === e.data.length - 1 }])
372
373
  }, [
373
- c(s.$slots, `cell-${l.columns[r].id}`, {
374
+ c(l.$slots, `cell-${s.columns[r].id}`, {
374
375
  cell: e.data[r],
375
376
  isLoading: t(z).includes(e.index),
376
377
  cellIndex: r,
@@ -384,43 +385,43 @@ const we = ["data-testid"], Ee = ["data-testid"], He = ["data-testid"], Be = ["d
384
385
  _: 2
385
386
  }, 1024)
386
387
  ])
387
- ], 2)) : c(s.$slots, "loader", { key: 1 }, () => [
388
+ ], 2)) : c(l.$slots, "loader", { key: 1 }, () => [
388
389
  h(t(ke), { round: "" })
389
390
  ])
390
391
  ], 6))), 128)),
391
- t(B) && t(M)(e.index) ? (i(), o("div", Ue, [
392
- c(s.$slots, "expanded", {
392
+ t(B) && t(M)(e.index) ? (i(), d("div", Ue, [
393
+ c(l.$slots, "expanded", {
393
394
  row: e,
394
395
  gridColumnTemplate: t(K)
395
396
  })
396
397
  ])) : n("", !0),
397
- de(e.index) ? (i(), o("div", ze, [
398
- c(s.$slots, "floating-row", {
398
+ oe(e.index) ? (i(), d("div", ze, [
399
+ c(l.$slots, "floating-row", {
399
400
  row: e,
400
401
  rowIndex: e.index
401
402
  })
402
403
  ])) : n("", !0)
403
404
  ], 46, Ke))), 128))
404
- ], 16, De)) : (i(), o("div", Ge, [
405
- c(s.$slots, "empty-state", {}, () => [
405
+ ], 16, De)) : (i(), d("div", Ge, [
406
+ c(l.$slots, "empty-state", {}, () => [
406
407
  h(t(ge), {
407
408
  class: "empty-state",
408
- title: l.emptyStateTitle,
409
+ title: s.emptyStateTitle,
409
410
  subtitle: t(re),
410
411
  variant: t(ne),
411
412
  "icon-name": "file-search",
412
- "test-id": `${l.testId}-${t(S).EMPTY_STATE}`
413
+ "test-id": `${s.testId}-${t(S).EMPTY_STATE}`
413
414
  }, null, 8, ["title", "subtitle", "variant", "test-id"])
414
415
  ])
415
416
  ]))
416
417
  ])
417
418
  ], 46, Ee),
418
- t(G) ? (i(), o("div", We, [
419
- c(s.$slots, "footer")
419
+ t(G) ? (i(), d("div", We, [
420
+ c(l.$slots, "footer")
420
421
  ])) : n("", !0)
421
422
  ], 40, we));
422
423
  }
423
424
  });
424
425
  export {
425
- ot as default
426
+ dt as default
426
427
  };
@@ -721,6 +721,8 @@ declare const DataGridTypes: () => (({
721
721
  }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
722
722
  $slots: Partial<Record<`section-${string}`, (_: {}) => any>> & Partial<Record<`header-${string}`, (_: {
723
723
  column: import("../common/Table.types").Column;
724
+ }) => any>> & Partial<Record<`after-header-${string}`, (_: {
725
+ column: import("../common/Table.types").Column;
724
726
  }) => any>> & Partial<Record<`total-${string}`, (_: {
725
727
  column: import("../common/Table.types").Column;
726
728
  }) => any>> & Partial<Record<`cell-${string}`, (_: {
package/index.d.ts CHANGED
@@ -6482,6 +6482,8 @@ declare const _default: {
6482
6482
  }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
6483
6483
  $slots: Partial<Record<`section-${string}`, (_: {}) => any>> & Partial<Record<`header-${string}`, (_: {
6484
6484
  column: tableV3.Column;
6485
+ }) => any>> & Partial<Record<`after-header-${string}`, (_: {
6486
+ column: tableV3.Column;
6485
6487
  }) => any>> & Partial<Record<`total-${string}`, (_: {
6486
6488
  column: tableV3.Column;
6487
6489
  }) => any>> & Partial<Record<`cell-${string}`, (_: {
@@ -7323,6 +7325,8 @@ declare const _default: {
7323
7325
  }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
7324
7326
  $slots: Partial<Record<`section-${string}`, (_: {}) => any>> & Partial<Record<`header-${string}`, (_: {
7325
7327
  column: tableV3.Column;
7328
+ }) => any>> & Partial<Record<`after-header-${string}`, (_: {
7329
+ column: tableV3.Column;
7326
7330
  }) => any>> & Partial<Record<`total-${string}`, (_: {
7327
7331
  column: tableV3.Column;
7328
7332
  }) => any>> & Partial<Record<`cell-${string}`, (_: {
@@ -20482,6 +20486,7 @@ declare const _default: {
20482
20486
  stopOptionClickEventPropagation: boolean;
20483
20487
  treeChildShown: boolean;
20484
20488
  isMulti: boolean;
20489
+ minMaxSelectionTooltipMessage: string;
20485
20490
  }> & Omit<Readonly<import("vue").ExtractPropTypes<{
20486
20491
  option: {
20487
20492
  type: import("vue").PropType<unknown>;
@@ -20575,12 +20580,16 @@ declare const _default: {
20575
20580
  type: import("vue").PropType<boolean>;
20576
20581
  default: boolean;
20577
20582
  };
20583
+ minMaxSelectionTooltipMessage: {
20584
+ type: import("vue").PropType<string>;
20585
+ default: any;
20586
+ };
20578
20587
  selectedProp: {
20579
20588
  type: import("vue").PropType<boolean>;
20580
20589
  };
20581
20590
  }>> & {
20582
20591
  onToggleTreeCollapse?: (option: unknown) => any;
20583
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "option" | "disabled" | "active" | "endIconType" | "optionFlagKey" | "optionTwoLinesVariant" | "optionTwoLinesKey" | "isIndeterminate" | "subtitle" | "selectAllOption" | "nameKey" | "imageKey" | "iconKey" | "warningKey" | "iconType" | "endIconKey" | "endTextIconKey" | "toolTipPlacement" | "treeMainOption" | "treeMainOptionExpanded" | "stopOptionClickEventPropagation" | "treeChildShown" | "isMulti">;
20592
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "option" | "disabled" | "active" | "endIconType" | "optionFlagKey" | "optionTwoLinesVariant" | "optionTwoLinesKey" | "isIndeterminate" | "subtitle" | "selectAllOption" | "nameKey" | "imageKey" | "iconKey" | "warningKey" | "iconType" | "endIconKey" | "endTextIconKey" | "toolTipPlacement" | "treeMainOption" | "treeMainOptionExpanded" | "stopOptionClickEventPropagation" | "treeChildShown" | "isMulti" | "minMaxSelectionTooltipMessage">;
20584
20593
  $attrs: {
20585
20594
  [x: string]: unknown;
20586
20595
  };
@@ -20687,6 +20696,10 @@ declare const _default: {
20687
20696
  type: import("vue").PropType<boolean>;
20688
20697
  default: boolean;
20689
20698
  };
20699
+ minMaxSelectionTooltipMessage: {
20700
+ type: import("vue").PropType<string>;
20701
+ default: any;
20702
+ };
20690
20703
  selectedProp: {
20691
20704
  type: import("vue").PropType<boolean>;
20692
20705
  };
@@ -20718,6 +20731,7 @@ declare const _default: {
20718
20731
  stopOptionClickEventPropagation: boolean;
20719
20732
  treeChildShown: boolean;
20720
20733
  isMulti: boolean;
20734
+ minMaxSelectionTooltipMessage: string;
20721
20735
  }, {}, string> & {
20722
20736
  beforeCreate?: (() => void) | (() => void)[];
20723
20737
  created?: (() => void) | (() => void)[];
@@ -20831,6 +20845,10 @@ declare const _default: {
20831
20845
  type: import("vue").PropType<boolean>;
20832
20846
  default: boolean;
20833
20847
  };
20848
+ minMaxSelectionTooltipMessage: {
20849
+ type: import("vue").PropType<string>;
20850
+ default: any;
20851
+ };
20834
20852
  selectedProp: {
20835
20853
  type: import("vue").PropType<boolean>;
20836
20854
  };
@@ -20933,6 +20951,10 @@ declare const _default: {
20933
20951
  type: import("vue").PropType<boolean>;
20934
20952
  default: boolean;
20935
20953
  };
20954
+ minMaxSelectionTooltipMessage: {
20955
+ type: import("vue").PropType<string>;
20956
+ default: any;
20957
+ };
20936
20958
  selectedProp: {
20937
20959
  type: import("vue").PropType<boolean>;
20938
20960
  };
@@ -20964,6 +20986,7 @@ declare const _default: {
20964
20986
  stopOptionClickEventPropagation: boolean;
20965
20987
  treeChildShown: boolean;
20966
20988
  isMulti: boolean;
20989
+ minMaxSelectionTooltipMessage: string;
20967
20990
  }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
20968
20991
  $slots: {
20969
20992
  image?(_: {}): any;
@@ -23699,6 +23722,7 @@ declare const _default: {
23699
23722
  stopOptionClickEventPropagation: boolean;
23700
23723
  treeChildShown: boolean;
23701
23724
  isMulti: boolean;
23725
+ minMaxSelectionTooltipMessage: string;
23702
23726
  }> & Omit<Readonly<import("vue").ExtractPropTypes<{
23703
23727
  option: {
23704
23728
  type: import("vue").PropType<unknown>;
@@ -23792,12 +23816,16 @@ declare const _default: {
23792
23816
  type: import("vue").PropType<boolean>;
23793
23817
  default: boolean;
23794
23818
  };
23819
+ minMaxSelectionTooltipMessage: {
23820
+ type: import("vue").PropType<string>;
23821
+ default: any;
23822
+ };
23795
23823
  selectedProp: {
23796
23824
  type: import("vue").PropType<boolean>;
23797
23825
  };
23798
23826
  }>> & {
23799
23827
  onToggleTreeCollapse?: (option: unknown) => any;
23800
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "option" | "disabled" | "active" | "endIconType" | "optionFlagKey" | "optionTwoLinesVariant" | "optionTwoLinesKey" | "isIndeterminate" | "subtitle" | "selectAllOption" | "nameKey" | "imageKey" | "iconKey" | "warningKey" | "iconType" | "endIconKey" | "endTextIconKey" | "toolTipPlacement" | "treeMainOption" | "treeMainOptionExpanded" | "stopOptionClickEventPropagation" | "treeChildShown" | "isMulti">;
23828
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "option" | "disabled" | "active" | "endIconType" | "optionFlagKey" | "optionTwoLinesVariant" | "optionTwoLinesKey" | "isIndeterminate" | "subtitle" | "selectAllOption" | "nameKey" | "imageKey" | "iconKey" | "warningKey" | "iconType" | "endIconKey" | "endTextIconKey" | "toolTipPlacement" | "treeMainOption" | "treeMainOptionExpanded" | "stopOptionClickEventPropagation" | "treeChildShown" | "isMulti" | "minMaxSelectionTooltipMessage">;
23801
23829
  $attrs: {
23802
23830
  [x: string]: unknown;
23803
23831
  };
@@ -23904,6 +23932,10 @@ declare const _default: {
23904
23932
  type: import("vue").PropType<boolean>;
23905
23933
  default: boolean;
23906
23934
  };
23935
+ minMaxSelectionTooltipMessage: {
23936
+ type: import("vue").PropType<string>;
23937
+ default: any;
23938
+ };
23907
23939
  selectedProp: {
23908
23940
  type: import("vue").PropType<boolean>;
23909
23941
  };
@@ -23935,6 +23967,7 @@ declare const _default: {
23935
23967
  stopOptionClickEventPropagation: boolean;
23936
23968
  treeChildShown: boolean;
23937
23969
  isMulti: boolean;
23970
+ minMaxSelectionTooltipMessage: string;
23938
23971
  }, {}, string> & {
23939
23972
  beforeCreate?: (() => void) | (() => void)[];
23940
23973
  created?: (() => void) | (() => void)[];
@@ -24048,6 +24081,10 @@ declare const _default: {
24048
24081
  type: import("vue").PropType<boolean>;
24049
24082
  default: boolean;
24050
24083
  };
24084
+ minMaxSelectionTooltipMessage: {
24085
+ type: import("vue").PropType<string>;
24086
+ default: any;
24087
+ };
24051
24088
  selectedProp: {
24052
24089
  type: import("vue").PropType<boolean>;
24053
24090
  };
@@ -24150,6 +24187,10 @@ declare const _default: {
24150
24187
  type: import("vue").PropType<boolean>;
24151
24188
  default: boolean;
24152
24189
  };
24190
+ minMaxSelectionTooltipMessage: {
24191
+ type: import("vue").PropType<string>;
24192
+ default: any;
24193
+ };
24153
24194
  selectedProp: {
24154
24195
  type: import("vue").PropType<boolean>;
24155
24196
  };
@@ -24181,6 +24222,7 @@ declare const _default: {
24181
24222
  stopOptionClickEventPropagation: boolean;
24182
24223
  treeChildShown: boolean;
24183
24224
  isMulti: boolean;
24225
+ minMaxSelectionTooltipMessage: string;
24184
24226
  }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
24185
24227
  $slots: {
24186
24228
  image?(_: {}): any;
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import './AutocompleteDropdown.vue_vue_type_style_index_0_scoped_214ddaf4_lang.css';
1
+ import './FilterDropdown.vue_vue_type_style_index_0_scoped_b42d8b45_lang.css';
2
2
  import { AppTriggerTypes as eo } from "./components/appTrigger/index.js";
3
3
  import { AutocompleteDropdownTypes as mo } from "./components/autocompleteDropdown/index.js";
4
4
  import { MenuItemTypes as ao } from "./components/menuItem/index.js";
package/mocks/apps.d.ts CHANGED
@@ -4,6 +4,7 @@ export type Application = {
4
4
  name: string;
5
5
  image: string;
6
6
  abIcon?: string;
7
+ disabled?: boolean;
7
8
  };
8
9
  export declare const appMocks: Application[];
9
10
  export declare const optionsWithGroups: {