/*! * devextreme-angular-test * Version: 17.2.8 * Build date: Mon Feb 05 2018 * * Copyright (c) 2012 - 2018 Developer Express Inc. ALL RIGHTS RESERVED * * This software may be modified and distributed under the terms * of the MIT license. See the LICENSE file in the root of the project for details. * * https://github.com/DevExpress/devextreme-angular */ import { ElementRef, NgZone, OnDestroy, Injector, EventEmitter, OnChanges, DoCheck, SimpleChanges } from '@angular/core'; import DevExpress from 'devextreme/bundles/dx.all'; import DxTreeMap from 'devextreme/viz/tree_map'; import { DxComponent } from '../core/component'; import { DxTemplateHost } from '../core/template-host'; import { NestedOptionHost } from '../core/nested-option'; import { WatcherHelper } from '../core/watcher-helper'; import { IterableDifferHelper } from '../core/iterable-differ-helper'; /** * The TreeMap is a widget that displays hierarchical data by using nested rectangles. */ export declare class DxTreeMapComponent extends DxComponent implements OnDestroy, OnChanges, DoCheck { private _watcherHelper; private _idh; instance: DxTreeMap; /** * Specifies the name of the data source field that provides nested items for a group. Applies to hierarchical data sources only. */ childrenField: string; /** * Specifies the name of the data source field that provides colors for tiles. */ colorField: string; /** * Manages the color settings. */ colorizer: any; /** * Specifies the origin of data for the widget. */ dataSource: DevExpress.data.DataSource | DevExpress.data.DataSourceOptions | string | Array; /** * Specifies the attributes to be attached to the widget's root element. */ elementAttr: any; /** * Configures the exporting and printing features. */ export: any; /** * Configures groups. */ group: any; /** * Specifies whether tiles and groups change their style when a user pauses on them. */ hoverEnabled: boolean; /** * Specifies the name of the data source field that provides IDs for items. Applies to plain data sources only. */ idField: string; /** * Specifies whether the user will interact with a single tile or its group. */ interactWithGroup: boolean; /** * Specifies the name of the data source field that provides texts for tile and group labels. */ labelField: string; /** * Specifies the layout algorithm. */ layoutAlgorithm: Function | string; /** * Specifies the direction in which the items will be laid out. */ layoutDirection: string; /** * Configures the loading indicator. */ loadingIndicator: any; /** * Specifies how many hierarchical levels must be visualized. */ maxDepth: number; /** * Specifies the name of the data source field that provides parent IDs for items. Applies to plain data sources only. */ parentField: string; /** * Notifies the widget that it is embedded into an HTML page that uses a tag modifying the path. */ pathModified: boolean; /** * Specifies whether to redraw the widget when the size of the parent browser window changes or a mobile device rotates. */ redrawOnResize: boolean; /** * Decides whether those labels that overflow their tile/group should be hidden or truncated with ellipsis. */ resolveLabelOverflow: string; /** * Switches the widget to a right-to-left representation. */ rtlEnabled: boolean; /** * Specifies whether a single or multiple nodes can be in the selected state simultaneously. */ selectionMode: string; /** * Specifies the widget's size in pixels. */ size: any; /** * Sets the name of the theme the widget uses. */ theme: string; /** * Configures tiles. */ tile: any; /** * Configures the widget's title. */ title: string | { font?: DevExpress.viz.Font; horizontalAlignment?: string; margin?: number | { bottom?: number; left?: number; right?: number; top?: number; }; placeholderSize?: number; subtitle?: string | { font?: DevExpress.viz.Font; text?: string; }; text?: string; verticalAlignment?: string; }; /** * Configures tooltips - small pop-up rectangles that display information about a data-visualizing widget element being pressed or hovered over with the mouse pointer. */ tooltip: any; /** * Specifies the name of the data source field that provides values for tiles. */ valueField: string; /** * A handler for the click event. */ onClick: EventEmitter; /** * A handler for the disposing event. Executed when the widget is removed from the DOM using the remove(), empty(), or html() jQuery methods only. */ onDisposing: EventEmitter; /** * A handler for the drawn event. Executed when the widget has finished drawing itself. */ onDrawn: EventEmitter; /** * A handler for the drill event. */ onDrill: EventEmitter; /** * A handler for the exported event. Executed after data from the widget is exported. */ onExported: EventEmitter; /** * A handler for the exporting event. Executed before data from the widget is exported. */ onExporting: EventEmitter; /** * A handler for the fileSaving event. Executed before a file with exported data is saved on the user's local storage. */ onFileSaving: EventEmitter; /** * A handler for the hoverChanged event. */ onHoverChanged: EventEmitter; /** * A handler for the incidentOccurred event. Executed when an error or warning appears in the widget. */ onIncidentOccurred: EventEmitter; /** * A handler for the initialized event. Executed only once, after the widget is initialized. */ onInitialized: EventEmitter; /** * A handler for the nodesInitialized event. */ onNodesInitialized: EventEmitter; /** * A handler for the nodesRendering event. */ onNodesRendering: EventEmitter; /** * A handler for the optionChanged event. Executed after an option of the widget is changed. */ onOptionChanged: EventEmitter; /** * A handler for the selectionChanged event. */ onSelectionChanged: EventEmitter; /** * A handler for the childrenFieldChange event. */ childrenFieldChange: EventEmitter; /** * A handler for the colorFieldChange event. */ colorFieldChange: EventEmitter; /** * A handler for the colorizerChange event. */ colorizerChange: EventEmitter; /** * A handler for the dataSourceChange event. */ dataSourceChange: EventEmitter>; /** * A handler for the elementAttrChange event. */ elementAttrChange: EventEmitter; /** * A handler for the exportChange event. */ exportChange: EventEmitter; /** * A handler for the groupChange event. */ groupChange: EventEmitter; /** * A handler for the hoverEnabledChange event. */ hoverEnabledChange: EventEmitter; /** * A handler for the idFieldChange event. */ idFieldChange: EventEmitter; /** * A handler for the interactWithGroupChange event. */ interactWithGroupChange: EventEmitter; /** * A handler for the labelFieldChange event. */ labelFieldChange: EventEmitter; /** * A handler for the layoutAlgorithmChange event. */ layoutAlgorithmChange: EventEmitter; /** * A handler for the layoutDirectionChange event. */ layoutDirectionChange: EventEmitter; /** * A handler for the loadingIndicatorChange event. */ loadingIndicatorChange: EventEmitter; /** * A handler for the maxDepthChange event. */ maxDepthChange: EventEmitter; /** * A handler for the parentFieldChange event. */ parentFieldChange: EventEmitter; /** * A handler for the pathModifiedChange event. */ pathModifiedChange: EventEmitter; /** * A handler for the redrawOnResizeChange event. */ redrawOnResizeChange: EventEmitter; /** * A handler for the resolveLabelOverflowChange event. */ resolveLabelOverflowChange: EventEmitter; /** * A handler for the rtlEnabledChange event. */ rtlEnabledChange: EventEmitter; /** * A handler for the selectionModeChange event. */ selectionModeChange: EventEmitter; /** * A handler for the sizeChange event. */ sizeChange: EventEmitter; /** * A handler for the themeChange event. */ themeChange: EventEmitter; /** * A handler for the tileChange event. */ tileChange: EventEmitter; /** * A handler for the titleChange event. */ titleChange: EventEmitter; /** * A handler for the tooltipChange event. */ tooltipChange: EventEmitter; /** * A handler for the valueFieldChange event. */ valueFieldChange: EventEmitter; constructor(elementRef: ElementRef, ngZone: NgZone, templateHost: DxTemplateHost, injector: Injector, _watcherHelper: WatcherHelper, _idh: IterableDifferHelper, optionHost: NestedOptionHost); protected _createInstance(element: any, options: any): DxTreeMap; ngOnDestroy(): void; ngOnChanges(changes: SimpleChanges): void; setupChanges(prop: string, changes: SimpleChanges): void; ngDoCheck(): void; _setOption(name: string, value: any): void; } export declare class DxTreeMapModule { }