@fw-components/formula-editor 2.0.7-formula-editor.40 → 2.0.7-formula-editor.41

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.
@@ -94,7 +94,7 @@ export class Parser {
94
94
  expectation = Expectation.UNDEFINED;
95
95
  }
96
96
  else if (this.allowedOperators.has(previousToken) && isOperator) {
97
- parseOutput.errorString = `Please use ${this.variableType}${this.allowedNumbers ? " or numbers" : ""} after '${previousToken}'. Pls do not use consecutive two mathametical operators (+ ,- ,* ,/ ,^)`;
97
+ parseOutput.errorString = `Please use ${this.variableType}${this.allowedNumbers ? " or numbers" : ""} after '${previousToken}'. Pls do not use consecutive two mathametical operators (+ - * / ^)`;
98
98
  expectation = Expectation.UNDEFINED;
99
99
  }
100
100
  else if (parentheses.isEmpty() && token === ")") {
@@ -114,7 +114,7 @@ export class Parser {
114
114
  * Multiple number/variable together without operator
115
115
  */
116
116
  else if (expectation === Expectation.OPERATOR && !isOperator && !isSpace && token != ")") {
117
- parseOutput.errorString = `Please use mathametical operators (${Array.from(this.allowedOperators).join(", ")}) after ${previousToken}.`;
117
+ parseOutput.errorString = `Please use mathametical operators (${Array.from(this.allowedOperators).join(" ")}) after '${previousToken}'.`;
118
118
  expectation = Expectation.UNDEFINED;
119
119
  }
120
120
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fw-components/formula-editor",
3
- "version": "2.0.7-formula-editor.40",
3
+ "version": "2.0.7-formula-editor.41",
4
4
  "description": "A WYSIWYG type formula editor",
5
5
  "main": "dist/formula-editor/src/formula-editor.js",
6
6
  "exports": {
@@ -31,5 +31,5 @@
31
31
  "@types/big.js": "^6.1.6",
32
32
  "es-dev-server": "^2.1.0"
33
33
  },
34
- "gitHead": "5bf490d4aae797852b522a53bec12fcbf3d524bd"
34
+ "gitHead": "c53252d71f716dfcaf8a1c1e7637f09edb715b3f"
35
35
  }