cw-form-render-mobile
Version:
通过 JSON Schema 生成标准 Form,常用于自定义搭建配置界面生成
14 lines (13 loc) • 500 B
TypeScript
/**
* 布局容器 widget 列表
* 这些 widget 只用于布局,不应该产生数据嵌套
*/
export declare const LAYOUT_WIDGETS: readonly ["collapse", "boxCollapse", "card", "boxcard", "boxLineTitle", "boxSubInline", "lineTitle", "subInline", "box", "group", "fieldset"];
/**
* 检查是否为布局容器
*/
export declare const isLayoutWidget: (widget?: string) => boolean;
/**
* 检查 schema 是否为布局容器
*/
export declare const isLayoutContainer: (schema: any) => boolean;