/*!
* 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 dxPopover, { Properties } from "devextreme/ui/popover";
import { Component as BaseComponent, IHtmlOptions } from "./core/component";
import NestedOption from "./core/nested-option";
declare type IPopoverOptions = React.PropsWithChildren React.ReactNode;
contentComponent?: React.ComponentType;
contentKeyFn?: (data: any) => string;
titleRender?: (...params: any) => React.ReactNode;
titleComponent?: React.ComponentType;
titleKeyFn?: (data: any) => string;
defaultHeight?: any;
defaultPosition?: any;
defaultVisible?: any;
defaultWidth?: any;
onHeightChange?: (value: any) => void;
onPositionChange?: (value: any) => void;
onVisibleChange?: (value: any) => void;
onWidthChange?: (value: any) => void;
}>;
declare class Popover extends BaseComponent> {
get instance(): dxPopover;
protected _WidgetClass: typeof dxPopover;
protected isPortalComponent: boolean;
protected subscribableOptions: string[];
protected independentEvents: string[];
protected _defaults: {
defaultHeight: string;
defaultPosition: string;
defaultVisible: string;
defaultWidth: string;
};
protected _expectedChildren: {
animation: {
optionName: string;
isCollectionItem: boolean;
};
hideEvent: {
optionName: string;
isCollectionItem: boolean;
};
position: {
optionName: string;
isCollectionItem: boolean;
};
showEvent: {
optionName: string;
isCollectionItem: boolean;
};
toolbarItem: {
optionName: string;
isCollectionItem: boolean;
};
};
protected _templateProps: {
tmplOption: string;
render: string;
component: string;
keyFn: string;
}[];
}
declare type IAnimationProps = React.PropsWithChildren<{
hide?: any;
show?: any;
}>;
declare class Animation extends NestedOption {
static OptionName: string;
static ExpectedChildren: {
hide: {
optionName: string;
isCollectionItem: boolean;
};
show: {
optionName: string;
isCollectionItem: boolean;
};
};
}
declare type IAtProps = React.PropsWithChildren<{
x?: any;
y?: any;
}>;
declare class At extends NestedOption {
static OptionName: string;
}
declare type IBoundaryOffsetProps = React.PropsWithChildren<{
x?: any;
y?: any;
}>;
declare class BoundaryOffset extends NestedOption {
static OptionName: string;
}
declare type ICollisionProps = React.PropsWithChildren<{
x?: any;
y?: any;
}>;
declare class Collision extends NestedOption {
static OptionName: string;
}
declare type IFromProps = React.PropsWithChildren<{
left?: any;
opacity?: any;
position?: any;
scale?: any;
top?: any;
}>;
declare class From extends NestedOption {
static OptionName: string;
static ExpectedChildren: {
position: {
optionName: string;
isCollectionItem: boolean;
};
};
}
declare type IHideProps = React.PropsWithChildren<{
complete?: any;
delay?: any;
direction?: any;
duration?: any;
easing?: any;
from?: any;
staggerDelay?: any;
start?: any;
to?: any;
type?: any;
}>;
declare class Hide extends NestedOption {
static OptionName: string;
static ExpectedChildren: {
from: {
optionName: string;
isCollectionItem: boolean;
};
to: {
optionName: string;
isCollectionItem: boolean;
};
};
}
declare type IHideEventProps = React.PropsWithChildren<{
delay?: any;
name?: any;
}>;
declare class HideEvent extends NestedOption {
static OptionName: string;
}
declare type IMyProps = React.PropsWithChildren<{
x?: any;
y?: any;
}>;
declare class My extends NestedOption {
static OptionName: string;
}
declare type IOffsetProps = React.PropsWithChildren<{
x?: any;
y?: any;
}>;
declare class Offset extends NestedOption {
static OptionName: string;
}
declare type IPositionProps = React.PropsWithChildren<{
at?: object | string | {
x?: any;
y?: any;
};
boundary?: any;
boundaryOffset?: object | string | {
x?: any;
y?: any;
};
collision?: object | string | {
x?: any;
y?: any;
};
my?: object | string | {
x?: any;
y?: any;
};
of?: any;
offset?: object | string | {
x?: any;
y?: any;
};
}>;
declare class Position extends NestedOption {
static OptionName: string;
}
declare type IShowProps = React.PropsWithChildren<{
complete?: any;
delay?: any;
direction?: any;
duration?: any;
easing?: any;
from?: any;
staggerDelay?: any;
start?: any;
to?: any;
type?: any;
}>;
declare class Show extends NestedOption {
static OptionName: string;
}
declare type IShowEventProps = React.PropsWithChildren<{
delay?: any;
name?: any;
}>;
declare class ShowEvent extends NestedOption {
static OptionName: string;
}
declare type IToProps = React.PropsWithChildren<{
left?: any;
opacity?: any;
position?: any;
scale?: any;
top?: any;
}>;
declare class To extends NestedOption {
static OptionName: string;
}
declare type IToolbarItemProps = React.PropsWithChildren<{
cssClass?: any;
disabled?: any;
html?: any;
locateInMenu?: any;
location?: any;
menuItemTemplate?: any;
options?: any;
showText?: any;
template?: any;
text?: any;
toolbar?: any;
visible?: any;
widget?: any;
menuItemRender?: (...params: any) => React.ReactNode;
menuItemComponent?: React.ComponentType;
menuItemKeyFn?: (data: any) => string;
render?: (...params: any) => React.ReactNode;
component?: React.ComponentType;
keyFn?: (data: any) => string;
}>;
declare class ToolbarItem extends NestedOption {
static OptionName: string;
static IsCollectionItem: boolean;
static TemplateProps: {
tmplOption: string;
render: string;
component: string;
keyFn: string;
}[];
}
export default Popover;
export { Popover, IPopoverOptions, Animation, IAnimationProps, At, IAtProps, BoundaryOffset, IBoundaryOffsetProps, Collision, ICollisionProps, From, IFromProps, Hide, IHideProps, HideEvent, IHideEventProps, My, IMyProps, Offset, IOffsetProps, Position, IPositionProps, Show, IShowProps, ShowEvent, IShowEventProps, To, IToProps, ToolbarItem, IToolbarItemProps };