|
|
@ -40,30 +40,8 @@ BI.Pane = BI.inherit(BI.Widget, { |
|
|
|
|
|
|
|
|
|
|
|
loading: function () { |
|
|
|
loading: function () { |
|
|
|
var self = this, o = this.options; |
|
|
|
var self = this, o = this.options; |
|
|
|
var isIE = BI.isIE(); |
|
|
|
var loadingAnimation = BI.Providers.getProvider("bi.provider.system").getLoading({
|
|
|
|
var loadingAnimation = BI.createWidget({ |
|
|
|
loadingSize: o.loadingSize |
|
|
|
type: "bi.horizontal", |
|
|
|
|
|
|
|
cls: "bi-loading-widget" + (isIE ? " wave-loading hack" : ""), |
|
|
|
|
|
|
|
height: this._getSize(60), |
|
|
|
|
|
|
|
width: this._getSize(60), |
|
|
|
|
|
|
|
hgap: this._getSize(10), |
|
|
|
|
|
|
|
vgap: 2.5, |
|
|
|
|
|
|
|
items: isIE ? [] : [{ |
|
|
|
|
|
|
|
type: "bi.layout", |
|
|
|
|
|
|
|
cls: "animate-rect rect1", |
|
|
|
|
|
|
|
height: this._getSize(50), |
|
|
|
|
|
|
|
width: this._getSize(5) |
|
|
|
|
|
|
|
}, { |
|
|
|
|
|
|
|
type: "bi.layout", |
|
|
|
|
|
|
|
cls: "animate-rect rect2", |
|
|
|
|
|
|
|
height: this._getSize(50), |
|
|
|
|
|
|
|
width: this._getSize(5) |
|
|
|
|
|
|
|
}, { |
|
|
|
|
|
|
|
type: "bi.layout", |
|
|
|
|
|
|
|
cls: "animate-rect rect3", |
|
|
|
|
|
|
|
height: this._getSize(50), |
|
|
|
|
|
|
|
width: this._getSize(5) |
|
|
|
|
|
|
|
}] |
|
|
|
|
|
|
|
}); |
|
|
|
}); |
|
|
|
// pane在同步方式下由items决定tipText的显示与否
|
|
|
|
// pane在同步方式下由items决定tipText的显示与否
|
|
|
|
// loading的异步情况下由loaded后对面板的populate的时机决定
|
|
|
|
// loading的异步情况下由loaded后对面板的populate的时机决定
|
|
|
|