@paperless/angular 0.1.0-alpha.204 → 0.1.0-alpha.205

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 (78) hide show
  1. package/esm2020/lib/animations/index.mjs +2 -0
  2. package/esm2020/lib/animations/slide.mjs +11 -0
  3. package/esm2020/lib/base/index.mjs +1 -3
  4. package/esm2020/lib/directives/index.mjs +2 -15
  5. package/esm2020/lib/modules/index.mjs +3 -0
  6. package/esm2020/lib/modules/table/base/form.component.mjs +105 -0
  7. package/esm2020/lib/modules/table/base/index.mjs +3 -0
  8. package/esm2020/lib/modules/table/base/table.component.mjs +162 -0
  9. package/esm2020/lib/modules/table/components/index.mjs +8 -0
  10. package/esm2020/lib/modules/table/components/table/constants.mjs +3 -0
  11. package/esm2020/lib/modules/table/components/table/table.component.mjs +544 -0
  12. package/esm2020/lib/modules/table/components/table-cell/table-cell.component.mjs +167 -0
  13. package/esm2020/lib/modules/table/components/table-column/table-column.component.mjs +37 -0
  14. package/esm2020/lib/modules/table/directives/index.mjs +15 -0
  15. package/esm2020/lib/modules/table/directives/p-table-footer.directive.mjs +52 -0
  16. package/esm2020/lib/modules/table/directives/p-table-header.directive.mjs +60 -0
  17. package/esm2020/lib/modules/table/directives/p-table-ngx.directive.mjs +88 -0
  18. package/esm2020/lib/modules/table/directives/p-table.directive.mjs +78 -0
  19. package/esm2020/lib/modules/table/index.mjs +5 -0
  20. package/esm2020/lib/modules/table/table.module.mjs +27 -0
  21. package/esm2020/lib/modules/toast/components/index.mjs +6 -0
  22. package/esm2020/lib/modules/toast/components/toast/toast.component.mjs +71 -0
  23. package/esm2020/lib/modules/toast/components/toast-container/toast-container.component.mjs +34 -0
  24. package/esm2020/lib/modules/toast/components/toast-container/types.mjs +10 -0
  25. package/esm2020/lib/modules/toast/index.mjs +4 -0
  26. package/esm2020/lib/modules/toast/services/index.mjs +4 -0
  27. package/esm2020/lib/modules/toast/services/toast.service.mjs +47 -0
  28. package/esm2020/lib/modules/toast/toast.module.mjs +23 -0
  29. package/esm2020/lib/paperless.module.mjs +25 -27
  30. package/esm2020/lib/stencil.module.mjs +17 -0
  31. package/esm2020/public-api.mjs +3 -2
  32. package/fesm2015/paperless-angular.mjs +501 -297
  33. package/fesm2015/paperless-angular.mjs.map +1 -1
  34. package/fesm2020/paperless-angular.mjs +504 -295
  35. package/fesm2020/paperless-angular.mjs.map +1 -1
  36. package/lib/animations/index.d.ts +1 -0
  37. package/lib/animations/slide.d.ts +1 -0
  38. package/lib/base/index.d.ts +0 -2
  39. package/lib/directives/index.d.ts +1 -6
  40. package/lib/modules/index.d.ts +2 -0
  41. package/lib/{base → modules/table/base}/form.component.d.ts +0 -0
  42. package/lib/modules/table/base/index.d.ts +2 -0
  43. package/lib/{base → modules/table/base}/table.component.d.ts +0 -0
  44. package/lib/{components → modules/table/components}/index.d.ts +2 -2
  45. package/lib/{components → modules/table/components}/table/constants.d.ts +0 -0
  46. package/lib/{components → modules/table/components}/table/table.component.d.ts +3 -3
  47. package/lib/{components → modules/table/components}/table-cell/table-cell.component.d.ts +0 -0
  48. package/lib/{components → modules/table/components}/table-column/table-column.component.d.ts +0 -0
  49. package/lib/modules/table/directives/index.d.ts +9 -0
  50. package/lib/{directives → modules/table/directives}/p-table-footer.directive.d.ts +1 -1
  51. package/lib/{directives → modules/table/directives}/p-table-header.directive.d.ts +1 -1
  52. package/lib/{directives → modules/table/directives}/p-table-ngx.directive.d.ts +3 -3
  53. package/lib/{directives → modules/table/directives}/p-table.directive.d.ts +1 -1
  54. package/lib/modules/table/index.d.ts +4 -0
  55. package/lib/modules/table/table.module.d.ts +15 -0
  56. package/lib/modules/toast/components/index.d.ts +5 -0
  57. package/lib/modules/toast/components/toast/toast.component.d.ts +22 -0
  58. package/lib/modules/toast/components/toast-container/toast-container.component.d.ts +17 -0
  59. package/lib/modules/toast/components/toast-container/types.d.ts +26 -0
  60. package/lib/modules/toast/index.d.ts +3 -0
  61. package/lib/modules/toast/services/index.d.ts +3 -0
  62. package/lib/modules/toast/services/toast.service.d.ts +12 -0
  63. package/lib/modules/toast/toast.module.d.ts +10 -0
  64. package/lib/paperless.module.d.ts +11 -16
  65. package/lib/stencil.module.d.ts +7 -0
  66. package/package.json +1 -1
  67. package/public-api.d.ts +2 -1
  68. package/esm2020/lib/base/form.component.mjs +0 -105
  69. package/esm2020/lib/base/table.component.mjs +0 -162
  70. package/esm2020/lib/components/index.mjs +0 -8
  71. package/esm2020/lib/components/table/constants.mjs +0 -3
  72. package/esm2020/lib/components/table/table.component.mjs +0 -544
  73. package/esm2020/lib/components/table-cell/table-cell.component.mjs +0 -167
  74. package/esm2020/lib/components/table-column/table-column.component.mjs +0 -37
  75. package/esm2020/lib/directives/p-table-footer.directive.mjs +0 -52
  76. package/esm2020/lib/directives/p-table-header.directive.mjs +0 -60
  77. package/esm2020/lib/directives/p-table-ngx.directive.mjs +0 -88
  78. package/esm2020/lib/directives/p-table.directive.mjs +0 -78
@@ -1,15 +1,229 @@
1
1
  import * as i0 from '@angular/core';
2
- import { Component, EventEmitter, Input, Output, ViewChild, Directive, HostListener, ChangeDetectionStrategy, HostBinding, TemplateRef, ContentChild, ContentChildren, Host, Pipe, NgModule } from '@angular/core';
3
- import { FormControl, FormGroup, FormArray, NG_VALUE_ACCESSOR } from '@angular/forms';
2
+ import { EventEmitter, Component, Input, Output, ViewChild, Directive, HostListener, ChangeDetectionStrategy, HostBinding, TemplateRef, ContentChild, ContentChildren, Host, NgModule, Injectable, Pipe } from '@angular/core';
3
+ import { NG_VALUE_ACCESSOR, FormControl, FormGroup, FormArray } from '@angular/forms';
4
4
  import { __decorate } from 'tslib';
5
5
  import { untilDestroyed, UntilDestroy } from '@ngneat/until-destroy';
6
- import { timer, fromEvent } from 'rxjs';
6
+ import { timer, fromEvent, BehaviorSubject } from 'rxjs';
7
7
  import { startWith, pairwise, map, filter, debounce } from 'rxjs/operators';
