"use strict"; /* *+------------------------------------------------------------------------+ *| Licensed Materials - Property of IBM *| IBM Cognos Products: Content Explorer *| (C) Copyright IBM Corp. 2015, 2017 *| *| US Government Users Restricted Rights - Use, duplication or disclosure *| restricted by GSA ADP Schedule Contract with IBM Corp. *+------------------------------------------------------------------------+ */ define(['q', 'bi/commons/ui/properties/BaseProperty', 'underscore'], function (Q, BaseProperty, _) { 'use strict'; //NOSONAR var Text = BaseProperty.extend({ init: function init(options) { Text.inherited('init', this, arguments); _.extend(this, options); }, render: function render() { var propertyRow = $('
'); propertyRow.addClass('propertyRow'); if (this.additionalClass) { propertyRow.addClass(this.additionalClass); } var property = $('
'); property.addClass('propertyUIControl'); if (this.text) { property.text(this.text); } propertyRow.append(property); this.$el.append(propertyRow); return Q(true); } }); return Text; });