xframelib 1.1.7 → 1.1.8
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/dist/assets/{worker-iconv-BhEK22Ps.js → worker-iconv-DdzFBDtV.js} +5 -3
- package/dist/assets/{worker-webcache-B3DZa32n.js → worker-webcache-mElrmAWA.js} +1 -4
- package/dist/controls/xwindow/XWindow.vue.d.ts +2 -2
- package/dist/index.cjs +1 -0
- package/dist/index.css +1 -1
- package/dist/index.js +1 -1
- package/dist/permission/right.d.ts +2 -4
- package/dist/plugins/NavigatorPlugin.d.ts +1 -0
- package/dist/utils/Storage.d.ts +2 -0
- package/dist/workers/index.d.ts +8 -5
- package/package.json +88 -77
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
import { ISysRoleRight } from '../model/IRole';
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
4
|
-
* @returns
|
|
3
|
+
* 获取系统角色权限对象
|
|
5
4
|
*/
|
|
6
5
|
export declare function getRight(): ISysRoleRight | undefined;
|
|
7
6
|
/**
|
|
8
|
-
*
|
|
9
|
-
* @param sysRoleRight 系统角色权限对象
|
|
7
|
+
* 设置系统角色权限对象
|
|
10
8
|
*/
|
|
11
9
|
export declare function setRight(sysRoleRight?: ISysRoleRight): void;
|
|
12
10
|
/**
|
package/dist/utils/Storage.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
declare function getGlobalStorage(type: 'localStorage' | 'sessionStorage'): Storage;
|
|
1
2
|
/**
|
|
2
3
|
* 创建本地缓存对象
|
|
3
4
|
*/
|
|
@@ -64,3 +65,4 @@ declare class StorageHelper {
|
|
|
64
65
|
}
|
|
65
66
|
export declare const storage: StorageHelper;
|
|
66
67
|
export default StorageHelper;
|
|
68
|
+
export { getGlobalStorage };
|
package/dist/workers/index.d.ts
CHANGED
|
@@ -1,13 +1,16 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* 编码/解码
|
|
3
3
|
*/
|
|
4
|
-
declare
|
|
4
|
+
export declare function getIconvWorker(): any;
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
6
|
+
* 通用数学计算;前端大图片、瓦片化加载 webworker
|
|
7
7
|
*/
|
|
8
|
-
declare
|
|
8
|
+
export declare function getXmathWorker(): any;
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* 前端缓存层 webworker
|
|
11
11
|
*/
|
|
12
|
+
export declare function getWebCacheWorker(): any;
|
|
13
|
+
declare const iconvWorker: any;
|
|
14
|
+
declare const xmathWorker: any;
|
|
12
15
|
declare const webCacheWorker: any;
|
|
13
|
-
export { xmathWorker, iconvWorker, webCacheWorker
|
|
16
|
+
export { xmathWorker, iconvWorker, webCacheWorker };
|
package/package.json
CHANGED
|
@@ -1,77 +1,88 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "xframelib",
|
|
3
|
-
"version": "1.1.
|
|
4
|
-
"description": "The accumulated front-end development foundation library originates from projects and serves projects.",
|
|
5
|
-
"main": "dist/index.
|
|
6
|
-
"
|
|
7
|
-
"
|
|
8
|
-
"
|
|
9
|
-
"
|
|
10
|
-
|
|
11
|
-
"
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
"
|
|
17
|
-
"
|
|
18
|
-
"
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
"
|
|
28
|
-
"
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
"
|
|
35
|
-
"
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
"
|
|
39
|
-
"
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
"
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
"
|
|
48
|
-
"
|
|
49
|
-
"
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
"
|
|
53
|
-
"
|
|
54
|
-
"
|
|
55
|
-
"
|
|
56
|
-
"
|
|
57
|
-
"
|
|
58
|
-
"
|
|
59
|
-
"
|
|
60
|
-
"
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
"rollup
|
|
64
|
-
"rollup
|
|
65
|
-
"
|
|
66
|
-
"
|
|
67
|
-
"
|
|
68
|
-
"
|
|
69
|
-
"
|
|
70
|
-
"
|
|
71
|
-
"
|
|
72
|
-
"
|
|
73
|
-
"
|
|
74
|
-
"
|
|
75
|
-
"vue
|
|
76
|
-
|
|
77
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "xframelib",
|
|
3
|
+
"version": "1.1.8",
|
|
4
|
+
"description": "The accumulated front-end development foundation library originates from projects and serves projects.",
|
|
5
|
+
"main": "dist/index.cjs",
|
|
6
|
+
"module": "dist/index.js",
|
|
7
|
+
"types": "dist/index.d.ts",
|
|
8
|
+
"typings": "dist/index.d.ts",
|
|
9
|
+
"type": "module",
|
|
10
|
+
"exports": {
|
|
11
|
+
".": {
|
|
12
|
+
"types": "./dist/index.d.ts",
|
|
13
|
+
"import": "./dist/index.js",
|
|
14
|
+
"require": "./dist/index.cjs"
|
|
15
|
+
},
|
|
16
|
+
"./style.css": "./dist/index.css",
|
|
17
|
+
"./index.css": "./dist/index.css",
|
|
18
|
+
"./dist/index.css": "./dist/index.css"
|
|
19
|
+
},
|
|
20
|
+
"scripts": {
|
|
21
|
+
"build": "vite build",
|
|
22
|
+
"clean": "rimraf dist && rimraf package-lock.json && rimraf node_modules/.cache && rimraf node_modules/.vite"
|
|
23
|
+
},
|
|
24
|
+
"keywords": [
|
|
25
|
+
"xframelib",
|
|
26
|
+
"widget",
|
|
27
|
+
"typescript",
|
|
28
|
+
"hprose",
|
|
29
|
+
"vue",
|
|
30
|
+
"H5Tool",
|
|
31
|
+
"XWindow"
|
|
32
|
+
],
|
|
33
|
+
"author": {
|
|
34
|
+
"name": "zorrowm",
|
|
35
|
+
"email": "zorrowm@126.com"
|
|
36
|
+
},
|
|
37
|
+
"repository": {
|
|
38
|
+
"type": "git",
|
|
39
|
+
"url": "https://github.com/zorrowm/vue-widget-template.git"
|
|
40
|
+
},
|
|
41
|
+
"homepage": "http://www.ysgis.com",
|
|
42
|
+
"license": "MIT",
|
|
43
|
+
"dependencies": {
|
|
44
|
+
"@hprose/io": "^3.0.10",
|
|
45
|
+
"@hprose/rpc-core": "^3.0.10",
|
|
46
|
+
"@hprose/rpc-html5": "^3.0.10",
|
|
47
|
+
"@iconify-icons/ant-design": "^1.2.7",
|
|
48
|
+
"@iconify/vue": "^5.0.1",
|
|
49
|
+
"@microsoft/signalr": "^10.0.0",
|
|
50
|
+
"axios": "^1.18.1",
|
|
51
|
+
"buffer": "^6.0.3",
|
|
52
|
+
"fflate": "^0.8.3",
|
|
53
|
+
"iconv-lite": "^0.7.3",
|
|
54
|
+
"localforage": "^1.10.0",
|
|
55
|
+
"loglevel": "^1.9.2",
|
|
56
|
+
"lru-cache": "^11.5.1",
|
|
57
|
+
"qs": "^6.15.3",
|
|
58
|
+
"spark-md5": "^3.0.2",
|
|
59
|
+
"tippy.js": "^6.3.7",
|
|
60
|
+
"xhr": "^2.6.0"
|
|
61
|
+
},
|
|
62
|
+
"devDependencies": {
|
|
63
|
+
"@rollup/plugin-alias": "^6.0.0",
|
|
64
|
+
"@rollup/plugin-commonjs": "^29.0.3",
|
|
65
|
+
"@rollup/plugin-terser": "^1.0.0",
|
|
66
|
+
"@rollup/plugin-typescript": "^12.3.0",
|
|
67
|
+
"@types/node": "^26.1.0",
|
|
68
|
+
"@vitejs/plugin-vue": "^6.0.7",
|
|
69
|
+
"@vue/language-core": "^3.3.6",
|
|
70
|
+
"comlink": "^4.4.2",
|
|
71
|
+
"esbuild": "^0.28.1",
|
|
72
|
+
"rollup-plugin-copy": "^3.5.0",
|
|
73
|
+
"rollup-plugin-esbuild": "^6.2.1",
|
|
74
|
+
"rollup-plugin-scss": "^4.0.1",
|
|
75
|
+
"rollup-plugin-vue": "^6.0.0",
|
|
76
|
+
"sass": "^1.101.0",
|
|
77
|
+
"tslib": "^2.8.1",
|
|
78
|
+
"typescript": "^6.0.3",
|
|
79
|
+
"unplugin-dts": "1.0.3",
|
|
80
|
+
"vite": "^8.1.3",
|
|
81
|
+
"vite-plugin-comlink": "^5.3.0",
|
|
82
|
+
"vite-plugin-commonjs": "^0.10.4",
|
|
83
|
+
"vite-plugin-node-polyfills": "^0.28.0",
|
|
84
|
+
"vite-plugin-static-copy": "^4.1.1",
|
|
85
|
+
"vue": "^3.5.39",
|
|
86
|
+
"vue-router": "^5.1.0"
|
|
87
|
+
}
|
|
88
|
+
}
|