|
|
@ -79583,12 +79583,21 @@ BI.Arrangement = BI.inherit(BI.Widget, { |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
_renderRegion: function () { |
|
|
|
_renderRegion: function () { |
|
|
|
var self = this; |
|
|
|
var items = BI.toArray(this.regions); |
|
|
|
BI.createWidget({ |
|
|
|
BI.each(items, function (i, item) { |
|
|
|
type: "bi.absolute", |
|
|
|
if (BI.isNotNull(item.el)) { |
|
|
|
element: this.container, |
|
|
|
item.el.options.key = item.id; |
|
|
|
items: BI.toArray(this.regions) |
|
|
|
} else { |
|
|
|
|
|
|
|
item.key = item.id; |
|
|
|
|
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
if (BI.isNull(this.wrapper)) { |
|
|
|
|
|
|
|
this.wrapper = BI.createWidget({ |
|
|
|
|
|
|
|
type: "bi.absolute", |
|
|
|
|
|
|
|
element: this.container |
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
this.wrapper.populate(items); |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
getClientWidth: function () { |
|
|
|
getClientWidth: function () { |
|
|
@ -79880,6 +79889,7 @@ BI.Arrangement = BI.inherit(BI.Widget, { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
return out; |
|
|
|
return out; |
|
|
|
|
|
|
|
|
|
|
|
function getStatics(layout) { |
|
|
|
function getStatics(layout) { |
|
|
|
return BI.filter(layout, function (i, l) { |
|
|
|
return BI.filter(layout, function (i, l) { |
|
|
|
return l._static; |
|
|
|
return l._static; |
|
|
@ -80324,11 +80334,7 @@ BI.Arrangement = BI.inherit(BI.Widget, { |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
populate: function (items) { |
|
|
|
populate: function (items) { |
|
|
|
var self = this; |
|
|
|
this.regions = {}; |
|
|
|
BI.each(this.regions, function (name, region) { |
|
|
|
|
|
|
|
self.regions[name].el.setVisible(false); |
|
|
|
|
|
|
|
delete self.regions[name]; |
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
this._populate(items); |
|
|
|
this._populate(items); |
|
|
|
this._renderRegion(); |
|
|
|
this._renderRegion(); |
|
|
|
} |
|
|
|
} |
|
|
|