|
|
@ -89220,7 +89220,12 @@ BI.DateTimeSelect = BI.inherit(BI.Widget, { |
|
|
|
type: "bi.sign_editor", |
|
|
|
type: "bi.sign_editor", |
|
|
|
value: this._alertInEditorValue(o.min), |
|
|
|
value: this._alertInEditorValue(o.min), |
|
|
|
allowBlank: false, |
|
|
|
allowBlank: false, |
|
|
|
errorText: BI.i18nText("BI-Please_Input_Natural_Number"), |
|
|
|
errorText: function (v) { |
|
|
|
|
|
|
|
if(BI.isNumeric(v)) { |
|
|
|
|
|
|
|
return BI.i18nText("BI-Please_Input_Natural_Number"); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
return BI.i18nText("BI-Numerical_Interval_Input_Data"); |
|
|
|
|
|
|
|
}, |
|
|
|
validationChecker: function (v) { |
|
|
|
validationChecker: function (v) { |
|
|
|
return BI.isNaturalNumber(v); |
|
|
|
return BI.isNaturalNumber(v); |
|
|
|
} |
|
|
|
} |
|
|
@ -92040,8 +92045,11 @@ BI.shortcut("bi.dynamic_date_time_popup", BI.DynamicDateTimePopup);BI.DynamicDat |
|
|
|
validationChecker: function (v) { |
|
|
|
validationChecker: function (v) { |
|
|
|
return BI.isNaturalNumber(v) && BI.parseInt(v) < 24; |
|
|
|
return BI.isNaturalNumber(v) && BI.parseInt(v) < 24; |
|
|
|
}, |
|
|
|
}, |
|
|
|
errorText: function () { |
|
|
|
errorText: function (v) { |
|
|
|
|
|
|
|
if(BI.isNumeric(v)) { |
|
|
|
return BI.i18nText("BI-Basic_Input_From_To_Number", "\"00-23\""); |
|
|
|
return BI.i18nText("BI-Basic_Input_From_To_Number", "\"00-23\""); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
return BI.i18nText("BI-Numerical_Interval_Input_Data"); |
|
|
|
}, |
|
|
|
}, |
|
|
|
listeners: [{ |
|
|
|
listeners: [{ |
|
|
|
eventName: BI.SignEditor.EVENT_CONFIRM, |
|
|
|
eventName: BI.SignEditor.EVENT_CONFIRM, |
|
|
@ -92074,8 +92082,11 @@ BI.shortcut("bi.dynamic_date_time_popup", BI.DynamicDateTimePopup);BI.DynamicDat |
|
|
|
validationChecker: function (v) { |
|
|
|
validationChecker: function (v) { |
|
|
|
return BI.isNaturalNumber(v) && BI.parseInt(v) < 60; |
|
|
|
return BI.isNaturalNumber(v) && BI.parseInt(v) < 60; |
|
|
|
}, |
|
|
|
}, |
|
|
|
errorText: function () { |
|
|
|
errorText: function (v) { |
|
|
|
|
|
|
|
if(BI.isNumeric(v)) { |
|
|
|
return BI.i18nText("BI-Basic_Input_From_To_Number", "\"00-59\""); |
|
|
|
return BI.i18nText("BI-Basic_Input_From_To_Number", "\"00-59\""); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
return BI.i18nText("BI-Numerical_Interval_Input_Data"); |
|
|
|
}, |
|
|
|
}, |
|
|
|
listeners: [{ |
|
|
|
listeners: [{ |
|
|
|
eventName: BI.SignEditor.EVENT_CONFIRM, |
|
|
|
eventName: BI.SignEditor.EVENT_CONFIRM, |
|
|
@ -92106,8 +92117,11 @@ BI.shortcut("bi.dynamic_date_time_popup", BI.DynamicDateTimePopup);BI.DynamicDat |
|
|
|
validationChecker: function (v) { |
|
|
|
validationChecker: function (v) { |
|
|
|
return BI.isNaturalNumber(v) && BI.parseInt(v) < 60; |
|
|
|
return BI.isNaturalNumber(v) && BI.parseInt(v) < 60; |
|
|
|
}, |
|
|
|
}, |
|
|
|
errorText: function () { |
|
|
|
errorText: function (v) { |
|
|
|
|
|
|
|
if(BI.isNumeric(v)) { |
|
|
|
return BI.i18nText("BI-Basic_Input_From_To_Number", "\"00-59\""); |
|
|
|
return BI.i18nText("BI-Basic_Input_From_To_Number", "\"00-59\""); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
return BI.i18nText("BI-Numerical_Interval_Input_Data"); |
|
|
|
}, |
|
|
|
}, |
|
|
|
listeners: [{ |
|
|
|
listeners: [{ |
|
|
|
eventName: BI.SignEditor.EVENT_CONFIRM, |
|
|
|
eventName: BI.SignEditor.EVENT_CONFIRM, |
|
|
|