|
|
|
@ -56476,17 +56476,16 @@ BI.Toast = BI.inherit(BI.Tip, {
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
var items = [{ |
|
|
|
|
type: "bi.center_adapt", |
|
|
|
|
type: "bi.icon_button", |
|
|
|
|
disableSelected: true, |
|
|
|
|
cls: cls + " toast-icon", |
|
|
|
|
items: [{ |
|
|
|
|
type: "bi.icon" |
|
|
|
|
}], |
|
|
|
|
width: 36 |
|
|
|
|
}, { |
|
|
|
|
el: { |
|
|
|
|
type: "bi.label", |
|
|
|
|
whiteSpace: "normal", |
|
|
|
|
text: o.text, |
|
|
|
|
textHeight: 16, |
|
|
|
|
textAlign: "left" |
|
|
|
|
}, |
|
|
|
|
rgap: o.autoClose ? this._const.hgap : 0 |
|
|
|
@ -56510,7 +56509,7 @@ BI.Toast = BI.inherit(BI.Tip, {
|
|
|
|
|
type: "bi.horizontal_adapt", |
|
|
|
|
element: this, |
|
|
|
|
items: items, |
|
|
|
|
vgap: 5, |
|
|
|
|
vgap: 7, |
|
|
|
|
columnSize: columnSize |
|
|
|
|
}); |
|
|
|
|
}, |
|
|
|
@ -78411,7 +78410,7 @@ BI.IconComboTrigger = BI.inherit(BI.Trigger, {
|
|
|
|
|
cls: "icon-combo-trigger-icon", |
|
|
|
|
iconCls: iconCls, |
|
|
|
|
disableSelected: true, |
|
|
|
|
width: o.isShowDown ? o.width - 2 : o.width, |
|
|
|
|
width: o.isShowDown ? o.width - 12 : o.width, |
|
|
|
|
height: o.height, |
|
|
|
|
iconWidth: o.iconWidth, |
|
|
|
|
iconHeight: o.iconHeight, |
|
|
|
@ -78420,7 +78419,7 @@ BI.IconComboTrigger = BI.inherit(BI.Trigger, {
|
|
|
|
|
this.down = BI.createWidget({ |
|
|
|
|
type: "bi.icon_button", |
|
|
|
|
disableSelected: true, |
|
|
|
|
cls: "icon-combo-down-icon trigger-triangle-font", |
|
|
|
|
cls: "icon-combo-down-icon trigger-triangle-font font-size-12", |
|
|
|
|
width: 12, |
|
|
|
|
height: 8, |
|
|
|
|
selected: BI.isNotEmptyString(iconCls) |
|
|
|
@ -78437,7 +78436,7 @@ BI.IconComboTrigger = BI.inherit(BI.Trigger, {
|
|
|
|
|
bottom: 0 |
|
|
|
|
}, { |
|
|
|
|
el: this.down, |
|
|
|
|
right: 0, |
|
|
|
|
right: 3, |
|
|
|
|
bottom: 0 |
|
|
|
|
}] |
|
|
|
|
}); |
|
|
|
@ -84417,7 +84416,7 @@ BI.SegmentButton = BI.inherit(BI.BasicButton, {
|
|
|
|
|
this.text = BI.createWidget({ |
|
|
|
|
type: "bi.label", |
|
|
|
|
element: this, |
|
|
|
|
height: opts.height - 2, |
|
|
|
|
textHeight: opts.height, |
|
|
|
|
whiteSpace: opts.whiteSpace, |
|
|
|
|
text: opts.text, |
|
|
|
|
value: opts.value, |
|
|
|
@ -91463,7 +91462,8 @@ BI.DynamicDateParamItem.EVENT_CHANGE = "EVENT_CHANGE";
|
|
|
|
|
BI.shortcut("bi.dynamic_date_param_item", BI.DynamicDateParamItem); |
|
|
|
|
BI.DynamicDatePopup = BI.inherit(BI.Widget, { |
|
|
|
|
constants: { |
|
|
|
|
tabHeight: 30 |
|
|
|
|
tabHeight: 30, |
|
|
|
|
buttonHeight: 24 |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
props: { |
|
|
|
@ -91474,7 +91474,7 @@ BI.DynamicDatePopup = BI.inherit(BI.Widget, {
|
|
|
|
|
|
|
|
|
|
_init: function () { |
|
|
|
|
BI.DynamicDatePopup.superclass._init.apply(this, arguments); |
|
|
|
|
var self = this, opts = this.options; |
|
|
|
|
var self = this, opts = this.options, c = this.constants; |
|
|
|
|
this.storeValue = {type: BI.DynamicDateCombo.Static}; |
|
|
|
|
BI.createWidget({ |
|
|
|
|
element: this, |
|
|
|
@ -91490,6 +91490,7 @@ BI.DynamicDatePopup = BI.inherit(BI.Widget, {
|
|
|
|
|
cls: "bi-high-light bi-border-top", |
|
|
|
|
shadow: true, |
|
|
|
|
text: BI.i18nText("BI-Basic_Clear"), |
|
|
|
|
textHeight: c.buttonHeight - 1, |
|
|
|
|
listeners: [{ |
|
|
|
|
eventName: BI.TextButton.EVENT_CHANGE, |
|
|
|
|
action: function () { |
|
|
|
@ -91501,6 +91502,7 @@ BI.DynamicDatePopup = BI.inherit(BI.Widget, {
|
|
|
|
|
forceCenter: true, |
|
|
|
|
cls: "bi-border-left bi-border-right bi-high-light bi-border-top", |
|
|
|
|
shadow: true, |
|
|
|
|
textHeight: c.buttonHeight - 1, |
|
|
|
|
text: BI.i18nText("BI-Multi_Date_Today"), |
|
|
|
|
ref: function () { |
|
|
|
|
self.textButton = this; |
|
|
|
@ -91515,6 +91517,7 @@ BI.DynamicDatePopup = BI.inherit(BI.Widget, {
|
|
|
|
|
type: "bi.text_button", |
|
|
|
|
forceCenter: true, |
|
|
|
|
cls: "bi-high-light bi-border-top", |
|
|
|
|
textHeight: c.buttonHeight - 1, |
|
|
|
|
shadow: true, |
|
|
|
|
text: BI.i18nText("BI-Basic_OK"), |
|
|
|
|
listeners: [{ |
|
|
|
@ -92229,7 +92232,8 @@ BI.extend(BI.DynamicDateTimeCombo, {
|
|
|
|
|
Dynamic: 2 |
|
|
|
|
});BI.DynamicDateTimePopup = BI.inherit(BI.Widget, { |
|
|
|
|
constants: { |
|
|
|
|
tabHeight: 30 |
|
|
|
|
tabHeight: 30, |
|
|
|
|
buttonHeight: 24 |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
props: { |
|
|
|
@ -92240,7 +92244,7 @@ BI.extend(BI.DynamicDateTimeCombo, {
|
|
|
|
|
|
|
|
|
|
_init: function () { |
|
|
|
|
BI.DynamicDateTimePopup.superclass._init.apply(this, arguments); |
|
|
|
|
var self = this, opts = this.options; |
|
|
|
|
var self = this, opts = this.options, c = this.constants; |
|
|
|
|
this.storeValue = {type: BI.DynamicDateCombo.Static}; |
|
|
|
|
BI.createWidget({ |
|
|
|
|
element: this, |
|
|
|
@ -92254,6 +92258,7 @@ BI.extend(BI.DynamicDateTimeCombo, {
|
|
|
|
|
type: "bi.text_button", |
|
|
|
|
forceCenter: true, |
|
|
|
|
cls: "bi-high-light bi-border-top", |
|
|
|
|
textHeight: c.buttonHeight - 1, |
|
|
|
|
shadow: true, |
|
|
|
|
text: BI.i18nText("BI-Basic_Clear"), |
|
|
|
|
listeners: [{ |
|
|
|
@ -92266,6 +92271,7 @@ BI.extend(BI.DynamicDateTimeCombo, {
|
|
|
|
|
type: "bi.text_button", |
|
|
|
|
forceCenter: true, |
|
|
|
|
cls: "bi-border-left bi-border-right bi-high-light bi-border-top", |
|
|
|
|
textHeight: c.buttonHeight - 1, |
|
|
|
|
shadow: true, |
|
|
|
|
text: BI.i18nText("BI-Multi_Date_Today"), |
|
|
|
|
ref: function () { |
|
|
|
@ -92281,6 +92287,7 @@ BI.extend(BI.DynamicDateTimeCombo, {
|
|
|
|
|
type: "bi.text_button", |
|
|
|
|
forceCenter: true, |
|
|
|
|
cls: "bi-high-light bi-border-top", |
|
|
|
|
textHeight: c.buttonHeight - 1, |
|
|
|
|
shadow: true, |
|
|
|
|
text: BI.i18nText("BI-Basic_OK"), |
|
|
|
|
listeners: [{ |
|
|
|
@ -102042,7 +102049,7 @@ BI.NumberEditor = BI.inherit(BI.Widget, {
|
|
|
|
|
errorText: o.errorText |
|
|
|
|
}); |
|
|
|
|
this.editor.on(BI.TextEditor.EVENT_CHANGE, function () { |
|
|
|
|
o.value = this.getValue(); |
|
|
|
|
o.value = BI.parseFloat(this.getValue()); |
|
|
|
|
self.fireEvent(BI.NumberEditor.EVENT_CHANGE); |
|
|
|
|
}); |
|
|
|
|
this.editor.on(BI.TextEditor.EVENT_CONFIRM, function () { |
|
|
|
@ -110021,7 +110028,8 @@ BI.extend(BI.DynamicYearCombo, {
|
|
|
|
|
*/ |
|
|
|
|
BI.DynamicYearPopup = BI.inherit(BI.Widget, { |
|
|
|
|
constants: { |
|
|
|
|
tabHeight: 30 |
|
|
|
|
tabHeight: 30, |
|
|
|
|
buttonHeight: 24 |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
props: { |
|
|
|
@ -110034,7 +110042,7 @@ BI.DynamicYearPopup = BI.inherit(BI.Widget, {
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
render: function () { |
|
|
|
|
var self = this, opts = this.options; |
|
|
|
|
var self = this, opts = this.options, c = this.constants; |
|
|
|
|
this.storeValue = {type: BI.DynamicYearCombo.Static}; |
|
|
|
|
return { |
|
|
|
|
type: "bi.vtape", |
|
|
|
@ -110047,6 +110055,7 @@ BI.DynamicYearPopup = BI.inherit(BI.Widget, {
|
|
|
|
|
type: "bi.text_button", |
|
|
|
|
forceCenter: true, |
|
|
|
|
cls: "bi-border-top bi-high-light", |
|
|
|
|
textHeight: c.buttonHeight - 1, |
|
|
|
|
shadow: true, |
|
|
|
|
text: BI.i18nText("BI-Basic_Clear"), |
|
|
|
|
listeners: [{ |
|
|
|
@ -110058,6 +110067,7 @@ BI.DynamicYearPopup = BI.inherit(BI.Widget, {
|
|
|
|
|
}, { |
|
|
|
|
type: "bi.text_button", |
|
|
|
|
forceCenter: true, |
|
|
|
|
textHeight: c.buttonHeight - 1, |
|
|
|
|
cls: "bi-border-left bi-border-right bi-high-light bi-border-top", |
|
|
|
|
shadow: true, |
|
|
|
|
text: BI.i18nText("BI-Basic_Current_Year"), |
|
|
|
@ -110074,6 +110084,7 @@ BI.DynamicYearPopup = BI.inherit(BI.Widget, {
|
|
|
|
|
type: "bi.text_button", |
|
|
|
|
forceCenter: true, |
|
|
|
|
cls: "bi-border-top bi-high-light", |
|
|
|
|
textHeight: c.buttonHeight - 1, |
|
|
|
|
shadow: true, |
|
|
|
|
text: BI.i18nText("BI-Basic_OK"), |
|
|
|
|
listeners: [{ |
|
|
|
@ -110773,7 +110784,8 @@ BI.extend(BI.DynamicYearMonthCombo, {
|
|
|
|
|
*/ |
|
|
|
|
BI.DynamicYearMonthPopup = BI.inherit(BI.Widget, { |
|
|
|
|
constants: { |
|
|
|
|
tabHeight: 30 |
|
|
|
|
tabHeight: 30, |
|
|
|
|
buttonHeight: 24 |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
props: { |
|
|
|
@ -110786,7 +110798,7 @@ BI.DynamicYearMonthPopup = BI.inherit(BI.Widget, {
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
render: function () { |
|
|
|
|
var self = this, opts = this.options; |
|
|
|
|
var self = this, opts = this.options, c = this.constants; |
|
|
|
|
this.storeValue = {type: BI.DynamicYearMonthCombo.Static}; |
|
|
|
|
return { |
|
|
|
|
type: "bi.vtape", |
|
|
|
@ -110799,6 +110811,7 @@ BI.DynamicYearMonthPopup = BI.inherit(BI.Widget, {
|
|
|
|
|
type: "bi.text_button", |
|
|
|
|
forceCenter: true, |
|
|
|
|
cls: "bi-border-top bi-high-light", |
|
|
|
|
textHeight: c.buttonHeight - 1, |
|
|
|
|
shadow: true, |
|
|
|
|
text: BI.i18nText("BI-Basic_Clear"), |
|
|
|
|
listeners: [{ |
|
|
|
@ -110811,6 +110824,7 @@ BI.DynamicYearMonthPopup = BI.inherit(BI.Widget, {
|
|
|
|
|
type: "bi.text_button", |
|
|
|
|
forceCenter: true, |
|
|
|
|
cls: "bi-border-left bi-border-right bi-high-light bi-border-top", |
|
|
|
|
textHeight: c.buttonHeight - 1, |
|
|
|
|
shadow: true, |
|
|
|
|
text: BI.i18nText("BI-Basic_Current_Month"), |
|
|
|
|
ref: function () { |
|
|
|
@ -110826,6 +110840,7 @@ BI.DynamicYearMonthPopup = BI.inherit(BI.Widget, {
|
|
|
|
|
type: "bi.text_button", |
|
|
|
|
forceCenter: true, |
|
|
|
|
cls: "bi-border-top bi-high-light", |
|
|
|
|
textHeight: c.buttonHeight - 1, |
|
|
|
|
shadow: true, |
|
|
|
|
text: BI.i18nText("BI-Basic_OK"), |
|
|
|
|
listeners: [{ |
|
|
|
@ -111755,7 +111770,8 @@ BI.extend(BI.DynamicYearQuarterCombo, {
|
|
|
|
|
Dynamic: 2 |
|
|
|
|
});BI.DynamicYearQuarterPopup = BI.inherit(BI.Widget, { |
|
|
|
|
constants: { |
|
|
|
|
tabHeight: 30 |
|
|
|
|
tabHeight: 30, |
|
|
|
|
buttonHeight: 24 |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
props: { |
|
|
|
@ -111768,7 +111784,7 @@ BI.extend(BI.DynamicYearQuarterCombo, {
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
render: function () { |
|
|
|
|
var self = this, opts = this.options; |
|
|
|
|
var self = this, opts = this.options, c = this.constants; |
|
|
|
|
this.storeValue = {type: BI.DynamicYearQuarterCombo.Static}; |
|
|
|
|
return { |
|
|
|
|
type: "bi.vtape", |
|
|
|
@ -111782,6 +111798,7 @@ BI.extend(BI.DynamicYearQuarterCombo, {
|
|
|
|
|
forceCenter: true, |
|
|
|
|
cls: "bi-border-top bi-high-light", |
|
|
|
|
shadow: true, |
|
|
|
|
textHeight: c.buttonHeight - 1, |
|
|
|
|
text: BI.i18nText("BI-Basic_Clear"), |
|
|
|
|
listeners: [{ |
|
|
|
|
eventName: BI.TextButton.EVENT_CHANGE, |
|
|
|
@ -111793,6 +111810,7 @@ BI.extend(BI.DynamicYearQuarterCombo, {
|
|
|
|
|
type: "bi.text_button", |
|
|
|
|
forceCenter: true, |
|
|
|
|
cls: "bi-border-left bi-border-right bi-high-light bi-border-top", |
|
|
|
|
textHeight: c.buttonHeight - 1, |
|
|
|
|
shadow: true, |
|
|
|
|
text: BI.i18nText("BI-Basic_Current_Quarter"), |
|
|
|
|
ref: function () { |
|
|
|
@ -111809,6 +111827,7 @@ BI.extend(BI.DynamicYearQuarterCombo, {
|
|
|
|
|
forceCenter: true, |
|
|
|
|
cls: "bi-border-top bi-high-light", |
|
|
|
|
shadow: true, |
|
|
|
|
textHeight: c.buttonHeight - 1, |
|
|
|
|
text: BI.i18nText("BI-Basic_OK"), |
|
|
|
|
listeners: [{ |
|
|
|
|
eventName: BI.TextButton.EVENT_CHANGE, |
|
|
|
|