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 _qc8(_8bn){this._w2n=_8bn;this._kvb="columns";this._gv7="name";this._whd="values";};_qc8.prototype._l66=function(){if(!this._sfg){this._sfg=_m0n._ry2(this._w2n.rows.length);}return this._sfg;};_qc8.prototype._jp9=function(_keh){var i=this._0fe(_keh);var _75m=this._w2n[this._kvb][i];var fn=_75m.formattedValues?this._x1:(_75m[this._whd]?this._ie:this._mm3);return fn.bind(this, i, _75m);};_qc8.prototype._x1=function(i,_75m,_sin){_sin=this._sfg?this._w2n.rows[_sin]:_sin;return _75m.formattedValues[_sin[i]];};_qc8.prototype._ie=function(i,_75m,_sin){_sin=this._sfg?this._w2n.rows[_sin]:_sin;return _75m[this._whd][_sin[i]];};_qc8.prototype._mm3=function(i,_75m,_sin){return(this._sfg?this._w2n.rows[_sin]:_sin)[i];};_qc8.prototype._c56=function(){if(!this._s09){this._s09=_bnl._fr(this._w2n[this._kvb], this._gv7);}return this._s09;};_qc8.prototype._ibj=function(_keh){return this._w2n[this._kvb][this._0fe(_keh)];};_qc8.prototype._0fe=function(_keh){return this._c56()[_keh];};_qc8.prototype._187=function(_keh){return this._w2n[this._kvb][this._0fe(_keh)].dataType||"";};function _t45(_8bn, _6mn){this._5p6={};this._uo6={};var nl=_6mn.selectNodes(".//vizValue");var _tzl=nl.length;for(var i=0;i<_tzl;i++){var n=nl.item(i);var _jdl=n.getAttribute("idField");var _79k=n.getAttribute("refDataItem");this._5p6[_jdl]=_79k;this._uo6[_79k]=_jdl;}var nl=_6mn.selectNodes( ".//vizCategoryField[count(vizCategoryDataItems/vizCategoryDataItem) = 1]/vizCategoryDataItems/vizCategoryDataItem" );var _tzl=nl.length;for(var i=0;i<_tzl;i++){var n=nl.item(i);var _jdl=n.parentNode.parentNode.getAttribute("idField");var _79k=n.getAttribute("refDataItem");this._5p6[_jdl]=_79k;this._uo6[_79k]=_jdl;}var nl=_6mn.selectNodes( ".//vizCategoryField[count(vizCategoryDataItems/vizCategoryDataItem) > 1]/vizCategoryDataItems/vizCategoryDataItem" );var _tzl=nl.length;this._j8a=_tzl>0;if(this._j8a){this._sl1={};for(var i=0;i<_tzl;i++){var n=nl.item(i);var _jdl=n.parentNode.parentNode.getAttribute("idField");var _79k=n.getAttribute("refDataItem");if(!this._sl1[_jdl]){this._sl1[_jdl]=[];}this._sl1[_jdl].push(_79k);this._uo6[_79k]=_jdl;}}_t45.baseConstructor.call(this, _8bn);};_olk._vjl(_t45, _qc8);_t45.prototype._jp9=function(_jdl){if(this._j8a){var _x7i=this._sl1[_jdl];if(_x7i){var _kuk=[];var _ppg=[];for(var i=0;i<_x7i.length;i++){var _5qm=this._0fe(_x7i[i]);_ppg.push(_5qm);_kuk.push(this._w2n[this._kvb][_5qm]);}return this._1g.bind(this, _ppg, _kuk);}}return _t45.superClass._jp9.call(this, this._5p6[_jdl]);};_t45.prototype._1g=function(_ppg,_kuk,_sin){var _tzl=_kuk.length;for(var i=0;i<_tzl;i++){var _75m=_kuk[i];var _5qm=_ppg[i];var _uxm=_75m.formattedValues?_75m.formattedValues[_sin[_5qm]]:_75m[this._whd][_sin[_5qm]];if(_uxm!==null){return _uxm;}}};function _z47(_8bn){_z47.baseConstructor.call(this, _8bn);this._kvb="fields";this._gv7="id";this._whd="categories";};_olk._vjl(_z47, _qc8);_z47.prototype._g2g=function(_jdl){return this._ibj(_jdl).min;};_z47.prototype._f2g=function(_jdl){return this._ibj(_jdl).max;};
|