UNPKG

devextreme-angular

Version:

Angular UI and visualization components based on DevExtreme widgets

1,258 lines (1,237 loc) 141 kB
import * as i0 from '@angular/core'; import { Component, SkipSelf, Host, Input, Output, NgModule, Inject, ContentChildren, forwardRef } from '@angular/core'; import * as i1 from 'devextreme-angular/core'; import { CollectionNestedOption, NestedOptionHost, NestedOption, 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 DxiGanttColumnComponent extends CollectionNestedOption { get alignment() { return this._getOption('alignment'); } set alignment(value) { this._setOption('alignment', value); } get allowFiltering() { return this._getOption('allowFiltering'); } set allowFiltering(value) { this._setOption('allowFiltering', value); } get allowHeaderFiltering() { return this._getOption('allowHeaderFiltering'); } set allowHeaderFiltering(value) { this._setOption('allowHeaderFiltering', value); } get allowSorting() { return this._getOption('allowSorting'); } set allowSorting(value) { this._setOption('allowSorting', value); } get calculateCellValue() { return this._getOption('calculateCellValue'); } set calculateCellValue(value) { this._setOption('calculateCellValue', value); } get calculateDisplayValue() { return this._getOption('calculateDisplayValue'); } set calculateDisplayValue(value) { this._setOption('calculateDisplayValue', value); } get calculateFilterExpression() { return this._getOption('calculateFilterExpression'); } set calculateFilterExpression(value) { this._setOption('calculateFilterExpression', value); } get calculateSortValue() { return this._getOption('calculateSortValue'); } set calculateSortValue(value) { this._setOption('calculateSortValue', value); } get caption() { return this._getOption('caption'); } set caption(value) { this._setOption('caption', value); } get cellTemplate() { return this._getOption('cellTemplate'); } set cellTemplate(value) { this._setOption('cellTemplate', value); } get cssClass() { return this._getOption('cssClass'); } set cssClass(value) { this._setOption('cssClass', value); } get customizeText() { return this._getOption('customizeText'); } set customizeText(value) { this._setOption('customizeText', value); } get dataField() { return this._getOption('dataField'); } set dataField(value) { this._setOption('dataField', value); } get dataType() { return this._getOption('dataType'); } set dataType(value) { this._setOption('dataType', value); } get encodeHtml() { return this._getOption('encodeHtml'); } set encodeHtml(value) { this._setOption('encodeHtml', value); } get falseText() { return this._getOption('falseText'); } set falseText(value) { this._setOption('falseText', value); } get filterOperations() { return this._getOption('filterOperations'); } set filterOperations(value) { this._setOption('filterOperations', value); } get filterType() { return this._getOption('filterType'); } set filterType(value) { this._setOption('filterType', value); } get filterValue() { return this._getOption('filterValue'); } set filterValue(value) { this._setOption('filterValue', value); } get filterValues() { return this._getOption('filterValues'); } set filterValues(value) { this._setOption('filterValues', value); } get format() { return this._getOption('format'); } set format(value) { this._setOption('format', value); } get headerCellTemplate() { return this._getOption('headerCellTemplate'); } set headerCellTemplate(value) { this._setOption('headerCellTemplate', value); } get headerFilter() { return this._getOption('headerFilter'); } set headerFilter(value) { this._setOption('headerFilter', value); } get minWidth() { return this._getOption('minWidth'); } set minWidth(value) { this._setOption('minWidth', value); } get selectedFilterOperation() { return this._getOption('selectedFilterOperation'); } set selectedFilterOperation(value) { this._setOption('selectedFilterOperation', value); } get sortIndex() { return this._getOption('sortIndex'); } set sortIndex(value) { this._setOption('sortIndex', value); } get sortingMethod() { return this._getOption('sortingMethod'); } set sortingMethod(value) { this._setOption('sortingMethod', value); } get sortOrder() { return this._getOption('sortOrder'); } set sortOrder(value) { this._setOption('sortOrder', value); } get trueText() { return this._getOption('trueText'); } set trueText(value) { this._setOption('trueText', value); } get visible() { return this._getOption('visible'); } set visible(value) { this._setOption('visible', value); } get visibleIndex() { return this._getOption('visibleIndex'); } set visibleIndex(value) { this._setOption('visibleIndex', value); } get width() { return this._getOption('width'); } set width(value) { this._setOption('width', value); } /** * This member supports the internal infrastructure and is not intended to be used directly from your code. */ filterValueChange; /** * This member supports the internal infrastructure and is not intended to be used directly from your code. */ filterValuesChange; /** * This member supports the internal infrastructure and is not intended to be used directly from your code. */ selectedFilterOperationChange; /** * This member supports the internal infrastructure and is not intended to be used directly from your code. */ sortIndexChange; /** * This member supports the internal infrastructure and is not intended to be used directly from your code. */ sortOrderChange; /** * This member supports the internal infrastructure and is not intended to be used directly from your code. */ visibleChange; /** * This member supports the internal infrastructure and is not intended to be used directly from your code. */ visibleIndexChange; get _optionPath() { return 'columns'; } constructor(parentOptionHost, optionHost) { super(); this._createEventEmitters([ { emit: 'filterValueChange' }, { emit: 'filterValuesChange' }, { emit: 'selectedFilterOperationChange' }, { emit: 'sortIndexChange' }, { emit: 'sortOrderChange' }, { emit: 'visibleChange' }, { emit: 'visibleIndexChange' } ]); parentOptionHost.setNestedOption(this); optionHost.setHost(this, this._fullOptionPath.bind(this)); } ngOnDestroy() { this._deleteRemovedOptions(this._fullOptionPath()); } /** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DxiGanttColumnComponent, 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: DxiGanttColumnComponent, selector: "dxi-gantt-column", inputs: { alignment: "alignment", allowFiltering: "allowFiltering", allowHeaderFiltering: "allowHeaderFiltering", allowSorting: "allowSorting", calculateCellValue: "calculateCellValue", calculateDisplayValue: "calculateDisplayValue", calculateFilterExpression: "calculateFilterExpression", calculateSortValue: "calculateSortValue", caption: "caption", cellTemplate: "cellTemplate", cssClass: "cssClass", customizeText: "customizeText", dataField: "dataField", dataType: "dataType", encodeHtml: "encodeHtml", falseText: "falseText", filterOperations: "filterOperations", filterType: "filterType", filterValue: "filterValue", filterValues: "filterValues", format: "format", headerCellTemplate: "headerCellTemplate", headerFilter: "headerFilter", minWidth: "minWidth", selectedFilterOperation: "selectedFilterOperation", sortIndex: "sortIndex", sortingMethod: "sortingMethod", sortOrder: "sortOrder", trueText: "trueText", visible: "visible", visibleIndex: "visibleIndex", width: "width" }, outputs: { filterValueChange: "filterValueChange", filterValuesChange: "filterValuesChange", selectedFilterOperationChange: "selectedFilterOperationChange", sortIndexChange: "sortIndexChange", sortOrderChange: "sortOrderChange", visibleChange: "visibleChange", visibleIndexChange: "visibleIndexChange" }, providers: [NestedOptionHost], usesInheritance: true, ngImport: i0, template: '', isInline: true, styles: [""] }); } i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DxiGanttColumnComponent, decorators: [{ type: Component, args: [{ selector: 'dxi-gantt-column', template: '', providers: [NestedOptionHost] }] }], ctorParameters: () => [{ type: i1.NestedOptionHost, decorators: [{ type: SkipSelf }, { type: Host }] }, { type: i1.NestedOptionHost, decorators: [{ type: Host }] }], propDecorators: { alignment: [{ type: Input }], allowFiltering: [{ type: Input }], allowHeaderFiltering: [{ type: Input }], allowSorting: [{ type: Input }], calculateCellValue: [{ type: Input }], calculateDisplayValue: [{ type: Input }], calculateFilterExpression: [{ type: Input }], calculateSortValue: [{ type: Input }], caption: [{ type: Input }], cellTemplate: [{ type: Input }], cssClass: [{ type: Input }], customizeText: [{ type: Input }], dataField: [{ type: Input }], dataType: [{ type: Input }], encodeHtml: [{ type: Input }], falseText: [{ type: Input }], filterOperations: [{ type: Input }], filterType: [{ type: Input }], filterValue: [{ type: Input }], filterValues: [{ type: Input }], format: [{ type: Input }], headerCellTemplate: [{ type: Input }], headerFilter: [{ type: Input }], minWidth: [{ type: Input }], selectedFilterOperation: [{ type: Input }], sortIndex: [{ type: Input }], sortingMethod: [{ type: Input }], sortOrder: [{ type: Input }], trueText: [{ type: Input }], visible: [{ type: Input }], visibleIndex: [{ type: Input }], width: [{ type: Input }], filterValueChange: [{ type: Output }], filterValuesChange: [{ type: Output }], selectedFilterOperationChange: [{ type: Output }], sortIndexChange: [{ type: Output }], sortOrderChange: [{ type: Output }], visibleChange: [{ type: Output }], visibleIndexChange: [{ type: Output }] } }); class DxiGanttColumnModule { /** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DxiGanttColumnModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); /** @nocollapse */ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: DxiGanttColumnModule, declarations: [DxiGanttColumnComponent], exports: [DxiGanttColumnComponent] }); /** @nocollapse */ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DxiGanttColumnModule }); } i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DxiGanttColumnModule, decorators: [{ type: NgModule, args: [{ declarations: [ DxiGanttColumnComponent ], exports: [ DxiGanttColumnComponent ], }] }] }); /*! * 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 DxoGanttColumnHeaderFilterSearchComponent extends NestedOption { get editorOptions() { return this._getOption('editorOptions'); } set editorOptions(value) { this._setOption('editorOptions', value); } get enabled() { return this._getOption('enabled'); } set enabled(value) { this._setOption('enabled', value); } get mode() { return this._getOption('mode'); } set mode(value) { this._setOption('mode', value); } get searchExpr() { return this._getOption('searchExpr'); } set searchExpr(value) { this._setOption('searchExpr', value); } get timeout() { return this._getOption('timeout'); } set timeout(value) { this._setOption('timeout', value); } get _optionPath() { return 'search'; } 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: DxoGanttColumnHeaderFilterSearchComponent, 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: DxoGanttColumnHeaderFilterSearchComponent, selector: "dxo-gantt-column-header-filter-search", inputs: { editorOptions: "editorOptions", enabled: "enabled", mode: "mode", searchExpr: "searchExpr", timeout: "timeout" }, providers: [NestedOptionHost], usesInheritance: true, ngImport: i0, template: '', isInline: true, styles: [""] }); } i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DxoGanttColumnHeaderFilterSearchComponent, decorators: [{ type: Component, args: [{ selector: 'dxo-gantt-column-header-filter-search', template: '', providers: [NestedOptionHost] }] }], ctorParameters: () => [{ type: i1.NestedOptionHost, decorators: [{ type: SkipSelf }, { type: Host }] }, { type: i1.NestedOptionHost, decorators: [{ type: Host }] }], propDecorators: { editorOptions: [{ type: Input }], enabled: [{ type: Input }], mode: [{ type: Input }], searchExpr: [{ type: Input }], timeout: [{ type: Input }] } }); class DxoGanttColumnHeaderFilterSearchModule { /** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DxoGanttColumnHeaderFilterSearchModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); /** @nocollapse */ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: DxoGanttColumnHeaderFilterSearchModule, declarations: [DxoGanttColumnHeaderFilterSearchComponent], exports: [DxoGanttColumnHeaderFilterSearchComponent] }); /** @nocollapse */ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DxoGanttColumnHeaderFilterSearchModule }); } i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DxoGanttColumnHeaderFilterSearchModule, decorators: [{ type: NgModule, args: [{ declarations: [ DxoGanttColumnHeaderFilterSearchComponent ], exports: [ DxoGanttColumnHeaderFilterSearchComponent ], }] }] }); /*! * 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 DxoGanttColumnHeaderFilterComponent extends NestedOption { get allowSearch() { return this._getOption('allowSearch'); } set allowSearch(value) { this._setOption('allowSearch', value); } get allowSelectAll() { return this._getOption('allowSelectAll'); } set allowSelectAll(value) { this._setOption('allowSelectAll', value); } get dataSource() { return this._getOption('dataSource'); } set dataSource(value) { this._setOption('dataSource', value); } get groupInterval() { return this._getOption('groupInterval'); } set groupInterval(value) { this._setOption('groupInterval', value); } get height() { return this._getOption('height'); } set height(value) { this._setOption('height', value); } get search() { return this._getOption('search'); } set search(value) { this._setOption('search', value); } get searchMode() { return this._getOption('searchMode'); } set searchMode(value) { this._setOption('searchMode', value); } get width() { return this._getOption('width'); } set width(value) { this._setOption('width', value); } get _optionPath() { return 'headerFilter'; } 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: DxoGanttColumnHeaderFilterComponent, 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: DxoGanttColumnHeaderFilterComponent, selector: "dxo-gantt-column-header-filter", inputs: { allowSearch: "allowSearch", allowSelectAll: "allowSelectAll", dataSource: "dataSource", groupInterval: "groupInterval", height: "height", search: "search", searchMode: "searchMode", 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: DxoGanttColumnHeaderFilterComponent, decorators: [{ type: Component, args: [{ selector: 'dxo-gantt-column-header-filter', template: '', providers: [NestedOptionHost] }] }], ctorParameters: () => [{ type: i1.NestedOptionHost, decorators: [{ type: SkipSelf }, { type: Host }] }, { type: i1.NestedOptionHost, decorators: [{ type: Host }] }], propDecorators: { allowSearch: [{ type: Input }], allowSelectAll: [{ type: Input }], dataSource: [{ type: Input }], groupInterval: [{ type: Input }], height: [{ type: Input }], search: [{ type: Input }], searchMode: [{ type: Input }], width: [{ type: Input }] } }); class DxoGanttColumnHeaderFilterModule { /** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DxoGanttColumnHeaderFilterModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); /** @nocollapse */ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: DxoGanttColumnHeaderFilterModule, declarations: [DxoGanttColumnHeaderFilterComponent], exports: [DxoGanttColumnHeaderFilterComponent] }); /** @nocollapse */ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DxoGanttColumnHeaderFilterModule }); } i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DxoGanttColumnHeaderFilterModule, decorators: [{ type: NgModule, args: [{ declarations: [ DxoGanttColumnHeaderFilterComponent ], exports: [ DxoGanttColumnHeaderFilterComponent ], }] }] }); /*! * 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 DxiGanttContextMenuItemItemComponent extends CollectionNestedOption { renderer; document; element; get beginGroup() { return this._getOption('beginGroup'); } set beginGroup(value) { this._setOption('beginGroup', value); } get closeMenuOnClick() { return this._getOption('closeMenuOnClick'); } set closeMenuOnClick(value) { this._setOption('closeMenuOnClick', value); } get disabled() { return this._getOption('disabled'); } set disabled(value) { this._setOption('disabled', 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 selectable() { return this._getOption('selectable'); } set selectable(value) { this._setOption('selectable', value); } get selected() { return this._getOption('selected'); } set selected(value) { this._setOption('selected', 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 visible() { return this._getOption('visible'); } set visible(value) { this._setOption('visible', value); } get _optionPath() { return 'items'; } 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: DxiGanttContextMenuItemItemComponent, 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: DxiGanttContextMenuItemItemComponent, selector: "dxi-gantt-context-menu-item-item", inputs: { beginGroup: "beginGroup", closeMenuOnClick: "closeMenuOnClick", disabled: "disabled", icon: "icon", items: "items", selectable: "selectable", selected: "selected", template: "template", text: "text", visible: "visible" }, 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: DxiGanttContextMenuItemItemComponent, decorators: [{ type: Component, args: [{ selector: 'dxi-gantt-context-menu-item-item', 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: { beginGroup: [{ type: Input }], closeMenuOnClick: [{ type: Input }], disabled: [{ type: Input }], icon: [{ type: Input }], items: [{ type: Input }], selectable: [{ type: Input }], selected: [{ type: Input }], template: [{ type: Input }], text: [{ type: Input }], visible: [{ type: Input }] } }); class DxiGanttContextMenuItemItemModule { /** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DxiGanttContextMenuItemItemModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); /** @nocollapse */ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: DxiGanttContextMenuItemItemModule, declarations: [DxiGanttContextMenuItemItemComponent], exports: [DxiGanttContextMenuItemItemComponent] }); /** @nocollapse */ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DxiGanttContextMenuItemItemModule }); } i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DxiGanttContextMenuItemItemModule, decorators: [{ type: NgModule, args: [{ declarations: [ DxiGanttContextMenuItemItemComponent ], exports: [ DxiGanttContextMenuItemItemComponent ], }] }] }); /*! * 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 DxiGanttItemComponent extends CollectionNestedOption { renderer; document; element; get beginGroup() { return this._getOption('beginGroup'); } set beginGroup(value) { this._setOption('beginGroup', value); } get closeMenuOnClick() { return this._getOption('closeMenuOnClick'); } set closeMenuOnClick(value) { this._setOption('closeMenuOnClick', value); } get disabled() { return this._getOption('disabled'); } set disabled(value) { this._setOption('disabled', 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 name() { return this._getOption('name'); } set name(value) { this._setOption('name', value); } get selectable() { return this._getOption('selectable'); } set selectable(value) { this._setOption('selectable', value); } get selected() { return this._getOption('selected'); } set selected(value) { this._setOption('selected', 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 visible() { return this._getOption('visible'); } set visible(value) { this._setOption('visible', value); } get cssClass() { return this._getOption('cssClass'); } set cssClass(value) { this._setOption('cssClass', value); } get html() { return this._getOption('html'); } set html(value) { this._setOption('html', value); } get locateInMenu() { return this._getOption('locateInMenu'); } set locateInMenu(value) { this._setOption('locateInMenu', value); } get location() { return this._getOption('location'); } set location(value) { this._setOption('location', value); } get menuItemTemplate() { return this._getOption('menuItemTemplate'); } set menuItemTemplate(value) { this._setOption('menuItemTemplate', value); } get options() { return this._getOption('options'); } set options(value) { this._setOption('options', value); } get showText() { return this._getOption('showText'); } set showText(value) { this._setOption('showText', value); } get widget() { return this._getOption('widget'); } set widget(value) { this._setOption('widget', value); } get _optionPath() { return 'items'; } get contextMenuItemItemsChildren() { return this._getOption('items'); } set contextMenuItemItemsChildren(value) { this.setChildren('items', value); } get itemsChildren() { return this._getOption('items'); } set itemsChildren(value) { this.setChildren('items', value); } 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: DxiGanttItemComponent, 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: DxiGanttItemComponent, selector: "dxi-gantt-item", inputs: { beginGroup: "beginGroup", closeMenuOnClick: "closeMenuOnClick", disabled: "disabled", icon: "icon", items: "items", name: "name", selectable: "selectable", selected: "selected", template: "template", text: "text", visible: "visible", cssClass: "cssClass", html: "html", locateInMenu: "locateInMenu", location: "location", menuItemTemplate: "menuItemTemplate", options: "options", showText: "showText", widget: "widget" }, providers: [NestedOptionHost, DxTemplateHost], queries: [{ propertyName: "contextMenuItemItemsChildren", predicate: i0.forwardRef(() => DxiGanttContextMenuItemItemComponent) }, { propertyName: "itemsChildren", predicate: i0.forwardRef(() => DxiGanttItemComponent) }], 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: DxiGanttItemComponent, decorators: [{ type: Component, args: [{ selector: 'dxi-gantt-item', 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: { beginGroup: [{ type: Input }], closeMenuOnClick: [{ type: Input }], disabled: [{ type: Input }], icon: [{ type: Input }], items: [{ type: Input }], name: [{ type: Input }], selectable: [{ type: Input }], selected: [{ type: Input }], template: [{ type: Input }], text: [{ type: Input }], visible: [{ type: Input }], cssClass: [{ type: Input }], html: [{ type: Input }], locateInMenu: [{ type: Input }], location: [{ type: Input }], menuItemTemplate: [{ type: Input }], options: [{ type: Input }], showText: [{ type: Input }], widget: [{ type: Input }], contextMenuItemItemsChildren: [{ type: ContentChildren, args: [forwardRef(() => DxiGanttContextMenuItemItemComponent)] }], itemsChildren: [{ type: ContentChildren, args: [forwardRef(() => DxiGanttItemComponent)] }] } }); class DxiGanttItemModule { /** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DxiGanttItemModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); /** @nocollapse */ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: DxiGanttItemModule, declarations: [DxiGanttItemComponent], exports: [DxiGanttItemComponent] }); /** @nocollapse */ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DxiGanttItemModule }); } i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DxiGanttItemModule, decorators: [{ type: NgModule, args: [{ declarations: [ DxiGanttItemComponent ], exports: [ DxiGanttItemComponent ], }] }] }); /*! * 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 DxiGanttContextMenuItemComponent extends CollectionNestedOption { renderer; document; element; get beginGroup() { return this._getOption('beginGroup'); } set beginGroup(value) { this._setOption('beginGroup', value); } get closeMenuOnClick() { return this._getOption('closeMenuOnClick'); } set closeMenuOnClick(value) { this._setOption('closeMenuOnClick', value); } get disabled() { return this._getOption('disabled'); } set disabled(value) { this._setOption('disabled', 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 name() { return this._getOption('name'); } set name(value) { this._setOption('name', value); } get selectable() { return this._getOption('selectable'); } set selectable(value) { this._setOption('selectable', value); } get selected() { return this._getOption('selected'); } set selected(value) { this._setOption('selected', 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 visible() { return this._getOption('visible'); } set visible(value) { this._setOption('visible', value); } get _optionPath() { return 'items'; } get contextMenuItemItemsChildren() { return this._getOption('items'); } set contextMenuItemItemsChildren(value) { this.setChildren('items', value); } get itemsChildren() { return this._getOption('items'); } set itemsChildren(value) { this.setChildren('items', value); } 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: DxiGanttContextMenuItemComponent, 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: DxiGanttContextMenuItemComponent, selector: "dxi-gantt-context-menu-item", inputs: { beginGroup: "beginGroup", closeMenuOnClick: "closeMenuOnClick", disabled: "disabled", icon: "icon", items: "items", name: "name", selectable: "selectable", selected: "selected", template: "template", text: "text", visible: "visible" }, providers: [NestedOptionHost, DxTemplateHost], queries: [{ propertyName: "contextMenuItemItemsChildren", predicate: i0.forwardRef(() => DxiGanttContextMenuItemItemComponent) }, { propertyName: "itemsChildren", predicate: i0.forwardRef(() => DxiGanttItemComponent) }], 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: DxiGanttContextMenuItemComponent, decorators: [{ type: Component, args: [{ selector: 'dxi-gantt-context-menu-item', 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: { beginGroup: [{ type: Input }], closeMenuOnClick: [{ type: Input }], disabled: [{ type: Input }], icon: [{ type: Input }], items: [{ type: Input }], name: [{ type: Input }], selectable: [{ type: Input }], selected: [{ type: Input }], template: [{ type: Input }], text: [{ type: Input }], visible: [{ type: Input }], contextMenuItemItemsChildren: [{ type: ContentChildren, args: [forwardRef(() => DxiGanttContextMenuItemItemComponent)] }], itemsChildren: [{ type: ContentChildren, args: [forwardRef(() => DxiGanttItemComponent)] }] } }); class DxiGanttContextMenuItemModule { /** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DxiGanttContextMenuItemModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); /** @nocollapse */ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: DxiGanttContextMenuItemModule, declarations: [DxiGanttContextMenuItemComponent], exports: [DxiGanttContextMenuItemComponent] }); /** @nocollapse */ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DxiGanttContextMenuItemModule }); } i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DxiGanttContextMenuItemModule, decorators: [{ type: NgModule, args: [{ declarations: [ DxiGanttContextMenuItemComponent ], exports: [ DxiGanttContextMenuItemComponent ], }] }] }); /*! * 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 DxoGanttContextMenuComponent extends NestedOption { get enabled() { return this._getOption('enabled'); } set enabled(value) { this._setOption('enabled', value); } get items() { return this._getOption('items'); } set items(value) { this._setOption('items', value); } get _optionPath() { return 'contextMenu'; } get contextMenuItemsChildren() { return this._getOption('items'); } set contextMenuItemsChildren(value) { this.setChildren('items', value); } get itemsChildren() { return this._getOption('items'); } set itemsChildren(value) { this.setChildren('items', value); } 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: DxoGanttContextMenuComponent, 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: DxoGanttContextMenuComponent, selector: "dxo-gantt-context-menu", inputs: { enabled: "enabled", items: "items" }, providers: [NestedOptionHost], queries: [{ propertyName: "contextMenuItemsChildren", predicate: i0.forwardRef(() => DxiGanttContextMenuItemComponent) }, { propertyName: "itemsChildren", predicate: i0.forwardRef(() => DxiGanttItemComponent) }], usesInheritance: true, ngImport: i0, template: '', isInline: true, styles: [""] }); } i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DxoGanttContextMenuComponent, decorators: [{ type: Component, args: [{ selector: 'dxo-gantt-context-menu', template: '', providers: [NestedOptionHost] }] }], ctorParameters: () => [{ type: i1.NestedOptionHost, decorators: [{ type: SkipSelf }, { type: Host }] }, { type: i1.NestedOptionHost, decorators: [{ type: Host }] }], propDecorators: { enabled: [{ type: Input }], items: [{ type: Input }], contextMenuItemsChildren: [{ type: ContentChildren, args: [forwardRef(() => DxiGanttContextMenuItemComponent)] }], itemsChildren: [{ type: ContentChildren, args: [forwardRef(() => DxiGanttItemComponent)] }] } }); class DxoGanttContextMenuModule { /** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DxoGanttContextMenuModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); /** @nocollapse */ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: DxoGanttContextMenuModule, declarations: [DxoGanttContextMenuComponent], exports: [DxoGanttContextMenuComponent] }); /** @nocollapse */ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: DxoGanttContextMenuModule }); } i0.ɵ