@wx-design/components 1.0.6 → 1.0.8
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 +1 -1
- package/es/index.mjs +18819 -18452
- package/es/style.css +1 -1
- package/lib/core/Table/components/CellRender.d.ts +1 -1
- package/lib/index.js +7 -7
- package/lib/style.css +1 -1
- package/package.json +2 -2
- package/types/table/column.d.ts +3 -1
- package/es/core/Table/components/Toolbar/index.vue.d.ts +0 -22
- package/lib/core/Table/components/Toolbar/index.vue.d.ts +0 -22
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wx-design/components",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.8",
|
|
4
4
|
"description": "",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./lib/index.js",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"number-precision": "^1.6.0",
|
|
40
40
|
"vue": "^3.3.7",
|
|
41
41
|
"vxe-pc-ui": "4.3.22",
|
|
42
|
-
"vxe-table": "4.9.
|
|
42
|
+
"vxe-table": "4.9.33"
|
|
43
43
|
},
|
|
44
44
|
"peerDependencies": {
|
|
45
45
|
"@element-plus/icons-vue": "2",
|
package/types/table/column.d.ts
CHANGED
|
@@ -4,6 +4,8 @@ import {
|
|
|
4
4
|
VxeColumnProps,
|
|
5
5
|
VxeColumnSlotTypes,
|
|
6
6
|
VxeTableInstance,
|
|
7
|
+
VxeTableConstructor,
|
|
8
|
+
VxeTablePrivateMethods
|
|
7
9
|
} from "vxe-table";
|
|
8
10
|
import type {
|
|
9
11
|
InputProps,
|
|
@@ -264,7 +266,7 @@ export type SabColumnProps<D = VxeTableDataRow> = VxeColumnProps<D> & {
|
|
|
264
266
|
// 参与表格尾部汇总
|
|
265
267
|
withSummary?: boolean;
|
|
266
268
|
// 自定义表格尾部数据汇总处理
|
|
267
|
-
footerMethod?(column: SabColumnProps<D>, data: D[]): any;
|
|
269
|
+
footerMethod?(column: SabColumnProps<D>, data: D[], $table: VxeTableConstructor<any> & VxeTablePrivateMethods<any>): any;
|
|
268
270
|
|
|
269
271
|
// 表头分组
|
|
270
272
|
children?: SabColumnProps<D>[];
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import type { ToolbarProps } from "../../../../types/table";
|
|
2
|
-
declare function __VLS_template(): {
|
|
3
|
-
default?(_: {}): any;
|
|
4
|
-
"toolbar-right"?(_: {}): any;
|
|
5
|
-
};
|
|
6
|
-
declare const __VLS_component: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<ToolbarProps<import("vxe-pc-ui/types/components/table").VxeTablePropTypes.Row>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, any, {}, {}>;
|
|
7
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
8
|
-
export default _default;
|
|
9
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
10
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
11
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
12
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
13
|
-
} : {
|
|
14
|
-
type: import('vue').PropType<T[K]>;
|
|
15
|
-
required: true;
|
|
16
|
-
};
|
|
17
|
-
};
|
|
18
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
19
|
-
new (): {
|
|
20
|
-
$slots: S;
|
|
21
|
-
};
|
|
22
|
-
};
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import type { ToolbarProps } from "../../../../types/table";
|
|
2
|
-
declare function __VLS_template(): {
|
|
3
|
-
default?(_: {}): any;
|
|
4
|
-
"toolbar-right"?(_: {}): any;
|
|
5
|
-
};
|
|
6
|
-
declare const __VLS_component: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<ToolbarProps<import("vxe-pc-ui/types/components/table").VxeTablePropTypes.Row>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, any, {}, {}>;
|
|
7
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
8
|
-
export default _default;
|
|
9
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
10
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
11
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
12
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
13
|
-
} : {
|
|
14
|
-
type: import('vue').PropType<T[K]>;
|
|
15
|
-
required: true;
|
|
16
|
-
};
|
|
17
|
-
};
|
|
18
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
19
|
-
new (): {
|
|
20
|
-
$slots: S;
|
|
21
|
-
};
|
|
22
|
-
};
|