import { AnyObject } from '../../../../shared/types'; import { VNodeChild } from 'vue'; export type FieldSetItem = Partial<{ id: string; name: string; show: boolean; sort: boolean; sortDirection: 'NONE' | 'ASC' | 'DESC'; title: string; alias: string; fixedShow: boolean; fixedWay: 'NONE' | 'LEFT' | 'RIGHT'; columnWidth: number | null; editable: boolean; editableDisable: boolean; required: boolean; requiredDisable: boolean; hide: boolean; [key: string]: any; }>; export type FieldSetColumnName = 'title' | 'show' | 'editable' | 'required' | 'sort' | 'bold' | 'sortDirection' | 'sortPriority' | 'fixedWay' | 'alias' | 'columnWidth' | 'hideExpression' | 'isSearch' | 'isSum' | 'isAvg'; export type FieldSetColumnItem = { title: string; type: 'text' | 'checkbox' | 'select' | 'input' | 'inputNumber' | 'color' | 'custom'; field: string; checkedAll?: boolean; disabledAll?: boolean; isHeadCheckHide?: boolean; isShow?: boolean; contentRender?: (column: AnyObject, row: AnyObject) => VNodeChild; titleRender?: (column: AnyObject) => VNodeChild; hide?: boolean; positionField?: string; showPrevFn?: (column: FieldSetColumnItem, row: AnyObject) => boolean; [key: string]: any; }; export type FieldSetTab = 'field' | 'fieldColor' | 'highlightRow' | 'tableStyle' | 'fieldFilter'; export type ColorSetItem = { name: string; columnName?: string; title?: string; createDate: string; color: string; colorScope: 'font' | 'background'; status: 'Y' | 'N'; id?: string; condition: AnyObject[]; sqlExpression?: string; [key: string]: any; }; export type FilterSetItem = { name: string; title: string; type: string; optionType?: string; isShowSearch?: boolean; filterExplicit?: boolean; explicitRequired?: boolean; defaultValue?: any; customTitle?: string; width?: number; [key: string]: any; }; export type ColorSetConditionItem = { field_key: string; con: string; value?: any; start_val?: string; end_val?: string; is_compare_field?: boolean; compare_field?: string; }; export type ColorSetWordbook = { autograph: string; wordbookType: string; id: string; filterKeys: string[]; [key: string]: any; };