|
|
@ -78887,15 +78887,9 @@ BI.shortcut("bi.single_tree_trigger", BI.SingleTreeTrigger);!(function () { |
|
|
|
}; |
|
|
|
}; |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
setValue: function (v) { |
|
|
|
setValue: function (value) { |
|
|
|
var value = v; |
|
|
|
if (this._checkValueValid(value)) { |
|
|
|
if (BI.isNull(value)) { |
|
|
|
this.timeSelect.setValue(); |
|
|
|
var date = BI.getDate(); |
|
|
|
|
|
|
|
this.timeSelect.setValue({ |
|
|
|
|
|
|
|
hour: date.getHours(), |
|
|
|
|
|
|
|
minute: date.getMinutes(), |
|
|
|
|
|
|
|
second: date.getSeconds() |
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
} else { |
|
|
|
} else { |
|
|
|
this.timeSelect.setValue({ |
|
|
|
this.timeSelect.setValue({ |
|
|
|
hour: value.hour, |
|
|
|
hour: value.hour, |
|
|
@ -78907,6 +78901,10 @@ BI.shortcut("bi.single_tree_trigger", BI.SingleTreeTrigger);!(function () { |
|
|
|
|
|
|
|
|
|
|
|
getValue: function () { |
|
|
|
getValue: function () { |
|
|
|
return this.timeSelect.getValue(); |
|
|
|
return this.timeSelect.getValue(); |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
_checkValueValid: function (value) { |
|
|
|
|
|
|
|
return BI.isNull(value) || BI.isEmptyObject(value) || BI.isEmptyString(value); |
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
|
BI.TimePopup.BUTTON_OK_EVENT_CHANGE = "BUTTON_OK_EVENT_CHANGE"; |
|
|
|
BI.TimePopup.BUTTON_OK_EVENT_CHANGE = "BUTTON_OK_EVENT_CHANGE"; |
|
|
@ -79079,6 +79077,9 @@ BI.shortcut("bi.single_tree_trigger", BI.SingleTreeTrigger);!(function () { |
|
|
|
items: [{ |
|
|
|
items: [{ |
|
|
|
el: { |
|
|
|
el: { |
|
|
|
type: "bi.label", |
|
|
|
type: "bi.label", |
|
|
|
|
|
|
|
title: function () { |
|
|
|
|
|
|
|
return self.text.getText(); |
|
|
|
|
|
|
|
}, |
|
|
|
textAlign: "left", |
|
|
|
textAlign: "left", |
|
|
|
height: o.height, |
|
|
|
height: o.height, |
|
|
|
width: o.width, |
|
|
|
width: o.width, |
|
|
|