{ "version": 3, "sources": ["src/app/dashboard/contacts/contacts.component.ts", "src/app/dashboard/contacts/contacts.component.html", "src/app/dashboard/contacts/components/investor-contacts-display-table/investorContactDataSource.ts", "src/app/dashboard/contacts/components/investor-contacts-display-table/investor-contacts-table.service.ts", "src/app/dashboard/contacts/components/investor-contacts-display-table/investor-contacts-display-table.component.ts", "src/app/dashboard/contacts/components/investor-contacts-display-table/investor-contacts-display-table.component.html", "src/app/dashboard/contacts/components/investor-contact-import-dialog/import-contact.service.ts", "src/app/dashboard/contacts/components/investor-contact-import-dialog/investor-contact-import-dialog.component.ts", "src/app/dashboard/contacts/components/investor-contact-import-dialog/investor-contact-import-dialog.component.html", "src/app/dashboard/contacts/components/investing-entities-display-table/investingEntityDataSource.ts", "src/app/dashboard/contacts/components/investing-entities-display-table/investing-entity-table.service.ts", "src/app/dashboard/contacts/components/investing-entities-display-table/investing-entities-display-table.component.ts", "src/app/dashboard/contacts/components/investing-entities-display-table/investing-entities-display-table.component.html", "src/app/dashboard/contacts/components/contact-referrers-dialog/state/contact-referrers-dialog.store.ts", "src/app/dashboard/contacts/components/contact-referrers-dialog/contact-referrers-dialog.service.ts", "src/app/dashboard/contacts/components/contact-referrers-dialog/state/contact-referrers-dialog.query.ts", "src/app/dashboard/contacts/components/contact-referrers-dialog/contact-referrers-dialog.component.ts", "src/app/dashboard/contacts/components/contact-referrers-dialog/contact-referrers-dialog.component.html", "src/app/dashboard/shared/investor-communication/contacts-group-type.ts", "src/app/dashboard/shared/investor-communication/recipient-type.ts", "src/app/dashboard/shared/investor-communication/template.service.ts", "src/app/dashboard/shared/investor-communication/investor-communication.service.ts", "src/app/dashboard/shared/investor-communication/investor-communication-dialog/investor-communication-dialog.component.ts", "src/app/dashboard/shared/investor-communication/investor-communication-dialog/investor-communication-dialog.component.html", "src/app/dashboard/shared/investor-communication/investor-communication-result-snackbar/investor-communication-result-snackbar.component.ts", "src/app/dashboard/shared/investor-communication/investor-communication-result-snackbar/investor-communication-result-snackbar.component.html", "src/app/dashboard/contacts/investors-contacts/investors-contacts.component.ts", "src/app/dashboard/contacts/investors-contacts/investors-contacts.component.html", "src/app/shared/components/unit/unit-payment/models/recipient/recipient-create-dto.model.ts", "src/app/shared/components/unit/unit-payment/models/recipient/recipient-bank-account-create-dto.model.ts", "src/app/dashboard/contacts/components/create-edit-recipient-dialog/create-edit-recipient-dialog.component.ts", "src/app/dashboard/contacts/components/create-edit-recipient-dialog/create-edit-recipient-dialog.component.html", "src/app/dashboard/contacts/recipients-contacts/recipients-contacts.component.ts", "src/app/dashboard/contacts/recipients-contacts/recipients-contacts.component.html", "src/app/dashboard/shared/accreditation/accreditation.module.ts", "src/app/dashboard/contacts/components/view-as-investor-contacts/view-as-investor-contacts.component.ts", "src/app/dashboard/contacts/components/view-as-investor-contacts/view-as-investor-contacts.component.html", "src/app/dashboard/contacts/contacts-email-tracking/contacts-email-tracking.service.ts", "src/app/dashboard/contacts/contacts-email-tracking/contacts-email-tracking.component.ts", "src/app/dashboard/contacts/contacts-email-tracking/contacts-email-tracking.component.html", "src/app/dashboard/shared/integration-request-dialog/integration-request-dialog.component.ts", "src/app/dashboard/shared/integration-request-dialog/integration-request-dialog.component.html", "src/app/dashboard/contacts/contacts.module.ts", "src/app/guards/feature-flag.guard.ts", "src/app/dashboard/bankAccounts/cre/unit-application-ms-service.service.ts", "src/app/dashboard/bankAccounts/enums/accountConnectedStatus.enum.ts", "src/app/dashboard/bankAccounts/components/view-bank-account/view-bank-account.component.ts", "src/app/dashboard/bankAccounts/components/view-bank-account/view-bank-account.component.html", "src/app/services/gp/cre-bank-account-data.service.ts"], "sourcesContent": ["import {\n Component,\n OnInit,\n ChangeDetectionStrategy,\n HostBinding,\n} from \"@angular/core\";\nimport { Title } from \"@angular/platform-browser\";\n\nimport { TerraUtils } from \"src/app/shared/TerraUtils\";\nimport { UserService } from \"../../services/shared/user.service\";\nimport FeatureFlags from \"../../account/my-account/model/FeatureFlags.enum\";\n\n@Component({\n selector: \"terra-contacts\",\n templateUrl: \"./contacts.component.html\",\n styleUrls: [\"./contacts.component.scss\"],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ContactsComponent implements OnInit {\n @HostBinding(\"attr.class\") hostClasses = \"container\";\n\n userHasCreBanking$ = this.userService.userHasFeatureFlag(\n FeatureFlags.CreBanking\n );\n userHasEmailTracking$ = this.userService.userHasFeatureFlag(\n FeatureFlags.EmailTracking\n );\n constructor(private titleService: Title, private userService: UserService) {}\n\n ngOnInit() {\n this.titleService.setTitle(\n \"Contacts\" + TerraUtils.consts.GpPageTitleSuffix\n );\n }\n}\n", "

Contacts

\n\n\n\n\n\n \n\n", "import { DataSource } from '@angular/cdk/table';\nimport { CollectionViewer } from '@angular/cdk/collections';\nimport { BehaviorSubject, Observable, throwError, merge, of, Subject } from 'rxjs';\nimport { map, catchError, tap, distinctUntilChanged, shareReplay, switchMapTo, filter, switchMap, takeUntil } from 'rxjs/operators';\n\nimport { ContactDataService } from 'src/app/services/gp/contact-data.service';\nimport { InvestorContactReqRes } from '../../models/investorContactReqRes.model';\nimport { InvestorContactsTableService } from './investor-contacts-table.service';\nimport { SearchOptionsResponse } from 'src/app/shared/models/SearchOptionsResponse.model';\nimport { ContactSearchOptionsRequest } from '../../../../shared/models/contactSearchOptionsRequest.model';\n\nexport class InvestorContactDataSource extends DataSource {\n\n private destroy$ = new Subject();\n\n // Triggers for refreshing data\n private searchOptions$ = this.contactsTableService.searchOptions$;\n private refreshData$ = this.contactsTableService.refreshData$.pipe(tap(_ => this.contactsTableService.updatePageNumber(0)));\n\n private _totalRowsCount$ = new BehaviorSubject(0);\n public totalRowsCount$ = this._totalRowsCount$.pipe(takeUntil(this.destroy$), distinctUntilChanged(), shareReplay(1));\n\n // For a loading indicator\n private _loading$ = new BehaviorSubject(false);\n public isLoading$ = this._loading$.pipe(takeUntil(this.destroy$), shareReplay(1));\n\n public pageRows$ = merge(this.refreshData$, this.searchOptions$)\n .pipe(\n switchMapTo(this.searchOptions$),\n takeUntil(this.destroy$),\n filter(searchOptions => {\n return searchOptions !== null;\n }),\n tap(() => this._loading$.next(true)),\n switchMap(searchOptions => this.getServerContacts(searchOptions)),\n tap(response => {\n this._totalRowsCount$.next(response.totalCount);\n }),\n map(response => response.rows),\n tap(() => this._loading$.next(false)),\n shareReplay(1)\n );\n\n constructor(private contactDataService: ContactDataService, private contactsTableService: InvestorContactsTableService) {\n super();\n }\n\n // This creates an inner observable, which if fails, it will not cause the subscription for the pageRows to complete.\n private getServerContacts(searchOptions: ContactSearchOptionsRequest) {\n return this.contactDataService.getList(searchOptions)\n .pipe(catchError(error => {\n return of(new SearchOptionsResponse());\n }));\n }\n\n connect(collectionViewer: CollectionViewer = null): Observable {\n this._loading$.next(true);\n return this.pageRows$.pipe(\n tap(() => this._loading$.next(false)),\n catchError((error) => {\n this._loading$.next(false);\n return throwError(error);\n })\n );\n }\n\n disconnect(collectionViewer: CollectionViewer = null): void {\n this.destroy$.next();\n this.destroy$.complete();\n }\n}\n", "import { Injectable } from '@angular/core';\nimport { Observable, merge, Subject, BehaviorSubject } from 'rxjs';\nimport { scan, map, shareReplay, distinctUntilChanged } from 'rxjs/operators';\nimport { OnDestroyMixin, untilComponentDestroyed } from '@w11k/ngx-componentdestroyed';\n\nimport { ContactSearchOptionsRequest } from '../../../../shared/models/contactSearchOptionsRequest.model';\nimport { AppService, AppQuery } from 'src/app/state';\n\n@Injectable()\nexport class InvestorContactsTableService extends OnDestroyMixin {\n\n private _refreshData$ = new Subject();\n refreshData$ = this._refreshData$.asObservable();\n\n // The fundraising ID is not a filter that the user can control, and it is set even before connecting to the data source,\n // so we want it to store the current value and not just emit new values when the user changes a filter:\n private fundraisingId$ = new BehaviorSubject(0);\n // The rest are filters that the user can control:\n private pageSize$ = new Subject();\n private pageNumber$ = new Subject();\n private tagsFilter$ = new Subject();\n private contactReferrerIdFilter$ = new Subject();\n private textFilter$ = new Subject();\n\n private fundraisingIdSource$ = this.fundraisingId$.pipe(map(fundraisingId => ({ fundraisingId }) as ContactSearchOptionsRequest));\n private pageNumberSource$ = this.pageNumber$.pipe(map(pageNumber => ({ pageNumber }) as ContactSearchOptionsRequest));\n private pageSizeSource$ = this.pageSize$.pipe(map(pageSize => ({ pageSize }) as ContactSearchOptionsRequest));\n private textFilterSource$ = this.textFilter$.pipe(map(filter => filter.trim()), distinctUntilChanged(), map(filter => ({ filter }) as ContactSearchOptionsRequest));\n private tagsSource$: Observable = this.tagsFilter$.pipe(map(tags => ({ tags: tags || [] }) as ContactSearchOptionsRequest));\n private contactReferrerIdSource$: Observable = this.contactReferrerIdFilter$.pipe(map(contactReferrerId => ({ contactReferrerId }) as ContactSearchOptionsRequest));\n private uiStateSource$: Observable = this.appQuery.gpUiPrefs.pipe(\n map(state => state.contacts.sort),\n map(sort => ({ orderBy: sort.orderBy, sortOrder: sort.direction }) as ContactSearchOptionsRequest));\n\n // Merged source of search options\n private searchOptionsSources$: Observable = merge(\n this.uiStateSource$,\n this.fundraisingIdSource$,\n this.textFilterSource$,\n this.tagsSource$,\n this.contactReferrerIdSource$,\n this.pageNumberSource$,\n this.pageSizeSource$);\n\n // Search options state\n searchOptions$: Observable = this.searchOptionsSources$\n .pipe(\n untilComponentDestroyed(this),\n scan((acc, value) => {\n // Whenever somehting changes, unless it's the pagenumber, return to the first page\n const pageNumber = value.pageNumber === undefined ? 0 : value.pageNumber;\n return { ...acc, ...value, pageNumber } as ContactSearchOptionsRequest;\n }, new ContactSearchOptionsRequest()),\n shareReplay(1)\n );\n\n constructor(private appService: AppService, private appQuery: AppQuery) {\n super();\n }\n\n refresh() {\n this._refreshData$.next();\n }\n\n sort(orderBy: string, sortOrder: string) {\n this.appService.updateContactsSortState({ orderBy, direction: sortOrder === 'desc' ? 'desc' : 'asc' });\n }\n\n updateFilter(term: string) {\n this.textFilter$.next(term);\n }\n\n updateTagsFilter(tags: number[]) {\n this.tagsFilter$.next(tags);\n }\n\n updateContactReferrerIdFilter(contactReferrerId: number) {\n this.contactReferrerIdFilter$.next(contactReferrerId);\n }\n\n updatePageSize(pageSize: number) {\n this.pageSize$.next(pageSize);\n }\n\n updatePageNumber(page: number) {\n this.pageNumber$.next(page);\n }\n\n updateFundraisingId(fundraisingId: number) {\n this.fundraisingId$.next(fundraisingId);\n }\n}\n", "import {\n Component,\n OnInit,\n Input,\n Output,\n EventEmitter,\n ChangeDetectionStrategy,\n} from \"@angular/core\";\nimport { SelectionModel } from \"@angular/cdk/collections\";\nimport { UntypedFormControl } from \"@angular/forms\";\nimport { PageEvent } from \"@angular/material/paginator\";\nimport { Sort } from \"@angular/material/sort\";\nimport { merge, Observable, EMPTY, combineLatest } from \"rxjs\";\nimport {\n debounceTime,\n tap,\n shareReplay,\n map,\n take,\n switchMap,\n switchMapTo,\n} from \"rxjs/operators\";\nimport {\n OnDestroyMixin,\n untilComponentDestroyed,\n} from \"@w11k/ngx-componentdestroyed\";\n\nimport { InvestorContactReqRes } from \"../../models/investorContactReqRes.model\";\nimport { ContactDataService } from \"src/app/services/gp/contact-data.service\";\nimport { InvestorContactDataSource } from \"./investorContactDataSource\";\nimport { InvestorContactsTableService } from \"./investor-contacts-table.service\";\nimport { PermissionService } from \"src/app/permission/permission.service\";\nimport { ViewAsInvestorPermission } from \"../../../../permission/enums/view-as-investor-permission\";\nimport { NoPermissionAction } from \"src/app/shared/directives/check-permissions.directive\";\n\n@Component({\n selector: \"terra-investor-contacts-display-table\",\n templateUrl: \"./investor-contacts-display-table.component.html\",\n styleUrls: [\n \"./investor-contacts-display-table.component.scss\",\n \"../../contacts.component.scss\",\n ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class InvestorContactsDisplayTableComponent\n extends OnDestroyMixin\n implements OnInit\n{\n allowInvestorName$ = this.permissionService.allowInvestorName$;\n isAllContactsVisible$ = this.permissionService.isAllContactsVisible$;\n\n @Input() showMessageWhenListIsEmpty = true;\n @Input() isLoadingViewAsInvestor$: Observable;\n\n @Output() editRow: EventEmitter = new EventEmitter();\n @Output() deleteRow: EventEmitter = new EventEmitter();\n @Output() viewAsInvestor: EventEmitter =\n new EventEmitter();\n @Output() selectedRows: EventEmitter =\n new EventEmitter();\n\n ViewAsInvestorPermission = ViewAsInvestorPermission;\n NoPermissionAction = NoPermissionAction;\n contactPerPageOptions = [25, 50, 100, 200, 500];\n perPageControl = new UntypedFormControl(this.contactPerPageOptions[0]);\n perPageChanged$: Observable = this.perPageControl.valueChanges.pipe(\n untilComponentDestroyed(this),\n debounceTime(200)\n );\n\n get selectedContacts() {\n if (!this.selection) {\n return [];\n }\n return this.selection.selected;\n }\n\n dataSource = new InvestorContactDataSource(\n this.contactDataService,\n this.contactsTableService\n );\n\n searchOptions$ = this.contactsTableService.searchOptions$;\n\n pageRowsCount$ = this.dataSource.pageRows$.pipe(\n map((rows) => (rows ? rows.length : 0)),\n shareReplay(1)\n );\n totalRowsCount$ = this.dataSource.totalRowsCount$;\n isLoading$: Observable;\n\n selection = new SelectionModel(true, []);\n displayedColumns: string[] = [\n \"select\",\n \"name\",\n \"email\",\n \"createTimestamp\",\n \"investingEntityAccountingExternalIdList\",\n \"tags\",\n \"personalRemarks\",\n \"action\",\n ];\n\n isAllSelected$ = merge(this.selection.changed, this.pageRowsCount$).pipe(\n switchMapTo(this.pageRowsCount$),\n map((pageRowsCount) => pageRowsCount === this.selection.selected.length),\n shareReplay(1)\n );\n\n constructor(\n private contactsTableService: InvestorContactsTableService,\n private contactDataService: ContactDataService,\n private permissionService: PermissionService\n ) {\n super();\n }\n\n ngOnInit() {\n this.isLoading$ = combineLatest([\n this.dataSource.isLoading$,\n this.isLoadingViewAsInvestor$,\n ]).pipe(\n map(\n ([isLoadingData, isLoadingViewAsInvestor]) =>\n isLoadingData || isLoadingViewAsInvestor\n )\n );\n this.contactsTableService.updatePageSize(this.contactPerPageOptions[0]);\n\n this.perPageChanged$\n .pipe(untilComponentDestroyed(this))\n .subscribe((pageSize) => {\n this.contactsTableService.updatePageSize(pageSize);\n });\n\n this.dataSource.pageRows$\n .pipe(untilComponentDestroyed(this))\n .subscribe(() => {\n this.clearSelection();\n });\n\n this.selection.changed\n .pipe(\n untilComponentDestroyed(this),\n tap((_) => this.selectedRows.emit(this.selectedContacts))\n )\n .subscribe();\n }\n\n trackByFunction(index: number, item: InvestorContactReqRes) {\n return item.id;\n }\n\n pageChange(event: PageEvent) {\n this.contactsTableService.updatePageNumber(event.pageIndex);\n }\n\n rowCheckToggle(\n row: InvestorContactReqRes,\n unselectOthers = false,\n event = null\n ) {\n if (event && (event.ctrlKey || event.metaKey)) {\n unselectOthers = false;\n }\n\n const isRowChecked = this.isRowChecked(row);\n const currentNumberOfSelectedItems = this.selectedContacts.length;\n\n if (unselectOthers) {\n this.clearSelection();\n }\n\n if (\n isRowChecked &&\n (currentNumberOfSelectedItems === 1 || !unselectOthers)\n ) {\n this.selection.deselect(row);\n } else {\n this.selection.select(row);\n }\n }\n\n isRowChecked(row: InvestorContactReqRes) {\n return this.selection.selected.some((x) => x.id === row.id);\n }\n\n masterToggle() {\n this.isAllSelected$\n .pipe(\n take(1),\n switchMap((isAllSelected) => {\n if (isAllSelected) {\n this.selection.clear();\n return EMPTY;\n } else {\n return this.dataSource.pageRows$;\n }\n }),\n tap((rowsToSelect) => {\n this.selection.select(...rowsToSelect);\n }),\n take(1)\n )\n .subscribe();\n }\n\n // Check if all rows are selected\n deleteMulitple() {\n if (this.selection.selected.length === 0) {\n return;\n }\n\n const ids = this.selection.selected.map((i) => i.id);\n\n this.deleteRow.emit(ids);\n }\n\n onEditRow(id: number) {\n if (!this.editRow) {\n return;\n }\n this.editRow.emit(id);\n }\n\n onViewAsInvestor(contact: InvestorContactReqRes) {\n if (!this.viewAsInvestor) {\n return;\n }\n\n this.viewAsInvestor.emit(contact);\n }\n\n onDeleteRow(id: number) {\n if (!this.deleteRow) {\n return;\n }\n this.deleteRow.emit([id]);\n }\n\n showActions(model: InvestorContactReqRes) {\n if (this.selection.selected.length === 1) {\n if (model.id === this.selection.selected[0].id) {\n return true;\n }\n return false;\n }\n\n if (model.hover) {\n return true;\n }\n return false;\n }\n\n sortData(sort: Sort) {\n if (!sort.active || !sort.direction) {\n return;\n }\n this.contactsTableService.sort(sort.active, sort.direction);\n }\n\n private clearSelection() {\n this.selection.clear();\n }\n}\n", "\n\n \n
0\">\n
Showing {{ data.pageRowsCount }} of {{ data.totalRowsCount }} contacts
\n \n \n {{ amountPerPage }} per page\n \n \n \n
\n\n \n
0\">To find a specific contact by ID please use the Advanced Search field above\n
\n \n \n \n \n \n \n\n \n \n \n \n \n\n \n \n \n \n \n\n \n \n \n \n \n\n \n \n \n \n \n\n \n \n \n \n \n\n \n \n \n \n \n\n \n \n \n \n \n\n \n\n \n
\n
\n \n \n\n \n
\n
\n \n Name\n \n
{{ element.firstName | truncate: 30 }}\n {{ element.middleName | truncate: 20 }}\n {{ element.lastName | truncate: 30 }}\n
\n
Entity {{ element.nickname | truncate: 10 }}
\n
\n \n {{ element.nickname | truncate: 10 }}\n \n
Email\n {{ element.email }}\n Created\n {{ element.createTimestamp | date:'longDate' }}\n \n Investing Entity
Accounting IDs\n
\n {{ element.investingEntityAccountingExternalIdList }}\n Tags\n \n \n {{ c }}\n \n \n Remarks 50 ? element.personalRemarks : null\" class=\"lo_sensitive\">\n {{ element.personalRemarks | truncate: 50 }}\n \n \n \n \n
\n\n \n \n\n \n
\n

Add a new contact or import your contact list

\n
\n\n 0\">\n
\n", "import { Injectable } from '@angular/core';\nimport { catchError, Observable, of, switchMap, throwError } from 'rxjs';\nimport { AppSettingsService } from 'src/app/services/app-settings.service';\nimport { HttpService } from 'src/app/services/http.service';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class ImportContactService {\n baseEndpoint$: Observable = this.appSettingService.localEnv ? of('http://localhost:7071/api/import-contact/') : of('import-contact/');\n\n constructor(private http:HttpService,\n private appSettingService: AppSettingsService\n ) { }\n\n getContactImportTemplate(): Observable {\n return this.baseEndpoint$.pipe(\n switchMap((endpoint) =>\n this.http.downloadFile(`${endpoint}download-template`, 'application/vnd.ms-excel'),\n ),\n catchError((err) => {\n return throwError(() => err);\n })\n );\n }\n}\n", "import {ChangeDetectionStrategy, Component, OnInit, signal} from '@angular/core';\nimport {MatDialogRef} from '@angular/material/dialog';\nimport {UntypedFormBuilder, Validators} from '@angular/forms';\nimport {BehaviorSubject, combineLatest, Subject} from 'rxjs';\nimport {finalize, map, shareReplay, take} from 'rxjs/operators';\nimport {OnDestroyMixin} from '@w11k/ngx-componentdestroyed';\nimport {AnalyticsServiceNameModel, TelemetryService} from 'telemetry-library';\n\nimport {TerraUtils} from 'src/app/shared/TerraUtils';\nimport {UtilsService} from 'src/app/services/utils.service';\nimport {\n ContactImportResponse,\n InvalidRow\n} from 'src/app/shared/models/ContactImportResponse.model';\nimport {UserService} from 'src/app/services/shared/user.service';\nimport {BaseResponseDto} from '../../../../shared/models/BaseResponseDto.model';\nimport { ImportContactService } from './import-contact.service';\n\n@Component({\n selector: 'terra-investor-contact-import-dialog',\n templateUrl: './investor-contact-import-dialog.component.html',\n styleUrls: ['./investor-contact-import-dialog.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class InvestorContactImportDialogComponent extends OnDestroyMixin implements OnInit {\n\n pageForm = this.fb.group({\n file: [null, Validators.required]\n });\n\n isSubmitted = false;\n disableSubmitted = signal(true);\n\n isLoading$ = new BehaviorSubject(false);\n isProcessing$ = new BehaviorSubject(false);\n public uploadEndpoint$ = this.importContactService.baseEndpoint$.pipe(map(b => `${b}upload`));\n\n private getContactImportTemplateResponse$ = this.importContactService.getContactImportTemplate().pipe(shareReplay(1));\n\n private importResult$ = new Subject();\n private rawUserErrorsResponse$ = this.importResult$.pipe(\n map(result => result ? result.invalidRows : null), shareReplay(1));\n\n totalErrorsNumber$ = this.rawUserErrorsResponse$.pipe(map(allErrors => this.calcErrorsNumber(allErrors)),\n shareReplay(1));\n\n isShowAllErrors$ = new BehaviorSubject(false);\n\n displayShowAllErrorsButton$ = combineLatest([this.rawUserErrorsResponse$, this.isShowAllErrors$]).pipe(\n map(([allRowErrors, isShowAllErrors]) => allRowErrors && allRowErrors.length > 1 && !isShowAllErrors),\n shareReplay(1)\n );\n\n userErrors$ = combineLatest([this.rawUserErrorsResponse$, this.isShowAllErrors$])\n .pipe(\n map(([userErrors, isShowAllErrors]) => {\n if (userErrors) {\n return isShowAllErrors ? userErrors : userErrors.slice(0, 1);\n } else {\n return null;\n }\n }),\n shareReplay(1)\n );\n\n hasMoreErrorLines: boolean = false;\n\n supportedFileExtensions = TerraUtils.consts.supportedFileExtensions.CONTACTS_IMPORT;\n\n constructor(\n private importContactService: ImportContactService,\n private fb: UntypedFormBuilder,\n public dialogRef: MatDialogRef,\n private utilsService: UtilsService,\n private userService: UserService,\n private telemetryService: TelemetryService\n ) {\n super();\n }\n\n ngOnInit(): void {\n }\n\n downloadTemplate() {\n this.isLoading$.next(true);\n this.getContactImportTemplateResponse$\n .pipe(\n finalize(() => this.isLoading$.next(false))\n )\n .subscribe();\n }\n\n public submitImport = new Subject();\n public submitImport$ = this.submitImport.asObservable();\n\n import(){\n this.submitImport.next();\n }\n\n onErrorImport(error){\n this.utilsService.alertErrorMessage(error?.error as BaseResponseDto);\n }\n\n onSuccessImport(res){\n this.telemetrySuccess();\n this.dialogRef.close(true);\n }\n \n private telemetrySuccess() {\n this.userService.accountDetails$.pipe(take(1))\n .subscribe(clientDetails => {\n this.telemetryService.create({\n eventID: '',\n eventTitle: 'CONTACTS IMPORT',\n additional: {\n organizationID: clientDetails.organizationDetails.id\n }\n }, AnalyticsServiceNameModel.Mixpanel | AnalyticsServiceNameModel.Insights);\n });\n }\n\n private calcErrorsNumber(invalidRows: InvalidRow[]): number {\n if (!invalidRows || invalidRows.length == 0 ) {\n return 0;\n }\n return invalidRows\n .map(row => row.errors.length)\n .reduce((totalErrors, currentRowErrorsNumber) => totalErrors + currentRowErrorsNumber);\n }\n}\n", "\n

Import your contacts

\n Learn more...\n
\n\n\n \n\n\n\n
\n
\n
\n
    \n
  1. \n \n Download contacts import template (if you haven't already)\n
  2. \n
  3. \n Add contacts details, and their investing entities (optional)\n
  4. \n
  5. Upload the updated file using the button below, and click \"Import\"
  6. \n
\n \n
\n
\n
\n
\n\n\n \n \n\n\n\n", "import {DataSource} from '@angular/cdk/table';\nimport {CollectionViewer} from '@angular/cdk/collections';\nimport {BehaviorSubject, Observable, throwError, merge, of, Subject} from 'rxjs';\nimport {\n map,\n catchError,\n tap,\n distinctUntilChanged,\n shareReplay,\n switchMapTo,\n filter,\n switchMap,\n takeUntil\n} from 'rxjs/operators';\nimport {SearchOptionsResponse} from 'src/app/shared/models/SearchOptionsResponse.model';\nimport {InvestingEntitySearchOptionsRequest} from './InvstingEntitySearchOptionsRequest.model';\nimport {GpInvestingEntityDataService} from 'src/app/services/gp/gp-investing-entity-data.service';\nimport {InvestingEntityReqRes} from 'src/app/dashboard/models/InvestingEntityReqRes.model';\nimport {InvestingEntityTableService} from './investing-entity-table.service';\n\nexport class InvestingEntityDataSource extends DataSource {\n\n private destroy$ = new Subject();\n\n // Triggers for refreshing data\n private searchOptions$ = this.investingEntityTableService.searchOptions$;\n private refreshData$ = this.investingEntityTableService.refreshData$.pipe(tap(_ => this.investingEntityTableService.updatePageNumber(0)));\n\n private _totalRowsCount$ = new BehaviorSubject(0);\n public totalRowsCount$ = this._totalRowsCount$.pipe(takeUntil(this.destroy$), distinctUntilChanged(), shareReplay(1));\n\n // For a loading indicator\n private _loading$ = new BehaviorSubject(false);\n public isLoading$ = this._loading$.pipe(takeUntil(this.destroy$), shareReplay(1));\n\n public pageRows$ = merge(this.refreshData$, this.searchOptions$)\n .pipe(\n switchMapTo(this.searchOptions$),\n takeUntil(this.destroy$),\n filter(searchOptions => {\n return searchOptions !== null;\n }),\n tap(() => this._loading$.next(true)),\n switchMap(searchOptions => this.getServerInvestingEntities(searchOptions)),\n tap(response => {\n this._totalRowsCount$.next(response.totalCount);\n }),\n map(response => response.rows),\n tap(() => this._loading$.next(false)),\n shareReplay(1)\n );\n\n constructor(\n private gpInvestingEntityDataService: GpInvestingEntityDataService,\n private investingEntityTableService: InvestingEntityTableService) {\n super();\n }\n\n // This creates an inner observable, which if fails, it will not cause the subscription for the pageRows to complete.\n private getServerInvestingEntities(searchOptions: InvestingEntitySearchOptionsRequest) {\n return this.gpInvestingEntityDataService.getList(searchOptions)\n .pipe(catchError(error => {\n return of(new SearchOptionsResponse());\n }));\n }\n\n connect(collectionViewer: CollectionViewer = null): Observable {\n this._loading$.next(true);\n return this.pageRows$.pipe(\n tap(() => this._loading$.next(false)),\n catchError((error) => {\n this._loading$.next(false);\n return throwError(error);\n })\n );\n }\n\n disconnect(collectionViewer: CollectionViewer = null): void {\n this.destroy$.next();\n this.destroy$.complete();\n }\n\n getLoader() {\n return this._loading$;\n }\n}\n", "import {Injectable} from '@angular/core';\nimport {Observable, merge, Subject, BehaviorSubject} from 'rxjs';\nimport {scan, map, shareReplay, distinctUntilChanged, debounceTime} from 'rxjs/operators';\nimport {OnDestroyMixin, untilComponentDestroyed} from '@w11k/ngx-componentdestroyed';\n\nimport {InvestingEntitySearchOptionsRequest} from './InvstingEntitySearchOptionsRequest.model';\nimport {AppService, AppQuery} from 'src/app/state';\n\n@Injectable()\nexport class InvestingEntityTableService extends OnDestroyMixin {\n\n private _refreshData$ = new Subject();\n refreshData$ = this._refreshData$.asObservable();\n\n private contactId$ = new BehaviorSubject(null);\n\n // The fundraising ID is not a filter that the user can control, and it is set even before connecting to the data source,\n // so we want it to store the current value and not just emit new values when the user changes a filter:\n private fundraisingId$ = new BehaviorSubject(0);\n // The rest are filters that the user can control:\n private pageSize$ = new Subject();\n private pageNumber$ = new Subject();\n private tagsFilter$ = new Subject();\n private contactReferrerIdFilter$ = new Subject();\n private textFilter$ = new Subject();\n private holdingId$ = new Subject();\n private distributionId$ = new Subject();\n\n private excludeAgentContactInvestingEntities$ = new BehaviorSubject(false);\n\n private holdingIdSource$ = this.holdingId$.pipe(map(holdingId => ({holdingId}) as InvestingEntitySearchOptionsRequest));\n private distributionIdSource$ = this.distributionId$.pipe(map(distributionId => ({distributionId}) as InvestingEntitySearchOptionsRequest));\n private excludeAgentContactInvestingEntitiesSource$ = this.excludeAgentContactInvestingEntities$.pipe(distinctUntilChanged(), map(excludeAgentContacts => ({excludeAgentContacts}) as InvestingEntitySearchOptionsRequest));\n private contactIdSource$ = this.contactId$.pipe(map(contactId => ({contactId}) as InvestingEntitySearchOptionsRequest));\n private fundraisingIdSource$ = this.fundraisingId$.pipe(map(fundraisingId => ({fundraisingId}) as InvestingEntitySearchOptionsRequest));\n private pageNumberSource$ = this.pageNumber$.pipe(map(pageNumber => ({pageNumber}) as InvestingEntitySearchOptionsRequest));\n private pageSizeSource$ = this.pageSize$.pipe(map(pageSize => ({pageSize}) as InvestingEntitySearchOptionsRequest));\n private textFilterSource$ = this.textFilter$.pipe(map(filter => filter.trim()), distinctUntilChanged(), map(filter => ({filter}) as InvestingEntitySearchOptionsRequest));\n private contactReferrerFilterSource$ = this.contactReferrerIdFilter$.pipe(map(contactReferrerId => ({contactReferrerId: contactReferrerId}) as InvestingEntitySearchOptionsRequest));\n private tagsSource$: Observable = this.tagsFilter$.pipe(map(tags => ({tags: tags || []}) as InvestingEntitySearchOptionsRequest));\n private uiStateSource$: Observable = this.appQuery.gpUiPrefs.pipe(\n map(state => state.contacts.sort),\n map(sort => ({orderBy: sort.orderBy, sortOrder: sort.direction}) as InvestingEntitySearchOptionsRequest));\n\n // Merged source of search options\n private searchOptionsSources$: Observable = merge(\n this.holdingIdSource$,\n this.distributionIdSource$,\n this.uiStateSource$,\n this.excludeAgentContactInvestingEntitiesSource$,\n this.contactIdSource$,\n this.fundraisingIdSource$,\n this.textFilterSource$,\n this.contactReferrerFilterSource$,\n this.tagsSource$,\n this.pageNumberSource$,\n this.pageSizeSource$);\n\n // Search options state\n searchOptions$: Observable = this.searchOptionsSources$\n .pipe(\n untilComponentDestroyed(this),\n scan((acc, value) => {\n // Whenever somehting changes, unless it's the pagenumber, return to the first page\n \n const pageNumber = value.pageNumber === undefined ? 0 : value.pageNumber;\n return {...acc, ...value, pageNumber} as InvestingEntitySearchOptionsRequest;\n }, new InvestingEntitySearchOptionsRequest()),\n debounceTime(10),\n shareReplay(1)\n );\n\n constructor(private appService: AppService, private appQuery: AppQuery) {\n super();\n }\n\n refresh() {\n this._refreshData$.next();\n }\n\n sort(orderBy: string, sortOrder: string) {\n this.appService.updateContactsSortState({orderBy, direction: sortOrder === 'desc' ? 'desc' : 'asc'});\n }\n\n updateFilter(term: string) {\n this.textFilter$.next(term);\n }\n\n updateTagsFilter(tags: number[]) {\n this.tagsFilter$.next(tags);\n }\n\n updateContactReferrerFilter(contactReferrerId: number) {\n this.contactReferrerIdFilter$.next(contactReferrerId);\n }\n\n updatePageSize(pageSize: number) {\n this.pageSize$.next(pageSize);\n }\n\n updatePageNumber(page: number) {\n this.pageNumber$.next(page);\n }\n\n updateFundraisingId(fundraisingId: number) {\n this.fundraisingId$.next(fundraisingId);\n }\n\n updateContactId(contactId: number) {\n this.contactId$.next(contactId);\n }\n\n excludeAgentContacts() {\n this.excludeAgentContactInvestingEntities$.next(true);\n }\n\n updateHoldingId(holdingId: number) {\n this.holdingId$.next(holdingId);\n }\n\n updateDistributionId(distributionId: number) {\n this.distributionId$.next(distributionId);\n\n }\n\n\n}\n", "import {Component, OnInit, Input, Output, EventEmitter, ChangeDetectionStrategy} from '@angular/core';\nimport {debounceTime, shareReplay, map, switchMapTo, first, withLatestFrom} from 'rxjs/operators';\nimport {OnDestroyMixin, untilComponentDestroyed} from '@w11k/ngx-componentdestroyed';\nimport {SelectionModel} from '@angular/cdk/collections';\nimport {PageEvent} from '@angular/material/paginator';\nimport {merge, Observable, of} from 'rxjs';\nimport {UntypedFormControl, UntypedFormGroup} from '@angular/forms';\nimport {Sort} from '@angular/material/sort';\n\nimport {InvestingEntityDataSource} from './investingEntityDataSource';\nimport {InvestingEntityTableService} from './investing-entity-table.service';\nimport InvestingEntityType from 'src/app/dashboard/models/InvestingEntityType.enum';\nimport {InvestingEntityReqRes} from 'src/app/dashboard/models/InvestingEntityReqRes.model';\nimport {GpInvestingEntityDataService} from 'src/app/services/gp/gp-investing-entity-data.service';\n\nimport {\n getArrayCommonById,\n getArrayDifferentById,\n getArrayIncludeAllById,\n getArrayIncludeSomeById, TerraUtils\n} from 'src/app/shared/TerraUtils';\nimport { PermissionService } from 'src/app/permission/permission.service';\nimport { AccreditationService } from 'src/app/dashboard/shared/accreditation/accreditation.service';\nimport AccreditationStatus from 'src/app/shared/enums/AccreditationStatus.enum';\n\n@Component({\n selector: 'terra-investing-entities-display-table',\n templateUrl: './investing-entities-display-table.component.html',\n styleUrls: ['./investing-entities-display-table.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class InvestingEntitiesDisplayTableComponent extends OnDestroyMixin implements OnInit {\n allowInvestorName$ = this.permissionService.allowInvestorName$;\n\n @Input() showMessageWhenListIsEmpty = true;\n @Input() messageWhenListIsEmpty:string = 'Add a new contact or import your contact list';\n @Input() excludeAgentContactInvestingEntities = false;\n @Input() showSelectionPreview = true;\n\n @Output() editRow: EventEmitter = new EventEmitter();\n @Output() deleteRow: EventEmitter = new EventEmitter();\n\n InvestingEntityType = InvestingEntityType;\n\n itemsPerPageOptions = [25, 50, 100, 200, 500];\n perPageControl = new UntypedFormControl(this.itemsPerPageOptions[0]);\n perPageChanged$: Observable = this.perPageControl.valueChanges.pipe(untilComponentDestroyed(this), debounceTime(200));\n\n get selectedInvestingEntities() {\n if (!this.selection) {\n return [];\n }\n return this.selection.selected;\n }\n\n dataSource = new InvestingEntityDataSource(this.gpInvestingEntityDataService, this.investingEntityTableService);\n\n searchOptions$ = this.investingEntityTableService.searchOptions$;\n\n pageRowsCount$ = this.dataSource.pageRows$.pipe(map(rows => rows ? rows.length : 0), shareReplay(1));\n totalRowsCount$ = this.dataSource.totalRowsCount$;\n\n isLoading$ = this.dataSource.isLoading$;\n\n selection = new SelectionModel(true, []);\n displayedColumns: string[] = ['select', 'name', 'email', 'tags', 'accreditationDate', 'personalRemarks', 'action'];\n\n isAllSelectedInPage$ = merge(this.dataSource.pageRows$, this.selection.changed).pipe(\n switchMapTo(this.dataSource.pageRows$),\n map(rows => {\n return getArrayIncludeAllById(rows, this.selection.selected);\n })\n );\n\n isSomeSelectedInPage$ = merge(this.dataSource.pageRows$, this.selection.changed).pipe(\n switchMapTo(this.dataSource.pageRows$),\n map(rows => {\n return getArrayIncludeSomeById(rows, this.selection.selected);\n })\n );\n\n\n selectAllMessages = false;\n\n constructor(\n private investingEntityTableService: InvestingEntityTableService,\n private gpInvestingEntityDataService: GpInvestingEntityDataService,\n private permissionService: PermissionService,\n private accreditationService: AccreditationService) {\n super();\n }\n\n ngOnInit() {\n if (this.excludeAgentContactInvestingEntities) {\n this.investingEntityTableService.excludeAgentContacts();\n }\n this.investingEntityTableService.updatePageSize(this.itemsPerPageOptions[0]);\n\n this.perPageChanged$.pipe(untilComponentDestroyed(this)).subscribe(\n pageSize => {\n this.investingEntityTableService.updatePageSize(pageSize);\n });\n\n }\n\n trackByFunction(index: number, item: InvestingEntityReqRes) {\n return item.id;\n }\n\n pageChange(event: PageEvent) {\n this.investingEntityTableService.updatePageNumber(event.pageIndex);\n }\n\n rowCheckToggle(row: InvestingEntityReqRes, unselectOthers = false, event = null) {\n if (event && (event.ctrlKey || event.metaKey)) {\n unselectOthers = false;\n }\n\n const isRowChecked = this.isRowChecked(row);\n const currentNumberOfSelectedItems = this.selectedInvestingEntities.length;\n\n if (unselectOthers) {\n this.clearSelection();\n }\n\n if (isRowChecked) {\n this.selectAllMessages = false;\n }\n\n if (isRowChecked && (currentNumberOfSelectedItems === 1 || !unselectOthers)) {\n this.selection.deselect(row);\n // after pagination selection.selected.#item hash will be differ then row, need to find row in selection.selected and deselect\n this.selection.deselect(this.selection.selected.find(x => x.id === row.id));\n } else {\n this.selection.select(row);\n }\n }\n\n isRowChecked(row: InvestingEntityReqRes) {\n return this.selection.selected.some(x => x.id === row.id);\n }\n\n masterToggle(event) {\n if (event.checked) {\n this.dataSource.pageRows$.pipe(\n first(),\n withLatestFrom(this.dataSource.totalRowsCount$)\n ).subscribe(\n ([rows, totalRows]) => {\n const x_ids_to_add = getArrayDifferentById(rows, this.selection.selected);\n x_ids_to_add.forEach((id) => {\n this.selection.select(rows.find(r => r.id === id));\n });\n if (rows.length === totalRows) {\n this.selectAllMessages = true;\n }\n }\n );\n } else {\n this.dataSource.pageRows$.pipe(first()).subscribe(rows => {\n const x_ids_to_remove = getArrayCommonById(rows, this.selection.selected);\n x_ids_to_remove.forEach((id) => {\n this.selection.deselect(this.selection.selected.find(r => r.id === id));\n });\n this.selectAllMessages = false;\n });\n }\n }\n\n toggleAllMessages(isSelectAllMessages) {\n this.selectAllMessages = isSelectAllMessages;\n if (isSelectAllMessages) {\n this.dataSource.getLoader().next(true);\n this.gpInvestingEntityDataService.getAll()\n .subscribe(\n response => {\n const x_ids_to_add = getArrayDifferentById(response, this.selection.selected);\n x_ids_to_add.forEach((id) => {\n this.selection.select(response.find(r => r.id === id));\n });\n },\n err => {\n console.error(err);\n },\n () => {\n this.dataSource.getLoader().next(false);\n });\n } else {\n this.selection.clear();\n }\n }\n\n deleteMultiple() {\n if (this.selection.selected.length === 0) {\n return;\n }\n\n const ids = this.selection.selected.map(i => i.id);\n\n this.deleteRow.emit(ids);\n }\n\n onEditRow(id: number) {\n if (!this.editRow) {\n return;\n }\n this.editRow.emit(id);\n }\n\n onDeleteRow(id: number) {\n if (!this.deleteRow) {\n return;\n }\n this.deleteRow.emit([id]);\n }\n\n showActions(model: any) {\n if (this.selection.selected.length === 1) {\n if (model.id === this.selection.selected[0].id) {\n return true;\n }\n return false;\n }\n\n if (model.hover) {\n return true;\n }\n return false;\n }\n\n sortData(sort: Sort) {\n if (!sort.active || !sort.direction) {\n return;\n }\n this.investingEntityTableService.sort(sort.active, sort.direction);\n }\n\n isAccredited(investingEntity: InvestingEntityReqRes):boolean{\n return investingEntity.accreditation?.status === AccreditationStatus.Accredited;\n }\n\n public investorAccreditationDate(accreditationDate: Date): Date {\n return TerraUtils.forceUtcToLocal(accreditationDate);\n }\n\n private clearSelection() {\n this.selection.clear();\n }\n}\n", "\n\n \n
itemsPerPageOptions[0]\">\n
Showing {{ data.pageRowsCount }} of {{ data.totalRowsCount }} contacts
\n \n \n {{amountPerPage}} per page\n \n \n \n
\n\n \n
\n All {{data.pageRowsCount}} contact on this page are selected. Click here to select all {{data.totalRowsCount}} contacts\n
\n
\n All {{data.totalRowsCount}} contact are selected. Clear selection\n
\n\n \n
0\">To find a specific contact by ID please use the Filter by name field above
\n \n \n \n \n \n \n\n \n \n \n \n \n\n \n \n \n \n \n\n \n \n \n \n \n\n \n \n \n \n \n\n \n \n \n \n \n\n \n \n \n \n \n\n \n\n \n
\n \n \n \n \n\n \n\n \n \n Name\n \n {{ element.name }}\n ({{ element.contact.firstName }} {{ element.contact.lastName }})\n \n \n {{ element.nickname }}\n ({{ element.contact.nickname }})\n \n\n \n ({{ element.contact.email }})\n \n Email\n {{ element.contact.email }}\n Tags\n \n \n {{ c }}\n \n \n Accreditation Date\n {{ !!element.accreditation?.accreditedDate ? (investorAccreditationDate(element.accreditation.accreditedDate) | date) : 'None' }}\n \n \n info_outline\n \n \n \n \n
\n\n \n \n\n \n
\n

{{messageWhenListIsEmpty}}

\n
\n\n\n perPageControl.value\">\n\n
\n", "import { StoreConfig, EntityState, EntityStore } from '@datorama/akita';\nimport { Injectable } from '@angular/core';\n\nimport { ContactReferrerReqRes } from 'src/app/shared/models/ContactReferrerReqRes.model';\n\nexport interface ContactReferrersDialogUiState {\n isUnsavedChanges: boolean;\n isSaving: boolean;\n isSubmitted: boolean;\n}\n\nexport interface ContactReferrersDialogState extends EntityState {\n ui: ContactReferrersDialogUiState;\n}\n\nexport function createInitialState(): ContactReferrersDialogState {\n return {\n ui: {\n isUnsavedChanges: false,\n isSaving: false,\n isSubmitted: false,\n },\n allContactReferrers: []\n } as ContactReferrersDialogState;\n}\n\n@StoreConfig({ name: 'contact-referrers-dialog' })\n@Injectable()\nexport class ContactReferrersDialogStore extends EntityStore {\n constructor() {\n super(createInitialState());\n }\n}\n", "import { Injectable } from '@angular/core';\nimport { map, tap } from 'rxjs/operators';\nimport { OnDestroyMixin, untilComponentDestroyed } from '@w11k/ngx-componentdestroyed';\n\nimport { ContactReferrersDialogStore } from './state/contact-referrers-dialog.store';\nimport { ContactReferrerDataService } from 'src/app/services/gp/contact-referrer-data.service';\nimport { SearchOptionsRequest } from 'src/app/shared/models/SearchOptionsRequest.model';\nimport { ContactReferrerReqRes } from 'src/app/shared/models/ContactReferrerReqRes.model';\n@Injectable()\nexport class ContactReferrersDialogService extends OnDestroyMixin {\n\n constructor(\n private store: ContactReferrersDialogStore,\n private contactReferrerDataService: ContactReferrerDataService\n ) {\n super();\n this.getAllContactReferrers().pipe(\n untilComponentDestroyed(this)\n )\n .subscribe(contactReferrers => {\n store.set(contactReferrers);\n });\n }\n\n addContactReferrer(contactReferrer: ContactReferrerReqRes) {\n return this.contactReferrerDataService.create(contactReferrer).pipe(\n tap(createdItem => {\n this.store.add(createdItem);\n }));\n }\n\n updateContactReferrer(contactReferrer: ContactReferrerReqRes) {\n return this.contactReferrerDataService.update(contactReferrer.id, contactReferrer).pipe(\n tap(updatedItem => {\n this.store.upsert(contactReferrer.id, updatedItem);\n }));\n }\n\n deleteContactReferrer(id: number) {\n return this.contactReferrerDataService.delete(id).pipe(\n tap(() => this.store.remove(id))\n );\n }\n\n private getAllContactReferrers() {\n const getAllSearchOptions = new SearchOptionsRequest();\n getAllSearchOptions.pageSize = 1000;\n return this.contactReferrerDataService.getList(getAllSearchOptions).pipe(map(response => response.rows));\n }\n}\n", "import { Injectable } from '@angular/core';\nimport { QueryEntity } from '@datorama/akita';\n\nimport { ContactReferrersDialogState, ContactReferrersDialogStore } from './contact-referrers-dialog.store';\n\n\n@Injectable()\nexport class ContactReferrersDialogQuery extends QueryEntity {\n\n isUnsavedChanges$ = this.select(s => s.ui.isUnsavedChanges);\n isSaving$ = this.select(s => s.ui.isSaving);\n isSubmitted$ = this.select(s => s.ui.isSubmitted);\n\n constructor(protected store: ContactReferrersDialogStore) {\n super(store);\n }\n}\n", "import { Component, OnInit, Inject } from '@angular/core';\nimport { MAT_DIALOG_DATA, MatDialogRef, MatDialog, MatDialogConfig } from '@angular/material/dialog';\nimport { filter, switchMap } from 'rxjs/operators';\n\nimport { InvestorContactReferrerDialogComponent, ContactReferrerEditDialogContext } from '../investor-contact-dialog/investor-contact-referrer-dialog/investor-contact-referrer-dialog.component';\nimport { ContactReferrersDialogService } from './contact-referrers-dialog.service';\nimport { ContactReferrersDialogQuery } from './state/contact-referrers-dialog.query';\nimport { ContactReferrersDialogStore } from './state/contact-referrers-dialog.store';\nimport { ContactReferrerReqRes } from 'src/app/shared/models/ContactReferrerReqRes.model';\nimport { DialogService } from 'src/app/services/dialog.service';\nimport { ConfirmDialogParams } from 'src/app/shared/components/confirm-dialog/confirm-dialog.component';\nimport { OnDestroyMixin, untilComponentDestroyed } from '@w11k/ngx-componentdestroyed';\nimport {BaseResponseDto} from '../../../../shared/models/BaseResponseDto.model';\nimport {UtilsService} from '../../../../services/utils.service';\nimport { PermissionService } from 'src/app/permission/permission.service';\n\n@Component({\n selector: 'terra-contact-referrers-dialog',\n templateUrl: './contact-referrers-dialog.component.html',\n styleUrls: ['./contact-referrers-dialog.component.scss'],\n providers: [ContactReferrersDialogService, ContactReferrersDialogQuery, ContactReferrersDialogStore]\n})\nexport class ContactReferrersDialogComponent extends OnDestroyMixin implements OnInit {\n allowInvestorName$ = this.permissionService.allowInvestorName$;\n contactReferrers$ = this.query.selectAll();\n count$ = this.query.selectCount();\n loading$ = this.query.selectLoading();\n\n displayedColumns: string[] = ['name', 'action'];\n\n constructor(\n private dialogRef: MatDialogRef,\n @Inject(MAT_DIALOG_DATA) public data: any,\n private dialog: MatDialog,\n private query: ContactReferrersDialogQuery,\n private contactReferrersDialogService: ContactReferrersDialogService,\n private dialogService: DialogService,\n private permissionService: PermissionService,\n private utilsService: UtilsService\n ) {\n super();\n dialogRef.addPanelClass('terra-contact-referrers-dialog');\n }\n\n ngOnInit(): void {\n }\n\n addContactReferrerDialog() {\n this.dialog.open(InvestorContactReferrerDialogComponent).afterClosed()\n .pipe(\n untilComponentDestroyed(this),\n filter(referrer => referrer),\n switchMap(referrer => this.contactReferrersDialogService.addContactReferrer(referrer))\n ).subscribe(\n () => {},\n error => {\n if (error instanceof BaseResponseDto) {\n this.utilsService.alertErrorMessage(error);\n }\n }\n );\n }\n\n edit(contactReferrer: ContactReferrerReqRes) {\n const dialogConfig = new MatDialogConfig();\n const data = new ContactReferrerEditDialogContext();\n data.contactReferrer = contactReferrer;\n dialogConfig.data = data;\n\n this.dialog.open(InvestorContactReferrerDialogComponent, dialogConfig).afterClosed().pipe(\n untilComponentDestroyed(this),\n filter(referrer => referrer),\n switchMap(referrer => this.contactReferrersDialogService.updateContactReferrer(referrer))\n ).subscribe(\n () => {},\n error => {\n if (error instanceof BaseResponseDto) {\n this.utilsService.alertErrorMessage(error);\n }\n }\n );\n }\n\n delete(contactReferrer: ContactReferrerReqRes) {\n const confirmationText = contactReferrer.attachedContactsCount === 0 ?\n `

Are you sure you want to delete this contact referrer?

` :\n `

The contact referrer you are about to delete is attached to ${contactReferrer.attachedContactsCount} contacts.

\n

Are you sure you want to delete it?

`;\n\n this.dialogService.confirmDialog(new ConfirmDialogParams('Delete Contact Referrer', confirmationText)).afterClosed()\n .pipe(\n untilComponentDestroyed(this),\n filter(isConfirmed => isConfirmed),\n switchMap(() => this.contactReferrersDialogService.deleteContactReferrer(contactReferrer.id)))\n .subscribe(\n () => {},\n error => {\n if (error instanceof BaseResponseDto) {\n this.utilsService.alertErrorMessage(error);\n }\n }\n );\n }\n}\n", "\n

Contact Referrers

\n
\n\n\n \n\n\n\n
\n \n \n
\n\n \n
\n

No contact referrers yet. Click 'Add Contact Referrer' to add a new one.

\n
\n
\n\n 0 else emptyState\">\n \n \n \n \n \n\n \n \n \n \n\n \n \n
Name \n \n {{element.name}} - {{element.id}}\n \n \n {{element.id}}\n \n \n
\n \n \n \n \n
\n
\n
\n
\n\n\n \n\n", "export enum ContactsGroupType {\n AllInvestors,\n Holding,\n General,\n}\n", "export enum RecipientType {\n Contact,\n Group,\n User,\n}\n", "import { Injectable } from \"@angular/core\";\nimport { of } from \"rxjs\";\nimport { HttpService } from \"src/app/services/http.service\";\nimport { AbstractRestService } from \"src/app/shared/types/AbstractRestService\";\nimport { TemplateModel } from \"./template-model\";\n\n@Injectable({\n providedIn: \"root\",\n})\nexport class TemplateService extends AbstractRestService<\n TemplateModel,\n TemplateModel\n> {\n protected readonly baseEndpoint$ = of(\"template/\");\n\n constructor(http: HttpService) {\n super(http);\n }\n}\n", "import { Injectable } from \"@angular/core\";\nimport { HttpService } from \"src/app/services/http.service\";\nimport { InvestorContactReqRes } from \"../../contacts/models/investorContactReqRes.model\";\nimport { RecipientsGroup } from \"./recipients-group\";\nimport { InvestorSuggestion } from \"./investor-suggestion\";\nimport { RecipientType } from \"./recipient-type\";\n\n@Injectable({\n providedIn: \"root\",\n})\nexport class InvestorCommunicationService {\n public readonly INVESTORCOMMUNICATION_BASE_ENDPOINT = \"investorcommunication\";\n private readonly MAX_NUM_OF_RECIPIENTS = 2000;\n\n constructor(private http: HttpService) {}\n\n getGroups(filterQuery?: string) {\n return this.http.getTyped(\n `${this.INVESTORCOMMUNICATION_BASE_ENDPOINT}/getgroups${\n filterQuery ? `?filter=${filterQuery}` : \"\"\n }`\n );\n }\n\n sendInvestorsMails(templateId: number, model: any) {\n return this.http.post(\n `${this.INVESTORCOMMUNICATION_BASE_ENDPOINT}/${templateId}`,\n model\n );\n }\n\n generateSubmitModel(formValues: {\n recipients: InvestorSuggestion[];\n bccRecipients: InvestorSuggestion[];\n subject: string;\n message: string;\n }) {\n const recipientsByType = [\n ...formValues.recipients,\n ...formValues.bccRecipients,\n ].reduce(\n (acc, val) => ({\n ...acc,\n [val.recipientType]: acc[val.recipientType]\n ? [\n ...acc[val.recipientType],\n val.recipientType !== RecipientType.Group ? val.id : val,\n ]\n : [val.recipientType !== RecipientType.Group ? val.id : val],\n }),\n {}\n );\n return {\n ...formValues,\n message: formValues.message || null,\n recipients: recipientsByType[RecipientType.Contact],\n users: recipientsByType[RecipientType.User],\n groups: recipientsByType[RecipientType.Group],\n };\n }\n}\n", "import {\n ChangeDetectionStrategy,\n Component,\n HostListener,\n Inject,\n OnInit,\n QueryList,\n ViewChildren,\n} from \"@angular/core\";\nimport {\n FormBuilder,\n UntypedFormControl,\n UntypedFormGroup,\n Validators,\n} from \"@angular/forms\";\nimport { MAT_DIALOG_DATA, MatDialogRef } from \"@angular/material/dialog\";\nimport { AutoComplete } from \"primeng/autocomplete\";\nimport { BehaviorSubject, Observable, combineLatest, of } from \"rxjs\";\nimport { catchError, filter, finalize, map, take, tap } from \"rxjs/operators\";\nimport { DialogService } from \"src/app/services/dialog.service\";\nimport { ContactDataService } from \"src/app/services/gp/contact-data.service\";\nimport { UserService } from \"src/app/services/shared/user.service\";\nimport { AlertDialogParams } from \"src/app/shared/components/alert-dialog/alert-dialog.component\";\nimport { ContactSearchOptionsRequest } from \"src/app/shared/models/contactSearchOptionsRequest.model\";\nimport { ContactsGroupType } from \"../contacts-group-type\";\nimport { InvestorCommunicationService } from \"../investor-communication.service\";\nimport { InvestorSuggestion } from \"../investor-suggestion\";\nimport { RecipientType } from \"../recipient-type\";\nimport { TemplateService } from \"../template.service\";\nimport { InvestorCommunicationDialogData } from \"./investor-communication-dialog-data\";\n\n@Component({\n selector: \"terra-investor-communication-dialog\",\n templateUrl: \"./investor-communication-dialog.component.html\",\n styleUrls: [\"./investor-communication-dialog.component.scss\"],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class InvestorCommunicationDialogComponent implements OnInit {\n @HostListener(\"document:keydown.escape\", [\"$event\"])\n keyEvent(event: KeyboardEvent) {\n if (\n event.key === \"Escape\" &&\n (event.target as Element).tagName === \"INPUT\" &&\n this.lastLayoutVisible\n ) {\n this.lastLayoutVisible = false;\n return;\n }\n this.originalClose.bind(this.dialogRef)();\n }\n\n @ViewChildren(AutoComplete) autoCompletes: QueryList;\n\n RecipientType = RecipientType;\n ContactsGroupType = ContactsGroupType;\n emailForm: UntypedFormGroup;\n filteredContacts$: BehaviorSubject =\n new BehaviorSubject(null);\n CCfilteredRecipients$: BehaviorSubject =\n new BehaviorSubject(null);\n BCCfilteredRecipients$: BehaviorSubject =\n new BehaviorSubject(null);\n lastLayoutVisible = false;\n public originalClose: Function;\n isSending$: BehaviorSubject = new BehaviorSubject(false);\n recipientsFields = [\n {\n formControlName: \"recipients\",\n suggestionsSubject: this.filteredContacts$,\n additionSuggestions: this.userService\n .getCurrentAgentOrganizationMembers()\n .pipe(\n map((members) =>\n members\n .filter((member) => member.firstName && member.lastName)\n .map((member) => ({\n id: member.id,\n displayName: [\n member.firstName,\n member.middleName,\n member.lastName,\n ].join(\" \"),\n firstName: member.firstName,\n lastName: member.lastName,\n email: member.email,\n recipientType: RecipientType.User,\n }))\n )\n ),\n label: \"Recipients:\",\n },\n {\n formControlName: \"bccRecipients\",\n suggestionsSubject: this.BCCfilteredRecipients$,\n additionSuggestions: this.userService\n .getCurrentAgentOrganizationMembers()\n .pipe(\n map((members) =>\n members\n .filter((member) => member.firstName && member.lastName)\n .map((member) => ({\n id: member.id,\n displayName: [\n member.firstName,\n member.middleName,\n member.lastName,\n ].join(\" \"),\n firstName: member.firstName,\n lastName: member.lastName,\n email: member.email,\n recipientType: RecipientType.User,\n }))\n )\n ),\n label: \"BCC:\",\n },\n ];\n constructor(\n public dialogRef: MatDialogRef,\n @Inject(MAT_DIALOG_DATA) public data: InvestorCommunicationDialogData,\n private fb: FormBuilder,\n private contactDataService: ContactDataService,\n private templateService: TemplateService,\n private investorCommunicationService: InvestorCommunicationService,\n private userService: UserService,\n private dialogService: DialogService\n ) {\n this.originalClose = this.dialogRef.close;\n this.dialogRef.close = this.closeDialog.bind(this);\n }\n\n ngOnInit(): void {\n\n this.emailForm = this.fb.group({\n recipients: new UntypedFormControl(\n this.data.defaultSuggestions,\n Validators.required\n ),\n bccRecipients: new UntypedFormControl(),\n subject: new UntypedFormControl(this.data.subject, Validators.required),\n message: new UntypedFormControl(''),\n });\n this.userService.accountDetails$\n .pipe(\n take(1),\n tap((account) =>\n this.emailForm.patchValue({\n bccRecipients: [\n {\n id: account.id,\n displayName: [\n account.firstName,\n account.middleName,\n account.lastName,\n ].join(\" \"),\n firstName: account.firstName,\n lastName: account.lastName,\n email: account.email,\n recipientType: RecipientType.User,\n },\n ],\n })\n )\n )\n .subscribe();\n\n this.templateService\n .getById(this.data.contentTemplateId)\n .pipe(\n take(1),\n tap((templateModel) =>\n this.emailForm.patchValue({ message: templateModel.definition })\n )\n )\n .subscribe();\n }\n\n closeDialog() {}\n\n filterContacts(\n event: any,\n targetSubject: BehaviorSubject,\n additionSuggestions: Observable\n ) {\n const searchReq = new ContactSearchOptionsRequest();\n searchReq.filter = event.query;\n searchReq.isBaseSearch = true;\n const baseDataSource = combineLatest(\n [\n this.contactDataService.getList(searchReq).pipe(\n map((contactsContainer) =>\n contactsContainer.rows.map((contact) => ({\n id: contact.id,\n displayName: [\n contact.firstName,\n contact.middleName,\n contact.lastName,\n ].join(\" \"),\n firstName: contact.firstName,\n lastName: contact.lastName,\n email: contact.email,\n recipientType: RecipientType.Contact,\n }))\n )\n ),\n this.investorCommunicationService.getGroups(event.query).pipe(\n map((groups) =>\n groups.map((group) => ({\n ...group,\n recipientType: RecipientType.Group,\n }))\n )\n ),\n additionSuggestions,\n ].filter((src) => src)\n );\n\n baseDataSource\n .pipe(\n take(1),\n tap(([contacts, groups, addition]) =>\n targetSubject.next([\n ...groups,\n ...(addition?.length\n ? addition.filter((usr) => usr.displayName.includes(event.query))\n : []),\n ...contacts,\n ])\n )\n )\n .subscribe();\n }\n\n send() {\n this.isSending$.next(true);\n this.emailForm.markAllAsTouched();\n Object.values(this.emailForm.controls).forEach((control) =>\n control.markAsDirty()\n );\n this.emailForm.updateValueAndValidity();\n this.validateBeforeSending()\n .pipe(\n take(1),\n filter((result) => result),\n tap((_) => this.doSubmit())\n )\n .subscribe();\n }\n\n validateBeforeSending(): Observable {\n if (!this.emailForm.valid) {\n this.isSending$.next(false);\n return of(false);\n }\n if (\n this.autoCompletes.some((ac) => !!ac.containerEL.nativeElement.value)\n ) {\n const dialogParams = new AlertDialogParams(\n \"Email Verification Issue\",\n `\n
\n One or more recipients can't be recognized as you did not select them from the dropdown autocomplete list.\n Please ensure that all the recipients are selected from the list and try again.\n
\n `,\n \"Back to editing\"\n );\n dialogParams.actionPosition = \"right\";\n return this.dialogService\n .alertDialog(dialogParams)\n .afterClosed()\n .pipe(\n map((_) => false),\n tap((_) => this.isSending$.next(false))\n );\n }\n return of(true);\n }\n\n doSubmit() {\n const submitModel = this.investorCommunicationService.generateSubmitModel(\n this.emailForm.value\n );\n this.investorCommunicationService\n .sendInvestorsMails(this.data.contentTemplateId, submitModel)\n .pipe(\n take(1),\n tap((_) => {\n this.originalClose.bind(this.dialogRef)({ result: true });\n }),\n catchError((_) =>\n this.originalClose.bind(this.dialogRef)({ result: false })\n ),\n finalize(() => this.isSending$.next(false))\n )\n .subscribe();\n }\n}\n", "\n

\n {{ data.dialogTitle || \"Notify Investors by Email\" }}\n

\n\n\n
\n \n \n
\n \n \n
\n \n \n
\n
\n \n
\n {{\n contact.displayName | truncate : 42 : true\n }}\n\n {{ contact.email | truncate : 47 : true }}\n
\n
\n
\n
\n \n
\n \n {{\n contact.displayName | truncate : 42 : true\n }}\n
\n
\n \n Not Valid! Select from the suggestions list\n
\n
\n
\n \n \n \n Required\n \n
\n \n \n \n\n\n
\n \n Cancel\n \n \n Send\n \n
\n", "import {\n ChangeDetectionStrategy,\n Component,\n Inject,\n OnInit,\n} from \"@angular/core\";\nimport { MAT_SNACK_BAR_DATA } from \"@angular/material/snack-bar\";\n\n@Component({\n selector: \"terra-investor-communication-result-snackbar\",\n templateUrl: \"./investor-communication-result-snackbar.component.html\",\n styleUrls: [\"./investor-communication-result-snackbar.component.scss\"],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class InvestorCommunicationResultSnackbarComponent implements OnInit {\n messageToDisplay: string;\n icon: string;\n successMessage = \"Email successfully sent\";\n failedMessage = \"Email failed to be sent\";\n constructor(@Inject(MAT_SNACK_BAR_DATA) public data: { result: boolean }) {}\n\n ngOnInit(): void {\n this.messageToDisplay = this.data.result\n ? this.successMessage\n : this.failedMessage;\n\n this.icon = this.data.result ? \"check_circle_outline\" : \"error\";\n }\n}\n", "

\n {{ icon }}\n {{ messageToDisplay }}\n

\n", "import {\n ChangeDetectionStrategy,\n Component,\n OnInit,\n ViewContainerRef,\n} from \"@angular/core\";\nimport { UntypedFormBuilder, UntypedFormGroup } from \"@angular/forms\";\nimport { MatDialog, MatDialogConfig } from \"@angular/material/dialog\";\nimport { Title } from \"@angular/platform-browser\";\nimport { ActivatedRoute } from \"@angular/router\";\nimport {\n OnDestroyMixin,\n untilComponentDestroyed,\n} from \"@w11k/ngx-componentdestroyed\";\nimport { combineLatest, Observable, Subject } from \"rxjs\";\nimport {\n debounceTime,\n filter,\n map,\n shareReplay,\n startWith,\n switchMap,\n switchMapTo,\n take,\n tap,\n} from \"rxjs/operators\";\n\nimport { PermissionLevel } from \"src/app/permission/enums/permissionLevel.enum\";\nimport { PermissionService } from \"src/app/permission/permission.service\";\nimport { SnackbarService } from \"src/app/services/snackbar.service\";\nimport { AnalyticsServiceNameModel, TelemetryService } from \"telemetry-library\";\nimport { AppSettingsService } from \"../../../services/app-settings.service\";\nimport { DialogService } from \"../../../services/dialog.service\";\nimport { ContactDataService } from \"../../../services/gp/contact-data.service\";\nimport { ContactReferrerDataService } from \"../../../services/gp/contact-referrer-data.service\";\nimport { ImpersonationService } from \"../../../services/shared/impersonation.service\";\nimport { UserService } from \"../../../services/shared/user.service\";\nimport { UtilsService } from \"../../../services/utils.service\";\nimport { AlertDialogParams } from \"../../../shared/components/alert-dialog/alert-dialog.component\";\nimport { ConfirmDialogParams } from \"../../../shared/components/confirm-dialog/confirm-dialog.component\";\nimport { BaseResponseDto, BaseResponseStatus } from \"../../../shared/models/BaseResponseDto.model\";\nimport { KeyValuePair } from \"../../../shared/types/KeyValuePair.model\";\nimport { InvestorCommunicationDialogComponent } from \"../../shared/investor-communication/investor-communication-dialog/investor-communication-dialog.component\";\nimport { InvestorCommunicationResultSnackbarComponent } from \"../../shared/investor-communication/investor-communication-result-snackbar/investor-communication-result-snackbar.component\";\nimport { RecipientType } from \"../../shared/investor-communication/recipient-type\";\nimport { ContactReferrersDialogComponent } from \"../components/contact-referrers-dialog/contact-referrers-dialog.component\";\nimport {\n ContactDialogData,\n InvestorContactDialogComponent,\n} from \"../components/investor-contact-dialog/investor-contact-dialog.component\";\nimport { InvestorContactImportDialogComponent } from \"../components/investor-contact-import-dialog/investor-contact-import-dialog.component\";\nimport { InvestorContactsTableService } from \"../components/investor-contacts-display-table/investor-contacts-table.service\";\nimport { InvestorContactReqRes } from \"../models/investorContactReqRes.model\";\nimport { InvestingEntityWithRelatedInvestmentsHolding } from \"../models/investingEntityWithRelatedInvestmentsHolding.model\";\nimport { InvestingEntityWithRelatedInvestmentsHoldingWarningDialogComponent } from \"../components/investing-entity-with-related-investments-holding-warning-dialog/investing-entity-with-related-investments-holding-warning-dialog.component\";\n\n@Component({\n selector: \"terra-investors-contacts\",\n templateUrl: \"./investors-contacts.component.html\",\n styleUrls: [\"./investors-contacts.component.scss\"],\n providers: [InvestorContactsTableService],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class InvestorsContactsComponent extends OnDestroyMixin implements OnInit {\n showClearFilter$ = this.contactsTableService.searchOptions$.pipe(\n map(\n (searchOptions) =>\n (searchOptions.tags && searchOptions.tags.length > 0) ||\n searchOptions.filter.length > 0 ||\n searchOptions.contactReferrerId\n )\n );\n\n allowInvestorName$ = this.permissionService.allowInvestorName$;\n isLoadingViewAsInvestor$ = this.impersonationService.isLoadingImpersonation$;\n private searchOptions$ = this.contactsTableService.searchOptions$;\n refreshFilters$ = new Subject();\n\n allContactReferrers$ = this.refreshFilters$.pipe(\n startWith([null]),\n switchMapTo(this.contactReferrerDataService.getAll()),\n shareReplay(1)\n );\n\n private contactTagsResponse$ = this.refreshFilters$.pipe(\n startWith([null]),\n switchMapTo(this.contactDataService.getContactTags())\n );\n\n allTags$: Observable[]> =\n this.contactTagsResponse$.pipe(map((response) => response.tags));\n mostUsedTags$: Observable[]> =\n this.contactTagsResponse$.pipe(map((response) => response.mostUsedTags));\n\n private selectedTagIds$ = this.searchOptions$.pipe(map((s) => s.tags));\n selectedTags$ = combineLatest([this.allTags$, this.selectedTagIds$]).pipe(\n map(([allTags, selectedTagIds]) => {\n return selectedTagIds.map((id) => allTags.find((t) => t.key === id));\n }),\n shareReplay(1)\n );\n selectedContacts: InvestorContactReqRes[] = [];\n pageForm: UntypedFormGroup;\n \n constructor(\n private viewContainerRef: ViewContainerRef,\n private route: ActivatedRoute,\n private dialog: MatDialog,\n private contactDataService: ContactDataService,\n private contactsTableService: InvestorContactsTableService,\n private contactReferrerDataService: ContactReferrerDataService,\n private fb: UntypedFormBuilder,\n private dialogService: DialogService,\n private titleService: Title,\n private appSettings: AppSettingsService,\n private telemetryService: TelemetryService,\n private userService: UserService,\n private utilsService: UtilsService,\n private permissionService: PermissionService,\n private impersonationService: ImpersonationService,\n private activatedRoute: ActivatedRoute,\n private snackbarService: SnackbarService\n ) {\n super();\n }\n\n ngOnInit() {\n this.generateForm();\n\n const providedContactId = this.getContactIdParamProvided();\n if (providedContactId) {\n const investingEntityId = this.getInvestingEntityIdIdParamProvided();\n this.showContactModal(providedContactId, investingEntityId);\n }\n }\n\n private getContactIdParamProvided(): number {\n const contactId = +this.route.snapshot.queryParams.contactId;\n return contactId && contactId > 0 ? contactId : null;\n }\n\n private getInvestingEntityIdIdParamProvided(): number {\n const investingEntityId =\n +this.route.snapshot.queryParams.investingEntityId;\n return investingEntityId && investingEntityId > 0\n ? investingEntityId\n : null;\n }\n\n clearForm() {\n this.pageForm.get(\"filter\").setValue(\"\");\n this.pageForm.get(\"multiselectTags\").setValue(null);\n this.pageForm.get(\"contactReferrerId\").setValue(null);\n }\n\n openInvestorCommunicationDialog() {\n this.permissionService\n .checkPermission(PermissionLevel.Editor)\n .pipe(\n take(1),\n switchMap(([result, _]) =>\n result\n ? this.dialogService\n .customDialog(InvestorCommunicationDialogComponent, {\n contentTemplateId: 2,\n defaultSuggestions: this.selectedContacts.map(\n (selectedContact) => ({\n displayName: [\n selectedContact.firstName,\n selectedContact.middleName,\n selectedContact.lastName,\n ].join(\" \"),\n firstName: selectedContact.firstName,\n lastName: selectedContact.lastName,\n email: selectedContact.email,\n id: selectedContact.id,\n recipientType: RecipientType.Contact,\n })\n ),\n })\n .afterClosed()\n .pipe(\n take(1),\n filter((result) => result),\n tap((result) =>\n this.snackbarService.showSnackbarFromComponent(\n InvestorCommunicationResultSnackbarComponent,\n result,\n 2,\n \"investor-communication-message-snackbar\"\n )\n )\n )\n : this.dialogService\n .alertDialog(\n new AlertDialogParams(\n \"Not Permitted\",\n \"You are a read-only user so you cannot perform this action!\"\n )\n )\n .afterClosed()\n )\n )\n .subscribe();\n }\n\n export() {\n this.contactsTableService.searchOptions$\n .pipe(\n take(1),\n switchMap((options) =>\n this.contactDataService\n .exportContacts(options)\n .pipe(untilComponentDestroyed(this))\n )\n )\n .subscribe((response) => {\n const filename = response;\n\n if (!!filename) {\n this.downloadFile(filename);\n } else {\n }\n });\n }\n\n import() {\n this.importContactsClickTelemetryEvent();\n const dialogConfig = new MatDialogConfig();\n dialogConfig.panelClass = \"investor-contact-import-dialog\";\n dialogConfig.disableClose = true;\n this.dialog\n .open(InvestorContactImportDialogComponent, dialogConfig)\n .afterClosed()\n .subscribe((isRefresh: boolean) => {\n if (isRefresh) {\n this.contactsTableService.refresh();\n this.refreshFilters$.next();\n }\n });\n }\n\n manageContactReferrers() {\n this.dialog.open(ContactReferrersDialogComponent);\n }\n\n showContactModal(contactId: number, investingEntityId: number = null) {\n const dialogConfig = new MatDialogConfig();\n\n dialogConfig.disableClose = true;\n dialogConfig.closeOnNavigation = true;\n dialogConfig.autoFocus = true;\n dialogConfig.viewContainerRef = this.viewContainerRef;\n\n dialogConfig.data = {\n contactId,\n investingEntityId,\n };\n\n this.dialog\n .open(InvestorContactDialogComponent, dialogConfig)\n .afterClosed()\n .subscribe((contactDetails: InvestorContactReqRes) => {\n if (contactDetails) {\n this.refreshFilters$.next();\n this.contactsTableService.refresh();\n }\n });\n }\n\n showDeleteModal(ids: number[]) {\n const dialogParams = new ConfirmDialogParams();\n dialogParams.panelClass = \"delete-contact-dialog\";\n dialogParams.actionLabel = `Delete`;\n if (ids.length === 1) {\n dialogParams.title = `are you sure you want to delete this investor?`;\n dialogParams.description = `Investor information and all their related data will be deleted immediately. You cannot undo this action.`;\n } else if (ids.length > 1) {\n dialogParams.title = `are you sure you want to delete ${ids.length} investors?`;\n dialogParams.description = `Investors information and all their related data will be deleted immediately. You cannot undo this action.`;\n }\n\n this.dialogService\n .confirmDialog(dialogParams)\n .afterClosed()\n .pipe(untilComponentDestroyed(this))\n .subscribe((confirmed: boolean) => {\n if (confirmed && ids && ids.length > 0) {\n this.onDelete(ids);\n }\n });\n }\n\n private openInvestingEntityWithRelatedInvestmentsHoldingDialog(investingEntityWithRelatedInvestmentsHolding: InvestingEntityWithRelatedInvestmentsHolding[]) {\n const dialogConfig = new MatDialogConfig();\n\n dialogConfig.disableClose = true;\n dialogConfig.closeOnNavigation = true;\n dialogConfig.autoFocus = true;\n dialogConfig.viewContainerRef = this.viewContainerRef;\n\n dialogConfig.data = investingEntityWithRelatedInvestmentsHolding;\n\n this.dialog\n .open(InvestingEntityWithRelatedInvestmentsHoldingWarningDialogComponent, dialogConfig);\n }\n\n public viewAsInvestor(contact: InvestorContactReqRes) {\n this.impersonationService.viewAsInvestor(contact).subscribe({\n error: (_) => {\n this.errorAlertModel();\n },\n });\n }\n\n onDelete(ids: number[]) {\n const deleteFunction = ids.length === 1 ?\n this.contactDataService.deleteSingle(ids[0])\n : this.contactDataService.deleteMultiple(ids);\n deleteFunction.pipe(untilComponentDestroyed(this),\n tap(_ => this.contactsTableService.refresh())\n )\n .subscribe({\n next: res => {\n if(res.responseStatus === BaseResponseStatus.Notice){\n this.openInvestingEntityWithRelatedInvestmentsHoldingDialog(res.data)\n }\n },\n error: (error) => {\n if (error instanceof BaseResponseDto) {\n this.utilsService.alertErrorMessage(error);\n } else {\n this.errorAlertModel();\n }\n }\n });\n }\n\n private generateForm() {\n this.pageForm = this.fb.group({\n multiselectTags: null,\n filter: \"\",\n contactReferrerId: null,\n });\n\n this.pageForm.controls.filter.valueChanges\n .pipe(untilComponentDestroyed(this), debounceTime(300))\n .subscribe((term) => {\n this.contactsTableService.updateFilter(term);\n });\n\n this.pageForm.controls.multiselectTags.valueChanges\n .pipe(untilComponentDestroyed(this), debounceTime(300))\n .subscribe((tags) => {\n this.contactsTableService.updateTagsFilter(tags);\n });\n\n this.pageForm.controls.contactReferrerId.valueChanges\n .pipe(untilComponentDestroyed(this), debounceTime(150))\n .subscribe((contactReferrerId) => {\n this.contactsTableService.updateContactReferrerIdFilter(\n contactReferrerId\n );\n });\n\n if (this.activatedRoute.snapshot.queryParams[\"search\"]) {\n this.pageForm\n .get(\"filter\")\n .setValue(this.activatedRoute.snapshot.queryParams[\"search\"]);\n }\n }\n\n private errorAlertModel() {\n const dialogParams = new AlertDialogParams();\n\n dialogParams.title = `An error has occurred`;\n dialogParams.description = `An error has occurred. Please try again or contact support.`;\n dialogParams.actionLabel = `OK`;\n\n this.dialogService.alertDialog(dialogParams);\n }\n\n private downloadFile(filename: string) {\n const link = document.createElement(\"a\");\n link.href = `${this.appSettings.resourceUrl}document/${filename}/`;\n link.download = filename;\n link.dispatchEvent(new MouseEvent(\"click\"));\n }\n\n private importContactsClickTelemetryEvent() {\n this.userService.accountDetails$\n .pipe(take(1))\n .subscribe((clientDetails) => {\n this.telemetryService.create(\n {\n eventID: \"27\",\n eventTitle: \"IMPORT CONTACTS (CLICKED)\",\n organizationID: clientDetails.organizationDetails.id,\n },\n AnalyticsServiceNameModel.Mixpanel |\n AnalyticsServiceNameModel.Insights\n );\n });\n }\n\n private importContactsSendTelemetryEvent() {\n this.userService.accountDetails$\n .pipe(take(1))\n .subscribe((clientDetails) => {\n this.telemetryService.create(\n {\n eventID: \"28\",\n eventTitle: \"IMPORT CONTACTS (SEND)\",\n organizationID: clientDetails.organizationDetails.id,\n },\n AnalyticsServiceNameModel.Mixpanel |\n AnalyticsServiceNameModel.Insights\n );\n });\n }\n}\n", "
\n
\n
\n \n add Add a New Contact\n \n\n \n \n \n\n
\n \n \n {{\n tag.value\n }}\n \n \n\n \n \n {{ tag.value }}\n \n \n
\n\n
\n \n \n None\n \n \n {{\n contactReferrer.name + \" - \" + contactReferrer.id\n | truncate : 40 : true\n }}\n \n \n {{ contactReferrer.id }}\n \n \n \n \n
\n\n \n Clear all\n \n
\n\n
\n \n more_vert\n Actions\n \n\n \n \n \n \n Send Email\n \n \n \n \n \n \n Import\n \n\n \n \n person_pin\n Manage contact referrers\n \n \n
\n
\n
\n\n\n", "import {LocationDetailsResponse} from 'src/app/shared/models/LocationDetailsResponse.model';\nimport {DestinationBankAccountCreateDto} from './recipient-bank-account-create-dto.model';\n\nexport class RecipientCreateDto {\n public firstName: string;\n public lastName: string;\n public bankAccount: DestinationBankAccountCreateDto;\n public tags: string[];\n public location: LocationDetailsResponse;\n public memo: string;\n}\n", "import {PaymentType} from '../../../../../enums/payment-type.enum';\nimport CheckingOrSavingsType from '../../../../../enums/CheckingOrSavingsType.enum';\n\nexport class DestinationBankAccountCreateDto {\n public usAbaRoutingNumber: string;\n public accountNumber: string;\n public paymentType: PaymentType;\n public checkingOrSavingsType: CheckingOrSavingsType;\n}\n", "import {Component, OnInit, ChangeDetectionStrategy, Inject} from '@angular/core';\nimport {UntypedFormBuilder, UntypedFormGroup, Validators} from '@angular/forms';\nimport {MAT_DIALOG_DATA, MatDialogRef} from '@angular/material/dialog';\nimport {finalize, switchMap, take} from 'rxjs/operators';\nimport {BehaviorSubject} from 'rxjs';\nimport {MatChipInputEvent} from '@angular/material/chips';\n\nimport {GpRecipientContactsDataService} from '../../../../services/gp/gp-recipient-contacts-data.service';\nimport {fadeInOut} from '../../../../shared/animations';\nimport {TerraUtils} from '../../../../shared/TerraUtils';\nimport {LoggerService} from '../../../../shared/errors/logger.service';\nimport {CustomValidators} from '../../../../shared/validators/custom.validators';\nimport {RecipientCreateDto} from 'src/app/shared/components/unit/unit-payment/models/recipient/recipient-create-dto.model';\nimport {DestinationBankAccountCreateDto} from 'src/app/shared/components/unit/unit-payment/models/recipient/recipient-bank-account-create-dto.model';\nimport {PaymentType} from 'src/app/shared/enums/payment-type.enum';\nimport HttpStatusCodesEnum from 'src/app/shared/enums/HttpStatusCodesEnum';\nimport {AddressFields, AddressFormSettings} from 'src/app/shared/components/address-form/address-form.settings';\nimport {LocationDetailsResponse} from 'src/app/shared/models/LocationDetailsResponse.model';\nimport {OnDestroyMixin, untilComponentDestroyed} from '@w11k/ngx-componentdestroyed';\nimport CheckingOrSavingsType from '../../../../shared/enums/CheckingOrSavingsType.enum';\n\n@Component({\n selector: 'terra-create-edit-recipient-dialog',\n templateUrl: './create-edit-recipient-dialog.component.html',\n styleUrls: ['./create-edit-recipient-dialog.component.scss'],\n animations: [fadeInOut],\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class CreateEditRecipientDialogComponent extends OnDestroyMixin implements OnInit {\n isLoading$ = new BehaviorSubject(false);\n isSubmitted$ = new BehaviorSubject(false);\n isGeneralServerError$ = new BehaviorSubject(false);\n validationError$ = new BehaviorSubject(false);\n isUpdatingExistingRecipient$ = new BehaviorSubject(false);\n\n pageForm: UntypedFormGroup;\n currentTags = [] as string[];\n generalErrorMessage = TerraUtils.consts.messages.GENERAL_SUBMIT_ERROR_WITH_LINK;\n CrePaymentType = PaymentType;\n forbiddenNameCharacters = TerraUtils.consts.validators.FORBIDDEN_CHARACTERS_IN_NAME;\n memoTooltipText = 'This Memo / Special Instruction also known as, OBI (Originating Beneficiary Information), \"Message/Reference to Beneficiary\" will be sent along with the wire information and will inform the beneficiary as to additional instructions (for example, which customer account number to apply the funds to). If you are wiring to a brokerage firm that uses a bank to receive funds, such as National Financial Services or Charles Schwab, enter the \"For Further Credit\" (FFC) information in this field to ensure that your funds are applied to the proper brokerage account.';\n memoLength = TerraUtils.consts.validators.MEMO_MAX_LENGTH;\n recipientLocation: LocationDetailsResponse;\n\n CheckingOrSavingsType = CheckingOrSavingsType;\n checkingOrSavingsTypes = CheckingOrSavingsType.listAll();\n\n constructor(private fb: UntypedFormBuilder,\n @Inject(MAT_DIALOG_DATA) public recipientId: number,\n private dialogRef: MatDialogRef,\n private recipientContactsDataService: GpRecipientContactsDataService,\n private loggerService: LoggerService\n ) {\n dialogRef.addPanelClass('terra-create-edit-recipient-dialog');\n super();\n }\n\n ngOnInit(): void {\n this.generateForm();\n if (!!this.recipientId) {\n this.isUpdatingExistingRecipient$.next(true);\n this.populateForm(this.recipientId);\n }\n }\n\n get generateAddressFormSettings(): AddressFormSettings {\n // tslint:disable-next-line:no-bitwise\n const fieldsToShow = AddressFields.Country | AddressFields.Street | AddressFields.Street2 | AddressFields.City | AddressFields.State | AddressFields.PostalCode;\n return new AddressFormSettings(fieldsToShow, undefined, true);\n }\n\n /**\n * Generates an empty form\n */\n private generateForm() {\n this.pageForm = this.fb.group({\n firstName: [null, [Validators.required, CustomValidators.containsForbiddenCharacterValidator(this.forbiddenNameCharacters),\n Validators.maxLength(TerraUtils.consts.validators.FIRSTNAME_LENGTH)]],\n lastName: [null, [CustomValidators.containsForbiddenCharacterValidator(this.forbiddenNameCharacters),\n Validators.maxLength(TerraUtils.consts.validators.LASTNAME_LENGTH)]],\n tags: [''],\n memo: [null, [Validators.maxLength(this.memoLength)]],\n accountType: [null, [Validators.required]],\n routingNumber: [null, [Validators.required, Validators.pattern(`^\\\\d{9}$`)]],\n accountNumber: [null, [Validators.required, Validators.pattern(`^[0-9]*$`)]],\n address: {},\n checkingOrSavingsType: CheckingOrSavingsType.Checking\n });\n\n this.pageForm.get('accountType').valueChanges.pipe(\n untilComponentDestroyed(this)\n ).subscribe(accountType => {\n accountType === PaymentType.Ach ? this.pageForm.get('address').disable() : this.pageForm.get('address').enable();\n });\n }\n\n /**\n * Creates RecipientCreateDto from form values\n */\n private generateSubmitModel(): RecipientCreateDto {\n const formValues = this.pageForm.getRawValue();\n const model = new RecipientCreateDto();\n model.firstName = formValues.firstName;\n model.lastName = formValues.lastName || '';\n model.tags = this.currentTags;\n model.memo = formValues.memo;\n model.bankAccount = new DestinationBankAccountCreateDto();\n\n model.bankAccount.usAbaRoutingNumber = formValues.routingNumber;\n model.bankAccount.accountNumber = formValues.accountNumber;\n model.bankAccount.paymentType = formValues.accountType;\n model.bankAccount.checkingOrSavingsType = formValues.checkingOrSavingsType;\n\n if (formValues.accountType === PaymentType.Wire) {\n model.location = {...formValues.address} as LocationDetailsResponse;\n }\n\n return model;\n }\n\n /**\n * Sends RecipientCreateDto to the server\n */\n save() {\n this.isSubmitted$.next(false);\n this.isGeneralServerError$.next(false);\n this.pageForm.markAllAsTouched();\n if (!this.pageForm.valid) {\n this.isSubmitted$.next(true);\n return;\n }\n\n this.isSubmitted$.next(true);\n this.isLoading$.next(true);\n const submitModel = this.generateSubmitModel();\n this.isUpdatingExistingRecipient$.pipe(\n take(1),\n switchMap(isUpdate => {\n if (isUpdate) {\n return this.recipientContactsDataService.updateRecipient(this.recipientId, submitModel);\n } else {\n return this.recipientContactsDataService.createRecipient(submitModel);\n }\n }),\n finalize(() => {\n this.isLoading$.next(false);\n })\n ).subscribe(_ => {\n this.dialogRef.close(true);\n },\n error => {\n if (error.status == HttpStatusCodesEnum.BAD_REQUEST) {\n this.isGeneralServerError$.next(false);\n this.validationError$.next(error.error);\n } else {\n this.isGeneralServerError$.next(true);\n this.loggerService.error(`An error occurred creating a recipient`, [submitModel, error]);\n }\n });\n }\n\n /**\n * Adds a new tag\n * @param event The event of tag creation\n */\n addTag(event: MatChipInputEvent) {\n const input = event.input;\n const value = event.value;\n this.currentTags.push(value.toLowerCase());\n if (input) {\n input.value = '';\n }\n\n this.pageForm.get('tags').setValue('');\n }\n\n /**\n * Removes a tah\n * @param tagToRemove The label of the tag to remove\n */\n removeTag(tagToRemove: string) {\n this.currentTags = this.currentTags.filter(tag => tag !== tagToRemove);\n }\n\n /**\n * Populate the form with existing recipient's data\n * @param recipientId Recipient id\n */\n private populateForm(recipientId: number) {\n this.isLoading$.next(true);\n this.recipientContactsDataService.getById(recipientId).pipe(\n take(1),\n finalize(() => {\n this.isLoading$.next(false);\n })\n ).subscribe(recipient => {\n this.pageForm.get('firstName').setValue(recipient.firstName);\n this.pageForm.get('lastName').setValue(recipient.lastName);\n this.pageForm.get('routingNumber').setValue(recipient.bankAccount.usAbaRoutingNumber);\n this.pageForm.get('accountNumber').setValue(recipient.bankAccount.accountNumber);\n this.pageForm.get('accountType').setValue(recipient.bankAccount.paymentType);\n this.pageForm.get('memo').setValue(recipient.memo);\n this.pageForm.get('checkingOrSavingsType').setValue(recipient.bankAccount?.checkingOrSavingsType);\n\n recipient.contactTags.forEach(tag => {\n\n // @ts-ignore\n this.addTag({input: this.pageForm.get('tags'), value: tag});\n });\n\n this.recipientLocation = recipient.contactLocation;\n });\n }\n\n isWirePaymentType() {\n return this.pageForm.get('accountType')?.value === PaymentType.Wire;\n }\n\n addressFormReady(event) {\n if (!!this.recipientLocation) {\n this.pageForm.get('address').patchValue(this.recipientLocation);\n }\n }\n}\n", "\n

{{ (isUpdatingExistingRecipient$ | async) ? 'Update Recipient' : 'Add a New Recipient' }}

\n
\n\n\n\n\n\n
\n\n
\n \n
\n \n \n \n \n Required\n \n \n Name shouldn't contain the following characters: {{ forbiddenNameCharacters.join(', ') }}\n \n \n Enter a name up to 40 characters\n \n \n
\n\n \n
\n \n \n \n \n Name shouldn't contain the following characters: {{ forbiddenNameCharacters.join(', ') }}\n \n \n Enter a name up to 40 characters\n \n \n
\n
\n\n
\n \n
\n \n \n \n Select\n {{ paymentType | enumString : CrePaymentType }}\n \n \n \n Required\n \n \n
\n\n \n
\n \n \n \n \n Required\n \n \n Please enter a valid 9 digits routing number\n \n \n
\n
\n\n
\n \n
\n \n \n \n \n Required\n \n \n Please enter a valid account number\n \n \n
\n\n
\n \n \n \n \n {{ CheckingOrSavingsType.toString(accountType) }}\n \n \n \n
\n
\n\n \n
\n \n \n \n {{ (memo.value?.length || 0) }}/{{ memoLength }}\n \n Enter a description up to {{ memoLength }} characters\n \n \n
\n\n
\n \n \n
\n\n
\n \n \n Using tags to describe recipients makes matching them to payments easier.\n \n
\n
\n
\n\n\n \n \n\n \n
\n

\n Please review and correct the fields marked in red\n

\n

\n

\n\n

\n {{ validationError$.value }}

\n
\n
\n", "import { ChangeDetectionStrategy, Component, OnInit, ViewContainerRef } from '@angular/core';\nimport { UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';\nimport { MatDialog, MatDialogConfig } from '@angular/material/dialog';\nimport { OnDestroyMixin, untilComponentDestroyed } from '@w11k/ngx-componentdestroyed';\nimport { combineLatest, Subject } from 'rxjs';\nimport { debounceTime, map, shareReplay, startWith, switchMapTo } from 'rxjs/operators';\n\nimport { UnitRecipientPaymentsHistoryDialogComponent } from 'src/app/shared/components/unit/unit-payment/unit-recipient-payments-history/unit-recipient-payments-history-dialog/unit-recipient-payments-history-dialog.component';\nimport { DialogService } from '../../../services/dialog.service';\nimport { GpRecipientContactsDataService } from '../../../services/gp/gp-recipient-contacts-data.service';\nimport { SnackbarService } from '../../../services/snackbar.service';\nimport { ConfirmDialogParams } from '../../../shared/components/confirm-dialog/confirm-dialog.component';\nimport { RecipientContactsTableService } from '../../../shared/components/recipient-contacts-display-table/recipient-contacts-table.service';\nimport { RecipientReadDto } from '../../../shared/models/recipient-read-dto.model';\nimport { CreateEditRecipientDialogComponent } from '../components/create-edit-recipient-dialog/create-edit-recipient-dialog.component';\n\n@Component({\n selector: 'terra-recipients-contacts',\n templateUrl: './recipients-contacts.component.html',\n styleUrls: ['./recipients-contacts.component.scss'],\n providers: [RecipientContactsTableService],\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class RecipientsContactsComponent extends OnDestroyMixin implements OnInit {\n\n private refreshTags$ = new Subject();\n private searchOptions$ = this.recipientContactsTableService.searchOptions$;\n private selectedTagIds$ = this.searchOptions$.pipe(map(s => s.tags));\n\n pageForm: UntypedFormGroup;\n allTags$ = this.refreshTags$.pipe(\n startWith([null]),\n switchMapTo(this.recipientContactsDataService.getTags()),\n shareReplay(1)\n );\n selectedTags$ = combineLatest([this.allTags$, this.selectedTagIds$]).pipe(\n map(([allTags, selectedTagIds]) => {\n return selectedTagIds.map(id => allTags[id]);\n }),\n shareReplay(1)\n );\n\n constructor(private fb: UntypedFormBuilder,\n private recipientContactsDataService: GpRecipientContactsDataService,\n private recipientContactsTableService: RecipientContactsTableService,\n private dialog: MatDialog,\n private vcr: ViewContainerRef,\n private snackbarService: SnackbarService,\n private dialogService: DialogService) {\n super();\n }\n\n ngOnInit(): void {\n this.generateForm();\n }\n\n private generateForm() {\n this.pageForm = this.fb.group({\n filter: '',\n tags: null\n });\n\n this.pageForm.controls.filter.valueChanges.pipe(\n untilComponentDestroyed(this),\n debounceTime(300)\n ).subscribe(term => {\n this.recipientContactsTableService.updateFilter(term);\n });\n\n this.pageForm.controls.tags.valueChanges.pipe(\n untilComponentDestroyed(this),\n debounceTime(300)\n ).subscribe(tags => {\n this.recipientContactsTableService.updateTagsFilter(tags);\n });\n }\n\n public openCreateEditRecipientModal(recipientIdToEdit: number = 0) {\n const dialogConfig = new MatDialogConfig();\n dialogConfig.disableClose = true;\n dialogConfig.viewContainerRef = this.vcr;\n dialogConfig.data = recipientIdToEdit;\n\n this.dialog.open(CreateEditRecipientDialogComponent, dialogConfig).afterClosed().pipe(untilComponentDestroyed(this))\n .subscribe(toRefresh => {\n if (toRefresh) {\n this.snackbarService.showGeneralMessage(!!recipientIdToEdit ? 'Recipient updated successfully' : 'Recipient added successfully');\n this.recipientContactsTableService.refresh();\n this.refreshTags$.next();\n }\n });\n }\n\n public showDeleteModal(ids: number[]) {\n const dialogParams = new ConfirmDialogParams();\n dialogParams.panelClass = 'delete-contact-dialog';\n dialogParams.actionLabel = `Delete`;\n if (ids.length === 1) {\n dialogParams.title = `are you sure you want to delete this recipient?`;\n dialogParams.description = `Recipient information and all their related data will be deleted immediately. You cannot undo this action.`;\n } else if (ids.length > 1) {\n dialogParams.title = `are you sure you want to delete ${ids.length} recipients?`;\n dialogParams.description = `Recipients information and all their related data will be deleted immediately. You cannot undo this action.`;\n }\n\n this.dialogService.confirmDialog(dialogParams)\n .afterClosed().pipe(untilComponentDestroyed(this))\n .subscribe((confirmed: boolean) => {\n if (confirmed && ids && ids.length > 0) {\n this.deleteRecipient(ids);\n }\n });\n }\n\n private deleteRecipient(recipientsIds: number[]) {\n if (recipientsIds.length === 1) {\n this.recipientContactsDataService.delete(recipientsIds[0]).pipe(untilComponentDestroyed(this))\n .subscribe( _ => {\n this.recipientContactsTableService.refresh();\n this.snackbarService.showGeneralMessage('Deleted');\n });\n } else if (recipientsIds.length > 1) {\n this.recipientContactsDataService.deleteMultiple(recipientsIds).pipe(untilComponentDestroyed(this))\n .subscribe( _ => {\n this.recipientContactsTableService.refresh();\n this.snackbarService.showGeneralMessage('Deleted');\n });\n }\n }\n\n public openTransactionsHistoryModal(recipient: RecipientReadDto) {\n const dialogConfig = new MatDialogConfig();\n dialogConfig.disableClose = true;\n dialogConfig.viewContainerRef = this.vcr;\n dialogConfig.data = recipient;\n this.dialog.open(UnitRecipientPaymentsHistoryDialogComponent, dialogConfig);\n }\n}\n", "
\n
\n
\n \n \n\n \n \n \n\n
\n \n \n {{ tag.value }}\n \n \n\n \n \n {{ tag }}\n \n \n
\n
\n
\n
\n\n\n\n\n", "import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { CovercySharedComponentsModule } from 'src/app/shared/CovercySharedComponents.module';\nimport { SharedModule } from 'src/app/shared/shared.module';\nimport { MaterialModule } from 'src/app/shared/material.module';\nimport { GpSharedModule } from 'src/app/shared/gp-shared.module';\nimport { AccreditationSendRequestDialogComponent } from './accreditation-send-request-dialog/accreditation-send-request-dialog.component';\nimport { AccreditationComponent } from './accreditation.component';\nimport { AccreditationService } from './accreditation.service';\n\n\n@NgModule({\n declarations: [\n AccreditationComponent,\n AccreditationSendRequestDialogComponent\n ],\n exports:[\n AccreditationComponent,\n AccreditationSendRequestDialogComponent\n ],\n imports: [\n CommonModule,\n MaterialModule,\n SharedModule,\n CovercySharedComponentsModule,\n GpSharedModule\n ],\n providers:[\n AccreditationService\n ]\n})\nexport class AccreditationModule { }\n", "import {\n AfterViewInit,\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ElementRef,\n Input,\n OnDestroy,\n OnInit,\n ViewChild,\n} from \"@angular/core\";\nimport {\n BehaviorSubject,\n Observable,\n Subscription,\n debounceTime,\n map,\n skip,\n switchMap,\n tap,\n} from \"rxjs\";\nimport { ContactDataService } from \"src/app/services/gp/contact-data.service\";\nimport { ContactSearchOptionsRequest } from \"src/app/shared/models/contactSearchOptionsRequest.model\";\nimport { InvestorContactReqRes } from \"../../models/investorContactReqRes.model\";\nimport { ViewportScroller } from \"@angular/common\";\nimport { IDynamicComponent } from \"src/app/shared/models/dynamic-component-loader/IDynamicComponent.model\";\nimport InvestingEntityType from \"src/app/dashboard/models/InvestingEntityType.enum\";\n\n@Component({\n selector: \"terra-view-as-investor-contacts\",\n templateUrl: \"./view-as-investor-contacts.component.html\",\n styleUrls: [\"./view-as-investor-contacts.component.scss\"],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ViewAsInvestorContactsComponent\n implements OnInit, OnDestroy, IDynamicComponent\n{\n @Input() data: any;\n\n @ViewChild(\"uiElement\", { static: false })\n public uiElement: ElementRef;\n\n totalCount: number = 0;\n isLoading$ = new BehaviorSubject(true);\n search$ = new BehaviorSubject(\n new ContactSearchOptionsRequest(25)\n );\n search = new ContactSearchOptionsRequest();\n contacts: InvestorContactReqRes[] = [];\n subscription: Subscription = new Subscription();\n\n constructor(\n private contactDataService: ContactDataService,\n private cdr: ChangeDetectorRef\n ) {\n this.search.pageSize = 25;\n this.search.pageNumber = 0;\n this.search.isBaseSearch = true;\n }\n\n ngOnDestroy(): void {\n this.subscription.unsubscribe();\n }\n\n public ngOnInit() {\n this.getContacts();\n }\n\n public getContacts() {\n try {\n this.subscription = this.search$\n .pipe(\n debounceTime(300),\n switchMap((search) => this.contactDataService.getList(search))\n )\n .subscribe((response) => {\n this.isLoading$.next(false);\n this.contacts = [...this.contacts, ...response.rows];\n this.search.pageNumber += 1;\n this.totalCount = response.totalCount;\n this.cdr.markForCheck();\n });\n } catch (error) {}\n }\n\n public onScrollLoadData() {\n const nativeElement = this.uiElement.nativeElement;\n if (\n nativeElement.clientHeight + Math.round(nativeElement.scrollTop) ===\n nativeElement.scrollHeight &&\n this.contacts.length !== this.totalCount\n ) {\n const search = this.search$.value;\n search.pageNumber += 1;\n this.search$.next(search);\n }\n }\n\n filterChanged(filter: string) {\n this.contacts = [];\n const search = this.search$.value;\n search.pageNumber = 0;\n search.filter = filter;\n search.isBaseSearch = true;\n this.search$.next(search);\n this.isLoading$.next(true);\n }\n\n clearSearch() {\n this.contacts = [];\n const search = this.search$.value;\n search.pageNumber = 0;\n search.filter = \"\";\n this.search$.next(search);\n }\n\n viewAsInvestorBtn(contact) {\n this.isLoading$.next(true);\n if (this.data && this.data.output) {\n this.data.output(contact);\n }\n }\n}\n", "
\n
\n \n Showing {{ totalCount }} Investors\n
\n\n \n
  • \n
    \n \n
    \n {{ contact.firstName + \" \" + contact.lastName | truncate : 42 : true }}\n {{ contact.email | truncate : 47 : true }}\n
    \n
    \n \n
  • \n \n \n
    \n", "import { Injectable } from \"@angular/core\";\nimport { Observable, catchError, of, switchMap, throwError } from \"rxjs\";\nimport { HttpService } from \"src/app/services/http.service\";\nimport { InvestorContactAssociatedEmailMessage } from \"./investor-contact-associated-email-message\";\nimport { EmailMessageModel } from \"./email-message.model\";\n\n@Injectable({\n providedIn: \"root\",\n})\nexport class ContactsEmailTrackingService {\n constructor(protected http: HttpService) {}\n protected readonly baseEndpoint$ = of(\"emailmessages/\");\n\n public getAll(): Observable {\n return this.baseEndpoint$.pipe(\n switchMap((endpoint) =>\n this.http.getTyped(endpoint)\n ),\n catchError((err) => {\n return throwError(() => err);\n })\n );\n }\n}\n", "import {\n ChangeDetectionStrategy,\n Component,\n OnInit,\n ViewChild,\n} from \"@angular/core\";\nimport { SortEvent } from \"primeng/api\";\nimport { Table } from \"primeng/table\";\nimport { ContactsEmailTrackingService } from \"./contacts-email-tracking.service\";\nimport { filter, map, shareReplay, switchMap, take, tap } from \"rxjs/operators\";\nimport { InvestorCommunicationDialogComponent } from \"../../shared/investor-communication/investor-communication-dialog/investor-communication-dialog.component\";\nimport { InvestorCommunicationResultSnackbarComponent } from \"../../shared/investor-communication/investor-communication-result-snackbar/investor-communication-result-snackbar.component\";\nimport { DialogService } from \"src/app/services/dialog.service\";\nimport { SnackbarService } from \"src/app/services/snackbar.service\";\nimport { PermissionService } from \"src/app/permission/permission.service\";\nimport { AlertDialogParams } from \"src/app/shared/components/alert-dialog/alert-dialog.component\";\nimport PermissionLevel from \"src/app/permission/enums/permissionLevel.enum\";\n\n@Component({\n selector: \"terra-contacts-email-tracking\",\n templateUrl: \"./contacts-email-tracking.component.html\",\n styleUrls: [\"./contacts-email-tracking.component.scss\"],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ContactsEmailTrackingComponent implements OnInit {\n @ViewChild(\"pTable\") pTable: Table;\n\n constructor(\n private contactsEmailService: ContactsEmailTrackingService,\n private dialogService: DialogService,\n private snackbarService: SnackbarService,\n private permissionService: PermissionService\n ) {}\n filteringText: string;\n Date = Date;\n emails$ = this.contactsEmailService.getAll().pipe(\n map((emails) =>\n emails.map((email) => ({\n datetime: email.createTimeStamp,\n contactName: email.recipientEmail,\n emailSubject: email.subject,\n holding: email.extraData || \"-\",\n userSender: `${email.originUser.firstName} ${email.originUser.lastName}`,\n }))\n ),\n shareReplay(1)\n );\n cols = [\n {\n displayName: \"Action/Subject\",\n name: \"emailSubject\",\n type: String,\n shouldSort: false,\n },\n // {\n // displayName: \"Holding\",\n // name: \"holding\",\n // type: String,\n // shouldSort: true,\n // },\n {\n displayName: \"Recipient\",\n name: \"contactName\",\n type: String,\n shouldSort: true,\n },\n {\n displayName: \"Date Sent\",\n name: \"datetime\",\n type: Date,\n shouldSort: true,\n },\n ];\n ngOnInit(): void {}\n\n tableSort(event: SortEvent) {\n event.data.sort((data1, data2) => {\n const value1 = data1[event.field];\n const value2 = data2[event.field];\n let result = null;\n\n if (value1 == null && value2 != null) {\n result = -1;\n } else if (value1 != null && value2 == null) {\n result = 1;\n } else if (value1 == null && value2 == null) {\n result = 0;\n } else if (typeof value1 === \"string\" && typeof value2 === \"string\") {\n result = value1.localeCompare(value2);\n } else {\n result = value1 - value2;\n }\n\n return event.order * result;\n });\n }\n clearSearch(searchInput: HTMLInputElement = null) {\n if (searchInput) {\n searchInput.value = null;\n }\n this.pTable.filterGlobal(null, \"\");\n }\n filterChanged(value: any, matchMode: string) {\n if (!value) {\n this.clearSearch();\n } else if (value) {\n this.pTable.filterGlobal(value, matchMode);\n }\n }\n onRowSelect(event) {\n console.log(event);\n }\n\n openInvestorCommunicationDialog() {\n this.permissionService\n .checkPermission(PermissionLevel.Editor)\n .pipe(\n take(1),\n switchMap(([result, _]) =>\n result\n ? this.dialogService\n .customDialog(InvestorCommunicationDialogComponent, {\n contentTemplateId: 2,\n dialogTitle: \"New Email\",\n })\n .afterClosed()\n .pipe(\n take(1),\n filter((result) => result),\n tap((result) =>\n this.snackbarService.showSnackbarFromComponent(\n InvestorCommunicationResultSnackbarComponent,\n result,\n 2,\n \"investor-communication-message-snackbar\"\n )\n )\n )\n : this.dialogService\n .alertDialog(\n new AlertDialogParams(\n \"Not Permitted\",\n \"You are a read-only user so you cannot perform this action!\"\n )\n )\n .afterClosed()\n )\n )\n .subscribe();\n }\n}\n", "\n \n \n
    \n
    \n \n
    \n \n
    \n
    \n \n \n \n \n {{ col.displayName }}\n \n \n \n \n \n \n \n \n \n \n {{\n col.type === Date\n ? (rowData[col.name] | date : \"yyyy/MM/dd HH:mm:ss\")\n : rowData[col.name]\n }}\n \n \n \n \n \n \n \n \n

    \n No matching results\n

    \n

    \n Please adjust your search or filter and try again.\n

    \n \n \n
    \n \n \n \n \n

    \n No emails here yet\n

    \n \n \n
    \n
    \n \n\n\n\n \n\n", "import { ChangeDetectionStrategy, Component, Inject, InjectionToken } from '@angular/core';\nimport { MatButtonModule } from '@angular/material/button';\nimport { MAT_DIALOG_DATA, MatDialogModule, MatDialogRef } from '@angular/material/dialog';\nimport { Router, RouterModule } from '@angular/router';\nimport { HelpSourceTypeService } from 'src/app/services/help-source-type.service';\nimport { DialogHeaderComponent } from 'src/app/shared/components/dialog-header/dialog-header.component';\nimport { supportSharedData } from 'src/app/shared/components/support/support.component';\nimport { TerraUtils } from 'src/app/shared/TerraUtils';\n\nexport const WINDOW = new InjectionToken('Global window object', {\n factory: () => window\n}); // TODO: move to shared\n\n\n@Component({\n selector: 'terra-integration-request-dialog',\n standalone: true,\n imports: [DialogHeaderComponent, MatDialogModule, RouterModule, MatButtonModule],\n templateUrl: './integration-request-dialog.component.html',\n styleUrl: './integration-request-dialog.component.scss',\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class IntegrationRequestDialogComponent {\n paths = TerraUtils.consts.paths;\n\n constructor(\n private router: Router,\n private dialogRef: MatDialogRef,\n private sourceTypeService: HelpSourceTypeService,\n @Inject(MAT_DIALOG_DATA) public data,\n @Inject(WINDOW) private window: Window,\n ) {\n this.dialogRef.updateSize('539px');\n }\n\n cancel() {\n this.dialogRef.close()\n }\n\n talkToUS() {\n this.sourceTypeService.issueInput$.next(this.data.hint);\n\n this.openNewTabWithData({issueInput: this.data.hint}, this.paths.SUPPORT);\n this.dialogRef.close()\n }\n\n\n private openNewTabWithData(data: supportSharedData, route: string): void {\n const url = this.router.createUrlTree([route]).toString();\n const newTab = this.window.open(url, '_blank');\n\n if (newTab) {\n // pass the shared Data to the new tab\n newTab.opener.sharedData = data;\n }\n }\n}\n", "
    \n \n

    {{data.title}}

    \n
    \n
    \n
    \n {{data.description}}\n
    \n
    \n
    \n \n Talk to Us \n
    \n
    \n", "import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport {ContactsComponent} from './contacts.component';\nimport {InvestorContactsDisplayTableComponent} from './components/investor-contacts-display-table/investor-contacts-display-table.component';\nimport {InvestorContactDialogComponent} from './components/investor-contact-dialog/investor-contact-dialog.component';\nimport {InvestorContactImportDialogComponent} from './components/investor-contact-import-dialog/investor-contact-import-dialog.component';\nimport {InvestingEntitiesDisplayTableComponent} from './components/investing-entities-display-table/investing-entities-display-table.component';\nimport {InvestorContactDetailsTabComponent} from './components/investor-contact-dialog/investor-contact-details-tab/investor-contact-details-tab.component';\nimport {InvestorContactInvestingEntitiesTabComponent} from './components/investor-contact-dialog/investor-contact-investing-entities-tab/investor-contact-investing-entities-tab.component';\nimport {EditInvestingEntityDialogComponent} from './components/investor-contact-dialog/edit-investing-entity-dialog/edit-investing-entity-dialog.component';\nimport {ContactReferrersDialogComponent} from './components/contact-referrers-dialog/contact-referrers-dialog.component';\nimport {InvestingEntityViewDialogComponent} from './components/investing-entity-view-dialog/investing-entity-view-dialog.component';\nimport {AdditionalEmailsDialogComponent} from './components/investor-contact-dialog/investor-contact-details-tab/additional-emails-dialog/additional-emails-dialog.component';\nimport {InvestorsContactsComponent} from './investors-contacts/investors-contacts.component';\nimport {RecipientsContactsComponent} from './recipients-contacts/recipients-contacts.component';\nimport {RecipientContactsDisplayTableComponent} from '../../shared/components/recipient-contacts-display-table/recipient-contacts-display-table.component';\nimport {CreateEditRecipientDialogComponent} from './components/create-edit-recipient-dialog/create-edit-recipient-dialog.component';\nimport {ContactTagsComponent} from './components/contact-tags/contact-tags.component';\nimport {InvestorContactReferrerDialogComponent} from './components/investor-contact-dialog/investor-contact-referrer-dialog/investor-contact-referrer-dialog.component';\nimport {APP_SETTINGS, USER_DETAILS} from 'telemetry-library';\nimport {UserService} from '../../services/shared/user.service';\nimport {AppSettingsService} from '../../services/app-settings.service';\nimport {SharedModule} from '../../shared/shared.module';\nimport {MaterialModule} from '../../shared/material.module';\nimport {CovercySharedComponentsModule} from '../../shared/CovercySharedComponents.module';\nimport { AccreditationModule } from '../shared/accreditation/accreditation.module';\nimport { GoogleMapSearchModule } from 'src/app/shared/components/google-map-search/google-map-search.module';\nimport { ViewAsInvestorContactsComponent } from './components/view-as-investor-contacts/view-as-investor-contacts.component';\nimport { ContactsEmailTrackingComponent } from './contacts-email-tracking/contacts-email-tracking.component';\nimport { IntegrationRequestDialogComponent } from '../shared/integration-request-dialog/integration-request-dialog.component';\nimport { InvestingEntityWithRelatedInvestmentsHoldingWarningDialogComponent } from './components/investing-entity-with-related-investments-holding-warning-dialog/investing-entity-with-related-investments-holding-warning-dialog.component';\n\n\n@NgModule({\n declarations: [\n ContactsComponent,\n InvestorContactsDisplayTableComponent,\n InvestorContactDialogComponent,\n InvestingEntityWithRelatedInvestmentsHoldingWarningDialogComponent,\n InvestorContactImportDialogComponent,\n InvestingEntitiesDisplayTableComponent,\n InvestorContactDetailsTabComponent,\n InvestorContactInvestingEntitiesTabComponent,\n EditInvestingEntityDialogComponent,\n InvestorContactReferrerDialogComponent,\n ContactReferrersDialogComponent,\n InvestingEntityViewDialogComponent,\n AdditionalEmailsDialogComponent,\n InvestorsContactsComponent,\n RecipientsContactsComponent,\n CreateEditRecipientDialogComponent,\n ContactTagsComponent,\n ViewAsInvestorContactsComponent,\n ContactsEmailTrackingComponent\n ],\n exports: [\n InvestingEntitiesDisplayTableComponent,\n ViewAsInvestorContactsComponent\n ],\n imports: [\n CommonModule,\n SharedModule,\n MaterialModule,\n CovercySharedComponentsModule,\n AccreditationModule,\n GoogleMapSearchModule,\n IntegrationRequestDialogComponent\n ],\n providers: [\n {provide: USER_DETAILS, useExisting: UserService},\n {provide: APP_SETTINGS, useExisting: AppSettingsService}\n ]\n})\nexport class ContactsModule { }\n", "import { Injectable } from '@angular/core';\nimport { ActivatedRouteSnapshot, RouterStateSnapshot, Router, UrlTree } from '@angular/router';\nimport { Observable } from 'rxjs';\nimport { map } from 'rxjs/operators';\n\nimport { UserService } from '../services/shared/user.service';\nimport { RoutingService } from '../services/routing.service';\nimport { AppSettingsService } from '../services/app-settings.service';\nimport FeatureFlags from '../account/my-account/model/FeatureFlags.enum';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class FeatureFlagGuard {\n\n constructor(\n private userService: UserService,\n private appSettingsService: AppSettingsService,\n private routingService: RoutingService,\n private router: Router) { }\n\n canActivate(next: ActivatedRouteSnapshot, state: RouterStateSnapshot):\n boolean |\n UrlTree |\n Observable |\n Promise {\n return this.userService.userHasFeatureFlag(next.data.featureFlag).pipe(\n map(hasFeature => hasFeature ? true : this.router.createUrlTree(['not-found'])));\n }\n}\n", "import {Injectable} from '@angular/core';\nimport {Observable, of, switchMap} from 'rxjs';\nimport {AppSettingsService} from 'src/app/services/app-settings.service';\nimport {HttpService} from 'src/app/services/http.service';\nimport {AbstractRestService} from 'src/app/shared/types/AbstractRestService';\nimport {GpBankAccountsTableSearchOptions} from '../components/gp-bank-account-display-table/gp-bank-accounts-table-search-options';\nimport {SearchOptionsResponse} from 'src/app/shared/models/SearchOptionsResponse.model';\nimport {UnitApplicationDto} from '../models/unitApplicationDto.model';\nimport {SearchOptionsRequest} from 'src/app/shared/models/SearchOptionsRequest.model';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class UnitApplicationMsServiceService extends AbstractRestService {\n protected readonly baseEndpoint$ = this.appSettingsService.localEnv ?\n of('https://localhost:44360/api/UnitApplication/') :\n of('UnitApplication/');\n\n constructor(protected http: HttpService,\n private appSettingsService: AppSettingsService) {\n super(http);\n }\n\n\n getSearchOptionsToQuerystring(options: SearchOptionsRequest): string {\n return super.getSearchOptionsToQuerystring(options);\n }\n\n public getUnitApplications(options: SearchOptionsRequest): Observable> {\n var queryString = this.getSearchOptionsToQuerystring(options);\n return this.baseEndpoint$.pipe(\n switchMap(baseEndpoint => this.http.getTyped>(`${baseEndpoint}` + queryString)));\n }\n public getUnitApplicationsByEntityId(entityId: string): Observable {\n return this.baseEndpoint$.pipe(\n switchMap(baseEndpoint => this.http.getTyped(`${baseEndpoint}${entityId}`)));\n }\n public getUnitApplicationDrafts(options: SearchOptionsRequest): Observable> {\n var queryString = this.getSearchOptionsToQuerystring(options);\n return this.baseEndpoint$.pipe(\n switchMap(baseEndpoint => this.http.getTyped>(`${baseEndpoint}drafts/` + queryString)));\n }\n}\n", "\nexport enum AccountConnectedStatus {\n NotConnectedYet = 0,\n Connected = 1,\n DisconnectedByUser = 2,\n DisconnectedByProvider = 3\n}\n\nexport namespace EntityType {\n export function toString(connectedStatus: AccountConnectedStatus): string {\n switch (connectedStatus) {\n case AccountConnectedStatus.NotConnectedYet:\n return 'Not Connected Yet';\n case AccountConnectedStatus.Connected:\n return 'Connected';\n case AccountConnectedStatus.DisconnectedByUser:\n return 'Disconnected By User';\n case AccountConnectedStatus.DisconnectedByProvider:\n return 'Disconnected By Provider';\n default:\n return null;\n }\n }\n\n export function listAll() {\n return [\n AccountConnectedStatus.NotConnectedYet,\n AccountConnectedStatus.Connected,\n AccountConnectedStatus.DisconnectedByUser,\n AccountConnectedStatus.DisconnectedByProvider\n ];\n }\n\n export function parse(connectedStatusStr: string): AccountConnectedStatus {\n return AccountConnectedStatus[connectedStatusStr];\n }\n}", "import { Component, OnInit, Inject } from '@angular/core';\nimport { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms';\nimport { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';\nimport { finalize } from 'rxjs/operators';\nimport { untilComponentDestroyed } from '@w11k/ngx-componentdestroyed';\n\nimport { ClientBankAccountReqRes } from 'src/app/dashboard/models/bankAccount.model';\nimport { GpBankAccountDataService } from 'src/app/services/gp/gp-bank-account-data.service';\nimport { fadeInOut, enterAnimation } from 'src/app/shared/animations';\nimport { TerraUtils } from 'src/app/shared/TerraUtils';\nimport { BeneficiaryEntityType } from 'src/app/shared/enums/BeneficiaryEntityType.enum';\nimport { CountryModel } from 'src/app/shared/models/CountryModel';\nimport { ResourceService } from 'src/app/services/resource.service';\nimport { DialogWithFormBase } from 'src/app/shared/types/DialogWithFormBase';\nimport { DialogService } from 'src/app/services/dialog.service';\nimport { AlertDialogParams } from 'src/app/shared/components/alert-dialog/alert-dialog.component';\nimport { InvestingEntityReqRes } from 'src/app/dashboard/models/InvestingEntityReqRes.model';\nimport { CurrencyModel } from 'src/app/shared/models/CurrencyModel';\nimport { EditBankAccountContext } from './../edit-bank-account/EditBankAccountContext.model';\nimport { AddressFormSettings } from 'src/app/shared/components/address-form/address-form.settings';\n\n@Component({\n selector: 'terra-view-bank-account',\n templateUrl: './view-bank-account.component.html',\n styleUrls: ['./view-bank-account.component.scss'],\n animations: [fadeInOut, enterAnimation]\n})\nexport class ViewBankAccountComponent extends DialogWithFormBase implements OnInit {\n BeneficiaryEntityType = BeneficiaryEntityType;\n pageForm: UntypedFormGroup;\n isSubmitted = false;\n showInternalLoader = false;\n\n bankAccountDetails: ClientBankAccountReqRes;\n bankAccountId = 0;\n isGeneralServerError = false;\n generalServerErrorMessage = TerraUtils.consts.messages.GENERAL_SUBMIT_ERROR_WITH_LINK;\n allCountries = this.resourceService.allCountries;\n\n isIgnoreReadOnlyBeneficiaryEntityType = false;\n isIgnoreReadOnlyBeneficiaryTin = false;\n isAnOrganizationAccountDefault = true;\n\n addressFormSettings = new AddressFormSettings();\n\n enablePreferredCurrency = false;\n // isRecomendedCurrencySelected$ = new BehaviorSubject(false);\n investingEntity: InvestingEntityReqRes = null;\n\n constructor(\n private fb: UntypedFormBuilder,\n private gpBankAccountDataService: GpBankAccountDataService,\n private resourceService: ResourceService,\n @Inject(MAT_DIALOG_DATA) private data: EditBankAccountContext,\n private dialogService: DialogService,\n public dialogRef: MatDialogRef\n ) {\n super();\n dialogRef.addPanelClass('view-bank-account-dialog');\n }\n\n ngOnInit() {\n this.bankAccountDetails = new ClientBankAccountReqRes();\n this.bankAccountId = 0;\n\n if (this.data) {\n\n if (this.data.id) {\n this.bankAccountId = this.data.id;\n }\n if (this.data.enablePreferredCurrency) {\n this.enablePreferredCurrency = this.data.enablePreferredCurrency;\n }\n if (this.data.investingEntity) {\n this.investingEntity = this.data.investingEntity;\n }\n if (this.data.isAnOrganizationAccountDefault !== null) {\n this.isAnOrganizationAccountDefault = this.data.isAnOrganizationAccountDefault;\n }\n }\n\n this.generateForm();\n this.subscribeToIsOrganizationChange();\n\n if (this.bankAccountId > 0) {\n this.populateForm(this.bankAccountId);\n }\n }\n\n generateForm() {\n\n this.pageForm = this.fb.group({\n nickname: [null, Validators.required],\n holderFullName: [null, Validators.required],\n isAnOrganizationAccount: [this.isAnOrganizationAccountDefault, Validators.required],\n beneficiaryEntityType: [null, this.isAnOrganizationAccountDefault ? Validators.required : null],\n beneficiaryTin: [null, this.isAnOrganizationAccountDefault ? Validators.required : null],\n bankDetails: {},\n holderLocationDetails: {}\n });\n\n if (this.investingEntity) {\n this.pageForm.get('beneficiaryEntityType').setValue(this.investingEntity.investingEntityType);\n this.pageForm.get('beneficiaryTin').setValue(this.investingEntity.tin);\n }\n }\n\n populateForm(bankAccountId: number) {\n this.showInternalLoader = true;\n\n this.gpBankAccountDataService\n .getById(bankAccountId)\n .pipe(\n finalize(() => {\n this.showInternalLoader = false;\n })\n )\n .subscribe(\n bankAccount => {\n this.bankAccountDetails = bankAccount;\n\n this.pageForm.patchValue({\n nickname: bankAccount.nickname,\n holderFullName: bankAccount.holderFullName,\n isAnOrganizationAccount: bankAccount.isAnOrganizationAccount,\n beneficiaryEntityType: bankAccount.beneficiaryEntityType !== 0 ? bankAccount.beneficiaryEntityType : null,\n beneficiaryTin: bankAccount.beneficiaryTin\n });\n\n // Disable fields/forms\n this.pageForm.disable();\n this.pageForm.get('bankDetails').disable();\n this.pageForm.markAllAsTouched();\n },\n err => {\n console.log('Error', err);\n }\n );\n }\n\n isCollectWitholdingTaxData(): boolean {\n return this.pageForm.get('isAnOrganizationAccount').value;\n }\n\n subscribeToIsOrganizationChange() {\n this.pageForm.controls.isAnOrganizationAccount.valueChanges.pipe(untilComponentDestroyed(this)).subscribe(isOrganization => {\n if (this.isCollectWitholdingTaxData()) {\n this.pageForm.controls.beneficiaryTin.setValidators([Validators.required]);\n this.pageForm.controls.beneficiaryEntityType.setValidators([Validators.required]);\n\n } else {\n this.pageForm.controls.beneficiaryTin.setValidators([]);\n this.pageForm.controls.beneficiaryTin.setValue(null);\n this.pageForm.controls.beneficiaryTin.markAsUntouched();\n this.pageForm.controls.beneficiaryEntityType.setValidators([]);\n this.pageForm.controls.beneficiaryEntityType.setValue(null);\n this.pageForm.controls.beneficiaryEntityType.markAsUntouched();\n }\n this.pageForm.controls.beneficiaryTin.updateValueAndValidity();\n this.pageForm.controls.beneficiaryEntityType.updateValueAndValidity();\n });\n }\n\n getAddressCountry(): CountryModel {\n const locationDetailsForm = this.pageForm.get('holderLocationDetails') as UntypedFormGroup;\n if (!locationDetailsForm.get('countryId') || !locationDetailsForm.get('countryId').value) {\n return null;\n }\n const addressCountryId = this.pageForm.get(['holderLocationDetails', 'countryId']).value;\n return this.allCountries ? this.allCountries.find(c => c.id === addressCountryId) : null;\n }\n\n currencyLearnMore(isRecommdendedCurrencySelected: boolean, recommendedCurrency: CurrencyModel, selectedCurrency: CurrencyModel) {\n let longText = '';\n if (!isRecommdendedCurrencySelected) {\n longText = `\n

    Choosing to distribute funds to your investors in the local currency of their country usually gives the best value for money. It also means Covercy can use a local (and faster) payment in that country which means funds arrive sooner.

    \n

    In case you choose a currency which is not the local currency in that country, Covercy will use SWIFT to send your funds. This means that your transfer will take longer and be more expensive, as investors' banks may also deduct their handling fees when receiving the funds, or once your investors choose to convert to their local currency.

    \n

    We highly recommend you to choose ${recommendedCurrency.iso} instead of ${selectedCurrency.iso}

    \n `;\n } else {\n longText = `\n

    Covercy offers the best exchange rates and guarantees the exact amount received in ${recommendedCurrency.iso} in the destination bank account.

    \n

    With Covercy, there's no room for hidden bank surcharges or additional charges that you don't see here.

    \n

    By delivering funds to your investors in their country's local currency, you save them the hassle and fees of converting the funds themselves.

    `\n // Compare Covercy exchange rates and fees with some of the biggest money transfer services around.\n ;\n }\n this.dialogService.alertDialog({\n title: 'Recommended currency for distribution',\n description: longText\n } as AlertDialogParams);\n }\n}\n", "\n

    View Bank Account

    \n
    \n\n
    \n \n \n\n
    \n Investor accounts can't be edited\n
    \n\n
    \n \n
    \n \n \n \n Required\n \n
    \n\n \n
    \n \n \n \n Required\n Please enter account holder name\n \n
    \n\n \n\n \n
    \n \n
    \n\n

    \n check\n Great! Your investor will receive the funds in the local currency of this country, which means Covercy will be able to send\n the funds faster and guarantee the exact amount received in {{ bankAccountComponent.selectedCountry?.defaultCurrency.iso }}.\n Learn\n more\n

    \n\n

    \n notification_important\n The currency you selected above is not the local currency in {{ bankAccountComponent.selectedCountry?.name }}.\n It is highly advised, both in speed of transfer and in fees,\n that you choose {{ bankAccountComponent.selectedCountry?.defaultCurrency.symbol }}\n {{ bankAccountComponent.selectedCountry?.defaultCurrency.iso }} instead.\n \n Learn why\n \n

    \n
    \n \n
    \n
    \n\n \n

    \n What is the address of the bank account holder?\n

    \n\n \n \n \n
    \n\n \n

    \n Tax related information\n

    \n\n \n
    \n \n
    Account holder is a business/partnership
    \n
    \n
    \n\n \n
    \n \n \n \n \n {{ beneficiaryEntityType | enumString: BeneficiaryEntityType }}\n \n \n Required\n \n
    \n\n \n
    \n help\n \n \n \n \n \n required\n \n \n
    \n
    \n\n
    \n
    \n
    \n\n\n \n \n

    \n Please review and correct the fields marked in red\n

    \n

    \n \n

    \n
    \n", "import {Injectable} from '@angular/core';\nimport {Observable, of, throwError} from 'rxjs';\nimport {catchError, switchMap} from 'rxjs/operators';\n\nimport {HttpService} from '../http.service';\nimport {UnitBankAccountReqRes} from 'src/app/shared/models/gp/UnitBankAccountReqRes.model';\nimport {UnitBankAccountListItem} from 'src/app/shared/models/gp/UnitBankAccountListItem.model';\nimport {AbstractRestService} from 'src/app/shared/types/AbstractRestService';\nimport {UnitTransactionReqRes} from '../../shared/models/gp/UnitTransactionReqRes.model';\nimport {UnitBankAccountBalanceReqRes} from '../../shared/models/gp/UnitBankAccountBalanceReqRes.model';\nimport {UnitAchLimits} from '../../shared/models/unit-bank-account/UnitAchLimits.model';\nimport {SearchOptionsResponse} from 'src/app/shared/models/SearchOptionsResponse.model';\nimport {UnitBankAccountSearchOptions} from 'src/app/shared/models/unit-bank-account/UnitBankAccountSearchOptions.model';\nimport {UnitBankAccountDataService} from '../shared/unit-bank-account-data.service';\nimport {UnitBankAccountTransactionsSearchOptionsRequest} from 'src/app/shared/models/unit-bank-account/UnitBankAccountTransactionsSearchOptionsRequest.model';\nimport {CreBankAccountSearchOptionsResponse} from \"../../shared/models/CreBankAccountSearchOptionsResponse.model\";\nimport {UnitAccountLimits} from 'src/app/shared/models/unit-bank-account/UnitAccountLimits.model';\nimport {UnitTransactionNotes} from 'src/app/shared/models/unit-transaction/UnitTransactionNotes.model';\n\n@Injectable()\nexport class CreBankAccountDataService extends AbstractRestService implements UnitBankAccountDataService {\n readonly baseEndpoint$ = of('cre/accounts/');\n\n constructor(http: HttpService) {\n super(http);\n }\n\n getSearchOptionsToQuerystring(options: UnitBankAccountSearchOptions): string {\n let queryString = super.getSearchOptionsToQuerystring(options);\n\n if (options?.parentType != null) {\n queryString += `&parentType=${options.parentType}`;\n }\n\n queryString += `&includeLimits=${options.includeLimits || false}`;\n queryString += `&includeClosed=${options.includeClosed || false}`;\n\n return queryString;\n }\n\n public getListBasic(options: UnitBankAccountSearchOptions): Observable> {\n return super.getList(options);\n }\n\n public getUnitBankAccounts(options: UnitBankAccountSearchOptions) {\n const queryString = this.getSearchOptionsToQuerystring(options);\n return this.baseEndpoint$.pipe(\n switchMap(baseEndpoint => this.http.getTyped>(`${baseEndpoint}` + queryString)));\n }\n\n /** Allows the current user to approve the bank account.\n * If this user is the lst one to sign,\n * it will also create the bank account in Unit.\n */\n public approve(bankAccountId: number) {\n return this.baseEndpoint$.pipe(\n switchMap(baseEndpoint => this.http.put(`${baseEndpoint}${bankAccountId}/approve`, null))\n );\n }\n\n /**\n * Get transactions list for the bank account\n * @param bankAccountId: UnitResourceId\n */\n public getTransactionsList(bankAccountId: number, options: UnitBankAccountTransactionsSearchOptionsRequest): Observable {\n const querystring = options ? this.getTransactionsSearchOptionsToQuerystring(options) : '';\n return this.baseEndpoint$.pipe(\n switchMap(baseEndpoint => this.http.getTyped(`${baseEndpoint}${bankAccountId}/transactions` + querystring))\n );\n }\n\n public getTransactionsForHolding(holdingId: number, options: UnitBankAccountTransactionsSearchOptionsRequest): Observable {\n const querystring = options ? this.getTransactionsSearchOptionsToQuerystring(options) : '';\n return this.baseEndpoint$.pipe(\n switchMap(baseEndpoint => this.http.getTyped(`${baseEndpoint}holding/${holdingId}/transactions` + querystring))\n );\n }\n\n public getBankAccountsForOrganization(options: UnitBankAccountSearchOptions): Observable> {\n const querystring = options ? this.getSearchOptionsToQuerystring(options) : '';\n return this.baseEndpoint$.pipe(\n switchMap(baseEndpoint => this.http.getTyped>(`${baseEndpoint}organization` + querystring)),\n );\n }\n\n /**\n * Gets account's balance, total expenses and total income\n * @param bankAccountId Unit bank account id\n */\n public getBalanceAndTotalTransactions(bankAccountId: number): Observable {\n return this.baseEndpoint$.pipe(\n switchMap(baseEndpoint => this.http.getTyped(`${baseEndpoint}${bankAccountId}/balance`)),\n catchError(err => {\n return throwError(err);\n })\n );\n }\n\n /**\n * Get statement pdf\n * @param statementId Unit bank account statement id\n * @param bankAccountId Unit bank account id\n */\n getBankAccountStatement(statementId: string, bankAccountId: string) {\n return this.baseEndpoint$.pipe(\n switchMap(baseEndpoint => this.http.downloadFile(`${baseEndpoint}${bankAccountId}/statement/${statementId}`, 'application/pdf')),\n catchError(err => {\n return throwError(err);\n })\n );\n }\n\n /**\n * Gets unit account types\n */\n getUnitAccountTypes() {\n return this.baseEndpoint$.pipe(\n switchMap(baseEndpoint => this.http.getTyped(`${baseEndpoint}types`)),\n catchError(err => {\n return throwError(err);\n })\n );\n }\n\n /**\n * Get bank account ACH limits\n * @param bankAccountId Bank account id\n */\n getBankAccountAchLimits(bankAccountId: number): Observable {\n return this.baseEndpoint$.pipe(\n switchMap(baseEndpoint => this.http.getTyped(`${baseEndpoint}${bankAccountId}/limits/ach`)),\n catchError(err => {\n return throwError(err);\n }\n )\n );\n }\n\n getTransactionsSearchOptionsToQuerystring(options: UnitBankAccountTransactionsSearchOptionsRequest): string {\n const baseSearchOptionsQueryString = super.getSearchOptionsToQuerystring(options);\n\n const startDate = options.startDate?.toISOString() || '';\n const endDate = options.endDate?.toISOString() || '';\n const typeName = options.typeName || '';\n const excludeFees = options.excludeFees || '';\n\n return baseSearchOptionsQueryString + `&startDate=${startDate}&endDate=${endDate}&typeName=${typeName}&excludeFees=${excludeFees}`;\n }\n\n public toggleDistribution(bankAccountId: number): Observable {\n return this.baseEndpoint$.pipe(\n switchMap(baseEndpoint => this.http.getTyped(`${baseEndpoint}${bankAccountId}/toggle-distribution`)),\n catchError(err => {\n return throwError(err);\n }\n )\n );\n }\n\n public downloadFaqPdf(bankAccountId: number): Observable {\n return this.baseEndpoint$.pipe(\n switchMap(baseEndpoint => this.http.downloadFile(`${baseEndpoint}${bankAccountId}/download-faq`, 'application/pdf')),\n catchError(err => {\n return throwError(err);\n }));\n }\n\n public generateVerificationLetter(bankAccountId: number, includeBalance: boolean): Observable {\n return this.baseEndpoint$.pipe(\n switchMap(baseEndpoint => this.http.downloadFile(`${baseEndpoint}${bankAccountId}/${includeBalance}/verification-letter`, 'application/pdf')),\n catchError(err => {\n return throwError(err);\n }));\n }\n\n // public exportTransactions(fileType: 'excel' | 'csv', unitBankId: number, textSearch: string = null, startDate: Date = null, endDate: Date = null): Observable {\n public exportTransactions(fileType: 'excel' | 'csv', unitBankId: number, options: UnitBankAccountTransactionsSearchOptionsRequest): Observable {\n const queryParams = [\n (options ? this.getTransactionsSearchOptionsToQuerystring(options) : ''),\n `fileType=${fileType}`\n ];\n\n let queryParamsStr = queryParams.join('&');\n if (!queryParamsStr.startsWith('?')) {\n queryParamsStr = '?' + queryParamsStr;\n }\n return this.baseEndpoint$.pipe(\n switchMap(baseEndpoint => this.http.getTyped(`${baseEndpoint}${unitBankId}/transactions/export` + (queryParams.length ? `${queryParamsStr}` : ''))),\n catchError(err => {\n return throwError(err);\n }\n )\n );\n }\n\n public closeAccount(bankAccountId: number): Observable {\n return this.baseEndpoint$.pipe(\n switchMap(baseEndpoint => this.http.putTyped(`${baseEndpoint}${bankAccountId}/close`)),\n catchError(err => {\n return throwError(err);\n }));\n }\n\n createTransactionNotes(transactionNotes: UnitTransactionNotes): Observable {\n return this.baseEndpoint$.\n pipe(\n switchMap(baseUrl =>\n this.http.postTyped(`${baseUrl}/transactionNote/create`, transactionNotes)\n )\n );\n }\n\n updateTransactionNotes(transactionNotes: UnitTransactionNotes): Observable {\n return this.baseEndpoint$.\n pipe(\n switchMap(baseUrl =>\n this.http.putTyped(`${baseUrl}/transactionNote/update`, transactionNotes)\n )\n );\n }\n\n public deleteTransactionNotes(transactionNoteId: number): Observable {\n return this.baseEndpoint$.pipe(\n switchMap(baseUrl => this.http.deleteTyped(\n `${baseUrl}/transactionNote/${transactionNoteId}`)));\n }\n}\n"], "mappings": "+2ECeEA,EAAA,EAAA,IAAA,EAAA,CAAA,EAQEC,EAAA,EAAA,cAAA,EACFC,EAAA,mBAJEC,EAAA,SAAAC,EAAAC,QAAA,6BAOFL,EAAA,EAAA,IAAA,GAAA,CAAA,EAQEC,EAAA,CAAA,mBACFC,EAAA,mBAHEC,EAAA,SAAAG,EAAAD,QAAA,EAEAE,EAAA,CAAA,EAAAC,EAAA,IAAAC,EAAA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A7MW/D,GAAyBiE,EAAAC,EAAA,CAAA,CAAA,wBAAzBlE,EAAyBmE,QAAzBnE,EAAyBoE,SAAA,CAAA,EAAhC,IAAOpE,EAAPqE,SAAOrE,CAA0B,GAAA", "names": ["\u0275\u0275elementStart", "\u0275\u0275text", "\u0275\u0275elementEnd", "\u0275\u0275property", "rla3_r1", "isActive", "rla4_r2", "\u0275\u0275advance", "\u0275\u0275textInterpolate1", "\u0275\u0275pipeBind1", "ContactsComponent", "constructor", "titleService", "userService", "hostClasses", "userHasCreBanking$", "userHasFeatureFlag", "FeatureFlags", "CreBanking", "userHasEmailTracking$", "EmailTracking", "ngOnInit", "setTitle", "TerraUtils", "consts", "GpPageTitleSuffix", "\u0275\u0275directiveInject", "Title", "UserService", "selectors", "hostVars", "hostBindings", "rf", "ctx", "\u0275\u0275template", "ContactsComponent_a_6_Template", "ContactsComponent_a_8_Template", "\u0275\u0275element", "tabPanel_r4", "rla2_r3", "_ContactsComponent", "InvestorContactDataSource", "DataSource", "constructor", "contactDataService", "contactsTableService", "destroy$", "Subject", "searchOptions$", "refreshData$", "pipe", "tap", "_", "updatePageNumber", "_totalRowsCount$", "BehaviorSubject", "totalRowsCount$", "takeUntil", "distinctUntilChanged", "shareReplay", "_loading$", "isLoading$", "pageRows$", "merge", "switchMapTo", "filter", "searchOptions", "next", "switchMap", "getServerContacts", "response", "totalCount", "map", "rows", "getList", "catchError", "error", "of", "SearchOptionsResponse", "connect", "collectionViewer", "throwError", "disconnect", "complete", "InvestorContactsTableService", "OnDestroyMixin", "constructor", "appService", "appQuery", "_refreshData$", "Subject", "refreshData$", "asObservable", "fundraisingId$", "BehaviorSubject", "pageSize$", "pageNumber$", "tagsFilter$", "contactReferrerIdFilter$", "textFilter$", "fundraisingIdSource$", "pipe", "map", "fundraisingId", "pageNumberSource$", "pageNumber", "pageSizeSource$", "pageSize", "textFilterSource$", "filter", "trim", "distinctUntilChanged", "tagsSource$", "tags", "contactReferrerIdSource$", "contactReferrerId", "uiStateSource$", "gpUiPrefs", "state", "contacts", "sort", "orderBy", "sortOrder", "direction", "searchOptionsSources$", "merge", "searchOptions$", "untilComponentDestroyed", "scan", "acc", "value", "undefined", "__spreadProps", "__spreadValues", "ContactSearchOptionsRequest", "shareReplay", "refresh", "next", "updateContactsSortState", "updateFilter", "term", "updateTagsFilter", "updateContactReferrerIdFilter", "updatePageSize", "updatePageNumber", "page", "updateFundraisingId", "\u0275\u0275inject", "AppService", "AppQuery", "factory", "\u0275fac", "_InvestorContactsTableService", "\u0275\u0275elementStart", "\u0275\u0275text", "\u0275\u0275elementEnd", "\u0275\u0275property", "amountPerPage_r2", "\u0275\u0275advance", "\u0275\u0275textInterpolate1", "\u0275\u0275template", "InvestorContactsDisplayTableComponent_ng_container_0_div_1_mat_option_5_Template", "\u0275\u0275textInterpolate2", "data_r3", "pageRowsCount", "totalRowsCount", "ctx_r3", "perPageControl", "contactPerPageOptions", "\u0275\u0275listener", "\u0275\u0275restoreView", "_r6", "\u0275\u0275nextContext", "\u0275\u0275resetView", "deleteMulitple", "$event", "_r5", "masterToggle", "InvestorContactsDisplayTableComponent_ng_container_0_th_8_button_5_Template", "selection", "hasValue", "\u0275\u0275pipeBind1", "isAllSelected$", "deleteRow", "observers", "length", "selected", "i0", "_r7", "stopPropagation", "row_r8", "$implicit", "rowCheckToggle", "isRowChecked", "allowInvestorName$", "\u0275\u0275pipeBind2", "element_r9", "nickname", "\u0275\u0275elementContainerStart", "InvestorContactsDisplayTableComponent_ng_container_0_td_12_ng_container_1_div_6_Template", "\u0275\u0275textInterpolate3", "firstName", "middleName", "lastName", "isAllContactsVisible$", "InvestorContactsDisplayTableComponent_ng_container_0_td_12_ng_container_1_Template", "InvestorContactsDisplayTableComponent_ng_container_0_td_12_ng_container_3_Template", "element_r10", "email", "element_r11", "createTimestamp", "\u0275\u0275element", "element_r12", "investingEntityAccountingExternalIdList", "c_r13", "InvestorContactsDisplayTableComponent_ng_container_0_td_24_mat_chip_2_Template", "element_r14", "contactTags", "element_r15", "personalRemarks", "_r16", "contact_r17", "onViewAsInvestor", "ViewAsInvestorPermission", "Allowed", "NoPermissionAction", "PopupOnClick", "_r18", "onEditRow", "id", "_r19", "onDeleteRow", "InvestorContactsDisplayTableComponent_ng_container_0_td_30_button_1_Template", "InvestorContactsDisplayTableComponent_ng_container_0_td_30_button_2_Template", "InvestorContactsDisplayTableComponent_ng_container_0_td_30_button_3_Template", "\u0275\u0275classProp", "showActions", "viewAsInvestor", "editRow", "isAgentContact", "row_r21", "_r20", "hover", "isLoading$", "_r22", "pageChange", "searchOptions", "pageSize", "pageNumber", "InvestorContactsDisplayTableComponent_ng_container_0_div_1_Template", "InvestorContactsDisplayTableComponent_ng_container_0_div_2_Template", "_r1", "sortData", "InvestorContactsDisplayTableComponent_ng_container_0_th_8_Template", "InvestorContactsDisplayTableComponent_ng_container_0_td_9_Template", "InvestorContactsDisplayTableComponent_ng_container_0_th_11_Template", "InvestorContactsDisplayTableComponent_ng_container_0_td_12_Template", "InvestorContactsDisplayTableComponent_ng_container_0_th_14_Template", "InvestorContactsDisplayTableComponent_ng_container_0_td_15_Template", "InvestorContactsDisplayTableComponent_ng_container_0_th_17_Template", "InvestorContactsDisplayTableComponent_ng_container_0_td_18_Template", "InvestorContactsDisplayTableComponent_ng_container_0_th_20_Template", "InvestorContactsDisplayTableComponent_ng_container_0_td_21_Template", "InvestorContactsDisplayTableComponent_ng_container_0_th_23_Template", "InvestorContactsDisplayTableComponent_ng_container_0_td_24_Template", "InvestorContactsDisplayTableComponent_ng_container_0_th_26_Template", "InvestorContactsDisplayTableComponent_ng_container_0_td_27_Template", "InvestorContactsDisplayTableComponent_ng_container_0_th_29_Template", "InvestorContactsDisplayTableComponent_ng_container_0_td_30_Template", "InvestorContactsDisplayTableComponent_ng_container_0_tr_31_Template", "InvestorContactsDisplayTableComponent_ng_container_0_tr_32_Template", "InvestorContactsDisplayTableComponent_ng_container_0_terra_loader_33_Template", "InvestorContactsDisplayTableComponent_ng_container_0_div_35_Template", "InvestorContactsDisplayTableComponent_ng_container_0_mat_paginator_37_Template", "dataSource", "trackByFunction", "searchOptions$", "sortOrder", "orderBy", "displayedColumns", "showMessageWhenListIsEmpty", "InvestorContactsDisplayTableComponent", "OnDestroyMixin", "selectedContacts", "constructor", "contactsTableService", "contactDataService", "permissionService", "EventEmitter", "selectedRows", "UntypedFormControl", "perPageChanged$", "valueChanges", "pipe", "untilComponentDestroyed", "debounceTime", "InvestorContactDataSource", "pageRowsCount$", "pageRows$", "map", "rows", "shareReplay", "totalRowsCount$", "SelectionModel", "merge", "changed", "switchMapTo", "ngOnInit", "combineLatest", "isLoadingViewAsInvestor$", "isLoadingData", "isLoadingViewAsInvestor", "updatePageSize", "subscribe", "clearSelection", "tap", "_", "emit", "index", "item", "event", "updatePageNumber", "pageIndex", "row", "unselectOthers", "ctrlKey", "metaKey", "currentNumberOfSelectedItems", "deselect", "select", "some", "x", "take", "switchMap", "isAllSelected", "clear", "EMPTY", "rowsToSelect", "ids", "i", "contact", "model", "sort", "active", "direction", "\u0275\u0275directiveInject", "InvestorContactsTableService", "ContactDataService", "PermissionService", "selectors", "inputs", "outputs", "features", "\u0275\u0275InheritDefinitionFeature", "decls", "vars", "consts", "template", "rf", "ctx", "InvestorContactsDisplayTableComponent_ng_container_0_Template", "\u0275\u0275pureFunction3", "_c0", "_InvestorContactsDisplayTableComponent", "ImportContactService", "constructor", "http", "appSettingService", "baseEndpoint$", "localEnv", "of", "getContactImportTemplate", "pipe", "switchMap", "endpoint", "downloadFile", "catchError", "err", "throwError", "\u0275\u0275inject", "HttpService", "AppSettingsService", "factory", "\u0275fac", "providedIn", "_ImportContactService", "\u0275\u0275element", "\u0275\u0275elementStart", "\u0275\u0275listener", "\u0275\u0275restoreView", "_r2", "ctx_r2", "\u0275\u0275nextContext", "\u0275\u0275resetView", "downloadTemplate", "\u0275\u0275text", "\u0275\u0275elementEnd", "$event", "onErrorImport", "onSuccessImport", "disableSubmitted", "set", "isProcessing$", "next", "\u0275\u0275advance", "\u0275\u0275property", "\u0275\u0275pipeBind1", "uploadEndpoint$", "submitImport$", "InvestorContactImportDialogComponent", "OnDestroyMixin", "constructor", "importContactService", "fb", "dialogRef", "utilsService", "userService", "telemetryService", "pageForm", "group", "file", "Validators", "required", "isSubmitted", "signal", "isLoading$", "BehaviorSubject", "baseEndpoint$", "pipe", "map", "b", "getContactImportTemplateResponse$", "getContactImportTemplate", "shareReplay", "importResult$", "Subject", "rawUserErrorsResponse$", "result", "invalidRows", "totalErrorsNumber$", "allErrors", "calcErrorsNumber", "isShowAllErrors$", "displayShowAllErrorsButton$", "combineLatest", "allRowErrors", "isShowAllErrors", "length", "userErrors$", "userErrors", "slice", "hasMoreErrorLines", "supportedFileExtensions", "TerraUtils", "consts", "CONTACTS_IMPORT", "submitImport", "asObservable", "ngOnInit", "finalize", "subscribe", "import", "error", "alertErrorMessage", "res", "telemetrySuccess", "close", "accountDetails$", "take", "clientDetails", "create", "eventID", "eventTitle", "additional", "organizationID", "organizationDetails", "id", "AnalyticsServiceNameModel", "Mixpanel", "Insights", "row", "errors", "reduce", "totalErrors", "currentRowErrorsNumber", "\u0275\u0275directiveInject", "ImportContactService", "UntypedFormBuilder", "MatDialogRef", "UtilsService", "UserService", "TelemetryService", "selectors", "features", "\u0275\u0275InheritDefinitionFeature", "decls", "vars", "template", "rf", "ctx", "\u0275\u0275template", "InvestorContactImportDialogComponent_ng_template_5_Template", "\u0275\u0275templateRefExtractor", "InvestorContactImportDialogComponent_mat_dialog_content_7_Template", "i0", "_r1", "InvestorContactImportDialogComponent_terra_loader_14_Template", "loader_r4", "undefined", "_InvestorContactImportDialogComponent", "InvestingEntityDataSource", "DataSource", "constructor", "gpInvestingEntityDataService", "investingEntityTableService", "destroy$", "Subject", "searchOptions$", "refreshData$", "pipe", "tap", "_", "updatePageNumber", "_totalRowsCount$", "BehaviorSubject", "totalRowsCount$", "takeUntil", "distinctUntilChanged", "shareReplay", "_loading$", "isLoading$", "pageRows$", "merge", "switchMapTo", "filter", "searchOptions", "next", "switchMap", "getServerInvestingEntities", "response", "totalCount", "map", "rows", "getList", "catchError", "error", "of", "SearchOptionsResponse", "connect", "collectionViewer", "throwError", "disconnect", "complete", "getLoader", "InvestingEntityTableService", "OnDestroyMixin", "constructor", "appService", "appQuery", "_refreshData$", "Subject", "refreshData$", "asObservable", "contactId$", "BehaviorSubject", "fundraisingId$", "pageSize$", "pageNumber$", "tagsFilter$", "contactReferrerIdFilter$", "textFilter$", "holdingId$", "distributionId$", "excludeAgentContactInvestingEntities$", "holdingIdSource$", "pipe", "map", "holdingId", "distributionIdSource$", "distributionId", "excludeAgentContactInvestingEntitiesSource$", "distinctUntilChanged", "excludeAgentContacts", "contactIdSource$", "contactId", "fundraisingIdSource$", "fundraisingId", "pageNumberSource$", "pageNumber", "pageSizeSource$", "pageSize", "textFilterSource$", "filter", "trim", "contactReferrerFilterSource$", "contactReferrerId", "tagsSource$", "tags", "uiStateSource$", "gpUiPrefs", "state", "contacts", "sort", "orderBy", "sortOrder", "direction", "searchOptionsSources$", "merge", "searchOptions$", "untilComponentDestroyed", "scan", "acc", "value", "undefined", "__spreadProps", "__spreadValues", "InvestingEntitySearchOptionsRequest", "debounceTime", "shareReplay", "refresh", "next", "updateContactsSortState", "updateFilter", "term", "updateTagsFilter", "updateContactReferrerFilter", "updatePageSize", "updatePageNumber", "page", "updateFundraisingId", "updateContactId", "updateHoldingId", "updateDistributionId", "\u0275\u0275inject", "AppService", "AppQuery", "factory", "\u0275fac", "_InvestingEntityTableService", "\u0275\u0275elementStart", "\u0275\u0275text", "\u0275\u0275elementEnd", "\u0275\u0275property", "amountPerPage_r1", "\u0275\u0275advance", "\u0275\u0275textInterpolate1", "\u0275\u0275template", "InvestingEntitiesDisplayTableComponent_ng_container_0_div_1_mat_option_5_Template", "\u0275\u0275textInterpolate2", "data_r2", "pageRowsCount", "totalRowsCount", "ctx_r2", "perPageControl", "itemsPerPageOptions", "\u0275\u0275listener", "\u0275\u0275restoreView", "_r4", "\u0275\u0275nextContext", "\u0275\u0275resetView", "toggleAllMessages", "_r5", "_r8", "deleteMultiple", "$event", "_r7", "masterToggle", "InvestingEntitiesDisplayTableComponent_ng_container_0_table_8_th_2_button_6_Template", "\u0275\u0275pipeBind1", "isSomeSelectedInPage$", "isAllSelectedInPage$", "isLoading$", "deleteRow", "observers", "length", "selection", "selected", "i0", "_r9", "stopPropagation", "row_r10", "$implicit", "rowCheckToggle", "isRowChecked", "allowInvestorName$", "\u0275\u0275elementContainerStart", "\u0275\u0275textInterpolate3", "element_r11", "name", "contact", "firstName", "lastName", "nickname", "email", "InvestingEntitiesDisplayTableComponent_ng_container_0_table_8_td_6_ng_container_1_Template", "InvestingEntitiesDisplayTableComponent_ng_container_0_table_8_td_6_ng_container_3_Template", "InvestingEntitiesDisplayTableComponent_ng_container_0_table_8_td_6_span_5_Template", "element_r12", "c_r13", "InvestingEntitiesDisplayTableComponent_ng_container_0_table_8_td_12_mat_chip_2_Template", "element_r14", "contactTags", "\u0275\u0275pureFunction2", "_c1", "isAccredited", "element_r15", "accreditation", "accreditedDate", "investorAccreditationDate", "\u0275\u0275element", "\u0275\u0275propertyInterpolate", "element_r16", "personalRemarks", "InvestingEntitiesDisplayTableComponent_ng_container_0_table_8_td_18_mat_icon_1_Template", "_r17", "model_r18", "onEditRow", "id", "_r19", "onDeleteRow", "InvestingEntitiesDisplayTableComponent_ng_container_0_table_8_td_21_button_1_Template", "InvestingEntitiesDisplayTableComponent_ng_container_0_table_8_td_21_button_2_Template", "\u0275\u0275classProp", "showActions", "editRow", "row_r21", "_r20", "hover", "_r6", "sortData", "InvestingEntitiesDisplayTableComponent_ng_container_0_table_8_th_2_Template", "InvestingEntitiesDisplayTableComponent_ng_container_0_table_8_td_3_Template", "InvestingEntitiesDisplayTableComponent_ng_container_0_table_8_th_5_Template", "InvestingEntitiesDisplayTableComponent_ng_container_0_table_8_td_6_Template", "InvestingEntitiesDisplayTableComponent_ng_container_0_table_8_th_8_Template", "InvestingEntitiesDisplayTableComponent_ng_container_0_table_8_td_9_Template", "InvestingEntitiesDisplayTableComponent_ng_container_0_table_8_th_11_Template", "InvestingEntitiesDisplayTableComponent_ng_container_0_table_8_td_12_Template", "InvestingEntitiesDisplayTableComponent_ng_container_0_table_8_th_14_Template", "InvestingEntitiesDisplayTableComponent_ng_container_0_table_8_td_15_Template", "InvestingEntitiesDisplayTableComponent_ng_container_0_table_8_th_17_Template", "InvestingEntitiesDisplayTableComponent_ng_container_0_table_8_td_18_Template", "InvestingEntitiesDisplayTableComponent_ng_container_0_table_8_th_20_Template", "InvestingEntitiesDisplayTableComponent_ng_container_0_table_8_td_21_Template", "InvestingEntitiesDisplayTableComponent_ng_container_0_table_8_tr_22_Template", "InvestingEntitiesDisplayTableComponent_ng_container_0_table_8_tr_23_Template", "dataSource", "trackByFunction", "searchOptions", "sortOrder", "orderBy", "displayedColumns", "\u0275\u0275textInterpolate", "messageWhenListIsEmpty", "_r22", "pageChange", "pageSize", "pageNumber", "InvestingEntitiesDisplayTableComponent_ng_container_0_div_1_Template", "InvestingEntitiesDisplayTableComponent_ng_container_0_div_2_Template", "InvestingEntitiesDisplayTableComponent_ng_container_0_div_4_Template", "InvestingEntitiesDisplayTableComponent_ng_container_0_div_6_Template", "InvestingEntitiesDisplayTableComponent_ng_container_0_table_8_Template", "InvestingEntitiesDisplayTableComponent_ng_container_0_terra_loader_9_Template", "InvestingEntitiesDisplayTableComponent_ng_container_0_div_11_Template", "InvestingEntitiesDisplayTableComponent_ng_container_0_mat_paginator_13_Template", "selectAllMessages", "showMessageWhenListIsEmpty", "value", "InvestingEntitiesDisplayTableComponent", "OnDestroyMixin", "selectedInvestingEntities", "constructor", "investingEntityTableService", "gpInvestingEntityDataService", "permissionService", "accreditationService", "excludeAgentContactInvestingEntities", "showSelectionPreview", "EventEmitter", "InvestingEntityType", "UntypedFormControl", "perPageChanged$", "valueChanges", "pipe", "untilComponentDestroyed", "debounceTime", "InvestingEntityDataSource", "searchOptions$", "pageRowsCount$", "pageRows$", "map", "rows", "shareReplay", "totalRowsCount$", "SelectionModel", "merge", "changed", "switchMapTo", "getArrayIncludeAllById", "getArrayIncludeSomeById", "ngOnInit", "excludeAgentContacts", "updatePageSize", "subscribe", "index", "item", "event", "updatePageNumber", "pageIndex", "row", "unselectOthers", "ctrlKey", "metaKey", "currentNumberOfSelectedItems", "clearSelection", "deselect", "find", "x", "select", "some", "checked", "first", "withLatestFrom", "totalRows", "getArrayDifferentById", "forEach", "r", "getArrayCommonById", "isSelectAllMessages", "getLoader", "next", "getAll", "response", "err", "console", "error", "clear", "ids", "i", "emit", "model", "sort", "active", "direction", "investingEntity", "status", "AccreditationStatus", "Accredited", "accreditationDate", "TerraUtils", "forceUtcToLocal", "\u0275\u0275directiveInject", "InvestingEntityTableService", "GpInvestingEntityDataService", "PermissionService", "AccreditationService", "selectors", "inputs", "outputs", "features", "\u0275\u0275InheritDefinitionFeature", "decls", "vars", "consts", "template", "rf", "ctx", "InvestingEntitiesDisplayTableComponent_ng_container_0_Template", "\u0275\u0275pureFunction3", "_c0", "_InvestingEntitiesDisplayTableComponent", "createInitialState", "ui", "isUnsavedChanges", "isSaving", "isSubmitted", "allContactReferrers", "ContactReferrersDialogStore", "_a", "EntityStore", "constructor", "factory", "\u0275fac", "__decorate", "StoreConfig", "name", "ContactReferrersDialogService", "OnDestroyMixin", "constructor", "store", "contactReferrerDataService", "getAllContactReferrers", "pipe", "untilComponentDestroyed", "subscribe", "contactReferrers", "set", "addContactReferrer", "contactReferrer", "create", "tap", "createdItem", "add", "updateContactReferrer", "update", "id", "updatedItem", "upsert", "deleteContactReferrer", "delete", "remove", "getAllSearchOptions", "SearchOptionsRequest", "pageSize", "getList", "map", "response", "rows", "\u0275\u0275inject", "ContactReferrersDialogStore", "ContactReferrerDataService", "factory", "\u0275fac", "_ContactReferrersDialogService", "ContactReferrersDialogQuery", "QueryEntity", "constructor", "store", "isUnsavedChanges$", "select", "s", "ui", "isUnsavedChanges", "isSaving$", "isSaving", "isSubmitted$", "isSubmitted", "\u0275\u0275inject", "ContactReferrersDialogStore", "factory", "\u0275fac", "_ContactReferrersDialogQuery", "\u0275\u0275element", "\u0275\u0275elementStart", "\u0275\u0275text", "\u0275\u0275elementEnd", "\u0275\u0275elementContainerStart", "\u0275\u0275advance", "\u0275\u0275textInterpolate2", "element_r3", "name", "id", "\u0275\u0275textInterpolate1", "\u0275\u0275template", "ContactReferrersDialogComponent_mat_dialog_content_5_ng_container_8_td_5_ng_container_1_Template", "ContactReferrersDialogComponent_mat_dialog_content_5_ng_container_8_td_5_ng_container_3_Template", "\u0275\u0275property", "\u0275\u0275pipeBind1", "ctx_r1", "allowInvestorName$", "\u0275\u0275listener", "$event", "element_r5", "\u0275\u0275restoreView", "_r4", "$implicit", "\u0275\u0275nextContext", "edit", "\u0275\u0275resetView", "stopPropagation", "delete", "ContactReferrersDialogComponent_mat_dialog_content_5_ng_container_8_th_4_Template", "ContactReferrersDialogComponent_mat_dialog_content_5_ng_container_8_td_5_Template", "ContactReferrersDialogComponent_mat_dialog_content_5_ng_container_8_th_7_Template", "ContactReferrersDialogComponent_mat_dialog_content_5_ng_container_8_td_8_Template", "ContactReferrersDialogComponent_mat_dialog_content_5_ng_container_8_tr_9_Template", "ContactReferrersDialogComponent_mat_dialog_content_5_ng_container_8_tr_10_Template", "contactReferrers$", "displayedColumns", "_r1", "addContactReferrerDialog", "ContactReferrersDialogComponent_mat_dialog_content_5_ng_template_6_Template", "\u0275\u0275templateRefExtractor", "ContactReferrersDialogComponent_mat_dialog_content_5_ng_container_8_Template", "count$", "emptyState_r6", "ContactReferrersDialogComponent", "OnDestroyMixin", "constructor", "dialogRef", "data", "dialog", "query", "contactReferrersDialogService", "dialogService", "permissionService", "utilsService", "selectAll", "selectCount", "loading$", "selectLoading", "addPanelClass", "ngOnInit", "open", "InvestorContactReferrerDialogComponent", "afterClosed", "pipe", "untilComponentDestroyed", "filter", "referrer", "switchMap", "addContactReferrer", "subscribe", "error", "BaseResponseDto", "alertErrorMessage", "contactReferrer", "dialogConfig", "MatDialogConfig", "ContactReferrerEditDialogContext", "updateContactReferrer", "confirmationText", "attachedContactsCount", "confirmDialog", "ConfirmDialogParams", "isConfirmed", "deleteContactReferrer", "\u0275\u0275directiveInject", "MatDialogRef", "MAT_DIALOG_DATA", "MatDialog", "ContactReferrersDialogQuery", "ContactReferrersDialogService", "DialogService", "PermissionService", "UtilsService", "selectors", "features", "\u0275\u0275ProvidersFeature", "ContactReferrersDialogStore", "\u0275\u0275InheritDefinitionFeature", "decls", "vars", "consts", "template", "rf", "ctx", "ContactReferrersDialogComponent_ng_template_3_Template", "ContactReferrersDialogComponent_mat_dialog_content_5_Template", "loader_r7", "undefined", "_ContactReferrersDialogComponent", "ContactsGroupType", "RecipientType", "TemplateService", "AbstractRestService", "constructor", "http", "baseEndpoint$", "of", "\u0275\u0275inject", "HttpService", "factory", "\u0275fac", "providedIn", "_TemplateService", "InvestorCommunicationService", "constructor", "http", "INVESTORCOMMUNICATION_BASE_ENDPOINT", "MAX_NUM_OF_RECIPIENTS", "getGroups", "filterQuery", "getTyped", "sendInvestorsMails", "templateId", "model", "post", "generateSubmitModel", "formValues", "recipientsByType", "recipients", "bccRecipients", "reduce", "acc", "val", "__spreadProps", "__spreadValues", "recipientType", "RecipientType", "Group", "id", "message", "Contact", "users", "User", "groups", "\u0275\u0275inject", "HttpService", "factory", "\u0275fac", "providedIn", "_InvestorCommunicationService", "\u0275\u0275element", "\u0275\u0275elementStart", "\u0275\u0275text", "\u0275\u0275elementEnd", "\u0275\u0275advance", "\u0275\u0275textInterpolate", "\u0275\u0275pipeBind3", "contact_r4", "email", "\u0275\u0275template", "InvestorCommunicationDialogComponent_div_9_ng_template_6_span_7_Template", "\u0275\u0275property", "recipientType", "ctx_r2", "RecipientType", "Group", "\u0275\u0275pureFunction2", "_c1", "firstName", "lastName", "type", "ContactsGroupType", "Holding", "\u0275\u0275pureFunction0", "_c2", "displayName", "split", "contact_r5", "\u0275\u0275listener", "$event", "recipientField_r2", "\u0275\u0275restoreView", "_r1", "$implicit", "\u0275\u0275nextContext", "\u0275\u0275resetView", "filterContacts", "suggestionsSubject", "additionSuggestions", "lastLayoutVisible", "InvestorCommunicationDialogComponent_div_9_ng_template_6_Template", "InvestorCommunicationDialogComponent_div_9_ng_template_7_Template", "InvestorCommunicationDialogComponent_div_9_mat_error_8_Template", "label", "formControlName", "\u0275\u0275pipeBind1", "emailForm", "get", "hasError", "dirty", "InvestorCommunicationDialogComponent", "keyEvent", "event", "key", "target", "tagName", "originalClose", "bind", "dialogRef", "constructor", "data", "fb", "contactDataService", "templateService", "investorCommunicationService", "userService", "dialogService", "filteredContacts$", "BehaviorSubject", "CCfilteredRecipients$", "BCCfilteredRecipients$", "isSending$", "recipientsFields", "getCurrentAgentOrganizationMembers", "pipe", "map", "members", "filter", "member", "id", "middleName", "join", "User", "close", "closeDialog", "ngOnInit", "group", "recipients", "UntypedFormControl", "defaultSuggestions", "Validators", "required", "bccRecipients", "subject", "message", "accountDetails$", "take", "tap", "account", "patchValue", "subscribe", "getById", "contentTemplateId", "templateModel", "definition", "targetSubject", "searchReq", "ContactSearchOptionsRequest", "query", "isBaseSearch", "combineLatest", "getList", "contactsContainer", "rows", "contact", "Contact", "getGroups", "groups", "__spreadProps", "__spreadValues", "src", "contacts", "addition", "next", "length", "usr", "includes", "send", "markAllAsTouched", "Object", "values", "controls", "forEach", "control", "markAsDirty", "updateValueAndValidity", "validateBeforeSending", "result", "_", "doSubmit", "valid", "of", "autoCompletes", "some", "ac", "containerEL", "nativeElement", "value", "dialogParams", "AlertDialogParams", "actionPosition", "alertDialog", "afterClosed", "submitModel", "generateSubmitModel", "sendInvestorsMails", "catchError", "finalize", "\u0275\u0275directiveInject", "MatDialogRef", "MAT_DIALOG_DATA", "FormBuilder", "ContactDataService", "TemplateService", "InvestorCommunicationService", "UserService", "DialogService", "selectors", "viewQuery", "rf", "ctx", "AutoComplete", "\u0275\u0275resolveDocument", "InvestorCommunicationDialogComponent_terra_loader_5_Template", "InvestorCommunicationDialogComponent_div_9_Template", "InvestorCommunicationDialogComponent_mat_error_15_Template", "\u0275\u0275textInterpolate1", "dialogTitle", "\u0275\u0275pureFunction1", "_c0", "_InvestorCommunicationDialogComponent", "InvestorCommunicationResultSnackbarComponent", "constructor", "data", "successMessage", "failedMessage", "ngOnInit", "messageToDisplay", "result", "icon", "\u0275\u0275directiveInject", "MAT_SNACK_BAR_DATA", "selectors", "decls", "vars", "consts", "template", "rf", "ctx", "\u0275\u0275elementStart", "\u0275\u0275text", "\u0275\u0275elementEnd", "\u0275\u0275advance", "\u0275\u0275textInterpolate", "_InvestorCommunicationResultSnackbarComponent", "\u0275\u0275elementStart", "\u0275\u0275text", "\u0275\u0275elementEnd", "\u0275\u0275property", "tag_r2", "key", "\u0275\u0275advance", "\u0275\u0275textInterpolate", "value", "\u0275\u0275template", "InvestorsContactsComponent_div_9_mat_form_field_1_mat_option_2_Template", "allTags_r3", "\u0275\u0275textInterpolate1", "tag_r4", "InvestorsContactsComponent_div_9_mat_form_field_1_Template", "InvestorsContactsComponent_div_9_mat_chip_3_Template", "\u0275\u0275pipeBind1", "ctx_r4", "selectedTags$", "\u0275\u0275elementContainerStart", "\u0275\u0275pipeBind3", "contactReferrer_r6", "name", "id", "InvestorsContactsComponent_mat_option_16_ng_container_1_Template", "InvestorsContactsComponent_mat_option_16_ng_container_3_Template", "allowInvestorName$", "\u0275\u0275listener", "\u0275\u0275restoreView", "_r7", "\u0275\u0275nextContext", "\u0275\u0275resetView", "clearForm", "InvestorsContactsComponent", "OnDestroyMixin", "constructor", "viewContainerRef", "route", "dialog", "contactDataService", "contactsTableService", "contactReferrerDataService", "fb", "dialogService", "titleService", "appSettings", "telemetryService", "userService", "utilsService", "permissionService", "impersonationService", "activatedRoute", "snackbarService", "showClearFilter$", "searchOptions$", "pipe", "map", "searchOptions", "tags", "length", "filter", "contactReferrerId", "isLoadingViewAsInvestor$", "isLoadingImpersonation$", "refreshFilters$", "Subject", "allContactReferrers$", "startWith", "switchMapTo", "getAll", "shareReplay", "contactTagsResponse$", "getContactTags", "allTags$", "response", "mostUsedTags$", "mostUsedTags", "selectedTagIds$", "s", "combineLatest", "allTags", "selectedTagIds", "find", "t", "selectedContacts", "ngOnInit", "generateForm", "providedContactId", "getContactIdParamProvided", "investingEntityId", "getInvestingEntityIdIdParamProvided", "showContactModal", "contactId", "snapshot", "queryParams", "pageForm", "get", "setValue", "openInvestorCommunicationDialog", "checkPermission", "PermissionLevel", "Editor", "take", "switchMap", "result", "_", "customDialog", "InvestorCommunicationDialogComponent", "contentTemplateId", "defaultSuggestions", "selectedContact", "displayName", "firstName", "middleName", "lastName", "join", "email", "recipientType", "RecipientType", "Contact", "afterClosed", "tap", "showSnackbarFromComponent", "InvestorCommunicationResultSnackbarComponent", "alertDialog", "AlertDialogParams", "subscribe", "export", "options", "exportContacts", "untilComponentDestroyed", "filename", "downloadFile", "import", "importContactsClickTelemetryEvent", "dialogConfig", "MatDialogConfig", "panelClass", "disableClose", "open", "InvestorContactImportDialogComponent", "isRefresh", "refresh", "next", "manageContactReferrers", "ContactReferrersDialogComponent", "closeOnNavigation", "autoFocus", "data", "InvestorContactDialogComponent", "contactDetails", "showDeleteModal", "ids", "dialogParams", "ConfirmDialogParams", "actionLabel", "title", "description", "confirmDialog", "confirmed", "onDelete", "openInvestingEntityWithRelatedInvestmentsHoldingDialog", "investingEntityWithRelatedInvestmentsHolding", "InvestingEntityWithRelatedInvestmentsHoldingWarningDialogComponent", "viewAsInvestor", "contact", "error", "errorAlertModel", "deleteSingle", "deleteMultiple", "res", "responseStatus", "BaseResponseStatus", "Notice", "BaseResponseDto", "alertErrorMessage", "group", "multiselectTags", "controls", "valueChanges", "debounceTime", "term", "updateFilter", "updateTagsFilter", "updateContactReferrerIdFilter", "link", "document", "createElement", "href", "resourceUrl", "download", "dispatchEvent", "MouseEvent", "accountDetails$", "clientDetails", "create", "eventID", "eventTitle", "organizationID", "organizationDetails", "AnalyticsServiceNameModel", "Mixpanel", "Insights", "importContactsSendTelemetryEvent", "\u0275\u0275directiveInject", "ViewContainerRef", "ActivatedRoute", "MatDialog", "ContactDataService", "InvestorContactsTableService", "ContactReferrerDataService", "UntypedFormBuilder", "DialogService", "Title", "AppSettingsService", "TelemetryService", "UserService", "UtilsService", "PermissionService", "ImpersonationService", "SnackbarService", "selectors", "features", "\u0275\u0275ProvidersFeature", "\u0275\u0275InheritDefinitionFeature", "decls", "vars", "consts", "template", "rf", "ctx", "$event", "i0", "_r1", "preventDefault", "\u0275\u0275element", "InvestorsContactsComponent_div_9_Template", "InvestorsContactsComponent_mat_option_16_Template", "InvestorsContactsComponent_button_18_Template", "menu_r8", "_InvestorsContactsComponent", "RecipientCreateDto", "DestinationBankAccountCreateDto", "\u0275\u0275element", "\u0275\u0275elementStart", "\u0275\u0275text", "\u0275\u0275elementEnd", "\u0275\u0275advance", "\u0275\u0275textInterpolate1", "ctx_r1", "forbiddenNameCharacters", "join", "\u0275\u0275property", "paymentType_r3", "\u0275\u0275pipeBind2", "CrePaymentType", "accountType_r4", "CheckingOrSavingsType", "toString", "\u0275\u0275template", "CreateEditRecipientDialogComponent_div_50_mat_option_5_Template", "checkingOrSavingsTypes", "memoLength", "\u0275\u0275listener", "$event", "\u0275\u0275restoreView", "_r5", "\u0275\u0275nextContext", "\u0275\u0275resetView", "addressFormReady", "pageForm", "generateAddressFormSettings", "generalErrorMessage", "\u0275\u0275sanitizeHtml", "\u0275\u0275textInterpolate", "validationError$", "value", "CreateEditRecipientDialogComponent_div_71_p_1_Template", "CreateEditRecipientDialogComponent_div_71_p_2_Template", "CreateEditRecipientDialogComponent_div_71_p_4_Template", "invalid", "valid", "\u0275\u0275pipeBind1", "isGeneralServerError$", "CreateEditRecipientDialogComponent", "OnDestroyMixin", "constructor", "fb", "recipientId", "dialogRef", "recipientContactsDataService", "loggerService", "addPanelClass", "isLoading$", "BehaviorSubject", "isSubmitted$", "isUpdatingExistingRecipient$", "currentTags", "TerraUtils", "consts", "messages", "GENERAL_SUBMIT_ERROR_WITH_LINK", "PaymentType", "validators", "FORBIDDEN_CHARACTERS_IN_NAME", "memoTooltipText", "MEMO_MAX_LENGTH", "listAll", "ngOnInit", "generateForm", "next", "populateForm", "fieldsToShow", "AddressFields", "Country", "Street", "Street2", "City", "State", "PostalCode", "AddressFormSettings", "undefined", "group", "firstName", "Validators", "required", "CustomValidators", "containsForbiddenCharacterValidator", "maxLength", "FIRSTNAME_LENGTH", "lastName", "LASTNAME_LENGTH", "tags", "memo", "accountType", "routingNumber", "pattern", "accountNumber", "address", "checkingOrSavingsType", "Checking", "get", "valueChanges", "pipe", "untilComponentDestroyed", "subscribe", "Ach", "disable", "enable", "generateSubmitModel", "formValues", "getRawValue", "model", "RecipientCreateDto", "bankAccount", "DestinationBankAccountCreateDto", "usAbaRoutingNumber", "paymentType", "Wire", "location", "__spreadValues", "save", "markAllAsTouched", "submitModel", "take", "switchMap", "isUpdate", "updateRecipient", "createRecipient", "finalize", "_", "close", "error", "status", "addTag", "event", "input", "push", "toLowerCase", "setValue", "removeTag", "tagToRemove", "filter", "tag", "getById", "recipient", "contactTags", "forEach", "recipientLocation", "contactLocation", "isWirePaymentType", "patchValue", "\u0275\u0275directiveInject", "UntypedFormBuilder", "MAT_DIALOG_DATA", "MatDialogRef", "GpRecipientContactsDataService", "LoggerService", "selectors", "features", "\u0275\u0275InheritDefinitionFeature", "decls", "vars", "template", "rf", "ctx", "CreateEditRecipientDialogComponent_terra_loader_4_Template", "CreateEditRecipientDialogComponent_mat_error_15_Template", "CreateEditRecipientDialogComponent_mat_error_16_Template", "CreateEditRecipientDialogComponent_mat_error_17_Template", "CreateEditRecipientDialogComponent_mat_error_23_Template", "CreateEditRecipientDialogComponent_mat_error_24_Template", "CreateEditRecipientDialogComponent_mat_option_33_Template", "CreateEditRecipientDialogComponent_mat_error_34_Template", "CreateEditRecipientDialogComponent_mat_error_40_Template", "CreateEditRecipientDialogComponent_mat_error_41_Template", "CreateEditRecipientDialogComponent_mat_error_48_Template", "CreateEditRecipientDialogComponent_mat_error_49_Template", "CreateEditRecipientDialogComponent_div_50_Template", "CreateEditRecipientDialogComponent_mat_error_61_Template", "CreateEditRecipientDialogComponent_section_62_Template", "i0", "_r1", "CreateEditRecipientDialogComponent_div_71_Template", "\u0275\u0275pureFunction1", "_c0", "hasError", "tmp_15_0", "tmp_18_0", "\u0275\u0275propertyInterpolate", "\u0275\u0275textInterpolate2", "memo_r6", "length", "tmp_24_0", "fadeInOut", "changeDetection", "_CreateEditRecipientDialogComponent", "\u0275\u0275elementStart", "\u0275\u0275text", "\u0275\u0275elementEnd", "\u0275\u0275property", "tag_r1", "key", "\u0275\u0275advance", "\u0275\u0275textInterpolate", "value", "\u0275\u0275template", "RecipientsContactsComponent_div_9_mat_form_field_1_mat_option_2_Template", "\u0275\u0275pipeBind1", "allTags_r2", "\u0275\u0275textInterpolate1", "tag_r3", "RecipientsContactsComponent_div_9_mat_form_field_1_Template", "RecipientsContactsComponent_div_9_mat_chip_3_Template", "ctx_r3", "selectedTags$", "RecipientsContactsComponent", "OnDestroyMixin", "constructor", "fb", "recipientContactsDataService", "recipientContactsTableService", "dialog", "vcr", "snackbarService", "dialogService", "refreshTags$", "Subject", "searchOptions$", "selectedTagIds$", "pipe", "map", "s", "tags", "allTags$", "startWith", "switchMapTo", "getTags", "shareReplay", "combineLatest", "allTags", "selectedTagIds", "id", "ngOnInit", "generateForm", "pageForm", "group", "filter", "controls", "valueChanges", "untilComponentDestroyed", "debounceTime", "subscribe", "term", "updateFilter", "updateTagsFilter", "openCreateEditRecipientModal", "recipientIdToEdit", "dialogConfig", "MatDialogConfig", "disableClose", "viewContainerRef", "data", "open", "CreateEditRecipientDialogComponent", "afterClosed", "toRefresh", "showGeneralMessage", "refresh", "next", "showDeleteModal", "ids", "dialogParams", "ConfirmDialogParams", "panelClass", "actionLabel", "length", "title", "description", "confirmDialog", "confirmed", "deleteRecipient", "recipientsIds", "delete", "_", "deleteMultiple", "openTransactionsHistoryModal", "recipient", "UnitRecipientPaymentsHistoryDialogComponent", "\u0275\u0275directiveInject", "UntypedFormBuilder", "GpRecipientContactsDataService", "RecipientContactsTableService", "MatDialog", "ViewContainerRef", "SnackbarService", "DialogService", "selectors", "features", "\u0275\u0275ProvidersFeature", "\u0275\u0275InheritDefinitionFeature", "decls", "vars", "consts", "template", "rf", "ctx", "\u0275\u0275listener", "\u0275\u0275element", "RecipientsContactsComponent_div_9_Template", "$event", "_RecipientsContactsComponent", "AccreditationModule", "AccreditationService", "imports", "CommonModule", "MaterialModule", "SharedModule", "CovercySharedComponentsModule", "GpSharedModule", "_AccreditationModule", "\u0275\u0275elementStart", "\u0275\u0275element", "\u0275\u0275text", "\u0275\u0275elementEnd", "\u0275\u0275listener", "contact_r4", "\u0275\u0275restoreView", "_r3", "$implicit", "ctx_r1", "\u0275\u0275nextContext", "\u0275\u0275resetView", "viewAsInvestorBtn", "\u0275\u0275advance", "\u0275\u0275property", "\u0275\u0275pureFunction2", "_c1", "firstName", "lastName", "\u0275\u0275textInterpolate", "\u0275\u0275pipeBind3", "email", "_r1", "onScrollLoadData", "\u0275\u0275template", "ViewAsInvestorContactsComponent_ul_5_li_2_Template", "contacts", "ViewAsInvestorContactsComponent", "constructor", "contactDataService", "cdr", "totalCount", "isLoading$", "BehaviorSubject", "search$", "ContactSearchOptionsRequest", "search", "subscription", "Subscription", "pageSize", "pageNumber", "isBaseSearch", "ngOnDestroy", "unsubscribe", "ngOnInit", "getContacts", "pipe", "debounceTime", "switchMap", "getList", "subscribe", "response", "next", "rows", "markForCheck", "nativeElement", "uiElement", "clientHeight", "Math", "round", "scrollTop", "scrollHeight", "length", "value", "filterChanged", "filter", "clearSearch", "contact", "data", "output", "\u0275\u0275directiveInject", "ContactDataService", "ChangeDetectorRef", "selectors", "viewQuery", "rf", "ctx", "$event", "ViewAsInvestorContactsComponent_ul_5_Template", "ViewAsInvestorContactsComponent_terra_loader_7_Template", "\u0275\u0275textInterpolate1", "\u0275\u0275pipeBind1", "_ViewAsInvestorContactsComponent", "ContactsEmailTrackingService", "constructor", "http", "baseEndpoint$", "of", "getAll", "pipe", "switchMap", "endpoint", "getTyped", "catchError", "err", "throwError", "\u0275\u0275inject", "HttpService", "factory", "\u0275fac", "providedIn", "_ContactsEmailTrackingService", "\u0275\u0275elementStart", "\u0275\u0275listener", "$event", "\u0275\u0275restoreView", "_r3", "ctx_r1", "\u0275\u0275nextContext", "\u0275\u0275resetView", "filterChanged", "clearSearch", "\u0275\u0275twoWayListener", "i0", "\u0275\u0275twoWayBindingSet", "filteringText", "\u0275\u0275elementEnd", "openInvestorCommunicationDialog", "\u0275\u0275advance", "\u0275\u0275twoWayProperty", "\u0275\u0275property", "\u0275\u0275element", "col_r4", "name", "\u0275\u0275text", "\u0275\u0275template", "ContactsEmailTrackingComponent_div_0_p_table_1_ng_template_3_th_2_p_sortIcon_2_Template", "shouldSort", "\u0275\u0275textInterpolate1", "displayName", "ContactsEmailTrackingComponent_div_0_p_table_1_ng_template_3_th_2_Template", "cols", "col_r5", "type", "Date", "\u0275\u0275pipeBind2", "rowData_r6", "ContactsEmailTrackingComponent_div_0_p_table_1_ng_template_5_td_4_Template", "columns_r7", "\u0275\u0275elementContainerStart", "ContactsEmailTrackingComponent_div_0_p_table_1_ng_template_6_ng_container_0_Template", "ContactsEmailTrackingComponent_div_0_p_table_1_ng_template_6_ng_template_1_Template", "\u0275\u0275templateRefExtractor", "emails_r9", "length", "noEmails_r8", "_r1", "tableSort", "ContactsEmailTrackingComponent_div_0_p_table_1_ng_template_2_Template", "ContactsEmailTrackingComponent_div_0_p_table_1_ng_template_3_Template", "ContactsEmailTrackingComponent_div_0_p_table_1_ng_template_5_Template", "ContactsEmailTrackingComponent_div_0_p_table_1_ng_template_6_Template", "\u0275\u0275pureFunction0", "_c1", "_c2", "_c3", "ContactsEmailTrackingComponent_div_0_p_table_1_Template", "ContactsEmailTrackingComponent", "constructor", "contactsEmailService", "dialogService", "snackbarService", "permissionService", "emails$", "getAll", "pipe", "map", "emails", "email", "datetime", "createTimeStamp", "contactName", "recipientEmail", "emailSubject", "subject", "holding", "extraData", "userSender", "originUser", "firstName", "lastName", "shareReplay", "String", "ngOnInit", "event", "data", "sort", "data1", "data2", "value1", "field", "value2", "result", "localeCompare", "order", "searchInput", "value", "pTable", "filterGlobal", "matchMode", "onRowSelect", "console", "log", "checkPermission", "PermissionLevel", "Editor", "take", "switchMap", "_", "customDialog", "InvestorCommunicationDialogComponent", "contentTemplateId", "dialogTitle", "afterClosed", "filter", "tap", "showSnackbarFromComponent", "InvestorCommunicationResultSnackbarComponent", "alertDialog", "AlertDialogParams", "subscribe", "\u0275\u0275directiveInject", "ContactsEmailTrackingService", "DialogService", "SnackbarService", "PermissionService", "selectors", "viewQuery", "rf", "ctx", "ContactsEmailTrackingComponent_div_0_Template", "ContactsEmailTrackingComponent_ng_template_2_Template", "\u0275\u0275pipeBind1", "loader_r10", "_ContactsEmailTrackingComponent", "WINDOW", "InjectionToken", "factory", "window", "IntegrationRequestDialogComponent", "constructor", "router", "dialogRef", "sourceTypeService", "data", "paths", "TerraUtils", "consts", "updateSize", "cancel", "close", "talkToUS", "issueInput$", "next", "hint", "openNewTabWithData", "issueInput", "SUPPORT", "route", "url", "createUrlTree", "toString", "newTab", "open", "opener", "sharedData", "\u0275\u0275directiveInject", "Router", "MatDialogRef", "HelpSourceTypeService", "MAT_DIALOG_DATA", "selectors", "standalone", "features", "\u0275\u0275StandaloneFeature", "decls", "vars", "template", "rf", "ctx", "\u0275\u0275elementStart", "\u0275\u0275text", "\u0275\u0275elementEnd", "\u0275\u0275listener", "\u0275\u0275advance", "\u0275\u0275property", "\u0275\u0275textInterpolate", "title", "\u0275\u0275textInterpolate1", "description", "DialogHeaderComponent", "MatDialogModule", "MatDialogClose", "MatDialogActions", "RouterModule", "MatButtonModule", "MatAnchor", "MatButton", "styles", "changeDetection", "_IntegrationRequestDialogComponent", "ContactsModule", "provide", "USER_DETAILS", "useExisting", "UserService", "APP_SETTINGS", "AppSettingsService", "imports", "CommonModule", "SharedModule", "MaterialModule", "CovercySharedComponentsModule", "AccreditationModule", "GoogleMapSearchModule", "IntegrationRequestDialogComponent", "_ContactsModule", "FeatureFlagGuard", "constructor", "userService", "appSettingsService", "routingService", "router", "canActivate", "next", "state", "userHasFeatureFlag", "data", "featureFlag", "pipe", "map", "hasFeature", "createUrlTree", "\u0275\u0275inject", "UserService", "AppSettingsService", "RoutingService", "Router", "factory", "\u0275fac", "providedIn", "_FeatureFlagGuard", "UnitApplicationMsServiceService", "AbstractRestService", "constructor", "http", "appSettingsService", "baseEndpoint$", "localEnv", "of", "getSearchOptionsToQuerystring", "options", "getUnitApplications", "queryString", "pipe", "switchMap", "baseEndpoint", "getTyped", "getUnitApplicationsByEntityId", "entityId", "getUnitApplicationDrafts", "\u0275\u0275inject", "HttpService", "AppSettingsService", "factory", "\u0275fac", "providedIn", "_UnitApplicationMsServiceService", "AccountConnectedStatus", "EntityType", "toString", "connectedStatus", "NotConnectedYet", "Connected", "DisconnectedByUser", "DisconnectedByProvider", "listAll", "parse", "connectedStatusStr", "\u0275\u0275element", "\u0275\u0275elementStart", "\u0275\u0275text", "\u0275\u0275elementEnd", "\u0275\u0275listener", "\u0275\u0275restoreView", "_r2", "vm_r3", "\u0275\u0275nextContext", "ngIf", "ctx_r3", "bankAccountComponent_r5", "\u0275\u0275reference", "\u0275\u0275resetView", "currencyLearnMore", "selectedCountry", "defaultCurrency", "preferredCurrency", "\u0275\u0275advance", "\u0275\u0275textInterpolate1", "iso", "_r6", "name", "\u0275\u0275textInterpolate2", "symbol", "\u0275\u0275template", "ViewBankAccountComponent_div_25_p_1_Template", "ViewBankAccountComponent_div_25_p_2_Template", "\u0275\u0275property", "isRecommendedCurrencySelected", "beneficiaryEntityType_r7", "\u0275\u0275pipeBind2", "BeneficiaryEntityType", "ViewBankAccountComponent_div_39_mat_option_5_Template", "ViewBankAccountComponent_div_39_mat_error_6_Template", "\u0275\u0275pureFunction1", "_c2", "isIgnoreReadOnlyBeneficiaryEntityType", "undefined", "listAll", "pageForm", "get", "hasError", "ViewBankAccountComponent_div_40_mat_error_7_Template", "_c3", "isIgnoreReadOnlyBeneficiaryTin", "tmp_4_0", "getAddressCountry", "generalServerErrorMessage", "\u0275\u0275sanitizeHtml", "ViewBankAccountComponent", "DialogWithFormBase", "constructor", "fb", "gpBankAccountDataService", "resourceService", "data", "dialogService", "dialogRef", "isSubmitted", "showInternalLoader", "bankAccountId", "isGeneralServerError", "TerraUtils", "consts", "messages", "GENERAL_SUBMIT_ERROR_WITH_LINK", "allCountries", "isAnOrganizationAccountDefault", "addressFormSettings", "AddressFormSettings", "enablePreferredCurrency", "investingEntity", "addPanelClass", "ngOnInit", "bankAccountDetails", "ClientBankAccountReqRes", "id", "generateForm", "subscribeToIsOrganizationChange", "populateForm", "group", "nickname", "Validators", "required", "holderFullName", "isAnOrganizationAccount", "beneficiaryEntityType", "beneficiaryTin", "bankDetails", "holderLocationDetails", "setValue", "investingEntityType", "tin", "getById", "pipe", "finalize", "subscribe", "bankAccount", "patchValue", "disable", "markAllAsTouched", "err", "console", "log", "isCollectWitholdingTaxData", "value", "controls", "valueChanges", "untilComponentDestroyed", "isOrganization", "setValidators", "markAsUntouched", "updateValueAndValidity", "locationDetailsForm", "addressCountryId", "find", "c", "isRecommdendedCurrencySelected", "recommendedCurrency", "selectedCurrency", "longText", "alertDialog", "title", "description", "\u0275\u0275directiveInject", "UntypedFormBuilder", "GpBankAccountDataService", "ResourceService", "MAT_DIALOG_DATA", "DialogService", "MatDialogRef", "selectors", "features", "\u0275\u0275InheritDefinitionFeature", "decls", "vars", "template", "rf", "ctx", "ViewBankAccountComponent_terra_loader_4_Template", "$event", "i0", "_r1", "preventDefault", "ViewBankAccountComponent_mat_error_14_Template", "ViewBankAccountComponent_mat_error_20_Template", "ViewBankAccountComponent_mat_error_21_Template", "ViewBankAccountComponent_div_25_Template", "\u0275\u0275elementContainerStart", "ViewBankAccountComponent_div_39_Template", "ViewBankAccountComponent_div_40_Template", "ViewBankAccountComponent_p_44_Template", "ViewBankAccountComponent_p_45_Template", "_c0", "\u0275\u0275pureFunction2", "_c1", "\u0275\u0275pipeBind1", "invalid", "valid", "fadeInOut", "enterAnimation", "_ViewBankAccountComponent", "CreBankAccountDataService", "AbstractRestService", "constructor", "http", "baseEndpoint$", "of", "getSearchOptionsToQuerystring", "options", "queryString", "parentType", "includeLimits", "includeClosed", "getListBasic", "getList", "getUnitBankAccounts", "pipe", "switchMap", "baseEndpoint", "getTyped", "approve", "bankAccountId", "put", "getTransactionsList", "querystring", "getTransactionsSearchOptionsToQuerystring", "getTransactionsForHolding", "holdingId", "getBankAccountsForOrganization", "getBalanceAndTotalTransactions", "catchError", "err", "throwError", "getBankAccountStatement", "statementId", "downloadFile", "getUnitAccountTypes", "getBankAccountAchLimits", "baseSearchOptionsQueryString", "startDate", "toISOString", "endDate", "typeName", "excludeFees", "toggleDistribution", "downloadFaqPdf", "generateVerificationLetter", "includeBalance", "exportTransactions", "fileType", "unitBankId", "queryParams", "queryParamsStr", "join", "startsWith", "length", "closeAccount", "putTyped", "createTransactionNotes", "transactionNotes", "baseUrl", "postTyped", "updateTransactionNotes", "deleteTransactionNotes", "transactionNoteId", "deleteTyped", "\u0275\u0275inject", "HttpService", "factory", "\u0275fac", "_CreBankAccountDataService"] }