@wx-design/components 0.1.10 → 0.2.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/Input.d.ts +2 -5
- package/es/core/Table/components/CellEditors/InputNumber.d.ts +4 -5
- package/es/core/Table/configs/column.d.ts +2 -1
- package/es/core/Table/index.vue.d.ts +4 -1
- package/es/index.mjs +1054 -267
- package/es/style.css +1 -1
- package/lib/core/Table/components/CellEditors/Input.d.ts +2 -5
- package/lib/core/Table/components/CellEditors/InputNumber.d.ts +4 -5
- package/lib/core/Table/configs/column.d.ts +2 -1
- package/lib/core/Table/index.vue.d.ts +4 -1
- package/lib/index.js +1 -1
- package/lib/style.css +1 -1
- package/package.json +1 -1
- package/types/table/column.d.ts +21 -1
- package/types/table/table.d.ts +5 -1
- package/es/demos/table/mock.d.ts +0 -76
- package/lib/demos/table/mock.d.ts +0 -76
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* 单元格编辑-输入框
|
|
3
3
|
*/
|
|
4
|
+
import { InputProps } from "element-plus";
|
|
4
5
|
import type { SabColumnProps } from "../../../../types/table";
|
|
5
|
-
declare const SabCellEditInput: import("vue").DefineComponent<{
|
|
6
|
-
modelValue?: string | undefined;
|
|
7
|
-
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
8
|
-
modelValue?: string | undefined;
|
|
9
|
-
}>, {}, {}>;
|
|
6
|
+
declare const SabCellEditInput: import("vue").DefineComponent<InputProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<InputProps>, {}, {}>;
|
|
10
7
|
export default SabCellEditInput;
|
|
11
8
|
export declare const config: Partial<SabColumnProps>;
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* 单元格编辑-数值输入框
|
|
3
3
|
*/
|
|
4
|
+
import { InputNumberProps } from "element-plus";
|
|
4
5
|
import type { SabColumnProps } from "../../../../types/table";
|
|
5
|
-
declare const SabCellEditInputNumber: import("vue").DefineComponent<{
|
|
6
|
-
|
|
7
|
-
}, {}
|
|
8
|
-
modelValue?: number | undefined;
|
|
9
|
-
}>, {}, {}>;
|
|
6
|
+
declare const SabCellEditInputNumber: import("vue").DefineComponent<InputNumberProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<InputNumberProps>, {
|
|
7
|
+
readonly valueOnClear: any;
|
|
8
|
+
}, {}>;
|
|
10
9
|
export default SabCellEditInputNumber;
|
|
11
10
|
export declare const config: Partial<SabColumnProps>;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import type { SabColumnProps } from "../../../types/table";
|
|
2
|
-
export declare const defaultColumnConfig:
|
|
2
|
+
export declare const defaultColumnConfig: Partial<SabColumnProps>;
|
|
3
|
+
export declare const modifyColumnConfig: (column: SabColumnProps) => SabColumnProps;
|
|
3
4
|
export declare const setDefaultColumnConfigs: (columns: SabColumnProps[]) => SabColumnProps[];
|
|
@@ -585,12 +585,15 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
585
585
|
fit: boolean;
|
|
586
586
|
animat: boolean;
|
|
587
587
|
delayHover: number;
|
|
588
|
+
popoverConfig: import("../../types/table").SabPopoverParams;
|
|
589
|
+
wrapClassName: any;
|
|
588
590
|
withSeq: boolean;
|
|
589
591
|
withCheckbox: boolean;
|
|
590
592
|
showToolbar: boolean;
|
|
591
593
|
autoClearSelected: boolean;
|
|
592
|
-
}, {}>, Partial<Record<string, (_:
|
|
594
|
+
}, {}>, Partial<Record<string, (_: any) => any>> & {
|
|
593
595
|
"sab-toolbar"?(_: {}): any;
|
|
596
|
+
footer?(_: {}): any;
|
|
594
597
|
}>;
|
|
595
598
|
export default _default;
|
|
596
599
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|