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

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.
Files changed (30) hide show
  1. package/esm2020/lib/modules/index.mjs +4 -1
  2. package/esm2020/lib/modules/table/table.module.mjs +8 -8
  3. package/esm2020/lib/modules/toast/components/index.mjs +2 -4
  4. package/esm2020/lib/modules/toast/components/toast-container/toast-container.component.mjs +6 -3
  5. package/esm2020/lib/modules/toast/directives/index.mjs +4 -0
  6. package/esm2020/lib/modules/toast/directives/toast.directive.mjs +44 -0
  7. package/esm2020/lib/modules/toast/index.mjs +2 -1
  8. package/esm2020/lib/modules/toast/toast.module.mjs +13 -12
  9. package/esm2020/lib/paperless.module.mjs +9 -18
  10. package/esm2020/lib/stencil/components.mjs +27 -1
  11. package/esm2020/lib/stencil/index.mjs +2 -1
  12. package/esm2020/lib/stencil.module.mjs +6 -6
  13. package/fesm2015/paperless-angular.mjs +74 -77
  14. package/fesm2015/paperless-angular.mjs.map +1 -1
  15. package/fesm2020/paperless-angular.mjs +74 -77
  16. package/fesm2020/paperless-angular.mjs.map +1 -1
  17. package/lib/modules/index.d.ts +2 -0
  18. package/lib/modules/table/table.module.d.ts +4 -4
  19. package/lib/modules/toast/components/index.d.ts +1 -3
  20. package/lib/modules/toast/directives/index.d.ts +3 -0
  21. package/lib/modules/toast/directives/toast.directive.d.ts +13 -0
  22. package/lib/modules/toast/index.d.ts +1 -0
  23. package/lib/modules/toast/toast.module.d.ts +6 -6
  24. package/lib/paperless.module.d.ts +1 -1
  25. package/lib/stencil/components.d.ts +13 -0
  26. package/lib/stencil/index.d.ts +1 -1
  27. package/lib/stencil.module.d.ts +4 -4
  28. package/package.json +1 -1
  29. package/esm2020/lib/modules/toast/components/toast/toast.component.mjs +0 -71
  30. package/lib/modules/toast/components/toast/toast.component.d.ts +0 -22
@@ -1656,6 +1656,31 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImpor
1656
1656
  inputs: ['enableHover', 'variant']
1657
1657
  }]
