1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-17 00:33:44 +00:00

Remove standalone true from ac (#15036)

Remove standalone: true from every instance since it's the default as of Angular 19.
This commit is contained in:
Oscar Hinton
2025-06-03 00:51:36 +02:00
committed by GitHub
parent 23ec6bacc9
commit 3cad691f13
20 changed files with 0 additions and 20 deletions

View File

@@ -54,7 +54,6 @@ export enum BulkCollectionsDialogResult {
imports: [SharedModule, AccessSelectorModule],
selector: "app-bulk-collections-dialog",
templateUrl: "bulk-collections-dialog.component.html",
standalone: true,
})
export class BulkCollectionsDialogComponent implements OnDestroy {
protected readonly PermissionMode = PermissionMode;

View File

@@ -12,7 +12,6 @@ const icon = svgIcon`<svg xmlns="http://www.w3.org/2000/svg" width="120" height=
@Component({
selector: "collection-access-restricted",
standalone: true,
imports: [SharedModule, ButtonModule, NoItemsModule],
template: `<bit-no-items [icon]="icon" class="tw-mt-2 tw-block">
<span slot="title" class="tw-mt-4 tw-block">{{ "youDoNotHavePermissions" | i18n }}</span>

View File

@@ -10,7 +10,6 @@ import { GetCollectionNameFromIdPipe } from "../pipes";
@Component({
selector: "app-collection-badge",
templateUrl: "collection-name-badge.component.html",
standalone: true,
imports: [SharedModule, GetCollectionNameFromIdPipe],
})
export class CollectionNameBadgeComponent {

View File

@@ -5,7 +5,6 @@ import { CollectionView } from "@bitwarden/admin-console/common";
@Pipe({
name: "collectionNameFromId",
pure: true,
standalone: true,
})
export class GetCollectionNameFromIdPipe implements PipeTransform {
transform(value: string, collections: CollectionView[]) {

View File

@@ -35,7 +35,6 @@ import {
import { CollectionDialogTabType } from "../../shared/components/collection-dialog";
@Component({
standalone: true,
selector: "app-org-vault-header",
templateUrl: "./vault-header.component.html",
imports: [

View File

@@ -144,7 +144,6 @@ enum AddAccessStatusType {
}
@Component({
standalone: true,
selector: "app-org-vault",
templateUrl: "vault.component.html",
imports: [

View File

@@ -22,7 +22,6 @@ import { Integration } from "../shared/components/integrations/models";
@Component({
selector: "ac-integrations",
templateUrl: "./integrations.component.html",
standalone: true,
imports: [
SharedModule,
SharedOrganizationModule,

View File

@@ -37,7 +37,6 @@ import { AdminConsoleLogo } from "../../icons/admin-console-logo";
@Component({
selector: "app-organization-layout",
templateUrl: "organization-layout.component.html",
standalone: true,
imports: [
CommonModule,
RouterModule,

View File

@@ -38,7 +38,6 @@ export interface EntityEventsDialogParams {
@Component({
imports: [SharedModule],
templateUrl: "entity-events.component.html",
standalone: true,
})
export class EntityEventsComponent implements OnInit, OnDestroy {
loading = true;

View File

@@ -14,7 +14,6 @@ import { SharedModule } from "../../../shared/shared.module";
@Component({
templateUrl: "verify-recover-delete-org.component.html",
standalone: true,
imports: [SharedModule],
})
export class VerifyRecoverDeleteOrgComponent implements OnInit {

View File

@@ -80,7 +80,6 @@ export enum DeleteOrganizationDialogResult {
@Component({
selector: "app-delete-organization",
standalone: true,
imports: [SharedModule, UserVerificationModule],
templateUrl: "delete-organization-dialog.component.html",
})

View File

@@ -117,7 +117,6 @@ export enum CollectionDialogAction {
@Component({
templateUrl: "collection-dialog.component.html",
standalone: true,
imports: [SharedModule, AccessSelectorModule, SelectModule],
})
export class CollectionDialogComponent implements OnInit, OnDestroy {

View File

@@ -20,7 +20,6 @@ import { SharedModule } from "../../../../../../shared/shared.module";
@Component({
selector: "app-integration-card",
templateUrl: "./integration-card.component.html",
standalone: true,
imports: [SharedModule],
})
export class IntegrationCardComponent implements AfterViewInit, OnDestroy {

View File

@@ -11,7 +11,6 @@ import { Integration } from "../models";
@Component({
selector: "app-integration-grid",
templateUrl: "./integration-grid.component.html",
standalone: true,
imports: [IntegrationCardComponent, SharedModule],
})
export class IntegrationGridComponent {

View File

@@ -6,7 +6,6 @@ import { Integration } from "../../../shared/components/integrations/models";
@Pipe({
name: "filterIntegrations",
standalone: true,
})
export class FilterIntegrationsPipe implements PipeTransform {
transform(integrations: Integration[], type: IntegrationType): Integration[] {

View File

@@ -30,7 +30,6 @@ import {
@Component({
templateUrl: "families-for-enterprise-setup.component.html",
standalone: true,
imports: [SharedModule, OrganizationPlansComponent],
})
export class FamiliesForEnterpriseSetupComponent implements OnInit, OnDestroy {

View File

@@ -13,7 +13,6 @@ import { SharedModule } from "../../shared";
@Component({
templateUrl: "create-organization.component.html",
standalone: true,
imports: [SharedModule, OrganizationPlansComponent, HeaderModule],
})
export class CreateOrganizationComponent {

View File

@@ -26,7 +26,6 @@ import { SharedModule } from "@bitwarden/web-vault/app/shared/shared.module";
@Component({
selector: "app-org-device-approvals",
templateUrl: "./device-approvals.component.html",
standalone: true,
providers: [
safeProvider({
provide: OrganizationAuthRequestApiService,

View File

@@ -43,7 +43,6 @@ const DisallowedPlanTypes = [
@Component({
templateUrl: "clients.component.html",
standalone: true,
imports: [
SharedOrganizationModule,
HeaderModule,

View File

@@ -18,7 +18,6 @@ import { WebLayoutModule } from "@bitwarden/web-vault/app/layouts/web-layout.mod
@Component({
selector: "providers-layout",
templateUrl: "providers-layout.component.html",
standalone: true,
imports: [CommonModule, RouterModule, JslibModule, WebLayoutModule, IconModule],
})
export class ProvidersLayoutComponent implements OnInit, OnDestroy {