Browse Source

BI-24611

es6
windy 6 years ago
parent
commit
22c2661d7d
  1. 4
      dist/base.js
  2. 4
      dist/bundle.js
  3. 6
      dist/bundle.min.js
  4. 4
      dist/fineui.js
  5. 4
      dist/fineui.min.js
  6. 4
      src/base/formula/formulaeditor.js

4
dist/base.js vendored

@ -14725,7 +14725,7 @@ BI.FormulaEditor = BI.inherit(BI.Single, {
getValue: function () {
var fieldMap = this.options.fieldTextValueMap;
return this.editor.getValue("\n", function (line) {
var v = this.editor.getValue("\n", function (line) {
var rawText = line.text, value = line.text, num = 0;
value.text = rawText;
_.forEach(line.markedSpans, function (i, ms) {
@ -14740,7 +14740,7 @@ BI.FormulaEditor = BI.inherit(BI.Single, {
break;
}
});
return value;
return v.replaceAll("(\\$\\{.*?\\})\\s", "$1");
});
},

4
dist/bundle.js vendored

@ -50495,7 +50495,7 @@ BI.FormulaEditor = BI.inherit(BI.Single, {
getValue: function () {
var fieldMap = this.options.fieldTextValueMap;
return this.editor.getValue("\n", function (line) {
var v = this.editor.getValue("\n", function (line) {
var rawText = line.text, value = line.text, num = 0;
value.text = rawText;
_.forEach(line.markedSpans, function (i, ms) {
@ -50510,7 +50510,7 @@ BI.FormulaEditor = BI.inherit(BI.Single, {
break;
}
});
return value;
return v.replaceAll("(\\$\\{.*?\\})\\s", "$1");
});
},

6
dist/bundle.min.js vendored

File diff suppressed because one or more lines are too long

4
dist/fineui.js vendored

@ -50738,7 +50738,7 @@ BI.FormulaEditor = BI.inherit(BI.Single, {
getValue: function () {
var fieldMap = this.options.fieldTextValueMap;
return this.editor.getValue("\n", function (line) {
var v = this.editor.getValue("\n", function (line) {
var rawText = line.text, value = line.text, num = 0;
value.text = rawText;
_.forEach(line.markedSpans, function (i, ms) {
@ -50753,7 +50753,7 @@ BI.FormulaEditor = BI.inherit(BI.Single, {
break;
}
});
return value;
return v.replaceAll("(\\$\\{.*?\\})\\s", "$1");
});
},

4
dist/fineui.min.js vendored

@ -255,7 +255,7 @@ BI.FormulaEditor = BI.inherit(BI.Single, {
getValue: function () {
var fieldMap = this.options.fieldTextValueMap;
return this.editor.getValue("\n", function (line) {
var v = this.editor.getValue("\n", function (line) {
var rawText = line.text, value = line.text, num = 0;
value.text = rawText;
_.forEach(line.markedSpans, function (i, ms) {
@ -270,7 +270,7 @@ BI.FormulaEditor = BI.inherit(BI.Single, {
break;
}
});
return value;
return v.replaceAll("(\\$\\{.*?\\})\\s", "$1");
});
},

4
src/base/formula/formulaeditor.js

@ -202,7 +202,7 @@ BI.FormulaEditor = BI.inherit(BI.Single, {
getValue: function () {
var fieldMap = this.options.fieldTextValueMap;
return this.editor.getValue("\n", function (line) {
var v = this.editor.getValue("\n", function (line) {
var rawText = line.text, value = line.text, num = 0;
value.text = rawText;
_.forEach(line.markedSpans, function (i, ms) {
@ -217,7 +217,7 @@ BI.FormulaEditor = BI.inherit(BI.Single, {
break;
}
});
return value;
return v.replaceAll("(\\$\\{.*?\\})\\s", "$1");
});
},

Loading…
Cancel
Save