/*! * 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-marker-settings', template: '', styles: [''], providers: [NestedOptionHost] }) export class DxoMarkerSettingsComponent extends NestedOption { @Input() get borderColor(): string { return this._getOption('borderColor'); } set borderColor(value: string) { this._setOption('borderColor', value); } @Input() get borderWidth(): number { return this._getOption('borderWidth'); } set borderWidth(value: number) { this._setOption('borderWidth', value); } @Input() get color(): string { return this._getOption('color'); } set color(value: string) { this._setOption('color', value); } @Input() get colorGroupingField(): string { return this._getOption('colorGroupingField'); } set colorGroupingField(value: string) { this._setOption('colorGroupingField', value); } @Input() get colorGroups(): Array { return this._getOption('colorGroups'); } set colorGroups(value: Array) { this._setOption('colorGroups', value); } @Input() get customize(): Function { return this._getOption('customize'); } set customize(value: Function) { this._setOption('customize', value); } @Input() get hoveredBorderColor(): string { return this._getOption('hoveredBorderColor'); } set hoveredBorderColor(value: string) { this._setOption('hoveredBorderColor', value); } @Input() get hoveredBorderWidth(): number { return this._getOption('hoveredBorderWidth'); } set hoveredBorderWidth(value: number) { this._setOption('hoveredBorderWidth', value); } @Input() get hoveredColor(): string { return this._getOption('hoveredColor'); } set hoveredColor(value: string) { this._setOption('hoveredColor', value); } @Input() get hoverEnabled(): boolean { return this._getOption('hoverEnabled'); } set hoverEnabled(value: boolean) { this._setOption('hoverEnabled', value); } @Input() get label(): any { return this._getOption('label'); } set label(value: any) { this._setOption('label', value); } @Input() get maxSize(): number { return this._getOption('maxSize'); } set maxSize(value: number) { this._setOption('maxSize', value); } @Input() get minSize(): number { return this._getOption('minSize'); } set minSize(value: number) { this._setOption('minSize', value); } @Input() get opacity(): number { return this._getOption('opacity'); } set opacity(value: number) { this._setOption('opacity', value); } @Input() get palette(): string| Array { return this._getOption('palette'); } set palette(value: string| Array) { this._setOption('palette', value); } @Input() get selectedBorderColor(): string { return this._getOption('selectedBorderColor'); } set selectedBorderColor(value: string) { this._setOption('selectedBorderColor', value); } @Input() get selectedBorderWidth(): number { return this._getOption('selectedBorderWidth'); } set selectedBorderWidth(value: number) { this._setOption('selectedBorderWidth', value); } @Input() get selectedColor(): string { return this._getOption('selectedColor'); } set selectedColor(value: string) { this._setOption('selectedColor', value); } @Input() get selectionMode(): string { return this._getOption('selectionMode'); } set selectionMode(value: string) { this._setOption('selectionMode', value); } @Input() get size(): number { return this._getOption('size'); } set size(value: number) { this._setOption('size', value); } @Input() get sizeGroupingField(): string { return this._getOption('sizeGroupingField'); } set sizeGroupingField(value: string) { this._setOption('sizeGroupingField', value); } @Input() get sizeGroups(): Array { return this._getOption('sizeGroups'); } set sizeGroups(value: Array) { this._setOption('sizeGroups', value); } @Input() get type(): string { return this._getOption('type'); } set type(value: string) { this._setOption('type', value); } protected get _optionPath() { return 'markerSettings'; } constructor(@SkipSelf() @Host() parentOptionHost: NestedOptionHost, @Host() optionHost: NestedOptionHost) { super(); parentOptionHost.setNestedOption(this); optionHost.setHost(this, this._fullOptionPath.bind(this)); } } @NgModule({ declarations: [ DxoMarkerSettingsComponent ], exports: [ DxoMarkerSettingsComponent ], }) export class DxoMarkerSettingsModule { }