{ "version": 3, "sources": ["apps/partner-center-client/src/app/common/banner/banner.component.ts", "apps/partner-center-client/src/app/common/banner/banner.component.html", "apps/partner-center-client/src/app/common/v-dialog.component.ts", "apps/partner-center-client/src/app/marketplace-app/pricing-details/pricing-details-dialog.service.ts", "apps/partner-center-client/src/app/marketplace-app/pricing-details/pricing-details-breakdown.component.ts", "apps/partner-center-client/src/app/marketplace-app/pricing-details/pricing-details-breakdown.component.html", "apps/partner-center-client/src/app/marketplace-app/pricing-details/pricing-details-dialog.component.ts", "apps/partner-center-client/src/app/marketplace-app/pricing-details/pricing-details-dialog.component.html", "apps/partner-center-client/src/app/marketplace-app/pricing-details/pricing-details.module.ts", "apps/partner-center-client/src/app/activation/shared/shared.module.ts", "apps/partner-center-client/src/app/marketplace-app/store/category.ts", "apps/partner-center-client/src/app/marketplace-app/store/manage-store.service.ts"], "sourcesContent": ["import { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, Input, OnInit } from '@angular/core';\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatIconModule } from '@angular/material/icon';\nimport { TranslateModule } from '@ngx-translate/core';\nimport { FailedPaymentsService } from '../../billing/failed-payments/failed-payments.service';\n\n/** replace with glxy-alert */\n@Component({\n standalone: true,\n imports: [CommonModule, MatButtonModule, MatIconModule, TranslateModule],\n selector: 'app-status-banner',\n templateUrl: './banner.component.html',\n styleUrls: ['./banner.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BannerComponent implements OnInit {\n @Input() statusText: string;\n @Input() type: string;\n @Input() border = true;\n @Input() actionTitle: string;\n @Input() actionCallback: () => void;\n @Input() buttonType = 'link';\n private styleMaps = {\n info: {\n icon: 'info outline',\n type: 'info',\n },\n 'warn-soft': {\n icon: 'info outline',\n type: 'warn',\n },\n warn: {\n icon: 'warning',\n type: 'warn',\n },\n error: {\n icon: 'warning',\n type: 'error',\n },\n 'billing-error': {\n icon: 'lock',\n type: 'error',\n },\n };\n icon: string;\n\n constructor(private failedPaymentsService: FailedPaymentsService) {}\n\n ngOnInit(): void {\n this.icon = this.styleMaps[this.type].icon;\n this.type = this.styleMaps[this.type].type;\n if (!this.buttonType) {\n this.buttonType = 'link';\n }\n }\n}\n", "
{{ content }}
\n \n