{ "version": 3, "sources": ["src/app/features/modals/success-modal/success-modal.component.ts", "src/app/features/modals/success-modal/success-modal.component.html"], "sourcesContent": ["import { CommonModule } from '@angular/common';\nimport { Component } from '@angular/core';\nimport { Router } from '@angular/router';\nimport { TranslateModule } from '@ngx-translate/core';\nimport { DynamicDialogConfig, DynamicDialogRef } from 'primeng/dynamicdialog';\nimport { ButtonComponent } from '../../../shared/button/button.component';\n\n@Component({\n selector: 'app-success-modal',\n standalone: true,\n imports: [TranslateModule, CommonModule, ButtonComponent],\n templateUrl: './success-modal.component.html',\n styleUrl: './success-modal.component.scss',\n})\nexport class SuccessModalComponent {\n headingContent: string = '';\n contentName: string = '';\n isEmployeeId: boolean = false;\n isLoginSuccess: boolean = false;\n codeContent:string = '';;\n\n constructor(\n public config: DynamicDialogConfig,\n private router: Router,\n private ref: DynamicDialogRef\n ) {}\n\n ngOnInit(): void {\n if (this.config.data) {\n this.headingContent = this.config.data.headingContent;\n this.contentName = this.config.data.contentName;\n this.isEmployeeId = this.config.data.isEmployeeId;\n this.isLoginSuccess = this.config.data.isLoginSuccess;\n // this.codeContent = this.config.data.codeContent;\n }\n }\n\n onLogin() {\n this.ref.close();\n this.router.navigate(['/login']);\n }\n}\n", "
\n {{ \"EMPLOYEE_ID\" | translate }} \n {{codeContent}}\n {{ contentName }} {{ headingContent | translate }}\n
\n{{ \"LOGOUT_SUCCESS.FIRST\" | translate }}
\n{{ \"LOGOUT_SUCCESS.SECOND\" | translate }}
\n