mirror of
https://github.com/bitwarden/browser
synced 2025-12-15 15:53:27 +00:00
* Revert "Revert "[CL-622][CL-562][CL-621][CL-632] various drawer improvements …"
This reverts commit 4b32d1f9dd.
* fix virtual scroll: add .cdk-virtual-scrollable to scroll viewport target
* remove references to main el
* use directives instead of querySelector (#14950)
* remove references to main el
* wip
* banish querySelector to the shadow realm
* revert apps/ files
* Add virtual scrolling docs
Co-authored-by: Vicki League <vleague@bitwarden.com>
* add jsdoc
* run eslint
* fix skip links bug
* Update libs/components/src/layout/layout.component.ts
Co-authored-by: Vicki League <vleague@bitwarden.com>
* update tab handler
* only run on tab
* fix lint
* fix virtual scroll issue due to Angular 19 upgrade (#15193)
thanks Vicki
---------
Co-authored-by: Vicki League <vleague@bitwarden.com>
35 lines
1.3 KiB
TypeScript
35 lines
1.3 KiB
TypeScript
import { ScrollingModule } from "@angular/cdk/scrolling";
|
|
import { CommonModule } from "@angular/common";
|
|
import { NgModule } from "@angular/core";
|
|
import { RouterModule } from "@angular/router";
|
|
|
|
import { ScrollLayoutDirective, TableModule } from "@bitwarden/components";
|
|
|
|
import { CollectionNameBadgeComponent } from "../../../admin-console/organizations/collections";
|
|
import { GroupBadgeModule } from "../../../admin-console/organizations/collections/group-badge/group-badge.module";
|
|
import { SharedModule } from "../../../shared/shared.module";
|
|
import { OrganizationBadgeModule } from "../../individual-vault/organization-badge/organization-badge.module";
|
|
import { PipesModule } from "../../individual-vault/pipes/pipes.module";
|
|
|
|
import { VaultCipherRowComponent } from "./vault-cipher-row.component";
|
|
import { VaultCollectionRowComponent } from "./vault-collection-row.component";
|
|
import { VaultItemsComponent } from "./vault-items.component";
|
|
|
|
@NgModule({
|
|
imports: [
|
|
CommonModule,
|
|
RouterModule,
|
|
ScrollingModule,
|
|
SharedModule,
|
|
TableModule,
|
|
OrganizationBadgeModule,
|
|
CollectionNameBadgeComponent,
|
|
GroupBadgeModule,
|
|
PipesModule,
|
|
ScrollLayoutDirective,
|
|
],
|
|
declarations: [VaultItemsComponent, VaultCipherRowComponent, VaultCollectionRowComponent],
|
|
exports: [VaultItemsComponent],
|
|
})
|
|
export class VaultItemsModule {}
|