@kengic/vue 0.6.3-beta.2 → 0.6.3-beta.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.
@@ -19,6 +19,12 @@ export interface IKgTableSlotParams<T = {}> {
|
|
19
19
|
varGridDetail: VarGridDetail | null;
|
20
20
|
defaultRender: JSX.Element;
|
21
21
|
};
|
22
|
+
expandedRowRender: {
|
23
|
+
record: IKgTableRow;
|
24
|
+
index: number;
|
25
|
+
indent: number;
|
26
|
+
expanded: boolean;
|
27
|
+
};
|
22
28
|
'summary.bodyCell': {
|
23
29
|
index: number;
|
24
30
|
column: ColumnType;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { InjectionKey } from 'vue';
|
2
2
|
import { IKgFormItemSlotControlParam } from '../KgForm.Item/index.vm';
|
3
|
-
import {
|
3
|
+
import { IKgTableSlotParams } from '../KgTable';
|
4
4
|
export declare type IKgSlots = {
|
5
5
|
/** KgTable 下面. */
|
6
6
|
afterKgTable?: () => any;
|
@@ -8,6 +8,10 @@ export declare type IKgSlots = {
|
|
8
8
|
/** 左侧. */
|
9
9
|
left?: () => any;
|
10
10
|
};
|
11
|
+
KgButton?: {
|
12
|
+
/** 右侧. */
|
13
|
+
right?: () => any;
|
14
|
+
};
|
11
15
|
KgSubmit?: {
|
12
16
|
'KgForm.Item'?: {
|
13
17
|
[variable: string]: (param: IKgFormItemSlotControlParam) => any;
|
@@ -15,12 +19,7 @@ export declare type IKgSlots = {
|
|
15
19
|
};
|
16
20
|
KgTable?: {
|
17
21
|
bodyCell?: (param: IKgTableSlotParams['bodyCell']) => any;
|
18
|
-
expandedRowRender?: (param:
|
19
|
-
record: IKgTableRow;
|
20
|
-
index: number;
|
21
|
-
indent: number;
|
22
|
-
expanded: boolean;
|
23
|
-
}) => any;
|
22
|
+
expandedRowRender?: (param: IKgTableSlotParams['expandedRowRender']) => any;
|
24
23
|
'summary.bodyCell'?: (param: IKgTableSlotParams['summary.bodyCell']) => any;
|
25
24
|
};
|
26
25
|
};
|