@gx-design-vue/pro-table 0.2.0-beta.7 → 0.2.0-beta.70
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/ProTable.d.ts +401 -600
- package/dist/_utils/ant-design-vue/index.d.ts +2 -0
- package/dist/_utils/ant-design-vue/input/typings.d.ts +1 -0
- package/dist/_utils/ant-design-vue/spin/typings.d.ts +1 -0
- package/dist/_utils/ant-design-vue/table/props.d.ts +183 -2
- package/dist/_utils/ant-design-vue/table/typings.d.ts +6 -5
- package/dist/_utils/ant-design-vue/tooltip/typings.d.ts +1 -0
- package/dist/_utils/index.d.ts +0 -1
- package/dist/components/ColumnSetting/index.d.ts +14 -14
- package/dist/components/ColumnSetting/style.d.ts +2 -5
- package/dist/components/Form/index.d.ts +14 -13
- package/dist/components/Form/style.d.ts +2 -5
- package/dist/components/ListToolBar/index.d.ts +18 -18
- package/dist/components/ListToolBar/style.d.ts +2 -5
- package/dist/components/ToolBar/FullscreenIcon.d.ts +1 -2
- package/dist/components/ToolBar/index.d.ts +18 -18
- package/dist/context/TableContext.d.ts +10 -11
- package/dist/hooks/useColums.d.ts +20 -7
- package/dist/hooks/useFetchData.d.ts +15 -13
- package/dist/hooks/useLoading.d.ts +5 -12
- package/dist/hooks/usePagination.d.ts +8 -3
- package/dist/hooks/useRowSelection.d.ts +9 -6
- package/dist/hooks/useTable.d.ts +31 -11
- package/dist/hooks/useTableForm.d.ts +6 -5
- package/dist/hooks/useTableScroll.d.ts +6 -6
- package/dist/hooks/useTableSize.d.ts +1 -1
- package/dist/index.d.ts +6 -4
- package/dist/pro-table.js +2790 -0
- package/dist/pro-table.umd.cjs +1 -0
- package/dist/props.d.ts +147 -274
- package/dist/style.d.ts +2 -6
- package/dist/types/ColumnTypings.d.ts +12 -9
- package/dist/types/SlotsTypings.d.ts +37 -8
- package/dist/types/TableTypings.d.ts +86 -55
- package/dist/utils/utils.d.ts +3 -1
- package/package.json +20 -42
- package/volar.d.ts +3 -3
- package/dist/_utils/typings.d.ts +0 -9
- package/dist/pro-table.mjs +0 -32740
- package/dist/pro-table.umd.js +0 -328
- package/dist/utils/config.d.ts +0 -1
package/dist/style.d.ts
CHANGED
|
@@ -1,7 +1,3 @@
|
|
|
1
|
+
import type { GenerateStyle } from 'ant-design-vue/es/theme/internal';
|
|
1
2
|
import type { ProAliasToken } from '@gx-design-vue/pro-provider';
|
|
2
|
-
export
|
|
3
|
-
antCls: string;
|
|
4
|
-
componentCls: string;
|
|
5
|
-
}
|
|
6
|
-
declare const _default: (_prefixCls?: string | import("vue").Ref<string> | undefined) => import("ant-design-vue/es/theme/internal").UseComponentStyleResult;
|
|
7
|
-
export default _default;
|
|
3
|
+
export declare const genProTabelStyle: GenerateStyle<ProAliasToken>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { RecordType, VueNode } from '@gx-design-vue/pro-utils';
|
|
1
|
+
import type { ProColumn, RecordType, VueNode } from '@gx-design-vue/pro-utils';
|
|
2
2
|
import type { DefaultRecordType } from '../typing';
|
|
3
3
|
import type { ColumnType } from '../_utils';
|
|
4
4
|
/**
|
|
@@ -28,8 +28,8 @@ export type ProSchemaValueEnumType = {
|
|
|
28
28
|
disabled?: boolean;
|
|
29
29
|
};
|
|
30
30
|
type ProSchemaValueType<ValueType> = (ValueType | ProFieldValueType);
|
|
31
|
-
export type ProSearchMap<ValueType = 'text'> = {
|
|
32
|
-
name?:
|
|
31
|
+
export type ProSearchMap<ValueType = 'text', ParamsKey = string> = {
|
|
32
|
+
name?: ParamsKey;
|
|
33
33
|
/** 选择如何渲染相应的模式 */
|
|
34
34
|
valueType?: ProSchemaValueType<ValueType>;
|
|
35
35
|
/** valueType为date|dateMonth|dateRange|time生效 */
|
|
@@ -55,7 +55,7 @@ export type ProSearchMap<ValueType = 'text'> = {
|
|
|
55
55
|
initialValue?: any;
|
|
56
56
|
/** 针对select、treeselect取值的key */
|
|
57
57
|
valueKey?: string;
|
|
58
|
-
/** 表单的属性值(ant-design
|
|
58
|
+
/** 表单的属性值(ant-design) */
|
|
59
59
|
field?: RecordType;
|
|
60
60
|
/**
|
|
61
61
|
* 支持 object 和Map,Map 是支持其他基础类型作为 key
|
|
@@ -64,24 +64,27 @@ export type ProSearchMap<ValueType = 'text'> = {
|
|
|
64
64
|
*/
|
|
65
65
|
valueEnum?: ProSchemaValueEnumType[];
|
|
66
66
|
};
|
|
67
|
-
export type ProColumnType<
|
|
68
|
-
children?: ProColumnsType<
|
|
67
|
+
export type ProColumnType<DataValue = DefaultRecordType, SearchParama = RecordType> = ProColumn<Omit<ColumnType<DataValue>, 'key' | 'dataIndex' | 'width'> & {
|
|
68
|
+
children?: ProColumnsType<DataValue, SearchParama>;
|
|
69
69
|
uuid?: string | number;
|
|
70
|
+
index?: number;
|
|
70
71
|
/** 不在列表中显示 */
|
|
71
72
|
show?: boolean;
|
|
73
|
+
key?: keyof DataValue | string;
|
|
74
|
+
dataIndex?: keyof DataValue | string;
|
|
72
75
|
/** 列表顺序值 */
|
|
73
76
|
order?: number;
|
|
74
77
|
/** 不在配置工具中显示 */
|
|
75
78
|
hideInSetting?: boolean;
|
|
76
79
|
/** 表单搜索配置 */
|
|
77
|
-
searchConfig?: ProSearchMap
|
|
80
|
+
searchConfig?: ProSearchMap<undefined, keyof DataValue | keyof SearchParama>;
|
|
78
81
|
/** 是否拷贝 */
|
|
79
82
|
copyable?: boolean;
|
|
80
83
|
/** 值为空时,默认取值 */
|
|
81
84
|
columnEmptyText?: string;
|
|
82
85
|
valueType?: ProColumnsValueType;
|
|
83
|
-
}
|
|
84
|
-
export type ProColumnsType<
|
|
86
|
+
}>;
|
|
87
|
+
export type ProColumnsType<DataValue = DefaultRecordType, SearchParama = RecordType> = ProColumnType<DataValue, SearchParama>[];
|
|
85
88
|
export type ProColumnsValueType = 'text' | 'link' | 'time' | 'dateMonth' | 'dateTime' | {
|
|
86
89
|
node?: string;
|
|
87
90
|
class?: string;
|
|
@@ -1,12 +1,41 @@
|
|
|
1
1
|
import type { CustomRender, WithFalse } from '@gx-design-vue/pro-utils';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
export type
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
2
|
+
import type { ProColumnType } from '../types/ColumnTypings';
|
|
3
|
+
import type { ColumnType, RenderExpandIconProps } from '../_utils';
|
|
4
|
+
export type ProTableBodyCellProps<T = Record<string, any>> = {
|
|
5
|
+
text: any;
|
|
6
|
+
value: any;
|
|
7
|
+
record: T;
|
|
8
|
+
index: number;
|
|
9
|
+
column: ProColumnType;
|
|
10
|
+
};
|
|
11
|
+
export type AntTabelSlotsType = {
|
|
12
|
+
emptyText?: any;
|
|
13
|
+
expandIcon?: RenderExpandIconProps<any>;
|
|
14
|
+
title?: any;
|
|
15
|
+
footer?: any;
|
|
16
|
+
summary?: any;
|
|
17
|
+
expandedRowRender?: any;
|
|
18
|
+
expandColumnTitle?: any;
|
|
19
|
+
bodyCell?: (props: ProTableBodyCellProps<any>) => void;
|
|
20
|
+
headerCell?: (props: {
|
|
21
|
+
title: any;
|
|
22
|
+
column: ColumnType;
|
|
23
|
+
}) => void;
|
|
24
|
+
customFilterIcon?: any;
|
|
25
|
+
customFilterDropdown?: any;
|
|
26
|
+
default: any;
|
|
27
|
+
};
|
|
28
|
+
export type ProTableSlotsKey = 'search' | 'headerTitle' | 'toolBarBtn' | 'titleTip' | 'settingExtra' | 'optionsExtra' | 'pageItemRender' | 'customRender';
|
|
29
|
+
export declare const proTableSlotsKey: ProTableSlotsKey[];
|
|
30
|
+
export type Slots = Readonly<Omit<Record<ProTableSlotsKey, () => void>, 'customRender'> & {
|
|
31
|
+
customRender: (currentData: any[], dataSource: any[]) => void;
|
|
32
|
+
}>;
|
|
33
|
+
export type PageItemFn = (opt: {
|
|
8
34
|
page: number;
|
|
9
35
|
type: 'page' | 'prev' | 'next' | 'jump-prev' | 'jump-next';
|
|
10
36
|
originalElement: any;
|
|
11
|
-
}) => CustomRender
|
|
12
|
-
export type
|
|
37
|
+
}) => CustomRender;
|
|
38
|
+
export type CustomDataFn<T = any> = (currenData: T[], dataSource: T[]) => CustomRender;
|
|
39
|
+
export type DefaultRender = WithFalse<CustomRender>;
|
|
40
|
+
export type PageItemRender = WithFalse<PageItemFn>;
|
|
41
|
+
export type CustomDataRender = WithFalse<CustomDataFn>;
|
|
@@ -1,19 +1,20 @@
|
|
|
1
|
-
import type { CSSProperties } from 'vue';
|
|
2
|
-
import type {
|
|
3
|
-
import type {
|
|
4
|
-
import type {
|
|
5
|
-
import type {
|
|
6
|
-
import type { TableRowSelection, TablePaginationConfig, SpinProps, TableFilters, TableSorter, TableProps } from '../_utils';
|
|
1
|
+
import type { CSSProperties, ComputedRef, Ref } from 'vue';
|
|
2
|
+
import type { Breakpoint, CustomRender, RecordType, SizeType, VueNode, WithFalse } from '@gx-design-vue/pro-utils';
|
|
3
|
+
import type { ProColumnType, ProColumnsType, ProSearchMap } from './ColumnTypings';
|
|
4
|
+
import type { CustomDataRender, DefaultRender, PageItemRender } from './SlotsTypings';
|
|
5
|
+
import type { FilterValue, SorterResult, TableCurrentDataSource, TablePaginationConfig, TableProps, TableRowSelection } from '../_utils';
|
|
7
6
|
import type { ColumnSettingProps } from '../components/ColumnSetting';
|
|
8
7
|
import type { ColumnsState, ColumnsStateType } from '../hooks/useColumnSetting';
|
|
9
|
-
export type ProTabelFeachParams = {
|
|
10
|
-
params?:
|
|
11
|
-
filters?:
|
|
12
|
-
sorter?:
|
|
8
|
+
export type ProTabelFeachParams<R = RecordType> = {
|
|
9
|
+
params?: R;
|
|
10
|
+
filters?: Record<string, FilterValue | null>;
|
|
11
|
+
sorter?: SorterResult | SorterResult[];
|
|
13
12
|
pagination?: ProTablePagination;
|
|
14
13
|
removeKeys?: (string | number)[];
|
|
15
14
|
immediate?: boolean;
|
|
16
15
|
isPolling?: boolean;
|
|
16
|
+
showLoading?: boolean;
|
|
17
|
+
extra?: TableCurrentDataSource;
|
|
17
18
|
};
|
|
18
19
|
export type TablePaginationPosition = 'topLeft' | 'topCenter' | 'topRight' | 'bottomLeft' | 'bottomCenter' | 'bottomRight';
|
|
19
20
|
export type ProFieldEmptyText = string | false;
|
|
@@ -25,20 +26,25 @@ export interface ProTablePaginationConfig extends Omit<TablePaginationConfig, 'p
|
|
|
25
26
|
position?: TablePaginationPosition[];
|
|
26
27
|
}
|
|
27
28
|
export type ProTablePagination = ProTablePaginationConfig | false;
|
|
29
|
+
export type PageState = {
|
|
30
|
+
pageSize: number;
|
|
31
|
+
pageNum: number;
|
|
32
|
+
};
|
|
28
33
|
export type RequestData<T = any> = {
|
|
29
34
|
data: T[] | undefined;
|
|
30
35
|
success: boolean;
|
|
31
36
|
total: number;
|
|
32
|
-
} & RecordType;
|
|
33
|
-
export type RequsetConfig = {
|
|
34
|
-
params: {
|
|
35
|
-
pageSize?: number;
|
|
36
|
-
pageNum?: number;
|
|
37
|
-
};
|
|
38
|
-
sort: TableSorter;
|
|
39
|
-
filter: TableFilters;
|
|
40
37
|
};
|
|
41
|
-
export type
|
|
38
|
+
export type RequsetConfig<T> = {
|
|
39
|
+
params: T extends undefined ? PageState : {
|
|
40
|
+
pageSize: number;
|
|
41
|
+
pageNum: number;
|
|
42
|
+
} & Partial<T>;
|
|
43
|
+
sorter: SorterResult | SorterResult[];
|
|
44
|
+
filter: Record<string, FilterValue | null>;
|
|
45
|
+
extra: TableCurrentDataSource;
|
|
46
|
+
};
|
|
47
|
+
export type RequsetFunction<T = any, D = undefined> = (params: RequsetConfig<D>['params'], sort: RequsetConfig<D>['sorter'], filter: RequsetConfig<D>['filter']) => Promise<Partial<RequestData<T>> | undefined>;
|
|
42
48
|
export type ColConfig = Partial<Record<Breakpoint, number>>;
|
|
43
49
|
export type SearchConfig = {
|
|
44
50
|
searchText?: string;
|
|
@@ -57,45 +63,69 @@ export interface OptionConfig {
|
|
|
57
63
|
fullScreen?: (() => VueNode | JSX.Element) | boolean | (() => Promise<void>);
|
|
58
64
|
}
|
|
59
65
|
/** action表格实例 */
|
|
60
|
-
export interface ProCoreActionType {
|
|
61
|
-
|
|
62
|
-
|
|
66
|
+
export interface ProCoreActionType<T = RecordType, R = RecordType> {
|
|
67
|
+
/** @name loadingStatus */
|
|
68
|
+
loading: Ref<boolean>;
|
|
69
|
+
dataSource: ComputedRef<T[]>;
|
|
70
|
+
getLoadingStatus: () => boolean;
|
|
71
|
+
pagination: R | boolean;
|
|
72
|
+
pageState: PageState;
|
|
73
|
+
rowsSelection?: () => {
|
|
74
|
+
keys: (string | number)[];
|
|
75
|
+
items: T[];
|
|
76
|
+
clear: () => void;
|
|
77
|
+
};
|
|
63
78
|
/** @name 刷新 */
|
|
64
|
-
reload
|
|
79
|
+
reload: (info?: ProTabelFeachParams<R>) => void;
|
|
65
80
|
/** @name 刷新并清空表单,重置为第一页 */
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
81
|
+
reloadAndReset: (options?: {
|
|
82
|
+
callBack?: () => void;
|
|
83
|
+
wait?: boolean;
|
|
84
|
+
}) => void;
|
|
85
|
+
/** @name 设置翻页 */
|
|
86
|
+
setPagination: (pagination: ProTablePaginationConfig) => void;
|
|
87
|
+
/** @name 设置翻页、排序、筛选、并且reload */
|
|
88
|
+
setPageAndReload: (pagination: ProTablePaginationConfig, filters?: Record<string, FilterValue | null>, sorter?: SorterResult | SorterResult[], extra?: TableCurrentDataSource) => void;
|
|
69
89
|
/** @name 更新TableData属性值 */
|
|
70
|
-
reSetDataList
|
|
90
|
+
reSetDataList: (data: T[]) => void;
|
|
71
91
|
/** @name 更新TableData属性值 */
|
|
72
|
-
|
|
73
|
-
key?:
|
|
74
|
-
|
|
92
|
+
setData: ({ key, record, type }: {
|
|
93
|
+
key?: keyof T;
|
|
94
|
+
record: Partial<T>;
|
|
95
|
+
type: 'update' | 'push' | 'delete' | 'unshift';
|
|
75
96
|
}) => void;
|
|
76
97
|
/** @name 改变loading状态 */
|
|
77
|
-
|
|
98
|
+
setLoading: (loading: boolean) => void;
|
|
78
99
|
}
|
|
79
100
|
/** form查询表单实例 */
|
|
80
|
-
export interface ProCoreFormType {
|
|
101
|
+
export interface ProCoreFormType<R = RecordType> {
|
|
81
102
|
/** @name 获取表格-表单请求参数 */
|
|
82
|
-
|
|
103
|
+
getFormState?: () => R;
|
|
83
104
|
/** @name 获取表格-内部表单参数 */
|
|
84
|
-
|
|
105
|
+
getFormInnerState?: () => R;
|
|
85
106
|
/** @name 重置内部表单组件参数 */
|
|
86
|
-
|
|
107
|
+
restFormState?: (callBack?: () => void) => void;
|
|
87
108
|
}
|
|
88
|
-
export interface ProTableRef {
|
|
89
|
-
formRef: () => ProCoreFormType
|
|
90
|
-
actionRef: () => ProCoreActionType
|
|
109
|
+
export interface ProTableRef<T = RecordType, R = RecordType> {
|
|
110
|
+
formRef: () => ProCoreFormType<R>;
|
|
111
|
+
actionRef: () => ProCoreActionType<T, R>;
|
|
91
112
|
}
|
|
92
|
-
export type ProTableProps<
|
|
93
|
-
|
|
94
|
-
|
|
113
|
+
export type ProTableProps<DataRecord extends object = Record<string, any>, ParamsType extends object = Record<string, any>> = Omit<TableProps, 'columns' | 'dataSource'> & Partial<{
|
|
114
|
+
dataSource: DataRecord[];
|
|
115
|
+
tableProps: {
|
|
116
|
+
class?: string;
|
|
117
|
+
style?: CSSProperties;
|
|
118
|
+
};
|
|
95
119
|
rowKey: string;
|
|
96
120
|
titleTipText: string;
|
|
97
121
|
autoScroll: boolean;
|
|
122
|
+
emptyTextProps: {
|
|
123
|
+
class?: string;
|
|
124
|
+
style?: CSSProperties;
|
|
125
|
+
extraProps?: Record<string, any>;
|
|
126
|
+
};
|
|
98
127
|
columnEmptyText: ProFieldEmptyText;
|
|
128
|
+
showLoading: boolean;
|
|
99
129
|
neverScroll: boolean;
|
|
100
130
|
modalScroll: boolean;
|
|
101
131
|
scrollBreakpoint: Breakpoint | number;
|
|
@@ -107,30 +137,31 @@ export type ProTableProps<RecordType extends DefaultRecordType = DefaultRecordTy
|
|
|
107
137
|
align: ProColumnType['align'];
|
|
108
138
|
options: OptionConfig | boolean;
|
|
109
139
|
rowSelection: ProTableRowSelection;
|
|
110
|
-
columns: ProColumnsType<
|
|
140
|
+
columns: ProColumnsType<DataRecord, ParamsType>;
|
|
111
141
|
columnsState: ColumnsStateType;
|
|
112
142
|
waitRequest: boolean;
|
|
113
143
|
polling: number;
|
|
114
144
|
debounceTime: number;
|
|
115
|
-
request: RequsetFunction<
|
|
116
|
-
params:
|
|
145
|
+
request: RequsetFunction<DataRecord, ParamsType>;
|
|
146
|
+
params: ParamsType;
|
|
117
147
|
postData: (data: any[]) => any;
|
|
118
148
|
pagination: ProTablePagination;
|
|
119
|
-
search: SearchConfig;
|
|
120
|
-
searchMap: ProSearchMap[];
|
|
121
|
-
onReset: (params?: Partial<
|
|
122
|
-
onReload: (params?: Partial<
|
|
123
|
-
onSubmit: (params?: Partial<
|
|
149
|
+
search: SearchConfig | boolean;
|
|
150
|
+
searchMap: ProSearchMap<undefined, keyof ParamsType | keyof DataRecord>[];
|
|
151
|
+
onReset: (params?: Partial<ParamsType>) => any;
|
|
152
|
+
onReload: (params?: Partial<ParamsType>) => any;
|
|
153
|
+
onSubmit: (params?: Partial<ParamsType>) => any;
|
|
124
154
|
onSizeChange: (size: string) => any;
|
|
125
155
|
onLoadingChange: (loading: boolean) => any;
|
|
126
156
|
onRequestError: (e: Error) => void;
|
|
127
157
|
onBeforeSearchSubmit: RequsetFunction<RecordType>;
|
|
128
158
|
onColumnsStateChange: (data: ColumnsState[]) => void;
|
|
129
|
-
titleTip:
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
159
|
+
titleTip: DefaultRender;
|
|
160
|
+
emptyText: DefaultRender;
|
|
161
|
+
headerTitle: DefaultRender;
|
|
162
|
+
toolBarBtn: DefaultRender;
|
|
163
|
+
customRender: CustomDataRender;
|
|
164
|
+
optionsExtra: DefaultRender;
|
|
165
|
+
settingExtra: DefaultRender;
|
|
135
166
|
pageItemRender: PageItemRender;
|
|
136
167
|
}>;
|
package/dist/utils/utils.d.ts
CHANGED
|
@@ -1,2 +1,4 @@
|
|
|
1
1
|
import type { ProColumnsValueType } from '../types/ColumnTypings';
|
|
2
|
-
|
|
2
|
+
import type { ProTablePagination } from '../types/TableTypings';
|
|
3
|
+
export declare function valueFormat(value: any, format: ProColumnsValueType | undefined, className: string, hashId: string): any;
|
|
4
|
+
export declare function getCuurentData(data: any[], pageInfo: ProTablePagination): any[];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gx-design-vue/pro-table",
|
|
3
|
-
"version": "0.2.0-beta.
|
|
3
|
+
"version": "0.2.0-beta.70",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"dev": "vite",
|
|
6
6
|
"build": "vite build",
|
|
@@ -14,57 +14,35 @@
|
|
|
14
14
|
"dist",
|
|
15
15
|
"volar.d.ts"
|
|
16
16
|
],
|
|
17
|
+
"type": "module",
|
|
17
18
|
"types": "./dist",
|
|
18
|
-
"main": "./dist/pro-table.umd.
|
|
19
|
-
"module": "./dist/pro-table.
|
|
19
|
+
"main": "./dist/pro-table.umd.cjs",
|
|
20
|
+
"module": "./dist/pro-table.js",
|
|
20
21
|
"exports": {
|
|
21
22
|
".": {
|
|
22
|
-
"import": "./dist/pro-table.
|
|
23
|
-
"require": "./dist/pro-table.umd.
|
|
23
|
+
"import": "./dist/pro-table.js",
|
|
24
|
+
"require": "./dist/pro-table.umd.cjs"
|
|
24
25
|
}
|
|
25
26
|
},
|
|
26
27
|
"dependencies": {
|
|
27
28
|
"@vueuse/core": "^9.10.0",
|
|
28
|
-
"@gx-design-vue/pro-utils": "^0.2.0-beta.
|
|
29
|
-
"@gx-design-vue/pro-hooks": "^0.2.0-beta.
|
|
30
|
-
"@gx-design-vue/pro-provider": "^0.1.0-beta.
|
|
31
|
-
"
|
|
29
|
+
"@gx-design-vue/pro-utils": "^0.2.0-beta.47",
|
|
30
|
+
"@gx-design-vue/pro-hooks": "^0.2.0-beta.32",
|
|
31
|
+
"@gx-design-vue/pro-provider": "^0.1.0-beta.92",
|
|
32
|
+
"@gx-design-vue/pro-app": "^0.1.0-beta.22",
|
|
32
33
|
"dayjs": "^1.11.0",
|
|
33
|
-
"lodash-es": "^4.17.21"
|
|
34
|
-
"vue": "^3.2.45",
|
|
35
|
-
"vue-types": "^4.1.1"
|
|
34
|
+
"lodash-es": "^4.17.21"
|
|
36
35
|
},
|
|
37
36
|
"devDependencies": {
|
|
38
|
-
"@rollup/plugin-typescript": "^8.3.0",
|
|
39
|
-
"@rushstack/eslint-patch": "^1.1.0",
|
|
40
37
|
"@types/lodash-es": "^4.17.6",
|
|
41
|
-
"
|
|
42
|
-
"@types/node": "^16.11.26",
|
|
43
|
-
"@vitejs/plugin-vue": "^4.2.3",
|
|
44
|
-
"@vitejs/plugin-vue-jsx": "^3.0.1",
|
|
45
|
-
"@vue/eslint-config-prettier": "^7.0.0",
|
|
46
|
-
"@vue/eslint-config-typescript": "^10.0.0",
|
|
47
|
-
"@vue/tsconfig": "^0.1.3",
|
|
48
|
-
"eslint": "^8.13.0",
|
|
49
|
-
"eslint-plugin-prettier": "^4.0.0",
|
|
50
|
-
"eslint-plugin-vue": "^8.6.0",
|
|
51
|
-
"jsdom": "^19.0.0",
|
|
52
|
-
"less": "^4.1.2",
|
|
53
|
-
"postcss": "^8.4.12",
|
|
54
|
-
"postcss-html": "^1.4.1",
|
|
55
|
-
"postcss-less": "^6.0.0",
|
|
56
|
-
"prettier": "^2.6.2",
|
|
57
|
-
"rollup": "^2.70.2",
|
|
58
|
-
"stylelint": "^14.7.1",
|
|
59
|
-
"stylelint-config-prettier": "^9.0.3",
|
|
60
|
-
"stylelint-config-recommended": "^7.0.0",
|
|
61
|
-
"stylelint-config-recommended-vue": "^1.4.0",
|
|
62
|
-
"stylelint-config-standard": "^25.0.0",
|
|
63
|
-
"stylelint-order": "^5.0.0",
|
|
64
|
-
"typescript": "^4.6.4",
|
|
65
|
-
"vite": "^4.3.8",
|
|
66
|
-
"vue-eslint-parser": "^9.0.3",
|
|
67
|
-
"vue-tsc": "^1.0.24"
|
|
38
|
+
"typescript": "^5.3.3"
|
|
68
39
|
},
|
|
69
|
-
"
|
|
40
|
+
"peerDependencies": {
|
|
41
|
+
"vue": ">=3.0.0",
|
|
42
|
+
"ant-design-vue": "^4.1.2"
|
|
43
|
+
},
|
|
44
|
+
"description": "Gx Design Pro Table",
|
|
45
|
+
"authors": [
|
|
46
|
+
"gx12358 <gx12358@gmail.com> (https://github.com/gx12358)"
|
|
47
|
+
]
|
|
70
48
|
}
|
package/volar.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
// Auto generated component declarations
|
|
2
|
-
declare module
|
|
2
|
+
declare module 'vue' {
|
|
3
3
|
export interface GlobalComponents {
|
|
4
|
-
GProTable: typeof import(
|
|
4
|
+
GProTable: typeof import('@gx-design-vue/pro-table')['GProTable'];
|
|
5
5
|
}
|
|
6
6
|
}
|
|
7
7
|
|
|
8
|
-
export {}
|
|
8
|
+
export {}
|