/*! * 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 dxSankey, { Properties } from "devextreme/viz/sankey"; import { Component as BaseComponent, IHtmlOptions } from "./core/component"; import NestedOption from "./core/nested-option"; declare type ISankeyOptions = React.PropsWithChildren void; }>; declare class Sankey extends BaseComponent> { get instance(): dxSankey; protected _WidgetClass: typeof dxSankey; protected subscribableOptions: string[]; protected independentEvents: string[]; protected _defaults: { defaultLoadingIndicator: string; }; protected _expectedChildren: { adaptiveLayout: { optionName: string; isCollectionItem: boolean; }; export: { optionName: string; isCollectionItem: boolean; }; label: { optionName: string; isCollectionItem: boolean; }; link: { optionName: string; isCollectionItem: boolean; }; loadingIndicator: { optionName: string; isCollectionItem: boolean; }; margin: { optionName: string; isCollectionItem: boolean; }; node: { optionName: string; isCollectionItem: boolean; }; size: { optionName: string; isCollectionItem: boolean; }; title: { optionName: string; isCollectionItem: boolean; }; tooltip: { optionName: string; isCollectionItem: boolean; }; }; } declare type IAdaptiveLayoutProps = React.PropsWithChildren<{ height?: any; keepLabels?: any; width?: any; }>; declare class AdaptiveLayout extends NestedOption { static OptionName: string; } declare type IBorderProps = React.PropsWithChildren<{ color?: any; visible?: any; width?: any; dashStyle?: any; opacity?: any; }>; declare class Border 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 IHatchingProps = React.PropsWithChildren<{ direction?: any; opacity?: any; step?: any; width?: any; }>; declare class Hatching extends NestedOption { static OptionName: string; } declare type IHoverStyleProps = React.PropsWithChildren<{ border?: object | { color?: any; visible?: any; width?: any; }; color?: any; hatching?: object | { direction?: any; opacity?: any; step?: any; width?: any; }; opacity?: any; }>; declare class HoverStyle extends NestedOption { static OptionName: string; } declare type ILabelProps = React.PropsWithChildren<{ border?: object | { color?: any; visible?: any; width?: any; }; customizeText?: any; font?: any; horizontalOffset?: any; overlappingBehavior?: any; shadow?: object | { blur?: any; color?: any; offsetX?: any; offsetY?: any; opacity?: any; }; useNodeColors?: any; verticalOffset?: any; visible?: any; }>; declare class Label extends NestedOption { static OptionName: string; static ExpectedChildren: { border: { optionName: string; isCollectionItem: boolean; }; font: { optionName: string; isCollectionItem: boolean; }; sankeyborder: { optionName: string; isCollectionItem: boolean; }; shadow: { optionName: string; isCollectionItem: boolean; }; }; } declare type ILinkProps = React.PropsWithChildren<{ border?: object | { color?: any; visible?: any; width?: any; }; color?: any; colorMode?: any; hoverStyle?: object | { border?: object | { color?: any; visible?: any; width?: any; }; color?: any; hatching?: object | { direction?: any; opacity?: any; step?: any; width?: any; }; opacity?: any; }; opacity?: any; }>; declare class Link extends NestedOption { static OptionName: string; static ExpectedChildren: { border: { optionName: string; isCollectionItem: boolean; }; hoverStyle: { optionName: string; isCollectionItem: boolean; }; sankeyborder: { 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 INodeProps = React.PropsWithChildren<{ border?: object | { color?: any; visible?: any; width?: any; }; color?: any; hoverStyle?: object | { border?: object | { color?: any; visible?: any; width?: any; }; color?: any; hatching?: object | { direction?: any; opacity?: any; step?: any; width?: any; }; opacity?: any; }; opacity?: any; padding?: any; width?: any; }>; declare class Node extends NestedOption { static OptionName: string; static ExpectedChildren: { border: { optionName: string; isCollectionItem: boolean; }; hoverStyle: { optionName: string; isCollectionItem: boolean; }; sankeyborder: { optionName: string; isCollectionItem: boolean; }; }; } declare type ISankeyborderProps = React.PropsWithChildren<{ color?: any; visible?: any; width?: any; }>; declare class Sankeyborder 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 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; cornerRadius?: any; customizeLinkTooltip?: any; customizeNodeTooltip?: any; enabled?: any; font?: any; format?: any; linkTooltipTemplate?: any; nodeTooltipTemplate?: any; opacity?: any; paddingLeftRight?: any; paddingTopBottom?: any; shadow?: object | { blur?: any; color?: any; offsetX?: any; offsetY?: any; opacity?: any; }; zIndex?: any; linkTooltipRender?: (...params: any) => React.ReactNode; linkTooltipComponent?: React.ComponentType; linkTooltipKeyFn?: (data: any) => string; nodeTooltipRender?: (...params: any) => React.ReactNode; nodeTooltipComponent?: React.ComponentType; nodeTooltipKeyFn?: (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; } export default Sankey; export { Sankey, ISankeyOptions, AdaptiveLayout, IAdaptiveLayoutProps, Border, IBorderProps, Export, IExportProps, Font, IFontProps, Format, IFormatProps, Hatching, IHatchingProps, HoverStyle, IHoverStyleProps, Label, ILabelProps, Link, ILinkProps, LoadingIndicator, ILoadingIndicatorProps, Margin, IMarginProps, Node, INodeProps, Sankeyborder, ISankeyborderProps, Shadow, IShadowProps, Size, ISizeProps, Subtitle, ISubtitleProps, Title, ITitleProps, Tooltip, ITooltipProps, TooltipBorder, ITooltipBorderProps };