123456 |
- // Licensed Materials - Property of IBM
- // IBM Cognos Products: rs
- // (C) Copyright IBM Corp. 2003, 2022.
- // US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
- define(["_ezf"],function(_ezf){"use strict";function _3a4(_xwg, _b6k){_3a4.baseConstructor.call(this, _xwg, _b6k);};_olk._vjl(_3a4, _ezf);_3a4.prototype._1q3=function(_k16){this._ks5=_k16;};_3a4.prototype._gmk=function(){var nl=this._irl.selectNodes("appProperties/appVariables/appVariable");var _u2k=this._njj._cr9();var d=_u2k.ownerDocument;var _rpg=["appOnSelectSetVariableValues", "appContainerSelect", "appContainerFilter", "appControlEnabled", "appListColumnVisible"];var _kff=_u2k.appendChild(d.createElement("treeNode"));_kff.setAttribute("idsLabel", "IDS_LBL_APP_ADD_VARIABLE");_kff.setAttribute("classPrefix", "clsTreeNode_hyperlink");_kff.setAttribute("forceHover", "true");_kff.setAttribute("forceSelection", "true");var _ox5=_u2k.appendChild(d.createElement("treeNode"));_ox5.setAttribute("idsLabel", "IDS_LBL_APP_MANAGE_EXTERNAL_VARS");_ox5.setAttribute("classPrefix", "clsTreeNode_hyperlink");_ox5.setAttribute("forceHover", "true");_ox5.setAttribute("forceSelection", "true");for(var i=0; i<nl.length; i++){var _33k=nl.item(i);var _vae=_33k.getAttribute("name");var _t2k=_u2k.appendChild(d.createElement("treeNode"));_t2k.setAttribute("label", _vae);_t2k.setAttribute("tooltip", _vae);_t2k.setAttribute("smallSvgIcon", "def_el_appVariable");var _bon=_33k.getAttribute("iid");_t2k.setAttribute("iid", _bon);_t2k.setAttribute("uniqueId", _bon);_t2k.setAttribute("expandable", "true");_t2k.setAttribute("expanded", (this._kij&&this._kij[_bon])?"true":"false");_t2k.setAttribute("selected", (this._hjj&&this._hjj[_bon])?"true":"false");var _7dc=_t2k.appendChild(this._wf(d, _33k));var _0ya={};var _pbn={};var _068=this._irl.selectNodes("layouts//*[@refAppVariable=" + _cgm._zxc( _vae ) + "]");for(var j=0; j<_068.length; j++){var _cpa=_068.item(j);var _i1k=_8qn._v65(_cpa, _rpg);if(_i1k){var _hdk=_i1k.nodeName;var _t6h=_8aj._dp9(_i1k);var _o1b=_t6h.getAttribute("name");if(_pbn[_hdk+_o1b]){continue;}_pbn[_hdk+_o1b]=true;if(!_0ya[_hdk]){var _2dc=d.createElement("treeNode");_2dc.setAttribute("label", _frh._c6j("IDS_LBL_VAR_" + _hdk));_2dc.setAttribute("smallSvgIcon", "def_el_" + _hdk);_2dc.setAttribute("expandable", "true");var _cfk=_bon+"_" + this._4yh[_hdk];_2dc.setAttribute("uniqueId", _cfk);_2dc.setAttribute("expanded", (this._kij&&this._kij[_cfk])?"true":"false");_2dc.setAttribute("selected", (this._hjj&&this._hjj[_cfk])?"true":"false");_0ya[_hdk]=_2dc;}var _jb9=_0ya[_hdk].appendChild(d.createElement("treeNode"));_jb9.setAttribute("label", _o1b);var _ick=_t6h.nodeName;var _9xl=this._z4i.has(_ick);_jb9.setAttribute( _9xl?"smallSvgIcon":"smallIcon", _9xl?( "def_el_" + _ick ):( _ick + ".gif" ) );var _bon=_t6h.getAttribute("iid");_jb9.setAttribute("iid", _bon);var _cfk=i+"_" + this._4yh[_hdk] + "_" + _bon;_jb9.setAttribute("uniqueId", _cfk);if(this._hjj&&this._hjj[_cfk]){_jb9.setAttribute("selected", "true");}}}for(var j=0; j<_rpg.length; j++){var _5x6=_0ya[_rpg[j]];if(_5x6&&_5x6.selectSingleNode("*")){_t2k.appendChild(_5x6);}}}this._njj._wfn();};return _3a4;});
|