import { RhSafeAny } from './any'; import { WithNil } from './base'; export type MenuNodeType = 'Normal' | 'MainChild'; export type RhMenuTreeVisibilityType = 'All' | 'Root'; export type RhThemeType = 'default' | 'compact' | 'dark'; export type RhDynamicTableButtonLayoutType = 'inline' | 'header' | 'dropdown'; /** 物料树查询表单默认显示字段 */ export declare const MaterialTreeFormField: MaterialFormField[]; /** * 项目配置对象模型 */ export interface RhProjectConfigDto { /** 启用权限控制标识 */ AuthoriytUser: string; /** 菜单默认显示图标 */ DefaultIcon: string; /** 是否启用菜单路由卫士 */ EnableMenuGuard: boolean; /** 菜单模式 */ MenuMode: MenuNodeType; /** 项目名称 */ ProjectName: string; /** Normal模式下的菜单开始层级 */ MenuRouteLevel_Normal: string; /** 前缀路径,指nginx配置的前置路径,如:`/lcdp` */ PrefixPath: string; /** 主路由路径 * @description web项目中:main,工控端项目:industrialmain */ MainPath: string; /** 主页路径(如:DefaultPage)*/ MainPagePath: string; /** 登录页面路由路径 */ LoginPath: string; /** 默认主题 */ DefaultTheme: RhThemeType; /** 根菜单名称 */ RootMenu: string; /** 在菜单树上显示所有菜单还是只显示当前设置菜单:All|Root */ MenuTreeVisibility: RhMenuTreeVisibilityType; /** 动态table button布局:置于行内|置于标题位置 */ DynamicTableButtonLayout: RhDynamicTableButtonLayoutType; /** 是否支持锁屏 */ IsLockScreen: boolean; /**设置锁屏自动锁屏倒计时时长 * @description -1表示永不执行自动锁屏,0表示一键锁屏,不起用定时器,即一键锁屏,在界面右上角的下拉菜单中 */ TriggerLockScreenTime: number; /** 当前版本 */ Version: string; /** 版本设置开关 */ VersionSetting: boolean; /** 对应工控端地址 */ IndustrialUrl: string; /** 是否显示主题选择button */ EnableThemeSelect: boolean; /** 是否显示刷新 */ EnableRefresh: true; /** 动态表单分页参数持久化 */ isDynamicFormOptionPersistence: boolean; /** 物料树性列表配置数据 */ MaterialTreeConfigData: MaterialTreeConfigData; /** 动态组件配置信息 */ DynamicComponentConfig: IDyanmicComponentConfigDto; /** 默认公司名称,用于在`rh-lcdp`中设置默认的`FactoryCode` */ DefaultCompanyName: string; IsCommonSelectorAll: boolean; /** Selector是否默认启用下拉框 */ IsCommonSelectorEnableSelect: boolean; [propName: string]: RhSafeAny; } export interface IDyanmicComponentConfigDto { /** 动态table配置 */ table: IDynamicComponentTableConfigDto; /** 动态form配置 */ form: IDynamicComponentFormConfigDto; /** 动态description配置 */ description: IDynamicComponentDescriptionConfigDto; /** 动态Collpase配置 */ collapse: IDynamicComponentCollapseConfigDto; /** 动态list配置 */ list: IDynamicComponentListConfigDto; /** 动态card配置 */ card: IDynamicComponentCardConfigDto; } /** 动态table配置对象模型 */ export interface IDynamicComponentTableConfigDto { /** 页码列表,形如[10,20,30,40,50] */ pageSizeOptions: number[]; [propName: string]: RhSafeAny; } /** 动态Form配置对象模型 */ export interface IDynamicComponentFormConfigDto { [propName: string]: RhSafeAny; } /** 动态Description配置对象模型 */ export interface IDynamicComponentDescriptionConfigDto { [propName: string]: RhSafeAny; } /** 动态Collapse配置对象模型 */ export interface IDynamicComponentCollapseConfigDto { [propName: string]: RhSafeAny; } /** 动态List配置对象模型 */ export interface IDynamicComponentListConfigDto { [propName: string]: RhSafeAny; } /** 动态Card配置对象模型 */ export interface IDynamicComponentCardConfigDto { [propName: string]: RhSafeAny; } /** 物料树性列表配置数据 */ export declare class MaterialTreeConfigData { /** 第一个Tab信息 */ rhFirstTab: WithNil; /** 第二哥Tab信息 */ rhSecondTab: WithNil; /** 二级节点 */ rhSecondNode: WithNil; /** 物料树查询表单配置 */ rhQueryForm: WithNil; constructor( /** 第一个Tab信息 */ rhFirstTab: WithNil, /** 第二哥Tab信息 */ rhSecondTab: WithNil, /** 二级节点 */ rhSecondNode: WithNil, /** 物料树查询表单配置 */ rhQueryForm: WithNil); static create(): MaterialTreeConfigData; } /** 物料树查询表单 */ export declare class MaterialQueryForm { rhFormField: WithNil; constructor(rhFormField: WithNil); static create(): MaterialQueryForm; } export declare class MaterialFormField { fieldKey: WithNil; fieldName: WithNil; constructor(fieldKey: WithNil, fieldName: WithNil); static create(): MaterialFormField; } export declare class MaterialTreeTabData { /** Tab名 */ rhTabName: WithNil; /** Tab对应的字段 */ rhTabField: WithNil; /**接口配置参数 */ rhSettingEntryData: WithNil; constructor( /** Tab名 */ rhTabName: WithNil, /** Tab对应的字段 */ rhTabField: WithNil, /**接口配置参数 */ rhSettingEntryData: WithNil); static create(): MaterialTreeTabData; } export declare class MaterialTreeNode { /** Tab对应的字段 */ rhTabField: WithNil; /** 结果值 */ result: WithNil; /** 样式 */ style: WithNil; constructor( /** Tab对应的字段 */ rhTabField: WithNil, /** 结果值 */ result: WithNil, /** 样式 */ style: WithNil); static create(): MaterialTreeNode; } export declare class SettingEntryData { /** moduleKey */ rhModuleKey: WithNil; /** groupKey */ rhGroupKey: WithNil; /** paraCode */ rhParaCode: WithNil; constructor( /** moduleKey */ rhModuleKey: WithNil, /** groupKey */ rhGroupKey: WithNil, /** paraCode */ rhParaCode: WithNil); static create(): SettingEntryData; }