import { RhDynamicCardFieldDto, RhDynamicCardSettingDto } from 'rh-base/model'; import { OnInit, EventEmitter, QueryList } from '@angular/core'; import { RhSafeAny, RhBaseDto, RhSelectItem, RhDynamicStorageDto, RhDynamicComponentType } 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 { RhBaseDynamicService } from '../base-dynamic.service'; import { RhTemplateDirective } from './../../directives/template.directive'; import * as i0 from "@angular/core"; export declare class DynamicCardComponent extends RhDynamicBase implements OnInit { fb: UntypedFormBuilder; router: Router; rhMode: 'default' | 'number'; /** 要显示的数据源 */ rhDatasource: RhBaseDto; rhSelectedChange: EventEmitter; /** 可用的list字段数据列表 */ cardFieldDataset: RhDynamicCardFieldDto[]; /** list配置 */ hostConfig: RhDynamicCardSettingDto; /** card数据来源 */ FieldTypeDataset: { Text: string; Value: string; }[]; /** 管道对应数据 */ pipeDatas: Record; rhPageIndex: number; /** grid 容器样式 */ containerStyle: { [propName: string]: string; }; /** number类型数据容器样式 */ numberContainerStyle: { [propName: string]: string; }; displayModes: { Text: string; Value: import("rh-base/model").RhDisplayMode; }[]; /** 外部传入投影 * // TODO: 功能未实现 */ templates: QueryList; componentType: RhDynamicComponentType; constructor(operator: RhBaseDynamicService, fb: UntypedFormBuilder, router: Router, appconfigSer: RhAppConfigService, storageSer: RhStorageService); ngOnInit(): Promise; updateSettingDatas(): Promise; /** 新增字段 */ addListField(): void; deleteListField(): void; onSelectField(item: RhSafeAny): void; saveListDatas(): void; /** 字段配置form */ createConfigForm(dto: RhSafeAny): void; createHostConfigForm(dto: RhDynamicCardSettingDto): void; resetConfigForm($event: Event | null): void; resetHostConfigForm($event: Event): void; openSettingModal($event: Event): void; resetListConfigInfo(): void; /** 恢复默认配置(删除用户自定义数据) */ resetUserListConfigInfo(): void; /** 执行重置数据之后的回调 */ private resetListDatasHandler; fieldDataHandler(data: RhDynamicStorageDto): void; /** 获取list字段管道数据 */ getFieldPipeDataset(dataset: RhDynamicCardFieldDto[]): Promise; onSelectItem(item: RhBaseDto): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }