/*!
* 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 dxHtmlEditor, { Properties } from "devextreme/ui/html_editor";
import { Component as BaseComponent, IHtmlOptions } from "./core/component";
import NestedOption from "./core/nested-option";
declare type IHtmlEditorOptions = React.PropsWithChildren void;
}>;
declare class HtmlEditor extends BaseComponent> {
get instance(): dxHtmlEditor;
protected _WidgetClass: typeof dxHtmlEditor;
protected subscribableOptions: string[];
protected independentEvents: string[];
protected _defaults: {
defaultValue: string;
};
protected _expectedChildren: {
imageUpload: {
optionName: string;
isCollectionItem: boolean;
};
mediaResizing: {
optionName: string;
isCollectionItem: boolean;
};
mention: {
optionName: string;
isCollectionItem: boolean;
};
tableContextMenu: {
optionName: string;
isCollectionItem: boolean;
};
tableResizing: {
optionName: string;
isCollectionItem: boolean;
};
toolbar: {
optionName: string;
isCollectionItem: boolean;
};
variables: {
optionName: string;
isCollectionItem: boolean;
};
};
}
declare type IFileUploaderOptionsProps = React.PropsWithChildren<{
abortUpload?: any;
accept?: any;
accessKey?: any;
activeStateEnabled?: any;
allowCanceling?: any;
allowedFileExtensions?: any;
bindingOptions?: any;
chunkSize?: any;
dialogTrigger?: any;
disabled?: any;
dropZone?: any;
elementAttr?: any;
extendSelection?: any;
focusStateEnabled?: any;
height?: any;
hint?: any;
hoverStateEnabled?: any;
inputAttr?: any;
invalidFileExtensionMessage?: any;
invalidMaxFileSizeMessage?: any;
invalidMinFileSizeMessage?: any;
isValid?: any;
labelText?: any;
maxFileSize?: any;
minFileSize?: any;
multiple?: any;
name?: any;
onBeforeSend?: any;
onContentReady?: any;
onDisposing?: any;
onDropZoneEnter?: any;
onDropZoneLeave?: any;
onFilesUploaded?: any;
onFocusIn?: any;
onFocusOut?: any;
onInitialized?: any;
onOptionChanged?: any;
onProgress?: any;
onUploadAborted?: any;
onUploaded?: any;
onUploadError?: any;
onUploadStarted?: any;
onValueChanged?: any;
progress?: any;
readOnly?: any;
readyToUploadMessage?: any;
rtlEnabled?: any;
selectButtonText?: any;
showFileList?: any;
stylingMode?: any;
tabIndex?: any;
uploadAbortedMessage?: any;
uploadButtonText?: any;
uploadChunk?: any;
uploadCustomData?: any;
uploadedMessage?: any;
uploadFailedMessage?: any;
uploadFile?: any;
uploadHeaders?: any;
uploadMethod?: any;
uploadMode?: any;
uploadUrl?: any;
validationError?: any;
validationErrors?: any;
validationMessageMode?: any;
validationMessagePosition?: any;
validationStatus?: any;
value?: any;
visible?: any;
width?: any;
defaultValue?: any;
onValueChange?: (value: any) => void;
}>;
declare class FileUploaderOptions extends NestedOption {
static OptionName: string;
static DefaultsProps: {
defaultValue: string;
};
}
declare type IImageUploadProps = React.PropsWithChildren<{
fileUploaderOptions?: any;
fileUploadMode?: any;
tabs?: any;
uploadDirectory?: any;
uploadUrl?: any;
}>;
declare class ImageUpload extends NestedOption {
static OptionName: string;
static ExpectedChildren: {
fileUploaderOptions: {
optionName: string;
isCollectionItem: boolean;
};
tab: {
optionName: string;
isCollectionItem: boolean;
};
};
}
declare type IItemProps = React.PropsWithChildren<{
beginGroup?: any;
closeMenuOnClick?: any;
disabled?: any;
html?: any;
icon?: any;
items?: any;
name?: any;
selectable?: any;
selected?: any;
template?: any;
text?: any;
visible?: any;
acceptedValues?: any;
cssClass?: any;
formatName?: any;
formatValues?: any;
locateInMenu?: any;
location?: any;
menuItemTemplate?: any;
options?: any;
showText?: any;
widget?: any;
render?: (...params: any) => React.ReactNode;
component?: React.ComponentType;
keyFn?: (data: any) => string;
menuItemRender?: (...params: any) => React.ReactNode;
menuItemComponent?: React.ComponentType;
menuItemKeyFn?: (data: any) => string;
}>;
declare class Item extends NestedOption {
static OptionName: string;
static IsCollectionItem: boolean;
static TemplateProps: {
tmplOption: string;
render: string;
component: string;
keyFn: string;
}[];
}
declare type IMediaResizingProps = React.PropsWithChildren<{
allowedTargets?: any;
enabled?: any;
}>;
declare class MediaResizing extends NestedOption {
static OptionName: string;
}
declare type IMentionProps = React.PropsWithChildren<{
dataSource?: any;
displayExpr?: any;
itemTemplate?: any;
marker?: any;
minSearchLength?: any;
searchExpr?: any;
searchTimeout?: any;
template?: any;
valueExpr?: any;
itemRender?: (...params: any) => React.ReactNode;
itemComponent?: React.ComponentType;
itemKeyFn?: (data: any) => string;
render?: (...params: any) => React.ReactNode;
component?: React.ComponentType;
keyFn?: (data: any) => string;
}>;
declare class Mention extends NestedOption {
static OptionName: string;
static IsCollectionItem: boolean;
static TemplateProps: {
tmplOption: string;
render: string;
component: string;
keyFn: string;
}[];
}
declare type ITabProps = React.PropsWithChildren<{
name?: any;
}>;
declare class Tab extends NestedOption {
static OptionName: string;
static IsCollectionItem: boolean;
}
declare type ITableContextMenuProps = React.PropsWithChildren<{
enabled?: any;
items?: any;
}>;
declare class TableContextMenu extends NestedOption {
static OptionName: string;
static ExpectedChildren: {
item: {
optionName: string;
isCollectionItem: boolean;
};
tableContextMenuItem: {
optionName: string;
isCollectionItem: boolean;
};
};
}
declare type ITableContextMenuItemProps = React.PropsWithChildren<{
beginGroup?: any;
closeMenuOnClick?: any;
disabled?: any;
html?: any;
icon?: any;
items?: any;
name?: any;
selectable?: any;
selected?: any;
template?: any;
text?: any;
visible?: any;
render?: (...params: any) => React.ReactNode;
component?: React.ComponentType;
keyFn?: (data: any) => string;
}>;
declare class TableContextMenuItem extends NestedOption {
static OptionName: string;
static IsCollectionItem: boolean;
static TemplateProps: {
tmplOption: string;
render: string;
component: string;
keyFn: string;
}[];
}
declare type ITableResizingProps = React.PropsWithChildren<{
enabled?: any;
minColumnWidth?: any;
minRowHeight?: any;
}>;
declare class TableResizing extends NestedOption {
static OptionName: string;
}
declare type IToolbarProps = React.PropsWithChildren<{
container?: any;
items?: any;
multiline?: any;
}>;
declare class Toolbar extends NestedOption {
static OptionName: string;
static ExpectedChildren: {
item: {
optionName: string;
isCollectionItem: boolean;
};
toolbarItem: {
optionName: string;
isCollectionItem: boolean;
};
};
}
declare type IToolbarItemProps = React.PropsWithChildren<{
acceptedValues?: any;
cssClass?: any;
disabled?: any;
formatName?: any;
formatValues?: any;
html?: any;
locateInMenu?: any;
location?: any;
menuItemTemplate?: any;
name?: any;
options?: any;
showText?: any;
template?: any;
text?: 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;
}[];
}
declare type IVariablesProps = React.PropsWithChildren<{
dataSource?: any;
escapeChar?: any;
}>;
declare class Variables extends NestedOption {
static OptionName: string;
}
export default HtmlEditor;
export { HtmlEditor, IHtmlEditorOptions, FileUploaderOptions, IFileUploaderOptionsProps, ImageUpload, IImageUploadProps, Item, IItemProps, MediaResizing, IMediaResizingProps, Mention, IMentionProps, Tab, ITabProps, TableContextMenu, ITableContextMenuProps, TableContextMenuItem, ITableContextMenuItemProps, TableResizing, ITableResizingProps, Toolbar, IToolbarProps, ToolbarItem, IToolbarItemProps, Variables, IVariablesProps };