@wx-design/components 0.7.5 → 0.7.7

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wx-design/components",
3
- "version": "0.7.5",
3
+ "version": "0.7.7",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "main": "./lib/index.js",
@@ -16,11 +16,13 @@ export interface TableSetProps {
16
16
  enabled?: boolean;
17
17
  // 列
18
18
  columns?: SabColumnProps[];
19
+ // TODO: 排除某些不参与的列, field[]
20
+ excludeColumns?: string[] | ((column: SabColumnProps) => boolean);
19
21
  // 获取表格配置的方法
20
22
  getTableConfig?: (params: {
21
23
  // 表名
22
24
  name: string;
23
- }) => SabTableSetConfig;
25
+ }) => SabTableSetConfig | Promise<SabTableSetConfig>;
24
26
  // 设置表格配置的方法
25
27
  setTableConfig?: (params: {
26
28
  // 表名