@ironsource/shared-ui 2.2.0-rc.2 → 2.2.0-rc.20
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/Alert.vue_vue_type_style_index_0_scoped_5e66710b_lang.css +1 -0
- package/AppDropdownTrigger.vue_vue_type_style_index_0_scoped_f86477a9_lang.css +1 -0
- package/AppHeader.vue_vue_type_style_index_0_scoped_18bc6c0d_lang.css +1 -0
- package/ButtonV4.vue_vue_type_style_index_0_scoped_a59af1ad_lang.css +1 -0
- package/CalendarMonth.vue_vue_type_style_index_0_scoped_a44769fd_lang.css +1 -0
- package/CalendarMonthV4.vue_vue_type_style_index_0_scoped_6eae923a_lang.css +1 -0
- package/Chart.vue_vue_type_style_index_0_scoped_22477735_lang.css +1 -0
- package/ChartHeader.vue_vue_type_style_index_0_scoped_3a061c08_lang.css +1 -0
- package/ChartPlane.vue_vue_type_style_index_0_scoped_6de5cddb_lang.css +1 -0
- package/CheckboxV4.vue_vue_type_style_index_0_scoped_88525d86_lang.css +1 -0
- package/ChipV4.vue_vue_type_style_index_0_scoped_a221c649_lang.css +1 -0
- package/ColumnPicker.vue_vue_type_style_index_0_scoped_d59af062_lang.css +1 -0
- package/DataGrid.vue_vue_type_style_index_0_scoped_0967498f_lang.css +1 -0
- package/DateRange.vue_vue_type_style_index_0_scoped_25d03907_lang.css +1 -0
- package/DateRangeV4.vue_vue_type_style_index_0_scoped_f8826716_lang.css +1 -0
- package/DefaultDropdownTrigger.vue_vue_type_style_index_0_scoped_a6900fa6_lang.css +1 -0
- package/DialogV4.vue_vue_type_style_index_0_scoped_a6710278_lang.css +1 -0
- package/DropdownV4.vue_vue_type_style_index_0_scoped_526bf0a1_lang.css +1 -0
- package/GroupOption.vue_vue_type_style_index_0_scoped_1e5170b3_lang.css +1 -0
- package/HelpText.vue_vue_type_style_index_0_scoped_641c2356_lang.css +1 -0
- package/IconV4.vue_vue_type_style_index_0_scoped_6683c5b5_lang.css +1 -0
- package/InlineCopy.vue_vue_type_style_index_0_scoped_9fa1921a_lang.css +1 -0
- package/Link.vue_vue_type_style_index_0_scoped_fe0e7f6f_lang.css +1 -0
- package/MultiBar.vue_vue_type_style_index_0_scoped_c4395fb6_lang.css +1 -0
- package/RadioButtonV4.vue_vue_type_style_index_0_scoped_4f3c7037_lang.css +1 -0
- package/SectionDropdown.vue_vue_type_style_index_0_scoped_65877e48_lang.css +1 -0
- package/SnackbarV4.vue_vue_type_style_index_0_scoped_35c79635_lang.css +1 -0
- package/SwitchV4.vue_vue_type_style_index_0_scoped_b71a806e_lang.css +1 -0
- package/TextAreaV4.vue_vue_type_style_index_0_scoped_0feea75e_lang.css +1 -0
- package/TextField.vue_vue_type_style_index_0_scoped_28fab783_lang.css +1 -0
- package/ThemeWrapper.vue_vue_type_style_index_1_lang.css +1 -1
- package/ToggleButtonGroupAB.vue_vue_type_style_index_0_scoped_0fc9ddf5_lang.css +1 -0
- package/components/alert/Alert.vue.d.ts +3 -8
- package/components/alert/Alert.vue.js +2 -2
- package/components/alert/Alert.vue2.js +48 -46
- package/components/alert/index.d.ts +8 -27
- package/components/appHeader/AppHeader.vue.js +2 -2
- package/components/appHeader/AppHeader.vue2.js +44 -45
- package/components/button/v3/Button.vue.d.ts +6 -6
- package/components/button/v3/index.d.ts +14 -14
- package/components/button/v4/ButtonV4.vue.js +4 -4
- package/components/button/v4/ButtonV4.vue2.js +1 -1
- package/components/button/v4/ToggleButtonGroupAB.vue.js +2 -2
- package/components/button/v4/ToggleButtonGroupAB.vue2.js +1 -1
- package/components/chart/Chart.vue.d.ts +5 -0
- package/components/chart/Chart.vue.js +3 -3
- package/components/chart/Chart.vue2.js +10 -8
- package/components/chart/ChartHeader.vue.d.ts +5 -0
- package/components/chart/ChartHeader.vue.js +3 -3
- package/components/chart/ChartHeader.vue2.js +73 -49
- package/components/chart/ChartPlane.vue.d.ts +5 -0
- package/components/chart/ChartPlane.vue.js +3 -3
- package/components/chart/ChartPlane.vue2.js +33 -31
- package/components/chart/ChartStoryArgs.d.ts +6 -0
- package/components/chart/index.d.ts +20 -1
- package/components/checkbox/v4/CheckboxV4.vue.js +3 -3
- package/components/checkbox/v4/CheckboxV4.vue2.js +60 -79
- package/components/checkbox/v4/icons/CheckedState.vue.js +11 -11
- package/components/checkbox/v4/icons/IndeterminateState.vue.js +7 -7
- package/components/checkbox/v4/icons/UncheckedState.vue.d.ts +28 -1
- package/components/checkbox/v4/icons/UncheckedState.vue.js +23 -21
- package/components/checkbox/v4/icons/UncheckedState.vue2.js +4 -0
- package/components/chip/v4/ChipV4.vue.js +3 -3
- package/components/chip/v4/ChipV4.vue2.js +1 -1
- package/components/columnConfigurator/SectionDropdown.vue.js +3 -3
- package/components/columnConfigurator/SectionDropdown.vue2.js +6 -7
- package/components/columnPicker/ColumnPicker.vue.d.ts +2 -0
- package/components/columnPicker/ColumnPicker.vue.js +3 -3
- package/components/columnPicker/ColumnPicker.vue2.js +173 -153
- package/components/columnPicker/index.d.ts +7 -1
- package/components/dateRange/common/CalendarMonth.common.js +46 -41
- package/components/dateRange/common/DateRange.common.d.ts +1 -0
- package/components/dateRange/common/DateRange.common.js +38 -37
- package/components/dateRange/v3/CalendarMonth.vue.d.ts +5 -0
- package/components/dateRange/v3/CalendarMonth.vue.js +3 -3
- package/components/dateRange/v3/CalendarMonth.vue2.js +6 -5
- package/components/dateRange/v3/DateRange.vue.d.ts +5 -0
- package/components/dateRange/v3/DateRange.vue.js +2 -2
- package/components/dateRange/v3/DateRange.vue2.js +2 -1
- package/components/dateRange/v3/index.d.ts +20 -1
- package/components/dateRange/v4/CalendarMonthV4.vue.d.ts +5 -0
- package/components/dateRange/v4/CalendarMonthV4.vue.js +4 -4
- package/components/dateRange/v4/CalendarMonthV4.vue2.js +12 -11
- package/components/dateRange/v4/DateRangeV4.vue.d.ts +5 -0
- package/components/dateRange/v4/DateRangeV4.vue.js +3 -3
- package/components/dateRange/v4/DateRangeV4.vue2.js +104 -101
- package/components/dateRange/v4/index.d.ts +20 -1
- package/components/dialog/v4/DialogV4.vue.js +4 -4
- package/components/dialog/v4/DialogV4.vue2.js +1 -1
- package/components/dropdown/v4/AppDropdownTrigger.vue.js +3 -3
- package/components/dropdown/v4/AppDropdownTrigger.vue2.js +1 -1
- package/components/dropdown/v4/DefaultDropdownTrigger.vue.js +3 -3
- package/components/dropdown/v4/DefaultDropdownTrigger.vue2.js +1 -1
- package/components/dropdown/v4/DropdownV4.vue.js +3 -3
- package/components/dropdown/v4/DropdownV4.vue2.js +2 -2
- package/components/dropdown/v4/GroupOption.vue.js +3 -3
- package/components/dropdown/v4/GroupOption.vue2.js +1 -1
- package/components/emptyState/v3/EmptyState.vue.d.ts +3 -3
- package/components/emptyState/v3/index.d.ts +7 -7
- package/components/helpText/HelpText.vue.d.ts +68 -0
- package/components/helpText/HelpText.vue.js +7 -0
- package/components/helpText/HelpText.vue2.js +45 -0
- package/components/helpText/index.d.ts +190 -0
- package/components/helpText/index.js +6 -0
- package/components/icon/v4/IconV4.vue.d.ts +5 -0
- package/components/icon/v4/IconV4.vue.js +2 -2
- package/components/icon/v4/IconV4.vue2.js +27 -26
- package/components/icon/v4/index.d.ts +20 -1
- package/components/includeExclude/index.d.ts +16 -16
- package/components/inlineCopy/InlineCopy.vue.d.ts +15 -0
- package/components/inlineCopy/InlineCopy.vue.js +2 -2
- package/components/inlineCopy/InlineCopy.vue2.js +80 -51
- package/components/inlineCopy/index.d.ts +27 -0
- package/components/input/v4/TextField.vue.js +2 -2
- package/components/input/v4/TextField.vue2.js +1 -1
- package/components/link/Link.vue.d.ts +3 -3
- package/components/link/Link.vue.js +5 -5
- package/components/link/Link.vue2.js +1 -1
- package/components/link/index.d.ts +7 -7
- package/components/multibar/MultiBar.vue.js +3 -3
- package/components/multibar/MultiBar.vue2.js +1 -1
- package/components/radioButton/v4/RadioButtonV4.vue.js +3 -3
- package/components/radioButton/v4/RadioButtonV4.vue2.js +1 -1
- package/components/snackbar/common/notify.js +25 -25
- package/components/snackbar/common/snackbar.common.js +19 -19
- package/components/snackbar/common/snackbar.types.d.ts +2 -1
- package/components/snackbar/v4/SnackbarV4.vue.d.ts +8 -1
- package/components/snackbar/v4/SnackbarV4.vue.js +2 -2
- package/components/snackbar/v4/SnackbarV4.vue2.js +85 -64
- package/components/switch/v4/SwitchV4.vue.d.ts +5 -0
- package/components/switch/v4/SwitchV4.vue.js +4 -4
- package/components/switch/v4/SwitchV4.vue2.js +14 -13
- package/components/switch/v4/index.d.ts +9 -0
- package/components/table/v4/DataGrid.vue.d.ts +2 -0
- package/components/table/v4/DataGrid.vue.js +4 -4
- package/components/table/v4/DataGrid.vue2.js +82 -80
- package/components/table/v4/index.d.ts +7 -1
- package/components/table-cells/v3/Editable.vue.d.ts +1 -1
- package/components/table-cells/v3/index.d.ts +20 -20
- package/components/table-cells/v4/EditableV4.vue.d.ts +1 -1
- package/components/table-cells/v4/index.d.ts +20 -20
- package/components/textArea/v4/TextAreaV4.vue.js +3 -3
- package/components/textArea/v4/TextAreaV4.vue2.js +1 -1
- package/design-foundation.stories/colors/ColorsData.d.ts +52 -47
- package/index.d.ts +207 -46
- package/index.js +95 -91
- package/package.json +7 -2
- package/style/v4/colors.scss +89 -84
- package/style/v4/grid.css +1 -1
- package/style/v4/grid.css.map +1 -1
- package/testids/index.d.ts +4 -0
- package/testids/index.js +38 -37
- package/Alert.vue_vue_type_style_index_0_scoped_06e0871a_lang.css +0 -1
- package/AppDropdownTrigger.vue_vue_type_style_index_0_scoped_858cefbf_lang.css +0 -1
- package/AppHeader.vue_vue_type_style_index_0_scoped_538ccdc6_lang.css +0 -1
- package/ButtonV4.vue_vue_type_style_index_0_scoped_852be7ec_lang.css +0 -1
- package/CalendarMonth.vue_vue_type_style_index_0_scoped_acd3440c_lang.css +0 -1
- package/CalendarMonthV4.vue_vue_type_style_index_0_scoped_b0d3ea50_lang.css +0 -1
- package/Chart.vue_vue_type_style_index_0_scoped_060d02be_lang.css +0 -1
- package/ChartHeader.vue_vue_type_style_index_0_scoped_d90c583e_lang.css +0 -1
- package/ChartPlane.vue_vue_type_style_index_0_scoped_3c887f7e_lang.css +0 -1
- package/CheckboxV4.vue_vue_type_style_index_0_scoped_af4ae3c3_lang.css +0 -1
- package/ChipV4.vue_vue_type_style_index_0_scoped_a4d3a12e_lang.css +0 -1
- package/ColumnPicker.vue_vue_type_style_index_0_scoped_ea8c7024_lang.css +0 -1
- package/DataGrid.vue_vue_type_style_index_0_scoped_cd41c5ca_lang.css +0 -1
- package/DateRange.vue_vue_type_style_index_0_scoped_70e316e9_lang.css +0 -1
- package/DateRangeV4.vue_vue_type_style_index_0_scoped_a849128a_lang.css +0 -1
- package/DefaultDropdownTrigger.vue_vue_type_style_index_0_scoped_3bc0f416_lang.css +0 -1
- package/DialogV4.vue_vue_type_style_index_0_scoped_cc99f1e3_lang.css +0 -1
- package/DropdownV4.vue_vue_type_style_index_0_scoped_445ebb01_lang.css +0 -1
- package/GroupOption.vue_vue_type_style_index_0_scoped_5f372a81_lang.css +0 -1
- package/IconV4.vue_vue_type_style_index_0_scoped_dc433d48_lang.css +0 -1
- package/InlineCopy.vue_vue_type_style_index_0_scoped_ad48b61e_lang.css +0 -1
- package/Link.vue_vue_type_style_index_0_scoped_1a766750_lang.css +0 -1
- package/MultiBar.vue_vue_type_style_index_0_scoped_71617643_lang.css +0 -1
- package/RadioButtonV4.vue_vue_type_style_index_0_scoped_05c7bca2_lang.css +0 -1
- package/SectionDropdown.vue_vue_type_style_index_0_scoped_cfad60a8_lang.css +0 -1
- package/SnackbarV4.vue_vue_type_style_index_0_scoped_1b650c39_lang.css +0 -1
- package/SwitchV4.vue_vue_type_style_index_0_scoped_cd6621a7_lang.css +0 -1
- package/TextAreaV4.vue_vue_type_style_index_0_scoped_4114ef89_lang.css +0 -1
- package/TextField.vue_vue_type_style_index_0_scoped_3b7a3661_lang.css +0 -1
- package/ToggleButtonGroupAB.vue_vue_type_style_index_0_scoped_2076b5ab_lang.css +0 -1
- package/components/checkbox/v4/icons/CheckedDisabledState.vue.d.ts +0 -29
- package/components/checkbox/v4/icons/CheckedDisabledState.vue.js +0 -45
- package/components/checkbox/v4/icons/CheckedDisabledState.vue2.js +0 -4
- package/components/checkbox/v4/icons/IndeterminateDisabledState.vue.d.ts +0 -2
- package/components/checkbox/v4/icons/IndeterminateDisabledState.vue.js +0 -40
- package/components/checkbox/v4/icons/UncheckedDisabledState.vue.d.ts +0 -2
- package/components/checkbox/v4/icons/UncheckedDisabledState.vue.js +0 -30
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "../../../DataGrid.
|
|
2
|
-
import
|
|
1
|
+
import "../../../DataGrid.vue_vue_type_style_index_0_scoped_0967498f_lang.css"; import { defineComponent as ke, useCssVars as me, unref as t, useSlots as be, computed as u, openBlock as i, createElementBlock as d, createElementVNode as b, normalizeStyle as S, normalizeClass as f, createBlock as I, isRef as ve, createSlots as pe, withCtx as g, renderSlot as r, createCommentVNode as c, Fragment as C, renderList as R, createVNode as k, createTextVNode as M, toDisplayString as O, mergeProps as P } from "vue";
|
|
2
|
+
import L from "../../typography/v4/Typography.vue.js";
|
|
3
3
|
import xe from "../../skeleton/v4/SkeletonV4.vue.js";
|
|
4
4
|
import Ce from "../../emptyState/v4/EmptyStateV4.vue.js";
|
|
5
5
|
import Q from "../../checkbox/v4/CheckboxV4.vue.js";
|
|
@@ -10,17 +10,17 @@ import "./DataGridRowsCounter.vue.js";
|
|
|
10
10
|
import $e from "./DataGridHeader.vue.js";
|
|
11
11
|
import "./DataGridContainer.vue.js";
|
|
12
12
|
import "./MultipleDataGrid.vue.js";
|
|
13
|
-
import { TableTestIdModifiers as
|
|
13
|
+
import { TableTestIdModifiers as $ } from "../../../testids/index.js";
|
|
14
14
|
import { tableCommon as Te } from "../common/Table.common.js";
|
|
15
15
|
import He from "./SortIcon.vue.js";
|
|
16
16
|
import we from "./HelpIcon.vue.js";
|
|
17
17
|
import Ee from "./ExpandRowToggle.vue.js";
|
|
18
18
|
import { DEFAULT_ROW_HEIGHT as Be, CHECKBOX_COLUMN_ID as Ae, DATA_GRID_HEADER_HEIGHT as X, HEADER_ROW_HEIGHT as j } from "../common/consts.js";
|
|
19
19
|
import { useElementSize as Ie } from "@vueuse/core";
|
|
20
|
-
const
|
|
20
|
+
const Me = ["data-testid"], Pe = ["data-testid"], Le = ["data-testid"], Ve = {
|
|
21
21
|
key: 1,
|
|
22
22
|
class: "expand-toggle-cell"
|
|
23
|
-
}, De = ["onClick"], Fe = { class: "table-head-container" }, Ne = {
|
|
23
|
+
}, De = ["onClick", "onMouseenter"], Fe = { class: "table-head-container" }, Ne = {
|
|
24
24
|
key: 0,
|
|
25
25
|
class: "totals-row"
|
|
26
26
|
}, Oe = ["data-testid"], ze = ["onMouseenter", "onClick"], Ge = {
|
|
@@ -69,17 +69,17 @@ const Pe = ["data-testid"], Le = ["data-testid"], Ve = ["data-testid"], Me = {
|
|
|
69
69
|
isSelectionSticky: { type: Boolean, default: !1 },
|
|
70
70
|
isSelectionBordered: { type: Boolean, default: !1 }
|
|
71
71
|
},
|
|
72
|
-
emits: ["update:sort", "update:search", "update:selection", "onScroll", "onClearSearch", "saveRow", "loadMore", "selectAll", "selectRow", "clickRow"],
|
|
73
|
-
setup(l, { expose: m, emit:
|
|
72
|
+
emits: ["update:sort", "update:search", "update:selection", "onScroll", "onClearSearch", "saveRow", "loadMore", "selectAll", "selectRow", "clickRow", "columnHover"],
|
|
73
|
+
setup(l, { expose: m, emit: h }) {
|
|
74
74
|
const a = l;
|
|
75
75
|
me((s) => ({
|
|
76
|
-
"
|
|
77
|
-
"
|
|
78
|
-
"
|
|
79
|
-
"
|
|
76
|
+
"30f420c8": l.zIndexBase,
|
|
77
|
+
"25787d10": t(le),
|
|
78
|
+
"71198c09": t(G),
|
|
79
|
+
"31cbe0b7": t(fe)
|
|
80
80
|
}));
|
|
81
|
-
const
|
|
82
|
-
list:
|
|
81
|
+
const v = be(), q = (s) => a.rowCustomClassKey && a.rows[s] ? a.rows[s][a.rowCustomClassKey] : "", {
|
|
82
|
+
list: p,
|
|
83
83
|
containerProps: z,
|
|
84
84
|
wrapperProps: J,
|
|
85
85
|
activeRow: T,
|
|
@@ -93,15 +93,15 @@ const Pe = ["data-testid"], Le = ["data-testid"], Ve = ["data-testid"], Me = {
|
|
|
93
93
|
hasExpandSlot: w,
|
|
94
94
|
toggleExpandRow: te,
|
|
95
95
|
cssExpandGridCol: le,
|
|
96
|
-
isRowExpanded:
|
|
96
|
+
isRowExpanded: V,
|
|
97
97
|
hasCheckboxes: D,
|
|
98
98
|
activeMenuRow: se,
|
|
99
99
|
scrollTo: ae
|
|
100
|
-
} = Te(a,
|
|
101
|
-
() => a.title ||
|
|
102
|
-
),
|
|
100
|
+
} = Te(a, h), W = u(() => !!v.footer), ie = u(
|
|
101
|
+
() => a.title || v.title || _.value || v["table-header-actions"] || v["table-header-pre-search"]
|
|
102
|
+
), x = u({
|
|
103
103
|
get: () => a.search,
|
|
104
|
-
set: (s) =>
|
|
104
|
+
set: (s) => h("update:search", s)
|
|
105
105
|
}), oe = u(() => a.selection.length || 0), F = u(() => {
|
|
106
106
|
const s = a.rows.map((o, e) => a.getRowId(o, e));
|
|
107
107
|
return !!s.length && s.every((o) => E(o));
|
|
@@ -110,20 +110,20 @@ const Pe = ["data-testid"], Le = ["data-testid"], Ve = ["data-testid"], Me = {
|
|
|
110
110
|
a.selection.filter(
|
|
111
111
|
(o) => !a.selectedMatcher(s, o)
|
|
112
112
|
)
|
|
113
|
-
),
|
|
113
|
+
), h("selectRow", !1)) : (B([...a.selection, s]), h("selectRow", !0));
|
|
114
114
|
}, ne = () => {
|
|
115
115
|
if (F.value)
|
|
116
|
-
B([]),
|
|
116
|
+
B([]), h("selectAll", !1);
|
|
117
117
|
else {
|
|
118
118
|
const s = a.rows.map((o, e) => a.getRowId(o, e)).filter((o) => !E(o));
|
|
119
|
-
B([...a.selection, ...s]),
|
|
119
|
+
B([...a.selection, ...s]), h("selectAll", !0);
|
|
120
120
|
}
|
|
121
121
|
}, B = (s) => {
|
|
122
|
-
|
|
122
|
+
h("update:selection", s);
|
|
123
123
|
}, re = (s) => !a.isLoading && T.value === s, ce = u(
|
|
124
|
-
() => a.emptyStateVariant ?? (
|
|
124
|
+
() => a.emptyStateVariant ?? (x.value ? "no-results" : "no-data")
|
|
125
125
|
), ue = u(
|
|
126
|
-
() => a.emptyStateSubtitle ? a.emptyStateSubtitle :
|
|
126
|
+
() => a.emptyStateSubtitle ? a.emptyStateSubtitle : x.value ? "Search again with different filters" : void 0
|
|
127
127
|
), N = u(() => ({
|
|
128
128
|
class: {
|
|
129
129
|
sticky: a.isSelectionSticky,
|
|
@@ -139,30 +139,31 @@ const Pe = ["data-testid"], Le = ["data-testid"], Ve = ["data-testid"], Me = {
|
|
|
139
139
|
() => a.columns.map((s) => he(s))
|
|
140
140
|
), ye = (s) => ({
|
|
141
141
|
minHeight: (typeof a.rowHeight == "function" ? a.rowHeight(s) : a.rowHeight) + "px"
|
|
142
|
-
}), A = u(() =>
|
|
142
|
+
}), A = u(() => p.value.reduce((s, o) => (s[o.index] = ye(o.index), s), {})), fe = u(() => `${X}px`), { height: Se } = Ie(z.ref), ge = u(
|
|
143
143
|
() => Se.value - j - X
|
|
144
144
|
);
|
|
145
145
|
return m({
|
|
146
146
|
scrollTo: ae
|
|
147
147
|
}), (s, o) => (i(), d("div", {
|
|
148
148
|
class: "table-container",
|
|
149
|
-
"data-testid": `${l.testId}-${t(
|
|
149
|
+
"data-testid": `${l.testId}-${t($).CONTAINER}`,
|
|
150
150
|
onMouseleave: o[3] || (o[3] = (e) => T.value = null)
|
|
151
151
|
}, [
|
|
152
152
|
b("table", {
|
|
153
153
|
ref: t(z).ref,
|
|
154
154
|
style: S(t(ee)),
|
|
155
|
-
class:
|
|
156
|
-
hasFooter: t(W)
|
|
155
|
+
class: f({
|
|
156
|
+
hasFooter: t(W),
|
|
157
|
+
"disabled-scrolling": t(p).length === 0
|
|
157
158
|
}),
|
|
158
|
-
"data-testid": `${l.testId}-${t(
|
|
159
|
+
"data-testid": `${l.testId}-${t($).TABLE}`,
|
|
159
160
|
onScrollPassive: o[2] || (o[2] = //@ts-ignore
|
|
160
161
|
(...e) => t(K) && t(K)(...e))
|
|
161
162
|
}, [
|
|
162
163
|
t(ie) ? (i(), I(t($e), {
|
|
163
164
|
key: 0,
|
|
164
|
-
search: t(
|
|
165
|
-
"onUpdate:search": o[0] || (o[0] = (e) =>
|
|
165
|
+
search: t(x),
|
|
166
|
+
"onUpdate:search": o[0] || (o[0] = (e) => ve(x) ? x.value = e : null),
|
|
166
167
|
title: l.title,
|
|
167
168
|
"is-sticky": l.isStickyHeader,
|
|
168
169
|
"show-search": l.showSearch,
|
|
@@ -170,8 +171,8 @@ const Pe = ["data-testid"], Le = ["data-testid"], Ve = ["data-testid"], Me = {
|
|
|
170
171
|
"search-auto-focus": l.searchAutoFocus,
|
|
171
172
|
"z-index-base": l.zIndexBase,
|
|
172
173
|
"test-id": l.testId,
|
|
173
|
-
onOnClearSearch: o[1] || (o[1] = (e) =>
|
|
174
|
-
},
|
|
174
|
+
onOnClearSearch: o[1] || (o[1] = (e) => h("onClearSearch"))
|
|
175
|
+
}, pe({
|
|
175
176
|
title: g(() => [
|
|
176
177
|
r(s.$slots, "title")
|
|
177
178
|
]),
|
|
@@ -180,14 +181,14 @@ const Pe = ["data-testid"], Le = ["data-testid"], Ve = ["data-testid"], Me = {
|
|
|
180
181
|
]),
|
|
181
182
|
_: 2
|
|
182
183
|
}, [
|
|
183
|
-
t(
|
|
184
|
+
t(v)["table-header-pre-search"] ? {
|
|
184
185
|
name: "table-header-pre-search",
|
|
185
186
|
fn: g(() => [
|
|
186
187
|
r(s.$slots, "table-header-pre-search")
|
|
187
188
|
]),
|
|
188
189
|
key: "0"
|
|
189
190
|
} : void 0,
|
|
190
|
-
t(
|
|
191
|
+
t(v)["table-header-actions"] ? {
|
|
191
192
|
name: "table-header-actions",
|
|
192
193
|
fn: g(() => [
|
|
193
194
|
r(s.$slots, "table-header-actions")
|
|
@@ -196,35 +197,35 @@ const Pe = ["data-testid"], Le = ["data-testid"], Ve = ["data-testid"], Me = {
|
|
|
196
197
|
} : void 0
|
|
197
198
|
]), 1032, ["search", "title", "is-sticky", "show-search", "search-placeholder", "search-auto-focus", "z-index-base", "test-id"])) : c("", !0),
|
|
198
199
|
b("thead", {
|
|
199
|
-
class:
|
|
200
|
+
class: f({ sticky: l.isSticky, isStickyHeader: l.isStickyHeader })
|
|
200
201
|
}, [
|
|
201
202
|
b("div", {
|
|
202
203
|
class: "sections",
|
|
203
|
-
"data-testid": `${l.testId}-${t(
|
|
204
|
+
"data-testid": `${l.testId}-${t($).SECTIONS}`
|
|
204
205
|
}, [
|
|
205
|
-
(i(!0), d(
|
|
206
|
+
(i(!0), d(C, null, R(l.sections, (e) => (i(), d("div", {
|
|
206
207
|
key: e.id,
|
|
207
|
-
class:
|
|
208
|
+
class: f(["section-container", { sticky: e.isSticky }])
|
|
208
209
|
}, [
|
|
209
210
|
r(s.$slots, `section-${e.id}`, {}, () => [
|
|
210
211
|
b("div", {
|
|
211
212
|
style: S({ width: e.width + "px" }),
|
|
212
|
-
class:
|
|
213
|
+
class: f({ section: !0 })
|
|
213
214
|
}, [
|
|
214
|
-
k(t(
|
|
215
|
+
k(t(L), { variant: "body2" }, {
|
|
215
216
|
default: g(() => [
|
|
216
|
-
|
|
217
|
+
M(O(e.title), 1)
|
|
217
218
|
]),
|
|
218
219
|
_: 2
|
|
219
220
|
}, 1024)
|
|
220
221
|
], 4)
|
|
221
222
|
])
|
|
222
223
|
], 2))), 128))
|
|
223
|
-
], 8,
|
|
224
|
+
], 8, Le),
|
|
224
225
|
b("tr", {
|
|
225
226
|
style: S({ height: `${t(j)}px` })
|
|
226
227
|
}, [
|
|
227
|
-
t(D) ? (i(), d("th",
|
|
228
|
+
t(D) ? (i(), d("th", P({
|
|
228
229
|
key: 0,
|
|
229
230
|
class: "checkbox-cell"
|
|
230
231
|
}, t(N)), [
|
|
@@ -237,16 +238,17 @@ const Pe = ["data-testid"], Le = ["data-testid"], Ve = ["data-testid"], Me = {
|
|
|
237
238
|
}, null, 8, ["disabled", "is-checked", "is-indeterminate"])
|
|
238
239
|
])
|
|
239
240
|
], 16)) : c("", !0),
|
|
240
|
-
t(w) ? (i(), d("th",
|
|
241
|
-
(i(!0), d(
|
|
241
|
+
t(w) ? (i(), d("th", Ve)) : c("", !0),
|
|
242
|
+
(i(!0), d(C, null, R(l.columns, (e, y) => (i(), d("th", {
|
|
242
243
|
key: e.id,
|
|
243
|
-
class:
|
|
244
|
-
...t(Y)[
|
|
244
|
+
class: f({
|
|
245
|
+
...t(Y)[y],
|
|
245
246
|
isSortable: e.isSortable,
|
|
246
247
|
[`column-${e.id}`]: !0
|
|
247
248
|
}),
|
|
248
249
|
style: S(e.isSticky ? t(H)[e.id] : null),
|
|
249
|
-
onClick: (n) => e.isSortable ? t(Z)(e) : null
|
|
250
|
+
onClick: (n) => e.isSortable ? t(Z)(e) : null,
|
|
251
|
+
onMouseenter: () => h("columnHover", e)
|
|
250
252
|
}, [
|
|
251
253
|
b("div", Fe, [
|
|
252
254
|
r(s.$slots, `header-${e.id}`, { column: e }, () => [
|
|
@@ -257,14 +259,14 @@ const Pe = ["data-testid"], Le = ["data-testid"], Ve = ["data-testid"], Me = {
|
|
|
257
259
|
"test-id": `help-tooltip-underlined-${e.id}`
|
|
258
260
|
}, {
|
|
259
261
|
default: g(() => [
|
|
260
|
-
k(t(
|
|
262
|
+
k(t(L), {
|
|
261
263
|
variant: "tableLabel",
|
|
262
|
-
class:
|
|
264
|
+
class: f({
|
|
263
265
|
underlined: e.helpText && l.helpTooltipVariant === "underline"
|
|
264
266
|
})
|
|
265
267
|
}, {
|
|
266
268
|
default: g(() => [
|
|
267
|
-
|
|
269
|
+
M(O(e.title), 1)
|
|
268
270
|
]),
|
|
269
271
|
_: 2
|
|
270
272
|
}, 1032, ["class"])
|
|
@@ -284,28 +286,28 @@ const Pe = ["data-testid"], Le = ["data-testid"], Ve = ["data-testid"], Me = {
|
|
|
284
286
|
"sort-order": l.sort.sortOrder
|
|
285
287
|
}, null, 8, ["sort-order"])) : c("", !0)
|
|
286
288
|
])
|
|
287
|
-
],
|
|
289
|
+
], 46, De))), 128))
|
|
288
290
|
], 4),
|
|
289
|
-
l.showTotalsRow && t(
|
|
290
|
-
t(D) ? (i(), d("td",
|
|
291
|
+
l.showTotalsRow && t(p).length > 0 ? (i(), d("tr", Ne, [
|
|
292
|
+
t(D) ? (i(), d("td", P({
|
|
291
293
|
key: 0,
|
|
292
294
|
class: "bg"
|
|
293
295
|
}, t(N)), null, 16)) : c("", !0),
|
|
294
|
-
(i(!0), d(
|
|
296
|
+
(i(!0), d(C, null, R(l.columns, (e, y) => (i(), d("td", {
|
|
295
297
|
key: e.id,
|
|
296
|
-
class:
|
|
297
|
-
...t(Y)[
|
|
298
|
+
class: f({
|
|
299
|
+
...t(Y)[y],
|
|
298
300
|
[`total-${e.id}`]: !0
|
|
299
301
|
}),
|
|
300
302
|
style: S(e.isSticky ? t(H)[e.id] : null)
|
|
301
303
|
}, [
|
|
302
304
|
r(s.$slots, `total-${e.id}`, { column: e }, () => [
|
|
303
|
-
|
|
305
|
+
y === 0 ? (i(), I(t(L), {
|
|
304
306
|
key: 0,
|
|
305
307
|
variant: "h6"
|
|
306
308
|
}, {
|
|
307
309
|
default: g(() => [
|
|
308
|
-
|
|
310
|
+
M("Totals")
|
|
309
311
|
]),
|
|
310
312
|
_: 1
|
|
311
313
|
})) : c("", !0)
|
|
@@ -314,25 +316,25 @@ const Pe = ["data-testid"], Le = ["data-testid"], Ve = ["data-testid"], Me = {
|
|
|
314
316
|
])) : c("", !0)
|
|
315
317
|
], 2),
|
|
316
318
|
b("tbody", null, [
|
|
317
|
-
t(
|
|
319
|
+
t(p).length > 0 ? (i(), d("div", P({
|
|
318
320
|
key: 0,
|
|
319
321
|
class: "table-body-wrapper",
|
|
320
|
-
"data-testid": `${l.testId}-${t(
|
|
322
|
+
"data-testid": `${l.testId}-${t($).BODY_WRAPPER}`
|
|
321
323
|
}, t(J)), [
|
|
322
|
-
(i(!0), d(
|
|
324
|
+
(i(!0), d(C, null, R(t(p), (e) => (i(), d("tr", {
|
|
323
325
|
key: l.getRowKey(e.data, e.index),
|
|
324
|
-
class:
|
|
326
|
+
class: f(["table-row", {
|
|
325
327
|
loading: l.isLoading || l.isLoading && !e.data || t(U).includes(e.index),
|
|
326
328
|
active: t(T) === e.index,
|
|
327
329
|
activeMenu: t(se) === e.index,
|
|
328
|
-
expanded: t(w) && t(
|
|
330
|
+
expanded: t(w) && t(V)(e.index),
|
|
329
331
|
[q(e.index)]: !0
|
|
330
332
|
}]),
|
|
331
333
|
style: S(t(A)[e.index]),
|
|
332
|
-
onMouseenter: (
|
|
333
|
-
onClick: (
|
|
334
|
+
onMouseenter: (y) => T.value = e.index,
|
|
335
|
+
onClick: (y) => h("clickRow", e.index)
|
|
334
336
|
}, [
|
|
335
|
-
t(D) ? (i(), d("td",
|
|
337
|
+
t(D) ? (i(), d("td", P({
|
|
336
338
|
key: 0,
|
|
337
339
|
class: "checkbox-cell"
|
|
338
340
|
}, t(N), {
|
|
@@ -340,7 +342,7 @@ const Pe = ["data-testid"], Le = ["data-testid"], Ve = ["data-testid"], Me = {
|
|
|
340
342
|
}), [
|
|
341
343
|
k(t(Q), {
|
|
342
344
|
"is-checked": E(l.getRowId(e.data, e.index)),
|
|
343
|
-
"onUpdate:isChecked": (
|
|
345
|
+
"onUpdate:isChecked": (y) => de(l.getRowId(e.data, e.index))
|
|
344
346
|
}, null, 8, ["is-checked", "onUpdate:isChecked"])
|
|
345
347
|
], 16)) : c("", !0),
|
|
346
348
|
t(w) ? (i(), d("td", {
|
|
@@ -349,13 +351,13 @@ const Pe = ["data-testid"], Le = ["data-testid"], Ve = ["data-testid"], Me = {
|
|
|
349
351
|
style: S(t(A)[e.index])
|
|
350
352
|
}, [
|
|
351
353
|
k(Ee, {
|
|
352
|
-
expanded: t(
|
|
353
|
-
onClick: (
|
|
354
|
+
expanded: t(V)(e.index),
|
|
355
|
+
onClick: (y) => t(te)(e.index, y)
|
|
354
356
|
}, null, 8, ["expanded", "onClick"])
|
|
355
357
|
], 4)) : c("", !0),
|
|
356
|
-
(i(!0), d(
|
|
358
|
+
(i(!0), d(C, null, R(l.columns, (y, n) => (i(), d("td", {
|
|
357
359
|
key: n,
|
|
358
|
-
class:
|
|
360
|
+
class: f({
|
|
359
361
|
sticky: l.columns[n].isSticky,
|
|
360
362
|
isStickyRight: l.columns[n].isStickyRight,
|
|
361
363
|
bordered: l.columns[n].isBordered,
|
|
@@ -369,7 +371,7 @@ const Pe = ["data-testid"], Le = ["data-testid"], Ve = ["data-testid"], Me = {
|
|
|
369
371
|
}, [
|
|
370
372
|
!l.isLoading || l.isLoading && e.data[n] ? (i(), d("div", {
|
|
371
373
|
key: 0,
|
|
372
|
-
class:
|
|
374
|
+
class: f(["table-cell", { last: n === e.data.length - 1 }])
|
|
373
375
|
}, [
|
|
374
376
|
r(s.$slots, `cell-${l.columns[n].id}`, {
|
|
375
377
|
cell: e.data[n],
|
|
@@ -378,9 +380,9 @@ const Pe = ["data-testid"], Le = ["data-testid"], Ve = ["data-testid"], Me = {
|
|
|
378
380
|
row: e,
|
|
379
381
|
rowIndex: e.index
|
|
380
382
|
}, () => [
|
|
381
|
-
k(t(
|
|
383
|
+
k(t(L), { variant: "body1" }, {
|
|
382
384
|
default: g(() => [
|
|
383
|
-
|
|
385
|
+
M(O(e.data[n]), 1)
|
|
384
386
|
]),
|
|
385
387
|
_: 2
|
|
386
388
|
}, 1024)
|
|
@@ -389,7 +391,7 @@ const Pe = ["data-testid"], Le = ["data-testid"], Ve = ["data-testid"], Me = {
|
|
|
389
391
|
k(t(xe), { round: "" })
|
|
390
392
|
])
|
|
391
393
|
], 6))), 128)),
|
|
392
|
-
t(w) && t(
|
|
394
|
+
t(w) && t(V)(e.index) ? (i(), d("div", Ge, [
|
|
393
395
|
r(s.$slots, "expanded", {
|
|
394
396
|
row: e,
|
|
395
397
|
gridColumnTemplate: t(G)
|
|
@@ -415,16 +417,16 @@ const Pe = ["data-testid"], Le = ["data-testid"], Ve = ["data-testid"], Me = {
|
|
|
415
417
|
subtitle: t(ue),
|
|
416
418
|
variant: t(ce),
|
|
417
419
|
"icon-name": "file-search",
|
|
418
|
-
"test-id": `${l.testId}-${t(
|
|
420
|
+
"test-id": `${l.testId}-${t($).EMPTY_STATE}`
|
|
419
421
|
}, null, 8, ["title", "subtitle", "variant", "test-id"])
|
|
420
422
|
])
|
|
421
423
|
], 4))
|
|
422
424
|
])
|
|
423
|
-
], 46,
|
|
425
|
+
], 46, Pe),
|
|
424
426
|
t(W) ? (i(), d("div", Ue, [
|
|
425
427
|
r(s.$slots, "footer")
|
|
426
428
|
])) : c("", !0)
|
|
427
|
-
], 40,
|
|
429
|
+
], 40, Me));
|
|
428
430
|
}
|
|
429
431
|
});
|
|
430
432
|
export {
|
|
@@ -567,6 +567,7 @@ declare const DataGridTypes: () => (import("vue").DefineComponent<{
|
|
|
567
567
|
onOnClearSearch?: () => any;
|
|
568
568
|
onClickRow?: (rowIndex: number) => any;
|
|
569
569
|
onSelectRow?: (value: boolean) => any;
|
|
570
|
+
onColumnHover?: (column: import("../common/Table.types").Column) => any;
|
|
570
571
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "sort" | "title" | "search" | "testId" | "isLoading" | "searchAutoFocus" | "searchPlaceholder" | "selection" | "loadingRowCount" | "zIndexBase" | "showSearch" | "emptyStateTitle" | "isSticky" | "sections" | "isStickyHeader" | "emptyStateSubtitle" | "isInfiniteScroll" | "infiniteScrollThreshold" | "rowHeight" | "defaultScrollPosition" | "getRowId" | "getRowKey" | "emptyStateVariant" | "rowCustomClassKey" | "rowDataKey" | "helpTooltipVariant" | "useAvailableHeight" | "selectedMatcher" | "isSelectionSticky" | "isSelectionBordered">;
|
|
571
572
|
$attrs: {
|
|
572
573
|
[x: string]: unknown;
|
|
@@ -579,7 +580,7 @@ declare const DataGridTypes: () => (import("vue").DefineComponent<{
|
|
|
579
580
|
}>;
|
|
580
581
|
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
|
|
581
582
|
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
|
|
582
|
-
$emit: ((event: "onScroll", event: Event) => void) & ((event: "selectAll", value: boolean) => void) & ((event: "loadMore") => void) & ((event: "onClearSearch") => void) & ((event: "update:selection", selection: unknown[]) => void) & ((event: "update:search", query: string) => void) & ((event: "update:sort", newSort: import("../common/Table.types").Sort) => void) & ((event: "saveRow", args_0: import("../common/Table.types").SaveRowEvent) => void) & ((event: "clickRow", rowIndex: number) => void) & ((event: "selectRow", value: boolean) => void);
|
|
583
|
+
$emit: ((event: "onScroll", event: Event) => void) & ((event: "selectAll", value: boolean) => void) & ((event: "loadMore") => void) & ((event: "onClearSearch") => void) & ((event: "update:selection", selection: unknown[]) => void) & ((event: "update:search", query: string) => void) & ((event: "update:sort", newSort: import("../common/Table.types").Sort) => void) & ((event: "saveRow", args_0: import("../common/Table.types").SaveRowEvent) => void) & ((event: "clickRow", rowIndex: number) => void) & ((event: "selectRow", value: boolean) => void) & ((event: "columnHover", column: import("../common/Table.types").Column) => void);
|
|
583
584
|
$el: any;
|
|
584
585
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
585
586
|
sort: {
|
|
@@ -724,6 +725,7 @@ declare const DataGridTypes: () => (import("vue").DefineComponent<{
|
|
|
724
725
|
onOnClearSearch?: () => any;
|
|
725
726
|
onClickRow?: (rowIndex: number) => any;
|
|
726
727
|
onSelectRow?: (value: boolean) => any;
|
|
728
|
+
onColumnHover?: (column: import("../common/Table.types").Column) => any;
|
|
727
729
|
}, {
|
|
728
730
|
scrollTo: (index: number) => void;
|
|
729
731
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
@@ -737,6 +739,7 @@ declare const DataGridTypes: () => (import("vue").DefineComponent<{
|
|
|
737
739
|
selectAll: (value: boolean) => void;
|
|
738
740
|
selectRow: (value: boolean) => void;
|
|
739
741
|
clickRow: (rowIndex: number) => void;
|
|
742
|
+
columnHover: (column: import("../common/Table.types").Column) => void;
|
|
740
743
|
}, string, {
|
|
741
744
|
sort: import("../common/Table.types").Sort;
|
|
742
745
|
title: string;
|
|
@@ -931,6 +934,7 @@ declare const DataGridTypes: () => (import("vue").DefineComponent<{
|
|
|
931
934
|
onOnClearSearch?: () => any;
|
|
932
935
|
onClickRow?: (rowIndex: number) => any;
|
|
933
936
|
onSelectRow?: (value: boolean) => any;
|
|
937
|
+
onColumnHover?: (column: import("../common/Table.types").Column) => any;
|
|
934
938
|
} & import("vue").ShallowUnwrapRef<{
|
|
935
939
|
scrollTo: (index: number) => void;
|
|
936
940
|
}> & {} & import("vue").ComponentCustomProperties & {};
|
|
@@ -1080,6 +1084,7 @@ declare const DataGridTypes: () => (import("vue").DefineComponent<{
|
|
|
1080
1084
|
onOnClearSearch?: () => any;
|
|
1081
1085
|
onClickRow?: (rowIndex: number) => any;
|
|
1082
1086
|
onSelectRow?: (value: boolean) => any;
|
|
1087
|
+
onColumnHover?: (column: import("../common/Table.types").Column) => any;
|
|
1083
1088
|
}, {
|
|
1084
1089
|
scrollTo: (index: number) => void;
|
|
1085
1090
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
@@ -1093,6 +1098,7 @@ declare const DataGridTypes: () => (import("vue").DefineComponent<{
|
|
|
1093
1098
|
selectAll: (value: boolean) => void;
|
|
1094
1099
|
selectRow: (value: boolean) => void;
|
|
1095
1100
|
clickRow: (rowIndex: number) => void;
|
|
1101
|
+
columnHover: (column: import("../common/Table.types").Column) => void;
|
|
1096
1102
|
}, string, {
|
|
1097
1103
|
sort: import("../common/Table.types").Sort;
|
|
1098
1104
|
title: string;
|
|
@@ -24,9 +24,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
24
24
|
validateFunction: () => false;
|
|
25
25
|
}>>>, {
|
|
26
26
|
cell: string;
|
|
27
|
+
isLoading: boolean;
|
|
27
28
|
isEditing: boolean;
|
|
28
29
|
validateFunction: (value: unknown) => string | boolean;
|
|
29
|
-
isLoading: boolean;
|
|
30
30
|
}>, {
|
|
31
31
|
input?(_: {}): any;
|
|
32
32
|
content?(_: {}): any;
|
|
@@ -4,14 +4,18 @@ declare const EditableTypes: () => (import("vue").InjectionKey<import("../common
|
|
|
4
4
|
$data: {};
|
|
5
5
|
$props: Partial<{
|
|
6
6
|
cell: string;
|
|
7
|
+
isLoading: boolean;
|
|
7
8
|
isEditing: boolean;
|
|
8
9
|
validateFunction: (value: unknown) => string | boolean;
|
|
9
|
-
isLoading: boolean;
|
|
10
10
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
11
11
|
cell: {
|
|
12
12
|
type: import("vue").PropType<string>;
|
|
13
13
|
default: string;
|
|
14
14
|
};
|
|
15
|
+
isLoading: {
|
|
16
|
+
type: import("vue").PropType<boolean>;
|
|
17
|
+
default: boolean;
|
|
18
|
+
};
|
|
15
19
|
isEditing: {
|
|
16
20
|
type: import("vue").PropType<boolean>;
|
|
17
21
|
default: boolean;
|
|
@@ -20,10 +24,6 @@ declare const EditableTypes: () => (import("vue").InjectionKey<import("../common
|
|
|
20
24
|
type: import("vue").PropType<(value: unknown) => string | boolean>;
|
|
21
25
|
default: () => false;
|
|
22
26
|
};
|
|
23
|
-
isLoading: {
|
|
24
|
-
type: import("vue").PropType<boolean>;
|
|
25
|
-
default: boolean;
|
|
26
|
-
};
|
|
27
27
|
rowIndex: {
|
|
28
28
|
type: import("vue").PropType<number>;
|
|
29
29
|
required: true;
|
|
@@ -32,7 +32,7 @@ declare const EditableTypes: () => (import("vue").InjectionKey<import("../common
|
|
|
32
32
|
type: import("vue").PropType<number>;
|
|
33
33
|
required: true;
|
|
34
34
|
};
|
|
35
|
-
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "cell" | "
|
|
35
|
+
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "cell" | "isLoading" | "isEditing" | "validateFunction">;
|
|
36
36
|
$attrs: {
|
|
37
37
|
[x: string]: unknown;
|
|
38
38
|
};
|
|
@@ -51,6 +51,10 @@ declare const EditableTypes: () => (import("vue").InjectionKey<import("../common
|
|
|
51
51
|
type: import("vue").PropType<string>;
|
|
52
52
|
default: string;
|
|
53
53
|
};
|
|
54
|
+
isLoading: {
|
|
55
|
+
type: import("vue").PropType<boolean>;
|
|
56
|
+
default: boolean;
|
|
57
|
+
};
|
|
54
58
|
isEditing: {
|
|
55
59
|
type: import("vue").PropType<boolean>;
|
|
56
60
|
default: boolean;
|
|
@@ -59,10 +63,6 @@ declare const EditableTypes: () => (import("vue").InjectionKey<import("../common
|
|
|
59
63
|
type: import("vue").PropType<(value: unknown) => string | boolean>;
|
|
60
64
|
default: () => false;
|
|
61
65
|
};
|
|
62
|
-
isLoading: {
|
|
63
|
-
type: import("vue").PropType<boolean>;
|
|
64
|
-
default: boolean;
|
|
65
|
-
};
|
|
66
66
|
rowIndex: {
|
|
67
67
|
type: import("vue").PropType<number>;
|
|
68
68
|
required: true;
|
|
@@ -73,9 +73,9 @@ declare const EditableTypes: () => (import("vue").InjectionKey<import("../common
|
|
|
73
73
|
};
|
|
74
74
|
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
75
75
|
cell: string;
|
|
76
|
+
isLoading: boolean;
|
|
76
77
|
isEditing: boolean;
|
|
77
78
|
validateFunction: (value: unknown) => string | boolean;
|
|
78
|
-
isLoading: boolean;
|
|
79
79
|
}, {}, string> & {
|
|
80
80
|
beforeCreate?: (() => void) | (() => void)[];
|
|
81
81
|
created?: (() => void) | (() => void)[];
|
|
@@ -101,6 +101,10 @@ declare const EditableTypes: () => (import("vue").InjectionKey<import("../common
|
|
|
101
101
|
type: import("vue").PropType<string>;
|
|
102
102
|
default: string;
|
|
103
103
|
};
|
|
104
|
+
isLoading: {
|
|
105
|
+
type: import("vue").PropType<boolean>;
|
|
106
|
+
default: boolean;
|
|
107
|
+
};
|
|
104
108
|
isEditing: {
|
|
105
109
|
type: import("vue").PropType<boolean>;
|
|
106
110
|
default: boolean;
|
|
@@ -109,10 +113,6 @@ declare const EditableTypes: () => (import("vue").InjectionKey<import("../common
|
|
|
109
113
|
type: import("vue").PropType<(value: unknown) => string | boolean>;
|
|
110
114
|
default: () => false;
|
|
111
115
|
};
|
|
112
|
-
isLoading: {
|
|
113
|
-
type: import("vue").PropType<boolean>;
|
|
114
|
-
default: boolean;
|
|
115
|
-
};
|
|
116
116
|
rowIndex: {
|
|
117
117
|
type: import("vue").PropType<number>;
|
|
118
118
|
required: true;
|
|
@@ -130,6 +130,10 @@ declare const EditableTypes: () => (import("vue").InjectionKey<import("../common
|
|
|
130
130
|
type: import("vue").PropType<string>;
|
|
131
131
|
default: string;
|
|
132
132
|
};
|
|
133
|
+
isLoading: {
|
|
134
|
+
type: import("vue").PropType<boolean>;
|
|
135
|
+
default: boolean;
|
|
136
|
+
};
|
|
133
137
|
isEditing: {
|
|
134
138
|
type: import("vue").PropType<boolean>;
|
|
135
139
|
default: boolean;
|
|
@@ -138,10 +142,6 @@ declare const EditableTypes: () => (import("vue").InjectionKey<import("../common
|
|
|
138
142
|
type: import("vue").PropType<(value: unknown) => string | boolean>;
|
|
139
143
|
default: () => false;
|
|
140
144
|
};
|
|
141
|
-
isLoading: {
|
|
142
|
-
type: import("vue").PropType<boolean>;
|
|
143
|
-
default: boolean;
|
|
144
|
-
};
|
|
145
145
|
rowIndex: {
|
|
146
146
|
type: import("vue").PropType<number>;
|
|
147
147
|
required: true;
|
|
@@ -152,9 +152,9 @@ declare const EditableTypes: () => (import("vue").InjectionKey<import("../common
|
|
|
152
152
|
};
|
|
153
153
|
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
154
154
|
cell: string;
|
|
155
|
+
isLoading: boolean;
|
|
155
156
|
isEditing: boolean;
|
|
156
157
|
validateFunction: (value: unknown) => string | boolean;
|
|
157
|
-
isLoading: boolean;
|
|
158
158
|
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
159
159
|
$slots: {
|
|
160
160
|
input?(_: {}): any;
|
|
@@ -37,10 +37,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
37
37
|
}>>>, {
|
|
38
38
|
type: "input" | "dropdown";
|
|
39
39
|
cell: string;
|
|
40
|
+
isLoading: boolean;
|
|
40
41
|
withIcons: boolean;
|
|
41
42
|
saveOnClickOutside: boolean;
|
|
42
43
|
validateFunction: (value: unknown) => string | boolean;
|
|
43
|
-
isLoading: boolean;
|
|
44
44
|
displayValue: (option: unknown) => unknown;
|
|
45
45
|
}>, {
|
|
46
46
|
input?(_: {}): any;
|