@ironsource/shared-ui 2.1.12-rc.3 → 2.1.12-rc.30
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/ButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_adb49e50_lang.css +1 -0
- package/ButtonFilterDropdownTrigger.vue_vue_type_style_index_0_scoped_0198fee8_lang.css +1 -0
- package/ButtonV4.vue_vue_type_style_index_0_scoped_852be7ec_lang.css +1 -0
- package/Chart.vue_vue_type_style_index_0_scoped_fa533a3d_lang.css +1 -0
- package/ChartHeader.vue_vue_type_style_index_0_scoped_af520313_lang.css +1 -0
- package/ChartHeaderTrend.vue_vue_type_style_index_0_scoped_db8a902c_lang.css +1 -0
- package/ChartLegend.vue_vue_type_style_index_0_scoped_6103d8bd_lang.css +1 -0
- package/ChartPlane.vue_vue_type_style_index_0_scoped_4f67d41d_lang.css +1 -0
- package/ChartTooltip.vue_vue_type_style_index_0_scoped_3315b68f_lang.css +1 -0
- package/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_38354f10_lang.css +1 -0
- package/ConditionalDropdown.vue_vue_type_style_index_0_scoped_f5204c04_lang.css +1 -0
- package/DataGrid.vue_vue_type_style_index_0_scoped_8e8df067_lang.css +1 -0
- package/DateRangeV4.vue_vue_type_style_index_0_scoped_a849128a_lang.css +1 -0
- package/DialogV4.vue_vue_type_style_index_0_scoped_eb226e31_lang.css +1 -0
- package/DropdownV4.vue_vue_type_style_index_0_scoped_55dd36a7_lang.css +1 -0
- package/FieldLabel.vue_vue_type_style_index_0_scoped_921d4087_lang.css +1 -0
- package/FormRow.vue_vue_type_style_index_0_scoped_2d5a3057_lang.css +1 -0
- package/IconButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_99e51ecc_lang.css +1 -0
- package/Link.vue_vue_type_style_index_0_scoped_ad98fe7b_lang.css +1 -0
- package/OptionV4.vue_vue_type_style_index_0_scoped_0287cebf_lang.css +1 -0
- package/SettingsHeader.vue_vue_type_style_index_0_scoped_01f78cd7_lang.css +1 -0
- package/SubHeader.vue_vue_type_style_index_0_scoped_e6008b6c_lang.css +1 -0
- package/SwitchV4.vue_vue_type_style_index_0_scoped_cd6621a7_lang.css +1 -0
- package/ToggleButtonGroupAB.vue_vue_type_style_index_0_scoped_2076b5ab_lang.css +1 -0
- package/Tooltip.vue_vue_type_style_index_0_scoped_20630944_lang.css +1 -0
- package/TooltipHeader.vue_vue_type_style_index_0_scoped_3b15c693_lang.css +1 -0
- package/TooltipV4.vue_vue_type_style_index_0_scoped_bcb40ed4_lang.css +1 -0
- package/TreeDropdown.vue_vue_type_style_index_0_scoped_4ba9e4bd_lang.css +1 -0
- package/components/appIcon/index.d.ts +3 -3
- package/components/banner/Banner.vue.d.ts +3 -3
- package/components/banner/index.d.ts +7 -7
- package/components/button/common/consts.d.ts +1 -0
- package/components/button/v3/Button.vue.d.ts +3 -3
- package/components/button/v3/ButtonBase.vue.d.ts +3 -3
- package/components/button/v3/IconButton.vue.d.ts +3 -3
- package/components/button/v3/index.d.ts +14 -14
- package/components/button/v4/ButtonV4.vue.d.ts +5 -3
- package/components/button/v4/ButtonV4.vue.js +4 -4
- package/components/button/v4/ButtonV4.vue2.js +28 -27
- package/components/button/v4/ToggleButtonGroupAB.vue.js +3 -3
- package/components/button/v4/ToggleButtonGroupAB.vue2.js +40 -44
- package/components/chart/Chart.vue.d.ts +158 -37
- package/components/chart/Chart.vue.js +2 -2
- package/components/chart/Chart.vue2.js +150 -297
- package/components/chart/ChartHeader.vue.d.ts +50 -11
- package/components/chart/ChartHeader.vue.js +3 -3
- package/components/chart/ChartHeader.vue2.js +73 -54
- package/components/chart/ChartHeaderTrend.vue.d.ts +48 -0
- package/components/chart/ChartHeaderTrend.vue.js +7 -0
- package/components/chart/ChartHeaderTrend.vue2.js +96 -0
- package/components/chart/ChartLegend.vue.d.ts +24 -0
- package/components/chart/ChartLegend.vue.js +3 -3
- package/components/chart/ChartLegend.vue2.js +82 -63
- package/components/chart/ChartPlane.vue.d.ts +226 -0
- package/components/chart/ChartPlane.vue.js +7 -0
- package/components/chart/ChartPlane.vue2.js +370 -0
- package/components/chart/ChartStoryArgs.d.ts +184 -0
- package/components/chart/ChartTooltip.vue.d.ts +22 -2
- package/components/chart/ChartTooltip.vue.js +2 -2
- package/components/chart/ChartTooltip.vue2.js +50 -55
- package/components/chart/LegendSorting.vue.d.ts +37 -0
- package/components/chart/LegendSorting.vue.js +45 -0
- package/components/chart/LegendSorting.vue2.js +4 -0
- package/components/chart/SettingsHeader.vue.d.ts +1 -0
- package/components/chart/SettingsHeader.vue.js +3 -3
- package/components/chart/SettingsHeader.vue2.js +17 -16
- package/components/chart/SubHeader.vue.d.ts +52 -0
- package/components/chart/SubHeader.vue.js +7 -0
- package/components/chart/SubHeader.vue2.js +61 -0
- package/components/chart/TooltipHeader.vue.d.ts +50 -0
- package/components/chart/TooltipHeader.vue.js +7 -0
- package/components/chart/TooltipHeader.vue2.js +69 -0
- package/components/chart/colorPalette.d.ts +5 -0
- package/components/chart/colorPalette.js +68 -0
- package/components/chart/composables/useChartHeight.d.ts +5 -0
- package/components/chart/composables/useChartHeight.js +24 -0
- package/components/chart/composables/useColorsMap.d.ts +12 -0
- package/components/chart/composables/useColorsMap.js +48 -0
- package/components/chart/composables/useTooltipPosition.d.ts +1 -1
- package/components/chart/composables/useTooltipPosition.js +11 -15
- package/components/chart/consts.d.ts +29 -7
- package/components/chart/consts.js +41 -21
- package/components/chart/index.d.ts +554 -119
- package/components/chart/mockData.d.ts +44 -5
- package/components/chart/types.d.ts +38 -6
- package/components/chart/types.js +5 -2
- package/components/chart/utils/formatNumber.d.ts +0 -1
- package/components/chart/utils/highlightUtils.d.ts +3 -0
- package/components/chart/utils/highlightUtils.js +18 -0
- package/components/chart/utils/utils.d.ts +3 -3
- package/components/chart/utils/utils.js +19 -10
- package/components/checkbox/v3/Checkbox.vue.d.ts +3 -3
- package/components/checkbox/v3/index.d.ts +7 -7
- package/components/dateRange/common/DateRange.common.js +81 -75
- package/components/dateRange/common/DateServices.common.d.ts +7 -1
- package/components/dateRange/common/DateServices.common.js +88 -92
- package/components/dateRange/common/consts.common.d.ts +5 -0
- package/components/dateRange/common/consts.common.js +9 -3
- package/components/dateRange/v3/DateRange.vue.d.ts +3 -3
- package/components/dateRange/v3/DateRangePicker.vue.d.ts +3 -3
- package/components/dateRange/v3/index.d.ts +7 -7
- package/components/dateRange/v4/DateRangePickerV4.vue.d.ts +3 -3
- package/components/dateRange/v4/DateRangeV4.vue.d.ts +3 -3
- package/components/dateRange/v4/DateRangeV4.vue.js +2 -2
- package/components/dateRange/v4/DateRangeV4.vue2.js +1 -1
- package/components/dateRange/v4/index.d.ts +7 -7
- package/components/dialog/v4/DialogV4.vue.d.ts +4 -3
- package/components/dialog/v4/DialogV4.vue.js +4 -4
- package/components/dialog/v4/DialogV4.vue2.js +1 -1
- package/components/dialog/v4/index.d.ts +7 -7
- package/components/dropdown/common/Dropdown.common.d.ts +1 -0
- package/components/dropdown/common/Dropdown.common.js +172 -160
- package/components/dropdown/v3/Dropdown.vue.d.ts +1 -1
- package/components/dropdown/v3/index.d.ts +20 -20
- package/components/dropdown/v4/ButtonDropdownTrigger.vue.d.ts +1 -0
- package/components/dropdown/v4/ButtonDropdownTrigger.vue.js +3 -3
- package/components/dropdown/v4/ButtonDropdownTrigger.vue2.js +16 -13
- package/components/dropdown/v4/ButtonFilterDropdownTrigger.vue.js +2 -2
- package/components/dropdown/v4/ButtonFilterDropdownTrigger.vue2.js +1 -1
- package/components/dropdown/v4/ChipDropdownTrigger.vue.d.ts +5 -0
- package/components/dropdown/v4/ChipDropdownTrigger.vue.js +3 -3
- package/components/dropdown/v4/ChipDropdownTrigger.vue2.js +64 -54
- package/components/dropdown/v4/ConditionalDropdown.vue.d.ts +22 -9
- package/components/dropdown/v4/ConditionalDropdown.vue.js +4 -4
- package/components/dropdown/v4/ConditionalDropdown.vue2.js +151 -129
- package/components/dropdown/v4/DropdownV4.vue.d.ts +34 -1
- package/components/dropdown/v4/DropdownV4.vue.js +2 -2
- package/components/dropdown/v4/DropdownV4.vue2.js +241 -189
- package/components/dropdown/v4/IconButtonDropdownTrigger.vue.d.ts +11 -0
- package/components/dropdown/v4/IconButtonDropdownTrigger.vue.js +4 -4
- package/components/dropdown/v4/IconButtonDropdownTrigger.vue2.js +12 -10
- package/components/dropdown/v4/OptionV4.vue.d.ts +18 -5
- package/components/dropdown/v4/OptionV4.vue.js +2 -2
- package/components/dropdown/v4/OptionV4.vue2.js +140 -108
- package/components/dropdown/v4/TreeDropdown.vue.d.ts +1 -1
- package/components/dropdown/v4/TreeDropdown.vue.js +2 -2
- package/components/dropdown/v4/TreeDropdown.vue2.js +68 -73
- package/components/dropdown/v4/dropdownStoryArgs.d.ts +8 -0
- package/components/dropdown/v4/index.d.ts +682 -162
- package/components/emptyState/v4/EmptyStateV4.vue.d.ts +3 -3
- package/components/emptyState/v4/index.d.ts +7 -7
- package/components/forms/FormRow.vue.d.ts +9 -2
- package/components/forms/FormRow.vue.js +3 -3
- package/components/forms/FormRow.vue2.js +25 -14
- package/components/forms/index.d.ts +25 -5
- package/components/includeExclude/IncludeExclude.vue.d.ts +1 -1
- package/components/includeExclude/IncludeExcludeDragDrop.vue.d.ts +1 -1
- package/components/includeExclude/index.d.ts +40 -40
- package/components/link/Link.vue.d.ts +70 -0
- package/components/link/Link.vue.js +7 -0
- package/components/link/Link.vue2.js +43 -0
- package/components/link/index.d.ts +201 -0
- package/components/link/index.js +6 -0
- package/components/search/v3/index.d.ts +3 -3
- package/components/shared/FieldLabel.vue.d.ts +19 -7
- package/components/shared/FieldLabel.vue.js +3 -3
- package/components/shared/FieldLabel.vue2.js +50 -37
- package/components/switch/v4/SwitchV4.vue.d.ts +16 -0
- package/components/switch/v4/SwitchV4.vue.js +3 -3
- package/components/switch/v4/SwitchV4.vue2.js +39 -24
- package/components/switch/v4/index.d.ts +29 -0
- package/components/table/common/Table.common.d.ts +0 -1
- package/components/table/common/Table.common.js +38 -39
- package/components/table/common/Table.types.d.ts +2 -0
- package/components/table/common/consts.d.ts +1 -0
- package/components/table/common/consts.js +2 -1
- package/components/table/v4/DataGrid.vue.d.ts +15 -4
- package/components/table/v4/DataGrid.vue.js +4 -4
- package/components/table/v4/DataGrid.vue2.js +288 -230
- package/components/table/v4/MultipleDataGrid.vue.d.ts +3 -3
- package/components/table/v4/index.d.ts +50 -15
- package/components/table/v4/storyUtils.d.ts +2 -0
- package/components/tabs/v3/Tabs.vue.d.ts +3 -3
- package/components/tabs/v3/index.d.ts +7 -7
- package/components/tooltip/common/Tooltip.types.d.ts +1 -0
- package/components/tooltip/v3/Tooltip.vue.d.ts +4 -4
- package/components/tooltip/v3/Tooltip.vue.js +2 -2
- package/components/tooltip/v3/Tooltip.vue2.js +1 -1
- package/components/tooltip/v3/index.d.ts +7 -7
- package/components/tooltip/v4/TooltipV4.vue.d.ts +4 -4
- package/components/tooltip/v4/TooltipV4.vue.js +2 -2
- package/components/tooltip/v4/TooltipV4.vue2.js +1 -1
- package/components/tooltip/v4/index.d.ts +7 -7
- package/components/typography/Text.vue.d.ts +3 -3
- package/components/typography/index.d.ts +7 -7
- package/composables/useDateService.d.ts +7 -0
- package/composables/useDateService.js +10 -0
- package/composables/useFormValidation.d.ts +1 -0
- package/composables/useFormValidation.js +32 -27
- package/composables/useFullPageHeight.d.ts +10 -0
- package/composables/useFullPageHeight.js +15 -0
- package/consts/common.d.ts +1 -0
- package/consts/common.js +4 -0
- package/consts/regex.d.ts +1 -0
- package/consts/regex.js +2 -1
- package/index.d.ts +1601 -425
- package/index.js +148 -136
- package/mocks/apps.d.ts +1 -0
- package/mocks/optionsWithIcons.d.ts +2 -0
- package/package.json +9 -1
- package/testids/index.d.ts +4 -0
- package/testids/index.js +31 -30
- package/utils/formatNumbers.d.ts +1 -1
- package/utils/formatNumbers.js +19 -6
- package/utils/index.js +7 -0
- package/utils/text.d.ts +3 -0
- package/utils/text.js +24 -5
- package/utils/totals.d.ts +5 -0
- package/utils/totals.js +9 -0
- package/utils/utils.d.ts +1 -0
- package/utils/utils.js +4 -0
- package/ButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_604dfc6f_lang.css +0 -1
- package/ButtonFilterDropdownTrigger.vue_vue_type_style_index_0_scoped_ea1c4589_lang.css +0 -1
- package/ButtonV4.vue_vue_type_style_index_0_scoped_bdfce3aa_lang.css +0 -1
- package/Chart.vue_vue_type_style_index_0_scoped_a641383a_lang.css +0 -1
- package/ChartHeader.vue_vue_type_style_index_0_scoped_b8213498_lang.css +0 -1
- package/ChartLegend.vue_vue_type_style_index_0_scoped_4fe1c7d1_lang.css +0 -1
- package/ChartTooltip.vue_vue_type_style_index_0_scoped_6744325c_lang.css +0 -1
- package/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_e43ac1c9_lang.css +0 -1
- package/ConditionalDropdown.vue_vue_type_style_index_0_scoped_3a2aeea3_lang.css +0 -1
- package/DataGrid.vue_vue_type_style_index_0_scoped_6b54ac22_lang.css +0 -1
- package/DateRangeV4.vue_vue_type_style_index_0_scoped_8a2714eb_lang.css +0 -1
- package/DialogV4.vue_vue_type_style_index_0_scoped_37da643b_lang.css +0 -1
- package/DropdownV4.vue_vue_type_style_index_0_scoped_d154c5da_lang.css +0 -1
- package/FieldLabel.vue_vue_type_style_index_0_scoped_96ee1c98_lang.css +0 -1
- package/FormRow.vue_vue_type_style_index_0_scoped_fc3897fd_lang.css +0 -1
- package/IconButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_59fb505a_lang.css +0 -1
- package/OptionV4.vue_vue_type_style_index_0_scoped_1e8837dc_lang.css +0 -1
- package/SettingsHeader.vue_vue_type_style_index_0_scoped_9b6cd9d9_lang.css +0 -1
- package/SwitchV4.vue_vue_type_style_index_0_scoped_c2e356f5_lang.css +0 -1
- package/ToggleButtonGroupAB.vue_vue_type_style_index_0_scoped_c81a7d3e_lang.css +0 -1
- package/Tooltip.vue_vue_type_style_index_0_scoped_9020a179_lang.css +0 -1
- package/TooltipV4.vue_vue_type_style_index_0_scoped_66eab856_lang.css +0 -1
- package/TreeDropdown.vue_vue_type_style_index_0_scoped_b883d1fa_lang.css +0 -1
- package/components/chart/composables/useChartValues.d.ts +0 -12
- package/components/chart/composables/useChartValues.js +0 -32
- package/components/chart/utils/formatNumber.js +0 -11
|
@@ -1,32 +1,33 @@
|
|
|
1
|
-
import "../../../DataGrid.
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import {
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import {
|
|
14
|
-
|
|
1
|
+
import "../../../DataGrid.vue_vue_type_style_index_0_scoped_8e8df067_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
|
+
import p from "../../typography/v4/Typography.vue.js";
|
|
3
|
+
import ke from "../../skeleton/v4/SkeletonV4.vue.js";
|
|
4
|
+
import ge from "../../emptyState/v4/EmptyStateV4.vue.js";
|
|
5
|
+
import Y from "../../checkbox/v4/CheckboxV4.vue.js";
|
|
6
|
+
import me from "../../tooltip/v4/TooltipV4.vue.js";
|
|
7
|
+
import { TableTestIdModifiers as S } from "../../../testids/index.js";
|
|
8
|
+
import { tableCommon as ve } from "../common/Table.common.js";
|
|
9
|
+
import be from "./SortIcon.vue.js";
|
|
10
|
+
import $e from "./HelpIcon.vue.js";
|
|
11
|
+
import Ce from "./ExpandRowToggle.vue.js";
|
|
12
|
+
import Re from "../../search/v4/SearchV4.vue.js";
|
|
13
|
+
import { useVModel as Te } from "@vueuse/core";
|
|
14
|
+
import { DEFAULT_ROW_HEIGHT as xe, CHECKBOX_COLUMN_ID as pe } from "../common/consts.js";
|
|
15
|
+
const we = ["data-testid"], Ee = ["data-testid"], He = ["data-testid"], Be = ["data-testid"], Ie = ["data-testid"], Ve = ["data-testid"], Ae = { class: "search-wrapper" }, Pe = ["data-testid"], Le = ["data-testid"], Me = {
|
|
15
16
|
key: 1,
|
|
16
17
|
class: "expand-toggle-cell"
|
|
17
|
-
},
|
|
18
|
-
key:
|
|
19
|
-
class: "
|
|
20
|
-
},
|
|
18
|
+
}, Fe = ["onClick"], Ne = { class: "table-head-container" }, Oe = {
|
|
19
|
+
key: 0,
|
|
20
|
+
class: "totals-row"
|
|
21
|
+
}, De = ["data-testid"], Ke = ["onMouseenter", "onClick"], Ue = {
|
|
21
22
|
key: 2,
|
|
22
23
|
class: "expanded-row"
|
|
23
|
-
},
|
|
24
|
+
}, ze = {
|
|
24
25
|
key: 3,
|
|
25
26
|
class: "floating-row"
|
|
26
|
-
},
|
|
27
|
+
}, Ge = { key: 1 }, We = {
|
|
27
28
|
key: 0,
|
|
28
29
|
class: "table-footer"
|
|
29
|
-
},
|
|
30
|
+
}, dt = /* @__PURE__ */ he({
|
|
30
31
|
__name: "DataGrid",
|
|
31
32
|
props: {
|
|
32
33
|
title: { default: "" },
|
|
@@ -35,9 +36,9 @@ const Re = ["data-testid"], Ce = ["data-testid"], xe = ["data-testid"], Te = ["d
|
|
|
35
36
|
sections: { default: null },
|
|
36
37
|
sort: { default: null },
|
|
37
38
|
selection: { default: null },
|
|
38
|
-
getRowId: { type: Function, default: (s,
|
|
39
|
-
getRowKey: { type: Function, default: (s,
|
|
40
|
-
selectedMatcher: { type: Function, default: (s,
|
|
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 },
|
|
41
42
|
isSticky: { type: Boolean, default: !0 },
|
|
42
43
|
isStickyHeader: { type: Boolean, default: !1 },
|
|
43
44
|
isLoading: { type: Boolean, default: !1 },
|
|
@@ -45,10 +46,12 @@ const Re = ["data-testid"], Ce = ["data-testid"], xe = ["data-testid"], Te = ["d
|
|
|
45
46
|
emptyStateTitle: { default: "No data to display" },
|
|
46
47
|
emptyStateSubtitle: { default: "" },
|
|
47
48
|
isInfiniteScroll: { type: Boolean, default: !1 },
|
|
49
|
+
showTotalsRow: { type: Boolean },
|
|
48
50
|
infiniteScrollThreshold: { default: 100 },
|
|
49
|
-
rowHeight: { type: [Number, Function], default:
|
|
51
|
+
rowHeight: { type: [Number, Function], default: xe },
|
|
50
52
|
loadingRowCount: { default: 3 },
|
|
51
53
|
defaultScrollPosition: { default: null },
|
|
54
|
+
helpTooltipVariant: { default: "icon" },
|
|
52
55
|
testId: { default: "" },
|
|
53
56
|
search: { default: null },
|
|
54
57
|
showSearch: { type: Boolean, default: !1 },
|
|
@@ -61,309 +64,364 @@ const Re = ["data-testid"], Ce = ["data-testid"], xe = ["data-testid"], Te = ["d
|
|
|
61
64
|
isSelectionBordered: { type: Boolean, default: !1 }
|
|
62
65
|
},
|
|
63
66
|
emits: ["update:sort", "update:search", "update:selection", "onScroll", "onClearSearch", "saveRow", "loadMore", "selectAll", "selectRow", "clickRow"],
|
|
64
|
-
setup(s, { expose:
|
|
65
|
-
const
|
|
66
|
-
|
|
67
|
-
"
|
|
68
|
-
"
|
|
69
|
-
"
|
|
70
|
-
"65a66d41": t(Z)
|
|
67
|
+
setup(s, { expose: m, emit: k }) {
|
|
68
|
+
const a = s;
|
|
69
|
+
ye((l) => ({
|
|
70
|
+
"655ac77a": s.zIndexBase,
|
|
71
|
+
"97765f12": t(ee),
|
|
72
|
+
"7e1ea1b0": t(K)
|
|
71
73
|
}));
|
|
72
|
-
const
|
|
73
|
-
list:
|
|
74
|
-
containerProps:
|
|
75
|
-
wrapperProps:
|
|
76
|
-
activeRow:
|
|
77
|
-
gridColumnTemplate:
|
|
78
|
-
toggleSortOrder:
|
|
74
|
+
const b = fe(), Q = (l) => a.rowCustomClassKey && a.rows[l] ? a.rows[l][a.rowCustomClassKey] : "", {
|
|
75
|
+
list: w,
|
|
76
|
+
containerProps: X,
|
|
77
|
+
wrapperProps: j,
|
|
78
|
+
activeRow: E,
|
|
79
|
+
gridColumnTemplate: K,
|
|
80
|
+
toggleSortOrder: q,
|
|
79
81
|
columnsStickyPositions: H,
|
|
80
|
-
hasSearchSlot:
|
|
81
|
-
containerStyle:
|
|
82
|
-
onScroll:
|
|
83
|
-
savingRows:
|
|
84
|
-
hasExpandSlot:
|
|
85
|
-
toggleExpandRow:
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
(d) => !l.selectedMatcher(a, d)
|
|
82
|
+
hasSearchSlot: J,
|
|
83
|
+
containerStyle: Z,
|
|
84
|
+
onScroll: U,
|
|
85
|
+
savingRows: z,
|
|
86
|
+
hasExpandSlot: B,
|
|
87
|
+
toggleExpandRow: _,
|
|
88
|
+
cssExpandGridCol: ee,
|
|
89
|
+
isRowExpanded: M,
|
|
90
|
+
hasCheckboxes: F,
|
|
91
|
+
activeMenuRow: te,
|
|
92
|
+
scrollTo: se
|
|
93
|
+
} = ve(a, k), G = g(() => !!b.footer), le = g(
|
|
94
|
+
() => a.title || b.title || J.value || b["table-header-actions"] || b["table-header-pre-search"]
|
|
95
|
+
), C = Te(a, "search", k), ae = g(() => a.selection.length || 0), N = g(() => {
|
|
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
|
+
a.selection.filter(
|
|
101
|
+
(o) => !a.selectedMatcher(l, o)
|
|
101
102
|
)
|
|
102
|
-
),
|
|
103
|
-
},
|
|
104
|
-
if (
|
|
105
|
-
|
|
103
|
+
), k("selectRow", !1)) : (V([...a.selection, l]), k("selectRow", !0));
|
|
104
|
+
}, de = () => {
|
|
105
|
+
if (N.value)
|
|
106
|
+
V([]), k("selectAll", !1);
|
|
106
107
|
else {
|
|
107
|
-
const
|
|
108
|
-
|
|
108
|
+
const l = a.rows.map((o, e) => a.getRowId(o, e)).filter((o) => !I(o));
|
|
109
|
+
V([...a.selection, ...l]), k("selectAll", !0);
|
|
109
110
|
}
|
|
110
|
-
},
|
|
111
|
-
|
|
112
|
-
}, oe = (
|
|
113
|
-
() =>
|
|
114
|
-
),
|
|
115
|
-
() =>
|
|
116
|
-
),
|
|
111
|
+
}, V = (l) => {
|
|
112
|
+
k("update:selection", l);
|
|
113
|
+
}, oe = (l) => !a.isLoading && E.value === l, ne = g(
|
|
114
|
+
() => a.emptyStateVariant ?? (C.value ? "no-results" : "no-data")
|
|
115
|
+
), re = g(
|
|
116
|
+
() => a.emptyStateSubtitle ? a.emptyStateSubtitle : C.value ? "Search again with different filters" : void 0
|
|
117
|
+
), O = g(() => ({
|
|
117
118
|
class: {
|
|
118
|
-
sticky:
|
|
119
|
-
bordered:
|
|
119
|
+
sticky: a.isSelectionSticky,
|
|
120
|
+
bordered: a.isSelectionBordered
|
|
120
121
|
},
|
|
121
|
-
style:
|
|
122
|
-
}))
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
122
|
+
style: a.isSelectionSticky ? H.value[pe] : null
|
|
123
|
+
})), ce = (l) => ({
|
|
124
|
+
sticky: l.isSticky,
|
|
125
|
+
isStickyRight: l.isStickyRight,
|
|
126
|
+
bordered: l.isBordered,
|
|
127
|
+
isTextRight: l.isTextRight
|
|
128
|
+
}), W = g(
|
|
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
|
+
return m({
|
|
134
|
+
scrollTo: se
|
|
135
|
+
}), (l, o) => (i(), d("div", {
|
|
126
136
|
class: "table-container",
|
|
127
|
-
"data-testid": `${s.testId}-${t(
|
|
128
|
-
onMouseleave:
|
|
137
|
+
"data-testid": `${s.testId}-${t(S).CONTAINER}`,
|
|
138
|
+
onMouseleave: o[3] || (o[3] = (e) => E.value = null)
|
|
129
139
|
}, [
|
|
130
|
-
|
|
131
|
-
ref: t(
|
|
132
|
-
style:
|
|
133
|
-
class:
|
|
134
|
-
hasFooter: t(
|
|
140
|
+
f("table", {
|
|
141
|
+
ref: t(X).ref,
|
|
142
|
+
style: v(t(Z)),
|
|
143
|
+
class: u({
|
|
144
|
+
hasFooter: t(G)
|
|
135
145
|
}),
|
|
136
|
-
"data-testid": `${s.testId}-${t(
|
|
137
|
-
onScrollPassive:
|
|
138
|
-
(...e) => t(
|
|
146
|
+
"data-testid": `${s.testId}-${t(S).TABLE}`,
|
|
147
|
+
onScrollPassive: o[2] || (o[2] = //@ts-ignore
|
|
148
|
+
(...e) => t(U) && t(U)(...e))
|
|
139
149
|
}, [
|
|
140
|
-
t(
|
|
150
|
+
t(le) ? (i(), d("div", {
|
|
141
151
|
key: 0,
|
|
142
|
-
class:
|
|
143
|
-
"data-testid": `${s.testId}-${t(
|
|
152
|
+
class: u(["table-header", { isStickyHeader: s.isStickyHeader }]),
|
|
153
|
+
"data-testid": `${s.testId}-${t(S).HEADER}`
|
|
144
154
|
}, [
|
|
145
|
-
|
|
155
|
+
f("div", {
|
|
146
156
|
class: "table-title",
|
|
147
|
-
"data-testid": `${s.testId}-${t(
|
|
157
|
+
"data-testid": `${s.testId}-${t(S).TITLE}`
|
|
148
158
|
}, [
|
|
149
|
-
c(
|
|
150
|
-
h(t(
|
|
151
|
-
default:
|
|
152
|
-
|
|
159
|
+
c(l.$slots, "title", {}, () => [
|
|
160
|
+
h(t(p), { variant: "h3" }, {
|
|
161
|
+
default: $(() => [
|
|
162
|
+
R(P(s.title), 1)
|
|
153
163
|
]),
|
|
154
164
|
_: 1
|
|
155
165
|
})
|
|
156
166
|
])
|
|
157
|
-
], 8,
|
|
158
|
-
t(
|
|
167
|
+
], 8, Be),
|
|
168
|
+
t(b)["table-header-pre-search"] ? (i(), d("div", {
|
|
159
169
|
key: 0,
|
|
160
170
|
class: "table-header-pre-search-content",
|
|
161
|
-
"data-testid": `${s.testId}-${t(
|
|
171
|
+
"data-testid": `${s.testId}-${t(S).PRE_SEARCH_HEADER}`
|
|
162
172
|
}, [
|
|
163
|
-
c(
|
|
164
|
-
], 8,
|
|
165
|
-
|
|
173
|
+
c(l.$slots, "table-header-pre-search")
|
|
174
|
+
], 8, Ie)) : n("", !0),
|
|
175
|
+
f("div", {
|
|
166
176
|
class: "table-header-right",
|
|
167
|
-
"data-testid": `${s.testId}-${t(
|
|
177
|
+
"data-testid": `${s.testId}-${t(S).HEADER_RIGHT}`
|
|
168
178
|
}, [
|
|
169
|
-
s.showSearch ? c(
|
|
170
|
-
|
|
171
|
-
h(t(
|
|
172
|
-
modelValue: t(
|
|
173
|
-
"onUpdate:modelValue":
|
|
179
|
+
s.showSearch ? c(l.$slots, "search", { key: 0 }, () => [
|
|
180
|
+
f("div", Ae, [
|
|
181
|
+
h(t(Re), {
|
|
182
|
+
modelValue: t(C),
|
|
183
|
+
"onUpdate:modelValue": o[0] || (o[0] = (e) => Se(C) ? C.value = e : null),
|
|
174
184
|
placeholder: s.searchPlaceholder,
|
|
175
185
|
"auto-focus": s.searchAutoFocus,
|
|
176
186
|
"test-id": s.testId,
|
|
177
|
-
onOnClear:
|
|
187
|
+
onOnClear: o[1] || (o[1] = (e) => k("onClearSearch"))
|
|
178
188
|
}, null, 8, ["modelValue", "placeholder", "auto-focus", "test-id"])
|
|
179
189
|
])
|
|
180
|
-
]) :
|
|
181
|
-
], 8,
|
|
182
|
-
t(
|
|
190
|
+
]) : n("", !0)
|
|
191
|
+
], 8, Ve),
|
|
192
|
+
t(b)["table-header-actions"] ? (i(), d("div", {
|
|
183
193
|
key: 1,
|
|
184
194
|
class: "table-header-actions",
|
|
185
|
-
"data-testid": `${s.testId}-${t(
|
|
195
|
+
"data-testid": `${s.testId}-${t(S).ACTIONS}`
|
|
186
196
|
}, [
|
|
187
|
-
c(
|
|
188
|
-
], 8,
|
|
189
|
-
], 10,
|
|
190
|
-
|
|
191
|
-
class:
|
|
197
|
+
c(l.$slots, "table-header-actions")
|
|
198
|
+
], 8, Pe)) : n("", !0)
|
|
199
|
+
], 10, He)) : n("", !0),
|
|
200
|
+
f("thead", {
|
|
201
|
+
class: u({ sticky: s.isSticky, isStickyHeader: s.isStickyHeader })
|
|
192
202
|
}, [
|
|
193
|
-
|
|
203
|
+
f("div", {
|
|
194
204
|
class: "sections",
|
|
195
|
-
"data-testid": `${s.testId}-${t(
|
|
205
|
+
"data-testid": `${s.testId}-${t(S).SECTIONS}`
|
|
196
206
|
}, [
|
|
197
|
-
(i(!0),
|
|
207
|
+
(i(!0), d(T, null, x(s.sections, (e) => (i(), d("div", {
|
|
198
208
|
key: e.id,
|
|
199
|
-
class:
|
|
209
|
+
class: u(["section-container", { sticky: e.isSticky }])
|
|
200
210
|
}, [
|
|
201
|
-
c(
|
|
202
|
-
|
|
203
|
-
style:
|
|
204
|
-
class:
|
|
211
|
+
c(l.$slots, `section-${e.id}`, {}, () => [
|
|
212
|
+
f("div", {
|
|
213
|
+
style: v({ width: e.width + "px" }),
|
|
214
|
+
class: u({ section: !0 })
|
|
205
215
|
}, [
|
|
206
|
-
h(t(
|
|
207
|
-
default:
|
|
208
|
-
|
|
216
|
+
h(t(p), { variant: "body2" }, {
|
|
217
|
+
default: $(() => [
|
|
218
|
+
R(P(e.title), 1)
|
|
209
219
|
]),
|
|
210
220
|
_: 2
|
|
211
221
|
}, 1024)
|
|
212
222
|
], 4)
|
|
213
223
|
])
|
|
214
224
|
], 2))), 128))
|
|
215
|
-
], 8,
|
|
216
|
-
|
|
217
|
-
t(
|
|
225
|
+
], 8, Le),
|
|
226
|
+
f("tr", null, [
|
|
227
|
+
t(F) ? (i(), d("th", L({
|
|
218
228
|
key: 0,
|
|
219
229
|
class: "checkbox-cell"
|
|
220
|
-
}, t(
|
|
221
|
-
c(
|
|
222
|
-
h(t(
|
|
230
|
+
}, t(O)), [
|
|
231
|
+
c(l.$slots, "select-all-checkbox", {}, () => [
|
|
232
|
+
h(t(Y), {
|
|
223
233
|
disabled: s.isLoading,
|
|
224
|
-
"is-checked": t(
|
|
225
|
-
"is-indeterminate": !t(
|
|
226
|
-
"onUpdate:isChecked":
|
|
234
|
+
"is-checked": t(N),
|
|
235
|
+
"is-indeterminate": !t(N) && t(ae) > 0,
|
|
236
|
+
"onUpdate:isChecked": de
|
|
227
237
|
}, null, 8, ["disabled", "is-checked", "is-indeterminate"])
|
|
228
238
|
])
|
|
229
|
-
], 16)) :
|
|
230
|
-
t(
|
|
231
|
-
(i(!0),
|
|
239
|
+
], 16)) : n("", !0),
|
|
240
|
+
t(B) ? (i(), d("th", Me)) : n("", !0),
|
|
241
|
+
(i(!0), d(T, null, x(s.columns, (e, y) => (i(), d("th", {
|
|
232
242
|
key: e.id,
|
|
233
|
-
class:
|
|
234
|
-
|
|
235
|
-
isStickyRight: e.isStickyRight,
|
|
236
|
-
bordered: e.isBordered,
|
|
237
|
-
isTextRight: e.isTextRight,
|
|
243
|
+
class: u({
|
|
244
|
+
...t(W)[y],
|
|
238
245
|
isSortable: e.isSortable,
|
|
239
246
|
[`column-${e.id}`]: !0
|
|
240
247
|
}),
|
|
241
|
-
style:
|
|
242
|
-
onClick: (
|
|
248
|
+
style: v(e.isSticky ? t(H)[e.id] : null),
|
|
249
|
+
onClick: (r) => e.isSortable ? t(q)(e) : null
|
|
243
250
|
}, [
|
|
244
|
-
|
|
245
|
-
c(
|
|
246
|
-
h(t(
|
|
247
|
-
|
|
248
|
-
|
|
251
|
+
f("div", Ne, [
|
|
252
|
+
c(l.$slots, `header-${e.id}`, { column: e }, () => [
|
|
253
|
+
h(t(me), {
|
|
254
|
+
text: e.helpText,
|
|
255
|
+
disabled: !e.helpText || s.helpTooltipVariant === "icon",
|
|
256
|
+
placement: e.helpTextPlacement || "top",
|
|
257
|
+
"test-id": `help-tooltip-underlined-${e.id}`
|
|
258
|
+
}, {
|
|
259
|
+
default: $(() => [
|
|
260
|
+
h(t(p), {
|
|
261
|
+
variant: "tableLabel",
|
|
262
|
+
class: u({
|
|
263
|
+
underlined: e.helpText && s.helpTooltipVariant === "underline"
|
|
264
|
+
})
|
|
265
|
+
}, {
|
|
266
|
+
default: $(() => [
|
|
267
|
+
R(P(e.title), 1)
|
|
268
|
+
]),
|
|
269
|
+
_: 2
|
|
270
|
+
}, 1032, ["class"])
|
|
249
271
|
]),
|
|
250
272
|
_: 2
|
|
251
|
-
},
|
|
273
|
+
}, 1032, ["text", "disabled", "placement", "test-id"])
|
|
252
274
|
]),
|
|
253
|
-
e.helpText ? (i(),
|
|
275
|
+
e.helpText && s.helpTooltipVariant === "icon" ? (i(), D($e, {
|
|
254
276
|
key: 0,
|
|
255
277
|
"hover-help-text": e.helpText,
|
|
256
|
-
"hover-help-text-placement": e.helpTextPlacement
|
|
257
|
-
|
|
258
|
-
|
|
278
|
+
"hover-help-text-placement": e.helpTextPlacement,
|
|
279
|
+
"test-id": `help-tooltip-${e.id}`
|
|
280
|
+
}, null, 8, ["hover-help-text", "hover-help-text-placement", "test-id"])) : n("", !0),
|
|
281
|
+
c(l.$slots, `after-header-${e.id}`, { column: e }),
|
|
282
|
+
e.isSortable && e.id === s.sort?.sortBy ? (i(), D(be, {
|
|
259
283
|
key: 1,
|
|
260
284
|
"sort-order": s.sort.sortOrder
|
|
261
|
-
}, null, 8, ["sort-order"])) :
|
|
285
|
+
}, null, 8, ["sort-order"])) : n("", !0)
|
|
262
286
|
])
|
|
263
|
-
], 14,
|
|
264
|
-
])
|
|
287
|
+
], 14, Fe))), 128))
|
|
288
|
+
]),
|
|
289
|
+
s.showTotalsRow && t(w).length > 0 ? (i(), d("tr", Oe, [
|
|
290
|
+
t(F) ? (i(), d("td", L({
|
|
291
|
+
key: 0,
|
|
292
|
+
class: "bg"
|
|
293
|
+
}, t(O)), null, 16)) : n("", !0),
|
|
294
|
+
(i(!0), d(T, null, x(s.columns, (e, y) => (i(), d("td", {
|
|
295
|
+
key: e.id,
|
|
296
|
+
class: u({
|
|
297
|
+
...t(W)[y],
|
|
298
|
+
[`total-${e.id}`]: !0
|
|
299
|
+
}),
|
|
300
|
+
style: v(e.isSticky ? t(H)[e.id] : null)
|
|
301
|
+
}, [
|
|
302
|
+
c(l.$slots, `total-${e.id}`, { column: e }, () => [
|
|
303
|
+
y === 0 ? (i(), D(t(p), {
|
|
304
|
+
key: 0,
|
|
305
|
+
variant: "h6"
|
|
306
|
+
}, {
|
|
307
|
+
default: $(() => [
|
|
308
|
+
R("Totals")
|
|
309
|
+
]),
|
|
310
|
+
_: 1
|
|
311
|
+
})) : n("", !0)
|
|
312
|
+
])
|
|
313
|
+
], 6))), 128))
|
|
314
|
+
])) : n("", !0)
|
|
265
315
|
], 2),
|
|
266
|
-
|
|
267
|
-
t(
|
|
316
|
+
f("tbody", null, [
|
|
317
|
+
t(w).length > 0 ? (i(), d("div", L({
|
|
268
318
|
key: 0,
|
|
269
319
|
class: "table-body-wrapper",
|
|
270
|
-
"data-testid": `${s.testId}-${t(
|
|
271
|
-
}, t(
|
|
272
|
-
(i(!0),
|
|
320
|
+
"data-testid": `${s.testId}-${t(S).BODY_WRAPPER}`
|
|
321
|
+
}, t(j)), [
|
|
322
|
+
(i(!0), d(T, null, x(t(w), (e) => (i(), d("tr", {
|
|
273
323
|
key: s.getRowKey(e.data, e.index),
|
|
274
|
-
class:
|
|
275
|
-
loading: s.isLoading || s.isLoading && !e.data || t(
|
|
276
|
-
active: t(
|
|
277
|
-
activeMenu: t(
|
|
278
|
-
expanded: t(
|
|
279
|
-
[
|
|
324
|
+
class: u(["table-row", {
|
|
325
|
+
loading: s.isLoading || s.isLoading && !e.data || t(z).includes(e.index),
|
|
326
|
+
active: t(E) === e.index,
|
|
327
|
+
activeMenu: t(te) === e.index,
|
|
328
|
+
expanded: t(B) && t(M)(e.index),
|
|
329
|
+
[Q(e.index)]: !0
|
|
280
330
|
}]),
|
|
281
|
-
|
|
282
|
-
|
|
331
|
+
style: v(t(A)[e.index]),
|
|
332
|
+
onMouseenter: (y) => E.value = e.index,
|
|
333
|
+
onClick: (y) => k("clickRow", e.index)
|
|
283
334
|
}, [
|
|
284
|
-
t(
|
|
335
|
+
t(F) ? (i(), d("td", L({
|
|
285
336
|
key: 0,
|
|
286
337
|
class: "checkbox-cell"
|
|
287
|
-
}, t(
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
338
|
+
}, t(O), {
|
|
339
|
+
style: t(A)[e.index]
|
|
340
|
+
}), [
|
|
341
|
+
h(t(Y), {
|
|
342
|
+
"is-checked": I(s.getRowId(e.data, e.index)),
|
|
343
|
+
"onUpdate:isChecked": (y) => ie(s.getRowId(e.data, e.index))
|
|
291
344
|
}, null, 8, ["is-checked", "onUpdate:isChecked"])
|
|
292
|
-
], 16)) :
|
|
293
|
-
t(
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
345
|
+
], 16)) : n("", !0),
|
|
346
|
+
t(B) ? (i(), d("td", {
|
|
347
|
+
key: 1,
|
|
348
|
+
class: "expand-toggle-cell",
|
|
349
|
+
style: v(t(A)[e.index])
|
|
350
|
+
}, [
|
|
351
|
+
h(Ce, {
|
|
352
|
+
expanded: t(M)(e.index),
|
|
353
|
+
onClick: (y) => t(_)(e.index, y)
|
|
297
354
|
}, null, 8, ["expanded", "onClick"])
|
|
298
|
-
])) :
|
|
299
|
-
(i(!0),
|
|
300
|
-
key:
|
|
301
|
-
class:
|
|
302
|
-
sticky: s.columns[
|
|
303
|
-
isStickyRight: s.columns[
|
|
304
|
-
bordered: s.columns[
|
|
305
|
-
isTextRight: s.columns[
|
|
306
|
-
[`column-${s.columns[
|
|
355
|
+
], 4)) : n("", !0),
|
|
356
|
+
(i(!0), d(T, null, x(s.columns, (y, r) => (i(), d("td", {
|
|
357
|
+
key: r,
|
|
358
|
+
class: u({
|
|
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
|
|
307
364
|
}),
|
|
308
|
-
style:
|
|
309
|
-
s.columns[
|
|
310
|
-
|
|
365
|
+
style: v([
|
|
366
|
+
s.columns[r].isSticky ? t(H)[s.columns[r].id] : null,
|
|
367
|
+
t(A)[e.index]
|
|
368
|
+
])
|
|
311
369
|
}, [
|
|
312
|
-
!s.isLoading || s.isLoading && e.data[
|
|
370
|
+
!s.isLoading || s.isLoading && e.data[r] ? (i(), d("div", {
|
|
313
371
|
key: 0,
|
|
314
|
-
class:
|
|
372
|
+
class: u(["table-cell", { last: r === e.data.length - 1 }])
|
|
315
373
|
}, [
|
|
316
|
-
c(
|
|
317
|
-
cell: e.data[
|
|
318
|
-
isLoading: t(
|
|
319
|
-
cellIndex:
|
|
374
|
+
c(l.$slots, `cell-${s.columns[r].id}`, {
|
|
375
|
+
cell: e.data[r],
|
|
376
|
+
isLoading: t(z).includes(e.index),
|
|
377
|
+
cellIndex: r,
|
|
320
378
|
row: e,
|
|
321
379
|
rowIndex: e.index
|
|
322
380
|
}, () => [
|
|
323
|
-
h(t(
|
|
324
|
-
default:
|
|
325
|
-
|
|
381
|
+
h(t(p), { variant: "body1" }, {
|
|
382
|
+
default: $(() => [
|
|
383
|
+
R(P(e.data[r]), 1)
|
|
326
384
|
]),
|
|
327
385
|
_: 2
|
|
328
386
|
}, 1024)
|
|
329
387
|
])
|
|
330
|
-
], 2)) : c(
|
|
331
|
-
h(t(
|
|
388
|
+
], 2)) : c(l.$slots, "loader", { key: 1 }, () => [
|
|
389
|
+
h(t(ke), { round: "" })
|
|
332
390
|
])
|
|
333
391
|
], 6))), 128)),
|
|
334
|
-
t(
|
|
335
|
-
c(
|
|
392
|
+
t(B) && t(M)(e.index) ? (i(), d("div", Ue, [
|
|
393
|
+
c(l.$slots, "expanded", {
|
|
336
394
|
row: e,
|
|
337
|
-
gridColumnTemplate: t(
|
|
395
|
+
gridColumnTemplate: t(K)
|
|
338
396
|
})
|
|
339
|
-
])) :
|
|
340
|
-
oe(e.index) ? (i(),
|
|
341
|
-
c(
|
|
397
|
+
])) : n("", !0),
|
|
398
|
+
oe(e.index) ? (i(), d("div", ze, [
|
|
399
|
+
c(l.$slots, "floating-row", {
|
|
342
400
|
row: e,
|
|
343
401
|
rowIndex: e.index
|
|
344
402
|
})
|
|
345
|
-
])) :
|
|
346
|
-
],
|
|
347
|
-
], 16,
|
|
348
|
-
c(
|
|
349
|
-
h(t(
|
|
403
|
+
])) : n("", !0)
|
|
404
|
+
], 46, Ke))), 128))
|
|
405
|
+
], 16, De)) : (i(), d("div", Ge, [
|
|
406
|
+
c(l.$slots, "empty-state", {}, () => [
|
|
407
|
+
h(t(ge), {
|
|
350
408
|
class: "empty-state",
|
|
351
409
|
title: s.emptyStateTitle,
|
|
352
|
-
subtitle: t(
|
|
353
|
-
variant: t(
|
|
410
|
+
subtitle: t(re),
|
|
411
|
+
variant: t(ne),
|
|
354
412
|
"icon-name": "file-search",
|
|
355
|
-
"test-id": `${s.testId}-${t(
|
|
413
|
+
"test-id": `${s.testId}-${t(S).EMPTY_STATE}`
|
|
356
414
|
}, null, 8, ["title", "subtitle", "variant", "test-id"])
|
|
357
415
|
])
|
|
358
416
|
]))
|
|
359
417
|
])
|
|
360
|
-
], 46,
|
|
361
|
-
t(
|
|
362
|
-
c(
|
|
363
|
-
])) :
|
|
364
|
-
], 40,
|
|
418
|
+
], 46, Ee),
|
|
419
|
+
t(G) ? (i(), d("div", We, [
|
|
420
|
+
c(l.$slots, "footer")
|
|
421
|
+
])) : n("", !0)
|
|
422
|
+
], 40, we));
|
|
365
423
|
}
|
|
366
424
|
});
|
|
367
425
|
export {
|
|
368
|
-
|
|
426
|
+
dt as default
|
|
369
427
|
};
|