8
8
  import { objectGetByPath } from '@paperless/core';
9
9
  import * as i1 from '@angular/common';
10
- import { DatePipe, CurrencyPipe, CommonModule } from '@angular/common';
10
+ import { CommonModule, DatePipe, CurrencyPipe } from '@angular/common';
11
+ import { trigger, transition, style, animate } from '@angular/animations';
11
12
  import * as i1$1 from '@angular/platform-browser';
12
13
 
14
+ class BaseUploadComponent {
15
+ constructor() {
16
+ this.uploaded = false;
17
+ this.fileChange = new EventEmitter();
18
+ this._loading = false;
19
+ }
20
+ set loading(value) {
21
+ this._loading = value;
22
+ }
23
+ get loading() {
24
+ return this._loading;
25
+ }
26
+ onChange($event) {
27
+ var _a;
28
+ const target = $event.target;
29
+ const file = (_a = target.files) === null || _a === void 0 ? void 0 : _a[0];
30
+ if (file) {
31
+ this._loading = true;
32
+ const reader = new FileReader();
33
+ reader.onload = (e) => { var _a; return this.onLoad(file, (_a = e === null || e === void 0 ? void 0 : e.currentTarget) === null || _a === void 0 ? void 0 : _a.result); };
34
+ reader.readAsDataURL(file);
35
+ }
36
+ }
37
+ onLoad(file, result) {
38
+ var _a;
39
+ this.fileChange.next({
40
+ fileId: this.fileId,
41
+ result,
42
+ file,
43
+ });
44
+ if ((_a = this.uploaderInput) === null || _a === void 0 ? void 0 : _a.nativeElement) {
45
+ this.uploaderInput.nativeElement.value = '';
46
+ }
47
+ this.file = file;
48
+ this._loading = false;
49
+ }
50
+ }
51
+ BaseUploadComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: BaseUploadComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
52
+ BaseUploadComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.7", type: BaseUploadComponent, selector: "ng-component", inputs: { fileId: "fileId", uploaded: "uploaded", loading: "loading" }, outputs: { fileChange: "fileChange" }, viewQueries: [{ propertyName: "uploaderInput", first: true, predicate: ["uploaderInput"], descendants: true }], ngImport: i0, template: ``, isInline: true });
53
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: BaseUploadComponent, decorators: [{
54
+ type: Component,
55
+ args: [{
56
+ template: ``,
57
+ }]
58
+ }], propDecorators: { fileId: [{
59
+ type: Input
60
+ }], uploaded: [{
61
+ type: Input
62
+ }], loading: [{
63
+ type: Input
64
+ }], fileChange: [{
65
+ type: Output
66
+ }], uploaderInput: [{
67
+ type: ViewChild,
68
+ args: ['uploaderInput']
69
+ }] } });
70
+
71
+ class BaseValueAccessor {
72
+ constructor(el) {
73
+ this.el = el;
74
+ this.onChange = () => {
75
+ /**/
76
+ };
77
+ this.onTouched = () => {
78
+ /**/
79
+ };
80
+ }
81
+ writeValue(value) {
82
+ this.el.nativeElement.value = this.lastValue =
83
+ value == null ? '' : value;
84
+ }
85
+ handleChangeEvent(value) {
86
+ if (value !== this.lastValue) {
87
+ this.lastValue = value;
88
+ this.onChange(value);
89
+ }
90
+ }
91
+ registerOnChange(fn) {
92
+ this.onChange = fn;
93
+ }
94
+ registerOnTouched(fn) {
95
+ this.onTouched = fn;
96
+ }
97
+ _handleBlurEvent() {
98
+ this.onTouched();
99
+ }
100
+ }
101
+ BaseValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: BaseValueAccessor, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
102
+ BaseValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.7", type: BaseValueAccessor, host: { listeners: { "focusout": "_handleBlurEvent()" } }, ngImport: i0 });
103
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: BaseValueAccessor, decorators: [{
104
+ type: Directive,
105
+ args: [{}]
106
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { _handleBlurEvent: [{
107
+ type: HostListener,
108
+ args: ['focusout']
109
+ }] } });
110
+
111
+ class PageSizeSelectDirective extends BaseValueAccessor {
112
+ constructor(el) {
113
+ super(el);
114
+ }
115
+ writeValue(value) {
116
+ this.el.nativeElement.page = this.lastValue =
117
+ value == null ? '' : value;
118
+ }
119
+ registerOnChange(fn) {
120
+ super.registerOnChange((value) => fn(value === '' ? null : parseInt(value, 10)));
121
+ }
122
+ }
123
+ PageSizeSelectDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: PageSizeSelectDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
124
+ PageSizeSelectDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.7", type: PageSizeSelectDirective, selector: "p-page-size-select", host: { listeners: { "sizeChange": "handleChangeEvent($event.detail)" } }, providers: [
125
+ {
126
+ provide: NG_VALUE_ACCESSOR,
127
+ useExisting: PageSizeSelectDirective,
128
+ multi: true,
129
+ },
130
+ ], usesInheritance: true, ngImport: i0 });
131
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: PageSizeSelectDirective, decorators: [{
132
+ type: Directive,
133
+ args: [{
134
+ /* tslint:disable-next-line:directive-selector */
135
+ selector: 'p-page-size-select',
136
+ host: {
137
+ '(sizeChange)': 'handleChangeEvent($event.detail)',
138
+ },
139
+ providers: [
140
+ {
141
+ provide: NG_VALUE_ACCESSOR,
142
+ useExisting: PageSizeSelectDirective,
143
+ multi: true,
144
+ },
145
+ ],
146
+ }]
147
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
148
+
149
+ class PaginationDirective extends BaseValueAccessor {
150
+ constructor(el) {
151
+ super(el);
152
+ }
153
+ writeValue(value) {
154
+ this.el.nativeElement.page = this.lastValue =
155
+ value == null ? '' : value;
156
+ }
157
+ registerOnChange(fn) {
158
+ super.registerOnChange((value) => fn(value === '' ? null : parseInt(value, 10)));
159
+ }
160
+ }
161
+ PaginationDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: PaginationDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
162
+ PaginationDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.7", type: PaginationDirective, selector: "p-pagination", host: { listeners: { "pageChange": "handleChangeEvent($event.detail)" } }, providers: [
163
+ {
164
+ provide: NG_VALUE_ACCESSOR,
165
+ useExisting: PaginationDirective,
166
+ multi: true,
167
+ },
168
+ ], usesInheritance: true, ngImport: i0 });
169
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: PaginationDirective, decorators: [{
170
+ type: Directive,
171
+ args: [{
172
+ /* tslint:disable-next-line:directive-selector */
173
+ selector: 'p-pagination',
174
+ host: {
175
+ '(pageChange)': 'handleChangeEvent($event.detail)',
176
+ },
177
+ providers: [
178
+ {
179
+ provide: NG_VALUE_ACCESSOR,
180
+ useExisting: PaginationDirective,
181
+ multi: true,
182
+ },
183
+ ],
184
+ }]
185
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
186
+
187
+ class SelectDirective extends BaseValueAccessor {
188
+ constructor(el) {
189
+ super(el);
190
+ }
191
+ writeValue(value) {
192
+ this.el.nativeElement.value = this.lastValue =
193
+ value == null ? '' : value;
194
+ }
195
+ }
196
+ SelectDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: SelectDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
197
+ SelectDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.7", type: SelectDirective, selector: "p-select", host: { listeners: { "valueChange": "handleChangeEvent($event.detail)" } }, providers: [
198
+ {
199
+ provide: NG_VALUE_ACCESSOR,
200
+ useExisting: SelectDirective,
201
+ multi: true,
202
+ },
203
+ ], usesInheritance: true, ngImport: i0 });
204
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: SelectDirective, decorators: [{
205
+ type: Directive,
206
+ args: [{
207
+ selector: 'p-select',
208
+ host: {
209
+ '(valueChange)': 'handleChangeEvent($event.detail)',
210
+ },
211
+ providers: [
212
+ {
213
+ provide: NG_VALUE_ACCESSOR,
214
+ useExisting: SelectDirective,
215
+ multi: true,
216
+ },
217
+ ],
218
+ }]
219
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
220
+
221
+ const DIRECTIVES$1 = [
222
+ PaginationDirective,
223
+ PageSizeSelectDirective,
224
+ SelectDirective,
225
+ ];
226
+
13
227
  class FormBaseComponent {
14
228
  constructor() {
15
229
  this.markedDirty = false;
@@ -263,114 +477,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImpor
263
477
  }]
264
478
  }], ctorParameters: function () { return []; } });
265
479
 
266
- class BaseUploadComponent {
267
- constructor() {
268
- this.uploaded = false;
269
- this.fileChange = new EventEmitter();
270
- this._loading = false;
271
- }
272
- set loading(value) {
273
- this._loading = value;
274
- }
275
- get loading() {
276
- return this._loading;
277
- }
278
- onChange($event) {
279
- var _a;
280
- const target = $event.target;
281
- const file = (_a = target.files) === null || _a === void 0 ? void 0 : _a[0];
282
- if (file) {
283
- this._loading = true;
284
- const reader = new FileReader();
285
- reader.onload = (e) => { var _a; return this.onLoad(file, (_a = e === null || e === void 0 ? void 0 : e.currentTarget) === null || _a === void 0 ? void 0 : _a.result); };
286
- reader.readAsDataURL(file);
287
- }
288
- }
289
- onLoad(file, result) {
290
- var _a;
291
- this.fileChange.next({
292
- fileId: this.fileId,
293
- result,
294
- file,
295
- });
296
- if ((_a = this.uploaderInput) === null || _a === void 0 ? void 0 : _a.nativeElement) {
297
- this.uploaderInput.nativeElement.value = '';
298
- }
299
- this.file = file;
300
- this._loading = false;
301
- }
302
- }
303
- BaseUploadComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: BaseUploadComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
304
- BaseUploadComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.7", type: BaseUploadComponent, selector: "ng-component", inputs: { fileId: "fileId", uploaded: "uploaded", loading: "loading" }, outputs: { fileChange: "fileChange" }, viewQueries: [{ propertyName: "uploaderInput", first: true, predicate: ["uploaderInput"], descendants: true }], ngImport: i0, template: ``, isInline: true });
305
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: BaseUploadComponent, decorators: [{
306
- type: Component,
307
- args: [{
308
- template: ``,
309
- }]
310
- }], propDecorators: { fileId: [{
311
- type: Input
312
- }], uploaded: [{
313
- type: Input
314
- }], loading: [{
315
- type: Input
316
- }], fileChange: [{
317
- type: Output
318
- }], uploaderInput: [{
319
- type: ViewChild,
320
- args: ['uploaderInput']
321
- }] } });
322
-
323
- class BaseValueAccessor {
324
- constructor(el) {
325
- this.el = el;
326
- this.onChange = () => {
327
- /**/
328
- };
329
- this.onTouched = () => {
330
- /**/
331
- };
332
- }
333
- writeValue(value) {
334
- this.el.nativeElement.value = this.lastValue =
335
- value == null ? '' : value;
336
- }
337
- handleChangeEvent(value) {
338
- if (value !== this.lastValue) {
339
- this.lastValue = value;
340
- this.onChange(value);
341
- }
342
- }
343
- registerOnChange(fn) {
344
- this.onChange = fn;
345
- }
346
- registerOnTouched(fn) {
347
- this.onTouched = fn;
348
- }
349
- _handleBlurEvent() {
350
- this.onTouched();
351
- }
352
- }
353
- BaseValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: BaseValueAccessor, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
354
- BaseValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.7", type: BaseValueAccessor, host: { listeners: { "focusout": "_handleBlurEvent()" } }, ngImport: i0 });
355
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: BaseValueAccessor, decorators: [{
356
- type: Directive,
357
- args: [{}]
358
- }], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { _handleBlurEvent: [{
359
- type: HostListener,
360
- args: ['focusout']
361
- }] } });
362
-
363
- /* eslint-disable */
364
- const proxyInputs = (Cmp, inputs) => {
365
- const Prototype = Cmp.prototype;
366
- inputs.forEach(item => {
367
- Object.defineProperty(Prototype, item, {
368
- get() {
369
- return this.el[item];
370
- },
371
- set(val) {
372
- this.z.runOutsideAngular(() => (this.el[item] = val));
373
- }
480
+ /* eslint-disable */
481
+ const proxyInputs = (Cmp, inputs) => {
482
+ const Prototype = Cmp.prototype;
483
+ inputs.forEach(item => {
484
+ Object.defineProperty(Prototype, item, {
485
+ get() {
486
+ return this.el[item];
487
+ },
488
+ set(val) {
489
+ this.z.runOutsideAngular(() => (this.el[item] = val));
490
+ }
374
491
  });
375
492
  });
376
493
  };
@@ -1855,7 +1972,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImpor
1855
1972
  }]
1856
1973
  }], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
1857
1974
 
1858
- let TableComponent = class TableComponent {
1975
+ let Table = class Table {
1859
1976
  constructor() {
1860
1977
  /**
1861
1978
  * Wether data is loading
@@ -2297,12 +2414,12 @@ let TableComponent = class TableComponent {
2297
2414
  return this._findRowAction(el === null || el === void 0 ? void 0 : el.parentElement);
2298
2415
  }
2299
2416
  };
2300
- TableComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: TableComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
2301
- TableComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.7", type: TableComponent, selector: "p-table-ngx", inputs: { items: "items", loading: "loading", amountOfLoadingRows: "amountOfLoadingRows", enableRowSelection: "enableRowSelection", enableRowClick: "enableRowClick", selectedRows: "selectedRows", selectionKey: "selectionKey", canSelectKey: "canSelectKey", quickFilters: "quickFilters", activeQuickFilterIdentifier: "activeQuickFilterIdentifier", enableSearch: "enableSearch", query: "query", enableFilter: "enableFilter", selectedFiltersAmount: "selectedFiltersAmount", filterButtonTemplate: "filterButtonTemplate", enableEdit: "enableEdit", editButtonTemplate: "editButtonTemplate", enablePageSize: "enablePageSize", enablePagination: "enablePagination", enableExport: "enableExport", page: "page", total: "total", pageSize: "pageSize", pageSizeOptions: "pageSizeOptions", hideOnSinglePage: "hideOnSinglePage" }, outputs: { selectedRowsChange: "selectedRowsChange", rowClick: "rowClick", rowSelected: "rowSelected", rowDeselected: "rowDeselected", quickFilter: "quickFilter", queryChange: "queryChange", filter: "filter", edit: "edit", pageChange: "pageChange", pageSizeChange: "pageSizeChange", export: "export" }, host: { listeners: { "document:keydown": "keyDown($event)", "document:keyup": "keyUp($event)", "document:visibilitychange": "visibilityChange($event)" } }, queries: [{ propertyName: "columnDefinitions", predicate: TableColumn }], usesOnChanges: true, ngImport: i0, template: "<p-table-container>\n <p-table-header\n [quickFilters]=\"quickFilters\"\n [activeQuickFilterIdentifier]=\"activeQuickFilterIdentifier\"\n (onQuickFilter)=\"(onQuickFilter)\"\n [enableSearch]=\"enableSearch\"\n [query]=\"query\"\n (onQueryChange)=\"(onQueryChange)\"\n [enableFilter]=\"enableFilter\"\n [selectedFiltersAmount]=\"selectedFiltersAmount\"\n [filterButtonTemplate]=\"filterButtonTemplate\"\n (onFilter)=\"filter.emit()\"\n [enableEdit]=\"enableEdit\"\n [canEdit]=\"!!selectedRows.length\"\n [editButtonTemplate]=\"editButtonTemplate\"\n (onEdit)=\"edit.emit()\"\n [itemsSelectedAmount]=\"selectedRows.length\"\n ></p-table-header>\n\n <p-table-row variant=\"header\">\n <ng-container *ngFor=\"let col of columns; let index = index\">\n <p-table-cell-ngx\n [definition]=\"col\"\n [value]=\"col.name\"\n variant=\"header\"\n [index]=\"index\"\n [checkbox]=\"index === 0 ? checkboxTemplate : undefined\"\n ></p-table-cell-ngx>\n <ng-template #checkboxTemplate>\n <input\n class=\"p-input\"\n type=\"checkbox\"\n (change)=\"_selectAllChange($event)\"\n [checked]=\"_selectionContainsAll()\"\n [indeterminate]=\"_selectionIndeterminate()\"\n />\n </ng-template>\n </ng-container>\n </p-table-row>\n\n <div class=\"flex flex-col\">\n <ng-container *ngIf=\"loading; else contentTemplate\">\n <p-table-row\n *ngFor=\"let r of loadingRows; let rowIndex = index\"\n [enableHover]=\"enableRowSelection || enableRowClick\"\n >\n <ng-container *ngFor=\"let col of columns; let index = index\">\n <p-table-cell-ngx\n [definition]=\"col\"\n variant=\"loading\"\n [checkbox]=\"index === 0 ? checkboxTemplate : undefined\"\n [index]=\"index\"\n [rowIndex]=\"rowIndex\"\n ></p-table-cell-ngx>\n <ng-template #checkboxTemplate>\n <p-loader\n variant=\"ghost\"\n class=\"rounded w-6 h-6\"\n ></p-loader>\n </ng-template>\n </ng-container>\n </p-table-row>\n </ng-container>\n\n <ng-template #contentTemplate>\n <p-table-row\n *ngFor=\"let item of items; let rowIndex = index\"\n [enableHover]=\"enableRowSelection || enableRowClick\"\n (click)=\"_rowClick($event, rowIndex)\"\n >\n <ng-container *ngFor=\"let col of columns; let index = index\">\n <p-table-cell-ngx\n [definition]=\"col\"\n [item]=\"item\"\n [checkbox]=\"index === 0 ? checkboxTemplate : undefined\"\n [index]=\"index\"\n [rowIndex]=\"rowIndex\"\n [template]=\"col.template\"\n ></p-table-cell-ngx>\n\n <ng-template #checkboxTemplate>\n <input\n class=\"p-input\"\n type=\"checkbox\"\n (change)=\"_checkboxChange($event.target, rowIndex)\"\n [disabled]=\"_checkboxDisabled(item)\"\n [checked]=\"_selectionContains(item, rowIndex)\"\n />\n </ng-template>\n </ng-container>\n </p-table-row>\n </ng-template>\n </div>\n\n <p-table-footer\n [hideOnSinglePage]=\"hideOnSinglePage\"\n [enablePageSize]=\"enablePageSize\"\n [pageSize]=\"pageSize\"\n [pageSizeOptions]=\"pageSizeOptions\"\n (onPageSizeChange)=\"(pageSizeChange)\"\n [enablePagination]=\"enablePagination\"\n [page]=\"page\"\n [total]=\"total\"\n (onPageChange)=\"(pageChange)\"\n [enableExport]=\"enableExport\"\n (onExport)=\"export.emit()\"\n ></p-table-footer>\n</p-table-container>\n", styles: [":host{display:flex;flex-direction:column}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: PLoader, selector: "p-loader", inputs: ["color", "modalDescription", "modalTitle", "show", "variant"] }, { kind: "component", type: PTableContainer, selector: "p-table-container" }, { kind: "component", type: PTableFooter, selector: "p-table-footer", inputs: ["enableExport", "enablePageSize", "enablePagination", "hideOnSinglePage", "page", "pageSize", "pageSizeOptions", "total"] }, { kind: "component", type: PTableHeader, selector: "p-table-header", inputs: ["activeQuickFilterIdentifier", "canEdit", "editButtonTemplate", "enableEdit", "enableFilter", "enableSearch", "filterButtonTemplate", "itemsSelectedAmount", "query", "quickFilters", "selectedFiltersAmount"] }, { kind: "component", type: PTableRow, selector: "p-table-row", inputs: ["enableHover", "variant"] }, { kind: "component", type: TableCell, selector: "p-table-cell-ngx", inputs: ["variant", "index", "rowIndex", "definition", "item", "value", "checkbox", "template"] }, { kind: "directive", type: TableFooterDirective, selector: "p-table-footer" }, { kind: "directive", type: TableHeaderDirective, selector: "p-table-header" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
2302
- TableComponent = __decorate([
2417
+ Table.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: Table, deps: [], target: i0.ɵɵFactoryTarget.Component });
2418
+ Table.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.7", type: Table, selector: "p-table-ngx", inputs: { items: "items", loading: "loading", amountOfLoadingRows: "amountOfLoadingRows", enableRowSelection: "enableRowSelection", enableRowClick: "enableRowClick", selectedRows: "selectedRows", selectionKey: "selectionKey", canSelectKey: "canSelectKey", quickFilters: "quickFilters", activeQuickFilterIdentifier: "activeQuickFilterIdentifier", enableSearch: "enableSearch", query: "query", enableFilter: "enableFilter", selectedFiltersAmount: "selectedFiltersAmount", filterButtonTemplate: "filterButtonTemplate", enableEdit: "enableEdit", editButtonTemplate: "editButtonTemplate", enablePageSize: "enablePageSize", enablePagination: "enablePagination", enableExport: "enableExport", page: "page", total: "total", pageSize: "pageSize", pageSizeOptions: "pageSizeOptions", hideOnSinglePage: "hideOnSinglePage" }, outputs: { selectedRowsChange: "selectedRowsChange", rowClick: "rowClick", rowSelected: "rowSelected", rowDeselected: "rowDeselected", quickFilter: "quickFilter", queryChange: "queryChange", filter: "filter", edit: "edit", pageChange: "pageChange", pageSizeChange: "pageSizeChange", export: "export" }, host: { listeners: { "document:keydown": "keyDown($event)", "document:keyup": "keyUp($event)", "document:visibilitychange": "visibilityChange($event)" } }, queries: [{ propertyName: "columnDefinitions", predicate: TableColumn }], usesOnChanges: true, ngImport: i0, template: "<p-table-container>\n <p-table-header\n [quickFilters]=\"quickFilters\"\n [activeQuickFilterIdentifier]=\"activeQuickFilterIdentifier\"\n (onQuickFilter)=\"(onQuickFilter)\"\n [enableSearch]=\"enableSearch\"\n [query]=\"query\"\n (onQueryChange)=\"(onQueryChange)\"\n [enableFilter]=\"enableFilter\"\n [selectedFiltersAmount]=\"selectedFiltersAmount\"\n [filterButtonTemplate]=\"filterButtonTemplate\"\n (onFilter)=\"filter.emit()\"\n [enableEdit]=\"enableEdit\"\n [canEdit]=\"!!selectedRows.length\"\n [editButtonTemplate]=\"editButtonTemplate\"\n (onEdit)=\"edit.emit()\"\n [itemsSelectedAmount]=\"selectedRows.length\"\n ></p-table-header>\n\n <p-table-row variant=\"header\">\n <ng-container *ngFor=\"let col of columns; let index = index\">\n <p-table-cell-ngx\n [definition]=\"col\"\n [value]=\"col.name\"\n variant=\"header\"\n [index]=\"index\"\n [checkbox]=\"index === 0 ? checkboxTemplate : undefined\"\n ></p-table-cell-ngx>\n <ng-template #checkboxTemplate>\n <input\n class=\"p-input\"\n type=\"checkbox\"\n (change)=\"_selectAllChange($event)\"\n [checked]=\"_selectionContainsAll()\"\n [indeterminate]=\"_selectionIndeterminate()\"\n />\n </ng-template>\n </ng-container>\n </p-table-row>\n\n <div class=\"flex flex-col\">\n <ng-container *ngIf=\"loading; else contentTemplate\">\n <p-table-row\n *ngFor=\"let r of loadingRows; let rowIndex = index\"\n [enableHover]=\"enableRowSelection || enableRowClick\"\n >\n <ng-container *ngFor=\"let col of columns; let index = index\">\n <p-table-cell-ngx\n [definition]=\"col\"\n variant=\"loading\"\n [checkbox]=\"index === 0 ? checkboxTemplate : undefined\"\n [index]=\"index\"\n [rowIndex]=\"rowIndex\"\n ></p-table-cell-ngx>\n <ng-template #checkboxTemplate>\n <p-loader\n variant=\"ghost\"\n class=\"rounded w-6 h-6\"\n ></p-loader>\n </ng-template>\n </ng-container>\n </p-table-row>\n </ng-container>\n\n <ng-template #contentTemplate>\n <p-table-row\n *ngFor=\"let item of items; let rowIndex = index\"\n [enableHover]=\"enableRowSelection || enableRowClick\"\n (click)=\"_rowClick($event, rowIndex)\"\n >\n <ng-container *ngFor=\"let col of columns; let index = index\">\n <p-table-cell-ngx\n [definition]=\"col\"\n [item]=\"item\"\n [checkbox]=\"index === 0 ? checkboxTemplate : undefined\"\n [index]=\"index\"\n [rowIndex]=\"rowIndex\"\n [template]=\"col.template\"\n ></p-table-cell-ngx>\n\n <ng-template #checkboxTemplate>\n <input\n class=\"p-input\"\n type=\"checkbox\"\n (change)=\"_checkboxChange($event.target, rowIndex)\"\n [disabled]=\"_checkboxDisabled(item)\"\n [checked]=\"_selectionContains(item, rowIndex)\"\n />\n </ng-template>\n </ng-container>\n </p-table-row>\n </ng-template>\n </div>\n\n <p-table-footer\n [hideOnSinglePage]=\"hideOnSinglePage\"\n [enablePageSize]=\"enablePageSize\"\n [pageSize]=\"pageSize\"\n [pageSizeOptions]=\"pageSizeOptions\"\n (onPageSizeChange)=\"(pageSizeChange)\"\n [enablePagination]=\"enablePagination\"\n [page]=\"page\"\n [total]=\"total\"\n (onPageChange)=\"(pageChange)\"\n [enableExport]=\"enableExport\"\n (onExport)=\"export.emit()\"\n ></p-table-footer>\n</p-table-container>\n", styles: [":host{display:flex;flex-direction:column}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: PLoader, selector: "p-loader", inputs: ["color", "modalDescription", "modalTitle", "show", "variant"] }, { kind: "component", type: PTableContainer, selector: "p-table-container" }, { kind: "component", type: PTableFooter, selector: "p-table-footer", inputs: ["enableExport", "enablePageSize", "enablePagination", "hideOnSinglePage", "page", "pageSize", "pageSizeOptions", "total"] }, { kind: "component", type: PTableHeader, selector: "p-table-header", inputs: ["activeQuickFilterIdentifier", "canEdit", "editButtonTemplate", "enableEdit", "enableFilter", "enableSearch", "filterButtonTemplate", "itemsSelectedAmount", "query", "quickFilters", "selectedFiltersAmount"] }, { kind: "component", type: PTableRow, selector: "p-table-row", inputs: ["enableHover", "variant"] }, { kind: "component", type: TableCell, selector: "p-table-cell-ngx", inputs: ["variant", "index", "rowIndex", "definition", "item", "value", "checkbox", "template"] }, { kind: "directive", type: TableFooterDirective, selector: "p-table-footer" }, { kind: "directive", type: TableHeaderDirective, selector: "p-table-header" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
2419
+ Table = __decorate([
2303
2420
  UntilDestroy({ checkProperties: true })
2304
- ], TableComponent);
2305
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: TableComponent, decorators: [{
2421
+ ], Table);
2422
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: Table, decorators: [{
2306
2423
  type: Component,
2307
2424
  args: [{ selector: 'p-table-ngx', changeDetection: ChangeDetectionStrategy.OnPush, template: "<p-table-container>\n <p-table-header\n [quickFilters]=\"quickFilters\"\n [activeQuickFilterIdentifier]=\"activeQuickFilterIdentifier\"\n (onQuickFilter)=\"(onQuickFilter)\"\n [enableSearch]=\"enableSearch\"\n [query]=\"query\"\n (onQueryChange)=\"(onQueryChange)\"\n [enableFilter]=\"enableFilter\"\n [selectedFiltersAmount]=\"selectedFiltersAmount\"\n [filterButtonTemplate]=\"filterButtonTemplate\"\n (onFilter)=\"filter.emit()\"\n [enableEdit]=\"enableEdit\"\n [canEdit]=\"!!selectedRows.length\"\n [editButtonTemplate]=\"editButtonTemplate\"\n (onEdit)=\"edit.emit()\"\n [itemsSelectedAmount]=\"selectedRows.length\"\n ></p-table-header>\n\n <p-table-row variant=\"header\">\n <ng-container *ngFor=\"let col of columns; let index = index\">\n <p-table-cell-ngx\n [definition]=\"col\"\n [value]=\"col.name\"\n variant=\"header\"\n [index]=\"index\"\n [checkbox]=\"index === 0 ? checkboxTemplate : undefined\"\n ></p-table-cell-ngx>\n <ng-template #checkboxTemplate>\n <input\n class=\"p-input\"\n type=\"checkbox\"\n (change)=\"_selectAllChange($event)\"\n [checked]=\"_selectionContainsAll()\"\n [indeterminate]=\"_selectionIndeterminate()\"\n />\n </ng-template>\n </ng-container>\n </p-table-row>\n\n <div class=\"flex flex-col\">\n <ng-container *ngIf=\"loading; else contentTemplate\">\n <p-table-row\n *ngFor=\"let r of loadingRows; let rowIndex = index\"\n [enableHover]=\"enableRowSelection || enableRowClick\"\n >\n <ng-container *ngFor=\"let col of columns; let index = index\">\n <p-table-cell-ngx\n [definition]=\"col\"\n variant=\"loading\"\n [checkbox]=\"index === 0 ? checkboxTemplate : undefined\"\n [index]=\"index\"\n [rowIndex]=\"rowIndex\"\n ></p-table-cell-ngx>\n <ng-template #checkboxTemplate>\n <p-loader\n variant=\"ghost\"\n class=\"rounded w-6 h-6\"\n ></p-loader>\n </ng-template>\n </ng-container>\n </p-table-row>\n </ng-container>\n\n <ng-template #contentTemplate>\n <p-table-row\n *ngFor=\"let item of items; let rowIndex = index\"\n [enableHover]=\"enableRowSelection || enableRowClick\"\n (click)=\"_rowClick($event, rowIndex)\"\n >\n <ng-container *ngFor=\"let col of columns; let index = index\">\n <p-table-cell-ngx\n [definition]=\"col\"\n [item]=\"item\"\n [checkbox]=\"index === 0 ? checkboxTemplate : undefined\"\n [index]=\"index\"\n [rowIndex]=\"rowIndex\"\n [template]=\"col.template\"\n ></p-table-cell-ngx>\n\n <ng-template #checkboxTemplate>\n <input\n class=\"p-input\"\n type=\"checkbox\"\n (change)=\"_checkboxChange($event.target, rowIndex)\"\n [disabled]=\"_checkboxDisabled(item)\"\n [checked]=\"_selectionContains(item, rowIndex)\"\n />\n </ng-template>\n </ng-container>\n </p-table-row>\n </ng-template>\n </div>\n\n <p-table-footer\n [hideOnSinglePage]=\"hideOnSinglePage\"\n [enablePageSize]=\"enablePageSize\"\n [pageSize]=\"pageSize\"\n [pageSizeOptions]=\"pageSizeOptions\"\n (onPageSizeChange)=\"(pageSizeChange)\"\n [enablePagination]=\"enablePagination\"\n [page]=\"page\"\n [total]=\"total\"\n (onPageChange)=\"(pageChange)\"\n [enableExport]=\"enableExport\"\n (onExport)=\"export.emit()\"\n ></p-table-footer>\n</p-table-container>\n", styles: [":host{display:flex;flex-direction:column}\n"] }]
2308
2425
  }], ctorParameters: function () { return []; }, propDecorators: { items: [{
@@ -2391,117 +2508,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImpor
2391
2508
  args: ['document:visibilitychange', ['$event']]
2392
2509
  }] } });
2393
2510
 
2394
- const COMPONENTS = [TableComponent, TableColumn, TableCell];
2395
-
2396
- class PageSizeSelectDirective extends BaseValueAccessor {
2397
- constructor(el) {
2398
- super(el);
2399
- }
2400
- writeValue(value) {
2401
- this.el.nativeElement.page = this.lastValue =
2402
- value == null ? '' : value;
2403
- }
2404
- registerOnChange(fn) {
2405
- super.registerOnChange((value) => fn(value === '' ? null : parseInt(value, 10)));
2406
- }
2407
- }
2408
- PageSizeSelectDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: PageSizeSelectDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
2409
- PageSizeSelectDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.7", type: PageSizeSelectDirective, selector: "p-page-size-select", host: { listeners: { "sizeChange": "handleChangeEvent($event.detail)" } }, providers: [
2410
- {
2411
- provide: NG_VALUE_ACCESSOR,
2412
- useExisting: PageSizeSelectDirective,
2413
- multi: true,
2414
- },
2415
- ], usesInheritance: true, ngImport: i0 });
2416
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: PageSizeSelectDirective, decorators: [{
2417
- type: Directive,
2418
- args: [{
2419
- /* tslint:disable-next-line:directive-selector */
2420
- selector: 'p-page-size-select',
2421
- host: {
2422
- '(sizeChange)': 'handleChangeEvent($event.detail)',
2423
- },
2424
- providers: [
2425
- {
2426
- provide: NG_VALUE_ACCESSOR,
2427
- useExisting: PageSizeSelectDirective,
2428
- multi: true,
2429
- },
2430
- ],
2431
- }]
2432
- }], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
2433
-
2434
- class PaginationDirective extends BaseValueAccessor {
2435
- constructor(el) {
2436
- super(el);
2437
- }
2438
- writeValue(value) {
2439
- this.el.nativeElement.page = this.lastValue =
2440
- value == null ? '' : value;
2441
- }
2442
- registerOnChange(fn) {
2443
- super.registerOnChange((value) => fn(value === '' ? null : parseInt(value, 10)));
2444
- }
2445
- }
2446
- PaginationDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: PaginationDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
2447
- PaginationDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.7", type: PaginationDirective, selector: "p-pagination", host: { listeners: { "pageChange": "handleChangeEvent($event.detail)" } }, providers: [
2448
- {
2449
- provide: NG_VALUE_ACCESSOR,
2450
- useExisting: PaginationDirective,
2451
- multi: true,
2452
- },
2453
- ], usesInheritance: true, ngImport: i0 });
2454
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: PaginationDirective, decorators: [{
2455
- type: Directive,
2456
- args: [{
2457
- /* tslint:disable-next-line:directive-selector */
2458
- selector: 'p-pagination',
2459
- host: {
2460
- '(pageChange)': 'handleChangeEvent($event.detail)',
2461
- },
2462
- providers: [
2463
- {
2464
- provide: NG_VALUE_ACCESSOR,
2465
- useExisting: PaginationDirective,
2466
- multi: true,
2467
- },
2468
- ],
2469
- }]
2470
- }], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
2471
-
2472
- class SelectDirective extends BaseValueAccessor {
2473
- constructor(el) {
2474
- super(el);
2475
- }
2476
- writeValue(value) {
2477
- this.el.nativeElement.value = this.lastValue =
2478
- value == null ? '' : value;
2479
- }
2480
- }
2481
- SelectDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: SelectDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
2482
- SelectDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.7", type: SelectDirective, selector: "p-select", host: { listeners: { "valueChange": "handleChangeEvent($event.detail)" } }, providers: [
2483
- {
2484
- provide: NG_VALUE_ACCESSOR,
2485
- useExisting: SelectDirective,
2486
- multi: true,
2487
- },
2488
- ], usesInheritance: true, ngImport: i0 });
2489
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: SelectDirective, decorators: [{
2490
- type: Directive,
2491
- args: [{
2492
- selector: 'p-select',
2493
- host: {
2494
- '(valueChange)': 'handleChangeEvent($event.detail)',
2495
- },
2496
- providers: [
2497
- {
2498
- provide: NG_VALUE_ACCESSOR,
2499
- useExisting: SelectDirective,
2500
- multi: true,
2501
- },
2502
- ],
2503
- }]
2504
- }], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
2511
+ const TABLE_COMPONENTS = [Table, TableCell, TableColumn];
2505
2512
 
