@guihz/trading-vue-editor-tes 0.1.22 → 0.1.24
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-DGNOKwGq.js → parserTccWorker-BzLIMQTD.js} +3 -5
- package/lib/assets/{scriptsRunWorker-DXmuwBvo.js → scriptsRunWorker-Dpg-1H14.js} +1009 -971
- package/lib/components/editor/v6/parseScript/buildInConstants.d.ts +3 -3
- package/lib/components/editor/v6/parseScript/buildInFuncNamespace/box.d.ts +2 -0
- package/lib/components/editor/v6/parseScript/buildInFuncNamespace/label.d.ts +2 -0
- package/lib/components/editor/v6/parseScript/buildInFuncNamespace/table.d.ts +2 -0
- package/lib/trading-vue-editor.es.packages.js +4 -3
- package/lib/trading-vue-editor.umd.packages.mjs +20 -19
- package/package.json +1 -1
@@ -80429,7 +80429,6 @@ ${this._prefixNameVar}.setCacheData("m${l}_" + ${f}, ${m})
|
|
80429
80429
|
let y = "";
|
80430
80430
|
const m = new V6("_$");
|
80431
80431
|
let E = e ? "" : m.preParser(f);
|
80432
|
-
console.log(E);
|
80433
80432
|
const x = {};
|
80434
80433
|
if (e && !i.some((T) => T.type === Ye.Error)) {
|
80435
80434
|
const { code: T = "", hasLeftVisibleBarTime: _, hasRightVisibleBarTime: z } = m.parser(f) || {};
|
@@ -97166,7 +97165,7 @@ ${this._prefixNameVar}.setCacheData("m${l}_" + ${f}, ${m})
|
|
97166
97165
|
*/
|
97167
97166
|
_sameTypeJudge(e, t, n, i) {
|
97168
97167
|
let s = "";
|
97169
|
-
const o = [], p = ["plot_display", "plot_simple_display"];
|
97168
|
+
const o = [], p = ["plot_display", "plot_simple_display", "text_format"];
|
97170
97169
|
["+", "-", "+=", "-="].includes(n) && (i = i.concat(p));
|
97171
97170
|
for (const [l, f] of e.entries()) {
|
97172
97171
|
let y = f && f.type || P.UNDETERMINED;
|
@@ -97953,7 +97952,6 @@ ${this._prefixNameVar}.setCacheData("m${l}_" + ${f}, ${m})
|
|
97953
97952
|
l === v0.Brackethesized && (m = `[${f.map((_) => _.type).join(", ")}]`);
|
97954
97953
|
const { allowedTypeIDs: E = [], displayType: x, name: T } = t;
|
97955
97954
|
if (m === `${P.SIMPLE} ${P.NA}`) {
|
97956
|
-
console.log(E, x, n, T);
|
97957
97955
|
const _ = this._removePrefix(x);
|
97958
97956
|
let z = EE[_];
|
97959
97957
|
if (z) {
|
@@ -98981,7 +98979,7 @@ ${this._prefixNameVar}.setCacheData("m${l}_" + ${f}, ${m})
|
|
98981
98979
|
let y = "";
|
98982
98980
|
const { column: m, line: E } = f?.ctx?.start || {}, x = `${E}_${m}`;
|
98983
98981
|
let T = this._isInFunc ? `$posStr + "__${x}"` : `"${x}"`;
|
98984
|
-
T = this._isInLoop ? `"$" + $$count${this._count} + "_$" + ${T}` : T, f.selfArg ? (y = this._parserMethodElement(f, T, l.join(".")), l = []) : y = this._parserMethodElement(f, T, ""), l.push(y);
|
98982
|
+
T = this._isInLoop ? `"($" + $$count${this._count} + "_$)" + ${T}` : T, f.selfArg ? (y = this._parserMethodElement(f, T, l.join(".")), l = []) : y = this._parserMethodElement(f, T, ""), l.push(y);
|
98985
98983
|
}
|
98986
98984
|
if (e.expr && l.unshift(`(${this._parserSingleExpression(e.expr)})`), e.isBuiltIn) {
|
98987
98985
|
const f = l.join(".");
|
@@ -99003,7 +99001,7 @@ ${this._prefixNameVar}.setCacheData("m${l}_" + ${f}, ${m})
|
|
99003
99001
|
_parserMethodExpression(e) {
|
99004
99002
|
const { exprs: t, ctx: n } = e, { column: i, line: s } = n.start, o = `${s}_${i}`;
|
99005
99003
|
let p = this._isInFunc ? `$posStr + "__${o}"` : `"${o}"`;
|
99006
|
-
p = this._isInLoop ? `"$" + $$count${this._count} + "_$" + ${p}` : p, i === 0 && (this._dependsObj[p] = /* @__PURE__ */ new Map());
|
99004
|
+
p = this._isInLoop ? `"($" + $$count${this._count} + "_$)" + ${p}` : p, i === 0 && (this._dependsObj[p] = /* @__PURE__ */ new Map());
|
99007
99005
|
let l = [];
|
99008
99006
|
for (const y of t) {
|
99009
99007
|
let m = "";
|