@guihz/trading-vue-editor-tes 0.1.77 → 0.1.78
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.
|
@@ -26582,9 +26582,9 @@ ${this._prefixNameVar}.setCacheData("m${b}_" + ${f}, ${_})
|
|
|
26582
26582
|
const b = this._parserArguments(s, i, t, o, e.hasRequest, n);
|
|
26583
26583
|
if (!e.isBuiltIn) {
|
|
26584
26584
|
const f = n.split(".");
|
|
26585
|
-
if (f.length > 1 ? this._setDepend({ name: f[0], scope: e.varScope || e?.selfArg?.scope || e?.targetVal?.scope || 0 }) : this._setDepend({ name: n, scope: 0, hasRequest: e.hasRequest, isFunc: !0 }), e.funcName) {
|
|
26585
|
+
if (f.length > 1 ? this._setDepend({ name: f[0], isExperssion: this._isExperssion, scope: e.varScope || e?.selfArg?.scope || e?.targetVal?.scope || 0 }) : this._setDepend({ name: n, isExperssion: this._isExperssion, scope: 0, hasRequest: e.hasRequest, isFunc: !0 }), e.funcName) {
|
|
26586
26586
|
const y = this._nameMap.get(e.funcName) || e.funcName;
|
|
26587
|
-
this._setDepend({ name: y, originName: n, scope: 0, hasRequest: e.hasRequest, isFunc: !0 });
|
|
26587
|
+
this._setDepend({ name: y, isExperssion: this._isExperssion, originName: n, scope: 0, hasRequest: e.hasRequest, isFunc: !0 });
|
|
26588
26588
|
}
|
|
26589
26589
|
}
|
|
26590
26590
|
return n + b;
|
|
@@ -26658,7 +26658,7 @@ ${this._prefixNameVar}.setCacheData("m${b}_" + ${f}, ${_})
|
|
|
26658
26658
|
for (const s of e)
|
|
26659
26659
|
if (!s.isArg) {
|
|
26660
26660
|
const o = this._codesCol[s.scope || 0], p = o.find((f) => f.varNames?.includes(s.name) || f.funcName === s.name);
|
|
26661
|
-
p && (n.includes(p) || (p.funcName && i.push(p), n.push(p), p.depends.length && this._getDependsCode(p.depends, t, n), t.push({
|
|
26661
|
+
p && (n.includes(p) || (p.funcName && !s.isExperssion && i.push(p), n.push(p), p.depends.length && this._getDependsCode(p.depends, t, n), t.push({
|
|
26662
26662
|
scope: s.scope || 0,
|
|
26663
26663
|
code: p.code,
|
|
26664
26664
|
depends: p.depends,
|
|
@@ -26680,7 +26680,7 @@ ${this._prefixNameVar}.setCacheData("m${b}_" + ${f}, ${_})
|
|
|
26680
26680
|
_getStmtFuncDepends(e, t, n) {
|
|
26681
26681
|
const i = this._codesCol[0];
|
|
26682
26682
|
for (const s of e) {
|
|
26683
|
-
const o = i.filter((p) => p.isStmtFunc && p.depends.some((b) => b.isFunc && b.name === s.funcName));
|
|
26683
|
+
const o = i.filter((p) => p.isStmtFunc && p.depends.some((b) => b.isFunc && b.name === s.funcName && !b.isExperssion));
|
|
26684
26684
|
for (const p of o)
|
|
26685
26685
|
if (!t.includes(p)) {
|
|
26686
26686
|
t.push(p);
|
|
@@ -61546,9 +61546,9 @@ ${this._prefixNameVar}.setCacheData("m${b}_" + ${f}, ${_})
|
|
|
61546
61546
|
const b = this._parserArguments(s, i, t, o, e.hasRequest, n, e.isBuiltIn && V6.includes(e.funcName || e.name));
|
|
61547
61547
|
if (!e.isBuiltIn) {
|
|
61548
61548
|
const f = n.split(".");
|
|
61549
|
-
if (f.length > 1 ? this._setDepend({ name: f[0], scope: e.varScope || 0 }) : this._setDepend({ name: n, scope: 0, hasRequest: e.hasRequest, isFunc: !0 }), e.funcName) {
|
|
61549
|
+
if (f.length > 1 ? this._setDepend({ name: f[0], isExperssion: this._isExperssion, scope: e.varScope || 0 }) : this._setDepend({ name: n, isExperssion: this._isExperssion, scope: 0, hasRequest: e.hasRequest, isFunc: !0 }), e.funcName) {
|
|
61550
61550
|
const y = this._nameMap.get(e.funcName) || e.funcName;
|
|
61551
|
-
this._setDepend({ name: y, originName: n, scope: 0, hasRequest: e.hasRequest, isFunc: !0 });
|
|
61551
|
+
this._setDepend({ name: y, isExperssion: this._isExperssion, originName: n, scope: 0, hasRequest: e.hasRequest, isFunc: !0 });
|
|
61552
61552
|
}
|
|
61553
61553
|
}
|
|
61554
61554
|
return n + b;
|
|
@@ -61622,7 +61622,7 @@ ${this._prefixNameVar}.setCacheData("m${b}_" + ${f}, ${_})
|
|
|
61622
61622
|
for (const s of e)
|
|
61623
61623
|
if (!s.isArg) {
|
|
61624
61624
|
const o = this._codesCol[s.scope || 0], p = o.find((f) => f.varNames?.includes(s.name) || f.funcName === s.name);
|
|
61625
|
-
p && (n.includes(p) || (p.funcName && i.push(p), n.push(p), p.depends.length && this._getDependsCode(p.depends, t, n), t.push({
|
|
61625
|
+
p && (n.includes(p) || (p.funcName && !s.isExperssion && i.push(p), n.push(p), p.depends.length && this._getDependsCode(p.depends, t, n), t.push({
|
|
61626
61626
|
scope: s.scope || 0,
|
|
61627
61627
|
code: p.code,
|
|
61628
61628
|
depends: p.depends,
|
|
@@ -61644,7 +61644,7 @@ ${this._prefixNameVar}.setCacheData("m${b}_" + ${f}, ${_})
|
|
|
61644
61644
|
_getStmtFuncDepends(e, t, n) {
|
|
61645
61645
|
const i = this._codesCol[0];
|
|
61646
61646
|
for (const s of e) {
|
|
61647
|
-
const o = i.filter((p) => p.isStmtFunc && p.depends.some((b) => b.isFunc && b.name === s.funcName));
|
|
61647
|
+
const o = i.filter((p) => p.isStmtFunc && p.depends.some((b) => b.isFunc && b.name === s.funcName && !b.isExperssion));
|
|
61648
61648
|
for (const p of o)
|
|
61649
61649
|
if (!t.includes(p)) {
|
|
61650
61650
|
t.push(p);
|
|
@@ -80331,9 +80331,9 @@ ${this._prefixNameVar}.setCacheData("m${b}_" + ${f}, ${_})
|
|
|
80331
80331
|
const y = this._parserArguments(o, s, t, b, e.hasRequest, i, (e.isBuiltIn || e.isBuiltInFunc) && Kz.includes(e.funcName || e.name));
|
|
80332
80332
|
if (!e.isBuiltIn && !e.isBuiltInFunc) {
|
|
80333
80333
|
const _ = i.split(".");
|
|
80334
|
-
if (_.length > 1 ? this._setDepend({ name: _[0], scope: e.varScope || e?.selfArg?.scope || e?.targetVal?.scope || 0 }) : this._setDepend({ name: i, scope: 0, hasRequest: e.hasRequest, isFunc: !0 }), e.funcName) {
|
|
80334
|
+
if (_.length > 1 ? this._setDepend({ name: _[0], isExperssion: this._isExperssion, scope: e.varScope || e?.selfArg?.scope || e?.targetVal?.scope || 0 }) : this._setDepend({ name: i, isExperssion: this._isExperssion, scope: 0, hasRequest: e.hasRequest, isFunc: !0 }), e.funcName) {
|
|
80335
80335
|
const E = this._nameMap.get(e.funcName) || e.funcName;
|
|
80336
|
-
this._setDepend({ name: E, originName: i, scope: 0, hasRequest: e.hasRequest, isFunc: !0 });
|
|
80336
|
+
this._setDepend({ name: E, isExperssion: this._isExperssion, originName: i, scope: 0, hasRequest: e.hasRequest, isFunc: !0 });
|
|
80337
80337
|
}
|
|
80338
80338
|
}
|
|
80339
80339
|
if (e.targetVal) {
|
|
@@ -80412,7 +80412,7 @@ ${this._prefixNameVar}.setCacheData("m${b}_" + ${f}, ${_})
|
|
|
80412
80412
|
for (const s of e)
|
|
80413
80413
|
if (!s.isArg) {
|
|
80414
80414
|
const o = this._codesCol[s.scope || 0], p = o.find((f) => f.varNames?.includes(s.name) || f.funcName === s.name);
|
|
80415
|
-
p && (n.includes(p) || (p.funcName && i.push(p), n.push(p), p.depends.length && this._getDependsCode(p.depends, t, n), t.push({
|
|
80415
|
+
p && (n.includes(p) || (p.funcName && !s.isExperssion && i.push(p), n.push(p), p.depends.length && this._getDependsCode(p.depends, t, n), t.push({
|
|
80416
80416
|
scope: s.scope || 0,
|
|
80417
80417
|
code: p.code,
|
|
80418
80418
|
depends: p.depends,
|
|
@@ -80434,7 +80434,7 @@ ${this._prefixNameVar}.setCacheData("m${b}_" + ${f}, ${_})
|
|
|
80434
80434
|
_getStmtFuncDepends(e, t, n) {
|
|
80435
80435
|
const i = this._codesCol[0];
|
|
80436
80436
|
for (const s of e) {
|
|
80437
|
-
const o = i.filter((p) => p.depends.some((b) => b.isFunc && b.name === s.funcName));
|
|
80437
|
+
const o = i.filter((p) => p.depends.some((b) => b.isFunc && b.name === s.funcName && !b.isExperssion));
|
|
80438
80438
|
for (const p of o)
|
|
80439
80439
|
if (!t.includes(p)) {
|
|
80440
80440
|
p.funcName && this._getStmtFuncDepends([p], t, n), t.push(p);
|
|
@@ -99135,9 +99135,9 @@ ${this._prefixNameVar}.setCacheData("m${b}_" + ${f}, ${_})
|
|
|
99135
99135
|
const y = this._parserArguments(o, s, t, b, e.hasRequest, i, (e.isBuiltIn || e.isBuiltInFunc) && Ez.includes(e.funcName || e.name));
|
|
99136
99136
|
if (!e.isBuiltIn && !e.isBuiltInFunc) {
|
|
99137
99137
|
const _ = i.split(".");
|
|
99138
|
-
if (_.length > 1 ? this._setDepend({ name: _[0], scope: e.varScope || e?.selfArg?.scope || e?.targetVal?.scope || 0 }) : this._setDepend({ name: i, scope: 0, hasRequest: e.hasRequest, isFunc: !0 }), e.funcName) {
|
|
99138
|
+
if (_.length > 1 ? this._setDepend({ name: _[0], isExperssion: this._isExperssion, scope: e.varScope || e?.selfArg?.scope || e?.targetVal?.scope || 0 }) : this._setDepend({ name: i, scope: 0, isExperssion: this._isExperssion, hasRequest: e.hasRequest, isFunc: !0 }), e.funcName) {
|
|
99139
99139
|
const E = this._nameMap.get(e.funcName) || e.funcName;
|
|
99140
|
-
this._setDepend({ name: E, originName: i, scope: 0, hasRequest: e.hasRequest, isFunc: !0 });
|
|
99140
|
+
this._setDepend({ name: E, isExperssion: this._isExperssion, originName: i, scope: 0, hasRequest: e.hasRequest, isFunc: !0 });
|
|
99141
99141
|
}
|
|
99142
99142
|
}
|
|
99143
99143
|
if (e.targetVal) {
|
|
@@ -99216,7 +99216,7 @@ ${this._prefixNameVar}.setCacheData("m${b}_" + ${f}, ${_})
|
|
|
99216
99216
|
for (const s of e)
|
|
99217
99217
|
if (!s.isArg) {
|
|
99218
99218
|
const o = this._codesCol[s.scope || 0], p = o.find((f) => f.varNames?.includes(s.name) || f.funcName === s.name);
|
|
99219
|
-
p && (n.includes(p) || (p.funcName && i.push(p), n.push(p), p.depends.length && this._getDependsCode(p.depends, t, n), t.push({
|
|
99219
|
+
p && (n.includes(p) || (p.funcName && !s.isExperssion && i.push(p), n.push(p), p.depends.length && this._getDependsCode(p.depends, t, n), t.push({
|
|
99220
99220
|
scope: s.scope || 0,
|
|
99221
99221
|
code: p.code,
|
|
99222
99222
|
depends: p.depends,
|
|
@@ -99238,7 +99238,7 @@ ${this._prefixNameVar}.setCacheData("m${b}_" + ${f}, ${_})
|
|
|
99238
99238
|
_getStmtFuncDepends(e, t, n) {
|
|
99239
99239
|
const i = this._codesCol[0];
|
|
99240
99240
|
for (const s of e) {
|
|
99241
|
-
const o = i.filter((p) => p.depends.some((b) => b.isFunc && b.name === s.funcName));
|
|
99241
|
+
const o = i.filter((p) => p.depends.some((b) => b.isFunc && b.name === s.funcName && !b.isExperssion));
|
|
99242
99242
|
for (const p of o)
|
|
99243
99243
|
if (!t.includes(p)) {
|
|
99244
99244
|
p.funcName && this._getStmtFuncDepends([p], t, n), t.push(p);
|
|
@@ -15064,7 +15064,7 @@ vd.onerror = (i) => {
|
|
|
15064
15064
|
async function _d(i) {
|
|
15065
15065
|
return await Lo.setInlayHints(i);
|
|
15066
15066
|
}
|
|
15067
|
-
const bd = h0(vd), yd = h0(new Worker(new URL("" + new URL("assets/parserTccWorker-
|
|
15067
|
+
const bd = h0(vd), yd = h0(new Worker(new URL("" + new URL("assets/parserTccWorker-OAYIRCdB.js", import.meta.url).href, import.meta.url), { type: "module", name: "Parser MineScript Server" }));
|
|
15068
15068
|
async function m2(i, r = !1, t = yr) {
|
|
15069
15069
|
const o = i.match(/\s*\/\/\s*@version\s*=\s*([0-9])/)?.[1];
|
|
15070
15070
|
o && (t = parseInt(o), t = t < 3 ? 3 : t > 6 ? 6 : t);
|