import { OnDestroy, OnInit } from '@angular/core'; import { EditorConfig } from '@vcomply/editor'; import { DatePickerComponent } from 'ng2-date-picker'; import { DatePipe } from '@angular/common'; import { DialogRef } from '../../ui-kit/dialog/dialog-ref'; import { DialogConfig } from '../../ui-kit/dialog/dialog-config'; import { AuthService } from '../services/auth.service'; import { SnackBarService } from '../../ui-kit/snack-bar/snack-bar.service'; import { QuickViewService } from '../services/quick-view.service'; import { SubSink } from '../../subsink.class'; import * as i0 from "@angular/core"; export declare class CreateControlNotOnVComplyComponent implements OnInit, OnDestroy { private dialog; private dialogConfig; private auth; private snackbar; private datePipe; private quickViewService; datePicker: DatePickerComponent; datepickerOverlay: boolean; userName: string; hideUser: boolean; dateConfig: any; date: Date; userDetails: any; isUserEdit: boolean; selectedUser: any; addControls: any; isLoader: boolean; pageName: any; dateValue: string; subscriptions: SubSink; constructor(dialog: DialogRef, dialogConfig: DialogConfig, auth: AuthService, snackbar: SnackBarService, datePipe: DatePipe, quickViewService: QuickViewService); errorInfo: { title: string; userName: string; due_date_timestamp: string; }; ngOnInit(): void; close(): void; onKeydownHandler(event: KeyboardEvent): void; editorConfig: EditorConfig; /** * If the event is truthy, then set the selectedUser to the event, set the userName to the event's * member_name, set the errorInfo.userName to an empty string, and set the * addControls.not_vcomply_user to an empty string. * * If the event is falsy, then do nothing. * @param {any} event - any - the event that is triggered when a user is selected from the dropdown */ getSelectedUser(event: any): void; removeUser(): void; openDatePicker(): void; closeDatepicker(): void; showUser(): void; /** * Validating the form input fields * @param {string} event - string -> the value of the input field * @param {string} type - string -> this is the type of the input field */ validate(event: string, type: string): void; get isValid(): any; focusOut(type: string): void; /** * Set the payload to an object with the following properties: * * control_name: the addControls.title * not_vcomply_user: the addControls.not_vcomply_user or an empty string when vcomply_user is selected * description: description is added * assignee_id: the object id of selected vcomply user or an empty string if no user selected * due_date_timestamp: utc timestamp of the selected date (previous dates can be selected) * created_by: the object id of the user creating the control * * createNotOnVcomplyControl: API call to controls create not on vcomply */ saveNotOnVcomply(): void; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }