2018-01-16 20:48:34 +01:00
|
|
|
import "zone.js/dist/zone";
|
|
|
|
|
2021-09-13 02:52:58 +02:00
|
|
|
import { A11yModule } from "@angular/cdk/a11y";
|
2019-03-28 04:52:15 +01:00
|
|
|
import { DragDropModule } from "@angular/cdk/drag-drop";
|
2021-12-15 23:32:00 +01:00
|
|
|
import { OverlayModule } from "@angular/cdk/overlay";
|
2021-08-11 05:00:04 +02:00
|
|
|
import { ScrollingModule } from "@angular/cdk/scrolling";
|
2022-02-24 20:50:19 +01:00
|
|
|
import { DatePipe, registerLocaleData } from "@angular/common";
|
2021-05-14 22:42:12 +02:00
|
|
|
import localeAf from "@angular/common/locales/af";
|
2021-07-11 23:44:40 +02:00
|
|
|
import localeAz from "@angular/common/locales/az";
|
2020-09-15 19:38:36 +02:00
|
|
|
import localeBe from "@angular/common/locales/be";
|
2018-08-02 15:26:50 +02:00
|
|
|
import localeBg from "@angular/common/locales/bg";
|
2021-05-14 22:42:12 +02:00
|
|
|
import localeBn from "@angular/common/locales/bn";
|
2022-03-01 13:52:53 +01:00
|
|
|
import localeBs from "@angular/common/locales/bs";
|
2019-01-18 21:57:33 +01:00
|
|
|
import localeCa from "@angular/common/locales/ca";
|
2018-08-02 15:26:50 +02:00
|
|
|
import localeCs from "@angular/common/locales/cs";
|
|
|
|
import localeDa from "@angular/common/locales/da";
|
|
|
|
import localeDe from "@angular/common/locales/de";
|
2020-05-23 05:14:22 +02:00
|
|
|
import localeEl from "@angular/common/locales/el";
|
2021-05-17 22:24:11 +02:00
|
|
|
import localeEnGb from "@angular/common/locales/en-GB";
|
|
|
|
import localeEnIn from "@angular/common/locales/en-IN";
|
2022-03-01 13:52:53 +01:00
|
|
|
import localeEo from "@angular/common/locales/eo";
|
2018-08-02 15:26:50 +02:00
|
|
|
import localeEs from "@angular/common/locales/es";
|
|
|
|
import localeEt from "@angular/common/locales/et";
|
|
|
|
import localeFa from "@angular/common/locales/fa";
|
|
|
|
import localeFi from "@angular/common/locales/fi";
|
2022-03-01 13:52:53 +01:00
|
|
|
import localeFil from "@angular/common/locales/fil";
|
2018-08-02 15:26:50 +02:00
|
|
|
import localeFr from "@angular/common/locales/fr";
|
2021-05-14 22:42:12 +02:00
|
|
|
import localeHe from "@angular/common/locales/he";
|
2022-03-01 13:52:53 +01:00
|
|
|
import localeHi from "@angular/common/locales/hi";
|
2018-08-02 15:26:50 +02:00
|
|
|
import localeHr from "@angular/common/locales/hr";
|
|
|
|
import localeHu from "@angular/common/locales/hu";
|
|
|
|
import localeId from "@angular/common/locales/id";
|
|
|
|
import localeIt from "@angular/common/locales/it";
|
|
|
|
import localeJa from "@angular/common/locales/ja";
|
2022-03-01 13:52:53 +01:00
|
|
|
import localeKa from "@angular/common/locales/ka";
|
|
|
|
import localeKm from "@angular/common/locales/km";
|
2021-07-06 23:40:17 +02:00
|
|
|
import localeKn from "@angular/common/locales/kn";
|
2018-08-02 15:26:50 +02:00
|
|
|
import localeKo from "@angular/common/locales/ko";
|
2021-05-14 22:42:12 +02:00
|
|
|
import localeLv from "@angular/common/locales/lv";
|
2020-09-15 19:38:36 +02:00
|
|
|
import localeMl from "@angular/common/locales/ml";
|
2018-08-02 15:26:50 +02:00
|
|
|
import localeNb from "@angular/common/locales/nb";
|
|
|
|
import localeNl from "@angular/common/locales/nl";
|
2022-03-01 13:52:53 +01:00
|
|
|
import localeNn from "@angular/common/locales/nn";
|
2018-08-02 15:26:50 +02:00
|
|
|
import localePl from "@angular/common/locales/pl";
|
|
|
|
import localePtBr from "@angular/common/locales/pt";
|
|
|
|
import localePtPt from "@angular/common/locales/pt-PT";
|
|
|
|
import localeRo from "@angular/common/locales/ro";
|
|
|
|
import localeRu from "@angular/common/locales/ru";
|
2022-03-01 13:52:53 +01:00
|
|
|
import localeSi from "@angular/common/locales/si";
|
2018-08-02 15:26:50 +02:00
|
|
|
import localeSk from "@angular/common/locales/sk";
|
2022-03-01 13:52:53 +01:00
|
|
|
import localeSl from "@angular/common/locales/sl";
|
2021-02-03 19:21:22 +01:00
|
|
|
import localeSr from "@angular/common/locales/sr";
|
2021-05-17 22:25:57 +02:00
|
|
|
import localeMe from "@angular/common/locales/sr-Latn-ME";
|
2018-08-02 15:26:50 +02:00
|
|
|
import localeSv from "@angular/common/locales/sv";
|
|
|
|
import localeTh from "@angular/common/locales/th";
|
|
|
|
import localeTr from "@angular/common/locales/tr";
|
|
|
|
import localeUk from "@angular/common/locales/uk";
|
|
|
|
import localeVi from "@angular/common/locales/vi";
|
|
|
|
import localeZhCn from "@angular/common/locales/zh-Hans";
|
|
|
|
import localeZhTw from "@angular/common/locales/zh-Hant";
|
2022-02-24 20:50:19 +01:00
|
|
|
import { NgModule } from "@angular/core";
|
|
|
|
import { FormsModule, ReactiveFormsModule } from "@angular/forms";
|
|
|
|
import { BrowserModule } from "@angular/platform-browser";
|
|
|
|
import { BrowserAnimationsModule } from "@angular/platform-browser/animations";
|
|
|
|
|
2022-03-21 11:39:35 +01:00
|
|
|
import { JslibModule } from "jslib-angular/jslib.module";
|
2022-02-24 20:50:19 +01:00
|
|
|
|
|
|
|
import { EnvironmentComponent } from "./accounts/environment.component";
|
|
|
|
import { HintComponent } from "./accounts/hint.component";
|
|
|
|
import { LockComponent } from "./accounts/lock.component";
|
|
|
|
import { LoginComponent } from "./accounts/login.component";
|
|
|
|
import { PremiumComponent } from "./accounts/premium.component";
|
|
|
|
import { RegisterComponent } from "./accounts/register.component";
|
|
|
|
import { RemovePasswordComponent } from "./accounts/remove-password.component";
|
|
|
|
import { SetPasswordComponent } from "./accounts/set-password.component";
|
|
|
|
import { SettingsComponent } from "./accounts/settings.component";
|
|
|
|
import { SsoComponent } from "./accounts/sso.component";
|
|
|
|
import { TwoFactorOptionsComponent } from "./accounts/two-factor-options.component";
|
|
|
|
import { TwoFactorComponent } from "./accounts/two-factor.component";
|
|
|
|
import { UpdateTempPasswordComponent } from "./accounts/update-temp-password.component";
|
|
|
|
import { VaultTimeoutInputComponent } from "./accounts/vault-timeout-input.component";
|
|
|
|
import { AppRoutingModule } from "./app-routing.module";
|
|
|
|
import { AppComponent } from "./app.component";
|
|
|
|
import { PasswordRepromptComponent } from "./components/password-reprompt.component";
|
|
|
|
import { SetPinComponent } from "./components/set-pin.component";
|
|
|
|
import { VerifyMasterPasswordComponent } from "./components/verify-master-password.component";
|
|
|
|
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";
|
|
|
|
import { AddEditComponent as SendAddEditComponent } from "./send/add-edit.component";
|
|
|
|
import { EffluxDatesComponent as SendEffluxDatesComponent } from "./send/efflux-dates.component";
|
|
|
|
import { SendComponent } from "./send/send.component";
|
|
|
|
import { ServicesModule } from "./services.module";
|
|
|
|
import { AddEditCustomFieldsComponent } from "./vault/add-edit-custom-fields.component";
|
|
|
|
import { AddEditComponent } from "./vault/add-edit.component";
|
|
|
|
import { AttachmentsComponent } from "./vault/attachments.component";
|
|
|
|
import { CiphersComponent } from "./vault/ciphers.component";
|
|
|
|
import { CollectionsComponent } from "./vault/collections.component";
|
|
|
|
import { ExportComponent } from "./vault/export.component";
|
|
|
|
import { FolderAddEditComponent } from "./vault/folder-add-edit.component";
|
|
|
|
import { GroupingsComponent } from "./vault/groupings.component";
|
|
|
|
import { PasswordGeneratorHistoryComponent } from "./vault/password-generator-history.component";
|
|
|
|
import { PasswordGeneratorComponent } from "./vault/password-generator.component";
|
|
|
|
import { PasswordHistoryComponent } from "./vault/password-history.component";
|
|
|
|
import { ShareComponent } from "./vault/share.component";
|
|
|
|
import { VaultComponent } from "./vault/vault.component";
|
|
|
|
import { ViewCustomFieldsComponent } from "./vault/view-custom-fields.component";
|
|
|
|
import { ViewComponent } from "./vault/view.component";
|
2018-08-02 15:26:50 +02:00
|
|
|
|
2021-05-14 22:42:12 +02:00
|
|
|
registerLocaleData(localeAf, "af");
|
2021-07-11 23:44:40 +02:00
|
|
|
registerLocaleData(localeAz, "az");
|
2020-09-15 19:38:36 +02:00
|
|
|
registerLocaleData(localeBe, "be");
|
2018-08-02 15:26:50 +02:00
|
|
|
registerLocaleData(localeBg, "bg");
|
2021-05-14 22:42:12 +02:00
|
|
|
registerLocaleData(localeBn, "bn");
|
2022-03-01 13:52:53 +01:00
|
|
|
registerLocaleData(localeBs, "bs");
|
2019-01-18 21:57:33 +01:00
|
|
|
registerLocaleData(localeCa, "ca");
|
2018-08-02 15:26:50 +02:00
|
|
|
registerLocaleData(localeCs, "cs");
|
|
|
|
registerLocaleData(localeDa, "da");
|
|
|
|
registerLocaleData(localeDe, "de");
|
2020-05-23 05:14:22 +02:00
|
|
|
registerLocaleData(localeEl, "el");
|
2021-05-17 22:24:11 +02:00
|
|
|
registerLocaleData(localeEnGb, "en-GB");
|
|
|
|
registerLocaleData(localeEnIn, "en-IN");
|
2022-03-01 13:52:53 +01:00
|
|
|
registerLocaleData(localeEo, "eo");
|
2018-08-02 15:26:50 +02:00
|
|
|
registerLocaleData(localeEs, "es");
|
|
|
|
registerLocaleData(localeEt, "et");
|
|
|
|
registerLocaleData(localeFa, "fa");
|
|
|
|
registerLocaleData(localeFi, "fi");
|
2022-03-01 13:52:53 +01:00
|
|
|
registerLocaleData(localeFil, "fil");
|
2018-08-02 15:26:50 +02:00
|
|
|
registerLocaleData(localeFr, "fr");
|
2021-05-14 22:42:12 +02:00
|
|
|
registerLocaleData(localeHe, "he");
|
2022-03-01 13:52:53 +01:00
|
|
|
registerLocaleData(localeHi, "hi");
|
2018-08-02 15:26:50 +02:00
|
|
|
registerLocaleData(localeHr, "hr");
|
|
|
|
registerLocaleData(localeHu, "hu");
|
|
|
|
registerLocaleData(localeId, "id");
|
|
|
|
registerLocaleData(localeIt, "it");
|
|
|
|
registerLocaleData(localeJa, "ja");
|
2022-03-01 13:52:53 +01:00
|
|
|
registerLocaleData(localeKa, "ka");
|
|
|
|
registerLocaleData(localeKm, "km");
|
2021-07-06 23:40:17 +02:00
|
|
|
registerLocaleData(localeKn, "kn");
|
2018-08-02 15:26:50 +02:00
|
|
|
registerLocaleData(localeKo, "ko");
|
2021-05-14 22:42:12 +02:00
|
|
|
registerLocaleData(localeLv, "lv");
|
|
|
|
registerLocaleData(localeMe, "me");
|
2020-09-15 19:38:36 +02:00
|
|
|
registerLocaleData(localeMl, "ml");
|
2018-08-02 15:26:50 +02:00
|
|
|
registerLocaleData(localeNb, "nb");
|
|
|
|
registerLocaleData(localeNl, "nl");
|
2022-03-01 13:52:53 +01:00
|
|
|
registerLocaleData(localeNn, "nn");
|
2018-08-02 15:26:50 +02:00
|
|
|
registerLocaleData(localePl, "pl");
|
|
|
|
registerLocaleData(localePtBr, "pt-BR");
|
|
|
|
registerLocaleData(localePtPt, "pt-PT");
|
|
|
|
registerLocaleData(localeRo, "ro");
|
|
|
|
registerLocaleData(localeRu, "ru");
|
2022-03-01 13:52:53 +01:00
|
|
|
registerLocaleData(localeSi, "si");
|
2018-08-02 15:26:50 +02:00
|
|
|
registerLocaleData(localeSk, "sk");
|
2022-03-01 13:52:53 +01:00
|
|
|
registerLocaleData(localeSl, "sl");
|
2020-11-18 22:13:05 +01:00
|
|
|
registerLocaleData(localeSr, "sr");
|
2018-08-02 15:26:50 +02:00
|
|
|
registerLocaleData(localeSv, "sv");
|
|
|
|
registerLocaleData(localeTh, "th");
|
|
|
|
registerLocaleData(localeTr, "tr");
|
|
|
|
registerLocaleData(localeUk, "uk");
|
|
|
|
registerLocaleData(localeVi, "vi");
|
|
|
|
registerLocaleData(localeZhCn, "zh-CN");
|
|
|
|
registerLocaleData(localeZhTw, "zh-TW");
|
|
|
|
|
2018-01-16 20:48:34 +01:00
|
|
|
@NgModule({
|
2018-01-16 21:58:17 +01:00
|
|
|
imports: [
|
2022-03-21 11:39:35 +01:00
|
|
|
A11yModule,
|
2021-07-19 15:56:31 +02:00
|
|
|
AppRoutingModule,
|
2018-01-26 20:12:41 +01:00
|
|
|
BrowserAnimationsModule,
|
2021-07-19 15:56:31 +02:00
|
|
|
BrowserModule,
|
|
|
|
DragDropModule,
|
2018-01-23 22:58:32 +01:00
|
|
|
FormsModule,
|
2022-03-21 11:39:35 +01:00
|
|
|
JslibModule,
|
|
|
|
OverlayModule,
|
2021-07-19 15:56:31 +02:00
|
|
|
ReactiveFormsModule,
|
2021-08-11 05:00:04 +02:00
|
|
|
ScrollingModule,
|
2022-03-21 11:39:35 +01:00
|
|
|
ServicesModule,
|
2018-01-16 21:58:17 +01:00
|
|
|
],
|
|
|
|
declarations: [
|
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,
|
2018-01-24 04:21:14 +01:00
|
|
|
CiphersComponent,
|
2018-10-23 21:50:21 +02:00
|
|
|
CollectionsComponent,
|
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,
|
2018-01-24 04:21:14 +01:00
|
|
|
GroupingsComponent,
|
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,
|
2018-01-16 21:58:17 +01:00
|
|
|
LoginComponent,
|
2021-02-05 18:34:01 +01:00
|
|
|
NavComponent,
|
2018-01-29 15:33:43 +01:00
|
|
|
PasswordGeneratorComponent,
|
2018-02-18 04:37:43 +01:00
|
|
|
PasswordGeneratorHistoryComponent,
|
2018-07-30 16:05:36 +02:00
|
|
|
PasswordHistoryComponent,
|
2021-11-09 19:00:01 +01:00
|
|
|
PasswordRepromptComponent,
|
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,
|
2021-11-09 19:00:01 +01:00
|
|
|
SendEffluxDatesComponent,
|
2020-08-21 15:50:36 +02:00
|
|
|
SetPasswordComponent,
|
2021-11-09 19:00:01 +01:00
|
|
|
SetPinComponent,
|
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
|
|
|
VerifyMasterPasswordComponent,
|
|
|
|
ViewComponent,
|
2021-09-21 02:48:17 +02:00
|
|
|
ViewCustomFieldsComponent,
|
2018-01-16 21:58:17 +01:00
|
|
|
],
|
2021-02-03 22:24:49 +01:00
|
|
|
providers: [DatePipe],
|
2018-01-16 20:48:34 +01:00
|
|
|
bootstrap: [AppComponent],
|
|
|
|
})
|
|
|
|
export class AppModule {}
|