Browse Source

update

master
iapyang 7 years ago
parent
commit
ee56a939a4
  1. 5
      dist/base.js
  2. 5
      dist/bundle.js
  3. 70
      dist/bundle.min.js
  4. 5
      dist/fineui.js
  5. 5
      dist/fineui.min.js
  6. 5
      src/base/formula/formulaeditor.js

5
dist/base.js vendored

@ -14571,6 +14571,10 @@ BI.FormulaEditor = BI.inherit(BI.Single, {
self.fireEvent(BI.FormulaEditor.EVENT_BLUR); self.fireEvent(BI.FormulaEditor.EVENT_BLUR);
}); });
this.editor.on("keyup", function (cm, keyboard) {
self.fireEvent(BI.FormulaEditor.EVENT_KEY_UP, keyboard.key);
});
if (BI.isKey(this.options.watermark)) { if (BI.isKey(this.options.watermark)) {
var self = this; var self = this;
this.watermark = BI.createWidget({ this.watermark = BI.createWidget({
@ -14779,6 +14783,7 @@ BI.FormulaEditor = BI.inherit(BI.Single, {
BI.FormulaEditor.EVENT_CHANGE = "EVENT_CHANGE"; BI.FormulaEditor.EVENT_CHANGE = "EVENT_CHANGE";
BI.FormulaEditor.EVENT_BLUR = "EVENT_BLUR"; BI.FormulaEditor.EVENT_BLUR = "EVENT_BLUR";
BI.FormulaEditor.EVENT_FOCUS = "EVENT_FOCUS"; BI.FormulaEditor.EVENT_FOCUS = "EVENT_FOCUS";
BI.FormulaEditor.EVENT_KEY_UP = "EVENT_KEY_UP";
BI.shortcut("bi.formula_editor", BI.FormulaEditor); BI.shortcut("bi.formula_editor", BI.FormulaEditor);
/** /**
* z-index在1亿层级 * z-index在1亿层级

5
dist/bundle.js vendored

@ -50341,6 +50341,10 @@ BI.FormulaEditor = BI.inherit(BI.Single, {
self.fireEvent(BI.FormulaEditor.EVENT_BLUR); self.fireEvent(BI.FormulaEditor.EVENT_BLUR);
}); });
this.editor.on("keyup", function (cm, keyboard) {
self.fireEvent(BI.FormulaEditor.EVENT_KEY_UP, keyboard.key);
});
if (BI.isKey(this.options.watermark)) { if (BI.isKey(this.options.watermark)) {
var self = this; var self = this;
this.watermark = BI.createWidget({ this.watermark = BI.createWidget({
@ -50549,6 +50553,7 @@ BI.FormulaEditor = BI.inherit(BI.Single, {
BI.FormulaEditor.EVENT_CHANGE = "EVENT_CHANGE"; BI.FormulaEditor.EVENT_CHANGE = "EVENT_CHANGE";
BI.FormulaEditor.EVENT_BLUR = "EVENT_BLUR"; BI.FormulaEditor.EVENT_BLUR = "EVENT_BLUR";
BI.FormulaEditor.EVENT_FOCUS = "EVENT_FOCUS"; BI.FormulaEditor.EVENT_FOCUS = "EVENT_FOCUS";
BI.FormulaEditor.EVENT_KEY_UP = "EVENT_KEY_UP";
BI.shortcut("bi.formula_editor", BI.FormulaEditor); BI.shortcut("bi.formula_editor", BI.FormulaEditor);
/** /**
* z-index在1亿层级 * z-index在1亿层级

70
dist/bundle.min.js vendored

File diff suppressed because one or more lines are too long

5
dist/fineui.js vendored

@ -50584,6 +50584,10 @@ BI.FormulaEditor = BI.inherit(BI.Single, {
self.fireEvent(BI.FormulaEditor.EVENT_BLUR); self.fireEvent(BI.FormulaEditor.EVENT_BLUR);
}); });
this.editor.on("keyup", function (cm, keyboard) {
self.fireEvent(BI.FormulaEditor.EVENT_KEY_UP, keyboard.key);
});
if (BI.isKey(this.options.watermark)) { if (BI.isKey(this.options.watermark)) {
var self = this; var self = this;
this.watermark = BI.createWidget({ this.watermark = BI.createWidget({
@ -50792,6 +50796,7 @@ BI.FormulaEditor = BI.inherit(BI.Single, {
BI.FormulaEditor.EVENT_CHANGE = "EVENT_CHANGE"; BI.FormulaEditor.EVENT_CHANGE = "EVENT_CHANGE";
BI.FormulaEditor.EVENT_BLUR = "EVENT_BLUR"; BI.FormulaEditor.EVENT_BLUR = "EVENT_BLUR";
BI.FormulaEditor.EVENT_FOCUS = "EVENT_FOCUS"; BI.FormulaEditor.EVENT_FOCUS = "EVENT_FOCUS";
BI.FormulaEditor.EVENT_KEY_UP = "EVENT_KEY_UP";
BI.shortcut("bi.formula_editor", BI.FormulaEditor); BI.shortcut("bi.formula_editor", BI.FormulaEditor);
/** /**
* z-index在1亿层级 * z-index在1亿层级

5
dist/fineui.min.js vendored

@ -102,6 +102,10 @@ BI.FormulaEditor = BI.inherit(BI.Single, {
self.fireEvent(BI.FormulaEditor.EVENT_BLUR); self.fireEvent(BI.FormulaEditor.EVENT_BLUR);
}); });
this.editor.on("keyup", function (cm, keyboard) {
self.fireEvent(BI.FormulaEditor.EVENT_KEY_UP, keyboard.key);
});
if (BI.isKey(this.options.watermark)) { if (BI.isKey(this.options.watermark)) {
var self = this; var self = this;
this.watermark = BI.createWidget({ this.watermark = BI.createWidget({
@ -310,4 +314,5 @@ BI.FormulaEditor = BI.inherit(BI.Single, {
BI.FormulaEditor.EVENT_CHANGE = "EVENT_CHANGE"; BI.FormulaEditor.EVENT_CHANGE = "EVENT_CHANGE";
BI.FormulaEditor.EVENT_BLUR = "EVENT_BLUR"; BI.FormulaEditor.EVENT_BLUR = "EVENT_BLUR";
BI.FormulaEditor.EVENT_FOCUS = "EVENT_FOCUS"; BI.FormulaEditor.EVENT_FOCUS = "EVENT_FOCUS";
BI.FormulaEditor.EVENT_KEY_UP = "EVENT_KEY_UP";
BI.shortcut("bi.formula_editor", BI.FormulaEditor); BI.shortcut("bi.formula_editor", BI.FormulaEditor);

5
src/base/formula/formulaeditor.js

@ -48,6 +48,10 @@ BI.FormulaEditor = BI.inherit(BI.Single, {
self.fireEvent(BI.FormulaEditor.EVENT_BLUR); self.fireEvent(BI.FormulaEditor.EVENT_BLUR);
}); });
this.editor.on("keyup", function (cm, keyboard) {
self.fireEvent(BI.FormulaEditor.EVENT_KEY_UP, keyboard.key);
});
if (BI.isKey(this.options.watermark)) { if (BI.isKey(this.options.watermark)) {
var self = this; var self = this;
this.watermark = BI.createWidget({ this.watermark = BI.createWidget({
@ -256,4 +260,5 @@ BI.FormulaEditor = BI.inherit(BI.Single, {
BI.FormulaEditor.EVENT_CHANGE = "EVENT_CHANGE"; BI.FormulaEditor.EVENT_CHANGE = "EVENT_CHANGE";
BI.FormulaEditor.EVENT_BLUR = "EVENT_BLUR"; BI.FormulaEditor.EVENT_BLUR = "EVENT_BLUR";
BI.FormulaEditor.EVENT_FOCUS = "EVENT_FOCUS"; BI.FormulaEditor.EVENT_FOCUS = "EVENT_FOCUS";
BI.FormulaEditor.EVENT_KEY_UP = "EVENT_KEY_UP";
BI.shortcut("bi.formula_editor", BI.FormulaEditor); BI.shortcut("bi.formula_editor", BI.FormulaEditor);

Loading…
Cancel
Save