xframelib 0.5.5 → 0.5.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 CHANGED
@@ -2,6 +2,7 @@
2
2
 
3
3
  基于 VUE3+Hprose+Typescript 的前端框架
4
4
 
5
+ - v0.5.6 修改 init 初始化方法增加 sysID 参数;增加 Global.SystemID 字段,Axios 和 Hprose 的 Http 请求头加入 sysid;
5
6
  - v0.5.5 截取捕捉后台返回的有用异常信息,重新抛出;异常警告输出统一模型增加 isExceptionInfo 字段;更新依赖库;
6
7
  - v0.5.4 解决 IRole 相关模型类型未导出;LayoutManager.d.ts 输出两遍问题;完善 axios http 请求异常警告输出统一模型,发送 SysEvents.AxiosRequestErrorEvent 系统事件;
7
8
  - v0.5.3 撤销的版本
@@ -10,12 +10,12 @@ declare const _default: import("vue").DefineComponent<{
10
10
  type: ObjectConstructor;
11
11
  };
12
12
  }, {
13
- topContainerComponents: any;
14
- centerbackComponents: any;
15
- centerfrontComponents: any;
16
- leftContainerComponents: any;
17
- rightContainerComponents: any;
18
- bottomContainerComponents: any;
13
+ topContainerComponents: import("vue").Ref<Map<string, Object>> | undefined;
14
+ centerbackComponents: import("vue").Ref<Map<string, Object>> | undefined;
15
+ centerfrontComponents: import("vue").Ref<Map<string, Object>> | undefined;
16
+ leftContainerComponents: import("vue").Ref<Map<string, Object>> | undefined;
17
+ rightContainerComponents: import("vue").Ref<Map<string, Object>> | undefined;
18
+ bottomContainerComponents: import("vue").Ref<Map<string, Object>> | undefined;
19
19
  containerStyle: import("vue").ComputedRef<Record<string, any> | undefined>;
20
20
  topContainer?: import("vue").Ref<HTMLElement | undefined> | undefined;
21
21
  centerBackContainer?: import("vue").Ref<HTMLElement | undefined> | undefined;
@@ -1,17 +1,13 @@
1
1
  import ProxyClient from '../hprose/ProxyClient';
2
- import { InnerObject, XOptions } from './IModel';
2
+ import { InnerObject } from './IModel';
3
3
  export declare const Global: InnerObject;
4
- /**
5
- * 通过配置文件初始化系统
6
- * @param options 配置参数对象
7
- */
8
- export declare function initXFrame(options: XOptions): void;
9
4
  /**
10
5
  * 框架初始化
11
- * @param messageUI 消息UI
6
+ * @param messageUI 消息UI,例如message
7
+ * @param sysID 系统的标识,工程名+版本的MD5值
12
8
  * @param defaultHproseURL 默认HproseURL
13
9
  */
14
- export declare const init: (messageUI: any, defaultHproseURL?: string | undefined) => void;
10
+ export declare const init: (messageUI: any, sysID?: string | undefined, defaultHproseURL?: string | undefined) => void;
15
11
  /**
16
12
  * 获取HproseProxy对象
17
13
  * @param hproseURL Hprose服务链接地址
@@ -22,6 +22,10 @@ export interface InnerObject {
22
22
  * 布局管理对象
23
23
  */
24
24
  LayoutManager?: LayoutManager;
25
+ /**
26
+ * 系统ID标识
27
+ */
28
+ SystemID?: string;
25
29
  [props: string]: any;
26
30
  }
27
31
  /**