import { ReactNode } from 'react'; import { CommonStateEnum } from '../enum/common.enum'; import { FilterTypesEnum } from '../enum/filter.enum'; import { ResetModeEnum, SerialRuleTypeEnum } from '../enum/formItem.attr.enum'; import { IElementType } from './element.interface'; export interface IColumnAttr { key?: string; id?: string; dataIndex: string; title: string; width?: string; [prop: string]: any; } export interface ISerialRuleAttr { id?: string; type?: SerialRuleTypeEnum; digit?: number; isPadStart?: boolean; resetMode?: ResetModeEnum; initialNum?: number; format?: string; staticStr?: string; } export interface IOptionsAttr { key?: string; guid?: string; label: string; value: string; color?: string; disabled?: boolean; seq?: number; name?: string; checked?: boolean; state?: CommonStateEnum; description?: ReactNode; } export interface IOptionSetAttr { guid?: string; label: string; picklistValueDOList: Array; type?: string; name?: string; state?: CommonStateEnum; } export interface IRowsAttr { minRows: number; maxRows: number; } export interface IFilterRulesAttr { id: string; isEditing?: boolean; elementId: string; type: IElementType; formItemCode?: string; mode: FilterTypesEnum; srcElementId: string; srcType: IElementType; srcFormItemCode?: string; } export declare type IValidValType = string | number | boolean | Record | Array; export interface IOrganizationAttr { orgId: string | number; orgName: string; organizationId: string | number; } export interface IUserSelectAttr { userId: number; userName: string; userCode: string; } export interface IUserRangeResAttr { currentOrg: boolean; selectedUsers: Array; selectedOrgs: Array; dynamicList: Array; } export interface IUserRangeAttr { checked: boolean; rangeRes: IUserRangeResAttr; } export interface IFileUploadAttr { guid: string; fileName: string; fileType: string; }