import v1.1.0_beta1 | 2009-08-21

This commit is contained in:
2019-07-17 22:16:19 +02:00
parent 2c1152f0d3
commit 8dee6b1a10
2306 changed files with 251360 additions and 23428 deletions

View File

@ -1,8 +1,8 @@
/*
Copyright (c) 2008, Yahoo! Inc. All rights reserved.
Copyright (c) 2009, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 2.6.0
version: 2.7.0
*/
.yui-layout-loading {
visibility: hidden;

View File

@ -1,8 +1,8 @@
/*
Copyright (c) 2008, Yahoo! Inc. All rights reserved.
Copyright (c) 2009, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 2.6.0
version: 2.7.0
*/
/* Remove the dotted border on the resize proxy */
.yui-skin-sam .yui-layout .yui-resize-proxy {

File diff suppressed because one or more lines are too long

View File

@ -1,15 +1,14 @@
/*
Copyright (c) 2008, Yahoo! Inc. All rights reserved.
Copyright (c) 2009, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 2.6.0
version: 2.7.0
*/
/**
* @description <p>Provides a fixed layout containing, top, bottom, left, right and center layout units. It can be applied to either the body or an element.</p>
* @namespace YAHOO.widget
* @requires yahoo, dom, element, event
* @module layout
* @beta
*/
(function() {
var Dom = YAHOO.util.Dom,
@ -87,7 +86,7 @@ version: 2.6.0
* @description An object literal that contains a list of units in the layout
* @type Object
*/
_rendered: null,
_units: null,
/**
* @private
* @property _rendered
@ -659,7 +658,7 @@ version: 2.6.0
*/
/**
* @event beforeResize
* @description Firef at the beginning of the resize method. If you return false, the resize is cancelled.
* @description Fires at the beginning of the resize method. If you return false, the resize is cancelled.
* @type YAHOO.util.CustomEvent
*/
/**
@ -675,7 +674,6 @@ version: 2.6.0
* @namespace YAHOO.widget
* @requires yahoo, dom, element, event, layout
* @optional animation, dragdrop, selector
* @beta
*/
(function() {
var Dom = YAHOO.util.Dom,
@ -943,6 +941,9 @@ version: 2.6.0
var b = this._getBorderSizes(el);
w = (w - (b[1] + b[3]));
w = this._fixQuirks(el, w, 'w');
if (w < 0) {
w = 0;
}
Dom.setStyle(el, 'width', w + 'px');
}
return w;
@ -960,6 +961,9 @@ version: 2.6.0
var b = this._getBorderSizes(el);
h = (h - (b[0] + b[2]));
h = this._fixQuirks(el, h, 'h');
if (h < 0) {
h = 0;
}
Dom.setStyle(el, 'height', h + 'px');
}
return h;
@ -1573,6 +1577,9 @@ version: 2.6.0
validator: Lang.isNumber,
method: function(h) {
if (!this._collapsing) {
if (h < 0) {
h = 0;
}
this.setStyle('height', h + 'px');
}
}
@ -1588,6 +1595,9 @@ version: 2.6.0
validator: Lang.isNumber,
method: function(w) {
if (!this._collapsing) {
if (w < 0) {
w = 0;
}
this.setStyle('width', w + 'px');
}
}
@ -2029,6 +2039,7 @@ version: 2.6.0
this.get('parent').fireEvent('startResize');
var c = this.get('parent').getUnitByPosition('center');
this._lastCenterScroll = c.get('scroll');
c.addClass(this._resize.CSS_RESIZING);
c.set('scroll', false);
}
this.fireEvent('startResize');
@ -2042,6 +2053,7 @@ version: 2.6.0
if (this.get('parent')) {
var c = this.get('parent').getUnitByPosition('center');
c.set('scroll', this._lastCenterScroll);
c.removeClass(this._resize.CSS_RESIZING);
}
this.resize();
this.fireEvent('endResize');
@ -2195,7 +2207,7 @@ version: 2.6.0
*/
/**
* @event beforeResize
* @description Firef at the beginning of the resize method. If you return false, the resize is cancelled.
* @description Fired at the beginning of the resize method. If you return false, the resize is cancelled.
* @type YAHOO.util.CustomEvent
*/
/**
@ -2242,4 +2254,4 @@ version: 2.6.0
YAHOO.widget.LayoutUnit = LayoutUnit;
})();
YAHOO.register("layout", YAHOO.widget.Layout, {version: "2.6.0", build: "1321"});
YAHOO.register("layout", YAHOO.widget.Layout, {version: "2.7.0", build: "1799"});

File diff suppressed because one or more lines are too long

View File

@ -1,15 +1,14 @@
/*
Copyright (c) 2008, Yahoo! Inc. All rights reserved.
Copyright (c) 2009, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 2.6.0
version: 2.7.0
*/
/**
* @description <p>Provides a fixed layout containing, top, bottom, left, right and center layout units. It can be applied to either the body or an element.</p>
* @namespace YAHOO.widget
* @requires yahoo, dom, element, event
* @module layout
* @beta
*/
(function() {
var Dom = YAHOO.util.Dom,
@ -86,7 +85,7 @@ version: 2.6.0
* @description An object literal that contains a list of units in the layout
* @type Object
*/
_rendered: null,
_units: null,
/**
* @private
* @property _rendered
@ -649,7 +648,7 @@ version: 2.6.0
*/
/**
* @event beforeResize
* @description Firef at the beginning of the resize method. If you return false, the resize is cancelled.
* @description Fires at the beginning of the resize method. If you return false, the resize is cancelled.
* @type YAHOO.util.CustomEvent
*/
/**
@ -665,7 +664,6 @@ version: 2.6.0
* @namespace YAHOO.widget
* @requires yahoo, dom, element, event, layout
* @optional animation, dragdrop, selector
* @beta
*/
(function() {
var Dom = YAHOO.util.Dom,
@ -932,6 +930,9 @@ version: 2.6.0
var b = this._getBorderSizes(el);
w = (w - (b[1] + b[3]));
w = this._fixQuirks(el, w, 'w');
if (w < 0) {
w = 0;
}
Dom.setStyle(el, 'width', w + 'px');
}
return w;
@ -949,6 +950,9 @@ version: 2.6.0
var b = this._getBorderSizes(el);
h = (h - (b[0] + b[2]));
h = this._fixQuirks(el, h, 'h');
if (h < 0) {
h = 0;
}
Dom.setStyle(el, 'height', h + 'px');
}
return h;
@ -1561,6 +1565,9 @@ version: 2.6.0
validator: Lang.isNumber,
method: function(h) {
if (!this._collapsing) {
if (h < 0) {
h = 0;
}
this.setStyle('height', h + 'px');
}
}
@ -1576,6 +1583,9 @@ version: 2.6.0
validator: Lang.isNumber,
method: function(w) {
if (!this._collapsing) {
if (w < 0) {
w = 0;
}
this.setStyle('width', w + 'px');
}
}
@ -2014,6 +2024,7 @@ version: 2.6.0
this.get('parent').fireEvent('startResize');
var c = this.get('parent').getUnitByPosition('center');
this._lastCenterScroll = c.get('scroll');
c.addClass(this._resize.CSS_RESIZING);
c.set('scroll', false);
}
this.fireEvent('startResize');
@ -2027,6 +2038,7 @@ version: 2.6.0
if (this.get('parent')) {
var c = this.get('parent').getUnitByPosition('center');
c.set('scroll', this._lastCenterScroll);
c.removeClass(this._resize.CSS_RESIZING);
}
this.resize();
this.fireEvent('endResize');
@ -2180,7 +2192,7 @@ version: 2.6.0
*/
/**
* @event beforeResize
* @description Firef at the beginning of the resize method. If you return false, the resize is cancelled.
* @description Fired at the beginning of the resize method. If you return false, the resize is cancelled.
* @type YAHOO.util.CustomEvent
*/
/**
@ -2227,4 +2239,4 @@ version: 2.6.0
YAHOO.widget.LayoutUnit = LayoutUnit;
})();
YAHOO.register("layout", YAHOO.widget.Layout, {version: "2.6.0", build: "1321"});
YAHOO.register("layout", YAHOO.widget.Layout, {version: "2.7.0", build: "1799"});