2506
2513
  /* eslint-disable @angular-eslint/no-host-metadata-property */
2507
2514
  class TableNgxDirective extends BaseValueAccessor {
@@ -2552,7 +2559,7 @@ class TableNgxDirective extends BaseValueAccessor {
2552
2559
  // quickFilter?.identifier;
2553
2560
  }
2554
2561
  }
2555
- TableNgxDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: TableNgxDirective, deps: [{ token: i0.ElementRef }, { token: TableComponent, host: true }], target: i0.ɵɵFactoryTarget.Directive });
2562
+ TableNgxDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: TableNgxDirective, deps: [{ token: i0.ElementRef }, { token: Table, host: true }], target: i0.ɵɵFactoryTarget.Directive });
2556
2563
  TableNgxDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.7", type: TableNgxDirective, selector: "p-table-ngx", host: { listeners: { "queryChange": "handleChange($event.detail, \"query\")", "quickFilter": "handleChange($event.detail, \"quickFilter\")", "pageChange": "handleChange($event.detail, \"page\")", "pageSizeChange": "handleChange($event.detail, \"pageSize\")", "selectedRowsChange": "handleChange($event, \"selectedRows\")" } }, providers: [
2557
2564
  {
2558
2565
  provide: NG_VALUE_ACCESSOR,
@@ -2580,7 +2587,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImpor
2580
2587
  ],
2581
2588
  }]
