@guihz/trading-vue-editor-tes 0.1.59 → 0.1.60
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-cv6DMJv5.js → parserTccWorker-CZR3XWhO.js} +3211 -3171
- package/lib/assets/{scriptsRunWorker-r6EwiDhz.js → scriptsRunWorker-66u9BfVS.js} +4 -4
- package/lib/components/editor/v3/parseScript/parseToJs.d.ts +1 -1
- package/lib/components/editor/v4/parseScript/parseToJs.d.ts +1 -1
- package/lib/components/editor/v5/parseScript/parseToJs.d.ts +1 -1
- package/lib/components/editor/v6/parseScript/parseToJs.d.ts +1 -1
- package/lib/trading-vue-editor.es.packages.js +362 -362
- package/lib/trading-vue-editor.umd.packages.mjs +1 -1
- package/package.json +1 -1
|
@@ -9799,7 +9799,7 @@ Arguments: ` + Array.prototype.slice.call(r).join("") + `
|
|
|
9799
9799
|
getCacheData(e, t, r) {
|
|
9800
9800
|
e = e.replace(/\$[\d]+_\$/g, "");
|
|
9801
9801
|
let i = this._cacheData[e];
|
|
9802
|
-
if (!i || i.barIndex < this._barIndex ? i = this.setCacheData(e, r) : i = i.data, t === 0)
|
|
9802
|
+
if (!i || i.barIndex < this._barIndex ? i = this.setCacheData(e, r) : i = i.data, t === 0 || isNaN(t))
|
|
9803
9803
|
return r;
|
|
9804
9804
|
const s = this._cacheSpace[e] || 0;
|
|
9805
9805
|
return t = Math.floor(t), s < t && (this._cacheSpace[e] = t), i[i.length - 1 - t];
|
|
@@ -22779,7 +22779,7 @@ ${u}`), u;
|
|
|
22779
22779
|
getCacheData(e, t, r) {
|
|
22780
22780
|
e = e.replace(/\$[\d]+_\$/g, "");
|
|
22781
22781
|
let i = this._cacheData[e];
|
|
22782
|
-
if (!i || i.barIndex < this._barIndex ? i = this.setCacheData(e, r) : i = i.data, t === 0)
|
|
22782
|
+
if (!i || i.barIndex < this._barIndex ? i = this.setCacheData(e, r) : i = i.data, t === 0 || isNaN(t))
|
|
22783
22783
|
return r;
|
|
22784
22784
|
const s = this._cacheSpace[e] || 0;
|
|
22785
22785
|
return t = Math.floor(t), s < t && (this._cacheSpace[e] = t), i[i.length - 1 - t];
|
|
@@ -38747,7 +38747,7 @@ ${u}`), u;
|
|
|
38747
38747
|
getCacheData(e, t, r) {
|
|
38748
38748
|
e = e.replace(/\$[\d]+_\$/g, "");
|
|
38749
38749
|
let i = this._cacheData[e];
|
|
38750
|
-
if (!i || i.barIndex < this._barIndex ? i = this.setCacheData(e, r) : i = i.data, t === 0)
|
|
38750
|
+
if (!i || i.barIndex < this._barIndex ? i = this.setCacheData(e, r) : i = i.data, t === 0 || isNaN(t))
|
|
38751
38751
|
return r;
|
|
38752
38752
|
const s = this._cacheSpace[e] || 0;
|
|
38753
38753
|
return t = Math.floor(t), s < t && (this._cacheSpace[e] = t), i[i.length - 1 - t];
|
|
@@ -47020,7 +47020,7 @@ ${u}`), u;
|
|
|
47020
47020
|
getCacheData(e, t, r) {
|
|
47021
47021
|
e = e.replace(/\(\$\d+_\$\)/g, "");
|
|
47022
47022
|
let i = this._cacheData[e];
|
|
47023
|
-
if (!i || i.barIndex < this._barIndex ? i = this.setCacheData(e, r) : i = i.data, t === 0)
|
|
47023
|
+
if (!i || i.barIndex < this._barIndex ? i = this.setCacheData(e, r) : i = i.data, t === 0 || isNaN(t))
|
|
47024
47024
|
return r;
|
|
47025
47025
|
const s = this._cacheSpace[e] || 0;
|
|
47026
47026
|
return t = Math.floor(t), s < t && (this._cacheSpace[e] = t), i[i.length - 1 - t];
|
|
@@ -24,7 +24,7 @@ export default class ParseToJs {
|
|
|
24
24
|
private __count;
|
|
25
25
|
preParseCode: string;
|
|
26
26
|
private _isExperssion;
|
|
27
|
-
private _tmpVarNames
|
|
27
|
+
private _tmpVarNames;
|
|
28
28
|
constructor(prefix: string);
|
|
29
29
|
preParser(values: IKeyObjectValue[]): string | undefined;
|
|
30
30
|
parser(values: IKeyObjectValue[]): {
|
|
@@ -25,7 +25,7 @@ export default class ParseToJs {
|
|
|
25
25
|
preParseCode: string;
|
|
26
26
|
private _isExperssion;
|
|
27
27
|
private _hasAlert;
|
|
28
|
-
private _tmpVarNames
|
|
28
|
+
private _tmpVarNames;
|
|
29
29
|
constructor(prefix: string);
|
|
30
30
|
preParser(values: IKeyObjectValue[]): string | undefined;
|
|
31
31
|
parser(values: IKeyObjectValue[]): {
|
|
@@ -33,7 +33,7 @@ export default class ParseToJs {
|
|
|
33
33
|
private _libTitle?;
|
|
34
34
|
private _exportEles;
|
|
35
35
|
private _scriptType?;
|
|
36
|
-
private _tmpVarNames
|
|
36
|
+
private _tmpVarNames;
|
|
37
37
|
constructor(prefix: string, scriptType?: VScriptType, libTitle?: string);
|
|
38
38
|
preParser(values: IKeyObjectValue[]): string | undefined;
|
|
39
39
|
parser(values: IKeyObjectValue[]): {
|
|
@@ -30,7 +30,7 @@ export default class ParseToJs {
|
|
|
30
30
|
private _libTitle?;
|
|
31
31
|
private _exportEles;
|
|
32
32
|
private _scriptType?;
|
|
33
|
-
private _tmpVarNames
|
|
33
|
+
private _tmpVarNames;
|
|
34
34
|
constructor(prefix: string, scriptType?: VScriptType, libTitle?: string);
|
|
35
35
|
preParser(values: IKeyObjectValue[]): string | undefined;
|
|
36
36
|
parser(values: IKeyObjectValue[]): {
|