xframelib 0.9.8 → 1.0.1

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.
@@ -362,11 +362,11 @@ export default class H5Tool {
362
362
  * 如果 div 元素不可编辑,通常情况下是无法触发 paste 事件的。只有设置了 contenteditable="true" 的元素,才会在用户粘贴内容时触发该事件.
363
363
  * @param onPasteCallback 粘贴的回调函数
364
364
  */
365
- static onPasteHandler(onPasteCallback: (pasteContent: string | Array<File> | undefined) => {}): void;
365
+ static onPasteHandler(onPasteCallback: (pasteContent: string | Array<File> | undefined) => {}, inputElement?: Window | HTMLElement | any): void;
366
366
  /**
367
367
  * 移除document粘贴处理事件
368
368
  */
369
- static offPasteHandler(): void;
369
+ static offPasteHandler(inputElement?: Window | HTMLElement | any): void;
370
370
  /**
371
371
  * 动态写入引入js文件
372
372
  * @param url
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xframelib",
3
- "version": "0.9.8",
3
+ "version": "1.0.1",
4
4
  "description": "积累的前端开发基础库,来源于项目和服务于项目。",
5
5
  "main": "dist/index.js",
6
6
  "common": "dist/index.cjs",
@@ -32,7 +32,7 @@
32
32
  "@hprose/rpc-html5": "^3.0.10",
33
33
  "@iconify/vue": "^5.0.0",
34
34
  "@microsoft/signalr": "^8.0.7",
35
- "axios": "^1.9.0",
35
+ "axios": "^1.10.0",
36
36
  "fflate": "^0.8.2",
37
37
  "iconv-lite": "^0.6.3",
38
38
  "localforage": "^1.10.0",
@@ -43,27 +43,27 @@
43
43
  },
44
44
  "devDependencies": {
45
45
  "@rollup/plugin-alias": "^5.1.1",
46
- "@rollup/plugin-commonjs": "^28.0.3",
46
+ "@rollup/plugin-commonjs": "^28.0.6",
47
47
  "@rollup/plugin-json": "^6.1.0",
48
48
  "@rollup/plugin-node-resolve": "^16.0.1",
49
49
  "@rollup/plugin-terser": "^0.4.4",
50
- "@rollup/plugin-typescript": "^12.1.2",
51
- "@vitejs/plugin-vue": "^5.2.4",
50
+ "@rollup/plugin-typescript": "^12.1.3",
51
+ "@vitejs/plugin-vue": "^6.0.0",
52
52
  "esbuild": "^0.25.5",
53
53
  "rollup-plugin-copy": "^3.5.0",
54
54
  "rollup-plugin-esbuild": "^6.2.1",
55
55
  "rollup-plugin-scss": "^4.0.1",
56
56
  "rollup-plugin-typescript2": "^0.36.0",
57
57
  "rollup-plugin-vue": "^6.0.0",
58
- "sass": "^1.89.0",
58
+ "sass": "^1.89.2",
59
59
  "typescript": "^5.8.3",
60
60
  "vite": "^6.3.5",
61
61
  "vite-plugin-comlink": "^5.1.0",
62
62
  "vite-plugin-commonjs": "^0.10.4",
63
63
  "vite-plugin-dts": "^4.5.4",
64
64
  "vite-plugin-node-polyfills": "^0.23.0",
65
- "vite-plugin-static-copy": "^3.0.0",
66
- "vue": "^3.5.16",
65
+ "vite-plugin-static-copy": "^3.0.2",
66
+ "vue": "^3.5.17",
67
67
  "vue-router": "^4.5.1"
68
68
  }
69
69
  }