1658
1658
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1659
+ let PToast = class PToast {
1660
+ constructor(c, r, z) {
1661
+ this.z = z;
1662
+ c.detach();
1663
+ this.el = r.nativeElement;
1664
+ proxyOutputs(this, this.el, ['action']);
1665
+ }
1666
+ };
1667
+ PToast.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: PToast, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
1668
+ PToast.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.7", type: PToast, selector: "p-toast", inputs: { actionIcon: "actionIcon", actionIconFlip: "actionIconFlip", actionIconRotate: "actionIconRotate", content: "content", enableAction: "enableAction", header: "header", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1669
+ PToast = __decorate([
1670
+ ProxyCmp({
1671
+ defineCustomElementFn: undefined,
1672
+ inputs: ['actionIcon', 'actionIconFlip', 'actionIconRotate', 'content', 'enableAction', 'header', 'variant']
1673
+ })
1674
+ ], PToast);
1675
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: PToast, decorators: [{
1676
+ type: Component,
1677
+ args: [{
1678
+ selector: 'p-toast',
1679
+ changeDetection: ChangeDetectionStrategy.OnPush,
1680
+ template: '<ng-content></ng-content>',
1681
+ inputs: ['actionIcon', 'actionIconFlip', 'actionIconRotate', 'content', 'enableAction', 'header', 'variant']
1682
+ }]
1683
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1659
1684
  let PTooltip = class PTooltip {
1660
1685
  constructor(c, r, z) {
1661
1686
  this.z = z;
@@ -2718,15 +2743,16 @@ const DIRECTIVES = [
2718
2743
  PTableFooter,
2719
2744
  PTableHeader,
2720
2745
  PTableRow,
2746
+ PToast,
2721
2747
  PTooltip
2722
2748
  ];
2723
2749
 
2724
- class PaperlessStencilModule {
2750
+ class StencilModule {
2725
2751
  }
2726
- PaperlessStencilModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: PaperlessStencilModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2727
- PaperlessStencilModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.7", ngImport: i0, type: PaperlessStencilModule, declarations: [PAccordion, PAvatar, PAvatarGroup, PButton, PCardBody, PCardContainer, PCardHeader, PContentSlider, PCounter, PDivider, PDropdown, PDropdownMenuContainer, PDropdownMenuItem, PHelper, PIcon, PIllustration, PInfoPanel, PInputGroup, PLabel, PLayout, PLoader, PModal, PModalBackdrop, PModalBody, PModalContainer, PModalFooter, PModalHeader, PNavbar, PNavigationItem, PPageSizeSelect, PPagination, PPaginationItem, PProfile, PSegmentContainer, PSegmentItem, PSelect, PSliderIndicator, PStatus, PStepper, PStepperItem, PStepperLine, PTabGroup, PTabItem, PTableContainer, PTableFooter, PTableHeader, PTableRow, PTooltip], exports: [PAccordion, PAvatar, PAvatarGroup, PButton, PCardBody, PCardContainer, PCardHeader, PContentSlider, PCounter, PDivider, PDropdown, PDropdownMenuContainer, PDropdownMenuItem, PHelper, PIcon, PIllustration, PInfoPanel, PInputGroup, PLabel, PLayout, PLoader, PModal, PModalBackdrop, PModalBody, PModalContainer, PModalFooter, PModalHeader, PNavbar, PNavigationItem, PPageSizeSelect, PPagination, PPaginationItem, PProfile, PSegmentContainer, PSegmentItem, PSelect, PSliderIndicator, PStatus, PStepper, PStepperItem, PStepperLine, PTabGroup, PTabItem, PTableContainer, PTableFooter, PTableHeader, PTableRow, PTooltip] });
2728
- PaperlessStencilModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: PaperlessStencilModule });
2729
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: PaperlessStencilModule, decorators: [{
2752
+ StencilModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: StencilModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2753
+ StencilModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.7", ngImport: i0, type: StencilModule, declarations: [PAccordion, PAvatar, PAvatarGroup, PButton, PCardBody, PCardContainer, PCardHeader, PContentSlider, PCounter, PDivider, PDropdown, PDropdownMenuContainer, PDropdownMenuItem, PHelper, PIcon, PIllustration, PInfoPanel, PInputGroup, PLabel, PLayout, PLoader, PModal, PModalBackdrop, PModalBody, PModalContainer, PModalFooter, PModalHeader, PNavbar, PNavigationItem, PPageSizeSelect, PPagination, PPaginationItem, PProfile, PSegmentContainer, PSegmentItem, PSelect, PSliderIndicator, PStatus, PStepper, PStepperItem, PStepperLine, PTabGroup, PTabItem, PTableContainer, PTableFooter, PTableHeader, PTableRow, PToast, PTooltip], exports: [PAccordion, PAvatar, PAvatarGroup, PButton, PCardBody, PCardContainer, PCardHeader, PContentSlider, PCounter, PDivider, PDropdown, PDropdownMenuContainer, PDropdownMenuItem, PHelper, PIcon, PIllustration, PInfoPanel, PInputGroup, PLabel, PLayout, PLoader, PModal, PModalBackdrop, PModalBody, PModalContainer, PModalFooter, PModalHeader, PNavbar, PNavigationItem, PPageSizeSelect, PPagination, PPaginationItem, PProfile, PSegmentContainer, PSegmentItem, PSelect, PSliderIndicator, PStatus, PStepper, PStepperItem, PStepperLine, PTabGroup, PTabItem, PTableContainer, PTableFooter, PTableHeader, PTableRow, PToast, PTooltip] });
2754
+ StencilModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: StencilModule });
2755
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: StencilModule, decorators: [{
2730
2756
  type: NgModule,
2731
2757
  args: [{
2732
2758
  declarations: [...DIRECTIVES],
@@ -2734,15 +2760,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImpor
2734
2760
  }]
2735
2761
  }] });
2736
2762
 
2737
- class PaperlessTableModule {
2763
+ class TableModule {
2738
2764
  }
2739
- PaperlessTableModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: PaperlessTableModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2740
- PaperlessTableModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.7", ngImport: i0, type: PaperlessTableModule, declarations: [Table, TableCell, TableColumn, TableFooterDirective, TableHeaderDirective, TableDirective, TableNgxDirective], imports: [CommonModule, PaperlessStencilModule], exports: [Table, TableCell, TableColumn, TableFooterDirective, TableHeaderDirective, TableDirective, TableNgxDirective] });
2741
- PaperlessTableModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: PaperlessTableModule, imports: [CommonModule, PaperlessStencilModule] });
2742
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: PaperlessTableModule, decorators: [{
2765
+ TableModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: TableModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2766
+ TableModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.7", ngImport: i0, type: TableModule, declarations: [Table, TableCell, TableColumn, TableFooterDirective, TableHeaderDirective, TableDirective, TableNgxDirective], imports: [CommonModule, StencilModule], exports: [Table, TableCell, TableColumn, TableFooterDirective, TableHeaderDirective, TableDirective, TableNgxDirective] });
2767
+ TableModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: TableModule, imports: [CommonModule, StencilModule] });
2768
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: TableModule, decorators: [{
2743
2769
  type: NgModule,
2744
2770
  args: [{
2745
- imports: [CommonModule, PaperlessStencilModule],
2771
+ imports: [CommonModule, StencilModule],
2746
2772
  declarations: [...TABLE_COMPONENTS, ...TABLE_DIRECTIVES],
2747
2773
  exports: [...TABLE_COMPONENTS, ...TABLE_DIRECTIVES],
2748
2774
  }]
@@ -2806,63 +2832,39 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImpor
2806
2832
  }]
