@guihz/trading-vue-editor-tes 0.1.60 → 0.1.62
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/assets/{parserTccWorker-CZR3XWhO.js → parserTccWorker-DNjcb8Nl.js} +925 -914
- package/lib/assets/{scriptsRunWorker-66u9BfVS.js → scriptsRunWorker-DvjQUdYy.js} +2817 -2805
- package/lib/components/editor/v5/parseScript/parseToJs.d.ts +2 -1
- package/lib/components/editor/v6/parseScript/parseToJs.d.ts +2 -1
- package/lib/trading-vue-editor.es.packages.js +2 -2
- package/lib/trading-vue-editor.umd.packages.mjs +21 -21
- package/package.json +1 -1
|
@@ -34,6 +34,7 @@ export default class ParseToJs {
|
|
|
34
34
|
private _exportEles;
|
|
35
35
|
private _scriptType?;
|
|
36
36
|
private _tmpVarNames;
|
|
37
|
+
private _importCodes;
|
|
37
38
|
constructor(prefix: string, scriptType?: VScriptType, libTitle?: string);
|
|
38
39
|
preParser(values: IKeyObjectValue[]): string | undefined;
|
|
39
40
|
parser(values: IKeyObjectValue[]): {
|
|
@@ -53,7 +54,7 @@ export default class ParseToJs {
|
|
|
53
54
|
hasLeftVisibleBarTime: boolean;
|
|
54
55
|
hasRightVisibleBarTime: boolean;
|
|
55
56
|
errors: IError[];
|
|
56
|
-
}
|
|
57
|
+
};
|
|
57
58
|
private _getExportCodes;
|
|
58
59
|
private _parserStmt;
|
|
59
60
|
private _parserEnumStatement;
|
|
@@ -31,6 +31,7 @@ export default class ParseToJs {
|
|
|
31
31
|
private _exportEles;
|
|
32
32
|
private _scriptType?;
|
|
33
33
|
private _tmpVarNames;
|
|
34
|
+
private _importCodes;
|
|
34
35
|
constructor(prefix: string, scriptType?: VScriptType, libTitle?: string);
|
|
35
36
|
preParser(values: IKeyObjectValue[]): string | undefined;
|
|
36
37
|
parser(values: IKeyObjectValue[]): {
|
|
@@ -50,7 +51,7 @@ export default class ParseToJs {
|
|
|
50
51
|
hasLeftVisibleBarTime: boolean;
|
|
51
52
|
hasRightVisibleBarTime: boolean;
|
|
52
53
|
errors: IError[];
|
|
53
|
-
}
|
|
54
|
+
};
|
|
54
55
|
private _getExportCodes;
|
|
55
56
|
private _parserStmt;
|
|
56
57
|
private _parserEnumStatement;
|
|
@@ -14634,14 +14634,14 @@ function Kn(i, r, t) {
|
|
|
14634
14634
|
function x2() {
|
|
14635
14635
|
return new Array(4).fill(0).map(() => Math.floor(Math.random() * Number.MAX_SAFE_INTEGER).toString(16)).join("-");
|
|
14636
14636
|
}
|
|
14637
|
-
const vd = new Worker(new URL("" + new URL("assets/scriptsRunWorker-
|
|
14637
|
+
const vd = new Worker(new URL("" + new URL("assets/scriptsRunWorker-DvjQUdYy.js", import.meta.url).href, import.meta.url), { type: "module", name: "Run MineScript Server" });
|
|
14638
14638
|
vd.onerror = (i) => {
|
|
14639
14639
|
console.error(i);
|
|
14640
14640
|
};
|
|
14641
14641
|
async function _d(i) {
|
|
14642
14642
|
return await Lo.setInlayHints(i);
|
|
14643
14643
|
}
|
|
14644
|
-
const bd = h0(vd), yd = h0(new Worker(new URL("" + new URL("assets/parserTccWorker-
|
|
14644
|
+
const bd = h0(vd), yd = h0(new Worker(new URL("" + new URL("assets/parserTccWorker-DNjcb8Nl.js", import.meta.url).href, import.meta.url), { type: "module", name: "Parser MineScript Server" }));
|
|
14645
14645
|
async function m2(i, r = !1, t = yr) {
|
|
14646
14646
|
const o = i.match(/\s*\/\/\s*@version\s*=\s*([0-9])/)?.[1];
|
|
14647
14647
|
o && (t = parseInt(o), t = t < 3 ? 3 : t > 6 ? 6 : t);
|