Sha256: 5799afe59dcdf64f06c2ffec8f5816cfdcab5fe162a9223089d9a91c597b9135

Contents?: true

Size: 1.95 KB

Versions: 4

Compression:

Stored size: 1.95 KB

Contents

/*!
 * 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(['jquery.sap.global','sap/ui/core/ValueStateSupport'],function(q,V){"use strict";var R={};R.render=function(r,o){var i=o.getId();r.write("<div ");r.writeControlData(o);r.addClass("sapUiRtt");r.writeClasses();r.write(" ><div><div>");r.write("<div class='sapUiRttTopL'></div><div class='sapUiRttTopR'></div>");r.write("<div class='sapUiRttCL'>");r.write("<div class='sapUiRttCR'>");r.write("<div class='sapUiRttContent'>");var t=o.getTitle();if(t){r.write("<div id='"+i+"-title' role='tooltip' class='sapUiRttTitle'>");r.writeEscaped(t);r.write("</div>");r.write("<div class='sapUiRttSep'></div>");}var v=V.getAdditionalText(o.getParent());var I=o.getAggregation("individualStateText");if(v||I){r.write('<div class="sapUiRttValueStateContainer">');if(v){var s=o.getParent().getValueState();var a=s!==sap.ui.core.ValueState.None?"ValueState_"+s+".png":"";if(a!==""){a=q.sap.getModulePath("sap.ui.commons.themes."+sap.ui.getCore().getConfiguration().getTheme(),"/img/richtooltip/"+a);r.write('<img id="'+i+'-valueStateImage" class="sapUiRttValueStateImage" src="');r.writeEscaped(a);r.write('"/>');}}if(I){r.renderControl(I);}else{r.write('<div id="'+i+'-valueStateText" class="sapUiRttValueStateText">');r.writeEscaped(v);r.write('</div>');}r.write('</div>');r.write("<div class='sapUiRttSep'></div>");}r.write('<div class="sapUiRttContentContainer">');var b=o.getImageSrc();if(b){var A=o.getImageAltText();r.write('<img id="'+i+'-image" class="sapUiRttImage"');r.writeAttributeEscaped('alt',A);r.writeAttributeEscaped('src',b);r.write('"/>');}var T=o.getAggregation("formattedText");if(T){r.renderControl(T);}r.write('</div>');r.write("</div></div></div>");r.write("<div class='sapUiRttBotL'></div>");r.write("<div class='sapUiRttBotR'></div>");r.write("</div></div></div>");};return R;},true);

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
fiveapples-0.0.7 lib/openui5-runtime-1.60.23/resources/sap/ui/commons/RichTooltipRenderer.js
fiveapples-0.0.6 lib/openui5-runtime-1.60.23/resources/sap/ui/commons/RichTooltipRenderer.js
fiveapples-0.0.5 lib/openui5-runtime-1.60.23/resources/sap/ui/commons/RichTooltipRenderer.js
jekyll-openui5-0.1.0 assets/sap/ui/commons/RichTooltipRenderer.js