_r4j.js 1.4 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. define([],function(){"use strict";function _r4j(_r9i, _5qm, _wqf, _ppg){this._fpl=_r9i; this._tim=_5qm;this._s0f=_wqf;this._cze={ "highlighted": false,"selected": false};this._s0f=_wqf;this._jhn=[];for(var i=0;i<_ppg.length;i++){this._jhn[_ppg[i]]=this._fpl[ i ]._m3g();}}_r4j.prototype.getDataSet=function(){return this._s0f;};_r4j.prototype.getDecoration=function(_vdn){return !!this._cze[ _vdn ];};_r4j.prototype.hasDecoration=function(_vdn){return this._cze[ _vdn ]!==undefined;};_r4j.prototype.getItem=function(_yhi){ return this._fpl[ _yhi ];};_r4j.prototype.getItemClassSetIndex=function(){return 0;};_r4j.prototype._cik=function(){ return this._tim;};_r4j.prototype._ohk=function(_3fh,_0om){if(_3fh=="selected"){this._s0f._jg4(_0om?1:-1);}this._cze[ _3fh ]=_0om;};_r4j.prototype._yn3=function(){return this._s0f._cik();};_r4j.prototype._e8b=function(){var _pqf={}; for(var i=0;i<this._fpl.length;i++){var _n7k=this._fpl[i];_pqf[_n7k._tp9()]={"value": _n7k.getCaption(),"type": "attribute"};}return _pqf;};_r4j.prototype._wdm=function(){return this._jhn;};_r4j.prototype._te1=function(){return false;};_r4j.prototype._tp9=function(){return this._fpl[this._fpl.length-1]._tp9();};return _r4j;});