xframelib 0.7.8 → 0.8.0

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
@@ -7,10 +7,11 @@
7
7
  <img src="https://img.shields.io/npm/dt/xframelib?logo=npm"/>
8
8
  </a>
9
9
  </p>
10
- **基于 VUE3+Hprose+Typescript 的前端框架**
10
+ **基于 VUE3+Hprose+Typescript 的前端框架**
11
11
 
12
-
13
- - v0.7.8 更新依赖库版本;增加SysConfig默认配置项;controls增加XWindow和XWindowManager取代VWindow;增加全局的Global.WidgetConfigList数组和getLayoutManager方法;删除VCollapsiblePanel、 VCollapsiblePanelGroup组件
12
+ - v0.8.0 更新LayoutContainer各层的默认样式,默认空白区域鼠标可以穿越,各元素鼠标可点击;更新依赖库版本
13
+ - *v0.7.9 给H5Tool增加常用DOM操作方法;为SysEvents增加LayoutContainerLoaded,每个LayoutManager对象自动加载到Global.LayoutMap里,为Global默认增加CesiumViewer对象;强化Widget链式排队加载,必须先afterid对应的widget加载成功,然后才加载当前widget。
14
+ - v0.7.8 更新依赖库版本;增加SysConfig默认配置项;controls增加XWindow和XWindowManager取代VWindow;增加全局的Global.WidgetConfigList数组和getLayoutManager方法;删除VCollapsiblePanel、 VCollapsiblePanelGroup组件。
14
15
  - v0.7.7 增加hprose二进制序列化方法serialize和deserialize;修改Global默认自带LayoutMap和默认为console的Message;为LayoutManager增加静态方法getLayoutManager;增加RouterTransition控件,并应用于layoutcontainer中;更新依赖库版本。
15
16
  - v0.7.6 为LayoutManager增加卸载全部组件unloadAllWidgets、批量卸载组件unloadWidgets、获得已经加载组件ID列表getWidgetLoadedIDList;解决H5Tool的windowResizeHandler和offWindowResizeHandler内部调用错误方法的问题。
16
17
  - ~~v0.7.5 解决上一版LayoutContainer存在问题:CSS样式对应上,调整层级顺序;加入组件引用,changeWidgetVisible能控制Widget组件可见性;修改getWidgetComponent方法,实现对Widget组件的defineExpose方法调用;增加isWidgetVisible判断组件是否可见。~~
@@ -40,7 +40,7 @@ export declare class LayoutManager {
40
40
  * 加载组件和子组件
41
41
  * @param widgetItem 组件对象
42
42
  */
43
- loadWidget(widgetItem: IWidgetConfig | string): Promise<void>;
43
+ loadWidget(widgetItem: IWidgetConfig | string): any;
44
44
  private loadOtherDependenceWidgets;
45
45
  private _loadWidget;
46
46
  /**
@@ -49,6 +49,10 @@ export interface InnerObject {
49
49
  * @param name 日志名称
50
50
  */
51
51
  Logger(name?: string): Log.Logger;
52
+ /**
53
+ * 全局的CesiumViewer对象
54
+ */
55
+ CesiumViewer?: any;
52
56
  [props: string]: any;
53
57
  }
54
58
  /**
@@ -10,6 +10,10 @@ export declare const SysEvents: {
10
10
  * 插件加载后事件
11
11
  */
12
12
  WidgetLoadedEvent: string;
13
+ /**
14
+ * 与WidgetLoadedEvent相同
15
+ */
16
+ WidgetLoaded: string;
13
17
  WidgetUnLoadedEvent: string;
14
18
  WidgetLoadedErrorEvent: string;
15
19
  /**
@@ -20,5 +24,9 @@ export declare const SysEvents: {
20
24
  * Axios请求失败异常
21
25
  */
22
26
  AxiosRequestErrorEvent: string;
27
+ /**
28
+ * LayoutContainer容器被加载了
29
+ */
30
+ LayoutContainerLoaded: string;
23
31
  };
24
32
  export default SysEvents;