/*! * devextreme-angular-test * Version: 17.2.8 * Build date: Mon Feb 05 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 */ /* tslint:disable:use-input-property-decorator */ import { Component, NgModule, Host, SkipSelf } from '@angular/core'; import { NestedOptionHost } from '../../core/nested-option'; import { DxiFilterBuilderField } from './base/filter-builder-field-dxi'; @Component({ selector: 'dxi-field', template: '', styles: [''], providers: [NestedOptionHost], inputs: [ 'caption', 'customizeText', 'dataField', 'dataType', 'editorTemplate', 'falseText', 'filterOperations', 'format', 'lookup', 'trueText', 'allowCrossGroupCalculation', 'allowExpandAll', 'allowFiltering', 'allowSorting', 'allowSortingBySummary', 'area', 'areaIndex', 'calculateCustomSummary', 'calculateSummaryValue', 'displayFolder', 'expanded', 'filterType', 'filterValues', 'groupIndex', 'groupInterval', 'groupName', 'headerFilter', 'isMeasure', 'precision', 'runningTotal', 'selector', 'showGrandTotals', 'showTotals', 'showValues', 'sortBy', 'sortBySummaryField', 'sortBySummaryPath', 'sortingMethod', 'sortOrder', 'summaryDisplayMode', 'summaryType', 'visible', 'width', 'wordWrapEnabled' ] }) export class DxiFieldComponent extends DxiFilterBuilderField { protected get _optionPath() { return 'fields'; } constructor(@SkipSelf() @Host() parentOptionHost: NestedOptionHost, @Host() optionHost: NestedOptionHost) { super(); parentOptionHost.setNestedOption(this); optionHost.setHost(this, this._fullOptionPath.bind(this)); } } @NgModule({ declarations: [ DxiFieldComponent ], exports: [ DxiFieldComponent ], }) export class DxiFieldModule { }