@alilc/lowcode-shell
Version:
Shell Layer for AliLowCodeEngine
591 lines • 404 kB
TypeScript
import { IPublicApiCommonUI, IPublicTypeContextMenuAction } from '@alilc/lowcode-types';
import { HelpTip, IEditor, Tip as InnerTip, Title as InnerTitle } from '@alilc/lowcode-editor-core';
import { Table } from '@alifd/next';
import { editorSymbol } from '../symbols';
import { ReactElement } from 'react';
export declare class CommonUI implements IPublicApiCommonUI {
[editorSymbol]: IEditor;
Balloon: import("@alifd/next/types/config-provider/types").ConfiguredComponentClass<import("@alifd/next/types/balloon").BalloonProps & import("@alifd/next/types/config-provider/types").ComponentCommonProps, {
readonly props: import("@alifd/next/types/balloon").BalloonV1Props & import("@alifd/next/types/balloon").BalloonV2Props;
_onVisibleChange(visible: boolean, trigger: string): void;
_onClose(e: import("react").MouseEvent<Element, MouseEvent>): void;
_onPosition(res: {
align?: string[] | undefined;
config: {
placement: string;
points: string;
};
style?: CSSCounterStyleRule | undefined;
}): void;
beforePosition: (result: {
config: {
placement: import("@alifd/next/types/balloon").AlignType;
};
style: {
left: number;
top: number;
};
}, obj: {
target: {
width: number;
height: number;
};
}) => {
config: {
placement: import("@alifd/next/types/balloon").AlignType;
};
style: {
left: number;
top: number;
};
};
render(): import("react").JSX.Element;
context: any;
setState<K extends keyof import("@alifd/next/types/balloon/types").BalloonState>(state: import("@alifd/next/types/balloon/types").BalloonState | ((prevState: Readonly<import("@alifd/next/types/balloon/types").BalloonState>, props: Readonly<import("@alifd/next/types/balloon").BalloonProps>) => import("@alifd/next/types/balloon/types").BalloonState | Pick<import("@alifd/next/types/balloon/types").BalloonState, K> | null) | Pick<import("@alifd/next/types/balloon/types").BalloonState, K> | null, callback?: (() => void) | undefined): void;
forceUpdate(callback?: (() => void) | undefined): void;
state: Readonly<import("@alifd/next/types/balloon/types").BalloonState>;
refs: {
[key: string]: import("react").ReactInstance;
};
componentDidMount?(): void;
shouldComponentUpdate?(nextProps: Readonly<import("@alifd/next/types/balloon").BalloonProps>, nextState: Readonly<import("@alifd/next/types/balloon/types").BalloonState>, nextContext: any): boolean;
componentWillUnmount?(): void;
componentDidCatch?(error: Error, errorInfo: import("react").ErrorInfo): void;
getSnapshotBeforeUpdate?(prevProps: Readonly<import("@alifd/next/types/balloon").BalloonProps>, prevState: Readonly<import("@alifd/next/types/balloon/types").BalloonState>): any;
componentDidUpdate?(prevProps: Readonly<import("@alifd/next/types/balloon").BalloonProps>, prevState: Readonly<import("@alifd/next/types/balloon/types").BalloonState>, snapshot?: any): void;
componentWillMount?(): void;
UNSAFE_componentWillMount?(): void;
componentWillReceiveProps?(nextProps: Readonly<import("@alifd/next/types/balloon").BalloonProps>, nextContext: any): void;
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<import("@alifd/next/types/balloon").BalloonProps>, nextContext: any): void;
componentWillUpdate?(nextProps: Readonly<import("@alifd/next/types/balloon").BalloonProps>, nextState: Readonly<import("@alifd/next/types/balloon/types").BalloonState>, nextContext: any): void;
UNSAFE_componentWillUpdate?(nextProps: Readonly<import("@alifd/next/types/balloon").BalloonProps>, nextState: Readonly<import("@alifd/next/types/balloon/types").BalloonState>, nextContext: any): void;
}, {}> & {
Tooltip: import("@alifd/next/types/config-provider/types").ConfiguredComponentClass<import("@alifd/next/types/balloon").TooltipProps & import("@alifd/next/types/config-provider/types").ComponentCommonProps, import("@alifd/next/types/balloon/tooltip").default, {}>;
Inner: typeof import("@alifd/next/types/balloon/inner").default;
};
Breadcrumb: any;
Button: import("@alifd/next/types/config-provider/types").ConfiguredComponentClass<import("@alifd/next/types/button").ButtonProps & import("@alifd/next/types/config-provider/types").ComponentCommonProps, import("@alifd/next/types/button/view/button").default, {}> & {
Group: import("@alifd/next/types/config-provider/types").ConfiguredComponentClass<import("@alifd/next/types/button").GroupProps & import("@alifd/next/types/config-provider/types").ComponentCommonProps, import("@alifd/next/types/button/view/group").ButtonGroup, {}>;
};
Card: import("@alifd/next/types/config-provider/types").ConfiguredComponentClass<import("@alifd/next/types/card").CardProps & import("@alifd/next/types/config-provider/types").ComponentCommonProps, import("@alifd/next/types/card/card").default, {}> & {
Divider: import("@alifd/next/types/config-provider/types").ConfiguredComponentClass<import("@alifd/next/types/card").CardDividerProps & import("@alifd/next/types/config-provider/types").ComponentCommonProps, {
render(): import("react").JSX.Element;
context: any;
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<import("@alifd/next/types/card").CardDividerProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
forceUpdate(callback?: (() => void) | undefined): void;
readonly props: Readonly<import("@alifd/next/types/card").CardDividerProps> & Readonly<{
children?: import("react").ReactNode;
}>;
state: Readonly<{}>;
refs: {
[key: string]: import("react").ReactInstance;
};
componentDidMount?(): void;
shouldComponentUpdate?(nextProps: Readonly<import("@alifd/next/types/card").CardDividerProps>, nextState: Readonly<{}>, nextContext: any): boolean;
componentWillUnmount?(): void;
componentDidCatch?(error: Error, errorInfo: import("react").ErrorInfo): void;
getSnapshotBeforeUpdate?(prevProps: Readonly<import("@alifd/next/types/card").CardDividerProps>, prevState: Readonly<{}>): any;
componentDidUpdate?(prevProps: Readonly<import("@alifd/next/types/card").CardDividerProps>, prevState: Readonly<{}>, snapshot?: any): void;
componentWillMount?(): void;
UNSAFE_componentWillMount?(): void;
componentWillReceiveProps?(nextProps: Readonly<import("@alifd/next/types/card").CardDividerProps>, nextContext: any): void;
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<import("@alifd/next/types/card").CardDividerProps>, nextContext: any): void;
componentWillUpdate?(nextProps: Readonly<import("@alifd/next/types/card").CardDividerProps>, nextState: Readonly<{}>, nextContext: any): void;
UNSAFE_componentWillUpdate?(nextProps: Readonly<import("@alifd/next/types/card").CardDividerProps>, nextState: Readonly<{}>, nextContext: any): void;
}, {}>;
Header: import("@alifd/next/types/config-provider/types").ConfiguredComponentClass<import("@alifd/next/types/card").CardHeaderProps & import("@alifd/next/types/config-provider/types").ComponentCommonProps, {
render(): import("react").JSX.Element;
context: any;
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<import("@alifd/next/types/card").CardHeaderProps>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
forceUpdate(callback?: (() => void) | undefined): void;
readonly props: Readonly<import("@alifd/next/types/card").CardHeaderProps> & Readonly<{
children?: import("react").ReactNode;
}>;
state: Readonly<{}>;
refs: {
[key: string]: import("react").ReactInstance;
};
componentDidMount?(): void;
shouldComponentUpdate?(nextProps: Readonly<import("@alifd/next/types/card").CardHeaderProps>, nextState: Readonly<{}>, nextContext: any): boolean;
componentWillUnmount?(): void;
componentDidCatch?(error: Error, errorInfo: import("react").ErrorInfo): void;
getSnapshotBeforeUpdate?(prevProps: Readonly<import("@alifd/next/types/card").CardHeaderProps>, prevState: Readonly<{}>): any;
componentDidUpdate?(prevProps: Readonly<import("@alifd/next/types/card").CardHeaderProps>, prevState: Readonly<{}>, snapshot?: any): void;
componentWillMount?(): void;
UNSAFE_componentWillMount?(): void;
componentWillReceiveProps?(nextProps: Readonly<import("@alifd/next/types/card").CardHeaderProps>, nextContext: any): void;
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<import("@alifd/next/types/card").CardHeaderProps>, nextContext: any): void;
componentWillUpdate?(nextProps: Readonly<import("@alifd/next/types/card").CardHeaderProps>, nextState: Readonly<{}>, nextContext: any): void;
UNSAFE_componentWillUpdate?(nextProps: Readonly<import("@alifd/next/types/card").CardHeaderProps>, nextState: Readonly<{}>, nextContext: any): void;
}, {}>;
Media: import("@alifd/next/types/config-provider/types").ConfiguredComponentClass<import("@alifd/next/types/card").CardMediaProps & import("@alifd/next/types/config-provider/types").ComponentCommonProps, {
render(): import("react").JSX.Element;
context: any;
setState<K_2 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<import("@alifd/next/types/card").CardMediaProps>) => {} | Pick<{}, K_2> | null) | Pick<{}, K_2> | null, callback?: (() => void) | undefined): void;
forceUpdate(callback?: (() => void) | undefined): void;
readonly props: Readonly<import("@alifd/next/types/card").CardMediaProps> & Readonly<{
children?: import("react").ReactNode;
}>;
state: Readonly<{}>;
refs: {
[key: string]: import("react").ReactInstance;
};
componentDidMount?(): void;
shouldComponentUpdate?(nextProps: Readonly<import("@alifd/next/types/card").CardMediaProps>, nextState: Readonly<{}>, nextContext: any): boolean;
componentWillUnmount?(): void;
componentDidCatch?(error: Error, errorInfo: import("react").ErrorInfo): void;
getSnapshotBeforeUpdate?(prevProps: Readonly<import("@alifd/next/types/card").CardMediaProps>, prevState: Readonly<{}>): any;
componentDidUpdate?(prevProps: Readonly<import("@alifd/next/types/card").CardMediaProps>, prevState: Readonly<{}>, snapshot?: any): void;
componentWillMount?(): void;
UNSAFE_componentWillMount?(): void;
componentWillReceiveProps?(nextProps: Readonly<import("@alifd/next/types/card").CardMediaProps>, nextContext: any): void;
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<import("@alifd/next/types/card").CardMediaProps>, nextContext: any): void;
componentWillUpdate?(nextProps: Readonly<import("@alifd/next/types/card").CardMediaProps>, nextState: Readonly<{}>, nextContext: any): void;
UNSAFE_componentWillUpdate?(nextProps: Readonly<import("@alifd/next/types/card").CardMediaProps>, nextState: Readonly<{}>, nextContext: any): void;
}, {}>;
Content: import("@alifd/next/types/config-provider/types").ConfiguredComponentClass<import("@alifd/next/types/card").CardContentProps & import("@alifd/next/types/config-provider/types").ComponentCommonProps, {
render(): import("react").JSX.Element;
context: any;
setState<K_3 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<import("@alifd/next/types/card").CardContentProps>) => {} | Pick<{}, K_3> | null) | Pick<{}, K_3> | null, callback?: (() => void) | undefined): void;
forceUpdate(callback?: (() => void) | undefined): void;
readonly props: Readonly<import("@alifd/next/types/card").CardContentProps> & Readonly<{
children?: import("react").ReactNode;
}>;
state: Readonly<{}>;
refs: {
[key: string]: import("react").ReactInstance;
};
componentDidMount?(): void;
shouldComponentUpdate?(nextProps: Readonly<import("@alifd/next/types/card").CardContentProps>, nextState: Readonly<{}>, nextContext: any): boolean;
componentWillUnmount?(): void;
componentDidCatch?(error: Error, errorInfo: import("react").ErrorInfo): void;
getSnapshotBeforeUpdate?(prevProps: Readonly<import("@alifd/next/types/card").CardContentProps>, prevState: Readonly<{}>): any;
componentDidUpdate?(prevProps: Readonly<import("@alifd/next/types/card").CardContentProps>, prevState: Readonly<{}>, snapshot?: any): void;
componentWillMount?(): void;
UNSAFE_componentWillMount?(): void;
componentWillReceiveProps?(nextProps: Readonly<import("@alifd/next/types/card").CardContentProps>, nextContext: any): void;
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<import("@alifd/next/types/card").CardContentProps>, nextContext: any): void;
componentWillUpdate?(nextProps: Readonly<import("@alifd/next/types/card").CardContentProps>, nextState: Readonly<{}>, nextContext: any): void;
UNSAFE_componentWillUpdate?(nextProps: Readonly<import("@alifd/next/types/card").CardContentProps>, nextState: Readonly<{}>, nextContext: any): void;
}, {}>;
Actions: import("@alifd/next/types/config-provider/types").ConfiguredComponentClass<import("@alifd/next/types/card").CardActionsProps & import("@alifd/next/types/config-provider/types").ComponentCommonProps, {
render(): import("react").JSX.Element;
context: any;
setState<K_4 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<import("@alifd/next/types/card").CardActionsProps>) => {} | Pick<{}, K_4> | null) | Pick<{}, K_4> | null, callback?: (() => void) | undefined): void;
forceUpdate(callback?: (() => void) | undefined): void;
readonly props: Readonly<import("@alifd/next/types/card").CardActionsProps> & Readonly<{
children?: import("react").ReactNode;
}>;
state: Readonly<{}>;
refs: {
[key: string]: import("react").ReactInstance;
};
componentDidMount?(): void;
shouldComponentUpdate?(nextProps: Readonly<import("@alifd/next/types/card").CardActionsProps>, nextState: Readonly<{}>, nextContext: any): boolean;
componentWillUnmount?(): void;
componentDidCatch?(error: Error, errorInfo: import("react").ErrorInfo): void;
getSnapshotBeforeUpdate?(prevProps: Readonly<import("@alifd/next/types/card").CardActionsProps>, prevState: Readonly<{}>): any;
componentDidUpdate?(prevProps: Readonly<import("@alifd/next/types/card").CardActionsProps>, prevState: Readonly<{}>, snapshot?: any): void;
componentWillMount?(): void;
UNSAFE_componentWillMount?(): void;
componentWillReceiveProps?(nextProps: Readonly<import("@alifd/next/types/card").CardActionsProps>, nextContext: any): void;
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<import("@alifd/next/types/card").CardActionsProps>, nextContext: any): void;
componentWillUpdate?(nextProps: Readonly<import("@alifd/next/types/card").CardActionsProps>, nextState: Readonly<{}>, nextContext: any): void;
UNSAFE_componentWillUpdate?(nextProps: Readonly<import("@alifd/next/types/card").CardActionsProps>, nextState: Readonly<{}>, nextContext: any): void;
}, {}>;
BulletHeader: import("@alifd/next/types/config-provider/types").ConfiguredComponentClass<import("@alifd/next/types/card").CardBulletHeaderProps & import("@alifd/next/types/config-provider/types").ComponentCommonProps, {
render(): import("react").JSX.Element | null;
context: any;
setState<K_5 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<import("@alifd/next/types/card").CardBulletHeaderProps>) => {} | Pick<{}, K_5> | null) | Pick<{}, K_5> | null, callback?: (() => void) | undefined): void;
forceUpdate(callback?: (() => void) | undefined): void;
readonly props: Readonly<import("@alifd/next/types/card").CardBulletHeaderProps> & Readonly<{
children?: import("react").ReactNode;
}>;
state: Readonly<{}>;
refs: {
[key: string]: import("react").ReactInstance;
};
componentDidMount?(): void;
shouldComponentUpdate?(nextProps: Readonly<import("@alifd/next/types/card").CardBulletHeaderProps>, nextState: Readonly<{}>, nextContext: any): boolean;
componentWillUnmount?(): void;
componentDidCatch?(error: Error, errorInfo: import("react").ErrorInfo): void;
getSnapshotBeforeUpdate?(prevProps: Readonly<import("@alifd/next/types/card").CardBulletHeaderProps>, prevState: Readonly<{}>): any;
componentDidUpdate?(prevProps: Readonly<import("@alifd/next/types/card").CardBulletHeaderProps>, prevState: Readonly<{}>, snapshot?: any): void;
componentWillMount?(): void;
UNSAFE_componentWillMount?(): void;
componentWillReceiveProps?(nextProps: Readonly<import("@alifd/next/types/card").CardBulletHeaderProps>, nextContext: any): void;
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<import("@alifd/next/types/card").CardBulletHeaderProps>, nextContext: any): void;
componentWillUpdate?(nextProps: Readonly<import("@alifd/next/types/card").CardBulletHeaderProps>, nextState: Readonly<{}>, nextContext: any): void;
UNSAFE_componentWillUpdate?(nextProps: Readonly<import("@alifd/next/types/card").CardBulletHeaderProps>, nextState: Readonly<{}>, nextContext: any): void;
}, {}>;
CollaspeContent: import("@alifd/next/types/config-provider/types").ConfiguredComponentClass<import("@alifd/next/types/card").CardCollapseContentProps & import("@alifd/next/types/config-provider/types").ComponentCommonProps, {
content: HTMLDivElement;
footer: HTMLDivElement;
componentDidMount(): void;
componentDidUpdate(): void;
handleToggle: () => void;
_setNeedMore(): void;
_setContentHeight(): void;
_getNodeChildrenHeight(node?: HTMLDivElement | undefined): number;
_contentRefHandler: (ref: HTMLDivElement) => void;
saveFooter: (ref: HTMLDivElement) => void;
render(): import("react").JSX.Element;
context: any;
setState<K_6 extends keyof import("@alifd/next/types/card/collapse-content").CardCollapseContentState>(state: import("@alifd/next/types/card/collapse-content").CardCollapseContentState | ((prevState: Readonly<import("@alifd/next/types/card/collapse-content").CardCollapseContentState>, props: Readonly<import("@alifd/next/types/card").CardCollapseContentProps>) => import("@alifd/next/types/card/collapse-content").CardCollapseContentState | Pick<import("@alifd/next/types/card/collapse-content").CardCollapseContentState, K_6> | null) | Pick<import("@alifd/next/types/card/collapse-content").CardCollapseContentState, K_6> | null, callback?: (() => void) | undefined): void;
forceUpdate(callback?: (() => void) | undefined): void;
readonly props: Readonly<import("@alifd/next/types/card").CardCollapseContentProps> & Readonly<{
children?: import("react").ReactNode;
}>;
state: Readonly<import("@alifd/next/types/card/collapse-content").CardCollapseContentState>;
refs: {
[key: string]: import("react").ReactInstance;
};
shouldComponentUpdate?(nextProps: Readonly<import("@alifd/next/types/card").CardCollapseContentProps>, nextState: Readonly<import("@alifd/next/types/card/collapse-content").CardCollapseContentState>, nextContext: any): boolean;
componentWillUnmount?(): void;
componentDidCatch?(error: Error, errorInfo: import("react").ErrorInfo): void;
getSnapshotBeforeUpdate?(prevProps: Readonly<import("@alifd/next/types/card").CardCollapseContentProps>, prevState: Readonly<import("@alifd/next/types/card/collapse-content").CardCollapseContentState>): any;
componentWillMount?(): void;
UNSAFE_componentWillMount?(): void;
componentWillReceiveProps?(nextProps: Readonly<import("@alifd/next/types/card").CardCollapseContentProps>, nextContext: any): void;
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<import("@alifd/next/types/card").CardCollapseContentProps>, nextContext: any): void;
componentWillUpdate?(nextProps: Readonly<import("@alifd/next/types/card").CardCollapseContentProps>, nextState: Readonly<import("@alifd/next/types/card/collapse-content").CardCollapseContentState>, nextContext: any): void;
UNSAFE_componentWillUpdate?(nextProps: Readonly<import("@alifd/next/types/card").CardCollapseContentProps>, nextState: Readonly<import("@alifd/next/types/card/collapse-content").CardCollapseContentState>, nextContext: any): void;
}, {}>;
CollapseContent: import("@alifd/next/types/config-provider/types").ConfiguredComponentClass<import("@alifd/next/types/card").CardCollapseContentProps & import("@alifd/next/types/config-provider/types").ComponentCommonProps, {
content: HTMLDivElement;
footer: HTMLDivElement;
componentDidMount(): void;
componentDidUpdate(): void;
handleToggle: () => void;
_setNeedMore(): void;
_setContentHeight(): void;
_getNodeChildrenHeight(node?: HTMLDivElement | undefined): number;
_contentRefHandler: (ref: HTMLDivElement) => void;
saveFooter: (ref: HTMLDivElement) => void;
render(): import("react").JSX.Element;
context: any;
setState<K_6 extends keyof import("@alifd/next/types/card/collapse-content").CardCollapseContentState>(state: import("@alifd/next/types/card/collapse-content").CardCollapseContentState | ((prevState: Readonly<import("@alifd/next/types/card/collapse-content").CardCollapseContentState>, props: Readonly<import("@alifd/next/types/card").CardCollapseContentProps>) => import("@alifd/next/types/card/collapse-content").CardCollapseContentState | Pick<import("@alifd/next/types/card/collapse-content").CardCollapseContentState, K_6> | null) | Pick<import("@alifd/next/types/card/collapse-content").CardCollapseContentState, K_6> | null, callback?: (() => void) | undefined): void;
forceUpdate(callback?: (() => void) | undefined): void;
readonly props: Readonly<import("@alifd/next/types/card").CardCollapseContentProps> & Readonly<{
children?: import("react").ReactNode;
}>;
state: Readonly<import("@alifd/next/types/card/collapse-content").CardCollapseContentState>;
refs: {
[key: string]: import("react").ReactInstance;
};
shouldComponentUpdate?(nextProps: Readonly<import("@alifd/next/types/card").CardCollapseContentProps>, nextState: Readonly<import("@alifd/next/types/card/collapse-content").CardCollapseContentState>, nextContext: any): boolean;
componentWillUnmount?(): void;
componentDidCatch?(error: Error, errorInfo: import("react").ErrorInfo): void;
getSnapshotBeforeUpdate?(prevProps: Readonly<import("@alifd/next/types/card").CardCollapseContentProps>, prevState: Readonly<import("@alifd/next/types/card/collapse-content").CardCollapseContentState>): any;
componentWillMount?(): void;
UNSAFE_componentWillMount?(): void;
componentWillReceiveProps?(nextProps: Readonly<import("@alifd/next/types/card").CardCollapseContentProps>, nextContext: any): void;
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<import("@alifd/next/types/card").CardCollapseContentProps>, nextContext: any): void;
componentWillUpdate?(nextProps: Readonly<import("@alifd/next/types/card").CardCollapseContentProps>, nextState: Readonly<import("@alifd/next/types/card/collapse-content").CardCollapseContentState>, nextContext: any): void;
UNSAFE_componentWillUpdate?(nextProps: Readonly<import("@alifd/next/types/card").CardCollapseContentProps>, nextState: Readonly<import("@alifd/next/types/card/collapse-content").CardCollapseContentState>, nextContext: any): void;
}, {}>;
};
Checkbox: import("@alifd/next/types/config-provider/types").ConfiguredComponentClass<(import("@alifd/next/types/checkbox").CheckboxProps | (import("@alifd/next/types/checkbox").CheckboxProps & {
children?: import("react").ReactNode;
})) & import("@alifd/next/types/config-provider/types").ComponentCommonProps, import("react").Component<import("@alifd/next/types/checkbox").CheckboxProps, any, any>, {}> & {
Group: import("@alifd/next/types/config-provider/types").ConfiguredComponentClass<import("@alifd/next/types/checkbox").GroupProps & import("@alifd/next/types/config-provider/types").ComponentCommonProps, {
getChildContext(): {
__group__: boolean;
onChange: (currentValue: import("@alifd/next/types/checkbox").ValueItem, event: import("react").ChangeEvent<HTMLInputElement>) => void;
selectedValue: import("@alifd/next/types/checkbox").ValueItem[];
disabled: boolean | undefined;
};
onChange(currentValue: import("@alifd/next/types/checkbox").ValueItem, event: import("react").ChangeEvent<HTMLInputElement>): void;
render(): import("react").JSX.Element;
context: any;
setState<K extends "value">(state: import("@alifd/next/types/checkbox/types").GroupState | ((prevState: Readonly<import("@alifd/next/types/checkbox/types").GroupState>, props: Readonly<import("@alifd/next/types/checkbox").GroupProps>) => import("@alifd/next/types/checkbox/types").GroupState | Pick<import("@alifd/next/types/checkbox/types").GroupState, K> | null) | Pick<import("@alifd/next/types/checkbox/types").GroupState, K> | null, callback?: (() => void) | undefined): void;
forceUpdate(callback?: (() => void) | undefined): void;
readonly props: Readonly<import("@alifd/next/types/checkbox").GroupProps> & Readonly<{
children?: import("react").ReactNode;
}>;
state: Readonly<import("@alifd/next/types/checkbox/types").GroupState>;
refs: {
[key: string]: import("react").ReactInstance;
};
componentDidMount?(): void;
shouldComponentUpdate?(nextProps: Readonly<import("@alifd/next/types/checkbox").GroupProps>, nextState: Readonly<import("@alifd/next/types/checkbox/types").GroupState>, nextContext: any): boolean;
componentWillUnmount?(): void;
componentDidCatch?(error: Error, errorInfo: import("react").ErrorInfo): void;
getSnapshotBeforeUpdate?(prevProps: Readonly<import("@alifd/next/types/checkbox").GroupProps>, prevState: Readonly<import("@alifd/next/types/checkbox/types").GroupState>): any;
componentDidUpdate?(prevProps: Readonly<import("@alifd/next/types/checkbox").GroupProps>, prevState: Readonly<import("@alifd/next/types/checkbox/types").GroupState>, snapshot?: any): void;
componentWillMount?(): void;
UNSAFE_componentWillMount?(): void;
componentWillReceiveProps?(nextProps: Readonly<import("@alifd/next/types/checkbox").GroupProps>, nextContext: any): void;
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<import("@alifd/next/types/checkbox").GroupProps>, nextContext: any): void;
componentWillUpdate?(nextProps: Readonly<import("@alifd/next/types/checkbox").GroupProps>, nextState: Readonly<import("@alifd/next/types/checkbox/types").GroupState>, nextContext: any): void;
UNSAFE_componentWillUpdate?(nextProps: Readonly<import("@alifd/next/types/checkbox").GroupProps>, nextState: Readonly<import("@alifd/next/types/checkbox/types").GroupState>, nextContext: any): void;
}, {}>;
};
DatePicker: import("@alifd/next/types/config-provider/types").ConfiguredComponentClass<import("@alifd/next/types/date-picker").DatePickerProps & import("@alifd/next/types/config-provider/types").ComponentCommonProps, {
readonly props: Readonly<import("@alifd/next/types/util").RequiredSome<import("@alifd/next/types/date-picker").DatePickerProps, "size" | "rtl" | "format" | "prefix" | "locale" | "onChange" | "defaultVisible" | "onVisibleChange" | "popupAlign" | "disabledDate" | "hasClear" | "popupTriggerType" | "showTime" | "resetTime" | "footerRender" | "onOk">> & Readonly<Pick<{
prefix: string;
rtl: boolean;
format: string;
size: string;
showTime: boolean;
resetTime: boolean;
disabledDate: () => boolean;
footerRender: () => null;
hasClear: boolean;
popupTriggerType: string;
popupAlign: string;
locale: Partial<{
placeholder: string;
datetimePlaceholder: string;
monthPlaceholder: string;
weekPlaceholder: string;
yearPlaceholder: string;
now: string;
selectTime: string;
selectDate: string;
ok: string;
clear: string;
startPlaceholder: string;
endPlaceholder: string;
hour: string;
minute: string;
second: string;
monthBeforeYear?: boolean | undefined;
}> & {
momentLocale?: string | undefined;
};
defaultVisible: boolean;
onChange: () => void;
onVisibleChange: () => void;
onOk: () => void;
}, never>>;
onValueChange: (newValue: import("moment").Moment | null, handler?: "onChange" | "onOk") => void;
onSelectCalendarPanel: (value: import("moment").Moment) => void;
onSelectTimePanel: (value: import("moment").Moment) => void;
clearValue: () => void;
onDateInputChange: (inputStr: string | null | undefined, e: import("react").UIEvent<Element, UIEvent>, eventType?: string | undefined) => void;
onTimeInputChange: (inputStr: string) => void;
onDateInputBlur: () => void;
onTimeInputBlur: () => void;
onKeyDown: (e: import("react").KeyboardEvent<Element>) => void;
onTimeKeyDown: (e: import("react").KeyboardEvent<Element>) => void;
handleChange: (newValue: import("moment").Moment | null, prevValue: import("moment").Moment | null, others?: {}) => void;
onFoucsDateInput: () => void;
onFoucsTimeInput: () => void;
onVisibleChange: (visible: boolean, type: string) => void;
changePanel: (panel: import("@alifd/next/types/date-picker/types").PanelType) => void;
onOk: (value?: import("moment").Moment | null | undefined) => void;
renderPreview(others: import("react").HTMLAttributes<HTMLDivElement>): import("react").JSX.Element;
render(): import("react").JSX.Element;
context: any;
setState<K extends keyof import("@alifd/next/types/date-picker/types").DatePickerState>(state: import("@alifd/next/types/date-picker/types").DatePickerState | ((prevState: Readonly<import("@alifd/next/types/date-picker/types").DatePickerState>, props: Readonly<import("@alifd/next/types/date-picker").DatePickerProps>) => import("@alifd/next/types/date-picker/types").DatePickerState | Pick<import("@alifd/next/types/date-picker/types").DatePickerState, K> | null) | Pick<import("@alifd/next/types/date-picker/types").DatePickerState, K> | null, callback?: (() => void) | undefined): void;
forceUpdate(callback?: (() => void) | undefined): void;
state: Readonly<import("@alifd/next/types/date-picker/types").DatePickerState>;
refs: {
[key: string]: import("react").ReactInstance;
};
componentDidMount?(): void;
shouldComponentUpdate?(nextProps: Readonly<import("@alifd/next/types/date-picker").DatePickerProps>, nextState: Readonly<import("@alifd/next/types/date-picker/types").DatePickerState>, nextContext: any): boolean;
componentWillUnmount?(): void;
componentDidCatch?(error: Error, errorInfo: import("react").ErrorInfo): void;
getSnapshotBeforeUpdate?(prevProps: Readonly<import("@alifd/next/types/date-picker").DatePickerProps>, prevState: Readonly<import("@alifd/next/types/date-picker/types").DatePickerState>): any;
componentDidUpdate?(prevProps: Readonly<import("@alifd/next/types/date-picker").DatePickerProps>, prevState: Readonly<import("@alifd/next/types/date-picker/types").DatePickerState>, snapshot?: any): void;
componentWillMount?(): void;
UNSAFE_componentWillMount?(): void;
componentWillReceiveProps?(nextProps: Readonly<import("@alifd/next/types/date-picker").DatePickerProps>, nextContext: any): void;
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<import("@alifd/next/types/date-picker").DatePickerProps>, nextContext: any): void;
componentWillUpdate?(nextProps: Readonly<import("@alifd/next/types/date-picker").DatePickerProps>, nextState: Readonly<import("@alifd/next/types/date-picker/types").DatePickerState>, nextContext: any): void;
UNSAFE_componentWillUpdate?(nextProps: Readonly<import("@alifd/next/types/date-picker").DatePickerProps>, nextState: Readonly<import("@alifd/next/types/date-picker/types").DatePickerState>, nextContext: any): void;
}, {}> & {
RangePicker: import("@alifd/next/types/config-provider/types").ConfiguredComponentClass<import("@alifd/next/types/date-picker").RangePickerProps & import("@alifd/next/types/config-provider/types").ComponentCommonProps, {
readonly props: Readonly<import("@alifd/next/types/util").RequiredSome<import("@alifd/next/types/date-picker").RangePickerProps, "size" | "rtl" | "type" | "prefix" | "locale" | "onChange" | "defaultVisible" | "onVisibleChange" | "popupAlign" | "disabledDate" | "disableChangeMode" | "hasClear" | "popupTriggerType" | "showTime" | "resetTime" | "footerRender" | "onOk">> & Readonly<Pick<{
prefix: string;
rtl: boolean;
type: string;
size: string;
showTime: boolean;
resetTime: boolean;
disabledDate: () => boolean;
footerRender: () => null;
hasClear: boolean;
defaultVisible: boolean;
popupTriggerType: string;
popupAlign: string;
locale: Partial<{
placeholder: string;
datetimePlaceholder: string;
monthPlaceholder: string;
weekPlaceholder: string;
yearPlaceholder: string;
now: string;
selectTime: string;
selectDate: string;
ok: string;
clear: string;
startPlaceholder: string;
endPlaceholder: string;
hour: string;
minute: string;
second: string;
monthBeforeYear?: boolean | undefined;
}> & {
momentLocale?: string | undefined;
};
disableChangeMode: boolean;
onChange: () => void;
onOk: () => void;
onVisibleChange: () => void;
}, never>>;
startDateInputRef: import("react").RefObject<import("@alifd/next/types/config-provider/types").ConfiguredComponent<import("@alifd/next/types/input").InputProps & import("@alifd/next/types/config-provider/types").ComponentCommonProps, import("@alifd/next/types/input/input").default<import("@alifd/next/types/input").InputProps>> & Pick<import("@alifd/next/types/input/input").default<import("@alifd/next/types/input").InputProps>, "focus" | "getInputNode">>;
endDateInputRef: import("react").RefObject<import("@alifd/next/types/config-provider/types").ConfiguredComponent<import("@alifd/next/types/input").InputProps & import("@alifd/next/types/config-provider/types").ComponentCommonProps, import("@alifd/next/types/input/input").default<import("@alifd/next/types/input").InputProps>> & Pick<import("@alifd/next/types/input/input").default<import("@alifd/next/types/input").InputProps>, "focus" | "getInputNode">>;
autoSwitchDateInput: boolean;
onValueChange: (values: (import("moment").Moment | null | undefined)[], handler?: "onChange" | "onOk") => void;
onSelectCalendarPanel: (value: import("moment").Moment, active?: "startValue" | "endValue" | "startTime" | "endTime" | undefined) => void;
clearRange: () => void;
onDateInputChange: (inputStr: string, e: import("react").SyntheticEvent<Element, Event>, eventType?: string | undefined) => void;
onDateInputBlur: () => void;
onDateInputKeyDown: (e: import("react").KeyboardEvent<Element>) => void;
onFocusDateInput: (type: "startValue" | "endValue" | "startTime" | "endTime" | undefined) => void;
onFocusTimeInput: (type: "startValue" | "endValue" | "startTime" | "endTime" | undefined) => void;
onSelectStartTime: (value: import("moment").Moment) => void;
onSelectEndTime: (value: import("moment").Moment) => void;
onTimeInputChange: (inputStr: string) => void;
onTimeInputBlur: () => void;
onTimeInputKeyDown: (e: import("react").KeyboardEvent<Element>) => void;
handleChange: (valueName: "startValue" | "endValue", newValue?: import("moment").Moment | null | undefined) => void;
onVisibleChange: (visible: boolean, type: string) => void;
changePanel: (panel: import("@alifd/next/types/date-picker/types").PanelType) => void;
onOk: (value?: (import("moment").Moment | null | undefined)[] | undefined) => void;
getDisabledTime: ({ startValue, endValue, }: {
startValue?: import("moment").Moment | null | undefined;
endValue?: import("moment").Moment | null | undefined;
} & Record<string, unknown>) => {};
enableAutoSwitchDateInput: () => void;
afterOpen: () => void;
renderPreview([startValue, endValue]: [import("moment").Moment | null, import("moment").Moment | null], others: import("react").HTMLAttributes<HTMLDivElement>): import("react").JSX.Element;
render(): import("react").JSX.Element;
context: any;
setState<K_1 extends keyof import("@alifd/next/types/date-picker/types").RangePickerState>(state: import("@alifd/next/types/date-picker/types").RangePickerState | ((prevState: Readonly<import("@alifd/next/types/date-picker/types").RangePickerState>, props: Readonly<import("@alifd/next/types/date-picker").RangePickerProps>) => import("@alifd/next/types/date-picker/types").RangePickerState | Pick<import("@alifd/next/types/date-picker/types").RangePickerState, K_1> | null) | Pick<import("@alifd/next/types/date-picker/types").RangePickerState, K_1> | null, callback?: (() => void) | undefined): void;
forceUpdate(callback?: (() => void) | undefined): void;
state: Readonly<import("@alifd/next/types/date-picker/types").RangePickerState>;
refs: {
[key: string]: import("react").ReactInstance;
};
componentDidMount?(): void;
shouldComponentUpdate?(nextProps: Readonly<import("@alifd/next/types/date-picker").RangePickerProps>, nextState: Readonly<import("@alifd/next/types/date-picker/types").RangePickerState>, nextContext: any): boolean;
componentWillUnmount?(): void;
componentDidCatch?(error: Error, errorInfo: import("react").ErrorInfo): void;
getSnapshotBeforeUpdate?(prevProps: Readonly<import("@alifd/next/types/date-picker").RangePickerProps>, prevState: Readonly<import("@alifd/next/types/date-picker/types").RangePickerState>): any;
componentDidUpdate?(prevProps: Readonly<import("@alifd/next/types/date-picker").RangePickerProps>, prevState: Readonly<import("@alifd/next/types/date-picker/types").RangePickerState>, snapshot?: any): void;
componentWillMount?(): void;
UNSAFE_componentWillMount?(): void;
componentWillReceiveProps?(nextProps: Readonly<import("@alifd/next/types/date-picker").RangePickerProps>, nextContext: any): void;
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<import("@alifd/next/types/date-picker").RangePickerProps>, nextContext: any): void;
componentWillUpdate?(nextProps: Readonly<import("@alifd/next/types/date-picker").RangePickerProps>, nextState: Readonly<import("@alifd/next/types/date-picker/types").RangePickerState>, nextContext: any): void;
UNSAFE_componentWillUpdate?(nextProps: Readonly<import("@alifd/next/types/date-picker").RangePickerProps>, nextState: Readonly<import("@alifd/next/types/date-picker/types").RangePickerState>, nextContext: any): void;
}, {}>;
MonthPicker: import("@alifd/next/types/config-provider/types").ConfiguredComponentClass<import("@alifd/next/types/date-picker").MonthPickerProps & import("@alifd/next/types/config-provider/types").ComponentCommonProps, {
readonly props: Readonly<import("@alifd/next/types/util").RequiredSome<import("@alifd/next/types/date-picker").MonthPickerProps, "size" | "rtl" | "format" | "prefix" | "locale" | "onChange" | "onVisibleChange" | "popupAlign" | "disabledDate" | "hasClear" | "popupTriggerType" | "footerRender">> & Readonly<Pick<{
prefix: string;
rtl: boolean;
format: string;
size: string;
disabledDate: () => boolean;
footerRender: () => null;
hasClear: boolean;
popupTriggerType: string;
popupAlign: string;
locale: Partial<{
placeholder: string;
datetimePlaceholder: string;
monthPlaceholder: string;
weekPlaceholder: string;
yearPlaceholder: string;
now: string;
selectTime: string;
selectDate: string;
ok: string;
clear: string;
startPlaceholder: string;
endPlaceholder: string;
hour: string;
minute: string;
second: string;
monthBeforeYear?: boolean | undefined;
}> & {
momentLocale?: string | undefined;
};
onChange: () => void;
onVisibleChange: () => void;
}, never>>;
onValueChange: (newValue: import("moment").Moment | null) => void;
onSelectCalendarPanel: (value: import("moment").Moment) => void;
clearValue: () => void;
onDateInputChange: (inputStr: string, e: import("react").SyntheticEvent<HTMLInputElement, Event>, eventType?: string | undefined) => void;
onDateInputBlur: () => void;
onKeyDown: (e: import("react").KeyboardEvent<Element>) => void;
handleChange: (newValue: import("moment").Moment | null, prevValue: import("moment").Moment | null, others?: {}, callback?: (() => void) | undefined) => void;
onVisibleChange: (visible: boolean, type: string) => void;
renderPreview(others: import("react").HTMLAttributes<HTMLDivElement>): import("react").JSX.Element;
render(): import("react").JSX.Element;
context: any;
setState<K_2 extends keyof import("@alifd/next/types/date-picker/types").MonthPickerState>(state: import("@alifd/next/types/date-picker/types").MonthPickerState | ((prevState: Readonly<import("@alifd/next/types/date-picker/types").MonthPickerState>, props: Readonly<import("@alifd/next/types/date-picker").MonthPickerProps>) => import("@alifd/next/types/date-picker/types").MonthPickerState | Pick<import("@alifd/next/types/date-picker/types").MonthPickerState, K_2> | null) | Pick<import("@alifd/next/types/date-picker/types").MonthPickerState, K_2> | null, callback?: (() => void) | undefined): void;
forceUpdate(callback?: (() => void) | undefined): void;
state: Readonly<import("@alifd/next/types/date-picker/types").MonthPickerState>;
refs: {
[key: string]: import("react").ReactInstance;
};
componentDidMount?(): void;
shouldComponentUpdate?(nextProps: Readonly<import("@alifd/next/types/date-picker").MonthPickerProps>, nextState: Readonly<import("@alifd/next/types/date-picker/types").MonthPickerState>, nextContext: any): boolean;
componentWillUnmount?(): void;
componentDidCatch?(error: Error, errorInfo: import("react").ErrorInfo): void;
getSnapshotBeforeUpdate?(prevProps: Readonly<import("@alifd/next/types/date-picker").MonthPickerProps>, prevState: Readonly<import("@alifd/next/types/date-picker/types").MonthPickerState>): any;
componentDidUpdate?(prevProps: Readonly<import("@alifd/next/types/date-picker").MonthPickerProps>, prevState: Readonly<import("@alifd/next/types/date-picker/types").MonthPickerState>, snapshot?: any): void;
componentWillMount?(): void;
UNSAFE_componentWillMount?(): void;
componentWillReceiveProps?(nextProps: Readonly<import("@alifd/next/types/date-picker").MonthPickerProps>, nextContext: any): void;
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<import("@alifd/next/types/date-picker").MonthPickerProps>, nextContext: any): void;
componentWillUpdate?(nextProps: Readonly<import("@alifd/next/types/date-picker").MonthPickerProps>, nextState: Readonly<import("@alifd/next/types/date-picker/types").MonthPickerState>, nextContext: any): void;
UNSAFE_componentWillUpdate?(nextProps: Readonly<import("@alifd/next/types/date-picker").MonthPickerProps>, nextState: Readonly<import("@alifd/next/types/date-picker/types").MonthPickerState>, nextContext: any): void;
}, {}>;
YearPicker: import("@alifd/next/types/config-provider/types").ConfiguredComponentClass<import("@alifd/next/types/date-picker").YearPickerProps & import("@alifd/next/types/config-provider/types").ComponentCommonProps, {
readonly props: Readonly<import("@alifd/next/types/util").RequiredSome<import("@alifd/next/types/date-picker").YearPickerProps, "size" | "rtl" | "format" | "prefix" | "locale" | "onChange" | "onVisibleChange" | "popupAlign" | "disabledDate" | "hasClear" | "popupTriggerType" | "footerRender">> & Readonly<Pick<{
prefix: string;
rtl: boolean;
format: string;
size: string;
disabledDate: () => boolean;
footerRender: () => null;
hasClear: boolean;
popupTriggerType: string;
popupAlign: string;
locale: Partial<{
placeholder: string;
datetimePlaceholder: string;
monthPlaceholder: string;
weekPlaceholder: string;
yearPlaceholder: string;
now: string;
selectTime: string;
selectDate: string;
ok: string;
clear: string;
startPlaceholder: string;
endPlaceholder: string;
hour: string;
minute: string;
second: string;
monthBeforeYear?: boolean | undefined;
}> & {
momentLocale?: string | undefined;
};
onChange: () => void;
onVisibleChange: () => void;
}, never>>;
onValueChange: (newValue: import("moment").Moment | null) => void;
onSelectCalendarPanel: (value: import("moment").Moment) => void;
clearValue: () => void;
onDateInputChange: (inputStr: string, e: import("react").SyntheticEvent<Element, Event>, eventType?: string | undefined) => void;
onDateInputBlur: () => void;
onKeyDown: (e: import("react").KeyboardEvent<Element>) => void;
handleChange: (newValue: import("moment").Momen