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([],function(){"use strict";function _d47(_l17){this._1q6=_l17;this.highlightItems=this._1q6._u85.bind(this, true);this.unhighlightItems=this._1q6._u85.bind(this, false);var _qti={"showTooltip":{"fn": this._heg, "triggerInitial": true},"hideTooltip":{"fn": this._5cg, "triggerInitial": false},"updateTooltip":{"fn": this._heg, "triggerInitial": true},};var _qqf=new _ik3(_qti, 200); this.showTooltip=_qqf._k2g("showTooltip"); this.hideTooltip=_qqf._k2g("hideTooltip");this.updateTooltip=_qqf._k2g("showTooltip");};_d47.prototype.hasTooltip=function(){return this._1q6._zh8();};_d47.prototype._heg=function(_uhc,_u4n){ if(_u4n&&_u4n.length){this._1q6._x6g(_u4n, _uhc);}};_d47.prototype._5cg=function(){this._1q6._y3g();};_d47.prototype.selectItems=function(_u4n,_8ui){this._1q6._w5g(_u4n&&_u4n.length==1?_u4n[0]:null, _8ui.ctrlKey);};_d47.prototype.drill=function(_u4n,_zqn,_8ui){if(_u4n&&_u4n.length==1&&!_zqn){this._1q6._w5g(_u4n[0], _8ui.ctrlKey);return _8l8._e96().then(function(){var _1yb=_8l8._d9();if(_1yb.length>0){_uh4._ja5(_1yb);}else{if(_8l8._dd7()){_5ml._jll(["_as3"],function(_as3){_as3._0sc();}.bind(this)); }} }.bind(this));}};return _d47;});function _ik3(_qti, _uuj){this._vx8=false;this._44i=_qti;this._wgj=_uuj;};_ik3.prototype._k2g=function(_vdn){var _a9l=this;var _2gi=this._44i[_vdn]["fn"];var _pla=this._44i[_vdn]["triggerInitial"];return function(){var _uec=this;var _khn=arguments;if(_pla&&(_a9l._vx8||!_a9l.timoutId)){ clearTimeout(_a9l.timoutId); _a9l._vx8=false;_2gi.apply(this, _khn); }else{if(_a9l.timoutId !==null){clearTimeout(_a9l.timoutId);}_a9l._vx8=false;_a9l.timoutId=setTimeout(function(){_a9l._vx8=true;_2gi.apply(_uec, _khn);}, _a9l._wgj);} };};
|