/*! * devextreme-react * Version: 22.2.6 * Build date: Tue Apr 18 2023 * * Copyright (c) 2012 - 2023 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-react */ /// import dxTreeMap, { Properties } from "devextreme/viz/tree_map"; import { Component as BaseComponent, IHtmlOptions } from "./core/component"; import NestedOption from "./core/nested-option"; declare type ITreeMapOptions = React.PropsWithChildren void; }>; declare class TreeMap extends BaseComponent> { get instance(): dxTreeMap; protected _WidgetClass: typeof dxTreeMap; protected subscribableOptions: string[]; protected independentEvents: string[]; protected _defaults: { defaultLoadingIndicator: string; }; protected _expectedChildren: { colorizer: { optionName: string; isCollectionItem: boolean; }; export: { optionName: string; isCollectionItem: boolean; }; group: { optionName: string; isCollectionItem: boolean; }; loadingIndicator: { optionName: string; isCollectionItem: boolean; }; size: { optionName: string; isCollectionItem: boolean; }; tile: { optionName: string; isCollectionItem: boolean; }; title: { optionName: string; isCollectionItem: boolean; }; tooltip: { optionName: string; isCollectionItem: boolean; }; }; } declare type IBorderProps = React.PropsWithChildren<{ color?: any; width?: any; dashStyle?: any; opacity?: any; visible?: any; }>; declare class Border extends NestedOption { static OptionName: string; } declare type IColorizerProps = React.PropsWithChildren<{ colorCodeField?: any; colorizeGroups?: any; palette?: any; paletteExtensionMode?: any; range?: any; type?: any; }>; declare class Colorizer extends NestedOption { static OptionName: string; } declare type IExportProps = React.PropsWithChildren<{ backgroundColor?: any; enabled?: any; fileName?: any; formats?: any; margin?: any; printingEnabled?: any; svgToCanvas?: any; }>; declare class Export extends NestedOption { static OptionName: string; } declare type IFontProps = React.PropsWithChildren<{ color?: any; family?: any; opacity?: any; size?: any; weight?: any; }>; declare class Font extends NestedOption { static OptionName: string; } declare type IFormatProps = React.PropsWithChildren<{ currency?: any; formatter?: any; parser?: any; precision?: any; type?: any; useCurrencyAccountingStyle?: any; }>; declare class Format extends NestedOption { static OptionName: string; } declare type IGroupProps = React.PropsWithChildren<{ border?: object | { color?: any; width?: any; }; color?: any; headerHeight?: any; hoverEnabled?: any; hoverStyle?: object | { border?: object | { color?: any; width?: any; }; color?: any; }; label?: object | { font?: any; textOverflow?: any; visible?: any; }; padding?: any; selectionStyle?: object | { border?: object | { color?: any; width?: any; }; color?: any; }; }>; declare class Group extends NestedOption { static OptionName: string; static ExpectedChildren: { border: { optionName: string; isCollectionItem: boolean; }; groupLabel: { optionName: string; isCollectionItem: boolean; }; hoverStyle: { optionName: string; isCollectionItem: boolean; }; label: { optionName: string; isCollectionItem: boolean; }; selectionStyle: { optionName: string; isCollectionItem: boolean; }; treeMapborder: { optionName: string; isCollectionItem: boolean; }; }; } declare type IGroupLabelProps = React.PropsWithChildren<{ font?: any; textOverflow?: any; visible?: any; }>; declare class GroupLabel extends NestedOption { static OptionName: string; static ExpectedChildren: { font: { optionName: string; isCollectionItem: boolean; }; }; } declare type IHoverStyleProps = React.PropsWithChildren<{ border?: object | { color?: any; width?: any; }; color?: any; }>; declare class HoverStyle extends NestedOption { static OptionName: string; } declare type ILabelProps = React.PropsWithChildren<{ font?: any; textOverflow?: any; visible?: any; wordWrap?: any; }>; declare class Label extends NestedOption { static OptionName: string; } declare type ILoadingIndicatorProps = React.PropsWithChildren<{ backgroundColor?: any; enabled?: any; font?: any; show?: any; text?: any; defaultShow?: any; onShowChange?: (value: any) => void; }>; declare class LoadingIndicator extends NestedOption { static OptionName: string; static DefaultsProps: { defaultShow: string; }; static ExpectedChildren: { font: { optionName: string; isCollectionItem: boolean; }; }; } declare type IMarginProps = React.PropsWithChildren<{ bottom?: any; left?: any; right?: any; top?: any; }>; declare class Margin extends NestedOption { static OptionName: string; } declare type ISelectionStyleProps = React.PropsWithChildren<{ border?: object | { color?: any; width?: any; }; color?: any; }>; declare class SelectionStyle extends NestedOption { static OptionName: string; } declare type IShadowProps = React.PropsWithChildren<{ blur?: any; color?: any; offsetX?: any; offsetY?: any; opacity?: any; }>; declare class Shadow extends NestedOption { static OptionName: string; } declare type ISizeProps = React.PropsWithChildren<{ height?: any; width?: any; }>; declare class Size extends NestedOption { static OptionName: string; } declare type ISubtitleProps = React.PropsWithChildren<{ font?: any; offset?: any; text?: any; textOverflow?: any; wordWrap?: any; }>; declare class Subtitle extends NestedOption { static OptionName: string; static ExpectedChildren: { font: { optionName: string; isCollectionItem: boolean; }; }; } declare type ITileProps = React.PropsWithChildren<{ border?: object | { color?: any; width?: any; }; color?: any; hoverStyle?: object | { border?: object | { color?: any; width?: any; }; color?: any; }; label?: object | { font?: any; textOverflow?: any; visible?: any; wordWrap?: any; }; selectionStyle?: object | { border?: object | { color?: any; width?: any; }; color?: any; }; }>; declare class Tile extends NestedOption { static OptionName: string; static ExpectedChildren: { border: { optionName: string; isCollectionItem: boolean; }; hoverStyle: { optionName: string; isCollectionItem: boolean; }; label: { optionName: string; isCollectionItem: boolean; }; selectionStyle: { optionName: string; isCollectionItem: boolean; }; tileLabel: { optionName: string; isCollectionItem: boolean; }; treeMapborder: { optionName: string; isCollectionItem: boolean; }; }; } declare type ITileLabelProps = React.PropsWithChildren<{ font?: any; textOverflow?: any; visible?: any; wordWrap?: any; }>; declare class TileLabel extends NestedOption { static OptionName: string; static ExpectedChildren: { font: { optionName: string; isCollectionItem: boolean; }; }; } declare type ITitleProps = React.PropsWithChildren<{ font?: any; horizontalAlignment?: any; margin?: number | object | { bottom?: any; left?: any; right?: any; top?: any; }; placeholderSize?: any; subtitle?: object | string | { font?: any; offset?: any; text?: any; textOverflow?: any; wordWrap?: any; }; text?: any; textOverflow?: any; verticalAlignment?: any; wordWrap?: any; }>; declare class Title extends NestedOption { static OptionName: string; static ExpectedChildren: { font: { optionName: string; isCollectionItem: boolean; }; margin: { optionName: string; isCollectionItem: boolean; }; subtitle: { optionName: string; isCollectionItem: boolean; }; }; } declare type ITooltipProps = React.PropsWithChildren<{ arrowLength?: any; border?: object | { color?: any; dashStyle?: any; opacity?: any; visible?: any; width?: any; }; color?: any; container?: any; contentTemplate?: any; cornerRadius?: any; customizeTooltip?: any; enabled?: any; font?: any; format?: any; opacity?: any; paddingLeftRight?: any; paddingTopBottom?: any; shadow?: object | { blur?: any; color?: any; offsetX?: any; offsetY?: any; opacity?: any; }; zIndex?: any; contentRender?: (...params: any) => React.ReactNode; contentComponent?: React.ComponentType; contentKeyFn?: (data: any) => string; }>; declare class Tooltip extends NestedOption { static OptionName: string; static ExpectedChildren: { border: { optionName: string; isCollectionItem: boolean; }; font: { optionName: string; isCollectionItem: boolean; }; format: { optionName: string; isCollectionItem: boolean; }; shadow: { optionName: string; isCollectionItem: boolean; }; tooltipBorder: { optionName: string; isCollectionItem: boolean; }; }; static TemplateProps: { tmplOption: string; render: string; component: string; keyFn: string; }[]; } declare type ITooltipBorderProps = React.PropsWithChildren<{ color?: any; dashStyle?: any; opacity?: any; visible?: any; width?: any; }>; declare class TooltipBorder extends NestedOption { static OptionName: string; } declare type ITreeMapborderProps = React.PropsWithChildren<{ color?: any; width?: any; }>; declare class TreeMapborder extends NestedOption { static OptionName: string; } export default TreeMap; export { TreeMap, ITreeMapOptions, Border, IBorderProps, Colorizer, IColorizerProps, Export, IExportProps, Font, IFontProps, Format, IFormatProps, Group, IGroupProps, GroupLabel, IGroupLabelProps, HoverStyle, IHoverStyleProps, Label, ILabelProps, LoadingIndicator, ILoadingIndicatorProps, Margin, IMarginProps, SelectionStyle, ISelectionStyleProps, Shadow, IShadowProps, Size, ISizeProps, Subtitle, ISubtitleProps, Tile, ITileProps, TileLabel, ITileLabelProps, Title, ITitleProps, Tooltip, ITooltipProps, TooltipBorder, ITooltipBorderProps, TreeMapborder, ITreeMapborderProps };