import * as types from './utils/types'; import BaseNode from '../common/BaseNode'; import type DefaultValue from './DefaultValue__'; /** * 组件属性 */ export declare class PropDeclaration extends BaseNode { /** 类名 */ static readonly ConceptName: string; /** * 是否为抽象类 * 抽象类不能产生 concept: string */ static isAbstract: boolean; /** 继承链 */ static readonly inheritanceChain: string[]; /** * 产品概念 */ readonly concept: 'PropDeclaration'; /** * 组件属性名称 */ name: string; /** * 组件属性标题 */ title: string; /** * 组件属性分组 */ group: '基础信息' | '数据属性' | '主要属性' | '交互属性' | '状态属性' | '样式属性' | '工具属性' | '高级属性'; /** * 组件属性图标 */ icon?: string; /** * 组件属性描述 */ description?: string; /** * 类型 */ tsType: string; /** * 是否支持双向绑定 */ sync: boolean; /** * 是否将任意类型隐式转换成String */ implicitToString?: boolean; /** * 允许该组件在逻辑中设置 */ settable?: boolean; /** * 工具提示链接 */ tooltipLink?: string; /** * 文档描述 */ docDescription?: string; /** * 隐藏绑定属性按钮 */ bindHide: boolean; /** * 绑定属性并打开弹窗 */ bindOpen: boolean; /** * 所在的 tab 页 */ tabKind: 'property' | 'style'; /** * 属性设置器 */ setter: types.BaseSetterNode; /** * 属性在面板中的布局方式 */ layout: 'block' | 'inline'; /** * 默认值 */ defaultValue?: DefaultValue; /** * 渲染时的设计值 */ tsDesignerValue?: string; /** * 是否显隐 */ tsIf?: string; /** * 是否禁用 */ tsDisabledIf?: string; /** * 在属性切换时发生的事件 */ tsOnChange?: string; /** * @param source 需要合并的部分参数 */ constructor(source?: Partial); static from(source: any, parentNode?: any, parentKey?: string): PropDeclaration; toNaturalTS(state?: import("@lcap/nasl-types/out/translator").TranslatorState): string; } export default PropDeclaration; //# sourceMappingURL=PropDeclaration__.d.ts.map