import { DestroyRef, OnInit } from '@angular/core'; import { CoreI18nService, CoreService, SidenavService } from '../../../services'; import { Form, Section } from '../../../interfaces'; import * as i0 from "@angular/core"; export declare class FormSectionComponent implements OnInit { i18n: CoreI18nService; private readonly coreService; private readonly sidenavService; userType: string; popoverType: string; requestDetails: Section; userPopoverInfo: any; section: Section; form: Form; lov: any; isReadOnly: boolean; controllers: any; segmentDynamicLoaderService: any; sectionFormComponent: any; sectionName: string; sectionStatusKey: string; recipient: { isShowing: boolean; profile: any; }; delegate: { isShowing: boolean; profile: any; }; input: any; processingDate: string; destroyRef: DestroyRef; constructor(i18n: CoreI18nService, coreService: CoreService, sidenavService: SidenavService); /** * Method to initialize various components when the component is initialized. * * @return {void} */ ngOnInit(): void; /** * Initializes the section form component by fetching it from the segment dynamic loader service. * * @return {void} */ private initSectionFormComponent; /** * Initializes the section name based on the provided section data. * If the section's body contains a 'stageName' property, the section name is set to the value of that property. * Otherwise, the section name is retrieved using the segmentDynamicLoaderService based on the section ID. * * @return {void} */ private initSectionName; /** * Initializes the input object with the provided values for read-only status, list of values, section, and form. * * @return {void} */ private initInput; /** * Initializes the processing date based on the section's header processing date. * If the processing date is available in the section header, it formats the processing date * and assigns it to the processingDate property of the instance. * * @return {void} */ private initProcessingDate; /** * Check if the section is expanded. * * @return {boolean} Returns true if the section is expanded, false otherwise. */ get isExpanded(): boolean; /** * Create a ProfileInfoDrop object from the response object. * * @param {any} response - The response object containing user profile information. * * @return {ProfileInfoDrop} A ProfileInfoDrop object created from the response data. */ private createUserProfileFromResponse; /** * Method to open or create a user profile. * * @param {ProfileInfoDrop} userData - The user profile data to open or create. * @param {string} personType - The type of person this profile belongs to. * * @return {void} */ private openOrCreateUserProfile; /** * Toggles the display of small profile information for a given person type * * @param {any} event - The event that triggered the toggle * @param {string} personType - The type of person for which to display the profile information * * @return {void} */ toggleSmallProfileInfo(event: any, personType: string): void; /** * Retrieves the email of the user based on the personType parameter. * * @param {string} personType - Type of the person ('recipient' or others). * @return {string} - The email address of the user. */ private getUserEmail; /** * Fetches the user profile using the provided user email and person type, then sets the profile. * * @param {string} userEmail - The email of the user whose profile is to be fetched and set. * @param {string} personType - The type of person (e.g., employee, customer) for whom the profile is being fetched. * * @return {void} */ private fetchAndSetUserProfile; /** * Returns the CSS class associated with the input status. * * @param {string} status - The status for which the CSS class is needed. * @return {string} - The CSS class corresponding to the given status. */ statusClass(status: string): string; /** * Returns the icon associated with the provided status. * * @param {string} status - The status for which to retrieve the icon. * @return {string} The icon corresponding to the provided status. */ statusIcon(status: string): string; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }