@hinen/pro-element-plus 1.0.1 → 1.0.3
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/dist/components/CheckboxGroup/CheckboxGroup.vue.d.ts +9 -9
- package/dist/components/CheckboxGroup/CheckboxGroup.vue.d.ts.map +1 -1
- package/dist/components/CheckboxGroup/props.d.ts +4 -4
- package/dist/components/CheckboxGroup/props.d.ts.map +1 -1
- package/dist/components/DataSelect/DataSelect.vue.d.ts +57 -57
- package/dist/components/DataSelect/DataSelect.vue.d.ts.map +1 -1
- package/dist/components/DataSelect/props.d.ts +24 -24
- package/dist/components/DataSelect/props.d.ts.map +1 -1
- package/dist/components/DataTable/DataTable.vue.d.ts +63 -63
- package/dist/components/DataTable/DataTable.vue.d.ts.map +1 -1
- package/dist/components/DataTable/defineDataTableColumns.d.ts +1 -2
- package/dist/components/DataTable/defineDataTableColumns.d.ts.map +1 -1
- package/dist/components/DataTable/props.d.ts +21 -21
- package/dist/components/DataTable/props.d.ts.map +1 -1
- package/dist/components/DataTable/types.d.ts +11 -7
- package/dist/components/DataTable/types.d.ts.map +1 -1
- package/dist/components/DataTable/useDataTable.d.ts +4 -4
- package/dist/components/FormFields/FormCascadeSelect/FormCascadeSelect.vue.d.ts +576 -568
- package/dist/components/FormFields/FormCascadeSelect/FormCascadeSelect.vue.d.ts.map +1 -1
- package/dist/components/FormFields/FormCascadeSelect/props.d.ts +55 -51
- package/dist/components/FormFields/FormCascadeSelect/props.d.ts.map +1 -1
- package/dist/components/FormFields/FormCheckboxGroup/FormCheckboxGroup.vue.d.ts +145 -136
- package/dist/components/FormFields/FormCheckboxGroup/FormCheckboxGroup.vue.d.ts.map +1 -1
- package/dist/components/FormFields/FormCheckboxGroup/props.d.ts +23 -19
- package/dist/components/FormFields/FormCheckboxGroup/props.d.ts.map +1 -1
- package/dist/components/FormFields/FormDatePicker/FormDatePicker.vue.d.ts +254 -246
- package/dist/components/FormFields/FormDatePicker/FormDatePicker.vue.d.ts.map +1 -1
- package/dist/components/FormFields/FormDatePicker/props.d.ts +65 -61
- package/dist/components/FormFields/FormDatePicker/props.d.ts.map +1 -1
- package/dist/components/FormFields/FormItem/FormItem.vue.d.ts +23 -23
- package/dist/components/FormFields/FormItem/FormItem.vue.d.ts.map +1 -1
- package/dist/components/FormFields/FormItem/props.d.ts +9 -9
- package/dist/components/FormFields/FormItem/props.d.ts.map +1 -1
- package/dist/components/FormFields/FormNumber/FormNumber.vue.d.ts +234 -225
- package/dist/components/FormFields/FormNumber/FormNumber.vue.d.ts.map +1 -1
- package/dist/components/FormFields/FormNumber/props.d.ts +33 -29
- package/dist/components/FormFields/FormNumber/props.d.ts.map +1 -1
- package/dist/components/FormFields/FormRadioGroup/FormRadioGroup.vue.d.ts +159 -150
- package/dist/components/FormFields/FormRadioGroup/FormRadioGroup.vue.d.ts.map +1 -1
- package/dist/components/FormFields/FormRadioGroup/props.d.ts +28 -24
- package/dist/components/FormFields/FormRadioGroup/props.d.ts.map +1 -1
- package/dist/components/FormFields/FormRate/FormRate.vue.d.ts +276 -268
- package/dist/components/FormFields/FormRate/FormRate.vue.d.ts.map +1 -1
- package/dist/components/FormFields/FormRate/props.d.ts +45 -41
- package/dist/components/FormFields/FormRate/props.d.ts.map +1 -1
- package/dist/components/FormFields/FormSelect/FormSelect.vue.d.ts +251 -245
- package/dist/components/FormFields/FormSelect/FormSelect.vue.d.ts.map +1 -1
- package/dist/components/FormFields/FormSelect/props.d.ts +66 -63
- package/dist/components/FormFields/FormSelect/props.d.ts.map +1 -1
- package/dist/components/FormFields/FormSwitch/FormSwitch.vue.d.ts +304 -295
- package/dist/components/FormFields/FormSwitch/FormSwitch.vue.d.ts.map +1 -1
- package/dist/components/FormFields/FormSwitch/props.d.ts +43 -39
- package/dist/components/FormFields/FormSwitch/props.d.ts.map +1 -1
- package/dist/components/FormFields/FormTagInput/FormTagInput.vue.d.ts +298 -290
- package/dist/components/FormFields/FormTagInput/FormTagInput.vue.d.ts.map +1 -1
- package/dist/components/FormFields/FormTagInput/props.d.ts +39 -35
- package/dist/components/FormFields/FormTagInput/props.d.ts.map +1 -1
- package/dist/components/FormFields/FormText/FormText.vue.d.ts +298 -290
- package/dist/components/FormFields/FormText/FormText.vue.d.ts.map +1 -1
- package/dist/components/FormFields/FormText/props.d.ts +53 -49
- package/dist/components/FormFields/FormText/props.d.ts.map +1 -1
- package/dist/components/FormFields/FormTimePicker/FormTimePicker.vue.d.ts +253 -245
- package/dist/components/FormFields/FormTimePicker/FormTimePicker.vue.d.ts.map +1 -1
- package/dist/components/FormFields/FormTimePicker/props.d.ts +65 -61
- package/dist/components/FormFields/FormTimePicker/props.d.ts.map +1 -1
- package/dist/components/FormFields/FormTreeSelect/FormTreeSelect.vue.d.ts +99 -95
- package/dist/components/FormFields/FormTreeSelect/FormTreeSelect.vue.d.ts.map +1 -1
- package/dist/components/FormFields/FormTreeSelect/props.d.ts +15 -11
- package/dist/components/FormFields/FormTreeSelect/props.d.ts.map +1 -1
- package/dist/components/FormFields/utils.d.ts +14 -10
- package/dist/components/FormFields/utils.d.ts.map +1 -1
- package/dist/components/Modal/Modal.vue.d.ts +33 -33
- package/dist/components/Modal/Modal.vue.d.ts.map +1 -1
- package/dist/components/Modal/props.d.ts +16 -16
- package/dist/components/Modal/props.d.ts.map +1 -1
- package/dist/components/QueryForm/QueryForm.vue.d.ts +28 -28
- package/dist/components/QueryForm/QueryForm.vue.d.ts.map +1 -1
- package/dist/components/QueryForm/props.d.ts +20 -14
- package/dist/components/QueryForm/props.d.ts.map +1 -1
- package/dist/components/RadioGroup/RadioGroup.vue.d.ts +16 -16
- package/dist/components/RadioGroup/RadioGroup.vue.d.ts.map +1 -1
- package/dist/components/RadioGroup/props.d.ts +7 -7
- package/dist/components/RadioGroup/props.d.ts.map +1 -1
- package/dist/components/Select/Select.vue.d.ts +57 -57
- package/dist/components/Select/Select.vue.d.ts.map +1 -1
- package/dist/components/Select/props.d.ts +24 -24
- package/dist/components/Select/props.d.ts.map +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.js +18 -12
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { DataTableColumnType, DataTableSlotsType } from './types';
|
|
2
2
|
import { TableInstance } from 'element-plus';
|
|
3
|
-
import {
|
|
3
|
+
import { QueryFormInstanceType } from '../QueryForm';
|
|
4
4
|
|
|
5
5
|
declare function __VLS_template(): Readonly<DataTableSlotsType> & DataTableSlotsType;
|
|
6
6
|
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
@@ -16,8 +16,8 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
16
16
|
default: boolean;
|
|
17
17
|
};
|
|
18
18
|
form: {
|
|
19
|
-
type: import('vue').PropType<Partial<import('
|
|
20
|
-
default: () => Partial<import('
|
|
19
|
+
type: import('vue').PropType<Partial<import('../QueryForm').QueryFormPropsType>>;
|
|
20
|
+
default: () => Partial<import('../QueryForm').QueryFormPropsType>;
|
|
21
21
|
};
|
|
22
22
|
pagination: {
|
|
23
23
|
type: import('vue').PropType<false | Partial<import('element-plus').PaginationProps>>;
|
|
@@ -28,7 +28,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
28
28
|
default: () => import('./types').DataTableToolbarPropsType;
|
|
29
29
|
};
|
|
30
30
|
columns: {
|
|
31
|
-
type: import('vue').PropType<import('vue').MaybeRefOrGetter<DataTableColumnType<
|
|
31
|
+
type: import('vue').PropType<import('vue').MaybeRefOrGetter<DataTableColumnType<any>[]>>;
|
|
32
32
|
default: () => never[];
|
|
33
33
|
};
|
|
34
34
|
forceRefetchOnSearch: {
|
|
@@ -40,23 +40,23 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
40
40
|
default: boolean;
|
|
41
41
|
};
|
|
42
42
|
gcTime: {
|
|
43
|
-
type: import('vue').PropType<import('@pinia/colada').UseQueryOptions["gcTime"]>;
|
|
43
|
+
type: import('vue').PropType<import('@pinia/colada/index').UseQueryOptions["gcTime"]>;
|
|
44
44
|
default: number;
|
|
45
45
|
};
|
|
46
46
|
refetchOnMount: {
|
|
47
|
-
type: import('vue').PropType<import('@pinia/colada').UseQueryOptions["refetchOnMount"]>;
|
|
47
|
+
type: import('vue').PropType<import('@pinia/colada/index').UseQueryOptions["refetchOnMount"]>;
|
|
48
48
|
default: boolean;
|
|
49
49
|
};
|
|
50
50
|
refetchOnReconnect: {
|
|
51
|
-
type: import('vue').PropType<import('@pinia/colada').UseQueryOptions["refetchOnReconnect"]>;
|
|
51
|
+
type: import('vue').PropType<import('@pinia/colada/index').UseQueryOptions["refetchOnReconnect"]>;
|
|
52
52
|
default: boolean;
|
|
53
53
|
};
|
|
54
54
|
refetchOnWindowFocus: {
|
|
55
|
-
type: import('vue').PropType<import('@pinia/colada').UseQueryOptions["refetchOnWindowFocus"]>;
|
|
55
|
+
type: import('vue').PropType<import('@pinia/colada/index').UseQueryOptions["refetchOnWindowFocus"]>;
|
|
56
56
|
default: boolean;
|
|
57
57
|
};
|
|
58
58
|
staleTime: {
|
|
59
|
-
type: import('vue').PropType<import('@pinia/colada').UseQueryOptions["staleTime"]>;
|
|
59
|
+
type: import('vue').PropType<import('@pinia/colada/index').UseQueryOptions["staleTime"]>;
|
|
60
60
|
default: number;
|
|
61
61
|
};
|
|
62
62
|
initialData: import('vue').PropType<import('./types').DataTableQueryInitialDataType>;
|
|
@@ -64,7 +64,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
64
64
|
queryFn: import('vue').PropType<import('./types').DataTableQueryFnType>;
|
|
65
65
|
placeholderData: import('vue').PropType<import('./types').DataTableQueryPlaceholderDataType>;
|
|
66
66
|
size: {
|
|
67
|
-
readonly type: import('vue').PropType<import('element-plus/es/utils
|
|
67
|
+
readonly type: import('vue').PropType<import('element-plus/es/utils').EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never>>;
|
|
68
68
|
readonly required: false;
|
|
69
69
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
70
70
|
__epPropKey: true;
|
|
@@ -78,31 +78,31 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
78
78
|
};
|
|
79
79
|
stripe: BooleanConstructor;
|
|
80
80
|
border: BooleanConstructor;
|
|
81
|
-
rowKey: import('vue').PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults
|
|
81
|
+
rowKey: import('vue').PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults').DefaultRow>["rowKey"]>;
|
|
82
82
|
showHeader: {
|
|
83
83
|
type: BooleanConstructor;
|
|
84
84
|
default: boolean;
|
|
85
85
|
};
|
|
86
86
|
showSummary: BooleanConstructor;
|
|
87
87
|
sumText: StringConstructor;
|
|
88
|
-
summaryMethod: import('vue').PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults
|
|
89
|
-
rowClassName: import('vue').PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults
|
|
90
|
-
rowStyle: import('vue').PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults
|
|
91
|
-
cellClassName: import('vue').PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults
|
|
92
|
-
cellStyle: import('vue').PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults
|
|
93
|
-
headerRowClassName: import('vue').PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults
|
|
94
|
-
headerRowStyle: import('vue').PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults
|
|
95
|
-
headerCellClassName: import('vue').PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults
|
|
96
|
-
headerCellStyle: import('vue').PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults
|
|
88
|
+
summaryMethod: import('vue').PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults').DefaultRow>["summaryMethod"]>;
|
|
89
|
+
rowClassName: import('vue').PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults').DefaultRow>["rowClassName"]>;
|
|
90
|
+
rowStyle: import('vue').PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults').DefaultRow>["rowStyle"]>;
|
|
91
|
+
cellClassName: import('vue').PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults').DefaultRow>["cellClassName"]>;
|
|
92
|
+
cellStyle: import('vue').PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults').DefaultRow>["cellStyle"]>;
|
|
93
|
+
headerRowClassName: import('vue').PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults').DefaultRow>["headerRowClassName"]>;
|
|
94
|
+
headerRowStyle: import('vue').PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults').DefaultRow>["headerRowStyle"]>;
|
|
95
|
+
headerCellClassName: import('vue').PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults').DefaultRow>["headerCellClassName"]>;
|
|
96
|
+
headerCellStyle: import('vue').PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults').DefaultRow>["headerCellStyle"]>;
|
|
97
97
|
highlightCurrentRow: BooleanConstructor;
|
|
98
98
|
currentRowKey: (NumberConstructor | StringConstructor)[];
|
|
99
99
|
emptyText: StringConstructor;
|
|
100
|
-
expandRowKeys: import('vue').PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults
|
|
100
|
+
expandRowKeys: import('vue').PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults').DefaultRow>["expandRowKeys"]>;
|
|
101
101
|
defaultExpandAll: BooleanConstructor;
|
|
102
|
-
defaultSort: import('vue').PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults
|
|
102
|
+
defaultSort: import('vue').PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults').DefaultRow>["defaultSort"]>;
|
|
103
103
|
tooltipEffect: StringConstructor;
|
|
104
|
-
tooltipOptions: import('vue').PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults
|
|
105
|
-
spanMethod: import('vue').PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults
|
|
104
|
+
tooltipOptions: import('vue').PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults').DefaultRow>["tooltipOptions"]>;
|
|
105
|
+
spanMethod: import('vue').PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults').DefaultRow>["spanMethod"]>;
|
|
106
106
|
selectOnIndeterminate: {
|
|
107
107
|
type: BooleanConstructor;
|
|
108
108
|
default: boolean;
|
|
@@ -112,7 +112,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
112
112
|
default: number;
|
|
113
113
|
};
|
|
114
114
|
treeProps: {
|
|
115
|
-
type: import('vue').PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults
|
|
115
|
+
type: import('vue').PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults').DefaultRow>["treeProps"]>;
|
|
116
116
|
default: () => {
|
|
117
117
|
hasChildren: string;
|
|
118
118
|
children: string;
|
|
@@ -120,7 +120,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
120
120
|
};
|
|
121
121
|
};
|
|
122
122
|
lazy: BooleanConstructor;
|
|
123
|
-
load: import('vue').PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults
|
|
123
|
+
load: import('vue').PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults').DefaultRow>["load"]>;
|
|
124
124
|
style: {
|
|
125
125
|
type: import('vue').PropType<import('vue').CSSProperties>;
|
|
126
126
|
default: () => {};
|
|
@@ -135,8 +135,8 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
135
135
|
};
|
|
136
136
|
scrollbarAlwaysOn: BooleanConstructor;
|
|
137
137
|
flexible: BooleanConstructor;
|
|
138
|
-
showOverflowTooltip: import('vue').PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults
|
|
139
|
-
tooltipFormatter: import('vue').PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults
|
|
138
|
+
showOverflowTooltip: import('vue').PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults').DefaultRow>["showOverflowTooltip"]>;
|
|
139
|
+
tooltipFormatter: import('vue').PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults').DefaultRow>["tooltipFormatter"]>;
|
|
140
140
|
appendFilterPanelTo: StringConstructor;
|
|
141
141
|
scrollbarTabindex: {
|
|
142
142
|
type: (NumberConstructor | StringConstructor)[];
|
|
@@ -164,8 +164,8 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
164
164
|
scrollTo: TableInstance["scrollTo"];
|
|
165
165
|
setScrollTop: TableInstance["setScrollTop"];
|
|
166
166
|
setScrollLeft: TableInstance["setScrollLeft"];
|
|
167
|
-
refresh: () => Promise<import('@pinia/colada').DataState<import('./types').DataTableQueryFnReturnType<any> | undefined, Error, import('./types').DataTableQueryFnReturnType<any> | undefined>>;
|
|
168
|
-
refetch: () => Promise<import('@pinia/colada').DataState<import('./types').DataTableQueryFnReturnType<any> | undefined, Error, import('./types').DataTableQueryFnReturnType<any> | undefined>>;
|
|
167
|
+
refresh: () => Promise<import('@pinia/colada/index').DataState<import('./types').DataTableQueryFnReturnType<any> | undefined, Error, import('./types').DataTableQueryFnReturnType<any> | undefined>>;
|
|
168
|
+
refetch: () => Promise<import('@pinia/colada/index').DataState<import('./types').DataTableQueryFnReturnType<any> | undefined, Error, import('./types').DataTableQueryFnReturnType<any> | undefined>>;
|
|
169
169
|
getDataSource: () => any[];
|
|
170
170
|
setCurrentPage: (value: number) => void;
|
|
171
171
|
setPageSize: (value: number) => void;
|
|
@@ -214,8 +214,8 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
214
214
|
default: boolean;
|
|
215
215
|
};
|
|
216
216
|
form: {
|
|
217
|
-
type: import('vue').PropType<Partial<import('
|
|
218
|
-
default: () => Partial<import('
|
|
217
|
+
type: import('vue').PropType<Partial<import('../QueryForm').QueryFormPropsType>>;
|
|
218
|
+
default: () => Partial<import('../QueryForm').QueryFormPropsType>;
|
|
219
219
|
};
|
|
220
220
|
pagination: {
|
|
221
221
|
type: import('vue').PropType<false | Partial<import('element-plus').PaginationProps>>;
|
|
@@ -226,7 +226,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
226
226
|
default: () => import('./types').DataTableToolbarPropsType;
|
|
227
227
|
};
|
|
228
228
|
columns: {
|
|
229
|
-
type: import('vue').PropType<import('vue').MaybeRefOrGetter<DataTableColumnType<
|
|
229
|
+
type: import('vue').PropType<import('vue').MaybeRefOrGetter<DataTableColumnType<any>[]>>;
|
|
230
230
|
default: () => never[];
|
|
231
231
|
};
|
|
232
232
|
forceRefetchOnSearch: {
|
|
@@ -238,23 +238,23 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
238
238
|
default: boolean;
|
|
239
239
|
};
|
|
240
240
|
gcTime: {
|
|
241
|
-
type: import('vue').PropType<import('@pinia/colada').UseQueryOptions["gcTime"]>;
|
|
241
|
+
type: import('vue').PropType<import('@pinia/colada/index').UseQueryOptions["gcTime"]>;
|
|
242
242
|
default: number;
|
|
243
243
|
};
|
|
244
244
|
refetchOnMount: {
|
|
245
|
-
type: import('vue').PropType<import('@pinia/colada').UseQueryOptions["refetchOnMount"]>;
|
|
245
|
+
type: import('vue').PropType<import('@pinia/colada/index').UseQueryOptions["refetchOnMount"]>;
|
|
246
246
|
default: boolean;
|
|
247
247
|
};
|
|
248
248
|
refetchOnReconnect: {
|
|
249
|
-
type: import('vue').PropType<import('@pinia/colada').UseQueryOptions["refetchOnReconnect"]>;
|
|
249
|
+
type: import('vue').PropType<import('@pinia/colada/index').UseQueryOptions["refetchOnReconnect"]>;
|
|
250
250
|
default: boolean;
|
|
251
251
|
};
|
|
252
252
|
refetchOnWindowFocus: {
|
|
253
|
-
type: import('vue').PropType<import('@pinia/colada').UseQueryOptions["refetchOnWindowFocus"]>;
|
|
253
|
+
type: import('vue').PropType<import('@pinia/colada/index').UseQueryOptions["refetchOnWindowFocus"]>;
|
|
254
254
|
default: boolean;
|
|
255
255
|
};
|
|
256
256
|
staleTime: {
|
|
257
|
-
type: import('vue').PropType<import('@pinia/colada').UseQueryOptions["staleTime"]>;
|
|
257
|
+
type: import('vue').PropType<import('@pinia/colada/index').UseQueryOptions["staleTime"]>;
|
|
258
258
|
default: number;
|
|
259
259
|
};
|
|
260
260
|
initialData: import('vue').PropType<import('./types').DataTableQueryInitialDataType>;
|
|
@@ -262,7 +262,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
262
262
|
queryFn: import('vue').PropType<import('./types').DataTableQueryFnType>;
|
|
263
263
|
placeholderData: import('vue').PropType<import('./types').DataTableQueryPlaceholderDataType>;
|
|
264
264
|
size: {
|
|
265
|
-
readonly type: import('vue').PropType<import('element-plus/es/utils
|
|
265
|
+
readonly type: import('vue').PropType<import('element-plus/es/utils').EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never>>;
|
|
266
266
|
readonly required: false;
|
|
267
267
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
268
268
|
__epPropKey: true;
|
|
@@ -276,31 +276,31 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
276
276
|
};
|
|
277
277
|
stripe: BooleanConstructor;
|
|
278
278
|
border: BooleanConstructor;
|
|
279
|
-
rowKey: import('vue').PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults
|
|
279
|
+
rowKey: import('vue').PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults').DefaultRow>["rowKey"]>;
|
|
280
280
|
showHeader: {
|
|
281
281
|
type: BooleanConstructor;
|
|
282
282
|
default: boolean;
|
|
283
283
|
};
|
|
284
284
|
showSummary: BooleanConstructor;
|
|
285
285
|
sumText: StringConstructor;
|
|
286
|
-
summaryMethod: import('vue').PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults
|
|
287
|
-
rowClassName: import('vue').PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults
|
|
288
|
-
rowStyle: import('vue').PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults
|
|
289
|
-
cellClassName: import('vue').PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults
|
|
290
|
-
cellStyle: import('vue').PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults
|
|
291
|
-
headerRowClassName: import('vue').PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults
|
|
292
|
-
headerRowStyle: import('vue').PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults
|
|
293
|
-
headerCellClassName: import('vue').PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults
|
|
294
|
-
headerCellStyle: import('vue').PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults
|
|
286
|
+
summaryMethod: import('vue').PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults').DefaultRow>["summaryMethod"]>;
|
|
287
|
+
rowClassName: import('vue').PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults').DefaultRow>["rowClassName"]>;
|
|
288
|
+
rowStyle: import('vue').PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults').DefaultRow>["rowStyle"]>;
|
|
289
|
+
cellClassName: import('vue').PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults').DefaultRow>["cellClassName"]>;
|
|
290
|
+
cellStyle: import('vue').PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults').DefaultRow>["cellStyle"]>;
|
|
291
|
+
headerRowClassName: import('vue').PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults').DefaultRow>["headerRowClassName"]>;
|
|
292
|
+
headerRowStyle: import('vue').PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults').DefaultRow>["headerRowStyle"]>;
|
|
293
|
+
headerCellClassName: import('vue').PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults').DefaultRow>["headerCellClassName"]>;
|
|
294
|
+
headerCellStyle: import('vue').PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults').DefaultRow>["headerCellStyle"]>;
|
|
295
295
|
highlightCurrentRow: BooleanConstructor;
|
|
296
296
|
currentRowKey: (NumberConstructor | StringConstructor)[];
|
|
297
297
|
emptyText: StringConstructor;
|
|
298
|
-
expandRowKeys: import('vue').PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults
|
|
298
|
+
expandRowKeys: import('vue').PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults').DefaultRow>["expandRowKeys"]>;
|
|
299
299
|
defaultExpandAll: BooleanConstructor;
|
|
300
|
-
defaultSort: import('vue').PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults
|
|
300
|
+
defaultSort: import('vue').PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults').DefaultRow>["defaultSort"]>;
|
|
301
301
|
tooltipEffect: StringConstructor;
|
|
302
|
-
tooltipOptions: import('vue').PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults
|
|
303
|
-
spanMethod: import('vue').PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults
|
|
302
|
+
tooltipOptions: import('vue').PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults').DefaultRow>["tooltipOptions"]>;
|
|
303
|
+
spanMethod: import('vue').PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults').DefaultRow>["spanMethod"]>;
|
|
304
304
|
selectOnIndeterminate: {
|
|
305
305
|
type: BooleanConstructor;
|
|
306
306
|
default: boolean;
|
|
@@ -310,7 +310,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
310
310
|
default: number;
|
|
311
311
|
};
|
|
312
312
|
treeProps: {
|
|
313
|
-
type: import('vue').PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults
|
|
313
|
+
type: import('vue').PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults').DefaultRow>["treeProps"]>;
|
|
314
314
|
default: () => {
|
|
315
315
|
hasChildren: string;
|
|
316
316
|
children: string;
|
|
@@ -318,7 +318,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
318
318
|
};
|
|
319
319
|
};
|
|
320
320
|
lazy: BooleanConstructor;
|
|
321
|
-
load: import('vue').PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults
|
|
321
|
+
load: import('vue').PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults').DefaultRow>["load"]>;
|
|
322
322
|
style: {
|
|
323
323
|
type: import('vue').PropType<import('vue').CSSProperties>;
|
|
324
324
|
default: () => {};
|
|
@@ -333,8 +333,8 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
333
333
|
};
|
|
334
334
|
scrollbarAlwaysOn: BooleanConstructor;
|
|
335
335
|
flexible: BooleanConstructor;
|
|
336
|
-
showOverflowTooltip: import('vue').PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults
|
|
337
|
-
tooltipFormatter: import('vue').PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults
|
|
336
|
+
showOverflowTooltip: import('vue').PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults').DefaultRow>["showOverflowTooltip"]>;
|
|
337
|
+
tooltipFormatter: import('vue').PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults').DefaultRow>["tooltipFormatter"]>;
|
|
338
338
|
appendFilterPanelTo: StringConstructor;
|
|
339
339
|
scrollbarTabindex: {
|
|
340
340
|
type: (NumberConstructor | StringConstructor)[];
|
|
@@ -375,7 +375,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
375
375
|
border: boolean;
|
|
376
376
|
style: import('vue').CSSProperties;
|
|
377
377
|
loading: boolean;
|
|
378
|
-
form: Partial<import('
|
|
378
|
+
form: Partial<import('../QueryForm').QueryFormPropsType>;
|
|
379
379
|
className: string;
|
|
380
380
|
fit: boolean;
|
|
381
381
|
stripe: boolean;
|
|
@@ -385,19 +385,19 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
385
385
|
defaultExpandAll: boolean;
|
|
386
386
|
selectOnIndeterminate: boolean;
|
|
387
387
|
indent: number;
|
|
388
|
-
treeProps: import('element-plus/es/components/table/src/table/defaults
|
|
388
|
+
treeProps: import('element-plus/es/components/table/src/table/defaults').TreeProps | undefined;
|
|
389
389
|
lazy: boolean;
|
|
390
390
|
tableLayout: "fixed" | "auto";
|
|
391
391
|
scrollbarAlwaysOn: boolean;
|
|
392
392
|
flexible: boolean;
|
|
393
393
|
scrollbarTabindex: string | number;
|
|
394
394
|
allowDragLastColumn: boolean;
|
|
395
|
-
columns: import('vue').MaybeRefOrGetter<DataTableColumnType<
|
|
395
|
+
columns: import('vue').MaybeRefOrGetter<DataTableColumnType<any>[]>;
|
|
396
396
|
gcTime: number | false | undefined;
|
|
397
397
|
enabled: boolean | import('./types').DataTableQueryEnabledType;
|
|
398
|
-
refetchOnMount: import('vue').MaybeRefOrGetter<import('@pinia/colada').RefetchOnControl> | undefined;
|
|
399
|
-
refetchOnReconnect: import('vue').MaybeRefOrGetter<import('@pinia/colada').RefetchOnControl> | undefined;
|
|
400
|
-
refetchOnWindowFocus: import('vue').MaybeRefOrGetter<import('@pinia/colada').RefetchOnControl> | undefined;
|
|
398
|
+
refetchOnMount: import('vue').MaybeRefOrGetter<import('@pinia/colada/index').RefetchOnControl> | undefined;
|
|
399
|
+
refetchOnReconnect: import('vue').MaybeRefOrGetter<import('@pinia/colada/index').RefetchOnControl> | undefined;
|
|
400
|
+
refetchOnWindowFocus: import('vue').MaybeRefOrGetter<import('@pinia/colada/index').RefetchOnControl> | undefined;
|
|
401
401
|
staleTime: number | undefined;
|
|
402
402
|
scrollTopOnPagerChange: boolean;
|
|
403
403
|
pagination: false | Partial<import('element-plus').PaginationProps>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataTable.vue.d.ts","sourceRoot":"","sources":["../../../src/components/DataTable/DataTable.vue"],"names":[],"mappings":"AAcA,OAAO,EAEL,KAAK,
|
|
1
|
+
{"version":3,"file":"DataTable.vue.d.ts","sourceRoot":"","sources":["../../../src/components/DataTable/DataTable.vue"],"names":[],"mappings":"AAcA,OAAO,EAEL,KAAK,qBAAqB,EAE3B,MAAM,cAAc,CAAC;AACtB,OAAO,EAQL,KAAK,aAAa,EACnB,MAAM,cAAc,CAAC;AAEtB,OAAO,KAAK,EACV,mBAAmB,EAEnB,kBAAkB,EAEnB,MAAM,SAAS,CAAC;AA0ajB,iBAAS,cAAc,sDA2ZtB;AAsCD,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qDAnrBL,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qDAAvB,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4EA2rBrC,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AACxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { DataTableColumnType } from './types';
|
|
2
|
-
import { QueryFormItemPropsTypeMap } from '../QueryForm';
|
|
3
2
|
import { MaybeRefOrGetter } from 'vue';
|
|
4
3
|
|
|
5
|
-
export declare const defineDataTableColumns: <RecordType = any>(columns: MaybeRefOrGetter<DataTableColumnType<
|
|
4
|
+
export declare const defineDataTableColumns: <RecordType = any>(columns: MaybeRefOrGetter<DataTableColumnType<RecordType>[]>) => MaybeRefOrGetter<DataTableColumnType<RecordType>[]>;
|
|
6
5
|
//# sourceMappingURL=defineDataTableColumns.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"defineDataTableColumns.d.ts","sourceRoot":"","sources":["../../../src/components/DataTable/defineDataTableColumns.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,KAAK,CAAC;AAC5C,OAAO,
|
|
1
|
+
{"version":3,"file":"defineDataTableColumns.d.ts","sourceRoot":"","sources":["../../../src/components/DataTable/defineDataTableColumns.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,KAAK,CAAC;AAC5C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAEnD,eAAO,MAAM,sBAAsB,GAAI,UAAU,iBACtC,gBAAgB,CAAC,mBAAmB,CAAC,UAAU,CAAC,EAAE,CAAC,wDAClD,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { UseQueryOptions } from '@pinia/colada';
|
|
2
2
|
import { DataTableColumnType, DataTableToolbarPropsType, DataTableQueryKeyType, DataTableQueryInitialDataType, DataTableQueryFnType, DataTableQueryPlaceholderDataType, DataTableQueryEnabledType } from './types';
|
|
3
3
|
import { PaginationProps } from 'element-plus';
|
|
4
|
-
import {
|
|
4
|
+
import { QueryFormPropsType } from '../QueryForm';
|
|
5
5
|
import { MaybeRefOrGetter, ExtractPropTypes, PropType } from 'vue';
|
|
6
6
|
|
|
7
7
|
export declare const dataTableProps: {
|
|
@@ -29,7 +29,7 @@ export declare const dataTableProps: {
|
|
|
29
29
|
default: () => DataTableToolbarPropsType;
|
|
30
30
|
};
|
|
31
31
|
columns: {
|
|
32
|
-
type: PropType<MaybeRefOrGetter<DataTableColumnType<
|
|
32
|
+
type: PropType<MaybeRefOrGetter<DataTableColumnType<any>[]>>;
|
|
33
33
|
default: () => never[];
|
|
34
34
|
};
|
|
35
35
|
/** 是否搜索按钮时强制刷新表格,如果true,表示强制刷新,否则,只有搜索内容变化才触发搜索 */
|
|
@@ -66,7 +66,7 @@ export declare const dataTableProps: {
|
|
|
66
66
|
queryFn: PropType<DataTableQueryFnType>;
|
|
67
67
|
placeholderData: PropType<DataTableQueryPlaceholderDataType>;
|
|
68
68
|
size: {
|
|
69
|
-
readonly type: PropType<import('element-plus/es/utils
|
|
69
|
+
readonly type: PropType<import('element-plus/es/utils').EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never>>;
|
|
70
70
|
readonly required: false;
|
|
71
71
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
72
72
|
__epPropKey: true;
|
|
@@ -80,31 +80,31 @@ export declare const dataTableProps: {
|
|
|
80
80
|
};
|
|
81
81
|
stripe: BooleanConstructor;
|
|
82
82
|
border: BooleanConstructor;
|
|
83
|
-
rowKey: PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults
|
|
83
|
+
rowKey: PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults').DefaultRow>["rowKey"]>;
|
|
84
84
|
showHeader: {
|
|
85
85
|
type: BooleanConstructor;
|
|
86
86
|
default: boolean;
|
|
87
87
|
};
|
|
88
88
|
showSummary: BooleanConstructor;
|
|
89
89
|
sumText: StringConstructor;
|
|
90
|
-
summaryMethod: PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults
|
|
91
|
-
rowClassName: PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults
|
|
92
|
-
rowStyle: PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults
|
|
93
|
-
cellClassName: PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults
|
|
94
|
-
cellStyle: PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults
|
|
95
|
-
headerRowClassName: PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults
|
|
96
|
-
headerRowStyle: PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults
|
|
97
|
-
headerCellClassName: PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults
|
|
98
|
-
headerCellStyle: PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults
|
|
90
|
+
summaryMethod: PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults').DefaultRow>["summaryMethod"]>;
|
|
91
|
+
rowClassName: PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults').DefaultRow>["rowClassName"]>;
|
|
92
|
+
rowStyle: PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults').DefaultRow>["rowStyle"]>;
|
|
93
|
+
cellClassName: PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults').DefaultRow>["cellClassName"]>;
|
|
94
|
+
cellStyle: PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults').DefaultRow>["cellStyle"]>;
|
|
95
|
+
headerRowClassName: PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults').DefaultRow>["headerRowClassName"]>;
|
|
96
|
+
headerRowStyle: PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults').DefaultRow>["headerRowStyle"]>;
|
|
97
|
+
headerCellClassName: PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults').DefaultRow>["headerCellClassName"]>;
|
|
98
|
+
headerCellStyle: PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults').DefaultRow>["headerCellStyle"]>;
|
|
99
99
|
highlightCurrentRow: BooleanConstructor;
|
|
100
100
|
currentRowKey: (NumberConstructor | StringConstructor)[];
|
|
101
101
|
emptyText: StringConstructor;
|
|
102
|
-
expandRowKeys: PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults
|
|
102
|
+
expandRowKeys: PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults').DefaultRow>["expandRowKeys"]>;
|
|
103
103
|
defaultExpandAll: BooleanConstructor;
|
|
104
|
-
defaultSort: PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults
|
|
104
|
+
defaultSort: PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults').DefaultRow>["defaultSort"]>;
|
|
105
105
|
tooltipEffect: StringConstructor;
|
|
106
|
-
tooltipOptions: PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults
|
|
107
|
-
spanMethod: PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults
|
|
106
|
+
tooltipOptions: PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults').DefaultRow>["tooltipOptions"]>;
|
|
107
|
+
spanMethod: PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults').DefaultRow>["spanMethod"]>;
|
|
108
108
|
selectOnIndeterminate: {
|
|
109
109
|
type: BooleanConstructor;
|
|
110
110
|
default: boolean;
|
|
@@ -114,7 +114,7 @@ export declare const dataTableProps: {
|
|
|
114
114
|
default: number;
|
|
115
115
|
};
|
|
116
116
|
treeProps: {
|
|
117
|
-
type: PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults
|
|
117
|
+
type: PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults').DefaultRow>["treeProps"]>;
|
|
118
118
|
default: () => {
|
|
119
119
|
hasChildren: string;
|
|
120
120
|
children: string;
|
|
@@ -122,7 +122,7 @@ export declare const dataTableProps: {
|
|
|
122
122
|
};
|
|
123
123
|
};
|
|
124
124
|
lazy: BooleanConstructor;
|
|
125
|
-
load: PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults
|
|
125
|
+
load: PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults').DefaultRow>["load"]>;
|
|
126
126
|
style: {
|
|
127
127
|
type: PropType<import('vue').CSSProperties>;
|
|
128
128
|
default: () => {};
|
|
@@ -137,8 +137,8 @@ export declare const dataTableProps: {
|
|
|
137
137
|
};
|
|
138
138
|
scrollbarAlwaysOn: BooleanConstructor;
|
|
139
139
|
flexible: BooleanConstructor;
|
|
140
|
-
showOverflowTooltip: PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults
|
|
141
|
-
tooltipFormatter: PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults
|
|
140
|
+
showOverflowTooltip: PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults').DefaultRow>["showOverflowTooltip"]>;
|
|
141
|
+
tooltipFormatter: PropType<import('element-plus').TableProps<import('element-plus/es/components/table/src/table/defaults').DefaultRow>["tooltipFormatter"]>;
|
|
142
142
|
appendFilterPanelTo: StringConstructor;
|
|
143
143
|
scrollbarTabindex: {
|
|
144
144
|
type: (NumberConstructor | StringConstructor)[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../../src/components/DataTable/props.ts"],"names":[],"mappings":"AACA,OAAO,
|
|
1
|
+
{"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../../src/components/DataTable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,iCAAiC,CAAC;;uCAwDolB,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAvDprB,CAAC;AAEF,eAAO,MAAM,cAAc;wBACL,GAAG,EAAE,OAAO,GAAG;2BACZ,GAAG,EAAE;iCACC,GAAG,EAAE;0BAE3B,GAAG,UACA,GAAG,QACL,oBAAoB,SACnB,KAAK;0BAGP,GAAG,UACA,GAAG,QACL,oBAAoB,SACnB,KAAK;qBAGP,GAAG,UACA,GAAG,QACL,oBAAoB,SACnB,KAAK;wBAGP,GAAG,UACA,GAAG,QACL,oBAAoB,SACnB,KAAK;2BAGP,GAAG,UACA,GAAG,QACL,oBAAoB,SACnB,KAAK;oBAEE,GAAG,UAAU,GAAG,SAAS,KAAK;0BACxB,GAAG,UAAU,GAAG,SAAS,KAAK;uBACjC,GAAG,UAAU,GAAG,SAAS,KAAK;0BAC3B,GAAG,SAAS,KAAK;gCACX,GAAG,SAAS,KAAK;uBAC1B;QAAE,MAAM,EAAE,GAAG,CAAC;QAAC,IAAI,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,GAAG,CAAA;KAAE;+BACjC,GAAG;gCACF,GAAG,iBAAiB,GAAG;8BAEvC,MAAM,YACN,MAAM,UACR,GAAG,SACJ,UAAU;wBAEC,GAAG,gBAAgB,GAAG,EAAE,GAAG,OAAO;oBACtC;QAAE,UAAU,EAAE,MAAM,CAAC;QAAC,SAAS,EAAE,MAAM,CAAA;KAAE;CAC1D,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG,gBAAgB,CAAC,OAAO,cAAc,CAAC,CAAC"}
|
|
@@ -2,7 +2,7 @@ import { EllipsisTextPropsType } from '../EllipsisText';
|
|
|
2
2
|
import { Slot, VNode } from 'vue';
|
|
3
3
|
import { DataState, EntryKey } from '@pinia/colada';
|
|
4
4
|
import { TableColumnInstance as ElTableColumnInstance, TableColumnCtx as ElTableColumnCtx, TagProps, TableInstance } from 'element-plus';
|
|
5
|
-
import {
|
|
5
|
+
import { BasicQueryFormItemPropsType, QueryFormInstanceType, QueryFormItemValueType } from '../QueryForm';
|
|
6
6
|
|
|
7
7
|
export type DataTableToolbarPropsType = {
|
|
8
8
|
class?: any;
|
|
@@ -38,19 +38,15 @@ export type ValueEnumType = Record<string, string | (Omit<Partial<TagProps>, 'cl
|
|
|
38
38
|
label: string;
|
|
39
39
|
})>;
|
|
40
40
|
/** 定义表格列/搜索表单的数据类型(加自定义属性) */
|
|
41
|
-
export type DataTableColumnType<
|
|
41
|
+
export type DataTableColumnType<RecordType = any> = ElTableColumnProps<RecordType> & {
|
|
42
42
|
/** 是否在搜索表单中隐藏 */
|
|
43
43
|
hideInForm?: boolean;
|
|
44
44
|
/** 是否在表格中隐藏 */
|
|
45
45
|
hideInTable?: boolean;
|
|
46
|
-
/** 表单类型 */
|
|
47
|
-
valueType?: T;
|
|
48
46
|
/** 选项映射 */
|
|
49
47
|
valueEnum?: ValueEnumType;
|
|
50
48
|
/** 排序表单,越小排越前 */
|
|
51
49
|
formItemOrder?: number;
|
|
52
|
-
/** 表单项的 props */
|
|
53
|
-
formItemProps?: Partial<QueryFormItemPropsType<T>>;
|
|
54
50
|
ellipsis?: boolean | Partial<EllipsisTextPropsType>;
|
|
55
51
|
renderCell?: (scope: DefaultSlotScopeType<RecordType>) => string | number | undefined | null | VNode | VNode[];
|
|
56
52
|
renderFilterIcon?: (scope: {
|
|
@@ -60,7 +56,15 @@ export type DataTableColumnType<T extends keyof QueryFormItemPropsTypeMap, Recor
|
|
|
60
56
|
column: ElTableColumnProps<RecordType>;
|
|
61
57
|
$index: number;
|
|
62
58
|
}) => string | number | undefined | null | VNode | VNode[];
|
|
63
|
-
}
|
|
59
|
+
} & ({
|
|
60
|
+
[ValueType in QueryFormItemValueType]: {
|
|
61
|
+
valueType: ValueType;
|
|
62
|
+
formItemProps?: BasicQueryFormItemPropsType<ValueType>;
|
|
63
|
+
};
|
|
64
|
+
}[QueryFormItemValueType] | {
|
|
65
|
+
valueType?: undefined;
|
|
66
|
+
formItemProps?: BasicQueryFormItemPropsType<'text'>;
|
|
67
|
+
});
|
|
64
68
|
export type DataTableSlotsType = {
|
|
65
69
|
append?: Slot;
|
|
66
70
|
empty?: Slot;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/DataTable/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,qBAAqB,EACrB,sBAAsB,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/DataTable/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,2BAA2B,EAC3B,qBAAqB,EACrB,sBAAsB,EACvB,MAAM,cAAc,CAAC;AACtB,OAAO,KAAK,EACV,mBAAmB,IAAI,qBAAqB,EAC5C,cAAc,IAAI,gBAAgB,EAClC,QAAQ,EACR,aAAa,EACd,MAAM,cAAc,CAAC;AACtB,OAAO,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzD,OAAO,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,KAAK,CAAC;AACvC,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAC;AAE7D,MAAM,MAAM,yBAAyB,GAAG;IACtC,KAAK,CAAC,EAAE,GAAG,CAAC;CACb,CAAC;AAEF,KAAK,cAAc,GAAG;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,KAAK,UAAU,GAAG;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,WAAW,GAAG,YAAY,CAAC;CACnC,CAAC;AAEF,MAAM,MAAM,0BAA0B,CAAC,UAAU,GAAG,GAAG,IAAI;IACzD,IAAI,EAAE,UAAU,EAAE,CAAC;IACnB,OAAO,EAAE,OA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AAE,MAAM,IAAI,CAAC;IAErB,WAAW,EAAE,MAAM,GAAG,CAAC;IACvB,eAAe,EAAE,MAAM,GAAG,CAAC;CAC5B,CAAC"}
|
|
@@ -18,8 +18,8 @@ export declare const useDataTable: <RecordType extends Record<string, any> = Rec
|
|
|
18
18
|
scrollTo: import('element-plus').TableInstance["scrollTo"];
|
|
19
19
|
setScrollTop: import('element-plus').TableInstance["setScrollTop"];
|
|
20
20
|
setScrollLeft: import('element-plus').TableInstance["setScrollLeft"];
|
|
21
|
-
refresh: () => Promise<import('@pinia/colada').DataState<import('./types').DataTableQueryFnReturnType<RecordType> | undefined, Error, import('./types').DataTableQueryFnReturnType<RecordType> | undefined>>;
|
|
22
|
-
refetch: () => Promise<import('@pinia/colada').DataState<import('./types').DataTableQueryFnReturnType<RecordType> | undefined, Error, import('./types').DataTableQueryFnReturnType<RecordType> | undefined>>;
|
|
21
|
+
refresh: () => Promise<import('@pinia/colada/index').DataState<import('./types').DataTableQueryFnReturnType<RecordType> | undefined, Error, import('./types').DataTableQueryFnReturnType<RecordType> | undefined>>;
|
|
22
|
+
refetch: () => Promise<import('@pinia/colada/index').DataState<import('./types').DataTableQueryFnReturnType<RecordType> | undefined, Error, import('./types').DataTableQueryFnReturnType<RecordType> | undefined>>;
|
|
23
23
|
getDataSource: () => RecordType[];
|
|
24
24
|
setCurrentPage: (value: number) => void;
|
|
25
25
|
setPageSize: (value: number) => void;
|
|
@@ -46,8 +46,8 @@ export declare const useDataTable: <RecordType extends Record<string, any> = Rec
|
|
|
46
46
|
scrollTo: import('element-plus').TableInstance["scrollTo"];
|
|
47
47
|
setScrollTop: import('element-plus').TableInstance["setScrollTop"];
|
|
48
48
|
setScrollLeft: import('element-plus').TableInstance["setScrollLeft"];
|
|
49
|
-
refresh: () => Promise<import('@pinia/colada').DataState<import('./types').DataTableQueryFnReturnType<RecordType> | undefined, Error, import('./types').DataTableQueryFnReturnType<RecordType> | undefined>>;
|
|
50
|
-
refetch: () => Promise<import('@pinia/colada').DataState<import('./types').DataTableQueryFnReturnType<RecordType> | undefined, Error, import('./types').DataTableQueryFnReturnType<RecordType> | undefined>>;
|
|
49
|
+
refresh: () => Promise<import('@pinia/colada/index').DataState<import('./types').DataTableQueryFnReturnType<RecordType> | undefined, Error, import('./types').DataTableQueryFnReturnType<RecordType> | undefined>>;
|
|
50
|
+
refetch: () => Promise<import('@pinia/colada/index').DataState<import('./types').DataTableQueryFnReturnType<RecordType> | undefined, Error, import('./types').DataTableQueryFnReturnType<RecordType> | undefined>>;
|
|
51
51
|
getDataSource: () => RecordType[];
|
|
52
52
|
setCurrentPage: (value: number) => void;
|
|
53
53
|
setPageSize: (value: number) => void;
|