xframelib 0.7.3 → 0.7.6
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/README.md +23 -18
- package/dist/api/Token.d.ts +15 -15
- package/dist/api/User.d.ts +49 -49
- package/dist/api/index.d.ts +2 -2
- package/dist/assets/output-ad5f5cbf.css +307 -0
- package/dist/controls/collapsepanel/VCollapsiblePanel.vue.d.ts +27 -27
- package/dist/controls/collapsepanel/VCollapsiblePanelGroup.vue.d.ts +33 -33
- package/dist/controls/collapsepanel/color.util.d.ts +1 -1
- package/dist/controls/collapsepanel/composables/store.d.ts +7 -7
- package/dist/controls/collapsepanel/constant.d.ts +1 -1
- package/dist/controls/collapsepanel/index.d.ts +3 -3
- package/dist/controls/layoutcontainer/LayoutManager.d.ts +133 -112
- package/dist/controls/layoutcontainer/index.d.ts +3 -3
- package/dist/controls/layoutcontainer/layout.vue.d.ts +61 -60
- package/dist/controls/splitpanes/index.d.ts +3 -3
- package/dist/controls/vuewindow/SinglePointerEvent.d.ts +23 -23
- package/dist/controls/vuewindow/dom.d.ts +16 -16
- package/dist/controls/vuewindow/draggable_helper.d.ts +20 -20
- package/dist/controls/vuewindow/index.d.ts +6 -6
- package/dist/controls/vuewindow/resizable_helper.d.ts +16 -16
- package/dist/controls/vuewindow/style.d.ts +110 -110
- package/dist/controls/vuewindow/window/Button.vue.d.ts +29 -29
- package/dist/controls/vuewindow/window/index.vue.d.ts +211 -211
- package/dist/controls/vuewindow/window/utils.d.ts +17 -17
- package/dist/controls/vuewindow/z_element.d.ts +11 -11
- package/dist/core/Global.d.ts +2 -2
- package/dist/core/IModel.d.ts +46 -46
- package/dist/core/Init.d.ts +20 -20
- package/dist/core/MsgHelper.d.ts +13 -13
- package/dist/core/SysEvents.d.ts +24 -24
- package/dist/core/index.d.ts +4 -4
- package/dist/hprose/HproseClient.d.ts +20 -20
- package/dist/hprose/ProxyClient.d.ts +39 -39
- package/dist/hprose/index.d.ts +11 -11
- package/dist/index.cjs +10 -5
- package/dist/index.css +96 -81
- package/dist/index.d.ts +11 -11
- package/dist/index.js +10 -5
- package/dist/mitt/index.d.ts +25 -25
- package/dist/model/Config.d.ts +151 -151
- package/dist/model/Constants.d.ts +19 -19
- package/dist/model/IRole.d.ts +89 -89
- package/dist/model/IUserModel.d.ts +67 -67
- package/dist/model/Layout.d.ts +83 -83
- package/dist/model/index.d.ts +5 -5
- package/dist/permission/RoleSysRightHelper.d.ts +27 -27
- package/dist/permission/filter.d.ts +45 -45
- package/dist/permission/index.d.ts +4 -4
- package/dist/permission/register.d.ts +24 -24
- package/dist/permission/right.d.ts +15 -15
- package/dist/utils/AxiosHelper.d.ts +58 -58
- package/dist/utils/BigFileDownload.d.ts +117 -117
- package/dist/utils/CodeHelper.d.ts +14 -14
- package/dist/utils/Color.d.ts +74 -74
- package/dist/utils/FileDownload.d.ts +36 -36
- package/dist/utils/FileUpload.d.ts +90 -90
- package/dist/utils/H5Tool.d.ts +158 -150
- package/dist/utils/IsTool.d.ts +101 -101
- package/dist/utils/JQuery.d.ts +41 -41
- package/dist/utils/LockHelper.d.ts +17 -17
- package/dist/utils/SignalRClient.d.ts +8 -8
- package/dist/utils/Storage.d.ts +66 -66
- package/dist/utils/StringUtils.d.ts +15 -15
- package/dist/utils/Time.d.ts +11 -11
- package/dist/utils/TokenHelper.d.ts +18 -18
- package/dist/utils/URLTool.d.ts +18 -18
- package/dist/utils/ValidateTool.d.ts +149 -149
- package/dist/utils/WaterMark.d.ts +10 -10
- package/dist/utils/XXTEA.d.ts +15 -15
- package/dist/utils/index.d.ts +21 -21
- package/dist/utils/uuid.d.ts +3 -3
- package/package.json +19 -19
|
@@ -1,211 +1,211 @@
|
|
|
1
|
-
import { PropType } from 'vue';
|
|
2
|
-
declare const _default: import("vue").DefineComponent<{
|
|
3
|
-
windowStyle: {
|
|
4
|
-
type: ObjectConstructor;
|
|
5
|
-
required: true;
|
|
6
|
-
};
|
|
7
|
-
isOpen: {
|
|
8
|
-
type: PropType<boolean>;
|
|
9
|
-
required: false;
|
|
10
|
-
default: boolean;
|
|
11
|
-
};
|
|
12
|
-
title: {
|
|
13
|
-
type: PropType<string>;
|
|
14
|
-
required: true;
|
|
15
|
-
default: string;
|
|
16
|
-
};
|
|
17
|
-
closeButton: {
|
|
18
|
-
type: PropType<boolean>;
|
|
19
|
-
required: false;
|
|
20
|
-
default: boolean;
|
|
21
|
-
};
|
|
22
|
-
resizable: {
|
|
23
|
-
type: PropType<boolean>;
|
|
24
|
-
required: false;
|
|
25
|
-
default: boolean;
|
|
26
|
-
};
|
|
27
|
-
isScrollable: {
|
|
28
|
-
type: PropType<boolean>;
|
|
29
|
-
required: false;
|
|
30
|
-
default: boolean;
|
|
31
|
-
};
|
|
32
|
-
padding: {
|
|
33
|
-
type: PropType<number>;
|
|
34
|
-
required: false;
|
|
35
|
-
default: number;
|
|
36
|
-
};
|
|
37
|
-
activateWhenOpen: {
|
|
38
|
-
type: PropType<boolean>;
|
|
39
|
-
required: false;
|
|
40
|
-
default: boolean;
|
|
41
|
-
};
|
|
42
|
-
positionHint: {
|
|
43
|
-
type: PropType<string>;
|
|
44
|
-
required: false;
|
|
45
|
-
default: string;
|
|
46
|
-
};
|
|
47
|
-
zGroup: {
|
|
48
|
-
type: PropType<number>;
|
|
49
|
-
required: false;
|
|
50
|
-
default: number;
|
|
51
|
-
};
|
|
52
|
-
overflow: {
|
|
53
|
-
type: PropType<string>;
|
|
54
|
-
required: false;
|
|
55
|
-
default: string;
|
|
56
|
-
};
|
|
57
|
-
minWidth: {
|
|
58
|
-
type: PropType<number>;
|
|
59
|
-
required: false;
|
|
60
|
-
default: number;
|
|
61
|
-
};
|
|
62
|
-
minHeight: {
|
|
63
|
-
type: PropType<number>;
|
|
64
|
-
required: false;
|
|
65
|
-
default: number;
|
|
66
|
-
};
|
|
67
|
-
maxWidth: {
|
|
68
|
-
type: PropType<number>;
|
|
69
|
-
required: false;
|
|
70
|
-
default: number;
|
|
71
|
-
};
|
|
72
|
-
maxHeight: {
|
|
73
|
-
type: PropType<number>;
|
|
74
|
-
required: false;
|
|
75
|
-
default: number;
|
|
76
|
-
};
|
|
77
|
-
height: {
|
|
78
|
-
type: PropType<number>;
|
|
79
|
-
required: false;
|
|
80
|
-
};
|
|
81
|
-
width: {
|
|
82
|
-
type: PropType<number>;
|
|
83
|
-
required: false;
|
|
84
|
-
};
|
|
85
|
-
top: {
|
|
86
|
-
type: PropType<number>;
|
|
87
|
-
required: false;
|
|
88
|
-
};
|
|
89
|
-
left: {
|
|
90
|
-
type: PropType<number>;
|
|
91
|
-
required: false;
|
|
92
|
-
};
|
|
93
|
-
}, {
|
|
94
|
-
isOpen: import("vue").Ref<boolean>;
|
|
95
|
-
windowEl: any;
|
|
96
|
-
titlebar: any;
|
|
97
|
-
content: any;
|
|
98
|
-
activate: () => void;
|
|
99
|
-
styleWindow: any;
|
|
100
|
-
styleTitlebar: import("vue").ComputedRef<any>;
|
|
101
|
-
styleContent: import("vue").ComputedRef<any>;
|
|
102
|
-
closeButtonClick: () => void;
|
|
103
|
-
fixPosition: () => void;
|
|
104
|
-
} | undefined, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
105
|
-
windowStyle: {
|
|
106
|
-
type: ObjectConstructor;
|
|
107
|
-
required: true;
|
|
108
|
-
};
|
|
109
|
-
isOpen: {
|
|
110
|
-
type: PropType<boolean>;
|
|
111
|
-
required: false;
|
|
112
|
-
default: boolean;
|
|
113
|
-
};
|
|
114
|
-
title: {
|
|
115
|
-
type: PropType<string>;
|
|
116
|
-
required: true;
|
|
117
|
-
default: string;
|
|
118
|
-
};
|
|
119
|
-
closeButton: {
|
|
120
|
-
type: PropType<boolean>;
|
|
121
|
-
required: false;
|
|
122
|
-
default: boolean;
|
|
123
|
-
};
|
|
124
|
-
resizable: {
|
|
125
|
-
type: PropType<boolean>;
|
|
126
|
-
required: false;
|
|
127
|
-
default: boolean;
|
|
128
|
-
};
|
|
129
|
-
isScrollable: {
|
|
130
|
-
type: PropType<boolean>;
|
|
131
|
-
required: false;
|
|
132
|
-
default: boolean;
|
|
133
|
-
};
|
|
134
|
-
padding: {
|
|
135
|
-
type: PropType<number>;
|
|
136
|
-
required: false;
|
|
137
|
-
default: number;
|
|
138
|
-
};
|
|
139
|
-
activateWhenOpen: {
|
|
140
|
-
type: PropType<boolean>;
|
|
141
|
-
required: false;
|
|
142
|
-
default: boolean;
|
|
143
|
-
};
|
|
144
|
-
positionHint: {
|
|
145
|
-
type: PropType<string>;
|
|
146
|
-
required: false;
|
|
147
|
-
default: string;
|
|
148
|
-
};
|
|
149
|
-
zGroup: {
|
|
150
|
-
type: PropType<number>;
|
|
151
|
-
required: false;
|
|
152
|
-
default: number;
|
|
153
|
-
};
|
|
154
|
-
overflow: {
|
|
155
|
-
type: PropType<string>;
|
|
156
|
-
required: false;
|
|
157
|
-
default: string;
|
|
158
|
-
};
|
|
159
|
-
minWidth: {
|
|
160
|
-
type: PropType<number>;
|
|
161
|
-
required: false;
|
|
162
|
-
default: number;
|
|
163
|
-
};
|
|
164
|
-
minHeight: {
|
|
165
|
-
type: PropType<number>;
|
|
166
|
-
required: false;
|
|
167
|
-
default: number;
|
|
168
|
-
};
|
|
169
|
-
maxWidth: {
|
|
170
|
-
type: PropType<number>;
|
|
171
|
-
required: false;
|
|
172
|
-
default: number;
|
|
173
|
-
};
|
|
174
|
-
maxHeight: {
|
|
175
|
-
type: PropType<number>;
|
|
176
|
-
required: false;
|
|
177
|
-
default: number;
|
|
178
|
-
};
|
|
179
|
-
height: {
|
|
180
|
-
type: PropType<number>;
|
|
181
|
-
required: false;
|
|
182
|
-
};
|
|
183
|
-
width: {
|
|
184
|
-
type: PropType<number>;
|
|
185
|
-
required: false;
|
|
186
|
-
};
|
|
187
|
-
top: {
|
|
188
|
-
type: PropType<number>;
|
|
189
|
-
required: false;
|
|
190
|
-
};
|
|
191
|
-
left: {
|
|
192
|
-
type: PropType<number>;
|
|
193
|
-
required: false;
|
|
194
|
-
};
|
|
195
|
-
}>>, {
|
|
196
|
-
isOpen: boolean;
|
|
197
|
-
title: string;
|
|
198
|
-
closeButton: boolean;
|
|
199
|
-
resizable: boolean;
|
|
200
|
-
isScrollable: boolean;
|
|
201
|
-
padding: number;
|
|
202
|
-
activateWhenOpen: boolean;
|
|
203
|
-
positionHint: string;
|
|
204
|
-
zGroup: number;
|
|
205
|
-
overflow: string;
|
|
206
|
-
minWidth: number;
|
|
207
|
-
minHeight: number;
|
|
208
|
-
maxWidth: number;
|
|
209
|
-
maxHeight: number;
|
|
210
|
-
}>;
|
|
211
|
-
export default _default;
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<{
|
|
3
|
+
windowStyle: {
|
|
4
|
+
type: ObjectConstructor;
|
|
5
|
+
required: true;
|
|
6
|
+
};
|
|
7
|
+
isOpen: {
|
|
8
|
+
type: PropType<boolean>;
|
|
9
|
+
required: false;
|
|
10
|
+
default: boolean;
|
|
11
|
+
};
|
|
12
|
+
title: {
|
|
13
|
+
type: PropType<string>;
|
|
14
|
+
required: true;
|
|
15
|
+
default: string;
|
|
16
|
+
};
|
|
17
|
+
closeButton: {
|
|
18
|
+
type: PropType<boolean>;
|
|
19
|
+
required: false;
|
|
20
|
+
default: boolean;
|
|
21
|
+
};
|
|
22
|
+
resizable: {
|
|
23
|
+
type: PropType<boolean>;
|
|
24
|
+
required: false;
|
|
25
|
+
default: boolean;
|
|
26
|
+
};
|
|
27
|
+
isScrollable: {
|
|
28
|
+
type: PropType<boolean>;
|
|
29
|
+
required: false;
|
|
30
|
+
default: boolean;
|
|
31
|
+
};
|
|
32
|
+
padding: {
|
|
33
|
+
type: PropType<number>;
|
|
34
|
+
required: false;
|
|
35
|
+
default: number;
|
|
36
|
+
};
|
|
37
|
+
activateWhenOpen: {
|
|
38
|
+
type: PropType<boolean>;
|
|
39
|
+
required: false;
|
|
40
|
+
default: boolean;
|
|
41
|
+
};
|
|
42
|
+
positionHint: {
|
|
43
|
+
type: PropType<string>;
|
|
44
|
+
required: false;
|
|
45
|
+
default: string;
|
|
46
|
+
};
|
|
47
|
+
zGroup: {
|
|
48
|
+
type: PropType<number>;
|
|
49
|
+
required: false;
|
|
50
|
+
default: number;
|
|
51
|
+
};
|
|
52
|
+
overflow: {
|
|
53
|
+
type: PropType<string>;
|
|
54
|
+
required: false;
|
|
55
|
+
default: string;
|
|
56
|
+
};
|
|
57
|
+
minWidth: {
|
|
58
|
+
type: PropType<number>;
|
|
59
|
+
required: false;
|
|
60
|
+
default: number;
|
|
61
|
+
};
|
|
62
|
+
minHeight: {
|
|
63
|
+
type: PropType<number>;
|
|
64
|
+
required: false;
|
|
65
|
+
default: number;
|
|
66
|
+
};
|
|
67
|
+
maxWidth: {
|
|
68
|
+
type: PropType<number>;
|
|
69
|
+
required: false;
|
|
70
|
+
default: number;
|
|
71
|
+
};
|
|
72
|
+
maxHeight: {
|
|
73
|
+
type: PropType<number>;
|
|
74
|
+
required: false;
|
|
75
|
+
default: number;
|
|
76
|
+
};
|
|
77
|
+
height: {
|
|
78
|
+
type: PropType<number>;
|
|
79
|
+
required: false;
|
|
80
|
+
};
|
|
81
|
+
width: {
|
|
82
|
+
type: PropType<number>;
|
|
83
|
+
required: false;
|
|
84
|
+
};
|
|
85
|
+
top: {
|
|
86
|
+
type: PropType<number>;
|
|
87
|
+
required: false;
|
|
88
|
+
};
|
|
89
|
+
left: {
|
|
90
|
+
type: PropType<number>;
|
|
91
|
+
required: false;
|
|
92
|
+
};
|
|
93
|
+
}, {
|
|
94
|
+
isOpen: import("vue").Ref<boolean>;
|
|
95
|
+
windowEl: any;
|
|
96
|
+
titlebar: any;
|
|
97
|
+
content: any;
|
|
98
|
+
activate: () => void;
|
|
99
|
+
styleWindow: any;
|
|
100
|
+
styleTitlebar: import("vue").ComputedRef<any>;
|
|
101
|
+
styleContent: import("vue").ComputedRef<any>;
|
|
102
|
+
closeButtonClick: () => void;
|
|
103
|
+
fixPosition: () => void;
|
|
104
|
+
} | undefined, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
105
|
+
windowStyle: {
|
|
106
|
+
type: ObjectConstructor;
|
|
107
|
+
required: true;
|
|
108
|
+
};
|
|
109
|
+
isOpen: {
|
|
110
|
+
type: PropType<boolean>;
|
|
111
|
+
required: false;
|
|
112
|
+
default: boolean;
|
|
113
|
+
};
|
|
114
|
+
title: {
|
|
115
|
+
type: PropType<string>;
|
|
116
|
+
required: true;
|
|
117
|
+
default: string;
|
|
118
|
+
};
|
|
119
|
+
closeButton: {
|
|
120
|
+
type: PropType<boolean>;
|
|
121
|
+
required: false;
|
|
122
|
+
default: boolean;
|
|
123
|
+
};
|
|
124
|
+
resizable: {
|
|
125
|
+
type: PropType<boolean>;
|
|
126
|
+
required: false;
|
|
127
|
+
default: boolean;
|
|
128
|
+
};
|
|
129
|
+
isScrollable: {
|
|
130
|
+
type: PropType<boolean>;
|
|
131
|
+
required: false;
|
|
132
|
+
default: boolean;
|
|
133
|
+
};
|
|
134
|
+
padding: {
|
|
135
|
+
type: PropType<number>;
|
|
136
|
+
required: false;
|
|
137
|
+
default: number;
|
|
138
|
+
};
|
|
139
|
+
activateWhenOpen: {
|
|
140
|
+
type: PropType<boolean>;
|
|
141
|
+
required: false;
|
|
142
|
+
default: boolean;
|
|
143
|
+
};
|
|
144
|
+
positionHint: {
|
|
145
|
+
type: PropType<string>;
|
|
146
|
+
required: false;
|
|
147
|
+
default: string;
|
|
148
|
+
};
|
|
149
|
+
zGroup: {
|
|
150
|
+
type: PropType<number>;
|
|
151
|
+
required: false;
|
|
152
|
+
default: number;
|
|
153
|
+
};
|
|
154
|
+
overflow: {
|
|
155
|
+
type: PropType<string>;
|
|
156
|
+
required: false;
|
|
157
|
+
default: string;
|
|
158
|
+
};
|
|
159
|
+
minWidth: {
|
|
160
|
+
type: PropType<number>;
|
|
161
|
+
required: false;
|
|
162
|
+
default: number;
|
|
163
|
+
};
|
|
164
|
+
minHeight: {
|
|
165
|
+
type: PropType<number>;
|
|
166
|
+
required: false;
|
|
167
|
+
default: number;
|
|
168
|
+
};
|
|
169
|
+
maxWidth: {
|
|
170
|
+
type: PropType<number>;
|
|
171
|
+
required: false;
|
|
172
|
+
default: number;
|
|
173
|
+
};
|
|
174
|
+
maxHeight: {
|
|
175
|
+
type: PropType<number>;
|
|
176
|
+
required: false;
|
|
177
|
+
default: number;
|
|
178
|
+
};
|
|
179
|
+
height: {
|
|
180
|
+
type: PropType<number>;
|
|
181
|
+
required: false;
|
|
182
|
+
};
|
|
183
|
+
width: {
|
|
184
|
+
type: PropType<number>;
|
|
185
|
+
required: false;
|
|
186
|
+
};
|
|
187
|
+
top: {
|
|
188
|
+
type: PropType<number>;
|
|
189
|
+
required: false;
|
|
190
|
+
};
|
|
191
|
+
left: {
|
|
192
|
+
type: PropType<number>;
|
|
193
|
+
required: false;
|
|
194
|
+
};
|
|
195
|
+
}>>, {
|
|
196
|
+
isOpen: boolean;
|
|
197
|
+
title: string;
|
|
198
|
+
closeButton: boolean;
|
|
199
|
+
resizable: boolean;
|
|
200
|
+
isScrollable: boolean;
|
|
201
|
+
padding: number;
|
|
202
|
+
activateWhenOpen: boolean;
|
|
203
|
+
positionHint: string;
|
|
204
|
+
zGroup: number;
|
|
205
|
+
overflow: string;
|
|
206
|
+
minWidth: number;
|
|
207
|
+
minHeight: number;
|
|
208
|
+
maxWidth: number;
|
|
209
|
+
maxHeight: number;
|
|
210
|
+
}, {}>;
|
|
211
|
+
export default _default;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
export declare const windows: Set<unknown>;
|
|
2
|
-
export declare function contentSize(el: HTMLElement): {
|
|
3
|
-
width: number;
|
|
4
|
-
height: number;
|
|
5
|
-
};
|
|
6
|
-
export declare class WindowResizeEvent {
|
|
7
|
-
readonly width: number;
|
|
8
|
-
readonly height: number;
|
|
9
|
-
constructor(width: number, height: number);
|
|
10
|
-
}
|
|
11
|
-
export declare function leftTop(proxy: any): {
|
|
12
|
-
left: number;
|
|
13
|
-
top: number;
|
|
14
|
-
} | null;
|
|
15
|
-
export declare function distance2(x1: number, y1: number, x2: number, y2: number): number;
|
|
16
|
-
export declare function fixPosition(): void;
|
|
17
|
-
export declare const instances: any[];
|
|
1
|
+
export declare const windows: Set<unknown>;
|
|
2
|
+
export declare function contentSize(el: HTMLElement): {
|
|
3
|
+
width: number;
|
|
4
|
+
height: number;
|
|
5
|
+
};
|
|
6
|
+
export declare class WindowResizeEvent {
|
|
7
|
+
readonly width: number;
|
|
8
|
+
readonly height: number;
|
|
9
|
+
constructor(width: number, height: number);
|
|
10
|
+
}
|
|
11
|
+
export declare function leftTop(proxy: any): {
|
|
12
|
+
left: number;
|
|
13
|
+
top: number;
|
|
14
|
+
} | null;
|
|
15
|
+
export declare function distance2(x1: number, y1: number, x2: number, y2: number): number;
|
|
16
|
+
export declare function fixPosition(): void;
|
|
17
|
+
export declare const instances: any[];
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export default class ZElement {
|
|
2
|
-
private _group;
|
|
3
|
-
onChange: (zIndex: number) => void;
|
|
4
|
-
zIndex?: number;
|
|
5
|
-
constructor(_group: number, onChange: (zIndex: number) => void);
|
|
6
|
-
set group(_group: number);
|
|
7
|
-
get group(): number;
|
|
8
|
-
unregister(): void;
|
|
9
|
-
raise(): void;
|
|
10
|
-
private a;
|
|
11
|
-
}
|
|
1
|
+
export default class ZElement {
|
|
2
|
+
private _group;
|
|
3
|
+
onChange: (zIndex: number) => void;
|
|
4
|
+
zIndex?: number;
|
|
5
|
+
constructor(_group: number, onChange: (zIndex: number) => void);
|
|
6
|
+
set group(_group: number);
|
|
7
|
+
get group(): number;
|
|
8
|
+
unregister(): void;
|
|
9
|
+
raise(): void;
|
|
10
|
+
private a;
|
|
11
|
+
}
|
package/dist/core/Global.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { InnerObject } from
|
|
2
|
-
export declare const Global: InnerObject;
|
|
1
|
+
import { InnerObject } from "./IModel";
|
|
2
|
+
export declare const Global: InnerObject;
|
package/dist/core/IModel.d.ts
CHANGED
|
@@ -1,46 +1,46 @@
|
|
|
1
|
-
import MsgHelper from './MsgHelper';
|
|
2
|
-
import { Emitter } from '../mitt';
|
|
3
|
-
import ProxyClient from '../hprose/ProxyClient';
|
|
4
|
-
import { ISystemConfig } from '../model/Config';
|
|
5
|
-
import { LayoutManager } from '../controls/layoutcontainer';
|
|
6
|
-
import { AxiosStatic } from 'axios';
|
|
7
|
-
import * as Log from "loglevel";
|
|
8
|
-
export interface InnerObject {
|
|
9
|
-
/**
|
|
10
|
-
* axios对象
|
|
11
|
-
*/
|
|
12
|
-
Axios: AxiosStatic;
|
|
13
|
-
Config: ISystemConfig;
|
|
14
|
-
EventBus: Emitter;
|
|
15
|
-
DefaultProxyClient: ProxyClient | null | undefined;
|
|
16
|
-
Message?: MsgHelper;
|
|
17
|
-
/**
|
|
18
|
-
* 布局管理对象
|
|
19
|
-
*/
|
|
20
|
-
LayoutManager?: LayoutManager;
|
|
21
|
-
/**
|
|
22
|
-
* 系统ID标识
|
|
23
|
-
*/
|
|
24
|
-
SystemID?: string;
|
|
25
|
-
/**
|
|
26
|
-
* 系统——工程项目名,分组名
|
|
27
|
-
* 例如:都是影像工程
|
|
28
|
-
*/
|
|
29
|
-
SystemGroup?: string;
|
|
30
|
-
/**
|
|
31
|
-
* 日志记录
|
|
32
|
-
* @param name 日志名称
|
|
33
|
-
*/
|
|
34
|
-
Logger(name?: string): Log.Logger;
|
|
35
|
-
[props: string]: any;
|
|
36
|
-
}
|
|
37
|
-
/**
|
|
38
|
-
* 初始化配置信息
|
|
39
|
-
*/
|
|
40
|
-
export interface XOptions {
|
|
41
|
-
config?: any;
|
|
42
|
-
message?: any;
|
|
43
|
-
sysID?: string;
|
|
44
|
-
sysGroup?: string;
|
|
45
|
-
defaultHproseURL?: string;
|
|
46
|
-
}
|
|
1
|
+
import MsgHelper from './MsgHelper';
|
|
2
|
+
import { Emitter } from '../mitt';
|
|
3
|
+
import ProxyClient from '../hprose/ProxyClient';
|
|
4
|
+
import { ISystemConfig } from '../model/Config';
|
|
5
|
+
import { LayoutManager } from '../controls/layoutcontainer';
|
|
6
|
+
import { AxiosStatic } from 'axios';
|
|
7
|
+
import * as Log from "loglevel";
|
|
8
|
+
export interface InnerObject {
|
|
9
|
+
/**
|
|
10
|
+
* axios对象
|
|
11
|
+
*/
|
|
12
|
+
Axios: AxiosStatic;
|
|
13
|
+
Config: ISystemConfig;
|
|
14
|
+
EventBus: Emitter;
|
|
15
|
+
DefaultProxyClient: ProxyClient | null | undefined;
|
|
16
|
+
Message?: MsgHelper;
|
|
17
|
+
/**
|
|
18
|
+
* 布局管理对象
|
|
19
|
+
*/
|
|
20
|
+
LayoutManager?: LayoutManager;
|
|
21
|
+
/**
|
|
22
|
+
* 系统ID标识
|
|
23
|
+
*/
|
|
24
|
+
SystemID?: string;
|
|
25
|
+
/**
|
|
26
|
+
* 系统——工程项目名,分组名
|
|
27
|
+
* 例如:都是影像工程
|
|
28
|
+
*/
|
|
29
|
+
SystemGroup?: string;
|
|
30
|
+
/**
|
|
31
|
+
* 日志记录
|
|
32
|
+
* @param name 日志名称
|
|
33
|
+
*/
|
|
34
|
+
Logger(name?: string): Log.Logger;
|
|
35
|
+
[props: string]: any;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* 初始化配置信息
|
|
39
|
+
*/
|
|
40
|
+
export interface XOptions {
|
|
41
|
+
config?: any;
|
|
42
|
+
message?: any;
|
|
43
|
+
sysID?: string;
|
|
44
|
+
sysGroup?: string;
|
|
45
|
+
defaultHproseURL?: string;
|
|
46
|
+
}
|
package/dist/core/Init.d.ts
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import ProxyClient from '../hprose/ProxyClient';
|
|
2
|
-
/**
|
|
3
|
-
* 框架初始化
|
|
4
|
-
* @param messageUI 消息UI,例如message
|
|
5
|
-
* @param sysID 系统的标识,工程名+版本的MD5值
|
|
6
|
-
* @param sysGroup 系统工程分组名,工程
|
|
7
|
-
*/
|
|
8
|
-
export declare const init: (messageUI: any, sysID?: string, sysGroup?: string) => void;
|
|
9
|
-
/**
|
|
10
|
-
* 获取HproseProxy对象
|
|
11
|
-
* @param hproseURL Hprose服务链接地址
|
|
12
|
-
* @returns Hprose代理对象
|
|
13
|
-
*/
|
|
14
|
-
export declare function getProxyClient(hproseURL?: string): ProxyClient | undefined;
|
|
15
|
-
/**
|
|
16
|
-
* 初始化Global.DefaultProxyClient对象
|
|
17
|
-
* @param defaulthproseURL 默认的Hprose服务对象URL
|
|
18
|
-
* @returns ProxyClient对象
|
|
19
|
-
*/
|
|
20
|
-
export declare function initDefaultProxyClient(defaulthproseURL?: string): ProxyClient | undefined;
|
|
1
|
+
import ProxyClient from '../hprose/ProxyClient';
|
|
2
|
+
/**
|
|
3
|
+
* 框架初始化
|
|
4
|
+
* @param messageUI 消息UI,例如message
|
|
5
|
+
* @param sysID 系统的标识,工程名+版本的MD5值
|
|
6
|
+
* @param sysGroup 系统工程分组名,工程
|
|
7
|
+
*/
|
|
8
|
+
export declare const init: (messageUI: any, sysID?: string, sysGroup?: string) => void;
|
|
9
|
+
/**
|
|
10
|
+
* 获取HproseProxy对象
|
|
11
|
+
* @param hproseURL Hprose服务链接地址
|
|
12
|
+
* @returns Hprose代理对象
|
|
13
|
+
*/
|
|
14
|
+
export declare function getProxyClient(hproseURL?: string): ProxyClient | undefined;
|
|
15
|
+
/**
|
|
16
|
+
* 初始化Global.DefaultProxyClient对象
|
|
17
|
+
* @param defaulthproseURL 默认的Hprose服务对象URL
|
|
18
|
+
* @returns ProxyClient对象
|
|
19
|
+
*/
|
|
20
|
+
export declare function initDefaultProxyClient(defaulthproseURL?: string): ProxyClient | undefined;
|
package/dist/core/MsgHelper.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { Emitter } from '../mitt';
|
|
2
|
-
declare class MsgHelper {
|
|
3
|
-
private message;
|
|
4
|
-
private eventBus;
|
|
5
|
-
constructor(messageui: any, eventbus?: Emitter | undefined);
|
|
6
|
-
/**共用消息 */
|
|
7
|
-
msg(msgInfo: string, seconds?: number, typename?: string): void;
|
|
8
|
-
info(msgInfo: string, seconds?: number): void;
|
|
9
|
-
warn(msgInfo: string, seconds?: number): void;
|
|
10
|
-
err(msgInfo: string, seconds?: number): void;
|
|
11
|
-
success(msgInfo: string, seconds?: number): void;
|
|
12
|
-
}
|
|
13
|
-
export default MsgHelper;
|
|
1
|
+
import { Emitter } from '../mitt';
|
|
2
|
+
declare class MsgHelper {
|
|
3
|
+
private message;
|
|
4
|
+
private eventBus;
|
|
5
|
+
constructor(messageui: any, eventbus?: Emitter | undefined);
|
|
6
|
+
/**共用消息 */
|
|
7
|
+
msg(msgInfo: string, seconds?: number, typename?: string): void;
|
|
8
|
+
info(msgInfo: string, seconds?: number): void;
|
|
9
|
+
warn(msgInfo: string, seconds?: number): void;
|
|
10
|
+
err(msgInfo: string, seconds?: number): void;
|
|
11
|
+
success(msgInfo: string, seconds?: number): void;
|
|
12
|
+
}
|
|
13
|
+
export default MsgHelper;
|