@wx-design/components 1.1.11 → 1.1.13

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": "1.1.11",
3
+ "version": "1.1.13",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "main": "./lib/index.js",
@@ -197,6 +197,8 @@ export type SabCellEditorParams =
197
197
 
198
198
  // 弹出层配置
199
199
  export type SabPopoverParams = Partial<PopoverProps & DialogProps> & {
200
+ // 触发元素, cell 整个单元格,buttton 按钮,默认 button
201
+ triggerEl?: 'button' | 'cell'
200
202
  // 触发事件,默认 click
201
203
  // 如果 showType === dialog 则只支持 click
202
204
  trigger?: "click" | "hover" | "focus" | "contextmenu";
@@ -75,8 +75,10 @@ export type SabTableProps<D = VxeTableDataRow> = VxeTableProps<D> & {
75
75
  // 树形表格配置
76
76
  treeConfig?: VxeTablePropTypes.TreeConfig<D> & {
77
77
  // 自动将树形结构数据转成扁平结构转给 vxe-table 的 transform 处理,transform: true
78
- // 需要提供 childrenField 字段
78
+ // 需要提供 childrenTransformField 字段
79
79
  childTransform?: boolean
80
+ // 树形结构数据扁平化字段,即 childrenField 字段,但是 childrenField 会影响更新逻辑,所以这里搞了个新的
81
+ childrenTransformField?: string
80
82
  }
81
83
  };
82
84