Browse Source

BI-17924 search_text_value_combo加个事件

es6
windy 7 years ago
parent
commit
78b00e9c1e
  1. 40
      dist/_fineui.min.js
  2. 6
      dist/bundle.js
  3. 40
      dist/bundle.min.js
  4. 6
      dist/case.js
  5. 40
      dist/fineui.min.js
  6. 6
      src/case/combo/searchtextvaluecombo/combo.searchtextvalue.js

40
dist/_fineui.min.js vendored

File diff suppressed because one or more lines are too long

6
dist/bundle.js vendored

@ -77667,6 +77667,11 @@ BI.SearchTextValueCombo = BI.inherit(BI.Widget, {
action: function () { action: function () {
self.trigger.stopEditing(); self.trigger.stopEditing();
} }
}, {
eventName: BI.Combo.EVENT_BEFORE_POPUPVIEW,
action: function () {
self.fireEvent(BI.SearchTextValueCombo.EVENT_BEFORE_POPUPVIEW);
}
}], }],
hideChecker: function (e) { hideChecker: function (e) {
return self.triggerBtn.element.find(e.target).length === 0; return self.triggerBtn.element.find(e.target).length === 0;
@ -77714,6 +77719,7 @@ BI.SearchTextValueCombo = BI.inherit(BI.Widget, {
} }
}); });
BI.SearchTextValueCombo.EVENT_CHANGE = "EVENT_CHANGE"; BI.SearchTextValueCombo.EVENT_CHANGE = "EVENT_CHANGE";
BI.SearchTextValueCombo.EVENT_BEFORE_POPUPVIEW = "EVENT_BEFORE_POPUPVIEW";
BI.shortcut("bi.search_text_value_combo", BI.SearchTextValueCombo);/** BI.shortcut("bi.search_text_value_combo", BI.SearchTextValueCombo);/**
* Created by Windy on 2018/2/5. * Created by Windy on 2018/2/5.
*/ */

40
dist/bundle.min.js vendored

File diff suppressed because one or more lines are too long

6
dist/case.js vendored

@ -5731,6 +5731,11 @@ BI.SearchTextValueCombo = BI.inherit(BI.Widget, {
action: function () { action: function () {
self.trigger.stopEditing(); self.trigger.stopEditing();
} }
}, {
eventName: BI.Combo.EVENT_BEFORE_POPUPVIEW,
action: function () {
self.fireEvent(BI.SearchTextValueCombo.EVENT_BEFORE_POPUPVIEW);
}
}], }],
hideChecker: function (e) { hideChecker: function (e) {
return self.triggerBtn.element.find(e.target).length === 0; return self.triggerBtn.element.find(e.target).length === 0;
@ -5778,6 +5783,7 @@ BI.SearchTextValueCombo = BI.inherit(BI.Widget, {
} }
}); });
BI.SearchTextValueCombo.EVENT_CHANGE = "EVENT_CHANGE"; BI.SearchTextValueCombo.EVENT_CHANGE = "EVENT_CHANGE";
BI.SearchTextValueCombo.EVENT_BEFORE_POPUPVIEW = "EVENT_BEFORE_POPUPVIEW";
BI.shortcut("bi.search_text_value_combo", BI.SearchTextValueCombo);/** BI.shortcut("bi.search_text_value_combo", BI.SearchTextValueCombo);/**
* Created by Windy on 2018/2/5. * Created by Windy on 2018/2/5.
*/ */

40
dist/fineui.min.js vendored

File diff suppressed because one or more lines are too long

6
src/case/combo/searchtextvaluecombo/combo.searchtextvalue.js

@ -66,6 +66,11 @@ BI.SearchTextValueCombo = BI.inherit(BI.Widget, {
action: function () { action: function () {
self.trigger.stopEditing(); self.trigger.stopEditing();
} }
}, {
eventName: BI.Combo.EVENT_BEFORE_POPUPVIEW,
action: function () {
self.fireEvent(BI.SearchTextValueCombo.EVENT_BEFORE_POPUPVIEW);
}
}], }],
hideChecker: function (e) { hideChecker: function (e) {
return self.triggerBtn.element.find(e.target).length === 0; return self.triggerBtn.element.find(e.target).length === 0;
@ -113,4 +118,5 @@ BI.SearchTextValueCombo = BI.inherit(BI.Widget, {
} }
}); });
BI.SearchTextValueCombo.EVENT_CHANGE = "EVENT_CHANGE"; BI.SearchTextValueCombo.EVENT_CHANGE = "EVENT_CHANGE";
BI.SearchTextValueCombo.EVENT_BEFORE_POPUPVIEW = "EVENT_BEFORE_POPUPVIEW";
BI.shortcut("bi.search_text_value_combo", BI.SearchTextValueCombo); BI.shortcut("bi.search_text_value_combo", BI.SearchTextValueCombo);
Loading…
Cancel
Save