first commit

This commit is contained in:
CHIEFSOFT\ameye
2024-09-30 18:11:26 -04:00
commit e592ca6823
27270 changed files with 5002257 additions and 0 deletions
@@ -0,0 +1,49 @@
YUI.add('widget-base-ie', function (Y, NAME) {
/**
* IE specific support for the widget-base module.
*
* @module widget-base-ie
*/
var BOUNDING_BOX = "boundingBox",
CONTENT_BOX = "contentBox",
HEIGHT = "height",
OFFSET_HEIGHT = "offsetHeight",
EMPTY_STR = "",
IE = Y.UA.ie,
heightReallyMinHeight = IE < 7,
bbTempExpanding = Y.Widget.getClassName("tmp", "forcesize"),
contentExpanded = Y.Widget.getClassName("content", "expanded");
// TODO: Ideally we want to re-use the base _uiSizeCB impl
Y.Widget.prototype._uiSizeCB = function(expand) {
var bb = this.get(BOUNDING_BOX),
cb = this.get(CONTENT_BOX),
borderBoxSupported = this._bbs;
if (borderBoxSupported === undefined) {
this._bbs = borderBoxSupported = !(IE && IE < 8 && bb.get("ownerDocument").get("compatMode") != "BackCompat");
}
if (borderBoxSupported) {
cb.toggleClass(contentExpanded, expand);
} else {
if (expand) {
if (heightReallyMinHeight) {
bb.addClass(bbTempExpanding);
}
cb.set(OFFSET_HEIGHT, bb.get(OFFSET_HEIGHT));
if (heightReallyMinHeight) {
bb.removeClass(bbTempExpanding);
}
} else {
cb.setStyle(HEIGHT, EMPTY_STR);
}
}
};
}, '3.18.1', {"requires": ["widget-base"]});
@@ -0,0 +1 @@
YUI.add("widget-base-ie",function(e,t){var n="boundingBox",r="contentBox",i="height",s="offsetHeight",o="",u=e.UA.ie,a=u<7,f=e.Widget.getClassName("tmp","forcesize"),l=e.Widget.getClassName("content","expanded");e.Widget.prototype._uiSizeCB=function(e){var t=this.get(n),c=this.get(r),h=this._bbs;h===undefined&&(this._bbs=h=!(u&&u<8&&t.get("ownerDocument").get("compatMode")!="BackCompat")),h?c.toggleClass(l,e):e?(a&&t.addClass(f),c.set(s,t.get(s)),a&&t.removeClass(f)):c.setStyle(i,o)}},"3.18.1",{requires:["widget-base"]});
@@ -0,0 +1,49 @@
YUI.add('widget-base-ie', function (Y, NAME) {
/**
* IE specific support for the widget-base module.
*
* @module widget-base-ie
*/
var BOUNDING_BOX = "boundingBox",
CONTENT_BOX = "contentBox",
HEIGHT = "height",
OFFSET_HEIGHT = "offsetHeight",
EMPTY_STR = "",
IE = Y.UA.ie,
heightReallyMinHeight = IE < 7,
bbTempExpanding = Y.Widget.getClassName("tmp", "forcesize"),
contentExpanded = Y.Widget.getClassName("content", "expanded");
// TODO: Ideally we want to re-use the base _uiSizeCB impl
Y.Widget.prototype._uiSizeCB = function(expand) {
var bb = this.get(BOUNDING_BOX),
cb = this.get(CONTENT_BOX),
borderBoxSupported = this._bbs;
if (borderBoxSupported === undefined) {
this._bbs = borderBoxSupported = !(IE && IE < 8 && bb.get("ownerDocument").get("compatMode") != "BackCompat");
}
if (borderBoxSupported) {
cb.toggleClass(contentExpanded, expand);
} else {
if (expand) {
if (heightReallyMinHeight) {
bb.addClass(bbTempExpanding);
}
cb.set(OFFSET_HEIGHT, bb.get(OFFSET_HEIGHT));
if (heightReallyMinHeight) {
bb.removeClass(bbTempExpanding);
}
} else {
cb.setStyle(HEIGHT, EMPTY_STR);
}
}
};
}, '3.18.1', {"requires": ["widget-base"]});