xframelib 0.9.1 → 0.9.2

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,7 @@
13
13
 
14
14
  > 基于 VUE3+Hprose+Typescript+Widget 的前端框架,与ElementUI、AntDesign VUE、Quasar等界面库无关,一直是来源于项目和服务于项目。
15
15
 
16
+ - v0.9.2 精简更新依赖;升级增强内部功能控制;积累与完善部分基础功能;匹配最新简化模板;
16
17
  - v0.9.1 增加a-divider组件;升级BigFileDownload方法(与新版文件服务匹配);解决GlobalHprose.getDefaultClient()为空对象问题;
17
18
  - v0.9.0 给LayoutContainer增加id属性;ZipTool使用扩展promise方法时,出现内部this指向不明错误,增加saveZipFromFiles文件数组压缩和saveZipFileSync同步压缩方法;引入iconv-lite字符编码库,可直接使用iconv里所有方法;
18
19
  - v0.8.9 为Function扩展promise方法(事件异步方法将按Promise异步执行);修改isElement判断错误;~~增加ZipTool用于文件在线压缩和解压(存在问题,不要使用)~~;H5Tool增加blockEvent停止冒泡bindDropFileHanlder拖拽文件、readFilePromise异步读取文件、优化readFileBytes为bytes二进制数组;IsTool增加isStringLikeJson、isStringLikeKml方法;H5Tool增加了onPasteHandler和offPasteHandler使用document绑定粘贴事件(不是任意div元素都可以绑定paste事件,只有设置了 contenteditable="true" 的元素,才会触发该事件);FileDownload增加SaveToSelectedFile方法,将文件保存到选定路径;
@@ -4,4 +4,5 @@ declare global {
4
4
  promise(...args: any[]): Promise<unknown>;
5
5
  }
6
6
  }
7
- export declare const Global: InnerObject;
7
+ declare const Global: InnerObject;
8
+ export { Global };
@@ -35,5 +35,8 @@ export declare const SysEvents: {
35
35
  * LayoutContainer容器被加载了
36
36
  */
37
37
  LayoutContainerLoaded: string;
38
+ ModalContainerWidget_LoadModal: string;
39
+ ModalContainerWidget_CloseModal: string;
40
+ WidgetClosed: string;
38
41
  };
39
42
  export default SysEvents;
@@ -0,0 +1,7 @@
1
+ import type { App, Directive } from 'vue';
2
+ /**
3
+ * 可拖拽命令
4
+ */
5
+ declare const dragDirective: Directive;
6
+ export declare function setupDragDirective(app: App): void;
7
+ export default dragDirective;
@@ -0,0 +1,4 @@
1
+ import dragDirective, { setupDragDirective } from './dragDirective';
2
+ import repeatDirective, { setupRepeatDirective } from './repeatClick';
3
+ import wowDirective, { setupWowDirective } from './wowDirective';
4
+ export { wowDirective, setupWowDirective, repeatDirective, setupRepeatDirective, dragDirective, setupDragDirective };
@@ -0,0 +1,4 @@
1
+ import type { App, Directive } from 'vue';
2
+ declare const repeatDirective: Directive;
3
+ export declare function setupRepeatDirective(app: App): void;
4
+ export default repeatDirective;
@@ -0,0 +1,7 @@
1
+ import type { App, Directive } from 'vue';
2
+ /**
3
+ * 可拖拽命令
4
+ */
5
+ declare const wowDirective: Directive;
6
+ export declare function setupWowDirective(app: App): void;
7
+ export default wowDirective;