/*! * UI development toolkit for HTML5 (OpenUI5) * (c) Copyright 2009-2018 SAP SE or an SAP affiliate company. * Licensed under the Apache License, Version 2.0 - see LICENSE.txt. */ sap.ui.define(["sap/ui/core/Renderer","sap/ui/core/library","sap/ui/Device","./library","./ListItemBaseRenderer","./Label","sap/base/Log","sap/base/security/encodeXML"],function(R,c,D,l,L,a,b,e){"use strict";var P=l.PopinDisplay;var V=c.VerticalAlign;var d=l.PopinLayout;var C=R.extend(L);C.render=function(r,o){var t=o.getTable();if(!t){return;}L.render.apply(this,arguments);if(o.getVisible()&&t.hasPopin()){this.renderPopin(r,o,t);}};C.renderHighlight=function(r,o){r.write('
');};C.renderType=function(r,o){r.write(' ');};C.renderModeContent=function(r,o){r.write(' ');};C.renderCounter=function(r,o){};C.getAriaRole=function(o){return"";};C.renderLIAttributes=function(r,o){r.addClass("sapMListTblRow");var A=o.getVAlign();if(A!=V.Inherit){r.addClass("sapMListTblRow"+A);}var t=o.getTable();if(t&&t.getAlternateRowColors()){var p=t.indexOfItem(o);if(p%2==0){r.addClass("sapMListTblRowAlternate");}}};C.renderLIContentWrapper=function(r,o){var t=o.getTable();if(!t){return;}var f=t.getColumns(true),g=o.getCells();o._destroyClonedHeaders();f.forEach(function(h,i){var j,H,k=true,m=g[h.getInitialOrder()];if(!m||!h.getVisible()||h.isPopin()){h.setIndex(-1);return;}r.write("