{ "version": 3, "sources": ["src/app/shared/enums/BeneficiaryEntityType.enum.ts", "src/app/dashboard/bankAccounts/components/edit-bank-account/edit-bank-account.component.ts", "src/app/dashboard/bankAccounts/components/edit-bank-account/edit-bank-account.component.html", "src/app/dashboard/contacts/components/investing-entities-display-table/InvstingEntitySearchOptionsRequest.model.ts", "src/app/services/gp/gp-investing-entity-data.service.ts", "src/app/services/gp/contact-referrer-data.service.ts", "src/app/shared/enums/AccreditationStatus.enum.ts", "src/app/shared/models/AccreditationDto.model.ts", "src/app/dashboard/shared/accreditation/accreditation-send-request-dialog/accreditation-send-request-dialog.component.ts", "src/app/dashboard/shared/accreditation/accreditation-send-request-dialog/accreditation-send-request-dialog.component.html", "src/app/shared/consts/GeneralSettingKeys.consts.ts", "src/app/dashboard/shared/accreditation/accreditation.service.ts", "src/app/dashboard/shared/accreditation/accreditation.component.ts", "src/app/dashboard/shared/accreditation/accreditation.component.html", "src/app/dashboard/contacts/components/investor-contact-dialog/edit-investing-entity-dialog/edit-investing-entity-dialog.component.ts", "src/app/dashboard/contacts/components/investor-contact-dialog/edit-investing-entity-dialog/edit-investing-entity-dialog.component.html", "src/app/dashboard/contacts/components/investing-entity-with-related-investments-holding-warning-dialog/investing-entity-with-related-investments-holding-warning-dialog.component.ts", "src/app/dashboard/contacts/components/investing-entity-with-related-investments-holding-warning-dialog/investing-entity-with-related-investments-holding-warning-dialog.component.html", "src/app/shared/models/ContactReferrerReqRes.model.ts", "src/app/dashboard/contacts/components/investor-contact-dialog/investor-contact-referrer-dialog/investor-contact-referrer-dialog.component.ts", "src/app/dashboard/contacts/components/investor-contact-dialog/investor-contact-referrer-dialog/investor-contact-referrer-dialog.component.html", "src/app/dashboard/contacts/components/investor-contact-dialog/investor-contact-details-tab/additional-emails-dialog/additional-emails-dialog.component.ts", "src/app/dashboard/contacts/components/investor-contact-dialog/investor-contact-details-tab/additional-emails-dialog/additional-emails-dialog.component.html", "src/app/dashboard/contacts/components/contact-tags/contact-tags.component.ts", "src/app/dashboard/contacts/components/contact-tags/contact-tags.component.html", "src/app/dashboard/contacts/models/contact.model.ts", "src/app/dashboard/contacts/models/investorContactReqRes.model.ts", "src/app/dashboard/contacts/components/investor-contact-dialog/state/contact-dialog.store.ts", "src/app/dashboard/contacts/components/investor-contact-dialog/state/contact-dialog.query.ts", "src/app/dashboard/contacts/components/investor-contact-dialog/investor-contact-detail.service.ts", "src/app/dashboard/contacts/components/investor-contact-dialog/investor-contact-details-tab/investor-contact-details-tab.component.ts", "src/app/dashboard/contacts/components/investor-contact-dialog/investor-contact-details-tab/investor-contact-details-tab.component.html", "src/app/dashboard/contacts/components/investing-entity-view-dialog/investing-entity-view-dialog.component.ts", "src/app/dashboard/contacts/components/investing-entity-view-dialog/investing-entity-view-dialog.component.html", "src/app/shared/enums/InvestingEntityReportStatus.enum.ts", "src/app/dashboard/contacts/components/investor-contact-dialog/investor-contact-investing-entities-tab/investor-contact-investing-entities-tab.component.ts", "src/app/dashboard/contacts/components/investor-contact-dialog/investor-contact-investing-entities-tab/investor-contact-investing-entities-tab.component.html", "src/app/dashboard/contacts/components/investor-contact-dialog/investor-contact-dialog.component.ts", "src/app/dashboard/contacts/components/investor-contact-dialog/investor-contact-dialog.component.html"], "sourcesContent": ["export enum BeneficiaryEntityType {\n None = 0,\n LLC,\n Company,\n Partnership,\n Corporation\n}\n\nexport namespace BeneficiaryEntityType {\n export function toString(beneficiaryEntityType: BeneficiaryEntityType): string {\n switch (beneficiaryEntityType) {\n case BeneficiaryEntityType.LLC:\n return 'LLC';\n case BeneficiaryEntityType.Company:\n return 'Company';\n case BeneficiaryEntityType.Partnership:\n return 'Partnership';\n case BeneficiaryEntityType.Corporation:\n return 'Corporation';\n default:\n return null;\n }\n }\n\n export function listAll() {\n return [BeneficiaryEntityType.LLC, BeneficiaryEntityType.Company, BeneficiaryEntityType.Partnership, BeneficiaryEntityType.Corporation];\n }\n\n export function parse(beneficiaryEntityTypeStr: string): BeneficiaryEntityType {\n return BeneficiaryEntityType[beneficiaryEntityTypeStr];\n }\n}\n\nexport default BeneficiaryEntityType;\n", "import {ChangeDetectionStrategy, Component, HostBinding, Inject, OnInit} from '@angular/core';\nimport {UntypedFormBuilder, UntypedFormGroup, Validators} from '@angular/forms';\nimport {MAT_DIALOG_DATA, MatDialogRef} from '@angular/material/dialog';\nimport {finalize, map, startWith, take} from 'rxjs/operators';\nimport {untilComponentDestroyed} from '@w11k/ngx-componentdestroyed';\nimport {BehaviorSubject, Observable} from 'rxjs';\n\nimport {ClientBankAccountReqRes} from 'src/app/dashboard/models/bankAccount.model';\nimport {GpBankAccountDataService} from 'src/app/services/gp/gp-bank-account-data.service';\nimport {LocationDetailsResponse} from 'src/app/shared/models/LocationDetailsResponse.model';\nimport {enterAnimation, fadeInOut} 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 './EditBankAccountContext.model';\nimport {AddressFormSettings} from 'src/app/shared/components/address-form/address-form.settings';\nimport {AnalyticsServiceNameModel, TelemetryService} from 'telemetry-library';\nimport {UserService} from 'src/app/services/shared/user.service';\nimport {BaseResponseDto} from '../../../../shared/models/BaseResponseDto.model';\nimport {UtilsService} from '../../../../services/utils.service';\nimport {PermissionService} from 'src/app/permission/permission.service';\nimport {PaymentType} from 'src/app/shared/enums/payment-type.enum';\n\n@Component({\n selector: 'terra-create-bank-account',\n templateUrl: './edit-bank-account.component.html',\n styleUrls: ['./edit-bank-account.component.scss'],\n animations: [fadeInOut, enterAnimation],\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class EditBankAccountComponent extends DialogWithFormBase implements OnInit {\n allowInvestorName$ = this.permissionService.allowInvestorName$;\n\n @HostBinding('class.read-only-mode') get readOnlyMode(): boolean {\n return this.bankAccountDetails && this.bankAccountDetails.id > 0 && !this.bankAccountDetails.isModifiable;\n }\n\n BeneficiaryEntityType = BeneficiaryEntityType;\n pageForm: UntypedFormGroup;\n isSubmitted = false;\n showInternalLoader$ = new BehaviorSubject(false);\n\n bankAccountDetails: ClientBankAccountReqRes;\n bankAccountId = 0;\n isGeneralServerError$ = new BehaviorSubject(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 isAutoFilled = false;\n filteredInvestors$: Observable;\n internalFilteredInvestors: InvestingEntityReqRes[];\n\n addressFormSettings = new AddressFormSettings();\n\n enablePreferredCurrency = false;\n // isRecommendedCurrencySelected$ = new BehaviorSubject(false);\n investingEntity: InvestingEntityReqRes = null;\n\n constructor(\n private fb: UntypedFormBuilder,\n private gpBankAccountDataService: GpBankAccountDataService,\n private resourceService: ResourceService,\n private dialogRef: MatDialogRef,\n @Inject(MAT_DIALOG_DATA) public data: EditBankAccountContext,\n private dialogService: DialogService,\n private telemetryService: TelemetryService,\n private userService: UserService,\n private utilsService: UtilsService,\n private permissionService: PermissionService\n ) {\n super();\n }\n\n ngOnInit() {\n this.bankAccountDetails = new ClientBankAccountReqRes();\n this.bankAccountId = 0;\n\n if (this.data) {\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 this.pageForm = this.fb.group({\n nickname: [null, Validators.required],\n holderFullName: [null, Validators.required],\n isAnOrganizationAccount: [(this.isAnOrganizationAccountDefault || false)],\n beneficiaryEntityType: [null, this.isAnOrganizationAccountDefault ? Validators.required : null],\n beneficiaryTin: [null, this.isAnOrganizationAccountDefault ? Validators.required : null],\n investor: [null, this.data && this.data.investingEntitiesList ? 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 if (this.data && this.data.investingEntitiesList) {\n this.filteredInvestors$ = this.pageForm.get('investor').valueChanges.pipe(startWith(''), map(value => this.filterInvestors(value)));\n }\n }\n\n populateForm(bankAccountId: number) {\n this.showInternalLoader$.next(true);\n\n this.gpBankAccountDataService\n .getById(bankAccountId)\n .pipe(\n finalize(() => {\n this.showInternalLoader$.next(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 if read only.\n // Child forms may have further special handling inside the relevant component when disabled, such as the bank details form (in client-bank-account).\n if (this.readOnlyMode) {\n this.pageForm.get('holderFullName').disable();\n this.pageForm.get('isAnOrganizationAccount').disable();\n this.pageForm.get('bankDetails').disable();\n this.pageForm.get('holderLocationDetails').disable();\n // If we're missing any required tax withholding data, keep the fields enabled\n if (this.isCollectWitholdingTaxData()) {\n if (this.pageForm.get('beneficiaryEntityType').value) {\n this.pageForm.get('beneficiaryEntityType').disable();\n this.isIgnoreReadOnlyBeneficiaryEntityType = false;\n } else {\n this.isIgnoreReadOnlyBeneficiaryEntityType = true;\n }\n if (this.pageForm.get('beneficiaryTin').value) {\n this.pageForm.get('beneficiaryTin').disable();\n this.isIgnoreReadOnlyBeneficiaryTin = false;\n } else {\n this.isIgnoreReadOnlyBeneficiaryTin = true;\n }\n }\n this.pageForm.markAllAsTouched();\n }\n },\n err => {\n console.log('Error', err);\n }\n );\n }\n\n save() {\n this.isSubmitted = true;\n this.isGeneralServerError$.next(false);\n this.pageForm.markAllAsTouched();\n this.pageForm.updateValueAndValidity();\n\n if (!this.pageForm.valid) {\n return;\n }\n\n this.showInternalLoader$.next(true);\n const model: ClientBankAccountReqRes = this.generateSubmitModel();\n\n const isEditMode = this.bankAccountId > 0;\n\n const editOrCreateResponse$ = isEditMode ?\n this.gpBankAccountDataService.update(this.bankAccountId, model) :\n this.gpBankAccountDataService.create(model);\n\n editOrCreateResponse$.subscribe(bankAccountDetails => {\n this.showInternalLoader$.next(false);\n this.dialogRef.close(bankAccountDetails);\n this.userService.getClientDetails().pipe(take(1)).subscribe(clientDetails => {\n if (isEditMode) {\n this.telemetryService.create({\n eventID: '602',\n eventTitle: 'EDIT BANK ACCOUNT',\n organizationID: clientDetails.organizationDetails.id,\n additional: {\n bankAccountID: bankAccountDetails.id\n }\n }, AnalyticsServiceNameModel.Mixpanel | AnalyticsServiceNameModel.Insights);\n } else {\n this.telemetryService.create({\n eventID: '601',\n eventTitle: 'ADD BANK ACCOUNT',\n organizationID: clientDetails.organizationDetails.id,\n additional: {\n bankAccountID: bankAccountDetails.id\n }\n }, AnalyticsServiceNameModel.Mixpanel | AnalyticsServiceNameModel.Insights);\n }\n });\n }, error => {\n if (error instanceof BaseResponseDto) {\n this.utilsService.alertErrorMessage(error);\n } else {\n this.isGeneralServerError$.next(true);\n }\n this.showInternalLoader$.next(false);\n });\n }\n\n generateSubmitModel(): ClientBankAccountReqRes {\n const formValues = this.readOnlyMode ? this.pageForm.getRawValue() : this.pageForm.value;\n const model = new ClientBankAccountReqRes();\n model.id = this.bankAccountId;\n model.holderLocationDetails = formValues.holderLocationDetails as LocationDetailsResponse;\n model.nickname = formValues.nickname;\n model.holderFullName = formValues.holderFullName;\n model.isAnOrganizationAccount = formValues.isAnOrganizationAccount;\n model.accountNumber = formValues.bankDetails.accountNumber;\n model.bankBranchCode = formValues.bankDetails.bankBranchCode;\n model.bankBranchName = formValues.bankDetails.bankBranchName;\n model.bankCode = formValues.bankDetails.bankCode;\n model.bankName = formValues.bankDetails.bankName;\n model.bsb = formValues.bankDetails.bsb;\n model.canadaInstitutionNumber = formValues.bankDetails.canadaInstitutionNumber;\n model.canadaTransitNumber = formValues.bankDetails.canadaTransitNumber;\n model.countryId = formValues.bankDetails.countryId;\n model.iban = formValues.bankDetails.iban;\n model.ifsc = formValues.bankDetails.ifsc;\n model.swift = formValues.bankDetails.swift;\n model.paymentType = formValues.bankDetails.paymentType;\n model.ukSortCode = formValues.bankDetails.ukSortCode;\n model.beneficiaryEntityType = this.isCollectWitholdingTaxData() ? formValues.beneficiaryEntityType : 0;\n model.beneficiaryTin = this.isCollectWitholdingTaxData() ? formValues.beneficiaryTin : null;\n model.preferredCurrencyId = formValues.bankDetails.preferredCurrency ? formValues.bankDetails.preferredCurrency.id : null;\n model.memo = formValues.bankDetails.memo;\n model.checkingOrSavingsType = formValues.bankDetails.checkingOrSavingsType;\n\n if (this.investingEntity) {\n model.investingEntityId = this.investingEntity.id;\n } else if (formValues.investor) {\n model.investingEntityId = formValues.investor;\n }\n\n if (model.paymentType === PaymentType.Ach) {\n model.usabaRoutingNumber = formValues.bankDetails.usabaRoutingNumber;\n model.fedWireRoutingNumber = null;\n }\n\n if (model.paymentType === PaymentType.Wire) {\n model.fedWireRoutingNumber = formValues.bankDetails.frn;\n model.usabaRoutingNumber = null;\n }\n\n return model;\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 setAutofillState(state: boolean) {\n this.isAutoFilled = state;\n }\n\n isError() {\n return this.pageForm.get('investor').hasError('required') &&\n (this.pageForm.get('investor').dirty || this.pageForm.get('investor').touched);\n }\n\n displayFn(value?: number): string | undefined {\n // Get the view value from the options\n if (value) {\n const option = this['options']['_results'].find(x => x.value === value);\n return option ? option.viewValue : undefined;\n } else {\n return undefined;\n }\n }\n\n investorTrackByFn(index, item: InvestingEntityReqRes) {\n return item.id; // or index\n }\n\n filterInvestors(filter: string): InvestingEntityReqRes[] {\n if (filter === null) {\n filter = '';\n }\n\n if (typeof filter === 'number') {\n // investing entity selected from the available options\n this.internalFilteredInvestors = this.data.investingEntitiesList.filter(x => x.id === Number(filter));\n this.setAccountHolderNameAndNickname();\n return this.internalFilteredInvestors;\n } else {\n const filterValue = filter.toLocaleLowerCase();\n if (filterValue === '') {\n this.internalFilteredInvestors = this.data.investingEntitiesList;\n return this.internalFilteredInvestors;\n }\n\n const filteredInvestors = this.data.investingEntitiesList.filter(investor => investor.name.toLocaleLowerCase().startsWith(filterValue));\n if (filteredInvestors.length === 1 && filteredInvestors[0].name.toLocaleLowerCase() === filterValue) {\n this.pageForm.get('investor').setValue(filteredInvestors[0].id, {emitModelToViewChange: false});\n } else {\n if (this.isAutoFilled) {\n this.pageForm.get('investor').reset();\n } else {\n this.internalFilteredInvestors = filteredInvestors;\n }\n }\n\n return this.internalFilteredInvestors;\n }\n }\n\n setAccountHolderNameAndNickname() {\n const investingEntityName = this.internalFilteredInvestors[0].name;\n this.pageForm.get('nickname').setValue(investingEntityName + ' bank account');\n this.pageForm.get('holderFullName').setValue(investingEntityName.substring(0, investingEntityName.indexOf('(') - 1));\n }\n}\n", "\n

{{ bankAccountId ? 'Edit Bank Account' : 'New Bank Account' }}

\n
\n\n
\n \n \n
\n This account is associated with an asset. Only the account nickname can be edited.\n
\n\n
\n
\n\n \n
\n \n \n \n arrow_drop_down\n \n \n \n\t\t\t\t\t\n\t\t\t\t\t\t{{ investor.name }}\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{{ investor.nickname }}\n\t\t\t\t\t\n\t\t\t\t\n \n \n \n Required\n \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 Bank account details\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

\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 \n

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

\n

\n \n

\n
\n", "import {ContactSearchOptionsRequest} from '../../../../shared/models/contactSearchOptionsRequest.model';\n\nexport class InvestingEntitySearchOptionsRequest extends ContactSearchOptionsRequest {\n contactId: number = null;\n withContactName = false;\n showHoldingRelatedInvestors = null;\n holdingId: number = null;\n distributionId: number = null;\n}\n", "import {Injectable} from '@angular/core';\nimport {Observable, of, throwError} from 'rxjs';\nimport {switchMap, catchError} from 'rxjs/operators';\n\nimport {HttpService} from 'src/app/services/http.service';\nimport {AbstractRestService} from 'src/app/shared/types/AbstractRestService';\nimport {SearchOptionsRequest} from 'src/app/shared/models/SearchOptionsRequest.model';\nimport {InvestingEntityReqRes} from 'src/app/dashboard/models/InvestingEntityReqRes.model';\nimport {\n InvestingEntitySearchOptionsRequest\n} from 'src/app/dashboard/contacts/components/investing-entities-display-table/InvstingEntitySearchOptionsRequest.model';\nimport {ReportStatus} from 'src/app/shared/enums/InvestingEntityReportStatus.enum';\nimport HoldingStatus from 'src/app/shared/enums/HoldingStatus.enum';\nimport {LoggerService} from 'src/app/shared/errors/logger.service';\nimport {SearchOptionsResponse} from '../../shared/models/SearchOptionsResponse.model';\n\nexport interface InvestingEntityDetailsItem {\n holdingId: number;\n assetName: string;\n date: Date;\n status: HoldingStatus;\n amountInvested: number;\n amountPerCurrency: string;\n currencySymbol: string;\n currencyIso: string;\n}\n\n@Injectable({\n providedIn: 'root'\n})\nexport class GpInvestingEntityDataService extends AbstractRestService {\n\n protected readonly baseEndpoint$ = of('investing-entity/');\n\n constructor(http: HttpService, private logger: LoggerService) {\n super(http);\n }\n\n protected getSearchOptionsToQuerystring(options: SearchOptionsRequest): string {\n const investingEntityOptions = options as InvestingEntitySearchOptionsRequest;\n let extendedQueryString = '';\n if (investingEntityOptions.tags && investingEntityOptions.tags.length > 0) {\n extendedQueryString = investingEntityOptions.tags.map(tag => `&tags=${tag}`).join('');\n }\n if (investingEntityOptions.fundraisingId > 0) {\n extendedQueryString += `&fundraisingId=${investingEntityOptions.fundraisingId}`;\n }\n if (investingEntityOptions.contactId) {\n extendedQueryString += `&contactId=${investingEntityOptions.contactId}`;\n }\n\n if (investingEntityOptions.contactReferrerId) {\n extendedQueryString += `&contactReferrerId=${investingEntityOptions.contactReferrerId}`;\n }\n\n if (investingEntityOptions.withContactName === true) {\n extendedQueryString += `&withContactName=true`;\n }\n\n if (investingEntityOptions.excludeAgentContacts) {\n extendedQueryString += `&excludeAgentContacts=${investingEntityOptions.excludeAgentContacts}`;\n }\n\n if (investingEntityOptions.holdingId) {\n extendedQueryString += `&holdingId=${investingEntityOptions.holdingId}`;\n }\n if (investingEntityOptions.distributionId) {\n extendedQueryString += `&distributionId=${investingEntityOptions.distributionId}`;\n }\n\n\n return super.getSearchOptionsToQuerystring(options) + extendedQueryString;\n }\n\n\n getContributionsReport(investingEntityId: number, reportStatus: ReportStatus) {\n return this.baseEndpoint$.pipe(\n switchMap(baseEndpoint => this.http.getTyped(\n `${baseEndpoint}${investingEntityId}/contributions-report?status=${reportStatus}`)),\n catchError(error => {\n this.logger.error('GpInvestingEntityDataService => getContributionsReport()', error);\n return throwError(error);\n }),\n );\n }\n\n getDistributionsReport(investingEntityId: number, reportStatus: ReportStatus) {\n return this.baseEndpoint$.pipe(\n switchMap(baseEndpoint => this.http.getTyped(\n `${baseEndpoint}${investingEntityId}/distributions-report`)),\n catchError(error => {\n this.logger.error('GpInvestingEntityDataService => getDistributionsReport()', error);\n return throwError(error);\n }),\n );\n }\n\n public getAll(): Observable {\n return this.baseEndpoint$.pipe(\n switchMap(endpoint => this.http.getTyped(`${endpoint}/all`)),\n catchError(err => {\n this.logger.error('GpInvestingEntityDataService => getAll()', err);\n return throwError(err);\n })\n );\n }\n}\n", "import { Injectable } from '@angular/core';\nimport { Observable, of } from 'rxjs';\nimport { map } from 'rxjs/operators';\n\nimport { AbstractRestService } from 'src/app/shared/types/AbstractRestService';\nimport { HttpService } from '../http.service';\nimport { ContactReferrerReqRes } from 'src/app/shared/models/ContactReferrerReqRes.model';\nimport { SearchOptionsRequest } from 'src/app/shared/models/SearchOptionsRequest.model';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class ContactReferrerDataService extends AbstractRestService {\n\n protected readonly baseEndpoint$: Observable = of('contacts/referrers/');\n\n constructor(http: HttpService) {\n super(http);\n }\n\n getAll() {\n const searchOptions = new SearchOptionsRequest();\n searchOptions.pageSize = 1000;\n return this.getList(searchOptions).pipe(map(response => response.rows));\n }\n}\n", "\nexport enum AccreditationStatus {\n None = 0,\n NotAccredited = 1,\n Accredited = 2,\n Requested = 3,\n Pending = 4,\n Denied = 5,\n Expired = 6,\n Canceled = 7,\n InvestorViewed = 8\n}\n\nexport namespace AccreditationStatus {\n export function toString(accreditationStatus: AccreditationStatus): string {\n switch (accreditationStatus) {\n case AccreditationStatus.NotAccredited:\n return 'Not Accredited';\n case AccreditationStatus.Accredited:\n return 'Accredited';\n case AccreditationStatus.Requested:\n case AccreditationStatus.InvestorViewed:\n return 'Accreditation Requested';\n case AccreditationStatus.Pending:\n return 'Pending by Investor';\n case AccreditationStatus.Denied:\n return 'Accreditation Denied';\n case AccreditationStatus.Expired:\n return 'Accreditation Expired';\n case AccreditationStatus.Canceled:\n return 'Accreditation Canceled';\n default:\n return 'Not Accredited';\n }\n }\n\n export function listAll(): AccreditationStatus[] {\n return [\n AccreditationStatus.NotAccredited,\n AccreditationStatus.Accredited,\n AccreditationStatus.Requested,\n AccreditationStatus.Pending,\n AccreditationStatus.Denied,\n AccreditationStatus.Expired,\n AccreditationStatus.Canceled,\n AccreditationStatus.InvestorViewed\n ];\n }\n\n export function parse(str: string): AccreditationStatus {\n return AccreditationStatus[str];\n }\n\n export function getClassStatus(status: AccreditationStatus) {\n if(!!status){\n switch (status) {\n case AccreditationStatus.NotAccredited:\n return 'neutral';\n case AccreditationStatus.Accredited:\n return 'success';\n case AccreditationStatus.Requested:\n case AccreditationStatus.InvestorViewed:\n return 'request';\n case AccreditationStatus.Pending:\n return 'pending';\n case AccreditationStatus.Expired:\n case AccreditationStatus.Denied:\n case AccreditationStatus.Canceled:\n return 'error';\n default:\n return 'neutral';\n }\n }\n return 'neutral';\n }\n\n export function getIconStatus(status: AccreditationStatus) {\n if (status) {\n switch (status) {\n case AccreditationStatus.NotAccredited:\n return 'do_not_disturb_on';\n case AccreditationStatus.Accredited:\n return 'check_circled';\n case AccreditationStatus.Requested:\n case AccreditationStatus.InvestorViewed:\n return 'schedule';\n case AccreditationStatus.Pending:\n return 'schedule';\n case AccreditationStatus.Expired:\n return 'hourglass_bottom';\n case AccreditationStatus.Denied:\n return 'warning';\n }\n }\n return 'do_not_disturb_on';\n }\n}\n\nexport default AccreditationStatus;\n", "import AccreditationStatus from \"../enums/AccreditationStatus.enum\";\nimport { BaseResponseDto } from \"./BaseResponseDto.model\";\n\nexport enum AccreditationProvider\n{\n None = 0,\n Manual = 1,\n VerifyInvestor = 3\n}\n\nexport class AccreditationDto extends BaseResponseDto{\n public id:number;\n\n public accreditationRequire:boolean;\n\n public accreditedDate:Date;\n\n // public accreditedDocumentUrl:string;\n\n public status:AccreditationStatus\n\n public resourceId:string;\n\n public lpClientDetailsId:number;\n\n public investingEntityId:number;\n\n public investingEntityName:string;\n\n public providerId:string;\n\n public provider: AccreditationProvider;\n\n public downloadCertificateUrl:string;\n\n public organizationDetailsId:number;\n\n public organizationName:string;\n \n public gpClientDetailsId:number;\n \n public holdingId:number;\n \n}", "import { ChangeDetectionStrategy, Component, Inject, OnInit } from '@angular/core';\nimport { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog';\nimport { HelpSourceTypeService } from 'src/app/services/help-source-type.service';\nimport { TerraUtils } from 'src/app/shared/TerraUtils';\n\nexport class AccreditationSendRequestDialogParams{\n //output\n dontShowAgain:boolean;\n acceptTerms:boolean;\n\n //input\n hasPermission:boolean;\n reachingLimit:boolean;\n isProviderAccredited:boolean;\n accreditationPrice:string;\n\n constructor(hasPermission:boolean, reachingLimit:boolean, isProviderAccredited:boolean = false, accreditationPrice:string = '') {\n this.hasPermission = hasPermission;\n this.reachingLimit = reachingLimit;\n this.isProviderAccredited = isProviderAccredited;\n this.accreditationPrice = accreditationPrice;\n }\n}\n\n@Component({\n selector: 'terra-accreditation-send-request-dialog',\n templateUrl: './accreditation-send-request-dialog.component.html',\n styleUrls: ['./accreditation-send-request-dialog.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class AccreditationSendRequestDialogComponent implements OnInit {\n\n dontShowAgain = false;\n acceptTerms = false;\n\n paths = TerraUtils.consts.paths;\n\n constructor(\n private dialogRef: MatDialogRef,\n @Inject(MAT_DIALOG_DATA) public data: AccreditationSendRequestDialogParams,\n private sourceTypeService: HelpSourceTypeService\n ) {\n this.dialogRef.updateSize('539px');\n }\n\n ngOnInit(): void {\n }\n\n proceed(){\n if(!!this.acceptTerms){\n this.dialogRef.close({proceed:true, dontShowAgain: this.dontShowAgain})\n }\n }\n\n cancel(){\n this.dialogRef.close()\n }\n\n talkToUS(){\n this.sourceTypeService.issueInput$.next(`I'd like to extend additional Automatic-Accreditation tokens`);\n this.dialogRef.close()\n }\n\n}\n", "
\n \n

Send Accreditation Request

\n
\n
\n \n \n
\n Automate accreditation process.\n
\n
\n Send automatic requests to investors via email and Investor Portal. Accreditation status and date\n updated\n instantly upon completion.\n
\n
\n *Required for US-based entities only.\n
\n
\n\n \n
\n This investor is already accredited. The accreditation was set by an accreditation agency, overriding it is irreversible.\n
\n
\n\n
\n
For your information
\n
Each accreditation request costs ${{data.accreditationPrice}} (Regardless of completion)
\n
Accreditation request costs ${{data.accreditationPrice}} (Regardless of completion)
\n
\n The accreditation is validated by\n Verify Investor.\n
\n \n I accept Verify Investor terms of service\n \n
\n
\n \n Don’t show me this message again\n \n\n \n
\n Are you sure you want send request anyway?\n
\n
\n\n
\n\n \n
\n You've reached the accreditation request limit based on your plan. Please contact our Customer Support\n to\n unlock additional requests.\n
\n
\n\n \n
\n Automate accreditation process.\n
\n
Send automatic requests to investors via email and Investor Portal.
\n
\n
This service is not included in your plan. Please contact our Customer Support for more information.\n
\n
\n
\n
\n \n \n \n \n \n Talk to Us\n \n
\n
\n", "\n\nexport enum GeneralSettingKeys{\n AccreditationPrice = \"AccreditationPrice\"\n\n\n}\n\nexport namespace GeneralSettingKeys{\n export function getAll(): string[]{\n return [\n GeneralSettingKeys.AccreditationPrice\n ]\n }\n}\n", "import { Injectable } from '@angular/core';\nimport { Observable, filter, map, shareReplay, tap, withLatestFrom } from 'rxjs';\nimport { AccreditationDataService } from 'src/app/services/shared/accreditation-data.service';\nimport { GeneralSettingsService } from 'src/app/services/shared/general-settings.service';\nimport { UserService } from 'src/app/services/shared/user.service';\nimport { TerraUtils } from 'src/app/shared/TerraUtils';\nimport { GeneralSettingKeys } from 'src/app/shared/consts/GeneralSettingKeys.consts';\nimport { AccreditationDto } from 'src/app/shared/models/AccreditationDto.model';\n\n@Injectable()\nexport class AccreditationService {\n\n public enableToSendAccreditationRequest$ = this.userService.accountDetails$\n .pipe(\n filter(accountDetails => !!accountDetails && accountDetails.isAgent),\n map(accountDetails => accountDetails.organizationDetails),\n map(organizationDetails => organizationDetails.maxOfAccreditationRequest > 0),\n shareReplay(1)\n );\n\n public reachingLimitToSendAccreditationRequest$ = this.userService.accountDetails$\n .pipe(\n filter(accountDetails => !!accountDetails && accountDetails.isAgent),\n map(accountDetails => accountDetails.organizationDetails),\n map(organizationDetails => organizationDetails.countOfAccreditationRequest >= organizationDetails.maxOfAccreditationRequest),\n shareReplay(1)\n );\n\n public accreditationPrice$ = this.generalSettingsService.GetByKey(GeneralSettingKeys.AccreditationPrice)\n .pipe(\n shareReplay(1)\n );\n\n constructor(private userService: UserService,\n private accreditationDataService: AccreditationDataService,\n private generalSettingsService: GeneralSettingsService) { }\n\n public isAccreditedInvestor$(accreditedDate: Observable): Observable {\n return accreditedDate.pipe(\n withLatestFrom(this.userService.accountDetails$),\n shareReplay(1),\n map(([accreditationDate, account]) => {\n if (!accreditationDate) {\n return false;\n }\n\n return TerraUtils.daysBetween(accreditationDate, new Date()) < account.organizationDetails.maxAccreditationDays;\n }),\n shareReplay(1)\n );\n }\n\n public sendAccreditationRequestToLp(model:AccreditationDto):Observable{\n return this.accreditationDataService.sendAccreditationRequestToLp(model).pipe(\n tap(_ => this.userService.refreshedClientDetails$.next(null))\n )\n }\n\n}\n", "import { ChangeDetectionStrategy, ChangeDetectorRef, Component, Input, OnDestroy, OnInit, ViewChild } from '@angular/core';\nimport { UntypedFormControl } from '@angular/forms';\nimport { MatDatepicker } from '@angular/material/datepicker';\nimport { MatDialog, MatDialogConfig } from '@angular/material/dialog';\nimport { BehaviorSubject, Observable, Subject, combineLatest, debounceTime, distinctUntilChanged, filter, map, of, startWith, switchMap, take, takeUntil, tap, withLatestFrom } from 'rxjs';\nimport { InvestingEntityReqRes } from 'src/app/dashboard/models/InvestingEntityReqRes.model';\nimport { DialogService } from 'src/app/services/dialog.service';\nimport { AccreditationDataService } from 'src/app/services/shared/accreditation-data.service';\nimport { SnackbarService } from 'src/app/services/snackbar.service';\nimport { UtilsService } from 'src/app/services/utils.service';\nimport { ConfirmDialogParams } from 'src/app/shared/components/confirm-dialog/confirm-dialog.component';\nimport AccreditationStatus from 'src/app/shared/enums/AccreditationStatus.enum';\nimport { AccreditationDto, AccreditationProvider } from 'src/app/shared/models/AccreditationDto.model';\nimport { BaseResponseDto, BaseResponseStatus } from 'src/app/shared/models/BaseResponseDto.model';\nimport { StorageService } from 'src/app/services/storage.service';\nimport { AccreditationSendRequestDialogComponent, AccreditationSendRequestDialogParams } from './accreditation-send-request-dialog/accreditation-send-request-dialog.component';\nimport { LoggerService } from 'src/app/shared/errors/logger.service';\nimport { AccreditationService } from './accreditation.service';\n\nimport { TerraUtils } from 'src/app/shared/TerraUtils';\nimport { AppSettingsService } from 'src/app/services/app-settings.service';\nimport { SystemFeatureFlagConsts } from 'src/app/shared/consts/SystemFeatureFlags.consts';\nimport PermissionLevel from 'src/app/permission/enums/permissionLevel.enum';\nimport { NoPermissionAction } from 'src/app/shared/directives/check-permissions.directive';\nimport { GeneralSettingsService } from 'src/app/services/shared/general-settings.service';\n\n\n@Component({\n selector: 'terra-accreditation',\n templateUrl: './accreditation.component.html',\n styleUrls: ['./accreditation.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class AccreditationComponent implements OnInit, OnDestroy {\n @Input() accreditationDateControl: UntypedFormControl;\n @Input() investingEntity: InvestingEntityReqRes;\n @Input() onlyDatePicker: boolean;\n @Input() autoSaveDate: boolean;\n @Input() holdingId: number = null;\n\n readonly today = new Date();\n readonly minDate = new Date('01/01/1753');\n isAccredited$: Observable;\n // disableAccreditationBtn$: Observable;\n isLoadingAccreditationSend;\n forceManualAccreditation = false;\n\n downloadCertificateLoading$ = new BehaviorSubject(false);\n\n FeatureFlagConsts = SystemFeatureFlagConsts;\n PermissionLevel = PermissionLevel;\n NoPermissionAction = NoPermissionAction;\n\n\n @ViewChild('accreditationDate') accreditationDate: MatDatepicker;\n\n\n destroy$ = new Subject();\n\n AccreditationStatus = AccreditationStatus;\n AccreditationProvider = AccreditationProvider;\n\n get accreditation(): AccreditationDto {\n return this.investingEntity?.accreditation;\n }\n\n\n\n constructor(\n private accreditationDataService: AccreditationDataService,\n private accreditationService: AccreditationService,\n private dialogService: DialogService,\n private snackBarService: SnackbarService,\n private utilService: UtilsService,\n private storageService: StorageService,\n private matDialog: MatDialog,\n private loggerService: LoggerService,\n private appSettingService: AppSettingsService,\n private snackbarService: SnackbarService,\n private generalSettingsService: GeneralSettingsService,\n private cdr: ChangeDetectorRef\n ) {\n this.minDate.setDate(this.minDate.getDate() - 89);\n }\n ngOnDestroy(): void {\n this.destroy$.next();\n }\n\n ngOnInit(): void {\n this.accreditationDateControl.disable({emitEvent:false});\n\n this.isAccredited$ = this.accreditationService.isAccreditedInvestor$(this.accreditationDateControl.valueChanges.pipe(\n startWith(this.accreditation?.accreditedDate))).pipe(\n map(isAccredited => {\n return isAccredited || this.accreditation?.status === AccreditationStatus.Accredited\n })\n );\n\n if (this.autoSaveDate) {\n this.autoSaveDateChange();\n }\n\n }\n\n get disableAccreditationBtn() {\n if (!!this.accreditation) {\n return this.accreditation.status === AccreditationStatus.Pending\n || this.accreditation.status === AccreditationStatus.Requested;\n }\n return false;\n }\n\n get linkRequest():string{\n return `${this.appSettingService.lpFrontEnvironmentAppBaseUrl}lp/overview?email=${encodeURIComponent(this.investingEntity.contact.email)}&accReq=${this.accreditation.id}&isRegistered=${!!this.investingEntity.contact.lpClientDetailsId}`;\n }\n\n snackbarMessage(itemName: string, e: Event) {\n if (!!itemName) {\n this.snackbarService.showGeneralMessage(`${itemName} was copied to the clipboard`, 1);\n }\n e.preventDefault();\n }\n\n private autoSaveDateChange() {\n this.accreditationDateControl.valueChanges.pipe(\n takeUntil(this.destroy$),\n debounceTime(300),\n distinctUntilChanged(),\n tap(_ => console.log(this.accreditationDateControl.invalid, this.accreditationDateControl)),\n filter(accreditationDateControl => !!accreditationDateControl\n && this.autoSaveDate\n && (!this.accreditation || this.accreditation.provider === AccreditationProvider.Manual || this.forceManualAccreditation)),\n switchMap((date: Date) => {\n const model = new AccreditationDto();\n model.id = this.accreditation?.id;\n model.investingEntityId = this.investingEntity?.id;\n model.provider = AccreditationProvider.Manual;\n model.accreditedDate = TerraUtils.forceUtc(date);//new Date(date.toUTCString())\n model.status = AccreditationStatus.Accredited;\n model.accreditationRequire = false;\n model.holdingId = this.holdingId;\n return this.accreditationDataService.sendManualAccreditation(model)\n })\n )\n .subscribe({\n next: res => {\n if (!!res && res.responseStatus === BaseResponseStatus.Success) {\n this.investingEntity.accreditation = res;\n this.snackBarService.showGeneralMessage(\"Accreditation Succeeded\");\n this.cdr.markForCheck();\n }\n else if (!!res && res.responseStatus === BaseResponseStatus.Error) {\n this.utilService.alertErrorMessage(res);\n }\n else {\n this.snackBarService.showGeneralMessage(\"Accreditation Failed\")\n }\n },\n error: err => {\n this.loggerService.error(`${this.constructor.name} => Cannot update manual accreditation of investingEntityId: ${this.investingEntity.id}`, err)\n this.snackBarService.showGeneralMessage(\"Accreditation Failed\")\n }\n });\n }\n\n get isProviderAccreditedOrProgress(){\n return !!this.accreditation &&\n this.accreditation.provider !== AccreditationProvider.None &&\n this.accreditation.provider !== AccreditationProvider.Manual && (\n this.accreditation.status === AccreditationStatus.Accredited ||\n this.accreditation.status === AccreditationStatus.Requested ||\n this.accreditation.status === AccreditationStatus.Pending\n );\n }\n\n\n openConfirmDialogWhenLpAccredited() {\n if (this.isProviderAccreditedOrProgress) {\n const config = new ConfirmDialogParams();\n config.title = 'Set Accreditation Date';\n config.actionLabel = 'Proceed';\n config.actionPosition = 'right';\n config.panelClass = 'fundraising-accreditation-lp-accredited';\n\n if (this.accreditation.status === AccreditationStatus.Accredited) {\n config.description = `
Important Notice:\n The accreditation date was set by an accreditation agency, overriding it is irreversible.
\n
Are you sure you want to proceed?
`;\n }\n else if (this.accreditation.status === AccreditationStatus.Requested || this.accreditation.status === AccreditationStatus.Pending) {\n config.title = 'Set Accreditation Date';\n config.description = `
Important Notice:\n An accreditation process is already underway. Are you certain about canceling it and manually setting a date?\n Please be aware that the costs for the initiated process cannot be reimbursed.
\n
Are you sure you want to proceed?
`;\n }\n\n this.generalSettingsService.systemFeatureFlagKeysValues$.pipe(\n take(1),\n switchMap(systemFeatureFlagKeysValues => {\n if(systemFeatureFlagKeysValues[SystemFeatureFlagConsts.SystemFeatureFlagAccreditationOn]){\n return this.dialogService.confirmDialog(config).afterClosed().pipe(take(1));\n }\n else{\n return of(true);\n }\n })\n ).subscribe(\n c => {\n if (!!c) {\n this.forceManualAccreditation = true;\n this.accreditationDate.open();\n }\n else {\n this.forceManualAccreditation = false;\n this.accreditationDate.close();\n }\n }\n )\n }\n }\n\n\n sendAccreditationRequest() {\n const model = new AccreditationDto();\n model.investingEntityId = this.investingEntity?.id;\n model.accreditationRequire = true;\n model.status = AccreditationStatus.Requested;\n model.holdingId = this.holdingId;\n model.provider = AccreditationProvider.VerifyInvestor;\n\n const config = new MatDialogConfig();\n config.disableClose = true;\n\n combineLatest([this.accreditationService.enableToSendAccreditationRequest$, this.accreditationService.reachingLimitToSendAccreditationRequest$, this.accreditationService.accreditationPrice$]).pipe(\n take(1),\n switchMap(([enable, reaching, accreditationPrice]) => {\n const resendAccreditationRequest = this.accreditation?.provider !== AccreditationProvider.Manual && this.accreditation?.status === AccreditationStatus.Accredited;\n const notShowConfirmation = this.storageService.getAccreditationDontShowConfirmation();\n if(enable && !reaching && notShowConfirmation && !resendAccreditationRequest){\n return of({proceed: true, dontShowAgain:true});\n }\n const data = new AccreditationSendRequestDialogParams(\n enable,\n reaching,\n resendAccreditationRequest,\n accreditationPrice\n );\n config.data = data;\n\n return this.matDialog.open(AccreditationSendRequestDialogComponent, config)\n .afterClosed();\n }),\n filter(confirm => !!confirm && confirm.proceed),\n switchMap(confirm => {\n this.storageService.setAccreditationDontShowConfirmation(confirm.dontShowAgain)\n return this.accreditationService.sendAccreditationRequestToLp(model)\n })\n ).subscribe({\n next: res => {\n if (!!res && res.responseStatus === BaseResponseStatus.Success) {\n this.investingEntity.accreditation = res;\n this.forceManualAccreditation = false\n this.accreditationDateControl.setValue(null, {emitEvent:false});\n this.snackBarService.showGeneralMessage(`Accreditation request sent to ${this.investingEntity.name}`)\n this.cdr.markForCheck();\n }\n else if (!!res && res.responseStatus === BaseResponseStatus.Error || res.responseStatus === BaseResponseStatus.Notice) {\n this.utilService.alertErrorMessage(res);\n }\n else {\n this.snackBarService.showGeneralMessage(\"Accreditation request failed\")\n }\n },\n error: err => {\n // this.loggerService.error(`${this.constructor.name} => Cannot send accreditation request to investingEntityId: ${this.investingEntity.id}`, err)\n this.snackBarService.showGeneralMessage(\"Accreditation request failed\")\n }\n });\n }\n\n downloadAccreditationCertificate() {\n if (!this.accreditation\n || this.accreditation.provider === AccreditationProvider.Manual\n || this.accreditation.status !== AccreditationStatus.Accredited) {\n return;\n }\n\n this.downloadCertificateLoading$.next(true);\n\n this.accreditationDataService.downloadAccreditationCertificate(this.investingEntity?.id, this.accreditation.id)\n .pipe(\n withLatestFrom(this.isAccredited$),\n filter(([ac, isAccredited]) => !!isAccredited),\n map(([acc, _]) => acc)\n )\n .subscribe({\n next: acc => {\n if (!!acc && acc.responseStatus === BaseResponseStatus.Error) {\n this.utilService.alertErrorMessage(acc);\n }\n this.downloadCertificateLoading$.next(false);\n },\n error: err => {\n this.loggerService.error(`${this.constructor.name} => Cannot download accreditation certificate of investingEntityId: ${this.investingEntity.id}`, err)\n const er = new BaseResponseDto();\n er.responseStatus = BaseResponseStatus.Error;\n this.utilService.alertErrorMessage(er);\n this.downloadCertificateLoading$.next(false);\n }\n })\n }\n\n\n}\n", "
\n \n\n
\n
\n Accreditation help\n
\n \n \n Copy Request Link\n \n\n \n Download Certificate\n \n \n
\n
\n
\n
\n \n \n \n \n \n \n
\n \n \n OR\n \n \n \n
\n
\n", "import { ChangeDetectionStrategy, ChangeDetectorRef, Component, Inject, OnInit } from '@angular/core';\nimport { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog';\nimport { UntypedFormBuilder, UntypedFormGroup, Validators } from '@angular/forms';\nimport { BehaviorSubject, Observable, of, startWith } from 'rxjs';\nimport { distinctUntilChanged } from 'rxjs/operators';\nimport { OnDestroyMixin, untilComponentDestroyed } from '@w11k/ngx-componentdestroyed';\n\nimport InvestingEntityType from 'src/app/dashboard/models/InvestingEntityType.enum';\nimport { InvestingEntityReqRes } from 'src/app/dashboard/models/InvestingEntityReqRes.model';\nimport { LocationDetailsResponse } from 'src/app/shared/models/LocationDetailsResponse.model';\nimport { AddressFields, AddressFormSettings } from 'src/app/shared/components/address-form/address-form.settings';\nimport { TerraUtils } from '../../../../../shared/TerraUtils';\nimport { CustomValidators } from '../../../../../shared/validators/custom.validators';\nimport AccreditationStatus from 'src/app/shared/enums/AccreditationStatus.enum';\nimport { AccreditationDto, AccreditationProvider } from 'src/app/shared/models/AccreditationDto.model';\n\nexport interface EditContactInvestingEntityContext {\n id: number;\n investingEntity: InvestingEntityReqRes;\n contactLocationDetails: LocationDetailsResponse;\n contactFullName: string;\n}\n\n@Component({\n selector: 'terra-edit-investing-entity-dialog',\n templateUrl: './edit-investing-entity-dialog.component.html',\n styleUrls: ['./edit-investing-entity-dialog.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class EditInvestingEntityDialogComponent extends OnDestroyMixin implements OnInit {\n\n // consts\n readonly InvestingEntityType = InvestingEntityType;\n readonly forbiddenNameCharacters = TerraUtils.consts.validators.FORBIDDEN_CHARACTERS_IN_NAME;\n readonly today = new Date();\n\n initialLocationDetails: LocationDetailsResponse;\n\n pageForm: UntypedFormGroup;\n\n get addressForm() {\n return this.pageForm.get('investingEntityLocation') as UntypedFormGroup;\n }\n\n isSubmitted$ = new BehaviorSubject(false);\n addressFormSettings = new AddressFormSettings(undefined, AddressFields.None);\n\n constructor(\n private changeDetectorRef: ChangeDetectorRef,\n private dialogRef: MatDialogRef,\n @Inject(MAT_DIALOG_DATA) public data: EditContactInvestingEntityContext,\n private fb: UntypedFormBuilder\n ) {\n super();\n dialogRef.addPanelClass('terra-edit-investing-entity-dialog');\n\n if (data.investingEntity && !data.investingEntity.useContactLocation) {\n this.initialLocationDetails = data.investingEntity.investingEntityLocation;\n } else {\n this.initialLocationDetails = data.contactLocationDetails;\n }\n }\n\n ngOnInit() {\n this.generateForm();\n this.handleToggleUseContactLocation();\n this.populateForm();\n this.changeDetectorRef.markForCheck();\n }\n\n submit() {\n this.isSubmitted$.next(true);\n this.pageForm.markAllAsTouched();\n\n if (!this.pageForm.valid) {\n return;\n }\n\n const model = this.generateSubmitModel();\n this.dialogRef.close(model);\n }\n\n private generateForm() {\n this.pageForm = this.fb.group({\n name: ['', [Validators.required, Validators.minLength(2), CustomValidators.containsForbiddenCharacterValidator(this.forbiddenNameCharacters)]],\n investingEntityType: [null, Validators.required],\n tin: '',\n accountingExternalId: '',\n accreditationDate: null,\n remarks: '',\n useContactLocation: true,\n investingEntityLocation: { value: {}, disabled: true }\n });\n\n this.pageForm.get('investingEntityType').valueChanges.subscribe((investingEntityType: InvestingEntityType) => {\n if (investingEntityType === InvestingEntityType.Personal) {\n const nameField = this.pageForm.get('name');\n if (!nameField.value && this.data.contactFullName) {\n nameField.setValue(this.data.contactFullName);\n }\n }\n });\n }\n\n private populateForm() {\n const entity = this.data.investingEntity;\n if (entity) {\n this.pageForm.patchValue({\n name: entity.name,\n investingEntityType: entity.investingEntityType,\n tin: entity.tin,\n accountingExternalId: entity.accountingExternalId,\n accreditationDate: TerraUtils.forceUtcToLocal(entity.accreditation?.accreditedDate),\n remarks: entity.remarks,\n useContactLocation: entity.useContactLocation,\n });\n }\n }\n\n private generateSubmitModel() {\n const model = new InvestingEntityReqRes();\n model.id = this.data.id;\n\n const formValues = this.pageForm.getRawValue();\n model.name = formValues.name;\n model.investingEntityType = formValues.investingEntityType;\n model.tin = formValues.tin;\n model.accountingExternalId = formValues.accountingExternalId;\n // model.accreditationDate = TerraUtils.forceUtc(formValues.accreditationDate);\n model.remarks = formValues.remarks;\n model.useContactLocation = formValues.useContactLocation;\n \n if (!!formValues.accreditationDate && !!model.accreditation) {\n model.accreditation.provider = AccreditationProvider.Manual;\n model.accreditation.accreditedDate = TerraUtils.forceUtc(formValues.accreditationDate);\n model.accreditation.status = AccreditationStatus.Accredited;\n model.accreditation.accreditationRequire = false;\n }\n\n if (!!formValues.accreditationDate && !model.accreditation) {\n model.accreditation = new AccreditationDto();\n model.accreditation.provider = AccreditationProvider.Manual;\n model.accreditation.accreditedDate = TerraUtils.forceUtc(formValues.accreditationDate);\n model.accreditation.status = AccreditationStatus.Accredited;\n model.accreditation.accreditationRequire = false;\n }\n\n if (!model.useContactLocation) {\n const loactionValue = formValues.investingEntityLocation;\n model.investingEntityLocation = new LocationDetailsResponse();\n model.investingEntityLocation.countryId = loactionValue.countryId;\n model.investingEntityLocation.stateName = loactionValue.stateName;\n model.investingEntityLocation.cityName = loactionValue.cityName;\n model.investingEntityLocation.streetName = loactionValue.streetName;\n model.investingEntityLocation.houseNumber = loactionValue.houseNumber;\n model.investingEntityLocation.postalCode = loactionValue.postalCode;\n }\n return model;\n }\n\n private handleToggleUseContactLocation() {\n this.pageForm.get('useContactLocation').valueChanges.pipe(\n untilComponentDestroyed(this),\n distinctUntilChanged())\n .subscribe(useContactLocation => {\n if (useContactLocation) {\n this.addressForm.disable();\n } else {\n this.addressForm.enable();\n }\n this.addressForm.updateValueAndValidity();\n });\n }\n}\n", "\n

\n {{ data.investingEntity?.name ? data.investingEntity.name : 'New Investing Entity' }}\n

\n
\n\n\n
\n
\n \n
\n \n \n \n @for (investingEntityType of InvestingEntityType.listAll(); track $index) {\n \n {{ investingEntityType | enumString: InvestingEntityType }} \n \n }\n \n @if (pageForm.get('investingEntityType').hasError('required')) {\n Required \n }\n \n
\n\n \n
\n \n \n \n @if (pageForm.get('name').hasError('required')) {\n Required \n }\n @if(pageForm.get('name').hasError('minlength')){\n Name must be more than one character\n }\n @if(pageForm.get('name').hasError('illegalCharacter')){\n Name shouldn't contain the following characters: {{forbiddenNameCharacters.join(', ')}}\n }\n \n
\n\n \n
\n help\n \n \n \n @if (pageForm.get('tin').hasError('required')) {\n Required \n }\n \n
\n\n \n
\n \n \n \n @if(pageForm.get('accountingExternalId').hasError('required')){\n Required \n }\n \n
\n\n \n \n
\n\n
\n \n

Remarks (optional)

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

\n What is the address of the investing entity? (optional)\n

\n\n \n
\n \n Same address as primary contact\n \n
\n\n \n @if (pageForm.get('useContactLocation').value === false) {\n \n }\n
\n
\n
\n\n\n \n \n @if (pageForm.invalid && (isSubmitted$ | async)) {\n Please review and correct the fields marked in red\n }\n", "import { ChangeDetectionStrategy, Component, Inject, inject } from '@angular/core';\nimport { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog';\nimport { InvestingEntityWithRelatedInvestmentsHolding, InvestmentsRelatedDetails } from '../../models/investingEntityWithRelatedInvestmentsHolding.model';\nimport { TerraUtils } from 'src/app/shared/TerraUtils';\nimport { AppSettingsService } from 'src/app/services/app-settings.service';\n\n@Component({\n selector: 'terra-investing-entity-with-related-investments-holding-warning-dialog',\n templateUrl: './investing-entity-with-related-investments-holding-warning-dialog.component.html',\n styleUrl: './investing-entity-with-related-investments-holding-warning-dialog.component.scss',\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class InvestingEntityWithRelatedInvestmentsHoldingWarningDialogComponent {\n public readonly INVESTMENT_TYPE_ORDER = ['Distributions', 'Commitments', 'Contributions']\n constructor(\n public dialogRef: MatDialogRef,\n @Inject(MAT_DIALOG_DATA) public data: InvestingEntityWithRelatedInvestmentsHolding[],\n private appSettingService: AppSettingsService\n ) {\n this.dialogRef.updateSize('700px')\n }\n\n getRelevantInvestmentType(investmentsDetails: InvestmentsRelatedDetails[], investmentType: string): InvestmentsRelatedDetails[] {\n return investmentsDetails.filter(investment => investment.relatedType === investmentType);\n }\n\n getHoldinRoute(id:number, holdingDiscriminator:string){\n const holdingPath = holdingDiscriminator === 'Fund' ? TerraUtils.consts.paths.FUNDS : TerraUtils.consts.paths.ASSETS;\n return `${this.appSettingService.gpFrontEnvironmentAppBaseUrl}${holdingPath}/${id}`;\n }\n}\n", "\n

One or More Entities Have Investments and Cannot Be Removed

\n
\n\n\n\n
\n
\n
The following entities have at least one investment and cannot be deleted.
\n
Please remove it from the deals first if you wish to proceed.
\n
Entities:
\n
\n
\n
    \n @for(entity of data; track $index;){\n
  1. 1}\">\n {{entity.investingEntityName}}\n
    \n {{ type }}: \n @for(investmentDetails of getRelevantInvestmentType(entity.investmentsDetails, type); track\n $index; let j = $index){\n {{ investmentDetails.holdingName }}\n }\n
    \n
  2. \n }\n
\n
\n
\n
\n\n
\n \n
", "export class ContactReferrerReqRes {\n id: number;\n name: string;\n attachedContactsCount: number;\n}\n", "import { Component, OnInit, Inject } from '@angular/core';\nimport { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';\nimport { UntypedFormBuilder, UntypedFormGroup, Validators } from '@angular/forms';\nimport { BehaviorSubject } from 'rxjs';\n\nimport { TerraUtils } from 'src/app/shared/TerraUtils';\nimport { ContactReferrerReqRes } from 'src/app/shared/models/ContactReferrerReqRes.model';\n\nexport class ContactReferrerEditDialogContext {\n includeFindFeatureDirection = false;\n contactReferrer: ContactReferrerReqRes = null;\n}\n\n@Component({\n selector: 'terra-investor-contact-referrer-dialog',\n templateUrl: './investor-contact-referrer-dialog.component.html',\n styleUrls: ['./investor-contact-referrer-dialog.component.scss']\n})\nexport class InvestorContactReferrerDialogComponent implements OnInit {\n\n pageForm: UntypedFormGroup;\n isSubmitted$ = new BehaviorSubject(false);\n\n constructor(\n private dialogRef: MatDialogRef,\n @Inject(MAT_DIALOG_DATA) public context: ContactReferrerEditDialogContext,\n private fb: UntypedFormBuilder\n ) {\n dialogRef.addPanelClass('terra-investor-contact-referrer-dialog');\n this.generateForm();\n }\n\n ngOnInit() {\n }\n\n generateForm() {\n this.pageForm = this.fb.group({\n name: [this.context && this.context.contactReferrer ? this.context.contactReferrer.name : null,\n [Validators.required, Validators.maxLength(TerraUtils.consts.validators.GENERAL_TEXT_LENGTH)]]\n });\n }\n\n generateSubmitModel() {\n const model = new ContactReferrerReqRes();\n model.name = this.pageForm.value.name;\n if (this.context && this.context.contactReferrer && this.context.contactReferrer.id) {\n model.id = this.context.contactReferrer.id;\n }\n return model;\n }\n\n submit() {\n this.isSubmitted$.next(true);\n if (!this.pageForm.valid) {\n return;\n }\n const model = this.generateSubmitModel();\n this.dialogRef.close(model);\n }\n}\n", "\n

\n {{ context && context.contactReferrer && context.contactReferrer.id ? 'Edit Contact Referrer' : 'New Contact Referrer' }}\n

\n
\n\n\n
\n\n
\n\n \n
\n \n \n \n Required \n Name must be more than one character\n Name must be a maximum of\n {{ pageForm.get('name').errors.maxlength | terraNumber }} characters\n \n
\n
\n
\n\n

\n Manage existing contact referrers in the Manage Contact Referrers screen, accessible under the Actions menu in the Contacts page.\n

\n\n
\n\n\n \n \n\n", "import { Component, Inject, OnInit } from \"@angular/core\";\nimport { UntypedFormArray, UntypedFormBuilder, UntypedFormControl, UntypedFormGroup } from \"@angular/forms\";\nimport { MatDialogRef, MAT_DIALOG_DATA } from \"@angular/material/dialog\";\n\nimport { CustomValidators } from \"src/app/shared/validators/custom.validators\";\n\n@Component({\n selector: \"terra-additional-emails-dialog\",\n templateUrl: \"./additional-emails-dialog.component.html\",\n styleUrls: [\"./additional-emails-dialog.component.scss\"],\n})\nexport class AdditionalEmailsDialogComponent implements OnInit {\n readonly MAX_EMAILS_NUMBER = 25;\n pageForm: UntypedFormGroup;\n\n get emailsFormArray(): UntypedFormArray {\n return this.pageForm.get(\"emails\") as UntypedFormArray;\n }\n\n constructor(\n private dialogRef: MatDialogRef,\n @Inject(MAT_DIALOG_DATA) private emails: string[],\n private fb: UntypedFormBuilder\n ) {\n dialogRef.addPanelClass('terra-additional-emails-dialog');\n }\n\n ngOnInit() {\n this.generateForm();\n this.populateForm(this.emails);\n }\n\n addEmail(email: string = null) {\n this.emailsFormArray.push(\n new UntypedFormControl(email, CustomValidators.EmailWithSpaces)\n );\n }\n\n removeEmail(indexToRemove: number) {\n this.emailsFormArray.removeAt(indexToRemove);\n }\n\n clearEmail(indexToRemove: number) {\n this.emailsFormArray.get(indexToRemove.toString()).reset();\n }\n\n ok() {\n if(!this.pageForm.valid) {\n return;\n }\n const emails = this.emailsFormArray.value.filter(email => !!email);\n this.dialogRef.close(emails);\n }\n\n private generateForm() {\n this.pageForm = this.fb.group({\n emails: this.fb.array([]),\n });\n }\n\n private populateForm(emails: string[]) {\n if (!emails || emails.length === 0) {\n this.addEmail();\n } else {\n emails.forEach((email) => {\n this.addEmail(email);\n });\n }\n }\n}\n", "\n

\n Additional Contact Email Addresses\n

\n
\n\n\n

\n Additional email addresses will receive some of the updates and will not have access to the investor portal.\n

\n
\n\n \n
\n \n \n Please enter a valid email address \n \n \n\n
\n
\n\n \n
\n\n\n \n \n\n", "import {Component, OnInit, ChangeDetectionStrategy, Input, Output, EventEmitter} from '@angular/core';\nimport {COMMA, ENTER} from '@angular/cdk/keycodes';\nimport {MatChipInputEvent} from '@angular/material/chips';\nimport {Observable} from 'rxjs';\nimport {MatAutocompleteSelectedEvent} from '@angular/material/autocomplete';\nimport {UntypedFormControl} from '@angular/forms';\n\n@Component({\n selector: 'terra-contact-tags',\n templateUrl: './contact-tags.component.html',\n styleUrls: ['./contact-tags.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class ContactTagsComponent implements OnInit {\n @Input() selectedContactTags: string[];\n @Input() filteredMostUsedTags: string[];\n @Input() tagsFromControl: UntypedFormControl;\n @Input() toAutoCompleteTags = true;\n\n @Output() removeTag = new EventEmitter();\n @Output() addTagAsChip = new EventEmitter();\n @Output() selectedTagFromAutocomplete = new EventEmitter();\n @Output() selectStaticChip = new EventEmitter();\n\n readonly separatorKeysCodes = [ENTER, COMMA];\n filteredTagsForAutocomplete$: Observable;\n\n constructor() { }\n\n ngOnInit(): void {\n }\n\n}\n", "

Tags (optional)

\n
\n \n \n \n \n {{ tag }}\n cancel\n \n \n \n \n ֹֹ\n \n {{ tag }}\n \n \n = 20\">Maximum number of tags\n \n
\n\n\n
0\">\n \n \n \n {{ tag.toLowerCase() }}\n \n \n
\n
\n", "import {LocationDetailsResponse} from '../../../shared/models/LocationDetailsResponse.model';\nimport CheckingOrSavingsType from '../../../shared/enums/CheckingOrSavingsType.enum';\n\nexport abstract class Contact {\n public id: number;\n public firstName = '';\n public lastName = '';\n public nickname = '';\n public contactTags: string[] = new Array();\n public contactLocation: LocationDetailsResponse;\n public memo: string;\n public checkingOrSavingsType: CheckingOrSavingsType;\n\n // for ui only\n public checked = false;\n public hover: boolean;\n}\n", "import {InvestingEntityReqRes} from 'src/app/dashboard/models/InvestingEntityReqRes.model';\nimport {ContactReferrerReqRes} from 'src/app/shared/models/ContactReferrerReqRes.model';\nimport {Contact} from './contact.model';\nimport { AccreditationDto } from 'src/app/shared/models/AccreditationDto.model';\n\nexport class InvestorContactReqRes extends Contact {\n public middleName = '';\n public phone: string;\n public email: string;\n public additionalEmails: string[];\n public personalRemarks: string;\n public contactInvestingEntities: InvestingEntityReqRes[] = new Array();\n public contactReferrerId: number;\n public contactReferrer: ContactReferrerReqRes;\n public isAgentContact = false;\n public isConnectedToActiveAssets: boolean;\n public lpClientDetailsId: number;\n public isFamilyOffice = false;\n public investingEntityAccountingExternalIdList: string;\n public uniqueIdentifier: string;\n // used when creating a new contact\n public accreditationDate: Date;\n public accreditation:AccreditationDto;\n}\n", "import { Store, StoreConfig } from '@datorama/akita';\nimport { Injectable } from '@angular/core';\nimport { InvestorContactReqRes } from '../../../models/investorContactReqRes.model';\nimport { ContactReferrerReqRes } from 'src/app/shared/models/ContactReferrerReqRes.model';\n\nexport interface ContactDialogUiState {\n isUnsavedChanges: boolean;\n isSaving: boolean;\n isSubmitted: boolean;\n activeTabIndex: number;\n}\n\nexport interface ContactDialogState {\n contact: InvestorContactReqRes;\n allContactReferrers: ContactReferrerReqRes[];\n ui: ContactDialogUiState;\n}\n\nexport function createInitialState(): ContactDialogState {\n return {\n ui: {\n isUnsavedChanges: false,\n isSaving: false,\n isSubmitted: false,\n activeTabIndex: 0\n },\n contact: new InvestorContactReqRes(),\n allContactReferrers: []\n };\n}\n\n@StoreConfig({ name: 'contact-dialog' })\n@Injectable()\nexport class ContactDialogStore extends Store {\n constructor() {\n super(createInitialState());\n }\n}\n", "import { Injectable } from '@angular/core';\nimport { Query } from '@datorama/akita';\nimport { ContactDialogState, ContactDialogStore } from './contact-dialog.store';\n\n@Injectable()\nexport class ContactDialogQuery extends Query {\n\n allState$ = this.select();\n contact$ = this.select(s => s.contact);\n investingEntities$ = this.select(s => s.contact.contactInvestingEntities);\n allContactReferrers$ = this.select(s => s.allContactReferrers);\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: ContactDialogStore) {\n super(store);\n }\n}\n", "import { Injectable, ViewContainerRef } from '@angular/core';\nimport { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms';\nimport { MatDialogConfig, MatDialog } from '@angular/material/dialog';\nimport { BehaviorSubject, Observable, throwError, of, timer } from 'rxjs';\nimport { shareReplay, switchMap, tap, catchError, map, take, filter, withLatestFrom } from 'rxjs/operators';\nimport { OnDestroyMixin, untilComponentDestroyed } from '@w11k/ngx-componentdestroyed';\nimport { arrayRemove, arrayUpdate, arrayAdd } from '@datorama/akita';\n\nimport { ContactDataService } from 'src/app/services/gp/contact-data.service';\nimport { InvestorContactReqRes } from '../../models/investorContactReqRes.model';\nimport { InvestingEntityReqRes } from 'src/app/dashboard/models/InvestingEntityReqRes.model';\nimport { LocationDetailsResponse } from 'src/app/shared/models/LocationDetailsResponse.model';\nimport { TerraUtils } from 'src/app/shared/TerraUtils';\nimport { ErrorMatcher, ErrorType } from 'src/app/shared/errors/ErrorMatcher';\nimport { CustomValidators } from 'src/app/shared/validators/custom.validators';\nimport { AlertDialogComponent } from 'src/app/shared/components/alert-dialog/alert-dialog.component';\nimport { ContactDialogStore, ContactDialogState } from './state/contact-dialog.store';\nimport { ContactDialogQuery } from './state/contact-dialog.query';\nimport { ContactReferrerDataService } from 'src/app/services/gp/contact-referrer-data.service';\nimport { ContactReferrerReqRes } from 'src/app/shared/models/ContactReferrerReqRes.model';\nimport {\n EditContactInvestingEntityContext,\n EditInvestingEntityDialogComponent\n} from './edit-investing-entity-dialog/edit-investing-entity-dialog.component';\nimport { LoggerService } from 'src/app/shared/errors/logger.service';\nimport { BaseResponseDto, BaseResponseStatus } from '../../../../shared/models/BaseResponseDto.model';\nimport { UtilsService } from '../../../../services/utils.service';\nimport { UserService } from '../../../../services/shared/user.service';\nimport AccreditationStatus from 'src/app/shared/enums/AccreditationStatus.enum';\nimport { AccreditationDto, AccreditationProvider } from 'src/app/shared/models/AccreditationDto.model';\nimport { InvestingEntityWithRelatedInvestmentsHolding } from '../../models/investingEntityWithRelatedInvestmentsHolding.model';\nimport { InvestingEntityWithRelatedInvestmentsHoldingWarningDialogComponent } from '../investing-entity-with-related-investments-holding-warning-dialog/investing-entity-with-related-investments-holding-warning-dialog.component';\n\n@Injectable()\nexport class InvestorContactDetailService extends OnDestroyMixin {\n\n viewContainerRef: ViewContainerRef;\n\n dialogForm: UntypedFormGroup;\n readonly forbiddenNameCharacters = TerraUtils.consts.validators.FORBIDDEN_CHARACTERS_IN_NAME;\n // Tab 1 form\n get contactDetailsForm(): UntypedFormGroup {\n return this.dialogForm.get('contactDetails') as UntypedFormGroup;\n }\n\n private _isGeneralServerError$ = new BehaviorSubject(false);\n\n isGeneralServerError$ = this._isGeneralServerError$.pipe(shareReplay(1));\n\n generalServerErrorMessage$ = new BehaviorSubject(null);\n\n contactDetails$ = this.query.contact$;\n\n private contactTagsResponse$ = this.contactDataService.getContactTags().pipe(shareReplay(1));\n\n allTags$ = this.contactTagsResponse$.pipe(map(response => response.tags.map(tagIdAndLabel => tagIdAndLabel.value)), shareReplay(1));\n\n mostUsedTags$ = this.contactTagsResponse$.pipe(map(response => response.mostUsedTags.map(tagWithCount => tagWithCount.key)), shareReplay(1));\n\n constructor(\n private logger: LoggerService,\n private store: ContactDialogStore,\n private query: ContactDialogQuery,\n private contactDataService: ContactDataService,\n private contactReferrerDataService: ContactReferrerDataService,\n private fb: UntypedFormBuilder,\n public dialog: MatDialog,\n private utilsService: UtilsService\n ) {\n super();\n this.generateForm();\n this.initContactReferrersListForFilter();\n }\n\n initializeDialogForCreateMode() {\n this.store.update(state => ({ ...state, contact: new InvestorContactReqRes() }));\n this.raiseFlagWhenUnsavedChanges();\n }\n\n initialDialogForEditMode(contactId: number) {\n this.store.setLoading(true);\n this.contactDataService.getById(contactId)\n .pipe(\n untilComponentDestroyed(this),\n tap(contact => {\n this.setContactInState(contact);\n this.populateForm(contact);\n this.raiseFlagWhenUnsavedChanges();\n this.store.setLoading(false);\n }),\n catchError(error => {\n this.logger.error(`Error when initializing contact dialog for edit mode. contactId: ${contactId}`, error);\n this.showErrorAlertDialog();\n this.store.setLoading(false);\n return throwError(error);\n })\n ).subscribe();\n }\n\n /** Create or Update (in case a contactId was provided) the contact and his investing entities. */\n save(): Observable {\n this.setIsSubmitted();\n this._isGeneralServerError$.next(false);\n\n TerraUtils.validateAllFormFields(this.dialogForm);\n\n if (!this.dialogForm.valid) {\n return of(null);\n }\n this.setIsSaving(true);\n return this.contactDetails$\n .pipe(\n untilComponentDestroyed(this),\n take(1),\n map(contactDetails =>\n this.generateSubmitModel(contactDetails.id, contactDetails.contactTags, contactDetails.contactInvestingEntities)),\n switchMap(model => {\n if (model.id) {\n return this.contactDataService.update(model.id, model);\n } else {\n return this.contactDataService.create(model);\n }\n }),\n catchError(error => {\n if (error?.error && 'responseStatus' in error.error && 'responseMessage' in error.error) {\n if (error.error.responseStatus === BaseResponseStatus.Notice\n && 'investmentsDetails' in error.error.data?.[0]) {\n this.openInvestingEntityWithRelatedInvestmentsHoldingDialog(error.error.data)\n }\n else {\n this.utilsService.alertErrorMessage(error);\n }\n\n } else {\n // email already exists for another contact of this GP, this is not allowed\n if (ErrorMatcher.isError(error, ErrorType.AlreadyExistsException)) {\n this.generalServerErrorMessage$.next('A contact with this Email address already exists.');\n } else {\n this.generalServerErrorMessage$.next(TerraUtils.consts.messages.GENERAL_SUBMIT_ERROR_WITH_LINK);\n }\n this._isGeneralServerError$.next(true);\n }\n this.setIsSaving(false);\n return throwError(() => error);\n }),\n tap(() => this.setIsSaving(false))\n );\n }\n\n updateTabIndex(tabIndex: number) {\n this.store.update(state => ({ ...state, ui: { ...state.ui, activeTabIndex: tabIndex } }));\n }\n\n //#region Contact Tags methods\n addContactTag(tag: string) {\n tag = tag.replace(/<.*?>/g, '').trim().toLowerCase();\n if (this.isAllowedToAddThisTag(tag)) {\n this.store.update(state => {\n return {\n ...state,\n contact: {\n ...state.contact,\n contactTags: arrayAdd(state.contact.contactTags, tag)\n }\n };\n });\n this.setChangesMade();\n }\n }\n\n removeContactTag(tag: string): void {\n this.store.update(state => {\n return {\n ...state,\n contact: {\n ...state.contact,\n contactTags: arrayRemove(state.contact.contactTags, t => t === tag)\n }\n };\n });\n this.setChangesMade();\n }\n\n //#endregion\n\n //#region Investing Entity methods\n addInvestingEntity(investingEntity: InvestingEntityReqRes) {\n this.store.update(state => {\n return {\n ...state,\n contact: {\n ...state.contact,\n contactInvestingEntities: arrayAdd(state.contact.contactInvestingEntities, investingEntity)\n }\n } as ContactDialogState;\n });\n\n this.setChangesMade();\n }\n\n updateInvestingEntity(investingEntityToEdit: InvestingEntityReqRes, investingEntity: InvestingEntityReqRes) {\n this.store.update(state => {\n return {\n ...state,\n contact: {\n ...state.contact,\n contactInvestingEntities: arrayUpdate(state.contact.contactInvestingEntities, ie => ie === investingEntityToEdit, investingEntity)\n }\n };\n });\n this.setChangesMade();\n }\n\n deleteInvestingEntity(investingEntity: InvestingEntityReqRes) {\n this.store.update(state => {\n return {\n ...state,\n contact: {\n ...state.contact,\n contactInvestingEntities: arrayRemove(state.contact.contactInvestingEntities, ie => ie === investingEntity)\n }\n };\n });\n this.setChangesMade();\n }\n\n /** This will work for both existing (saved) investing entities, and new ones that are not yet save, and don't have an id. */\n openInvestingEntityDialogInEditMode(investingEntity: InvestingEntityReqRes) {\n this.openInvestingEntityDialogCreateOrEdit(investingEntity);\n }\n\n /** This will only work for existing (saved) investing entities */\n openInvstingEntityDialogByIdInEditMode(investingEntityId: number) {\n const investingEntity$ = this.query.select(state => state.contact.contactInvestingEntities.find(ie => ie.id === investingEntityId));\n investingEntity$.pipe(\n filter(investingEntity => !!investingEntity),\n take(1),\n untilComponentDestroyed(this)\n ).subscribe(investingEntity => {\n this.openInvestingEntityDialogInEditMode(investingEntity);\n });\n }\n\n openCreateInvestingEntityDialog() {\n this.openInvestingEntityDialogCreateOrEdit();\n }\n\n /** If an ivesting entity object is provided, the dialog will be opened in edit mode. Otherwise, it will be in 'Create' mode. */\n private openInvestingEntityDialogCreateOrEdit(investingEntityToEdit: InvestingEntityReqRes = null) {\n const isEdit = investingEntityToEdit !== null;\n this.query.contact$.pipe(\n take(1),\n switchMap(contactDetails => {\n const dialogConfig = new MatDialogConfig();\n dialogConfig.viewContainerRef = this.viewContainerRef;\n dialogConfig.data = {\n id: isEdit ? investingEntityToEdit.id : null,\n investingEntity: investingEntityToEdit,\n contactLocationDetails: contactDetails ? contactDetails.contactLocation : null,\n contactFullName: contactDetails ? TerraUtils.getContactFullName(contactDetails) : null\n };\n return this.dialog.open(EditInvestingEntityDialogComponent, dialogConfig).afterClosed();\n })\n )\n .subscribe(investingEntity => {\n if (investingEntity) {\n if (isEdit) {\n this.updateInvestingEntity(investingEntityToEdit, investingEntity);\n } else {\n this.addInvestingEntity(investingEntity);\n }\n }\n }\n );\n }\n\n //#endregion\n\n addContactReferrer(contactReferrer: ContactReferrerReqRes) {\n return this.contactReferrerDataService.create(contactReferrer).pipe(\n tap(createdContactReferrer => {\n this.store.update(state => {\n return {\n ...state,\n allContactReferrers: arrayAdd(state.allContactReferrers, createdContactReferrer)\n };\n });\n }),\n tap(createdContactReferrer => {\n const contactReferrerControl = this.dialogForm.get('contactDetails.contactReferrerId');\n contactReferrerControl.setValue(createdContactReferrer.id);\n contactReferrerControl.markAsDirty();\n contactReferrerControl.updateValueAndValidity();\n }));\n }\n\n private generateForm() {\n // The initial values are set to the value that will be in the inputs when the user clears them. This will allow dirty checking to work.\n // since when the user clears a text input, it's value becomes '' (not null), and when clearing the phone input it becomes null, these will be the initial values.\n this.dialogForm = this.fb.group({\n contactDetails: this.fb.group({\n firstName: ['', Validators.compose([Validators.required, Validators.maxLength(TerraUtils.consts.validators.FIRSTNAME_LENGTH),\n CustomValidators.containsForbiddenCharacterValidator(this.forbiddenNameCharacters)])],\n lastName: ['', Validators.compose([Validators.required, Validators.maxLength(TerraUtils.consts.validators.LASTNAME_LENGTH),\n CustomValidators.containsForbiddenCharacterValidator(this.forbiddenNameCharacters)])],\n middleName: ['', Validators.compose([Validators.maxLength(TerraUtils.consts.validators.LASTNAME_LENGTH),\n CustomValidators.containsForbiddenCharacterValidator(this.forbiddenNameCharacters)])],\n email: ['', [Validators.required, CustomValidators.EmailWithSpaces]],\n additionalEmails: [],\n phone: [null, Validators.compose([Validators.maxLength(TerraUtils.consts.validators.PHONE_MAX_LENGTH)])],\n personalRemarks: ['', Validators.compose([Validators.maxLength(TerraUtils.consts.validators.GENERAL_TEXT_LENGTH)])],\n contactTagsTerm: [''],\n contactReferrerId: null,\n contactLocation: null,\n isFamilyOffice: null,\n accreditationDate: ['']\n })\n });\n }\n\n private populateForm(contact: InvestorContactReqRes) {\n this.dialogForm.patchValue({\n contactDetails: {\n firstName: contact.firstName,\n lastName: contact.lastName,\n middleName: contact.middleName,\n email: contact.email,\n additionalEmails: contact.additionalEmails,\n phone: contact.phone,\n personalRemarks: contact.personalRemarks,\n contactReferrerId: contact.contactReferrerId,\n isFamilyOffice: contact.isFamilyOffice,\n contactLocation: { address: contact.contactLocation, street2Name: contact.contactLocation?.street2Name }\n }\n });\n }\n\n private showErrorAlertDialog() {\n const dialogConfig = new MatDialogConfig();\n dialogConfig.width = '600px';\n dialogConfig.disableClose = false;\n dialogConfig.closeOnNavigation = true;\n dialogConfig.autoFocus = true;\n dialogConfig.panelClass = 'alert-dialog';\n dialogConfig.data = {\n title: `An error has occurred`,\n description: `An error has occurred, please try again or contact support.`,\n actionLabel: `OK`\n };\n this.dialog.open(AlertDialogComponent, dialogConfig);\n }\n\n private generateSubmitModel(contactId: number, selectedContactTags: string[], investingEntities: InvestingEntityReqRes[]): InvestorContactReqRes {\n const formValues = this.dialogForm.value.contactDetails;\n const model = new InvestorContactReqRes();\n model.id = contactId;\n model.firstName = formValues.firstName;\n model.lastName = formValues.lastName;\n model.middleName = formValues.middleName;\n model.email = formValues.email;\n model.additionalEmails = formValues.additionalEmails;\n model.personalRemarks = formValues.personalRemarks;\n model.phone = formValues.phone;\n model.contactTags = selectedContactTags;\n model.contactLocation = { ...formValues.contactLocation.address, street2Name: formValues.contactLocation.street2Name } as LocationDetailsResponse;\n model.contactInvestingEntities = investingEntities;\n model.contactReferrerId = formValues.contactReferrerId;\n model.isFamilyOffice = formValues.isFamilyOffice;\n model.accreditationDate = TerraUtils.forceUtc(formValues.accreditationDate);\n\n if (!!formValues.accreditationDate && !!model.accreditation) {\n model.accreditation.provider = AccreditationProvider.Manual;\n model.accreditation.accreditedDate = TerraUtils.forceUtc(formValues.accreditationDate);\n model.accreditation.status = AccreditationStatus.Accredited;\n model.accreditation.accreditationRequire = false;\n }\n\n if (!!formValues.accreditationDate && !model.accreditation) {\n model.accreditation = new AccreditationDto();\n model.accreditation.provider = AccreditationProvider.Manual;\n model.accreditation.accreditedDate = TerraUtils.forceUtc(formValues.accreditationDate);\n model.accreditation.status = AccreditationStatus.Accredited;\n model.accreditation.accreditationRequire = false;\n }\n return model;\n }\n\n private raiseFlagWhenUnsavedChanges() {\n this.dialogForm.valueChanges.pipe(\n untilComponentDestroyed(this),\n map(value => {\n return this.dialogForm.dirty;\n }),\n filter(isDirty => isDirty),\n take(1),\n tap(isDirty => {\n this.setChangesMade();\n }),\n )\n .subscribe(\n isDirty => {\n },\n error => {\n }\n );\n }\n\n private initContactReferrersListForFilter() {\n this.contactReferrerDataService.getAll()\n .pipe(\n untilComponentDestroyed(this),\n tap(allReferrers => {\n this.store.update(state => {\n return {\n ...state,\n allContactReferrers: [...allReferrers]\n };\n });\n }\n )).subscribe(\n () => {\n },\n error => this.logger.error('investor-contact-details.service.ts => initContactReferrersListForFilter()', error)\n );\n }\n\n private setContactInState(contact: InvestorContactReqRes) {\n this.store.update(state => ({\n ...state,\n contact,\n } as ContactDialogState));\n }\n\n private setChangesMade() {\n timer(0).pipe(\n tap(x => {\n this.store.update(state => ({ ...state, ui: { ...state.ui, isUnsavedChanges: true } }));\n })\n ).subscribe();\n }\n\n private setIsSaving(isSaving: boolean) {\n this.store.update(state => ({ ...state, ui: { ...state.ui, isSaving } }));\n }\n\n private setIsSubmitted() {\n this.store.update(state => ({ ...state, ui: { ...state.ui, isSubmitted: true } }));\n }\n\n private isAllowedToAddThisTag(tag: string) {\n return !this.isTagAlreadyExists(tag) && this.query.getValue().contact.contactTags.length < 20;\n }\n\n private isTagAlreadyExists(tag: string) {\n const tags = this.query.getValue().contact.contactTags;\n return tags && tags.find(t => t === tag);\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", "import {COMMA, ENTER} from '@angular/cdk/keycodes';\nimport {ChangeDetectionStrategy, Component, OnInit, ViewChild} from '@angular/core';\nimport {UntypedFormControl} from '@angular/forms';\nimport {MatAutocomplete, MatAutocompleteSelectedEvent} from '@angular/material/autocomplete';\nimport {MatChipInputEvent} from '@angular/material/chips';\nimport {MatDialog, MatDialogConfig} from '@angular/material/dialog';\nimport {BehaviorSubject, combineLatest, Observable, of} from 'rxjs';\nimport {filter, map, shareReplay, startWith, switchMap} from 'rxjs/operators';\nimport {OnDestroyMixin, untilComponentDestroyed} from '@w11k/ngx-componentdestroyed';\n\nimport {CountryModel} from 'src/app/shared/models/CountryModel';\nimport {InvestorContactDetailService} from '../investor-contact-detail.service';\nimport {ContactDialogQuery} from '../state/contact-dialog.query';\nimport {\n InvestorContactReferrerDialogComponent,\n ContactReferrerEditDialogContext\n} from '../investor-contact-referrer-dialog/investor-contact-referrer-dialog.component';\nimport {AddressFields, AddressFormSettings} from 'src/app/shared/components/address-form/address-form.settings';\nimport {AdditionalEmailsDialogComponent} from './additional-emails-dialog/additional-emails-dialog.component';\nimport {BaseResponseDto} from '../../../../../shared/models/BaseResponseDto.model';\nimport {UtilsService} from '../../../../../services/utils.service';\nimport { TerraUtils } from 'src/app/shared/TerraUtils';\n\n@Component({\n selector: 'terra-investor-contact-details-tab',\n templateUrl: './investor-contact-details-tab.component.html',\n styleUrls: ['./investor-contact-details-tab.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class InvestorContactDetailsTabComponent extends OnDestroyMixin implements OnInit {\n\n // const;\n readonly today = new Date();\n readonly forbiddenNameCharacters = this.contactDetailService.forbiddenNameCharacters;\n readonly separatorKeysCodes = [ENTER, COMMA];\n readonly defaultCommonTags = ['residential', 'quick mover', 'commercial', 'east coast', 'up to $1M'];\n tinTooltip = `In the US: For individuals, the TIN can be a Social Security Number (SSN) or an Individual Taxpayer Identification Number (ITIN). For organizations, the TIN is the EIN.`;\n\n pageForm = this.contactDetailService.contactDetailsForm;\n TerraUtils = TerraUtils;\n\n contactDetails$ = this.query.contact$;\n\n isLoadingDataContact$ = this.query.selectLoading();\n\n allContactReferrers$ = this.query.allContactReferrers$;\n\n isSaving$ = this.query.isSaving$;\n\n isSubmitted$ = this.query.isSubmitted$;\n\n displayAddress$ = new BehaviorSubject(false);\n\n addressFormSettings = new AddressFormSettings(undefined, AddressFields.Country, false, false);\n\n allTags$ = this.contactDetailService.allTags$.pipe(map(tags => tags && tags.length > 0 ? tags : []));\n\n mostUsedTags$ = this.contactDetailService.mostUsedTags$.pipe(\n map(mostUsedTags => mostUsedTags && mostUsedTags.length > 0 ? mostUsedTags : this.defaultCommonTags));\n\n // tags that are yet selected - to display in the autocomplete\n filteredTagsForAutocomplete$: Observable;\n\n get contactTagsTermInput() {\n return this.pageForm.get('contactTagsTerm') as UntypedFormControl;\n }\n\n selectedContactTags$ = this.contactDetailService.contactDetails$.pipe(map(contact => contact.contactTags));\n\n filteredMostUsedTags$ = combineLatest([this.mostUsedTags$, this.selectedContactTags$.pipe(startWith([]))]).pipe(\n map(([mostUsedTags, selectedTags]) => {\n return mostUsedTags.filter(tag => !selectedTags.find(t => t === tag));\n }),\n shareReplay(1)\n );\n\n @ViewChild('tagsAutocomplete') matAutocomplete: MatAutocomplete;\n\n additionalEmails$: Observable = this.pageForm.get('additionalEmails').valueChanges.pipe(startWith([]), shareReplay(1));\n\n constructor(\n private query: ContactDialogQuery,\n private contactDetailService: InvestorContactDetailService,\n private dialog: MatDialog,\n private utilsService: UtilsService\n ) {\n super();\n }\n\n ngOnInit() {\n this.initializeTagsAutocomplete();\n this.displayAddress$.next(true);\n }\n\n addTagAsChip(event: MatChipInputEvent): void {\n const input = event.input;\n const value = event.value;\n\n this.contactDetailService.addContactTag(value);\n\n // AFter typing a new tag and clicking enter, it's being added, and the text fields is cleared\n if (input) {\n input.value = '';\n }\n this.clearContactTagsTermInput();\n }\n\n selectedTagFromAutocomplete(event: MatAutocompleteSelectedEvent): void {\n this.contactDetailService.addContactTag(event.option.viewValue);\n this.clearContactTagsTermInput();\n }\n\n removeTag(tag: string): void {\n this.contactDetailService.removeContactTag(tag);\n }\n\n selectStaticChip(tag: string) {\n this.contactDetailService.addContactTag(tag);\n }\n\n conutryTrackByFn(index, item: CountryModel) {\n return item.id; // or index\n }\n\n addContactReferrerDialog() {\n const dialogConfig = new MatDialogConfig();\n const data = new ContactReferrerEditDialogContext();\n data.includeFindFeatureDirection = true;\n dialogConfig.data = data;\n\n this.dialog.open(InvestorContactReferrerDialogComponent, dialogConfig)\n .afterClosed().pipe(\n untilComponentDestroyed(this),\n filter(contactReferrer => contactReferrer),\n switchMap(contactReferrer => this.contactDetailService.addContactReferrer(contactReferrer)),\n ).subscribe(\n () => {},\n error => {\n if (error instanceof BaseResponseDto) {\n this.utilsService.alertErrorMessage(error);\n }\n }\n );\n }\n\n additionalEmailsEdit() {\n const additionalEmailsControl = this.pageForm.get('additionalEmails');\n const config = new MatDialogConfig();\n config.data = additionalEmailsControl.value;\n this.dialog.open(AdditionalEmailsDialogComponent, config).afterClosed()\n .pipe(filter(result => result !== undefined))\n .subscribe(emails => {\n additionalEmailsControl.setValue(emails);\n additionalEmailsControl.markAsDirty();\n additionalEmailsControl.updateValueAndValidity();\n });\n }\n\n private initializeTagsAutocomplete() {\n // Filter autocomplete results while typing\n this.filteredTagsForAutocomplete$ = this.contactTagsTermInput.valueChanges.pipe(\n startWith(''),\n switchMap(term => combineLatest([of(term), this.allTags$, this.selectedContactTags$])),\n map(([filterTerm, allTags, selectedTags]) => {\n // only not selected results\n const unselectedTags = allTags.filter(t => selectedTags.indexOf(t) === -1);\n // From the unselected tags, filter using the search term\n if (!filterTerm) {\n return unselectedTags;\n } else {\n return unselectedTags.filter(tag => tag.toLowerCase().indexOf(filterTerm.toLowerCase()) > -1);\n }\n }));\n }\n\n private clearContactTagsTermInput() {\n this.contactTagsTermInput.setValue('');\n }\n}\n", "\n
\n This contact is connected to an active asset. Any changes made to this contact's information will be applied\n immediately.\n
\n\n
\n
\n

Personal info

\n\n
\n \n
\n \n \n \n Required\n Enter a name up to 40 characters\n \n \n Name shouldn't contain the following characters: {{forbiddenNameCharacters.join(', ')}}\n \n \n
\n\n \n
\n \n \n \n Enter a name up to 40 characters\n \n \n Name shouldn't contain the following characters: {{forbiddenNameCharacters.join(', ')}}\n \n \n
\n\n \n
\n \n \n \n Required\n Enter a name up to 40 characters\n \n \n Name shouldn't contain the following characters: {{forbiddenNameCharacters.join(', ')}}\n \n \n
\n
\n\n
\n \n
\n \n \n \n Required\n Please enter a valid email address\n \n
\n\n \n
\n \n \n \n Required\n Please enter up to {{TerraUtils.consts.validators.PHONE_MAX_LENGTH}} characters\n \n
\n\n
\n \n
Family Office
\n
\n
\n
\n\n
\n \n \n\n \n \n\n\n
\n \n
= 0 as additionalEmails\" matRipple>\n
    0 else addMoreIcon\">\n
  • {{email}}
  • \n
\n \n \n add\n \n
\n
\n
\n
\n\n \n
\n

Contact Referrer (optional)

\n
\n \n \n \n None\n \n {{ contactReferrer.name | truncate : 40 : true }} \n \n \n
\n \n
\n\n \n
\n\n \n Using tags to describe clients makes matching them to assets easier.\n \n
\n\n \n
\n

Remarks (optional)

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

Address

\n \n
\n
\n
\n", "import { Component, OnInit, Inject, ChangeDetectionStrategy } from '@angular/core';\nimport { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog';\nimport {BehaviorSubject, throwError, combineLatest, of, Observable} from 'rxjs';\nimport { shareReplay, switchMap, tap, catchError, map } from 'rxjs/operators';\nimport memo from 'memo-decorator';\n\nimport { GpInvestingEntityDataService } from 'src/app/services/gp/gp-investing-entity-data.service';\nimport { ReportStatus } from 'src/app/shared/enums/InvestingEntityReportStatus.enum';\nimport HoldingStatus from 'src/app/shared/enums/HoldingStatus.enum';\nimport InvestingEntityType from 'src/app/dashboard/models/InvestingEntityType.enum';\nimport { LocationDetailsResponse } from 'src/app/shared/models/LocationDetailsResponse.model';\nimport { UtilsService } from 'src/app/services/utils.service';\nimport { PermissionService } from 'src/app/permission/permission.service';\nimport {TerraUtils} from '../../../../shared/TerraUtils';\nimport AccreditationStatus from 'src/app/shared/enums/AccreditationStatus.enum';\n\nexport interface InvestingEntityViewDialogContext {\n investingEntityId: number;\n}\n\n@Component({\n selector: 'terra-investing-entity-view-dialog',\n templateUrl: './investing-entity-view-dialog.component.html',\n styleUrls: ['./investing-entity-view-dialog.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class InvestingEntityViewDialogComponent implements OnInit {\n allowInvestorName$ = this.permissionService.allowInvestorName$;\n // consts\n ReportStatus = ReportStatus;\n HoldingStatus = HoldingStatus;\n InvestingEntityType = InvestingEntityType;\n\n private isLoadingInvestingEntityDetails$ = new BehaviorSubject(true);\n investingEntity$ = this.gpInvestingEntityDataService.getById(this.context.investingEntityId).pipe(\n tap(_ => this.isLoadingInvestingEntityDetails$.next(false)),\n catchError(error => {\n this.isLoadingInvestingEntityDetails$.next(false);\n return throwError(error);\n }),\n shareReplay(1)\n );\n\n contributionsReportStatusFilter$ = new BehaviorSubject(ReportStatus.Active);\n isLoadingContributionsReport$ = new BehaviorSubject(false);\n contributionsReport$ = this.contributionsReportStatusFilter$.pipe(\n tap(_ => this.isLoadingContributionsReport$.next(true)),\n switchMap(status => this.gpInvestingEntityDataService.getContributionsReport(this.context.investingEntityId, status)),\n tap(_ => this.isLoadingContributionsReport$.next(false)),\n catchError(error => {\n this.isLoadingContributionsReport$.next(false);\n return throwError(error);\n }),\n shareReplay(1)\n );\n\n distributionsReportStatusFilter$ = new BehaviorSubject(ReportStatus.Active);\n isLoadingDistributionsReport$ = new BehaviorSubject(false);\n distributionsReport$ = this.distributionsReportStatusFilter$.pipe(\n tap(_ => this.isLoadingDistributionsReport$.next(true)),\n switchMap(status => this.gpInvestingEntityDataService.getDistributionsReport(this.context.investingEntityId, status)),\n tap(_ => this.isLoadingDistributionsReport$.next(false)),\n catchError(error => {\n this.isLoadingDistributionsReport$.next(false);\n return throwError(error);\n }),\n shareReplay(1)\n );\n\n isLoading$ = combineLatest([this.isLoadingInvestingEntityDetails$, this.isLoadingContributionsReport$]).pipe(\n map(([isLoadingInvestingEntityDetails, isLoadingContributionsReport]) => isLoadingInvestingEntityDetails || isLoadingContributionsReport),\n shareReplay(1)\n );\n\n isAccredited$ = this.investingEntity$.pipe(\n map(ie => ie.accreditation?.status === AccreditationStatus.Accredited),\n shareReplay(1)\n );\n\n contributionsReportDisplayedColumns = ['holdingName', 'date', 'investingEntityType', 'amountInvested'];\n distributionsReportDisplayedColumns = ['holdingName', 'date', 'investingEntityType', 'amountInvested'];\n\n constructor(\n @Inject(MAT_DIALOG_DATA) public context: InvestingEntityViewDialogContext,\n private dialogRef: MatDialogRef,\n private gpInvestingEntityDataService: GpInvestingEntityDataService,\n private utilsService: UtilsService,\n private permissionService: PermissionService\n ) {\n dialogRef.addPanelClass('terra-investing-entity-view-dialog');\n }\n\n ngOnInit() {\n }\n\n get accreditationDate$(): Observable {\n return this.investingEntity$.pipe(map(ie => TerraUtils.forceUtcToLocal(ie.accreditation?.accreditedDate)));\n }\n\n @memo()\n getFormattedAddress(location: LocationDetailsResponse) {\n return this.utilsService.getFormattedAddress(location, 'fullName');\n }\n\n filterContributionsByStatus(status: ReportStatus) {\n this.contributionsReportStatusFilter$.next(status);\n }\n\n filterDistributionsByStatus(status: ReportStatus) {\n this.distributionsReportStatusFilter$.next(status);\n }\n}\n", "\n

\n Investing entity:\n \n {{investingEntity.name}}\n \n \n {{investingEntity.nickname}}\n \n

\n
\n\n\n\n \n \n
\n
    \n
  • \n \n \n \n {{investingEntity.name}}\n \n \n {{investingEntity.nickname}}\n \n \n
  • \n
  • \n \n {{investingEntity.investingEntityType | enumString : InvestingEntityType }}\n
  • \n
  • \n \n {{investingEntity.tin}}\n
  • \n
  • \n \n {{investingEntity.accountingExternalId}}\n
  • \n
  • \n \n \n {{((accreditationDate$ | async) | date) ?? 'None'}}\n \n
  • \n
  • \n \n \n {{locationString}}\n \n \n - Not specified\n \n \n \n \n {{ getFormattedAddress(investingEntity.investingEntityLocation)}}\n \n \n Not specified\n \n \n
  • \n
\n
\n\n
\n

Remarks

\n

{{investingEntity.remarks}}

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

Investments

\n \n
\n
\n check_circle_outline\n Active\n
\n
\n snippet_folder\n Archived\n
\n
\n block\n Declined opportunities\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
Holding name {{element.holdingName}} Last contribution
date
{{element.date | date }} Status {{element.status | enumString: HoldingStatus}} Amount invested\n {{ element.currencySymbol}}{{element.amountInvested | terraNumber }}\n
\n\n \n
\n

No items to display.

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

Distributions

\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
Holding name {{element.holdingName}} Date {{element.date | date }} Status {{element.status | enumString: HoldingStatus}} Amount received {{element.amountPerCurrency }}
\n\n \n
\n

No items to display.

\n
\n
\n\n
\n", "export enum ReportStatus {\n None = 0,\n Active = 1,\n Archived = 2,\n Declined = 3\n}\n", "import {Component, OnInit, ViewContainerRef, ChangeDetectionStrategy, Input} from '@angular/core';\nimport {MatDialog, MatDialogConfig} from '@angular/material/dialog';\nimport {switchMap, take, filter, tap} from 'rxjs/operators';\nimport {OnDestroyMixin, untilComponentDestroyed} from '@w11k/ngx-componentdestroyed';\n\nimport {InvestorContactDetailService} from '../investor-contact-detail.service';\nimport InvestingEntityType from 'src/app/dashboard/models/InvestingEntityType.enum';\nimport {InvestingEntityReqRes} from 'src/app/dashboard/models/InvestingEntityReqRes.model';\nimport {DialogService} from 'src/app/services/dialog.service';\nimport {ConfirmDialogParams} from 'src/app/shared/components/confirm-dialog/confirm-dialog.component';\nimport {AlertDialogParams} from 'src/app/shared/components/alert-dialog/alert-dialog.component';\nimport {ContactDialogQuery} from '../state/contact-dialog.query';\nimport {InvestingEntityViewDialogComponent, InvestingEntityViewDialogContext} from '../../investing-entity-view-dialog/investing-entity-view-dialog.component';\nimport {EditBankAccountContext} from '../../../../bankAccounts/components/edit-bank-account/EditBankAccountContext.model';\nimport {EditBankAccountComponent} from '../../../../bankAccounts/components/edit-bank-account/edit-bank-account.component';\nimport {SnackbarService} from 'src/app/services/snackbar.service';\nimport {PermissionService} from 'src/app/permission/permission.service';\n\n@Component({\n selector: 'terra-investor-contact-investing-entities-tab',\n templateUrl: './investor-contact-investing-entities-tab.component.html',\n styleUrls: ['./investor-contact-investing-entities-tab.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class InvestorContactInvestingEntitiesTabComponent extends OnDestroyMixin implements OnInit {\n allowInvestorName$ = this.permissionService.allowInvestorName$;\n @Input() isAgentContact = false;\n\n // consts\n InvestingEntityType = InvestingEntityType;\n\n investingEntities$ = this.query.investingEntities$;\n\n displayedColumns: string[] = ['name', 'investingEntityType', 'remarks', 'accountingExternalId', 'action'];\n\n constructor(\n private viewContainerRef: ViewContainerRef,\n private permissionService: PermissionService,\n private query: ContactDialogQuery,\n private contactDetailService: InvestorContactDetailService,\n public dialog: MatDialog,\n private dialogService: DialogService,\n private snackbarService: SnackbarService\n ) {\n super();\n }\n\n ngOnInit() {\n }\n\n openCreateInvestingEntityDialog() {\n this.contactDetailService.openCreateInvestingEntityDialog();\n }\n\n openEditInvestingEntityDialog(investingEntityToEdit: InvestingEntityReqRes = null) {\n this.contactDetailService.openInvestingEntityDialogInEditMode(investingEntityToEdit);\n }\n\n viewInvestingEntity(investingEntityId: number) {\n if (!investingEntityId) {\n return;\n }\n const config = new MatDialogConfig();\n config.data = {\n investingEntityId\n };\n this.dialog.open(InvestingEntityViewDialogComponent, config);\n }\n\n\n delete(investingEntity: InvestingEntityReqRes) {\n this.investingEntities$.pipe(\n untilComponentDestroyed(this),\n take(1),\n tap(investingEntities => {\n if (investingEntities.length === 1) {\n this.dialogService.alertDialog(\n {title: 'Unable to delete investment entity', description: 'A contact must have at least one investing entity.'} as AlertDialogParams);\n }\n }),\n filter(investingEntities => investingEntities.length > 1),\n switchMap(x => {\n return this.dialogService.confirmDialog(\n {\n title: `Delete investing entity`,\n description: `Are you sure you want to delete ${investingEntity.name}?`,\n actionLabel: 'Delete'\n } as ConfirmDialogParams).afterClosed();\n })\n )\n .subscribe(isConfirmed => {\n if (isConfirmed) {\n this.contactDetailService.deleteInvestingEntity(investingEntity);\n }\n });\n }\n\n addBankAccount(investingEntity: InvestingEntityReqRes) {\n const dialogConfig = new MatDialogConfig();\n dialogConfig.data = {investingEntity} as EditBankAccountContext;\n dialogConfig.disableClose = false;\n dialogConfig.closeOnNavigation = true;\n dialogConfig.autoFocus = true;\n dialogConfig.panelClass = 'create-bank-account-dialog';\n dialogConfig.width = '52%';\n\n this.dialog.open(EditBankAccountComponent, dialogConfig)\n .afterClosed().subscribe(res => {\n if (res) {\n const message = `${res.holderFullName}'s bank account was successfully added`;\n this.snackbarService.showGeneralMessage(message, 5);\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\t\n\t\t\n\t\t\n\t\n\n\t\n\t\n\t\t\n\t\t\n\t\n\n \n \n
Name\n \n {{ element.name }}\n \n \n {{ element.nickname }}\n \n Type {{ element.investingEntityType | enumString: InvestingEntityType }} TIN {{ element.tin }} Remarks 20 ? element.remarks : ''\" matTooltipClass=\"terra-tooltip\"> {{ element.remarks }}\n Accounting ID {{element.accountingExternalId}} \n\t\t\t
\n\t\t\t\n\t\t\t\n\n\t\t\t\n\t\t\t\n\t\t
\n\t\t
\n", "import { Component, OnInit, Inject, ChangeDetectionStrategy, ViewContainerRef } from '@angular/core';\nimport { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog';\nimport { combineLatest } from 'rxjs';\nimport { map, distinctUntilChanged, shareReplay } from 'rxjs/operators';\nimport { untilComponentDestroyed } from '@w11k/ngx-componentdestroyed';\n\nimport { enterAnimation } from 'src/app/shared/animations';\nimport { DialogWithFormBase } from 'src/app/shared/types/DialogWithFormBase';\nimport { InvestorContactDetailService } from './investor-contact-detail.service';\nimport { ContactDialogStore } from './state/contact-dialog.store';\nimport { ContactDialogQuery } from './state/contact-dialog.query';\nimport { TerraUtils } from 'src/app/shared/TerraUtils';\nimport { InvestorContactReqRes } from '../../models/investorContactReqRes.model';\n\nexport interface ContactDialogData {\n contactId: number;\n investingEntityId: number;\n}\n\n@Component({\n selector: 'terra-investor-contact-dialog',\n templateUrl: './investor-contact-dialog.component.html',\n styleUrls: ['./investor-contact-dialog.component.scss'],\n animations: [enterAnimation],\n providers: [ContactDialogStore, ContactDialogQuery, InvestorContactDetailService],\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class InvestorContactDialogComponent extends DialogWithFormBase implements OnInit {\n isEditMode = false;\n\n tabIndex$ = this.query.select(state => state.ui.activeTabIndex);\n\n contactDetails$ = this.contactDetailService.contactDetails$;\n\n dialogForm = this.contactDetailService.dialogForm;\n\n isLoadingContactData$ = this.query.selectLoading();\n isSubmitted$ = this.query.isSubmitted$;\n isGeneralServerError$ = this.contactDetailService.isGeneralServerError$;\n generalServerErrorMessage$ = this.contactDetailService.generalServerErrorMessage$;\n isSaving$ = this.query.isSaving$;\n isUnsavedChanges$ = this.query.isUnsavedChanges$;\n\n displayLoader$ = combineLatest([this.isLoadingContactData$, this.isSaving$]).pipe(\n map(([isLoadingData, isSaving]) => {\n return isLoadingData || isSaving;\n }),\n distinctUntilChanged(),\n shareReplay(1)\n );\n\n isSaveButtonDisabled$ = combineLatest([this.isUnsavedChanges$, this.displayLoader$]).pipe(map(([isUnsavedChanges, displayLoader]) => {\n return !isUnsavedChanges || displayLoader;\n }));\n\n constructor(\n private viewContainerRef: ViewContainerRef,\n private query: ContactDialogQuery,\n private dialogRef: MatDialogRef,\n @Inject(MAT_DIALOG_DATA) private context: ContactDialogData,\n private contactDetailService: InvestorContactDetailService\n ) {\n super();\n contactDetailService.viewContainerRef = viewContainerRef;\n dialogRef.addPanelClass('terra-investor-contact-dialog');\n\n this.isEditMode = context && context.contactId > 0;\n\n if (this.isEditMode) {\n this.contactDetailService.initialDialogForEditMode(context.contactId);\n } else {\n this.contactDetailService.initializeDialogForCreateMode();\n }\n }\n\n ngOnInit() {\n if (this.context && this.context.investingEntityId) {\n this.contactDetailService.updateTabIndex(1);\n this.contactDetailService.openInvstingEntityDialogByIdInEditMode(this.context.investingEntityId);\n }\n }\n\n save() {\n this.contactDetailService.save()\n .pipe(untilComponentDestroyed(this))\n .subscribe(\n response => {\n if (response) {\n this.dialogRef.close(response);\n }\n })\n }\n\n getContactFullName(contact: InvestorContactReqRes) {\n return TerraUtils.getContactFullName(contact);\n }\n}\n", "\n\n\n

\n \n {{ getContactFullName(headerModel.contactDetails) }}\n \n \n New Contact\n \n

\n
\n\n\n
\n\n \n \n \n \n \n \n \n Contact details\n \n \n Missing\n \n \n \n \n \n\n \n \n \n \n Investing entities\n \n \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"], "mappings": "m6DAAA,IAAYA,GAAZ,SAAYA,EAAqB,CAC/BA,OAAAA,EAAAA,EAAA,KAAA,CAAA,EAAA,OACAA,EAAAA,EAAA,IAAA,CAAA,EAAA,MACAA,EAAAA,EAAA,QA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A,GAAAoE,EAAA1C,cAAA,CAAA,CAAA,EAGzChD,EAAA,CAAA,EAAAW,EAAA,gBAAAW,EAAA,EAAA,GAAAoE,EAAArD,SAAA,CAAA,EAuBWrC,EAAA,CAAA,EAAAW,EAAA,iBAAAW,EAAA,GAAA,GAAAoE,EAAAhD,eAAA,EAAA8D,cAAA,EAMMxG,EAAA,CAAA,EAAAW,EAAA,WAAAW,EAAA,GAAA,GAAAoE,EAAAlC,qBAAA,CAAA,EAGFxD,EAAA,CAAA,EAAAW,EAAA,mBAAA8F,MAAA,EAA8B,WAAAnF,EAAA,GAAA,GAAAoE,EAAA5C,SAAA,CAAA,EAK5D9C,EAAA,CAAA,EAAAW,EAAA,OAAAW,EAAA,GAAA,GAAAoE,EAAA7C,YAAA,CAAA;6FD/Bb,CAAC6D,EAAc,CAAC,EAAAC,gBAAA,CAAA,CAAA,EAIxB,IAAO9E,EAAP+E,SAAO/E,CAA+B,GAAA", "names": ["BeneficiaryEntityType", "toString", "beneficiaryEntityType", "LLC", "Company", "Partnership", "Corporation", "listAll", "parse", "beneficiaryEntityTypeStr", "\u0275\u0275element", "\u0275\u0275elementStart", "\u0275\u0275text", "\u0275\u0275elementEnd", "\u0275\u0275elementContainerStart", "\u0275\u0275advance", "\u0275\u0275textInterpolate1", "investor_r4", "name", "nickname", "\u0275\u0275template", "EditBankAccountComponent_div_11_mat_option_10_ng_container_2_Template", "EditBankAccountComponent_div_11_mat_option_10_ng_container_4_Template", "\u0275\u0275property", "id", "\u0275\u0275pipeBind1", "ctx_r2", "allowInvestorName$", "\u0275\u0275listener", "$event", "i0", "\u0275\u0275restoreView", "_r2", "\u0275\u0275resetView", "target", "select", "\u0275\u0275nextContext", "setAutofillState", "isAutofilled", "EditBankAccountComponent_div_11_mat_option_10_Template", "EditBankAccountComponent_div_11_mat_error_12_Template", "autoComplete_r5", "\u0275\u0275pureFunction2", "_c2", "isError", "displayFn", "filteredInvestors$", "investorTrackByFn", "pageForm", "get", "hasError", "_r6", "vm_r7", "ngIf", "bankAccountComponent_r8", "\u0275\u0275reference", "currencyLearnMore", "selectedCountry", "defaultCurrency", "preferredCurrency", "iso", "_r9", "\u0275\u0275textInterpolate2", "symbol", "EditBankAccountComponent_div_31_p_1_Template", "EditBankAccountComponent_div_31_p_2_Template", "isRecommendedCurrencySelected", "beneficiaryEntityType_r10", "\u0275\u0275pipeBind2", "BeneficiaryEntityType", "EditBankAccountComponent_div_45_mat_option_5_Template", "EditBankAccountComponent_div_45_mat_error_6_Template", "\u0275\u0275pureFunction1", "_c3", "isIgnoreReadOnlyBeneficiaryEntityType", "listAll", "EditBankAccountComponent_div_46_mat_error_7_Template", "_c4", "isIgnoreReadOnlyBeneficiaryTin", "tmp_3_0", "getAddressCountry", "generalServerErrorMessage", "\u0275\u0275sanitizeHtml", "EditBankAccountComponent", "DialogWithFormBase", "readOnlyMode", "bankAccountDetails", "isModifiable", "constructor", "fb", "gpBankAccountDataService", "resourceService", "dialogRef", "data", "dialogService", "telemetryService", "userService", "utilsService", "permissionService", "isSubmitted", "showInternalLoader$", "BehaviorSubject", "bankAccountId", "isGeneralServerError$", "TerraUtils", "consts", "messages", "GENERAL_SUBMIT_ERROR_WITH_LINK", "allCountries", "isAnOrganizationAccountDefault", "isAutoFilled", "addressFormSettings", "AddressFormSettings", "enablePreferredCurrency", "investingEntity", "ngOnInit", "ClientBankAccountReqRes", "generateForm", "subscribeToIsOrganizationChange", "populateForm", "group", "Validators", "required", "holderFullName", "isAnOrganizationAccount", "beneficiaryEntityType", "beneficiaryTin", "investor", "investingEntitiesList", "bankDetails", "holderLocationDetails", "setValue", "investingEntityType", "tin", "valueChanges", "pipe", "startWith", "map", "value", "filterInvestors", "next", "getById", "finalize", "subscribe", "bankAccount", "patchValue", "disable", "isCollectWitholdingTaxData", "markAllAsTouched", "err", "console", "log", "save", "updateValueAndValidity", "valid", "model", "generateSubmitModel", "isEditMode", "update", "create", "close", "getClientDetails", "take", "clientDetails", "eventID", "eventTitle", "organizationID", "organizationDetails", "additional", "bankAccountID", "AnalyticsServiceNameModel", "Mixpanel", "Insights", "error", "BaseResponseDto", "alertErrorMessage", "formValues", "getRawValue", "accountNumber", "bankBranchCode", "bankBranchName", "bankCode", "bankName", "bsb", "canadaInstitutionNumber", "canadaTransitNumber", "countryId", "iban", "ifsc", "swift", "paymentType", "ukSortCode", "preferredCurrencyId", "memo", "checkingOrSavingsType", "investingEntityId", "PaymentType", "Ach", "usabaRoutingNumber", "fedWireRoutingNumber", "Wire", "frn", "controls", "untilComponentDestroyed", "isOrganization", "setValidators", "markAsUntouched", "locationDetailsForm", "addressCountryId", "find", "c", "isRecommdendedCurrencySelected", "recommendedCurrency", "selectedCurrency", "longText", "alertDialog", "title", "description", "state", "dirty", "touched", "option", "x", "viewValue", "undefined", "index", "item", "filter", "internalFilteredInvestors", "Number", "setAccountHolderNameAndNickname", "filterValue", "toLocaleLowerCase", "filteredInvestors", "startsWith", "length", "emitModelToViewChange", "reset", "investingEntityName", "substring", "indexOf", "\u0275\u0275directiveInject", "UntypedFormBuilder", "GpBankAccountDataService", "ResourceService", "MatDialogRef", "MAT_DIALOG_DATA", "DialogService", "TelemetryService", "UserService", "UtilsService", "PermissionService", "selectors", "hostVars", "hostBindings", "rf", "ctx", "\u0275\u0275classProp", "EditBankAccountComponent_terra_loader_5_Template", "EditBankAccountComponent_div_8_Template", "_r1", "preventDefault", "EditBankAccountComponent_div_11_Template", "EditBankAccountComponent_mat_error_17_Template", "EditBankAccountComponent_mat_error_23_Template", "EditBankAccountComponent_mat_error_24_Template", "EditBankAccountComponent_div_31_Template", "EditBankAccountComponent_div_45_Template", "EditBankAccountComponent_div_46_Template", "EditBankAccountComponent_p_54_Template", "EditBankAccountComponent_p_55_Template", "\u0275\u0275textInterpolate", "_c0", "_c1", "invalid", "fadeInOut", "enterAnimation", "changeDetection", "_EditBankAccountComponent", "InvestingEntitySearchOptionsRequest", "ContactSearchOptionsRequest", "constructor", "contactId", "withContactName", "showHoldingRelatedInvestors", "holdingId", "distributionId", "GpInvestingEntityDataService", "AbstractRestService", "constructor", "http", "logger", "baseEndpoint$", "of", "getSearchOptionsToQuerystring", "options", "investingEntityOptions", "extendedQueryString", "tags", "length", "map", "tag", "join", "fundraisingId", "contactId", "contactReferrerId", "withContactName", "excludeAgentContacts", "holdingId", "distributionId", "getContributionsReport", "investingEntityId", "reportStatus", "pipe", "switchMap", "baseEndpoint", "getTyped", "catchError", "error", "throwError", "getDistributionsReport", "getAll", "endpoint", "err", "\u0275\u0275inject", "HttpService", "LoggerService", "factory", "\u0275fac", "providedIn", "_GpInvestingEntityDataService", "ContactReferrerDataService", "AbstractRestService", "constructor", "http", "baseEndpoint$", "of", "getAll", "searchOptions", "SearchOptionsRequest", "pageSize", "getList", "pipe", "map", "response", "rows", "\u0275\u0275inject", "HttpService", "factory", "\u0275fac", "providedIn", "_ContactReferrerDataService", "AccreditationStatus", "toString", "accreditationStatus", "NotAccredited", "Accredited", "Requested", "InvestorViewed", "Pending", "Denied", "Expired", "Canceled", "listAll", "parse", "str", "getClassStatus", "status", "getIconStatus", "AccreditationStatus_enum_default", "AccreditationProvider", "AccreditationDto", "BaseResponseDto", "\u0275\u0275elementContainerStart", "\u0275\u0275elementStart", "\u0275\u0275text", "\u0275\u0275elementEnd", "\u0275\u0275advance", "\u0275\u0275textInterpolate1", "ctx_r1", "data", "accreditationPrice", "\u0275\u0275twoWayListener", "$event", "\u0275\u0275restoreView", "_r3", "\u0275\u0275nextContext", "i0", "\u0275\u0275twoWayBindingSet", "dontShowAgain", "\u0275\u0275resetView", "\u0275\u0275twoWayProperty", "\u0275\u0275template", "AccreditationSendRequestDialogComponent_ng_container_5_ng_container_1_Template", "AccreditationSendRequestDialogComponent_ng_container_5_ng_container_2_Template", "AccreditationSendRequestDialogComponent_ng_container_5_div_6_Template", "AccreditationSendRequestDialogComponent_ng_container_5_div_7_Template", "_r1", "acceptTerms", "\u0275\u0275element", "AccreditationSendRequestDialogComponent_ng_container_5_mat_checkbox_16_Template", "AccreditationSendRequestDialogComponent_ng_container_5_ng_container_17_Template", "\u0275\u0275property", "isProviderAccredited", "\u0275\u0275listener", "_r4", "proceed", "\u0275\u0275pureFunction1", "_c1", "_r5", "talkToUS", "paths", "SUPPORT", "AccreditationSendRequestDialogParams", "constructor", "hasPermission", "reachingLimit", "AccreditationSendRequestDialogComponent", "dialogRef", "sourceTypeService", "TerraUtils", "consts", "updateSize", "ngOnInit", "close", "cancel", "issueInput$", "next", "\u0275\u0275directiveInject", "MatDialogRef", "MAT_DIALOG_DATA", "HelpSourceTypeService", "selectors", "decls", "vars", "template", "rf", "ctx", "AccreditationSendRequestDialogComponent_ng_container_5_Template", "AccreditationSendRequestDialogComponent_ng_container_6_Template", "AccreditationSendRequestDialogComponent_ng_container_7_Template", "AccreditationSendRequestDialogComponent_ng_container_11_Template", "AccreditationSendRequestDialogComponent_ng_template_12_Template", "\u0275\u0275templateRefExtractor", "_c0", "talkToUs_r6", "_AccreditationSendRequestDialogComponent", "GeneralSettingKeys", "getAll", "AccreditationPrice", "AccreditationService", "constructor", "userService", "accreditationDataService", "generalSettingsService", "enableToSendAccreditationRequest$", "accountDetails$", "pipe", "filter", "accountDetails", "isAgent", "map", "organizationDetails", "maxOfAccreditationRequest", "shareReplay", "reachingLimitToSendAccreditationRequest$", "countOfAccreditationRequest", "accreditationPrice$", "GetByKey", "GeneralSettingKeys", "AccreditationPrice", "isAccreditedInvestor$", "accreditedDate", "withLatestFrom", "accreditationDate", "account", "TerraUtils", "daysBetween", "Date", "maxAccreditationDays", "sendAccreditationRequestToLp", "model", "tap", "_", "refreshedClientDetails$", "next", "\u0275\u0275inject", "UserService", "AccreditationDataService", "GeneralSettingsService", "factory", "\u0275fac", "_AccreditationService", "\u0275\u0275elementContainerStart", "\u0275\u0275elementStart", "\u0275\u0275listener", "$event", "\u0275\u0275restoreView", "_r2", "ctx_r2", "\u0275\u0275nextContext", "\u0275\u0275resetView", "snackbarMessage", "\u0275\u0275text", "\u0275\u0275elementEnd", "\u0275\u0275advance", "\u0275\u0275property", "linkRequest", "_r4", "downloadAccreditationCertificate", "PermissionLevel", "Editor", "NoPermissionAction", "Hide", "\u0275\u0275element", "\u0275\u0275template", "AccreditationComponent_ng_container_1_div_1_ng_container_7_a_1_Template", "AccreditationComponent_ng_container_1_div_1_ng_container_7_terra_loader_3_Template", "\u0275\u0275pipeBind1", "downloadCertificateLoading$", "AccreditationComponent_ng_container_1_div_1_ng_container_6_Template", "AccreditationComponent_ng_container_1_div_1_ng_container_7_Template", "accreditation", "status", "AccreditationStatus", "Requested", "Accredited", "provider", "AccreditationProvider", "Manual", "AccreditationComponent_ng_container_1_div_1_Template", "FeatureFlagConsts", "SystemFeatureFlagAccreditationOn", "_r5", "sendAccreditationRequest", "AccreditationComponent_ng_container_12_ng_container_1_terra_loader_6_Template", "isLoadingAccreditationSend", "disableAccreditationBtn", "AccreditationComponent_ng_container_12_ng_container_1_Template", "onlyDatePicker", "AccreditationComponent", "investingEntity", "constructor", "accreditationDataService", "accreditationService", "dialogService", "snackBarService", "utilService", "storageService", "matDialog", "loggerService", "appSettingService", "snackbarService", "generalSettingsService", "cdr", "holdingId", "today", "Date", "minDate", "forceManualAccreditation", "BehaviorSubject", "SystemFeatureFlagConsts", "destroy$", "Subject", "setDate", "getDate", "ngOnDestroy", "next", "ngOnInit", "accreditationDateControl", "disable", "emitEvent", "isAccredited$", "isAccreditedInvestor$", "valueChanges", "pipe", "startWith", "accreditedDate", "map", "isAccredited", "autoSaveDate", "autoSaveDateChange", "Pending", "lpFrontEnvironmentAppBaseUrl", "encodeURIComponent", "contact", "email", "id", "lpClientDetailsId", "itemName", "e", "showGeneralMessage", "preventDefault", "takeUntil", "debounceTime", "distinctUntilChanged", "tap", "_", "console", "log", "invalid", "filter", "switchMap", "date", "model", "AccreditationDto", "investingEntityId", "TerraUtils", "forceUtc", "accreditationRequire", "sendManualAccreditation", "subscribe", "res", "responseStatus", "BaseResponseStatus", "Success", "markForCheck", "Error", "alertErrorMessage", "error", "err", "name", "isProviderAccreditedOrProgress", "None", "openConfirmDialogWhenLpAccredited", "config", "ConfirmDialogParams", "title", "actionLabel", "actionPosition", "panelClass", "description", "systemFeatureFlagKeysValues$", "take", "systemFeatureFlagKeysValues", "confirmDialog", "afterClosed", "of", "c", "accreditationDate", "open", "close", "VerifyInvestor", "MatDialogConfig", "disableClose", "combineLatest", "enableToSendAccreditationRequest$", "reachingLimitToSendAccreditationRequest$", "accreditationPrice$", "enable", "reaching", "accreditationPrice", "resendAccreditationRequest", "notShowConfirmation", "getAccreditationDontShowConfirmation", "proceed", "dontShowAgain", "data", "AccreditationSendRequestDialogParams", "AccreditationSendRequestDialogComponent", "confirm", "setAccreditationDontShowConfirmation", "sendAccreditationRequestToLp", "setValue", "Notice", "withLatestFrom", "ac", "acc", "er", "BaseResponseDto", "\u0275\u0275directiveInject", "AccreditationDataService", "AccreditationService", "DialogService", "SnackbarService", "UtilsService", "StorageService", "MatDialog", "LoggerService", "AppSettingsService", "GeneralSettingsService", "ChangeDetectorRef", "selectors", "viewQuery", "rf", "ctx", "AccreditationComponent_ng_container_1_Template", "AccreditationComponent_label_4_Template", "i0", "_r1", "stopPropagation", "AccreditationComponent_ng_container_12_Template", "PopupOnClick", "\u0275\u0275pureFunction2", "_c1", "accreditationDate_r6", "_AccreditationComponent", "\u0275\u0275elementStart", "\u0275\u0275text", "\u0275\u0275elementEnd", "\u0275\u0275property", "investingEntityType_r1", "\u0275\u0275advance", "\u0275\u0275textInterpolate1", "\u0275\u0275pipeBind2", "ctx_r1", "InvestingEntityType", "forbiddenNameCharacters", "join", "\u0275\u0275element", "pageForm", "initialLocationDetails", "addressFormSettings", "EditInvestingEntityDialogComponent", "OnDestroyMixin", "addressForm", "get", "constructor", "changeDetectorRef", "dialogRef", "data", "fb", "TerraUtils", "consts", "validators", "FORBIDDEN_CHARACTERS_IN_NAME", "today", "Date", "isSubmitted$", "BehaviorSubject", "AddressFormSettings", "undefined", "AddressFields", "None", "addPanelClass", "investingEntity", "useContactLocation", "investingEntityLocation", "contactLocationDetails", "ngOnInit", "generateForm", "handleToggleUseContactLocation", "populateForm", "markForCheck", "submit", "next", "markAllAsTouched", "valid", "model", "generateSubmitModel", "close", "group", "name", "Validators", "required", "minLength", "CustomValidators", "containsForbiddenCharacterValidator", "investingEntityType", "tin", "accountingExternalId", "accreditationDate", "remarks", "value", "disabled", "valueChanges", "subscribe", "Personal", "nameField", "contactFullName", "setValue", "entity", "patchValue", "forceUtcToLocal", "accreditation", "accreditedDate", "InvestingEntityReqRes", "id", "formValues", "getRawValue", "provider", "AccreditationProvider", "Manual", "forceUtc", "status", "AccreditationStatus", "Accredited", "accreditationRequire", "AccreditationDto", "loactionValue", "LocationDetailsResponse", "countryId", "stateName", "cityName", "streetName", "houseNumber", "postalCode", "pipe", "untilComponentDestroyed", "distinctUntilChanged", "disable", "enable", "updateValueAndValidity", "\u0275\u0275directiveInject", "ChangeDetectorRef", "MatDialogRef", "MAT_DIALOG_DATA", "UntypedFormBuilder", "selectors", "features", "\u0275\u0275InheritDefinitionFeature", "decls", "vars", "template", "rf", "ctx", "\u0275\u0275listener", "\u0275\u0275repeaterCreate", "EditInvestingEntityDialogComponent_For_12_Template", "\u0275\u0275repeaterTrackByIndex", "\u0275\u0275template", "EditInvestingEntityDialogComponent_Conditional_13_Template", "EditInvestingEntityDialogComponent_Conditional_19_Template", "EditInvestingEntityDialogComponent_Conditional_20_Template", "EditInvestingEntityDialogComponent_Conditional_21_Template", "EditInvestingEntityDialogComponent_Conditional_29_Template", "EditInvestingEntityDialogComponent_Conditional_35_Template", "$event", "stopPropagation", "EditInvestingEntityDialogComponent_Conditional_51_Template", "EditInvestingEntityDialogComponent_Conditional_57_Template", "\u0275\u0275repeater", "listAll", "\u0275\u0275conditional", "hasError", "invalid", "\u0275\u0275pipeBind1", "_EditInvestingEntityDialogComponent", "\u0275\u0275elementStart", "\u0275\u0275text", "\u0275\u0275elementEnd", "\u0275\u0275property", "ctx_r1", "getHoldinRoute", "investmentDetails_r1", "holdingId", "holdingDiscriminator", "\u0275\u0275sanitizeUrl", "\u0275\u0275advance", "\u0275\u0275textInterpolate", "holdingName", "\u0275\u0275repeaterCreate", "InvestingEntityWithRelatedInvestmentsHoldingWarningDialogComponent_For_15_div_3_For_4_Template", "\u0275\u0275repeaterTrackByIndex", "\u0275\u0275textInterpolate1", "type_r3", "\u0275\u0275repeater", "getRelevantInvestmentType", "entity_r4", "investmentsDetails", "\u0275\u0275template", "InvestingEntityWithRelatedInvestmentsHoldingWarningDialogComponent_For_15_div_3_Template", "\u0275\u0275pureFunction1", "_c0", "data", "length", "investingEntityName", "INVESTMENT_TYPE_ORDER", "InvestingEntityWithRelatedInvestmentsHoldingWarningDialogComponent", "constructor", "dialogRef", "appSettingService", "updateSize", "investmentType", "filter", "investment", "relatedType", "id", "holdingPath", "TerraUtils", "consts", "paths", "FUNDS", "ASSETS", "gpFrontEnvironmentAppBaseUrl", "\u0275\u0275directiveInject", "MatDialogRef", "MAT_DIALOG_DATA", "AppSettingsService", "selectors", "decls", "vars", "template", "rf", "ctx", "InvestingEntityWithRelatedInvestmentsHoldingWarningDialogComponent_For_15_Template", "_InvestingEntityWithRelatedInvestmentsHoldingWarningDialogComponent", "ContactReferrerReqRes", "\u0275\u0275elementStart", "\u0275\u0275text", "\u0275\u0275elementEnd", "\u0275\u0275advance", "\u0275\u0275textInterpolate1", "\u0275\u0275pipeBind1", "ctx_r1", "pageForm", "get", "errors", "maxlength", "\u0275\u0275listener", "\u0275\u0275restoreView", "_r1", "\u0275\u0275nextContext", "\u0275\u0275resetView", "submit", "\u0275\u0275element", "\u0275\u0275template", "InvestorContactReferrerDialogComponent_form_4_mat_error_7_Template", "InvestorContactReferrerDialogComponent_form_4_mat_error_8_Template", "InvestorContactReferrerDialogComponent_form_4_mat_error_9_Template", "\u0275\u0275property", "hasError", "ContactReferrerEditDialogContext", "constructor", "includeFindFeatureDirection", "contactReferrer", "InvestorContactReferrerDialogComponent", "dialogRef", "context", "fb", "isSubmitted$", "BehaviorSubject", "addPanelClass", "generateForm", "ngOnInit", "group", "name", "Validators", "required", "maxLength", "TerraUtils", "consts", "validators", "GENERAL_TEXT_LENGTH", "generateSubmitModel", "model", "ContactReferrerReqRes", "value", "id", "next", "valid", "close", "\u0275\u0275directiveInject", "MatDialogRef", "MAT_DIALOG_DATA", "UntypedFormBuilder", "selectors", "decls", "vars", "template", "rf", "ctx", "InvestorContactReferrerDialogComponent_form_4_Template", "InvestorContactReferrerDialogComponent_p_5_Template", "undefined", "_InvestorContactReferrerDialogComponent", "\u0275\u0275elementStart", "\u0275\u0275text", "\u0275\u0275elementEnd", "\u0275\u0275listener", "\u0275\u0275restoreView", "_r1", "i_r2", "\u0275\u0275nextContext", "index", "ctx_r2", "\u0275\u0275resetView", "emailsFormArray", "length", "removeEmail", "clearEmail", "\u0275\u0275element", "\u0275\u0275template", "AdditionalEmailsDialogComponent_div_7_mat_error_3_Template", "AdditionalEmailsDialogComponent_div_7_button_4_Template", "\u0275\u0275advance", "\u0275\u0275property", "emailControl_r4", "hasError", "value", "AdditionalEmailsDialogComponent", "pageForm", "get", "constructor", "dialogRef", "emails", "fb", "MAX_EMAILS_NUMBER", "addPanelClass", "ngOnInit", "generateForm", "populateForm", "addEmail", "email", "push", "UntypedFormControl", "CustomValidators", "EmailWithSpaces", "indexToRemove", "removeAt", "toString", "reset", "ok", "valid", "filter", "close", "group", "array", "forEach", "\u0275\u0275directiveInject", "MatDialogRef", "MAT_DIALOG_DATA", "UntypedFormBuilder", "selectors", "decls", "vars", "consts", "template", "rf", "ctx", "AdditionalEmailsDialogComponent_div_7_Template", "controls", "\u0275\u0275textInterpolate1", "undefined", "_AdditionalEmailsDialogComponent", "\u0275\u0275elementStart", "\u0275\u0275text", "\u0275\u0275elementEnd", "\u0275\u0275listener", "tag_r3", "\u0275\u0275restoreView", "_r2", "$implicit", "ctx_r3", "\u0275\u0275nextContext", "\u0275\u0275resetView", "removeTag", "emit", "\u0275\u0275template", "ContactTagsComponent_mat_chip_11_mat_icon_2_Template", "\u0275\u0275property", "\u0275\u0275advance", "\u0275\u0275textInterpolate1", "tag_r5", "tag_r7", "_r6", "selectStaticChip", "toLowerCase", "ContactTagsComponent_ng_container_19_div_1_mat_chip_4_Template", "commonTags_r8", "\u0275\u0275elementContainerStart", "ContactTagsComponent_ng_container_19_div_1_Template", "length", "ContactTagsComponent", "constructor", "toAutoCompleteTags", "EventEmitter", "addTagAsChip", "selectedTagFromAutocomplete", "separatorKeysCodes", "ENTER", "COMMA", "ngOnInit", "selectors", "inputs", "selectedContactTags", "filteredMostUsedTags", "tagsFromControl", "outputs", "ngContentSelectors", "_c0", "decls", "vars", "consts", "template", "rf", "ctx", "\u0275\u0275projection", "\u0275\u0275element", "ContactTagsComponent_mat_chip_11_Template", "$event", "i0", "_r1", "ContactTagsComponent_mat_option_16_Template", "ContactTagsComponent_mat_hint_18_Template", "ContactTagsComponent_ng_container_19_Template", "tagsAutocomplete_r10", "chipList_r9", "\u0275\u0275pipeBind1", "filteredTagsForAutocomplete$", "_ContactTagsComponent", "Contact", "constructor", "firstName", "lastName", "nickname", "contactTags", "Array", "checked", "InvestorContactReqRes", "Contact", "constructor", "middleName", "contactInvestingEntities", "Array", "isAgentContact", "isFamilyOffice", "createInitialState", "ui", "isUnsavedChanges", "isSaving", "isSubmitted", "activeTabIndex", "contact", "InvestorContactReqRes", "allContactReferrers", "ContactDialogStore", "_a", "Store", "constructor", "factory", "\u0275fac", "__decorate", "StoreConfig", "name", "ContactDialogQuery", "Query", "constructor", "store", "allState$", "select", "contact$", "s", "contact", "investingEntities$", "contactInvestingEntities", "allContactReferrers$", "allContactReferrers", "isUnsavedChanges$", "ui", "isUnsavedChanges", "isSaving$", "isSaving", "isSubmitted$", "isSubmitted", "\u0275\u0275inject", "ContactDialogStore", "factory", "\u0275fac", "_ContactDialogQuery", "InvestorContactDetailService", "OnDestroyMixin", "contactDetailsForm", "dialogForm", "get", "constructor", "logger", "store", "query", "contactDataService", "contactReferrerDataService", "fb", "dialog", "utilsService", "forbiddenNameCharacters", "TerraUtils", "consts", "validators", "FORBIDDEN_CHARACTERS_IN_NAME", "_isGeneralServerError$", "BehaviorSubject", "isGeneralServerError$", "pipe", "shareReplay", "generalServerErrorMessage$", "contactDetails$", "contact$", "contactTagsResponse$", "getContactTags", "allTags$", "map", "response", "tags", "tagIdAndLabel", "value", "mostUsedTags$", "mostUsedTags", "tagWithCount", "key", "generateForm", "initContactReferrersListForFilter", "initializeDialogForCreateMode", "update", "state", "__spreadProps", "__spreadValues", "contact", "InvestorContactReqRes", "raiseFlagWhenUnsavedChanges", "initialDialogForEditMode", "contactId", "setLoading", "getById", "untilComponentDestroyed", "tap", "setContactInState", "populateForm", "catchError", "error", "showErrorAlertDialog", "throwError", "subscribe", "save", "setIsSubmitted", "next", "validateAllFormFields", "valid", "setIsSaving", "take", "contactDetails", "generateSubmitModel", "id", "contactTags", "contactInvestingEntities", "switchMap", "model", "create", "responseStatus", "BaseResponseStatus", "Notice", "data", "openInvestingEntityWithRelatedInvestmentsHoldingDialog", "alertErrorMessage", "ErrorMatcher", "isError", "ErrorType", "AlreadyExistsException", "messages", "GENERAL_SUBMIT_ERROR_WITH_LINK", "of", "updateTabIndex", "tabIndex", "ui", "activeTabIndex", "addContactTag", "tag", "replace", "trim", "toLowerCase", "isAllowedToAddThisTag", "arrayAdd", "setChangesMade", "removeContactTag", "arrayRemove", "t", "addInvestingEntity", "investingEntity", "updateInvestingEntity", "investingEntityToEdit", "arrayUpdate", "ie", "deleteInvestingEntity", "openInvestingEntityDialogInEditMode", "openInvestingEntityDialogCreateOrEdit", "openInvstingEntityDialogByIdInEditMode", "investingEntityId", "select", "find", "filter", "openCreateInvestingEntityDialog", "isEdit", "dialogConfig", "MatDialogConfig", "viewContainerRef", "contactLocationDetails", "contactLocation", "contactFullName", "getContactFullName", "open", "EditInvestingEntityDialogComponent", "afterClosed", "addContactReferrer", "contactReferrer", "createdContactReferrer", "allContactReferrers", "contactReferrerControl", "setValue", "markAsDirty", "updateValueAndValidity", "group", "firstName", "Validators", "compose", "required", "maxLength", "FIRSTNAME_LENGTH", "CustomValidators", "containsForbiddenCharacterValidator", "lastName", "LASTNAME_LENGTH", "middleName", "email", "EmailWithSpaces", "additionalEmails", "phone", "PHONE_MAX_LENGTH", "personalRemarks", "GENERAL_TEXT_LENGTH", "contactTagsTerm", "contactReferrerId", "isFamilyOffice", "accreditationDate", "patchValue", "address", "street2Name", "width", "disableClose", "closeOnNavigation", "autoFocus", "panelClass", "title", "description", "actionLabel", "AlertDialogComponent", "selectedContactTags", "investingEntities", "formValues", "forceUtc", "accreditation", "provider", "AccreditationProvider", "Manual", "accreditedDate", "status", "AccreditationStatus", "Accredited", "accreditationRequire", "AccreditationDto", "valueChanges", "dirty", "isDirty", "getAll", "allReferrers", "timer", "x", "isUnsavedChanges", "isSaving", "isSubmitted", "isTagAlreadyExists", "getValue", "length", "investingEntityWithRelatedInvestmentsHolding", "InvestingEntityWithRelatedInvestmentsHoldingWarningDialogComponent", "\u0275\u0275inject", "LoggerService", "ContactDialogStore", "ContactDialogQuery", "ContactDataService", "ContactReferrerDataService", "UntypedFormBuilder", "MatDialog", "UtilsService", "factory", "\u0275fac", "_InvestorContactDetailService", "\u0275\u0275elementStart", "\u0275\u0275text", "\u0275\u0275elementEnd", "\u0275\u0275advance", "\u0275\u0275textInterpolate1", "ctx_r1", "forbiddenNameCharacters", "join", "TerraUtils", "consts", "validators", "PHONE_MAX_LENGTH", "\u0275\u0275elementContainerStart", "\u0275\u0275element", "\u0275\u0275property", "pageForm", "get", "\u0275\u0275textInterpolate", "email_r4", "\u0275\u0275template", "InvestorContactDetailsTabComponent_ng_container_0_div_57_ul_1_li_1_Template", "additionalEmails_r5", "\u0275\u0275listener", "\u0275\u0275restoreView", "_r3", "\u0275\u0275nextContext", "\u0275\u0275resetView", "additionalEmailsEdit", "InvestorContactDetailsTabComponent_ng_container_0_div_57_ul_1_Template", "InvestorContactDetailsTabComponent_ng_container_0_div_57_ng_template_2_Template", "\u0275\u0275templateRefExtractor", "length", "addMoreIcon_r6", "contactReferrer_r7", "id", "\u0275\u0275pipeBind3", "name", "\u0275\u0275pipeBind1", "isSubmitted$", "InvestorContactDetailsTabComponent_ng_container_0_div_1_Template", "InvestorContactDetailsTabComponent_ng_container_0_mat_error_12_Template", "InvestorContactDetailsTabComponent_ng_container_0_mat_error_13_Template", "InvestorContactDetailsTabComponent_ng_container_0_mat_error_14_Template", "InvestorContactDetailsTabComponent_ng_container_0_mat_error_20_Template", "InvestorContactDetailsTabComponent_ng_container_0_mat_error_21_Template", "InvestorContactDetailsTabComponent_ng_container_0_mat_error_27_Template", "InvestorContactDetailsTabComponent_ng_container_0_mat_error_28_Template", "InvestorContactDetailsTabComponent_ng_container_0_mat_error_29_Template", "InvestorContactDetailsTabComponent_ng_container_0_mat_error_36_Template", "InvestorContactDetailsTabComponent_ng_container_0_mat_error_37_Template", "InvestorContactDetailsTabComponent_ng_container_0_mat_error_43_Template", "InvestorContactDetailsTabComponent_ng_container_0_mat_error_44_Template", "InvestorContactDetailsTabComponent_ng_container_0_ng_container_50_Template", "InvestorContactDetailsTabComponent_ng_container_0_div_57_Template", "InvestorContactDetailsTabComponent_ng_container_0_mat_option_69_Template", "_r1", "addContactReferrerDialog", "$event", "addTagAsChip", "removeTag", "selectedTagFromAutocomplete", "selectStaticChip", "i0", "stopPropagation", "InvestorContactDetailsTabComponent_ng_container_0_terra_google_map_search_input_90_Template", "vm_r8", "contactDetails", "isConnectedToActiveAssets", "hasError", "isLoadingDataContact$", "tmp_17_0", "additionalEmails$", "allContactReferrers$", "filteredMostUsedTags$", "selectedContactTags$", "undefined", "displayAddress$", "InvestorContactDetailsTabComponent", "OnDestroyMixin", "contactTagsTermInput", "constructor", "query", "contactDetailService", "dialog", "utilsService", "today", "Date", "separatorKeysCodes", "ENTER", "COMMA", "defaultCommonTags", "tinTooltip", "contactDetailsForm", "contactDetails$", "contact$", "selectLoading", "isSaving$", "BehaviorSubject", "addressFormSettings", "AddressFormSettings", "AddressFields", "Country", "allTags$", "pipe", "map", "tags", "mostUsedTags$", "mostUsedTags", "contact", "contactTags", "combineLatest", "startWith", "selectedTags", "filter", "tag", "find", "t", "shareReplay", "valueChanges", "ngOnInit", "initializeTagsAutocomplete", "next", "event", "input", "value", "addContactTag", "clearContactTagsTermInput", "option", "viewValue", "removeContactTag", "conutryTrackByFn", "index", "item", "dialogConfig", "MatDialogConfig", "data", "ContactReferrerEditDialogContext", "includeFindFeatureDirection", "open", "InvestorContactReferrerDialogComponent", "afterClosed", "untilComponentDestroyed", "contactReferrer", "switchMap", "addContactReferrer", "subscribe", "error", "BaseResponseDto", "alertErrorMessage", "additionalEmailsControl", "config", "AdditionalEmailsDialogComponent", "result", "emails", "setValue", "markAsDirty", "updateValueAndValidity", "filteredTagsForAutocomplete$", "term", "of", "filterTerm", "allTags", "unselectedTags", "indexOf", "toLowerCase", "\u0275\u0275directiveInject", "ContactDialogQuery", "InvestorContactDetailService", "MatDialog", "UtilsService", "selectors", "viewQuery", "rf", "ctx", "InvestorContactDetailsTabComponent_ng_container_0_Template", "\u0275\u0275pureFunction1", "_c1", "_InvestorContactDetailsTabComponent", "import_memo_decorator", "ReportStatus", "\u0275\u0275elementContainerStart", "\u0275\u0275text", "\u0275\u0275advance", "\u0275\u0275textInterpolate1", "investingEntity_r1", "name", "nickname", "\u0275\u0275elementStart", "\u0275\u0275template", "InvestingEntityViewDialogComponent_h1_1_ng_container_2_Template", "InvestingEntityViewDialogComponent_h1_1_ng_container_4_Template", "\u0275\u0275elementEnd", "\u0275\u0275property", "\u0275\u0275pipeBind1", "ctx_r1", "allowInvestorName$", "investingEntity_r3", "\u0275\u0275textInterpolate", "tin", "accountingExternalId", "locationString_r4", "InvestingEntityViewDialogComponent_ng_container_4_span_33_ng_container_1_Template", "InvestingEntityViewDialogComponent_ng_container_4_span_33_ng_template_2_Template", "\u0275\u0275templateRefExtractor", "getFormattedAddress", "contact", "contactLocation", "contactLocationNotDefined_r5", "investingEntityLocation", "InvestingEntityViewDialogComponent_ng_container_4_ng_template_34_span_0_Template", "InvestingEntityViewDialogComponent_ng_container_4_ng_template_34_span_1_Template", "investingEntityLocationId", "remarks", "InvestingEntityViewDialogComponent_ng_container_4_ng_container_7_Template", "InvestingEntityViewDialogComponent_ng_container_4_ng_container_9_Template", "InvestingEntityViewDialogComponent_ng_container_4_li_17_Template", "InvestingEntityViewDialogComponent_ng_container_4_li_18_Template", "InvestingEntityViewDialogComponent_ng_container_4_span_33_Template", "InvestingEntityViewDialogComponent_ng_container_4_ng_template_34_Template", "InvestingEntityViewDialogComponent_ng_container_4_section_36_Template", "\u0275\u0275pipeBind2", "investingEntityType", "InvestingEntityType", "\u0275\u0275pureFunction2", "_c0", "isAccredited$", "tmp_9_0", "accreditationDate$", "undefined", "useContactLocation", "ieLocation_r6", "\u0275\u0275listener", "\u0275\u0275restoreView", "_r7", "\u0275\u0275nextContext", "\u0275\u0275resetView", "filterContributionsByStatus", "ReportStatus", "Active", "Archived", "Declined", "\u0275\u0275classProp", "selectedStatus_r8", "element_r9", "holdingName", "\u0275\u0275element", "element_r10", "date", "element_r11", "status", "HoldingStatus", "\u0275\u0275textInterpolate2", "element_r12", "currencySymbol", "amountInvested", "InvestingEntityViewDialogComponent_section_6_table_5_th_2_Template", "InvestingEntityViewDialogComponent_section_6_table_5_td_3_Template", "InvestingEntityViewDialogComponent_section_6_table_5_th_5_Template", "InvestingEntityViewDialogComponent_section_6_table_5_td_6_Template", "InvestingEntityViewDialogComponent_section_6_table_5_th_8_Template", "InvestingEntityViewDialogComponent_section_6_table_5_td_9_Template", "InvestingEntityViewDialogComponent_section_6_table_5_th_11_Template", "InvestingEntityViewDialogComponent_section_6_table_5_td_12_Template", "InvestingEntityViewDialogComponent_section_6_table_5_tr_13_Template", "InvestingEntityViewDialogComponent_section_6_table_5_tr_14_Template", "contributionsReport_r13", "contributionsReportDisplayedColumns", "InvestingEntityViewDialogComponent_section_6_div_3_Template", "InvestingEntityViewDialogComponent_section_6_table_5_Template", "InvestingEntityViewDialogComponent_section_6_div_7_Template", "contributionsReportStatusFilter$", "isLoading$", "length", "element_r14", "element_r15", "element_r16", "element_r17", "amountPerCurrency", "InvestingEntityViewDialogComponent_section_10_table_3_th_2_Template", "InvestingEntityViewDialogComponent_section_10_table_3_td_3_Template", "InvestingEntityViewDialogComponent_section_10_table_3_th_5_Template", "InvestingEntityViewDialogComponent_section_10_table_3_td_6_Template", "InvestingEntityViewDialogComponent_section_10_table_3_th_8_Template", "InvestingEntityViewDialogComponent_section_10_table_3_td_9_Template", "InvestingEntityViewDialogComponent_section_10_table_3_th_11_Template", "InvestingEntityViewDialogComponent_section_10_table_3_td_12_Template", "InvestingEntityViewDialogComponent_section_10_table_3_tr_13_Template", "InvestingEntityViewDialogComponent_section_10_table_3_tr_14_Template", "distributionsReport_r18", "distributionsReportDisplayedColumns", "InvestingEntityViewDialogComponent_section_10_h2_1_Template", "InvestingEntityViewDialogComponent_section_10_table_3_Template", "InvestingEntityViewDialogComponent_section_10_div_5_Template", "InvestingEntityViewDialogComponent", "constructor", "context", "dialogRef", "gpInvestingEntityDataService", "utilsService", "permissionService", "isLoadingInvestingEntityDetails$", "BehaviorSubject", "investingEntity$", "getById", "investingEntityId", "pipe", "tap", "_", "next", "catchError", "error", "throwError", "shareReplay", "isLoadingContributionsReport$", "contributionsReport$", "switchMap", "getContributionsReport", "distributionsReportStatusFilter$", "isLoadingDistributionsReport$", "distributionsReport$", "getDistributionsReport", "combineLatest", "map", "isLoadingInvestingEntityDetails", "isLoadingContributionsReport", "ie", "accreditation", "AccreditationStatus", "Accredited", "addPanelClass", "ngOnInit", "TerraUtils", "forceUtcToLocal", "accreditedDate", "location", "filterDistributionsByStatus", "\u0275\u0275directiveInject", "MAT_DIALOG_DATA", "MatDialogRef", "GpInvestingEntityDataService", "UtilsService", "PermissionService", "selectors", "decls", "vars", "consts", "template", "rf", "ctx", "InvestingEntityViewDialogComponent_h1_1_Template", "InvestingEntityViewDialogComponent_ng_container_4_Template", "InvestingEntityViewDialogComponent_section_6_Template", "InvestingEntityViewDialogComponent_terra_loader_8_Template", "InvestingEntityViewDialogComponent_section_10_Template", "_InvestingEntityViewDialogComponent", "__decorate", "memo", "\u0275\u0275elementStart", "\u0275\u0275text", "\u0275\u0275elementEnd", "\u0275\u0275elementContainerStart", "\u0275\u0275advance", "\u0275\u0275textInterpolate1", "element_r1", "name", "nickname", "\u0275\u0275template", "InvestorContactInvestingEntitiesTabComponent_td_9_ng_container_1_Template", "InvestorContactInvestingEntitiesTabComponent_td_9_ng_container_3_Template", "\u0275\u0275property", "\u0275\u0275pipeBind1", "ctx_r1", "allowInvestorName$", "\u0275\u0275pipeBind2", "element_r3", "investingEntityType", "InvestingEntityType", "element_r4", "tin", "element_r5", "remarks", "length", "element_r6", "accountingExternalId", "\u0275\u0275element", "\u0275\u0275listener", "$event", "\u0275\u0275restoreView", "_r9", "element_r8", "\u0275\u0275nextContext", "$implicit", "viewInvestingEntity", "id", "\u0275\u0275resetView", "stopPropagation", "_r10", "delete", "_r7", "addBankAccount", "InvestorContactInvestingEntitiesTabComponent_td_24_button_5_Template", "openEditInvestingEntityDialog", "InvestorContactInvestingEntitiesTabComponent_td_24_button_9_Template", "isAgentContact", "row_r12", "_r11", "InvestorContactInvestingEntitiesTabComponent", "OnDestroyMixin", "constructor", "viewContainerRef", "permissionService", "query", "contactDetailService", "dialog", "dialogService", "snackbarService", "investingEntities$", "displayedColumns", "ngOnInit", "openCreateInvestingEntityDialog", "investingEntityToEdit", "openInvestingEntityDialogInEditMode", "investingEntityId", "config", "MatDialogConfig", "data", "open", "InvestingEntityViewDialogComponent", "investingEntity", "pipe", "untilComponentDestroyed", "take", "tap", "investingEntities", "alertDialog", "title", "description", "filter", "switchMap", "x", "confirmDialog", "actionLabel", "afterClosed", "subscribe", "isConfirmed", "deleteInvestingEntity", "dialogConfig", "disableClose", "closeOnNavigation", "autoFocus", "panelClass", "width", "EditBankAccountComponent", "res", "message", "holderFullName", "showGeneralMessage", "\u0275\u0275directiveInject", "ViewContainerRef", "PermissionService", "ContactDialogQuery", "InvestorContactDetailService", "MatDialog", "DialogService", "SnackbarService", "selectors", "inputs", "features", "\u0275\u0275InheritDefinitionFeature", "decls", "vars", "consts", "template", "rf", "ctx", "InvestorContactInvestingEntitiesTabComponent_th_8_Template", "InvestorContactInvestingEntitiesTabComponent_td_9_Template", "InvestorContactInvestingEntitiesTabComponent_th_11_Template", "InvestorContactInvestingEntitiesTabComponent_td_12_Template", "InvestorContactInvestingEntitiesTabComponent_th_14_Template", "InvestorContactInvestingEntitiesTabComponent_td_15_Template", "InvestorContactInvestingEntitiesTabComponent_th_17_Template", "InvestorContactInvestingEntitiesTabComponent_td_18_Template", "InvestorContactInvestingEntitiesTabComponent_th_20_Template", "InvestorContactInvestingEntitiesTabComponent_td_21_Template", "InvestorContactInvestingEntitiesTabComponent_th_23_Template", "InvestorContactInvestingEntitiesTabComponent_td_24_Template", "InvestorContactInvestingEntitiesTabComponent_tr_25_Template", "InvestorContactInvestingEntitiesTabComponent_tr_26_Template", "_InvestorContactInvestingEntitiesTabComponent", "\u0275\u0275element", "\u0275\u0275elementContainerStart", "\u0275\u0275text", "\u0275\u0275advance", "\u0275\u0275textInterpolate1", "ctx_r2", "getContactFullName", "headerModel_r2", "contactDetails", "\u0275\u0275elementStart", "\u0275\u0275template", "InvestorContactDialogComponent_h1_3_ng_container_1_Template", "InvestorContactDialogComponent_h1_3_ng_container_2_Template", "\u0275\u0275elementEnd", "\u0275\u0275property", "isEditMode", "InvestorContactDialogComponent_ng_template_11_mat_chip_grid_3_Template", "\u0275\u0275classProp", "formRef_r4", "submitted", "dialogForm", "tmp_3_0", "get", "valid", "tmp_4_0", "\u0275\u0275pipeBind1", "generalServerErrorMessage$", "\u0275\u0275sanitizeHtml", "InvestorContactDialogComponent_div_24_p_1_Template", "InvestorContactDialogComponent_div_24_p_2_Template", "invalid", "isGeneralServerError$", "InvestorContactDialogComponent", "DialogWithFormBase", "constructor", "viewContainerRef", "query", "dialogRef", "context", "contactDetailService", "tabIndex$", "select", "state", "ui", "activeTabIndex", "contactDetails$", "isLoadingContactData$", "selectLoading", "isSubmitted$", "isSaving$", "isUnsavedChanges$", "displayLoader$", "combineLatest", "pipe", "map", "isLoadingData", "isSaving", "distinctUntilChanged", "shareReplay", "isSaveButtonDisabled$", "isUnsavedChanges", "displayLoader", "addPanelClass", "contactId", "initialDialogForEditMode", "initializeDialogForCreateMode", "ngOnInit", "investingEntityId", "updateTabIndex", "openInvstingEntityDialogByIdInEditMode", "save", "untilComponentDestroyed", "subscribe", "response", "close", "contact", "TerraUtils", "\u0275\u0275directiveInject", "ViewContainerRef", "ContactDialogQuery", "MatDialogRef", "MAT_DIALOG_DATA", "InvestorContactDetailService", "selectors", "features", "\u0275\u0275ProvidersFeature", "ContactDialogStore", "\u0275\u0275InheritDefinitionFeature", "decls", "vars", "consts", "template", "rf", "ctx", "InvestorContactDialogComponent_terra_loader_0_Template", "InvestorContactDialogComponent_h1_3_Template", "InvestorContactDialogComponent_ng_template_11_Template", "InvestorContactDialogComponent_ng_template_14_Template", "\u0275\u0275listener", "i0", "\u0275\u0275restoreView", "_r1", "\u0275\u0275resetView", "InvestorContactDialogComponent_div_24_Template", "\u0275\u0275pureFunction1", "_c0", "_c1", "isAgentContact", "undefined", "enterAnimation", "changeDetection", "_InvestorContactDialogComponent"] }