2023-03-22 18:26:04 +01:00
|
|
|
import "zone.js";
|
2018-01-16 20:48:34 +01:00
|
|
|
|
2023-02-02 00:14:24 +01:00
|
|
|
// Register the locales for the application
|
2023-06-06 22:34:53 +02:00
|
|
|
import "../platform/app/locales";
|
2023-02-02 00:14:24 +01:00
|
|
|
|
2022-02-24 20:50:19 +01:00
|
|
|
import { NgModule } from "@angular/core";
|
|
|
|
|
2022-12-20 13:31:18 +01:00
|
|
|
import { ColorPasswordCountPipe } from "@bitwarden/angular/pipes/color-password-count.pipe";
|
|
|
|
import { ColorPasswordPipe } from "@bitwarden/angular/pipes/color-password.pipe";
|
2023-12-19 20:02:19 +01:00
|
|
|
import { DialogModule } from "@bitwarden/components";
|
2022-12-20 13:31:18 +01:00
|
|
|
|
2023-02-06 22:53:37 +01:00
|
|
|
import { AccessibilityCookieComponent } from "../auth/accessibility-cookie.component";
|
|
|
|
import { DeleteAccountComponent } from "../auth/delete-account.component";
|
|
|
|
import { EnvironmentComponent } from "../auth/environment.component";
|
2023-02-08 20:57:41 +01:00
|
|
|
import { HintComponent } from "../auth/hint.component";
|
2023-02-06 22:53:37 +01:00
|
|
|
import { LockComponent } from "../auth/lock.component";
|
|
|
|
import { LoginApprovalComponent } from "../auth/login/login-approval.component";
|
|
|
|
import { LoginModule } from "../auth/login/login.module";
|
|
|
|
import { RegisterComponent } from "../auth/register.component";
|
|
|
|
import { RemovePasswordComponent } from "../auth/remove-password.component";
|
|
|
|
import { SetPasswordComponent } from "../auth/set-password.component";
|
|
|
|
import { SsoComponent } from "../auth/sso.component";
|
|
|
|
import { TwoFactorOptionsComponent } from "../auth/two-factor-options.component";
|
|
|
|
import { TwoFactorComponent } from "../auth/two-factor.component";
|
|
|
|
import { UpdateTempPasswordComponent } from "../auth/update-temp-password.component";
|
2023-01-31 22:08:37 +01:00
|
|
|
import { PremiumComponent } from "../vault/app/accounts/premium.component";
|
|
|
|
import { AddEditCustomFieldsComponent } from "../vault/app/vault/add-edit-custom-fields.component";
|
|
|
|
import { AddEditComponent } from "../vault/app/vault/add-edit.component";
|
|
|
|
import { AttachmentsComponent } from "../vault/app/vault/attachments.component";
|
[AC-1011] Admin Console / Billing code ownership (#4973)
* refactor: move SCIM component to admin-console, refs EC-1011
* refactor: move scimProviderType to admin-console, refs EC-1011
* refactor: move scim-config.api to admin-console, refs EC-1011
* refactor: create models folder and nest existing api contents, refs EC-1011
* refactor: move scim-config to admin-console models, refs EC-1011
* refactor: move billing.component to billing, refs EC-1011
* refactor: remove nested app folder from new billing structure, refs EC-1011
* refactor: move organizations/billing to billing, refs EC-1011
* refactor: move add-credit and adjust-payment to billing/settings, refs EC-1011
* refactor: billing history/sync to billing, refs EC-1011
* refactor: move org plans, payment/method to billing/settings, refs EC-1011
* fix: update legacy file paths for payment-method and tax-info, refs EC-1011
* fix: update imports for scim component, refs EC-1011
* refactor: move subscription and tax-info into billing, refs EC-1011
* refactor: move user-subscription to billing, refs EC-1011
* refactor: move images/cards to billing and update base path, refs EC-1011
* refactor: move payment-method, plan subscription, and plan to billing, refs EC-1011
* refactor: move transaction-type to billing, refs EC-1011
* refactor: move billing-sync-config to billing, refs EC-1011
* refactor: move billing-sync and bit-pay-invoice request to billing, refs EC-1011
* refactor: move org subscription and tax info update requests to billing, refs EC-1011
* fix: broken paths to billing, refs EC-1011
* refactor: move payment request to billing, refs EC-1011
* fix: update remaining imports for payment-request, refs EC-1011
* refactor: move tax-info-update to billing, refs EC-1011
* refactor: move billing-payment, billing-history, and billing responses to billing, refs EC-1011
* refactor: move organization-subscription-responset to billing, refs EC-1011
* refactor: move payment and plan responses to billing, refs EC-1011
* refactor: move subscription response to billing ,refs EC-1011
* refactor: move tax info and rate responses to billing, refs EC-1011
* fix: update remaining path to base response for tax-rate response, refs EC-1011
* refactor: (browser) move organization-service to admin-console, refs EC-1011
* refactor: (browser) move organizaiton-service to admin-console, refs EC-1011
* refactor: (cli) move share command to admin-console, refs EC-1011
* refactor: move organization-collect request model to admin-console, refs EC-1011
* refactor: (web) move organization, collection/user responses to admin-console, refs EC-1011
* refactor: (cli) move selection-read-only to admin-console, refs EC-1011
* refactor: (desktop) move organization-filter to admin-console, refs EC-1011
* refactor: (web) move organization-switcher to admin-console, refs EC-1011
* refactor: (web) move access-selector to admin-console, refs EC-1011
* refactor: (web) move create folder to admin-console, refs EC-1011
* refactor: (web) move org guards folder to admin-console, refs EC-1011
* refactor: (web) move org layout to admin-console, refs EC-1011
* refactor: move manage collections to admin console, refs EC-1011
* refactor: (web) move collection-dialog to admin-console, refs EC-1011
* refactor: (web) move entity users/events and events component to admin-console, refs EC-1011
* refactor: (web) move groups/group-add-edit to admin-console, refs EC-1011
* refactor: (web) move manage, org-manage module, and user-confirm to admin-console, refs EC-1011
* refactor: (web) move people to admin-console, refs EC-1011
* refactor: (web) move reset-password to admin-console, refs EC-1011
* refactor: (web) move organization-routing and module to admin-console, refs EC-1011
* refactor: move admin-console and billing within app scope, refs EC-1011
* fix: update leftover merge conflicts, refs EC-1011
* refactor: (web) member-dialog to admin-console, refs EC-1011
* refactor: (web) move policies to admin-console, refs EC-1011
* refactor: (web) move reporting to admin-console, refs EC-1011
* refactor: (web) move settings to admin-console, refs EC-1011
* refactor: (web) move sponsorships to admin-console, refs EC-1011
* refactor: (web) move tools to admin-console, refs EC-1011
* refactor: (web) move users to admin-console, refs EC-1011
* refactor: (web) move collections to admin-console, refs EC-1011
* refactor: (web) move create-organization to admin-console, refs EC-1011
* refactor: (web) move licensed components to admin-console, refs EC-1011
* refactor: (web) move bit organization modules to admin-console, refs EC-1011
* fix: update leftover import statements for organizations.module, refs EC-1011
* refactor: (web) move personal vault and max timeout to admin-console, refs EC-1011
* refactor: (web) move providers to admin-console, refs EC-1011
* refactor: (libs) move organization service to admin-console, refs EC-1011
* refactor: (libs) move profile org/provider responses and other misc org responses to admin-console, refs EC-1011
* refactor: (libs) move provider request and selectionion-read-only request to admin-console, refs EC-1011
* fix: update missed import path for provider-user-update request, refs EC-1011
* refactor: (libs) move abstractions to admin-console, refs EC-1011
* refactor: (libs) move org/provider enums to admin-console, refs EC-1011
* fix: update downstream import statements from libs changes, refs EC-1011
* refactor: (libs) move data files to admin-console, refs EC-1011
* refactor: (libs) move domain to admin-console, refs EC-1011
* refactor: (libs) move request objects to admin-console, refs EC-1011
* fix: update downstream import changes from libs, refs EC-1011
* refactor: move leftover provider files to admin-console, refs EC-1011
* refactor: (browser) move group policy environment to admin-console, refs EC-1011
* fix: (browser) update downstream import statements, refs EC-1011
* fix: (desktop) update downstream libs moves, refs EC-1011
* fix: (cli) update downstream import changes from libs, refs EC-1011
* refactor: move org-auth related files to admin-console, refs EC-1011
* refactor: (libs) move request objects to admin-console, refs EC-1011
* refactor: move persmissions to admin-console, refs EC-1011
* refactor: move sponsored families to admin-console and fix libs changes, refs EC-1011
* refactor: move collections to admin-console, refs EC-1011
* refactor: move spec file back to spec scope, refs EC-1011
* fix: update downstream imports due to libs changes, refs EC-1011
* fix: udpate downstream import changes due to libs, refs EC-1011
* fix: update downstream imports due to libs changes, refs EC-1011
* fix: update downstream imports from libs changes, refs EC-1011
* fix: update path malformation in jslib-services.module, refs EC-1011
* fix: lint errors from improper casing, refs AC-1011
* fix: update downstream filename changes, refs AC-1011
* fix: (cli) update downstream filename changes, refs AC-1011
* fix: (desktop) update downstream filename changes, refs AC-1011
* fix: (browser) update downstream filename changes, refs AC-1011
* fix: lint errors, refs AC-1011
* fix: prettier, refs AC-1011
* fix: lint fixes for import order, refs AC-1011
* fix: update import path for provider user type, refs AC-1011
* fix: update new codes import paths for admin console structure, refs AC-1011
* fix: lint/prettier, refs AC-1011
* fix: update layout stories path, refs AC-1011
* fix: update comoponents card icons base variable in styles, refs AC-1011
* fix: update provider service path in permissions guard spec, refs AC-1011
* fix: update provider permission guard path, refs AC-1011
* fix: remove unecessary TODO for shared index export statement, refs AC-1011
* refactor: move browser-organization service and cli organization-user response out of admin-console, refs AC-1011
* refactor: move web/browser/desktop collections component to vault domain, refs AC-1011
* refactor: move organization.module out of admin-console scope, refs AC-1011
* fix: prettier, refs AC-1011
* refactor: move organizations-api-key.request out of admin-console scope, refs AC-1011
2023-03-22 16:03:50 +01:00
|
|
|
import { CollectionsComponent } from "../vault/app/vault/collections.component";
|
2023-01-31 22:08:37 +01:00
|
|
|
import { FolderAddEditComponent } from "../vault/app/vault/folder-add-edit.component";
|
|
|
|
import { PasswordHistoryComponent } from "../vault/app/vault/password-history.component";
|
|
|
|
import { ShareComponent } from "../vault/app/vault/share.component";
|
|
|
|
import { VaultFilterModule } from "../vault/app/vault/vault-filter/vault-filter.module";
|
|
|
|
import { VaultItemsComponent } from "../vault/app/vault/vault-items.component";
|
|
|
|
import { VaultComponent } from "../vault/app/vault/vault.component";
|
|
|
|
import { ViewCustomFieldsComponent } from "../vault/app/vault/view-custom-fields.component";
|
|
|
|
import { ViewComponent } from "../vault/app/vault/view.component";
|
|
|
|
|
2022-02-24 20:50:19 +01:00
|
|
|
import { SettingsComponent } from "./accounts/settings.component";
|
|
|
|
import { VaultTimeoutInputComponent } from "./accounts/vault-timeout-input.component";
|
|
|
|
import { AppRoutingModule } from "./app-routing.module";
|
|
|
|
import { AppComponent } from "./app.component";
|
2022-04-19 17:29:43 +02:00
|
|
|
import { UserVerificationComponent } from "./components/user-verification.component";
|
2022-02-24 20:50:19 +01:00
|
|
|
import { AccountSwitcherComponent } from "./layout/account-switcher.component";
|
|
|
|
import { HeaderComponent } from "./layout/header.component";
|
|
|
|
import { NavComponent } from "./layout/nav.component";
|
|
|
|
import { SearchComponent } from "./layout/search/search.component";
|
2022-08-08 21:08:35 +02:00
|
|
|
import { SharedModule } from "./shared/shared.module";
|
2023-04-19 11:30:46 +02:00
|
|
|
import { ExportComponent } from "./tools/export/export.component";
|
2023-03-10 21:39:46 +01:00
|
|
|
import { GeneratorComponent } from "./tools/generator.component";
|
|
|
|
import { PasswordGeneratorHistoryComponent } from "./tools/password-generator-history.component";
|
2023-03-29 16:23:37 +02:00
|
|
|
import { AddEditComponent as SendAddEditComponent } from "./tools/send/add-edit.component";
|
|
|
|
import { SendComponent } from "./tools/send/send.component";
|
2018-08-02 15:26:50 +02:00
|
|
|
|
2018-01-16 20:48:34 +01:00
|
|
|
@NgModule({
|
2023-12-19 20:02:19 +01:00
|
|
|
imports: [
|
|
|
|
SharedModule,
|
|
|
|
AppRoutingModule,
|
|
|
|
VaultFilterModule,
|
|
|
|
LoginModule,
|
|
|
|
DialogModule,
|
|
|
|
DeleteAccountComponent,
|
|
|
|
UserVerificationComponent,
|
|
|
|
],
|
2018-01-16 21:58:17 +01:00
|
|
|
declarations: [
|
2022-06-09 14:14:31 +02:00
|
|
|
AccessibilityCookieComponent,
|
2022-03-21 11:39:35 +01:00
|
|
|
AccountSwitcherComponent,
|
2018-01-26 20:56:54 +01:00
|
|
|
AddEditComponent,
|
2021-11-09 19:00:01 +01:00
|
|
|
AddEditCustomFieldsComponent,
|
2018-01-16 21:58:17 +01:00
|
|
|
AppComponent,
|
2018-01-30 05:19:55 +01:00
|
|
|
AttachmentsComponent,
|
2022-11-22 14:30:33 +01:00
|
|
|
VaultItemsComponent,
|
2018-10-23 21:50:21 +02:00
|
|
|
CollectionsComponent,
|
2022-12-20 13:31:18 +01:00
|
|
|
ColorPasswordPipe,
|
|
|
|
ColorPasswordCountPipe,
|
2018-02-02 18:31:21 +01:00
|
|
|
EnvironmentComponent,
|
2018-08-02 05:21:32 +02:00
|
|
|
ExportComponent,
|
2018-01-30 21:40:06 +01:00
|
|
|
FolderAddEditComponent,
|
2022-03-21 11:39:35 +01:00
|
|
|
HeaderComponent,
|
2018-01-31 23:06:14 +01:00
|
|
|
HintComponent,
|
2018-02-10 04:47:53 +01:00
|
|
|
LockComponent,
|
2021-02-05 18:34:01 +01:00
|
|
|
NavComponent,
|
2022-04-01 00:49:53 +02:00
|
|
|
GeneratorComponent,
|
2018-02-18 04:37:43 +01:00
|
|
|
PasswordGeneratorHistoryComponent,
|
2018-07-30 16:05:36 +02:00
|
|
|
PasswordHistoryComponent,
|
2018-02-16 21:03:29 +01:00
|
|
|
PremiumComponent,
|
2018-01-31 20:19:21 +01:00
|
|
|
RegisterComponent,
|
2021-11-09 19:00:01 +01:00
|
|
|
RemovePasswordComponent,
|
2022-03-21 11:39:35 +01:00
|
|
|
SearchComponent,
|
2021-02-03 22:24:49 +01:00
|
|
|
SendAddEditComponent,
|
|
|
|
SendComponent,
|
2020-08-21 15:50:36 +02:00
|
|
|
SetPasswordComponent,
|
2018-02-10 05:41:29 +01:00
|
|
|
SettingsComponent,
|
2018-10-23 21:50:21 +02:00
|
|
|
ShareComponent,
|
2020-08-21 15:50:36 +02:00
|
|
|
SsoComponent,
|
2018-02-01 04:54:13 +01:00
|
|
|
TwoFactorComponent,
|
2018-02-02 18:01:55 +01:00
|
|
|
TwoFactorOptionsComponent,
|
2021-08-11 21:49:44 +02:00
|
|
|
UpdateTempPasswordComponent,
|
2018-01-16 22:12:26 +01:00
|
|
|
VaultComponent,
|
2021-09-15 20:02:46 +02:00
|
|
|
VaultTimeoutInputComponent,
|
2021-11-09 19:00:01 +01:00
|
|
|
ViewComponent,
|
2021-09-21 02:48:17 +02:00
|
|
|
ViewCustomFieldsComponent,
|
2023-02-05 16:57:21 +01:00
|
|
|
LoginApprovalComponent,
|
2018-01-16 21:58:17 +01:00
|
|
|
],
|
2018-01-16 20:48:34 +01:00
|
|
|
bootstrap: [AppComponent],
|
|
|
|
})
|
|
|
|
export class AppModule {}
|