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:
@@ -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;
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
@@ -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 {
|
||||||
|
|||||||
@@ -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[]) {
|
||||||
|
|||||||
@@ -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: [
|
||||||
|
|||||||
@@ -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: [
|
||||||
|
|||||||
@@ -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,
|
||||||
|
|||||||
@@ -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,
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
@@ -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 {
|
||||||
|
|||||||
@@ -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",
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -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 {
|
||||||
|
|||||||
@@ -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 {
|
||||||
|
|||||||
@@ -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 {
|
||||||
|
|||||||
@@ -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[] {
|
||||||
|
|||||||
@@ -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 {
|
||||||
|
|||||||
@@ -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 {
|
||||||
|
|||||||
@@ -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,
|
||||||
|
|||||||
@@ -43,7 +43,6 @@ const DisallowedPlanTypes = [
|
|||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
templateUrl: "clients.component.html",
|
templateUrl: "clients.component.html",
|
||||||
standalone: true,
|
|
||||||
imports: [
|
imports: [
|
||||||
SharedOrganizationModule,
|
SharedOrganizationModule,
|
||||||
HeaderModule,
|
HeaderModule,
|
||||||
|
|||||||
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user