mirror of
https://github.com/bitwarden/browser
synced 2025-12-18 09:13:33 +00:00
[SM-645] Use search component in secrets manager (#4991)
* Move search component into the component library * Migrate search fields * Reshuffle imports slightly * Remove export input module --------- Co-authored-by: cd-bitwarden <106776772+cd-bitwarden@users.noreply.github.com>
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
<sm-header>
|
||||
<input bitInput [placeholder]="'searchProjects' | i18n" [(ngModel)]="search" class="tw-w-80" />
|
||||
<bit-search
|
||||
[placeholder]="'searchProjects' | i18n"
|
||||
[(ngModel)]="search"
|
||||
class="tw-w-80"
|
||||
></bit-search>
|
||||
<sm-new-menu></sm-new-menu>
|
||||
</sm-header>
|
||||
<sm-projects-list
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
<sm-header>
|
||||
<input bitInput [placeholder]="'searchSecrets' | i18n" [(ngModel)]="search" class="tw-w-80" />
|
||||
<bit-search
|
||||
[placeholder]="'searchSecrets' | i18n"
|
||||
[(ngModel)]="search"
|
||||
class="tw-w-80"
|
||||
></bit-search>
|
||||
<sm-new-menu></sm-new-menu>
|
||||
</sm-header>
|
||||
<sm-secrets-list
|
||||
|
||||
@@ -1,10 +1,9 @@
|
||||
<sm-header>
|
||||
<input
|
||||
bitInput
|
||||
<bit-search
|
||||
[placeholder]="'searchServiceAccounts' | i18n"
|
||||
[(ngModel)]="search"
|
||||
class="tw-w-80"
|
||||
/>
|
||||
></bit-search>
|
||||
<sm-new-menu></sm-new-menu>
|
||||
</sm-header>
|
||||
<sm-service-accounts-list
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { NgModule } from "@angular/core";
|
||||
|
||||
import { MultiSelectModule, NoItemsModule } from "@bitwarden/components";
|
||||
import { MultiSelectModule, SearchModule, NoItemsModule } from "@bitwarden/components";
|
||||
import { CoreOrganizationModule } from "@bitwarden/web-vault/app/admin-console/organizations/core";
|
||||
import { ProductSwitcherModule } from "@bitwarden/web-vault/app/layouts/product-switcher/product-switcher.module";
|
||||
import { SharedModule } from "@bitwarden/web-vault/app/shared";
|
||||
@@ -20,17 +20,20 @@ import { SecretsListComponent } from "./secrets-list.component";
|
||||
MultiSelectModule,
|
||||
CoreOrganizationModule,
|
||||
NoItemsModule,
|
||||
SearchModule,
|
||||
],
|
||||
exports: [
|
||||
SharedModule,
|
||||
NoItemsModule,
|
||||
AccessRemovalDialogComponent,
|
||||
AccessSelectorComponent,
|
||||
BulkStatusDialogComponent,
|
||||
HeaderComponent,
|
||||
NewMenuComponent,
|
||||
ProjectsListComponent,
|
||||
SearchModule,
|
||||
SecretsListComponent,
|
||||
AccessSelectorComponent,
|
||||
SharedModule,
|
||||
],
|
||||
declarations: [
|
||||
AccessRemovalDialogComponent,
|
||||
|
||||
Reference in New Issue
Block a user