@juzhenfe/page-model 3.9.49 → 3.10.0
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/page-model/type.d.ts +0 -12
- package/dist/components/search-form/type.d.ts +0 -5
- package/dist/components/table/type.d.ts +9 -0
- package/dist/components/table-toolsbox/index.vue.d.ts +31 -11
- package/dist/index.es.js +304 -370
- package/dist/index.min.css +1 -1
- package/dist/index.umd.js +3 -3
- package/dist/main.d.ts +1 -3
- package/package.json +1 -1
- package/dist/components/action-tools/index.vue.d.ts +0 -81
- package/dist/components/action-tools/type.d.ts +0 -10
- package/dist/components/page-model/patches/pach-filter-creator.d.ts +0 -5
- package/dist/components/page-model/patches/pach-scenes-creator.d.ts +0 -5
- package/dist/components/page-model/patches/patch-action.d.ts +0 -2
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
/// <reference path="../../types/common.d.ts" />
|
|
2
|
-
/// <reference path="../action-tools/type.d.ts" />
|
|
3
2
|
/// <reference path="./components/top-tabs/type.d.ts" />
|
|
4
3
|
/// <reference path="../search-form/type.d.ts" />
|
|
5
4
|
/// <reference path="../table/type.d.ts" />
|
|
@@ -79,14 +78,6 @@ declare global {
|
|
|
79
78
|
* 删除接口、详情接口参数构建方式,path参与路径,params参数请求
|
|
80
79
|
*/
|
|
81
80
|
urlMode?: UrlMode;
|
|
82
|
-
|
|
83
|
-
/**
|
|
84
|
-
* 是否自动添加新增按钮
|
|
85
|
-
*/
|
|
86
|
-
isAutoAddButton?: boolean;
|
|
87
|
-
|
|
88
|
-
// 是否自动添加导入按钮
|
|
89
|
-
isAutoImportButton?: boolean;
|
|
90
81
|
|
|
91
82
|
// 获取地址
|
|
92
83
|
getUrl?: string;
|
|
@@ -169,9 +160,6 @@ declare global {
|
|
|
169
160
|
// 顶部布局参数,包含tab栏等
|
|
170
161
|
tabs?: Tabs;
|
|
171
162
|
|
|
172
|
-
// 顶部按钮数据
|
|
173
|
-
action?: Action;
|
|
174
|
-
|
|
175
163
|
// config事件
|
|
176
164
|
events?: {
|
|
177
165
|
[key: string]: (this: PageModelManager, ...rest: any[]) => any;
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
import { PaginationProps } from "element-plus";
|
|
4
4
|
import { Sort } from "element-plus/es/components/table/src/table/defaults";
|
|
5
5
|
import TableManagerDefault from './constructor'
|
|
6
|
+
import { Component, ComponentPublicInstance } from "vue";
|
|
6
7
|
|
|
7
8
|
declare global {
|
|
8
9
|
namespace PageModel {
|
|
@@ -151,6 +152,14 @@ declare global {
|
|
|
151
152
|
* 工具箱
|
|
152
153
|
*/
|
|
153
154
|
toolbox?: ('export' | 'fullscreen' | 'colunm-tool')[]
|
|
155
|
+
/**
|
|
156
|
+
* 扩展工具栏
|
|
157
|
+
*/
|
|
158
|
+
extendsToolbox?: {
|
|
159
|
+
icon: Component;
|
|
160
|
+
text?: string;
|
|
161
|
+
event: string;
|
|
162
|
+
}[]
|
|
154
163
|
}
|
|
155
164
|
}
|
|
156
165
|
}
|
|
@@ -3,22 +3,42 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
3
3
|
type: any;
|
|
4
4
|
required: true;
|
|
5
5
|
};
|
|
6
|
+
extendsToolbox: {
|
|
7
|
+
type: any;
|
|
8
|
+
required: true;
|
|
9
|
+
};
|
|
6
10
|
}, {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
}
|
|
11
|
+
props: any;
|
|
12
|
+
emit: (event: "custom-event", ...args: any[]) => void;
|
|
13
|
+
innerTools: {
|
|
14
|
+
export: {
|
|
15
|
+
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
|
+
text: string;
|
|
17
|
+
event: string;
|
|
18
|
+
};
|
|
19
|
+
fullscreen: {
|
|
20
|
+
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
|
+
text: string;
|
|
22
|
+
event: string;
|
|
23
|
+
};
|
|
24
|
+
"colunm-tool": {
|
|
25
|
+
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
|
+
text: string;
|
|
27
|
+
event: string;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
showToolbox: import("vue").ComputedRef<any>;
|
|
31
|
+
handleClickTool: (index: number, e: Event) => void;
|
|
32
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "custom-event"[], "custom-event", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
15
33
|
toolbox: {
|
|
16
34
|
type: any;
|
|
17
35
|
required: true;
|
|
18
36
|
};
|
|
37
|
+
extendsToolbox: {
|
|
38
|
+
type: any;
|
|
39
|
+
required: true;
|
|
40
|
+
};
|
|
19
41
|
}>> & {
|
|
20
|
-
|
|
21
|
-
onFullscreen?: (...args: any[]) => any;
|
|
22
|
-
"onShow-column-tool"?: (...args: any[]) => any;
|
|
42
|
+
"onCustom-event"?: (...args: any[]) => any;
|
|
23
43
|
}, {}, {}>;
|
|
24
44
|
export default _sfc_main;
|