import type { ComponentInternalInstance as ComponentInstance, PropType as VuePropType } from 'vue/runtime-core'; declare global { /** vue Instance */ declare type ComponentInternalInstance = ComponentInstance; /**vue */ declare type PropType = VuePropType; /** * 界面字段隐藏属性 */ declare interface FieldOption { key: number; label: string; visible: boolean; children?: Array; } /** * 弹窗属性 */ declare interface DialogOption { /** * 弹窗标题 */ title?: string; /** * 是否显示 */ visible: boolean; } declare interface UploadOption { /** 设置上传的请求头部 */ headers: { [key: string]: any }; /** 上传的地址 */ url: string; } /** * 导入属性 */ declare interface ImportOption extends UploadOption { /** 是否显示弹出层 */ open: boolean; /** 弹出层标题 */ title: string; /** 是否禁用上传 */ isUploading: boolean; /** 其他参数 */ [key: string]: any; } /** * 字典数据 数据配置 */ declare interface DictDataOption { label: string; value: string; elTagType?: ElTagType; elTagClass?: string; } declare interface BaseEntity { createBy?: any; createDept?: any; createTime?: string; updateBy?: any; updateTime?: any; } /** * 分页数据 * T : 表单数据 * D : 查询参数 */ declare interface PageData { form: T; queryParams: D; rules: ElFormRules; } /** * 分页查询参数 */ declare interface PageQuery { pageNum: number; pageSize: number; } declare type DefaultSettings = { /** * 网页标题 */ title: string; /** * 侧边栏主题 theme-dark | theme-light */ sideTheme?: string; /** * 是否显示系统布局设置 */ showSettings?: boolean; /** * 是否显示顶部导航 */ topNav?: boolean; /** * 是否显示多标签导航 */ tagsView?: boolean; /** * 是否固定头部 */ fixedHeader?: boolean; /** * 是否显示侧边栏Logo */ sidebarLogo?: boolean; /** * 导航栏布局 */ layout?: string; /** * 主题模式 */ theme?: string; /** * 布局大小 */ size?: string; /** * 语言 */ language?: string; /** * 是否显示动态标题 */ dynamicTitle?: boolean; /** * 是否启用动画效果 */ animationEnable?: boolean; /** * 是否启用暗黑模式 * * true:暗黑模式 * false: 明亮模式 */ dark?: boolean; errorLog?: string; }; } export {};