Browse Source

Merge pull request #1250 in VISUAL/fineui from ~FRANK.QIU/fineui:master to master

* commit '20335a501e2072b4d4b1164daccc54ed29b143df':
  DEC-12053 fix: trigger.editor把信息传出来
master
Frank.Qiu 5 years ago
parent
commit
935c5cef8f
  1. 35
      dist/2.0/fineui.ie.js
  2. 2
      dist/2.0/fineui.ie.js.map
  3. 46
      dist/2.0/fineui.ie.min.js
  4. 2
      dist/2.0/fineui.ie.min.js.map
  5. 35
      dist/2.0/fineui.js
  6. 2
      dist/2.0/fineui.js.map
  7. 2
      dist/2.0/fineui.min.css
  8. 46
      dist/2.0/fineui.min.js
  9. 2
      dist/2.0/fineui.min.js.map
  10. 35
      dist/bundle.ie.js
  11. 2
      dist/bundle.ie.js.map
  12. 46
      dist/bundle.ie.min.js
  13. 2
      dist/bundle.ie.min.js.map
  14. 35
      dist/bundle.js
  15. 2
      dist/bundle.js.map
  16. 2
      dist/bundle.min.css
  17. 46
      dist/bundle.min.js
  18. 2
      dist/bundle.min.js.map
  19. 35
      dist/case.js
  20. 2
      dist/case.js.map
  21. 2
      dist/es5.polyfill.js
  22. 2
      dist/es5.polyfill.js.map
  23. 37
      dist/fineui.ie.js
  24. 2
      dist/fineui.ie.js.map
  25. 104
      dist/fineui.ie.min.js
  26. 2
      dist/fineui.ie.min.js.map
  27. 37
      dist/fineui.js
  28. 2
      dist/fineui.js.map
  29. 2
      dist/fineui.min.css
  30. 107
      dist/fineui.min.js
  31. 2
      dist/fineui.min.js.map
  32. 35
      dist/fineui_without_jquery_polyfill.js
  33. 2
      dist/fineui_without_jquery_polyfill.js.map
  34. 2
      dist/ie.polyfill.js
  35. 2
      dist/ie.polyfill.js.map
  36. 2
      dist/utils.min.js
  37. 19
      src/case/combo/editoriconcheckcombo/combo.editiconcheck.js
  38. 16
      src/case/trigger/trigger.editor.js

35
dist/2.0/fineui.ie.js vendored

