xframelib 0.8.4 → 0.8.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
@@ -13,6 +13,8 @@
13
13
 
14
14
  > 基于 VUE3+Hprose+Typescript+Widget 的前端框架,与ElementUI、AntDesign VUE、Quasar等界面库无关,一直是来源于项目和服务于项目。
15
15
 
16
+ - v0.8.6 修改get方法支持:业务服务API请求、请求网站public下资源、http完整URL请求;增加getDownload方法下载文件(废弃HttpDownload方法);
17
+ - v0.8.5 动态加载Widget时绑定更多IWidgetConfig属性(如:id,layoutID等);加载widget报错,输出更多异常信息;
16
18
  - v0.8.4 为widget权限对象,增加layoutid属性;修改LockHelper锁屏功能BUG;去掉DownloadByUrl(可改用HttpDownload方法);为H5Tool增加readFileBytes方法(读取前端文件,为bytes二进制数组/字符串);更新依赖库版本;
17
19
  - v0.8.3 增加HproseRPC过程的请求字符串和返回字符串的外部解码类HproseRPCCodec;
18
20
  - v0.8.2 修改VueWindow组件(VWindow)拖动定位错误;弃用DownloadByUrl方法;移除窗体同步库WSynchro.js;更新依赖库版本;
@@ -12,7 +12,7 @@ export interface InnerObject {
12
12
  */
13
13
  Axios: AxiosStatic;
14
14
  Config: ISystemConfig;
15
- EventBus: Emitter;
15
+ EventBus: Emitter<any>;
16
16
  DefaultProxyClient: ProxyClient | null | undefined;
17
17
  /**
18
18
  * 默认Message为console.log
@@ -2,7 +2,7 @@ import { Emitter } from '../mitt';
2
2
  declare class MsgHelper {
3
3
  private message;
4
4
  private eventBus;
5
- constructor(messageui: any, eventbus?: Emitter | undefined);
5
+ constructor(messageui: any, eventbus?: Emitter<any> | undefined);
6
6
  /**共用消息 */
7
7
  msg(msgInfo: string, seconds?: number, typename?: string): void;
8
8
  info(msgInfo: string, seconds?: number): void;
@@ -14,6 +14,13 @@ export declare const SysEvents: {
14
14
  * 与WidgetLoadedEvent相同
15
15
  */
16
16
  WidgetLoaded: string;
17
+ /**
18
+ * 新增(备用):要卸载Widget的通知消息
19
+ */
20
+ WidgetToUnloadEvent: string;
21
+ /**
22
+ * 已经卸载插件后的消息(卸载后消息)
23
+ */
17
24
  WidgetUnLoadedEvent: string;
18
25
  WidgetLoadedErrorEvent: string;
19
26
  /**