xframelib 0.7.3 → 0.7.5
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 +22 -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 +119 -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 +20 -5
- 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
package/dist/core/SysEvents.d.ts
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
export declare const SysEvents: {
|
|
2
|
-
HproseServiceErrorEvent: string;
|
|
3
|
-
WebAPIErrorEvent: string;
|
|
4
|
-
AlertInfoEvent: string;
|
|
5
|
-
/**
|
|
6
|
-
* 一般通用警告或错误
|
|
7
|
-
*/
|
|
8
|
-
CommonWarnEvent: string;
|
|
9
|
-
/**
|
|
10
|
-
* 插件加载后事件
|
|
11
|
-
*/
|
|
12
|
-
WidgetLoadedEvent: string;
|
|
13
|
-
WidgetUnLoadedEvent: string;
|
|
14
|
-
WidgetLoadedErrorEvent: string;
|
|
15
|
-
/**
|
|
16
|
-
* 组件的可见性改变
|
|
17
|
-
*/
|
|
18
|
-
WidgetVisibleChanged: string;
|
|
19
|
-
/**
|
|
20
|
-
* Axios请求失败异常
|
|
21
|
-
*/
|
|
22
|
-
AxiosRequestErrorEvent: string;
|
|
23
|
-
};
|
|
24
|
-
export default SysEvents;
|
|
1
|
+
export declare const SysEvents: {
|
|
2
|
+
HproseServiceErrorEvent: string;
|
|
3
|
+
WebAPIErrorEvent: string;
|
|
4
|
+
AlertInfoEvent: string;
|
|
5
|
+
/**
|
|
6
|
+
* 一般通用警告或错误
|
|
7
|
+
*/
|
|
8
|
+
CommonWarnEvent: string;
|
|
9
|
+
/**
|
|
10
|
+
* 插件加载后事件
|
|
11
|
+
*/
|
|
12
|
+
WidgetLoadedEvent: string;
|
|
13
|
+
WidgetUnLoadedEvent: string;
|
|
14
|
+
WidgetLoadedErrorEvent: string;
|
|
15
|
+
/**
|
|
16
|
+
* 组件的可见性改变
|
|
17
|
+
*/
|
|
18
|
+
WidgetVisibleChanged: string;
|
|
19
|
+
/**
|
|
20
|
+
* Axios请求失败异常
|
|
21
|
+
*/
|
|
22
|
+
AxiosRequestErrorEvent: string;
|
|
23
|
+
};
|
|
24
|
+
export default SysEvents;
|
package/dist/core/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from './Global';
|
|
2
|
-
export * from './Init';
|
|
3
|
-
export * from './SysEvents';
|
|
4
|
-
export * from './MsgHelper';
|
|
1
|
+
export * from './Global';
|
|
2
|
+
export * from './Init';
|
|
3
|
+
export * from './SysEvents';
|
|
4
|
+
export * from './MsgHelper';
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { Client, ClientContext } from '@hprose/rpc-core';
|
|
2
|
-
declare class HproseClient {
|
|
3
|
-
private hproseURL?;
|
|
4
|
-
client?: Client;
|
|
5
|
-
private hproseProxy;
|
|
6
|
-
private static httpTransport?;
|
|
7
|
-
constructor(url?: string);
|
|
8
|
-
private init;
|
|
9
|
-
/**
|
|
10
|
-
* 获取HproseProxy
|
|
11
|
-
*/
|
|
12
|
-
getProxy(): Promise<any>;
|
|
13
|
-
invoke(methodName: string, args?: any[], context?: ClientContext): Promise<any>;
|
|
14
|
-
/**
|
|
15
|
-
* 解码和编码
|
|
16
|
-
*/
|
|
17
|
-
encode(name: string, args: any[], context: ClientContext): Uint8Array | undefined;
|
|
18
|
-
decode(response: Uint8Array, context: ClientContext): any;
|
|
19
|
-
}
|
|
20
|
-
export default HproseClient;
|
|
1
|
+
import { Client, ClientContext } from '@hprose/rpc-core';
|
|
2
|
+
declare class HproseClient {
|
|
3
|
+
private hproseURL?;
|
|
4
|
+
client?: Client;
|
|
5
|
+
private hproseProxy;
|
|
6
|
+
private static httpTransport?;
|
|
7
|
+
constructor(url?: string);
|
|
8
|
+
private init;
|
|
9
|
+
/**
|
|
10
|
+
* 获取HproseProxy
|
|
11
|
+
*/
|
|
12
|
+
getProxy(): Promise<any>;
|
|
13
|
+
invoke(methodName: string, args?: any[], context?: ClientContext): Promise<any>;
|
|
14
|
+
/**
|
|
15
|
+
* 解码和编码
|
|
16
|
+
*/
|
|
17
|
+
encode(name: string, args: any[], context: ClientContext): Uint8Array | undefined;
|
|
18
|
+
decode(response: Uint8Array, context: ClientContext): any;
|
|
19
|
+
}
|
|
20
|
+
export default HproseClient;
|
|
@@ -1,39 +1,39 @@
|
|
|
1
|
-
import { ClientContext } from '@hprose/rpc-core';
|
|
2
|
-
export default class ProxyClient {
|
|
3
|
-
private hproseClient;
|
|
4
|
-
private hpProxyObj;
|
|
5
|
-
private defaultContext;
|
|
6
|
-
constructor(hproseUrl: string);
|
|
7
|
-
/**
|
|
8
|
-
* 获得ClientContext对象
|
|
9
|
-
* @param httpHeaders Http的请求头里的参数对象
|
|
10
|
-
* @param requestParams Hprose的公共参数
|
|
11
|
-
* @returns
|
|
12
|
-
*/
|
|
13
|
-
getClientContext(httpHeaders?: {
|
|
14
|
-
[name: string]: any;
|
|
15
|
-
}, requestParams?: {
|
|
16
|
-
[name: string]: any;
|
|
17
|
-
}): ClientContext;
|
|
18
|
-
getHproseProxy(): Promise<any>;
|
|
19
|
-
/**
|
|
20
|
-
* hprose调用方法
|
|
21
|
-
* @param methodName
|
|
22
|
-
* @param args
|
|
23
|
-
* @param context 上下文环境对象
|
|
24
|
-
* @returns
|
|
25
|
-
*/
|
|
26
|
-
hproseInvoke(methodName: string, args?: any[] | undefined, context?: ClientContext): Promise<any>;
|
|
27
|
-
hproseInvokeContext(methodName: string, context: ClientContext | undefined, ...args: any): Promise<any>;
|
|
28
|
-
/**
|
|
29
|
-
* 编码参数方式请求
|
|
30
|
-
* @param request
|
|
31
|
-
*/
|
|
32
|
-
hproseInvokeEncode(requestParamsEncode: string): Promise<any>;
|
|
33
|
-
/**
|
|
34
|
-
* 对请求参数编码
|
|
35
|
-
* @param name 方法名
|
|
36
|
-
* @param args 请求参数
|
|
37
|
-
*/
|
|
38
|
-
encodeRequest(name: string, ...args: any): string;
|
|
39
|
-
}
|
|
1
|
+
import { ClientContext } from '@hprose/rpc-core';
|
|
2
|
+
export default class ProxyClient {
|
|
3
|
+
private hproseClient;
|
|
4
|
+
private hpProxyObj;
|
|
5
|
+
private defaultContext;
|
|
6
|
+
constructor(hproseUrl: string);
|
|
7
|
+
/**
|
|
8
|
+
* 获得ClientContext对象
|
|
9
|
+
* @param httpHeaders Http的请求头里的参数对象
|
|
10
|
+
* @param requestParams Hprose的公共参数
|
|
11
|
+
* @returns
|
|
12
|
+
*/
|
|
13
|
+
getClientContext(httpHeaders?: {
|
|
14
|
+
[name: string]: any;
|
|
15
|
+
}, requestParams?: {
|
|
16
|
+
[name: string]: any;
|
|
17
|
+
}): ClientContext;
|
|
18
|
+
getHproseProxy(): Promise<any>;
|
|
19
|
+
/**
|
|
20
|
+
* hprose调用方法
|
|
21
|
+
* @param methodName
|
|
22
|
+
* @param args
|
|
23
|
+
* @param context 上下文环境对象
|
|
24
|
+
* @returns
|
|
25
|
+
*/
|
|
26
|
+
hproseInvoke(methodName: string, args?: any[] | undefined, context?: ClientContext): Promise<any>;
|
|
27
|
+
hproseInvokeContext(methodName: string, context: ClientContext | undefined, ...args: any): Promise<any>;
|
|
28
|
+
/**
|
|
29
|
+
* 编码参数方式请求
|
|
30
|
+
* @param request
|
|
31
|
+
*/
|
|
32
|
+
hproseInvokeEncode(requestParamsEncode: string): Promise<any>;
|
|
33
|
+
/**
|
|
34
|
+
* 对请求参数编码
|
|
35
|
+
* @param name 方法名
|
|
36
|
+
* @param args 请求参数
|
|
37
|
+
*/
|
|
38
|
+
encodeRequest(name: string, ...args: any): string;
|
|
39
|
+
}
|
package/dist/hprose/index.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import ProxyClient from './ProxyClient';
|
|
2
|
-
import HproseClient from './HproseClient';
|
|
3
|
-
export interface GIHprose {
|
|
4
|
-
getDefaultClient(): ProxyClient;
|
|
5
|
-
registerHprose(hpClientName: string, hproseUrl: string): HproseClient | undefined;
|
|
6
|
-
getHprose(hpClientName: string): HproseClient | undefined;
|
|
7
|
-
getProxyHprose(hpClientName: string): ProxyClient | undefined;
|
|
8
|
-
unregisterHprose(hpClientName: string): void;
|
|
9
|
-
}
|
|
10
|
-
declare const GlobalHprose: GIHprose;
|
|
11
|
-
export { GlobalHprose, ProxyClient, HproseClient };
|
|
1
|
+
import ProxyClient from './ProxyClient';
|
|
2
|
+
import HproseClient from './HproseClient';
|
|
3
|
+
export interface GIHprose {
|
|
4
|
+
getDefaultClient(): ProxyClient;
|
|
5
|
+
registerHprose(hpClientName: string, hproseUrl: string): HproseClient | undefined;
|
|
6
|
+
getHprose(hpClientName: string): HproseClient | undefined;
|
|
7
|
+
getProxyHprose(hpClientName: string): ProxyClient | undefined;
|
|
8
|
+
unregisterHprose(hpClientName: string): void;
|
|
9
|
+
}
|
|
10
|
+
declare const GlobalHprose: GIHprose;
|
|
11
|
+
export { GlobalHprose, ProxyClient, HproseClient };
|