@farris/ui-vue
Version:
Farris Vue, a Farris Design based Vue3 component library.
12 lines (11 loc) • 668 B
TypeScript
import { TableCell } from './types';
export declare function getTableStyle(props: any, isInDesignerCanvas?: boolean): Record<string, any>;
export declare function getCellStyle(props: any, cell: TableCell, isClicked?: boolean): Record<string, any>;
/** label 单元格:自绘标签 DOM(对齐 Angular 类名)。 */
export declare function renderLabelCell(cell: TableCell): any;
/** editor 单元格:复用 FDynamicFormGroup(showLabel=false,v-model 直连记录字段)。 */
export declare function renderEditorCell(cell: TableCell, opts: {
design?: boolean;
data?: Record<string, any>;
onChange?: (field: string, value: any) => void;
}): any;