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:
@@ -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;
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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[]) {
|
||||
|
||||
@@ -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: [
|
||||
|
||||
@@ -144,7 +144,6 @@ enum AddAccessStatusType {
|
||||
}
|
||||
|
||||
@Component({
|
||||
standalone: true,
|
||||
selector: "app-org-vault",
|
||||
templateUrl: "vault.component.html",
|
||||
imports: [
|
||||
|
||||
@@ -22,7 +22,6 @@ import { Integration } from "../shared/components/integrations/models";
|
||||
@Component({
|
||||
selector: "ac-integrations",
|
||||
templateUrl: "./integrations.component.html",
|
||||
standalone: true,
|
||||
imports: [
|
||||
SharedModule,
|
||||
SharedOrganizationModule,
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -80,7 +80,6 @@ export enum DeleteOrganizationDialogResult {
|
||||
|
||||
@Component({
|
||||
selector: "app-delete-organization",
|
||||
standalone: true,
|
||||
imports: [SharedModule, UserVerificationModule],
|
||||
templateUrl: "delete-organization-dialog.component.html",
|
||||
})
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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[] {
|
||||
|
||||
@@ -30,7 +30,6 @@ import {
|
||||
|
||||
@Component({
|
||||
templateUrl: "families-for-enterprise-setup.component.html",
|
||||
standalone: true,
|
||||
imports: [SharedModule, OrganizationPlansComponent],
|
||||
})
|
||||
export class FamiliesForEnterpriseSetupComponent implements OnInit, OnDestroy {
|
||||
|
||||
@@ -13,7 +13,6 @@ import { SharedModule } from "../../shared";
|
||||
|
||||
@Component({
|
||||
templateUrl: "create-organization.component.html",
|
||||
standalone: true,
|
||||
imports: [SharedModule, OrganizationPlansComponent, HeaderModule],
|
||||
})
|
||||
export class CreateOrganizationComponent {
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -43,7 +43,6 @@ const DisallowedPlanTypes = [
|
||||
|
||||
@Component({
|
||||
templateUrl: "clients.component.html",
|
||||
standalone: true,
|
||||
imports: [
|
||||
SharedOrganizationModule,
|
||||
HeaderModule,
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user