1
0
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:
Oscar Hinton
2025-06-02 22:22:57 +02:00
committed by GitHub
parent 8b46e33e97
commit f3ff1e98ec
101 changed files with 0 additions and 107 deletions

View File

@@ -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: "",
})

View File

@@ -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,

View File

@@ -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: "",
})

View File

@@ -57,7 +57,6 @@ type CipherAttachmentForm = FormGroup<{
}>;
@Component({
standalone: true,
selector: "app-cipher-attachments",
templateUrl: "./cipher-attachments.component.html",
imports: [

View File

@@ -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],

View File

@@ -39,7 +39,6 @@ interface UriField {
@Component({
selector: "vault-autofill-options",
templateUrl: "./autofill-options.component.html",
standalone: true,
imports: [
DragDropModule,
SectionHeaderComponent,

View File

@@ -35,7 +35,6 @@ import {
@Component({
selector: "vault-autofill-uri-option",
templateUrl: "./uri-option.component.html",
standalone: true,
providers: [
{
provide: NG_VALUE_ACCESSOR,

View File

@@ -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,

View File

@@ -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,

View File

@@ -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();

View File

@@ -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 {

View File

@@ -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: [

View File

@@ -69,7 +69,6 @@ export type CustomField = {
};
@Component({
standalone: true,
selector: "vault-custom-fields",
templateUrl: "./custom-fields.component.html",
imports: [

View File

@@ -22,7 +22,6 @@ import {
import { CipherFormContainer } from "../../cipher-form-container";
@Component({
standalone: true,
selector: "vault-identity-section",
templateUrl: "./identity.component.html",
imports: [

View File

@@ -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,

View File

@@ -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: "",
})

View File

@@ -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,

View File

@@ -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 {

View File

@@ -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,