import { OnInit } from '@angular/core'; import { FormBuilder, FormControl, FormGroup } from '@angular/forms'; import { MatDialogRef } from '@angular/material/dialog'; import { MatSelect, MatSelectChange } from '@angular/material/select'; import { MatTableDataSource } from '@angular/material/table'; import { CookieService } from 'ngx-cookie'; import { ReplaySubject, Subject } from 'rxjs'; import { Action } from '../../interface/action'; import { AuthService } from '../../services/auth.service'; import { FeatureService } from '../../services/feature.service'; import { ActionService } from '../../services/action.service'; import { NotifierService } from '../../services/notifier.service'; import { UserQuery } from '../../../state/user/user.query'; import * as i0 from "@angular/core"; export declare class AddfeatureComponent implements OnInit { dialogRef: MatDialogRef; private fBuilder; private featureService; private authService; private cookies; private userQuery; private actionService; private notifierService; data: any; selectedValue: string; addFeatureForm: FormGroup; isError: boolean; environment: { production: boolean; api: { baseUrl: string; auth: { login: string; userAuthentication: string; changePassword: string; getUsers: string; jwtToken: string; user_like: string; user_snowlike: string; searchSolution: string; searchSolutionDetail: string; updateUser: string; activeUser: string; deleteUser: string; getUser: string; addAction: string; updateAction: string; deleteAction: string; getAction: string; getActionById: string; addFeature: string; updateFeature: string; deleteFeature: string; getFeature: string; getFeatureByID: string; }; }; keys: { ENCRYPT_DECRYPT_KEY: string; IV: string; }; }; errMsg: string; showErrMsg: boolean; addFeatureApiUrl: string; updateFeatureApiUrl: string; getFeatureByIdUrl: string; getAllActionsApiUrl: string; features: FormControl; featureList: string[]; featureId: string; actionList: any[]; displayedColumns: string[]; dataSource: MatTableDataSource; selectedAction: any; isBtnAddShow: boolean; selectedActionList: any[]; /** control for the selected action for multi-selection */ actionMultiCtrl: FormControl; /** control for the MatSelect filter keyword multi-selection */ actionMultiFilterCtrl: FormControl; /** list of action filtered by search keyword */ filteredActionsMulti: ReplaySubject; multiSelect: MatSelect; /** Subject that emits when the component has been destroyed. */ protected _onDestroy: Subject; isUpdate: boolean; dialogName: string; actionId: string; objFeature: any; objToPost: any; constructor(dialogRef: MatDialogRef, fBuilder: FormBuilder, featureService: FeatureService, authService: AuthService, cookies: CookieService, userQuery: UserQuery, actionService: ActionService, notifierService: NotifierService, data: any); ngOnInit(): void; initiateForm(): void; populateDataOnUpdate(obj: any): void; ngAfterViewInit(): void; ngOnDestroy(): void; /** * Sets the initial value after the filteredBanks are loaded initially */ protected setInitialValue(): void; filterActionsMulti(): void; selectActions(event: MatSelectChange): void; handleAddActionBtn(): void; handleDeleteItem(index: number): void; handleSubmitBtn(): void; callAddFeatureApi(): void; callUpdateFeatureApi(): void; callGetFeaturebyIdApi(): void; getActionsList(getAllActionsApiUrl: any): void; callRefreshTokenAPI(objData: any): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }