Browse Source

fix: 清空应该触发CONFIRM事件

es6
qcc 6 years ago
parent
commit
89389d3350
  1. 3
      dist/bundle.ie.js
  2. 3
      dist/bundle.js
  3. 3
      dist/fineui.ie.js
  4. 3
      dist/fineui.js
  5. 3
      dist/fineui_without_jquery_polyfill.js
  6. 3
      dist/widget.js
  7. 3
      src/widget/time/time.combo.js

3
dist/bundle.ie.js vendored

@ -78606,7 +78606,7 @@ BI.shortcut("bi.single_tree_trigger", BI.SingleTreeTrigger);!(function () {
action: function () { action: function () {
self.setValue(); self.setValue();
self.hidePopupView(); self.hidePopupView();
self.fireEvent(BI.TimeCombo.EVENT_CANCEL); self.fireEvent(BI.TimeCombo.EVENT_CONFIRM);
} }
}, { }, {
eventName: BI.TimePopup.BUTTON_OK_EVENT_CHANGE, eventName: BI.TimePopup.BUTTON_OK_EVENT_CHANGE,
@ -78719,7 +78719,6 @@ BI.shortcut("bi.single_tree_trigger", BI.SingleTreeTrigger);!(function () {
} }
}); });
BI.TimeCombo.EVENT_CANCEL = "EVENT_CANCEL";
BI.TimeCombo.EVENT_CONFIRM = "EVENT_CONFIRM"; BI.TimeCombo.EVENT_CONFIRM = "EVENT_CONFIRM";
BI.TimeCombo.EVENT_CHANGE = "EVENT_CHANGE"; BI.TimeCombo.EVENT_CHANGE = "EVENT_CHANGE";
BI.TimeCombo.EVENT_BEFORE_POPUPVIEW = "EVENT_BEFORE_POPUPVIEW"; BI.TimeCombo.EVENT_BEFORE_POPUPVIEW = "EVENT_BEFORE_POPUPVIEW";

3
dist/bundle.js vendored

@ -79010,7 +79010,7 @@ BI.shortcut("bi.single_tree_trigger", BI.SingleTreeTrigger);!(function () {
action: function () { action: function () {
self.setValue(); self.setValue();
self.hidePopupView(); self.hidePopupView();
self.fireEvent(BI.TimeCombo.EVENT_CANCEL); self.fireEvent(BI.TimeCombo.EVENT_CONFIRM);
} }
}, { }, {
eventName: BI.TimePopup.BUTTON_OK_EVENT_CHANGE, eventName: BI.TimePopup.BUTTON_OK_EVENT_CHANGE,
@ -79123,7 +79123,6 @@ BI.shortcut("bi.single_tree_trigger", BI.SingleTreeTrigger);!(function () {
} }
}); });
BI.TimeCombo.EVENT_CANCEL = "EVENT_CANCEL";
BI.TimeCombo.EVENT_CONFIRM = "EVENT_CONFIRM"; BI.TimeCombo.EVENT_CONFIRM = "EVENT_CONFIRM";
BI.TimeCombo.EVENT_CHANGE = "EVENT_CHANGE"; BI.TimeCombo.EVENT_CHANGE = "EVENT_CHANGE";
BI.TimeCombo.EVENT_BEFORE_POPUPVIEW = "EVENT_BEFORE_POPUPVIEW"; BI.TimeCombo.EVENT_BEFORE_POPUPVIEW = "EVENT_BEFORE_POPUPVIEW";

3
dist/fineui.ie.js vendored

@ -78851,7 +78851,7 @@ BI.shortcut("bi.single_tree_trigger", BI.SingleTreeTrigger);!(function () {
action: function () { action: function () {
self.setValue(); self.setValue();
self.hidePopupView(); self.hidePopupView();
self.fireEvent(BI.TimeCombo.EVENT_CANCEL); self.fireEvent(BI.TimeCombo.EVENT_CONFIRM);
} }
}, { }, {
eventName: BI.TimePopup.BUTTON_OK_EVENT_CHANGE, eventName: BI.TimePopup.BUTTON_OK_EVENT_CHANGE,
@ -78964,7 +78964,6 @@ BI.shortcut("bi.single_tree_trigger", BI.SingleTreeTrigger);!(function () {
} }
}); });
BI.TimeCombo.EVENT_CANCEL = "EVENT_CANCEL";
BI.TimeCombo.EVENT_CONFIRM = "EVENT_CONFIRM"; BI.TimeCombo.EVENT_CONFIRM = "EVENT_CONFIRM";
BI.TimeCombo.EVENT_CHANGE = "EVENT_CHANGE"; BI.TimeCombo.EVENT_CHANGE = "EVENT_CHANGE";
BI.TimeCombo.EVENT_BEFORE_POPUPVIEW = "EVENT_BEFORE_POPUPVIEW"; BI.TimeCombo.EVENT_BEFORE_POPUPVIEW = "EVENT_BEFORE_POPUPVIEW";

3
dist/fineui.js vendored

