WEB-602 Use the env var for hidding client data information MIFOS_COMPLIANCE_HIDE_CLIENT_DATA and it is enabled to true the display name must be hidden using * characters for replacing the letters. (#3017)

This commit is contained in:
Soni Jay
2026-01-20 03:28:04 -06:00
committed by GitHub
parent 9b041438c8
commit 64fc45d83e
6 changed files with 87 additions and 16 deletions
@@ -7,7 +7,7 @@
-->
<span (mouseenter)="mouseEnter()" (mouseleave)="mouseLeave()">
@if (displayL && iconVisible) {
@if (displayL && iconVisible && !hideCopy) {
<span class="m-l-5" (click)="copyValue()"
><b><fa-icon icon="copy" size="sm" title="{{ 'labels.text.Copy Account Number' | translate }}"></fa-icon></b
></span>
@@ -15,7 +15,7 @@
<span class="m-l-5"
><b>{{ entityName }}</b></span
>
@if (displayR && iconVisible) {
@if (displayR && iconVisible && !hideCopy) {
<span class="m-l-3" (click)="copyValue()"
><b><fa-icon icon="copy" size="sm" title="{{ 'labels.text.Copy Account Number' | translate }}"></fa-icon></b
></span>
@@ -25,6 +25,7 @@ export class EntityNameComponent implements OnInit {
@Input() entityName: string;
@Input() display = 'right';
@Input() hideCopy = false;
iconVisible = false;
displayL = false;
@@ -36,7 +37,9 @@ export class EntityNameComponent implements OnInit {
}
copyValue(): void {
this.clipboard.copy(this.entityName);
if (!this.hideCopy) {
this.clipboard.copy(this.entityName);
}
}
mouseEnter() {
@@ -8,7 +8,7 @@
@if (!emptyValue) {
<span (mouseenter)="mouseEnter()" (mouseleave)="mouseLeave()">
@if (displayL && iconVisible) {
@if (displayL && iconVisible && !hideCopy) {
<span (click)="copyValue()"><fa-icon icon="copy" size="sm" title="Copy External Id"></fa-icon></span>
}
@if (displayL && !completed && iconVisible && isLongValue()) {
@@ -23,7 +23,7 @@
@if (displayR && !completed && iconVisible && isLongValue()) {
<span class="m-l-5" (click)="showValue()"><fa-icon icon="eye" size="sm" [title]="externalId"></fa-icon></span>
}
@if (displayR && iconVisible) {
@if (displayR && iconVisible && !hideCopy) {
<span class="m-l-3" (click)="copyValue()"
><fa-icon icon="copy" size="sm" title="Copy External Id"></fa-icon
></span>
@@ -30,6 +30,7 @@ export class ExternalIdentifierComponent implements OnInit {
@Input() externalId: string;
@Input() completed = false;
@Input() display = 'right';
@Input() hideCopy = false;
iconVisible = false;
displayL = false;
@@ -54,8 +55,10 @@ export class ExternalIdentifierComponent implements OnInit {
}
copyValue(): void {
this.clipboard.copy(this.externalId);
this.alertService.alert({ type: 'Clipboard', message: 'Copied: ' + this.externalId });
if (!this.hideCopy) {
this.clipboard.copy(this.externalId);
this.alertService.alert({ type: 'Clipboard', message: 'Copied: ' + this.externalId });
}
}
mouseEnter() {