@ -298,6 +298,22 @@ BI.DynamicDateCombo = BI.inherit(BI.Single, {
},
hidePopupView: function () {
this.combo.hideView();
hideView: function () {
focus: function () {
this.trigger.focus();
blur: function () {
this.trigger.blur();
setWaterMark: function (v) {
this.trigger.setWaterMark(v);
}
});
@ -308,8 +308,19 @@ BI.DynamicDateTrigger = BI.inherit(BI.Trigger, {
getValue: function () {
return this.storeValue;
this.editor.focus();
this.editor.blur();
this.editor.setWaterMark(v);
BI.DynamicDateTrigger.EVENT_BLUR = "EVENT_BLUR";
@ -306,6 +306,22 @@ BI.DynamicDateTimeCombo = BI.inherit(BI.Single, {
isValid: function () {
return this.trigger.isValid();
@ -379,8 +379,19 @@ BI.DynamicDateTimeTrigger = BI.inherit(BI.Trigger, {
return this.editor.isValid();
BI.DynamicDateTimeTrigger.EVENT_BLUR = "EVENT_BLUR";
@ -222,6 +222,22 @@
this.setValue(nowTome);
this.hidePopupView();
this.fireEvent(BI.TimeCombo.EVENT_CONFIRM);
@ -180,8 +180,19 @@
BI.shortcut("bi.time_trigger", BI.TimeTrigger);
})();
@ -36,6 +36,14 @@ export declare class DynamicDateCombo extends Single {
hidePopupView(): void;
getValue(): DynamicDataComboValue;
hideView(): void;
focus(): void;
blur(): void;
setWaterMark(v: string): void;
export interface DynamicDataComboValue {
@ -32,4 +32,12 @@ export declare class DynamicDateTimeCombo extends Single {
getKey(): string;
seWaterMark(v: string): void;
@ -10,4 +10,12 @@ export declare class TimeCombo extends Single {
static EVENT_BEFORE_POPUPVIEW: string;