import { OnInit, OnDestroy } from '@angular/core'; import { FormGroup } from '@angular/forms'; import { FilterItem, MultiLingualTextBoxOptions, PagingOptions, TextBoxOptions, FormOptions, ConfirmationModalOptions, PagingComponent, ConfirmationModalComponent, DropdownOptions, PermissionSets, DropdownListComponent } from '@bnsights/bbsf-controls'; import { DepartmentService } from '../../shared/Services/DepartmentService.service'; import { DepartmentModel } from '../../shared/models/DepartmentModels/DepartmentModel'; import { PageInfoService } from '../../../_metronic/core/services/page-info.service'; import { NgbModal } from '@ng-bootstrap/ng-bootstrap'; import { AuthService, EnvironmentService, UtilityService, RequestHandlerService } from '@bnsights/bbsf-utilities'; import { Observable } from 'rxjs'; import * as i0 from "@angular/core"; export declare class DepartmentComponent implements OnInit, OnDestroy { private environmentService; private departmentService; private modalService; private authService; utilityService: UtilityService; private pageInfoService; private requestHandlerService; ProductionMode: boolean; ApiUrl: string; DepartmentForm: FormGroup<{}>; searchTextBox: TextBoxOptions; TextInputFilter: FilterItem; IsFilterLoaded: boolean; DepartmentPaging: PagingOptions; DepartmentPagingResult: any[]; DepartmentFilteredList: any[]; sectorsList: any[]; pagingElement: PagingComponent; AddDepartmentForm: FormGroup<{}>; AddDepartmentFormOptions: FormOptions; AddName: MultiLingualTextBoxOptions; AddSamAccount: TextBoxOptions; AddSectorOptions: DropdownOptions; EditDepartmentForm: FormGroup<{}>; EditDepartmentFormOptions: FormOptions; EditName: MultiLingualTextBoxOptions; EditSamAccount: TextBoxOptions; EditSectorOptions: DropdownOptions; DepartmentId: string; deleteDepartmentId: string; DeleteConfirmationOptions: ConfirmationModalOptions; deleteControlLoaded: boolean; ConfirmationModalControl: ConfirmationModalComponent; adminWithMultitenanEnabled: boolean; organizationOptions: DropdownOptions; organizationsFilter: FilterItem; currentUserProfile: any; permissionSets: typeof PermissionSets; IsFilterDataLoaded: boolean; addOrganizations: DropdownOptions; editOrganizations: DropdownOptions; addEditOrganizationList: any[]; organizationDDL: DropdownListComponent; constructor(environmentService: EnvironmentService, departmentService: DepartmentService, modalService: NgbModal, authService: AuthService, utilityService: UtilityService, pageInfoService: PageInfoService, requestHandlerService: RequestHandlerService); ngOnInit(): void; initializePage(): void; setDepartmentListResult(result: DepartmentModel[]): void; loadLists(): void; showAddDepartmentModal(addDepartmentModal: any): void; getAddDepartmentModel: () => any[]; getAddDepartmentFunction: (addModel: any) => Observable; onAddDepartmentSuccess: (result: any) => void; onAddDepartmentError: (error: any) => void; showEditDepartmentModal(departmentId: string, editDepartmentModal: any): void; getEditDepartmentModel: () => any[]; getEditDepartmentFunction: (editModel: any) => Observable; onEditDepartmentSuccess: (result: any) => void; onEditDepartmentError: (error: any) => void; showDeleteDepartmentModal(departmentIdEnc: any): void; deleteDepartment: (id: string) => Observable; /**FunctionName:filterDepartmentList */ /**Declaration:function to filter DepartmentList in client-side */ /**Parameters:*/ /**searchValue: current value of search box*/ filterDepartmentList(searchValue: any): void; ngOnDestroy(): void; onOrganizationChanges(orgID: any, sectorsDDL: DropdownListComponent, isAdd?: boolean): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }