UNPKG

@etsoo/appscript

Version:

Applications shared TypeScript framework

54 lines (53 loc) 1.02 kB
import { IdType, ListType2 } from "@etsoo/shared"; /** * Custom field space values * 自定义字段空间值 */ export declare const CustomFieldSpaceValues: readonly ["quater", "five", "half", "half1", "seven", "full"]; /** * Custom field space (12 columns) * 自定义字段空间(12列) */ export type CustomFieldSpace = (typeof CustomFieldSpaceValues)[number]; /** * Custom field data * 自定义字段数据 */ export type CustomFieldData = { /** * Type */ type: string; /** * Field name */ name?: string; /** * Options */ options?: ListType2[]; /** * Refs */ refs?: [string, ...IdType[]]; /** * Space */ space?: CustomFieldSpace; /** * Grid item proerties */ gridItemProps?: Record<string, any>; /** * Main slot properties */ mainSlotProps?: Record<string, any>; /** * Label */ label?: string; /** * Helper text */ helperText?: string; };