import React from 'react'; import { FormProps, InputNumberProps } from 'antd'; import { RangeEditorProps } from '@orca-fe/deye-props-editor'; import { EnumType, PropsTypes, RadioType } from '@orca-fe/deye-typings'; import { GlobalVarsFormItemProps } from '../GlobalVarsFormItem'; import './PropertiesList.less'; export interface CommonEditProps extends GlobalVarsFormItemProps { } export interface TextEditProp extends CommonEditProps { placeholder?: string; } export declare const TextEdit: (props: TextEditProp) => JSX.Element; export declare const NumberEdit: (props: CommonEditProps & Pick, 'min' | 'max' | 'step'> & { simple?: boolean; }) => JSX.Element; export declare const RangeEdit: (props: CommonEditProps & Pick) => JSX.Element; export declare const ImgEdit: (props: CommonEditProps) => JSX.Element; export declare const BoolEdit: (props: CommonEditProps) => JSX.Element; export declare const ColorEdit: (props: CommonEditProps) => JSX.Element; export declare const JsonEdit: (props: CommonEditProps) => JSX.Element; export declare const FuncEdit: (props: CommonEditProps) => JSX.Element; export interface EnumEditProp extends CommonEditProps { options: EnumType['options']; multiple?: boolean; } export declare const EnumEdit: ({ options, multiple, ...props }: EnumEditProp) => JSX.Element; export interface RadioEditProp extends CommonEditProps { options: RadioType['options']; flexMode?: boolean; } export declare const RadioEdit: ({ options, ...props }: RadioEditProp) => JSX.Element; export interface PropertiesListProps extends React.HTMLAttributes { initialValues?: FormProps['initialValues']; propertiesDef?: PropsTypes[]; rowWrapper?: boolean; onValueChange?: (value: any) => void; layoutMode?: string; } declare const PropertiesList: (props: PropertiesListProps) => JSX.Element; export default PropertiesList;