/** * Copyright since 2025 Mifos Initiative * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ import { Component, inject } from '@angular/core'; import { MatDialogRef, MAT_DIALOG_DATA, MatDialogTitle, MatDialogActions } from '@angular/material/dialog'; import { MatIcon } from '@angular/material/icon'; import { MatButton } from '@angular/material/button'; /** * Confirmation popup shown right after a family member is added — surfaces the linked * client's own CBS Client ID (when the member was linked to an existing client rather than * entered manually) alongside name/relationship, since the "Add Member" dialog itself just * closed silently before this with no acknowledgement of what got recorded. */ @Component({ selector: 'mifosx-family-member-added-dialog', imports: [ MatDialogTitle, MatDialogActions, MatIcon, MatButton ], template: `