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.
- var _dp8={};_dp8._jx2=function(_sm7,_lq5){this._lj6(document.getElementById(_sm7), _lq5);};_dp8._lj6=function(btn,_lq5){if(!btn){return;}if(!_lq5){_lq5=btn.getAttribute("HAL_buttonClassPrefix");}if(!_lq5&&(btn.className=="clsDotDotDotButton")){_lq5="clsDotDotDotButton";btn._kc2=true;}if(!_lq5&&(btn.className=="clsDlgButtonDropDownArrow")){_lq5="clsDlgButtonDropDownArrow";btn._zm=true;}btn._lq5=_lq5||"clsDlgButton";btn.classList.add(btn._545||btn._lq5);btn[_kx5._wj2?"onpointerover":"onmouseover"]=this._306;btn[_kx5._wj2?"onpointerout":"onmouseout"]=this._an6;btn._yj5=!btn._545;this._j82(btn);};_dp8._1o8=function(btn){btn[_kx5._wj2?"onpointerover":"onmouseover"]=null;btn[_kx5._wj2?"onpointerout":"onmouseout"]=null;};_dp8._zv5=function(el){if(_be9._kl6["hal"]["enableAccessibility"]){var nl=el.getElementsByTagName("BUTTON");var _zg8=nl.length;for(var i=0;i<_zg8;i++){this._j82(nl.item(i));}}var nl=el.getElementsByTagName("BUTTON");var _zg8=nl.length;for(var i=0;i<_zg8;i++){var btn=nl.item(i);if(!btn._yj5&&btn.classList.contains( "clsDlgButton" )&&( btn.getAttribute( "HAL_isFixedWidth" ) != "true" ) ){this._lj6(btn, "");}else if(!btn._yj5&&btn.classList.contains("clsDotDotDotButton")){this._lj6(btn, "");}else if(!btn._yj5&&btn.classList.contains("clsDlgButtonDropDownArrow")){this._lj6(btn, "");}}};_dp8._w67=function(btn){if(btn._yj5){btn.classList.add(btn._lq5);}};_dp8._jy2=function(_sm7,_cy7,_rx8){_fe9._dy2(_sm7, _cy7, _rx8);};_dp8._hk6=function(btn,_cy7,_rx8){_fe9._bf(btn, _cy7, _rx8);};_dp8._bs7=function(btn,_ux8){_fe9._u95(btn, _ux8);if(_be9._kl6["hal"]["enableAccessibility"]){btn.setAttribute("aria-label", _ux8);}};_dp8._aa5=function(btn,_i29){if(btn){btn.setAttribute( "_bt8", _i29?"true":"false" );_io4._zt(btn, "aria-pressed", _i29);}};_dp8._306=function(e){var btn=this;if(_fe9._0r7(btn, e.target)){if(btn._qf6){btn.classList.add(btn._qf6);}else{btn.classList.remove(btn._lq5);btn.classList.add(btn._lq5+"_hover");}if(_be9._kl6["hal"]["enableHighContrastMode"]){btn.classList.add("clsHighContrastHover");}}};_dp8._an6=function(e){var btn=this;if((e.target==btn)||!_fe9._0r7(btn, e.target)){if(btn._qf6){btn.classList.remove(btn._qf6);}else{btn.classList.add(btn._lq5);btn.classList.remove(btn._lq5+"_hover");}if(_be9._kl6["hal"]["enableHighContrastMode"]){btn.classList.remove("clsHighContrastHover");}}};_dp8._j82=function(btn){if(!_be9._kl6["hal"]["enableAccessibility"]){return;}btn.setAttribute( "role", "button" );if(!btn.getAttribute("aria-label")){if(btn.className=="clsDotDotDotButton"||btn.className=="clsDotDotDotPropertyButton"){btn.setAttribute( "aria-label", _4l6._m67( "IDS_HAL_AC_DOTDOTDOT" ) );}else if(btn.className=="clsDlgButtonDropDownArrow"){btn.setAttribute( "aria-label", _4l6._m67( "IDS_HAL_AC_DROPDOWN" ) );}else if(btn.title){btn.setAttribute("aria-label", btn.title);}}if(btn.getAttribute("aria-label")){var _4e8=btn.getElementsByTagName("IMG");if(_4e8.length==1){_4e8[0].setAttribute( "alt", btn.getAttribute( "aria-label" ) );}}};function _hn8(btn, _rh7, _lq5){this._ke9=btn;btn._ql7=this;_dp8._lj6(btn, _lq5);btn.onclick=_rh7||null;if(_be9._kl6["hal"]["enableAccessibility"]){btn.onkeydown=_io4._38.bind(_io4, btn);}};_hn8.prototype._1o8=function(){_dp8._1o8(this._ke9);this._ke9.onclick=null;this._ke9.onkeydown=null;this._ke9._ql7=this;this._ke9=null;};_hn8.prototype._bs7=function(_ux8){_dp8._bs7(this._ke9, _ux8);};_hn8.prototype._hk6=function(_cy7,_rx8){_dp8._hk6(this._ke9, _cy7, _rx8);};
|