@wx-design/components 0.3.1 → 0.4.0
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/CellEditors/PopOver.d.ts +3 -3
- package/es/core/Table/configs/column.d.ts +3 -2
- package/es/core/Table/constants.d.ts +2 -1
- package/es/core/Table/utils/autoColumnWidth.d.ts +2 -1
- package/es/index.mjs +672 -594
- package/es/style.css +1 -1
- package/lib/core/Table/components/CellEditors/PopOver.d.ts +3 -3
- package/lib/core/Table/configs/column.d.ts +3 -2
- package/lib/core/Table/constants.d.ts +2 -1
- package/lib/core/Table/utils/autoColumnWidth.d.ts +2 -1
- package/lib/index.js +1 -1
- package/lib/style.css +1 -1
- package/package.json +1 -1
- package/types/index.d.ts +2 -0
- package/types/table/column.d.ts +4 -2
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* 单元格编辑-轻弹窗 Popover
|
|
2
|
+
* TODO: 单元格编辑-轻弹窗 Popover
|
|
3
3
|
*/
|
|
4
4
|
import { PopoverProps } from "element-plus";
|
|
5
|
-
import { SabColumnProps } from "
|
|
5
|
+
import type { SabColumnProps, VxeColumnSlotTypes, VxeTableDataRow } from "../../../../types/table";
|
|
6
6
|
type SabCellEditPopoverProps = PopoverProps & {
|
|
7
7
|
column: SabColumnProps;
|
|
8
|
+
scope: VxeColumnSlotTypes.DefaultSlotParams<VxeTableDataRow>;
|
|
8
9
|
};
|
|
9
10
|
declare const SabCellEditPopover: import("vue").DefineComponent<Partial<SabCellEditPopoverProps>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<Partial<SabCellEditPopoverProps>>, {
|
|
10
11
|
readonly popperOptions?: any;
|
|
11
|
-
column?: any;
|
|
12
12
|
readonly placement?: any;
|
|
13
13
|
}, {}>;
|
|
14
14
|
export default SabCellEditPopover;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import type { SabColumnProps } from "../../../types/table";
|
|
1
|
+
import type { SabColumnProps, SabTableProps } from "../../../types/table";
|
|
2
2
|
export declare const defaultColumnConfig: Partial<SabColumnProps>;
|
|
3
3
|
export declare const modifyColumnConfig: (column: SabColumnProps) => SabColumnProps;
|
|
4
|
-
export declare const
|
|
4
|
+
export declare const setColumnWidth: (column: SabColumnProps, tableConfig: Partial<SabTableProps>) => SabColumnProps;
|
|
5
|
+
export declare const setDefaultColumnConfigs: (columns: SabColumnProps[], tableConfig: Partial<SabTableProps>) => SabColumnProps[];
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import type { SabColumnProps } from "../../../types/table";
|
|
2
|
+
export declare const autoColumnWidth: (column: SabColumnProps) => number;
|