mirror of
https://github.com/bitwarden/browser.git
synced 2024-12-21 16:18:28 +01:00
[PM-1915] Remove selector for all dialogs (#5257)
This commit is contained in:
parent
7ed0a4bbf2
commit
f37ff09e10
@ -59,7 +59,6 @@ export enum MemberDialogResult {
|
||||
}
|
||||
|
||||
@Component({
|
||||
selector: "app-member-dialog",
|
||||
templateUrl: "member-dialog.component.html",
|
||||
})
|
||||
export class MemberDialogComponent implements OnInit, OnDestroy {
|
||||
|
@ -46,7 +46,6 @@ export enum CollectionDialogResult {
|
||||
}
|
||||
|
||||
@Component({
|
||||
selector: "app-collection-dialog",
|
||||
templateUrl: "collection-dialog.component.html",
|
||||
})
|
||||
export class CollectionDialogComponent implements OnInit, OnDestroy {
|
||||
|
@ -12,7 +12,6 @@ export interface ResultList {
|
||||
}
|
||||
|
||||
@Component({
|
||||
selector: "app-import-success-dialog",
|
||||
templateUrl: "./import-success-dialog.component.html",
|
||||
})
|
||||
export class ImportSuccessDialogComponent implements OnInit {
|
||||
|
@ -38,7 +38,6 @@ export const openBulkDeleteDialog = (
|
||||
};
|
||||
|
||||
@Component({
|
||||
selector: "vault-bulk-delete-dialog",
|
||||
templateUrl: "bulk-delete-dialog.component.html",
|
||||
})
|
||||
export class BulkDeleteDialogComponent {
|
||||
|
@ -35,7 +35,6 @@ export const openBulkMoveDialog = (
|
||||
};
|
||||
|
||||
@Component({
|
||||
selector: "vault-bulk-move-dialog",
|
||||
templateUrl: "bulk-move-dialog.component.html",
|
||||
})
|
||||
export class BulkMoveDialogComponent implements OnInit {
|
||||
|
@ -31,7 +31,6 @@ export const openBulkRestoreDialog = (
|
||||
};
|
||||
|
||||
@Component({
|
||||
selector: "vault-bulk-restore-dialog",
|
||||
templateUrl: "bulk-restore-dialog.component.html",
|
||||
})
|
||||
export class BulkRestoreDialogComponent {
|
||||
|
@ -39,7 +39,6 @@ export const openBulkShareDialog = (
|
||||
};
|
||||
|
||||
@Component({
|
||||
selector: "vault-bulk-share-dialog",
|
||||
templateUrl: "bulk-share-dialog.component.html",
|
||||
})
|
||||
export class BulkShareDialogComponent implements OnInit {
|
||||
|
@ -24,7 +24,6 @@ export interface DomainAddEditDialogData {
|
||||
}
|
||||
|
||||
@Component({
|
||||
selector: "app-domain-add-edit-dialog",
|
||||
templateUrl: "domain-add-edit-dialog.component.html",
|
||||
})
|
||||
export class DomainAddEditDialogComponent implements OnInit, OnDestroy {
|
||||
|
@ -25,7 +25,6 @@ export interface ProjectDeleteOperation {
|
||||
}
|
||||
|
||||
@Component({
|
||||
selector: "sm-project-delete-dialog",
|
||||
templateUrl: "./project-delete-dialog.component.html",
|
||||
})
|
||||
export class ProjectDeleteDialogComponent implements OnInit {
|
||||
|
@ -21,7 +21,6 @@ export interface ProjectOperation {
|
||||
}
|
||||
|
||||
@Component({
|
||||
selector: "sm-project-dialog",
|
||||
templateUrl: "./project-dialog.component.html",
|
||||
})
|
||||
export class ProjectDialogComponent implements OnInit {
|
||||
|
@ -18,7 +18,6 @@ export interface SecretDeleteOperation {
|
||||
}
|
||||
|
||||
@Component({
|
||||
selector: "sm-secret-delete-dialog",
|
||||
templateUrl: "./secret-delete.component.html",
|
||||
})
|
||||
export class SecretDeleteDialogComponent {
|
||||
|
@ -32,7 +32,6 @@ export interface SecretOperation {
|
||||
}
|
||||
|
||||
@Component({
|
||||
selector: "sm-secret-dialog",
|
||||
templateUrl: "./secret-dialog.component.html",
|
||||
})
|
||||
export class SecretDialogComponent implements OnInit {
|
||||
|
@ -16,7 +16,6 @@ export interface AccessTokenOperation {
|
||||
}
|
||||
|
||||
@Component({
|
||||
selector: "sm-access-token-create-dialog",
|
||||
templateUrl: "./access-token-create-dialog.component.html",
|
||||
})
|
||||
export class AccessTokenCreateDialogComponent implements OnInit {
|
||||
|
@ -11,7 +11,6 @@ export interface AccessTokenDetails {
|
||||
}
|
||||
|
||||
@Component({
|
||||
selector: "sm-access-token-dialog",
|
||||
templateUrl: "./access-token-dialog.component.html",
|
||||
})
|
||||
export class AccessTokenDialogComponent implements OnInit {
|
||||
|
@ -25,7 +25,6 @@ export interface ServiceAccountDeleteOperation {
|
||||
}
|
||||
|
||||
@Component({
|
||||
selector: "sm-service-account-delete-dialog",
|
||||
templateUrl: "./service-account-delete-dialog.component.html",
|
||||
})
|
||||
export class ServiceAccountDeleteDialogComponent {
|
||||
|
@ -20,7 +20,6 @@ export interface ServiceAccountOperation {
|
||||
}
|
||||
|
||||
@Component({
|
||||
selector: "sm-service-account-dialog",
|
||||
templateUrl: "./service-account-dialog.component.html",
|
||||
})
|
||||
export class ServiceAccountDialogComponent {
|
||||
|
@ -11,7 +11,6 @@ export interface SecretsManagerImportErrorDialogOperation {
|
||||
}
|
||||
|
||||
@Component({
|
||||
selector: "sm-import-error-dialog",
|
||||
templateUrl: "./sm-import-error-dialog.component.html",
|
||||
})
|
||||
export class SecretsManagerImportErrorDialogComponent {
|
||||
|
@ -15,7 +15,6 @@ export interface AccessRemovalDetails {
|
||||
}
|
||||
|
||||
@Component({
|
||||
selector: "sm-access-removal-dialog",
|
||||
templateUrl: "./access-removal-dialog.component.html",
|
||||
})
|
||||
export class AccessRemovalDialogComponent implements OnInit {
|
||||
|
@ -16,7 +16,6 @@ export class BulkOperationStatus {
|
||||
}
|
||||
|
||||
@Component({
|
||||
selector: "sm-bulk-status-dialog",
|
||||
templateUrl: "./bulk-status-dialog.component.html",
|
||||
})
|
||||
export class BulkStatusDialogComponent implements OnInit {
|
||||
|
@ -12,7 +12,6 @@ export interface SecretHardDeleteOperation {
|
||||
}
|
||||
|
||||
@Component({
|
||||
selector: "sm-secret-hard-delete-dialog",
|
||||
templateUrl: "./secret-hard-delete.component.html",
|
||||
})
|
||||
export class SecretHardDeleteDialogComponent {
|
||||
|
@ -12,7 +12,6 @@ export interface SecretRestoreOperation {
|
||||
}
|
||||
|
||||
@Component({
|
||||
selector: "sm-secret-restore-dialog",
|
||||
templateUrl: "./secret-restore.component.html",
|
||||
})
|
||||
export class SecretRestoreDialogComponent {
|
||||
|
@ -19,7 +19,6 @@ interface Animal {
|
||||
}
|
||||
|
||||
@Component({
|
||||
selector: "app-story-dialog",
|
||||
template: `<button bitButton (click)="openDialog()">Open Dialog</button>`,
|
||||
})
|
||||
class StoryDialogComponent {
|
||||
@ -35,7 +34,6 @@ class StoryDialogComponent {
|
||||
}
|
||||
|
||||
@Component({
|
||||
selector: "story-dialog-content",
|
||||
template: `
|
||||
<bit-dialog dialogSize="large">
|
||||
<span bitDialogTitle>Dialog Title</span>
|
||||
|
@ -25,7 +25,6 @@ const DEFAULT_COLOR: Record<SimpleDialogType, string> = {
|
||||
};
|
||||
|
||||
@Component({
|
||||
selector: "bit-simple-configurable-dialog",
|
||||
templateUrl: "./simple-configurable-dialog.component.html",
|
||||
})
|
||||
export class SimpleConfigurableDialogComponent {
|
||||
|
@ -20,7 +20,6 @@ import { SimpleDialogOptions } from "./models/simple-dialog-options";
|
||||
import { SimpleDialogType } from "./models/simple-dialog-type.enum";
|
||||
|
||||
@Component({
|
||||
selector: "app-story-dialog",
|
||||
template: `
|
||||
<h2 class="tw-text-main">Dialog Type Examples:</h2>
|
||||
<div class="tw-mb-4 tw-flex tw-flex-row tw-gap-2">
|
||||
|
@ -19,7 +19,6 @@ interface Animal {
|
||||
}
|
||||
|
||||
@Component({
|
||||
selector: "app-story-dialog",
|
||||
template: `<button bitButton (click)="openDialog()">Open Simple Dialog</button>`,
|
||||
})
|
||||
class StoryDialogComponent {
|
||||
@ -35,7 +34,6 @@ class StoryDialogComponent {
|
||||
}
|
||||
|
||||
@Component({
|
||||
selector: "story-dialog-content",
|
||||
template: `
|
||||
<bit-simple-dialog>
|
||||
<span bitDialogTitle>Dialog Title</span>
|
||||
|
Loading…
Reference in New Issue
Block a user