|
|
@ -24339,6 +24339,10 @@ BI.Layout = BI.inherit(BI.Widget, { |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
appendFragment: function (frag) { |
|
|
|
|
|
|
|
this.element.append(frag); |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
_mountChildren: function () { |
|
|
|
_mountChildren: function () { |
|
|
|
var self = this; |
|
|
|
var self = this; |
|
|
|
var frag = document.createDocumentFragment(); |
|
|
|
var frag = document.createDocumentFragment(); |
|
|
@ -24350,7 +24354,7 @@ BI.Layout = BI.inherit(BI.Widget, { |
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
|
if (hasChild === true) { |
|
|
|
if (hasChild === true) { |
|
|
|
this.element.append(frag); |
|
|
|
this.appendFragment(frag); |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
@ -30276,20 +30280,9 @@ BI.CenterAdaptLayout = BI.inherit(BI.Layout, { |
|
|
|
return td; |
|
|
|
return td; |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
_mountChildren: function () { |
|
|
|
appendFragment: function (frag) { |
|
|
|
var self = this; |
|
|
|
this.$tr.append(frag); |
|
|
|
var frag = document.createDocumentFragment(); |
|
|
|
this.element.append(this.$table); |
|
|
|
var hasChild = false; |
|
|
|
|
|
|
|
BI.each(this._children, function (i, widget) { |
|
|
|
|
|
|
|
if (widget.element !== self.element) { |
|
|
|
|
|
|
|
frag.appendChild(widget.element[0]); |
|
|
|
|
|
|
|
hasChild = true; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
if (hasChild === true) { |
|
|
|
|
|
|
|
this.$tr.append(frag); |
|
|
|
|
|
|
|
this.element.append(this.$table); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
resize: function () { |
|
|
|
resize: function () { |
|
|
@ -30393,20 +30386,9 @@ BI.HorizontalAdaptLayout = BI.inherit(BI.Layout, { |
|
|
|
return td; |
|
|
|
return td; |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
_mountChildren: function () { |
|
|
|
appendFragment: function (frag) { |
|
|
|
var self = this; |
|
|
|
this.$tr.append(frag); |
|
|
|
var frag = document.createDocumentFragment(); |
|
|
|
this.element.append(this.$table); |
|
|
|
var hasChild = false; |
|
|
|
|
|
|
|
BI.each(this._children, function (i, widget) { |
|
|
|
|
|
|
|
if (widget.element !== self.element) { |
|
|
|
|
|
|
|
frag.appendChild(widget.element[0]); |
|
|
|
|
|
|
|
hasChild = true; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
if (hasChild === true) { |
|
|
|
|
|
|
|
this.$tr.append(frag); |
|
|
|
|
|
|
|
this.element.append(this.$table); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
resize: function () { |
|
|
|
resize: function () { |
|
|
@ -30683,20 +30665,9 @@ BI.VerticalAdaptLayout = BI.inherit(BI.Layout, { |
|
|
|
return td; |
|
|
|
return td; |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
_mountChildren: function () { |
|
|
|
appendFragment: function (frag) { |
|
|
|
var self = this; |
|
|
|
this.$tr.append(frag); |
|
|
|
var frag = document.createDocumentFragment(); |
|
|
|
this.element.append(this.$table); |
|
|
|
var hasChild = false; |
|
|
|
|
|
|
|
BI.each(this._children, function (i, widget) { |
|
|
|
|
|
|
|
if (widget.element !== self.element) { |
|
|
|
|
|
|
|
frag.appendChild(widget.element[0]); |
|
|
|
|
|
|
|
hasChild = true; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
if (hasChild === true) { |
|
|
|
|
|
|
|
this.$tr.append(frag); |
|
|
|
|
|
|
|
this.element.append(this.$table); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
_getWrapper: function () { |
|
|
|
_getWrapper: function () { |
|
|
@ -31277,20 +31248,9 @@ BI.FlexCenterLayout = BI.inherit(BI.Layout, { |
|
|
|
return w; |
|
|
|
return w; |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
_mountChildren: function () { |
|
|
|
appendFragment: function (frag) { |
|
|
|
var self = this; |
|
|
|
this.$wrapper.append(frag); |
|
|
|
var frag = document.createDocumentFragment(); |
|
|
|
this.element.append(this.$wrapper); |
|
|
|
var hasChild = false; |
|
|
|
|
|
|
|
BI.each(this._children, function (i, widget) { |
|
|
|
|
|
|
|
if (widget.element !== self.element) { |
|
|
|
|
|
|
|
frag.appendChild(widget.element[0]); |
|
|
|
|
|
|
|
hasChild = true; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
if (hasChild === true) { |
|
|
|
|
|
|
|
this.$wrapper.append(frag); |
|
|
|
|
|
|
|
this.element.append(this.$wrapper); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
_getWrapper: function () { |
|
|
|
_getWrapper: function () { |
|
|
@ -31362,20 +31322,9 @@ BI.FlexHorizontalLayout = BI.inherit(BI.Layout, { |
|
|
|
return w; |
|
|
|
return w; |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
_mountChildren: function () { |
|
|
|
appendFragment: function (frag) { |
|
|
|
var self = this; |
|
|
|
this.$wrapper.append(frag); |
|
|
|
var frag = document.createDocumentFragment(); |
|
|
|
this.element.append(this.$wrapper); |
|
|
|
var hasChild = false; |
|
|
|
|
|
|
|
BI.each(this._children, function (i, widget) { |
|
|
|
|
|
|
|
if (widget.element !== self.element) { |
|
|
|
|
|
|
|
frag.appendChild(widget.element[0]); |
|
|
|
|
|
|
|
hasChild = true; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
if (hasChild === true) { |
|
|
|
|
|
|
|
this.$wrapper.append(frag); |
|
|
|
|
|
|
|
this.element.append(this.$wrapper); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
_getWrapper: function () { |
|
|
|
_getWrapper: function () { |
|
|
@ -31447,20 +31396,9 @@ BI.FlexVerticalCenter = BI.inherit(BI.Layout, { |
|
|
|
return w; |
|
|
|
return w; |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
_mountChildren: function () { |
|
|
|
appendFragment: function (frag) { |
|
|
|
var self = this; |
|
|
|
this.$wrapper.append(frag); |
|
|
|
var frag = document.createDocumentFragment(); |
|
|
|
this.element.append(this.$wrapper); |
|
|
|
var hasChild = false; |
|
|
|
|
|
|
|
BI.each(this._children, function (i, widget) { |
|
|
|
|
|
|
|
if (widget.element !== self.element) { |
|
|
|
|
|
|
|
frag.appendChild(widget.element[0]); |
|
|
|
|
|
|
|
hasChild = true; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
if (hasChild === true) { |
|
|
|
|
|
|
|
this.$wrapper.append(frag); |
|
|
|
|
|
|
|
this.element.append(this.$wrapper); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
_getWrapper: function () { |
|
|
|
_getWrapper: function () { |
|
|
@ -32590,23 +32528,11 @@ BI.HorizontalLayout = BI.inherit(BI.Layout, { |
|
|
|
return td; |
|
|
|
return td; |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
_mountChildren: function () { |
|
|
|
appendFragment: function (frag) { |
|
|
|
var self = this; |
|
|
|
this.$tr.append(frag); |
|
|
|
var frag = document.createDocumentFragment(); |
|
|
|
this.element.append(this.$table); |
|
|
|
var hasChild = false; |
|
|
|
|
|
|
|
BI.each(this._children, function (i, widget) { |
|
|
|
|
|
|
|
if (widget.element !== self.element) { |
|
|
|
|
|
|
|
frag.appendChild(widget.element[0]); |
|
|
|
|
|
|
|
hasChild = true; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
if (hasChild === true) { |
|
|
|
|
|
|
|
this.$tr.append(frag); |
|
|
|
|
|
|
|
this.element.append(this.$table); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
resize: function () { |
|
|
|
resize: function () { |
|
|
|
// console.log("horizontal layout do not need to resize");
|
|
|
|
// console.log("horizontal layout do not need to resize");
|
|
|
|
}, |
|
|
|
}, |
|
|
@ -33273,20 +33199,9 @@ BI.TdLayout = BI.inherit(BI.Layout, { |
|
|
|
return tr; |
|
|
|
return tr; |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
_mountChildren: function () { |
|
|
|
appendFragment: function (frag) { |
|
|
|
var self = this; |
|
|
|
this.$table.append(frag); |
|
|
|
var frag = document.createDocumentFragment(); |
|
|
|
this.element.append(this.$table); |
|
|
|
var hasChild = false; |
|
|
|
|
|
|
|
BI.each(this._children, function (i, widget) { |
|
|
|
|
|
|
|
if (widget.element !== self.element) { |
|
|
|
|
|
|
|
frag.appendChild(widget.element[0]); |
|
|
|
|
|
|
|
hasChild = true; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
if (hasChild === true) { |
|
|
|
|
|
|
|
this.$table.append(frag); |
|
|
|
|
|
|
|
this.element.append(this.$table); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
resize: function () { |
|
|
|
resize: function () { |
|
|
|