@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;
@@ -2729,15 +2754,16 @@ const DIRECTIVES = [
2729
2754
  PTableFooter,
2730
2755
  PTableHeader,
2731
2756
  PTableRow,
2757
+ PToast,
2732
2758
  PTooltip
2733
2759
  ];
2734
2760
 
2735
- class PaperlessStencilModule {
2761
+ class StencilModule {
2736
2762
  }
2737
- PaperlessStencilModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: PaperlessStencilModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2738
- 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] });
2739
- PaperlessStencilModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: PaperlessStencilModule });
2740
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: PaperlessStencilModule, decorators: [{
2763
+ StencilModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: StencilModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2764
+ 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] });
2765
+ StencilModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: StencilModule });
2766
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: StencilModule, decorators: [{
2741
2767
  type: NgModule,
2742
2768
  args: [{
2743
2769
  declarations: [...DIRECTIVES],
@@ -2745,15 +2771,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImpor
2745
2771
  }]
2746
2772
  }] });
2747
2773
 
2748
- class PaperlessTableModule {
2774
+ class TableModule {
2749
2775
  }
2750
- PaperlessTableModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: PaperlessTableModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2751
- 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] });
2752
- PaperlessTableModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: PaperlessTableModule, imports: [CommonModule, PaperlessStencilModule] });
2753
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: PaperlessTableModule, decorators: [{
2776
+ TableModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: TableModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2777
+ 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] });
2778
+ TableModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: TableModule, imports: [CommonModule, StencilModule] });
2779
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: TableModule, decorators: [{
2754
2780
  type: NgModule,
2755
2781
  args: [{
2756
- imports: [CommonModule, PaperlessStencilModule],
2782
+ imports: [CommonModule, StencilModule],
2757
2783
  declarations: [...TABLE_COMPONENTS, ...TABLE_DIRECTIVES],
2758
2784
  exports: [...TABLE_COMPONENTS, ...TABLE_DIRECTIVES],
2759
2785
  }]
@@ -2822,63 +2848,39 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImpor
2822
2848
  }]
2823
2849
  }] });
2824
2850
 
2825
- let Toast = class Toast {
2826
- constructor(c, r, z) {
2827
- this.z = z;
2851
+ class ToastDirective {
2852
+ constructor() {
2828
2853
  this.delay = 5000;
2829
2854
  this.index = 0;
2830
2855
  this.dismissOnAction = true;
2831
2856
  this.dismiss = new EventEmitter();
2832
- c.detach();
2833
- this.el = r.nativeElement;
2834
- proxyOutputs(this, this.el, ['action']);
2835
2857
  }
2836
2858
  ngOnInit() {
2837
- if (this.dismissOnAction) {
2838
- this.el.addEventListener('action', () => this.doDismiss());
2839
- }
2840
2859
  if (this.delay === 'infinite' || this.delay === 0) {
2841
2860
  return;
2842
2861
  }
2843
2862
  setTimeout(() => this.doDismiss(), this.delay);
2844
2863
  }
2864
+ onAction() {
2865
+ if (this.dismissOnAction) {
2866
+ this.doDismiss();
2867
+ }
2868
+ }
2845
2869
  doDismiss() {
2846
2870
  this.dismiss.next(this.index);
2847
2871
  }
2848
- };
2849
- 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 });
2850
- 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 });
2851
- Toast = __decorate([
2852
- ProxyCmp({
2853
- defineCustomElementFn: undefined,
2854
- inputs: [
2855
- 'actionIcon',
2856
- 'actionIconFlip',
2857
- 'actionIconRotate',
2858
- 'content',
2859
- 'enableAction',
2860
- 'header',
2861
- 'variant',
2862
- ],
2863
- })
2864
- ], Toast);
2865
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: Toast, decorators: [{
2866
- type: Component,
2872
+ }
2873
+ ToastDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: ToastDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
2874
+ 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 });
2875
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: ToastDirective, decorators: [{
2876
+ type: Directive,
2867
2877
  args: [{
2868
2878
  selector: 'p-toast',
2869
- changeDetection: ChangeDetectionStrategy.OnPush,
2870
- template: '<ng-content></ng-content>',
2871
- inputs: [
2872
- 'actionIcon',
2873
- 'actionIconFlip',
2874
- 'actionIconRotate',
2875
- 'content',
2876
- 'enableAction',
2877
- 'header',
2878
- 'variant',
2879
- ],
2879
+ host: {
2880
+ '(action)': 'onAction()',
2881
+ },
2880
2882
  }]
2881
- }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; }, propDecorators: { delay: [{
2883
+ }], propDecorators: { delay: [{
2882
2884
  type: Input
2883
2885
  }], index: [{
2884
2886
  type: Input
@@ -2895,13 +2897,15 @@ let ToastContainer = class ToastContainer {
2895
2897
  this._toastService = _toastService;
2896
2898
  this.toasts$ = this._toastService.toasts$;
2897
2899
  this.el = r.nativeElement;
2900
+ console.log('Toast container created!');
2901
+ this.toasts$.subscribe((toasts) => console.log('Toasts updated', toasts.length));
2898
2902
  }
2899
2903
  dismiss(index) {
2900
2904
  this._toastService.hide(index);
2901
2905
  }
2902
2906
  };
2903
2907
  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 });
2904
- 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 });
2908
+ 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 });
2905
2909
  ToastContainer = __decorate([
2906
2910
  ProxyCmp({
2907
2911
  defineCustomElementFn: undefined,
@@ -2913,25 +2917,29 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImpor
2913
2917
  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" }]
2914
2918
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.NgZone }, { type: ToastService }]; } });
2915
2919
 
2916
- const TOAST_COMPONENTS = [Toast, ToastContainer];
2920
+ const TOAST_COMPONENTS = [ToastContainer];
2921
+
2922
+ const TOAST_DIRECTIVES = [ToastDirective];
2917
2923
 
2918
2924
  const TOAST_SERVICES = [ToastService];
2919
2925
 
2920
- class PaperlessToastModule {
2926
+ class ToastModule {
2921
2927
  }
2922
- PaperlessToastModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: PaperlessToastModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2923
- 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] });
2924
- PaperlessToastModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: PaperlessToastModule, providers: [...TOAST_SERVICES], imports: [CommonModule, PaperlessStencilModule] });
2925
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: PaperlessToastModule, decorators: [{
2928
+ ToastModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: ToastModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
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] });
2931
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: ToastModule, decorators: [{
2926
2932
  type: NgModule,
2927
2933
  args: [{
2928
- imports: [CommonModule, PaperlessStencilModule],
2929
- declarations: [...TOAST_COMPONENTS],
2930
- exports: [...TOAST_COMPONENTS],
2934
+ imports: [CommonModule, StencilModule],
2935
+ declarations: [...TOAST_COMPONENTS, ...TOAST_DIRECTIVES],
2936
+ exports: [...TOAST_COMPONENTS, ...TOAST_DIRECTIVES],
2931
2937
  providers: [...TOAST_SERVICES],
2932
2938
  }]
2933
2939
  }] });
2934
2940
 
2941
+ const MODULES = [TableModule, ToastModule];
2942
+
2935
2943
  class CustomCurrencyPipe {
2936
2944
  constructor(_currencyPipe) {
2937
2945
  this._currencyPipe = _currencyPipe;
@@ -3002,25 +3010,14 @@ const NGX_PIPES = [DatePipe, CurrencyPipe];
3002
3010
  class PaperlessModule {
3003
3011
  }
3004
3012
  PaperlessModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: PaperlessModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
3005
- 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,
3006
- PaperlessStencilModule,
3007
- PaperlessTableModule,
3008
- PaperlessToastModule], exports: [PaperlessStencilModule, PaginationDirective, PageSizeSelectDirective, SelectDirective, CustomCurrencyPipe, CustomDatePipe, SafePipe] });
3009
- PaperlessModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: PaperlessModule, providers: [...NGX_PIPES, ...PIPES], imports: [CommonModule,
3010
- PaperlessStencilModule,
3011
- PaperlessTableModule,
3012
- PaperlessToastModule, PaperlessStencilModule] });
3013
+ 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] });
3014
+ 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] });
3013
3015
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: PaperlessModule, decorators: [{
3014
3016
  type: NgModule,
3015
3017
  args: [{
3016
- imports: [
3017
- CommonModule,
3018
- PaperlessStencilModule,
3019
- PaperlessTableModule,
3020
- PaperlessToastModule,
3021
- ],
3018
+ imports: [CommonModule, StencilModule, ...MODULES],
3022
3019
  declarations: [...DIRECTIVES$1, ...PIPES],
3023
- exports: [PaperlessStencilModule, ...DIRECTIVES$1, ...PIPES],
3020
+ exports: [StencilModule, ...MODULES, ...DIRECTIVES$1, ...PIPES],
3024
3021
  providers: [...NGX_PIPES, ...PIPES],
3025
3022
  }]
3026
3023
  }] });
@@ -3033,5 +3030,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImpor
3033
3030
  * Generated bundle index. Do not edit.
3034
3031
  */
3035
3032
 
3036
- 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 };
3033
+ 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 };
3037
3034
  //# sourceMappingURL=paperless-angular.mjs.map