_jce.js 4.7 KB

123456
  1. // Licensed Materials - Property of IBM
  2. // IBM Cognos Products: rs
  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. var _jce=new _lcm("_jce");_jce._5z2=function(){this._4y8=new _jgk(this._2oh("cboBurstKeyQuery"), _u0n._ul3(), null, this);this._3y8=new _jgk( this._2oh( "cboBurstKeyLabel" ), _frh._53g( "EmptyAuthoredCombo" ), null, this );this._elg=new _pgk( this._2oh( "divGroups" ), _frh._53g( "EmptyReadOnlyList" ), this );this._3c3=new _jgk(this._2oh("cboBurstRecipientQuery"), _u0n._ul3(), null, this);this._bx1=new _jgk( this._2oh( "cboBurstRecipientDataItem" ), _frh._53g( "EmptyAuthoredCombo" ), null, this );this._814=new _jgk(this._2oh("cboBurstRecipientType"), null, this._53g('BurstRecipientType'), this);this._qye=_erh._vtc().cloneNode(true);this._7t8();};_jce._o46=function(){this._4y8._fdm();this._4y8=null;this._3y8._fdm();this._3y8=null;this._elg._fdm();this._elg=null;this._3c3._fdm();this._3c3=null;this._bx1._fdm();this._bx1=null;this._814._fdm();this._814=null;this._qye=null;};_jce._6qe=function(){_8qn._cqh(this._qye, "burst");if(this._2oh("chkBurst").checked){var _3rm=_erh._u0g(this._qye, "burst");_3rm.setAttribute( "refQuery", "" );_erh._u0g(_3rm, "burstGroups");_erh._u0g( _3rm, "burstLabel" ).setAttribute( "refDataItem", "" );var _kpa=_erh._u0g(_3rm, "burstRecipient");_kpa.setAttribute( "refQuery", "" );_kpa.setAttribute( "refDataItem", "" );}this._7t8();};_jce._bgn=function(){var _83m=_erh._vtc();var _3rm=this._qye.selectSingleNode("burst");_erh._ybb();_8qn._cqh(_83m, "burst");if(this._2oh("chkBurst").checked){_8qn._cqh(_3rm, "burstLabel[@refDataItem='']");_83m.appendChild(_3rm.parentNode.removeChild(_3rm));}_erh._iee();this._3le();};_jce._g67=function(_35k,_mzj){var _uxm=_mzj.getAttribute("value");var _3rm=this._qye.selectSingleNode("burst");switch(_35k){case this._4y8:_3rm.setAttribute("refQuery", _uxm);_3rm.selectSingleNode( "burstLabel" ).setAttribute( "refDataItem", "" );_8qn._k5g(_3rm, "burstGroups/*");break;case this._3y8:_3rm.selectSingleNode( "burstLabel" ).setAttribute( "refDataItem", _uxm );break;case this._3c3:_3rm.selectSingleNode( "burstRecipient" ).setAttribute( "refQuery", _uxm );_3rm.selectSingleNode( "burstRecipient" ).setAttribute( "refDataItem", "" );break;case this._bx1:_3rm.selectSingleNode( "burstRecipient" ).setAttribute( "refDataItem", _uxm );break;case this._814:_3rm.selectSingleNode( "burstRecipient" ).setAttribute( "type", _uxm );break;}this._7t8();};_jce._kg2=function(_35k,_a6k){if(_35k==this._3y8){_a6k._bzm();_u0n._1y2(_a6k._eq9(), _agm._kik(_erh._vtc(), this._4y8._qik()), true, true);_a6k._wfn();}else if(_35k==this._bx1){_a6k._bzm();_u0n._1y2(_a6k._eq9(), _agm._kik(_erh._vtc(), this._3c3._qik()), true, false);_a6k._wfn();}};_jce._z95=function(){if(!this._2oh("btnMD").disabled){_8fm._jgn( "_vce", this._xp9(), this._qye.selectSingleNode( "burst/burstRecipient" ), this, false );}};_jce._bb7=function(){_8fm._jgn( "_ycm", this._xp9(), this, this._qye.selectSingleNode( "burst" ), false, false );};_jce._io9=function(_j9k){setTimeout(this._7t8.bind(this), 0);};_jce._akb=function(){this._elg._bzm();var nl=this._qye.selectNodes("burst/burstGroups/burstGroup/@refDataItem");for(var i=0;i<nl.length;i++){var _mzj=this._elg._767();_mzj.setAttribute("label", nl.item(i).value);_mzj.setAttribute( "smallSvgIcon", "def_el_group" );}this._elg._wfn();};_jce._7t8=function(){var _3rm=this._qye.selectSingleNode("burst");var _38c=this._qye.selectSingleNode("burst/@refQuery");var _qv2=this._qye.selectSingleNode("burst/burstRecipient/@refQuery");var _hn1=this._qye.selectSingleNode("burst/burstRecipient/@refDataItem");var _dh3=this._qye.selectSingleNode("burst/burstLabel/@refDataItem");var _smm=!!_3rm;this._2oh("chkBurst").checked=_smm;this._obb("fsBurstKey", _smm);this._obb("fsBurstRecipient", _smm);this._4y8._mqh(_smm);this._4y8._3kk( _smm?_3rm.getAttribute( "refQuery" ):"" );this._3y8._mqh(_smm&&_38c.value);this._3y8._3kk(_dh3?_dh3.value:"");this._3c3._3kk(_smm?_3rm.selectSingleNode("burstRecipient/@refQuery").value:"");this._bx1._3kk( _smm?_3rm.selectSingleNode( "burstRecipient/@refDataItem" ).value:"" );this._814._hwc( _smm?_3rm.selectSingleNode( "burstRecipient/@type" ).value:"" );this._pj8("btnEditGroups", _smm&&_38c.value);this._3c3._mqh(_smm);this._bx1._mqh(_smm&&_qv2.value);this._814._mqh(_smm&&_hn1.value);var _yx6=_smm?_3rm.selectSingleNode("burstRecipient/masterDetailLinks"):null;this._2oh( "txtMD" ).value = _yx6?_frh._c6j( "IDS_PROPVAL_DEFINED" ):"";this._pj8( "btnMD", _smm&&_38c.value&&_hn1.value, "hal/images/dotdotdot" );this._pj8( "btnOK", _smm?( _3rm.selectSingleNode( "burstGroups/burstGroup" )&&_hn1.value ):true );this._akb();};