/*! * 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-search-panel', template: '', styles: [''], providers: [NestedOptionHost] }) export class DxoSearchPanelComponent extends NestedOption { @Input() get highlightCaseSensitive(): boolean { return this._getOption('highlightCaseSensitive'); } set highlightCaseSensitive(value: boolean) { this._setOption('highlightCaseSensitive', value); } @Input() get highlightSearchText(): boolean { return this._getOption('highlightSearchText'); } set highlightSearchText(value: boolean) { this._setOption('highlightSearchText', value); } @Input() get placeholder(): string { return this._getOption('placeholder'); } set placeholder(value: string) { this._setOption('placeholder', value); } @Input() get searchVisibleColumnsOnly(): boolean { return this._getOption('searchVisibleColumnsOnly'); } set searchVisibleColumnsOnly(value: boolean) { this._setOption('searchVisibleColumnsOnly', value); } @Input() get text(): string { return this._getOption('text'); } set text(value: string) { this._setOption('text', value); } @Input() get visible(): boolean { return this._getOption('visible'); } set visible(value: boolean) { this._setOption('visible', value); } @Input() get width(): number { return this._getOption('width'); } set width(value: number) { this._setOption('width', value); } protected get _optionPath() { return 'searchPanel'; } constructor(@SkipSelf() @Host() parentOptionHost: NestedOptionHost, @Host() optionHost: NestedOptionHost) { super(); parentOptionHost.setNestedOption(this); optionHost.setHost(this, this._fullOptionPath.bind(this)); } } @NgModule({ declarations: [ DxoSearchPanelComponent ], exports: [ DxoSearchPanelComponent ], }) export class DxoSearchPanelModule { }