@ -56370,8 +56370,21 @@ BI.EditorIconCheckCombo = BI.inherit(BI.Widget, {
});
this.trigger.on(BI.EditorTrigger.EVENT_CHANGE, function () {
self.popup.setValue(this.getValue());
self.fireEvent(BI.EditorIconCheckCombo.EVENT_CHANGE);
self.fireEvent(BI.EditorIconCheckCombo.EVENT_CHANGE, arguments);
});
this.trigger.on(BI.EditorTrigger.EVENT_FOCUS, function () {
self.fireEvent(BI.EditorIconCheckCombo.EVENT_FOCUS, arguments);
});
this.trigger.on(BI.EditorTrigger.EVENT_EMPTY, function () {
self.fireEvent(BI.EditorIconCheckCombo.EVENT_EMPTY, arguments);
});
this.trigger.on(BI.EditorTrigger.EVENT_VALID, function () {
self.fireEvent(BI.EditorIconCheckCombo.EVENT_VALID, arguments);
});
this.trigger.on(BI.EditorTrigger.EVENT_ERROR, function () {
self.fireEvent(BI.EditorIconCheckCombo.EVENT_ERROR, arguments);
});
this.popup = BI.createWidget({
type: "bi.text_value_check_combo_popup",
chooseType: o.chooseType,
@ -56413,6 +56426,10 @@ BI.EditorIconCheckCombo = BI.inherit(BI.Widget, {
}
});
BI.EditorIconCheckCombo.EVENT_CHANGE = "EVENT_CHANGE";
BI.EditorIconCheckCombo.EVENT_FOCUS = "EVENT_FOCUS";
BI.EditorIconCheckCombo.EVENT_EMPTY = "EVENT_EMPTY";
BI.EditorIconCheckCombo.EVENT_VALID = "EVENT_VALID";
BI.EditorIconCheckCombo.EVENT_ERROR = "EVENT_ERROR";
BI.shortcut("bi.editor_icon_check_combo", BI.EditorIconCheckCombo);
/**
* Created by GUY on 2016/2/2.
@ -61531,6 +61548,18 @@ BI.EditorTrigger = BI.inherit(BI.Trigger, {
this.editor.on(BI.SignEditor.EVENT_CHANGE, function () {
self.fireEvent(BI.EditorTrigger.EVENT_CHANGE, arguments);
});
this.editor.on(BI.SignEditor.EVENT_FOCUS, function () {
self.fireEvent(BI.EditorTrigger.EVENT_FOCUS, arguments);
});
this.editor.on(BI.SignEditor.EVENT_EMPTY, function () {
self.fireEvent(BI.EditorTrigger.EVENT_EMPTY, arguments);
});
this.editor.on(BI.SignEditor.EVENT_VALID, function () {
self.fireEvent(BI.EditorTrigger.EVENT_VALID, arguments);
});
this.editor.on(BI.SignEditor.EVENT_ERROR, function () {
self.fireEvent(BI.EditorTrigger.EVENT_ERROR, arguments);
});
BI.createWidget({
element: this,
@ -61562,6 +61591,10 @@ BI.EditorTrigger = BI.inherit(BI.Trigger, {
}
});
BI.EditorTrigger.EVENT_CHANGE = "EVENT_CHANGE";
BI.EditorTrigger.EVENT_FOCUS = "EVENT_FOCUS";
BI.EditorTrigger.EVENT_EMPTY = "EVENT_EMPTY";
BI.EditorTrigger.EVENT_VALID = "EVENT_VALID";
BI.EditorTrigger.EVENT_ERROR = "EVENT_ERROR";
BI.shortcut("bi.editor_trigger", BI.EditorTrigger);
/**
* 图标按钮trigger

2
dist/2.0/fineui.ie.js.map vendored

File diff suppressed because one or more lines are too long

46
dist/2.0/fineui.ie.min.js vendored

File diff suppressed because one or more lines are too long

2
dist/2.0/fineui.ie.min.js.map vendored

File diff suppressed because one or more lines are too long

35
dist/2.0/fineui.js vendored

@ -56745,8 +56745,21 @@ BI.EditorIconCheckCombo = BI.inherit(BI.Widget, {
});
this.trigger.on(BI.EditorTrigger.EVENT_CHANGE, function () {
self.popup.setValue(this.getValue());
self.fireEvent(BI.EditorIconCheckCombo.EVENT_CHANGE);
self.fireEvent(BI.EditorIconCheckCombo.EVENT_CHANGE, arguments);
});
this.trigger.on(BI.EditorTrigger.EVENT_FOCUS, function () {
self.fireEvent(BI.EditorIconCheckCombo.EVENT_FOCUS, arguments);
});
this.trigger.on(BI.EditorTrigger.EVENT_EMPTY, function () {
self.fireEvent(BI.EditorIconCheckCombo.EVENT_EMPTY, arguments);
});
this.trigger.on(BI.EditorTrigger.EVENT_VALID, function () {
self.fireEvent(BI.EditorIconCheckCombo.EVENT_VALID, arguments);
});
this.trigger.on(BI.EditorTrigger.EVENT_ERROR, function () {
self.fireEvent(BI.EditorIconCheckCombo.EVENT_ERROR, arguments);
});
this.popup = BI.createWidget({
type: "bi.text_value_check_combo_popup",
chooseType: o.chooseType,
@ -56788,6 +56801,10 @@ BI.EditorIconCheckCombo = BI.inherit(BI.Widget, {
}
});
BI.EditorIconCheckCombo.EVENT_CHANGE = "EVENT_CHANGE";
BI.EditorIconCheckCombo.EVENT_FOCUS = "EVENT_FOCUS";
BI.EditorIconCheckCombo.EVENT_EMPTY = "EVENT_EMPTY";
BI.EditorIconCheckCombo.EVENT_VALID = "EVENT_VALID";
BI.EditorIconCheckCombo.EVENT_ERROR = "EVENT_ERROR";
BI.shortcut("bi.editor_icon_check_combo", BI.EditorIconCheckCombo);
/**
* Created by GUY on 2016/2/2.
@ -61906,6 +61923,18 @@ BI.EditorTrigger = BI.inherit(BI.Trigger, {
this.editor.on(BI.SignEditor.EVENT_CHANGE, function () {
self.fireEvent(BI.EditorTrigger.EVENT_CHANGE, arguments);
});
this.editor.on(BI.SignEditor.EVENT_FOCUS, function () {
self.fireEvent(BI.EditorTrigger.EVENT_FOCUS, arguments);
});
this.editor.on(BI.SignEditor.EVENT_EMPTY, function () {
self.fireEvent(BI.EditorTrigger.EVENT_EMPTY, arguments);
});
this.editor.on(BI.SignEditor.EVENT_VALID, function () {
self.fireEvent(BI.EditorTrigger.EVENT_VALID, arguments);
});
this.editor.on(BI.SignEditor.EVENT_ERROR, function () {
self.fireEvent(BI.EditorTrigger.EVENT_ERROR, arguments);
});
BI.createWidget({
element: this,
@ -61937,6 +61966,10 @@ BI.EditorTrigger = BI.inherit(BI.Trigger, {
}
});
BI.EditorTrigger.EVENT_CHANGE = "EVENT_CHANGE";
BI.EditorTrigger.EVENT_FOCUS = "EVENT_FOCUS";
BI.EditorTrigger.EVENT_EMPTY = "EVENT_EMPTY";
BI.EditorTrigger.EVENT_VALID = "EVENT_VALID";
BI.EditorTrigger.EVENT_ERROR = "EVENT_ERROR";
BI.shortcut("bi.editor_trigger", BI.EditorTrigger);
/**
* 图标按钮trigger

2
dist/2.0/fineui.js.map vendored

File diff suppressed because one or more lines are too long

2
dist/2.0/fineui.min.css vendored

File diff suppressed because one or more lines are too long

46
dist/2.0/fineui.min.js vendored

File diff suppressed because one or more lines are too long

2
dist/2.0/fineui.min.js.map vendored

File diff suppressed because one or more lines are too long

35
dist/bundle.ie.js vendored

@ -56370,8 +56370,21 @@ BI.EditorIconCheckCombo = BI.inherit(BI.Widget, {
});
this.trigger.on(BI.EditorTrigger.EVENT_CHANGE, function () {
self.popup.setValue(this.getValue());
self.fireEvent(BI.EditorIconCheckCombo.EVENT_CHANGE);
self.fireEvent(BI.EditorIconCheckCombo.EVENT_CHANGE, arguments);
});
this.trigger.on(BI.EditorTrigger.EVENT_FOCUS, function () {
self.fireEvent(BI.EditorIconCheckCombo.EVENT_FOCUS, arguments);
});
this.trigger.on(BI.EditorTrigger.EVENT_EMPTY, function () {
self.fireEvent(BI.EditorIconCheckCombo.EVENT_EMPTY, arguments);
});
this.trigger.on(BI.EditorTrigger.EVENT_VALID, function () {
self.fireEvent(BI.EditorIconCheckCombo.EVENT_VALID, arguments);
});
this.trigger.on(BI.EditorTrigger.EVENT_ERROR, function () {
self.fireEvent(BI.EditorIconCheckCombo.EVENT_ERROR, arguments);
});
this.popup = BI.createWidget({
type: "bi.text_value_check_combo_popup",
chooseType: o.chooseType,
@ -56413,6 +56426,10 @@ BI.EditorIconCheckCombo = BI.inherit(BI.Widget, {
}
});
BI.EditorIconCheckCombo.EVENT_CHANGE = "EVENT_CHANGE";
BI.EditorIconCheckCombo.EVENT_FOCUS = "EVENT_FOCUS";
BI.EditorIconCheckCombo.EVENT_EMPTY = "EVENT_EMPTY";
BI.EditorIconCheckCombo.EVENT_VALID = "EVENT_VALID";
BI.EditorIconCheckCombo.EVENT_ERROR = "EVENT_ERROR";
BI.shortcut("bi.editor_icon_check_combo", BI.EditorIconCheckCombo);
/**
* Created by GUY on 2016/2/2.
@ -61531,6 +61548,18 @@ BI.EditorTrigger = BI.inherit(BI.Trigger, {
this.editor.on(BI.SignEditor.EVENT_CHANGE, function () {
self.fireEvent(BI.EditorTrigger.EVENT_CHANGE, arguments);
});
this.editor.on(BI.SignEditor.EVENT_FOCUS, function () {
self.fireEvent(BI.EditorTrigger.EVENT_FOCUS, arguments);
});
this.editor.on(BI.SignEditor.EVENT_EMPTY, function () {
self.fireEvent(BI.EditorTrigger.EVENT_EMPTY, arguments);
});
this.editor.on(BI.SignEditor.EVENT_VALID, function () {
self.fireEvent(BI.EditorTrigger.EVENT_VALID, arguments);
});
this.editor.on(BI.SignEditor.EVENT_ERROR, function () {
self.fireEvent(BI.EditorTrigger.EVENT_ERROR, arguments);
});
BI.createWidget({
element: this,
@ -61562,6 +61591,10 @@ BI.EditorTrigger = BI.inherit(BI.Trigger, {
}
});
BI.EditorTrigger.EVENT_CHANGE = "EVENT_CHANGE";
BI.EditorTrigger.EVENT_FOCUS = "EVENT_FOCUS";
BI.EditorTrigger.EVENT_EMPTY = "EVENT_EMPTY";
BI.EditorTrigger.EVENT_VALID = "EVENT_VALID";
BI.EditorTrigger.EVENT_ERROR = "EVENT_ERROR";
BI.shortcut("bi.editor_trigger", BI.EditorTrigger);
/**
* 图标按钮trigger

2
dist/bundle.ie.js.map vendored

File diff suppressed because one or more lines are too long

46
dist/bundle.ie.min.js vendored

File diff suppressed because one or more lines are too long

2
dist/bundle.ie.min.js.map vendored

File diff suppressed because one or more lines are too long

35
dist/bundle.js vendored

@ -56745,8 +56745,21 @@ BI.EditorIconCheckCombo = BI.inherit(BI.Widget, {
});
this.trigger.on(BI.EditorTrigger.EVENT_CHANGE, function () {
self.popup.setValue(this.getValue());
self.fireEvent(BI.EditorIconCheckCombo.EVENT_CHANGE);
self.fireEvent(BI.EditorIconCheckCombo.EVENT_CHANGE, arguments);
});
this.trigger.on(BI.EditorTrigger.EVENT_FOCUS, function () {
self.fireEvent(BI.EditorIconCheckCombo.EVENT_FOCUS, arguments);
});
this.trigger.on(BI.EditorTrigger.EVENT_EMPTY, function () {
self.fireEvent(BI.EditorIconCheckCombo.EVENT_EMPTY, arguments);
});
this.trigger.on(BI.EditorTrigger.EVENT_VALID, function () {
self.fireEvent(BI.EditorIconCheckCombo.EVENT_VALID, arguments);
});
this.trigger.on(BI.EditorTrigger.EVENT_ERROR, function () {
self.fireEvent(BI.EditorIconCheckCombo.EVENT_ERROR, arguments);
});
this.popup = BI.createWidget({
type: "bi.text_value_check_combo_popup",
chooseType: o.chooseType,
@ -56788,6 +56801,10 @@ BI.EditorIconCheckCombo = BI.inherit(BI.Widget, {
}
});
BI.EditorIconCheckCombo.EVENT_CHANGE = "EVENT_CHANGE";
BI.EditorIconCheckCombo.EVENT_FOCUS = "EVENT_FOCUS";
BI.EditorIconCheckCombo.EVENT_EMPTY = "EVENT_EMPTY";
BI.EditorIconCheckCombo.EVENT_VALID = "EVENT_VALID";
BI.EditorIconCheckCombo.EVENT_ERROR = "EVENT_ERROR";
BI.shortcut("bi.editor_icon_check_combo", BI.EditorIconCheckCombo);
/**
* Created by GUY on 2016/2/2.
@ -61906,6 +61923,18 @@ BI.EditorTrigger = BI.inherit(BI.Trigger, {
this.editor.on(BI.SignEditor.EVENT_CHANGE, function () {
self.fireEvent(BI.EditorTrigger.EVENT_CHANGE, arguments);
});
this.editor.on(BI.SignEditor.EVENT_FOCUS, function () {
self.fireEvent(BI.EditorTrigger.EVENT_FOCUS, arguments);
});
this.editor.on(BI.SignEditor.EVENT_EMPTY, function () {
self.fireEvent(BI.EditorTrigger.EVENT_EMPTY, arguments);
});
this.editor.on(BI.SignEditor.EVENT_VALID, function () {
self.fireEvent(BI.EditorTrigger.EVENT_VALID, arguments);
});
this.editor.on(BI.SignEditor.EVENT_ERROR, function () {
self.fireEvent(BI.EditorTrigger.EVENT_ERROR, arguments);
});
BI.createWidget({
element: this,
@ -61937,6 +61966,10 @@ BI.EditorTrigger = BI.inherit(BI.Trigger, {
}
});
BI.EditorTrigger.EVENT_CHANGE = "EVENT_CHANGE";
BI.EditorTrigger.EVENT_FOCUS = "EVENT_FOCUS";
BI.EditorTrigger.EVENT_EMPTY = "EVENT_EMPTY";
BI.EditorTrigger.EVENT_VALID = "EVENT_VALID";
BI.EditorTrigger.EVENT_ERROR = "EVENT_ERROR";
BI.shortcut("bi.editor_trigger", BI.EditorTrigger);
/**
* 图标按钮trigger

2
dist/bundle.js.map vendored

File diff suppressed because one or more lines are too long

2
dist/bundle.min.css vendored

File diff suppressed because one or more lines are too long

46
dist/bundle.min.js vendored

File diff suppressed because one or more lines are too long

2
dist/bundle.min.js.map vendored

File diff suppressed because one or more lines are too long

35
dist/case.js vendored

@ -4158,8 +4158,21 @@ BI.EditorIconCheckCombo = BI.inherit(BI.Widget, {
});
this.trigger.on(BI.EditorTrigger.EVENT_CHANGE, function () {
self.popup.setValue(this.getValue());
self.fireEvent(BI.EditorIconCheckCombo.EVENT_CHANGE);
self.fireEvent(BI.EditorIconCheckCombo.EVENT_CHANGE, arguments);
});
this.trigger.on(BI.EditorTrigger.EVENT_FOCUS, function () {
self.fireEvent(BI.EditorIconCheckCombo.EVENT_FOCUS, arguments);
});
this.trigger.on(BI.EditorTrigger.EVENT_EMPTY, function () {
self.fireEvent(BI.EditorIconCheckCombo.EVENT_EMPTY, arguments);
});
this.trigger.on(BI.EditorTrigger.EVENT_VALID, function () {
self.fireEvent(BI.EditorIconCheckCombo.EVENT_VALID, arguments);
});
this.trigger.on(BI.EditorTrigger.EVENT_ERROR, function () {
self.fireEvent(BI.EditorIconCheckCombo.EVENT_ERROR, arguments);
});
this.popup = BI.createWidget({
type: "bi.text_value_check_combo_popup",
chooseType: o.chooseType,
@ -4201,6 +4214,10 @@ BI.EditorIconCheckCombo = BI.inherit(BI.Widget, {
}
});
BI.EditorIconCheckCombo.EVENT_CHANGE = "EVENT_CHANGE";
BI.EditorIconCheckCombo.EVENT_FOCUS = "EVENT_FOCUS";
BI.EditorIconCheckCombo.EVENT_EMPTY = "EVENT_EMPTY";
BI.EditorIconCheckCombo.EVENT_VALID = "EVENT_VALID";
BI.EditorIconCheckCombo.EVENT_ERROR = "EVENT_ERROR";
BI.shortcut("bi.editor_icon_check_combo", BI.EditorIconCheckCombo);
/**
* Created by GUY on 2016/2/2.
@ -9319,6 +9336,18 @@ BI.EditorTrigger = BI.inherit(BI.Trigger, {
this.editor.on(BI.SignEditor.EVENT_CHANGE, function () {
self.fireEvent(BI.EditorTrigger.EVENT_CHANGE, arguments);
});
this.editor.on(BI.SignEditor.EVENT_FOCUS, function () {
self.fireEvent(BI.EditorTrigger.EVENT_FOCUS, arguments);
});
this.editor.on(BI.SignEditor.EVENT_EMPTY, function () {
self.fireEvent(BI.EditorTrigger.EVENT_EMPTY, arguments);
});
this.editor.on(BI.SignEditor.EVENT_VALID, function () {
self.fireEvent(BI.EditorTrigger.EVENT_VALID, arguments);
});
this.editor.on(BI.SignEditor.EVENT_ERROR, function () {
self.fireEvent(BI.EditorTrigger.EVENT_ERROR, arguments);
});
BI.createWidget({
element: this,
@ -9350,6 +9379,10 @@ BI.EditorTrigger = BI.inherit(BI.Trigger, {
}
});
BI.EditorTrigger.EVENT_CHANGE = "EVENT_CHANGE";
BI.EditorTrigger.EVENT_FOCUS = "EVENT_FOCUS";
BI.EditorTrigger.EVENT_EMPTY = "EVENT_EMPTY";
BI.EditorTrigger.EVENT_VALID = "EVENT_VALID";
BI.EditorTrigger.EVENT_ERROR = "EVENT_ERROR";
BI.shortcut("bi.editor_trigger", BI.EditorTrigger);
/**
* 图标按钮trigger

2
dist/case.js.map vendored

File diff suppressed because one or more lines are too long

2
dist/es5.polyfill.js vendored

File diff suppressed because one or more lines are too long

2
dist/es5.polyfill.js.map vendored

File diff suppressed because one or more lines are too long

37
dist/fineui.ie.js vendored

File diff suppressed because one or more lines are too long

2
dist/fineui.ie.js.map vendored

File diff suppressed because one or more lines are too long

104
dist/fineui.ie.min.js vendored

File diff suppressed because one or more lines are too long

2
dist/fineui.ie.min.js.map vendored

File diff suppressed because one or more lines are too long

37
dist/fineui.js vendored

File diff suppressed because one or more lines are too long

2
dist/fineui.js.map vendored

File diff suppressed because one or more lines are too long

2
dist/fineui.min.css vendored

File diff suppressed because one or more lines are too long

107
dist/fineui.min.js vendored

File diff suppressed because one or more lines are too long

2
dist/fineui.min.js.map vendored

File diff suppressed because one or more lines are too long

35
dist/fineui_without_jquery_polyfill.js vendored

@ -39548,8 +39548,21 @@ BI.EditorIconCheckCombo = BI.inherit(BI.Widget, {
});
this.trigger.on(BI.EditorTrigger.EVENT_CHANGE, function () {
self.popup.setValue(this.getValue());
self.fireEvent(BI.EditorIconCheckCombo.EVENT_CHANGE);
self.fireEvent(BI.EditorIconCheckCombo.EVENT_CHANGE, arguments);
});
this.trigger.on(BI.EditorTrigger.EVENT_FOCUS, function () {
self.fireEvent(BI.EditorIconCheckCombo.EVENT_FOCUS, arguments);
});
this.trigger.on(BI.EditorTrigger.EVENT_EMPTY, function () {
self.fireEvent(BI.EditorIconCheckCombo.EVENT_EMPTY, arguments);
});
this.trigger.on(BI.EditorTrigger.EVENT_VALID, function () {
self.fireEvent(BI.EditorIconCheckCombo.EVENT_VALID, arguments);
});
this.trigger.on(BI.EditorTrigger.EVENT_ERROR, function () {
self.fireEvent(BI.EditorIconCheckCombo.EVENT_ERROR, arguments);
});
this.popup = BI.createWidget({
type: "bi.text_value_check_combo_popup",
chooseType: o.chooseType,
@ -39591,6 +39604,10 @@ BI.EditorIconCheckCombo = BI.inherit(BI.Widget, {
}
});
BI.EditorIconCheckCombo.EVENT_CHANGE = "EVENT_CHANGE";
BI.EditorIconCheckCombo.EVENT_FOCUS = "EVENT_FOCUS";
BI.EditorIconCheckCombo.EVENT_EMPTY = "EVENT_EMPTY";
BI.EditorIconCheckCombo.EVENT_VALID = "EVENT_VALID";
BI.EditorIconCheckCombo.EVENT_ERROR = "EVENT_ERROR";
BI.shortcut("bi.editor_icon_check_combo", BI.EditorIconCheckCombo);
/**
* Created by GUY on 2016/2/2.
@ -44433,6 +44450,18 @@ BI.EditorTrigger = BI.inherit(BI.Trigger, {
this.editor.on(BI.SignEditor.EVENT_CHANGE, function () {
self.fireEvent(BI.EditorTrigger.EVENT_CHANGE, arguments);
});
this.editor.on(BI.SignEditor.EVENT_FOCUS, function () {
self.fireEvent(BI.EditorTrigger.EVENT_FOCUS, arguments);
});
this.editor.on(BI.SignEditor.EVENT_EMPTY, function () {
self.fireEvent(BI.EditorTrigger.EVENT_EMPTY, arguments);
});
this.editor.on(BI.SignEditor.EVENT_VALID, function () {
self.fireEvent(BI.EditorTrigger.EVENT_VALID, arguments);
});
this.editor.on(BI.SignEditor.EVENT_ERROR, function () {
self.fireEvent(BI.EditorTrigger.EVENT_ERROR, arguments);
});
BI.createWidget({
element: this,
@ -44464,6 +44493,10 @@ BI.EditorTrigger = BI.inherit(BI.Trigger, {
}
});
BI.EditorTrigger.EVENT_CHANGE = "EVENT_CHANGE";
BI.EditorTrigger.EVENT_FOCUS = "EVENT_FOCUS";
BI.EditorTrigger.EVENT_EMPTY = "EVENT_EMPTY";
BI.EditorTrigger.EVENT_VALID = "EVENT_VALID";
BI.EditorTrigger.EVENT_ERROR = "EVENT_ERROR";
BI.shortcut("bi.editor_trigger", BI.EditorTrigger);
/**
* 图标按钮trigger

2
dist/fineui_without_jquery_polyfill.js.map vendored

File diff suppressed because one or more lines are too long

2
dist/ie.polyfill.js vendored

File diff suppressed because one or more lines are too long

2
dist/ie.polyfill.js.map vendored

File diff suppressed because one or more lines are too long

2
dist/utils.min.js vendored

File diff suppressed because one or more lines are too long

19
src/case/combo/editoriconcheckcombo/combo.editiconcheck.js

@ -32,8 +32,21 @@ BI.EditorIconCheckCombo = BI.inherit(BI.Widget, {
});
this.trigger.on(BI.EditorTrigger.EVENT_CHANGE, function () {
self.popup.setValue(this.getValue());
self.fireEvent(BI.EditorIconCheckCombo.EVENT_CHANGE);
self.fireEvent(BI.EditorIconCheckCombo.EVENT_CHANGE, arguments);
});
this.trigger.on(BI.EditorTrigger.EVENT_FOCUS, function () {
self.fireEvent(BI.EditorIconCheckCombo.EVENT_FOCUS, arguments);
});
this.trigger.on(BI.EditorTrigger.EVENT_EMPTY, function () {
self.fireEvent(BI.EditorIconCheckCombo.EVENT_EMPTY, arguments);
});
this.trigger.on(BI.EditorTrigger.EVENT_VALID, function () {
self.fireEvent(BI.EditorIconCheckCombo.EVENT_VALID, arguments);
});
this.trigger.on(BI.EditorTrigger.EVENT_ERROR, function () {
self.fireEvent(BI.EditorIconCheckCombo.EVENT_ERROR, arguments);
});
this.popup = BI.createWidget({
type: "bi.text_value_check_combo_popup",
chooseType: o.chooseType,
@ -75,4 +88,8 @@ BI.EditorIconCheckCombo = BI.inherit(BI.Widget, {
}
});
BI.EditorIconCheckCombo.EVENT_CHANGE = "EVENT_CHANGE";
BI.EditorIconCheckCombo.EVENT_FOCUS = "EVENT_FOCUS";
BI.EditorIconCheckCombo.EVENT_EMPTY = "EVENT_EMPTY";
BI.EditorIconCheckCombo.EVENT_VALID = "EVENT_VALID";
BI.EditorIconCheckCombo.EVENT_ERROR = "EVENT_ERROR";
BI.shortcut("bi.editor_icon_check_combo", BI.EditorIconCheckCombo);

16
src/case/trigger/trigger.editor.js

@ -46,6 +46,18 @@ BI.EditorTrigger = BI.inherit(BI.Trigger, {
this.editor.on(BI.SignEditor.EVENT_CHANGE, function () {
self.fireEvent(BI.EditorTrigger.EVENT_CHANGE, arguments);
});
this.editor.on(BI.SignEditor.EVENT_FOCUS, function () {
self.fireEvent(BI.EditorTrigger.EVENT_FOCUS, arguments);
});
this.editor.on(BI.SignEditor.EVENT_EMPTY, function () {
self.fireEvent(BI.EditorTrigger.EVENT_EMPTY, arguments);
});
this.editor.on(BI.SignEditor.EVENT_VALID, function () {
self.fireEvent(BI.EditorTrigger.EVENT_VALID, arguments);
});
this.editor.on(BI.SignEditor.EVENT_ERROR, function () {
self.fireEvent(BI.EditorTrigger.EVENT_ERROR, arguments);
});
BI.createWidget({
element: this,
@ -77,4 +89,8 @@ BI.EditorTrigger = BI.inherit(BI.Trigger, {
}
});
BI.EditorTrigger.EVENT_CHANGE = "EVENT_CHANGE";
BI.EditorTrigger.EVENT_FOCUS = "EVENT_FOCUS";
BI.EditorTrigger.EVENT_EMPTY = "EVENT_EMPTY";
BI.EditorTrigger.EVENT_VALID = "EVENT_VALID";
BI.EditorTrigger.EVENT_ERROR = "EVENT_ERROR";
BI.shortcut("bi.editor_trigger", BI.EditorTrigger);

Loading…
Cancel
Save