|
|
@ -9408,30 +9408,30 @@ jQuery.fn.offset = function( options ) { |
|
|
|
|
|
|
|
|
|
|
|
// If we don't have gBCR, just use 0,0 rather than error
|
|
|
|
// If we don't have gBCR, just use 0,0 rather than error
|
|
|
|
// BlackBerry 5, iOS 3 (original iPhone)
|
|
|
|
// BlackBerry 5, iOS 3 (original iPhone)
|
|
|
|
// if ( typeof elem.getBoundingClientRect !== core_strundefined ) {
|
|
|
|
if ( typeof elem.getBoundingClientRect !== core_strundefined ) { |
|
|
|
// box = elem.getBoundingClientRect();
|
|
|
|
box = elem.getBoundingClientRect(); |
|
|
|
// }
|
|
|
|
} |
|
|
|
// 解决transform下的offset问题
|
|
|
|
// 解决transform下的offset问题(先恢复)
|
|
|
|
var el = elem, |
|
|
|
// var el = elem,
|
|
|
|
offsetLeft = 0, |
|
|
|
// offsetLeft = 0,
|
|
|
|
offsetTop = 0; |
|
|
|
// offsetTop = 0;
|
|
|
|
|
|
|
|
|
|
|
|
do{ |
|
|
|
// do{
|
|
|
|
offsetLeft += el.offsetLeft; |
|
|
|
// offsetLeft += el.offsetLeft;
|
|
|
|
offsetTop += el.offsetTop; |
|
|
|
// offsetTop += el.offsetTop;
|
|
|
|
el = el.offsetParent; |
|
|
|
// el = el.offsetParent;
|
|
|
|
} while( el ); |
|
|
|
// } while( el );
|
|
|
|
|
|
|
|
|
|
|
|
var elm = elem; |
|
|
|
// var elm = elem;
|
|
|
|
do{ |
|
|
|
// do{
|
|
|
|
offsetLeft -= elm.scrollLeft || 0; |
|
|
|
// offsetLeft -= elm.scrollLeft || 0;
|
|
|
|
offsetTop -= elm.scrollTop || 0; |
|
|
|
// offsetTop -= elm.scrollTop || 0;
|
|
|
|
elm = elm.parentNode; |
|
|
|
// elm = elm.parentNode;
|
|
|
|
} while( elm ); |
|
|
|
// } while( elm );
|
|
|
|
win = getWindow( doc ); |
|
|
|
win = getWindow( doc ); |
|
|
|
return { |
|
|
|
return { |
|
|
|
top: offsetTop + ( win.pageYOffset || docElem.scrollTop ) - ( docElem.clientTop || 0 ), |
|
|
|
top: box.top + ( win.pageYOffset || docElem.scrollTop ) - ( docElem.clientTop || 0 ), |
|
|
|
left: offsetLeft + ( win.pageXOffset || docElem.scrollLeft ) - ( docElem.clientLeft || 0 ) |
|
|
|
left: box.left + ( win.pageXOffset || docElem.scrollLeft ) - ( docElem.clientLeft || 0 ) |
|
|
|
}; |
|
|
|
}; |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
@ -58977,7 +58977,7 @@ BI.YearPopup = BI.inherit(BI.Widget, { |
|
|
|
dynamic: true |
|
|
|
dynamic: true |
|
|
|
}, |
|
|
|
}, |
|
|
|
tab: { |
|
|
|
tab: { |
|
|
|
cls: "year-popup-navigation bi-high-light bi-border-top", |
|
|
|
cls: "year-popup-navigation bi-high-light bi-split-top", |
|
|
|
height: 24, |
|
|
|
height: 24, |
|
|
|
items: [backBtn, preBtn] |
|
|
|
items: [backBtn, preBtn] |
|
|
|
}, |
|
|
|
}, |
|
|
@ -62644,7 +62644,7 @@ BI.DynamicDateTimePopup.BUTTON_CLEAR_EVENT_CHANGE = "BUTTON_CLEAR_EVENT_CHANGE"; |
|
|
|
BI.shortcut("bi.dynamic_date_time_popup", BI.DynamicDateTimePopup);BI.DynamicDateTimeSelect = BI.inherit(BI.Widget, { |
|
|
|
BI.shortcut("bi.dynamic_date_time_popup", BI.DynamicDateTimePopup);BI.DynamicDateTimeSelect = BI.inherit(BI.Widget, { |
|
|
|
|
|
|
|
|
|
|
|
props: { |
|
|
|
props: { |
|
|
|
baseCls: "bi-date-time-select bi-border-top" |
|
|
|
baseCls: "bi-date-time-select bi-split-top" |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
render: function () { |
|
|
|
render: function () { |
|
|
@ -77593,7 +77593,7 @@ BI.StaticYearCard = BI.inherit(BI.Widget, { |
|
|
|
}, |
|
|
|
}, |
|
|
|
tab: { |
|
|
|
tab: { |
|
|
|
type: "bi.htape", |
|
|
|
type: "bi.htape", |
|
|
|
cls: "bi-border-top bi-border-bottom", |
|
|
|
cls: "bi-split-top bi-split-bottom", |
|
|
|
height: 30, |
|
|
|
height: 30, |
|
|
|
items: [{ |
|
|
|
items: [{ |
|
|
|
el: { |
|
|
|
el: { |
|
|
@ -77869,7 +77869,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", |
|
|
|
cls: "bi-split-top bi-high-light", |
|
|
|
textHeight: c.buttonHeight - 1, |
|
|
|
textHeight: c.buttonHeight - 1, |
|
|
|
shadow: true, |
|
|
|
shadow: true, |
|
|
|
text: BI.i18nText("BI-Basic_Clear"), |
|
|
|
text: BI.i18nText("BI-Basic_Clear"), |
|
|
@ -77883,7 +77883,7 @@ BI.DynamicYearPopup = BI.inherit(BI.Widget, { |
|
|
|
type: "bi.text_button", |
|
|
|
type: "bi.text_button", |
|
|
|
forceCenter: true, |
|
|
|
forceCenter: true, |
|
|
|
textHeight: c.buttonHeight - 1, |
|
|
|
textHeight: c.buttonHeight - 1, |
|
|
|
cls: "bi-border-left bi-border-right bi-high-light bi-border-top", |
|
|
|
cls: "bi-split-left bi-split-right bi-high-light bi-split-top", |
|
|
|
shadow: true, |
|
|
|
shadow: true, |
|
|
|
text: BI.i18nText("BI-Basic_Current_Year"), |
|
|
|
text: BI.i18nText("BI-Basic_Current_Year"), |
|
|
|
ref: function () { |
|
|
|
ref: function () { |
|
|
@ -77898,7 +77898,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", |
|
|
|
cls: "bi-split-top bi-high-light", |
|
|
|
textHeight: c.buttonHeight - 1, |
|
|
|
textHeight: c.buttonHeight - 1, |
|
|
|
shadow: true, |
|
|
|
shadow: true, |
|
|
|
text: BI.i18nText("BI-Basic_OK"), |
|
|
|
text: BI.i18nText("BI-Basic_OK"), |
|
|
@ -77936,7 +77936,7 @@ BI.DynamicYearPopup = BI.inherit(BI.Widget, { |
|
|
|
}, |
|
|
|
}, |
|
|
|
tab: { |
|
|
|
tab: { |
|
|
|
type: "bi.linear_segment", |
|
|
|
type: "bi.linear_segment", |
|
|
|
cls: "bi-border-bottom", |
|
|
|
cls: "bi-split-bottom", |
|
|
|
height: this.constants.tabHeight, |
|
|
|
height: this.constants.tabHeight, |
|
|
|
items: BI.createItems([{ |
|
|
|
items: BI.createItems([{ |
|
|
|
text: BI.i18nText("BI-Basic_Year_Fen"), |
|
|
|
text: BI.i18nText("BI-Basic_Year_Fen"), |
|
|
@ -78345,7 +78345,7 @@ BI.shortcut("bi.dynamic_year_month_card", BI.DynamicYearMonthCard);BI.StaticYear |
|
|
|
}] |
|
|
|
}] |
|
|
|
}, { |
|
|
|
}, { |
|
|
|
type: "bi.button_group", |
|
|
|
type: "bi.button_group", |
|
|
|
cls: "bi-border-top", |
|
|
|
cls: "bi-split-top", |
|
|
|
behaviors: o.behaviors, |
|
|
|
behaviors: o.behaviors, |
|
|
|
ref: function () { |
|
|
|
ref: function () { |
|
|
|
self.month = this; |
|
|
|
self.month = this; |
|
|
@ -78627,7 +78627,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", |
|
|
|
cls: "bi-split-top bi-high-light", |
|
|
|
textHeight: c.buttonHeight - 1, |
|
|
|
textHeight: c.buttonHeight - 1, |
|
|
|
shadow: true, |
|
|
|
shadow: true, |
|
|
|
text: BI.i18nText("BI-Basic_Clear"), |
|
|
|
text: BI.i18nText("BI-Basic_Clear"), |
|
|
@ -78640,7 +78640,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", |
|
|
|
cls: "bi-split-left bi-split-right bi-high-light bi-split-top", |
|
|
|
textHeight: c.buttonHeight - 1, |
|
|
|
textHeight: c.buttonHeight - 1, |
|
|
|
shadow: true, |
|
|
|
shadow: true, |
|
|
|
text: BI.i18nText("BI-Basic_Current_Month"), |
|
|
|
text: BI.i18nText("BI-Basic_Current_Month"), |
|
|
@ -78656,7 +78656,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", |
|
|
|
cls: "bi-split-top bi-high-light", |
|
|
|
textHeight: c.buttonHeight - 1, |
|
|
|
textHeight: c.buttonHeight - 1, |
|
|
|
shadow: true, |
|
|
|
shadow: true, |
|
|
|
text: BI.i18nText("BI-Basic_OK"), |
|
|
|
text: BI.i18nText("BI-Basic_OK"), |
|
|
@ -78694,7 +78694,7 @@ BI.DynamicYearMonthPopup = BI.inherit(BI.Widget, { |
|
|
|
}, |
|
|
|
}, |
|
|
|
tab: { |
|
|
|
tab: { |
|
|
|
type: "bi.linear_segment", |
|
|
|
type: "bi.linear_segment", |
|
|
|
cls: "bi-border-bottom", |
|
|
|
cls: "bi-split-bottom", |
|
|
|
height: this.constants.tabHeight, |
|
|
|
height: this.constants.tabHeight, |
|
|
|
items: BI.createItems([{ |
|
|
|
items: BI.createItems([{ |
|
|
|
text: BI.i18nText("BI-Basic_Year_Month"), |
|
|
|
text: BI.i18nText("BI-Basic_Year_Month"), |
|
|
@ -79061,7 +79061,7 @@ BI.DynamicYearMonthTrigger.EVENT_STOP = "EVENT_STOP"; |
|
|
|
BI.DynamicYearMonthTrigger.EVENT_KEY_DOWN = "EVENT_KEY_DOWN"; |
|
|
|
BI.DynamicYearMonthTrigger.EVENT_KEY_DOWN = "EVENT_KEY_DOWN"; |
|
|
|
BI.shortcut("bi.dynamic_year_month_trigger", BI.DynamicYearMonthTrigger);BI.YearMonthInterval = BI.inherit(BI.Single, { |
|
|
|
BI.shortcut("bi.dynamic_year_month_trigger", BI.DynamicYearMonthTrigger);BI.YearMonthInterval = BI.inherit(BI.Single, { |
|
|
|
constants: { |
|
|
|
constants: { |
|
|
|
height: 26, |
|
|
|
height: 24, |
|
|
|
width: 25, |
|
|
|
width: 25, |
|
|
|
lgap: 15, |
|
|
|
lgap: 15, |
|
|
|
offset: -15, |
|
|
|
offset: -15, |
|
|
@ -79629,7 +79629,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", |
|
|
|
cls: "bi-split-top bi-high-light", |
|
|
|
shadow: true, |
|
|
|
shadow: true, |
|
|
|
textHeight: c.buttonHeight - 1, |
|
|
|
textHeight: c.buttonHeight - 1, |
|
|
|
text: BI.i18nText("BI-Basic_Clear"), |
|
|
|
text: BI.i18nText("BI-Basic_Clear"), |
|
|
@ -79642,7 +79642,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", |
|
|
|
cls: "bi-split-left bi-split-right bi-high-light bi-split-top", |
|
|
|
textHeight: c.buttonHeight - 1, |
|
|
|
textHeight: c.buttonHeight - 1, |
|
|
|
shadow: true, |
|
|
|
shadow: true, |
|
|
|
text: BI.i18nText("BI-Basic_Current_Quarter"), |
|
|
|
text: BI.i18nText("BI-Basic_Current_Quarter"), |
|
|
@ -79658,7 +79658,7 @@ BI.extend(BI.DynamicYearQuarterCombo, { |
|
|
|
}, { |
|
|
|
}, { |
|
|
|
type: "bi.text_button", |
|
|
|
type: "bi.text_button", |
|
|
|
forceCenter: true, |
|
|
|
forceCenter: true, |
|
|
|
cls: "bi-border-top bi-high-light", |
|
|
|
cls: "bi-split-top bi-high-light", |
|
|
|
shadow: true, |
|
|
|
shadow: true, |
|
|
|
textHeight: c.buttonHeight - 1, |
|
|
|
textHeight: c.buttonHeight - 1, |
|
|
|
text: BI.i18nText("BI-Basic_OK"), |
|
|
|
text: BI.i18nText("BI-Basic_OK"), |
|
|
@ -79696,7 +79696,7 @@ BI.extend(BI.DynamicYearQuarterCombo, { |
|
|
|
}, |
|
|
|
}, |
|
|
|
tab: { |
|
|
|
tab: { |
|
|
|
type: "bi.linear_segment", |
|
|
|
type: "bi.linear_segment", |
|
|
|
cls: "bi-border-bottom", |
|
|
|
cls: "bi-split-bottom", |
|
|
|
height: this.constants.tabHeight, |
|
|
|
height: this.constants.tabHeight, |
|
|
|
items: BI.createItems([{ |
|
|
|
items: BI.createItems([{ |
|
|
|
text: BI.i18nText("BI-Basic_Year_Quarter"), |
|
|
|
text: BI.i18nText("BI-Basic_Year_Quarter"), |
|
|
|