|
|
@ -49860,6 +49860,9 @@ BI.FormulaEditor = BI.inherit(BI.Single, { |
|
|
|
bottom: 0 |
|
|
|
bottom: 0 |
|
|
|
}); |
|
|
|
}); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
if(BI.isNotNull(o.value)) { |
|
|
|
|
|
|
|
this.setValue(o.value); |
|
|
|
|
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
_checkWaterMark: function () { |
|
|
|
_checkWaterMark: function () { |
|
|
@ -77661,9 +77664,14 @@ BI.SearchTextValueCombo = BI.inherit(BI.Widget, { |
|
|
|
}, |
|
|
|
}, |
|
|
|
listeners: [{ |
|
|
|
listeners: [{ |
|
|
|
eventName: BI.Combo.EVENT_AFTER_HIDEVIEW, |
|
|
|
eventName: BI.Combo.EVENT_AFTER_HIDEVIEW, |
|
|
|
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; |
|
|
@ -77711,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. |
|
|
|
*/ |
|
|
|
*/ |
|
|
@ -89378,7 +89387,8 @@ BI.DownListPopup = BI.inherit(BI.Pane, { |
|
|
|
}, |
|
|
|
}, |
|
|
|
_createChildren: function (items) { |
|
|
|
_createChildren: function (items) { |
|
|
|
var self = this, result = []; |
|
|
|
var self = this, result = []; |
|
|
|
BI.each(items, function (i, it) { |
|
|
|
// 不能修改populate进来的item的引用
|
|
|
|
|
|
|
|
BI.each(BI.deepClone(items), function (i, it) { |
|
|
|
var item_done = { |
|
|
|
var item_done = { |
|
|
|
type: "bi.down_list_group", |
|
|
|
type: "bi.down_list_group", |
|
|
|
items: [] |
|
|
|
items: [] |
|
|
@ -91614,7 +91624,7 @@ BI.extend(BI.DynamicDateTimeSelect, { |
|
|
|
this.editor.setValue(""); |
|
|
|
this.editor.setValue(""); |
|
|
|
this.setTitle(""); |
|
|
|
this.setTitle(""); |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
var dateStr = BI.getDate(value.year, (value.month - 1), value.day, value.hour|| 0, value.minute || 0, |
|
|
|
var dateStr = BI.getDate(value.year, (value.month - 1), value.day, value.hour || 0, value.minute || 0, |
|
|
|
value.second || 0).print("%Y-%X-%d %H:%M:%S"); |
|
|
|
value.second || 0).print("%Y-%X-%d %H:%M:%S"); |
|
|
|
this.editor.setState(dateStr); |
|
|
|
this.editor.setState(dateStr); |
|
|
|
this.editor.setValue(dateStr); |
|
|
|
this.editor.setValue(dateStr); |
|
|
|