2807
2833
  }] });
2808
2834
 
2809
- let Toast = class Toast {
2810
- constructor(c, r, z) {
2811
- this.z = z;
2835
+ class ToastDirective {
2836
+ constructor() {
2812
2837
  this.delay = 5000;
2813
2838
  this.index = 0;
2814
2839
  this.dismissOnAction = true;
2815
2840
  this.dismiss = new EventEmitter();
2816
- c.detach();
2817
- this.el = r.nativeElement;
2818
- proxyOutputs(this, this.el, ['action']);
2819
2841
  }
2820
2842
  ngOnInit() {
2821
- if (this.dismissOnAction) {
2822
- this.el.addEventListener('action', () => this.doDismiss());
2823
- }
2824
2843
  if (this.delay === 'infinite' || this.delay === 0) {
2825
2844
  return;
2826
2845
  }
2827
2846
  setTimeout(() => this.doDismiss(), this.delay);
2828
2847
  }
2848
+ onAction() {
2849
+ if (this.dismissOnAction) {
2850
+ this.doDismiss();
2851
+ }
2852
+ }
2829
2853
  doDismiss() {
2830
2854
  this.dismiss.next(this.index);
2831
2855
  }
2832
- };
2833
- Toast.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: Toast, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
2834
- Toastcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.7", type: Toast, selector: "p-toast", inputs: { actionIcon: "actionIcon", actionIconFlip: "actionIconFlip", actionIconRotate: "actionIconRotate", content: "content", enableAction: "enableAction", header: "header", variant: "variant", delay: "delay", index: "index", dismissOnAction: "dismissOnAction" }, outputs: { dismiss: "dismiss" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
2835
- Toast = __decorate([
2836
- ProxyCmp({
2837
- defineCustomElementFn: undefined,
2838
- inputs: [
2839
- 'actionIcon',
2840
- 'actionIconFlip',
2841
- 'actionIconRotate',
2842
- 'content',
2843
- 'enableAction',
2844
- 'header',
2845
- 'variant',
2846
- ],
2847
- })
2848
- ], Toast);
2849
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: Toast, decorators: [{
2850
- type: Component,
2856
+ }
2857
+ ToastDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: ToastDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
2858
+ ToastDirectivedir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.7", type: ToastDirective, selector: "p-toast", inputs: { delay: "delay", index: "index", dismissOnAction: "dismissOnAction" }, outputs: { dismiss: "dismiss" }, host: { listeners: { "action": "onAction()" } }, ngImport: i0 });
2859
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: ToastDirective, decorators: [{
2860
+ type: Directive,
2851
2861
  args: [{
2852
2862
  selector: 'p-toast',
2853
- changeDetection: ChangeDetectionStrategy.OnPush,
2854
- template: '<ng-content></ng-content>',
2855
- inputs: [
2856
- 'actionIcon',
2857
- 'actionIconFlip',
2858
- 'actionIconRotate',
2859
- 'content',
2860
- 'enableAction',
2861
- 'header',
2862
- 'variant',
2863
- ],
2863
+ host: {
2864
+ '(action)': 'onAction()',
2865
+ },
2864
2866
  }]
2865
- }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; }, propDecorators: { delay: [{
2867
+ }], propDecorators: { delay: [{
2866
2868
  type: Input
2867
2869
  }], index: [{
2868
2870
  type: Input
@@ -2879,13 +2881,15 @@ let ToastContainer = class ToastContainer {
2879
2881
  this._toastService = _toastService;
2880
2882
  this.toasts$ = this._toastService.toasts$;
2881
2883
  this.el = r.nativeElement;
2884
+ console.log('Toast container created!');
2885
+ this.toasts$.subscribe((toasts) => console.log('Toasts updated', toasts.length));
2882
2886
  }
2883
2887
  dismiss(index) {
2884
2888
  this._toastService.hide(index);
2885
2889
  }
2886
2890
  };
2887
2891
  ToastContainer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: ToastContainer, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }, { token: ToastService }], target: i0.ɵɵFactoryTarget.Component });
2888
- ToastContainer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.7", type: ToastContainer, selector: "p-toast-container", inputs: { placement: "placement" }, ngImport: i0, template: "<p-toast\n *ngFor=\"let toast of toasts$ | async; let index = index\"\n [variant]=\"toast.variant\"\n [header]=\"toast.header\"\n [content]=\"toast.content\"\n [index]=\"index\"\n [delay]=\"toast.options.delay ?? 5000\"\n [dismissOnAction]=\"toast.options.dismissOnAction ?? true\"\n [enableAction]=\"toast.options.enableAction\"\n [actionIcon]=\"toast.options.icon?.variant\"\n [actionIconFlip]=\"toast.options.icon?.flip\"\n [actionIconRotate]=\"toast.options.icon?.rotate\"\n (dismiss)=\"dismiss($event)\"\n [@pSlideInBottomOutTop]\n></p-toast>\n", dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: Toast, selector: "p-toast", inputs: ["actionIcon", "actionIconFlip", "actionIconRotate", "content", "enableAction", "header", "variant", "delay", "index", "dismissOnAction"], outputs: ["dismiss"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }], animations: [SLIDE_IN_BOTTOM_OUT_TOP], changeDetection: i0.ChangeDetectionStrategy.OnPush });
2892
+ ToastContainer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.7", type: ToastContainer, selector: "p-toast-container", inputs: { placement: "placement" }, ngImport: i0, template: "<p-toast\n *ngFor=\"let toast of toasts$ | async; let index = index\"\n [variant]=\"toast.variant\"\n [header]=\"toast.header\"\n [content]=\"toast.content\"\n [index]=\"index\"\n [delay]=\"toast.options.delay ?? 5000\"\n [dismissOnAction]=\"toast.options.dismissOnAction ?? true\"\n [enableAction]=\"toast.options.enableAction\"\n [actionIcon]=\"toast.options.icon?.variant\"\n [actionIconFlip]=\"toast.options.icon?.flip\"\n [actionIconRotate]=\"toast.options.icon?.rotate\"\n (dismiss)=\"dismiss($event)\"\n [@pSlideInBottomOutTop]\n></p-toast>\n", dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: PToast, selector: "p-toast", inputs: ["actionIcon", "actionIconFlip", "actionIconRotate", "content", "enableAction", "header", "variant"] }, { kind: "directive", type: ToastDirective, selector: "p-toast", inputs: ["delay", "index", "dismissOnAction"], outputs: ["dismiss"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }], animations: [SLIDE_IN_BOTTOM_OUT_TOP], changeDetection: i0.ChangeDetectionStrategy.OnPush });
2889
2893
  ToastContainer = __decorate([
2890
2894
  ProxyCmp({
2891
2895
  defineCustomElementFn: undefined,
@@ -2897,25 +2901,29 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImpor
2897
2901
  args: [{ selector: 'p-toast-container', changeDetection: ChangeDetectionStrategy.OnPush, inputs: ['placement'], animations: [SLIDE_IN_BOTTOM_OUT_TOP], template: "<p-toast\n *ngFor=\"let toast of toasts$ | async; let index = index\"\n [variant]=\"toast.variant\"\n [header]=\"toast.header\"\n [content]=\"toast.content\"\n [index]=\"index\"\n [delay]=\"toast.options.delay ?? 5000\"\n [dismissOnAction]=\"toast.options.dismissOnAction ?? true\"\n [enableAction]=\"toast.options.enableAction\"\n [actionIcon]=\"toast.options.icon?.variant\"\n [actionIconFlip]=\"toast.options.icon?.flip\"\n [actionIconRotate]=\"toast.options.icon?.rotate\"\n (dismiss)=\"dismiss($event)\"\n [@pSlideInBottomOutTop]\n></p-toast>\n" }]
2898
2902
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.NgZone }, { type: ToastService }]; } });
2899
2903
 
