mirror of
https://github.com/bitwarden/browser.git
synced 2025-01-06 18:57:56 +01:00
a58642e370
* (No Logic) Fix typo in billing-api-service.abstraction file name * (Cleanup) Remove payment method components and API methods from provider portal Product team decided not to have a payment method page in the provider portal for consolidated billing. This just removes all the unused components and API methods. * Add organization endpoints to support new payment method behavior * Add payment-v2.component This component existed in the libs folder because we used it for the provider portal, but since we've removed payment functionality from the provider portal, I moved it into web in this commit. * (No Logic) Move existing payment.component into new payment component folder * Add verify-bank-account.component This component existed in the libs folder because we used it for the provider portal, but since we've removed payment functionality from the provider portal, I moved it into web in this commit. * Add adjust-payment-dialog-v2.component * (No Logic) Move existing adjust-payment-dialog.component into new adjust-payment-dialog component folder * Add organization-payment-method.component * Add feature flag: AC-2476-deprecate-stripe-sources-api * Pivot organization payment method route on new feature flag * Fix broken test
166 lines
4.8 KiB
TypeScript
166 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,
|
|
NoInvoicesComponent,
|
|
ManageTaxInformationComponent,
|
|
} from "@bitwarden/angular/billing/components";
|
|
import {
|
|
AsyncActionsModule,
|
|
AutofocusDirective,
|
|
ButtonModule,
|
|
CalloutModule,
|
|
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 { DeprecatedCalloutComponent } 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,
|
|
CalloutModule,
|
|
CheckboxModule,
|
|
DialogModule,
|
|
TypographyModule,
|
|
TableModule,
|
|
MenuModule,
|
|
IconButtonModule,
|
|
IconModule,
|
|
LinkModule,
|
|
IconModule,
|
|
],
|
|
declarations: [
|
|
A11yInvalidDirective,
|
|
A11yTitleDirective,
|
|
ApiActionDirective,
|
|
AutofocusDirective,
|
|
BoxRowDirective,
|
|
DeprecatedCalloutComponent,
|
|
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,
|
|
TwoFactorIconComponent,
|
|
],
|
|
exports: [
|
|
A11yInvalidDirective,
|
|
A11yTitleDirective,
|
|
ApiActionDirective,
|
|
AutofocusDirective,
|
|
ToastModule,
|
|
BoxRowDirective,
|
|
DeprecatedCalloutComponent,
|
|
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,
|
|
TwoFactorIconComponent,
|
|
],
|
|
providers: [
|
|
CreditCardNumberPipe,
|
|
DatePipe,
|
|
I18nPipe,
|
|
SearchPipe,
|
|
UserNamePipe,
|
|
UserTypePipe,
|
|
FingerprintPipe,
|
|
PluralizePipe,
|
|
],
|
|
})
|
|
export class JslibModule {}
|