@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/es/core/Table/components/CellRender.d.ts +0 -2
- package/es/index.mjs +1075 -1036
- package/es/style.css +1 -1
- package/lib/core/Table/components/CellRender.d.ts +0 -2
- package/lib/index.js +2 -2
- package/lib/style.css +1 -1
- package/package.json +1 -1
- package/types/table/column.d.ts +4 -7
package/package.json
CHANGED
package/types/table/column.d.ts
CHANGED
|
@@ -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
|
-
// 如果
|
|
186
|
+
// 如果 showType === dialog 则只支持 click
|
|
186
187
|
trigger?: "click" | "hover" | "focus" | "contextmenu";
|
|
187
188
|
// 弹出类型
|
|
188
|
-
|
|
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 实例
|