xframelib 1.0.3 → 1.0.4

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.
@@ -16,4 +16,10 @@ declare const xmathWorker: {
16
16
  declare const webCacheWorker: {
17
17
  readonly [x: number]: Worker;
18
18
  } & import('comlink').RemoteObject<typeof import("./worker-webcache")> & import('comlink').ProxyMethods;
19
- export { xmathWorker, xxteaWorker, webCacheWorker };
19
+ /**
20
+ * 前端大图片,瓦片化加载-webworker
21
+ */
22
+ declare const bigImageWorker: {
23
+ readonly [x: number]: Worker;
24
+ } & import('comlink').RemoteObject<typeof import("./worker-bigimage")> & import('comlink').ProxyMethods;
25
+ export { xmathWorker, xxteaWorker, webCacheWorker, bigImageWorker };
@@ -0,0 +1,17 @@
1
+ /**
2
+ * 以前端切片方式加载大图片,只支持图片格式 jpg\png 不支持tif
3
+ * @param imageID
4
+ * @param imageUrl
5
+ * @param imageGeoBounds
6
+ * @param maxUnitSize
7
+ * @returns
8
+ */
9
+ export declare function loadBigImage(imageID: string, imageUrl: string, imageGeoBounds: number[], maxUnitSize?: number): Promise<{
10
+ id: string;
11
+ width: number;
12
+ height: number;
13
+ maxUnitSize: number;
14
+ colNum: number;
15
+ rowNum: number;
16
+ items: any[];
17
+ }>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xframelib",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "积累的前端开发基础库,来源于项目,服务于项目。",
5
5
  "main": "dist/index.js",
6
6
  "common": "dist/index.cjs",
@@ -35,7 +35,7 @@
35
35
  "@microsoft/signalr": "^9.0.6",
36
36
  "axios": "^1.11.0",
37
37
  "fflate": "^0.8.2",
38
- "iconv-lite": "^0.6.3",
38
+ "iconv-lite": "^0.7.0",
39
39
  "localforage": "^1.10.0",
40
40
  "loglevel": "^1.9.2",
41
41
  "lru-cache": "^11.1.0",
@@ -51,7 +51,7 @@
51
51
  "@rollup/plugin-terser": "^0.4.4",
52
52
  "@rollup/plugin-typescript": "^12.1.4",
53
53
  "@vitejs/plugin-vue": "^6.0.1",
54
- "esbuild": "^0.25.8",
54
+ "esbuild": "^0.25.9",
55
55
  "rollup-plugin-copy": "^3.5.0",
56
56
  "rollup-plugin-esbuild": "^6.2.1",
57
57
  "rollup-plugin-scss": "^4.0.1",
@@ -59,13 +59,13 @@
59
59
  "rollup-plugin-vue": "^6.0.0",
60
60
  "sass": "^1.90.0",
61
61
  "typescript": "^5.9.2",
62
- "vite": "^7.1.1",
62
+ "vite": "^7.1.3",
63
63
  "vite-plugin-comlink": "^5.3.0",
64
64
  "vite-plugin-commonjs": "^0.10.4",
65
65
  "vite-plugin-dts": "^4.5.4",
66
66
  "vite-plugin-node-polyfills": "^0.24.0",
67
- "vite-plugin-static-copy": "^3.1.1",
68
- "vue": "^3.5.18",
67
+ "vite-plugin-static-copy": "^3.1.2",
68
+ "vue": "^3.5.19",
69
69
  "vue-router": "^4.5.1"
70
70
  }
71
71
  }