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";var _l0d={};_l0d._l67=function(){_erh._ybb();var _83m=_erh._vtc();_agm._l67(_83m);_83m.setAttribute("template", "true");_erh._iee(true);_erh._h5b();_erh._wab();};_l0d._5t=function(){var _83m=_erh._vtc();return !_8qn._x5g(_83m, "layouts//reportPages//", _geb._5).length; };_l0d._jl3=function(){if(this._5t()){this._9j4();_38g._h5g();}else{_2dm._jgn(null, _frh._c6j( "IDS_MSG_ACTIVEREPORT_CONVERT_WARNING" ), _frh._c6j( "IDS_TITLE_ACTIVEREPORT_CONVERT_WARNING" ), _2dm._zkk, _2dm._ffm, this._9j4.bind(this));}};_l0d._9j4=function(){_erh._ybb();var _83m=_erh._vtc();_83m.setAttribute("application", "true");_8aj._9y2(_83m);_8qn._k5g(_83m, _8qn._o5b("layouts//reportPages//", _geb._3j));_8qn._k5g(_83m, "layouts//layoutComponentRef[reportPath]");var _4f9=_83m.selectNodes("layouts//repeaterTable");for(var i=0; i<_4f9.length; i++){var _xbc=_4f9.item(i);var _9c1=_erh._987(_xbc, "appRepeaterTableCellDefinition/appRepeaterTableCellValues");var _x7i=_8aj._v41(_xbc);for(var j=0; j<_x7i.length; j++){var _79k=_x7i[j];if (!_9c1.selectSingleNode("appRepeaterTableCellValue[@refDataItem=" + _cgm._zxc( _79k ) + "]")){var _yud=_9c1.selectSingleNode("appRepeaterTableCellValue[last()]");var _gn1=_erh._cnh("appRepeaterTableCellValue");_gn1.setAttribute("refDataItem", _79k);_9c1.insertBefore(_gn1, _yud);}}}Application.SharedState.Set(null, "objectType", _agm._vuc(_erh._vtc())?'interactiveReport':'report');var _vck=Application.SharedState.Get("pageView");if(_vck=="preview"||_vck=="preview2"){_38g._q0g(this);_ypn._0v9();}else {this._bd6(_83m);}};_l0d._m42=function(){if(_38g._g0n._79j=="ar-page-preview"){_38g._hab(this);this._bd6(_erh._vtc());}};_l0d._bd6=function(_83m){_erh._iee(true);_5ke._b13();_y7g._i4g("Toolbox_PageView");setTimeout(_28g._hll.bind(_28g), 0);_erh._h5b();_erh._wab();_ypn._qh();};return _l0d;});
|