mirror of
https://github.com/bitwarden/browser
synced 2025-01-01 20:57:53 +01:00
19 lines
779 B
TypeScript
19 lines
779 B
TypeScript
import { Component, Input } from "@angular/core";
|
|
|
|
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";
|
|
|
|
@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);
|
|
}
|
|
}
|