devextreme-angular
Version:
Angular UI and visualization components based on DevExtreme widgets
1,298 lines (1,289 loc) • 180 kB
JavaScript
import * as i0 from '@angular/core';
import { Component, SkipSelf, Host, Input, NgModule, Inject, Output } from '@angular/core';
import * as i1 from 'devextreme-angular/core';
import { NestedOption, NestedOptionHost, CollectionNestedOption, extractTemplate, DxTemplateHost } from 'devextreme-angular/core';
import { DOCUMENT } from '@angular/common';
/*!
* devextreme-angular
* Version: 24.2.6
* Build date: Mon Mar 17 2025
*
* Copyright (c) 2012 - 2025 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:max-line-length */
class DxoPieChartAdaptiveLayoutComponent extends NestedOption {
get height() {
return this._getOption('height');
}
set height(value) {
this._setOption('height', value);
}
get keepLabels() {
return this._getOption('keepLabels');
}
set keepLabels(value) {
this._setOption('keepLabels', value);
}
get width() {
return this._getOption('width');
}
set width(value) {
this._setOption('width', value);
}
get _optionPath() {
return 'adaptiveLayout';
}
constructor(parentOptionHost, optionHost) {
super();
parentOptionHost.setNestedOption(this);
optionHost.setHost(this, this._fullOptionPath.bind(this));
}
ngOnInit() {
this._addRecreatedComponent();
}
ngOnDestroy() {
this._addRemovedOption(this._getOptionPath());
}
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DxoPieChartAdaptiveLayoutComponent, deps: [{ token: i1.NestedOptionHost, host: true, skipSelf: true }, { token: i1.NestedOptionHost, host: true }], target: i0.ɵɵFactoryTarget.Component });
/** @nocollapse */ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: DxoPieChartAdaptiveLayoutComponent, selector: "dxo-pie-chart-adaptive-layout", inputs: { height: "height", keepLabels: "keepLabels", width: "width" }, providers: [NestedOptionHost], usesInheritance: true, ngImport: i0, template: '', isInline: true, styles: [""] });
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DxoPieChartAdaptiveLayoutComponent, decorators: [{
type: Component,
args: [{ selector: 'dxo-pie-chart-adaptive-layout', template: '', providers: [NestedOptionHost] }]
}], ctorParameters: () => [{ type: i1.NestedOptionHost, decorators: [{
type: SkipSelf
}, {
type: Host
}] }, { type: i1.NestedOptionHost, decorators: [{
type: Host
}] }], propDecorators: { height: [{
type: Input
}], keepLabels: [{
type: Input
}], width: [{
type: Input
}] } });
class DxoPieChartAdaptiveLayoutModule {
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DxoPieChartAdaptiveLayoutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
/** @nocollapse */ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: DxoPieChartAdaptiveLayoutModule, declarations: [DxoPieChartAdaptiveLayoutComponent], exports: [DxoPieChartAdaptiveLayoutComponent] });
/** @nocollapse */ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DxoPieChartAdaptiveLayoutModule });
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DxoPieChartAdaptiveLayoutModule, decorators: [{
type: NgModule,
args: [{
declarations: [
DxoPieChartAdaptiveLayoutComponent
],
exports: [
DxoPieChartAdaptiveLayoutComponent
],
}]
}] });
/*!
* devextreme-angular
* Version: 24.2.6
* Build date: Mon Mar 17 2025
*
* Copyright (c) 2012 - 2025 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:max-line-length */
class DxoPieChartAnimationComponent extends NestedOption {
get duration() {
return this._getOption('duration');
}
set duration(value) {
this._setOption('duration', value);
}
get easing() {
return this._getOption('easing');
}
set easing(value) {
this._setOption('easing', value);
}
get enabled() {
return this._getOption('enabled');
}
set enabled(value) {
this._setOption('enabled', value);
}
get maxPointCountSupported() {
return this._getOption('maxPointCountSupported');
}
set maxPointCountSupported(value) {
this._setOption('maxPointCountSupported', value);
}
get _optionPath() {
return 'animation';
}
constructor(parentOptionHost, optionHost) {
super();
parentOptionHost.setNestedOption(this);
optionHost.setHost(this, this._fullOptionPath.bind(this));
}
ngOnInit() {
this._addRecreatedComponent();
}
ngOnDestroy() {
this._addRemovedOption(this._getOptionPath());
}
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DxoPieChartAnimationComponent, deps: [{ token: i1.NestedOptionHost, host: true, skipSelf: true }, { token: i1.NestedOptionHost, host: true }], target: i0.ɵɵFactoryTarget.Component });
/** @nocollapse */ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: DxoPieChartAnimationComponent, selector: "dxo-pie-chart-animation", inputs: { duration: "duration", easing: "easing", enabled: "enabled", maxPointCountSupported: "maxPointCountSupported" }, providers: [NestedOptionHost], usesInheritance: true, ngImport: i0, template: '', isInline: true, styles: [""] });
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DxoPieChartAnimationComponent, decorators: [{
type: Component,
args: [{ selector: 'dxo-pie-chart-animation', template: '', providers: [NestedOptionHost] }]
}], ctorParameters: () => [{ type: i1.NestedOptionHost, decorators: [{
type: SkipSelf
}, {
type: Host
}] }, { type: i1.NestedOptionHost, decorators: [{
type: Host
}] }], propDecorators: { duration: [{
type: Input
}], easing: [{
type: Input
}], enabled: [{
type: Input
}], maxPointCountSupported: [{
type: Input
}] } });
class DxoPieChartAnimationModule {
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DxoPieChartAnimationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
/** @nocollapse */ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: DxoPieChartAnimationModule, declarations: [DxoPieChartAnimationComponent], exports: [DxoPieChartAnimationComponent] });
/** @nocollapse */ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DxoPieChartAnimationModule });
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DxoPieChartAnimationModule, decorators: [{
type: NgModule,
args: [{
declarations: [
DxoPieChartAnimationComponent
],
exports: [
DxoPieChartAnimationComponent
],
}]
}] });
/*!
* devextreme-angular
* Version: 24.2.6
* Build date: Mon Mar 17 2025
*
* Copyright (c) 2012 - 2025 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:max-line-length */
class DxoPieChartAnnotationBorderComponent extends NestedOption {
get color() {
return this._getOption('color');
}
set color(value) {
this._setOption('color', value);
}
get cornerRadius() {
return this._getOption('cornerRadius');
}
set cornerRadius(value) {
this._setOption('cornerRadius', value);
}
get dashStyle() {
return this._getOption('dashStyle');
}
set dashStyle(value) {
this._setOption('dashStyle', value);
}
get opacity() {
return this._getOption('opacity');
}
set opacity(value) {
this._setOption('opacity', value);
}
get visible() {
return this._getOption('visible');
}
set visible(value) {
this._setOption('visible', value);
}
get width() {
return this._getOption('width');
}
set width(value) {
this._setOption('width', value);
}
get _optionPath() {
return 'border';
}
constructor(parentOptionHost, optionHost) {
super();
parentOptionHost.setNestedOption(this);
optionHost.setHost(this, this._fullOptionPath.bind(this));
}
ngOnInit() {
this._addRecreatedComponent();
}
ngOnDestroy() {
this._addRemovedOption(this._getOptionPath());
}
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DxoPieChartAnnotationBorderComponent, deps: [{ token: i1.NestedOptionHost, host: true, skipSelf: true }, { token: i1.NestedOptionHost, host: true }], target: i0.ɵɵFactoryTarget.Component });
/** @nocollapse */ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: DxoPieChartAnnotationBorderComponent, selector: "dxo-pie-chart-annotation-border", inputs: { color: "color", cornerRadius: "cornerRadius", dashStyle: "dashStyle", opacity: "opacity", visible: "visible", width: "width" }, providers: [NestedOptionHost], usesInheritance: true, ngImport: i0, template: '', isInline: true, styles: [""] });
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DxoPieChartAnnotationBorderComponent, decorators: [{
type: Component,
args: [{ selector: 'dxo-pie-chart-annotation-border', template: '', providers: [NestedOptionHost] }]
}], ctorParameters: () => [{ type: i1.NestedOptionHost, decorators: [{
type: SkipSelf
}, {
type: Host
}] }, { type: i1.NestedOptionHost, decorators: [{
type: Host
}] }], propDecorators: { color: [{
type: Input
}], cornerRadius: [{
type: Input
}], dashStyle: [{
type: Input
}], opacity: [{
type: Input
}], visible: [{
type: Input
}], width: [{
type: Input
}] } });
class DxoPieChartAnnotationBorderModule {
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DxoPieChartAnnotationBorderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
/** @nocollapse */ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: DxoPieChartAnnotationBorderModule, declarations: [DxoPieChartAnnotationBorderComponent], exports: [DxoPieChartAnnotationBorderComponent] });
/** @nocollapse */ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DxoPieChartAnnotationBorderModule });
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DxoPieChartAnnotationBorderModule, decorators: [{
type: NgModule,
args: [{
declarations: [
DxoPieChartAnnotationBorderComponent
],
exports: [
DxoPieChartAnnotationBorderComponent
],
}]
}] });
/*!
* devextreme-angular
* Version: 24.2.6
* Build date: Mon Mar 17 2025
*
* Copyright (c) 2012 - 2025 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:max-line-length */
class DxiPieChartAnnotationComponent extends CollectionNestedOption {
renderer;
document;
element;
get allowDragging() {
return this._getOption('allowDragging');
}
set allowDragging(value) {
this._setOption('allowDragging', value);
}
get argument() {
return this._getOption('argument');
}
set argument(value) {
this._setOption('argument', value);
}
get arrowLength() {
return this._getOption('arrowLength');
}
set arrowLength(value) {
this._setOption('arrowLength', value);
}
get arrowWidth() {
return this._getOption('arrowWidth');
}
set arrowWidth(value) {
this._setOption('arrowWidth', value);
}
get border() {
return this._getOption('border');
}
set border(value) {
this._setOption('border', value);
}
get color() {
return this._getOption('color');
}
set color(value) {
this._setOption('color', value);
}
get customizeTooltip() {
return this._getOption('customizeTooltip');
}
set customizeTooltip(value) {
this._setOption('customizeTooltip', value);
}
get data() {
return this._getOption('data');
}
set data(value) {
this._setOption('data', value);
}
get description() {
return this._getOption('description');
}
set description(value) {
this._setOption('description', value);
}
get font() {
return this._getOption('font');
}
set font(value) {
this._setOption('font', value);
}
get height() {
return this._getOption('height');
}
set height(value) {
this._setOption('height', value);
}
get image() {
return this._getOption('image');
}
set image(value) {
this._setOption('image', value);
}
get location() {
return this._getOption('location');
}
set location(value) {
this._setOption('location', value);
}
get name() {
return this._getOption('name');
}
set name(value) {
this._setOption('name', value);
}
get offsetX() {
return this._getOption('offsetX');
}
set offsetX(value) {
this._setOption('offsetX', value);
}
get offsetY() {
return this._getOption('offsetY');
}
set offsetY(value) {
this._setOption('offsetY', value);
}
get opacity() {
return this._getOption('opacity');
}
set opacity(value) {
this._setOption('opacity', value);
}
get paddingLeftRight() {
return this._getOption('paddingLeftRight');
}
set paddingLeftRight(value) {
this._setOption('paddingLeftRight', value);
}
get paddingTopBottom() {
return this._getOption('paddingTopBottom');
}
set paddingTopBottom(value) {
this._setOption('paddingTopBottom', value);
}
get series() {
return this._getOption('series');
}
set series(value) {
this._setOption('series', value);
}
get shadow() {
return this._getOption('shadow');
}
set shadow(value) {
this._setOption('shadow', value);
}
get template() {
return this._getOption('template');
}
set template(value) {
this._setOption('template', value);
}
get text() {
return this._getOption('text');
}
set text(value) {
this._setOption('text', value);
}
get textOverflow() {
return this._getOption('textOverflow');
}
set textOverflow(value) {
this._setOption('textOverflow', value);
}
get tooltipEnabled() {
return this._getOption('tooltipEnabled');
}
set tooltipEnabled(value) {
this._setOption('tooltipEnabled', value);
}
get tooltipTemplate() {
return this._getOption('tooltipTemplate');
}
set tooltipTemplate(value) {
this._setOption('tooltipTemplate', value);
}
get type() {
return this._getOption('type');
}
set type(value) {
this._setOption('type', value);
}
get width() {
return this._getOption('width');
}
set width(value) {
this._setOption('width', value);
}
get wordWrap() {
return this._getOption('wordWrap');
}
set wordWrap(value) {
this._setOption('wordWrap', value);
}
get x() {
return this._getOption('x');
}
set x(value) {
this._setOption('x', value);
}
get y() {
return this._getOption('y');
}
set y(value) {
this._setOption('y', value);
}
get _optionPath() {
return 'annotations';
}
constructor(parentOptionHost, optionHost, renderer, document, templateHost, element) {
super();
this.renderer = renderer;
this.document = document;
this.element = element;
parentOptionHost.setNestedOption(this);
optionHost.setHost(this, this._fullOptionPath.bind(this));
templateHost.setHost(this);
}
setTemplate(template) {
this.template = template;
}
ngAfterViewInit() {
extractTemplate(this, this.element, this.renderer, this.document);
}
ngOnDestroy() {
this._deleteRemovedOptions(this._fullOptionPath());
}
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DxiPieChartAnnotationComponent, deps: [{ token: i1.NestedOptionHost, host: true, skipSelf: true }, { token: i1.NestedOptionHost, host: true }, { token: i0.Renderer2 }, { token: DOCUMENT }, { token: i1.DxTemplateHost, host: true }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
/** @nocollapse */ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: DxiPieChartAnnotationComponent, selector: "dxi-pie-chart-annotation", inputs: { allowDragging: "allowDragging", argument: "argument", arrowLength: "arrowLength", arrowWidth: "arrowWidth", border: "border", color: "color", customizeTooltip: "customizeTooltip", data: "data", description: "description", font: "font", height: "height", image: "image", location: "location", name: "name", offsetX: "offsetX", offsetY: "offsetY", opacity: "opacity", paddingLeftRight: "paddingLeftRight", paddingTopBottom: "paddingTopBottom", series: "series", shadow: "shadow", template: "template", text: "text", textOverflow: "textOverflow", tooltipEnabled: "tooltipEnabled", tooltipTemplate: "tooltipTemplate", type: "type", width: "width", wordWrap: "wordWrap", x: "x", y: "y" }, providers: [NestedOptionHost, DxTemplateHost], usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, styles: [":host{display:block}\n"] });
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DxiPieChartAnnotationComponent, decorators: [{
type: Component,
args: [{ selector: 'dxi-pie-chart-annotation', template: '<ng-content></ng-content>', providers: [NestedOptionHost, DxTemplateHost], styles: [":host{display:block}\n"] }]
}], ctorParameters: () => [{ type: i1.NestedOptionHost, decorators: [{
type: SkipSelf
}, {
type: Host
}] }, { type: i1.NestedOptionHost, decorators: [{
type: Host
}] }, { type: i0.Renderer2 }, { type: undefined, decorators: [{
type: Inject,
args: [DOCUMENT]
}] }, { type: i1.DxTemplateHost, decorators: [{
type: Host
}] }, { type: i0.ElementRef }], propDecorators: { allowDragging: [{
type: Input
}], argument: [{
type: Input
}], arrowLength: [{
type: Input
}], arrowWidth: [{
type: Input
}], border: [{
type: Input
}], color: [{
type: Input
}], customizeTooltip: [{
type: Input
}], data: [{
type: Input
}], description: [{
type: Input
}], font: [{
type: Input
}], height: [{
type: Input
}], image: [{
type: Input
}], location: [{
type: Input
}], name: [{
type: Input
}], offsetX: [{
type: Input
}], offsetY: [{
type: Input
}], opacity: [{
type: Input
}], paddingLeftRight: [{
type: Input
}], paddingTopBottom: [{
type: Input
}], series: [{
type: Input
}], shadow: [{
type: Input
}], template: [{
type: Input
}], text: [{
type: Input
}], textOverflow: [{
type: Input
}], tooltipEnabled: [{
type: Input
}], tooltipTemplate: [{
type: Input
}], type: [{
type: Input
}], width: [{
type: Input
}], wordWrap: [{
type: Input
}], x: [{
type: Input
}], y: [{
type: Input
}] } });
class DxiPieChartAnnotationModule {
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DxiPieChartAnnotationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
/** @nocollapse */ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: DxiPieChartAnnotationModule, declarations: [DxiPieChartAnnotationComponent], exports: [DxiPieChartAnnotationComponent] });
/** @nocollapse */ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DxiPieChartAnnotationModule });
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DxiPieChartAnnotationModule, decorators: [{
type: NgModule,
args: [{
declarations: [
DxiPieChartAnnotationComponent
],
exports: [
DxiPieChartAnnotationComponent
],
}]
}] });
/*!
* devextreme-angular
* Version: 24.2.6
* Build date: Mon Mar 17 2025
*
* Copyright (c) 2012 - 2025 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:max-line-length */
class DxoPieChartArgumentFormatComponent extends NestedOption {
get currency() {
return this._getOption('currency');
}
set currency(value) {
this._setOption('currency', value);
}
get formatter() {
return this._getOption('formatter');
}
set formatter(value) {
this._setOption('formatter', value);
}
get parser() {
return this._getOption('parser');
}
set parser(value) {
this._setOption('parser', value);
}
get precision() {
return this._getOption('precision');
}
set precision(value) {
this._setOption('precision', value);
}
get type() {
return this._getOption('type');
}
set type(value) {
this._setOption('type', value);
}
get useCurrencyAccountingStyle() {
return this._getOption('useCurrencyAccountingStyle');
}
set useCurrencyAccountingStyle(value) {
this._setOption('useCurrencyAccountingStyle', value);
}
get _optionPath() {
return 'argumentFormat';
}
constructor(parentOptionHost, optionHost) {
super();
parentOptionHost.setNestedOption(this);
optionHost.setHost(this, this._fullOptionPath.bind(this));
}
ngOnInit() {
this._addRecreatedComponent();
}
ngOnDestroy() {
this._addRemovedOption(this._getOptionPath());
}
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DxoPieChartArgumentFormatComponent, deps: [{ token: i1.NestedOptionHost, host: true, skipSelf: true }, { token: i1.NestedOptionHost, host: true }], target: i0.ɵɵFactoryTarget.Component });
/** @nocollapse */ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: DxoPieChartArgumentFormatComponent, selector: "dxo-pie-chart-argument-format", inputs: { currency: "currency", formatter: "formatter", parser: "parser", precision: "precision", type: "type", useCurrencyAccountingStyle: "useCurrencyAccountingStyle" }, providers: [NestedOptionHost], usesInheritance: true, ngImport: i0, template: '', isInline: true, styles: [""] });
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DxoPieChartArgumentFormatComponent, decorators: [{
type: Component,
args: [{ selector: 'dxo-pie-chart-argument-format', template: '', providers: [NestedOptionHost] }]
}], ctorParameters: () => [{ type: i1.NestedOptionHost, decorators: [{
type: SkipSelf
}, {
type: Host
}] }, { type: i1.NestedOptionHost, decorators: [{
type: Host
}] }], propDecorators: { currency: [{
type: Input
}], formatter: [{
type: Input
}], parser: [{
type: Input
}], precision: [{
type: Input
}], type: [{
type: Input
}], useCurrencyAccountingStyle: [{
type: Input
}] } });
class DxoPieChartArgumentFormatModule {
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DxoPieChartArgumentFormatModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
/** @nocollapse */ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: DxoPieChartArgumentFormatModule, declarations: [DxoPieChartArgumentFormatComponent], exports: [DxoPieChartArgumentFormatComponent] });
/** @nocollapse */ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DxoPieChartArgumentFormatModule });
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DxoPieChartArgumentFormatModule, decorators: [{
type: NgModule,
args: [{
declarations: [
DxoPieChartArgumentFormatComponent
],
exports: [
DxoPieChartArgumentFormatComponent
],
}]
}] });
/*!
* devextreme-angular
* Version: 24.2.6
* Build date: Mon Mar 17 2025
*
* Copyright (c) 2012 - 2025 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:max-line-length */
class DxoPieChartBorderComponent extends NestedOption {
get color() {
return this._getOption('color');
}
set color(value) {
this._setOption('color', value);
}
get cornerRadius() {
return this._getOption('cornerRadius');
}
set cornerRadius(value) {
this._setOption('cornerRadius', value);
}
get dashStyle() {
return this._getOption('dashStyle');
}
set dashStyle(value) {
this._setOption('dashStyle', value);
}
get opacity() {
return this._getOption('opacity');
}
set opacity(value) {
this._setOption('opacity', value);
}
get visible() {
return this._getOption('visible');
}
set visible(value) {
this._setOption('visible', value);
}
get width() {
return this._getOption('width');
}
set width(value) {
this._setOption('width', value);
}
get _optionPath() {
return 'border';
}
constructor(parentOptionHost, optionHost) {
super();
parentOptionHost.setNestedOption(this);
optionHost.setHost(this, this._fullOptionPath.bind(this));
}
ngOnInit() {
this._addRecreatedComponent();
}
ngOnDestroy() {
this._addRemovedOption(this._getOptionPath());
}
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DxoPieChartBorderComponent, deps: [{ token: i1.NestedOptionHost, host: true, skipSelf: true }, { token: i1.NestedOptionHost, host: true }], target: i0.ɵɵFactoryTarget.Component });
/** @nocollapse */ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: DxoPieChartBorderComponent, selector: "dxo-pie-chart-border", inputs: { color: "color", cornerRadius: "cornerRadius", dashStyle: "dashStyle", opacity: "opacity", visible: "visible", width: "width" }, providers: [NestedOptionHost], usesInheritance: true, ngImport: i0, template: '', isInline: true, styles: [""] });
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DxoPieChartBorderComponent, decorators: [{
type: Component,
args: [{ selector: 'dxo-pie-chart-border', template: '', providers: [NestedOptionHost] }]
}], ctorParameters: () => [{ type: i1.NestedOptionHost, decorators: [{
type: SkipSelf
}, {
type: Host
}] }, { type: i1.NestedOptionHost, decorators: [{
type: Host
}] }], propDecorators: { color: [{
type: Input
}], cornerRadius: [{
type: Input
}], dashStyle: [{
type: Input
}], opacity: [{
type: Input
}], visible: [{
type: Input
}], width: [{
type: Input
}] } });
class DxoPieChartBorderModule {
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DxoPieChartBorderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
/** @nocollapse */ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: DxoPieChartBorderModule, declarations: [DxoPieChartBorderComponent], exports: [DxoPieChartBorderComponent] });
/** @nocollapse */ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DxoPieChartBorderModule });
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DxoPieChartBorderModule, decorators: [{
type: NgModule,
args: [{
declarations: [
DxoPieChartBorderComponent
],
exports: [
DxoPieChartBorderComponent
],
}]
}] });
/*!
* devextreme-angular
* Version: 24.2.6
* Build date: Mon Mar 17 2025
*
* Copyright (c) 2012 - 2025 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:max-line-length */
class DxoPieChartColorComponent extends NestedOption {
get base() {
return this._getOption('base');
}
set base(value) {
this._setOption('base', value);
}
get fillId() {
return this._getOption('fillId');
}
set fillId(value) {
this._setOption('fillId', value);
}
get _optionPath() {
return 'color';
}
constructor(parentOptionHost, optionHost) {
super();
parentOptionHost.setNestedOption(this);
optionHost.setHost(this, this._fullOptionPath.bind(this));
}
ngOnInit() {
this._addRecreatedComponent();
}
ngOnDestroy() {
this._addRemovedOption(this._getOptionPath());
}
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DxoPieChartColorComponent, deps: [{ token: i1.NestedOptionHost, host: true, skipSelf: true }, { token: i1.NestedOptionHost, host: true }], target: i0.ɵɵFactoryTarget.Component });
/** @nocollapse */ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: DxoPieChartColorComponent, selector: "dxo-pie-chart-color", inputs: { base: "base", fillId: "fillId" }, providers: [NestedOptionHost], usesInheritance: true, ngImport: i0, template: '', isInline: true, styles: [""] });
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DxoPieChartColorComponent, decorators: [{
type: Component,
args: [{ selector: 'dxo-pie-chart-color', template: '', providers: [NestedOptionHost] }]
}], ctorParameters: () => [{ type: i1.NestedOptionHost, decorators: [{
type: SkipSelf
}, {
type: Host
}] }, { type: i1.NestedOptionHost, decorators: [{
type: Host
}] }], propDecorators: { base: [{
type: Input
}], fillId: [{
type: Input
}] } });
class DxoPieChartColorModule {
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DxoPieChartColorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
/** @nocollapse */ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: DxoPieChartColorModule, declarations: [DxoPieChartColorComponent], exports: [DxoPieChartColorComponent] });
/** @nocollapse */ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DxoPieChartColorModule });
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DxoPieChartColorModule, decorators: [{
type: NgModule,
args: [{
declarations: [
DxoPieChartColorComponent
],
exports: [
DxoPieChartColorComponent
],
}]
}] });
/*!
* devextreme-angular
* Version: 24.2.6
* Build date: Mon Mar 17 2025
*
* Copyright (c) 2012 - 2025 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:max-line-length */
class DxoPieChartCommonAnnotationSettingsComponent extends NestedOption {
renderer;
document;
element;
get allowDragging() {
return this._getOption('allowDragging');
}
set allowDragging(value) {
this._setOption('allowDragging', value);
}
get argument() {
return this._getOption('argument');
}
set argument(value) {
this._setOption('argument', value);
}
get arrowLength() {
return this._getOption('arrowLength');
}
set arrowLength(value) {
this._setOption('arrowLength', value);
}
get arrowWidth() {
return this._getOption('arrowWidth');
}
set arrowWidth(value) {
this._setOption('arrowWidth', value);
}
get border() {
return this._getOption('border');
}
set border(value) {
this._setOption('border', value);
}
get color() {
return this._getOption('color');
}
set color(value) {
this._setOption('color', value);
}
get customizeTooltip() {
return this._getOption('customizeTooltip');
}
set customizeTooltip(value) {
this._setOption('customizeTooltip', value);
}
get data() {
return this._getOption('data');
}
set data(value) {
this._setOption('data', value);
}
get description() {
return this._getOption('description');
}
set description(value) {
this._setOption('description', value);
}
get font() {
return this._getOption('font');
}
set font(value) {
this._setOption('font', value);
}
get height() {
return this._getOption('height');
}
set height(value) {
this._setOption('height', value);
}
get image() {
return this._getOption('image');
}
set image(value) {
this._setOption('image', value);
}
get location() {
return this._getOption('location');
}
set location(value) {
this._setOption('location', value);
}
get offsetX() {
return this._getOption('offsetX');
}
set offsetX(value) {
this._setOption('offsetX', value);
}
get offsetY() {
return this._getOption('offsetY');
}
set offsetY(value) {
this._setOption('offsetY', value);
}
get opacity() {
return this._getOption('opacity');
}
set opacity(value) {
this._setOption('opacity', value);
}
get paddingLeftRight() {
return this._getOption('paddingLeftRight');
}
set paddingLeftRight(value) {
this._setOption('paddingLeftRight', value);
}
get paddingTopBottom() {
return this._getOption('paddingTopBottom');
}
set paddingTopBottom(value) {
this._setOption('paddingTopBottom', value);
}
get series() {
return this._getOption('series');
}
set series(value) {
this._setOption('series', value);
}
get shadow() {
return this._getOption('shadow');
}
set shadow(value) {
this._setOption('shadow', value);
}
get template() {
return this._getOption('template');
}
set template(value) {
this._setOption('template', value);
}
get text() {
return this._getOption('text');
}
set text(value) {
this._setOption('text', value);
}
get textOverflow() {
return this._getOption('textOverflow');
}
set textOverflow(value) {
this._setOption('textOverflow', value);
}
get tooltipEnabled() {
return this._getOption('tooltipEnabled');
}
set tooltipEnabled(value) {
this._setOption('tooltipEnabled', value);
}
get tooltipTemplate() {
return this._getOption('tooltipTemplate');
}
set tooltipTemplate(value) {
this._setOption('tooltipTemplate', value);
}
get type() {
return this._getOption('type');
}
set type(value) {
this._setOption('type', value);
}
get width() {
return this._getOption('width');
}
set width(value) {
this._setOption('width', value);
}
get wordWrap() {
return this._getOption('wordWrap');
}
set wordWrap(value) {
this._setOption('wordWrap', value);
}
get x() {
return this._getOption('x');
}
set x(value) {
this._setOption('x', value);
}
get y() {
return this._getOption('y');
}
set y(value) {
this._setOption('y', value);
}
get _optionPath() {
return 'commonAnnotationSettings';
}
constructor(parentOptionHost, optionHost, renderer, document, templateHost, element) {
super();
this.renderer = renderer;
this.document = document;
this.element = element;
parentOptionHost.setNestedOption(this);
optionHost.setHost(this, this._fullOptionPath.bind(this));
templateHost.setHost(this);
}
setTemplate(template) {
this.template = template;
}
ngAfterViewInit() {
extractTemplate(this, this.element, this.renderer, this.document);
}
ngOnInit() {
this._addRecreatedComponent();
}
ngOnDestroy() {
this._addRemovedOption(this._getOptionPath());
}
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DxoPieChartCommonAnnotationSettingsComponent, deps: [{ token: i1.NestedOptionHost, host: true, skipSelf: true }, { token: i1.NestedOptionHost, host: true }, { token: i0.Renderer2 }, { token: DOCUMENT }, { token: i1.DxTemplateHost, host: true }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
/** @nocollapse */ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: DxoPieChartCommonAnnotationSettingsComponent, selector: "dxo-pie-chart-common-annotation-settings", inputs: { allowDragging: "allowDragging", argument: "argument", arrowLength: "arrowLength", arrowWidth: "arrowWidth", border: "border", color: "color", customizeTooltip: "customizeTooltip", data: "data", description: "description", font: "font", height: "height", image: "image", location: "location", offsetX: "offsetX", offsetY: "offsetY", opacity: "opacity", paddingLeftRight: "paddingLeftRight", paddingTopBottom: "paddingTopBottom", series: "series", shadow: "shadow", template: "template", text: "text", textOverflow: "textOverflow", tooltipEnabled: "tooltipEnabled", tooltipTemplate: "tooltipTemplate", type: "type", width: "width", wordWrap: "wordWrap", x: "x", y: "y" }, providers: [NestedOptionHost, DxTemplateHost], usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, styles: [":host{display:block}\n"] });
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DxoPieChartCommonAnnotationSettingsComponent, decorators: [{
type: Component,
args: [{ selector: 'dxo-pie-chart-common-annotation-settings', template: '<ng-content></ng-content>', providers: [NestedOptionHost, DxTemplateHost], styles: [":host{display:block}\n"] }]
}], ctorParameters: () => [{ type: i1.NestedOptionHost, decorators: [{
type: SkipSelf
}, {
type: Host
}] }, { type: i1.NestedOptionHost, decorators: [{
type: Host
}] }, { type: i0.Renderer2 }, { type: undefined, decorators: [{
type: Inject,
args: [DOCUMENT]
}] }, { type: i1.DxTemplateHost, decorators: [{
type: Host
}] }, { type: i0.ElementRef }], propDecorators: { allowDragging: [{
type: Input
}], argument: [{
type: Input
}], arrowLength: [{
type: Input
}], arrowWidth: [{
type: Input
}], border: [{
type: Input
}], color: [{
type: Input
}], customizeTooltip: [{
type: Input
}], data: [{
type: Input
}], description: [{
type: Input
}], font: [{
type: Input
}], height: [{
type: Input
}], image: [{
type: Input
}], location: [{
type: Input
}], offsetX: [{
type: Input
}], offsetY: [{
type: Input
}], opacity: [{
type: Input
}], paddingLeftRight: [{
type: Input
}], paddingTopBottom: [{
type: Input
}], series: [{
type: Input
}], shadow: [{
type: Input
}], template: [{
type: Input
}], text: [{
type: Input
}], textOverflow: [{
type: Input
}], tooltipEnabled: [{
type: Input
}], tooltipTemplate: [{
type: Input
}], type: [{
type: Input
}], width: [{
type: Input
}], wordWrap: [{
type: Input
}], x: [{
type: Input
}], y: [{
type: Input
}] } });
class DxoPieChartCommonAnnotationSettingsModule {
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DxoPieChartCommonAnnotationSettingsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
/** @nocollapse */ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: DxoPieChartCommonAnnotationSettingsModule, declarations: [DxoPieChartCommonAnnotationSettingsComponent], exports: [DxoPieChartCommonAnnotationSettingsComponent] });
/** @nocollapse */ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DxoPieChartCommonAnnotationSettingsModule });
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DxoPieChartCommonAnnotationSettingsModule, decorators: [{
type: NgModule,
args: [{
declarations: [
DxoPieChartCommonAnnotationSettingsComponent
],
exports: [
DxoPieChartCommonAnnotationSettingsComponent
],
}]
}] });
/*!
* devextreme-angular
* Version: 24.2.6
* Build date: Mon Mar 17 2025
*
* Copyright (c) 2012 - 2025 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:max-line-length */
class DxoPieChartCommonSeriesSettingsComponent extends NestedOption {
get argumentField() {
return this._getOption('argumentField');
}
set argumentField(value) {
this._setOption('argumentField', value);
}
get argumentType() {
return this._getOption('argumentType');
}
set argumentType(value) {
this._setOption('argumentType', value);
}
get border() {
return this._getOption('border');
}
set border(value) {
this._setOption('border', value);
}
get color() {
return this._getOption('color');
}
set color(value) {
this._setOption('color', value);
}
get hoverMode() {
return this._getOption('hoverMode');
}
set hoverMode(value) {
this._setOption('hoverMode', value);
}
get hoverStyle() {
return this._getOption('hoverStyle');
}
set hoverStyle(value) {
this._setOption('hoverStyle', value);
}
get label() {
return this._getOption('label');
}
set label(value) {
this._setOption('label', value);
}
get maxLabelCount() {
return this._getOption('maxLabelCount');
}
set maxLabelCount(value) {
this._setOption('maxLabelCount', value);
}
get minSegmentSize() {
return this._getOption('minSegmentSize');
}
set minSegmentSize(value) {
this._setOption('minSegmentSize', value);
}
get selectionMode() {
return this._getOption('selectionMode');
}
set selectionMode(value) {
this._setOption('selectionMode', value);
}
get selectionStyle() {
return this._getOption('selectionStyle');
}
set selectionStyle(value) {
this._setOption('selectionStyle', value);
}
get smallValuesGrouping() {
return this._getOption('smallValuesGrouping');
}
set smallValuesGrouping(value) {
this._setOption('smallValuesGrouping', value);
}
get tagField() {
return this._getOption('tagField');
}
set tagField(value) {
this._setOption('tagField'