2900
- const TOAST_COMPONENTS = [Toast, ToastContainer];
2904
+ const TOAST_COMPONENTS = [ToastContainer];
2905
+
2906
+ const TOAST_DIRECTIVES = [ToastDirective];
2901
2907
 
2902
2908
  const TOAST_SERVICES = [ToastService];
2903
2909
 
2904
- class PaperlessToastModule {
2910
+ class ToastModule {
2905
2911
  }
2906
- PaperlessToastModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: PaperlessToastModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2907
- PaperlessToastModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.7", ngImport: i0, type: PaperlessToastModule, declarations: [Toast, ToastContainer], imports: [CommonModule, PaperlessStencilModule], exports: [Toast, ToastContainer] });
2908
- PaperlessToastModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: PaperlessToastModule, providers: [...TOAST_SERVICES], imports: [CommonModule, PaperlessStencilModule] });
2909
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: PaperlessToastModule, decorators: [{
2912
+ ToastModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: ToastModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2913
+ 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] });
2914
+ ToastModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: ToastModule, providers: [...TOAST_SERVICES], imports: [CommonModule, StencilModule] });
2915
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: ToastModule, decorators: [{
2910
2916
  type: NgModule,
2911
2917
  args: [{
2912
- imports: [CommonModule, PaperlessStencilModule],
2913
- declarations: [...TOAST_COMPONENTS],
2914
- exports: [...TOAST_COMPONENTS],
2918
+ imports: [CommonModule, StencilModule],
2919
+ declarations: [...TOAST_COMPONENTS, ...TOAST_DIRECTIVES],
2920
+ exports: [...TOAST_COMPONENTS, ...TOAST_DIRECTIVES],
2915
2921
  providers: [...TOAST_SERVICES],
2916
2922
  }]
2917
2923
  }] });
2918
2924
 
2925
+ const MODULES = [TableModule, ToastModule];
2926
+
2919
2927
  class CustomCurrencyPipe {
2920
2928
  constructor(_currencyPipe) {
2921
2929
  this._currencyPipe = _currencyPipe;
@@ -2986,25 +2994,14 @@ const NGX_PIPES = [DatePipe, CurrencyPipe];
2986
2994
  class PaperlessModule {
2987
2995
  }
2988
2996
  PaperlessModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: PaperlessModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2989
- 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,
2990
- PaperlessStencilModule,
2991
- PaperlessTableModule,
2992
- PaperlessToastModule], exports: [PaperlessStencilModule, PaginationDirective, PageSizeSelectDirective, SelectDirective, CustomCurrencyPipe, CustomDatePipe, SafePipe] });
2993
- PaperlessModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: PaperlessModule, providers: [...NGX_PIPES, ...PIPES], imports: [CommonModule,
2994
- PaperlessStencilModule,
2995
- PaperlessTableModule,
2996
- PaperlessToastModule, PaperlessStencilModule] });
2997
+ 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] });
2998
+ PaperlessModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: PaperlessModule, providers: [...NGX_PIPES, ...PIPES], imports: [CommonModule, StencilModule, MODULES, StencilModule, TableModule, ToastModule] });
2997
2999
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: PaperlessModule, decorators: [{
2998
3000
  type: NgModule,
2999
3001
  args: [{
3000
- imports: [
3001
- CommonModule,
3002
- PaperlessStencilModule,
3003
- PaperlessTableModule,
3004
- PaperlessToastModule,
3005
- ],
3002
+ imports: [CommonModule, StencilModule, ...MODULES],
3006
3003
  declarations: [...DIRECTIVES$1, ...PIPES],
3007
- exports: [PaperlessStencilModule, ...DIRECTIVES$1, ...PIPES],
3004
+ exports: [StencilModule, ...MODULES, ...DIRECTIVES$1, ...PIPES],
3008
3005
  providers: [...NGX_PIPES, ...PIPES],
3009
3006
  }]
3010
3007
  }] });
@@ -3017,5 +3014,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImpor
3017
3014
  * Generated bundle index. Do not edit.
3018
3015
  */
3019
3016
 
3020
- export { BaseTableComponent, BaseUploadComponent, BaseValueAccessor, CustomCurrencyPipe, CustomDatePipe, DIRECTIVES$1 as DIRECTIVES, FormBaseComponent, PAccordion, PAvatar, PAvatarGroup, PButton, PCardBody, PCardContainer, PCardHeader, PContentSlider, PCounter, PDivider, PDropdown, PDropdownMenuContainer, PDropdownMenuItem, PHelper, PIPES, PIcon, PIllustration, PInfoPanel, PInputGroup, PLabel, PLayout, PLoader, PModal, PModalBackdrop, PModalBody, PModalContainer, PModalFooter, PModalHeader, PNavbar, PNavigationItem, PPageSizeSelect, PPagination, PPaginationItem, PProfile, PSegmentContainer, PSegmentItem, PSelect, PSliderIndicator, PStatus, PStepper, PStepperItem, PStepperLine, PTabGroup, PTabItem, PTableContainer, PTableFooter, PTableHeader, PTableRow, PTooltip, PageSizeSelectDirective, PaginationDirective, PaperlessModule, PaperlessStencilModule, PaperlessTableModule, PaperlessToastModule, SafePipe, SelectDirective, TABLE_COMPONENTS, TABLE_DIRECTIVES, TOAST_COMPONENTS, TOAST_SERVICES, Table, TableCell, TableColumn, TableDirective, TableFooterDirective, TableHeaderDirective, TableNgxDirective, Toast, ToastContainer, ToastService, ToastVariants };
3017
+ export { BaseTableComponent, BaseUploadComponent, BaseValueAccessor, CustomCurrencyPipe, CustomDatePipe, DIRECTIVES$1 as DIRECTIVES, FormBaseComponent, MODULES, PAccordion, PAvatar, PAvatarGroup, PButton, PCardBody, PCardContainer, PCardHeader, PContentSlider, PCounter, PDivider, PDropdown, PDropdownMenuContainer, PDropdownMenuItem, PHelper, PIPES, PIcon, PIllustration, PInfoPanel, PInputGroup, PLabel, PLayout, PLoader, PModal, PModalBackdrop, PModalBody, PModalContainer, PModalFooter, PModalHeader, PNavbar, PNavigationItem, PPageSizeSelect, PPagination, PPaginationItem, PProfile, PSegmentContainer, PSegmentItem, PSelect, PSliderIndicator, PStatus, PStepper, PStepperItem, PStepperLine, PTabGroup, PTabItem, PTableContainer, PTableFooter, PTableHeader, PTableRow, PToast, PTooltip, PageSizeSelectDirective, PaginationDirective, PaperlessModule, SafePipe, SelectDirective, StencilModule, TABLE_COMPONENTS, TABLE_DIRECTIVES, TOAST_COMPONENTS, TOAST_DIRECTIVES, TOAST_SERVICES, Table, TableCell, TableColumn, TableDirective, TableFooterDirective, TableHeaderDirective, TableModule, TableNgxDirective, ToastContainer, ToastDirective, ToastModule, ToastService, ToastVariants };
3021
3018
  //# sourceMappingURL=paperless-angular.mjs.map