blob: e5c1b26d134e2edccd68ccff6e90abdd9e6b9209 [file] [log] [blame]
/********************************************************************************
* Copyright (c) 2020 Contributors to the Eclipse Foundation
*
* See the NOTICE file(s) distributed with this work for additional
* information regarding copyright ownership.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v. 2.0 which is available at
* http://www.eclipse.org/legal/epl-2.0.
*
* SPDX-License-Identifier: EPL-2.0
********************************************************************************/
import { ExternalPersonDetailsSandBox } from '@pages/persons/external-person/external-person-details/external-person-details.sandbox';
import { Component, OnInit, Input } from '@angular/core';
@Component({
selector: 'app-external-person-address-details',
templateUrl: './address-details.component.html',
styleUrls: ['./address-details.component.scss']
})
export class ExternalPersonAddressDetailsComponent implements OnInit {
@Input() createOrEditAddressData: string;
constructor(
public externalPersonDetailsSandbox: ExternalPersonDetailsSandBox,
) { }
ngOnInit() {
this.externalPersonDetailsSandbox.registerAddressEvents();
this.externalPersonDetailsSandbox.clearAddressData();
}
}