mirror of
https://github.com/bitwarden/browser
synced 2025-01-08 00:17:06 +01:00
25 lines
794 B
TypeScript
25 lines
794 B
TypeScript
|
import {
|
||
|
Component,
|
||
|
Input,
|
||
|
} from '@angular/core';
|
||
|
|
||
|
import {
|
||
|
AddEditCustomFieldsComponent as BaseAddEditCustomFieldsComponent
|
||
|
} from 'jslib-angular/components/add-edit-custom-fields.component';
|
||
|
|
||
|
import { I18nService } from 'jslib-common/abstractions/i18n.service';
|
||
|
import { EventService } from 'jslib-common/abstractions/event.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);
|
||
|
}
|
||
|
}
|