mirror of
https://github.com/bitwarden/browser
synced 2025-12-12 22:33:35 +00:00
* fixed issue with clearing search index state * clear user index before account is totally cleaned up * added logout clear on option * removed redundant clear index from logout * added feature flag * added new menu drop down and put behind feature flag * added permanentlyDeleteSelected to the menu * added permanentlyDeleteSelected to the menu * wired up logic to show to hide menu drop down items * modified the bulk collection assignment to work with end user vault * wired up delete and move to folder * merged bulk management actions header into old leveraging the feature flag * added ability to move personal items to an organization and set active collection when user is on a collection * made collection required by default * handled organization cipher share when personal items and org items are selected * moved logic to determine warning text to component class * moved logic to determine warning text to component class * Improved hide or show logic for menu * added bullet point to bulk assignment dialog content * changed description for move to folder * Fixed issue were all collections are retrived instead of only can manage, and added logic to get collections associated with a cipher * added inline assign to collections * added logic to disable three dot to template * Updated logic to retreive shared collection ids between ciphers * Added logic to make attachment view only, show or hide * Only show menu options when there are options available * Comments cleanup * update cipher row to disable menu instead of hide * Put add to folder behind feature flag * ensured old menu behaviour is shown when feature flag is turned off * refactored code base on code review suggestions * fixed bug with available collections * Made assign to collections resuable made pluralize a pipe instead * Utilized the resuable assign to collections component on the web * changed description message for collection assignment * fixed bug with ExpressionChangedAfterItHasBeenCheckedError * Added changedetectorref markForCheck * removed redundant startwith as seed value has been added * made code review suggestions * fixed bug where assign to collections shows up in trash filter * removed bitInput * refactored based on code review comments * added reference ticket * [PM-9341] Cannot assign to collections when filtering by My Vault (#9862) * Add checks for org id myvault * made myvault id a constant * show bulk move is set by individual vault and it is needed so assign to collections does not show up in trash filter (#9876) * Fixed issue where selectedOrgId is null (#9879) * Fix bug introduced with assigning items to a collection (#9897) * [PM-9601] [PM-9602] When collection management setting is turned on view only collections and assign to collections menu option show up (#10047) * Only show collections with edit access on individual vault * remove unused arguments
170 lines
5.0 KiB
TypeScript
170 lines
5.0 KiB
TypeScript
import { CommonModule, DatePipe } from "@angular/common";
|
|
import { NgModule } from "@angular/core";
|
|
import { FormsModule, ReactiveFormsModule } from "@angular/forms";
|
|
|
|
import {
|
|
AddAccountCreditDialogComponent,
|
|
InvoicesComponent,
|
|
NoInvoicesComponent,
|
|
ManageTaxInformationComponent,
|
|
SelectPaymentMethodComponent,
|
|
VerifyBankAccountComponent,
|
|
} from "@bitwarden/angular/billing/components";
|
|
import {
|
|
AsyncActionsModule,
|
|
AutofocusDirective,
|
|
ButtonModule,
|
|
CheckboxModule,
|
|
DialogModule,
|
|
FormFieldModule,
|
|
IconButtonModule,
|
|
IconModule,
|
|
LinkModule,
|
|
MenuModule,
|
|
RadioButtonModule,
|
|
SelectModule,
|
|
TableModule,
|
|
ToastModule,
|
|
TypographyModule,
|
|
} from "@bitwarden/components";
|
|
|
|
import { TwoFactorIconComponent } from "./auth/components/two-factor-icon.component";
|
|
import { CalloutComponent } from "./components/callout.component";
|
|
import { A11yInvalidDirective } from "./directives/a11y-invalid.directive";
|
|
import { A11yTitleDirective } from "./directives/a11y-title.directive";
|
|
import { ApiActionDirective } from "./directives/api-action.directive";
|
|
import { BoxRowDirective } from "./directives/box-row.directive";
|
|
import { CopyClickDirective } from "./directives/copy-click.directive";
|
|
import { CopyTextDirective } from "./directives/copy-text.directive";
|
|
import { FallbackSrcDirective } from "./directives/fallback-src.directive";
|
|
import { IfFeatureDirective } from "./directives/if-feature.directive";
|
|
import { InputStripSpacesDirective } from "./directives/input-strip-spaces.directive";
|
|
import { InputVerbatimDirective } from "./directives/input-verbatim.directive";
|
|
import { LaunchClickDirective } from "./directives/launch-click.directive";
|
|
import { NotPremiumDirective } from "./directives/not-premium.directive";
|
|
import { StopClickDirective } from "./directives/stop-click.directive";
|
|
import { StopPropDirective } from "./directives/stop-prop.directive";
|
|
import { TrueFalseValueDirective } from "./directives/true-false-value.directive";
|
|
import { CreditCardNumberPipe } from "./pipes/credit-card-number.pipe";
|
|
import { PluralizePipe } from "./pipes/pluralize.pipe";
|
|
import { SearchCiphersPipe } from "./pipes/search-ciphers.pipe";
|
|
import { SearchPipe } from "./pipes/search.pipe";
|
|
import { UserNamePipe } from "./pipes/user-name.pipe";
|
|
import { UserTypePipe } from "./pipes/user-type.pipe";
|
|
import { EllipsisPipe } from "./platform/pipes/ellipsis.pipe";
|
|
import { FingerprintPipe } from "./platform/pipes/fingerprint.pipe";
|
|
import { I18nPipe } from "./platform/pipes/i18n.pipe";
|
|
import { PasswordStrengthComponent } from "./tools/password-strength/password-strength.component";
|
|
import { IconComponent } from "./vault/components/icon.component";
|
|
|
|
@NgModule({
|
|
imports: [
|
|
ToastModule.forRoot({
|
|
maxOpened: 5,
|
|
autoDismiss: true,
|
|
closeButton: true,
|
|
}),
|
|
CommonModule,
|
|
FormsModule,
|
|
ReactiveFormsModule,
|
|
AsyncActionsModule,
|
|
RadioButtonModule,
|
|
FormFieldModule,
|
|
SelectModule,
|
|
ButtonModule,
|
|
CheckboxModule,
|
|
DialogModule,
|
|
TypographyModule,
|
|
TableModule,
|
|
MenuModule,
|
|
IconButtonModule,
|
|
IconModule,
|
|
LinkModule,
|
|
IconModule,
|
|
],
|
|
declarations: [
|
|
A11yInvalidDirective,
|
|
A11yTitleDirective,
|
|
ApiActionDirective,
|
|
AutofocusDirective,
|
|
BoxRowDirective,
|
|
CalloutComponent,
|
|
CopyTextDirective,
|
|
CreditCardNumberPipe,
|
|
EllipsisPipe,
|
|
FallbackSrcDirective,
|
|
I18nPipe,
|
|
IconComponent,
|
|
InputStripSpacesDirective,
|
|
InputVerbatimDirective,
|
|
NotPremiumDirective,
|
|
SearchCiphersPipe,
|
|
SearchPipe,
|
|
StopClickDirective,
|
|
StopPropDirective,
|
|
TrueFalseValueDirective,
|
|
CopyClickDirective,
|
|
LaunchClickDirective,
|
|
UserNamePipe,
|
|
PasswordStrengthComponent,
|
|
UserTypePipe,
|
|
IfFeatureDirective,
|
|
FingerprintPipe,
|
|
AddAccountCreditDialogComponent,
|
|
InvoicesComponent,
|
|
NoInvoicesComponent,
|
|
ManageTaxInformationComponent,
|
|
SelectPaymentMethodComponent,
|
|
VerifyBankAccountComponent,
|
|
TwoFactorIconComponent,
|
|
],
|
|
exports: [
|
|
A11yInvalidDirective,
|
|
A11yTitleDirective,
|
|
ApiActionDirective,
|
|
AutofocusDirective,
|
|
ToastModule,
|
|
BoxRowDirective,
|
|
CalloutComponent,
|
|
CopyTextDirective,
|
|
CreditCardNumberPipe,
|
|
EllipsisPipe,
|
|
FallbackSrcDirective,
|
|
I18nPipe,
|
|
IconComponent,
|
|
InputStripSpacesDirective,
|
|
InputVerbatimDirective,
|
|
NotPremiumDirective,
|
|
SearchCiphersPipe,
|
|
SearchPipe,
|
|
StopClickDirective,
|
|
StopPropDirective,
|
|
TrueFalseValueDirective,
|
|
CopyClickDirective,
|
|
LaunchClickDirective,
|
|
UserNamePipe,
|
|
PasswordStrengthComponent,
|
|
UserTypePipe,
|
|
IfFeatureDirective,
|
|
FingerprintPipe,
|
|
AddAccountCreditDialogComponent,
|
|
InvoicesComponent,
|
|
NoInvoicesComponent,
|
|
ManageTaxInformationComponent,
|
|
SelectPaymentMethodComponent,
|
|
VerifyBankAccountComponent,
|
|
TwoFactorIconComponent,
|
|
],
|
|
providers: [
|
|
CreditCardNumberPipe,
|
|
DatePipe,
|
|
I18nPipe,
|
|
SearchPipe,
|
|
UserNamePipe,
|
|
UserTypePipe,
|
|
FingerprintPipe,
|
|
PluralizePipe,
|
|
],
|
|
})
|
|
export class JslibModule {}
|