@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
@@ -1,2 +1,4 @@
1
+ import { TableModule } from './table';
1
2
  export * from './table';
2
3
  export * from './toast';
4
+ export declare const MODULES: (typeof TableModule)[];
@@ -8,8 +8,8 @@ import * as i6 from "./directives/p-table.directive";
8
8
  import * as i7 from "./directives/p-table-ngx.directive";
9
9
  import * as i8 from "@angular/common";
10
10
  import * as i9 from "../../stencil.module";
11
- export declare class PaperlessTableModule {
12
- static ɵfac: i0.ɵɵFactoryDeclaration<PaperlessTableModule, never>;
13
- static ɵmod: i0.ɵɵNgModuleDeclaration<PaperlessTableModule, [typeof i1.Table, typeof i2.TableCell, typeof i3.TableColumn, typeof i4.TableFooterDirective, typeof i5.TableHeaderDirective, typeof i6.TableDirective, typeof i7.TableNgxDirective], [typeof i8.CommonModule, typeof i9.PaperlessStencilModule], [typeof i1.Table, typeof i2.TableCell, typeof i3.TableColumn, typeof i4.TableFooterDirective, typeof i5.TableHeaderDirective, typeof i6.TableDirective, typeof i7.TableNgxDirective]>;
14
- static ɵinj: i0.ɵɵInjectorDeclaration<PaperlessTableModule>;
11
+ export declare class TableModule {
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<TableModule, never>;
13
+ static ɵmod: i0.ɵɵNgModuleDeclaration<TableModule, [typeof i1.Table, typeof i2.TableCell, typeof i3.TableColumn, typeof i4.TableFooterDirective, typeof i5.TableHeaderDirective, typeof i6.TableDirective, typeof i7.TableNgxDirective], [typeof i8.CommonModule, typeof i9.StencilModule], [typeof i1.Table, typeof i2.TableCell, typeof i3.TableColumn, typeof i4.TableFooterDirective, typeof i5.TableHeaderDirective, typeof i6.TableDirective, typeof i7.TableNgxDirective]>;
14
+ static ɵinj: i0.ɵɵInjectorDeclaration<TableModule>;
15
15
  }
@@ -1,5 +1,3 @@
1
1
  export * from './toast-container/toast-container.component';
2
- export * from './toast/toast.component';
3
2
  import { ToastContainer } from './toast-container/toast-container.component';
4
- import { Toast } from './toast/toast.component';
5
- export declare const TOAST_COMPONENTS: (typeof ToastContainer | typeof Toast)[];
3
+ export declare const TOAST_COMPONENTS: (typeof ToastContainer)[];
@@ -0,0 +1,3 @@
1
+ export * from './toast.directive';
2
+ import { ToastDirective } from './toast.directive';
3
+ export declare const TOAST_DIRECTIVES: (typeof ToastDirective)[];
@@ -0,0 +1,13 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class ToastDirective {
4
+ delay: number | 'infinite';
5
+ index: number;
6
+ dismissOnAction: boolean;
7
+ dismiss: EventEmitter<number>;
8
+ ngOnInit(): void;
9
+ onAction(): void;
10
+ doDismiss(): void;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<ToastDirective, never>;
12
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ToastDirective, "p-toast", never, { "delay": "delay"; "index": "index"; "dismissOnAction": "dismissOnAction"; }, { "dismiss": "dismiss"; }, never, never, false>;
13
+ }
@@ -1,4 +1,5 @@
1
1
  export * from './components';
2
+ export * from './directives';
2
3
  export * from './services';
3
4
  export * from './toast.module';
4
5
  export * from './types';
@@ -1,10 +1,10 @@
1
1
  import * as i0 from "@angular/core";
2
- import * as i1 from "./components/toast/toast.component";
3
- import * as i2 from "./components/toast-container/toast-container.component";
2
+ import * as i1 from "./components/toast-container/toast-container.component";
3
+ import * as i2 from "./directives/toast.directive";
4
4
  import * as i3 from "@angular/common";
5
5
  import * as i4 from "../../stencil.module";
6
- export declare class PaperlessToastModule {
7
- static ɵfac: i0.ɵɵFactoryDeclaration<PaperlessToastModule, never>;
8
- static ɵmod: i0.ɵɵNgModuleDeclaration<PaperlessToastModule, [typeof i1.Toast, typeof i2.ToastContainer], [typeof i3.CommonModule, typeof i4.PaperlessStencilModule], [typeof i1.Toast, typeof i2.ToastContainer]>;
9
- static ɵinj: i0.ɵɵInjectorDeclaration<PaperlessToastModule>;
6
+ export declare class ToastModule {
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<ToastModule, never>;
8
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ToastModule, [typeof i1.ToastContainer, typeof i2.ToastDirective], [typeof i3.CommonModule, typeof i4.StencilModule], [typeof i1.ToastContainer, typeof i2.ToastDirective]>;
9
+ static ɵinj: i0.ɵɵInjectorDeclaration<ToastModule>;
10
10
  }
@@ -11,6 +11,6 @@ import * as i9 from "./modules/table/table.module";
11
11
  import * as i10 from "./modules/toast/toast.module";
12
12
  export declare class PaperlessModule {
13
13
  static ɵfac: i0.ɵɵFactoryDeclaration<PaperlessModule, never>;
14
- static ɵmod: i0.ɵɵNgModuleDeclaration<PaperlessModule, [typeof i1.PaginationDirective, typeof i2.PageSizeSelectDirective, typeof i3.SelectDirective, typeof i4.CustomCurrencyPipe, typeof i5.CustomDatePipe, typeof i6.SafePipe], [typeof i7.CommonModule, typeof i8.PaperlessStencilModule, typeof i9.PaperlessTableModule, typeof i10.PaperlessToastModule], [typeof i8.PaperlessStencilModule, typeof i1.PaginationDirective, typeof i2.PageSizeSelectDirective, typeof i3.SelectDirective, typeof i4.CustomCurrencyPipe, typeof i5.CustomDatePipe, typeof i6.SafePipe]>;
14
+ static ɵmod: i0.ɵɵNgModuleDeclaration<PaperlessModule, [typeof i1.PaginationDirective, typeof i2.PageSizeSelectDirective, typeof i3.SelectDirective, typeof i4.CustomCurrencyPipe, typeof i5.CustomDatePipe, typeof i6.SafePipe], [typeof i7.CommonModule, typeof i8.StencilModule, typeof i9.TableModule, typeof i10.ToastModule], [typeof i8.StencilModule, typeof i9.TableModule, typeof i10.ToastModule, typeof i1.PaginationDirective, typeof i2.PageSizeSelectDirective, typeof i3.SelectDirective, typeof i4.CustomCurrencyPipe, typeof i5.CustomDatePipe, typeof i6.SafePipe]>;
15
15
  static ɵinj: i0.ɵɵInjectorDeclaration<PaperlessModule>;
16
16
  }
@@ -489,6 +489,19 @@ export declare class PTableRow {
489
489
  static ɵfac: i0.ɵɵFactoryDeclaration<PTableRow, never>;
490
490
  static ɵcmp: i0.ɵɵComponentDeclaration<PTableRow, "p-table-row", never, { "enableHover": "enableHover"; "variant": "variant"; }, {}, never, ["*"], false>;
491
491
  }
492
+ export declare interface PToast extends Components.PToast {
493
+ /**
494
+ * Button click event
495
+ */
496
+ action: EventEmitter<CustomEvent<MouseEvent>>;
497
+ }
498
+ export declare class PToast {
499
+ protected z: NgZone;
500
+ protected el: HTMLElement;
501
+ constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
502
+ static ɵfac: i0.ɵɵFactoryDeclaration<PToast, never>;
503
+ static ɵcmp: i0.ɵɵComponentDeclaration<PToast, "p-toast", never, { "actionIcon": "actionIcon"; "actionIconFlip": "actionIconFlip"; "actionIconRotate": "actionIconRotate"; "content": "content"; "enableAction": "enableAction"; "header": "header"; "variant": "variant"; }, {}, never, ["*"], false>;
504
+ }
492
505
  export declare interface PTooltip extends Components.PTooltip {
493
506
  /**
494
507
  * Open change event
@@ -1,2 +1,2 @@
1
1
  import * as d from './components';
2
- export declare const DIRECTIVES: (typeof d.PAccordion | typeof d.PAvatar | typeof d.PAvatarGroup | typeof d.PButton | typeof d.PCardBody | typeof d.PCardContainer | typeof d.PCardHeader | typeof d.PContentSlider | typeof d.PCounter | typeof d.PDivider | typeof d.PDropdown | typeof d.PDropdownMenuContainer | typeof d.PDropdownMenuItem | typeof d.PHelper | typeof d.PIcon | typeof d.PIllustration | typeof d.PInfoPanel | typeof d.PInputGroup | typeof d.PLabel | typeof d.PLayout | typeof d.PLoader | typeof d.PModal | typeof d.PModalBackdrop | typeof d.PModalBody | typeof d.PModalContainer | typeof d.PModalFooter | typeof d.PModalHeader | typeof d.PNavbar | typeof d.PNavigationItem | typeof d.PPageSizeSelect | typeof d.PPagination | typeof d.PPaginationItem | typeof d.PProfile | typeof d.PSegmentContainer | typeof d.PSegmentItem | typeof d.PSelect | typeof d.PSliderIndicator | typeof d.PStatus | typeof d.PStepper | typeof d.PStepperItem | typeof d.PStepperLine | typeof d.PTabGroup | typeof d.PTabItem | typeof d.PTableContainer | typeof d.PTableFooter | typeof d.PTableHeader | typeof d.PTableRow | typeof d.PTooltip)[];
2
+ export declare const DIRECTIVES: (typeof d.PAccordion | typeof d.PAvatar | typeof d.PAvatarGroup | typeof d.PButton | typeof d.PCardBody | typeof d.PCardContainer | typeof d.PCardHeader | typeof d.PContentSlider | typeof d.PCounter | typeof d.PDivider | typeof d.PDropdown | typeof d.PDropdownMenuContainer | typeof d.PDropdownMenuItem | typeof d.PHelper | typeof d.PIcon | typeof d.PIllustration | typeof d.PInfoPanel | typeof d.PInputGroup | typeof d.PLabel | typeof d.PLayout | typeof d.PLoader | typeof d.PModal | typeof d.PModalBackdrop | typeof d.PModalBody | typeof d.PModalContainer | typeof d.PModalFooter | typeof d.PModalHeader | typeof d.PNavbar | typeof d.PNavigationItem | typeof d.PPageSizeSelect | typeof d.PPagination | typeof d.PPaginationItem | typeof d.PProfile | typeof d.PSegmentContainer | typeof d.PSegmentItem | typeof d.PSelect | typeof d.PSliderIndicator | typeof d.PStatus | typeof d.PStepper | typeof d.PStepperItem | typeof d.PStepperLine | typeof d.PTabGroup | typeof d.PTabItem | typeof d.PTableContainer | typeof d.PTableFooter | typeof d.PTableHeader | typeof d.PTableRow | typeof d.PToast | typeof d.PTooltip)[];
@@ -1,7 +1,7 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "./stencil/components";
3
- export declare class PaperlessStencilModule {
4
- static ɵfac: i0.ɵɵFactoryDeclaration<PaperlessStencilModule, never>;
5
- static ɵmod: i0.ɵɵNgModuleDeclaration<PaperlessStencilModule, [typeof i1.PAccordion, typeof i1.PAvatar, typeof i1.PAvatarGroup, typeof i1.PButton, typeof i1.PCardBody, typeof i1.PCardContainer, typeof i1.PCardHeader, typeof i1.PContentSlider, typeof i1.PCounter, typeof i1.PDivider, typeof i1.PDropdown, typeof i1.PDropdownMenuContainer, typeof i1.PDropdownMenuItem, typeof i1.PHelper, typeof i1.PIcon, typeof i1.PIllustration, typeof i1.PInfoPanel, typeof i1.PInputGroup, typeof i1.PLabel, typeof i1.PLayout, typeof i1.PLoader, typeof i1.PModal, typeof i1.PModalBackdrop, typeof i1.PModalBody, typeof i1.PModalContainer, typeof i1.PModalFooter, typeof i1.PModalHeader, typeof i1.PNavbar, typeof i1.PNavigationItem, typeof i1.PPageSizeSelect, typeof i1.PPagination, typeof i1.PPaginationItem, typeof i1.PProfile, typeof i1.PSegmentContainer, typeof i1.PSegmentItem, typeof i1.PSelect, typeof i1.PSliderIndicator, typeof i1.PStatus, typeof i1.PStepper, typeof i1.PStepperItem, typeof i1.PStepperLine, typeof i1.PTabGroup, typeof i1.PTabItem, typeof i1.PTableContainer, typeof i1.PTableFooter, typeof i1.PTableHeader, typeof i1.PTableRow, typeof i1.PTooltip], never, [typeof i1.PAccordion, typeof i1.PAvatar, typeof i1.PAvatarGroup, typeof i1.PButton, typeof i1.PCardBody, typeof i1.PCardContainer, typeof i1.PCardHeader, typeof i1.PContentSlider, typeof i1.PCounter, typeof i1.PDivider, typeof i1.PDropdown, typeof i1.PDropdownMenuContainer, typeof i1.PDropdownMenuItem, typeof i1.PHelper, typeof i1.PIcon, typeof i1.PIllustration, typeof i1.PInfoPanel, typeof i1.PInputGroup, typeof i1.PLabel, typeof i1.PLayout, typeof i1.PLoader, typeof i1.PModal, typeof i1.PModalBackdrop, typeof i1.PModalBody, typeof i1.PModalContainer, typeof i1.PModalFooter, typeof i1.PModalHeader, typeof i1.PNavbar, typeof i1.PNavigationItem, typeof i1.PPageSizeSelect, typeof i1.PPagination, typeof i1.PPaginationItem, typeof i1.PProfile, typeof i1.PSegmentContainer, typeof i1.PSegmentItem, typeof i1.PSelect, typeof i1.PSliderIndicator, typeof i1.PStatus, typeof i1.PStepper, typeof i1.PStepperItem, typeof i1.PStepperLine, typeof i1.PTabGroup, typeof i1.PTabItem, typeof i1.PTableContainer, typeof i1.PTableFooter, typeof i1.PTableHeader, typeof i1.PTableRow, typeof i1.PTooltip]>;
6
- static ɵinj: i0.ɵɵInjectorDeclaration<PaperlessStencilModule>;
3
+ export declare class StencilModule {
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<StencilModule, never>;
5
+ static ɵmod: i0.ɵɵNgModuleDeclaration<StencilModule, [typeof i1.PAccordion, typeof i1.PAvatar, typeof i1.PAvatarGroup, typeof i1.PButton, typeof i1.PCardBody, typeof i1.PCardContainer, typeof i1.PCardHeader, typeof i1.PContentSlider, typeof i1.PCounter, typeof i1.PDivider, typeof i1.PDropdown, typeof i1.PDropdownMenuContainer, typeof i1.PDropdownMenuItem, typeof i1.PHelper, typeof i1.PIcon, typeof i1.PIllustration, typeof i1.PInfoPanel, typeof i1.PInputGroup, typeof i1.PLabel, typeof i1.PLayout, typeof i1.PLoader, typeof i1.PModal, typeof i1.PModalBackdrop, typeof i1.PModalBody, typeof i1.PModalContainer, typeof i1.PModalFooter, typeof i1.PModalHeader, typeof i1.PNavbar, typeof i1.PNavigationItem, typeof i1.PPageSizeSelect, typeof i1.PPagination, typeof i1.PPaginationItem, typeof i1.PProfile, typeof i1.PSegmentContainer, typeof i1.PSegmentItem, typeof i1.PSelect, typeof i1.PSliderIndicator, typeof i1.PStatus, typeof i1.PStepper, typeof i1.PStepperItem, typeof i1.PStepperLine, typeof i1.PTabGroup, typeof i1.PTabItem, typeof i1.PTableContainer, typeof i1.PTableFooter, typeof i1.PTableHeader, typeof i1.PTableRow, typeof i1.PToast, typeof i1.PTooltip], never, [typeof i1.PAccordion, typeof i1.PAvatar, typeof i1.PAvatarGroup, typeof i1.PButton, typeof i1.PCardBody, typeof i1.PCardContainer, typeof i1.PCardHeader, typeof i1.PContentSlider, typeof i1.PCounter, typeof i1.PDivider, typeof i1.PDropdown, typeof i1.PDropdownMenuContainer, typeof i1.PDropdownMenuItem, typeof i1.PHelper, typeof i1.PIcon, typeof i1.PIllustration, typeof i1.PInfoPanel, typeof i1.PInputGroup, typeof i1.PLabel, typeof i1.PLayout, typeof i1.PLoader, typeof i1.PModal, typeof i1.PModalBackdrop, typeof i1.PModalBody, typeof i1.PModalContainer, typeof i1.PModalFooter, typeof i1.PModalHeader, typeof i1.PNavbar, typeof i1.PNavigationItem, typeof i1.PPageSizeSelect, typeof i1.PPagination, typeof i1.PPaginationItem, typeof i1.PProfile, typeof i1.PSegmentContainer, typeof i1.PSegmentItem, typeof i1.PSelect, typeof i1.PSliderIndicator, typeof i1.PStatus, typeof i1.PStepper, typeof i1.PStepperItem, typeof i1.PStepperLine, typeof i1.PTabGroup, typeof i1.PTabItem, typeof i1.PTableContainer, typeof i1.PTableFooter, typeof i1.PTableHeader, typeof i1.PTableRow, typeof i1.PToast, typeof i1.PTooltip]>;
6
+ static ɵinj: i0.ɵɵInjectorDeclaration<StencilModule>;
7
7
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paperless/angular",
3
- "version": "0.1.0-alpha.207",
3
+ "version": "0.1.0-alpha.209",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^13.3.0 || ^14.0.0",
6
6
  "@angular/core": "^13.3.0 || ^14.0.0"
@@ -1,71 +0,0 @@
1
- import { __decorate } from "tslib";
2
- import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output, } from '@angular/core';
3
- import { ProxyCmp, proxyOutputs, } from '../../../../stencil/angular-component-lib/utils';
4
- import * as i0 from "@angular/core";
5
- let Toast = class Toast {
6
- constructor(c, r, z) {
7
- this.z = z;
8
- this.delay = 5000;
9
- this.index = 0;
10
- this.dismissOnAction = true;
11
- this.dismiss = new EventEmitter();
12
- c.detach();
13
- this.el = r.nativeElement;
14
- proxyOutputs(this, this.el, ['action']);
15
- }
16
- ngOnInit() {
17
- if (this.dismissOnAction) {
18
- this.el.addEventListener('action', () => this.doDismiss());
19
- }
20
- if (this.delay === 'infinite' || this.delay === 0) {
21
- return;
22
- }
23
- setTimeout(() => this.doDismiss(), this.delay);
24
- }
25
- doDismiss() {
26
- this.dismiss.next(this.index);
27
- }
28
- };
29
- 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 });
30
- Toast.ɵcmp = 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 });
31
- Toast = __decorate([
32
- ProxyCmp({
33
- defineCustomElementFn: undefined,
34
- inputs: [
35
- 'actionIcon',
36
- 'actionIconFlip',
37
- 'actionIconRotate',
38
- 'content',
39
- 'enableAction',
40
- 'header',
41
- 'variant',
42
- ],
43
- })
44
- ], Toast);
45
- export { Toast };
46
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: Toast, decorators: [{
47
- type: Component,
48
- args: [{
49
- selector: 'p-toast',
50
- changeDetection: ChangeDetectionStrategy.OnPush,
51
- template: '<ng-content></ng-content>',
52
- inputs: [
53
- 'actionIcon',
54
- 'actionIconFlip',
55
- 'actionIconRotate',
56
- 'content',
57
- 'enableAction',
58
- 'header',
59
- 'variant',
60
- ],
61
- }]
62
- }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; }, propDecorators: { delay: [{
63
- type: Input
64
- }], index: [{
65
- type: Input
66
- }], dismissOnAction: [{
67
- type: Input
68
- }], dismiss: [{
69
- type: Output
70
- }] } });
71
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9hc3QuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvcGFwZXJsZXNzL3NyYy9saWIvbW9kdWxlcy90b2F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tcbiAgICAgICAgICAgIHJldHVybjtcbiAgICAgICAgfVxuXG4gICAgICAgIHNldFRpbWVvdXQoKCkgPT4gdGhpcy5kb0Rpc21pc3MoKSwgdGhpcy5kZWxheSk7XG4gICAgfVxuXG4gICAgZG9EaXNtaXNzKCkge1xuICAgICAgICB0aGlzLmRpc21pc3MubmV4dCh0aGlzLmluZGV4KTtcbiAgICB9XG59XG4iXX0=
@@ -1,22 +0,0 @@
1
- import { ChangeDetectorRef, ElementRef, EventEmitter, NgZone, OnInit } from '@angular/core';
2
- import { Components } from '@paperless/core';
3
- import * as i0 from "@angular/core";
4
- export declare interface PToast extends Components.PToast {
5
- /**
6
- * Button click event
7
- */
8
- action: EventEmitter<CustomEvent<MouseEvent>>;
9
- }
10
- export declare class Toast implements OnInit {
11
- protected z: NgZone;
12
- delay: number | 'infinite';
13
- index: number;
14
- dismissOnAction: boolean;
15
- dismiss: EventEmitter<number>;
16
- protected el: HTMLElement;
17
- constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
18
- ngOnInit(): void;
19
- doDismiss(): void;
20
- static ɵfac: i0.ɵɵFactoryDeclaration<Toast, never>;
21
- static ɵcmp: i0.ɵɵComponentDeclaration<Toast, "p-toast", never, { "actionIcon": "actionIcon"; "actionIconFlip": "actionIconFlip"; "actionIconRotate": "actionIconRotate"; "content": "content"; "enableAction": "enableAction"; "header": "header"; "variant": "variant"; "delay": "delay"; "index": "index"; "dismissOnAction": "dismissOnAction"; }, { "dismiss": "dismiss"; }, never, ["*"], false>;
22
- }