import { AuthService } from '../workflow-services/auth.service'; import { LogIssueService } from '../workflow-services/log-issue.service'; import { EventEmitter, OnInit, OnChanges, AfterViewInit } from '@angular/core'; import { EditorConfig } from 'vcomply-editor'; import { DatePickerComponent } from 'ng2-date-picker'; import { UiKitService } from '../workflow-services/ui-kit.service'; import { SnackBarService } from '../ui-kit/snack-bar/snack-bar.service'; export declare class LogAnIssueComponent implements OnInit, OnChanges, AfterViewInit { private logService; private authService; private uiKitService; private snackBar; openedFrom: any; reponsibiltyData: { responsibiltyId: string; responsibiltyName: string; }; pickerChanged: EventEmitter; populateOption: EventEmitter; closeWorkflow: EventEmitter; currentUser: any; datePicker: DatePickerComponent; scrollToBottom: boolean; datePickerOverlay: boolean; showDateError: boolean; selectedDate: any; showSmiley: boolean; loader: boolean; smileyMessage: string; issueData: any; actionButtons: { buttonText: string; class: string; id: string; }[]; createdData: any; description: EditorConfig; dateConfig: { disableKeypress: boolean; format: string; unSelectOnClick: boolean; openOnClick: boolean; openOnFocus: boolean; min: string; }; listData: { issueTypeList: never[]; userList: never[]; categoryList: never[]; rcList: never[]; }; logIssueForm: any; descriptionAttachmentTrack: any; additionalOptionStatus: any; riskClassification: { name: string; value: number; class: string; }[]; riskPrority: { name: string; value: number; class: string; }[]; sideSelectorElements: any; selectorConfig: { ISSUE_CATGORY: { panelTitle: string; floatingTextSingular: string; searchPlaceholder: string; searchEnabled: boolean; noDataText: string; }; ISSUE_RC: { panelTitle: string; floatingTextSingular: string; searchPlaceholder: string; searchEnabled: boolean; noDataText: string; }; ISSUE_WHO: { panelTitle: string; floatingTextSingular: string; searchPlaceholder: string; searchEnabled: boolean; noDataText: string; }; ISSUE_TYPE: { panelTitle: string; floatingTextSingular: string; searchPlaceholder: string; searchEnabled: boolean; noDataText: string; }; ISSUE_CC: { panelTitle: string; floatingTextSingular: string; searchPlaceholder: string; searchEnabled: boolean; selectAllEnabled: boolean; noDataText: string; }; ISSUE_FCC: { panelTitle: string; floatingTextSingular: string; searchPlaceholder: string; searchEnabled: boolean; selectAllEnabled: boolean; noDataText: string; }; }; fieldsWithError: any; hiddenList: any[]; activeField: string; activeSelector: string; listLoadingStatus: any; currentTime: string; constructor(logService: LogIssueService, authService: AuthService, uiKitService: UiKitService, snackBar: SnackBarService); ngOnInit(): void; ngAfterViewInit(): void; ngOnChanges(): void; setCurrentTime(): void; getCurrentTime(): string; setUserDetails(): void; fetchIssueTypes(): void; fetchUserList(): void; fetchCategoryList(): void; fetchRCList(): void; /** * This functioj check weather all the required lists are loaded * If loaded hides the loader otherwise shows the loader. */ checkAllListLoaded(): void; /** * Removes error from the fiels with error to remove the error messag from the UI * @param errorKey error Identifier used to show error in specific fields. */ removeError(errorKey: string): void; openDatePicker(): void; closeDatePicker(evt: any): void; setActiveFieldSelector(activeField: string, activeSelector?: string): void; fieldDeselector(type: any): void; selectorAction(evt: any, type: any): void; deleteItem(type: any, element: any): void; assignMyself(event: any): void; setException(type: any): void; setEvidence(type: any): void; addMoreInfo(event: any): void; idToArray(selectedItems: any, listItems: any, filterkey: any): any; selectFilefromDescription(files: any): void; uploadFile(file: any): void; deleteFile(file: any): void; addIssue(): void; closeSmiley(evt?: any): void; closeWorkFlow(evt: any, confirm: any): void; action(evt: any): void; populateOptionalFields(): void; resetIssueForm(): void; checkDescription(): void; }