import type ViewComponentDeclaration from './ViewComponentDeclaration__'; import type Module from './Module__'; import BaseNode from '../common/BaseNode'; import type TypeAnnotation from './TypeAnnotation__'; import type DefaultValue from './DefaultValue__'; /** * 组件属性 */ export declare class Attribute extends BaseNode { /** 类名 */ static readonly ConceptName: string; /** * 是否为抽象类 * 抽象类不能产生 concept: string */ static isAbstract: boolean; /** 继承链 */ static readonly inheritanceChain: string[]; /** * 产品概念 */ readonly concept: 'Attribute'; /** * 组件属性名称 */ name: string; /** * 组件属性分组 */ group?: string; /** * 组件属性标题 */ title?: string; /** * 组件属性描述 */ description?: string; /** * 类型 */ type?: string; /** * 类型 */ typeAnnotation?: TypeAnnotation; /** * 默认值 */ defaultValue?: DefaultValue; /** * 是否支持双向绑定 */ sync?: boolean; /** * options */ options: Array<{ value: string; title: string; }>; /** * @param source 需要合并的部分参数 */ constructor(source?: Partial); static from(source: any, parentNode?: any, parentKey?: string): Attribute; /** * 祖先 ViewComponent */ get viewComponent(): ViewComponentDeclaration; /** * 祖先 Module */ get module(): Module; useComponent: { type: string; attrs?: any; }; } export default Attribute; //# sourceMappingURL=Attribute__.d.ts.map