123456 |
- // Licensed Materials - Property of IBM
- // IBM Cognos Products: irot
- // (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 _jv2(_f59){this._y09=_f59;this._z84="columns";this._dq2="name";this._uv4="values";};_jv2.prototype._732=function(){if(!this._g16){this._g16=_109._9z(this._y09.rows.length);}return this._g16;};_jv2.prototype._ae3=function(_xe6){var i=this._t75(_xe6);var _4j8=this._y09[this._z84][i];var fn=_4j8.formattedValues?this._9:(_4j8[this._uv4]?this._44:this._271);return fn.bind(this, i, _4j8);};_jv2.prototype._9=function(i,_4j8,_2a9){_2a9=this._g16?this._y09.rows[_2a9]:_2a9;return _4j8.formattedValues[_2a9[i]];};_jv2.prototype._44=function(i,_4j8,_2a9){_2a9=this._g16?this._y09.rows[_2a9]:_2a9;return _4j8[this._uv4][_2a9[i]];};_jv2.prototype._271=function(i,_4j8,_2a9){return(this._g16?this._y09.rows[_2a9]:_2a9)[i];};_jv2.prototype._b22=function(){if(!this._c63){this._c63=_sa8._w7(this._y09[this._z84], this._dq2);}return this._c63;};_jv2.prototype._e97=function(_xe6){return this._y09[this._z84][this._t75(_xe6)];};_jv2.prototype._t75=function(_xe6){return this._b22()[_xe6];};_jv2.prototype._5h2=function(_xe6){return this._y09[this._z84][this._t75(_xe6)].dataType||"";};function _0q1(_f59, _tb9){this._0b2={};this._xa2={};var nl=_tb9.selectNodes(".//vizValue");var _zg8=nl.length;for(var i=0;i<_zg8;i++){var n=nl.item(i);var _v58=n.getAttribute("idField");var _0n7=n.getAttribute("refDataItem");this._0b2[_v58]=_0n7;this._xa2[_0n7]=_v58;}var nl=_tb9.selectNodes( ".//vizCategoryField[count(vizCategoryDataItems/vizCategoryDataItem) = 1]/vizCategoryDataItems/vizCategoryDataItem" );var _zg8=nl.length;for(var i=0;i<_zg8;i++){var n=nl.item(i);var _v58=n.parentNode.parentNode.getAttribute("idField");var _0n7=n.getAttribute("refDataItem");this._0b2[_v58]=_0n7;this._xa2[_0n7]=_v58;}var nl=_tb9.selectNodes( ".//vizCategoryField[count(vizCategoryDataItems/vizCategoryDataItem) > 1]/vizCategoryDataItems/vizCategoryDataItem" );var _zg8=nl.length;this._em3=_zg8>0;if(this._em3){this._lh={};for(var i=0;i<_zg8;i++){var n=nl.item(i);var _v58=n.parentNode.parentNode.getAttribute("idField");var _0n7=n.getAttribute("refDataItem");if(!this._lh[_v58]){this._lh[_v58]=[];}this._lh[_v58].push(_0n7);this._xa2[_0n7]=_v58;}}_0q1.baseConstructor.call(this, _f59);};_9t7._v88(_0q1, _jv2);_0q1.prototype._ae3=function(_v58){if(this._em3){var _fs6=this._lh[_v58];if(_fs6){var _fx7=[];var _g56=[];for(var i=0;i<_fs6.length;i++){var _xu8=this._t75(_fs6[i]);_g56.push(_xu8);_fx7.push(this._y09[this._z84][_xu8]);}return this._t4.bind(this, _g56, _fx7);}}return _0q1.superClass._ae3.call(this, this._0b2[_v58]);};_0q1.prototype._t4=function(_g56,_fx7,_2a9){var _zg8=_fx7.length;for(var i=0;i<_zg8;i++){var _4j8=_fx7[i];var _xu8=_g56[i];var _hy8=_4j8.formattedValues?_4j8.formattedValues[_2a9[_xu8]]:_4j8[this._uv4][_2a9[_xu8]];if(_hy8!==null){return _hy8;}}};function _3g2(_f59){_3g2.baseConstructor.call(this, _f59);this._z84="fields";this._dq2="id";this._uv4="categories";};_9t7._v88(_3g2, _jv2);_3g2.prototype._0v5=function(_v58){return this._e97(_v58).min;};_3g2.prototype._zu5=function(_v58){return this._e97(_v58).max;};
|