@juzhenfe/page-model 3.13.4 → 3.14.1
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/dist/components/table/constructor.d.ts +12 -0
- package/dist/components/table/type.d.ts +12 -0
- package/dist/components/table/utils/save-column-filter.d.ts +2 -0
- package/dist/components/table-toolsbox/index.vue.d.ts +25 -1
- package/dist/index.es.js +298 -207
- package/dist/index.min.css +1 -1
- package/dist/index.umd.js +3 -3
- package/package.json +1 -1
|
@@ -29,6 +29,14 @@ export default class TableManager extends IManager {
|
|
|
29
29
|
sortOrders: string[];
|
|
30
30
|
sortParams: AnyObject;
|
|
31
31
|
constructor(config?: PageModel.Table);
|
|
32
|
+
/**
|
|
33
|
+
* 是否已经初始化
|
|
34
|
+
*/
|
|
35
|
+
private isInitColumnParams;
|
|
36
|
+
/**
|
|
37
|
+
* 获取本地的表格的筛选参数
|
|
38
|
+
*/
|
|
39
|
+
initColumnParams(): boolean;
|
|
32
40
|
get table(): PageModel.Table<AnyObject, TableManager>;
|
|
33
41
|
/**
|
|
34
42
|
* config配置的rowKey
|
|
@@ -213,6 +221,10 @@ export default class TableManager extends IManager {
|
|
|
213
221
|
*/
|
|
214
222
|
currentRenderTableEls: PageModel.TableBaseItem[];
|
|
215
223
|
updateCurrentRenderTableEls(els: PageModel.TableBaseItem[]): void;
|
|
224
|
+
/**
|
|
225
|
+
* 当前隐藏的字段数量
|
|
226
|
+
*/
|
|
227
|
+
get hiddeenFieldCount(): number;
|
|
216
228
|
/**
|
|
217
229
|
* 内部筛选
|
|
218
230
|
*/
|
|
@@ -123,6 +123,12 @@ declare global {
|
|
|
123
123
|
* 是否可拖拽
|
|
124
124
|
*/
|
|
125
125
|
dragable?: boolean;
|
|
126
|
+
|
|
127
|
+
/**
|
|
128
|
+
* 是否保存
|
|
129
|
+
*/
|
|
130
|
+
saveFilter?: boolean;
|
|
131
|
+
|
|
126
132
|
/**
|
|
127
133
|
* 显示工具列
|
|
128
134
|
*/
|
|
@@ -195,6 +201,12 @@ declare global {
|
|
|
195
201
|
* 工具箱
|
|
196
202
|
*/
|
|
197
203
|
toolbox?: ('export' | 'fullscreen' | 'colunm-tool')[]
|
|
204
|
+
|
|
205
|
+
/**
|
|
206
|
+
* 工具栏显示模式
|
|
207
|
+
*/
|
|
208
|
+
toolboxShowMode?: 'button' | 'icon';
|
|
209
|
+
|
|
198
210
|
/**
|
|
199
211
|
* 扩展工具栏
|
|
200
212
|
*/
|
|
@@ -7,6 +7,15 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
7
7
|
type: any;
|
|
8
8
|
required: true;
|
|
9
9
|
};
|
|
10
|
+
mode: {
|
|
11
|
+
type: any;
|
|
12
|
+
required: false;
|
|
13
|
+
default: string;
|
|
14
|
+
};
|
|
15
|
+
tableManager: {
|
|
16
|
+
type: any;
|
|
17
|
+
required: false;
|
|
18
|
+
};
|
|
10
19
|
}, {
|
|
11
20
|
props: any;
|
|
12
21
|
emit: (event: "custom-event", ...args: any[]) => void;
|
|
@@ -15,16 +24,19 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
15
24
|
icon: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
16
25
|
text: string;
|
|
17
26
|
event: string;
|
|
27
|
+
desc: string;
|
|
18
28
|
};
|
|
19
29
|
fullscreen: {
|
|
20
30
|
icon: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
21
31
|
text: string;
|
|
22
32
|
event: string;
|
|
33
|
+
desc: string;
|
|
23
34
|
};
|
|
24
35
|
"colunm-tool": {
|
|
25
36
|
icon: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
26
37
|
text: string;
|
|
27
38
|
event: string;
|
|
39
|
+
desc: string;
|
|
28
40
|
};
|
|
29
41
|
};
|
|
30
42
|
showToolbox: import("vue").ComputedRef<any>;
|
|
@@ -38,7 +50,19 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
38
50
|
type: any;
|
|
39
51
|
required: true;
|
|
40
52
|
};
|
|
53
|
+
mode: {
|
|
54
|
+
type: any;
|
|
55
|
+
required: false;
|
|
56
|
+
default: string;
|
|
57
|
+
};
|
|
58
|
+
tableManager: {
|
|
59
|
+
type: any;
|
|
60
|
+
required: false;
|
|
61
|
+
};
|
|
41
62
|
}>> & {
|
|
42
63
|
"onCustom-event"?: (...args: any[]) => any;
|
|
43
|
-
}, {
|
|
64
|
+
}, {
|
|
65
|
+
mode: any;
|
|
66
|
+
tableManager: any;
|
|
67
|
+
}, {}>;
|
|
44
68
|
export default _sfc_main;
|