@wx-design/components 0.8.33 → 0.8.34

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.8.33",
3
+ "version": "0.8.34",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "main": "./lib/index.js",
@@ -10,6 +10,7 @@ import type {
10
10
  InputNumberProps,
11
11
  DatePickerProps,
12
12
  PopoverProps,
13
+ DialogProps,
13
14
  CheckboxProps,
14
15
  SwitchProps,
15
16
  PopoverInstance,
@@ -180,12 +181,12 @@ export type SabCellEditorParams =
180
181
  | Partial<BooleanEditorProps>;
181
182
 
182
183
  // 弹出层配置
183
- export type SabPopoverParams = Partial<PopoverProps> & {
184
+ export type SabPopoverParams = Partial<PopoverProps & DialogProps> & {
184
185
  // 触发事件,默认 click
185
- // 如果 popType === dialog 则只支持 click
186
+ // 如果 showType === dialog 则只支持 click
186
187
  trigger?: "click" | "hover" | "focus" | "contextmenu";
187
188
  // 弹出类型
188
- popType?: "popover";
189
+ showType?: "popover" | "dialog";
189
190
  // 是否隐藏弹出图标
190
191
  hideIcon?: boolean;
191
192
  };
@@ -237,10 +238,6 @@ export type SabColumnProps<D = VxeTableDataRow> = VxeColumnProps<D> & {
237
238
  // TODO: 是否自动收集筛选条件
238
239
  autoCollectFilterOptions?: boolean;
239
240
  };
240
- // TODO: 启用弹出层
241
- enablePopover?: boolean;
242
- // TODO: 弹出层配置
243
- popoverConfig?: SabPopoverParams;
244
241
  // 自定义头部的筛选
245
242
  headerFilterConfig?: SabColumnFilterParams;
246
243
  // vxe-table 实例