{
"version": 3,
"sources": ["apps/partner-center-client/src/app/checkout/checkout.module.ts", "apps/partner-center-client/src/app/snapshot-scorecard/dynamic.component.ts", "apps/partner-center-client/src/app/snapshot-scorecard/snapshot-scorecard.service.ts", "apps/partner-center-client/src/app/snapshot-scorecard/snapshot.directive.ts", "apps/partner-center-client/src/app/snapshot-scorecard/snapshot-scorecard.component.ts", "apps/partner-center-client/src/app/snapshot-scorecard/snapshot-scorecard.module.ts"],
"sourcesContent": ["import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatCheckboxModule } from '@angular/material/checkbox';\nimport { MatDialogModule } from '@angular/material/dialog';\nimport { MatIconModule } from '@angular/material/icon';\nimport { MatTooltipModule } from '@angular/material/tooltip';\nimport { RouterModule } from '@angular/router';\nimport { TranslateModule } from '@ngx-translate/core';\nimport { GalaxyAlertModule } from '@vendasta/galaxy/alert';\nimport { InstantBillPaymentInfo } from '.';\nimport { PricePipe } from '../common/pipes/price.pipe';\nimport { SubscriptionTierModule } from '../subscription-tier/subscription-tier.module';\nimport { CheckoutDialogComponent } from './checkout-dialog.component';\nimport { CheckoutService } from './checkout.service';\n\n@NgModule({\n imports: [\n CommonModule,\n MatCheckboxModule,\n MatDialogModule,\n MatButtonModule,\n MatTooltipModule,\n SubscriptionTierModule,\n GalaxyAlertModule,\n TranslateModule,\n RouterModule,\n MatIconModule,\n ReactiveFormsModule,\n PricePipe,\n ],\n exports: [InstantBillPaymentInfo],\n declarations: [InstantBillPaymentInfo, CheckoutDialogComponent],\n providers: [CheckoutService],\n})\nexport class CheckoutModule {}\n", "import { Component, EventEmitter, Input, Output } from '@angular/core';\n\n@Component({\n template: `\n \n `,\n})\nexport class SnapshotDynamicScorecardComponent {\n @Input() accountGroupId: string;\n @Input() partnerId: string;\n @Input() trackingCategory: string;\n @Input() showEditButton: boolean;\n\n @Output() refreshReportClickedEvent: EventEmitter = new EventEmitter();\n\n onSnapshotRefreshClick(): void {\n this.refreshReportClickedEvent.emit();\n }\n}\n", "import { ComponentFactoryResolver, ComponentRef, Injectable } from '@angular/core';\n\n@Injectable()\nexport class SnapshotScorecardService {\n private componentRef: ComponentRef;\n\n constructor(private componentFactoryResolver: ComponentFactoryResolver) {}\n\n createComponent(component: any, directive: any): ComponentRef {\n const componentInstance = component;\n\n const componentFactory = this.componentFactoryResolver.resolveComponentFactory(componentInstance);\n const viewContainerRef = directive.viewContainerRef;\n viewContainerRef.clear();\n\n this.componentRef = viewContainerRef.createComponent(componentFactory);\n return this.componentRef;\n }\n}\n", "// tslint:disable: directive-selector\nimport { Directive, ViewContainerRef } from '@angular/core';\n\n@Directive({\n selector: '[appSnapshotDynamicComponent]',\n})\nexport class SnapshotDynamicComponentDirective {\n constructor(public viewContainerRef: ViewContainerRef) {}\n}\n", "import { Component, ComponentRef, EventEmitter, Input, OnChanges, OnDestroy, Output, ViewChild } from '@angular/core';\nimport { Subscription } from 'rxjs';\nimport { SnapshotDynamicScorecardComponent } from './dynamic.component';\nimport { SnapshotScorecardService } from './snapshot-scorecard.service';\nimport { SnapshotDynamicComponentDirective } from './snapshot.directive';\n\n@Component({\n selector: 'app-snapshot-scorecard',\n template: `\n \n \n \n \n \n \n `,\n})\nexport class SnapshotScorecardComponent implements OnChanges, OnDestroy {\n @Input() accountGroupId: string;\n @Input() partnerId: string;\n @Input() trackingCategory: string;\n @Input() trigger: any;\n @Input() showEditButton: boolean;\n\n @Output() refreshReportClickedEvent: EventEmitter = new EventEmitter();\n\n @ViewChild(SnapshotDynamicComponentDirective, { static: true })\n snapshotDynamicComponent: SnapshotDynamicComponentDirective;\n componentRef: ComponentRef;\n subscriptions: Subscription[] = [];\n\n constructor(private snapshotScorecardService: SnapshotScorecardService) {}\n\n ngOnChanges(): void {\n this.componentRef = this.snapshotScorecardService.createComponent(\n SnapshotDynamicScorecardComponent,\n this.snapshotDynamicComponent,\n );\n this.componentRef.instance.accountGroupId = this.accountGroupId;\n this.componentRef.instance.partnerId = this.partnerId;\n this.componentRef.instance.trackingCategory = this.trackingCategory;\n this.componentRef.instance.showEditButton = this.showEditButton;\n this.subscriptions.push(\n this.componentRef.instance.refreshReportClickedEvent.subscribe(() => this.refreshClicked()),\n );\n }\n\n refreshClicked(): void {\n this.refreshReportClickedEvent.emit();\n }\n\n ngOnDestroy(): void {\n this.subscriptions.forEach((s) => s.unsubscribe());\n }\n}\n", "import { NgModule } from '@angular/core';\n\nimport { ScorecardModule } from '@galaxy/snapshot';\nimport { SideDrawerModule } from '../side-drawer/side-drawer.module';\nimport { SnapshotDynamicScorecardComponent } from './dynamic.component';\nimport { SnapshotScorecardComponent } from './snapshot-scorecard.component';\nimport { SnapshotDynamicComponentDirective } from './snapshot.directive';\n\nimport { TranslateModule } from '@ngx-translate/core';\nimport { DynamicOpenCloseTemplateRefService } from '../side-drawer/dynamic-open-close-template-ref.service';\n\nimport { SnapshotScorecardService } from './snapshot-scorecard.service';\n\n@NgModule({\n imports: [ScorecardModule, SideDrawerModule, TranslateModule],\n exports: [SnapshotScorecardComponent, SnapshotDynamicScorecardComponent, SnapshotDynamicComponentDirective],\n declarations: [SnapshotScorecardComponent, SnapshotDynamicScorecardComponent, SnapshotDynamicComponentDirective],\n providers: [DynamicOpenCloseTemplateRefService, SnapshotScorecardService],\n})\nexport class SnapshotScorecardModule {}\n"],
"mappings": "2uBAoCA,IAAaA,IAAc,IAAA,CAArB,IAAOA,EAAP,MAAOA,CAAc,yCAAdA,EAAc,sBAAdA,CAAc,CAAA,2BAFd,CAACC,CAAe,EAACC,QAAA,CAf1BC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,CAAmB,CAAA,CAAA,EAOjB,IAAOb,EAAPc,SAAOd,CAAc,GAAA,ECtB3B,IAAae,GAAiC,IAAA,CAAxC,IAAOA,EAAP,MAAOA,CAAiC,CAZ9CC,aAAA,CAkBY,KAAAC,0BAAgD,IAAIC,E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AA,CAAA,8CAQvB,IAAOrC,EAAPsC,SAAOtC,CAA0B,GAAA,ECEvC,IAAauC,IAAuB,IAAA,CAA9B,IAAOA,EAAP,MAAOA,CAAuB,yCAAvBA,EAAuB,sBAAvBA,CAAuB,CAAA,2BAFvB,CAACC,EAAoCC,CAAwB,EAACC,QAAA,CAH/DC,EAAiBC,EAAkBC,CAAe,CAAA,CAAA,EAKxD,IAAON,EAAPO,SAAOP,CAAuB,GAAA",
"names": ["CheckoutModule", "CheckoutService", "imports", "CommonModule", "MatCheckboxModule", "MatDialogModule", "MatButtonModule", "MatTooltipModule", "SubscriptionTierModule", "GalaxyAlertModule", "TranslateModule", "RouterModule", "MatIconModule", "ReactiveFormsModule", "_CheckoutModule", "SnapshotDynamicScorecardComponent", "constructor", "refreshReportClickedEvent", "EventEmitter", "onSnapshotRefreshClick", "emit", "selectors", "inputs", "accountGroupId", "partnerId", "trackingCategory", "showEditButton", "outputs", "decls", "vars", "consts", "template", "rf", "ctx", "\u0275\u0275elementStart", "\u0275\u0275listener", "\u0275\u0275elementEnd", "\u0275\u0275property", "\u0275\u0275pipeBind1", "_SnapshotDynamicScorecardComponent", "SnapshotScorecardService", "constructor", "componentFactoryResolver", "createComponent", "component", "directive", "componentInstance", "componentFactory", "resolveComponentFactory", "viewContainerRef", "clear", "componentRef", "\u0275\u0275inject", "ComponentFactoryResolver", "factory", "\u0275fac", "_SnapshotScorecardService", "SnapshotDynamicComponentDirective", "constructor", "viewContainerRef", "\u0275\u0275directiveInject", "ViewContainerRef", "selectors", "_SnapshotDynamicComponentDirective", "SnapshotScorecardComponent", "constructor", "snapshotScorecardService", "refreshReportClickedEvent", "EventEmitter", "subscriptions", "ngOnChanges", "componentRef", "createComponent", "SnapshotDynamicScorecardComponent", "snapshotDynamicComponent", "instance", "accountGroupId", "partnerId", "trackingCategory", "showEditButton", "push", "subscribe", "refreshClicked", "emit", "ngOnDestroy", "forEach", "s", "unsubscribe", "\u0275\u0275directiveInject", "SnapshotScorecardService", "selectors", "viewQuery", "rf", "ctx", "SnapshotDynamicComponentDirective", "\u0275\u0275elementStart", "\u0275\u0275element", "\u0275\u0275template", "SnapshotScorecardComponent_ng_template_4_Template", "\u0275\u0275elementEnd", "\u0275\u0275property", "\u0275\u0275pipeBind1", "_SnapshotScorecardComponent", "SnapshotScorecardModule", "DynamicOpenCloseTemplateRefService", "SnapshotScorecardService", "imports", "ScorecardModule", "SideDrawerModule", "TranslateModule", "_SnapshotScorecardModule"]
}