import { AfterViewInit, EventEmitter, Injector, OnDestroy, OnInit } from '@angular/core';
import { DataListBase } from '../../classes/base/data-list-base';
import { FormState } from '../../classes/constants';
import { DialogModel } from '../../classes/form-schema';
import { GridInfo } from '../../models/grid-info';
import { ModuleConfigService } from '../../services/module-config.service';
import { CauHinhWorkflowService } from '../cauhinh-workflow/services/cauhinh-workflow.service';
import { DmLinhVucCongViecService } from '../dm-linhvuc-congviec/services/dm-linhvuc-congviec.service';
import { DmLoaiCongViecService } from '../dm-loai-congviec/services/dm-loai-congviec.service';
import { DmPriorityService } from '../dm-priority/services/dm-priority.service';
import { EnumStateByMenuCongViec } from '../models/enums';
import { BaseCongViecFormComponent } from './congviec-form/congviec-form.component';
import { CongViecDinhKemService } from './services/congviec-dinhkem.service';
import { CongViecThayDoiService } from './services/congviec-thaydoi.service';
import { CongViecService } from './services/congviec.service';
import { CongViecLienQuanService } from './services/congvieclienquan.service';
export declare class BaseCongViecComponent extends DataListBase implements OnInit, OnDestroy, AfterViewInit {
    protected _injector: Injector;
    protected _moduleConfigService: ModuleConfigService;
    protected _congViecService: CongViecService;
    protected _dmLoaiCongViecService: DmLoaiCongViecService;
    protected _dmLinhVucCongViecService: DmLinhVucCongViecService;
    protected _dmPriorityService: DmPriorityService;
    protected _cauHinhWorkflowService: CauHinhWorkflowService;
    private _congViecLienQuanService;
    private _congViecDinhKemService;
    private _congViecThayDoiService;
    congViecForm: BaseCongViecFormComponent;
    congViecPicker: BaseCongViecComponent;
    itemId: string;
    serviceCode: string;
    entity: string;
    itemIdAttach: string;
    stateCode: EnumStateByMenuCongViec;
    isPicker: boolean;
    loaiDanhSach: number;
    idCongViec: string;
    _ids: string[];
    set ids(value: string[]);
    get ids(): string[];
    isFromDashboard: boolean;
    formState: FormState;
    isChildView: boolean;
    idsChange: EventEmitter<string[]>;
    searchSchema: any;
    searchData: any;
    dicWorkflowByLoaiCongViec: {};
    dicLoaiCongViec: {};
    congViecViewModel: DialogModel;
    loaiCongViecModel: DialogModel;
    showPickerForm: boolean;
    hiddenAdd: boolean;
    hiddenEdit: boolean;
    hiddenDelete: boolean;
    typedLink: string;
    constructor(_injector: Injector, _moduleConfigService: ModuleConfigService, _congViecService: CongViecService, _dmLoaiCongViecService: DmLoaiCongViecService, _dmLinhVucCongViecService: DmLinhVucCongViecService, _dmPriorityService: DmPriorityService, _cauHinhWorkflowService: CauHinhWorkflowService, _congViecLienQuanService: CongViecLienQuanService, _congViecDinhKemService: CongViecDinhKemService, _congViecThayDoiService: CongViecThayDoiService);
    ngOnInit(): void;
    createSchemaSearch(): void;
    ngOnDestroy(): void;
    modifyGridInfo(gridInfo?: GridInfo): Promise<boolean>;
    getIdsCongViecByItemIdAttach(): Promise<any>;
    beforeRenderDataSource(dataSource: any): Promise<void>;
    getPromiseGetData(gridInfo: GridInfo): Promise<import("../../public-api").ResponseResult>;
    getIdsCongViecLienQuan(): Promise<any[]>;
    /**
     * Thêm công việc
     * Sẽ mở lên form để chọn loại công việc trước rồi mới mở form thêm mới công việc
     */
    addCongViec(evt: any): void;
    showFormAddTask(evt: any): void;
    beforeAdd(): Promise<void>;
    handleChangedStatusWorkflow(itemId: any): void;
    onChonCongViec(): void;
    triggerSyncPermission(): void;
    handleSaved(data: any): void;
    handleAfterInserted(id: string): void;
    beforeReloadAfterDelete(ids: string[]): void;
    processDelete(ids?: any[]): void;
    deleteCongViecTheoLoaiDanhSach(rowData: any): void;
    onSelectCongViec(): void;
    insertCongViecLienQuan(items?: any[]): void;
    insertCongViecCon(model: any): void;
}
//# sourceMappingURL=congviec.component.d.ts.map