mirror of
https://github.com/bitwarden/browser
synced 2025-12-19 09:43:23 +00:00
Remove standalone true from vault (#15040)
Remove standalone: true from every instance since it's the default as of Angular 19.
This commit is contained in:
@@ -14,7 +14,6 @@ import { CustomFieldsComponent } from "../custom-fields/custom-fields.component"
|
||||
import { AdditionalOptionsSectionComponent } from "./additional-options-section.component";
|
||||
|
||||
@Component({
|
||||
standalone: true,
|
||||
selector: "vault-custom-fields",
|
||||
template: "",
|
||||
})
|
||||
|
||||
@@ -24,7 +24,6 @@ import { CustomFieldsComponent } from "../custom-fields/custom-fields.component"
|
||||
@Component({
|
||||
selector: "vault-additional-options-section",
|
||||
templateUrl: "./additional-options-section.component.html",
|
||||
standalone: true,
|
||||
imports: [
|
||||
CommonModule,
|
||||
SectionHeaderComponent,
|
||||
|
||||
@@ -27,7 +27,6 @@ import { CipherAttachmentsComponent } from "./cipher-attachments.component";
|
||||
import { DeleteAttachmentComponent } from "./delete-attachment/delete-attachment.component";
|
||||
|
||||
@Component({
|
||||
standalone: true,
|
||||
selector: "app-download-attachment",
|
||||
template: "",
|
||||
})
|
||||
|
||||
@@ -57,7 +57,6 @@ type CipherAttachmentForm = FormGroup<{
|
||||
}>;
|
||||
|
||||
@Component({
|
||||
standalone: true,
|
||||
selector: "app-cipher-attachments",
|
||||
templateUrl: "./cipher-attachments.component.html",
|
||||
imports: [
|
||||
|
||||
@@ -18,7 +18,6 @@ import {
|
||||
} from "@bitwarden/components";
|
||||
|
||||
@Component({
|
||||
standalone: true,
|
||||
selector: "app-delete-attachment",
|
||||
templateUrl: "./delete-attachment.component.html",
|
||||
imports: [AsyncActionsModule, CommonModule, JslibModule, ButtonModule, IconButtonModule],
|
||||
|
||||
@@ -39,7 +39,6 @@ interface UriField {
|
||||
@Component({
|
||||
selector: "vault-autofill-options",
|
||||
templateUrl: "./autofill-options.component.html",
|
||||
standalone: true,
|
||||
imports: [
|
||||
DragDropModule,
|
||||
SectionHeaderComponent,
|
||||
|
||||
@@ -35,7 +35,6 @@ import {
|
||||
@Component({
|
||||
selector: "vault-autofill-uri-option",
|
||||
templateUrl: "./uri-option.component.html",
|
||||
standalone: true,
|
||||
providers: [
|
||||
{
|
||||
provide: NG_VALUE_ACCESSOR,
|
||||
|
||||
@@ -26,7 +26,6 @@ import { CipherFormContainer } from "../../cipher-form-container";
|
||||
@Component({
|
||||
selector: "vault-card-details-section",
|
||||
templateUrl: "./card-details-section.component.html",
|
||||
standalone: true,
|
||||
imports: [
|
||||
CardComponent,
|
||||
TypographyModule,
|
||||
|
||||
@@ -49,7 +49,6 @@ import { SshKeySectionComponent } from "./sshkey-section/sshkey-section.componen
|
||||
@Component({
|
||||
selector: "vault-cipher-form",
|
||||
templateUrl: "./cipher-form.component.html",
|
||||
standalone: true,
|
||||
providers: [
|
||||
{
|
||||
provide: CipherFormContainer,
|
||||
|
||||
@@ -9,7 +9,6 @@ import { CipherFormGeneratorComponent } from "@bitwarden/vault";
|
||||
@Component({
|
||||
selector: "tools-password-generator",
|
||||
template: `<ng-content></ng-content>`,
|
||||
standalone: true,
|
||||
})
|
||||
class MockPasswordGeneratorComponent {
|
||||
@Output() onGenerated = new EventEmitter();
|
||||
@@ -18,7 +17,6 @@ class MockPasswordGeneratorComponent {
|
||||
@Component({
|
||||
selector: "tools-username-generator",
|
||||
template: `<ng-content></ng-content>`,
|
||||
standalone: true,
|
||||
})
|
||||
class MockUsernameGeneratorComponent {
|
||||
@Output() onGenerated = new EventEmitter();
|
||||
|
||||
@@ -12,7 +12,6 @@ import { AlgorithmInfo, GeneratedCredential } from "@bitwarden/generator-core";
|
||||
@Component({
|
||||
selector: "vault-cipher-form-generator",
|
||||
templateUrl: "./cipher-form-generator.component.html",
|
||||
standalone: true,
|
||||
imports: [CommonModule, GeneratorModule],
|
||||
})
|
||||
export class CipherFormGeneratorComponent {
|
||||
|
||||
@@ -29,7 +29,6 @@ export type AddEditCustomFieldDialogData = {
|
||||
};
|
||||
|
||||
@Component({
|
||||
standalone: true,
|
||||
selector: "vault-add-edit-custom-field-dialog",
|
||||
templateUrl: "./add-edit-custom-field-dialog.component.html",
|
||||
imports: [
|
||||
|
||||
@@ -69,7 +69,6 @@ export type CustomField = {
|
||||
};
|
||||
|
||||
@Component({
|
||||
standalone: true,
|
||||
selector: "vault-custom-fields",
|
||||
templateUrl: "./custom-fields.component.html",
|
||||
imports: [
|
||||
|
||||
@@ -22,7 +22,6 @@ import {
|
||||
import { CipherFormContainer } from "../../cipher-form-container";
|
||||
|
||||
@Component({
|
||||
standalone: true,
|
||||
selector: "vault-identity-section",
|
||||
templateUrl: "./identity.component.html",
|
||||
imports: [
|
||||
|
||||
@@ -36,7 +36,6 @@ import { CipherFormContainer } from "../../cipher-form-container";
|
||||
@Component({
|
||||
selector: "vault-item-details-section",
|
||||
templateUrl: "./item-details-section.component.html",
|
||||
standalone: true,
|
||||
imports: [
|
||||
CardComponent,
|
||||
TypographyModule,
|
||||
|
||||
@@ -23,7 +23,6 @@ import { AutofillOptionsComponent } from "../autofill-options/autofill-options.c
|
||||
import { LoginDetailsSectionComponent } from "./login-details-section.component";
|
||||
|
||||
@Component({
|
||||
standalone: true,
|
||||
selector: "vault-autofill-options",
|
||||
template: "",
|
||||
})
|
||||
|
||||
@@ -33,7 +33,6 @@ import { AutofillOptionsComponent } from "../autofill-options/autofill-options.c
|
||||
@Component({
|
||||
selector: "vault-login-details-section",
|
||||
templateUrl: "./login-details-section.component.html",
|
||||
standalone: true,
|
||||
imports: [
|
||||
ReactiveFormsModule,
|
||||
SectionHeaderComponent,
|
||||
|
||||
@@ -13,7 +13,6 @@ import { CipherType } from "@bitwarden/sdk-internal";
|
||||
@Component({
|
||||
selector: "vault-new-item-nudge",
|
||||
templateUrl: "./new-item-nudge.component.html",
|
||||
standalone: true,
|
||||
imports: [NgIf, SpotlightComponent],
|
||||
})
|
||||
export class NewItemNudgeComponent implements OnInit {
|
||||
|
||||
@@ -28,7 +28,6 @@ import { CipherFormContainer } from "../../cipher-form-container";
|
||||
@Component({
|
||||
selector: "vault-sshkey-section",
|
||||
templateUrl: "./sshkey-section.component.html",
|
||||
standalone: true,
|
||||
imports: [
|
||||
CardComponent,
|
||||
TypographyModule,
|
||||
|
||||
Reference in New Issue
Block a user