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