/*! * 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 dxVectorMap, { Properties } from "devextreme/viz/vector_map"; import { Component as BaseComponent, IHtmlOptions } from "./core/component"; import NestedOption from "./core/nested-option"; declare type IVectorMapOptions = React.PropsWithChildren void; }>; declare class VectorMap extends BaseComponent> { get instance(): dxVectorMap; protected _WidgetClass: typeof dxVectorMap; protected subscribableOptions: string[]; protected independentEvents: string[]; protected _defaults: { defaultLoadingIndicator: string; }; protected _expectedChildren: { annotation: { optionName: string; isCollectionItem: boolean; }; background: { optionName: string; isCollectionItem: boolean; }; commonAnnotationSettings: { optionName: string; isCollectionItem: boolean; }; controlBar: { optionName: string; isCollectionItem: boolean; }; export: { optionName: string; isCollectionItem: boolean; }; layer: { optionName: string; isCollectionItem: boolean; }; legend: { optionName: string; isCollectionItem: boolean; }; loadingIndicator: { optionName: string; isCollectionItem: boolean; }; projection: { optionName: string; isCollectionItem: boolean; }; size: { optionName: string; isCollectionItem: boolean; }; title: { optionName: string; isCollectionItem: boolean; }; tooltip: { optionName: string; isCollectionItem: boolean; }; vectorMapTitle: { optionName: string; isCollectionItem: boolean; }; }; } declare type IAnnotationProps = React.PropsWithChildren<{ allowDragging?: any; arrowLength?: any; arrowWidth?: any; border?: object | { color?: any; cornerRadius?: any; dashStyle?: any; opacity?: any; visible?: any; width?: any; }; color?: any; coordinates?: any; customizeTooltip?: any; data?: any; description?: any; font?: any; height?: any; image?: object | string | { height?: any; url?: any; width?: any; }; name?: any; offsetX?: any; offsetY?: any; opacity?: any; paddingLeftRight?: any; paddingTopBottom?: any; shadow?: object | { blur?: any; color?: any; offsetX?: any; offsetY?: any; opacity?: any; }; template?: any; text?: any; textOverflow?: any; tooltipEnabled?: any; tooltipTemplate?: any; type?: any; width?: any; wordWrap?: any; x?: any; y?: any; render?: (...params: any) => React.ReactNode; component?: React.ComponentType; keyFn?: (data: any) => string; tooltipRender?: (...params: any) => React.ReactNode; tooltipComponent?: React.ComponentType; tooltipKeyFn?: (data: any) => string; }>; declare class Annotation extends NestedOption { static OptionName: string; static IsCollectionItem: boolean; static ExpectedChildren: { annotationBorder: { optionName: string; isCollectionItem: boolean; }; border: { optionName: string; isCollectionItem: boolean; }; font: { optionName: string; isCollectionItem: boolean; }; image: { optionName: string; isCollectionItem: boolean; }; shadow: { optionName: string; isCollectionItem: boolean; }; }; static TemplateProps: { tmplOption: string; render: string; component: string; keyFn: string; }[]; } declare type IAnnotationBorderProps = React.PropsWithChildren<{ color?: any; cornerRadius?: any; dashStyle?: any; opacity?: any; visible?: any; width?: any; }>; declare class AnnotationBorder extends NestedOption { static OptionName: string; } declare type IBackgroundProps = React.PropsWithChildren<{ borderColor?: any; color?: any; }>; declare class Background extends NestedOption { static OptionName: string; } declare type IBorderProps = React.PropsWithChildren<{ color?: any; cornerRadius?: any; dashStyle?: any; opacity?: any; visible?: any; width?: any; }>; declare class Border extends NestedOption { static OptionName: string; } declare type ICommonAnnotationSettingsProps = React.PropsWithChildren<{ allowDragging?: any; arrowLength?: any; arrowWidth?: any; border?: object | { color?: any; cornerRadius?: any; dashStyle?: any; opacity?: any; visible?: any; width?: any; }; color?: any; coordinates?: any; customizeTooltip?: any; data?: any; description?: any; font?: any; height?: any; image?: object | string | { height?: any; url?: any; width?: any; }; offsetX?: any; offsetY?: any; opacity?: any; paddingLeftRight?: any; paddingTopBottom?: any; shadow?: object | { blur?: any; color?: any; offsetX?: any; offsetY?: any; opacity?: any; }; template?: any; text?: any; textOverflow?: any; tooltipEnabled?: any; tooltipTemplate?: any; type?: any; width?: any; wordWrap?: any; x?: any; y?: any; render?: (...params: any) => React.ReactNode; component?: React.ComponentType; keyFn?: (data: any) => string; tooltipRender?: (...params: any) => React.ReactNode; tooltipComponent?: React.ComponentType; tooltipKeyFn?: (data: any) => string; }>; declare class CommonAnnotationSettings extends NestedOption { static OptionName: string; static TemplateProps: { tmplOption: string; render: string; component: string; keyFn: string; }[]; } declare type IControlBarProps = React.PropsWithChildren<{ borderColor?: any; color?: any; enabled?: any; horizontalAlignment?: any; margin?: any; opacity?: any; panVisible?: any; verticalAlignment?: any; zoomVisible?: any; }>; declare class ControlBar 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 IImageProps = React.PropsWithChildren<{ height?: any; url?: any; width?: any; }>; declare class Image extends NestedOption { static OptionName: string; } declare type ILabelProps = React.PropsWithChildren<{ dataField?: any; enabled?: any; font?: any; }>; declare class Label extends NestedOption { static OptionName: string; static ExpectedChildren: { font: { optionName: string; isCollectionItem: boolean; }; }; } declare type ILayerProps = React.PropsWithChildren<{ borderColor?: any; borderWidth?: any; color?: any; colorGroupingField?: any; colorGroups?: any; customize?: any; dataField?: any; dataSource?: any; elementType?: any; hoveredBorderColor?: any; hoveredBorderWidth?: any; hoveredColor?: any; hoverEnabled?: any; label?: object | { dataField?: any; enabled?: any; font?: any; }; maxSize?: any; minSize?: any; name?: any; opacity?: any; palette?: any; paletteIndex?: any; paletteSize?: any; selectedBorderColor?: any; selectedBorderWidth?: any; selectedColor?: any; selectionMode?: any; size?: any; sizeGroupingField?: any; sizeGroups?: any; type?: any; }>; declare class Layer extends NestedOption { static OptionName: string; static IsCollectionItem: boolean; static ExpectedChildren: { label: { optionName: string; isCollectionItem: boolean; }; }; } declare type ILegendProps = React.PropsWithChildren<{ backgroundColor?: any; border?: object | { color?: any; cornerRadius?: any; dashStyle?: any; opacity?: any; visible?: any; width?: any; }; columnCount?: any; columnItemSpacing?: any; customizeHint?: any; customizeItems?: any; customizeText?: any; font?: any; horizontalAlignment?: any; itemsAlignment?: any; itemTextPosition?: any; margin?: number | object | { bottom?: any; left?: any; right?: any; top?: any; }; markerColor?: any; markerShape?: any; markerSize?: any; markerTemplate?: any; orientation?: any; paddingLeftRight?: any; paddingTopBottom?: any; rowCount?: any; rowItemSpacing?: any; source?: object | { grouping?: any; layer?: any; }; title?: object | string | { font?: any; horizontalAlignment?: any; margin?: object | { bottom?: any; left?: any; right?: any; top?: any; }; placeholderSize?: any; subtitle?: object | string | { font?: any; offset?: any; text?: any; }; text?: any; verticalAlignment?: any; }; verticalAlignment?: any; visible?: any; markerRender?: (...params: any) => React.ReactNode; markerComponent?: React.ComponentType; markerKeyFn?: (data: any) => string; }>; declare class Legend extends NestedOption { static OptionName: string; static IsCollectionItem: boolean; static ExpectedChildren: { annotationBorder: { optionName: string; isCollectionItem: boolean; }; border: { optionName: string; isCollectionItem: boolean; }; font: { optionName: string; isCollectionItem: boolean; }; legendTitle: { optionName: string; isCollectionItem: boolean; }; margin: { optionName: string; isCollectionItem: boolean; }; source: { optionName: string; isCollectionItem: boolean; }; title: { optionName: string; isCollectionItem: boolean; }; }; static TemplateProps: { tmplOption: string; render: string; component: string; keyFn: string; }[]; } declare type ILegendTitleProps = React.PropsWithChildren<{ font?: any; horizontalAlignment?: any; margin?: object | { bottom?: any; left?: any; right?: any; top?: any; }; placeholderSize?: any; subtitle?: object | string | { font?: any; offset?: any; text?: any; }; text?: any; verticalAlignment?: any; }>; declare class LegendTitle extends NestedOption { static OptionName: string; static ExpectedChildren: { font: { optionName: string; isCollectionItem: boolean; }; legendTitleSubtitle: { optionName: string; isCollectionItem: boolean; }; margin: { optionName: string; isCollectionItem: boolean; }; subtitle: { optionName: string; isCollectionItem: boolean; }; }; } declare type ILegendTitleSubtitleProps = React.PropsWithChildren<{ font?: any; offset?: any; text?: any; }>; declare class LegendTitleSubtitle extends NestedOption { static OptionName: string; static ExpectedChildren: { font: { optionName: string; isCollectionItem: boolean; }; }; } 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 IProjectionProps = React.PropsWithChildren<{ aspectRatio?: any; from?: any; to?: any; }>; declare class Projection 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 ISourceProps = React.PropsWithChildren<{ grouping?: any; layer?: any; }>; declare class Source 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; } declare type ITitleProps = React.PropsWithChildren<{ font?: any; horizontalAlignment?: any; margin?: object | { bottom?: any; left?: any; right?: any; top?: any; }; placeholderSize?: any; subtitle?: object | string | { font?: any; offset?: any; text?: any; }; text?: any; verticalAlignment?: any; textOverflow?: any; wordWrap?: any; }>; declare class Title extends NestedOption { static OptionName: string; } 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 IVectorMapTitleProps = 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 VectorMapTitle extends NestedOption { static OptionName: string; static ExpectedChildren: { font: { optionName: string; isCollectionItem: boolean; }; margin: { optionName: string; isCollectionItem: boolean; }; subtitle: { optionName: string; isCollectionItem: boolean; }; vectorMapTitleSubtitle: { optionName: string; isCollectionItem: boolean; }; }; } declare type IVectorMapTitleSubtitleProps = React.PropsWithChildren<{ font?: any; offset?: any; text?: any; textOverflow?: any; wordWrap?: any; }>; declare class VectorMapTitleSubtitle extends NestedOption { static OptionName: string; static ExpectedChildren: { font: { optionName: string; isCollectionItem: boolean; }; }; } export default VectorMap; export { VectorMap, IVectorMapOptions, Annotation, IAnnotationProps, AnnotationBorder, IAnnotationBorderProps, Background, IBackgroundProps, Border, IBorderProps, CommonAnnotationSettings, ICommonAnnotationSettingsProps, ControlBar, IControlBarProps, Export, IExportProps, Font, IFontProps, Format, IFormatProps, Image, IImageProps, Label, ILabelProps, Layer, ILayerProps, Legend, ILegendProps, LegendTitle, ILegendTitleProps, LegendTitleSubtitle, ILegendTitleSubtitleProps, LoadingIndicator, ILoadingIndicatorProps, Margin, IMarginProps, Projection, IProjectionProps, Shadow, IShadowProps, Size, ISizeProps, Source, ISourceProps, Subtitle, ISubtitleProps, Title, ITitleProps, Tooltip, ITooltipProps, TooltipBorder, ITooltipBorderProps, VectorMapTitle, IVectorMapTitleProps, VectorMapTitleSubtitle, IVectorMapTitleSubtitleProps };