@paperless/angular 0.1.0-alpha.209 → 0.1.0-alpha.210

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2927,14 +2927,13 @@ class ToastModule {
2927
2927
  }
2928
2928
  ToastModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: ToastModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2929
2929
  ToastModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.7", ngImport: i0, type: ToastModule, declarations: [ToastContainer, ToastDirective], imports: [CommonModule, StencilModule], exports: [ToastContainer, ToastDirective] });
2930
- ToastModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: ToastModule, providers: [...TOAST_SERVICES], imports: [CommonModule, StencilModule] });
2930
+ ToastModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: ToastModule, imports: [CommonModule, StencilModule] });
2931
2931
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: ToastModule, decorators: [{
2932
2932
  type: NgModule,
2933
2933
  args: [{
2934
2934
  imports: [CommonModule, StencilModule],
2935
2935
  declarations: [...TOAST_COMPONENTS, ...TOAST_DIRECTIVES],
2936
2936
  exports: [...TOAST_COMPONENTS, ...TOAST_DIRECTIVES],
2937
- providers: [...TOAST_SERVICES],
2938
2937
  }]
2939
2938
  }] });
2940
2939
 
@@ -3008,6 +3007,12 @@ const PIPES = [CustomCurrencyPipe, CustomDatePipe, SafePipe];
3008
3007
 
3009
3008
  const NGX_PIPES = [DatePipe, CurrencyPipe];
3010
3009
  class PaperlessModule {
3010
+ static forRoot() {
3011
+ return {
3012
+ ngModule: PaperlessModule,
3013
+ providers: [...TOAST_SERVICES],
3014
+ };
3015
+ }
3011
3016
  }
3012
3017
  PaperlessModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: PaperlessModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
3013
3018
  PaperlessModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.7", ngImport: i0, type: PaperlessModule, declarations: [PaginationDirective, PageSizeSelectDirective, SelectDirective, CustomCurrencyPipe, CustomDatePipe, SafePipe], imports: [CommonModule, StencilModule, TableModule, ToastModule], exports: [StencilModule, TableModule, ToastModule, PaginationDirective, PageSizeSelectDirective, SelectDirective, CustomCurrencyPipe, CustomDatePipe, SafePipe] });