2582
2589
  }], ctorParameters: function () {
2583
- return [{ type: i0.ElementRef }, { type: TableComponent, decorators: [{
2590
+ return [{ type: i0.ElementRef }, { type: Table, decorators: [{
2584
2591
  type: Host
2585
2592
  }] }];
2586
2593
  } });
@@ -2656,17 +2663,259 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImpor
2656
2663
  }]
2657
2664
  }], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
2658
2665
 
2659
- // Custom directives
2660
- const CUSTOM_DIRECTIVES = [
2661
- PaginationDirective,
2662
- PageSizeSelectDirective,
2666
+ const TABLE_DIRECTIVES = [
2663
2667
  TableFooterDirective,
2664
2668
  TableHeaderDirective,
2665
2669
  TableDirective,
2666
2670
  TableNgxDirective,
2667
- SelectDirective,
2668
2671
  ];
2669
2672
 
2673
+ const DIRECTIVES = [
2674
+ PAccordion,
2675
+ PAvatar,
2676
+ PAvatarGroup,
2677
+ PButton,
2678
+ PCardBody,
2679
+ PCardContainer,
2680
+ PCardHeader,
2681
+ PContentSlider,
2682
+ PCounter,
2683
+ PDivider,
2684
+ PDropdown,
2685
+ PDropdownMenuContainer,
2686
+ PDropdownMenuItem,
2687
+ PHelper,
2688
+ PIcon,
2689
+ PIllustration,
2690
+ PInfoPanel,
2691
+ PInputGroup,
2692
+ PLabel,
2693
+ PLayout,
2694
+ PLoader,
2695
+ PModal,
2696
+ PModalBackdrop,
2697
+ PModalBody,
2698
+ PModalContainer,
2699
+ PModalFooter,
2700
+ PModalHeader,
2701
+ PNavbar,
2702
+ PNavigationItem,
2703
+ PPageSizeSelect,
2704
+ PPagination,
2705
+ PPaginationItem,
2706
+ PProfile,
2707
+ PSegmentContainer,
2708
+ PSegmentItem,
2709
+ PSelect,
2710
+ PSliderIndicator,
2711
+ PStatus,
2712
+ PStepper,
2713
+ PStepperItem,
2714
+ PStepperLine,
2715
+ PTabGroup,
2716
+ PTabItem,
2717
+ PTableContainer,
2718
+ PTableFooter,
2719
+ PTableHeader,
2720
+ PTableRow,
2721
+ PTooltip
2722
+ ];
2723
+
2724
+ class PaperlessStencilModule {
2725
+ }
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: [{
2730
+ type: NgModule,
2731
+ args: [{
2732
+ declarations: [...DIRECTIVES],
2733
+ exports: [...DIRECTIVES],
2734
+ }]
2735
+ }] });
2736
+
2737
+ class PaperlessTableModule {
2738
+ }
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: [{
2743
+ type: NgModule,
2744
+ args: [{
2745
+ imports: [CommonModule, PaperlessStencilModule],
2746
+ declarations: [...TABLE_COMPONENTS, ...TABLE_DIRECTIVES],
2747
+ exports: [...TABLE_COMPONENTS, ...TABLE_DIRECTIVES],
2748
+ }]
2749
+ }] });
2750
+
2751
+ const SLIDE_IN_BOTTOM_OUT_TOP = trigger('pSlideInBottomOutTop', [
2752
+ transition(':enter', [
2753
+ style({ transform: 'translateY(50%)', opacity: 0 }),
2754
+ animate('200ms ease-in', style({ transform: 'translateX(0%)', opacity: 1 })),
2755
+ ]),
2756
+ transition(':leave', [
2757
+ animate('200ms ease-in', style({ transform: 'translateY(-100%)', opacity: 0 })),
2758
+ ]),
2759
+ ]);
2760
+
2761
+ var ToastVariants;
2762
+ (function (ToastVariants) {
2763
+ ToastVariants["Success"] = "positive";
2764
+ ToastVariants["Warning"] = "unbiased";
2765
+ ToastVariants["Error"] = "negative";
2766
+ ToastVariants["Positive"] = "positive";
2767
+ ToastVariants["Unbiased"] = "unbiased";
2768
+ ToastVariants["Negative"] = "negative";
2769
+ })(ToastVariants || (ToastVariants = {}));
2770
+
2771
+ class ToastService {
2772
+ constructor() {
2773
+ this._toasts = [];
2774
+ this.toasts$ = new BehaviorSubject(this._toasts);
2775
+ this.defaultOptions = {
2776
+ delay: 5000,
2777
+ dismissOnAction: true,
2778
+ enableAction: true,
2779
+ icon: {
2780
+ variant: 'negative',
2781
+ },
2782
+ };
2783
+ }
2784
+ show(header, content, variant = ToastVariants.Success, options = {}) {
2785
+ options = Object.assign(Object.assign(Object.assign({}, options), this.defaultOptions), { icon: (options === null || options === void 0 ? void 0 : options.icon)
2786
+ ? Object.assign(Object.assign({}, options.icon), this.defaultOptions.icon) : this.defaultOptions.icon });
2787
+ this._toasts.push({
2788
+ header,
2789
+ content,
2790
+ variant,
2791
+ options,
2792
+ });
2793
+ this.toasts$.next(this._toasts);
2794
+ }
2795
+ hide(index) {
2796
+ this._toasts.splice(index, 1);
2797
+ this.toasts$.next(this._toasts);
2798
+ }
2799
+ }
2800
+ ToastService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: ToastService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
2801
+ ToastService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: ToastService, providedIn: 'root' });
2802
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: ToastService, decorators: [{
2803
+ type: Injectable,
2804
+ args: [{
2805
+ providedIn: 'root',
2806
+ }]
2807
+ }] });
2808
+
2809
+ let Toast = class Toast {
2810
+ constructor(c, r, z) {
2811
+ this.z = z;
2812
+ this.delay = 5000;
2813
+ this.index = 0;
2814
+ this.dismissOnAction = true;
2815
+ this.dismiss = new EventEmitter();
2816
+ c.detach();
2817
+ this.el = r.nativeElement;
2818
+ proxyOutputs(this, this.el, ['action']);
2819
+ }
2820
+ ngOnInit() {
2821
+ if (this.dismissOnAction) {
2822
+ this.el.addEventListener('action', () => this.doDismiss());
2823
+ }
2824
+ if (this.delay === 'infinite' || this.delay === 0) {
2825
+ return;
2826
+ }
2827
+ setTimeout(() => this.doDismiss(), this.delay);
2828
+ }
2829
+ doDismiss() {
2830
+ this.dismiss.next(this.index);
2831
+ }
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
+ 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 });
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,
2851
+ args: [{
2852
+ 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
+ ],
2864
+ }]
2865
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; }, propDecorators: { delay: [{
2866
+ type: Input
2867
+ }], index: [{
2868
+ type: Input
2869
+ }], dismissOnAction: [{
2870
+ type: Input
2871
+ }], dismiss: [{
2872
+ type: Output
2873
+ }] } });
2874
+
2875
+ /* top-0 bottom-0 left-0 right-0 */
2876
+ let ToastContainer = class ToastContainer {
2877
+ constructor(r, z, _toastService) {
2878
+ this.z = z;
2879
+ this._toastService = _toastService;
2880
+ this.toasts$ = this._toastService.toasts$;
2881
+ this.el = r.nativeElement;
2882
+ }
2883
+ dismiss(index) {
2884
+ this._toastService.hide(index);
2885
+ }
2886
+ };
2887
+ 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 });
2889
+ ToastContainer = __decorate([
2890
+ ProxyCmp({
2891
+ defineCustomElementFn: undefined,
2892
+ inputs: ['placement'],
2893
+ })
2894
+ ], ToastContainer);
2895
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: ToastContainer, decorators: [{
2896
+ type: Component,
2897
+ 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
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.NgZone }, { type: ToastService }]; } });
2899
+
2900
+ const TOAST_COMPONENTS = [Toast, ToastContainer];
2901
+
2902
+ const TOAST_SERVICES = [ToastService];
2903
+
2904
+ class PaperlessToastModule {
2905
+ }
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: [{
2910
+ type: NgModule,
2911
+ args: [{
2912
+ imports: [CommonModule, PaperlessStencilModule],
2913
+ declarations: [...TOAST_COMPONENTS],
2914
+ exports: [...TOAST_COMPONENTS],
2915
+ providers: [...TOAST_SERVICES],
2916
+ }]
2917
+ }] });
2918
+
2670
2919
  class CustomCurrencyPipe {
2671
2920
  constructor(_currencyPipe) {
2672
2921
  this._currencyPipe = _currencyPipe;
@@ -2733,74 +2982,29 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImpor
2733
2982
 
2734
2983
  const PIPES = [CustomCurrencyPipe, CustomDatePipe, SafePipe];
2735
2984
 
2736
- const DIRECTIVES = [
2737
- PAccordion,
2738
- PAvatar,
2739
- PAvatarGroup,
2740
- PButton,
2741
- PCardBody,
2742
- PCardContainer,
2743
- PCardHeader,
2744
- PContentSlider,
2745
- PCounter,
2746
- PDivider,
2747
- PDropdown,
2748
- PDropdownMenuContainer,
2749
- PDropdownMenuItem,
2750
- PHelper,
2751
- PIcon,
2752
- PIllustration,
2753
- PInfoPanel,
2754
- PInputGroup,
2755
- PLabel,
2756
- PLayout,
2757
- PLoader,
2758
- PModal,
2759
- PModalBackdrop,
2760
- PModalBody,
2761
- PModalContainer,
2762
- PModalFooter,
2763
- PModalHeader,
2764
- PNavbar,
2765
- PNavigationItem,
2766
- PPageSizeSelect,
2767
- PPagination,
2768
- PPaginationItem,
2769
- PProfile,
2770
- PSegmentContainer,
2771
- PSegmentItem,
2772
- PSelect,
2773
- PSliderIndicator,
2774
- PStatus,
2775
- PStepper,
2776
- PStepperItem,
2777
- PStepperLine,
2778
- PTabGroup,
2779
- PTabItem,
2780
- PTableContainer,
2781
- PTableFooter,
2782
- PTableHeader,
2783
- PTableRow,
2784
- PTooltip
2785
- ];
2786
-
2787
2985
  const NGX_PIPES = [DatePipe, CurrencyPipe];
2788
2986
  class PaperlessModule {
2789
2987
  }
2790
2988
  PaperlessModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: PaperlessModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2791
- PaperlessModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.7", ngImport: i0, type: PaperlessModule, 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, TableComponent, TableColumn, TableCell, CustomCurrencyPipe, CustomDatePipe, SafePipe, PaginationDirective, PageSizeSelectDirective, TableFooterDirective, TableHeaderDirective, TableDirective, TableNgxDirective, SelectDirective], imports: [CommonModule], 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, TableComponent, TableColumn, TableCell, CustomCurrencyPipe, CustomDatePipe, SafePipe, PaginationDirective, PageSizeSelectDirective, TableFooterDirective, TableHeaderDirective, TableDirective, TableNgxDirective, SelectDirective] });
2792
- PaperlessModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: PaperlessModule, providers: [...NGX_PIPES, ...PIPES], imports: [CommonModule] });
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: [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] });
2793
2997
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: PaperlessModule, decorators: [{
2794
2998
  type: NgModule,
2795
2999
  args: [{
2796
- imports: [CommonModule],
2797
- declarations: [
2798
- ...DIRECTIVES,
2799
- ...COMPONENTS,
2800
- ...PIPES,
2801
- ...CUSTOM_DIRECTIVES,
3000
+ imports: [
3001
+ CommonModule,
3002
+ PaperlessStencilModule,
3003
+ PaperlessTableModule,
3004
+ PaperlessToastModule,
2802
3005
  ],
2803
- exports: [...DIRECTIVES, ...COMPONENTS, ...PIPES, ...CUSTOM_DIRECTIVES],
3006
+ declarations: [...DIRECTIVES$1, ...PIPES],
3007
+ exports: [...DIRECTIVES$1, ...PIPES],
2804
3008
  providers: [...NGX_PIPES, ...PIPES],
2805
3009
  }]
2806
3010
  }] });
@@ -2813,5 +3017,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImpor
2813
3017
  * Generated bundle index. Do not edit.
2814
3018
  */
2815
3019
 
2816
- export { BaseTableComponent, BaseUploadComponent, BaseValueAccessor, COMPONENTS, CUSTOM_DIRECTIVES, CustomCurrencyPipe, CustomDatePipe, 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, SafePipe, SelectDirective, TableCell, TableColumn, TableComponent, TableDirective, TableFooterDirective, TableHeaderDirective, TableNgxDirective };
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 };
2817
3021
  //# sourceMappingURL=paperless-angular.mjs.map