|
|
|
@ -15,12 +15,14 @@ import { JwtModule } from "@auth0/angular-jwt";
|
|
|
|
|
import { NgbModule } from "@ng-bootstrap/ng-bootstrap";
|
|
|
|
|
import { TranslateLoader, TranslateModule } from "@ngx-translate/core";
|
|
|
|
|
import { TranslateHttpLoader } from "@ngx-translate/http-loader";
|
|
|
|
|
import { CookieService } from "ng2-cookies";
|
|
|
|
|
import { GrowlModule } from "primeng/components/growl/growl";
|
|
|
|
|
import { ButtonModule, CaptchaModule,ConfirmationService, ConfirmDialogModule, DataTableModule,DialogModule, SharedModule, TooltipModule } from "primeng/primeng";
|
|
|
|
|
|
|
|
|
|
// Components
|
|
|
|
|
import { AppComponent } from "./app.component";
|
|
|
|
|
|
|
|
|
|
import { CookieComponent } from "./auth/cookie.component";
|
|
|
|
|
import { PageNotFoundComponent } from "./errors/not-found.component";
|
|
|
|
|
import { LandingPageComponent } from "./landingpage/landingpage.component";
|
|
|
|
|
import { LoginComponent } from "./login/login.component";
|
|
|
|
@ -55,6 +57,7 @@ const routes: Routes = [
|
|
|
|
|
{ path: "reset", component: ResetPasswordComponent },
|
|
|
|
|
{ path: "token", component: TokenResetPasswordComponent },
|
|
|
|
|
{ path: "landingpage", component: LandingPageComponent },
|
|
|
|
|
{ path: "auth/cookie", component: CookieComponent },
|
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
// AoT requires an exported function for factories
|
|
|
|
@ -120,6 +123,7 @@ export function HttpLoaderFactory(http: HttpClient, platformLocation: PlatformLo
|
|
|
|
|
LandingPageComponent,
|
|
|
|
|
ResetPasswordComponent,
|
|
|
|
|
TokenResetPasswordComponent,
|
|
|
|
|
CookieComponent,
|
|
|
|
|
],
|
|
|
|
|
providers: [
|
|
|
|
|
RequestService,
|
|
|
|
@ -132,6 +136,7 @@ export function HttpLoaderFactory(http: HttpClient, platformLocation: PlatformLo
|
|
|
|
|
LandingPageService,
|
|
|
|
|
ConfirmationService,
|
|
|
|
|
ImageService,
|
|
|
|
|
CookieService,
|
|
|
|
|
],
|
|
|
|
|
bootstrap: [AppComponent],
|
|
|
|
|
})
|
|
|
|
|