@qy_better_lib/pc 0.1.22 → 0.1.23
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.
|
@@ -54,9 +54,12 @@ export type ColumnConfig = {
|
|
|
54
54
|
/**隐藏列 */
|
|
55
55
|
hiddenColumn: TableColumn[];
|
|
56
56
|
};
|
|
57
|
+
interface TableExtendProps<T> extends Omit<TableProps<any>, "data"> {
|
|
58
|
+
data?: undefined;
|
|
59
|
+
}
|
|
57
60
|
/**注入结构 */
|
|
58
61
|
export type TableProvies = {
|
|
59
|
-
tableProps:
|
|
62
|
+
tableProps: Record<string, any>;
|
|
60
63
|
tableColums: Ref<Array<TableColumn>>;
|
|
61
64
|
columnConfig: ColumnConfig;
|
|
62
65
|
};
|
|
@@ -79,7 +82,7 @@ export declare enum FileType {
|
|
|
79
82
|
/**表格属性 */
|
|
80
83
|
export interface TableProp {
|
|
81
84
|
/**UI选项配置 */
|
|
82
|
-
options?:
|
|
85
|
+
options?: TableExtendProps<any>;
|
|
83
86
|
/**表格数据源 */
|
|
84
87
|
tableData?: Array<any>;
|
|
85
88
|
/**表格列(所有列) */
|
|
@@ -172,3 +175,4 @@ export interface TableColumn {
|
|
|
172
175
|
langue?: string;
|
|
173
176
|
[key: string]: any;
|
|
174
177
|
}
|
|
178
|
+
export {};
|