@gx-design-vue/pro-table 0.2.0-beta.76 → 0.2.0-beta.78
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 +10 -8
- package/dist/_utils/ant-design-vue/table/props.d.ts +11 -0
- package/dist/pro-table.js +1398 -31646
- package/dist/pro-table.umd.cjs +1 -295
- package/dist/props.d.ts +5 -10
- package/dist/types/ColumnTypings.d.ts +2 -2
- package/dist/utils/utils.d.ts +1 -0
- package/package.json +1 -1
package/dist/props.d.ts
CHANGED
|
@@ -173,16 +173,6 @@ export declare const proTableProps: {
|
|
|
173
173
|
type: PropType<ProTableProps["align"]>;
|
|
174
174
|
default: string;
|
|
175
175
|
};
|
|
176
|
-
/**
|
|
177
|
-
* @Author gx12358
|
|
178
|
-
* @DateTime 2022/2/8
|
|
179
|
-
* @lastTime 2022/2/8
|
|
180
|
-
* @description 是否展示外边框和列边框
|
|
181
|
-
*/
|
|
182
|
-
bordered: {
|
|
183
|
-
type: PropType<ProTableProps["bordered"]>;
|
|
184
|
-
default: boolean;
|
|
185
|
-
};
|
|
186
176
|
/**
|
|
187
177
|
* @Author gx12358
|
|
188
178
|
* @DateTime 2022/2/8
|
|
@@ -246,6 +236,11 @@ export declare const proTableProps: {
|
|
|
246
236
|
onRequestError: PropType<ProTableProps["onRequestError"]>;
|
|
247
237
|
onBeforeSearchSubmit: PropType<ProTableProps["onBeforeSearchSubmit"]>;
|
|
248
238
|
onColumnsStateChange: PropType<ProTableProps["onColumnsStateChange"]>;
|
|
239
|
+
transformCellText: PropType<import("ant-design-vue/es/table/Table").TableProps["transformCellText"]>;
|
|
240
|
+
bordered: {
|
|
241
|
+
type: PropType<import("ant-design-vue/es/table/Table").TableProps["bordered"]>;
|
|
242
|
+
default: boolean;
|
|
243
|
+
};
|
|
249
244
|
loading: {
|
|
250
245
|
type: PropType<boolean | import("ant-design-vue/es/spin/Spin").SpinProps>;
|
|
251
246
|
default: undefined;
|
|
@@ -70,8 +70,8 @@ export type ProColumnType<DataValue = DefaultRecordType, SearchParama = DefaultR
|
|
|
70
70
|
index?: number;
|
|
71
71
|
/** 不在列表中显示 */
|
|
72
72
|
show?: boolean;
|
|
73
|
-
key?: keyof DataValue | string;
|
|
74
|
-
dataIndex?: keyof DataValue | string;
|
|
73
|
+
key?: keyof DataValue | string | 'action';
|
|
74
|
+
dataIndex?: keyof DataValue | string | 'action';
|
|
75
75
|
/** 列表顺序值 */
|
|
76
76
|
order?: number;
|
|
77
77
|
/** 不在配置工具中显示 */
|
package/dist/utils/utils.d.ts
CHANGED
|
@@ -2,3 +2,4 @@ import type { ProColumnsValueType } from '../types/ColumnTypings';
|
|
|
2
2
|
import type { ProTablePagination } from '../types/TableTypings';
|
|
3
3
|
export declare function valueFormat(value: any, format: ProColumnsValueType | undefined, className: string, hashId: string): any;
|
|
4
4
|
export declare function getCuurentData(data: any[], pageInfo: ProTablePagination): any[];
|
|
5
|
+
export declare function handleCopy(codeStr: string): void;
|