|
|
@ -19357,17 +19357,17 @@ BI.Layout = BI.inherit(BI.Widget, { |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
addItem: function (item) { |
|
|
|
addItem: function (item) { |
|
|
|
var w = this._addElement(this.options.items.length, item); |
|
|
|
var w = this._addElement(this.options.items.length, item); |
|
|
|
w._mount(); |
|
|
|
|
|
|
|
this.options.items.push(item); |
|
|
|
this.options.items.push(item); |
|
|
|
w.element.appendTo(this.element); |
|
|
|
w.element.appendTo(this.element); |
|
|
|
|
|
|
|
w._mount(); |
|
|
|
return w; |
|
|
|
return w; |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
prependItem: function (item) { |
|
|
|
prependItem: function (item) { |
|
|
|
var w = this._addElement(this.options.items.length, item); |
|
|
|
var w = this._addElement(this.options.items.length, item); |
|
|
|
w._mount(); |
|
|
|
|
|
|
|
this.options.items.unshift(item); |
|
|
|
this.options.items.unshift(item); |
|
|
|
w.element.prependTo(this.element); |
|
|
|
w.element.prependTo(this.element); |
|
|
|
|
|
|
|
w._mount(); |
|
|
|
return w; |
|
|
|
return w; |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
@ -19379,10 +19379,10 @@ BI.Layout = BI.inherit(BI.Widget, { |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
prependItems: function (items) { |
|
|
|
prependItems: function (items) { |
|
|
|
var self = this; |
|
|
|
items = items || []; |
|
|
|
BI.each(items, function (i, item) { |
|
|
|
for (var i = items.length - 1; i >= 0; i--) { |
|
|
|
self.prependItem(item); |
|
|
|
this.prependItem(items[i]); |
|
|
|
}) |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
getValue: function () { |
|
|
|
getValue: function () { |
|
|
@ -25051,9 +25051,17 @@ BI.CenterAdaptLayout = BI.inherit(BI.Layout, { |
|
|
|
|
|
|
|
|
|
|
|
addItem: function (item) { |
|
|
|
addItem: function (item) { |
|
|
|
var w = this._addElement(this.options.items.length, item); |
|
|
|
var w = this._addElement(this.options.items.length, item); |
|
|
|
w._mount(); |
|
|
|
|
|
|
|
this.options.items.push(item); |
|
|
|
this.options.items.push(item); |
|
|
|
w.element.appendTo(this.$tr); |
|
|
|
w.element.appendTo(this.$tr); |
|
|
|
|
|
|
|
w._mount(); |
|
|
|
|
|
|
|
return w; |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
prependItem: function (item) { |
|
|
|
|
|
|
|
var w = this._addElement(this.options.items.length, item); |
|
|
|
|
|
|
|
this.options.items.unshift(item); |
|
|
|
|
|
|
|
w.element.appendTo(this.$tr); |
|
|
|
|
|
|
|
w._mount(); |
|
|
|
return w; |
|
|
|
return w; |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
@ -25172,9 +25180,17 @@ BI.HorizontalAdaptLayout = BI.inherit(BI.Layout, { |
|
|
|
|
|
|
|
|
|
|
|
addItem: function (item) { |
|
|
|
addItem: function (item) { |
|
|
|
var w = this._addElement(this.options.items.length, item); |
|
|
|
var w = this._addElement(this.options.items.length, item); |
|
|
|
w._mount(); |
|
|
|
|
|
|
|
this.options.items.push(item); |
|
|
|
this.options.items.push(item); |
|
|
|
w.element.appendTo(this.$tr); |
|
|
|
w.element.appendTo(this.$tr); |
|
|
|
|
|
|
|
w._mount(); |
|
|
|
|
|
|
|
return w; |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
prependItem: function (item) { |
|
|
|
|
|
|
|
var w = this._addElement(this.options.items.length, item); |
|
|
|
|
|
|
|
this.options.items.unshift(item); |
|
|
|
|
|
|
|
w.element.appendTo(this.$tr); |
|
|
|
|
|
|
|
w._mount(); |
|
|
|
return w; |
|
|
|
return w; |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
@ -25459,9 +25475,17 @@ BI.VerticalAdaptLayout = BI.inherit(BI.Layout, { |
|
|
|
|
|
|
|
|
|
|
|
addItem: function (item) { |
|
|
|
addItem: function (item) { |
|
|
|
var w = this._addElement(this.options.items.length, item); |
|
|
|
var w = this._addElement(this.options.items.length, item); |
|
|
|
w._mount(); |
|
|
|
|
|
|
|
this.options.items.push(item); |
|
|
|
this.options.items.push(item); |
|
|
|
w.element.appendTo(this.$tr); |
|
|
|
w.element.appendTo(this.$tr); |
|
|
|
|
|
|
|
w._mount(); |
|
|
|
|
|
|
|
return w; |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
prependItem: function (item) { |
|
|
|
|
|
|
|
var w = this._addElement(this.options.items.length, item); |
|
|
|
|
|
|
|
this.options.items.unshift(item); |
|
|
|
|
|
|
|
w.element.appendTo(this.$tr); |
|
|
|
|
|
|
|
w._mount(); |
|
|
|
return w; |
|
|
|
return w; |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
@ -26041,9 +26065,17 @@ BI.FlexCenterLayout = BI.inherit(BI.Layout, { |
|
|
|
|
|
|
|
|
|
|
|
addItem: function (item) { |
|
|
|
addItem: function (item) { |
|
|
|
var w = this._addElement(this.options.items.length, item); |
|
|
|
var w = this._addElement(this.options.items.length, item); |
|
|
|
w._mount(); |
|
|
|
|
|
|
|
this.options.items.push(item); |
|
|
|
this.options.items.push(item); |
|
|
|
w.element.appendTo(this.$wrapper); |
|
|
|
w.element.appendTo(this.$wrapper); |
|
|
|
|
|
|
|
w._mount(); |
|
|
|
|
|
|
|
return w; |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
prependItem: function (item) { |
|
|
|
|
|
|
|
var w = this._addElement(this.options.items.length, item); |
|
|
|
|
|
|
|
this.options.items.unshift(item); |
|
|
|
|
|
|
|
w.element.appendTo(this.$wrapper); |
|
|
|
|
|
|
|
w._mount(); |
|
|
|
return w; |
|
|
|
return w; |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
@ -26130,9 +26162,17 @@ BI.FlexHorizontalLayout = BI.inherit(BI.Layout, { |
|
|
|
|
|
|
|
|
|
|
|
addItem: function (item) { |
|
|
|
addItem: function (item) { |
|
|
|
var w = this._addElement(this.options.items.length, item); |
|
|
|
var w = this._addElement(this.options.items.length, item); |
|
|
|
w._mount(); |
|
|
|
|
|
|
|
this.options.items.push(item); |
|
|
|
this.options.items.push(item); |
|
|
|
w.element.appendTo(this.$wrapper); |
|
|
|
w.element.appendTo(this.$wrapper); |
|
|
|
|
|
|
|
w._mount(); |
|
|
|
|
|
|
|
return w; |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
prependItem: function (item) { |
|
|
|
|
|
|
|
var w = this._addElement(this.options.items.length, item); |
|
|
|
|
|
|
|
this.options.items.unshift(item); |
|
|
|
|
|
|
|
w.element.appendTo(this.$wrapper); |
|
|
|
|
|
|
|
w._mount(); |
|
|
|
return w; |
|
|
|
return w; |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
@ -26219,6 +26259,15 @@ BI.FlexVerticalCenter = BI.inherit(BI.Layout, { |
|
|
|
var w = this._addElement(this.options.items.length, item); |
|
|
|
var w = this._addElement(this.options.items.length, item); |
|
|
|
this.options.items.push(item); |
|
|
|
this.options.items.push(item); |
|
|
|
w.element.appendTo(this.$wrapper); |
|
|
|
w.element.appendTo(this.$wrapper); |
|
|
|
|
|
|
|
w._mount(); |
|
|
|
|
|
|
|
return w; |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
prependItem: function (item) { |
|
|
|
|
|
|
|
var w = this._addElement(this.options.items.length, item); |
|
|
|
|
|
|
|
this.options.items.unshift(item); |
|
|
|
|
|
|
|
w.element.appendTo(this.$wrapper); |
|
|
|
|
|
|
|
w._mount(); |
|
|
|
return w; |
|
|
|
return w; |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|