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.
- function _aa4(_ibn){this._03n=_ibn;this._4tb={};this._5tb={};this._lca={};};Object.defineProperties(_aa4.prototype,{"name":{get:function(){if(this._p3n===undefined){this._p3n=this._03n._a0n.getAttribute( "LID" )||"";}return this._p3n;}},"hasBack":{get:function(){return this._03n._nkl();}},"pageModuleInstance":{get:function(){return this._03n()._797();}},"application":{get:function(){return Application;}}});_aa4.prototype.getControlByName=function(sName){_t02._b5b( null, "getControlByName", arguments, ["string"] );if(this._4tb[sName]===undefined){var n=_7hn._ij8(this._03n._gm8, this._473(sName));var _6qd=this._dv3(n);this._4tb[sName]=_6qd?new _6qd(this._03n, sName, n):null;}return this._4tb[sName];};_aa4.prototype.getControlsByName=function(sName){_t02._b5b( null, "getControlsByName", arguments, ["string"] );if(this._lca[sName]===undefined){var a=[];var nl=_7hn._x5g(this._03n._gm8, this._473(sName));var _tzl=nl.length;for(var i=0;i<_tzl;i++){var n=nl.item(i);var _6qd=this._dv3(n);a.push(_6qd?new _6qd(this._03n, sName, n):null);}this._lca[sName]=a;if(!this._4tb[sName]){this._4tb[sName]=(a.length>0)?a[i]:null;}}return this._lca[sName];};_aa4.prototype._qz2=function(_ven){if(this._5tb[_ven]===undefined){var n=_7hn._ij8( this._03n._gm8, ".//*[@void='" + _ven + "']" );var _vdn=n.getAttribute("name");var _b9l;if(_vdn){_b9l=this.getControlByName(_vdn);if(_b9l._lkl()!=_ven){var a=this.getControlsByName(_vdn);for(var i=0;i<a.length;i++){if(a[i]._lkl()==_ven){_b9l=a[i];break;}}}}else{var _6qd=this._dv3(n);_b9l=_6qd?new _6qd(this._03n, "", n):null;}this._5tb[_ven]=_b9l;}return this._5tb[_ven];};_aa4.prototype.getAllPromptControls=function(){if(this._xk6===undefined){var _ii3={};var nl=_7hn._x5g( this._03n._gm8, ".//*" + _8qn._i67( "@specname", _geb._lw9 ) + "[@name and @specname!='promptButton']/@name" );var _tzl=nl.length;for(var i=0;i<_tzl;i++){_ii3[nl.item(i).value]=true;}this._xk6=[];for(var _vdn in _ii3){this._xk6=this._xk6.concat(this.getControlsByName(_vdn));}}return this._xk6;};_aa4.prototype._473=function(_vdn){_vdn=_cgm._zxc(_vdn);return ".//*[@LID=" + _vdn + " or @name=" + _vdn + "]";};_aa4.prototype._dv3=function(n){if(!n){return null;}var _5ek=n.getAttribute("specname");var _6qd=window[this._104[_5ek]];if(_6qd){return _6qd;}return this._ns2[_5ek]?_tf2:null;};_aa4.prototype._104={block:"_hw",list:"_141",textItem:"_kh",image:"_iw",selectValue:"_69",selectWithSearch:"_2r",selectDate:"_2r",selectDateTime:"_2r",selectTime:"_2r",selectInterval:"_2r",textBox:"_2r",selectWithTree:"_2r",customControl:"_1r"};_aa4.prototype._ns2=_m0n._je8(["selectDateTime","selectDate","selectInterval","selectWithSearch","textBox","selectTime","selectValue","threeDCombinationChart","threeDScatterChart","block","bubbleChart","v2_bubbleChart","combinationChart","v2_combinationChart","crosstab","fieldSet","v2_gaugeChart","gaugeChart","hyperlink","image","list","mapChart","marimekkoChart","metricsChart","v2_paretoChart","paretoChart","pieChart","v2_pieChart","polarChart","v2_progressiveChart","progressiveChart","radarChart","repeaterTable","scatterChart","v2_scatterChart","table","textItem","winLossChart","viz"]);
|