@farris/ui-vue
Version:
Farris Vue, a Farris Design based Vue3 component library.
48 lines (47 loc) • 1.44 kB
TypeScript
import { InputBaseProperty } from '../../../property-panel/src/composition/entity/input-base-property';
import { DesignerComponentInstance } from '../../../designer-canvas';
export declare class TableTdProperty extends InputBaseProperty {
/** 公共操作类 */
private tableUtils;
/** 单元格编辑器的属性配置 */
private editorTypeConfig;
constructor(componentId: string, designerHostService: any);
getPropertyConfig(cell: any, componentInstance?: DesignerComponentInstance): {
type: string;
categories: {};
};
setDesignViewModelField(propertyData: any): void;
private getBasicTdPropConfig;
/**
* 获取单元格类型属性配置
*/
private getTdTypePropConfig;
/**
* 获取文本单元格属性配置
*/
private getStaticTdPropConfig;
/**
* 编辑器单元格绑定属性
* @param propertyData 属性值
* @param viewModelId Viewmodel id
*/
private getEditorBindingAndTypePropConfig;
private changeControlAfterBindingChanged;
private createControl;
/**
* 列编辑器属性
* @param propertyData 列属性值
* @param viewModelId viewModelId
*/
private getFieldEditorPropConfig;
/**
* 组装事件类属性
*/
private getEventPropConfig;
/**
* 扩展区域属性
* @param cell
* @returns
*/
getExpandProperties(cell: any): void;
}