@guihz/trading-vue-editor-tes 0.1.58 → 0.1.59
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/lib/api/api.d.ts +5 -0
- package/lib/assets/{parserTccWorker-BTFynXFB.js → parserTccWorker-cv6DMJv5.js} +8057 -8057
- package/lib/assets/{scriptsRunWorker-Ddx7Nh_r.js → scriptsRunWorker-r6EwiDhz.js} +2114 -2114
- package/lib/components/editor/constants/common.d.ts +4 -0
- package/lib/components/editor/index.d.ts +1 -1
- package/lib/components/editor/parseScript/utils.d.ts +4 -0
- package/lib/components/editor/type/index.d.ts +2 -0
- package/lib/components/editor/utils/importLibrary.d.ts +3 -1
- package/lib/components/editor/utils/initEditor.d.ts +1 -1
- package/lib/components/editor/utils/tools.d.ts +1 -0
- package/lib/trading-vue-editor.es.packages.js +11691 -6274
- package/lib/trading-vue-editor.umd.packages.mjs +62 -49
- package/lib/utils/crypto.d.ts +16 -0
- package/package.json +2 -1
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 使用AES加密算法对数据进行加密。
|
|
3
|
+
*
|
|
4
|
+
* @param data 待加密的数据,必须是字符串类型。
|
|
5
|
+
* @param key 加密使用的密钥,也必须是字符串类型。
|
|
6
|
+
* @returns 返回加密后的数据,以Base64编码的字符串形式表示。
|
|
7
|
+
*/
|
|
8
|
+
export declare const aesEncrypt: (data: string, key: string) => string;
|
|
9
|
+
/**
|
|
10
|
+
* 使用AES加密算法对加密后的数据进行解密。
|
|
11
|
+
*
|
|
12
|
+
* @param data 待解密的数据,必须是经AES加密后的Base64编码字符串。
|
|
13
|
+
* @param key 解密使用的密钥,也必须是字符串类型。
|
|
14
|
+
* @returns 返回解密后的原始数据,以字符串形式表示。
|
|
15
|
+
*/
|
|
16
|
+
export declare const aesDecrypt: (data: string, key: string) => string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@guihz/trading-vue-editor-tes",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.59",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"files": [
|
|
6
6
|
"lib"
|
|
@@ -25,6 +25,7 @@
|
|
|
25
25
|
"axios": "^1.6.5",
|
|
26
26
|
"big.js": "^6.2.2",
|
|
27
27
|
"comlink": "^4.4.1",
|
|
28
|
+
"crypto-js": "^4.2.0",
|
|
28
29
|
"diff": "^5.2.0",
|
|
29
30
|
"i18next": "^23.16.5",
|
|
30
31
|
"i18next-browser-languagedetector": "^8.0.0",
|