|
|
|
@ -6,21 +6,23 @@
|
|
|
|
|
* @extends BI.Widget |
|
|
|
|
* @abstract |
|
|
|
|
*/ |
|
|
|
|
import { shortcut } from "../core/decorator"; |
|
|
|
|
import { Widget, shortcut } from "../core"; |
|
|
|
|
|
|
|
|
|
@shortcut() |
|
|
|
|
export class Pane extends BI.Widget { |
|
|
|
|
export default class Pane extends Widget { |
|
|
|
|
static xtype = "bi.pane"; |
|
|
|
|
static EVENT_LOADED = "EVENT_LOADED"; |
|
|
|
|
static EVENT_LOADING = "EVENT_LOADING"; |
|
|
|
|
|
|
|
|
|
props = { |
|
|
|
|
_baseCls: "bi-pane", |
|
|
|
|
tipText: BI.i18nText("BI-No_Selected_Item"), |
|
|
|
|
loadingText: "", |
|
|
|
|
loadingSize: "small", |
|
|
|
|
overlap: true, |
|
|
|
|
onLoaded: BI.emptyFn, |
|
|
|
|
_defaultConfig() { |
|
|
|
|
return BI.extend(super._defaultConfig(), { |
|
|
|
|
_baseCls: "bi-pane", |
|
|
|
|
tipText: BI.i18nText("BI-No_Selected_Item"), |
|
|
|
|
loadingText: "", |
|
|
|
|
loadingSize: "small", |
|
|
|
|
overlap: true, |
|
|
|
|
onLoaded: BI.emptyFn, |
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
_assertTip() { |
|
|
|
@ -129,5 +131,3 @@ export class Pane extends BI.Widget {
|
|
|
|
|
this.check(); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
BI.extend(BI, { Pane }); |
|
|
|
|