/// import { ButtonProps } from '@alifd/next/types/button'; import { FormProps, ItemProps } from '@alifd/next/types/form'; import { StepProps, ItemProps as StepItemProps } from '@alifd/next/types/step'; import { TabProps } from '@alifd/next/types/tab'; import { ColumnProps } from '@alifd/next/types/table'; import { ISchemaFormProps, IMarkupSchemaFieldProps, ISchemaFieldComponentProps, FormPathPattern } from '@formily/react-schema-renderer'; import { PreviewTextConfigProps } from '@formily/react-shared-components'; import { StyledComponent } from 'styled-components'; declare type ColSpanType = number | string; export declare type INextSchemaFormProps = Omit & IFormItemTopProps & PreviewTextConfigProps & ISchemaFormProps; export declare type INextSchemaFieldProps = IMarkupSchemaFieldProps; export interface ISubmitProps extends ButtonProps { onSubmit?: ISchemaFormProps['onSubmit']; showLoading?: boolean; } export interface IResetProps extends ButtonProps { forceClear?: boolean; validate?: boolean; } export declare type IFormItemTopProps = React.PropsWithChildren, 'labelCol' | 'wrapperCol'> & { inline?: boolean; className?: string; style?: React.CSSProperties; labelCol?: number | { span: number; offset?: number; }; wrapperCol?: number | { span: number; offset?: number; }; }>; export interface ISchemaFieldAdaptorProps extends Omit, Partial { labelCol?: number | { span: number; offset?: number; }; wrapperCol?: number | { span: number; offset?: number; }; } export declare type StyledCP = StyledComponent<(props: React.PropsWithChildren) => React.ReactElement, any, {}, never>; export declare type StyledCC = StyledCP & Statics; export interface IFormButtonGroupProps { sticky?: boolean; style?: React.CSSProperties; itemStyle?: React.CSSProperties; className?: string; align?: 'left' | 'right' | 'start' | 'end' | 'top' | 'bottom' | 'center'; triggerDistance?: number; zIndex?: number; span?: ColSpanType; offset?: ColSpanType; } export interface IItemProps { title?: React.ReactText; description?: React.ReactText; } export interface IFormItemGridProps extends IItemProps { cols?: Array; gutter?: number; } export interface IFormTextBox extends IItemProps { text?: string; gutter?: number; } export interface IFormStep extends StepProps { dataSource: Array; } export interface IFormTab extends TabProps { hiddenKeys?: string[]; } export declare type IDragHandlerCellProps = React.PropsWithChildren<{}>; export interface IDragableRowProps { columns: ColumnProps[]; className?: string; } export {};
= StyledComponent<(props: React.PropsWithChildren
) => React.ReactElement, any, {}, never>; export declare type StyledCC = StyledCP & Statics; export interface IFormButtonGroupProps { sticky?: boolean; style?: React.CSSProperties; itemStyle?: React.CSSProperties; className?: string; align?: 'left' | 'right' | 'start' | 'end' | 'top' | 'bottom' | 'center'; triggerDistance?: number; zIndex?: number; span?: ColSpanType; offset?: ColSpanType; } export interface IItemProps { title?: React.ReactText; description?: React.ReactText; } export interface IFormItemGridProps extends IItemProps { cols?: Array; gutter?: number; } export interface IFormTextBox extends IItemProps { text?: string; gutter?: number; } export interface IFormStep extends StepProps { dataSource: Array; } export interface IFormTab extends TabProps { hiddenKeys?: string[]; } export declare type IDragHandlerCellProps = React.PropsWithChildren<{}>; export interface IDragableRowProps { columns: ColumnProps[]; className?: string; } export {};