import { KeyValue } from '@angular/common'; import { RhSelectItem, RhSelectableDto } from './select-model'; import { OpMode, RhBaseDto } from './operate-model'; import { NzButtonSize, NzButtonType } from 'ng-zorro-antd/button'; import { NzTimelinePosition } from 'ng-zorro-antd/timeline'; import { NzRadioButtonStyle } from 'ng-zorro-antd/radio'; import { NzSizeMDSType } from 'ng-zorro-antd/core/types'; import { RhSafeAny } from './any'; import { RhRuleMatchingDto } from './rule-matching'; import { RhPaginationMode } from './dynamic-design-data'; import { RhDynamicTableButtonLayoutType } from './project-config'; import { FormGroup } from '@angular/forms'; import { WithNil } from './base'; import { HttpMethod } from './http-options'; import { NzDescriptionsLayout } from 'ng-zorro-antd/descriptions'; import { RhPortType } from './port-enum'; import { DataModelStandardMethodDto } from './no-webapi.model'; /** selector关联字段映射类型 */ export type RhRelatedFieldDataType = { formKeyFieldName: string; formTextFieldName: string; modelKeyFieldName: string; modelTextFieldName: string; }; /** 动态组件配置类型,组件配置和接口信息加了一层属性 * @deprecated 请使用`RhDynamicComponentSettingType`属性 * @description 该类型比`RhDynamicComponentSettingType`多套了一层 */ export type RhDynamicComponentConfigType = RhDynamicTableConfigDto | RhDynamicFormConfigDto | RhDynamicDescriptionConfigDto | RhDynamicCollapseConfigDto; /** 组件字段类型 */ export type RhDynamicComponentFieldType = RhDynamicTableFieldDto | RhDynamicFormFieldDto | RhDynamicDescriptionFieldDto | RhDynamicCollapseFieldDto | RhDynamicListFieldDto | RhDynamicCardFieldDto; /** 动态组件组件配置类型,平铺模型 */ export type RhDynamicComponentSettingType = RhTableSettingDto | RhFormSettingDto | RhDescriptionSettingDto | RhCollapseSettingDto | RhDynamicListSettingDto | RhDynamicCardSettingDto; /** 动态界面的数据源类型:通过webapi接口获取|通过sql语句获取 */ export type RhDynamicDatasourceType = 'webapi' | 'sql'; export type ParameterDirectionType = 'IN' | 'OUT'; export type RhDynamicComponentType = 'form' | 'table' | 'card' | 'list' | 'description' | 'collapse'; export type RhDynamicReportType = 'basicReport' | 'crud'; /** 字段数据源类型:'手动输入'|'接口获取'|'选择预设类型'|'自定义' */ export type RhFieldSourceType = 'typein' | 'out' | 'default' | 'customize'; /** table button明细模型 */ export type IRhTableButtonDetailDto = { /** 标题位置button列表 */ header?: RhTableButtonInfoDto[]; /** 右侧扩展区域button列表 */ extra?: RhTableButtonInfoDto[]; /** 行内区域button列表 */ inline?: RhTableButtonInfoDto[]; }; export type RhFormControlType = 'date' | 'input' | 'number' | 'checkbox' | 'select' | 'autocomplete' | 'tree'; export type RhFormLayoutSetting = { column: number; labelSpan: number; controlSpan: number; }; export type RhDateFormatType = 'yyyy-MM-dd HH:mm:ss' | 'yyyy-MM-dd HH:mm' | 'yyyy-MM-dd' | 'HH:mm'; export type RhTableInlineBtnDisplayType = 'button' | 'text' | 'icon'; /** 动态组件配置存储类型:`单个存储`|`整体页面存储`|作为`运行时组件存储` * @description `单个存储`适用于`rh-dynamic-xxx`,`整体存储`适用于`rh-dev-dynamic-xxx`, * `运行时存储`适用于`rh-design-dynamic-xxx` */ export type RhDynamicMode = 'single' | 'entire' | 'runtime'; /** 动态字段类型 `字符串|数字|数组|时间|日期|常量|布尔值|三态运算符|自定义`|'多字段组合(适用于动态table)|'自定模板'|箭头函数 */ export type RhDynamicFieldType = 'string' | 'boolean' | 'number' | 'array' | 'time' | 'date' | 'month' | 'week' | 'daterange' | 'const' | 'bool' | 'boolean' | 'triple' | 'customize' | 'customizeMultiple' | 'fn' | 'image'; /** 表格导出字段类型 */ export type rhExportTableFieldType = rhFrontendExportTableFieldType | rhBackendExportTableFieldType; /** 表格前端导出字段类型 */ export type rhFrontendExportTableFieldType = 'string' | 'dateTime' | 'boolean' | 'number'; /** 表格后端导出字段类型 */ export type rhBackendExportTableFieldType = 'string' | 'date' | 'dateTime' | 'time' | 'number'; /** 接口类型 */ export type RhInterfaceType = 'get' | 'post'; /** `selector`展示模式,默认为`2` * @description * `0`表示展示`Value`和`Text`; * `1`表示只展示`Value`; * `2`表示只展示`Text`; * `3`表示展示`Text`和`Value`; */ export type RhDisplayMode = 0 | 1 | 2 | 3; export declare const displayModes: { Text: string; Value: RhDisplayMode; }[]; /** * @description * `0`表示A(B) * `1`表示A[B] * `2`表示A-B */ export type RhDisplayConnector = 0 | 1 | 2; export declare const displayConnectors: { Text: string; Value: RhDisplayConnector; }[]; /** * @description * `0`表示模糊查询:abd , 则为查询字符串中包含abd的所有数据 * `1`表示精确查询:abd , 则为查询字符串等于abd的所有数据 * `2`表示in查询:[]aa[]bb, 则为查询字符串等于aa或者bb的所有数据 * `3`表示not in查询:[!]aa[!]bb, 则为查询字符串不包含aa或者bb的所有数据 */ export type RhQueryMode = 0 | 1 | 2 | 3; export declare const queryModes: { Text: string; Value: RhQueryMode; }[]; /** selector类别,取名对应着该selector的所属库来区分,如MDP,EMP,QMP,ACC,ANDON等 */ export type RhSelectorCategoryType = 'MDP' | 'EMP' | 'QMP' | 'EXT'; /** 自定义selector组件类型 */ export type customizeDataType = 'organization' | 'bom' | 'warehouse' | 'classshift' | 'factory' | 'workshop' | 'workshopAndProducshop' | 'workshopAndLine' | 'calendar' | 'employee' | 'postinfo' | 'processinfo' | 'processInfoAndCategory' | 'processroute' | 'product' | 'material' | 'productMaterial' | 'measureunit' | 'warehousearea' | 'storagelocation' | 'warehouseshelf' | 'container' | 'customer' | 'supplier' | 'operatestation' | 'classGroup' | 'workcenter' | 'resource' | 'common' | 'externalCustomer' | 'externalEmployee' | 'externalMaterial' | 'externalPost' | 'externalProduct' | 'externalStorageLocation' | 'externalSupplier' | 'externalWarehouse' | 'externalWarehouseArea' | 'externalWarehoseShelf' | 'equipmentLedger' | 'sparepartLedger' | 'defectLevel' | 'inspectItem' | 'inspectEquipment' | 'sampleSchema' | 'iqcInspectSchema'; export interface RhFormFieldValueChangeDto { /** form字段的值 */ value: string | number | boolean; controlName?: string; /** 对应的item对象 */ item?: RhSafeAny; /** 对应的form对象 */ formGroup?: FormGroup; } export declare class FormItemSpan { labelSpan: WithNil; controlSpan: WithNil; constructor(labelSpan: WithNil, controlSpan: WithNil); } export declare class FormCodeGenerateDto { formName: WithNil; column: WithNil; /** 表单类型 */ formType: 'query' | 'edit'; constructor(formName: WithNil, column: WithNil, /** 表单类型 */ formType: 'query' | 'edit'); static create(): FormCodeGenerateDto; } export declare class ApiDto { apiType: WithNil; methodName: WithNil; controllerName?: string | undefined; constructor(apiType: WithNil, methodName: WithNil, controllerName?: string | undefined); } export declare class WebApiDocumentDllInfo { DllDirectiory: string; DllName: string; /** 模块中文显示名称 */ DllDescription: string; ApiUrlRoot: string; serverIp: string; /** FIXME:后端新增端口号,这样就不需要前端从`ApiUrlRoot`中解析*/ portNum: number; globalPrefix: string; moduleName: string; constructor(DllDirectiory: string, DllName: string, /** 模块中文显示名称 */ DllDescription: string, ApiUrlRoot: string); } /** 后端定义的api信息模型 */ export declare class ApiActionModel extends RhSelectableDto { ControllerName: string; ActionName: string; interfaceType: 'get' | 'post' | HttpMethod; /**输入参数列表*/ InputParameters?: ParameterDto[] | undefined; /**输出参数列表*/ OutParameter?: ParameterDto | undefined; /**端口号*/ portNum: number; ActionDescription: string; serverIp?: string; globalPrefix?: string; constructor(ControllerName: string, ActionName: string, interfaceType: 'get' | 'post' | HttpMethod /**输入参数列表*/, InputParameters?: ParameterDto[] | undefined /**输出参数列表*/, OutParameter?: ParameterDto | undefined); static create(port: number, controlName: string, interfaceName: string, interfaceType: 'get' | 'post'): ApiActionModel; } export declare class WebApiController { DllName: string; ControllerName: string; ApiRoutes: string[]; constructor(DllName: string, // ControllerName: string, // ApiRoutes: string[]); } export declare class RouterDescriptionDto { /** 接口描述 */ ActionDescription: string; /** 接口名称 */ ActionName: string; /** 控制器名称 */ ControllerName: string; /** 接口类型 :[HttpPost]*/ HttpVerbs: WithNil; /** 输入参数列表 */ InputParameters: ParameterDto[]; /** 输出参数列表 */ OutParameter: ParameterDto; portNum: number; httpType: WithNil; /** 处理后的url,形如:http://${host}:${port}/selfhost/api/ReportBoardApi/StoreReportInterfaceSouceParaConfigData */ ApiUrl: WithNil; constructor( /** 接口描述 */ ActionDescription: string, /** 接口名称 */ ActionName: string, /** 控制器名称 */ ControllerName: string, /** 接口类型 :[HttpPost]*/ HttpVerbs: WithNil, /** 输入参数列表 */ InputParameters: ParameterDto[], /** 输出参数列表 */ OutParameter: ParameterDto); } export declare class ParameterDto { /** */ ApiRouteName: string; /** 是否泛型 */ IsGenericType: boolean; /** 参数全称 */ ParameterFullName: string; /** 参数名称 */ ParameterName: string; /** 参数类型 */ ParameterType: string; isCollection: boolean; constructor( /** */ ApiRouteName: string, /** 是否泛型 */ IsGenericType: boolean, /** 参数全称 */ ParameterFullName: string, /** 参数名称 */ ParameterName: string, /** 参数类型 */ ParameterType: string); } export declare class CodeCsTsJsonExamModel { /** C#代码 */ CSCode: CodeClassModel; /** ts代码 */ TSCode: CodeTSModel; /** c#示例代码 */ CsExampleCode: CodeCsExampleModel; /** ts示例代码 */ TsExampleCode: CodeTsExampleModel; /** json示例代码 */ JsonExampleCode: CodeJsonExampleModel; constructor( /** C#代码 */ CSCode: CodeClassModel, /** ts代码 */ TSCode: CodeTSModel, /** c#示例代码 */ CsExampleCode: CodeCsExampleModel, /** ts示例代码 */ TsExampleCode: CodeTsExampleModel, /** json示例代码 */ JsonExampleCode: CodeJsonExampleModel); } export declare class CodeClassModel extends RhSelectableDto { /** 类名 */ ClassName: string; StartBrace: string; EndBrace: string; /** 属性列表 */ CodeProperties: CodePropertyModel[]; /** 类描述 */ Descirption: string; TplContent: string; /** 去掉类名的后缀Dto */ ClassNameWithoutDto?: string; /** 去掉类名后缀ConfigDto */ ClassNameWithoutConfig?: string; /** 模型所属的模块的详细信息 */ FullName: string; constructor( /** 类名 */ ClassName: string, StartBrace: string, // EndBrace: string, // /** 属性列表 */ CodeProperties: CodePropertyModel[], /** 类描述 */ Descirption: string, TplContent: string); } export declare class CodeDomModelCodeTemplate { ModuleName: string; ModuleDescription: string; ModelName: string; CodeType: WithNil; CodeContent: WithNil; constructor(ModuleName: string, // ModuleDescription: string, // ModelName: string, // CodeType: WithNil, // CodeContent: WithNil); } export declare class CodePropertyModel { /** 是否泛型 * @deprecated 目前没有泛型相关的用法,你是否想使用`IsCollection` */ IsGenericType: boolean; /** 属性类型(string) */ PropertyType: 'string' | 'number' | 'boolean' | 'Date' | 'date' | string; /** 属性名称 */ PropertyName: string; IsClass: boolean; /** 是否公用 */ IsPublic: boolean; Value: string; /** 属性中文描述 */ Descirption: string; TplContent: string; /** 是否必须 */ IsMustInputValue: boolean; /** 是否是数组 */ IsCollection: WithNil; constructor( /** 是否泛型 * @deprecated 目前没有泛型相关的用法,你是否想使用`IsCollection` */ IsGenericType: boolean, /** 属性类型(string) */ PropertyType: 'string' | 'number' | 'boolean' | 'Date' | 'date' | string, /** 属性名称 */ PropertyName: string, IsClass: boolean, // /** 是否公用 */ IsPublic: boolean, Value: string, // /** 属性中文描述 */ Descirption: string, TplContent: string, // /** 是否必须 */ IsMustInputValue?: boolean); } export declare class CodeTSModel { ClassName: string; StartBrace: string; EndBrace: string; CodeProperties: CodePropertyModel[]; Descirption: string; TplContent: string; constructor(ClassName: string, StartBrace: string, EndBrace: string, CodeProperties: CodePropertyModel[], Descirption: string, TplContent: string); } export declare class CodeCsExampleModel { ModuleKey: string; AttachKey1: string; Descirption: string; TplContent: string; constructor(ModuleKey: string, // AttachKey1: string, // Descirption: string, // TplContent: string); } export declare class CodeJsonExampleModel { ModuleKey: string; AttachKey1: string; Descirption: string; TplContent: string; constructor(ModuleKey: string, // AttachKey1: string, // Descirption: string, // TplContent: string); } export declare class CodeTsExampleModel { ModuleKey: WithNil; AttachKey1: WithNil; Descirption: WithNil; TplContent: WithNil; constructor(ModuleKey: WithNil, // AttachKey1: WithNil, // Descirption: WithNil, // TplContent: WithNil); } export declare class RhBaseSettingDto { /** 对应的后端模型名称,用于模型管理的代码生成 */ modelName: WithNil; camelModelName: WithNil; /** dev dynamic组件专属字段 */ interface: WithNil; standardMethodConfig?: DataModelStandardMethodDto; } /** * 动态存储模型 * // FIXME: 保留一种模式即可 */ export declare class RhDynamicStorageDto { rhFill: boolean; dynamicDatasourceType: RhDynamicDatasourceType; /** 整体配置 */ hostConfig: WithNil; /** 字段配置 */ fieldsConfig: RhDynamicComponentFieldType[]; /** form/table配置信息 */ private config; /** form/table字段信息列表 */ private datas; /** 为了兼容两种不同存储方式的动态组件,请使用getter属性访问器获取host配置数据 * @deprecated 请直接使用`hostConfig` */ get hostConfigData(): WithNil; set hostConfigData(config: WithNil); setFieldConfigDatas(datas: RhDynamicComponentFieldType[], dynamicMode: RhDynamicMode): void; /** 为了兼容两种不同存储方式的动态组件,请使用getter属性访问器获取filed配置数据 */ get fieldConfigDatas(): RhDynamicComponentFieldType[]; constructor(); static create(storage?: RhDynamicStorageDto): RhDynamicStorageDto; } /** * 动态的table配置模型 */ export declare class RhDynamicTableConfigDto { datasource: WithNil; config: WithNil; constructor( /** table配置 */ config: WithNil); setInterfaceInfo(interfaceInfo: WithNil, dynamicMode: RhDynamicMode): void; static create(config?: RhTableSettingDto): RhDynamicTableConfigDto; } export declare class RhTableSettingDto extends RhBaseSettingDto { rhSize: 'default' | 'small'; rhBordered: boolean; /** 分页模式:0:后端分页;1:前端分页;2:不分页 */ rhFrontPagination: RhPaginationMode; /** table自定义button配置 */ operationDetail: IRhTableButtonDetailDto; /** 单元格自动省略 */ rhEllipsis: boolean; /** 启用虚拟滚动 */ rhEnableVirtualScroll: boolean; /** 启用数据统计 */ rhEnableDataCount: boolean; enableExport: boolean; /**对齐方式*/ alignment: string; /** 是否显示选择框 */ rhCheckEnable: boolean; /** 启用单选模式 */ rhSingleMode: boolean; rhShowIndex: boolean; rhTableHeight: string; /** 左固定列数 */ rhLeftFixedCount: number; /** 右固定列数 */ rhRightFieedCount: number; rhRightFieldCount: number; inlineButtonSetting: RhDynamicTableInlineButtonSettingDto; /** 是否隐藏标题(工控端需要隐藏标题节约空间) */ rhHideHeader: boolean; /** table宽度 */ tableWidth: WithNil; /** 图片模块键值(用于整个table的图片预览) */ rhImageModuleKey: string; /** 存储用户配置的pageSize */ rhPageSize: number; /** 行样式配置 */ rhRowStyleSetting: WithNil; /** 分页可跳转 */ rhShowQuickJumper: boolean; constructor(rhSize: 'default' | 'small', rhBordered: boolean, /** 分页模式:0:后端分页;1:前端分页;2:不分页 */ rhFrontPagination: RhPaginationMode, /** table自定义button配置 */ operationDetail: IRhTableButtonDetailDto, /** 单元格自动省略 */ rhEllipsis?: boolean, /** 启用虚拟滚动 */ rhEnableVirtualScroll?: boolean, /** 启用数据统计 */ rhEnableDataCount?: boolean, enableExport?: boolean /**对齐方式*/, alignment?: string, /** 是否显示选择框 */ rhCheckEnable?: boolean, /** 启用单选模式 */ rhSingleMode?: boolean, rhShowIndex?: boolean, rhTableHeight?: string); static create(rhSingleMode?: boolean): RhTableSettingDto; } export declare class RhDynamicTableInlineButtonSettingDto { layout: RhDynamicTableButtonLayoutType; width: number; fixed: 'left' | 'right'; displayType: RhTableInlineBtnDisplayType; constructor(layout: RhDynamicTableButtonLayoutType, width: number, fixed: 'left' | 'right', displayType: RhTableInlineBtnDisplayType); static create(layout: RhDynamicTableButtonLayoutType, width: number, fixed: 'left' | 'right', displayType: 'icon'): RhDynamicTableInlineButtonSettingDto; } /** form属性配置&&接口配置 */ export declare class RhDynamicFormConfigDto { /** form的配置信息 */ config: WithNil; /** form接口信息 */ datasource: WithNil; setInterfaceInfo(interfaceInfo: WithNil, dynamicMode: RhDynamicMode): void; constructor( /** form的配置信息 */ config: WithNil); static create(config?: WithNil): RhDynamicFormConfigDto; } /** form配置模型 */ export declare class RhFormSettingDto extends RhBaseSettingDto { rhLayout: 'horizontal' | 'inline' | 'vertical'; rhColumn: 1 | 2 | 3 | 4; /** 显示数量,超出部分将显示在更多界面,取值-1时会显示所有字段 */ rhDisplayCount: WithNil; /** 针对搜索接口是否搜索所有数据,Mode=8 */ rhSearchAll: WithNil; rhType: 'edit' | 'query'; /** 用于代码生成 */ colSpan: WithNil; /** 主键唯一性校验接口配置 * @deprecated 请使用`uniqueValidationInterfaceInfo` */ uniqeValidationInterfaceInfo: WithNil; uniqueValidationInterfaceInfo: WithNil; /** 是否启用分组 */ rhEnableGroup: boolean; rhSize: 'small' | 'default' | 'large'; /** 是否启用高级搜索 */ rhEnableAdvancedQuery: boolean; /** 高级搜索接口信息 */ rhAdvancedQueryInterfaceInfo: WithNil; /** 搜索form,初始化完成后是否自动搜索 */ rhFirstAutoSearch: boolean; /** 接口调用成功或失败后的提示信息 */ rhPromptInfo: string; /** 是否启用Mock */ rhEnableMock: boolean; /** 是否启用自定义接口 */ rhEnableCustomizedInterface: boolean; /** 接口类型 */ rhInterfaceType: 'post' | 'get'; /** 自定义接口地址 */ rhInterfaceUrl: WithNil; /** 查询参数 */ rhOption: WithNil>; /** 是否启用定时刷新下 */ rhAutoRefresh: WithNil; rhRefreshInterval: WithNil; constructor(rhLayout: 'horizontal' | 'inline' | 'vertical', rhColumn: 1 | 2 | 3 | 4, /** 显示数量,超出部分将显示在更多界面,取值-1时会显示所有字段 */ rhDisplayCount: WithNil, /** 针对搜索接口是否搜索所有数据,Mode=8 */ rhSearchAll: WithNil, rhType: 'edit' | 'query'); static create(rhLayout?: 'horizontal' | 'inline' | 'vertical', rhColumn?: 1 | 2 | 3 | 4, rhType?: 'edit' | 'query'): RhFormSettingDto; } /** description配置模型 */ export declare class RhDynamicDescriptionConfigDto { /** description的配置信息 */ config: WithNil; datasource: WithNil; constructor( /** description的配置信息 */ config: WithNil); static create(config?: RhDescriptionSettingDto): RhDynamicDescriptionConfigDto; } /** description属性配置模型 */ export declare class RhDescriptionSettingDto extends RhBaseSettingDto { /** 尺寸 */ rhSize: NzSizeMDSType; /** 是否带边框 */ rhBordered: boolean; /** 一行的 nz-descriptions-item 的数量 */ rhColumn: WithNil | RhSafeAny; /** 是否在标题后显示冒号 */ rhColon: WithNil; /** 垂直/水平布局 */ rhLayout: NzDescriptionsLayout; /** 标题 */ rhTitle: WithNil; constructor( /** 尺寸 */ rhSize: NzSizeMDSType, /** 是否带边框 */ rhBordered: boolean, /** 一行的 nz-descriptions-item 的数量 */ rhColumn: WithNil | RhSafeAny, /** 是否在标题后显示冒号 */ rhColon: WithNil, /** 垂直/水平布局 */ rhLayout: NzDescriptionsLayout); static create(): RhDescriptionSettingDto; } /** 折叠面板配置模型 */ export declare class RhDynamicCollapseConfigDto { /** 折叠面板的配置信息 */ config: WithNil; datasource: WithNil; constructor( /** 折叠面板的配置信息 */ config: WithNil); static create(config?: RhCollapseSettingDto): RhDynamicCollapseConfigDto; } /** 折叠面板属性配置模型 */ export declare class RhCollapseSettingDto extends RhBaseSettingDto { /** 是否每次只打开一个tab */ rhAccordion: boolean; /** 是否有边框 */ rhBordered: boolean; /** 设置图标位置 */ rhExpandIconPosition: NzTimelinePosition; constructor( /** 是否每次只打开一个tab */ rhAccordion: boolean, /** 是否有边框 */ rhBordered: boolean, /** 设置图标位置 */ rhExpandIconPosition: NzTimelinePosition); static create(): RhCollapseSettingDto; } /** * 工控端动态list host配置模型 */ export declare class RhDynamicListSettingDto extends RhBaseSettingDto { /** 尺寸 */ rhSize: NzSizeMDSType; /** 是否带边框 */ rhBordered: boolean; rhGridRowSetting: string; rhGridColumnSetting: string; /** 是否在标题后显示冒号 */ rhColon: boolean; /** 一行显示多少条数据 */ rhPageSize: number; /** 分页模式:0:后端分页;1:前端分页;2:不分页*/ rhFrontPagination: 0 | 1 | 2 | null; /** 文字大小 */ rhFontSize: string; /** 文字颜色 */ rhColor: string; rhBackColor: string; rhBold: boolean; constructor( /** 尺寸 */ rhSize: NzSizeMDSType, /** 是否带边框 */ rhBordered: boolean, rhGridRowSetting: string, rhGridColumnSetting: string, /** 是否在标题后显示冒号 */ rhColon: boolean, /** 一行显示多少条数据 */ rhPageSize: number, /** 分页模式:0:后端分页;1:前端分页;2:不分页*/ rhFrontPagination: 0 | 1 | 2 | null); static create(): RhDynamicListSettingDto; } /** * 工控端动态list host配置模型 */ export declare class RhDynamicCardSettingDto extends RhBaseSettingDto { /** 尺寸 */ rhSize: NzSizeMDSType; /** 是否带边框 */ rhBordered: boolean; rhGridRowSetting: string; rhGridColumnSetting: string; /** 是否在标题后显示冒号 */ rhColon: boolean; /** 文字大小 */ rhFontSize: string; /** 文字颜色 */ rhColor: string; rhBackColor: string; rhBold: boolean; rhRowGap: string; rhColumnGap: string; constructor( /** 尺寸 */ rhSize: NzSizeMDSType, /** 是否带边框 */ rhBordered: boolean, rhGridRowSetting: string, rhGridColumnSetting: string, /** 是否在标题后显示冒号 */ rhColon: boolean); static create(): RhDynamicCardSettingDto; } /** 接口配置模型 */ export interface IRHInterfaceLocation { interfaceType: 'post' | 'get' | HttpMethod; port?: WithNil; controllerName: WithNil; interfaceName: WithNil; /** 接口描述 */ description?: WithNil; } /** 通过配置一下三个Key获取下拉框数据源 模型 */ export interface IRhParaConfiguration { /** 是否第三方接口,C#为C#后端,LCDP为`nestjs`后端 */ platformName?: 'LCDP' | 'C#' | ''; interfaceType?: 'post' | 'get' | HttpMethod; /** 分组代码 */ groupKey: string; /** 模块代码 */ moduleKey: string; /** 参数代码 */ paraCode: string; } /** 通过设置业务类型获取下拉框数据源 模型 */ export interface IRhBusinessTypeSetting { BusinessTypeCode: string; } /** 动态form事件类型:赋值事件|过滤事件 */ export type RhFormEventType = 'assign' | 'filter'; export interface RhEventSettingDto { /** 唯一标识符 */ id: string; eventType: RhFormEventType; value?: RhSelectItem | string; relatedField?: string; option?: Record; } export interface RhCustomizeEventSettingDto { id: string; value: Record; relatedFieldDatas: { sourceName: string; mappedName: string; }[]; eventType?: RhFormEventType | null; options?: Record | null; } /** * 动态form接口信息模型 */ export declare class RhDynamicInterfaceDto implements IRHInterfaceLocation, Partial, Partial { port: WithNil; controllerName: WithNil; interfaceName: WithNil; interfaceType: HttpMethod; /** 数据源中的取值 */ sourceValue?: string | undefined; /** 数据源中的Text */ sourceText?: string | undefined; /** 不使用接口,而是使用自定义数据源 */ datas?: any; /** 数据源类型:手动输入|接口获取 */ sourceType?: RhFieldSourceType | undefined; description?: WithNil; groupKey?: string; moduleKey?: string; paraCode?: string; BusinessTypeCode?: string; /** lcdp平台模块配置,如果有,可以找到模块对应的ip/port/globalPrefix */ ModuleName?: string; ServerIp?: string; /** 形如`/api/lcdp` */ GlobalPrefix?: string; /** 接口请求网址,形如:`http://xxxx` */ url?: WithNil; QueryParam?: string; /** 数据源管道处理 */ DataHandler?: string; platformName?: 'LCDP' | 'C#' | ''; constructor(port: WithNil, controllerName: WithNil, interfaceName: WithNil, interfaceType: HttpMethod, /** 数据源中的取值 */ sourceValue?: string | undefined, /** 数据源中的Text */ sourceText?: string | undefined, /** 不使用接口,而是使用自定义数据源 */ datas?: any, /** 数据源类型:手动输入|接口获取 */ sourceType?: RhFieldSourceType | undefined, description?: WithNil); static create(): RhDynamicInterfaceDto; } export interface RhRelatedFieldDataDto { sourceName: string; mappedName: string; } /** 动态自定义控件配置模型 */ export declare class RhDynamicCustomizeControlConfigDto { /** 自定义组件类型*/ type: customizeDataType | null; /** 选择数据后的回调 (data: RhSafeAny) => void */ cb: string; /** Form字段关联,如果界面上存在对应formControl的话,就会进行赋值 */ relatedFieldDatas: WithNil; /** (Form对应的)Model字段关联,会给对应的字段进行赋值*/ relatedModelDatas: WithNil; /** 自定义selector标题 */ title: WithNil; /** 当前字段对应的自定义selector动态组件唯一标识(rhName) */ key: WithNil; /** 用于动态table的预设类型,值为`default` */ sourceType: WithNil; /** 自定义selector显示模式 */ displayMode: WithNil; /** 自定义selector的赋值模式,显示值赋值为表单控件值 */ setDisplayNameToValue: boolean; /** 仅赋值表单控件,关联字段不赋值 */ assignControlOnly: boolean; /** 自定义selector是否单选 */ rhSingleMode: boolean; /** 自定义selector对应的默认查询接口 */ defaultInterface: RhDynamicInterfaceDto; /** 自定义selector对应的动态form名称 */ relatedFormName: WithNil; /** 自定义selector对应的动态table名称 */ relatedTableName: WithNil; /** 自定义selector默认的form显示字段 */ defaultFormFieldDataset?: Partial[]; /** 自定义selector默认的table显示字段 */ defaultTableFieldDataset?: Partial[]; /** 自定义selector的form和model字段的默认映射表,只设置四个属性即可 */ defaultRelatedFieldData?: RhRelatedFieldDataType; /** 自定义selector除默认四个关联字段外的其余字段 */ defaultTempDatas?: RhRelatedFieldDataDto[]; /** 更改默认配置后出现 */ formConfig?: RhDynamicStorageDto; tableConfig?: RhDynamicStorageDto; /** 默认查询传参 */ defaultQueryDto?: RhSafeAny; searchAll: boolean | null; /** 自定义selector是否启用下拉框 */ rhEnableSelect: boolean; constructor( /** 自定义组件类型*/ type: customizeDataType | null, /** 选择数据后的回调 (data: RhSafeAny) => void */ cb: string, /** Form字段关联,如果界面上存在对应formControl的话,就会进行赋值 */ relatedFieldDatas: WithNil, // public interfaceoInfo: WithNil /** (Form对应的)Model字段关联,会给对应的字段进行赋值*/ relatedModelDatas: WithNil); static create(): RhDynamicCustomizeControlConfigDto; } /** 动态自定义(多选)控件配置模型 */ export declare class RhDynamicCustomizeMultipleControlConfigDto { /** 接口 */ /** 键值 */ rhDynamicKey: WithNil; /** 标题 */ rhTitle: WithNil; /** 数据源标题 */ rhSourceTitle: WithNil; /** 已选择标题 */ rhTargetTitle: WithNil; /** value字段名 */ rhValueFieldName: WithNil; /** text字段名 */ rhTextFieldName: WithNil; constructor( /** 接口 */ /** 键值 */ rhDynamicKey: WithNil, /** 标题 */ rhTitle: WithNil, /** 数据源标题 */ rhSourceTitle: WithNil, /** 已选择标题 */ rhTargetTitle: WithNil, /** value字段名 */ rhValueFieldName: WithNil, /** text字段名 */ rhTextFieldName: WithNil); static create(): RhDynamicCustomizeMultipleControlConfigDto; } /** 动态Form number字段控件配置模型 */ export declare class RhDynamicNumberControlConfigDto { /** 最小值 */ rhMin: WithNil; /** 最大值 */ rhMax: WithNil; /** 保留小数位数 */ rhDigit: WithNil; /** 小数步数 */ rhStep: WithNil; constructor( /** 最小值 */ rhMin: WithNil, /** 最大值 */ rhMax: WithNil, /** 保留小数位数 */ rhDigit: WithNil, /** 小数步数 */ rhStep: WithNil); } /** 动态表单表格基类 */ export declare class RhDynamicFieldBaseDto extends RhSelectableDto { required: boolean; /** 关联组件的名称(整个动态组件的rhName属性) */ relatedComponentName: string; /** 字段名称 */ name: string; /** 显示名称 */ displayName: string; /** 字段类型,默认为`string` */ type: RhDynamicFieldType; /** 可见性,默认可见 */ visible: boolean; /** 数据源类型:手动输入|接口获取 */ sourceType: RhFieldSourceType; /** 启用多选 */ multiple: boolean; /** 启用高级查询 */ advancedQuery: boolean; /** 提示信息(title),默认为空 */ description?: string; config?: RhDynamicInterfaceDto | RhDynamicCustomizeControlConfigDto | RhDynamicCustomizeMultipleControlConfigDto | RhDynamicNumberControlConfigDto; /** 设置默认初始值 */ defaultValue: WithNil | number | boolean | RhSafeAny[]; /** 三态组件的显示文本 */ displayText: string; radioButtonStyle: NzRadioButtonStyle; /** 是否设置为单独行 */ singleRow: boolean; /** 显示模式,默认2显示名称 */ displayMode: RhDisplayMode; /** 查询模式,默认0模糊查询 */ queryMode: WithNil; /** 显示连接符,默认2连接符A-B */ displayConnector: WithNil; /** 控件类型 */ controller: WithNil; /** 是否从动态组件外部通过template配置 * @example */ isExternal: boolean; static create(name?: string, displayName?: string): RhDynamicFieldBaseDto; } /** * 动态表格字段模型 */ export declare class RhDynamicTableFieldDto extends RhDynamicFieldBaseDto { /** 当前单元格宽度 */ width: number; /** 是否关键字段(关键字段才可以配置下拉菜单) */ isKey: boolean; /** 是否可编辑 */ editable: boolean; /** 是否可复制 */ directCopy: boolean; /** 是否汇总 */ totalable: boolean; /** 编辑确认后是否触发回调 */ editCallback: boolean; fixed: 'left' | 'right' | null; /** 固定宽度,需要前端根据在数组中的位置计算,然后存储到数据库中 */ fixedWidth: string; /** 是否启用管道,如果启用管道则需要设置最后三个字段,用于定位数据源 */ enablePipe: boolean; moduleKey?: string | undefined; groupKey?: string | undefined; parameterCode?: string | undefined; /** 操作标志 */ OpSign: OpMode; /** 对齐方式 */ alignment: string; /** 启用单元格省略 */ rhEllipsis: boolean; /** 启用排序 */ sortable: boolean; /** 管道配置(可以输入日期配置如:'yyyy-MM-dd HH:mm'),或者简单的函数如:`data=>data+'%'` */ pipeSetting: WithNil; styleSetting: RhDynamicTableCellStyleSettingDto; rowStyleSetting: RhDynamicTableCellStyleSettingDto; tableCellListener: boolean; /** 是否导出忽略 */ isExportIgnore: boolean; /** 图片类型字段的关联字段(使用其文本生成默认图片) */ relateImageField: WithNil; /** 小数位数 */ decimalPlace: number; /** 最大值 */ maxNumber: WithNil; /** 最小值 */ minNumber: WithNil; /** 用于前端分页时的排序函数 */ __sortFn?: (a: RhSelectableDto, b: RhSelectableDto) => number; /** 排序优先级,数组越大,优先级越高 */ __priority?: number; editcallback: boolean; /** 特殊展示,用于一些特定的字段可使用不同的渲染方式 */ specialDisplay: WithNil; constructor( /** 当前单元格宽度 */ width?: number, /** 是否关键字段(关键字段才可以配置下拉菜单) */ isKey?: boolean, /** 是否可编辑 */ editable?: boolean, /** 是否可复制 */ directCopy?: boolean, /** 是否汇总 */ totalable?: boolean, /** 编辑确认后是否触发回调 */ editCallback?: boolean, fixed?: 'left' | 'right' | null, /** 固定宽度,需要前端根据在数组中的位置计算,然后存储到数据库中 */ fixedWidth?: string, /** 是否启用管道,如果启用管道则需要设置最后三个字段,用于定位数据源 */ enablePipe?: boolean, moduleKey?: string | undefined, groupKey?: string | undefined, parameterCode?: string | undefined, /** 操作标志 */ OpSign?: OpMode, /** 对齐方式 */ alignment?: string, /** 启用单元格省略 */ rhEllipsis?: boolean, /** 启用排序 */ sortable?: boolean); static create(): RhDynamicTableFieldDto; } /** * 动态表单字段模型 */ export declare class RhDynamicFormFieldDto extends RhDynamicFieldBaseDto { /** 是否可编辑,控制是否只读 */ editable: boolean; /** 占位符 */ placeholder: WithNil | string[]; /** 是否必须 */ required: boolean; /** 是否设置获取数据源 */ enableSource: boolean; /** 操作标志 */ OpSign: OpMode; /** 当前的form-control span */ controlSpan?: number; /** 当前的form-label span */ labelSpan?: number; eventSetting: RhEventSettingDto; /** 是否关键字段(关键字段在`edit`模式下可以配置主键校验) */ isKey: boolean; /** 是否精确查询,用于`qurey`form */ isExact: boolean; /** 是否显示time,用于danterange类型字段 */ isShowTime: boolean; /** 是否是分组节点 */ isGroup: boolean; /** * input 输入框是否显示“输入$精确查询” * @deprecated 该属性仅使用`rh-base`动态form,其他情况请使用`isShowTooltip` */ isShowTooptip: boolean; /** input 输入框是否显示“输入$精确查询” */ isShowTooltip: boolean; /** 是否启用自定义校验 */ enableCustomizeValidator: boolean; validatorRegExp: string; validatorTip: string; /** 是否启用defaultQueryDto进行定位 */ enableQueryLocation: boolean; /** 是否是密码显示框,仅在字段类型为`string`生效,默认为`false` */ enablePasswordType: boolean; /** 是否显示密码框眼睛图标,默认为`true` */ isShowPasswordIcon: boolean; /** 用于下拉框配置数据源的键值和名称 */ rhDataValue: string; rhDataText: string; /** 默认赋值是否可被重置 */ defaultValueReset: boolean; /** 下拉框是否和选择器同宽 */ rhDropdownMatchSelectWidth: boolean; constructor( /** 是否可编辑,控制是否只读 */ editable: boolean, /** 占位符 */ placeholder: WithNil | string[], /** 是否必须 */ required?: boolean, /** 是否设置获取数据源 */ enableSource?: boolean, /** 操作标志 */ OpSign?: OpMode); static create(): RhDynamicFormFieldDto; } /** * 动态描述模型 */ export declare class RhDynamicDescriptionFieldDto extends RhDynamicFieldBaseDto { /** 包含列的数量 */ span: number; /** 图片模块键值 */ imageModuleKey: string; /** 显示长度 */ width: number; /** 是否省略 */ rhEllipsis: boolean; /** 特殊展示,用于一些特定的字段可使用不同的渲染方式 */ specialDisplay: WithNil; /** 当没值时是否隐藏 */ hideWhenNull: boolean; constructor( /** 包含列的数量 */ span: number, /** 图片模块键值 */ imageModuleKey: string, /** 显示长度 */ width?: number, /** 是否省略 */ rhEllipsis?: boolean, /** 特殊展示,用于一些特定的字段可使用不同的渲染方式 */ specialDisplay?: WithNil); static create(): RhDynamicDescriptionFieldDto; } /** 动态折叠面板模型 */ export declare class RhDynamicCollapseFieldDto extends RhDynamicFieldBaseDto { /** 是否单选 */ rhSingleMode: WithNil; /** 是否展开 */ rhActive: WithNil; /** 默认赋值 */ rhDefaultValue: WithNil; constructor( /** 是否单选 */ rhSingleMode: WithNil, /** 是否展开 */ rhActive: WithNil, /** 默认赋值 */ rhDefaultValue: WithNil); static create(): RhDynamicCollapseFieldDto; } /** * 工控端动态list字段模型 */ export declare class RhDynamicListFieldDto extends RhDynamicFieldBaseDto { color: string; constructor(); static create(name?: string, displayName?: string): RhDynamicListFieldDto; } /** * 工控端动态list字段模型 */ export declare class RhDynamicCardFieldDto extends RhDynamicFieldBaseDto { color: string; backColor: string; constructor(); static create(name?: string, displayName?: string): RhDynamicCardFieldDto; } /** 动态表格数据查询对象 */ export declare class RhDynamicTableSummaryQueryDto { /** 公司代码 */ companyCode: WithNil; /** 当前页面地址,取路由地址 */ url: WithNil; /** table唯一标识,用于定位table */ identity: WithNil; /** 动态组件类型:表单:表格 */ type: 'form' | 'table'; constructor( /** 公司代码 */ companyCode: WithNil, /** 当前页面地址,取路由地址 */ url: WithNil, /** table唯一标识,用于定位table */ identity: WithNil, /** 动态组件类型:表单:表格 */ type: 'form' | 'table'); } /** 动态table单元格样式配置模型 */ export declare class RhDynamicTableCellStyleSettingDto { /** 前景色规则 */ color: RhRuleMatchingDto[]; /** 背景色规则 */ background: RhRuleMatchingDto[]; fontSize: string; fontWeight: boolean; textAlign: 'left' | 'center' | 'right'; defaultColor: string; defaultBackColor: string | null; constructor( /** 前景色规则 */ color: RhRuleMatchingDto[], /** 背景色规则 */ background: RhRuleMatchingDto[], fontSize: string, fontWeight: boolean, textAlign?: 'left' | 'center' | 'right', defaultColor?: string, defaultBackColor?: string | null); static create(): RhDynamicTableCellStyleSettingDto; } /** 动态表格数据存储对象 */ export declare class RhDynamicTableSummaryDto { /** 当前页面地址,取路由地址 */ url: WithNil; /** table唯一标识,用于定位table */ identity: WithNil; /** 动态表格数据 */ datas: WithNil[]; constructor( /** 当前页面地址,取路由地址 */ url: WithNil, /** table唯一标识,用于定位table */ identity: WithNil, /** 动态表格数据 */ datas: WithNil[]); } /** 个性化设置数据传输对象 */ export declare class ProfileSettingDto { /** 用户ID */ UserId: WithNil; /** 模块键值 */ ModuleKey: WithNil; /** 分组键值 */ GroupKey: WithNil; /** 参数键值 */ Name: WithNil; /** 设置数据对象 */ SettingData: WithNil; /** 产品名称,存储项目根菜单名称 */ ProductName: WithNil; /** 为了和开发模式对应 */ config: WithNil; constructor( /** 用户ID */ UserId: WithNil, /** 模块键值 */ ModuleKey: WithNil, /** 分组键值 */ GroupKey: WithNil, /** 参数键值 */ Name: WithNil, /** 设置数据对象 */ SettingData: WithNil); static create(): ProfileSettingDto; } /** 个性化设置数据查询对象 */ export declare class ProfileSettingQueryDto { /** 用户ID */ UserId: WithNil; /** 模块键值 */ ModuleKey: WithNil; /** 分组键值 */ GroupKey: WithNil; /** 参数键值 */ Name: WithNil; /** 产品名称,存储项目根菜单名称 */ ProductName: WithNil; constructor( /** 用户ID */ UserId: WithNil, /** 模块键值 */ ModuleKey: WithNil, /** 分组键值 */ GroupKey: WithNil, /** 参数键值 */ Name: WithNil); static create(): ProfileSettingQueryDto; } export declare class ExportFileDto { /** 中英文映射表 */ mappedDatas: WithNil; interfaceInfo: WithNil; inputPara: WithNil>; constructor( /** 中英文映射表 */ mappedDatas: WithNil, interfaceInfo: WithNil, inputPara: WithNil>); } /** * 导出文件上下文 */ export declare class ExportFileContext { /** 文件名称 */ FileName: WithNil; /** http请求地址 */ LoadDataApiUrl: WithNil; /** http请求参数(JSON) */ LoadDataQueryParas: WithNil; /** 中英文映射表 */ HeaderInfos: WithNil[]; /** 设置excel文件样式 */ FileStyle: WithNil; constructor( /** 文件名称 */ FileName: WithNil, /** http请求地址 */ LoadDataApiUrl: WithNil, /** http请求参数(JSON) */ LoadDataQueryParas: WithNil, /** 中英文映射表 */ HeaderInfos: WithNil[], /** 设置excel文件样式 */ FileStyle: WithNil); static create(): ExportFileContext; } /** 动态table导出时的中英文映射表 */ export declare class ExportFileHeaderInfo { /** 字段名称 */ FieldName: WithNil; /** 字段中文名称 */ FieldDisplayName: WithNil; /** table管道数据 */ PipeDatas?: RhSelectItem[] | null | undefined; /** 日期格式 */ DateFormat?: WithNil; /** 字段类型 */ FieldValueType: WithNil; constructor( /** 字段名称 */ FieldName: WithNil, /** 字段中文名称 */ FieldDisplayName: WithNil, /** table管道数据 */ PipeDatas?: RhSelectItem[] | null | undefined, /** 日期格式 */ DateFormat?: WithNil); } /** * 导出文件样式 */ export declare class ExportFileStyle { /** 列对齐方式,默认居中对齐 */ ColumnAlignment: string; constructor( /** 列对齐方式,默认居中对齐 */ ColumnAlignment?: string); static create(): ExportFileStyle; } export declare class RhTableQueryOptionDto { /** 页码(从1开始,1表示第一页) */ index: number; /** 每页展示多少数据 */ size: number; /** 是否是高级查询 */ isAdvancedQuery: boolean; sort: WithNil[]>; isPageSizeChanged: boolean; constructor( /** 页码(从1开始,1表示第一页) */ index: number, /** 每页展示多少数据 */ size: number); static create(index: number, size: number, isPageSizeChanged?: boolean): RhTableQueryOptionDto; } /** * table button 信息模型 */ export declare class RhTableButtonInfoDto extends RhSelectableDto { /** button名称 */ name: string; /** 显示名称 */ displayName: string; type: NzButtonType; /** 是否红色危险标识 */ isDanger: boolean; /** 图标 */ icon: string; /** 是否二次确认 */ confirm: boolean; /** button调用信息 */ interfaceInfo?: RhInterfaceLocationDto | null | undefined; /** button的回调,可以在点击按钮后自定义行为,比如打开对话框、页面跳转 */ cb?: ((datas?: RhBaseDto | RhBaseDto[], buttonInfo?: RhTableButtonInfoDto) => void) | undefined; /** 是否总是激活状态,仅对放置于Tabel title位置的按钮有效 */ alwaysActive: boolean; /** 是否启用button的loading效果 */ enableLoading: boolean; color: string; /** 可见性,也可以在代码中存储字符串类型的箭头函数来计算可见性,比如:"data=>data.status !=='complete'" */ visible: WithNil | boolean | ((data: RhSafeAny) => boolean); /** 是否不可用 */ disable: WithNil | boolean; /** 大小 */ size: NzButtonSize; /** 指示button的loading状态 */ loading: boolean; /** button可见性计算的结果(通过`visible`进行计算) */ visibleCalc: WithNil; constructor( /** button名称 */ name: string, /** 显示名称 */ displayName: string, type: NzButtonType, /** 是否红色危险标识 */ isDanger: boolean, /** 图标 */ icon: string, /** 是否二次确认 */ confirm?: boolean, /** button调用信息 */ interfaceInfo?: RhInterfaceLocationDto | null | undefined, /** button的回调,可以在点击按钮后自定义行为,比如打开对话框、页面跳转 */ cb?: ((datas?: RhBaseDto | RhBaseDto[], buttonInfo?: RhTableButtonInfoDto) => void) | undefined, /** 是否总是激活状态,仅对放置于Tabel title位置的按钮有效 */ alwaysActive?: boolean, /** 是否启用button的loading效果 */ enableLoading?: boolean, color?: string, /** 可见性,也可以在代码中存储字符串类型的箭头函数来计算可见性,比如:"data=>data.status !=='complete'" */ visible?: WithNil | boolean | ((data: RhSafeAny) => boolean), /** 是否不可用 */ disable?: WithNil | boolean, /** 大小 */ size?: NzButtonSize); static create(name: string, displayName: string): RhTableButtonInfoDto; } /** 定位接口模型 */ export declare class RhInterfaceLocationDto implements IRHInterfaceLocation { controllerName: WithNil; interfaceName: WithNil; interfaceType: 'get' | 'post' | HttpMethod; /** 完整的接口请求地址url,形如`http://xxxxxx` */ url?: WithNil; ServerIp?: string; GlobalPrefix?: string; ModuleName?: string; port?: WithNil; /** 接口输入参数 */ inputPara?: RhSafeAny; /** 接口描述 */ description?: WithNil; constructor(controllerName: WithNil, interfaceName: WithNil, interfaceType: 'get' | 'post' | HttpMethod); static create(): RhInterfaceLocationDto; } /** 通用数据项查询数据传输对象模型 */ export declare class GeneralDataItemQueryDto { /** 工厂代码 */ FactoryCodes: WithNil; /** 业务类型 */ BusinessType: WithNil; constructor( /** 工厂代码 */ FactoryCodes: WithNil, /** 业务类型 */ BusinessType: WithNil); static create(factoryCodes?: string[] | null, businessType?: string | null): GeneralDataItemQueryDto; } export declare class DevDynamicConfigQueryDto { PageUrl: string; ComponentName: string; ProjectName: string; FactoryCode: string; Mode: number; constructor(PageUrl: string, ComponentName: string, ProjectName: string); static create(): DevDynamicConfigQueryDto; } /** DevDynamicConfigDto模型 */ export declare class RhDevDynamicConfigDto { /** 菜单项目名称 */ ProjectName: string; PageUrl: string; ComponentName: string; ComponentType: string; FactoryCode: string; IdKey: string; Id: number; PageName?: string; PageDisplayName?: string; Version?: string; LatestVersion?: string; JsonData?: string; Disabled?: boolean; Deleted?: boolean; Remark?: string; LastModifier?: string; LastModificationTime?: Date; Creator?: string; CreationTime?: Date; OpSign?: number; static create(): RhDevDynamicConfigDto; } export declare class RhMiddleInterfaceModel extends RhSelectableDto { serverIp: string; port: number; globalPrefix: string; apiDllName: string; /** 模块显示名称 */ apiDllDisplayName: string; ctrlName: string; routeName: string; /** 模块名称 */ moduleName: string; description: string; constructor(serverIp: string, port: number, globalPrefix: string, apiDllName: string, /** 模块显示名称 */ apiDllDisplayName: string, ctrlName: string, routeName: string, /** 模块名称 */ moduleName: string, description: string); static create(serverIp: string, port: number, globalPrefix: string, apiDllName: string, apiDllDisplayName: string, controllerName: string, interfaceName: string, moduleName: string, description: string): RhMiddleInterfaceModel; } /** 工控端-分页器模型 */ export declare class PaginationDto { /** 总数据数 */ totalItmes: number; /** 总页数 */ totalPages: number; /** 当前页码 */ pageIndex: number; /** 每页展示的数据量 */ pageSize: number; startPage: number; endPage: number; startIndex: number; endIndex: number; /** 页码集合 */ pages: number[]; constructor( /** 总数据数 */ totalItmes: number, /** 总页数 */ totalPages: number, /** 当前页码 */ pageIndex: number, /** 每页展示的数据量 */ pageSize: number, startPage: number, endPage: number, startIndex: number, endIndex: number, /** 页码集合 */ pages: number[]); }