|
|
|
@ -95060,8 +95060,7 @@ BI.shortcut("bi.month_popup", BI.MonthPopup);/**
|
|
|
|
|
BI.MonthTrigger = BI.inherit(BI.Trigger, { |
|
|
|
|
_const: { |
|
|
|
|
hgap: 4, |
|
|
|
|
vgap: 2, |
|
|
|
|
errorText: BI.i18nText("BI-Month_Trigger_Error_Text") |
|
|
|
|
vgap: 2 |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
_defaultConfig: function () { |
|
|
|
@ -95085,7 +95084,7 @@ BI.MonthTrigger = BI.inherit(BI.Trigger, {
|
|
|
|
|
hgap: c.hgap, |
|
|
|
|
vgap: c.vgap, |
|
|
|
|
allowBlank: true, |
|
|
|
|
errorText: c.errorText |
|
|
|
|
errorText: BI.i18nText("BI-Month_Trigger_Error_Text") |
|
|
|
|
}); |
|
|
|
|
this.editor.on(BI.SignEditor.EVENT_FOCUS, function () { |
|
|
|
|
self.fireEvent(BI.MonthTrigger.EVENT_FOCUS); |
|
|
|
@ -100405,10 +100404,6 @@ BI.shortcut("bi.multi_tree_search_pane", BI.MultiTreeSearchPane);/**
|
|
|
|
|
*/ |
|
|
|
|
BI.MultiTreeCheckSelectedButton = BI.inherit(BI.Single, { |
|
|
|
|
|
|
|
|
|
_const: { |
|
|
|
|
checkSelected: BI.i18nText("BI-Check_Selected") |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
_defaultConfig: function () { |
|
|
|
|
return BI.extend(BI.MultiTreeCheckSelectedButton.superclass._defaultConfig.apply(this, arguments), { |
|
|
|
|
baseCls: "bi-multi-tree-check-selected-button", |
|
|
|
@ -100432,7 +100427,7 @@ BI.MultiTreeCheckSelectedButton = BI.inherit(BI.Single, {
|
|
|
|
|
cls: "trigger-check-selected", |
|
|
|
|
invisible: true, |
|
|
|
|
hgap: 4, |
|
|
|
|
text: this._const.checkSelected, |
|
|
|
|
text: BI.i18nText("BI-Check_Selected"), |
|
|
|
|
textAlign: "center", |
|
|
|
|
textHeight: 15 |
|
|
|
|
}); |
|
|
|
@ -102030,8 +102025,7 @@ BI.QuarterTrigger = BI.inherit(BI.Trigger, {
|
|
|
|
|
_const: { |
|
|
|
|
hgap: 4, |
|
|
|
|
vgap: 2, |
|
|
|
|
textWidth: 40, |
|
|
|
|
errorText: BI.i18nText("BI-Quarter_Trigger_Error_Text") |
|
|
|
|
textWidth: 40 |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
_defaultConfig: function () { |
|
|
|
@ -102055,7 +102049,7 @@ BI.QuarterTrigger = BI.inherit(BI.Trigger, {
|
|
|
|
|
hgap: c.hgap, |
|
|
|
|
vgap: c.vgap, |
|
|
|
|
allowBlank: true, |
|
|
|
|
errorText: c.errorText |
|
|
|
|
errorText: BI.i18nText("BI-Quarter_Trigger_Error_Text") |
|
|
|
|
}); |
|
|
|
|
this.editor.on(BI.SignEditor.EVENT_FOCUS, function () { |
|
|
|
|
self.fireEvent(BI.QuarterTrigger.EVENT_FOCUS); |
|
|
|
@ -104971,10 +104965,6 @@ BI.shortcut("bi.single_select_insert_list", BI.SingleSelectInsertList);
|
|
|
|
|
*/ |
|
|
|
|
BI.SingleSelectEditor = BI.inherit(BI.Widget, { |
|
|
|
|
|
|
|
|
|
_const: { |
|
|
|
|
checkSelected: BI.i18nText("BI-Check_Selected") |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
_defaultConfig: function () { |
|
|
|
|
return BI.extend(BI.SingleSelectEditor.superclass._defaultConfig.apply(this, arguments), { |
|
|
|
|
baseCls: "bi-single-select-editor", |
|
|
|
@ -105028,7 +105018,7 @@ BI.SingleSelectEditor = BI.inherit(BI.Widget, {
|
|
|
|
|
return v[v.length - 1]; |
|
|
|
|
} |
|
|
|
|
return ""; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
getKeywords: function () { |
|
|
|
@ -108466,9 +108456,7 @@ BI.DynamicYearPopup.EVENT_CHANGE = "EVENT_CHANGE";
|
|
|
|
|
BI.shortcut("bi.dynamic_year_popup", BI.DynamicYearPopup);BI.DynamicYearTrigger = BI.inherit(BI.Trigger, { |
|
|
|
|
_const: { |
|
|
|
|
hgap: 4, |
|
|
|
|
vgap: 2, |
|
|
|
|
errorText: BI.i18nText("BI-Please_Input_Positive_Integer"), |
|
|
|
|
errorTextInvalid: BI.i18nText("BI-Year_Trigger_Invalid_Text") |
|
|
|
|
vgap: 2 |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
_defaultConfig: function () { |
|
|
|
@ -108496,7 +108484,7 @@ BI.shortcut("bi.dynamic_year_popup", BI.DynamicYearPopup);BI.DynamicYearTrigger
|
|
|
|
|
watermark: BI.i18nText("BI-Basic_Unrestricted"), |
|
|
|
|
allowBlank: true, |
|
|
|
|
errorText: function (v) { |
|
|
|
|
return !BI.isPositiveInteger(v) ? c.errorText : c.errorTextInvalid; |
|
|
|
|
return !BI.isPositiveInteger(v) ? BI.i18nText("BI-Please_Input_Positive_Integer") : BI.i18nText("BI-Year_Trigger_Invalid_Text"); |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
this.editor.on(BI.SignEditor.EVENT_FOCUS, function () { |
|
|
|
@ -108570,7 +108558,7 @@ BI.shortcut("bi.dynamic_year_popup", BI.DynamicYearPopup);BI.DynamicYearTrigger
|
|
|
|
|
this.editor.setValue(dateStr); |
|
|
|
|
this.setTitle(BI.isEmptyString(text) ? dateStr : (text + ":" + dateStr)); |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
setValue: function (v) { |
|
|
|
|
var type, value; |
|
|
|
|
var date = BI.getDate(); |
|
|
|
@ -109175,9 +109163,7 @@ BI.DynamicYearMonthPopup.EVENT_CHANGE = "EVENT_CHANGE";
|
|
|
|
|
BI.shortcut("bi.dynamic_year_month_popup", BI.DynamicYearMonthPopup);BI.DynamicYearMonthTrigger = BI.inherit(BI.Trigger, { |
|
|
|
|
_const: { |
|
|
|
|
hgap: 4, |
|
|
|
|
vgap: 2, |
|
|
|
|
errorText: BI.i18nText("BI-Please_Input_Positive_Integer"), |
|
|
|
|
errorTextInvalid: BI.i18nText("BI-Year_Trigger_Invalid_Text") |
|
|
|
|
vgap: 2 |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
props: { |
|
|
|
@ -109246,7 +109232,7 @@ BI.shortcut("bi.dynamic_year_month_popup", BI.DynamicYearMonthPopup);BI.DynamicY
|
|
|
|
|
}, |
|
|
|
|
watermark: BI.i18nText("BI-Basic_Unrestricted"), |
|
|
|
|
errorText: function (v) { |
|
|
|
|
return !BI.isPositiveInteger(v) ? c.errorText : c.errorTextInvalid; |
|
|
|
|
return !BI.isPositiveInteger(v) ? BI.i18nText("BI-Please_Input_Positive_Integer") : BI.i18nText("BI-Year_Trigger_Invalid_Text"); |
|
|
|
|
}, |
|
|
|
|
hgap: c.hgap, |
|
|
|
|
vgap: c.vgap, |
|
|
|
@ -110098,9 +110084,7 @@ BI.DynamicYearQuarterPopup.EVENT_CHANGE = "EVENT_CHANGE";
|
|
|
|
|
BI.shortcut("bi.dynamic_year_quarter_popup", BI.DynamicYearQuarterPopup);BI.DynamicYearQuarterTrigger = BI.inherit(BI.Trigger, { |
|
|
|
|
_const: { |
|
|
|
|
hgap: 4, |
|
|
|
|
vgap: 2, |
|
|
|
|
errorText: BI.i18nText("BI-Please_Input_Positive_Integer"), |
|
|
|
|
errorTextInvalid: BI.i18nText("BI-Year_Trigger_Invalid_Text") |
|
|
|
|
vgap: 2 |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
props: { |
|
|
|
@ -110168,7 +110152,7 @@ BI.shortcut("bi.dynamic_year_quarter_popup", BI.DynamicYearQuarterPopup);BI.Dyna
|
|
|
|
|
return false; |
|
|
|
|
}, |
|
|
|
|
errorText: function (v) { |
|
|
|
|
return !BI.isPositiveInteger(v) ? c.errorText : c.errorTextInvalid; |
|
|
|
|
return !BI.isPositiveInteger(v) ? BI.i18nText("BI-Please_Input_Positive_Integer") : BI.i18nText("BI-Year_Trigger_Invalid_Text"); |
|
|
|
|
}, |
|
|
|
|
watermark: BI.i18nText("BI-Basic_Unrestricted"), |
|
|
|
|
hgap: c.hgap, |
|
|
|
|