mirror of
https://github.com/bitwarden/browser
synced 2025-12-12 06:13:38 +00:00
* Update yubikey to yubico * Update icons and descriptions * Change order of 2fa providers * Refactor 2fa providers into separate component * Update i18n messages for 2fa providers * Update design * Fix link * Remove unused SVGs * Undo changes to scss * Add speedbumps to links * Fix missing i18n string * Add a11y tags * Fix incorrect filepath * Remove unused i18n strings * Delete accidentally committed file * Fix premium and enabled checkmark being in new line * Rename two-factor-icon selector * Update authenticator names in two-factor-authenticator setup component * Update text according to figma design * Update keys to notify crowdin translators of changed content * Move svg icons to separate file * Fix incorrect i18n key
164 lines
4.8 KiB
TypeScript
164 lines
4.8 KiB
TypeScript
import { CommonModule, DatePipe } from "@angular/common";
|
|
import { NgModule } from "@angular/core";
|
|
import { FormsModule, ReactiveFormsModule } from "@angular/forms";
|
|
|
|
import {
|
|
AddAccountCreditDialogComponent,
|
|
InvoicesComponent,
|
|
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 { 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,
|
|
],
|
|
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,
|
|
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,
|
|
ManageTaxInformationComponent,
|
|
SelectPaymentMethodComponent,
|
|
VerifyBankAccountComponent,
|
|
TwoFactorIconComponent,
|
|
],
|
|
providers: [
|
|
CreditCardNumberPipe,
|
|
DatePipe,
|
|
I18nPipe,
|
|
SearchPipe,
|
|
UserNamePipe,
|
|
UserTypePipe,
|
|
FingerprintPipe,
|
|
],
|
|
})
|
|
export class JslibModule {}
|