@ -79255,7 +79255,7 @@ BI.shortcut("bi.single_tree_trigger", BI.SingleTreeTrigger);!(function () {
action: function () { action: function () {
self.setValue(); self.setValue();
self.hidePopupView(); self.hidePopupView();
self.fireEvent(BI.TimeCombo.EVENT_CANCEL); self.fireEvent(BI.TimeCombo.EVENT_CONFIRM);
} }
}, { }, {
eventName: BI.TimePopup.BUTTON_OK_EVENT_CHANGE, eventName: BI.TimePopup.BUTTON_OK_EVENT_CHANGE,
@ -79368,7 +79368,6 @@ BI.shortcut("bi.single_tree_trigger", BI.SingleTreeTrigger);!(function () {
} }
}); });
BI.TimeCombo.EVENT_CANCEL = "EVENT_CANCEL";
BI.TimeCombo.EVENT_CONFIRM = "EVENT_CONFIRM"; BI.TimeCombo.EVENT_CONFIRM = "EVENT_CONFIRM";
BI.TimeCombo.EVENT_CHANGE = "EVENT_CHANGE"; BI.TimeCombo.EVENT_CHANGE = "EVENT_CHANGE";
BI.TimeCombo.EVENT_BEFORE_POPUPVIEW = "EVENT_BEFORE_POPUPVIEW"; BI.TimeCombo.EVENT_BEFORE_POPUPVIEW = "EVENT_BEFORE_POPUPVIEW";

3
dist/fineui_without_jquery_polyfill.js vendored

@ -62029,7 +62029,7 @@ BI.shortcut("bi.single_tree_trigger", BI.SingleTreeTrigger);!(function () {
action: function () { action: function () {
self.setValue(); self.setValue();
self.hidePopupView(); self.hidePopupView();
self.fireEvent(BI.TimeCombo.EVENT_CANCEL); self.fireEvent(BI.TimeCombo.EVENT_CONFIRM);
} }
}, { }, {
eventName: BI.TimePopup.BUTTON_OK_EVENT_CHANGE, eventName: BI.TimePopup.BUTTON_OK_EVENT_CHANGE,
@ -62142,7 +62142,6 @@ BI.shortcut("bi.single_tree_trigger", BI.SingleTreeTrigger);!(function () {
} }
}); });
BI.TimeCombo.EVENT_CANCEL = "EVENT_CANCEL";
BI.TimeCombo.EVENT_CONFIRM = "EVENT_CONFIRM"; BI.TimeCombo.EVENT_CONFIRM = "EVENT_CONFIRM";
BI.TimeCombo.EVENT_CHANGE = "EVENT_CHANGE"; BI.TimeCombo.EVENT_CHANGE = "EVENT_CHANGE";
BI.TimeCombo.EVENT_BEFORE_POPUPVIEW = "EVENT_BEFORE_POPUPVIEW"; BI.TimeCombo.EVENT_BEFORE_POPUPVIEW = "EVENT_BEFORE_POPUPVIEW";

3
dist/widget.js vendored

@ -19377,7 +19377,7 @@ BI.shortcut("bi.single_tree_trigger", BI.SingleTreeTrigger);!(function () {
action: function () { action: function () {
self.setValue(); self.setValue();
self.hidePopupView(); self.hidePopupView();
self.fireEvent(BI.TimeCombo.EVENT_CANCEL); self.fireEvent(BI.TimeCombo.EVENT_CONFIRM);
} }
}, { }, {
eventName: BI.TimePopup.BUTTON_OK_EVENT_CHANGE, eventName: BI.TimePopup.BUTTON_OK_EVENT_CHANGE,
@ -19490,7 +19490,6 @@ BI.shortcut("bi.single_tree_trigger", BI.SingleTreeTrigger);!(function () {
} }
}); });
BI.TimeCombo.EVENT_CANCEL = "EVENT_CANCEL";
BI.TimeCombo.EVENT_CONFIRM = "EVENT_CONFIRM"; BI.TimeCombo.EVENT_CONFIRM = "EVENT_CONFIRM";
BI.TimeCombo.EVENT_CHANGE = "EVENT_CHANGE"; BI.TimeCombo.EVENT_CHANGE = "EVENT_CHANGE";
BI.TimeCombo.EVENT_BEFORE_POPUPVIEW = "EVENT_BEFORE_POPUPVIEW"; BI.TimeCombo.EVENT_BEFORE_POPUPVIEW = "EVENT_BEFORE_POPUPVIEW";

3
src/widget/time/time.combo.js

@ -31,7 +31,7 @@
action: function () { action: function () {
self.setValue(); self.setValue();
self.hidePopupView(); self.hidePopupView();
self.fireEvent(BI.TimeCombo.EVENT_CANCEL); self.fireEvent(BI.TimeCombo.EVENT_CONFIRM);
} }
}, { }, {
eventName: BI.TimePopup.BUTTON_OK_EVENT_CHANGE, eventName: BI.TimePopup.BUTTON_OK_EVENT_CHANGE,
@ -144,7 +144,6 @@
} }
}); });
BI.TimeCombo.EVENT_CANCEL = "EVENT_CANCEL";
BI.TimeCombo.EVENT_CONFIRM = "EVENT_CONFIRM"; BI.TimeCombo.EVENT_CONFIRM = "EVENT_CONFIRM";
BI.TimeCombo.EVENT_CHANGE = "EVENT_CHANGE"; BI.TimeCombo.EVENT_CHANGE = "EVENT_CHANGE";
BI.TimeCombo.EVENT_BEFORE_POPUPVIEW = "EVENT_BEFORE_POPUPVIEW"; BI.TimeCombo.EVENT_BEFORE_POPUPVIEW = "EVENT_BEFORE_POPUPVIEW";

Loading…
Cancel
Save