2021-09-21 02:48:36 +02:00
|
|
|
import { Component, Input } from "@angular/core";
|
|
|
|
|
2022-06-14 17:10:53 +02:00
|
|
|
import { AddEditCustomFieldsComponent as BaseAddEditCustomFieldsComponent } from "@bitwarden/angular/components/add-edit-custom-fields.component";
|
|
|
|
import { EventService } from "@bitwarden/common/abstractions/event.service";
|
|
|
|
import { I18nService } from "@bitwarden/common/abstractions/i18n.service";
|
2021-09-21 02:48:36 +02:00
|
|
|
|
|
|
|
@Component({
|
|
|
|
selector: "app-vault-add-edit-custom-fields",
|
|
|
|
templateUrl: "add-edit-custom-fields.component.html",
|
|
|
|
})
|
|
|
|
export class AddEditCustomFieldsComponent extends BaseAddEditCustomFieldsComponent {
|
|
|
|
@Input() viewOnly: boolean;
|
|
|
|
@Input() copy: (value: string, typeI18nKey: string, aType: string) => void;
|
|
|
|
|
|
|
|
constructor(i18nService: I18nService, eventService: EventService) {
|
|
|
|
super(i18nService, eventService);
|
|
|
|
}
|
|
|
|
}
|