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