text: "use strict";
  Object.defineProperty(exports, "__esModule", { value: true });
  var core_1 = require("@angular/core");
  var helpers_1 = require("../helpers/helpers");
  var LinesPipe = (function () {
      function LinesPipe() {
      }
      LinesPipe.prototype.transform = function (text, chars) {
          if (chars === void 0) { chars = '\\s'; }
          return helpers_1.isString(text)
              ? text.replace(/\r\n/g, '\n').split('\n')
              : text;
      };
      return LinesPipe;
  }());
  LinesPipe.decorators = [
      { type: core_1.Pipe, args: [{ name: 'lines' },] },
  ];
  /** @nocollapse */
  LinesPipe.ctorParameters = function () { return []; };
  exports.LinesPipe = LinesPipe;
  //# sourceMappingURL=lines.js.map