import { OnDestroy, OnInit } from '@angular/core'; import { MatDialogRef } from '@angular/material/dialog'; import { Subscription } from 'rxjs'; import { EaCService } from '../../services/eac.service'; import { ProjectService } from '../../services/project.service'; import { ApplicationsFlowState, LicenseAndBillingResponse } from '../../state/applications-flow.state'; import * as i0 from "@angular/core"; export declare class UserAccountDialogComponent implements OnInit, OnDestroy { protected dialogRef: MatDialogRef; protected eacSvc: EaCService; data: ApplicationsFlowState; protected projectSvc: ProjectService; /** * Optional feedback given by user */ CancellationFeedback: string; /** * The Billing cycle for the lcu */ BillingCycle: string; /** * The Users Billing State */ /** * The Expiration date of the free trial for the given user */ ExpirationDate: Date; /** * The Users State */ /** * The users username from the state */ Username: string; /** * The IDE state */ /** * Determines which state the modal is in user account info or cancellation */ IsUserAccount: boolean; /** * Determines if the user is on the main user account slide or the managing subscription slide */ ManagingSubscription: boolean; /** * The next billing date converted to string */ NextBillingDate: Date; /** * Determines which text to show on the cansellation modal when user is confirming */ IsInitialReason: boolean; /** * The users Package */ Package: string; /** * Reasons for leaving the platform to be displayed when user cancels */ /** * Selected reason for leaving */ ReasonForLeaving: string; /** * Date the user has been rgistered since */ RegisteredSince: Date; UserInfo: LicenseAndBillingResponse; State: ApplicationsFlowState; StateSub: Subscription; UserPlan: string; /** * The interval of the plan ie annual or Monthly */ PlanInterval: string; constructor(dialogRef: MatDialogRef, eacSvc: EaCService, data: ApplicationsFlowState, projectSvc: ProjectService); ngOnInit(): void; ngOnDestroy(): void; ChangePassword(): void; /** * Logs out the user */ Logout(): void; /** * Toggles ManagingSubscription to true * * (May build out further functionality later) */ ManageSubscription(): void; /** * Toggles ManagingSubscription to false in order to exit the editing state */ GoBackToUserAccount(): void; /** * Leads to subscription cancellation modal */ DisplayCancelSubscription(): void; /** * Cancels the subscription and toggles IsInitialReason to false to go to next screen */ CancelSubscription(): void; /** * Sends user to area where they can upgade their plan */ ChangePlan(): void; /** * Checks to see if the user has selected a reason why * they are canceling to enable the confirmation button */ /** * Closes the dialog while also checking to see if the user supplied any additional feedback */ Close(): void; /** * Assigns the info that is displayed in the user account */ protected userStateChanged(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }