|
|
|
@ -7,13 +7,12 @@ import { ToastModule } from 'primeng/toast'; |
|
|
|
import { forkJoin } from 'rxjs'; |
|
|
|
import { take } from 'rxjs/operators'; |
|
|
|
import { ConfirmationComponent } from './components/confirmation/confirmation.component'; |
|
|
|
import { Error500Component } from './components/errors/error-500.component'; |
|
|
|
import { LoaderBarComponent } from './components/loader-bar/loader-bar.component'; |
|
|
|
import { ModalComponent } from './components/modal/modal.component'; |
|
|
|
import { ToastComponent } from './components/toast/toast.component'; |
|
|
|
import styles from './contants/styles'; |
|
|
|
import { ErrorHandler } from './handlers/error.handler'; |
|
|
|
import { Error500Component } from './components/errors/error-500.component'; |
|
|
|
import { LoaderBarComponent } from './components/loader-bar/loader-bar.component'; |
|
|
|
import { Options } from './models/options'; |
|
|
|
|
|
|
|
export function appendScript(injector: Injector) { |
|
|
|
const fn = function() { |
|
|
|
@ -47,7 +46,7 @@ export function appendScript(injector: Injector) { |
|
|
|
entryComponents: [Error500Component], |
|
|
|
}) |
|
|
|
export class ThemeSharedModule { |
|
|
|
static forRoot(options = {} as Options): ModuleWithProviders { |
|
|
|
static forRoot(): ModuleWithProviders { |
|
|
|
return { |
|
|
|
ngModule: ThemeSharedModule, |
|
|
|
providers: [ |
|
|
|
|