Sha256: c2d538b288a24001d1edde9424cf668ae4416b5e6c054a46885d0de9e465e90e

Contents?: true

Size: 1.06 KB

Versions: 4

Compression:

Stored size: 1.06 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'],function(q){"use strict";var F={};F.render=function(r,c){var a=/<embed\s+data-index="([0-9]+)"\s*\/?>/gim;var h=c.getHtmlText();var i=c.getControls().slice();var t=i.length;var l=0;var m=[];r.write("<span");r.writeControlData(c);r.addClass("sapUiFTV");r.writeClasses();if(c.getTooltip_AsString()){r.writeAttributeEscaped("title",c.getTooltip_AsString());}r.write(">");while((m=a.exec(h))!==null){r.write(h.slice(l,m.index));if(this._renderReplacement(r,m[1],i)){t--;}else{q.sap.log.warning("Could not find matching control to placeholder #"+m[1]);}l=a.lastIndex;}r.write(h.slice(l,h.length));if(t>0){q.sap.log.warning('There are leftover controls in the aggregation that have not been used in the formatted text',c);}r.write("</span>");};F._renderReplacement=function(r,c,C){if(C[c]){r.renderControl(C[c]);C[c]=null;return true;}else{return false;}};return F;},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/FormattedTextViewRenderer.js
fiveapples-0.0.6 lib/openui5-runtime-1.60.23/resources/sap/ui/commons/FormattedTextViewRenderer.js
fiveapples-0.0.5 lib/openui5-runtime-1.60.23/resources/sap/ui/commons/FormattedTextViewRenderer.js
jekyll-openui5-0.1.0 assets/sap/ui/commons/FormattedTextViewRenderer.js