"use strict";
var angular = require("angular");
exports.moduleName = 'rl.ui.components.stringWithWatermark';
exports.componentName = 'rlStringWithWatermark';
var stringWithWatermark = {
    template: "\n\t\t<rl-generic-container selector=\"controller.string | isEmpty\">\n\t\t\t<template when-selector=\"true\"><span class=\"watermark\">{{controller.watermark}}</span></template>\n\t\t\t<template default><span>{{controller.string}}</span></template>\n\t\t</rl-generic-container>\n\t",
    controllerAs: 'controller',
    bindings: {
        string: '@',
        watermark: '@',
    },
};
angular.module(exports.moduleName, [])
    .component(exports.componentName, stringWithWatermark);
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3RyaW5nV2l0aFdhdGVybWFyay5uZzEuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJzdHJpbmdXaXRoV2F0ZXJtYXJrLm5nMS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsaUNBQW1DO0FBRXRCLFFBQUEsVUFBVSxHQUFXLHNDQUFzQyxDQUFDO0FBQzVELFFBQUEsYUFBYSxHQUFXLHVCQUF1QixDQUFDO0FBTzdELElBQU0sbUJBQW1CLEdBQThCO0lBQ3RELFFBQVEsRUFBRSw0UkFLVDtJQUNELFlBQVksRUFBRSxZQUFZO0lBQzFCLFFBQVEsRUFBRTtRQUNULE1BQU0sRUFBRSxHQUFHO1FBQ1gsU0FBUyxFQUFFLEdBQUc7S0FDZDtDQUNELENBQUM7QUFFRixPQUFPLENBQUMsTUFBTSxDQUFDLGtCQUFVLEVBQUUsRUFBRSxDQUFDO0tBQzVCLFNBQVMsQ0FBQyxxQkFBYSxFQUFFLG1CQUFtQixDQUFDLENBQUMifQ==