import { AfterViewInit, ChangeDetectorRef, OnInit } from '@angular/core'; import { NzMessageService, NzTableQueryParams } from 'ng-zorro-antd'; import { STData } from '@delon/abc'; import { ModalHelper, DrawerHelper } from '@delon/theme'; import { SFSchema } from '@delon/form'; import { Router } from "@angular/router"; import { DynamicComponentGridFormService } from './service/dynamic-component-grid-form.service'; import { DynamicCol } from '../common/dynamic-col'; import { DynamicComponentGridFormGetMetaInfoParameter, DynamicComponentGridFormGetMetaInfoTool } from './service/model/models'; import { DynamicComponentGridFormGetMetaInfoForm } from './service/model/dynamicComponentGridFormGetMetaInfoForm'; import { ITokenService } from '@delon/auth'; export declare class LcGridFormComponent implements AfterViewInit, OnInit { private msg; private modal; private router; private service; private cd; private drawer; private tokenService; parentModel: any; parentId: any; _windowFormId: string; set windowFormId(value: string); get windowFormId(): string; formData: any; parameter: any; dataSource: any[]; cols: DynamicCol[]; formParameters: DynamicComponentGridFormGetMetaInfoParameter[]; checkList: STData[]; searchSchema: SFSchema; /** * 窗体信息 */ form: DynamicComponentGridFormGetMetaInfoForm; /** * 工具栏信息 */ tools: DynamicComponentGridFormGetMetaInfoTool[]; /** * 表格操作 */ gridTools: DynamicComponentGridFormGetMetaInfoTool[]; pageSize: number; pageIndex: number; /** * 总数量 */ total: any; isCollapse: boolean; scrollX: number; scrollY: string; get parameterSpan(): number; constructor(msg: NzMessageService, modal: ModalHelper, router: Router, service: DynamicComponentGridFormService, cd: ChangeDetectorRef, drawer: DrawerHelper, tokenService: ITokenService); /** * 加载元数据 */ load(): Promise; toggleCollapse(): void; resetForm(): void; search(): void; ngOnInit(): void; ngAfterViewInit(): void; updateClick(toolItem: DynamicComponentGridFormGetMetaInfoTool, i: any): void; view(rowData: any): void; /** * 按钮是否显示 * @param toolItem * @param item */ doIf(toolItem: DynamicComponentGridFormGetMetaInfoTool, item: any): any; doColFormat(item: any, col: DynamicCol, index: number): any; doOnClick(toolItem: DynamicComponentGridFormGetMetaInfoTool, i?: any): void; change(params: NzTableQueryParams): void; /** *查询当前页数据 * * @param {*} pageIndex * @param {*} pageSize * @memberof UsersComponent */ getPage(pageIndex: any, pageSize: any): void; /** * 设置总数量 * * @memberof UsersComponent */ setTotal(): void; getQueryParam(): any; visible: boolean; open(): void; close(): void; private formartParemeter; }