@kengic/vue 0.7.2 → 0.7.4
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.
@@ -1,25 +1,32 @@
|
|
1
|
+
import { RowClassName } from 'ant-design-vue/es/vc-table/interface';
|
1
2
|
import { ExtractPropTypes, PropType } from 'vue';
|
2
3
|
import './KgTable.less';
|
3
4
|
export declare const getProps: () => {
|
4
|
-
/**
|
5
|
+
/** 是否禁用表格. */
|
5
6
|
kgDisabled: {
|
6
7
|
type: PropType<boolean>;
|
7
8
|
default: undefined;
|
8
9
|
};
|
10
|
+
/** 设置行的样式类名. */
|
11
|
+
kgRowClassName: PropType<RowClassName<any>>;
|
9
12
|
};
|
10
13
|
export declare type IKgTableProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
|
11
14
|
declare const _default: import("vue").DefineComponent<{
|
12
|
-
/**
|
15
|
+
/** 是否禁用表格. */
|
13
16
|
kgDisabled: {
|
14
17
|
type: PropType<boolean>;
|
15
18
|
default: undefined;
|
16
19
|
};
|
20
|
+
/** 设置行的样式类名. */
|
21
|
+
kgRowClassName: PropType<RowClassName<any>>;
|
17
22
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
18
|
-
/**
|
23
|
+
/** 是否禁用表格. */
|
19
24
|
kgDisabled: {
|
20
25
|
type: PropType<boolean>;
|
21
26
|
default: undefined;
|
22
27
|
};
|
28
|
+
/** 设置行的样式类名. */
|
29
|
+
kgRowClassName: PropType<RowClassName<any>>;
|
23
30
|
}>>, {
|
24
31
|
kgDisabled: boolean;
|
25
32
|
}>;
|
@@ -18,12 +18,16 @@ export declare type IKgSlots = {
|
|
18
18
|
};
|
19
19
|
KgSubmit?: {
|
20
20
|
'KgForm.Item'?: {
|
21
|
+
/** 某个表单控件. */
|
21
22
|
[variable: string]: (param: IKgFormItemSlotControlParam) => any;
|
22
23
|
};
|
23
24
|
};
|
24
25
|
KgTable?: {
|
26
|
+
/** 单元格. */
|
25
27
|
bodyCell?: (param: IKgTableSlotParams['bodyCell']) => any;
|
28
|
+
/** 展开行. */
|
26
29
|
expandedRowRender?: (param: IKgTableSlotParams['expandedRowRender']) => any;
|
30
|
+
/** 表格底部的汇总行.单元格. */
|
27
31
|
'summary.bodyCell'?: (param: IKgTableSlotParams['summary.bodyCell']) => any;
|
28
32
|
};
|
29
33
|
};
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@kengic/vue",
|
3
|
-
"version": "0.7.
|
3
|
+
"version": "0.7.4",
|
4
4
|
"scripts": {
|
5
5
|
"build": "rimraf dist && vue-tsc && vite build",
|
6
6
|
"build:dev": "rimraf dist && vue-tsc && vite build --mode development",
|
@@ -39,27 +39,27 @@
|
|
39
39
|
"@vueuse/shared": "8.9.4",
|
40
40
|
"ant-design-vue": "3.2.14",
|
41
41
|
"axios": "0.26.1",
|
42
|
-
"dayjs": "1.11.
|
43
|
-
"filesize": "10.0
|
42
|
+
"dayjs": "1.11.10",
|
43
|
+
"filesize": "10.1.0",
|
44
44
|
"lodash-es": "4.17.21",
|
45
45
|
"pinia": "2.0.12",
|
46
46
|
"store": "2.0.12",
|
47
47
|
"vue-router": "4.1.6"
|
48
48
|
},
|
49
49
|
"devDependencies": {
|
50
|
-
"@kengic/pont": "1.2.10-beta.
|
51
|
-
"@types/lodash-es": "~4.17.
|
50
|
+
"@kengic/pont": "1.2.10-beta.45",
|
51
|
+
"@types/lodash-es": "~4.17.9",
|
52
52
|
"@types/node": "~18.14.6",
|
53
|
-
"@types/semver": "~7.3
|
54
|
-
"@types/store": "2.0.
|
53
|
+
"@types/semver": "~7.5.3",
|
54
|
+
"@types/store": "2.0.3",
|
55
55
|
"@vitejs/plugin-vue": "~3.2.0",
|
56
56
|
"@vitejs/plugin-vue-jsx": "~1.3.10",
|
57
57
|
"chalk": "~4.1.2",
|
58
58
|
"less": "~4.1.3",
|
59
|
-
"prettier": "~2.8.
|
59
|
+
"prettier": "~2.8.8",
|
60
60
|
"rimraf": "~3.0.2",
|
61
61
|
"rollup": "~2.79.1",
|
62
|
-
"semver": "~7.
|
62
|
+
"semver": "~7.5.4",
|
63
63
|
"tsx": "~3.12.3",
|
64
64
|
"typescript": "~4.8.4",
|
65
65
|
"vite": "~3.2.5",
|