{ "version": 3, "sources": ["src/app/shared/shared.module.ts", "src/app/dashboard/shared/holding/holding-is-down-card/holding-is-down-card.component.ts", "src/app/dashboard/shared/holding/holding-is-down-card/holding-is-down-card.component.html", "src/app/dashboard/shared/holding/fundraising/export-fundraisings-menu/export-fundraisings-menu.component.ts", "src/app/dashboard/shared/holding/fundraising/export-fundraisings-menu/export-fundraisings-menu.component.html", "src/app/dashboard/shared/holding/distribution/distributions-tab/export-distributions-menu/export-distributions-menu.component.ts", "src/app/dashboard/shared/holding/distribution/distributions-tab/export-distributions-menu/export-distributions-menu.component.html", "src/app/shared/gp-shared.module.ts"], "sourcesContent": ["import { DragDropModule } from '@angular/cdk/drag-drop';\nimport { ScrollingModule } from '@angular/cdk/scrolling';\nimport { NgModule } from '@angular/core';\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\nimport { RouterModule } from '@angular/router';\nimport { CKEditorModule } from '@ckeditor/ckeditor5-angular';\nimport { FilestackModule } from '@filestack/angular';\nimport { ChartModule } from 'primeng/chart';\n\n\n@NgModule({\n imports: [\n RouterModule,\n FormsModule,\n ReactiveFormsModule,\n ChartModule,\n DragDropModule,\n ScrollingModule,\n CKEditorModule,\n FilestackModule,\n ],\n exports: [\n RouterModule,\n FormsModule,\n ReactiveFormsModule,\n ChartModule,\n DragDropModule,\n CKEditorModule,\n ScrollingModule,\n FilestackModule,\n ],\n providers: [],\n declarations: []\n})\nexport class SharedModule {\n}\n", "import { Component, OnInit, Input, ChangeDetectionStrategy } from '@angular/core';\nimport HoldingDiscriminator from 'src/app/shared/enums/HoldingDiscriminator.enum';\n\n@Component({\n selector: 'terra-holding-is-down-card',\n templateUrl: './holding-is-down-card.component.html',\n styleUrls: ['./holding-is-down-card.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush\n})\n\nexport class HoldingIsDownCardComponent implements OnInit {\n\n @Input() holdingDiscriminator: HoldingDiscriminator;\n @Input() isPrivate: boolean;\n\n get Holding() {\n return HoldingDiscriminator.toString(this.holdingDiscriminator);\n }\n\n get holding() {\n return this.Holding.toLowerCase();\n }\n\n constructor() { }\n\n ngOnInit() {\n }\n}\n", "\n \n \n {{Holding}} is down? {{ isPrivate ? \"Yes\" : \"No\" }}\n \n \n \n \n

\n What does this mean?\n

\n

\n When the {{holding}} is down, investors will not receive system updates, and the {{holding}} will not be available on their Investor\n Portal. We recommend moving the {{holding}} to down mode when you want to add information to the {{holding}} retroactively, without\n notifying your investors about each of the updates that you’re making. Once you’re done making changes, put the {{holding}} back up to\n make it available again on the Investor Portal.\n

\n
\n
\n", "import { ChangeDetectionStrategy, Component, Input, OnInit } from '@angular/core';\nimport { OnDestroyMixin, untilComponentDestroyed } from '@w11k/ngx-componentdestroyed';\nimport { BehaviorSubject } from 'rxjs';\n\nimport { GpFundraisingDataService } from 'src/app/services/gp/gp-fundraising-data.service';\nimport { SnackbarService } from 'src/app/services/snackbar.service';\nimport { UtilsService } from 'src/app/services/utils.service';\n\n@Component({\n selector: 'terra-export-fundraisings-menu',\n templateUrl: './export-fundraisings-menu.component.html',\n styleUrls: ['./export-fundraisings-menu.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class ExportFundraisingsMenuComponent extends OnDestroyMixin implements OnInit {\n\n @Input() holdingId: number = null;\n\n @Input() fundraisingId: number = null;\n\n public isExporting$ = new BehaviorSubject(false);\n\n constructor(\n private fundraisingsDataService: GpFundraisingDataService,\n private utilsService: UtilsService,\n private snackbarService: SnackbarService) {\n super();\n }\n\n ngOnInit(): void {\n }\n\n exportFundraisings(fileType: \"excel\" | \"csv\") {\n this.isExporting$.next(true);\n this.fundraisingsDataService\n .exportFundraisings(fileType, this.holdingId, this.fundraisingId)\n .pipe(untilComponentDestroyed(this))\n .subscribe(\n fileUrl => {\n if (!!fileUrl) {\n this.utilsService.downloadFileFromUrl(fileUrl);\n }\n this.isExporting$.next(false);\n },\n error => {\n this.snackbarService.showGeneralMessage(\"Failed exporting distributions. Please contact support.\");\n this.isExporting$.next(false);\n }\n );\n }\n}\n", "\n\n\n \n \n\n", "import { ChangeDetectionStrategy, Component, Input, OnInit } from '@angular/core';\nimport { OnDestroyMixin, untilComponentDestroyed } from '@w11k/ngx-componentdestroyed';\nimport { BehaviorSubject } from 'rxjs';\n\nimport { GpDistributionDataService } from 'src/app/services/gp/gp-distribution-data.service';\nimport { SnackbarService } from 'src/app/services/snackbar.service';\nimport { UtilsService } from 'src/app/services/utils.service';\n\n@Component({\n selector: 'terra-export-distributions-menu',\n templateUrl: './export-distributions-menu.component.html',\n styleUrls: ['./export-distributions-menu.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class ExportDistributionsMenuComponent extends OnDestroyMixin implements OnInit {\n\n @Input() holdingId: number = null;\n\n @Input() distributionId: number = null;\n\n public isExporting$ = new BehaviorSubject(false);\n\n constructor(\n private distributionDataService: GpDistributionDataService,\n private utilsService: UtilsService,\n private snackbarService: SnackbarService) {\n super();\n }\n\n ngOnInit(): void {\n }\n\n exportDistributions(fileType: \"excel\" | \"csv\") {\n this.isExporting$.next(true);\n this.distributionDataService\n .exportDistributions(fileType, this.holdingId, this.distributionId)\n .pipe(untilComponentDestroyed(this))\n .subscribe(\n fileUrl => {\n if (!!fileUrl) {\n this.utilsService.downloadFileFromUrl(fileUrl);\n }\n this.isExporting$.next(false);\n },\n error => {\n this.snackbarService.showGeneralMessage(\"Failed exporting distributions. Please contact support.\");\n this.isExporting$.next(false);\n }\n );\n }\n}\n", "\n\n\n \n \n\n", "import {NgModule} from '@angular/core';\nimport {SharedModule} from './shared.module';\nimport {MaterialModule} from './material.module';\nimport {CovercySharedComponentsModule} from './CovercySharedComponents.module';\nimport {HoldingIsDownCardComponent} from '../dashboard/shared/holding/holding-is-down-card/holding-is-down-card.component';\nimport {ExportFundraisingsMenuComponent} from '../dashboard/shared/holding/fundraising/export-fundraisings-menu/export-fundraisings-menu.component';\nimport {ExportDistributionsMenuComponent} from '../dashboard/shared/holding/distribution/distributions-tab/export-distributions-menu/export-distributions-menu.component';\n\n@NgModule({\n declarations: [\n HoldingIsDownCardComponent,\n ExportFundraisingsMenuComponent,\n ExportDistributionsMenuComponent\n ],\n imports: [\n SharedModule,\n MaterialModule,\n CovercySharedComponentsModule\n ],\n exports: [\n HoldingIsDownCardComponent,\n ExportFundraisingsMenuComponent,\n ExportDistributionsMenuComponent\n ]\n})\nexport class GpSharedModule {\n}\n"], "mappings": "mlBAkCA,IAAaA,IAAY,IAAA,CAAnB,IAAOA,EAAP,MAAOA,CAAY,yCAAZA,EAAY,sBAAZA,CAAY,CAAA,0BAtBrBC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EAGAP,EACAC,EACAC,EACAC,EACAC,EACAE,EACAD,EACAE,CAAe,CAAA,CAAA,EAKb,IAAOR,EAAPS,SAAOT,CAAY,GAAA,0DCxBZU,IAA0B,IAAA,CAAjC,IAAOA,EAAP,MAAOA,CAA0B,CAKrC,IAAIC,SAAO,CACT,OAAOC,EAAqBC,SAAS,KAAKC,oBAAoB,CAChE,CAEA,IAAIC,SAAO,CACT,OAAO,KAAKJ,QAAQK,YAAW,CACjC,CAEAC,aAAA,CAAgB,CAEhBC,UAAQ,CACR,yCAhBWR,EAA0B,sBAA1BA,EAA0BS,UAAA,CAAA,CAAA,4BAAA,CAAA,EAAAC,OAAA,CAAAN,qBAAA,uBAAAO,UAAA,WAAA,EAAAC,mBAAAC,GAAAC,MAAA,GAAAC,KAAA,EAAAC,OAAA,CAAA,CAAA,EAAA,iBAAA,EAAA,CAAA,EAAA,mBAAA,EAAA,CAAA,EAAA,kBAAA,CAAA,EAAAC,SAAA,SAAAC,EAAAC,EAAA,CAAAD,EAAA,UCVvCE,EAAA,EAAA,WAAA,CAAA,EAAkC,EAAA,iBAAA,EACf,EAAA,gBAAA,EAEbC,EAAA,CAAA,EAAqBD,EAAA,EAAA,GAAA,EAAGC,EAAA,CAAA,EAA8BC,EAAA,EAAI,EAE5DC,EAAA,CAAA,EACFD,EAAA,EACAF,EAAA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A,SAAA,CAAA,eAEEA,EAAA,EAAA,WAAA,CAAA,EAA8BC,EAAA,EAAA,QAAA,EAAMC,EAAA,EAAWD,EAAA,EAAA,SAAA,EAC/CE,EAAA,EAAAC,GAAA,EAAA,EAAA,eAAA,CAAA,eACFF,EAAA,EAEAF,EAAA,EAAA,WAAA,EAAA,CAAA,EAAmD,EAAA,SAAA,CAAA,EAC3BK,EAAA,QAAA,UAAA,CAAAC,OAAAC,EAAAC,CAAA,EAAAC,EAASV,EAAAvB,oBAAoB,OAAO,CAAC,CAAA,CAAA,EACzDyB,EAAA,GAAA,mBAAA,EACFC,EAAA,EACAF,EAAA,GAAA,SAAA,CAAA,EAAsBK,EAAA,QAAA,UAAA,CAAAC,OAAAC,EAAAC,CAAA,EAAAC,EAASV,EAAAvB,oBAAoB,KAAK,CAAC,CAAA,CAAA,EACvDyB,EAAA,GAAA,iBAAA,EACFC,EAAA,EAAS,qBAXXQ,EAAA,oBAAAC,CAAA,EAAgC,WAAAC,EAAA,EAAA,EAAAb,EAAA1B,YAAA,CAAA,EAEfwC,EAAA,CAAA,EAAAH,EAAA,OAAAE,EAAA,EAAA,EAAAb,EAAA1B,YAAA,CAAA;mGDWX,IAAOR,EAAPiD,SAAOjD,CAAiC,GAAA,EEW9C,IAAakD,IAAc,IAAA,CAArB,IAAOA,EAAP,MAAOA,CAAc,yCAAdA,EAAc,sBAAdA,CAAc,CAAA,0BAVvBC,GACAC,GACAC,EAA6B,CAAA,CAAA,EAQ3B,IAAOH,EAAPI,SAAOJ,CAAc,GAAA", "names": ["SharedModule", "RouterModule", "FormsModule", "ReactiveFormsModule", "ChartModule", "DragDropModule", "ScrollingModule", "CKEditorModule", "FilestackModule", "_SharedModule", "HoldingIsDownCardComponent", "Holding", "HoldingDiscriminator", "toString", "holdingDiscriminator", "holding", "toLowerCase", "constructor", "ngOnInit", "selectors", "inputs", "isPrivate", "ngContentSelectors", "_c1", "decls", "vars", "consts", "template", "rf", "ctx", "\u0275\u0275elementStart", "\u0275\u0275text", "\u0275\u0275elementEnd", "\u0275\u0275projection", "\u0275\u0275advance", "\u0275\u0275textInterpolate1", "\u0275\u0275textInterpolate", "\u0275\u0275textInterpolate5", "_HoldingIsDownCardComponent", "\u0275\u0275element", "ExportFundraisingsMenuComponent", "OnDestroyMixin", "constructor", "fundraisingsDataService", "utilsService", "snackbarService", "holdingId", "fundraisingId", "isExporting$", "BehaviorSubject", "ngOnInit", "exportFundraisings", "fileType", "next", "pipe", "untilComponentDestroyed", "subscribe", "fileUrl", "downloadFileFromUrl", "error", "showGeneralMessage", "\u0275\u0275directiveInject", "GpFundraisingDataService", "UtilsService", "SnackbarService", "selectors", "inputs", "features", "\u0275\u0275InheritDefinitionFeature", "decls", "vars", "consts", "template", "rf", "ctx", "\u0275\u0275elementStart", "\u0275\u0275text", "\u0275\u0275elementEnd", "\u0275\u0275template", "ExportFundraisingsMenuComponent_terra_loader_5_Template", "\u0275\u0275listener", "i0", "\u0275\u0275restoreView", "_r1", "\u0275\u0275resetView", "\u0275\u0275property", "exportMenu_r2", "\u0275\u0275pipeBind1", "\u0275\u0275advance", "_ExportFundraisingsMenuComponent", "\u0275\u0275element", "ExportDistributionsMenuComponent", "OnDestroyMixin", "constructor", "distributionDataService", "utilsService", "snackbarService", "holdingId", "distributionId", "isExporting$", "BehaviorSubject", "ngOnInit", "exportDistributions", "fileType", "next", "pipe", "untilComponentDestroyed", "subscribe", "fileUrl", "downloadFileFromUrl", "error", "showGeneralMessage", "\u0275\u0275directiveInject", "GpDistributionDataService", "UtilsService", "SnackbarService", "selectors", "inputs", "features", "\u0275\u0275InheritDefinitionFeature", "decls", "vars", "consts", "template", "rf", "ctx", "\u0275\u0275elementStart", "\u0275\u0275text", "\u0275\u0275elementEnd", "\u0275\u0275template", "ExportDistributionsMenuComponent_terra_loader_5_Template", "\u0275\u0275listener", "i0", "\u0275\u0275restoreView", "_r1", "\u0275\u0275resetView", "\u0275\u0275property", "exportMenu_r2", "\u0275\u0275pipeBind1", "\u0275\u0275advance", "_ExportDistributionsMenuComponent", "GpSharedModule", "SharedModule", "MaterialModule", "CovercySharedComponentsModule", "_GpSharedModule"] }