/*! * 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 */ import { Component, NgModule, Host, SkipSelf, Input } from '@angular/core'; import { NestedOptionHost } from '../../core/nested-option'; import { NestedOption } from '../../core/nested-option'; @Component({ selector: 'dxo-filter-row', template: '', styles: [''], providers: [NestedOptionHost] }) export class DxoFilterRowComponent extends NestedOption { @Input() get applyFilter(): string { return this._getOption('applyFilter'); } set applyFilter(value: string) { this._setOption('applyFilter', value); } @Input() get applyFilterText(): string { return this._getOption('applyFilterText'); } set applyFilterText(value: string) { this._setOption('applyFilterText', value); } @Input() get betweenEndText(): string { return this._getOption('betweenEndText'); } set betweenEndText(value: string) { this._setOption('betweenEndText', value); } @Input() get betweenStartText(): string { return this._getOption('betweenStartText'); } set betweenStartText(value: string) { this._setOption('betweenStartText', value); } @Input() get operationDescriptions(): any { return this._getOption('operationDescriptions'); } set operationDescriptions(value: any) { this._setOption('operationDescriptions', value); } @Input() get resetOperationText(): string { return this._getOption('resetOperationText'); } set resetOperationText(value: string) { this._setOption('resetOperationText', value); } @Input() get showAllText(): string { return this._getOption('showAllText'); } set showAllText(value: string) { this._setOption('showAllText', value); } @Input() get showOperationChooser(): boolean { return this._getOption('showOperationChooser'); } set showOperationChooser(value: boolean) { this._setOption('showOperationChooser', value); } @Input() get visible(): boolean { return this._getOption('visible'); } set visible(value: boolean) { this._setOption('visible', value); } protected get _optionPath() { return 'filterRow'; } constructor(@SkipSelf() @Host() parentOptionHost: NestedOptionHost, @Host() optionHost: NestedOptionHost) { super(); parentOptionHost.setNestedOption(this); optionHost.setHost(this, this._fullOptionPath.bind(this)); } } @NgModule({ declarations: [ DxoFilterRowComponent ], exports: [ DxoFilterRowComponent ], }) export class DxoFilterRowModule { }