@juzhenfe/page-model 3.9.49 → 3.10.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/form-container/components/dialog-mode/index.vue.d.ts +4 -0
- package/dist/components/form-container/components/drawer-mode/index.vue.d.ts +4 -0
- package/dist/components/form-dialog/index.vue.d.ts +4 -0
- package/dist/components/form-drawer/index.vue.d.ts +4 -0
- package/dist/components/page-model/type.d.ts +0 -12
- package/dist/components/search-form/components/search-form-full/index.vue.d.ts +4 -0
- 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 +337 -385
- 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
|
@@ -56,6 +56,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
56
56
|
onUpdateModelValue: (value: boolean) => void;
|
|
57
57
|
bind: (bindElement: HTMLElement) => void;
|
|
58
58
|
destroy: () => void;
|
|
59
|
+
slots: Readonly<{
|
|
60
|
+
[name: string]: import("vue").Slot<any>;
|
|
61
|
+
}>;
|
|
62
|
+
hasFooterSlot: import("vue").ComputedRef<boolean>;
|
|
59
63
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:model-value"[], "update:model-value", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
60
64
|
modelValue: {
|
|
61
65
|
type: BooleanConstructor;
|
|
@@ -58,6 +58,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
58
58
|
createBEMName: (name: string) => string;
|
|
59
59
|
onUpdateModelValue: (value: boolean) => void;
|
|
60
60
|
drawerRef: import("vue").Ref<any>;
|
|
61
|
+
slots: Readonly<{
|
|
62
|
+
[name: string]: import("vue").Slot<any>;
|
|
63
|
+
}>;
|
|
64
|
+
hasFooterSlot: import("vue").ComputedRef<boolean>;
|
|
61
65
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:model-value"[], "update:model-value", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
62
66
|
modelValue: {
|
|
63
67
|
type: BooleanConstructor;
|
|
@@ -37,6 +37,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
37
37
|
onUpdateModelValue: (value: boolean) => void;
|
|
38
38
|
bind: (bindElement: HTMLElement) => void;
|
|
39
39
|
destroy: () => void;
|
|
40
|
+
slots: Readonly<{
|
|
41
|
+
[name: string]: import("vue").Slot<any>;
|
|
42
|
+
}>;
|
|
43
|
+
hasFooterSlot: import("vue").ComputedRef<boolean>;
|
|
40
44
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:model-value"[], "update:model-value", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
41
45
|
modelValue: {
|
|
42
46
|
type: BooleanConstructor;
|
|
@@ -36,6 +36,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
36
36
|
createBEMName: (name: string) => string;
|
|
37
37
|
onUpdateModelValue: (value: boolean) => void;
|
|
38
38
|
drawerRef: import("vue").Ref<any>;
|
|
39
|
+
slots: Readonly<{
|
|
40
|
+
[name: string]: import("vue").Slot<any>;
|
|
41
|
+
}>;
|
|
42
|
+
hasFooterSlot: import("vue").ComputedRef<boolean>;
|
|
39
43
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:model-value"[], "update:model-value", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
40
44
|
modelValue: {
|
|
41
45
|
type: BooleanConstructor;
|
|
@@ -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;
|
|
@@ -55,6 +55,10 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
55
55
|
onUpdateModelValue: (value: boolean) => void;
|
|
56
56
|
bind: (bindElement: HTMLElement) => void;
|
|
57
57
|
destroy: () => void;
|
|
58
|
+
slots: Readonly<{
|
|
59
|
+
[name: string]: import("vue").Slot<any>;
|
|
60
|
+
}>;
|
|
61
|
+
hasFooterSlot: import("vue").ComputedRef<boolean>;
|
|
58
62
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:model-value"[], "update:model-value", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
59
63
|
modelValue: {
|
|
60
64
|
type: BooleanConstructor;
|
|
@@ -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;
|