@wx-design/components 0.7.4 → 0.7.5

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.4",
3
+ "version": "0.7.5",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "main": "./lib/index.js",
package/types/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { VxeTablePropTypes } from 'vxe-table'
2
2
  import { SabTable, SabTableSet } from './table'
3
- export { SabTable }
3
+ export { SabTable, SabTableSet }
4
4
 
5
5
  declare module '@vue/runtime-core' {
6
6
  export interface GlobalComponents {
@@ -168,9 +168,9 @@ export type SabColumnProps<D = VxeTableDataRow> = VxeColumnProps<D> & {
168
168
  // TODO: 是否自动收集筛选条件
169
169
  autoCollectFilterOptions?: boolean;
170
170
  };
171
- // 启用弹出层
171
+ // TODO: 启用弹出层
172
172
  enablePopover?: boolean;
173
- // 弹出层配置
173
+ // TODO: 弹出层配置
174
174
  popoverConfig?: SabPopoverParams;
175
175
  // 字段名
176
176
  field?: keyof D;
@@ -5,7 +5,7 @@ import type { TableSetProps } from './table-set'
5
5
  import type { SabColumnSlots } from './column'
6
6
 
7
7
  export const SabTable: VXEComponent<SabTableProps<any>, VxeTableEventProps<any>, SabColumnSlots<any> & TableSlots>
8
- export const SabTableSet: VXEComponent<TableSetProps<any>, any>
8
+ export const SabTableSet: VXEComponent<TableSetProps>
9
9
 
10
10
  export * from './column'
11
11
  export * from './table'
@@ -9,7 +9,7 @@ export type SabTableProps<D = VxeTableDataRow> = VxeTableProps<D> & {
9
9
  // 外部容器 css 类名
10
10
  wrapClassName?: any;
11
11
  // 列配置
12
- columns?: Partial<SabColumnProps<D>>[];
12
+ columns?: SabColumnProps<D>[];
13
13
  // 表格可编辑
14
14
  editable?: boolean;
15
15
  // 默认带上序号列