UNPKG

devextreme-angular

Version:

DevExtreme UI and Visualization Components for Angular

1,181 lines (1,171 loc) 137 kB
import * as i0 from '@angular/core'; import { Input, SkipSelf, Host, Component, NgModule, ContentChildren, Inject, Output } from '@angular/core'; import * as i1 from 'devextreme-angular/core'; import { NestedOption, DxIntegrationModule, NestedOptionHost, CollectionNestedOption, extractTemplate, DxTemplateHost } from 'devextreme-angular/core'; import { PROPERTY_TOKEN_items, PROPERTY_TOKEN_commands, PROPERTY_TOKEN_connectionPoints, PROPERTY_TOKEN_customShapes, PROPERTY_TOKEN_groups, PROPERTY_TOKEN_tabs } from 'devextreme-angular/core/tokens'; import { DOCUMENT } from '@angular/common'; /*! * devextreme-angular * Version: 26.1.3 * Build date: Wed Jun 10 2026 * * Copyright (c) 2012 - 2026 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 */ /* tslint:disable:max-line-length */ class DxoDiagramAutoLayoutComponent extends NestedOption { get orientation() { return this._getOption('orientation'); } set orientation(value) { this._setOption('orientation', value); } get type() { return this._getOption('type'); } set type(value) { this._setOption('type', value); } get _optionPath() { return 'autoLayout'; } constructor(parentOptionHost, optionHost) { super(); parentOptionHost.setNestedOption(this); optionHost.setHost(this, this._fullOptionPath.bind(this)); } ngOnInit() { this._addRecreatedComponent(); } ngOnDestroy() { this._addRemovedOption(this._getOptionPath()); } /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: DxoDiagramAutoLayoutComponent, deps: [{ token: i1.NestedOptionHost, host: true, skipSelf: true }, { token: i1.NestedOptionHost, host: true }], target: i0.ɵɵFactoryTarget.Component }); } /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.21", type: DxoDiagramAutoLayoutComponent, isStandalone: true, selector: "dxo-diagram-auto-layout", inputs: { orientation: "orientation", type: "type" }, providers: [NestedOptionHost], usesInheritance: true, ngImport: i0, template: '', isInline: true, styles: [""], dependencies: [{ kind: "ngmodule", type: DxIntegrationModule }] }); } } i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: DxoDiagramAutoLayoutComponent, decorators: [{ type: Component, args: [{ selector: 'dxo-diagram-auto-layout', template: '', imports: [DxIntegrationModule], providers: [NestedOptionHost] }] }], ctorParameters: () => [{ type: i1.NestedOptionHost, decorators: [{ type: SkipSelf }, { type: Host }] }, { type: i1.NestedOptionHost, decorators: [{ type: Host }] }], propDecorators: { orientation: [{ type: Input }], type: [{ type: Input }] } }); class DxoDiagramAutoLayoutModule { /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: DxoDiagramAutoLayoutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); } /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.21", ngImport: i0, type: DxoDiagramAutoLayoutModule, imports: [DxoDiagramAutoLayoutComponent], exports: [DxoDiagramAutoLayoutComponent] }); } /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: DxoDiagramAutoLayoutModule, imports: [DxoDiagramAutoLayoutComponent] }); } } i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: DxoDiagramAutoLayoutModule, decorators: [{ type: NgModule, args: [{ imports: [ DxoDiagramAutoLayoutComponent ], exports: [ DxoDiagramAutoLayoutComponent ], }] }] }); /*! * devextreme-angular * Version: 26.1.3 * Build date: Wed Jun 10 2026 * * Copyright (c) 2012 - 2026 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 */ /* tslint:disable:max-line-length */ class DxiDiagramCommandComponent extends CollectionNestedOption { set _itemsContentChildren(value) { this.setChildren('items', value); } get icon() { return this._getOption('icon'); } set icon(value) { this._setOption('icon', value); } get items() { return this._getOption('items'); } set items(value) { this._setOption('items', 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 text() { return this._getOption('text'); } set text(value) { this._setOption('text', value); } get _optionPath() { return 'commands'; } constructor(parentOptionHost, optionHost) { super(); parentOptionHost.setNestedOption(this); optionHost.setHost(this, this._fullOptionPath.bind(this)); } ngOnDestroy() { this._deleteRemovedOptions(this._fullOptionPath()); } /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: DxiDiagramCommandComponent, deps: [{ token: i1.NestedOptionHost, host: true, skipSelf: true }, { token: i1.NestedOptionHost, host: true }], target: i0.ɵɵFactoryTarget.Component }); } /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.21", type: DxiDiagramCommandComponent, isStandalone: true, selector: "dxi-diagram-command", inputs: { icon: "icon", items: "items", location: "location", name: "name", text: "text" }, providers: [ NestedOptionHost, { provide: PROPERTY_TOKEN_commands, useExisting: DxiDiagramCommandComponent, } ], queries: [{ propertyName: "_itemsContentChildren", predicate: PROPERTY_TOKEN_items }], usesInheritance: true, ngImport: i0, template: '', isInline: true, styles: [""], dependencies: [{ kind: "ngmodule", type: DxIntegrationModule }] }); } } i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: DxiDiagramCommandComponent, decorators: [{ type: Component, args: [{ selector: 'dxi-diagram-command', template: '', imports: [DxIntegrationModule], providers: [ NestedOptionHost, { provide: PROPERTY_TOKEN_commands, useExisting: DxiDiagramCommandComponent, } ] }] }], ctorParameters: () => [{ type: i1.NestedOptionHost, decorators: [{ type: SkipSelf }, { type: Host }] }, { type: i1.NestedOptionHost, decorators: [{ type: Host }] }], propDecorators: { _itemsContentChildren: [{ type: ContentChildren, args: [PROPERTY_TOKEN_items] }], icon: [{ type: Input }], items: [{ type: Input }], location: [{ type: Input }], name: [{ type: Input }], text: [{ type: Input }] } }); class DxiDiagramCommandModule { /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: DxiDiagramCommandModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); } /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.21", ngImport: i0, type: DxiDiagramCommandModule, imports: [DxiDiagramCommandComponent], exports: [DxiDiagramCommandComponent] }); } /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: DxiDiagramCommandModule, imports: [DxiDiagramCommandComponent] }); } } i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: DxiDiagramCommandModule, decorators: [{ type: NgModule, args: [{ imports: [ DxiDiagramCommandComponent ], exports: [ DxiDiagramCommandComponent ], }] }] }); /*! * devextreme-angular * Version: 26.1.3 * Build date: Wed Jun 10 2026 * * Copyright (c) 2012 - 2026 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 */ /* tslint:disable:max-line-length */ class DxiDiagramCommandItemComponent extends CollectionNestedOption { set _itemsContentChildren(value) { this.setChildren('items', value); } get icon() { return this._getOption('icon'); } set icon(value) { this._setOption('icon', value); } get items() { return this._getOption('items'); } set items(value) { this._setOption('items', 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 text() { return this._getOption('text'); } set text(value) { this._setOption('text', value); } get _optionPath() { return 'items'; } constructor(parentOptionHost, optionHost) { super(); parentOptionHost.setNestedOption(this); optionHost.setHost(this, this._fullOptionPath.bind(this)); } ngOnDestroy() { this._deleteRemovedOptions(this._fullOptionPath()); } /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: DxiDiagramCommandItemComponent, deps: [{ token: i1.NestedOptionHost, host: true, skipSelf: true }, { token: i1.NestedOptionHost, host: true }], target: i0.ɵɵFactoryTarget.Component }); } /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.21", type: DxiDiagramCommandItemComponent, isStandalone: true, selector: "dxi-diagram-command-item", inputs: { icon: "icon", items: "items", location: "location", name: "name", text: "text" }, providers: [ NestedOptionHost, { provide: PROPERTY_TOKEN_items, useExisting: DxiDiagramCommandItemComponent, } ], queries: [{ propertyName: "_itemsContentChildren", predicate: PROPERTY_TOKEN_items }], usesInheritance: true, ngImport: i0, template: '', isInline: true, styles: [""], dependencies: [{ kind: "ngmodule", type: DxIntegrationModule }] }); } } i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: DxiDiagramCommandItemComponent, decorators: [{ type: Component, args: [{ selector: 'dxi-diagram-command-item', template: '', imports: [DxIntegrationModule], providers: [ NestedOptionHost, { provide: PROPERTY_TOKEN_items, useExisting: DxiDiagramCommandItemComponent, } ] }] }], ctorParameters: () => [{ type: i1.NestedOptionHost, decorators: [{ type: SkipSelf }, { type: Host }] }, { type: i1.NestedOptionHost, decorators: [{ type: Host }] }], propDecorators: { _itemsContentChildren: [{ type: ContentChildren, args: [PROPERTY_TOKEN_items] }], icon: [{ type: Input }], items: [{ type: Input }], location: [{ type: Input }], name: [{ type: Input }], text: [{ type: Input }] } }); class DxiDiagramCommandItemModule { /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: DxiDiagramCommandItemModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); } /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.21", ngImport: i0, type: DxiDiagramCommandItemModule, imports: [DxiDiagramCommandItemComponent], exports: [DxiDiagramCommandItemComponent] }); } /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: DxiDiagramCommandItemModule, imports: [DxiDiagramCommandItemComponent] }); } } i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: DxiDiagramCommandItemModule, decorators: [{ type: NgModule, args: [{ imports: [ DxiDiagramCommandItemComponent ], exports: [ DxiDiagramCommandItemComponent ], }] }] }); /*! * devextreme-angular * Version: 26.1.3 * Build date: Wed Jun 10 2026 * * Copyright (c) 2012 - 2026 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 */ /* tslint:disable:max-line-length */ class DxiDiagramConnectionPointComponent extends CollectionNestedOption { 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 'connectionPoints'; } constructor(parentOptionHost, optionHost) { super(); parentOptionHost.setNestedOption(this); optionHost.setHost(this, this._fullOptionPath.bind(this)); } ngOnDestroy() { this._deleteRemovedOptions(this._fullOptionPath()); } /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: DxiDiagramConnectionPointComponent, deps: [{ token: i1.NestedOptionHost, host: true, skipSelf: true }, { token: i1.NestedOptionHost, host: true }], target: i0.ɵɵFactoryTarget.Component }); } /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.21", type: DxiDiagramConnectionPointComponent, isStandalone: true, selector: "dxi-diagram-connection-point", inputs: { x: "x", y: "y" }, providers: [ NestedOptionHost, { provide: PROPERTY_TOKEN_connectionPoints, useExisting: DxiDiagramConnectionPointComponent, } ], usesInheritance: true, ngImport: i0, template: '', isInline: true, styles: [""], dependencies: [{ kind: "ngmodule", type: DxIntegrationModule }] }); } } i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: DxiDiagramConnectionPointComponent, decorators: [{ type: Component, args: [{ selector: 'dxi-diagram-connection-point', template: '', imports: [DxIntegrationModule], providers: [ NestedOptionHost, { provide: PROPERTY_TOKEN_connectionPoints, useExisting: DxiDiagramConnectionPointComponent, } ] }] }], ctorParameters: () => [{ type: i1.NestedOptionHost, decorators: [{ type: SkipSelf }, { type: Host }] }, { type: i1.NestedOptionHost, decorators: [{ type: Host }] }], propDecorators: { x: [{ type: Input }], y: [{ type: Input }] } }); class DxiDiagramConnectionPointModule { /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: DxiDiagramConnectionPointModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); } /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.21", ngImport: i0, type: DxiDiagramConnectionPointModule, imports: [DxiDiagramConnectionPointComponent], exports: [DxiDiagramConnectionPointComponent] }); } /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: DxiDiagramConnectionPointModule, imports: [DxiDiagramConnectionPointComponent] }); } } i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: DxiDiagramConnectionPointModule, decorators: [{ type: NgModule, args: [{ imports: [ DxiDiagramConnectionPointComponent ], exports: [ DxiDiagramConnectionPointComponent ], }] }] }); /*! * devextreme-angular * Version: 26.1.3 * Build date: Wed Jun 10 2026 * * Copyright (c) 2012 - 2026 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 */ /* tslint:disable:max-line-length */ class DxoDiagramContextMenuComponent extends NestedOption { set _commandsContentChildren(value) { this.setChildren('commands', value); } get commands() { return this._getOption('commands'); } set commands(value) { this._setOption('commands', value); } get enabled() { return this._getOption('enabled'); } set enabled(value) { this._setOption('enabled', value); } get _optionPath() { return 'contextMenu'; } constructor(parentOptionHost, optionHost) { super(); parentOptionHost.setNestedOption(this); optionHost.setHost(this, this._fullOptionPath.bind(this)); } ngOnInit() { this._addRecreatedComponent(); } ngOnDestroy() { this._addRemovedOption(this._getOptionPath()); } /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: DxoDiagramContextMenuComponent, deps: [{ token: i1.NestedOptionHost, host: true, skipSelf: true }, { token: i1.NestedOptionHost, host: true }], target: i0.ɵɵFactoryTarget.Component }); } /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.21", type: DxoDiagramContextMenuComponent, isStandalone: true, selector: "dxo-diagram-context-menu", inputs: { commands: "commands", enabled: "enabled" }, providers: [NestedOptionHost], queries: [{ propertyName: "_commandsContentChildren", predicate: PROPERTY_TOKEN_commands }], usesInheritance: true, ngImport: i0, template: '', isInline: true, styles: [""], dependencies: [{ kind: "ngmodule", type: DxIntegrationModule }] }); } } i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: DxoDiagramContextMenuComponent, decorators: [{ type: Component, args: [{ selector: 'dxo-diagram-context-menu', template: '', imports: [DxIntegrationModule], providers: [NestedOptionHost] }] }], ctorParameters: () => [{ type: i1.NestedOptionHost, decorators: [{ type: SkipSelf }, { type: Host }] }, { type: i1.NestedOptionHost, decorators: [{ type: Host }] }], propDecorators: { _commandsContentChildren: [{ type: ContentChildren, args: [PROPERTY_TOKEN_commands] }], commands: [{ type: Input }], enabled: [{ type: Input }] } }); class DxoDiagramContextMenuModule { /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: DxoDiagramContextMenuModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); } /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.21", ngImport: i0, type: DxoDiagramContextMenuModule, imports: [DxoDiagramContextMenuComponent], exports: [DxoDiagramContextMenuComponent] }); } /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: DxoDiagramContextMenuModule, imports: [DxoDiagramContextMenuComponent] }); } } i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: DxoDiagramContextMenuModule, decorators: [{ type: NgModule, args: [{ imports: [ DxoDiagramContextMenuComponent ], exports: [ DxoDiagramContextMenuComponent ], }] }] }); /*! * devextreme-angular * Version: 26.1.3 * Build date: Wed Jun 10 2026 * * Copyright (c) 2012 - 2026 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 */ /* tslint:disable:max-line-length */ class DxoDiagramContextToolboxComponent extends NestedOption { get category() { return this._getOption('category'); } set category(value) { this._setOption('category', value); } get displayMode() { return this._getOption('displayMode'); } set displayMode(value) { this._setOption('displayMode', value); } get enabled() { return this._getOption('enabled'); } set enabled(value) { this._setOption('enabled', value); } get shapeIconsPerRow() { return this._getOption('shapeIconsPerRow'); } set shapeIconsPerRow(value) { this._setOption('shapeIconsPerRow', value); } get shapes() { return this._getOption('shapes'); } set shapes(value) { this._setOption('shapes', value); } get width() { return this._getOption('width'); } set width(value) { this._setOption('width', value); } get _optionPath() { return 'contextToolbox'; } constructor(parentOptionHost, optionHost) { super(); parentOptionHost.setNestedOption(this); optionHost.setHost(this, this._fullOptionPath.bind(this)); } ngOnInit() { this._addRecreatedComponent(); } ngOnDestroy() { this._addRemovedOption(this._getOptionPath()); } /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: DxoDiagramContextToolboxComponent, deps: [{ token: i1.NestedOptionHost, host: true, skipSelf: true }, { token: i1.NestedOptionHost, host: true }], target: i0.ɵɵFactoryTarget.Component }); } /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.21", type: DxoDiagramContextToolboxComponent, isStandalone: true, selector: "dxo-diagram-context-toolbox", inputs: { category: "category", displayMode: "displayMode", enabled: "enabled", shapeIconsPerRow: "shapeIconsPerRow", shapes: "shapes", width: "width" }, providers: [NestedOptionHost], usesInheritance: true, ngImport: i0, template: '', isInline: true, styles: [""], dependencies: [{ kind: "ngmodule", type: DxIntegrationModule }] }); } } i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: DxoDiagramContextToolboxComponent, decorators: [{ type: Component, args: [{ selector: 'dxo-diagram-context-toolbox', template: '', imports: [DxIntegrationModule], providers: [NestedOptionHost] }] }], ctorParameters: () => [{ type: i1.NestedOptionHost, decorators: [{ type: SkipSelf }, { type: Host }] }, { type: i1.NestedOptionHost, decorators: [{ type: Host }] }], propDecorators: { category: [{ type: Input }], displayMode: [{ type: Input }], enabled: [{ type: Input }], shapeIconsPerRow: [{ type: Input }], shapes: [{ type: Input }], width: [{ type: Input }] } }); class DxoDiagramContextToolboxModule { /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: DxoDiagramContextToolboxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); } /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.21", ngImport: i0, type: DxoDiagramContextToolboxModule, imports: [DxoDiagramContextToolboxComponent], exports: [DxoDiagramContextToolboxComponent] }); } /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: DxoDiagramContextToolboxModule, imports: [DxoDiagramContextToolboxComponent] }); } } i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: DxoDiagramContextToolboxModule, decorators: [{ type: NgModule, args: [{ imports: [ DxoDiagramContextToolboxComponent ], exports: [ DxoDiagramContextToolboxComponent ], }] }] }); /*! * devextreme-angular * Version: 26.1.3 * Build date: Wed Jun 10 2026 * * Copyright (c) 2012 - 2026 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 */ /* tslint:disable:max-line-length */ class DxiDiagramCustomShapeComponent extends CollectionNestedOption { set _connectionPointsContentChildren(value) { this.setChildren('connectionPoints', value); } get allowEditImage() { return this._getOption('allowEditImage'); } set allowEditImage(value) { this._setOption('allowEditImage', value); } get allowEditText() { return this._getOption('allowEditText'); } set allowEditText(value) { this._setOption('allowEditText', value); } get allowResize() { return this._getOption('allowResize'); } set allowResize(value) { this._setOption('allowResize', value); } get backgroundImageHeight() { return this._getOption('backgroundImageHeight'); } set backgroundImageHeight(value) { this._setOption('backgroundImageHeight', value); } get backgroundImageLeft() { return this._getOption('backgroundImageLeft'); } set backgroundImageLeft(value) { this._setOption('backgroundImageLeft', value); } get backgroundImageToolboxUrl() { return this._getOption('backgroundImageToolboxUrl'); } set backgroundImageToolboxUrl(value) { this._setOption('backgroundImageToolboxUrl', value); } get backgroundImageTop() { return this._getOption('backgroundImageTop'); } set backgroundImageTop(value) { this._setOption('backgroundImageTop', value); } get backgroundImageUrl() { return this._getOption('backgroundImageUrl'); } set backgroundImageUrl(value) { this._setOption('backgroundImageUrl', value); } get backgroundImageWidth() { return this._getOption('backgroundImageWidth'); } set backgroundImageWidth(value) { this._setOption('backgroundImageWidth', value); } get baseType() { return this._getOption('baseType'); } set baseType(value) { this._setOption('baseType', value); } get category() { return this._getOption('category'); } set category(value) { this._setOption('category', value); } get connectionPoints() { return this._getOption('connectionPoints'); } set connectionPoints(value) { this._setOption('connectionPoints', value); } get defaultHeight() { return this._getOption('defaultHeight'); } set defaultHeight(value) { this._setOption('defaultHeight', value); } get defaultImageUrl() { return this._getOption('defaultImageUrl'); } set defaultImageUrl(value) { this._setOption('defaultImageUrl', value); } get defaultText() { return this._getOption('defaultText'); } set defaultText(value) { this._setOption('defaultText', value); } get defaultWidth() { return this._getOption('defaultWidth'); } set defaultWidth(value) { this._setOption('defaultWidth', value); } get imageHeight() { return this._getOption('imageHeight'); } set imageHeight(value) { this._setOption('imageHeight', value); } get imageLeft() { return this._getOption('imageLeft'); } set imageLeft(value) { this._setOption('imageLeft', value); } get imageTop() { return this._getOption('imageTop'); } set imageTop(value) { this._setOption('imageTop', value); } get imageWidth() { return this._getOption('imageWidth'); } set imageWidth(value) { this._setOption('imageWidth', value); } get keepRatioOnAutoSize() { return this._getOption('keepRatioOnAutoSize'); } set keepRatioOnAutoSize(value) { this._setOption('keepRatioOnAutoSize', value); } get maxHeight() { return this._getOption('maxHeight'); } set maxHeight(value) { this._setOption('maxHeight', value); } get maxWidth() { return this._getOption('maxWidth'); } set maxWidth(value) { this._setOption('maxWidth', value); } get minHeight() { return this._getOption('minHeight'); } set minHeight(value) { this._setOption('minHeight', value); } get minWidth() { return this._getOption('minWidth'); } set minWidth(value) { this._setOption('minWidth', value); } get template() { return this._getOption('template'); } set template(value) { this._setOption('template', value); } get templateHeight() { return this._getOption('templateHeight'); } set templateHeight(value) { this._setOption('templateHeight', value); } get templateLeft() { return this._getOption('templateLeft'); } set templateLeft(value) { this._setOption('templateLeft', value); } get templateTop() { return this._getOption('templateTop'); } set templateTop(value) { this._setOption('templateTop', value); } get templateWidth() { return this._getOption('templateWidth'); } set templateWidth(value) { this._setOption('templateWidth', value); } get textHeight() { return this._getOption('textHeight'); } set textHeight(value) { this._setOption('textHeight', value); } get textLeft() { return this._getOption('textLeft'); } set textLeft(value) { this._setOption('textLeft', value); } get textTop() { return this._getOption('textTop'); } set textTop(value) { this._setOption('textTop', value); } get textWidth() { return this._getOption('textWidth'); } set textWidth(value) { this._setOption('textWidth', value); } get title() { return this._getOption('title'); } set title(value) { this._setOption('title', value); } get toolboxTemplate() { return this._getOption('toolboxTemplate'); } set toolboxTemplate(value) { this._setOption('toolboxTemplate', value); } get toolboxWidthToHeightRatio() { return this._getOption('toolboxWidthToHeightRatio'); } set toolboxWidthToHeightRatio(value) { this._setOption('toolboxWidthToHeightRatio', value); } get type() { return this._getOption('type'); } set type(value) { this._setOption('type', value); } get _optionPath() { return 'customShapes'; } 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 { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: DxiDiagramCustomShapeComponent, 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 { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.21", type: DxiDiagramCustomShapeComponent, isStandalone: true, selector: "dxi-diagram-custom-shape", inputs: { allowEditImage: "allowEditImage", allowEditText: "allowEditText", allowResize: "allowResize", backgroundImageHeight: "backgroundImageHeight", backgroundImageLeft: "backgroundImageLeft", backgroundImageToolboxUrl: "backgroundImageToolboxUrl", backgroundImageTop: "backgroundImageTop", backgroundImageUrl: "backgroundImageUrl", backgroundImageWidth: "backgroundImageWidth", baseType: "baseType", category: "category", connectionPoints: "connectionPoints", defaultHeight: "defaultHeight", defaultImageUrl: "defaultImageUrl", defaultText: "defaultText", defaultWidth: "defaultWidth", imageHeight: "imageHeight", imageLeft: "imageLeft", imageTop: "imageTop", imageWidth: "imageWidth", keepRatioOnAutoSize: "keepRatioOnAutoSize", maxHeight: "maxHeight", maxWidth: "maxWidth", minHeight: "minHeight", minWidth: "minWidth", template: "template", templateHeight: "templateHeight", templateLeft: "templateLeft", templateTop: "templateTop", templateWidth: "templateWidth", textHeight: "textHeight", textLeft: "textLeft", textTop: "textTop", textWidth: "textWidth", title: "title", toolboxTemplate: "toolboxTemplate", toolboxWidthToHeightRatio: "toolboxWidthToHeightRatio", type: "type" }, providers: [ NestedOptionHost, DxTemplateHost, { provide: PROPERTY_TOKEN_customShapes, useExisting: DxiDiagramCustomShapeComponent, } ], queries: [{ propertyName: "_connectionPointsContentChildren", predicate: PROPERTY_TOKEN_connectionPoints }], usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, styles: [":host{display:block}\n"], dependencies: [{ kind: "ngmodule", type: DxIntegrationModule }] }); } } i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: DxiDiagramCustomShapeComponent, decorators: [{ type: Component, args: [{ selector: 'dxi-diagram-custom-shape', template: '<ng-content></ng-content>', imports: [DxIntegrationModule], providers: [ NestedOptionHost, DxTemplateHost, { provide: PROPERTY_TOKEN_customShapes, useExisting: DxiDiagramCustomShapeComponent, } ], 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: { _connectionPointsContentChildren: [{ type: ContentChildren, args: [PROPERTY_TOKEN_connectionPoints] }], allowEditImage: [{ type: Input }], allowEditText: [{ type: Input }], allowResize: [{ type: Input }], backgroundImageHeight: [{ type: Input }], backgroundImageLeft: [{ type: Input }], backgroundImageToolboxUrl: [{ type: Input }], backgroundImageTop: [{ type: Input }], backgroundImageUrl: [{ type: Input }], backgroundImageWidth: [{ type: Input }], baseType: [{ type: Input }], category: [{ type: Input }], connectionPoints: [{ type: Input }], defaultHeight: [{ type: Input }], defaultImageUrl: [{ type: Input }], defaultText: [{ type: Input }], defaultWidth: [{ type: Input }], imageHeight: [{ type: Input }], imageLeft: [{ type: Input }], imageTop: [{ type: Input }], imageWidth: [{ type: Input }], keepRatioOnAutoSize: [{ type: Input }], maxHeight: [{ type: Input }], maxWidth: [{ type: Input }], minHeight: [{ type: Input }], minWidth: [{ type: Input }], template: [{ type: Input }], templateHeight: [{ type: Input }], templateLeft: [{ type: Input }], templateTop: [{ type: Input }], templateWidth: [{ type: Input }], textHeight: [{ type: Input }], textLeft: [{ type: Input }], textTop: [{ type: Input }], textWidth: [{ type: Input }], title: [{ type: Input }], toolboxTemplate: [{ type: Input }], toolboxWidthToHeightRatio: [{ type: Input }], type: [{ type: Input }] } }); class DxiDiagramCustomShapeModule { /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: DxiDiagramCustomShapeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); } /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.21", ngImport: i0, type: DxiDiagramCustomShapeModule, imports: [DxiDiagramCustomShapeComponent], exports: [DxiDiagramCustomShapeComponent] }); } /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: DxiDiagramCustomShapeModule, imports: [DxiDiagramCustomShapeComponent] }); } } i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: DxiDiagramCustomShapeModule, decorators: [{ type: NgModule, args: [{ imports: [ DxiDiagramCustomShapeComponent ], exports: [ DxiDiagramCustomShapeComponent ], }] }] }); /*! * devextreme-angular * Version: 26.1.3 * Build date: Wed Jun 10 2026 * * Copyright (c) 2012 - 2026 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 */ /* tslint:disable:max-line-length */ class DxoDiagramDefaultItemPropertiesComponent extends NestedOption { get connectorLineEnd() { return this._getOption('connectorLineEnd'); } set connectorLineEnd(value) { this._setOption('connectorLineEnd', value); } get connectorLineStart() { return this._getOption('connectorLineStart'); } set connectorLineStart(value) { this._setOption('connectorLineStart', value); } get connectorLineType() { return this._getOption('connectorLineType'); } set connectorLineType(value) { this._setOption('connectorLineType', value); } get shapeMaxHeight() { return this._getOption('shapeMaxHeight'); } set shapeMaxHeight(value) { this._setOption('shapeMaxHeight', value); } get shapeMaxWidth() { return this._getOption('shapeMaxWidth'); } set shapeMaxWidth(value) { this._setOption('shapeMaxWidth', value); } get shapeMinHeight() { return this._getOption('shapeMinHeight'); } set shapeMinHeight(value) { this._setOption('shapeMinHeight', value); } get shapeMinWidth() { return this._getOption('shapeMinWidth'); } set shapeMinWidth(value) { this._setOption('shapeMinWidth', value); } get style() { return this._getOption('style'); } set style(value) { this._setOption('style', value); } get textStyle() { return this._getOption('textStyle'); } set textStyle(value) { this._setOption('textStyle', value); } get _optionPath() { return 'defaultItemProperties'; } constructor(parentOptionHost, optionHost) { super(); parentOptionHost.setNestedOption(this); optionHost.setHost(this, this._fullOptionPath.bind(this)); } ngOnInit() { this._addRecreatedComponent(); } ngOnDestroy() { this._addRemovedOption(this._getOptionPath()); } /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: DxoDiagramDefaultItemPropertiesComponent, deps: [{ token: i1.NestedOptionHost, host: true, skipSelf: true }, { token: i1.NestedOptionHost, host: true }], target: i0.ɵɵFactoryTarget.Component }); } /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.21", type: DxoDiagramDefaultItemPropertiesComponent, isStandalone: true, selector: "dxo-diagram-default-item-properties", inputs: { connectorLineEnd: "connectorLineEnd", connectorLineStart: "connectorLineStart", connectorLineType: "connectorLineType", shapeMaxHeight: "shapeMaxHeight", shapeMaxWidth: "shapeMaxWidth", shapeMinHeight: "shapeMinHeight", shapeMinWidth: "shapeMinWidth", style: "style", textStyle: "textStyle" }, providers: [NestedOptionHost], usesInheritance: true, ngImport: i0, template: '', isInline: true, styles: [""], dependencies: [{ kind: "ngmodule", type: DxIntegrationModule }] }); } } i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: DxoDiagramDefaultItemPropertiesComponent, decorators: [{ type: Component, args: [{ selector: 'dxo-diagram-default-item-properties', template: '', imports: [DxIntegrationModule], providers: [NestedOptionHost] }] }], ctorParameters: () => [{ type: i1.NestedOptionHost, decorators: [{ type: SkipSelf }, { type: Host }] }, { type: i1.NestedOptionHost, decorators: [{ type: Host }] }], propDecorators: { connectorLineEnd: [{ type: Input }], connectorLineStart: [{ type: Input }], connectorLineType: [{ type: Input }], shapeMaxHeight: [{ type: Input }], shapeMaxWidth: [{ type: Input }], shapeMinHeight: [{ type: Input }], shapeMinWidth: [{ type: Input }], style: [{ type: Input }], textStyle: [{ type: Input }] } }); class DxoDiagramDefaultItemPropertiesModule { /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: DxoDiagramDefaultItemPropertiesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); } /** @nocollapse */ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.21", ngImport: i0, type: DxoDiagramDefaultItemPropertiesModule, imports: [DxoDiagramDefaultItemPropertiesComponent], exports: [DxoDiagramDefaultItemPropertiesComponent] }); } /** @nocollapse */ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: DxoDiagramDefaultItemPropertiesModule, imports: [DxoDiagramDefaultItemPropertiesComponent] }); } } i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.21", ngImport: i0, type: DxoDiagramDefaultItemPropertiesModule, decorators: [{ type: NgModule, args: [{ imports: [ DxoDiagramDefaultItemPropertiesComponent ], exports: [ DxoDiagramDefaultItemPropertiesComponent ], }] }] }); /*! * devextreme-angular * Version: 26.1.3 * Build date: Wed Jun 10 2026 * * Copyright (c) 2012 - 2026 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 */ /* tslint:disable:max-line-length */ class DxoDiagramEdgesComponent extends NestedOption { get customDataExpr() { return this._getOption('customDataExpr'); } set customDataExpr(value) { this._setOption('customDataExpr', value); } get dataSource() { return this._getOption('dataSource'); } set dataSource(value) { this._setOption('dataSource', value); } get fromExpr() { return this._getOption('fromExpr'); } set fromExpr(value) { this._setOption('fromExpr', value); } get fromLineEndExpr() { return this._getOption('fromLineEndExpr'); } set fromLineEndExpr(value) { this._setOption('fromLineEndExpr', value); } get fromPointIndexExpr() { return this._getOption('fromPointIndexExpr'); } set fromPointIndexExpr(value) { this._setOption('fromPointIndexExpr', value); } get keyExpr() { return this._getOption('keyExpr'); } set keyExpr(value) { this._setOption('keyExpr', value); } get lineTypeExpr() { return this._getOption('lineTypeExpr'); } set lineTypeExpr(value) { this._setOption('lineTypeExpr', value); } get lockedExpr() { return this._getOption('lockedExpr'); } set lockedExpr(value) { this._setOption('lockedExpr', value); } get pointsExpr() { return this._getOption('pointsExpr'); } set pointsExpr(value) { this._setOption('pointsExpr', value); } get styleExpr() { return this._getOption('styleExpr'); } set styleExpr(value) { this._setOption('styleExpr', value); } get textExpr() { return this._getOption('textExpr'); } set textExpr(value) { this._setOption('textExpr', value); }