_zf2.js 3.8 KB

123456
  1. // Licensed Materials - Property of IBM
  2. // IBM Cognos Products: irot
  3. // (C) Copyright IBM Corp. 2003, 2022.
  4. // US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  5. function _zf2(_uc3, _pe4, _vl7, _a45){_zf2.baseConstructor.call(this, _pe4, _vl7);this._nu7=[];this._h73=_uc3;this._5t4=this._d04(this._h73);this._h73.setAttribute( "cellPadding", "0" );this._h73.setAttribute( "cellSpacing", "0" );this._h73._b84=this;this._dv4=(typeof _a45=="undefined")?null:_a45;this._6c1=true;this._f64=false;this._lo2=false;};_9t7._v88(_zf2, _1k4);_zf2.prototype._lp8=function(){while(this._nu7.length>0){var _dj8=this._nu7.pop();_dj8.remove();}this._h73._b84=null;this._h73.removeChild(this._h73.firstChild);};_zf2.prototype._zz2=function(_p28,_kx8,_5w6){_p28.addEventListener(_kx8, _5w6);this._nu7.push({remove: function(){ _p28.removeEventListener(_kx8, _5w6); }});};_zf2.prototype._yk2=function(){_zf2.superClass._yk2.call(this);if(this._j74.getAttribute("renderAdornmentsCell")){this._6c1=( this._j74.getAttribute( "renderAdornmentsCell" )=="false"?false:true );}if(this._j74.getAttribute("restrictInput")){this._f64=( this._j74.getAttribute( "restrictInput" )=="true" );}if(this._j74.getAttribute("useValueEncoding")){this._lo2=( this._j74.getAttribute( "useValueEncoding" )=="none"?false:true );}};_zf2.prototype._tk2=function(_3t5){this._ci5=_3t5;if(this._gb7&&!this._qm3){_3t5.style.verticalAlign="top";this._0a1(_3t5);}else{_3t5.style.verticalAlign="middle";}if(this._5t4){_3t5.setAttribute(_1k4._m87, _fe9._a04(_3t5)?_1k4._9t1:_1k4._8t1);}else{_3t5.style.width="12px";_3t5.style.paddingRight="2px";}this._zk1(true);};_zf2.prototype._zk1=function(_vy7){if(!this._ci5){return;}if(!this._5t4||!(this instanceof _0g2)||!this._gb7){var _905=this._ci5.childNodes[this._gb7?1:0];if(_905){this._ci5.removeChild(_905);}var _905=document.createElement("img");_905.style.border="0px";_905.style.width="10px";_905.style.height="10px";var _ba9=_fe9._a04(this._h73);_905.src=_be9._7v5( "cchl/images/error_timed_small" + ( _vy7?"_off":(_ba9?"_rtl":"") ) + ( (this._k53 >= 11.5)?"_11_5":"" ) + ".gif" );this._ci5.appendChild(_905);}};_zf2.prototype._ru=function(_3t5,_7u6){_3t5.style.verticalAlign="top";var _4g8=_3t5.appendChild(document.createElement("label"));_4g8.className="clsCheckbox";var _cz7=_4g8.appendChild(document.createElement("input"));_cz7.setAttribute( "type", "checkbox" );_4g8.appendChild(document.createElement("span"));_cz7.checked=_7u6===undefined?true:_7u6;this._zz2(_cz7, "change", _9t7._ti(this._jd, this));this._a26=_cz7;};_zf2.prototype._jd=function(e){e.stopPropagation();this._xu();};_zf2.prototype._5z5=function(){if(this._0d7&&this._0d7._681){this._0d7._681(this);}};_zf2.prototype._9c5=function(){if(this._0d7&&this._0d7._g01){this._0d7._g01(this);}};_zf2.prototype._834=function(){if(this._0d7&&this._0d7._ho){this._0d7._ho(this);}};_zf2.prototype._g01=function(){this._9c5();};_zf2.prototype._ho=function(){this._834();};_zf2.prototype._811=function(_dg9){if(_dg9.hasAttribute("id")){_dg9.removeAttribute("id");}};_zf2.prototype._lk1=function(_dg9,_6l8){if(this._h73.id){_dg9.id=this._h73.id+"__" + _6l8;}else{if((_dg9.getAttribute('class')=='pd')||(_dg9.getAttribute('class')=='pds')|| (_dg9.getAttribute('class')=='clsCCHLSelectDate')||(_dg9.getAttribute('class')=='pm')){_dg9.id=_6l8;}_oz8._jz8("No container id for child: " + _6l8);}};_zf2._0j6=function(_xt8){while(_xt8&&!_xt8._b84){_xt8=_xt8.parentNode;}return _xt8?_xt8._b84:null;};_zf2.prototype._1x2=function(){var _259=this._0d7;while(_259){if(_259 instanceof _up1){return _259;}_259=_259._0d7;}return null;};_zf2.prototype._cq1=function(){_oz8._un8(false);};_zf2.prototype._3j2=function(_8x8){_oz8._un8(false);};_zf2.prototype._rk6=function(_8x8){return(_8x8?_8x8["use"]:"");};_zf2.prototype._m95=function(_579,_hy8){if(this._h73){this._h73.setAttribute(_579, _hy8);}};