UNPKG

@cainiaofe/cn-ui-layout

Version:

- 安装 cone-cli | [Cone-CLI 使用指引](https://alidocs.dingtalk.com/i/nodes/xdqZp24KneBJzvGM6XezJvyb7RA0Nr1E) - `tnpm i -g @alife/cone-cli@latest` - 安装依赖包 - `cone install` - 启动研发 - `cone start`

123 lines (122 loc) 3.32 kB
/// <reference types="react" /> import { createSectionInitialChildren } from "../../common/manager/setter-snippet"; import { SettingField, Node } from '@ali/sutee-lowcode-engine'; declare const CnLayoutSectionPrototype: { title: string; componentName: string; category: string; icon: import("react").JSX.Element; docUrl: string; isContainer: boolean; initialChildren: typeof createSectionInitialChildren; didDropIn: (dropInNode: Node, targetNode: Node) => void; didDropOut(removedNode: Node): void; snippets: { screenshot: string; label: string; schema: { componentName: string; props: {}; }; }[]; configure: ({ name: string; title: string; initialValue: boolean; display: string; onecodeDisplay?: undefined; collapsed?: undefined; setter?: undefined; extraProps?: undefined; type?: undefined; items?: undefined; } | { name: string; title: string; initialValue: { type: string; value: string; }; display: string; onecodeDisplay?: undefined; collapsed?: undefined; setter?: undefined; extraProps?: undefined; type?: undefined; items?: undefined; } | { title: string; name: string; display: string; onecodeDisplay: string; collapsed: boolean; setter: { componentName: string; props: { config: { items: any; }; }; }; initialValue?: undefined; extraProps?: undefined; type?: undefined; items?: undefined; } | { setter: (target: SettingField) => import("react").JSX.Element; extraProps: { condition: (target: SettingField) => boolean; }; name?: undefined; title?: undefined; initialValue?: undefined; display?: undefined; onecodeDisplay?: undefined; collapsed?: undefined; type?: undefined; items?: undefined; } | { title: string; name: string; display: string; collapsed: boolean; setter: { componentName: string; props: { config: { items: any; }; }; }; initialValue?: undefined; onecodeDisplay?: undefined; extraProps?: undefined; type?: undefined; items?: undefined; } | { title: string; type: string; collapsed: boolean; display: string; items: { name: string; title: string; display: string; setter: { title: string; componentName: string; props: () => { list: never[]; initialCode: string; tip: string; }; }; }[]; name?: undefined; initialValue?: undefined; onecodeDisplay?: undefined; setter?: undefined; extraProps?: undefined; })[]; }; export { CnLayoutSectionPrototype };