|
|
@ -51353,6 +51353,7 @@ BI.PopupView = BI.inherit(BI.Widget, { |
|
|
|
bgap: 0, |
|
|
|
bgap: 0, |
|
|
|
vgap: 0, |
|
|
|
vgap: 0, |
|
|
|
hgap: 0, |
|
|
|
hgap: 0, |
|
|
|
|
|
|
|
innerVGap: 0, |
|
|
|
direction: BI.Direction.Top, // 工具栏的方向
|
|
|
|
direction: BI.Direction.Top, // 工具栏的方向
|
|
|
|
stopEvent: false, // 是否停止mousedown、mouseup事件
|
|
|
|
stopEvent: false, // 是否停止mousedown、mouseup事件
|
|
|
|
stopPropagation: false, // 是否停止mousedown、mouseup向上冒泡
|
|
|
|
stopPropagation: false, // 是否停止mousedown、mouseup向上冒泡
|
|
|
@ -51430,7 +51431,7 @@ BI.PopupView = BI.inherit(BI.Widget, { |
|
|
|
_createView: function () { |
|
|
|
_createView: function () { |
|
|
|
var o = this.options; |
|
|
|
var o = this.options; |
|
|
|
this.button_group = BI.createWidget(o.el, {type: "bi.button_group", value: o.value}); |
|
|
|
this.button_group = BI.createWidget(o.el, {type: "bi.button_group", value: o.value}); |
|
|
|
this.button_group.element.css({"min-height": o.minHeight + "px"}); |
|
|
|
this.button_group.element.css({"min-height": o.minHeight + "px", "padding-top": o.innerVGap + "px", "padding-bottom": o.innerVGap + "px"}); |
|
|
|
return this.button_group; |
|
|
|
return this.button_group; |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
@ -74367,7 +74368,7 @@ BI.YearCalendar = BI.inherit(BI.Widget, { |
|
|
|
once: false, |
|
|
|
once: false, |
|
|
|
forceSelected: true, |
|
|
|
forceSelected: true, |
|
|
|
height: 24, |
|
|
|
height: 24, |
|
|
|
width: 38, |
|
|
|
width: 45, |
|
|
|
value: td.text, |
|
|
|
value: td.text, |
|
|
|
disabled: td.disabled |
|
|
|
disabled: td.disabled |
|
|
|
}); |
|
|
|
}); |
|
|
@ -88218,7 +88219,7 @@ BI.YearDateCombo = BI.inherit(BI.Trigger, { |
|
|
|
isNeedAdjustWidth: false, |
|
|
|
isNeedAdjustWidth: false, |
|
|
|
el: this.trigger, |
|
|
|
el: this.trigger, |
|
|
|
popup: { |
|
|
|
popup: { |
|
|
|
minWidth: 85, |
|
|
|
minWidth: 100, |
|
|
|
stopPropagation: false, |
|
|
|
stopPropagation: false, |
|
|
|
el: this.popup |
|
|
|
el: this.popup |
|
|
|
} |
|
|
|
} |
|
|
@ -88252,7 +88253,7 @@ BI.DatePicker = BI.inherit(BI.Widget, { |
|
|
|
_defaultConfig: function () { |
|
|
|
_defaultConfig: function () { |
|
|
|
var conf = BI.DatePicker.superclass._defaultConfig.apply(this, arguments); |
|
|
|
var conf = BI.DatePicker.superclass._defaultConfig.apply(this, arguments); |
|
|
|
return BI.extend(conf, { |
|
|
|
return BI.extend(conf, { |
|
|
|
baseCls: "bi-date-picker bi-background", |
|
|
|
baseCls: "bi-date-picker", |
|
|
|
height: 40, |
|
|
|
height: 40, |
|
|
|
min: "1900-01-01", // 最小日期
|
|
|
|
min: "1900-01-01", // 最小日期
|
|
|
|
max: "2099-12-31" // 最大日期
|
|
|
|
max: "2099-12-31" // 最大日期
|
|
|
@ -88408,7 +88409,7 @@ BI.YearPicker = BI.inherit(BI.Widget, { |
|
|
|
_defaultConfig: function () { |
|
|
|
_defaultConfig: function () { |
|
|
|
var conf = BI.YearPicker.superclass._defaultConfig.apply(this, arguments); |
|
|
|
var conf = BI.YearPicker.superclass._defaultConfig.apply(this, arguments); |
|
|
|
return BI.extend(conf, { |
|
|
|
return BI.extend(conf, { |
|
|
|
baseCls: "bi-year-picker bi-background", |
|
|
|
baseCls: "bi-year-picker", |
|
|
|
behaviors: {}, |
|
|
|
behaviors: {}, |
|
|
|
height: 40, |
|
|
|
height: 40, |
|
|
|
min: "1900-01-01", // 最小日期
|
|
|
|
min: "1900-01-01", // 最小日期
|
|
|
@ -88567,7 +88568,6 @@ BI.DateCalendarPopup = BI.inherit(BI.Widget, { |
|
|
|
|
|
|
|
|
|
|
|
this.calendar = BI.createWidget({ |
|
|
|
this.calendar = BI.createWidget({ |
|
|
|
direction: "top", |
|
|
|
direction: "top", |
|
|
|
element: this, |
|
|
|
|
|
|
|
logic: { |
|
|
|
logic: { |
|
|
|
dynamic: true |
|
|
|
dynamic: true |
|
|
|
}, |
|
|
|
}, |
|
|
@ -88595,6 +88595,25 @@ BI.DateCalendarPopup = BI.inherit(BI.Widget, { |
|
|
|
self.setValue(self.selectedTime); |
|
|
|
self.setValue(self.selectedTime); |
|
|
|
self.fireEvent(BI.DateCalendarPopup.EVENT_CHANGE); |
|
|
|
self.fireEvent(BI.DateCalendarPopup.EVENT_CHANGE); |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BI.createWidget({ |
|
|
|
|
|
|
|
type: "bi.absolute", |
|
|
|
|
|
|
|
element: this, |
|
|
|
|
|
|
|
items: [{ |
|
|
|
|
|
|
|
el: this.calendar, |
|
|
|
|
|
|
|
left: 10, |
|
|
|
|
|
|
|
right: 10 |
|
|
|
|
|
|
|
}, { |
|
|
|
|
|
|
|
el: { |
|
|
|
|
|
|
|
type: "bi.layout", |
|
|
|
|
|
|
|
cls: "bi-border-top" |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
height: 1, |
|
|
|
|
|
|
|
top: 40, |
|
|
|
|
|
|
|
left: 0, |
|
|
|
|
|
|
|
right: 0 |
|
|
|
|
|
|
|
}] |
|
|
|
|
|
|
|
}); |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
setValue: function (timeOb) { |
|
|
|
setValue: function (timeOb) { |
|
|
@ -88763,7 +88782,10 @@ BI.DateTriangleTrigger = BI.inherit(BI.Trigger, { |
|
|
|
type: "bi.center_adapt", |
|
|
|
type: "bi.center_adapt", |
|
|
|
width: 50, |
|
|
|
width: 50, |
|
|
|
height: c.height, |
|
|
|
height: c.height, |
|
|
|
items: [this.text, this.icon] |
|
|
|
items: [{ |
|
|
|
|
|
|
|
el: this.text, |
|
|
|
|
|
|
|
rgap: 10 |
|
|
|
|
|
|
|
}, this.icon] |
|
|
|
}] |
|
|
|
}] |
|
|
|
}); |
|
|
|
}); |
|
|
|
}, |
|
|
|
}, |
|
|
@ -88838,11 +88860,10 @@ BI.StaticDatePaneCard = BI.inherit(BI.Widget, { |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
this.calendar = BI.createWidget({ |
|
|
|
this.calendar = BI.createWidget({ |
|
|
|
direction: "top", |
|
|
|
direction: "custom", |
|
|
|
element: this, |
|
|
|
// logic: {
|
|
|
|
logic: { |
|
|
|
// dynamic: false
|
|
|
|
dynamic: false |
|
|
|
// },
|
|
|
|
}, |
|
|
|
|
|
|
|
type: "bi.navigation", |
|
|
|
type: "bi.navigation", |
|
|
|
tab: this.datePicker, |
|
|
|
tab: this.datePicker, |
|
|
|
cardCreator: BI.bind(this._createNav, this) |
|
|
|
cardCreator: BI.bind(this._createNav, this) |
|
|
@ -88855,6 +88876,31 @@ BI.StaticDatePaneCard = BI.inherit(BI.Widget, { |
|
|
|
}); |
|
|
|
}); |
|
|
|
this.setValue(o.selectedTime); |
|
|
|
this.setValue(o.selectedTime); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BI.createWidget({ |
|
|
|
|
|
|
|
type: "bi.vtape", |
|
|
|
|
|
|
|
element: this, |
|
|
|
|
|
|
|
items: [{ |
|
|
|
|
|
|
|
el: this.datePicker, |
|
|
|
|
|
|
|
height: 40 |
|
|
|
|
|
|
|
}, this.calendar], |
|
|
|
|
|
|
|
hgap: 10 |
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BI.createWidget({ |
|
|
|
|
|
|
|
type: "bi.absolute", |
|
|
|
|
|
|
|
element: this, |
|
|
|
|
|
|
|
items: [{ |
|
|
|
|
|
|
|
el: { |
|
|
|
|
|
|
|
type: "bi.layout", |
|
|
|
|
|
|
|
cls: "bi-border-top" |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
height: 1, |
|
|
|
|
|
|
|
top: 40, |
|
|
|
|
|
|
|
left: 0, |
|
|
|
|
|
|
|
right: 0 |
|
|
|
|
|
|
|
}] |
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
_createNav: function (v) { |
|
|
|
_createNav: function (v) { |
|
|
@ -89584,10 +89630,10 @@ BI.shortcut("bi.date_time_trigger", BI.DateTimeTrigger);BI.StaticDateTimePaneCar |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
this.calendar = BI.createWidget({ |
|
|
|
this.calendar = BI.createWidget({ |
|
|
|
direction: "top", |
|
|
|
direction: "custom", |
|
|
|
logic: { |
|
|
|
// logic: {
|
|
|
|
dynamic: false |
|
|
|
// dynamic: false
|
|
|
|
}, |
|
|
|
// },
|
|
|
|
type: "bi.navigation", |
|
|
|
type: "bi.navigation", |
|
|
|
tab: this.datePicker, |
|
|
|
tab: this.datePicker, |
|
|
|
cardCreator: BI.bind(this._createNav, this) |
|
|
|
cardCreator: BI.bind(this._createNav, this) |
|
|
@ -89602,7 +89648,11 @@ BI.shortcut("bi.date_time_trigger", BI.DateTimeTrigger);BI.StaticDateTimePaneCar |
|
|
|
BI.createWidget({ |
|
|
|
BI.createWidget({ |
|
|
|
type: "bi.vtape", |
|
|
|
type: "bi.vtape", |
|
|
|
element: this, |
|
|
|
element: this, |
|
|
|
items: [this.calendar, { |
|
|
|
hgap: 10, |
|
|
|
|
|
|
|
items: [{ |
|
|
|
|
|
|
|
el: this.datePicker, |
|
|
|
|
|
|
|
height: 40 |
|
|
|
|
|
|
|
}, this.calendar, { |
|
|
|
el: { |
|
|
|
el: { |
|
|
|
type: "bi.dynamic_date_time_select", |
|
|
|
type: "bi.dynamic_date_time_select", |
|
|
|
ref: function () { |
|
|
|
ref: function () { |
|
|
@ -89619,6 +89669,21 @@ BI.shortcut("bi.date_time_trigger", BI.DateTimeTrigger);BI.StaticDateTimePaneCar |
|
|
|
height: 40 |
|
|
|
height: 40 |
|
|
|
}] |
|
|
|
}] |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BI.createWidget({ |
|
|
|
|
|
|
|
type: "bi.absolute", |
|
|
|
|
|
|
|
element: this, |
|
|
|
|
|
|
|
items: [{ |
|
|
|
|
|
|
|
el: { |
|
|
|
|
|
|
|
type: "bi.layout", |
|
|
|
|
|
|
|
cls: "bi-border-top" |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
height: 1, |
|
|
|
|
|
|
|
top: 40, |
|
|
|
|
|
|
|
left: 0, |
|
|
|
|
|
|
|
right: 0 |
|
|
|
|
|
|
|
}] |
|
|
|
|
|
|
|
}); |
|
|
|
this.setValue(o.selectedTime); |
|
|
|
this.setValue(o.selectedTime); |
|
|
|
|
|
|
|
|
|
|
|
}, |
|
|
|
}, |
|
|
@ -90278,7 +90343,7 @@ BI.DownListPopup = BI.inherit(BI.Pane, { |
|
|
|
}] |
|
|
|
}] |
|
|
|
|
|
|
|
|
|
|
|
}, |
|
|
|
}, |
|
|
|
vgap: 5, |
|
|
|
innerVGap: 5, |
|
|
|
maxHeight: 378 |
|
|
|
maxHeight: 378 |
|
|
|
}; |
|
|
|
}; |
|
|
|
item.el.childValues = []; |
|
|
|
item.el.childValues = []; |
|
|
@ -90537,15 +90602,18 @@ BI.DynamicDateCard = BI.inherit(BI.Widget, { |
|
|
|
type: "bi.label", |
|
|
|
type: "bi.label", |
|
|
|
text: BI.i18nText("BI-Multi_Date_Relative_Current_Time"), |
|
|
|
text: BI.i18nText("BI-Multi_Date_Relative_Current_Time"), |
|
|
|
textAlign: "left", |
|
|
|
textAlign: "left", |
|
|
|
height: 24, |
|
|
|
height: 12, |
|
|
|
lgap: 10 |
|
|
|
lgap: 10 |
|
|
|
} |
|
|
|
}, |
|
|
|
|
|
|
|
tgap: 10, |
|
|
|
|
|
|
|
bgap: 5 |
|
|
|
}, { |
|
|
|
}, { |
|
|
|
type: "bi.button_group", |
|
|
|
type: "bi.button_group", |
|
|
|
ref: function () { |
|
|
|
ref: function () { |
|
|
|
self.checkgroup = this; |
|
|
|
self.checkgroup = this; |
|
|
|
}, |
|
|
|
}, |
|
|
|
chooseType: BI.ButtonGroup.CHOOSE_TYPE_MULTI, |
|
|
|
chooseType: BI.ButtonGroup.CHOOSE_TYPE_MULTI, |
|
|
|
|
|
|
|
lgap: 4, |
|
|
|
value: [BI.DynamicDateCard.TYPE.YEAR], |
|
|
|
value: [BI.DynamicDateCard.TYPE.YEAR], |
|
|
|
items: BI.createItems([{ |
|
|
|
items: BI.createItems([{ |
|
|
|
text: BI.i18nText("BI-Basic_Year"), |
|
|
|
text: BI.i18nText("BI-Basic_Year"), |
|
|
@ -90569,7 +90637,8 @@ BI.DynamicDateCard = BI.inherit(BI.Widget, { |
|
|
|
} |
|
|
|
} |
|
|
|
}), |
|
|
|
}), |
|
|
|
layouts: [{ |
|
|
|
layouts: [{ |
|
|
|
type: "bi.left" |
|
|
|
type: "bi.left", |
|
|
|
|
|
|
|
rgap: 4 |
|
|
|
}], |
|
|
|
}], |
|
|
|
listeners: [{ |
|
|
|
listeners: [{ |
|
|
|
eventName: BI.ButtonGroup.EVENT_CHANGE, |
|
|
|
eventName: BI.ButtonGroup.EVENT_CHANGE, |
|
|
@ -90605,29 +90674,33 @@ BI.DynamicDateCard = BI.inherit(BI.Widget, { |
|
|
|
}] |
|
|
|
}] |
|
|
|
}, { |
|
|
|
}, { |
|
|
|
type: "bi.vertical_adapt", |
|
|
|
type: "bi.vertical_adapt", |
|
|
|
|
|
|
|
lgap: 2, |
|
|
|
items: [{ |
|
|
|
items: [{ |
|
|
|
type: "bi.multi_select_item", |
|
|
|
el: { |
|
|
|
ref: function () { |
|
|
|
type: "bi.multi_select_item", |
|
|
|
self.workDayBox = this; |
|
|
|
ref: function () { |
|
|
|
}, |
|
|
|
self.workDayBox = this; |
|
|
|
logic: { |
|
|
|
}, |
|
|
|
dynamic: true |
|
|
|
logic: { |
|
|
|
}, |
|
|
|
dynamic: true |
|
|
|
text: BI.i18nText("BI-Basic_Work_Day"), |
|
|
|
}, |
|
|
|
value: BI.DynamicDateCard.TYPE.WORK_DAY, |
|
|
|
text: BI.i18nText("BI-Basic_Work_Day"), |
|
|
|
listeners: [{ |
|
|
|
value: BI.DynamicDateCard.TYPE.WORK_DAY, |
|
|
|
eventName: BI.MultiSelectItem.EVENT_CHANGE, |
|
|
|
listeners: [{ |
|
|
|
action: function () { |
|
|
|
eventName: BI.MultiSelectItem.EVENT_CHANGE, |
|
|
|
if(this.isSelected()) { |
|
|
|
action: function () { |
|
|
|
self.checkgroup.setValue(); |
|
|
|
if(this.isSelected()) { |
|
|
|
|
|
|
|
self.checkgroup.setValue(); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
self.resultPane.populate(this.isSelected() ? self._getParamJson([{ |
|
|
|
|
|
|
|
dateType: BI.DynamicDateCard.TYPE.WORK_DAY |
|
|
|
|
|
|
|
}]) : []); |
|
|
|
|
|
|
|
self.position = BI.DynamicDateCard.OFFSET.CURRENT; |
|
|
|
|
|
|
|
self.fireEvent("EVENT_CHANGE"); |
|
|
|
} |
|
|
|
} |
|
|
|
self.resultPane.populate(this.isSelected() ? self._getParamJson([{ |
|
|
|
}] |
|
|
|
dateType: BI.DynamicDateCard.TYPE.WORK_DAY |
|
|
|
}, |
|
|
|
}]) : []); |
|
|
|
bgap: 5 |
|
|
|
self.position = BI.DynamicDateCard.OFFSET.CURRENT; |
|
|
|
|
|
|
|
self.fireEvent("EVENT_CHANGE"); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}] |
|
|
|
|
|
|
|
}], |
|
|
|
}], |
|
|
|
ref: function () { |
|
|
|
ref: function () { |
|
|
|
self.workDay = this; |
|
|
|
self.workDay = this; |
|
|
@ -90642,7 +90715,7 @@ BI.DynamicDateCard = BI.inherit(BI.Widget, { |
|
|
|
}, |
|
|
|
}, |
|
|
|
layouts: [{ |
|
|
|
layouts: [{ |
|
|
|
type: "bi.vertical", |
|
|
|
type: "bi.vertical", |
|
|
|
vgap: 10, |
|
|
|
bgap: 10, |
|
|
|
hgap: 10 |
|
|
|
hgap: 10 |
|
|
|
}] |
|
|
|
}] |
|
|
|
}] |
|
|
|
}] |
|
|
@ -91273,7 +91346,7 @@ BI.DynamicDatePopup = BI.inherit(BI.Widget, { |
|
|
|
items: [[{ |
|
|
|
items: [[{ |
|
|
|
type: "bi.text_button", |
|
|
|
type: "bi.text_button", |
|
|
|
forceCenter: true, |
|
|
|
forceCenter: true, |
|
|
|
cls: "bi-high-light bi-border-top toolbar-button", |
|
|
|
cls: "bi-high-light bi-border-top", |
|
|
|
shadow: true, |
|
|
|
shadow: true, |
|
|
|
text: BI.i18nText("BI-Basic_Clear"), |
|
|
|
text: BI.i18nText("BI-Basic_Clear"), |
|
|
|
listeners: [{ |
|
|
|
listeners: [{ |
|
|
@ -91285,7 +91358,7 @@ BI.DynamicDatePopup = BI.inherit(BI.Widget, { |
|
|
|
}, { |
|
|
|
}, { |
|
|
|
type: "bi.text_button", |
|
|
|
type: "bi.text_button", |
|
|
|
forceCenter: true, |
|
|
|
forceCenter: true, |
|
|
|
cls: "bi-border-left bi-border-right bi-high-light bi-border-top toolbar-button", |
|
|
|
cls: "bi-border-left bi-border-right bi-high-light bi-border-top", |
|
|
|
shadow: true, |
|
|
|
shadow: true, |
|
|
|
text: BI.i18nText("BI-Multi_Date_Today"), |
|
|
|
text: BI.i18nText("BI-Multi_Date_Today"), |
|
|
|
ref: function () { |
|
|
|
ref: function () { |
|
|
@ -91300,7 +91373,7 @@ BI.DynamicDatePopup = BI.inherit(BI.Widget, { |
|
|
|
}, { |
|
|
|
}, { |
|
|
|
type: "bi.text_button", |
|
|
|
type: "bi.text_button", |
|
|
|
forceCenter: true, |
|
|
|
forceCenter: true, |
|
|
|
cls: "bi-high-light bi-border-top toolbar-button", |
|
|
|
cls: "bi-high-light bi-border-top", |
|
|
|
shadow: true, |
|
|
|
shadow: true, |
|
|
|
text: BI.i18nText("BI-Basic_OK"), |
|
|
|
text: BI.i18nText("BI-Basic_OK"), |
|
|
|
listeners: [{ |
|
|
|
listeners: [{ |
|
|
@ -92039,7 +92112,7 @@ BI.extend(BI.DynamicDateTimeCombo, { |
|
|
|
items: [[{ |
|
|
|
items: [[{ |
|
|
|
type: "bi.text_button", |
|
|
|
type: "bi.text_button", |
|
|
|
forceCenter: true, |
|
|
|
forceCenter: true, |
|
|
|
cls: "bi-high-light bi-border-top toolbar-button", |
|
|
|
cls: "bi-high-light bi-border-top", |
|
|
|
shadow: true, |
|
|
|
shadow: true, |
|
|
|
text: BI.i18nText("BI-Basic_Clear"), |
|
|
|
text: BI.i18nText("BI-Basic_Clear"), |
|
|
|
listeners: [{ |
|
|
|
listeners: [{ |
|
|
@ -92051,7 +92124,7 @@ BI.extend(BI.DynamicDateTimeCombo, { |
|
|
|
}, { |
|
|
|
}, { |
|
|
|
type: "bi.text_button", |
|
|
|
type: "bi.text_button", |
|
|
|
forceCenter: true, |
|
|
|
forceCenter: true, |
|
|
|
cls: "bi-border-left bi-border-right bi-high-light bi-border-top toolbar-button", |
|
|
|
cls: "bi-border-left bi-border-right bi-high-light bi-border-top", |
|
|
|
shadow: true, |
|
|
|
shadow: true, |
|
|
|
text: BI.i18nText("BI-Multi_Date_Today"), |
|
|
|
text: BI.i18nText("BI-Multi_Date_Today"), |
|
|
|
ref: function () { |
|
|
|
ref: function () { |
|
|
@ -92066,7 +92139,7 @@ BI.extend(BI.DynamicDateTimeCombo, { |
|
|
|
}, { |
|
|
|
}, { |
|
|
|
type: "bi.text_button", |
|
|
|
type: "bi.text_button", |
|
|
|
forceCenter: true, |
|
|
|
forceCenter: true, |
|
|
|
cls: "bi-high-light bi-border-top toolbar-button", |
|
|
|
cls: "bi-high-light bi-border-top", |
|
|
|
shadow: true, |
|
|
|
shadow: true, |
|
|
|
text: BI.i18nText("BI-Basic_OK"), |
|
|
|
text: BI.i18nText("BI-Basic_OK"), |
|
|
|
listeners: [{ |
|
|
|
listeners: [{ |
|
|
@ -109819,7 +109892,7 @@ BI.DynamicYearPopup = BI.inherit(BI.Widget, { |
|
|
|
items: [[{ |
|
|
|
items: [[{ |
|
|
|
type: "bi.text_button", |
|
|
|
type: "bi.text_button", |
|
|
|
forceCenter: true, |
|
|
|
forceCenter: true, |
|
|
|
cls: "bi-border-top bi-high-light toolbar-button", |
|
|
|
cls: "bi-border-top bi-high-light", |
|
|
|
shadow: true, |
|
|
|
shadow: true, |
|
|
|
text: BI.i18nText("BI-Basic_Clear"), |
|
|
|
text: BI.i18nText("BI-Basic_Clear"), |
|
|
|
listeners: [{ |
|
|
|
listeners: [{ |
|
|
@ -109831,7 +109904,7 @@ BI.DynamicYearPopup = BI.inherit(BI.Widget, { |
|
|
|
}, { |
|
|
|
}, { |
|
|
|
type: "bi.text_button", |
|
|
|
type: "bi.text_button", |
|
|
|
forceCenter: true, |
|
|
|
forceCenter: true, |
|
|
|
cls: "bi-border-left bi-border-right bi-high-light bi-border-top toolbar-button", |
|
|
|
cls: "bi-border-left bi-border-right bi-high-light bi-border-top", |
|
|
|
shadow: true, |
|
|
|
shadow: true, |
|
|
|
text: BI.i18nText("BI-Basic_Current_Year"), |
|
|
|
text: BI.i18nText("BI-Basic_Current_Year"), |
|
|
|
ref: function () { |
|
|
|
ref: function () { |
|
|
@ -109846,7 +109919,7 @@ BI.DynamicYearPopup = BI.inherit(BI.Widget, { |
|
|
|
}, { |
|
|
|
}, { |
|
|
|
type: "bi.text_button", |
|
|
|
type: "bi.text_button", |
|
|
|
forceCenter: true, |
|
|
|
forceCenter: true, |
|
|
|
cls: "bi-border-top bi-high-light toolbar-button", |
|
|
|
cls: "bi-border-top bi-high-light", |
|
|
|
shadow: true, |
|
|
|
shadow: true, |
|
|
|
text: BI.i18nText("BI-Basic_OK"), |
|
|
|
text: BI.i18nText("BI-Basic_OK"), |
|
|
|
listeners: [{ |
|
|
|
listeners: [{ |
|
|
@ -110292,6 +110365,7 @@ BI.shortcut("bi.dynamic_year_month_card", BI.DynamicYearMonthCard);BI.StaticYear |
|
|
|
}] |
|
|
|
}] |
|
|
|
}, { |
|
|
|
}, { |
|
|
|
type: "bi.button_group", |
|
|
|
type: "bi.button_group", |
|
|
|
|
|
|
|
cls: "bi-border-top", |
|
|
|
behaviors: o.behaviors, |
|
|
|
behaviors: o.behaviors, |
|
|
|
ref: function () { |
|
|
|
ref: function () { |
|
|
|
self.month = this; |
|
|
|
self.month = this; |
|
|
@ -110413,7 +110487,7 @@ BI.DynamicYearMonthCombo = BI.inherit(BI.Single, { |
|
|
|
isNeedAdjustWidth: false, |
|
|
|
isNeedAdjustWidth: false, |
|
|
|
el: this.trigger, |
|
|
|
el: this.trigger, |
|
|
|
popup: { |
|
|
|
popup: { |
|
|
|
minWidth: 85, |
|
|
|
minWidth: 100, |
|
|
|
stopPropagation: false, |
|
|
|
stopPropagation: false, |
|
|
|
el: { |
|
|
|
el: { |
|
|
|
type: "bi.dynamic_year_month_popup", |
|
|
|
type: "bi.dynamic_year_month_popup", |
|
|
@ -110570,7 +110644,7 @@ BI.DynamicYearMonthPopup = BI.inherit(BI.Widget, { |
|
|
|
items: [[{ |
|
|
|
items: [[{ |
|
|
|
type: "bi.text_button", |
|
|
|
type: "bi.text_button", |
|
|
|
forceCenter: true, |
|
|
|
forceCenter: true, |
|
|
|
cls: "bi-border-top bi-high-light toolbar-button", |
|
|
|
cls: "bi-border-top bi-high-light", |
|
|
|
shadow: true, |
|
|
|
shadow: true, |
|
|
|
text: BI.i18nText("BI-Basic_Clear"), |
|
|
|
text: BI.i18nText("BI-Basic_Clear"), |
|
|
|
listeners: [{ |
|
|
|
listeners: [{ |
|
|
@ -110582,7 +110656,7 @@ BI.DynamicYearMonthPopup = BI.inherit(BI.Widget, { |
|
|
|
}, { |
|
|
|
}, { |
|
|
|
type: "bi.text_button", |
|
|
|
type: "bi.text_button", |
|
|
|
forceCenter: true, |
|
|
|
forceCenter: true, |
|
|
|
cls: "bi-border-left bi-border-right bi-high-light bi-border-top toolbar-button", |
|
|
|
cls: "bi-border-left bi-border-right bi-high-light bi-border-top", |
|
|
|
shadow: true, |
|
|
|
shadow: true, |
|
|
|
text: BI.i18nText("BI-Basic_Current_Month"), |
|
|
|
text: BI.i18nText("BI-Basic_Current_Month"), |
|
|
|
ref: function () { |
|
|
|
ref: function () { |
|
|
@ -110597,7 +110671,7 @@ BI.DynamicYearMonthPopup = BI.inherit(BI.Widget, { |
|
|
|
}, { |
|
|
|
}, { |
|
|
|
type: "bi.text_button", |
|
|
|
type: "bi.text_button", |
|
|
|
forceCenter: true, |
|
|
|
forceCenter: true, |
|
|
|
cls: "bi-border-top bi-high-light toolbar-button", |
|
|
|
cls: "bi-border-top bi-high-light", |
|
|
|
shadow: true, |
|
|
|
shadow: true, |
|
|
|
text: BI.i18nText("BI-Basic_OK"), |
|
|
|
text: BI.i18nText("BI-Basic_OK"), |
|
|
|
listeners: [{ |
|
|
|
listeners: [{ |
|
|
@ -111548,7 +111622,7 @@ BI.extend(BI.DynamicYearQuarterCombo, { |
|
|
|
items: [[{ |
|
|
|
items: [[{ |
|
|
|
type: "bi.text_button", |
|
|
|
type: "bi.text_button", |
|
|
|
forceCenter: true, |
|
|
|
forceCenter: true, |
|
|
|
cls: "bi-border-top bi-high-light toolbar-button", |
|
|
|
cls: "bi-border-top bi-high-light", |
|
|
|
shadow: true, |
|
|
|
shadow: true, |
|
|
|
text: BI.i18nText("BI-Basic_Clear"), |
|
|
|
text: BI.i18nText("BI-Basic_Clear"), |
|
|
|
listeners: [{ |
|
|
|
listeners: [{ |
|
|
@ -111560,7 +111634,7 @@ BI.extend(BI.DynamicYearQuarterCombo, { |
|
|
|
}, { |
|
|
|
}, { |
|
|
|
type: "bi.text_button", |
|
|
|
type: "bi.text_button", |
|
|
|
forceCenter: true, |
|
|
|
forceCenter: true, |
|
|
|
cls: "bi-border-left bi-border-right bi-high-light bi-border-top toolbar-button", |
|
|
|
cls: "bi-border-left bi-border-right bi-high-light bi-border-top", |
|
|
|
shadow: true, |
|
|
|
shadow: true, |
|
|
|
text: BI.i18nText("BI-Basic_Current_Quarter"), |
|
|
|
text: BI.i18nText("BI-Basic_Current_Quarter"), |
|
|
|
ref: function () { |
|
|
|
ref: function () { |
|
|
@ -111575,7 +111649,7 @@ BI.extend(BI.DynamicYearQuarterCombo, { |
|
|
|
}, { |
|
|
|
}, { |
|
|
|
type: "bi.text_button", |
|
|
|
type: "bi.text_button", |
|
|
|
forceCenter: true, |
|
|
|
forceCenter: true, |
|
|
|
cls: "bi-border-top bi-high-light toolbar-button", |
|
|
|
cls: "bi-border-top bi-high-light", |
|
|
|
shadow: true, |
|
|
|
shadow: true, |
|
|
|
text: BI.i18nText("BI-Basic_OK"), |
|
|
|
text: BI.i18nText("BI-Basic_OK"), |
|
|
|
listeners: [{ |
|
|
|
listeners: [{ |
|
|
|