text: "use strict";
  var __extends = (this && this.__extends) || (function () {
      var extendStatics = Object.setPrototypeOf ||
          ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
          function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
      return function (d, b) {
          extendStatics(d, b);
          function __() { this.constructor = d; }
          d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
      };
  })();
  /*!
   * devextreme-angular
   * Version: 18.2.3
   * Build date: Thu Nov 08 2018
   *
   * Copyright (c) 2012 - 2018 Developer Express Inc. ALL RIGHTS RESERVED
   *
   * This software may be modified and distributed under the terms
   * of the MIT license. See the LICENSE file in the root of the project for details.
   *
   * https://github.com/DevExpress/devextreme-angular
   */
  Object.defineProperty(exports, "__esModule", { value: true });
  var core_1 = require("@angular/core");
  var nested_option_1 = require("../../core/nested-option");
  var format_1 = require("./base/format");
  var DxoDisplayFormatComponent = (function (_super) {
      __extends(DxoDisplayFormatComponent, _super);
      function DxoDisplayFormatComponent(parentOptionHost, optionHost) {
          var _this = _super.call(this) || this;
          parentOptionHost.setNestedOption(_this);
          optionHost.setHost(_this, _this._fullOptionPath.bind(_this));
          return _this;
      }
      Object.defineProperty(DxoDisplayFormatComponent.prototype, "_optionPath", {
          get: function () {
              return 'displayFormat';
          },
          enumerable: true,
          configurable: true
      });
      DxoDisplayFormatComponent.decorators = [
          { type: core_1.Component, args: [{
                      selector: 'dxo-display-format',
                      template: '',
                      styles: [''],
                      providers: [nested_option_1.NestedOptionHost],
                      inputs: [
                          'currency',
                          'formatter',
                          'parser',
                          'precision',
                          'type'
                      ]
                  },] },
      ];
      /** @nocollapse */
      DxoDisplayFormatComponent.ctorParameters = function () { return [
          { type: nested_option_1.NestedOptionHost, decorators: [{ type: core_1.SkipSelf }, { type: core_1.Host },] },
          { type: nested_option_1.NestedOptionHost, decorators: [{ type: core_1.Host },] },
      ]; };
      return DxoDisplayFormatComponent;
  }(format_1.DxoFormat));
  exports.DxoDisplayFormatComponent = DxoDisplayFormatComponent;
  var DxoDisplayFormatModule = (function () {
      function DxoDisplayFormatModule() {
      }
      DxoDisplayFormatModule.decorators = [
          { type: core_1.NgModule, args: [{
                      declarations: [
                          DxoDisplayFormatComponent
                      ],
                      exports: [
                          DxoDisplayFormatComponent
                      ],
                  },] },
      ];
      return DxoDisplayFormatModule;
  }());
  exports.DxoDisplayFormatModule = DxoDisplayFormatModule;
  //# sourceMappingURL=display-format.js.map