bkui-vue 0.0.1-beta.32 → 0.0.1-beta.33
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/lib/table/index.d.ts +29 -5
- package/lib/table/render.d.ts +2 -3
- package/lib/table/table.d.ts +8 -2
- package/lib/tree/index.d.ts +15 -7
- package/lib/tree/tree.d.ts +6 -16
- package/package.json +1 -1
package/lib/table/index.d.ts
CHANGED
@@ -64,7 +64,13 @@ declare const BkTable: {
|
|
64
64
|
} & {
|
65
65
|
default: boolean;
|
66
66
|
};
|
67
|
-
}>> &
|
67
|
+
}>> & {
|
68
|
+
onColumnPick?: (...args: any[]) => any;
|
69
|
+
onPageLimitChange?: (...args: any[]) => any;
|
70
|
+
onPageValueChange?: (...args: any[]) => any;
|
71
|
+
onRowClick?: (...args: any[]) => any;
|
72
|
+
onRowDblClick?: (...args: any[]) => any;
|
73
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "height" | "data" | "minHeight" | "border" | "headHeight" | "pagination" | "columnPick" | "rowHeight" | "showHead" | "virtualEnabled" | "remotePagination">;
|
68
74
|
$attrs: {
|
69
75
|
[x: string]: unknown;
|
70
76
|
};
|
@@ -76,7 +82,7 @@ declare const BkTable: {
|
|
76
82
|
}>;
|
77
83
|
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
78
84
|
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
79
|
-
$emit: (
|
85
|
+
$emit: (event: "columnPick" | "pageLimitChange" | "pageValueChange" | "rowClick" | "rowDblClick", ...args: any[]) => void;
|
80
86
|
$el: any;
|
81
87
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
82
88
|
data: import("vue-types").VueTypeDef<any[]> & {
|
@@ -126,7 +132,13 @@ declare const BkTable: {
|
|
126
132
|
} & {
|
127
133
|
default: boolean;
|
128
134
|
};
|
129
|
-
}
|
135
|
+
}>> & {
|
136
|
+
onColumnPick?: (...args: any[]) => any;
|
137
|
+
onPageLimitChange?: (...args: any[]) => any;
|
138
|
+
onPageValueChange?: (...args: any[]) => any;
|
139
|
+
onRowClick?: (...args: any[]) => any;
|
140
|
+
onRowDblClick?: (...args: any[]) => any;
|
141
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("columnPick" | "pageLimitChange" | "pageValueChange" | "rowClick" | "rowDblClick")[], string, {
|
130
142
|
height: string | number;
|
131
143
|
data: any[];
|
132
144
|
minHeight: string | number;
|
@@ -208,7 +220,13 @@ declare const BkTable: {
|
|
208
220
|
} & {
|
209
221
|
default: boolean;
|
210
222
|
};
|
211
|
-
}>> &
|
223
|
+
}>> & {
|
224
|
+
onColumnPick?: (...args: any[]) => any;
|
225
|
+
onPageLimitChange?: (...args: any[]) => any;
|
226
|
+
onPageValueChange?: (...args: any[]) => any;
|
227
|
+
onRowClick?: (...args: any[]) => any;
|
228
|
+
onRowDblClick?: (...args: any[]) => any;
|
229
|
+
} & import("vue").ShallowUnwrapRef<() => JSX.Element> & {} & {} & import("vue").ComponentCustomProperties;
|
212
230
|
__isFragment?: never;
|
213
231
|
__isTeleport?: never;
|
214
232
|
__isSuspense?: never;
|
@@ -260,7 +278,13 @@ declare const BkTable: {
|
|
260
278
|
} & {
|
261
279
|
default: boolean;
|
262
280
|
};
|
263
|
-
}
|
281
|
+
}>> & {
|
282
|
+
onColumnPick?: (...args: any[]) => any;
|
283
|
+
onPageLimitChange?: (...args: any[]) => any;
|
284
|
+
onPageValueChange?: (...args: any[]) => any;
|
285
|
+
onRowClick?: (...args: any[]) => any;
|
286
|
+
onRowDblClick?: (...args: any[]) => any;
|
287
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("columnPick" | "pageLimitChange" | "pageValueChange" | "rowClick" | "rowDblClick")[], "columnPick" | "pageLimitChange" | "pageValueChange" | "rowClick" | "rowDblClick", {
|
264
288
|
height: string | number;
|
265
289
|
data: any[];
|
266
290
|
minHeight: string | number;
|
package/lib/table/render.d.ts
CHANGED
@@ -1,13 +1,12 @@
|
|
1
|
-
import { SetupContext } from 'vue';
|
2
1
|
import { TablePlugins } from './plugins/index';
|
3
2
|
import { GroupColumn, IColumnActive, IReactiveProp, TablePropTypes } from './props';
|
4
3
|
export default class TableRender {
|
5
4
|
props: TablePropTypes;
|
6
|
-
context:
|
5
|
+
context: any;
|
7
6
|
reactiveProp: any;
|
8
7
|
colgroups: GroupColumn[];
|
9
8
|
plugins: TablePlugins;
|
10
|
-
constructor(props:
|
9
|
+
constructor(props: any, ctx: any, reactiveProp: IReactiveProp, colgroups: GroupColumn[]);
|
11
10
|
get propActiveCols(): IColumnActive[];
|
12
11
|
/**
|
13
12
|
* 渲染Table Head
|
package/lib/table/table.d.ts
CHANGED
@@ -47,7 +47,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
47
47
|
} & {
|
48
48
|
default: boolean;
|
49
49
|
};
|
50
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
50
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("columnPick" | "pageLimitChange" | "pageValueChange" | "rowClick" | "rowDblClick")[], "columnPick" | "pageLimitChange" | "pageValueChange" | "rowClick" | "rowDblClick", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
51
51
|
data: import("vue-types").VueTypeDef<any[]> & {
|
52
52
|
default: () => any[];
|
53
53
|
};
|
@@ -95,7 +95,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
95
95
|
} & {
|
96
96
|
default: boolean;
|
97
97
|
};
|
98
|
-
}
|
98
|
+
}>> & {
|
99
|
+
onColumnPick?: (...args: any[]) => any;
|
100
|
+
onPageLimitChange?: (...args: any[]) => any;
|
101
|
+
onPageValueChange?: (...args: any[]) => any;
|
102
|
+
onRowClick?: (...args: any[]) => any;
|
103
|
+
onRowDblClick?: (...args: any[]) => any;
|
104
|
+
}, {
|
99
105
|
height: string | number;
|
100
106
|
data: any[];
|
101
107
|
minHeight: string | number;
|
package/lib/tree/index.d.ts
CHANGED
@@ -51,7 +51,9 @@ declare const BkTree: {
|
|
51
51
|
} & {
|
52
52
|
default: number;
|
53
53
|
};
|
54
|
-
}>> &
|
54
|
+
}>> & {
|
55
|
+
onCheck?: (...args: any[]) => any;
|
56
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "data" | "lineHeight" | "prefixIcon" | "children" | "indent" | "levelLine" | "virtualRender" | "offsetLeft">;
|
55
57
|
$attrs: {
|
56
58
|
[x: string]: unknown;
|
57
59
|
};
|
@@ -63,7 +65,7 @@ declare const BkTree: {
|
|
63
65
|
}>;
|
64
66
|
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
65
67
|
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
66
|
-
$emit: (
|
68
|
+
$emit: (event: "check", ...args: any[]) => void;
|
67
69
|
$el: any;
|
68
70
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
69
71
|
data: import("vue-types").VueTypeDef<any[]> & {
|
@@ -105,7 +107,9 @@ declare const BkTree: {
|
|
105
107
|
} & {
|
106
108
|
default: number;
|
107
109
|
};
|
108
|
-
}
|
110
|
+
}>> & {
|
111
|
+
onCheck?: (...args: any[]) => any;
|
112
|
+
}, {
|
109
113
|
renderData: import("vue").ComputedRef<any[]>;
|
110
114
|
flatData: {
|
111
115
|
data: any[];
|
@@ -121,7 +125,7 @@ declare const BkTree: {
|
|
121
125
|
getVirtualLines: (node: any) => JSX.Element[];
|
122
126
|
getNodePrefixIcon: (item: any) => any;
|
123
127
|
getLoadingIcon: (item: any) => JSX.Element | "";
|
124
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
128
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "check"[], string, {
|
125
129
|
data: any[];
|
126
130
|
lineHeight: number;
|
127
131
|
prefixIcon: any;
|
@@ -190,7 +194,9 @@ declare const BkTree: {
|
|
190
194
|
} & {
|
191
195
|
default: number;
|
192
196
|
};
|
193
|
-
}>> &
|
197
|
+
}>> & {
|
198
|
+
onCheck?: (...args: any[]) => any;
|
199
|
+
} & import("vue").ShallowUnwrapRef<{
|
194
200
|
renderData: import("vue").ComputedRef<any[]>;
|
195
201
|
flatData: {
|
196
202
|
data: any[];
|
@@ -250,7 +256,9 @@ declare const BkTree: {
|
|
250
256
|
} & {
|
251
257
|
default: number;
|
252
258
|
};
|
253
|
-
}
|
259
|
+
}>> & {
|
260
|
+
onCheck?: (...args: any[]) => any;
|
261
|
+
}, {
|
254
262
|
renderData: import("vue").ComputedRef<any[]>;
|
255
263
|
flatData: {
|
256
264
|
data: any[];
|
@@ -266,7 +274,7 @@ declare const BkTree: {
|
|
266
274
|
getVirtualLines: (node: any) => JSX.Element[];
|
267
275
|
getNodePrefixIcon: (item: any) => any;
|
268
276
|
getLoadingIcon: (item: any) => JSX.Element | "";
|
269
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
277
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "check"[], "check", {
|
270
278
|
data: any[];
|
271
279
|
lineHeight: number;
|
272
280
|
prefixIcon: any;
|
package/lib/tree/tree.d.ts
CHANGED
@@ -39,13 +39,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
39
39
|
default: number;
|
40
40
|
} & {
|
41
41
|
default: number;
|
42
|
-
};
|
43
|
-
* 设置节点属性
|
44
|
-
* @param node 指定节点
|
45
|
-
* @param attr 节点属性
|
46
|
-
* @param val 属性值
|
47
|
-
* @returns
|
48
|
-
*/
|
42
|
+
};
|
49
43
|
}, {
|
50
44
|
renderData: import("vue").ComputedRef<any[]>;
|
51
45
|
flatData: {
|
@@ -62,7 +56,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
62
56
|
getVirtualLines: (node: any) => JSX.Element[];
|
63
57
|
getNodePrefixIcon: (item: any) => any;
|
64
58
|
getLoadingIcon: (item: any) => JSX.Element | "";
|
65
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
59
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "check"[], "check", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
66
60
|
data: import("vue-types").VueTypeDef<any[]> & {
|
67
61
|
default: () => any[];
|
68
62
|
};
|
@@ -101,14 +95,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
101
95
|
default: number;
|
102
96
|
} & {
|
103
97
|
default: number;
|
104
|
-
};
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
* @param val 属性值
|
109
|
-
* @returns
|
110
|
-
*/
|
111
|
-
}>>, {
|
98
|
+
};
|
99
|
+
}>> & {
|
100
|
+
onCheck?: (...args: any[]) => any;
|
101
|
+
}, {
|
112
102
|
data: any[];
|
113
103
|
lineHeight: number;
|
114
104
|
prefixIcon: any;
|