import { OnInit, SimpleChanges, EventEmitter, QueryList, TemplateRef } from '@angular/core'; import { RhDynamicStorageDto, RhSafeAny, RhBaseDto, RhSelectItem, RhDynamicListFieldDto, RhDynamicListSettingDto, RhDynamicComponentType, PaginationDto } from 'rh-base/model'; import { RhAppConfigService, RhStorageService } from 'rh-base/core'; import { UntypedFormBuilder } from '@angular/forms'; import { Router } from '@angular/router'; import { RhDynamicBase } from '../dynamic-base/dynamic-base'; import { RhTemplateDirective } from './../../directives/template.directive'; import { RhBaseDynamicService } from '../base-dynamic.service'; import * as i0 from "@angular/core"; export declare class DynamicListComponent extends RhDynamicBase implements OnInit { fb: UntypedFormBuilder; router: Router; /** 动态组件唯一标识符,在同一个界面中不能重复 */ /** 当前路由菜单需要去除查询参数和片段 */ /** 要显示的数据源 */ rhDatasource: RhBaseDto[]; rhDataLoading: boolean; /** 是否显示选择框 */ rhCheckbox: boolean; /** 开启后端分页后的总条数 */ rhTotalCount: number; /** 是否显示序号 */ rhIsShowIndex: boolean; rhSelectedChange: EventEmitter; /** 切页事件 */ rhPageIndexChange: EventEmitter; rhClose: EventEmitter; rhCheckboxChange: EventEmitter; /** list item的样式 */ rhItemStyle: Record string)>; listItemStyle: Record; startPage: number; checked: boolean; displayDataset: RhBaseDto[]; /** 多选框 选择后得数据 */ checkboxItems: RhBaseDto[]; /** 可用的list字段数据列表 */ listFieldDataset: RhDynamicListFieldDto[]; /** list配置 */ hostConfig: RhDynamicListSettingDto; /** list数据来源 */ FieldTypeDataset: { Text: string; Value: string; }[]; /** 管道对应数据 */ pipeDatas: Record; rhPageIndex: number; /** grid 容器样式 */ containerStyle: { [propName: string]: string; }; displayModes: { Text: string; Value: import("rh-base/model").RhDisplayMode; }[]; /** 外部传入投影 */ templates: QueryList; gridAreaWidth: string; componentType: RhDynamicComponentType; constructor(operator: RhBaseDynamicService, fb: UntypedFormBuilder, router: Router, appConfigSer: RhAppConfigService, storageSer: RhStorageService); ngOnInit(): Promise; updateSettingDatas(): Promise; ngOnChanges(changes: SimpleChanges): void; close(): void; /** 新增字段 */ addListField(): void; deleteListField(): void; onSelectField(item: RhSafeAny): void; saveListDatas(): void; getDescriptionItemTemplate(name: string): TemplateRef | null; /** 字段配置form */ createConfigForm(dto: RhSafeAny): void; createHostConfigForm(dto: RhDynamicListSettingDto): void; resetConfigForm($event: Event | null): void; resetHostConfigForm($event: Event): void; openSettingModal($event: Event): void; resetListConfigInfo(): void; /** 恢复默认配置(删除用户自定义数据) */ resetUserListConfigInfo(): void; getListItemStyle(item: RhBaseDto): { [x: string]: any; }; /** 执行重置数据之后的回调 */ private resetListDatasHandler; fieldDataHandler(data: RhDynamicStorageDto): void; /** 获取list字段管道数据 */ getFieldPipeDataset(dataset: RhDynamicListFieldDto[]): void; onPageIndexChange(pager: PaginationDto): void; onBackEndPageIndexChange(pager: PaginationDto): void; onSelectItem(item: RhBaseDto): void; /** * 多选框选择 * @param event * @param item */ onCheckBoxChange(event: boolean, item: RhBaseDto): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }