@ironsource/shared-ui 2.1.12-test.53 → 2.1.12-test.55
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.
- package/Chart.vue_vue_type_style_index_0_scoped_060d02be_lang.css +1 -0
- package/ChartHeader.vue_vue_type_style_index_0_scoped_d90c583e_lang.css +1 -0
- package/ChartHeaderTrend.vue_vue_type_style_index_0_scoped_ca558859_lang.css +1 -0
- package/ChartLegend.vue_vue_type_style_index_0_scoped_9c4df598_lang.css +1 -0
- package/ChartPlane.vue_vue_type_style_index_0_scoped_a685cf5e_lang.css +1 -0
- package/ChartTooltip.vue_vue_type_style_index_0_scoped_9623dbbd_lang.css +1 -0
- package/ColumnConfigurator.vue_vue_type_style_index_0_scoped_702ad52e_lang.css +1 -0
- package/ConditionalDropdown.vue_vue_type_style_index_0_scoped_8cc86a27_lang.css +1 -0
- package/DataGrid.vue_vue_type_style_index_0_scoped_e6cece52_lang.css +1 -0
- package/DataGridContainer.vue_vue_type_style_index_0_scoped_9a30b10c_lang.css +1 -0
- package/DataGridHeader.vue_vue_type_style_index_0_scoped_0e826456_lang.css +1 -0
- package/DropdownV4.vue_vue_type_style_index_0_scoped_a594c97e_lang.css +1 -0
- package/DropdownV4.vue_vue_type_style_index_1_lang.css +1 -1
- package/EmptyStateV4.vue_vue_type_style_index_0_scoped_76757f22_lang.css +1 -0
- package/Link.vue_vue_type_style_index_0_scoped_1a766750_lang.css +1 -0
- package/LoaderBars.vue_vue_type_style_index_0_scoped_d976ec65_lang.css +1 -0
- package/SectionDropdown.vue_vue_type_style_index_0_scoped_cfad60a8_lang.css +1 -0
- package/SectionHeaderText.vue_vue_type_style_index_0_scoped_0b8d3d79_lang.css +1 -0
- package/{SettingsHeader.vue_vue_type_style_index_0_scoped_01f78cd7_lang.css → SettingsHeader.vue_vue_type_style_index_0_scoped_a869d327_lang.css} +1 -1
- package/ShowMoreLink.vue_vue_type_style_index_0_scoped_9fc3bc1b_lang.css +1 -0
- package/SortableItem.vue_vue_type_style_index_0_scoped_c72be7ed_lang.css +1 -0
- package/SortableList.vue_vue_type_style_index_0_scoped_9aec4e9b_lang.css +1 -0
- package/SortableSelectableList.vue_vue_type_style_index_0_scoped_40b0a4de_lang.css +1 -0
- package/TagsField.vue_vue_type_style_index_0_scoped_9760426b_lang.css +1 -0
- package/TagsFieldChip.vue_vue_type_style_index_0_scoped_d186b7ef_lang.css +1 -0
- package/TreeDropdown.vue_vue_type_style_index_0_scoped_63dc057e_lang.css +1 -0
- package/components/chart/Chart.vue.d.ts +5 -0
- package/components/chart/Chart.vue.js +4 -4
- package/components/chart/Chart.vue2.js +122 -112
- package/components/chart/ChartHeader.vue.d.ts +5 -0
- package/components/chart/ChartHeader.vue.js +3 -3
- package/components/chart/ChartHeader.vue2.js +49 -44
- package/components/chart/ChartHeaderTrend.vue.d.ts +5 -0
- package/components/chart/ChartHeaderTrend.vue.js +2 -2
- package/components/chart/ChartHeaderTrend.vue2.js +42 -39
- package/components/chart/ChartLegend.vue.d.ts +5 -0
- package/components/chart/ChartLegend.vue.js +3 -3
- package/components/chart/ChartLegend.vue2.js +76 -71
- package/components/chart/ChartPlane.vue.d.ts +5 -0
- package/components/chart/ChartPlane.vue.js +3 -3
- package/components/chart/ChartPlane.vue2.js +125 -119
- package/components/chart/ChartTooltip.vue.d.ts +5 -0
- package/components/chart/ChartTooltip.vue.js +2 -2
- package/components/chart/ChartTooltip.vue2.js +38 -34
- package/components/chart/LegendSorting.vue.d.ts +5 -0
- package/components/chart/LegendSorting.vue.js +16 -14
- package/components/chart/SettingsHeader.vue.d.ts +19 -3
- package/components/chart/SettingsHeader.vue.js +3 -3
- package/components/chart/SettingsHeader.vue2.js +36 -29
- package/components/chart/index.d.ts +20 -1
- package/components/columnConfigurator/ColumnConfigurator.types.d.ts +12 -0
- package/components/columnConfigurator/ColumnConfigurator.vue.d.ts +61 -0
- package/components/columnConfigurator/ColumnConfigurator.vue.js +7 -0
- package/components/columnConfigurator/ColumnConfigurator.vue2.js +113 -0
- package/components/columnConfigurator/SectionDropdown.vue.d.ts +39 -0
- package/components/columnConfigurator/SectionDropdown.vue.js +7 -0
- package/components/columnConfigurator/SectionDropdown.vue2.js +57 -0
- package/components/columnConfigurator/SectionHeaderText.vue.d.ts +34 -0
- package/components/columnConfigurator/SectionHeaderText.vue.js +7 -0
- package/components/columnConfigurator/SectionHeaderText.vue2.js +22 -0
- package/components/columnConfigurator/ShowMoreLink.vue.d.ts +33 -0
- package/components/columnConfigurator/ShowMoreLink.vue.js +7 -0
- package/components/columnConfigurator/ShowMoreLink.vue2.js +41 -0
- package/components/columnConfigurator/consts.d.ts +1 -0
- package/components/columnConfigurator/consts.js +4 -0
- package/components/columnConfigurator/index.d.ts +73 -0
- package/components/columnConfigurator/index.js +6 -0
- package/components/columnConfigurator/mockData.d.ts +30 -0
- package/components/columnConfigurator/utils.d.ts +2 -0
- package/components/columnConfigurator/utils.js +18 -0
- package/components/columnPicker/ColumnPicker.vue.d.ts +1 -1
- package/components/columnPicker/index.d.ts +20 -20
- package/components/dropdown/v4/ConditionalDropdown.vue.js +3 -3
- package/components/dropdown/v4/ConditionalDropdown.vue2.js +99 -97
- package/components/dropdown/v4/DropdownV4.vue.d.ts +7 -0
- package/components/dropdown/v4/DropdownV4.vue.js +4 -4
- package/components/dropdown/v4/DropdownV4.vue2.js +118 -107
- package/components/dropdown/v4/TreeDropdown.vue.d.ts +10 -0
- package/components/dropdown/v4/TreeDropdown.vue.js +2 -2
- package/components/dropdown/v4/TreeDropdown.vue2.js +155 -151
- package/components/dropdown/v4/index.d.ts +61 -2
- package/components/emptyState/v4/EmptyStateV4.vue.d.ts +5 -0
- package/components/emptyState/v4/EmptyStateV4.vue.js +2 -2
- package/components/emptyState/v4/EmptyStateV4.vue2.js +37 -34
- package/components/emptyState/v4/index.d.ts +20 -1
- package/components/link/Link.vue.d.ts +5 -0
- package/components/link/Link.vue.js +3 -3
- package/components/link/Link.vue2.js +36 -28
- package/components/link/index.d.ts +20 -1
- package/components/sortableList/LoaderBars.vue.d.ts +34 -0
- package/components/sortableList/LoaderBars.vue.js +7 -0
- package/components/sortableList/LoaderBars.vue2.js +25 -0
- package/components/sortableList/SortableItem.vue.js +4 -4
- package/components/sortableList/SortableItem.vue2.js +3 -3
- package/components/sortableList/SortableList.vue.d.ts +2 -2
- package/components/sortableList/SortableList.vue.js +5 -5
- package/components/sortableList/SortableList.vue2.js +96 -106
- package/components/sortableList/SortableSelectableList.vue.d.ts +107 -0
- package/components/sortableList/SortableSelectableList.vue.js +7 -0
- package/components/sortableList/SortableSelectableList.vue2.js +128 -0
- package/components/sortableList/composables/useDraggableHelpers.d.ts +5 -0
- package/components/sortableList/composables/useDraggableHelpers.js +20 -0
- package/components/sortableList/consts.d.ts +2 -0
- package/components/sortableList/consts.js +4 -2
- package/components/sortableList/index.d.ts +39 -39
- package/components/table/common/consts.d.ts +2 -0
- package/components/table/common/consts.js +6 -4
- package/components/table/v4/DataGrid.vue.d.ts +4 -3
- package/components/table/v4/DataGrid.vue.js +4 -4
- package/components/table/v4/DataGrid.vue2.js +362 -335
- package/components/table/v4/DataGridContainer.vue.d.ts +10 -0
- package/components/table/v4/DataGridContainer.vue.js +7 -0
- package/components/table/v4/DataGridContainer.vue2.js +19 -0
- package/components/table/v4/DataGridHeader.vue.d.ts +1 -1
- package/components/table/v4/DataGridHeader.vue.js +2 -2
- package/components/table/v4/DataGridHeader.vue2.js +30 -28
- package/components/table/v4/MultipleDataGrid.vue.d.ts +2 -2
- package/components/table/v4/index.d.ts +104 -103
- package/components/tagsField/TagsField.types.d.ts +4 -0
- package/components/tagsField/TagsField.vue.d.ts +65 -0
- package/components/tagsField/TagsField.vue.js +7 -0
- package/components/tagsField/TagsField.vue2.js +90 -0
- package/components/tagsField/TagsFieldChip.vue.d.ts +45 -0
- package/components/tagsField/TagsFieldChip.vue.js +7 -0
- package/components/tagsField/TagsFieldChip.vue2.js +81 -0
- package/components/tagsField/consts.d.ts +1 -0
- package/components/tagsField/consts.js +4 -0
- package/components/tagsField/index.d.ts +75 -0
- package/components/tagsField/index.js +6 -0
- package/index.d.ts +450 -290
- package/index.js +87 -79
- package/package.json +10 -1
- package/testids/index.d.ts +36 -0
- package/testids/index.js +37 -31
- package/utils/object.d.ts +2 -0
- package/utils/object.js +9 -5
- package/utils/search.js +1 -1
- package/Chart.vue_vue_type_style_index_0_scoped_3da25a36_lang.css +0 -1
- package/ChartHeader.vue_vue_type_style_index_0_scoped_af520313_lang.css +0 -1
- package/ChartHeaderTrend.vue_vue_type_style_index_0_scoped_2f916aeb_lang.css +0 -1
- package/ChartLegend.vue_vue_type_style_index_0_scoped_6103d8bd_lang.css +0 -1
- package/ChartPlane.vue_vue_type_style_index_0_scoped_dd60ff0e_lang.css +0 -1
- package/ChartTooltip.vue_vue_type_style_index_0_scoped_3d0780bb_lang.css +0 -1
- package/ConditionalDropdown.vue_vue_type_style_index_0_scoped_bdd6ee48_lang.css +0 -1
- package/DataGrid.vue_vue_type_style_index_0_scoped_da7631e0_lang.css +0 -1
- package/DataGridHeader.vue_vue_type_style_index_0_scoped_840e700c_lang.css +0 -1
- package/DropdownV4.vue_vue_type_style_index_0_scoped_55dd36a7_lang.css +0 -1
- package/EmptyStateV4.vue_vue_type_style_index_0_scoped_18728498_lang.css +0 -1
- package/Link.vue_vue_type_style_index_0_scoped_b10e2439_lang.css +0 -1
- package/SortableItem.vue_vue_type_style_index_0_scoped_800cd503_lang.css +0 -1
- package/SortableList.vue_vue_type_style_index_0_scoped_84dc8525_lang.css +0 -1
- package/TreeDropdown.vue_vue_type_style_index_0_scoped_4ba9e4bd_lang.css +0 -1
|
@@ -1,36 +1,38 @@
|
|
|
1
|
-
import "../../../DataGrid.
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
1
|
+
import "../../../DataGrid.vue_vue_type_style_index_0_scoped_e6cece52_lang.css"; import { defineComponent as me, useCssVars as pe, unref as t, useSlots as be, computed as u, openBlock as i, createBlock as C, createSlots as Q, withCtx as h, createElementVNode as m, mergeProps as $, normalizeStyle as k, normalizeClass as f, isRef as ve, renderSlot as n, createCommentVNode as c, createElementBlock as d, Fragment as x, renderList as R, createVNode as g, createTextVNode as L, toDisplayString as O } from "vue";
|
|
2
|
+
import V from "../../typography/v4/Typography.vue.js";
|
|
3
|
+
import Ce from "../../skeleton/v4/SkeletonV4.vue.js";
|
|
4
|
+
import $e from "../../emptyState/v4/EmptyStateV4.vue.js";
|
|
5
|
+
import X from "../../checkbox/v4/CheckboxV4.vue.js";
|
|
6
|
+
import xe from "../../tooltip/v4/TooltipV4.vue.js";
|
|
7
7
|
import "./DataGrid.vue.js";
|
|
8
8
|
import "./DataGridMenu.vue.js";
|
|
9
9
|
import "./DataGridRowsCounter.vue.js";
|
|
10
|
-
import
|
|
10
|
+
import Re from "./DataGridHeader.vue.js";
|
|
11
11
|
import "./MultipleDataGrid.vue.js";
|
|
12
|
-
import
|
|
13
|
-
import {
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import
|
|
17
|
-
import
|
|
18
|
-
|
|
12
|
+
import Te from "./DataGridContainer.vue.js";
|
|
13
|
+
import { TableTestIdModifiers as T } from "../../../testids/index.js";
|
|
14
|
+
import { tableCommon as we } from "../common/Table.common.js";
|
|
15
|
+
import He from "./SortIcon.vue.js";
|
|
16
|
+
import Ee from "./HelpIcon.vue.js";
|
|
17
|
+
import Be from "./ExpandRowToggle.vue.js";
|
|
18
|
+
import { DEFAULT_ROW_HEIGHT as Ae, CHECKBOX_COLUMN_ID as Ie, DATA_GRID_HEADER_HEIGHT as j, HEADER_ROW_HEIGHT as q } from "../common/consts.js";
|
|
19
|
+
import { useElementSize as Pe } from "@vueuse/core";
|
|
20
|
+
const Le = ["data-testid"], Ve = ["data-testid"], De = ["data-testid"], Me = {
|
|
19
21
|
key: 1,
|
|
20
22
|
class: "expand-toggle-cell"
|
|
21
|
-
},
|
|
23
|
+
}, Fe = ["onClick"], Ne = { class: "table-head-container" }, Oe = {
|
|
22
24
|
key: 0,
|
|
23
25
|
class: "totals-row"
|
|
24
|
-
},
|
|
26
|
+
}, Ge = ["data-testid"], ze = ["onMouseenter", "onClick"], Ke = {
|
|
25
27
|
key: 2,
|
|
26
28
|
class: "expanded-row"
|
|
27
|
-
},
|
|
29
|
+
}, Ue = {
|
|
28
30
|
key: 3,
|
|
29
31
|
class: "floating-row"
|
|
30
|
-
},
|
|
32
|
+
}, We = {
|
|
31
33
|
key: 0,
|
|
32
34
|
class: "table-footer"
|
|
33
|
-
},
|
|
35
|
+
}, ut = /* @__PURE__ */ me({
|
|
34
36
|
__name: "DataGrid",
|
|
35
37
|
props: {
|
|
36
38
|
title: { default: "" },
|
|
@@ -39,9 +41,9 @@ const we = ["data-testid"], Be = ["data-testid"], He = ["data-testid"], Ee = {
|
|
|
39
41
|
sections: { default: null },
|
|
40
42
|
sort: { default: null },
|
|
41
43
|
selection: { default: null },
|
|
42
|
-
getRowId: { type: Function, default: (l,
|
|
43
|
-
getRowKey: { type: Function, default: (l,
|
|
44
|
-
selectedMatcher: { type: Function, default: (l,
|
|
44
|
+
getRowId: { type: Function, default: (l, p) => p },
|
|
45
|
+
getRowKey: { type: Function, default: (l, p) => p },
|
|
46
|
+
selectedMatcher: { type: Function, default: (l, p) => l === p },
|
|
45
47
|
isSticky: { type: Boolean, default: !0 },
|
|
46
48
|
isStickyHeader: { type: Boolean, default: !1 },
|
|
47
49
|
isLoading: { type: Boolean, default: !1 },
|
|
@@ -51,7 +53,7 @@ const we = ["data-testid"], Be = ["data-testid"], He = ["data-testid"], Ee = {
|
|
|
51
53
|
isInfiniteScroll: { type: Boolean, default: !1 },
|
|
52
54
|
showTotalsRow: { type: Boolean },
|
|
53
55
|
infiniteScrollThreshold: { default: 100 },
|
|
54
|
-
rowHeight: { type: [Number, Function], default:
|
|
56
|
+
rowHeight: { type: [Number, Function], default: Ae },
|
|
55
57
|
loadingRowCount: { default: 3 },
|
|
56
58
|
defaultScrollPosition: { default: null },
|
|
57
59
|
helpTooltipVariant: { default: "icon" },
|
|
@@ -67,353 +69,378 @@ const we = ["data-testid"], Be = ["data-testid"], He = ["data-testid"], Ee = {
|
|
|
67
69
|
isSelectionBordered: { type: Boolean, default: !1 }
|
|
68
70
|
},
|
|
69
71
|
emits: ["update:sort", "update:search", "update:selection", "onScroll", "onClearSearch", "saveRow", "loadMore", "selectAll", "selectRow", "clickRow"],
|
|
70
|
-
setup(l, { expose:
|
|
72
|
+
setup(l, { expose: p, emit: S }) {
|
|
71
73
|
const a = l;
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
74
|
+
pe((s) => ({
|
|
75
|
+
d6fdbe1e: l.zIndexBase,
|
|
76
|
+
e806cab6: t(le),
|
|
77
|
+
"470c985e": t(z),
|
|
78
|
+
"572d2bcc": t(ke)
|
|
76
79
|
}));
|
|
77
|
-
const
|
|
78
|
-
list:
|
|
79
|
-
containerProps:
|
|
80
|
-
wrapperProps:
|
|
81
|
-
activeRow:
|
|
82
|
-
gridColumnTemplate:
|
|
83
|
-
toggleSortOrder:
|
|
84
|
-
columnsStickyPositions:
|
|
85
|
-
hasSearchSlot:
|
|
86
|
-
containerStyle:
|
|
80
|
+
const b = be(), J = (s) => a.rowCustomClassKey && a.rows[s] ? a.rows[s][a.rowCustomClassKey] : "", {
|
|
81
|
+
list: w,
|
|
82
|
+
containerProps: G,
|
|
83
|
+
wrapperProps: Z,
|
|
84
|
+
activeRow: H,
|
|
85
|
+
gridColumnTemplate: z,
|
|
86
|
+
toggleSortOrder: _,
|
|
87
|
+
columnsStickyPositions: E,
|
|
88
|
+
hasSearchSlot: ee,
|
|
89
|
+
containerStyle: te,
|
|
87
90
|
onScroll: K,
|
|
88
91
|
savingRows: U,
|
|
89
92
|
hasExpandSlot: B,
|
|
90
|
-
toggleExpandRow:
|
|
91
|
-
cssExpandGridCol:
|
|
92
|
-
isRowExpanded:
|
|
93
|
-
hasCheckboxes:
|
|
94
|
-
activeMenuRow:
|
|
95
|
-
scrollTo:
|
|
96
|
-
} =
|
|
97
|
-
() => a.title ||
|
|
98
|
-
),
|
|
93
|
+
toggleExpandRow: se,
|
|
94
|
+
cssExpandGridCol: le,
|
|
95
|
+
isRowExpanded: D,
|
|
96
|
+
hasCheckboxes: M,
|
|
97
|
+
activeMenuRow: ae,
|
|
98
|
+
scrollTo: ie
|
|
99
|
+
} = we(a, S), W = u(() => !!b.footer), oe = u(
|
|
100
|
+
() => a.title || b.title || ee.value || b["table-header-actions"] || b["table-header-pre-search"]
|
|
101
|
+
), v = u({
|
|
99
102
|
get: () => a.search,
|
|
100
|
-
set: (s) =>
|
|
101
|
-
}),
|
|
103
|
+
set: (s) => S("update:search", s)
|
|
104
|
+
}), de = u(() => a.selection.length || 0), F = u(() => {
|
|
102
105
|
const s = a.rows.map((o, e) => a.getRowId(o, e));
|
|
103
|
-
return !!s.length && s.every((o) =>
|
|
104
|
-
}),
|
|
105
|
-
|
|
106
|
+
return !!s.length && s.every((o) => A(o));
|
|
107
|
+
}), A = (s) => a.selection.findIndex((o) => a.selectedMatcher(s, o)) !== -1, ne = (s) => {
|
|
108
|
+
A(s) ? (I(
|
|
106
109
|
a.selection.filter(
|
|
107
110
|
(o) => !a.selectedMatcher(s, o)
|
|
108
111
|
)
|
|
109
|
-
),
|
|
110
|
-
},
|
|
111
|
-
if (
|
|
112
|
-
|
|
112
|
+
), S("selectRow", !1)) : (I([...a.selection, s]), S("selectRow", !0));
|
|
113
|
+
}, re = () => {
|
|
114
|
+
if (F.value)
|
|
115
|
+
I([]), S("selectAll", !1);
|
|
113
116
|
else {
|
|
114
|
-
const s = a.rows.map((o, e) => a.getRowId(o, e)).filter((o) => !
|
|
115
|
-
|
|
117
|
+
const s = a.rows.map((o, e) => a.getRowId(o, e)).filter((o) => !A(o));
|
|
118
|
+
I([...a.selection, ...s]), S("selectAll", !0);
|
|
116
119
|
}
|
|
117
|
-
},
|
|
118
|
-
|
|
119
|
-
},
|
|
120
|
-
() => a.emptyStateVariant ?? (
|
|
121
|
-
),
|
|
122
|
-
() => a.emptyStateSubtitle ? a.emptyStateSubtitle :
|
|
123
|
-
),
|
|
120
|
+
}, I = (s) => {
|
|
121
|
+
S("update:selection", s);
|
|
122
|
+
}, ce = (s) => !a.isLoading && H.value === s, ue = u(
|
|
123
|
+
() => a.emptyStateVariant ?? (v.value ? "no-results" : "no-data")
|
|
124
|
+
), he = u(
|
|
125
|
+
() => a.emptyStateSubtitle ? a.emptyStateSubtitle : v.value ? "Search again with different filters" : void 0
|
|
126
|
+
), N = u(() => ({
|
|
124
127
|
class: {
|
|
125
128
|
sticky: a.isSelectionSticky,
|
|
126
129
|
bordered: a.isSelectionBordered
|
|
127
130
|
},
|
|
128
|
-
style: a.isSelectionSticky ?
|
|
129
|
-
})),
|
|
131
|
+
style: a.isSelectionSticky ? E.value[Ie] : null
|
|
132
|
+
})), ye = (s) => ({
|
|
130
133
|
sticky: s.isSticky,
|
|
131
134
|
isStickyRight: s.isStickyRight,
|
|
132
135
|
bordered: s.isBordered,
|
|
133
136
|
isTextRight: s.isTextRight
|
|
134
|
-
}),
|
|
135
|
-
() => a.columns.map((s) =>
|
|
136
|
-
),
|
|
137
|
+
}), Y = u(
|
|
138
|
+
() => a.columns.map((s) => ye(s))
|
|
139
|
+
), fe = (s) => ({
|
|
137
140
|
minHeight: (typeof a.rowHeight == "function" ? a.rowHeight(s) : a.rowHeight) + "px"
|
|
138
|
-
}), P =
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
search: t(p),
|
|
159
|
-
"onUpdate:search": o[0] || (o[0] = (e) => Se(p) ? p.value = e : null),
|
|
160
|
-
title: l.title,
|
|
161
|
-
"is-sticky": l.isStickyHeader,
|
|
162
|
-
"show-search": l.showSearch,
|
|
163
|
-
"search-placeholder": l.searchPlaceholder,
|
|
164
|
-
"search-auto-focus": l.searchAutoFocus,
|
|
165
|
-
"z-index-base": l.zIndexBase,
|
|
166
|
-
"test-id": l.testId,
|
|
167
|
-
onOnClearSearch: o[1] || (o[1] = (e) => f("onClearSearch"))
|
|
168
|
-
}, ke({
|
|
169
|
-
title: S(() => [
|
|
170
|
-
r(s.$slots, "title")
|
|
171
|
-
]),
|
|
172
|
-
search: S(() => [
|
|
173
|
-
r(s.$slots, "search")
|
|
174
|
-
]),
|
|
175
|
-
_: 2
|
|
176
|
-
}, [
|
|
177
|
-
t(v)["table-header-pre-search"] ? {
|
|
178
|
-
name: "table-header-pre-search",
|
|
179
|
-
fn: S(() => [
|
|
180
|
-
r(s.$slots, "table-header-pre-search")
|
|
181
|
-
]),
|
|
182
|
-
key: "0"
|
|
183
|
-
} : void 0,
|
|
184
|
-
t(v)["table-header-actions"] ? {
|
|
185
|
-
name: "table-header-actions",
|
|
186
|
-
fn: S(() => [
|
|
187
|
-
r(s.$slots, "table-header-actions")
|
|
188
|
-
]),
|
|
189
|
-
key: "1"
|
|
190
|
-
} : void 0
|
|
191
|
-
]), 1032, ["search", "title", "is-sticky", "show-search", "search-placeholder", "search-auto-focus", "z-index-base", "test-id"])) : c("", !0),
|
|
192
|
-
m("thead", {
|
|
193
|
-
class: y({ sticky: l.isSticky, isStickyHeader: l.isStickyHeader })
|
|
194
|
-
}, [
|
|
195
|
-
m("div", {
|
|
196
|
-
class: "sections",
|
|
197
|
-
"data-testid": `${l.testId}-${t($).SECTIONS}`
|
|
141
|
+
}), P = u(() => w.value.reduce((s, o) => (s[o.index] = fe(o.index), s), {})), { height: Se } = Pe(G.ref), ke = u(() => `${j}px`), ge = u(
|
|
142
|
+
() => Se.value - q - j
|
|
143
|
+
);
|
|
144
|
+
return p({
|
|
145
|
+
scrollTo: ie
|
|
146
|
+
}), (s, o) => (i(), C(Te, null, Q({
|
|
147
|
+
default: h(() => [
|
|
148
|
+
m("div", $({ class: "table-container" }, s.$attrs, {
|
|
149
|
+
"data-testid": `${l.testId}-${t(T).CONTAINER}`,
|
|
150
|
+
onMouseleave: o[3] || (o[3] = (e) => H.value = null)
|
|
151
|
+
}), [
|
|
152
|
+
m("table", {
|
|
153
|
+
ref: t(G).ref,
|
|
154
|
+
style: k(t(te)),
|
|
155
|
+
class: f({
|
|
156
|
+
hasFooter: t(W)
|
|
157
|
+
}),
|
|
158
|
+
"data-testid": `${l.testId}-${t(T).TABLE}`,
|
|
159
|
+
onScrollPassive: o[2] || (o[2] = //@ts-ignore
|
|
160
|
+
(...e) => t(K) && t(K)(...e))
|
|
198
161
|
}, [
|
|
199
|
-
(
|
|
200
|
-
key: e.id,
|
|
201
|
-
class: y(["section-container", { sticky: e.isSticky }])
|
|
202
|
-
}, [
|
|
203
|
-
r(s.$slots, `section-${e.id}`, {}, () => [
|
|
204
|
-
m("div", {
|
|
205
|
-
style: b({ width: e.width + "px" }),
|
|
206
|
-
class: y({ section: !0 })
|
|
207
|
-
}, [
|
|
208
|
-
k(t(M), { variant: "body2" }, {
|
|
209
|
-
default: S(() => [
|
|
210
|
-
V(z(e.title), 1)
|
|
211
|
-
]),
|
|
212
|
-
_: 2
|
|
213
|
-
}, 1024)
|
|
214
|
-
], 4)
|
|
215
|
-
])
|
|
216
|
-
], 2))), 128))
|
|
217
|
-
], 8, He),
|
|
218
|
-
m("tr", null, [
|
|
219
|
-
t(F) ? (i(), d("th", I({
|
|
162
|
+
t(oe) ? (i(), C(t(Re), {
|
|
220
163
|
key: 0,
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
])
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
}),
|
|
240
|
-
style: b(e.isSticky ? t(w)[e.id] : null),
|
|
241
|
-
onClick: (n) => e.isSortable ? t(q)(e) : null
|
|
164
|
+
search: t(v),
|
|
165
|
+
"onUpdate:search": o[0] || (o[0] = (e) => ve(v) ? v.value = e : null),
|
|
166
|
+
title: l.title,
|
|
167
|
+
"is-sticky": l.isStickyHeader,
|
|
168
|
+
"show-search": l.showSearch,
|
|
169
|
+
"search-placeholder": l.searchPlaceholder,
|
|
170
|
+
"search-auto-focus": l.searchAutoFocus,
|
|
171
|
+
"z-index-base": l.zIndexBase,
|
|
172
|
+
"test-id": l.testId,
|
|
173
|
+
onOnClearSearch: o[1] || (o[1] = (e) => S("onClearSearch"))
|
|
174
|
+
}, Q({
|
|
175
|
+
title: h(() => [
|
|
176
|
+
n(s.$slots, "title")
|
|
177
|
+
]),
|
|
178
|
+
search: h(() => [
|
|
179
|
+
n(s.$slots, "search")
|
|
180
|
+
]),
|
|
181
|
+
_: 2
|
|
242
182
|
}, [
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
disabled: !e.helpText || l.helpTooltipVariant === "icon",
|
|
248
|
-
placement: e.helpTextPlacement || "top",
|
|
249
|
-
"test-id": `help-tooltip-underlined-${e.id}`
|
|
250
|
-
}, {
|
|
251
|
-
default: S(() => [
|
|
252
|
-
k(t(M), {
|
|
253
|
-
variant: "tableLabel",
|
|
254
|
-
class: y({
|
|
255
|
-
underlined: e.helpText && l.helpTooltipVariant === "underline"
|
|
256
|
-
})
|
|
257
|
-
}, {
|
|
258
|
-
default: S(() => [
|
|
259
|
-
V(z(e.title), 1)
|
|
260
|
-
]),
|
|
261
|
-
_: 2
|
|
262
|
-
}, 1032, ["class"])
|
|
263
|
-
]),
|
|
264
|
-
_: 2
|
|
265
|
-
}, 1032, ["text", "disabled", "placement", "test-id"])
|
|
183
|
+
t(b)["table-header-pre-search"] ? {
|
|
184
|
+
name: "table-header-pre-search",
|
|
185
|
+
fn: h(() => [
|
|
186
|
+
n(s.$slots, "table-header-pre-search")
|
|
266
187
|
]),
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
], 14, Pe))), 128))
|
|
280
|
-
]),
|
|
281
|
-
l.showTotalsRow && t(R).length > 0 ? (i(), d("tr", Ve, [
|
|
282
|
-
t(F) ? (i(), d("td", I({
|
|
283
|
-
key: 0,
|
|
284
|
-
class: "bg"
|
|
285
|
-
}, t(O)), null, 16)) : c("", !0),
|
|
286
|
-
(i(!0), d(C, null, x(l.columns, (e, u) => (i(), d("td", {
|
|
287
|
-
key: e.id,
|
|
288
|
-
class: y({
|
|
289
|
-
...t(W)[u],
|
|
290
|
-
[`total-${e.id}`]: !0
|
|
291
|
-
}),
|
|
292
|
-
style: b(e.isSticky ? t(w)[e.id] : null)
|
|
293
|
-
}, [
|
|
294
|
-
r(s.$slots, `total-${e.id}`, { column: e }, () => [
|
|
295
|
-
u === 0 ? (i(), L(t(M), {
|
|
296
|
-
key: 0,
|
|
297
|
-
variant: "h6"
|
|
298
|
-
}, {
|
|
299
|
-
default: S(() => [
|
|
300
|
-
V("Totals")
|
|
301
|
-
]),
|
|
302
|
-
_: 1
|
|
303
|
-
})) : c("", !0)
|
|
304
|
-
])
|
|
305
|
-
], 6))), 128))
|
|
306
|
-
])) : c("", !0)
|
|
307
|
-
], 2),
|
|
308
|
-
m("tbody", null, [
|
|
309
|
-
t(R).length > 0 ? (i(), d("div", I({
|
|
310
|
-
key: 0,
|
|
311
|
-
class: "table-body-wrapper",
|
|
312
|
-
"data-testid": `${l.testId}-${t($).BODY_WRAPPER}`
|
|
313
|
-
}, t(j)), [
|
|
314
|
-
(i(!0), d(C, null, x(t(R), (e) => (i(), d("tr", {
|
|
315
|
-
key: l.getRowKey(e.data, e.index),
|
|
316
|
-
class: y(["table-row", {
|
|
317
|
-
loading: l.isLoading || l.isLoading && !e.data || t(U).includes(e.index),
|
|
318
|
-
active: t(T) === e.index,
|
|
319
|
-
activeMenu: t(te) === e.index,
|
|
320
|
-
expanded: t(B) && t(A)(e.index),
|
|
321
|
-
[Q(e.index)]: !0
|
|
322
|
-
}]),
|
|
323
|
-
style: b(t(P)[e.index]),
|
|
324
|
-
onMouseenter: (u) => T.value = e.index,
|
|
325
|
-
onClick: (u) => f("clickRow", e.index)
|
|
188
|
+
key: "0"
|
|
189
|
+
} : void 0,
|
|
190
|
+
t(b)["table-header-actions"] ? {
|
|
191
|
+
name: "table-header-actions",
|
|
192
|
+
fn: h(() => [
|
|
193
|
+
n(s.$slots, "table-header-actions")
|
|
194
|
+
]),
|
|
195
|
+
key: "1"
|
|
196
|
+
} : void 0
|
|
197
|
+
]), 1032, ["search", "title", "is-sticky", "show-search", "search-placeholder", "search-auto-focus", "z-index-base", "test-id"])) : c("", !0),
|
|
198
|
+
m("thead", {
|
|
199
|
+
class: f({ sticky: l.isSticky, isStickyHeader: l.isStickyHeader })
|
|
326
200
|
}, [
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
}, t(O), {
|
|
331
|
-
style: t(P)[e.index]
|
|
332
|
-
}), [
|
|
333
|
-
k(t(Y), {
|
|
334
|
-
"is-checked": H(l.getRowId(e.data, e.index)),
|
|
335
|
-
"onUpdate:isChecked": (u) => ie(l.getRowId(e.data, e.index))
|
|
336
|
-
}, null, 8, ["is-checked", "onUpdate:isChecked"])
|
|
337
|
-
], 16)) : c("", !0),
|
|
338
|
-
t(B) ? (i(), d("td", {
|
|
339
|
-
key: 1,
|
|
340
|
-
class: "expand-toggle-cell",
|
|
341
|
-
style: b(t(P)[e.index])
|
|
201
|
+
m("div", {
|
|
202
|
+
class: "sections",
|
|
203
|
+
"data-testid": `${l.testId}-${t(T).SECTIONS}`
|
|
342
204
|
}, [
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
},
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
])
|
|
205
|
+
(i(!0), d(x, null, R(l.sections, (e) => (i(), d("div", {
|
|
206
|
+
key: e.id,
|
|
207
|
+
class: f(["section-container", { sticky: e.isSticky }])
|
|
208
|
+
}, [
|
|
209
|
+
n(s.$slots, `section-${e.id}`, {}, () => [
|
|
210
|
+
m("div", {
|
|
211
|
+
style: k({ width: e.width + "px" }),
|
|
212
|
+
class: f({ section: !0 })
|
|
213
|
+
}, [
|
|
214
|
+
g(t(V), { variant: "body2" }, {
|
|
215
|
+
default: h(() => [
|
|
216
|
+
L(O(e.title), 1)
|
|
217
|
+
]),
|
|
218
|
+
_: 2
|
|
219
|
+
}, 1024)
|
|
220
|
+
], 4)
|
|
221
|
+
])
|
|
222
|
+
], 2))), 128))
|
|
223
|
+
], 8, De),
|
|
224
|
+
m("tr", {
|
|
225
|
+
style: k({ height: `${t(q)}px` })
|
|
361
226
|
}, [
|
|
362
|
-
|
|
227
|
+
t(M) ? (i(), d("th", $({
|
|
228
|
+
key: 0,
|
|
229
|
+
class: "checkbox-cell"
|
|
230
|
+
}, t(N)), [
|
|
231
|
+
n(s.$slots, "select-all-checkbox", {}, () => [
|
|
232
|
+
g(t(X), {
|
|
233
|
+
disabled: l.isLoading,
|
|
234
|
+
"is-checked": t(F),
|
|
235
|
+
"is-indeterminate": !t(F) && t(de) > 0,
|
|
236
|
+
"onUpdate:isChecked": re
|
|
237
|
+
}, null, 8, ["disabled", "is-checked", "is-indeterminate"])
|
|
238
|
+
])
|
|
239
|
+
], 16)) : c("", !0),
|
|
240
|
+
t(B) ? (i(), d("th", Me)) : c("", !0),
|
|
241
|
+
(i(!0), d(x, null, R(l.columns, (e, y) => (i(), d("th", {
|
|
242
|
+
key: e.id,
|
|
243
|
+
class: f({
|
|
244
|
+
...t(Y)[y],
|
|
245
|
+
isSortable: e.isSortable,
|
|
246
|
+
[`column-${e.id}`]: !0
|
|
247
|
+
}),
|
|
248
|
+
style: k(
|
|
249
|
+
e.isSticky ? t(E)[e.id] : null
|
|
250
|
+
),
|
|
251
|
+
onClick: (r) => e.isSortable ? t(_)(e) : null
|
|
252
|
+
}, [
|
|
253
|
+
m("div", Ne, [
|
|
254
|
+
n(s.$slots, `header-${e.id}`, { column: e }, () => [
|
|
255
|
+
g(t(xe), {
|
|
256
|
+
text: e.helpText,
|
|
257
|
+
disabled: !e.helpText || l.helpTooltipVariant === "icon",
|
|
258
|
+
placement: e.helpTextPlacement || "top",
|
|
259
|
+
"test-id": `help-tooltip-underlined-${e.id}`
|
|
260
|
+
}, {
|
|
261
|
+
default: h(() => [
|
|
262
|
+
g(t(V), {
|
|
263
|
+
variant: "tableLabel",
|
|
264
|
+
class: f({
|
|
265
|
+
underlined: e.helpText && l.helpTooltipVariant === "underline"
|
|
266
|
+
})
|
|
267
|
+
}, {
|
|
268
|
+
default: h(() => [
|
|
269
|
+
L(O(e.title), 1)
|
|
270
|
+
]),
|
|
271
|
+
_: 2
|
|
272
|
+
}, 1032, ["class"])
|
|
273
|
+
]),
|
|
274
|
+
_: 2
|
|
275
|
+
}, 1032, ["text", "disabled", "placement", "test-id"])
|
|
276
|
+
]),
|
|
277
|
+
e.helpText && l.helpTooltipVariant === "icon" ? (i(), C(Ee, {
|
|
278
|
+
key: 0,
|
|
279
|
+
"hover-help-text": e.helpText,
|
|
280
|
+
"hover-help-text-placement": e.helpTextPlacement,
|
|
281
|
+
"test-id": `help-tooltip-${e.id}`
|
|
282
|
+
}, null, 8, ["hover-help-text", "hover-help-text-placement", "test-id"])) : c("", !0),
|
|
283
|
+
n(s.$slots, `after-header-${e.id}`, { column: e }),
|
|
284
|
+
e.isSortable && e.id === l.sort?.sortBy ? (i(), C(He, {
|
|
285
|
+
key: 1,
|
|
286
|
+
"sort-order": l.sort.sortOrder
|
|
287
|
+
}, null, 8, ["sort-order"])) : c("", !0)
|
|
288
|
+
])
|
|
289
|
+
], 14, Fe))), 128))
|
|
290
|
+
], 4),
|
|
291
|
+
l.showTotalsRow && t(w).length > 0 ? (i(), d("tr", Oe, [
|
|
292
|
+
t(M) ? (i(), d("td", $({
|
|
363
293
|
key: 0,
|
|
364
|
-
class:
|
|
294
|
+
class: "bg"
|
|
295
|
+
}, t(N)), null, 16)) : c("", !0),
|
|
296
|
+
(i(!0), d(x, null, R(l.columns, (e, y) => (i(), d("td", {
|
|
297
|
+
key: e.id,
|
|
298
|
+
class: f({
|
|
299
|
+
...t(Y)[y],
|
|
300
|
+
[`total-${e.id}`]: !0
|
|
301
|
+
}),
|
|
302
|
+
style: k(
|
|
303
|
+
e.isSticky ? t(E)[e.id] : null
|
|
304
|
+
)
|
|
365
305
|
}, [
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
k(t(M), { variant: "body1" }, {
|
|
374
|
-
default: S(() => [
|
|
375
|
-
V(z(e.data[n]), 1)
|
|
306
|
+
n(s.$slots, `total-${e.id}`, { column: e }, () => [
|
|
307
|
+
y === 0 ? (i(), C(t(V), {
|
|
308
|
+
key: 0,
|
|
309
|
+
variant: "h6"
|
|
310
|
+
}, {
|
|
311
|
+
default: h(() => [
|
|
312
|
+
L("Totals")
|
|
376
313
|
]),
|
|
377
|
-
_:
|
|
378
|
-
},
|
|
314
|
+
_: 1
|
|
315
|
+
})) : c("", !0)
|
|
379
316
|
])
|
|
380
|
-
],
|
|
381
|
-
k(t(ge), { round: "" })
|
|
382
|
-
])
|
|
383
|
-
], 6))), 128)),
|
|
384
|
-
t(B) && t(A)(e.index) ? (i(), d("div", Ae, [
|
|
385
|
-
r(s.$slots, "expanded", {
|
|
386
|
-
row: e,
|
|
387
|
-
gridColumnTemplate: t(D)
|
|
388
|
-
})
|
|
389
|
-
])) : c("", !0),
|
|
390
|
-
de(e.index) ? (i(), d("div", Fe, [
|
|
391
|
-
r(s.$slots, "floating-row", {
|
|
392
|
-
row: e,
|
|
393
|
-
rowIndex: e.index
|
|
394
|
-
})
|
|
317
|
+
], 6))), 128))
|
|
395
318
|
])) : c("", !0)
|
|
396
|
-
],
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
class: "
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
319
|
+
], 2),
|
|
320
|
+
m("tbody", null, [
|
|
321
|
+
t(w).length > 0 ? (i(), d("div", $({
|
|
322
|
+
key: 0,
|
|
323
|
+
class: "table-body-wrapper",
|
|
324
|
+
"data-testid": `${l.testId}-${t(T).BODY_WRAPPER}`
|
|
325
|
+
}, t(Z)), [
|
|
326
|
+
(i(!0), d(x, null, R(t(w), (e) => (i(), d("tr", {
|
|
327
|
+
key: l.getRowKey(e.data, e.index),
|
|
328
|
+
class: f(["table-row", {
|
|
329
|
+
loading: l.isLoading || l.isLoading && !e.data || t(U).includes(e.index),
|
|
330
|
+
active: t(H) === e.index,
|
|
331
|
+
activeMenu: t(ae) === e.index,
|
|
332
|
+
expanded: t(B) && t(D)(e.index),
|
|
333
|
+
[J(e.index)]: !0
|
|
334
|
+
}]),
|
|
335
|
+
style: k(t(P)[e.index]),
|
|
336
|
+
onMouseenter: (y) => H.value = e.index,
|
|
337
|
+
onClick: (y) => S("clickRow", e.index)
|
|
338
|
+
}, [
|
|
339
|
+
t(M) ? (i(), d("td", $({
|
|
340
|
+
key: 0,
|
|
341
|
+
class: "checkbox-cell"
|
|
342
|
+
}, t(N), {
|
|
343
|
+
style: t(P)[e.index]
|
|
344
|
+
}), [
|
|
345
|
+
g(t(X), {
|
|
346
|
+
"is-checked": A(l.getRowId(e.data, e.index)),
|
|
347
|
+
"onUpdate:isChecked": (y) => ne(l.getRowId(e.data, e.index))
|
|
348
|
+
}, null, 8, ["is-checked", "onUpdate:isChecked"])
|
|
349
|
+
], 16)) : c("", !0),
|
|
350
|
+
t(B) ? (i(), d("td", {
|
|
351
|
+
key: 1,
|
|
352
|
+
class: "expand-toggle-cell",
|
|
353
|
+
style: k(t(P)[e.index])
|
|
354
|
+
}, [
|
|
355
|
+
g(Be, {
|
|
356
|
+
expanded: t(D)(e.index),
|
|
357
|
+
onClick: (y) => t(se)(e.index, y)
|
|
358
|
+
}, null, 8, ["expanded", "onClick"])
|
|
359
|
+
], 4)) : c("", !0),
|
|
360
|
+
(i(!0), d(x, null, R(l.columns, (y, r) => (i(), d("td", {
|
|
361
|
+
key: r,
|
|
362
|
+
class: f({
|
|
363
|
+
sticky: l.columns[r].isSticky,
|
|
364
|
+
isStickyRight: l.columns[r].isStickyRight,
|
|
365
|
+
bordered: l.columns[r].isBordered,
|
|
366
|
+
isTextRight: l.columns[r].isTextRight,
|
|
367
|
+
[`column-${l.columns[r].id}`]: !0
|
|
368
|
+
}),
|
|
369
|
+
style: k([
|
|
370
|
+
l.columns[r].isSticky ? t(E)[l.columns[r].id] : null,
|
|
371
|
+
t(P)[e.index]
|
|
372
|
+
])
|
|
373
|
+
}, [
|
|
374
|
+
!l.isLoading || l.isLoading && e.data[r] ? (i(), d("div", {
|
|
375
|
+
key: 0,
|
|
376
|
+
class: f(["table-cell", { last: r === e.data.length - 1 }])
|
|
377
|
+
}, [
|
|
378
|
+
n(s.$slots, `cell-${l.columns[r].id}`, {
|
|
379
|
+
cell: e.data[r],
|
|
380
|
+
isLoading: t(U).includes(e.index),
|
|
381
|
+
cellIndex: r,
|
|
382
|
+
row: e,
|
|
383
|
+
rowIndex: e.index
|
|
384
|
+
}, () => [
|
|
385
|
+
g(t(V), { variant: "body1" }, {
|
|
386
|
+
default: h(() => [
|
|
387
|
+
L(O(e.data[r]), 1)
|
|
388
|
+
]),
|
|
389
|
+
_: 2
|
|
390
|
+
}, 1024)
|
|
391
|
+
])
|
|
392
|
+
], 2)) : n(s.$slots, "loader", { key: 1 }, () => [
|
|
393
|
+
g(t(Ce), { round: "" })
|
|
394
|
+
])
|
|
395
|
+
], 6))), 128)),
|
|
396
|
+
t(B) && t(D)(e.index) ? (i(), d("div", Ke, [
|
|
397
|
+
n(s.$slots, "expanded", {
|
|
398
|
+
row: e,
|
|
399
|
+
gridColumnTemplate: t(z)
|
|
400
|
+
})
|
|
401
|
+
])) : c("", !0),
|
|
402
|
+
ce(e.index) ? (i(), d("div", Ue, [
|
|
403
|
+
n(s.$slots, "floating-row", {
|
|
404
|
+
row: e,
|
|
405
|
+
rowIndex: e.index
|
|
406
|
+
})
|
|
407
|
+
])) : c("", !0)
|
|
408
|
+
], 46, ze))), 128))
|
|
409
|
+
], 16, Ge)) : (i(), d("div", {
|
|
410
|
+
key: 1,
|
|
411
|
+
class: "empty-state-container",
|
|
412
|
+
style: k({ height: `${t(ge)}px` })
|
|
413
|
+
}, [
|
|
414
|
+
n(s.$slots, "empty-state", {}, () => [
|
|
415
|
+
g(t($e), {
|
|
416
|
+
class: "empty-state",
|
|
417
|
+
title: l.emptyStateTitle,
|
|
418
|
+
subtitle: t(he),
|
|
419
|
+
variant: t(ue),
|
|
420
|
+
"icon-name": "file-search",
|
|
421
|
+
"test-id": `${l.testId}-${t(T).EMPTY_STATE}`
|
|
422
|
+
}, null, 8, ["title", "subtitle", "variant", "test-id"])
|
|
423
|
+
])
|
|
424
|
+
], 4))
|
|
407
425
|
])
|
|
408
|
-
])
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
])
|
|
414
|
-
|
|
426
|
+
], 46, Ve),
|
|
427
|
+
t(W) ? (i(), d("div", We, [
|
|
428
|
+
n(s.$slots, "footer")
|
|
429
|
+
])) : c("", !0)
|
|
430
|
+
], 16, Le)
|
|
431
|
+
]),
|
|
432
|
+
_: 2
|
|
433
|
+
}, [
|
|
434
|
+
t(b)["side-panel"] ? {
|
|
435
|
+
name: "side-panel",
|
|
436
|
+
fn: h(() => [
|
|
437
|
+
n(s.$slots, "side-panel")
|
|
438
|
+
]),
|
|
439
|
+
key: "0"
|
|
440
|
+
} : void 0
|
|
441
|
+
]), 1024));
|
|
415
442
|
}
|
|
416
443
|
});
|
|
417
444
|
export {
|
|
418
|
-
|
|
445
|
+
ut as default
|
|
419
446
|
};
|