@guihz/trading-vue-editor-tes 0.1.35 → 0.1.36

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.
@@ -77524,6 +77524,11 @@ ${this._prefixNameVar}.setCacheData("m${b}_" + ${f}, ${_})
77524
77524
  return b;
77525
77525
  }
77526
77526
  const n = this._getUserVar(e);
77527
+ if (n?.type === I.UNDETERMINED) {
77528
+ const i = this._getBuildVar(e);
77529
+ if (i)
77530
+ return i;
77531
+ }
77527
77532
  return n || this._getBuildVar(e);
77528
77533
  }
77529
77534
  _judgeGatherValue(e, t, n, i) {
@@ -97106,6 +97111,11 @@ ${this._prefixNameVar}.setCacheData("m${b}_" + ${f}, ${_})
97106
97111
  return b;
97107
97112
  }
97108
97113
  const n = this._getUserVar(e);
97114
+ if (n?.type === P.UNDETERMINED) {
97115
+ const i = this._getBuildVar(e);
97116
+ if (i)
97117
+ return i;
97118
+ }
97109
97119
  return n || this._getBuildVar(e);
97110
97120
  }
97111
97121
  _judgeGatherValue(e, t, n, i) {
@@ -20498,7 +20498,7 @@ ${u}`), u;
20498
20498
  if (ne(e))
20499
20499
  return NaN;
20500
20500
  let [r, i] = t.split(".");
20501
- t.split("%").length === 2 && (e = Number((e * 100).toFixed(2)));
20501
+ t.split("%").length === 2 && (e = Number((e * 100).toFixed(2))), t.includes("#") && !t.includes(".") && (e = Math.round(e));
20502
20502
  let [s, o = ""] = String(e).split(".");
20503
20503
  if (r.includes("0")) {
20504
20504
  r = r.replace(/#/g, "");
@@ -24473,7 +24473,7 @@ ${u}`), u;
24473
24473
  if (i1(e))
24474
24474
  return NaN;
24475
24475
  let [r, i] = t.split(".");
24476
- t.split("%").length === 2 && (e = Number((e * 100).toFixed(2)));
24476
+ t.split("%").length === 2 && (e = Number((e * 100).toFixed(2))), t.includes("#") && !t.includes(".") && (e = Math.round(e));
24477
24477
  let [s, o = ""] = String(e).split(".");
24478
24478
  if (r.includes("0")) {
24479
24479
  r = r.replace(/#/g, "");
@@ -33142,7 +33142,7 @@ ${Gf}`);
33142
33142
  if (h0(e))
33143
33143
  return NaN;
33144
33144
  let [r, i] = t.split(".");
33145
- t.split("%").length === 2 && (e = Number((e * 100).toFixed(2)));
33145
+ t.split("%").length === 2 && (e = Number((e * 100).toFixed(2))), t.includes("#") && !t.includes(".") && (e = Math.round(e));
33146
33146
  let [s, o = ""] = String(e).split(".");
33147
33147
  if (r.includes("0")) {
33148
33148
  r = r.replace(/#/g, "");
@@ -41569,7 +41569,7 @@ ${u}`), u;
41569
41569
  if (_0(e))
41570
41570
  return NaN;
41571
41571
  let [r, i] = t.split(".");
41572
- t.split("%").length === 2 && (e = Number((e * 100).toFixed(2)));
41572
+ t.split("%").length === 2 && (e = Number((e * 100).toFixed(2))), t.includes("#") && !t.includes(".") && (e = Math.round(e));
41573
41573
  let [s, o = ""] = String(e).split(".");
41574
41574
  if (r.includes("0")) {
41575
41575
  r = r.replace(/#/g, "");
@@ -46,5 +46,7 @@ export declare enum Actions {
46
46
  RunScript = "runScript",
47
47
  Open = "open",
48
48
  NewWindow = "newWindow",
49
- NewTab = "newTab"
49
+ NewTab = "newTab",
50
+ NewIndicator = "newIndicator",
51
+ NewStrategy = "newStrategy"
50
52
  }
@@ -57,5 +57,7 @@ declare const _default: {
57
57
  statement: string;
58
58
  loop: string;
59
59
  '`click` on keyword for more help': string;
60
+ "new indicator": string;
61
+ "new strategy": string;
60
62
  };
61
63
  export default _default;
@@ -57,5 +57,7 @@ declare const _default: {
57
57
  statement: string;
58
58
  loop: string;
59
59
  '`click` on keyword for more help': string;
60
+ "new indicator": string;
61
+ "new strategy": string;
60
62
  };
61
63
  export default _default;