|
|
@ -66173,8 +66173,8 @@ BI.shortcut("bi.dynamic_date_time_popup", BI.DynamicDateTimePopup);BI.DynamicDat |
|
|
|
} |
|
|
|
} |
|
|
|
}, { |
|
|
|
}, { |
|
|
|
eventName: BI.SignEditor.EVENT_CHANGE, |
|
|
|
eventName: BI.SignEditor.EVENT_CHANGE, |
|
|
|
action: function (v) { |
|
|
|
action: function () { |
|
|
|
var value = self._autoSwitch(v, BI.DynamicDateTimeSelect.HOUR); |
|
|
|
var value = self._autoSwitch(this.getValue(), BI.DynamicDateTimeSelect.HOUR); |
|
|
|
this.setValue(value); |
|
|
|
this.setValue(value); |
|
|
|
} |
|
|
|
} |
|
|
|
}], |
|
|
|
}], |
|
|
@ -77562,11 +77562,12 @@ BI.NumberEditor = BI.inherit(BI.Widget, { |
|
|
|
errorText: o.errorText |
|
|
|
errorText: o.errorText |
|
|
|
}); |
|
|
|
}); |
|
|
|
this.editor.on(BI.TextEditor.EVENT_CHANGE, function () { |
|
|
|
this.editor.on(BI.TextEditor.EVENT_CHANGE, function () { |
|
|
|
self.fireEvent(BI.NumberEditor.EVENT_CHANGE, self.getLastChangedValue()); |
|
|
|
o.value = BI.parseFloat(this.getValue()); |
|
|
|
|
|
|
|
self.fireEvent(BI.NumberEditor.EVENT_CHANGE); |
|
|
|
}); |
|
|
|
}); |
|
|
|
this.editor.on(BI.TextEditor.EVENT_CONFIRM, function () { |
|
|
|
this.editor.on(BI.TextEditor.EVENT_CONFIRM, function () { |
|
|
|
o.value = BI.parseFloat(this.getValue()); |
|
|
|
o.value = BI.parseFloat(this.getValue()); |
|
|
|
self.fireEvent(BI.NumberEditor.EVENT_CONFIRM, self.getLastChangedValue()); |
|
|
|
self.fireEvent(BI.NumberEditor.EVENT_CONFIRM); |
|
|
|
}); |
|
|
|
}); |
|
|
|
this.topBtn = BI.createWidget({ |
|
|
|
this.topBtn = BI.createWidget({ |
|
|
|
type: "bi.icon_button", |
|
|
|
type: "bi.icon_button", |
|
|
@ -77576,8 +77577,8 @@ BI.NumberEditor = BI.inherit(BI.Widget, { |
|
|
|
}); |
|
|
|
}); |
|
|
|
this.topBtn.on(BI.IconButton.EVENT_CHANGE, function () { |
|
|
|
this.topBtn.on(BI.IconButton.EVENT_CHANGE, function () { |
|
|
|
self._finetuning(o.step); |
|
|
|
self._finetuning(o.step); |
|
|
|
self.fireEvent(BI.NumberEditor.EVENT_CHANGE, o.value); |
|
|
|
self.fireEvent(BI.NumberEditor.EVENT_CHANGE); |
|
|
|
self.fireEvent(BI.NumberEditor.EVENT_CONFIRM, o.value); |
|
|
|
self.fireEvent(BI.NumberEditor.EVENT_CONFIRM); |
|
|
|
}); |
|
|
|
}); |
|
|
|
this.bottomBtn = BI.createWidget({ |
|
|
|
this.bottomBtn = BI.createWidget({ |
|
|
|
type: "bi.icon_button", |
|
|
|
type: "bi.icon_button", |
|
|
@ -77587,8 +77588,8 @@ BI.NumberEditor = BI.inherit(BI.Widget, { |
|
|
|
}); |
|
|
|
}); |
|
|
|
this.bottomBtn.on(BI.IconButton.EVENT_CHANGE, function () { |
|
|
|
this.bottomBtn.on(BI.IconButton.EVENT_CHANGE, function () { |
|
|
|
self._finetuning(-o.step); |
|
|
|
self._finetuning(-o.step); |
|
|
|
self.fireEvent(BI.NumberEditor.EVENT_CHANGE, o.value); |
|
|
|
self.fireEvent(BI.NumberEditor.EVENT_CHANGE); |
|
|
|
self.fireEvent(BI.NumberEditor.EVENT_CONFIRM, o.value); |
|
|
|
self.fireEvent(BI.NumberEditor.EVENT_CONFIRM); |
|
|
|
}); |
|
|
|
}); |
|
|
|
BI.createWidget({ |
|
|
|
BI.createWidget({ |
|
|
|
type: "bi.htape", |
|
|
|
type: "bi.htape", |
|
|
|