1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-17 08:43:33 +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], imports: [SharedModule, AccessSelectorModule],
selector: "app-bulk-collections-dialog", selector: "app-bulk-collections-dialog",
templateUrl: "bulk-collections-dialog.component.html", templateUrl: "bulk-collections-dialog.component.html",
standalone: true,
}) })
export class BulkCollectionsDialogComponent implements OnDestroy { export class BulkCollectionsDialogComponent implements OnDestroy {
protected readonly PermissionMode = PermissionMode; 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({ @Component({
selector: "collection-access-restricted", selector: "collection-access-restricted",
standalone: true,
imports: [SharedModule, ButtonModule, NoItemsModule], imports: [SharedModule, ButtonModule, NoItemsModule],
template: `<bit-no-items [icon]="icon" class="tw-mt-2 tw-block"> template: `<bit-no-items [icon]="icon" class="tw-mt-2 tw-block">
<span slot="title" class="tw-mt-4 tw-block">{{ "youDoNotHavePermissions" | i18n }}</span> <span slot="title" class="tw-mt-4 tw-block">{{ "youDoNotHavePermissions" | i18n }}</span>

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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