import React from "react"; import type { Props as PropertyEditorItemProps } from "../../component-designer/property-editor-container"; import type { PropertyEditorProps } from "../../type"; /** 属性编辑器元素:标签/描述/分组/默认值等写在元素 props 上(与 ComponentEditor 的 propertyEditors 同形态) */ export type PropertyEditorElement = React.ReactElement>; /** 旧的配置对象形态(迁移期兼容,ComponentEditor 仍可读):{ editor, label, description, dialog, defaultValue, group } */ export type PropertyEditorConfig = Pick; /** 组件编辑器注册表:值为普通配置对象,或 ComponentEditor2 的编辑器子类 */ export { DataSourceParams } from "../../data"; export { configData } from "../../common"; /** 属性分组名称,集中管理避免硬编码散落各处 */ export declare const groupNames: { basic: string; column: string; layout: string; itemRender: string; metas: string; toolbar: string; tableFeature: string; event: string; }; export declare const jsonEditor: React.JSX.Element; export declare const funcEditor: React.JSX.Element; export declare const codeDialog: PropertyEditorConfig["dialog"]; export declare const dataSourceEditors: Record; export declare const dataSourceEditor: React.JSX.Element; export declare const fieldNamesEditor: React.JSX.Element; export declare const paginationEditor: React.JSX.Element; export declare const hiddenEditor: React.JSX.Element; export declare const idEditor: React.JSX.Element; export declare const styleEditor: React.JSX.Element; export declare const labelColEditor: React.JSX.Element; export declare const colPropsEditor: React.JSX.Element; export declare const rulesEditor: React.JSX.Element; export declare const codeEditor: React.JSX.Element; export declare const refEditor: React.JSX.Element;