@paperless/angular 0.1.0-alpha.24 → 0.1.0-alpha.240

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 (96) hide show
  1. package/README.md +9 -1
  2. package/esm2020/lib/animations/index.mjs +2 -0
  3. package/esm2020/lib/animations/slide.mjs +20 -0
  4. package/esm2020/lib/base/index.mjs +2 -1
  5. package/esm2020/lib/base/upload.component.mjs +57 -0
  6. package/esm2020/lib/base/value-accessor.mjs +8 -8
  7. package/esm2020/lib/directives/index.mjs +12 -4
  8. package/esm2020/lib/directives/p-page-size-select.directive.mjs +42 -0
  9. package/esm2020/lib/directives/p-pagination.directive.mjs +42 -0
  10. package/esm2020/lib/directives/p-select.directive.mjs +38 -0
  11. package/esm2020/lib/modules/index.mjs +6 -0
  12. package/esm2020/lib/modules/table/base/form.component.mjs +105 -0
  13. package/esm2020/lib/modules/table/base/index.mjs +3 -0
  14. package/esm2020/lib/modules/table/base/table.component.mjs +175 -0
  15. package/esm2020/lib/modules/table/components/index.mjs +8 -0
  16. package/esm2020/lib/modules/table/components/table/constants.mjs +3 -0
  17. package/esm2020/lib/modules/table/components/table/table.component.mjs +604 -0
  18. package/esm2020/lib/modules/table/components/table-cell/table-cell.component.mjs +167 -0
  19. package/esm2020/lib/modules/table/components/table-column/table-column.component.mjs +37 -0
  20. package/esm2020/lib/modules/table/directives/index.mjs +18 -0
  21. package/esm2020/lib/modules/table/directives/p-table-filter-modal.directive.mjs +13 -0
  22. package/esm2020/lib/modules/table/directives/p-table-footer.directive.mjs +52 -0
  23. package/esm2020/lib/modules/table/directives/p-table-header.directive.mjs +60 -0
  24. package/esm2020/lib/modules/table/directives/p-table-ngx.directive.mjs +101 -0
  25. package/esm2020/lib/modules/table/directives/p-table.directive.mjs +78 -0
  26. package/esm2020/lib/modules/table/index.mjs +5 -0
  27. package/esm2020/lib/modules/table/table.module.mjs +28 -0
  28. package/esm2020/lib/modules/toast/components/index.mjs +4 -0
  29. package/esm2020/lib/modules/toast/components/toast-container/toast-container.component.mjs +36 -0
  30. package/esm2020/lib/modules/toast/directives/index.mjs +4 -0
  31. package/esm2020/lib/modules/toast/directives/toast.directive.mjs +52 -0
  32. package/esm2020/lib/modules/toast/index.mjs +6 -0
  33. package/esm2020/lib/modules/toast/services/index.mjs +4 -0
  34. package/esm2020/lib/modules/toast/services/toast.service.mjs +47 -0
  35. package/esm2020/lib/modules/toast/toast.module.mjs +22 -0
  36. package/esm2020/lib/modules/toast/types.mjs +10 -0
  37. package/esm2020/lib/paperless.module.mjs +29 -11
  38. package/esm2020/lib/pipes/currency.pipe.mjs +20 -0
  39. package/esm2020/lib/pipes/date.pipe.mjs +20 -0
  40. package/esm2020/lib/pipes/index.mjs +8 -0
  41. package/esm2020/lib/pipes/safe.pipe.mjs +33 -0
  42. package/esm2020/lib/stencil/components.mjs +976 -70
  43. package/esm2020/lib/stencil/index.mjs +37 -1
  44. package/esm2020/lib/stencil.module.mjs +17 -0
  45. package/esm2020/public-api.mjs +5 -1
  46. package/fesm2015/paperless-angular.mjs +2794 -144
  47. package/fesm2015/paperless-angular.mjs.map +1 -1
  48. package/fesm2020/paperless-angular.mjs +2811 -146
  49. package/fesm2020/paperless-angular.mjs.map +1 -1
  50. package/{paperless-angular.d.ts → index.d.ts} +0 -0
  51. package/lib/animations/index.d.ts +1 -0
  52. package/lib/animations/slide.d.ts +2 -0
  53. package/lib/base/index.d.ts +1 -0
  54. package/lib/base/upload.component.d.ts +16 -0
  55. package/lib/base/value-accessor.d.ts +6 -6
  56. package/lib/directives/index.d.ts +5 -3
  57. package/lib/directives/p-page-size-select.directive.d.ts +10 -0
  58. package/lib/directives/{pagination.directive.d.ts → p-pagination.directive.d.ts} +3 -3
  59. package/lib/directives/p-select.directive.d.ts +9 -0
  60. package/lib/modules/index.d.ts +4 -0
  61. package/lib/modules/table/base/form.component.d.ts +15 -0
  62. package/lib/modules/table/base/index.d.ts +2 -0
  63. package/lib/modules/table/base/table.component.d.ts +53 -0
  64. package/lib/modules/table/components/index.d.ts +7 -0
  65. package/lib/modules/table/components/table/constants.d.ts +2 -0
  66. package/lib/modules/table/components/table/table.component.d.ts +209 -0
  67. package/lib/modules/table/components/table-cell/table-cell.component.d.ts +45 -0
  68. package/lib/modules/table/components/table-column/table-column.component.d.ts +17 -0
  69. package/lib/modules/table/directives/index.d.ts +11 -0
  70. package/lib/modules/table/directives/p-table-filter-modal.directive.d.ts +5 -0
  71. package/lib/modules/table/directives/p-table-footer.directive.d.ts +11 -0
  72. package/lib/modules/table/directives/p-table-header.directive.d.ts +17 -0
  73. package/lib/modules/table/directives/p-table-ngx.directive.d.ts +26 -0
  74. package/lib/modules/table/directives/p-table.directive.d.ts +22 -0
  75. package/lib/modules/table/index.d.ts +4 -0
  76. package/lib/modules/table/table.module.d.ts +16 -0
  77. package/lib/modules/toast/components/index.d.ts +3 -0
  78. package/lib/modules/toast/components/toast-container/toast-container.component.d.ts +17 -0
  79. package/lib/modules/toast/directives/index.d.ts +3 -0
  80. package/lib/modules/toast/directives/toast.directive.d.ts +16 -0
  81. package/lib/modules/toast/index.d.ts +5 -0
  82. package/lib/modules/toast/services/index.d.ts +3 -0
  83. package/lib/modules/toast/services/toast.service.d.ts +12 -0
  84. package/lib/modules/toast/toast.module.d.ts +10 -0
  85. package/lib/modules/toast/types.d.ts +30 -0
  86. package/lib/paperless.module.d.ts +13 -3
  87. package/lib/pipes/currency.pipe.d.ts +10 -0
  88. package/lib/pipes/date.pipe.d.ts +10 -0
  89. package/lib/pipes/index.d.ts +7 -0
  90. package/lib/pipes/safe.pipe.d.ts +10 -0
  91. package/lib/stencil/components.d.ts +403 -14
  92. package/lib/stencil/index.d.ts +1 -1
  93. package/lib/stencil.module.d.ts +7 -0
  94. package/package.json +7 -6
  95. package/public-api.d.ts +4 -0
  96. package/esm2020/lib/directives/pagination.directive.mjs +0 -42
@@ -1,10 +1,74 @@
1
1
  import * as i0 from '@angular/core';
2
- import { Directive, HostListener, Component, ChangeDetectionStrategy, NgModule } from '@angular/core';
3
- import { 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
- import { fromEvent } from 'rxjs';
5
+ import { untilDestroyed, UntilDestroy } from '@ngneat/until-destroy';
6
+ import { timer, fromEvent, BehaviorSubject, distinctUntilChanged, map as map$1 } from 'rxjs';
7
+ import { startWith, pairwise, map, filter, debounce } from 'rxjs/operators';
8
+ import { objectGetByPath } from '@paperless/core';
9
+ import * as i1 from '@angular/common';
10
+ import { CommonModule, DatePipe, CurrencyPipe } from '@angular/common';
11
+ import { trigger, transition, style, animate } from '@angular/animations';
12
+ import * as i1$1 from '@angular/platform-browser';
6
13
 
7
- class ValueAccessor {
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.10", ngImport: i0, type: BaseUploadComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
52
+ BaseUploadComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.10", 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.10", 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 {
8
72
  constructor(el) {
9
73
  this.el = el;
10
74
  this.onChange = () => {
@@ -24,19 +88,19 @@ class ValueAccessor {
24
88
  this.onChange(value);
25
89
  }
26
90
  }
27
- _handleBlurEvent() {
28
- this.onTouched();
29
- }
30
91
  registerOnChange(fn) {
31
92
  this.onChange = fn;
32
93
  }
33
94
  registerOnTouched(fn) {
34
95
  this.onTouched = fn;
35
96
  }
97
+ _handleBlurEvent() {
98
+ this.onTouched();
99
+ }
36
100
  }
37
- ValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ValueAccessor, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
38
- ValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: ValueAccessor, host: { listeners: { "focusout": "_handleBlurEvent()" } }, ngImport: i0 });
39
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ValueAccessor, decorators: [{
101
+ BaseValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: BaseValueAccessor, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
102
+ BaseValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.10", type: BaseValueAccessor, host: { listeners: { "focusout": "_handleBlurEvent()" } }, ngImport: i0 });
103
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: BaseValueAccessor, decorators: [{
40
104
  type: Directive,
41
105
  args: [{}]
42
106
  }], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { _handleBlurEvent: [{
@@ -44,7 +108,45 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
44
108
  args: ['focusout']
45
109
  }] } });
46
110
 
47
- class PaginationDirective extends ValueAccessor {
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.10", ngImport: i0, type: PageSizeSelectDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
124
+ PageSizeSelectDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.10", 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.10", 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 {
48
150
  constructor(el) {
49
151
  super(el);
50
152
  }
@@ -56,21 +158,21 @@ class PaginationDirective extends ValueAccessor {
56
158
  super.registerOnChange((value) => fn(value === '' ? null : parseInt(value, 10)));
57
159
  }
58
160
  }
59
- PaginationDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PaginationDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
60
- PaginationDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: PaginationDirective, selector: "p-pagination", host: { listeners: { "pageChange": "handleChangeEvent($event.target.page)" } }, providers: [
161
+ PaginationDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: PaginationDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
162
+ PaginationDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.10", type: PaginationDirective, selector: "p-pagination", host: { listeners: { "pageChange": "handleChangeEvent($event.detail)" } }, providers: [
61
163
  {
62
164
  provide: NG_VALUE_ACCESSOR,
63
165
  useExisting: PaginationDirective,
64
166
  multi: true,
65
167
  },
66
168
  ], usesInheritance: true, ngImport: i0 });
67
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PaginationDirective, decorators: [{
169
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: PaginationDirective, decorators: [{
68
170
  type: Directive,
69
171
  args: [{
70
172
  /* tslint:disable-next-line:directive-selector */
71
173
  selector: 'p-pagination',
72
174
  host: {
73
- '(pageChange)': 'handleChangeEvent($event.target.page)',
175
+ '(pageChange)': 'handleChangeEvent($event.detail)',
74
176
  },
75
177
  providers: [
76
178
  {
@@ -82,7 +184,311 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
82
184
  }]
83
185
  }], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
84
186
 
85
- const CUSTOM_DIRECTIVES = [PaginationDirective];
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.10", ngImport: i0, type: SelectDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
197
+ SelectDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.10", 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.10", 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
+
227
+ class FormBaseComponent {
228
+ constructor() {
229
+ this.markedDirty = false;
230
+ }
231
+ scrollToFirstError() {
232
+ const invalidInputs = Array.from(document.getElementsByClassName('ng-invalid'))
233
+ .filter((e) => { var _a; return ((_a = e === null || e === void 0 ? void 0 : e.nodeName) === null || _a === void 0 ? void 0 : _a.toLowerCase()) !== 'form'; })
234
+ .sort((a, b) => a.scrollTop - b.scrollTop);
235
+ const first = invalidInputs[0];
236
+ if (first) {
237
+ first.scrollIntoView({
238
+ behavior: 'smooth',
239
+ block: 'center',
240
+ inline: 'center',
241
+ });
242
+ }
243
+ }
244
+ markControlDirty(control) {
245
+ if (control instanceof FormControl) {
246
+ control.markAsDirty({ onlySelf: true });
247
+ control.markAsTouched({ onlySelf: true });
248
+ }
249
+ else if (control instanceof FormGroup) {
250
+ control.markAsDirty();
251
+ control.markAsTouched();
252
+ this.markAllDirty(control);
253
+ }
254
+ else if (control instanceof FormArray) {
255
+ control.markAsDirty();
256
+ control.markAsTouched();
257
+ for (const child of control === null || control === void 0 ? void 0 : control.controls) {
258
+ this.markControlDirty(child);
259
+ }
260
+ }
261
+ control.updateValueAndValidity();
262
+ }
263
+ markAllDirty(formGroup) {
264
+ this.markedDirty = true;
265
+ for (const field of Object.keys(formGroup.controls)) {
266
+ const control = formGroup.get(field);
267
+ this.markControlDirty(control);
268
+ }
269
+ }
270
+ getControlError(control) {
271
+ if (!this.hasControlError(control)) {
272
+ return;
273
+ }
274
+ return this.firstControlError(control);
275
+ }
276
+ hasControlError(control, showChildErrors = true) {
277
+ return ((control === null || control === void 0 ? void 0 : control.dirty) && this.firstControlError(control, showChildErrors));
278
+ }
279
+ firstControlError(control, showChildErrors = true) {
280
+ if (control instanceof FormGroup && showChildErrors) {
281
+ const errors = Object.keys(control.controls)
282
+ .map((key) => this.firstControlError(control.controls[key]))
283
+ .filter((val) => !!val);
284
+ return errors[0];
285
+ }
286
+ if (!(control === null || control === void 0 ? void 0 : control.errors)) {
287
+ return;
288
+ }
289
+ const keys = Object.keys(control.errors);
290
+ let err;
291
+ for (const key of keys) {
292
+ if (control.errors[key]) {
293
+ err = key;
294
+ break;
295
+ }
296
+ }
297
+ return err;
298
+ }
299
+ resetControl(control) {
300
+ control.setErrors(null);
301
+ control.reset();
302
+ control.markAsPristine();
303
+ if (control instanceof FormGroup) {
304
+ this.resetForm(control);
305
+ }
306
+ else if (control instanceof FormArray) {
307
+ for (const child of control === null || control === void 0 ? void 0 : control.controls) {
308
+ this.resetControl(child);
309
+ }
310
+ }
311
+ }
312
+ resetForm(formGroup) {
313
+ for (const field of Object.keys(formGroup.controls)) {
314
+ const control = formGroup.get(field);
315
+ this.resetControl(control);
316
+ }
317
+ this.markedDirty = false;
318
+ }
319
+ }
320
+ FormBaseComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: FormBaseComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
321
+ FormBaseComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.10", type: FormBaseComponent, selector: "ng-component", ngImport: i0, template: ``, isInline: true });
322
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: FormBaseComponent, decorators: [{
323
+ type: Component,
324
+ args: [{
325
+ template: ``,
326
+ }]
327
+ }] });
328
+
329
+ let BaseTableComponent = class BaseTableComponent extends FormBaseComponent {
330
+ constructor() {
331
+ super();
332
+ this.quickFilters = [];
333
+ this.pageSizeDefault = 12;
334
+ this._defaultTableValues = {
335
+ pageSize: this.pageSizeDefault,
336
+ page: 1,
337
+ quickFilter: null,
338
+ query: '',
339
+ filters: [],
340
+ selectedRows: [],
341
+ };
342
+ this.defaultTableValues = {};
343
+ }
344
+ get pageSize() {
345
+ if (!this.tableOptions) {
346
+ return this._defaultTableValues.pageSize;
347
+ }
348
+ return this.tableOptions.value.pageSize;
349
+ }
350
+ get page() {
351
+ if (!this.tableOptions) {
352
+ return this._defaultTableValues.page;
353
+ }
354
+ return this.tableOptions.value.page;
355
+ }
356
+ get quickFilter() {
357
+ if (!this.tableOptions) {
358
+ return this._defaultTableValues.quickFilter;
359
+ }
360
+ return this.tableOptions.value.quickFilter;
361
+ }
362
+ set quickFilter(quickFilter) {
363
+ this.tableValues = {
364
+ quickFilter,
365
+ };
366
+ }
367
+ get query() {
368
+ if (!this.tableOptions) {
369
+ return this._defaultTableValues.query;
370
+ }
371
+ return this.tableOptions.value.query;
372
+ }
373
+ set query(query) {
374
+ this.tableValues = {
375
+ query,
376
+ };
377
+ }
378
+ get filters() {
379
+ if (!this.tableOptions) {
380
+ return this._defaultTableValues.filters;
381
+ }
382
+ return this.tableOptions.value.filters;
383
+ }
384
+ set filters(filters) {
385
+ this.tableValues = {
386
+ filters,
387
+ };
388
+ }
389
+ get selectedRows() {
390
+ if (!this.tableOptions) {
391
+ return this._defaultTableValues.selectedRows;
392
+ }
393
+ return this.tableOptions.value.selectedRows;
394
+ }
395
+ set selectedRows(selectedRows) {
396
+ this.tableValues = {
397
+ selectedRows,
398
+ };
399
+ }
400
+ // setter
401
+ get parsedDefaultTableValues() {
402
+ var _a;
403
+ return Object.assign(Object.assign(Object.assign({}, this._defaultTableValues), this.defaultTableValues), { pageSize: ((_a = this.defaultTableValues) === null || _a === void 0 ? void 0 : _a.pageSize) || this.pageSizeDefault });
404
+ }
405
+ get tableValues() {
406
+ var _a, _b;
407
+ return (_b = (_a = this.tableOptions) === null || _a === void 0 ? void 0 : _a.value) !== null && _b !== void 0 ? _b : {};
408
+ }
409
+ set tableValues(values) {
410
+ this._setTableValues(Object.assign(Object.assign({}, this.tableValues), values));
411
+ }
412
+ ngOnInit() {
413
+ this.tableOptions = new FormControl({
414
+ pageSize: this.parsedDefaultTableValues.pageSize,
415
+ page: this.parsedDefaultTableValues.page,
416
+ quickFilter: this.parsedDefaultTableValues.quickFilter,
417
+ query: this.parsedDefaultTableValues.query,
418
+ filters: this.parsedDefaultTableValues.filters,
419
+ selectedRows: this.parsedDefaultTableValues.selectedRows,
420
+ });
421
+ this.tableOptions.valueChanges
422
+ .pipe(untilDestroyed(this), startWith(this.tableOptions.value), pairwise(), map(([previous, next]) => this._getChanges(previous, next)), filter((changes) => !!changes), debounce((changes) => {
423
+ var _a;
424
+ if ((changes === null || changes === void 0 ? void 0 : changes.query) && ((_a = Object.keys(changes)) === null || _a === void 0 ? void 0 : _a.length) === 1) {
425
+ return timer(300);
426
+ }
427
+ return timer(0);
428
+ }), filter((changes) => {
429
+ var _a;
430
+ return !((changes === null || changes === void 0 ? void 0 : changes.selected) &&
431
+ ((_a = Object.keys(changes)) === null || _a === void 0 ? void 0 : _a.length) === 1);
432
+ }))
433
+ .subscribe((changes) => {
434
+ if (changes === null || changes === void 0 ? void 0 : changes.page) {
435
+ this._refresh();
436
+ return;
437
+ }
438
+ this._resetPageOrRefresh();
439
+ });
440
+ this._refresh();
441
+ }
442
+ resetTable(emitEvent = true, forceRefresh = null) {
443
+ this._setTableValues(this.parsedDefaultTableValues, emitEvent);
444
+ if (forceRefresh) {
445
+ this._refresh();
446
+ }
447
+ }
448
+ _refresh() {
449
+ console.warn('Not implemented');
450
+ }
451
+ _resetPageOrRefresh() {
452
+ var _a;
453
+ if (!this.tableOptions) {
454
+ return;
455
+ }
456
+ if (this.page !== 1) {
457
+ (_a = this.tableOptions.get('page')) === null || _a === void 0 ? void 0 : _a.setValue(1);
458
+ return;
459
+ }
460
+ this._refresh();
461
+ }
462
+ _setTableValues(data, emitEvent = true) {
463
+ var _a;
464
+ (_a = this.tableOptions) === null || _a === void 0 ? void 0 : _a.setValue(Object.assign(Object.assign({}, this.tableOptions.value), data), { emitEvent });
465
+ }
466
+ _getChanges(previous, next) {
467
+ const changes = {};
468
+ let key;
469
+ for (key in next) {
470
+ if (key === 'selectedRows') {
471
+ continue;
472
+ }
473
+ if (JSON.stringify(previous[key]) !== JSON.stringify(next[key])) {
474
+ // @ts-ignore
475
+ changes[key] = next[key];
476
+ }
477
+ }
478
+ return Object.keys(changes).length ? changes : null;
479
+ }
480
+ };
481
+ BaseTableComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: BaseTableComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
482
+ BaseTableComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.10", type: BaseTableComponent, selector: "ng-component", usesInheritance: true, ngImport: i0, template: ``, isInline: true });
483
+ BaseTableComponent = __decorate([
484
+ UntilDestroy({ checkProperties: true })
485
+ ], BaseTableComponent);
486
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: BaseTableComponent, decorators: [{
487
+ type: Component,
488
+ args: [{
489
+ template: ``,
490
+ }]
491
+ }], ctorParameters: function () { return []; } });
86
492
 
87
493
  /* eslint-disable */
88
494
  const proxyInputs = (Cmp, inputs) => {
@@ -135,341 +541,2585 @@ function ProxyCmp(opts) {
135
541
  return decorator;
136
542
  }
137
543
 
138
- let PAvatar = class PAvatar {
544
+ let PAccordion = class PAccordion {
139
545
  constructor(c, r, z) {
140
546
  this.z = z;
141
547
  c.detach();
142
548
  this.el = r.nativeElement;
549
+ proxyOutputs(this, this.el, ['isOpen']);
143
550
  }
144
551
  };
145
- PAvatar.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PAvatar, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
146
- PAvatar.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: PAvatar, selector: "p-avatar", inputs: { defaultImage: "defaultImage", size: "size", src: "src", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
147
- PAvatar = __decorate([
552
+ PAccordion.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: PAccordion, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
553
+ PAccordion.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.10", type: PAccordion, selector: "p-accordion", inputs: { closeable: "closeable", header: "header", open: "open", openable: "openable" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
554
+ PAccordion = __decorate([
148
555
  ProxyCmp({
149
556
  defineCustomElementFn: undefined,
150
- inputs: ['defaultImage', 'size', 'src', 'variant']
557
+ inputs: ['closeable', 'header', 'open', 'openable']
151
558
  })
152
- ], PAvatar);
153
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PAvatar, decorators: [{
559
+ ], PAccordion);
560
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: PAccordion, decorators: [{
154
561
  type: Component,
155
562
  args: [{
156
- selector: 'p-avatar',
563
+ selector: 'p-accordion',
157
564
  changeDetection: ChangeDetectionStrategy.OnPush,
158
565
  template: '<ng-content></ng-content>',
159
- inputs: ['defaultImage', 'size', 'src', 'variant']
566
+ inputs: ['closeable', 'header', 'open', 'openable']
160
567
  }]
161
568
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
162
- let PButton = class PButton {
569
+ let PAvatar = class PAvatar {
163
570
  constructor(c, r, z) {
164
571
  this.z = z;
165
572
  c.detach();
166
573
  this.el = r.nativeElement;
167
- proxyOutputs(this, this.el, ['onClick']);
168
574
  }
169
575
  };
170
- PButton.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PButton, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
171
- PButton.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: PButton, selector: "p-button", inputs: { disabled: "disabled", href: "href", icon: "icon", iconFlip: "iconFlip", iconPosition: "iconPosition", iconRotate: "iconRotate", loading: "loading", size: "size", target: "target", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
172
- PButton = __decorate([
576
+ PAvatar.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: PAvatar, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
577
+ PAvatar.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.10", type: PAvatar, selector: "p-avatar", inputs: { defaultImage: "defaultImage", size: "size", src: "src", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
578
+ PAvatar = __decorate([
173
579
  ProxyCmp({
174
580
  defineCustomElementFn: undefined,
175
- inputs: ['disabled', 'href', 'icon', 'iconFlip', 'iconPosition', 'iconRotate', 'loading', 'size', 'target', 'variant']
581
+ inputs: ['defaultImage', 'size', 'src', 'variant']
176
582
  })
177
- ], PButton);
178
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PButton, decorators: [{
583
+ ], PAvatar);
584
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: PAvatar, decorators: [{
179
585
  type: Component,
180
586
  args: [{
181
- selector: 'p-button',
587
+ selector: 'p-avatar',
182
588
  changeDetection: ChangeDetectionStrategy.OnPush,
183
589
  template: '<ng-content></ng-content>',
184
- inputs: ['disabled', 'href', 'icon', 'iconFlip', 'iconPosition', 'iconRotate', 'loading', 'size', 'target', 'variant']
590
+ inputs: ['defaultImage', 'size', 'src', 'variant']
185
591
  }]
186
592
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
187
- let PCounter = class PCounter {
593
+ let PAvatarGroup = class PAvatarGroup {
188
594
  constructor(c, r, z) {
189
595
  this.z = z;
190
596
  c.detach();
191
597
  this.el = r.nativeElement;
192
598
  }
193
599
  };
194
- PCounter.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PCounter, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
195
- PCounter.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: PCounter, selector: "p-counter", ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
196
- PCounter = __decorate([
600
+ PAvatarGroup.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: PAvatarGroup, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
601
+ PAvatarGroup.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.10", type: PAvatarGroup, selector: "p-avatar-group", inputs: { extra: "extra" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
602
+ PAvatarGroup = __decorate([
197
603
  ProxyCmp({
198
- defineCustomElementFn: undefined
604
+ defineCustomElementFn: undefined,
605
+ inputs: ['extra']
199
606
  })
200
- ], PCounter);
201
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PCounter, decorators: [{
607
+ ], PAvatarGroup);
608
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: PAvatarGroup, decorators: [{
202
609
  type: Component,
203
610
  args: [{
204
- selector: 'p-counter',
611
+ selector: 'p-avatar-group',
205
612
  changeDetection: ChangeDetectionStrategy.OnPush,
206
- template: '<ng-content></ng-content>'
613
+ template: '<ng-content></ng-content>',
614
+ inputs: ['extra']
207
615
  }]
208
616
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
209
- let PDivider = class PDivider {
617
+ let PButton = class PButton {
210
618
  constructor(c, r, z) {
211
619
  this.z = z;
212
620
  c.detach();
213
621
  this.el = r.nativeElement;
622
+ proxyOutputs(this, this.el, ['onClick']);
214
623
  }
215
624
  };
216
- PDivider.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PDivider, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
217
- PDivider.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: PDivider, selector: "p-divider", ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
218
- PDivider = __decorate([
625
+ PButton.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: PButton, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
626
+ PButton.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.10", type: PButton, selector: "p-button", inputs: { chevron: "chevron", chevronPosition: "chevronPosition", disabled: "disabled", href: "href", icon: "icon", iconFlip: "iconFlip", iconOnly: "iconOnly", iconPosition: "iconPosition", iconRotate: "iconRotate", inheritText: "inheritText", loading: "loading", size: "size", target: "target", variant: "variant", width: "width" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
627
+ PButton = __decorate([
219
628
  ProxyCmp({
220
- defineCustomElementFn: undefined
629
+ defineCustomElementFn: undefined,
630
+ inputs: ['chevron', 'chevronPosition', 'disabled', 'href', 'icon', 'iconFlip', 'iconOnly', 'iconPosition', 'iconRotate', 'inheritText', 'loading', 'size', 'target', 'variant', 'width']
221
631
  })
222
- ], PDivider);
223
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PDivider, decorators: [{
632
+ ], PButton);
633
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: PButton, decorators: [{
224
634
  type: Component,
225
635
  args: [{
226
- selector: 'p-divider',
636
+ selector: 'p-button',
227
637
  changeDetection: ChangeDetectionStrategy.OnPush,
228
- template: '<ng-content></ng-content>'
638
+ template: '<ng-content></ng-content>',
639
+ inputs: ['chevron', 'chevronPosition', 'disabled', 'href', 'icon', 'iconFlip', 'iconOnly', 'iconPosition', 'iconRotate', 'inheritText', 'loading', 'size', 'target', 'variant', 'width']
229
640
  }]
230
641
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
231
- let PHelper = class PHelper {
642
+ let PCardBody = class PCardBody {
232
643
  constructor(c, r, z) {
233
644
  this.z = z;
234
645
  c.detach();
235
646
  this.el = r.nativeElement;
236
647
  }
237
648
  };
238
- PHelper.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PHelper, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
239
- PHelper.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: PHelper, selector: "p-helper", ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
240
- PHelper = __decorate([
649
+ PCardBody.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: PCardBody, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
650
+ PCardBody.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.10", type: PCardBody, selector: "p-card-body", inputs: { inheritText: "inheritText" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
651
+ PCardBody = __decorate([
241
652
  ProxyCmp({
242
- defineCustomElementFn: undefined
653
+ defineCustomElementFn: undefined,
654
+ inputs: ['inheritText']
243
655
  })
244
- ], PHelper);
245
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PHelper, decorators: [{
656
+ ], PCardBody);
657
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: PCardBody, decorators: [{
246
658
  type: Component,
247
659
  args: [{
248
- selector: 'p-helper',
660
+ selector: 'p-card-body',
249
661
  changeDetection: ChangeDetectionStrategy.OnPush,
250
- template: '<ng-content></ng-content>'
662
+ template: '<ng-content></ng-content>',
663
+ inputs: ['inheritText']
251
664
  }]
252
665
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
253
- let PIcon = class PIcon {
666
+ let PCardContainer = class PCardContainer {
254
667
  constructor(c, r, z) {
255
668
  this.z = z;
256
669
  c.detach();
257
670
  this.el = r.nativeElement;
258
671
  }
259
672
  };
260
- PIcon.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PIcon, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
261
- PIcon.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: PIcon, selector: "p-icon", inputs: { flip: "flip", rotate: "rotate", size: "size", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
262
- PIcon = __decorate([
673
+ PCardContainer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: PCardContainer, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
674
+ PCardContainer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.10", type: PCardContainer, selector: "p-card-container", inputs: { hoverable: "hoverable", shadow: "shadow" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
675
+ PCardContainer = __decorate([
263
676
  ProxyCmp({
264
677
  defineCustomElementFn: undefined,
265
- inputs: ['flip', 'rotate', 'size', 'variant']
678
+ inputs: ['hoverable', 'shadow']
266
679
  })
267
- ], PIcon);
268
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PIcon, decorators: [{
680
+ ], PCardContainer);
681
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: PCardContainer, decorators: [{
269
682
  type: Component,
270
683
  args: [{
271
- selector: 'p-icon',
684
+ selector: 'p-card-container',
272
685
  changeDetection: ChangeDetectionStrategy.OnPush,
273
686
  template: '<ng-content></ng-content>',
274
- inputs: ['flip', 'rotate', 'size', 'variant']
687
+ inputs: ['hoverable', 'shadow']
275
688
  }]
276
689
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
277
- let PIllustration = class PIllustration {
690
+ let PCardHeader = class PCardHeader {
278
691
  constructor(c, r, z) {
279
692
  this.z = z;
280
693
  c.detach();
281
694
  this.el = r.nativeElement;
282
695
  }
283
696
  };
284
- PIllustration.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PIllustration, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
285
- PIllustration.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: PIllustration, selector: "p-illustration", inputs: { variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
286
- PIllustration = __decorate([
697
+ PCardHeader.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: PCardHeader, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
698
+ PCardHeader.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.10", type: PCardHeader, selector: "p-card-header", inputs: { arrow: "arrow", header: "header" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
699
+ PCardHeader = __decorate([
287
700
  ProxyCmp({
288
701
  defineCustomElementFn: undefined,
289
- inputs: ['variant']
702
+ inputs: ['arrow', 'header']
290
703
  })
291
- ], PIllustration);
292
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PIllustration, decorators: [{
704
+ ], PCardHeader);
705
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: PCardHeader, decorators: [{
293
706
  type: Component,
294
707
  args: [{
295
- selector: 'p-illustration',
708
+ selector: 'p-card-header',
296
709
  changeDetection: ChangeDetectionStrategy.OnPush,
297
710
  template: '<ng-content></ng-content>',
298
- inputs: ['variant']
711
+ inputs: ['arrow', 'header']
299
712
  }]
300
713
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
301
- let PInfoPanel = class PInfoPanel {
714
+ let PContentSlider = class PContentSlider {
302
715
  constructor(c, r, z) {
303
716
  this.z = z;
304
717
  c.detach();
305
718
  this.el = r.nativeElement;
306
719
  }
307
720
  };
308
- PInfoPanel.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PInfoPanel, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
309
- PInfoPanel.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: PInfoPanel, selector: "p-info-panel", inputs: { closeable: "closeable", content: "content", header: "header", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
310
- PInfoPanel = __decorate([
721
+ PContentSlider.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: PContentSlider, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
722
+ PContentSlider.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.10", type: PContentSlider, selector: "p-content-slider", inputs: { disableAutoCenter: "disableAutoCenter", disableDrag: "disableDrag", disableIndicatorClick: "disableIndicatorClick", hideMobileIndicator: "hideMobileIndicator" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
723
+ PContentSlider = __decorate([
311
724
  ProxyCmp({
312
725
  defineCustomElementFn: undefined,
313
- inputs: ['closeable', 'content', 'header', 'variant']
726
+ inputs: ['disableAutoCenter', 'disableDrag', 'disableIndicatorClick', 'hideMobileIndicator']
314
727
  })
315
- ], PInfoPanel);
316
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PInfoPanel, decorators: [{
728
+ ], PContentSlider);
729
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: PContentSlider, decorators: [{
317
730
  type: Component,
318
731
  args: [{
319
- selector: 'p-info-panel',
732
+ selector: 'p-content-slider',
320
733
  changeDetection: ChangeDetectionStrategy.OnPush,
321
734
  template: '<ng-content></ng-content>',
322
- inputs: ['closeable', 'content', 'header', 'variant']
735
+ inputs: ['disableAutoCenter', 'disableDrag', 'disableIndicatorClick', 'hideMobileIndicator']
323
736
  }]
324
737
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
325
- let PLoader = class PLoader {
738
+ let PCounter = class PCounter {
326
739
  constructor(c, r, z) {
327
740
  this.z = z;
328
741
  c.detach();
329
742
  this.el = r.nativeElement;
330
743
  }
331
744
  };
332
- PLoader.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PLoader, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
333
- PLoader.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: PLoader, selector: "p-loader", inputs: { color: "color", modalDescription: "modalDescription", modalTitle: "modalTitle", show: "show", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
334
- PLoader = __decorate([
745
+ PCounter.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: PCounter, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
746
+ PCounter.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.10", type: PCounter, selector: "p-counter", inputs: { size: "size", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
747
+ PCounter = __decorate([
335
748
  ProxyCmp({
336
749
  defineCustomElementFn: undefined,
337
- inputs: ['color', 'modalDescription', 'modalTitle', 'show', 'variant']
750
+ inputs: ['size', 'variant']
338
751
  })
339
- ], PLoader);
340
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PLoader, decorators: [{
752
+ ], PCounter);
753
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: PCounter, decorators: [{
341
754
  type: Component,
342
755
  args: [{
343
- selector: 'p-loader',
756
+ selector: 'p-counter',
344
757
  changeDetection: ChangeDetectionStrategy.OnPush,
345
758
  template: '<ng-content></ng-content>',
346
- inputs: ['color', 'modalDescription', 'modalTitle', 'show', 'variant']
759
+ inputs: ['size', 'variant']
347
760
  }]
348
761
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
349
- let PNavigationItem = class PNavigationItem {
762
+ let PDivider = class PDivider {
350
763
  constructor(c, r, z) {
351
764
  this.z = z;
352
765
  c.detach();
353
766
  this.el = r.nativeElement;
354
767
  }
355
768
  };
356
- PNavigationItem.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PNavigationItem, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
357
- PNavigationItem.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: PNavigationItem, selector: "p-navigation-item", inputs: { active: "active", counter: "counter", href: "href", icon: "icon", target: "target" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
358
- PNavigationItem = __decorate([
769
+ PDivider.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: PDivider, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
770
+ PDivider.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.10", type: PDivider, selector: "p-divider", ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
771
+ PDivider = __decorate([
359
772
  ProxyCmp({
360
- defineCustomElementFn: undefined,
361
- inputs: ['active', 'counter', 'href', 'icon', 'target']
773
+ defineCustomElementFn: undefined
362
774
  })
363
- ], PNavigationItem);
364
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PNavigationItem, decorators: [{
775
+ ], PDivider);
776
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: PDivider, decorators: [{
365
777
  type: Component,
366
778
  args: [{
367
- selector: 'p-navigation-item',
779
+ selector: 'p-divider',
368
780
  changeDetection: ChangeDetectionStrategy.OnPush,
369
- template: '<ng-content></ng-content>',
370
- inputs: ['active', 'counter', 'href', 'icon', 'target']
781
+ template: '<ng-content></ng-content>'
371
782
  }]
372
783
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
373
- let PPagination = class PPagination {
784
+ let PDropdown = class PDropdown {
374
785
  constructor(c, r, z) {
375
786
  this.z = z;
376
787
  c.detach();
377
788
  this.el = r.nativeElement;
378
- proxyOutputs(this, this.el, ['pageChange']);
789
+ proxyOutputs(this, this.el, ['isOpen']);
379
790
  }
380
791
  };
381
- PPagination.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PPagination, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
382
- PPagination.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: PPagination, selector: "p-pagination", inputs: { page: "page", pageSize: "pageSize", total: "total" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
383
- PPagination = __decorate([
792
+ PDropdown.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: PDropdown, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
793
+ PDropdown.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.10", type: PDropdown, selector: "p-dropdown", inputs: { calculateWidth: "calculateWidth", chevronDirection: "chevronDirection", chevronPosition: "chevronPosition", disableTriggerClick: "disableTriggerClick", insideClick: "insideClick", placement: "placement", show: "show", strategy: "strategy" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
794
+ PDropdown = __decorate([
384
795
  ProxyCmp({
385
796
  defineCustomElementFn: undefined,
386
- inputs: ['page', 'pageSize', 'total']
797
+ inputs: ['calculateWidth', 'chevronDirection', 'chevronPosition', 'disableTriggerClick', 'insideClick', 'placement', 'show', 'strategy']
387
798
  })
388
- ], PPagination);
389
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PPagination, decorators: [{
799
+ ], PDropdown);
800
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: PDropdown, decorators: [{
390
801
  type: Component,
391
802
  args: [{
392
- selector: 'p-pagination',
803
+ selector: 'p-dropdown',
393
804
  changeDetection: ChangeDetectionStrategy.OnPush,
394
805
  template: '<ng-content></ng-content>',
395
- inputs: ['page', 'pageSize', 'total']
806
+ inputs: ['calculateWidth', 'chevronDirection', 'chevronPosition', 'disableTriggerClick', 'insideClick', 'placement', 'show', 'strategy']
396
807
  }]
397
808
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
398
- let PPaginationItem = class PPaginationItem {
809
+ let PDropdownMenuContainer = class PDropdownMenuContainer {
399
810
  constructor(c, r, z) {
400
811
  this.z = z;
401
812
  c.detach();
402
813
  this.el = r.nativeElement;
403
814
  }
404
815
  };
405
- PPaginationItem.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PPaginationItem, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
406
- PPaginationItem.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: PPaginationItem, selector: "p-pagination-item", inputs: { active: "active" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
407
- PPaginationItem = __decorate([
816
+ PDropdownMenuContainer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: PDropdownMenuContainer, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
817
+ PDropdownMenuContainer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.10", type: PDropdownMenuContainer, selector: "p-dropdown-menu-container", inputs: { maxWidth: "maxWidth" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
818
+ PDropdownMenuContainer = __decorate([
408
819
  ProxyCmp({
409
820
  defineCustomElementFn: undefined,
410
- inputs: ['active']
821
+ inputs: ['maxWidth']
411
822
  })
412
- ], PPaginationItem);
413
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PPaginationItem, decorators: [{
823
+ ], PDropdownMenuContainer);
824
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: PDropdownMenuContainer, decorators: [{
414
825
  type: Component,
415
826
  args: [{
416
- selector: 'p-pagination-item',
827
+ selector: 'p-dropdown-menu-container',
417
828
  changeDetection: ChangeDetectionStrategy.OnPush,
418
829
  template: '<ng-content></ng-content>',
419
- inputs: ['active']
830
+ inputs: ['maxWidth']
420
831
  }]
421
832
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
422
- let PTooltip = class PTooltip {
833
+ let PDropdownMenuItem = class PDropdownMenuItem {
423
834
  constructor(c, r, z) {
424
835
  this.z = z;
425
836
  c.detach();
426
837
  this.el = r.nativeElement;
427
838
  }
428
839
  };
429
- PTooltip.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PTooltip, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
430
- PTooltip.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: PTooltip, selector: "p-tooltip", inputs: { canManuallyClose: "canManuallyClose", placement: "placement", popover: "popover", show: "show", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
431
- PTooltip = __decorate([
840
+ PDropdownMenuItem.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: PDropdownMenuItem, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
841
+ PDropdownMenuItem.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.10", type: PDropdownMenuItem, selector: "p-dropdown-menu-item", inputs: { active: "active", enableHover: "enableHover", icon: "icon" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
842
+ PDropdownMenuItem = __decorate([
432
843
  ProxyCmp({
433
844
  defineCustomElementFn: undefined,
434
- inputs: ['canManuallyClose', 'placement', 'popover', 'show', 'variant']
845
+ inputs: ['active', 'enableHover', 'icon']
435
846
  })
436
- ], PTooltip);
437
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PTooltip, decorators: [{
847
+ ], PDropdownMenuItem);
848
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: PDropdownMenuItem, decorators: [{
438
849
  type: Component,
439
850
  args: [{
440
- selector: 'p-tooltip',
851
+ selector: 'p-dropdown-menu-item',
441
852
  changeDetection: ChangeDetectionStrategy.OnPush,
442
853
  template: '<ng-content></ng-content>',
443
- inputs: ['canManuallyClose', 'placement', 'popover', 'show', 'variant']
854
+ inputs: ['active', 'enableHover', 'icon']
444
855
  }]
445
856
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
857
+ let PHelper = class PHelper {
858
+ constructor(c, r, z) {
859
+ this.z = z;
860
+ c.detach();
861
+ this.el = r.nativeElement;
862
+ }
863
+ };
864
+ PHelper.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: PHelper, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
865
+ PHelper.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.10", type: PHelper, selector: "p-helper", inputs: { placement: "placement" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
866
+ PHelper = __decorate([
867
+ ProxyCmp({
868
+ defineCustomElementFn: undefined,
869
+ inputs: ['placement']
870
+ })
871
+ ], PHelper);
872
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: PHelper, decorators: [{
873
+ type: Component,
874
+ args: [{
875
+ selector: 'p-helper',
876
+ changeDetection: ChangeDetectionStrategy.OnPush,
877
+ template: '<ng-content></ng-content>',
878
+ inputs: ['placement']
879
+ }]
880
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
881
+ let PIcon = class PIcon {
882
+ constructor(c, r, z) {
883
+ this.z = z;
884
+ c.detach();
885
+ this.el = r.nativeElement;
886
+ }
887
+ };
888
+ PIcon.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: PIcon, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
889
+ PIcon.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.10", type: PIcon, selector: "p-icon", inputs: { flip: "flip", rotate: "rotate", size: "size", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
890
+ PIcon = __decorate([
891
+ ProxyCmp({
892
+ defineCustomElementFn: undefined,
893
+ inputs: ['flip', 'rotate', 'size', 'variant']
894
+ })
895
+ ], PIcon);
896
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: PIcon, decorators: [{
897
+ type: Component,
898
+ args: [{
899
+ selector: 'p-icon',
900
+ changeDetection: ChangeDetectionStrategy.OnPush,
901
+ template: '<ng-content></ng-content>',
902
+ inputs: ['flip', 'rotate', 'size', 'variant']
903
+ }]
904
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
905
+ let PIllustration = class PIllustration {
906
+ constructor(c, r, z) {
907
+ this.z = z;
908
+ c.detach();
909
+ this.el = r.nativeElement;
910
+ }
911
+ };
912
+ PIllustration.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: PIllustration, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
913
+ PIllustration.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.10", type: PIllustration, selector: "p-illustration", inputs: { variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
914
+ PIllustration = __decorate([
915
+ ProxyCmp({
916
+ defineCustomElementFn: undefined,
917
+ inputs: ['variant']
918
+ })
919
+ ], PIllustration);
920
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: PIllustration, decorators: [{
921
+ type: Component,
922
+ args: [{
923
+ selector: 'p-illustration',
924
+ changeDetection: ChangeDetectionStrategy.OnPush,
925
+ template: '<ng-content></ng-content>',
926
+ inputs: ['variant']
927
+ }]
928
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
929
+ let PInfoPanel = class PInfoPanel {
930
+ constructor(c, r, z) {
931
+ this.z = z;
932
+ c.detach();
933
+ this.el = r.nativeElement;
934
+ }
935
+ };
936
+ PInfoPanel.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: PInfoPanel, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
937
+ PInfoPanel.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.10", type: PInfoPanel, selector: "p-info-panel", inputs: { closeable: "closeable", content: "content", header: "header", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
938
+ PInfoPanel = __decorate([
939
+ ProxyCmp({
940
+ defineCustomElementFn: undefined,
941
+ inputs: ['closeable', 'content', 'header', 'variant']
942
+ })
943
+ ], PInfoPanel);
944
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: PInfoPanel, decorators: [{
945
+ type: Component,
946
+ args: [{
947
+ selector: 'p-info-panel',
948
+ changeDetection: ChangeDetectionStrategy.OnPush,
949
+ template: '<ng-content></ng-content>',
950
+ inputs: ['closeable', 'content', 'header', 'variant']
951
+ }]
952
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
953
+ let PInputGroup = class PInputGroup {
954
+ constructor(c, r, z) {
955
+ this.z = z;
956
+ c.detach();
957
+ this.el = r.nativeElement;
958
+ }
959
+ };
960
+ PInputGroup.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: PInputGroup, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
961
+ PInputGroup.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.10", type: PInputGroup, selector: "p-input-group", inputs: { disabled: "disabled", error: "error", focused: "focused", helper: "helper", icon: "icon", iconFlip: "iconFlip", iconPosition: "iconPosition", iconRotate: "iconRotate", label: "label", prefix: "prefix", required: "required", size: "size", suffix: "suffix" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
962
+ PInputGroup = __decorate([
963
+ ProxyCmp({
964
+ defineCustomElementFn: undefined,
965
+ inputs: ['disabled', 'error', 'focused', 'helper', 'icon', 'iconFlip', 'iconPosition', 'iconRotate', 'label', 'prefix', 'required', 'size', 'suffix']
966
+ })
967
+ ], PInputGroup);
968
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: PInputGroup, decorators: [{
969
+ type: Component,
970
+ args: [{
971
+ selector: 'p-input-group',
972
+ changeDetection: ChangeDetectionStrategy.OnPush,
973
+ template: '<ng-content></ng-content>',
974
+ inputs: ['disabled', 'error', 'focused', 'helper', 'icon', 'iconFlip', 'iconPosition', 'iconRotate', 'label', 'prefix', 'required', 'size', 'suffix']
975
+ }]
976
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
977
+ let PLabel = class PLabel {
978
+ constructor(c, r, z) {
979
+ this.z = z;
980
+ c.detach();
981
+ this.el = r.nativeElement;
982
+ }
983
+ };
984
+ PLabel.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: PLabel, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
985
+ PLabel.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.10", type: PLabel, selector: "p-label", inputs: { circle: "circle", icon: "icon", iconFlip: "iconFlip", iconOnly: "iconOnly", iconRotate: "iconRotate", mobileIcon: "mobileIcon", size: "size", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
986
+ PLabel = __decorate([
987
+ ProxyCmp({
988
+ defineCustomElementFn: undefined,
989
+ inputs: ['circle', 'icon', 'iconFlip', 'iconOnly', 'iconRotate', 'mobileIcon', 'size', 'variant']
990
+ })
991
+ ], PLabel);
992
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: PLabel, decorators: [{
993
+ type: Component,
994
+ args: [{
995
+ selector: 'p-label',
996
+ changeDetection: ChangeDetectionStrategy.OnPush,
997
+ template: '<ng-content></ng-content>',
998
+ inputs: ['circle', 'icon', 'iconFlip', 'iconOnly', 'iconRotate', 'mobileIcon', 'size', 'variant']
999
+ }]
1000
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1001
+ let PLayout = class PLayout {
1002
+ constructor(c, r, z) {
1003
+ this.z = z;
1004
+ c.detach();
1005
+ this.el = r.nativeElement;
1006
+ }
1007
+ };
1008
+ PLayout.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: PLayout, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
1009
+ PLayout.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.10", type: PLayout, selector: "p-layout", inputs: { variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1010
+ PLayout = __decorate([
1011
+ ProxyCmp({
1012
+ defineCustomElementFn: undefined,
1013
+ inputs: ['variant']
1014
+ })
1015
+ ], PLayout);
1016
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: PLayout, decorators: [{
1017
+ type: Component,
1018
+ args: [{
1019
+ selector: 'p-layout',
1020
+ changeDetection: ChangeDetectionStrategy.OnPush,
1021
+ template: '<ng-content></ng-content>',
1022
+ inputs: ['variant']
1023
+ }]
1024
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1025
+ let PLoader = class PLoader {
1026
+ constructor(c, r, z) {
1027
+ this.z = z;
1028
+ c.detach();
1029
+ this.el = r.nativeElement;
1030
+ }
1031
+ };
1032
+ PLoader.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: PLoader, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
1033
+ PLoader.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.10", type: PLoader, selector: "p-loader", inputs: { color: "color", modalDescription: "modalDescription", modalTitle: "modalTitle", show: "show", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1034
+ PLoader = __decorate([
1035
+ ProxyCmp({
1036
+ defineCustomElementFn: undefined,
1037
+ inputs: ['color', 'modalDescription', 'modalTitle', 'show', 'variant']
1038
+ })
1039
+ ], PLoader);
1040
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: PLoader, decorators: [{
1041
+ type: Component,
1042
+ args: [{
1043
+ selector: 'p-loader',
1044
+ changeDetection: ChangeDetectionStrategy.OnPush,
1045
+ template: '<ng-content></ng-content>',
1046
+ inputs: ['color', 'modalDescription', 'modalTitle', 'show', 'variant']
1047
+ }]
1048
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1049
+ let PModal = class PModal {
1050
+ constructor(c, r, z) {
1051
+ this.z = z;
1052
+ c.detach();
1053
+ this.el = r.nativeElement;
1054
+ proxyOutputs(this, this.el, ['close']);
1055
+ }
1056
+ };
1057
+ PModal.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: PModal, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
1058
+ PModal.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.10", type: PModal, selector: "p-modal", inputs: { header: "header", show: "show", showMobileClose: "showMobileClose", showMobileFooter: "showMobileFooter", size: "size", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1059
+ PModal = __decorate([
1060
+ ProxyCmp({
1061
+ defineCustomElementFn: undefined,
1062
+ inputs: ['header', 'show', 'showMobileClose', 'showMobileFooter', 'size', 'variant']
1063
+ })
1064
+ ], PModal);
1065
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: PModal, decorators: [{
1066
+ type: Component,
1067
+ args: [{
1068
+ selector: 'p-modal',
1069
+ changeDetection: ChangeDetectionStrategy.OnPush,
1070
+ template: '<ng-content></ng-content>',
1071
+ inputs: ['header', 'show', 'showMobileClose', 'showMobileFooter', 'size', 'variant']
1072
+ }]
1073
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1074
+ let PModalBackdrop = class PModalBackdrop {
1075
+ constructor(c, r, z) {
1076
+ this.z = z;
1077
+ c.detach();
1078
+ this.el = r.nativeElement;
1079
+ }
1080
+ };
1081
+ PModalBackdrop.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: PModalBackdrop, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
1082
+ PModalBackdrop.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.10", type: PModalBackdrop, selector: "p-modal-backdrop", ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1083
+ PModalBackdrop = __decorate([
1084
+ ProxyCmp({
1085
+ defineCustomElementFn: undefined
1086
+ })
1087
+ ], PModalBackdrop);
1088
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: PModalBackdrop, decorators: [{
1089
+ type: Component,
1090
+ args: [{
1091
+ selector: 'p-modal-backdrop',
1092
+ changeDetection: ChangeDetectionStrategy.OnPush,
1093
+ template: '<ng-content></ng-content>'
1094
+ }]
1095
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1096
+ let PModalBody = class PModalBody {
1097
+ constructor(c, r, z) {
1098
+ this.z = z;
1099
+ c.detach();
1100
+ this.el = r.nativeElement;
1101
+ }
1102
+ };
1103
+ PModalBody.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: PModalBody, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
1104
+ PModalBody.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.10", type: PModalBody, selector: "p-modal-body", inputs: { variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1105
+ PModalBody = __decorate([
1106
+ ProxyCmp({
1107
+ defineCustomElementFn: undefined,
1108
+ inputs: ['variant']
1109
+ })
1110
+ ], PModalBody);
1111
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: PModalBody, decorators: [{
1112
+ type: Component,
1113
+ args: [{
1114
+ selector: 'p-modal-body',
1115
+ changeDetection: ChangeDetectionStrategy.OnPush,
1116
+ template: '<ng-content></ng-content>',
1117
+ inputs: ['variant']
1118
+ }]
1119
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1120
+ let PModalContainer = class PModalContainer {
1121
+ constructor(c, r, z) {
1122
+ this.z = z;
1123
+ c.detach();
1124
+ this.el = r.nativeElement;
1125
+ }
1126
+ };
1127
+ PModalContainer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: PModalContainer, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
1128
+ PModalContainer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.10", type: PModalContainer, selector: "p-modal-container", inputs: { size: "size" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1129
+ PModalContainer = __decorate([
1130
+ ProxyCmp({
1131
+ defineCustomElementFn: undefined,
1132
+ inputs: ['size']
1133
+ })
1134
+ ], PModalContainer);
1135
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: PModalContainer, decorators: [{
1136
+ type: Component,
1137
+ args: [{
1138
+ selector: 'p-modal-container',
1139
+ changeDetection: ChangeDetectionStrategy.OnPush,
1140
+ template: '<ng-content></ng-content>',
1141
+ inputs: ['size']
1142
+ }]
1143
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1144
+ let PModalFooter = class PModalFooter {
1145
+ constructor(c, r, z) {
1146
+ this.z = z;
1147
+ c.detach();
1148
+ this.el = r.nativeElement;
1149
+ }
1150
+ };
1151
+ PModalFooter.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: PModalFooter, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
1152
+ PModalFooter.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.10", type: PModalFooter, selector: "p-modal-footer", inputs: { hideOnMobile: "hideOnMobile" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1153
+ PModalFooter = __decorate([
1154
+ ProxyCmp({
1155
+ defineCustomElementFn: undefined,
1156
+ inputs: ['hideOnMobile']
1157
+ })
1158
+ ], PModalFooter);
1159
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: PModalFooter, decorators: [{
1160
+ type: Component,
1161
+ args: [{
1162
+ selector: 'p-modal-footer',
1163
+ changeDetection: ChangeDetectionStrategy.OnPush,
1164
+ template: '<ng-content></ng-content>',
1165
+ inputs: ['hideOnMobile']
1166
+ }]
1167
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1168
+ let PModalHeader = class PModalHeader {
1169
+ constructor(c, r, z) {
1170
+ this.z = z;
1171
+ c.detach();
1172
+ this.el = r.nativeElement;
1173
+ proxyOutputs(this, this.el, ['close']);
1174
+ }
1175
+ };
1176
+ PModalHeader.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: PModalHeader, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
1177
+ PModalHeader.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.10", type: PModalHeader, selector: "p-modal-header", inputs: { showMobileClose: "showMobileClose" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1178
+ PModalHeader = __decorate([
1179
+ ProxyCmp({
1180
+ defineCustomElementFn: undefined,
1181
+ inputs: ['showMobileClose']
1182
+ })
1183
+ ], PModalHeader);
1184
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: PModalHeader, decorators: [{
1185
+ type: Component,
1186
+ args: [{
1187
+ selector: 'p-modal-header',
1188
+ changeDetection: ChangeDetectionStrategy.OnPush,
1189
+ template: '<ng-content></ng-content>',
1190
+ inputs: ['showMobileClose']
1191
+ }]
1192
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1193
+ let PNavbar = class PNavbar {
1194
+ constructor(c, r, z) {
1195
+ this.z = z;
1196
+ c.detach();
1197
+ this.el = r.nativeElement;
1198
+ }
1199
+ };
1200
+ PNavbar.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: PNavbar, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
1201
+ PNavbar.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.10", type: PNavbar, selector: "p-navbar", inputs: { closeText: "closeText", menuText: "menuText" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1202
+ PNavbar = __decorate([
1203
+ ProxyCmp({
1204
+ defineCustomElementFn: undefined,
1205
+ inputs: ['closeText', 'menuText']
1206
+ })
1207
+ ], PNavbar);
1208
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: PNavbar, decorators: [{
1209
+ type: Component,
1210
+ args: [{
1211
+ selector: 'p-navbar',
1212
+ changeDetection: ChangeDetectionStrategy.OnPush,
1213
+ template: '<ng-content></ng-content>',
1214
+ inputs: ['closeText', 'menuText']
1215
+ }]
1216
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1217
+ let PNavigationItem = class PNavigationItem {
1218
+ constructor(c, r, z) {
1219
+ this.z = z;
1220
+ c.detach();
1221
+ this.el = r.nativeElement;
1222
+ }
1223
+ };
1224
+ PNavigationItem.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: PNavigationItem, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
1225
+ PNavigationItem.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.10", type: PNavigationItem, selector: "p-navigation-item", inputs: { active: "active", counter: "counter", href: "href", icon: "icon", target: "target" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1226
+ PNavigationItem = __decorate([
1227
+ ProxyCmp({
1228
+ defineCustomElementFn: undefined,
1229
+ inputs: ['active', 'counter', 'href', 'icon', 'target']
1230
+ })
1231
+ ], PNavigationItem);
1232
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: PNavigationItem, decorators: [{
1233
+ type: Component,
1234
+ args: [{
1235
+ selector: 'p-navigation-item',
1236
+ changeDetection: ChangeDetectionStrategy.OnPush,
1237
+ template: '<ng-content></ng-content>',
1238
+ inputs: ['active', 'counter', 'href', 'icon', 'target']
1239
+ }]
1240
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1241
+ let PPageSizeSelect = class PPageSizeSelect {
1242
+ constructor(c, r, z) {
1243
+ this.z = z;
1244
+ c.detach();
1245
+ this.el = r.nativeElement;
1246
+ proxyOutputs(this, this.el, ['sizeChange']);
1247
+ }
1248
+ };
1249
+ PPageSizeSelect.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: PPageSizeSelect, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
1250
+ PPageSizeSelect.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.10", type: PPageSizeSelect, selector: "p-page-size-select", inputs: { buttonSize: "buttonSize", buttonTemplate: "buttonTemplate", chevronPosition: "chevronPosition", hidden: "hidden", itemTemplate: "itemTemplate", size: "size", sizeOptions: "sizeOptions" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1251
+ PPageSizeSelect = __decorate([
1252
+ ProxyCmp({
1253
+ defineCustomElementFn: undefined,
1254
+ inputs: ['buttonSize', 'buttonTemplate', 'chevronPosition', 'hidden', 'itemTemplate', 'size', 'sizeOptions']
1255
+ })
1256
+ ], PPageSizeSelect);
1257
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: PPageSizeSelect, decorators: [{
1258
+ type: Component,
1259
+ args: [{
1260
+ selector: 'p-page-size-select',
1261
+ changeDetection: ChangeDetectionStrategy.OnPush,
1262
+ template: '<ng-content></ng-content>',
1263
+ inputs: ['buttonSize', 'buttonTemplate', 'chevronPosition', 'hidden', 'itemTemplate', 'size', 'sizeOptions']
1264
+ }]
1265
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1266
+ let PPagination = class PPagination {
1267
+ constructor(c, r, z) {
1268
+ this.z = z;
1269
+ c.detach();
1270
+ this.el = r.nativeElement;
1271
+ proxyOutputs(this, this.el, ['pageChange']);
1272
+ }
1273
+ };
1274
+ PPagination.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: PPagination, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
1275
+ PPagination.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.10", type: PPagination, selector: "p-pagination", inputs: { hideOnSinglePage: "hideOnSinglePage", page: "page", pageSize: "pageSize", total: "total" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1276
+ PPagination = __decorate([
1277
+ ProxyCmp({
1278
+ defineCustomElementFn: undefined,
1279
+ inputs: ['hideOnSinglePage', 'page', 'pageSize', 'total']
1280
+ })
1281
+ ], PPagination);
1282
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: PPagination, decorators: [{
1283
+ type: Component,
1284
+ args: [{
1285
+ selector: 'p-pagination',
1286
+ changeDetection: ChangeDetectionStrategy.OnPush,
1287
+ template: '<ng-content></ng-content>',
1288
+ inputs: ['hideOnSinglePage', 'page', 'pageSize', 'total']
1289
+ }]
1290
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1291
+ let PPaginationItem = class PPaginationItem {
1292
+ constructor(c, r, z) {
1293
+ this.z = z;
1294
+ c.detach();
1295
+ this.el = r.nativeElement;
1296
+ }
1297
+ };
1298
+ PPaginationItem.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: PPaginationItem, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
1299
+ PPaginationItem.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.10", type: PPaginationItem, selector: "p-pagination-item", inputs: { active: "active" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1300
+ PPaginationItem = __decorate([
1301
+ ProxyCmp({
1302
+ defineCustomElementFn: undefined,
1303
+ inputs: ['active']
1304
+ })
1305
+ ], PPaginationItem);
1306
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: PPaginationItem, decorators: [{
1307
+ type: Component,
1308
+ args: [{
1309
+ selector: 'p-pagination-item',
1310
+ changeDetection: ChangeDetectionStrategy.OnPush,
1311
+ template: '<ng-content></ng-content>',
1312
+ inputs: ['active']
1313
+ }]
1314
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1315
+ let PProfile = class PProfile {
1316
+ constructor(c, r, z) {
1317
+ this.z = z;
1318
+ c.detach();
1319
+ this.el = r.nativeElement;
1320
+ }
1321
+ };
1322
+ PProfile.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: PProfile, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
1323
+ PProfile.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.10", type: PProfile, selector: "p-profile", inputs: { size: "size", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1324
+ PProfile = __decorate([
1325
+ ProxyCmp({
1326
+ defineCustomElementFn: undefined,
1327
+ inputs: ['size', 'variant']
1328
+ })
1329
+ ], PProfile);
1330
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: PProfile, decorators: [{
1331
+ type: Component,
1332
+ args: [{
1333
+ selector: 'p-profile',
1334
+ changeDetection: ChangeDetectionStrategy.OnPush,
1335
+ template: '<ng-content></ng-content>',
1336
+ inputs: ['size', 'variant']
1337
+ }]
1338
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1339
+ let PSegmentContainer = class PSegmentContainer {
1340
+ constructor(c, r, z) {
1341
+ this.z = z;
1342
+ c.detach();
1343
+ this.el = r.nativeElement;
1344
+ }
1345
+ };
1346
+ PSegmentContainer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: PSegmentContainer, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
1347
+ PSegmentContainer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.10", type: PSegmentContainer, selector: "p-segment-container", ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1348
+ PSegmentContainer = __decorate([
1349
+ ProxyCmp({
1350
+ defineCustomElementFn: undefined
1351
+ })
1352
+ ], PSegmentContainer);
1353
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: PSegmentContainer, decorators: [{
1354
+ type: Component,
1355
+ args: [{
1356
+ selector: 'p-segment-container',
1357
+ changeDetection: ChangeDetectionStrategy.OnPush,
1358
+ template: '<ng-content></ng-content>'
1359
+ }]
1360
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1361
+ let PSegmentItem = class PSegmentItem {
1362
+ constructor(c, r, z) {
1363
+ this.z = z;
1364
+ c.detach();
1365
+ this.el = r.nativeElement;
1366
+ }
1367
+ };
1368
+ PSegmentItem.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: PSegmentItem, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
1369
+ PSegmentItem.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.10", type: PSegmentItem, selector: "p-segment-item", inputs: { active: "active", icon: "icon", iconFlip: "iconFlip", iconRotate: "iconRotate" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1370
+ PSegmentItem = __decorate([
1371
+ ProxyCmp({
1372
+ defineCustomElementFn: undefined,
1373
+ inputs: ['active', 'icon', 'iconFlip', 'iconRotate']
1374
+ })
1375
+ ], PSegmentItem);
1376
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: PSegmentItem, decorators: [{
1377
+ type: Component,
1378
+ args: [{
1379
+ selector: 'p-segment-item',
1380
+ changeDetection: ChangeDetectionStrategy.OnPush,
1381
+ template: '<ng-content></ng-content>',
1382
+ inputs: ['active', 'icon', 'iconFlip', 'iconRotate']
1383
+ }]
1384
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1385
+ let PSelect = class PSelect {
1386
+ constructor(c, r, z) {
1387
+ this.z = z;
1388
+ c.detach();
1389
+ this.el = r.nativeElement;
1390
+ proxyOutputs(this, this.el, ['queryChange', 'valueChange']);
1391
+ }
1392
+ };
1393
+ PSelect.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: PSelect, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
1394
+ PSelect.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.10", type: PSelect, selector: "p-select", inputs: { asyncFilter: "asyncFilter", autoSelectFirst: "autoSelectFirst", autocompletePlaceholder: "autocompletePlaceholder", disabled: "disabled", displayKey: "displayKey", enableAutocomplete: "enableAutocomplete", error: "error", helper: "helper", items: "items", label: "label", loading: "loading", maxDisplayedItems: "maxDisplayedItems", placeholder: "placeholder", prefix: "prefix", query: "query", queryKey: "queryKey", size: "size", value: "value", valueKey: "valueKey" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1395
+ PSelect = __decorate([
1396
+ ProxyCmp({
1397
+ defineCustomElementFn: undefined,
1398
+ inputs: ['asyncFilter', 'autoSelectFirst', 'autocompletePlaceholder', 'disabled', 'displayKey', 'enableAutocomplete', 'error', 'helper', 'items', 'label', 'loading', 'maxDisplayedItems', 'placeholder', 'prefix', 'query', 'queryKey', 'size', 'value', 'valueKey']
1399
+ })
1400
+ ], PSelect);
1401
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: PSelect, decorators: [{
1402
+ type: Component,
1403
+ args: [{
1404
+ selector: 'p-select',
1405
+ changeDetection: ChangeDetectionStrategy.OnPush,
1406
+ template: '<ng-content></ng-content>',
1407
+ inputs: ['asyncFilter', 'autoSelectFirst', 'autocompletePlaceholder', 'disabled', 'displayKey', 'enableAutocomplete', 'error', 'helper', 'items', 'label', 'loading', 'maxDisplayedItems', 'placeholder', 'prefix', 'query', 'queryKey', 'size', 'value', 'valueKey']
1408
+ }]
1409
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1410
+ let PSliderIndicator = class PSliderIndicator {
1411
+ constructor(c, r, z) {
1412
+ this.z = z;
1413
+ c.detach();
1414
+ this.el = r.nativeElement;
1415
+ }
1416
+ };
1417
+ PSliderIndicator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: PSliderIndicator, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
1418
+ PSliderIndicator.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.10", type: PSliderIndicator, selector: "p-slider-indicator", inputs: { active: "active" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1419
+ PSliderIndicator = __decorate([
1420
+ ProxyCmp({
1421
+ defineCustomElementFn: undefined,
1422
+ inputs: ['active']
1423
+ })
1424
+ ], PSliderIndicator);
1425
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: PSliderIndicator, decorators: [{
1426
+ type: Component,
1427
+ args: [{
1428
+ selector: 'p-slider-indicator',
1429
+ changeDetection: ChangeDetectionStrategy.OnPush,
1430
+ template: '<ng-content></ng-content>',
1431
+ inputs: ['active']
1432
+ }]
1433
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1434
+ let PStatus = class PStatus {
1435
+ constructor(c, r, z) {
1436
+ this.z = z;
1437
+ c.detach();
1438
+ this.el = r.nativeElement;
1439
+ }
1440
+ };
1441
+ PStatus.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: PStatus, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
1442
+ PStatus.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.10", type: PStatus, selector: "p-status", inputs: { icon: "icon", iconFlip: "iconFlip", iconRotate: "iconRotate", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1443
+ PStatus = __decorate([
1444
+ ProxyCmp({
1445
+ defineCustomElementFn: undefined,
1446
+ inputs: ['icon', 'iconFlip', 'iconRotate', 'variant']
1447
+ })
1448
+ ], PStatus);
1449
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: PStatus, decorators: [{
1450
+ type: Component,
1451
+ args: [{
1452
+ selector: 'p-status',
1453
+ changeDetection: ChangeDetectionStrategy.OnPush,
1454
+ template: '<ng-content></ng-content>',
1455
+ inputs: ['icon', 'iconFlip', 'iconRotate', 'variant']
1456
+ }]
1457
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1458
+ let PStepper = class PStepper {
1459
+ constructor(c, r, z) {
1460
+ this.z = z;
1461
+ c.detach();
1462
+ this.el = r.nativeElement;
1463
+ }
1464
+ };
1465
+ PStepper.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: PStepper, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
1466
+ PStepper.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.10", type: PStepper, selector: "p-stepper", inputs: { activeStep: "activeStep", direction: "direction" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1467
+ PStepper = __decorate([
1468
+ ProxyCmp({
1469
+ defineCustomElementFn: undefined,
1470
+ inputs: ['activeStep', 'direction']
1471
+ })
1472
+ ], PStepper);
1473
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: PStepper, decorators: [{
1474
+ type: Component,
1475
+ args: [{
1476
+ selector: 'p-stepper',
1477
+ changeDetection: ChangeDetectionStrategy.OnPush,
1478
+ template: '<ng-content></ng-content>',
1479
+ inputs: ['activeStep', 'direction']
1480
+ }]
1481
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1482
+ let PStepperItem = class PStepperItem {
1483
+ constructor(c, r, z) {
1484
+ this.z = z;
1485
+ c.detach();
1486
+ this.el = r.nativeElement;
1487
+ }
1488
+ };
1489
+ PStepperItem.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: PStepperItem, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
1490
+ PStepperItem.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.10", type: PStepperItem, selector: "p-stepper-item", inputs: { active: "active", align: "align", direction: "direction", finished: "finished" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1491
+ PStepperItem = __decorate([
1492
+ ProxyCmp({
1493
+ defineCustomElementFn: undefined,
1494
+ inputs: ['active', 'align', 'direction', 'finished']
1495
+ })
1496
+ ], PStepperItem);
1497
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: PStepperItem, decorators: [{
1498
+ type: Component,
1499
+ args: [{
1500
+ selector: 'p-stepper-item',
1501
+ changeDetection: ChangeDetectionStrategy.OnPush,
1502
+ template: '<ng-content></ng-content>',
1503
+ inputs: ['active', 'align', 'direction', 'finished']
1504
+ }]
1505
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1506
+ let PStepperLine = class PStepperLine {
1507
+ constructor(c, r, z) {
1508
+ this.z = z;
1509
+ c.detach();
1510
+ this.el = r.nativeElement;
1511
+ }
1512
+ };
1513
+ PStepperLine.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: PStepperLine, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
1514
+ PStepperLine.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.10", type: PStepperLine, selector: "p-stepper-line", inputs: { active: "active", direction: "direction" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1515
+ PStepperLine = __decorate([
1516
+ ProxyCmp({
1517
+ defineCustomElementFn: undefined,
1518
+ inputs: ['active', 'direction']
1519
+ })
1520
+ ], PStepperLine);
1521
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: PStepperLine, decorators: [{
1522
+ type: Component,
1523
+ args: [{
1524
+ selector: 'p-stepper-line',
1525
+ changeDetection: ChangeDetectionStrategy.OnPush,
1526
+ template: '<ng-content></ng-content>',
1527
+ inputs: ['active', 'direction']
1528
+ }]
1529
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1530
+ let PTabGroup = class PTabGroup {
1531
+ constructor(c, r, z) {
1532
+ this.z = z;
1533
+ c.detach();
1534
+ this.el = r.nativeElement;
1535
+ }
1536
+ };
1537
+ PTabGroup.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: PTabGroup, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
1538
+ PTabGroup.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.10", type: PTabGroup, selector: "p-tab-group", ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1539
+ PTabGroup = __decorate([
1540
+ ProxyCmp({
1541
+ defineCustomElementFn: undefined
1542
+ })
1543
+ ], PTabGroup);
1544
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: PTabGroup, decorators: [{
1545
+ type: Component,
1546
+ args: [{
1547
+ selector: 'p-tab-group',
1548
+ changeDetection: ChangeDetectionStrategy.OnPush,
1549
+ template: '<ng-content></ng-content>'
1550
+ }]
1551
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1552
+ let PTabItem = class PTabItem {
1553
+ constructor(c, r, z) {
1554
+ this.z = z;
1555
+ c.detach();
1556
+ this.el = r.nativeElement;
1557
+ }
1558
+ };
1559
+ PTabItem.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: PTabItem, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
1560
+ PTabItem.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.10", type: PTabItem, selector: "p-tab-item", inputs: { active: "active" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1561
+ PTabItem = __decorate([
1562
+ ProxyCmp({
1563
+ defineCustomElementFn: undefined,
1564
+ inputs: ['active']
1565
+ })
1566
+ ], PTabItem);
1567
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: PTabItem, decorators: [{
1568
+ type: Component,
1569
+ args: [{
1570
+ selector: 'p-tab-item',
1571
+ changeDetection: ChangeDetectionStrategy.OnPush,
1572
+ template: '<ng-content></ng-content>',
1573
+ inputs: ['active']
1574
+ }]
1575
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1576
+ let PTableContainer = class PTableContainer {
1577
+ constructor(c, r, z) {
1578
+ this.z = z;
1579
+ c.detach();
1580
+ this.el = r.nativeElement;
1581
+ }
1582
+ };
1583
+ PTableContainer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: PTableContainer, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
1584
+ PTableContainer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.10", type: PTableContainer, selector: "p-table-container", ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1585
+ PTableContainer = __decorate([
1586
+ ProxyCmp({
1587
+ defineCustomElementFn: undefined
1588
+ })
1589
+ ], PTableContainer);
1590
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: PTableContainer, decorators: [{
1591
+ type: Component,
1592
+ args: [{
1593
+ selector: 'p-table-container',
1594
+ changeDetection: ChangeDetectionStrategy.OnPush,
1595
+ template: '<ng-content></ng-content>'
1596
+ }]
1597
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1598
+ let PTableFooter = class PTableFooter {
1599
+ constructor(c, r, z) {
1600
+ this.z = z;
1601
+ c.detach();
1602
+ this.el = r.nativeElement;
1603
+ proxyOutputs(this, this.el, ['pageChange', 'pageSizeChange', 'export']);
1604
+ }
1605
+ };
1606
+ PTableFooter.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: PTableFooter, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
1607
+ PTableFooter.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.10", type: PTableFooter, selector: "p-table-footer", inputs: { enableExport: "enableExport", enablePageSize: "enablePageSize", enablePagination: "enablePagination", hideOnSinglePage: "hideOnSinglePage", page: "page", pageSize: "pageSize", pageSizeOptions: "pageSizeOptions", total: "total" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1608
+ PTableFooter = __decorate([
1609
+ ProxyCmp({
1610
+ defineCustomElementFn: undefined,
1611
+ inputs: ['enableExport', 'enablePageSize', 'enablePagination', 'hideOnSinglePage', 'page', 'pageSize', 'pageSizeOptions', 'total']
1612
+ })
1613
+ ], PTableFooter);
1614
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: PTableFooter, decorators: [{
1615
+ type: Component,
1616
+ args: [{
1617
+ selector: 'p-table-footer',
1618
+ changeDetection: ChangeDetectionStrategy.OnPush,
1619
+ template: '<ng-content></ng-content>',
1620
+ inputs: ['enableExport', 'enablePageSize', 'enablePagination', 'hideOnSinglePage', 'page', 'pageSize', 'pageSizeOptions', 'total']
1621
+ }]
1622
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1623
+ let PTableHeader = class PTableHeader {
1624
+ constructor(c, r, z) {
1625
+ this.z = z;
1626
+ c.detach();
1627
+ this.el = r.nativeElement;
1628
+ proxyOutputs(this, this.el, ['quickFilter', 'queryChange', 'filter', 'edit']);
1629
+ }
1630
+ };
1631
+ PTableHeader.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: PTableHeader, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
1632
+ PTableHeader.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.10", type: PTableHeader, selector: "p-table-header", inputs: { activeQuickFilterIdentifier: "activeQuickFilterIdentifier", canEdit: "canEdit", editButtonTemplate: "editButtonTemplate", enableEdit: "enableEdit", enableFilter: "enableFilter", enableSearch: "enableSearch", filterButtonTemplate: "filterButtonTemplate", itemsSelectedAmount: "itemsSelectedAmount", query: "query", quickFilters: "quickFilters", selectedFiltersAmount: "selectedFiltersAmount" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1633
+ PTableHeader = __decorate([
1634
+ ProxyCmp({
1635
+ defineCustomElementFn: undefined,
1636
+ inputs: ['activeQuickFilterIdentifier', 'canEdit', 'editButtonTemplate', 'enableEdit', 'enableFilter', 'enableSearch', 'filterButtonTemplate', 'itemsSelectedAmount', 'query', 'quickFilters', 'selectedFiltersAmount']
1637
+ })
1638
+ ], PTableHeader);
1639
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: PTableHeader, decorators: [{
1640
+ type: Component,
1641
+ args: [{
1642
+ selector: 'p-table-header',
1643
+ changeDetection: ChangeDetectionStrategy.OnPush,
1644
+ template: '<ng-content></ng-content>',
1645
+ inputs: ['activeQuickFilterIdentifier', 'canEdit', 'editButtonTemplate', 'enableEdit', 'enableFilter', 'enableSearch', 'filterButtonTemplate', 'itemsSelectedAmount', 'query', 'quickFilters', 'selectedFiltersAmount']
1646
+ }]
1647
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1648
+ let PTableRow = class PTableRow {
1649
+ constructor(c, r, z) {
1650
+ this.z = z;
1651
+ c.detach();
1652
+ this.el = r.nativeElement;
1653
+ }
1654
+ };
1655
+ PTableRow.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: PTableRow, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
1656
+ PTableRow.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.10", type: PTableRow, selector: "p-table-row", inputs: { enableHover: "enableHover", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1657
+ PTableRow = __decorate([
1658
+ ProxyCmp({
1659
+ defineCustomElementFn: undefined,
1660
+ inputs: ['enableHover', 'variant']
1661
+ })
1662
+ ], PTableRow);
1663
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: PTableRow, decorators: [{
1664
+ type: Component,
1665
+ args: [{
1666
+ selector: 'p-table-row',
1667
+ changeDetection: ChangeDetectionStrategy.OnPush,
1668
+ template: '<ng-content></ng-content>',
1669
+ inputs: ['enableHover', 'variant']
1670
+ }]
1671
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1672
+ let PToast = class PToast {
1673
+ constructor(c, r, z) {
1674
+ this.z = z;
1675
+ c.detach();
1676
+ this.el = r.nativeElement;
1677
+ proxyOutputs(this, this.el, ['action']);
1678
+ }
1679
+ };
1680
+ PToast.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: PToast, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
1681
+ PToast.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.10", 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 });
1682
+ PToast = __decorate([
1683
+ ProxyCmp({
1684
+ defineCustomElementFn: undefined,
1685
+ inputs: ['actionIcon', 'actionIconFlip', 'actionIconRotate', 'content', 'enableAction', 'header', 'variant']
1686
+ })
1687
+ ], PToast);
1688
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: PToast, decorators: [{
1689
+ type: Component,
1690
+ args: [{
1691
+ selector: 'p-toast',
1692
+ changeDetection: ChangeDetectionStrategy.OnPush,
1693
+ template: '<ng-content></ng-content>',
1694
+ inputs: ['actionIcon', 'actionIconFlip', 'actionIconRotate', 'content', 'enableAction', 'header', 'variant']
1695
+ }]
1696
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1697
+ let PTooltip = class PTooltip {
1698
+ constructor(c, r, z) {
1699
+ this.z = z;
1700
+ c.detach();
1701
+ this.el = r.nativeElement;
1702
+ proxyOutputs(this, this.el, ['isOpen']);
1703
+ }
1704
+ };
1705
+ PTooltip.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: PTooltip, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
1706
+ PTooltip.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.10", type: PTooltip, selector: "p-tooltip", inputs: { canManuallyClose: "canManuallyClose", placement: "placement", popover: "popover", show: "show", strategy: "strategy", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1707
+ PTooltip = __decorate([
1708
+ ProxyCmp({
1709
+ defineCustomElementFn: undefined,
1710
+ inputs: ['canManuallyClose', 'placement', 'popover', 'show', 'strategy', 'variant']
1711
+ })
1712
+ ], PTooltip);
1713
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: PTooltip, decorators: [{
1714
+ type: Component,
1715
+ args: [{
1716
+ selector: 'p-tooltip',
1717
+ changeDetection: ChangeDetectionStrategy.OnPush,
1718
+ template: '<ng-content></ng-content>',
1719
+ inputs: ['canManuallyClose', 'placement', 'popover', 'show', 'strategy', 'variant']
1720
+ }]
1721
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1722
+
1723
+ /* eslint-disable max-len */
1724
+ class TableCell {
1725
+ constructor() {
1726
+ /**
1727
+ * The variant of the column
1728
+ */
1729
+ this.variant = 'default';
1730
+ /**
1731
+ * The index of the column
1732
+ */
1733
+ this.index = 0;
1734
+ /**
1735
+ * The index of the row
1736
+ */
1737
+ this.rowIndex = 0;
1738
+ }
1739
+ get class() {
1740
+ return this.getColumnClasses();
1741
+ }
1742
+ get data() {
1743
+ var _a;
1744
+ if (this.variant === 'header') {
1745
+ return {
1746
+ value: this.value,
1747
+ };
1748
+ }
1749
+ return {
1750
+ value: (_a = this.value) !== null && _a !== void 0 ? _a : objectGetByPath(this.item, this.definition.path),
1751
+ item: this.item,
1752
+ index: this.index,
1753
+ rowIndex: this.rowIndex,
1754
+ };
1755
+ }
1756
+ // render() {
1757
+ // return (
1758
+ // <Host
1759
+ // class={{
1760
+ // 'p-table-column': true,
1761
+ // [`variant-${this.variant}`]: true,
1762
+ // ...this._getColumnClasses(),
1763
+ // }}
1764
+ // >
1765
+ // {this.checkbox}
1766
+ // {this.variant === 'loading' ? (
1767
+ // <p-loader
1768
+ // variant="ghost"
1769
+ // class="rounded flex-1 w-full h-6"
1770
+ // />
1771
+ // ) : (
1772
+ // <div class="flex">
1773
+ // {this.variant === 'header' ? (
1774
+ // this.data.value
1775
+ // ) : this.definition.useSlot ? (
1776
+ // <slot />
1777
+ // ) : (
1778
+ // this.template(this.data as TableDefinitionData)
1779
+ // )}
1780
+ // </div>
1781
+ // )}
1782
+ // </Host>
1783
+ // );
1784
+ // }
1785
+ getColumnClasses() {
1786
+ var _a, _b, _c, _d, _e, _f;
1787
+ const sizes = this.definition ? this._getSizes(this.definition) : {};
1788
+ return Object.assign({ 'justify-start': !((_a = this.definition) === null || _a === void 0 ? void 0 : _a.align) || ((_b = this.definition) === null || _b === void 0 ? void 0 : _b.align) === 'start', 'justify-center': ((_c = this.definition) === null || _c === void 0 ? void 0 : _c.align) === 'center', 'justify-end': ((_d = this.definition) === null || _d === void 0 ? void 0 : _d.align) === 'end', 'font-semibold': this.variant !== 'header' && ((_e = this.definition) === null || _e === void 0 ? void 0 : _e.type) === 'th', 'text-storm-dark': this.variant !== 'header' && ((_f = this.definition) === null || _f === void 0 ? void 0 : _f.type) === 'th' }, sizes);
1789
+ }
1790
+ /*
1791
+ With this, we shall hack the system in ways no one would ever have thought.
1792
+
1793
+ w-1/12 w-2/12 w-3/12 w-4/12 w-5/12 w-6/12 w-7/12 w-8/12 w-9/12 w-10/12 w-11/12 w-12/12
1794
+ tablet:w-1/12 tablet:w-2/12 tablet:w-3/12 tablet:w-4/12 tablet:w-5/12 tablet:w-6/12 tablet:w-7/12 tablet:w-8/12 tablet:w-9/12 tablet:w-10/12 tablet:w-11/12 tablet:w-12/12
1795
+ desktop-xs:w-1/12 desktop-xs:w-2/12 desktop-xs:w-3/12 desktop-xs:w-4/12 desktop-xs:w-5/12 desktop-xs:w-6/12 desktop-xs:w-7/12 desktop-xs:w-8/12 desktop-xs:w-9/12 desktop-xs:w-10/12 desktop-xs:w-11/12 desktop-xs:w-12/12
1796
+ desktop-xs:w-1/12 desktop-xs:w-2/12 desktop-xs:w-3/12 desktop-xs:w-4/12 desktop-xs:w-5/12 desktop-xs:w-6/12 desktop-xs:w-7/12 desktop-xs:w-8/12 desktop-xs:w-9/12 desktop-xs:w-10/12 desktop-xs:w-11/12 desktop-xs:w-12/12
1797
+ desktop-sm:w-1/12 desktop-sm:w-2/12 desktop-sm:w-3/12 desktop-sm:w-4/12 desktop-sm:w-5/12 desktop-sm:w-6/12 desktop-sm:w-7/12 desktop-sm:w-8/12 desktop-sm:w-9/12 desktop-sm:w-10/12 desktop-sm:w-11/12 desktop-sm:w-12/12
1798
+ desktop:w-1/12 desktop:w-2/12 desktop:w-3/12 desktop:w-4/12 desktop:w-5/12 desktop:w-6/12 desktop:w-7/12 desktop:w-8/12 desktop:w-9/12 desktop:w-10/12 desktop:w-11/12 desktop:w-12/12
1799
+ desktop-lg:w-1/12 desktop-lg:w-2/12 desktop-lg:w-3/12 desktop-lg:w-4/12 desktop-lg:w-5/12 desktop-lg:w-6/12 desktop-lg:w-7/12 desktop-lg:w-8/12 desktop-lg:w-9/12 desktop-lg:w-10/12 desktop-lg:w-11/12 desktop-lg:w-12/12
1800
+ desktop-xl:w-1/12 desktop-xl:w-2/12 desktop-xl:w-3/12 desktop-xl:w-4/12 desktop-xl:w-5/12 desktop-xl:w-6/12 desktop-xl:w-7/12 desktop-xl:w-8/12 desktop-xl:w-9/12 desktop-xl:w-10/12 desktop-xl:w-11/12 desktop-xl:w-12/12
1801
+
1802
+
1803
+ ⠀⠀⠀⠀⠀⣠⣴⣶⣿⣿⠿⣷⣶⣤⣄⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣠⣴⣶⣷⠿⣿⣿⣶⣦⣀⠀⠀⠀⠀⠀
1804
+ ⠀⠀⠀⢀⣾⣿⣿⣿⣿⣿⣿⣿⣶⣦⣬⡉⠒⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠚⢉⣥⣴⣾⣿⣿⣿⣿⣿⣿⣿⣧⠀⠀⠀⠀
1805
+ ⠀⠀⠀⡾⠿⠛⠛⠛⠛⠿⢿⣿⣿⣿⣿⣿⣷⣄⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣠⣾⣿⣿⣿⣿⣿⠿⠿⠛⠛⠛⠛⠿⢧⠀⠀⠀
1806
+ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠙⠻⣿⣿⣿⣿⣿⡄⠀⠀⠀⠀⠀⠀⣠⣿⣿⣿⣿⡿⠟⠉⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
1807
+ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠙⢿⣿⡄⠀⠀⠀⠀⠀⠀⠀⠀⢰⣿⡿⠋⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
1808
+ ⠀⠀⠀⠀⠀⠀⠀⣠⣤⠶⠶⠶⠰⠦⣤⣀⠀⠙⣷⠀⠀⠀⠀⠀⠀⠀⢠⡿⠋⢀⣀⣤⢴⠆⠲⠶⠶⣤⣄⠀⠀⠀⠀⠀⠀⠀
1809
+ ⠀⠘⣆⠀⠀⢠⣾⣫⣶⣾⣿⣿⣿⣿⣷⣯⣿⣦⠈⠃⡇⠀⠀⠀⠀⢸⠘⢁⣶⣿⣵⣾⣿⣿⣿⣿⣷⣦⣝⣷⡄⠀⠀⡰⠂⠀
1810
+ ⠀⠀⣨⣷⣶⣿⣧⣛⣛⠿⠿⣿⢿⣿⣿⣛⣿⡿⠀⠀⡇⠀⠀⠀⠀⢸⠀⠈⢿⣟⣛⠿⢿⡿⢿⢿⢿⣛⣫⣼⡿⣶⣾⣅⡀⠀
1811
+ ⢀⡼⠋⠁⠀⠀⠈⠉⠛⠛⠻⠟⠸⠛⠋⠉⠁⠀⠀⢸⡇⠀⠀⠄⠀⢸⡄⠀⠀⠈⠉⠙⠛⠃⠻⠛⠛⠛⠉⠁⠀⠀⠈⠙⢧⡀
1812
+ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣿⡇⢠⠀⠀⠀⢸⣷⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
1813
+ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣾⣿⡇⠀⠀⠀⠀⢸⣿⣷⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
1814
+ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣰⠟⠁⣿⠇⠀⠀⠀⠀⢸⡇⠙⢿⣆⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
1815
+ ⠀⠰⣄⠀⠀⠀⠀⠀⠀⠀⠀⢀⣠⣾⠖⡾⠁⠀⠀⣿⠀⠀⠀⠀⠀⠘⣿⠀⠀⠙⡇⢸⣷⣄⡀⠀⠀⠀⠀⠀⠀⠀⠀⣰⠄⠀
1816
+ ⠀⠀⢻⣷⡦⣤⣤⣤⡴⠶⠿⠛⠉⠁⠀⢳⠀⢠⡀⢿⣀⠀⠀⠀⠀⣠⡟⢀⣀⢠⠇⠀⠈⠙⠛⠷⠶⢦⣤⣤⣤⢴⣾⡏⠀⠀
1817
+ ⠀⠀⠈⣿⣧⠙⣿⣷⣄⠀⠀⠀⠀⠀⠀⠀⠀⠘⠛⢊⣙⠛⠒⠒⢛⣋⡚⠛⠉⠀⠀⠀⠀⠀⠀⠀⠀⣠⣿⡿⠁⣾⡿⠀⠀⠀
1818
+ ⠀⠀⠀⠘⣿⣇⠈⢿⣿⣦⠀⠀⠀⠀⠀⠀⠀⠀⣰⣿⣿⣿⡿⢿⣿⣿⣿⣆⠀⠀⠀⠀⠀⠀⠀⢀⣼⣿⡟⠁⣼⡿⠁⠀⠀⠀
1819
+ ⠀⠀⠀⠀⠘⣿⣦⠀⠻⣿⣷⣦⣤⣤⣶⣶⣶⣿⣿⣿⣿⠏⠀⠀⠻⣿⣿⣿⣿⣶⣶⣶⣦⣤⣴⣿⣿⠏⢀⣼⡿⠁⠀⠀⠀⠀
1820
+ ⠀⠀⠀⠀⠀⠘⢿⣷⣄⠙⠻⠿⠿⠿⠿⠿⢿⣿⣿⣿⣁⣀⣀⣀⣀⣙⣿⣿⣿⠿⠿⠿⠿⠿⠿⠟⠁⣠⣿⡿⠁⠀⠀⠀⠀⠀
1821
+ ⠀⠀⠀⠀⠀⠀⠈⠻⣯⠙⢦⣀⠀⠀⠀⠀⠀⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠀⠀⠀⠀⠀⣠⠴⢋⣾⠟⠀⠀⠀⠀⠀⠀⠀
1822
+ ⠀⠀⠀⠀⠀⠀⠀⠀⠙⢧⡀⠈⠉⠒⠀⠀⠀⠀⠀⠀⣀⠀⠀⠀⠀⢀⠀⠀⠀⠀⠀⠐⠒⠉⠁⢀⡾⠃⠀⠀⠀⠀⠀⠀⠀⠀
1823
+ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠳⣄⠀⠀⠀⠀⠀⠀⠀⠀⠻⣿⣿⣿⣿⠋⠀⠀⠀⠀⠀⠀⠀⠀⣠⠟⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
1824
+ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠘⢦⡀⠀⠀⠀⠀⠀⠀⠀⣸⣿⣿⡇⠀⠀⠀⠀⠀⠀⠀⢀⡴⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
1825
+ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣿⣿⣿⣿⠀⠀⠀⠀⠀⠀⠀⠋⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
1826
+ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠐⣿⣿⣿⣿⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
1827
+ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣿⣿⣿⡿⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
1828
+ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢻⣿⣿⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
1829
+ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠸⣿⣿⠃⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
1830
+ */
1831
+ _getSizes({ sizes } /* Table Definition */) {
1832
+ if (sizes === 'auto' || !sizes) {
1833
+ return {
1834
+ 'w-auto': true,
1835
+ };
1836
+ }
1837
+ if (typeof sizes === 'object') {
1838
+ const classes = {};
1839
+ for (const size of Object.keys(sizes)) {
1840
+ if (size === 'default') {
1841
+ classes[`w-${sizes.default}/12`] = true;
1842
+ continue;
1843
+ }
1844
+ classes[`${size}:w-${sizes[`${size}`]}/12`] = true;
1845
+ }
1846
+ return classes;
1847
+ }
1848
+ // is a number.
1849
+ return {
1850
+ [`w-${sizes}/12`]: true,
1851
+ };
1852
+ }
1853
+ }
1854
+ TableCell.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: TableCell, deps: [], target: i0.ɵɵFactoryTarget.Component });
1855
+ TableCell.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.10", type: TableCell, selector: "p-table-cell-ngx", inputs: { variant: "variant", index: "index", rowIndex: "rowIndex", definition: "definition", item: "item", value: "value", checkbox: "checkbox", template: "template" }, host: { properties: { "class": "this.class" } }, ngImport: i0, template: "<ng-container *ngIf=\"checkbox\">\n <ng-container *ngTemplateOutlet=\"checkbox\"></ng-container>\n</ng-container>\n\n<ng-container [ngSwitch]=\"variant\">\n <p-loader\n *ngSwitchCase=\"'loading'\"\n variant=\"ghost\"\n class=\"rounded flex-1 w-full h-6\"\n ></p-loader>\n\n <div *ngSwitchCase=\"'header'\" class=\"flex\">\n <ng-container *ngTemplateOutlet=\"valueTemplate\"></ng-container>\n </div>\n\n <div *ngSwitchCase=\"'default'\" class=\"flex\">\n <ng-container *ngIf=\"template; else valueTemplate\">\n <ng-container\n *ngTemplateOutlet=\"template; context: data\"\n ></ng-container>\n </ng-container>\n </div>\n</ng-container>\n\n<ng-template #valueTemplate>\n {{ data.value }}\n</ng-template>\n", styles: [":host{display:flex;align-items:center;gap:1rem}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "component", type: PLoader, selector: "p-loader", inputs: ["color", "modalDescription", "modalTitle", "show", "variant"] }] });
1856
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: TableCell, decorators: [{
1857
+ type: Component,
1858
+ args: [{ selector: 'p-table-cell-ngx', template: "<ng-container *ngIf=\"checkbox\">\n <ng-container *ngTemplateOutlet=\"checkbox\"></ng-container>\n</ng-container>\n\n<ng-container [ngSwitch]=\"variant\">\n <p-loader\n *ngSwitchCase=\"'loading'\"\n variant=\"ghost\"\n class=\"rounded flex-1 w-full h-6\"\n ></p-loader>\n\n <div *ngSwitchCase=\"'header'\" class=\"flex\">\n <ng-container *ngTemplateOutlet=\"valueTemplate\"></ng-container>\n </div>\n\n <div *ngSwitchCase=\"'default'\" class=\"flex\">\n <ng-container *ngIf=\"template; else valueTemplate\">\n <ng-container\n *ngTemplateOutlet=\"template; context: data\"\n ></ng-container>\n </ng-container>\n </div>\n</ng-container>\n\n<ng-template #valueTemplate>\n {{ data.value }}\n</ng-template>\n", styles: [":host{display:flex;align-items:center;gap:1rem}\n"] }]
1859
+ }], propDecorators: { variant: [{
1860
+ type: Input
1861
+ }], index: [{
1862
+ type: Input
1863
+ }], rowIndex: [{
1864
+ type: Input
1865
+ }], definition: [{
1866
+ type: Input
1867
+ }], item: [{
1868
+ type: Input
1869
+ }], value: [{
1870
+ type: Input
1871
+ }], checkbox: [{
1872
+ type: Input
1873
+ }], template: [{
1874
+ type: Input
1875
+ }], class: [{
1876
+ type: HostBinding,
1877
+ args: ['class']
1878
+ }] } });
1879
+
1880
+ let TableColumn = class TableColumn {
1881
+ constructor(c, r, z) {
1882
+ this.z = z;
1883
+ c.detach();
1884
+ this.el = r.nativeElement;
1885
+ proxyOutputs(this, this.el, ['tableDefinitionChanged']);
1886
+ }
1887
+ };
1888
+ TableColumn.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: TableColumn, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
1889
+ TableColumn.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.10", type: TableColumn, selector: "p-table-column", inputs: { align: "align", name: "name", path: "path", sizes: "sizes", type: "type", useSlot: "useSlot" }, queries: [{ propertyName: "template", first: true, predicate: TemplateRef, descendants: true, read: TemplateRef, static: true }], ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1890
+ TableColumn = __decorate([
1891
+ ProxyCmp({
1892
+ defineCustomElementFn: undefined,
1893
+ inputs: ['align', 'name', 'path', 'sizes', 'type', 'useSlot'],
1894
+ })
1895
+ ], TableColumn);
1896
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: TableColumn, decorators: [{
1897
+ type: Component,
1898
+ args: [{
1899
+ selector: 'p-table-column',
1900
+ changeDetection: ChangeDetectionStrategy.OnPush,
1901
+ template: '<ng-content></ng-content>',
1902
+ inputs: ['align', 'name', 'path', 'sizes', 'type', 'useSlot'],
1903
+ }]
1904
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; }, propDecorators: { template: [{
1905
+ type: ContentChild,
1906
+ args: [TemplateRef, {
1907
+ read: TemplateRef,
1908
+ static: true,
1909
+ }]
1910
+ }] } });
1911
+
1912
+ class TableFilterModalDirective {
1913
+ }
1914
+ TableFilterModalDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: TableFilterModalDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
1915
+ TableFilterModalDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.10", type: TableFilterModalDirective, selector: "[p-table-filter-modal]", ngImport: i0 });
1916
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: TableFilterModalDirective, decorators: [{
1917
+ type: Directive,
1918
+ args: [{
1919
+ selector: '[p-table-filter-modal]',
1920
+ }]
1921
+ }] });
1922
+
1923
+ const defaultSize = 12;
1924
+ const defaultSizeOptions = [12, 24, 68, 136];
1925
+
1926
+ class TableFooterDirective extends BaseValueAccessor {
1927
+ constructor(el) {
1928
+ super(el);
1929
+ this.lastValue = {
1930
+ page: 1,
1931
+ pageSize: 12,
1932
+ };
1933
+ }
1934
+ writeValue(value) {
1935
+ this.el.nativeElement.page = this.lastValue.page =
1936
+ (value === null || value === void 0 ? void 0 : value.page) == null ? '' : value === null || value === void 0 ? void 0 : value.page;
1937
+ this.el.nativeElement.pageSize = this.lastValue.pageSize =
1938
+ (value === null || value === void 0 ? void 0 : value.pageSize) == null ? '' : value === null || value === void 0 ? void 0 : value.pageSize;
1939
+ }
1940
+ handleChange(value, type) {
1941
+ this.handleChangeEvent(Object.assign(Object.assign({}, this.lastValue), { [type]: value }));
1942
+ }
1943
+ }
1944
+ TableFooterDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: TableFooterDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
1945
+ TableFooterDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.10", type: TableFooterDirective, selector: "p-table-footer", host: { listeners: { "pageChange": "handleChange($event.detail, \"page\")", "pageSizeChange": "handleChange($event.detail, \"pageSize\")" } }, providers: [
1946
+ {
1947
+ provide: NG_VALUE_ACCESSOR,
1948
+ useExisting: TableFooterDirective,
1949
+ multi: true,
1950
+ },
1951
+ ], usesInheritance: true, ngImport: i0 });
1952
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: TableFooterDirective, decorators: [{
1953
+ type: Directive,
1954
+ args: [{
1955
+ /* tslint:disable-next-line:directive-selector */
1956
+ selector: 'p-table-footer',
1957
+ host: {
1958
+ '(pageChange)': 'handleChange($event.detail, "page")',
1959
+ '(pageSizeChange)': 'handleChange($event.detail, "pageSize")',
1960
+ },
1961
+ providers: [
1962
+ {
1963
+ provide: NG_VALUE_ACCESSOR,
1964
+ useExisting: TableFooterDirective,
1965
+ multi: true,
1966
+ },
1967
+ ],
1968
+ }]
1969
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
1970
+
1971
+ class TableHeaderDirective extends BaseValueAccessor {
1972
+ constructor(el) {
1973
+ super(el);
1974
+ this.lastValue = {
1975
+ query: '',
1976
+ quickFilter: undefined,
1977
+ };
1978
+ }
1979
+ writeValue(value) {
1980
+ this.el.nativeElement.query = this.lastValue.query = value === null || value === void 0 ? void 0 : value.query;
1981
+ this.lastValue.quickFilter = value === null || value === void 0 ? void 0 : value.quickFilter;
1982
+ if (value === null || value === void 0 ? void 0 : value.quickFilter) {
1983
+ this._setActiveQuickFilter(value.quickFilter);
1984
+ }
1985
+ }
1986
+ handleChange(value, type) {
1987
+ this.handleChangeEvent(Object.assign(Object.assign({}, this.lastValue), { [type]: value }));
1988
+ if (type === 'quickFilter' && typeof value !== 'string') {
1989
+ this._setActiveQuickFilter(value);
1990
+ }
1991
+ }
1992
+ _setActiveQuickFilter(quickFilter) {
1993
+ this.el.nativeElement.activeQuickFilterIdentifier =
1994
+ quickFilter === null || quickFilter === void 0 ? void 0 : quickFilter.identifier;
1995
+ }
1996
+ }
1997
+ TableHeaderDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: TableHeaderDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
1998
+ TableHeaderDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.10", type: TableHeaderDirective, selector: "p-table-header", host: { listeners: { "queryChange": "handleChange($event.detail, \"query\")", "quickFilter": "handleChange($event.detail, \"quickFilter\")" } }, providers: [
1999
+ {
2000
+ provide: NG_VALUE_ACCESSOR,
2001
+ useExisting: TableHeaderDirective,
2002
+ multi: true,
2003
+ },
2004
+ ], usesInheritance: true, ngImport: i0 });
2005
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: TableHeaderDirective, decorators: [{
2006
+ type: Directive,
2007
+ args: [{
2008
+ /* tslint:disable-next-line:directive-selector */
2009
+ selector: 'p-table-header',
2010
+ host: {
2011
+ '(queryChange)': 'handleChange($event.detail, "query")',
2012
+ '(quickFilter)': 'handleChange($event.detail, "quickFilter")',
2013
+ },
2014
+ providers: [
2015
+ {
2016
+ provide: NG_VALUE_ACCESSOR,
2017
+ useExisting: TableHeaderDirective,
2018
+ multi: true,
2019
+ },
2020
+ ],
2021
+ }]
2022
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
2023
+
2024
+ let Table = class Table {
2025
+ constructor() {
2026
+ /**
2027
+ * Wether data is loading
2028
+ */
2029
+ this.loading = false;
2030
+ /**
2031
+ * The amount of loading rows to show
2032
+ */
2033
+ this.amountOfLoadingRows = 6;
2034
+ /**
2035
+ * Wether to enable selection
2036
+ */
2037
+ this.enableRowSelection = true;
2038
+ /**
2039
+ * Wether to enable row clicking
2040
+ */
2041
+ this.enableRowClick = true;
2042
+ /**
2043
+ * The current selection of items
2044
+ */
2045
+ this.selectedRows = [];
2046
+ /**
2047
+ * Event whenever the current selection changes
2048
+ */
2049
+ this.selectedRowsChange = new EventEmitter();
2050
+ /**
2051
+ * Event whenever a row is clicked
2052
+ */
2053
+ this.rowClick = new EventEmitter();
2054
+ /**
2055
+ * Event whenever a row is selected
2056
+ */
2057
+ this.rowSelected = new EventEmitter();
2058
+ /**
2059
+ * Event whenever a row is deselected
2060
+ */
2061
+ this.rowDeselected = new EventEmitter();
2062
+ /** START HEADER */
2063
+ /**
2064
+ * Quick filters to show
2065
+ */
2066
+ this.quickFilters = [];
2067
+ /**
2068
+ * Wether to show the search input
2069
+ */
2070
+ this.enableSearch = true;
2071
+ /**
2072
+ * Wether to show the filter button
2073
+ */
2074
+ this.enableFilter = true;
2075
+ /**
2076
+ * Wether to show the edit button
2077
+ */
2078
+ this.enableEdit = true;
2079
+ /**
2080
+ * Event when one of the quick filters is clicked
2081
+ */
2082
+ this.quickFilter = new EventEmitter();
2083
+ /**
2084
+ * Event when the query changes
2085
+ */
2086
+ this.queryChange = new EventEmitter();
2087
+ /**
2088
+ * Event when the filter button is clicked
2089
+ */
2090
+ this.filter = new EventEmitter();
2091
+ /**
2092
+ * Event when the edit button is clicked
2093
+ */
2094
+ this.edit = new EventEmitter();
2095
+ /** START FOOTER */
2096
+ /**
2097
+ * Wether to enable page size select
2098
+ */
2099
+ this.enablePageSize = true;
2100
+ /**
2101
+ * Wether to enable pagination
2102
+ */
2103
+ this.enablePagination = true;
2104
+ /**
2105
+ * Wether to enable export
2106
+ */
2107
+ this.enableExport = true;
2108
+ /**
2109
+ * The current page
2110
+ */
2111
+ this.page = 1;
2112
+ /**
2113
+ * Event whenever the page changes
2114
+ */
2115
+ this.pageChange = new EventEmitter();
2116
+ /**
2117
+ * The amount of items per page
2118
+ */
2119
+ this.pageSize = defaultSize;
2120
+ /**
2121
+ * The options for the page size
2122
+ */
2123
+ this.pageSizeOptions = defaultSizeOptions;
2124
+ /**
2125
+ * Event whenever the page changes
2126
+ */
2127
+ this.pageSizeChange = new EventEmitter();
2128
+ /**
2129
+ * Event whenever the page changes
2130
+ */
2131
+ this.export = new EventEmitter();
2132
+ /**
2133
+ * Wether to hide when there is only 1 page available
2134
+ */
2135
+ this.hideOnSinglePage = true;
2136
+ /* Empty state start */
2137
+ this.emptyStateType = 'no_filter';
2138
+ /**
2139
+ * Event whenever the empty state is clicked
2140
+ */
2141
+ this.emptyStateActionClick = new EventEmitter();
2142
+ /* Empty state end */
2143
+ this.columns = [];
2144
+ this.parsedItems = [];
2145
+ this.loadingRows = Array.from({
2146
+ length: this.amountOfLoadingRows,
2147
+ });
2148
+ this._ctrlDown = false;
2149
+ this.filterModalShow$ = new BehaviorSubject(false);
2150
+ this.filterModalHeaderText = 'Filters';
2151
+ this.filterModalSaveText = 'Save';
2152
+ this.filterModalCancelText = 'Cancel';
2153
+ this.filterModalShow = new EventEmitter();
2154
+ this.filterModalSave = new EventEmitter();
2155
+ }
2156
+ set columnDefinitions(v) {
2157
+ this._columnDefinitions = v;
2158
+ this._generateColumns();
2159
+ }
2160
+ get columnDefinitions() {
2161
+ return this._columnDefinitions;
2162
+ }
2163
+ ngOnInit() {
2164
+ this._parseItems(this.items);
2165
+ this.loadingRows = Array.from({
2166
+ length: this.amountOfLoadingRows,
2167
+ });
2168
+ this.filterModalShow$
2169
+ .pipe(untilDestroyed(this), distinctUntilChanged())
2170
+ .subscribe((value) => this.filterModalShow.next(value));
2171
+ // this._generateColumns();
2172
+ }
2173
+ ngOnChanges(changes) {
2174
+ if (changes['items']) {
2175
+ this._parseItems(changes['items'].currentValue);
2176
+ }
2177
+ if (changes['amountOfLoadingRows']) {
2178
+ this.loadingRows = Array.from({
2179
+ length: changes['amountOfLoadingRows'].currentValue,
2180
+ });
2181
+ }
2182
+ }
2183
+ // @HostListener('body:tableDefinitionChanged', { target: 'body' })
2184
+ // onTableDefinitionUpdated() {
2185
+ // this._generateColumns();
2186
+ // }
2187
+ keyDown({ key }) {
2188
+ if (key !== 'Control' || this._ctrlDown === true) {
2189
+ return;
2190
+ }
2191
+ this._ctrlDown = true;
2192
+ }
2193
+ keyUp({ key }) {
2194
+ if (key !== 'Control' || this._ctrlDown === false) {
2195
+ return;
2196
+ }
2197
+ this._ctrlDown = false;
2198
+ }
2199
+ visibilityChange() {
2200
+ if (document.visibilityState !== 'hidden' || this._ctrlDown === false) {
2201
+ return;
2202
+ }
2203
+ this._ctrlDown = false;
2204
+ }
2205
+ onQueryChange({ detail }) {
2206
+ this.queryChange.emit(detail);
2207
+ }
2208
+ onQuickFilter({ detail }) {
2209
+ this.quickFilter.emit(detail);
2210
+ }
2211
+ onPageSizeChange({ detail }) {
2212
+ this.pageSizeChange.emit(detail);
2213
+ }
2214
+ onPageChange({ detail }) {
2215
+ this.pageChange.emit(detail);
2216
+ }
2217
+ onFilterModalSave() {
2218
+ this.filterModalSave.next();
2219
+ this.filterModalShow$.next(false);
2220
+ }
2221
+ _parseItems(items) {
2222
+ if (!items) {
2223
+ this.parsedItems = [];
2224
+ return;
2225
+ }
2226
+ if (Array.isArray(items)) {
2227
+ this.parsedItems = items;
2228
+ return;
2229
+ }
2230
+ this.parsedItems = JSON.parse(items);
2231
+ }
2232
+ _generateColumns() {
2233
+ // const definitions =
2234
+ // this._el.nativeElement.querySelectorAll('p-table-definition');
2235
+ this.columns = Array.from(this._columnDefinitions);
2236
+ }
2237
+ // private _getHeader() {
2238
+ // return (
2239
+ // <p-table-row variant="header">
2240
+ // {this._columns.map((col: TableDefinition, index) => (
2241
+ // <p-table-column
2242
+ // definition={col}
2243
+ // value={col.name}
2244
+ // variant="header"
2245
+ // checkbox={this._getCheckbox(index, null, 'header')}
2246
+ // index={index}
2247
+ // ></p-table-column>
2248
+ // ))}
2249
+ // </p-table-row>
2250
+ // );
2251
+ // }
2252
+ // private _getRows() {
2253
+ // if (this.loading) {
2254
+ // return Array.from(
2255
+ // {
2256
+ // length: this.amountOfLoadingRows,
2257
+ // },
2258
+ // (_, i) => (
2259
+ // <p-table-row
2260
+ // enableHover={
2261
+ // this.enableRowSelection || this.enableRowClick
2262
+ // }
2263
+ // >
2264
+ // {this._getLoadingColumns(i)}
2265
+ // </p-table-row>
2266
+ // )
2267
+ // );
2268
+ // }
2269
+ // return this._items.map((item, index) => (
2270
+ // <p-table-row
2271
+ // enableHover={this.enableRowSelection || this.enableRowClick}
2272
+ // onClick={(ev) => this._rowClick(ev, index)}
2273
+ // >
2274
+ // {this._getRowColumns(item, index)}
2275
+ // </p-table-row>
2276
+ // ));
2277
+ // }
2278
+ // private _getRowColumns(item, index) {
2279
+ // return this._columns.map((col: TableDefinition, colIndex) => {
2280
+ // return (
2281
+ // <p-table-column
2282
+ // definition={col}
2283
+ // item={item}
2284
+ // checkbox={this._getCheckbox(colIndex, index)}
2285
+ // index={colIndex}
2286
+ // rowIndex={index}
2287
+ // ></p-table-column>
2288
+ // );
2289
+ // });
2290
+ // }
2291
+ // private _getLoadingColumns(index) {
2292
+ // return this._columns.map((col: TableDefinition, colIndex) => {
2293
+ // return (
2294
+ // <p-table-column
2295
+ // definition={col}
2296
+ // variant="loading"
2297
+ // checkbox={this._getCheckbox(colIndex, index, 'loading')}
2298
+ // index={colIndex}
2299
+ // rowIndex={index}
2300
+ // ></p-table-column>
2301
+ // );
2302
+ // });
2303
+ // }
2304
+ // private _getCheckbox(
2305
+ // index,
2306
+ // rowIndex,
2307
+ // variant: 'header' | 'default' | 'loading' = 'default'
2308
+ // ) {
2309
+ // if (!this.enableRowSelection || !this.selectionKey || index !== 0) {
2310
+ // return;
2311
+ // }
2312
+ // if (variant === 'loading') {
2313
+ // return <p-loader variant="ghost" class="rounded w-6 h-6" />;
2314
+ // }
2315
+ // if (variant === 'header') {
2316
+ // return (
2317
+ // <input
2318
+ // class="p-input"
2319
+ // type="checkbox"
2320
+ // onChange={(ev) => this._selectAllChange(ev)}
2321
+ // checked={this._selectionContainsAll()}
2322
+ // indeterminate={this._selectionIndeterminate()}
2323
+ // />
2324
+ // );
2325
+ // }
2326
+ // const item = this._items[rowIndex];
2327
+ // return (
2328
+ // <input
2329
+ // class="p-input"
2330
+ // type="checkbox"
2331
+ // onChange={(ev) => this._checkboxChange(ev?.target, rowIndex)}
2332
+ // disabled={this.canSelectKey && !item[this.canSelectKey]}
2333
+ // checked={this._selectionContains(item, rowIndex)}
2334
+ // />
2335
+ // );
2336
+ // }
2337
+ _checkboxDisabled(item) {
2338
+ return this.canSelectKey && !item[this.canSelectKey];
2339
+ }
2340
+ _selectAllChange($event) {
2341
+ if (!this.enableRowSelection) {
2342
+ return;
2343
+ }
2344
+ const value = this._getCheckedValue($event.target);
2345
+ if (value) {
2346
+ const toAdd = [];
2347
+ for (let i = 0; i < this.parsedItems.length; i++) {
2348
+ const row = this.parsedItems[i];
2349
+ if (this.canSelectKey && !row[this.canSelectKey]) {
2350
+ continue;
2351
+ }
2352
+ if (this._selectionContains(row, i)) {
2353
+ continue;
2354
+ }
2355
+ toAdd.push(row);
2356
+ this.rowSelected.emit(row);
2357
+ }
2358
+ this.selectedRows = [...this.selectedRows, ...toAdd];
2359
+ this.selectedRowsChange.emit(this.selectedRows);
2360
+ return;
2361
+ }
2362
+ for (let i = 0; i < this.selectedRows.length; i++) {
2363
+ const value = this.selectedRows[i];
2364
+ const row = this.parsedItems.find((d) => this._getSelectionValue(d, i) ===
2365
+ this._getSelectionValue(value, i));
2366
+ if (!row) {
2367
+ continue;
2368
+ }
2369
+ this.rowDeselected.emit(row);
2370
+ }
2371
+ this.selectedRows = [];
2372
+ this.selectedRowsChange.emit(this.selectedRows);
2373
+ }
2374
+ _checkboxChange(target, index) {
2375
+ if (!this.enableRowSelection) {
2376
+ return;
2377
+ }
2378
+ const row = this.parsedItems[index];
2379
+ if (this.canSelectKey && !row[this.canSelectKey]) {
2380
+ target.checked = false;
2381
+ return;
2382
+ }
2383
+ const value = this._getCheckedValue(target);
2384
+ if (value) {
2385
+ this.selectedRows = [...this.selectedRows, row];
2386
+ this.selectedRowsChange.emit(this.selectedRows);
2387
+ this.rowSelected.emit(row);
2388
+ return;
2389
+ }
2390
+ const indexOfToRemove = this._selectionContains(row, index, true);
2391
+ // we need to do this, because splice does not trigger the selection setter.
2392
+ const selection = [...this.selectedRows];
2393
+ selection.splice(indexOfToRemove, 1);
2394
+ this.selectedRows = selection;
2395
+ this.selectedRowsChange.emit(this.selectedRows);
2396
+ this.rowDeselected.emit(row);
2397
+ }
2398
+ _getCheckedValue(target) {
2399
+ return target === null || target === void 0 ? void 0 : target.checked;
2400
+ }
2401
+ _getSelectionValue(row, index) {
2402
+ return this.selectionKey ? (row === null || row === void 0 ? void 0 : row[this.selectionKey]) || index : index;
2403
+ }
2404
+ _selectionContains(row, index, returnIndex = false) {
2405
+ const returnValue = this.selectedRows.findIndex((item) => this._getSelectionValue(row, index) ===
2406
+ this._getSelectionValue(item, index));
2407
+ return !returnIndex ? returnValue >= 0 : returnValue;
2408
+ }
2409
+ _selectionContainsAll() {
2410
+ var _a, _b;
2411
+ let returnValue = true;
2412
+ if (!((_a = this.parsedItems) === null || _a === void 0 ? void 0 : _a.length)) {
2413
+ return false;
2414
+ }
2415
+ for (let i = 0; i < ((_b = this.parsedItems) === null || _b === void 0 ? void 0 : _b.length); i++) {
2416
+ const item = this.parsedItems[i];
2417
+ const contains = this._selectionContains(item, i);
2418
+ if (!contains) {
2419
+ returnValue = false;
2420
+ break;
2421
+ }
2422
+ }
2423
+ return returnValue;
2424
+ }
2425
+ _selectionIndeterminate() {
2426
+ var _a, _b, _c;
2427
+ if (!((_a = this.parsedItems) === null || _a === void 0 ? void 0 : _a.length) || !((_b = this.selectedRows) === null || _b === void 0 ? void 0 : _b.length)) {
2428
+ return false;
2429
+ }
2430
+ let containsCount = 0;
2431
+ for (let i = 0; i < ((_c = this.parsedItems) === null || _c === void 0 ? void 0 : _c.length); i++) {
2432
+ const item = this.parsedItems[i];
2433
+ const contains = this._selectionContains(item, i);
2434
+ if (contains) {
2435
+ containsCount++;
2436
+ }
2437
+ }
2438
+ return containsCount > 0 && containsCount !== this.parsedItems.length;
2439
+ }
2440
+ _rowClick($event, index) {
2441
+ const target = $event.target;
2442
+ if (target.tagName.toLowerCase() === 'input' ||
2443
+ target.type === 'checkbox') {
2444
+ return;
2445
+ }
2446
+ const row = this._findRow($event.target);
2447
+ if (this.enableRowClick) {
2448
+ const action = this._findRowAction($event.target);
2449
+ if (action) {
2450
+ return;
2451
+ }
2452
+ const item = this.parsedItems[index];
2453
+ this.rowClick.emit({
2454
+ item,
2455
+ ctrlDown: this._ctrlDown,
2456
+ });
2457
+ return;
2458
+ }
2459
+ if (!this.enableRowSelection) {
2460
+ return;
2461
+ }
2462
+ const checkbox = row === null || row === void 0 ? void 0 : row.querySelector('input[type="checkbox"]');
2463
+ if (!checkbox) {
2464
+ return;
2465
+ }
2466
+ checkbox.checked = !checkbox.checked;
2467
+ this._checkboxChange(checkbox, index);
2468
+ }
2469
+ _findRow(el) {
2470
+ var _a;
2471
+ if (!el) {
2472
+ return el;
2473
+ }
2474
+ if (((_a = el === null || el === void 0 ? void 0 : el.tagName) === null || _a === void 0 ? void 0 : _a.toLowerCase()) === 'p-table-row') {
2475
+ return el;
2476
+ }
2477
+ return this._findRow(el === null || el === void 0 ? void 0 : el.parentElement);
2478
+ }
2479
+ _findRowAction(el) {
2480
+ var _a;
2481
+ if (!el) {
2482
+ return null;
2483
+ }
2484
+ if (el.getAttribute('data-is-action') !== null &&
2485
+ el.getAttribute('data-is-action') !== 'false') {
2486
+ return el;
2487
+ }
2488
+ if (((_a = el === null || el === void 0 ? void 0 : el.tagName) === null || _a === void 0 ? void 0 : _a.toLowerCase()) === 'p-table-row') {
2489
+ return null;
2490
+ }
2491
+ return this._findRowAction(el === null || el === void 0 ? void 0 : el.parentElement);
2492
+ }
2493
+ };
2494
+ Table.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: Table, deps: [], target: i0.ɵɵFactoryTarget.Component });
2495
+ Table.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.10", 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", emptyStateType: "emptyStateType", emptyStateHeader: "emptyStateHeader", emptyStateContent: "emptyStateContent", emptyStateAction: "emptyStateAction", emptyStateFilteredHeader: "emptyStateFilteredHeader", emptyStateFilteredContent: "emptyStateFilteredContent", filterModalHeaderText: "filterModalHeaderText", filterModalSaveText: "filterModalSaveText", filterModalCancelText: "filterModalCancelText" }, outputs: { selectedRowsChange: "selectedRowsChange", rowClick: "rowClick", rowSelected: "rowSelected", rowDeselected: "rowDeselected", quickFilter: "quickFilter", queryChange: "queryChange", filter: "filter", edit: "edit", pageChange: "pageChange", pageSizeChange: "pageSizeChange", export: "export", emptyStateActionClick: "emptyStateActionClick", filterModalShow: "filterModalShow", filterModalSave: "filterModalSave" }, host: { listeners: { "document:keydown": "keyDown($event)", "document:keyup": "keyUp($event)", "document:visibilitychange": "visibilityChange($event)" } }, queries: [{ propertyName: "filterModalTemplate", first: true, predicate: TableFilterModalDirective, descendants: true, read: TemplateRef, static: true }, { propertyName: "columnDefinitions", predicate: TableColumn }], usesOnChanges: true, ngImport: i0, template: "<p-table-container>\n <p-table-header\n [quickFilters]=\"quickFilters\"\n [activeQuickFilterIdentifier]=\"activeQuickFilterIdentifier\"\n (quickFilter)=\"(onQuickFilter)\"\n [enableSearch]=\"enableSearch\"\n [query]=\"query\"\n (queryChange)=\"(onQueryChange)\"\n [enableFilter]=\"filterModalTemplate\"\n [selectedFiltersAmount]=\"selectedFiltersAmount\"\n [filterButtonTemplate]=\"filterButtonTemplate\"\n (filter)=\"filterModalShow$.next(true)\"\n [enableEdit]=\"enableEdit\"\n [canEdit]=\"!!selectedRows.length\"\n [editButtonTemplate]=\"editButtonTemplate\"\n (edit)=\"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]=\"\n index === 0 && enableRowSelection\n ? checkboxTemplate\n : undefined\n \"\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]=\"\n index === 0 && enableRowSelection\n ? checkboxTemplate\n : undefined\n \"\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 <ng-container *ngIf=\"items?.length; else emptyStateTemplate\">\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\n *ngFor=\"let col of columns; let index = index\"\n >\n <p-table-cell-ngx\n [definition]=\"col\"\n [item]=\"item\"\n [checkbox]=\"\n index === 0 && enableRowSelection\n ? checkboxTemplate\n : undefined\n \"\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)=\"\n _checkboxChange($event.target, rowIndex)\n \"\n [disabled]=\"_checkboxDisabled(item)\"\n [checked]=\"_selectionContains(item, rowIndex)\"\n />\n </ng-template>\n </ng-container>\n </p-table-row>\n </ng-container>\n </ng-template>\n </div>\n\n <p-table-footer\n [hideOnSinglePage]=\"hideOnSinglePage\"\n [enablePageSize]=\"enablePageSize\"\n [pageSize]=\"pageSize\"\n [pageSizeOptions]=\"pageSizeOptions\"\n (pageSizeChange)=\"(pageSizeChange)\"\n [enablePagination]=\"enablePagination\"\n [page]=\"page\"\n [total]=\"total\"\n (pageChange)=\"(pageChange)\"\n [enableExport]=\"enableExport\"\n (export)=\"export.emit()\"\n ></p-table-footer>\n</p-table-container>\n\n<ng-container *ngIf=\"filterModalTemplate\">\n <p-modal\n [header]=\"filterModalHeaderText\"\n [show]=\"filterModalShow$ | async\"\n (close)=\"filterModalShow$.next(false)\"\n >\n <div slot=\"content\">\n <ng-container\n *ngTemplateOutlet=\"filterModalTemplate\"\n ></ng-container>\n </div>\n <div slot=\"footer\" class=\"flex justify-between w-full\">\n <p-button\n variant=\"secondary\"\n (onClick)=\"filterModalShow$.next(false)\"\n >\n {{ filterModalCancelText }}\n </p-button>\n <p-button icon=\"checkmark\" (onClick)=\"onFilterModalSave()\">\n {{ filterModalSaveText }}\n </p-button>\n </div>\n </p-modal>\n</ng-container>\n\n<ng-template #emptyStateTemplate>\n <div\n *ngIf=\"emptyStateType === 'filtered'; else emptyStateNonFilterTemplate\"\n class=\"\n flex flex-col\n items-center\n text-center\n py-24\n max-w-[20rem]\n self-center\n \"\n >\n <p-illustration\n variant=\"empty-state-search\"\n class=\"mb-6\"\n ></p-illustration>\n <p class=\"font-semibold text-storm-default\">\n {{ emptyStateFilteredHeader }}\n </p>\n <p class=\"text-sm text-storm-medium mb-14\">\n {{ emptyStateFilteredContent }}\n </p>\n </div>\n</ng-template>\n\n<ng-template #emptyStateNonFilterTemplate>\n <div\n class=\"\n flex flex-col\n items-center\n text-center\n py-24\n max-w-[20rem]\n self-center\n \"\n >\n <p-illustration\n variant=\"empty-state-overview\"\n class=\"cursor-pointer mb-6\"\n (onClick)=\"emptyStateActionClick.emit()\"\n ></p-illustration>\n <p class=\"font-semibold text-storm-default\">\n {{ emptyStateHeader }}\n </p>\n <p class=\"text-sm text-storm-medium mb-6\">\n {{ emptyStateContent }}\n </p>\n <p-button\n variant=\"secondary\"\n icon=\"plus\"\n size=\"small\"\n (onClick)=\"emptyStateActionClick.emit()\"\n >\n {{ emptyStateAction }}\n </p-button>\n </div>\n</ng-template>\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: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: PButton, selector: "p-button", inputs: ["chevron", "chevronPosition", "disabled", "href", "icon", "iconFlip", "iconOnly", "iconPosition", "iconRotate", "inheritText", "loading", "size", "target", "variant", "width"] }, { kind: "component", type: PIllustration, selector: "p-illustration", inputs: ["variant"] }, { kind: "component", type: PLoader, selector: "p-loader", inputs: ["color", "modalDescription", "modalTitle", "show", "variant"] }, { kind: "component", type: PModal, selector: "p-modal", inputs: ["header", "show", "showMobileClose", "showMobileFooter", "size", "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" }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
2496
+ Table = __decorate([
2497
+ UntilDestroy({ checkProperties: true })
2498
+ ], Table);
2499
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: Table, decorators: [{
2500
+ type: Component,
2501
+ args: [{ selector: 'p-table-ngx', changeDetection: ChangeDetectionStrategy.OnPush, template: "<p-table-container>\n <p-table-header\n [quickFilters]=\"quickFilters\"\n [activeQuickFilterIdentifier]=\"activeQuickFilterIdentifier\"\n (quickFilter)=\"(onQuickFilter)\"\n [enableSearch]=\"enableSearch\"\n [query]=\"query\"\n (queryChange)=\"(onQueryChange)\"\n [enableFilter]=\"filterModalTemplate\"\n [selectedFiltersAmount]=\"selectedFiltersAmount\"\n [filterButtonTemplate]=\"filterButtonTemplate\"\n (filter)=\"filterModalShow$.next(true)\"\n [enableEdit]=\"enableEdit\"\n [canEdit]=\"!!selectedRows.length\"\n [editButtonTemplate]=\"editButtonTemplate\"\n (edit)=\"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]=\"\n index === 0 && enableRowSelection\n ? checkboxTemplate\n : undefined\n \"\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]=\"\n index === 0 && enableRowSelection\n ? checkboxTemplate\n : undefined\n \"\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 <ng-container *ngIf=\"items?.length; else emptyStateTemplate\">\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\n *ngFor=\"let col of columns; let index = index\"\n >\n <p-table-cell-ngx\n [definition]=\"col\"\n [item]=\"item\"\n [checkbox]=\"\n index === 0 && enableRowSelection\n ? checkboxTemplate\n : undefined\n \"\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)=\"\n _checkboxChange($event.target, rowIndex)\n \"\n [disabled]=\"_checkboxDisabled(item)\"\n [checked]=\"_selectionContains(item, rowIndex)\"\n />\n </ng-template>\n </ng-container>\n </p-table-row>\n </ng-container>\n </ng-template>\n </div>\n\n <p-table-footer\n [hideOnSinglePage]=\"hideOnSinglePage\"\n [enablePageSize]=\"enablePageSize\"\n [pageSize]=\"pageSize\"\n [pageSizeOptions]=\"pageSizeOptions\"\n (pageSizeChange)=\"(pageSizeChange)\"\n [enablePagination]=\"enablePagination\"\n [page]=\"page\"\n [total]=\"total\"\n (pageChange)=\"(pageChange)\"\n [enableExport]=\"enableExport\"\n (export)=\"export.emit()\"\n ></p-table-footer>\n</p-table-container>\n\n<ng-container *ngIf=\"filterModalTemplate\">\n <p-modal\n [header]=\"filterModalHeaderText\"\n [show]=\"filterModalShow$ | async\"\n (close)=\"filterModalShow$.next(false)\"\n >\n <div slot=\"content\">\n <ng-container\n *ngTemplateOutlet=\"filterModalTemplate\"\n ></ng-container>\n </div>\n <div slot=\"footer\" class=\"flex justify-between w-full\">\n <p-button\n variant=\"secondary\"\n (onClick)=\"filterModalShow$.next(false)\"\n >\n {{ filterModalCancelText }}\n </p-button>\n <p-button icon=\"checkmark\" (onClick)=\"onFilterModalSave()\">\n {{ filterModalSaveText }}\n </p-button>\n </div>\n </p-modal>\n</ng-container>\n\n<ng-template #emptyStateTemplate>\n <div\n *ngIf=\"emptyStateType === 'filtered'; else emptyStateNonFilterTemplate\"\n class=\"\n flex flex-col\n items-center\n text-center\n py-24\n max-w-[20rem]\n self-center\n \"\n >\n <p-illustration\n variant=\"empty-state-search\"\n class=\"mb-6\"\n ></p-illustration>\n <p class=\"font-semibold text-storm-default\">\n {{ emptyStateFilteredHeader }}\n </p>\n <p class=\"text-sm text-storm-medium mb-14\">\n {{ emptyStateFilteredContent }}\n </p>\n </div>\n</ng-template>\n\n<ng-template #emptyStateNonFilterTemplate>\n <div\n class=\"\n flex flex-col\n items-center\n text-center\n py-24\n max-w-[20rem]\n self-center\n \"\n >\n <p-illustration\n variant=\"empty-state-overview\"\n class=\"cursor-pointer mb-6\"\n (onClick)=\"emptyStateActionClick.emit()\"\n ></p-illustration>\n <p class=\"font-semibold text-storm-default\">\n {{ emptyStateHeader }}\n </p>\n <p class=\"text-sm text-storm-medium mb-6\">\n {{ emptyStateContent }}\n </p>\n <p-button\n variant=\"secondary\"\n icon=\"plus\"\n size=\"small\"\n (onClick)=\"emptyStateActionClick.emit()\"\n >\n {{ emptyStateAction }}\n </p-button>\n </div>\n</ng-template>\n", styles: [":host{display:flex;flex-direction:column}\n"] }]
2502
+ }], ctorParameters: function () { return []; }, propDecorators: { items: [{
2503
+ type: Input
2504
+ }], loading: [{
2505
+ type: Input
2506
+ }], amountOfLoadingRows: [{
2507
+ type: Input
2508
+ }], enableRowSelection: [{
2509
+ type: Input
2510
+ }], enableRowClick: [{
2511
+ type: Input
2512
+ }], selectedRows: [{
2513
+ type: Input
2514
+ }], selectedRowsChange: [{
2515
+ type: Output
2516
+ }], selectionKey: [{
2517
+ type: Input
2518
+ }], canSelectKey: [{
2519
+ type: Input
2520
+ }], rowClick: [{
2521
+ type: Output
2522
+ }], rowSelected: [{
2523
+ type: Output
2524
+ }], rowDeselected: [{
2525
+ type: Output
2526
+ }], quickFilters: [{
2527
+ type: Input
2528
+ }], activeQuickFilterIdentifier: [{
2529
+ type: Input
2530
+ }], enableSearch: [{
2531
+ type: Input
2532
+ }], query: [{
2533
+ type: Input
2534
+ }], enableFilter: [{
2535
+ type: Input
2536
+ }], selectedFiltersAmount: [{
2537
+ type: Input
2538
+ }], filterButtonTemplate: [{
2539
+ type: Input
2540
+ }], enableEdit: [{
2541
+ type: Input
2542
+ }], editButtonTemplate: [{
2543
+ type: Input
2544
+ }], quickFilter: [{
2545
+ type: Output
2546
+ }], queryChange: [{
2547
+ type: Output
2548
+ }], filter: [{
2549
+ type: Output
2550
+ }], edit: [{
2551
+ type: Output
2552
+ }], enablePageSize: [{
2553
+ type: Input
2554
+ }], enablePagination: [{
2555
+ type: Input
2556
+ }], enableExport: [{
2557
+ type: Input
2558
+ }], page: [{
2559
+ type: Input
2560
+ }], total: [{
2561
+ type: Input
2562
+ }], pageChange: [{
2563
+ type: Output
2564
+ }], pageSize: [{
2565
+ type: Input
2566
+ }], pageSizeOptions: [{
2567
+ type: Input
2568
+ }], pageSizeChange: [{
2569
+ type: Output
2570
+ }], export: [{
2571
+ type: Output
2572
+ }], hideOnSinglePage: [{
2573
+ type: Input
2574
+ }], emptyStateType: [{
2575
+ type: Input
2576
+ }], emptyStateHeader: [{
2577
+ type: Input
2578
+ }], emptyStateContent: [{
2579
+ type: Input
2580
+ }], emptyStateAction: [{
2581
+ type: Input
2582
+ }], emptyStateFilteredHeader: [{
2583
+ type: Input
2584
+ }], emptyStateFilteredContent: [{
2585
+ type: Input
2586
+ }], emptyStateActionClick: [{
2587
+ type: Output
2588
+ }], columnDefinitions: [{
2589
+ type: ContentChildren,
2590
+ args: [TableColumn]
2591
+ }], filterModalTemplate: [{
2592
+ type: ContentChild,
2593
+ args: [TableFilterModalDirective, {
2594
+ read: TemplateRef,
2595
+ static: true,
2596
+ }]
2597
+ }], filterModalHeaderText: [{
2598
+ type: Input
2599
+ }], filterModalSaveText: [{
2600
+ type: Input
2601
+ }], filterModalCancelText: [{
2602
+ type: Input
2603
+ }], filterModalShow: [{
2604
+ type: Output
2605
+ }], filterModalSave: [{
2606
+ type: Output
2607
+ }], keyDown: [{
2608
+ type: HostListener,
2609
+ args: ['document:keydown', ['$event']]
2610
+ }], keyUp: [{
2611
+ type: HostListener,
2612
+ args: ['document:keyup', ['$event']]
2613
+ }], visibilityChange: [{
2614
+ type: HostListener,
2615
+ args: ['document:visibilitychange', ['$event']]
2616
+ }] } });
2617
+
2618
+ const TABLE_COMPONENTS = [Table, TableCell, TableColumn];
2619
+
2620
+ /* eslint-disable @angular-eslint/no-host-metadata-property */
2621
+ class TableNgxDirective extends BaseValueAccessor {
2622
+ constructor(el, _base) {
2623
+ super(el);
2624
+ this._base = _base;
2625
+ this.lastValue = {
2626
+ query: '',
2627
+ quickFilter: undefined,
2628
+ filters: [],
2629
+ page: 1,
2630
+ pageSize: 12,
2631
+ selectedRows: [],
2632
+ };
2633
+ }
2634
+ writeValue(value) {
2635
+ this._base.query = this.lastValue.query = value === null || value === void 0 ? void 0 : value.query;
2636
+ // this.el.nativeElement.query = this.lastValue.query = value?.query;
2637
+ this.lastValue.quickFilter = value === null || value === void 0 ? void 0 : value.quickFilter;
2638
+ this._base.page = this.lastValue.page =
2639
+ (value === null || value === void 0 ? void 0 : value.page) == null ? 1 : value === null || value === void 0 ? void 0 : value.page;
2640
+ this._base.pageSize = this.lastValue.pageSize =
2641
+ (value === null || value === void 0 ? void 0 : value.pageSize) == null ? 12 : value === null || value === void 0 ? void 0 : value.pageSize;
2642
+ // this.el.nativeElement.page = this.lastValue.page =
2643
+ // value?.page == null ? 1 : value?.page;
2644
+ // this.el.nativeElement.pageSize = this.lastValue.pageSize =
2645
+ // value?.pageSize == null ? 12 : value?.pageSize;
2646
+ this.lastValue.selectedRows =
2647
+ (value === null || value === void 0 ? void 0 : value.selectedRows) == null ? [] : value === null || value === void 0 ? void 0 : value.selectedRows;
2648
+ if (value === null || value === void 0 ? void 0 : value.quickFilter) {
2649
+ this._setActiveQuickFilter(value.quickFilter);
2650
+ }
2651
+ if (value === null || value === void 0 ? void 0 : value.filters) {
2652
+ this._base.selectedFiltersAmount = value.filters.length === 0 ? undefined : value.filters.length;
2653
+ }
2654
+ this._checkEmptyStateType();
2655
+ }
2656
+ registerOnChange(fn) {
2657
+ this.onChange = fn;
2658
+ }
2659
+ registerOnTouched(fn) {
2660
+ this.onTouched = fn;
2661
+ }
2662
+ handleChange(value, type) {
2663
+ this.handleChangeEvent(Object.assign(Object.assign({}, this.lastValue), { [type]: value }));
2664
+ if (type === 'quickFilter' && typeof value === 'object') {
2665
+ this._setActiveQuickFilter(value);
2666
+ }
2667
+ this._checkEmptyStateType();
2668
+ }
2669
+ _setActiveQuickFilter(quickFilter) {
2670
+ this._base.activeQuickFilterIdentifier = quickFilter === null || quickFilter === void 0 ? void 0 : quickFilter.identifier;
2671
+ // this.el.nativeElement.activeQuickFilterIdentifier =
2672
+ // quickFilter?.identifier;
2673
+ }
2674
+ _checkEmptyStateType() {
2675
+ var _a, _b, _c;
2676
+ if (((_a = this.lastValue.query) === null || _a === void 0 ? void 0 : _a.length) || !((_b = this.lastValue.quickFilter) === null || _b === void 0 ? void 0 : _b.default) || (this._base.selectedFiltersAmount && this._base.selectedFiltersAmount > 0) || ((_c = this.lastValue.filters) === null || _c === void 0 ? void 0 : _c.length)) {
2677
+ this._base.emptyStateType = 'filtered';
2678
+ return;
2679
+ }
2680
+ this._base.emptyStateType = 'no_filter';
2681
+ }
2682
+ }
2683
+ TableNgxDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: TableNgxDirective, deps: [{ token: i0.ElementRef }, { token: Table, host: true }], target: i0.ɵɵFactoryTarget.Directive });
2684
+ TableNgxDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.10", 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: [
2685
+ {
2686
+ provide: NG_VALUE_ACCESSOR,
2687
+ useExisting: TableNgxDirective,
2688
+ multi: true,
2689
+ },
2690
+ ], usesInheritance: true, ngImport: i0 });
2691
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: TableNgxDirective, decorators: [{
2692
+ type: Directive,
2693
+ args: [{
2694
+ selector: 'p-table-ngx',
2695
+ host: {
2696
+ '(queryChange)': 'handleChange($event.detail, "query")',
2697
+ '(quickFilter)': 'handleChange($event.detail, "quickFilter")',
2698
+ '(pageChange)': 'handleChange($event.detail, "page")',
2699
+ '(pageSizeChange)': 'handleChange($event.detail, "pageSize")',
2700
+ '(selectedRowsChange)': 'handleChange($event, "selectedRows")',
2701
+ },
2702
+ providers: [
2703
+ {
2704
+ provide: NG_VALUE_ACCESSOR,
2705
+ useExisting: TableNgxDirective,
2706
+ multi: true,
2707
+ },
2708
+ ],
2709
+ }]
2710
+ }], ctorParameters: function () {
2711
+ return [{ type: i0.ElementRef }, { type: Table, decorators: [{
2712
+ type: Host
2713
+ }] }];
2714
+ } });
2715
+
2716
+ class TableDirective extends BaseValueAccessor {
2717
+ constructor(el) {
2718
+ super(el);
2719
+ this.lastValue = {
2720
+ query: '',
2721
+ quickFilter: undefined,
2722
+ page: 1,
2723
+ pageSize: 12,
2724
+ selectedRows: [],
2725
+ };
2726
+ }
2727
+ writeValue(value) {
2728
+ this.el.nativeElement.query = this.lastValue.query = value === null || value === void 0 ? void 0 : value.query;
2729
+ this.lastValue.quickFilter = value === null || value === void 0 ? void 0 : value.quickFilter;
2730
+ this.el.nativeElement.page = this.lastValue.page =
2731
+ (value === null || value === void 0 ? void 0 : value.page) == null ? 1 : value === null || value === void 0 ? void 0 : value.page;
2732
+ this.el.nativeElement.pageSize = this.lastValue.pageSize =
2733
+ (value === null || value === void 0 ? void 0 : value.pageSize) == null ? 12 : value === null || value === void 0 ? void 0 : value.pageSize;
2734
+ this.lastValue.selectedRows =
2735
+ (value === null || value === void 0 ? void 0 : value.selectedRows) == null ? [] : value === null || value === void 0 ? void 0 : value.selectedRows;
2736
+ if (value === null || value === void 0 ? void 0 : value.quickFilter) {
2737
+ this._setActiveQuickFilter(value.quickFilter);
2738
+ }
2739
+ }
2740
+ registerOnChange(fn) {
2741
+ this.onChange = fn;
2742
+ }
2743
+ registerOnTouched(fn) {
2744
+ this.onTouched = fn;
2745
+ }
2746
+ handleChange(value, type) {
2747
+ this.handleChangeEvent(Object.assign(Object.assign({}, this.lastValue), { [type]: value }));
2748
+ if (type === 'quickFilter' && typeof value === 'object') {
2749
+ this._setActiveQuickFilter(value);
2750
+ }
2751
+ }
2752
+ _setActiveQuickFilter(quickFilter) {
2753
+ this.el.nativeElement.activeQuickFilterIdentifier =
2754
+ quickFilter === null || quickFilter === void 0 ? void 0 : quickFilter.identifier;
2755
+ }
2756
+ }
2757
+ TableDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: TableDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
2758
+ TableDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.10", type: TableDirective, selector: "p-table", 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.detail, \"selectedRows\")" } }, providers: [
2759
+ {
2760
+ provide: NG_VALUE_ACCESSOR,
2761
+ useExisting: TableDirective,
2762
+ multi: true,
2763
+ },
2764
+ ], usesInheritance: true, ngImport: i0 });
2765
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: TableDirective, decorators: [{
2766
+ type: Directive,
2767
+ args: [{
2768
+ /* tslint:disable-next-line:directive-selector */
2769
+ selector: 'p-table',
2770
+ host: {
2771
+ '(queryChange)': 'handleChange($event.detail, "query")',
2772
+ '(quickFilter)': 'handleChange($event.detail, "quickFilter")',
2773
+ '(pageChange)': 'handleChange($event.detail, "page")',
2774
+ '(pageSizeChange)': 'handleChange($event.detail, "pageSize")',
2775
+ '(selectedRowsChange)': 'handleChange($event.detail, "selectedRows")',
2776
+ },
2777
+ providers: [
2778
+ {
2779
+ provide: NG_VALUE_ACCESSOR,
2780
+ useExisting: TableDirective,
2781
+ multi: true,
2782
+ },
2783
+ ],
2784
+ }]
2785
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
2786
+
2787
+ const TABLE_DIRECTIVES = [
2788
+ TableFooterDirective,
2789
+ TableHeaderDirective,
2790
+ TableDirective,
2791
+ TableNgxDirective,
2792
+ TableFilterModalDirective,
2793
+ ];
446
2794
 
447
2795
  const DIRECTIVES = [
2796
+ PAccordion,
448
2797
  PAvatar,
2798
+ PAvatarGroup,
449
2799
  PButton,
2800
+ PCardBody,
2801
+ PCardContainer,
2802
+ PCardHeader,
2803
+ PContentSlider,
450
2804
  PCounter,
451
2805
  PDivider,
2806
+ PDropdown,
2807
+ PDropdownMenuContainer,
2808
+ PDropdownMenuItem,
452
2809
  PHelper,
453
2810
  PIcon,
454
2811
  PIllustration,
455
2812
  PInfoPanel,
2813
+ PInputGroup,
2814
+ PLabel,
2815
+ PLayout,
456
2816
  PLoader,
2817
+ PModal,
2818
+ PModalBackdrop,
2819
+ PModalBody,
2820
+ PModalContainer,
2821
+ PModalFooter,
2822
+ PModalHeader,
2823
+ PNavbar,
457
2824
  PNavigationItem,
2825
+ PPageSizeSelect,
458
2826
  PPagination,
459
2827
  PPaginationItem,
2828
+ PProfile,
2829
+ PSegmentContainer,
2830
+ PSegmentItem,
2831
+ PSelect,
2832
+ PSliderIndicator,
2833
+ PStatus,
2834
+ PStepper,
2835
+ PStepperItem,
2836
+ PStepperLine,
2837
+ PTabGroup,
2838
+ PTabItem,
2839
+ PTableContainer,
2840
+ PTableFooter,
2841
+ PTableHeader,
2842
+ PTableRow,
2843
+ PToast,
460
2844
  PTooltip
461
2845
  ];
462
2846
 
2847
+ class StencilModule {
2848
+ }
2849
+ StencilModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: StencilModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2850
+ StencilModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.10", 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] });
2851
+ StencilModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: StencilModule });
2852
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: StencilModule, decorators: [{
2853
+ type: NgModule,
2854
+ args: [{
2855
+ declarations: [...DIRECTIVES],
2856
+ exports: [...DIRECTIVES],
2857
+ }]
2858
+ }] });
2859
+
2860
+ class TableModule {
2861
+ }
2862
+ TableModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: TableModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2863
+ TableModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.10", ngImport: i0, type: TableModule, declarations: [Table, TableCell, TableColumn, TableFooterDirective, TableHeaderDirective, TableDirective, TableNgxDirective, TableFilterModalDirective], imports: [CommonModule, StencilModule], exports: [Table, TableCell, TableColumn, TableFooterDirective, TableHeaderDirective, TableDirective, TableNgxDirective, TableFilterModalDirective] });
2864
+ TableModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: TableModule, imports: [CommonModule, StencilModule] });
2865
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: TableModule, decorators: [{
2866
+ type: NgModule,
2867
+ args: [{
2868
+ imports: [CommonModule, StencilModule],
2869
+ declarations: [...TABLE_COMPONENTS, ...TABLE_DIRECTIVES],
2870
+ exports: [...TABLE_COMPONENTS, ...TABLE_DIRECTIVES],
2871
+ }]
2872
+ }] });
2873
+
2874
+ const SLIDE_IN_BOTTOM_OUT_TOP = trigger('pSlideInBottomOutTop', [
2875
+ transition(':enter', [
2876
+ style({ transform: 'translateY(50%)', opacity: 0 }),
2877
+ animate('200ms ease-in', style({ transform: 'translateX(0%)', opacity: 1 })),
2878
+ ]),
2879
+ transition(':leave', [
2880
+ animate('200ms ease-in', style({ transform: 'translateY(-100%)', opacity: 0 })),
2881
+ ]),
2882
+ ]);
2883
+ const SLIDE_IN_TOP_OUT_BOTTOM = trigger('pSlideInBottomOutTop', [
2884
+ transition(':enter', [
2885
+ style({ transform: 'translateY(-100%)', opacity: 0 }),
2886
+ animate('200ms ease-in', style({ transform: 'translateX(0%)', opacity: 1 })),
2887
+ ]),
2888
+ transition(':leave', [
2889
+ animate('200ms ease-in', style({ transform: 'translateY(50%)', opacity: 0 })),
2890
+ ]),
2891
+ ]);
2892
+
2893
+ var ToastVariants;
2894
+ (function (ToastVariants) {
2895
+ ToastVariants["Success"] = "positive";
2896
+ ToastVariants["Warning"] = "unbiased";
2897
+ ToastVariants["Error"] = "negative";
2898
+ ToastVariants["Positive"] = "positive";
2899
+ ToastVariants["Unbiased"] = "unbiased";
2900
+ ToastVariants["Negative"] = "negative";
2901
+ })(ToastVariants || (ToastVariants = {}));
2902
+
2903
+ class ToastService {
2904
+ constructor() {
2905
+ this._toasts = [];
2906
+ this.toasts$ = new BehaviorSubject(this._toasts);
2907
+ this.defaultOptions = {
2908
+ delay: 5000,
2909
+ dismissOnAction: true,
2910
+ enableAction: true,
2911
+ icon: {
2912
+ variant: 'negative',
2913
+ },
2914
+ };
2915
+ }
2916
+ show(header, content, variant = ToastVariants.Success, options = {}) {
2917
+ options = Object.assign(Object.assign(Object.assign({}, this.defaultOptions), options), { icon: (options === null || options === void 0 ? void 0 : options.icon)
2918
+ ? Object.assign(Object.assign({}, this.defaultOptions.icon), options.icon) : this.defaultOptions.icon });
2919
+ this._toasts.push({
2920
+ header,
2921
+ content,
2922
+ variant,
2923
+ options,
2924
+ });
2925
+ this.toasts$.next(this._toasts);
2926
+ }
2927
+ hide(index) {
2928
+ this._toasts.splice(index, 1);
2929
+ this.toasts$.next(this._toasts);
2930
+ }
2931
+ }
2932
+ ToastService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: ToastService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
2933
+ ToastService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: ToastService, providedIn: 'root' });
2934
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: ToastService, decorators: [{
2935
+ type: Injectable,
2936
+ args: [{
2937
+ providedIn: 'root',
2938
+ }]
2939
+ }] });
2940
+
2941
+ class ToastDirective {
2942
+ constructor() {
2943
+ this.delay = 5000;
2944
+ this.index = 0;
2945
+ this.dismissOnAction = true;
2946
+ this.actionData = {};
2947
+ this.dismiss = new EventEmitter();
2948
+ }
2949
+ ngOnInit() {
2950
+ if (this.delay === 'infinite' || this.delay === 0) {
2951
+ return;
2952
+ }
2953
+ setTimeout(() => this.doDismiss(), this.delay);
2954
+ }
2955
+ onAction() {
2956
+ if (this.dismissOnAction && !this.actionFunc) {
2957
+ return this.doDismiss();
2958
+ }
2959
+ if (this.actionFunc) {
2960
+ this.actionFunc(this, this.actionData);
2961
+ }
2962
+ }
2963
+ doDismiss() {
2964
+ this.dismiss.next(this.index);
2965
+ }
2966
+ }
2967
+ ToastDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: ToastDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
2968
+ ToastDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.10", type: ToastDirective, selector: "p-toast", inputs: { delay: "delay", index: "index", dismissOnAction: "dismissOnAction", actionFunc: "actionFunc", actionData: "actionData" }, outputs: { dismiss: "dismiss" }, host: { listeners: { "action": "onAction()" } }, ngImport: i0 });
2969
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: ToastDirective, decorators: [{
2970
+ type: Directive,
2971
+ args: [{
2972
+ selector: 'p-toast',
2973
+ host: {
2974
+ '(action)': 'onAction()',
2975
+ },
2976
+ }]
2977
+ }], propDecorators: { delay: [{
2978
+ type: Input
2979
+ }], index: [{
2980
+ type: Input
2981
+ }], dismissOnAction: [{
2982
+ type: Input
2983
+ }], actionFunc: [{
2984
+ type: Input
2985
+ }], actionData: [{
2986
+ type: Input
2987
+ }], dismiss: [{
2988
+ type: Output
2989
+ }] } });
2990
+
2991
+ /* top-0 bottom-0 left-0 right-0 */
2992
+ let ToastContainer = class ToastContainer {
2993
+ constructor(r, z, _toastService) {
2994
+ this.z = z;
2995
+ this._toastService = _toastService;
2996
+ this.toasts$ = this._toastService.toasts$.pipe(map$1((arr) => arr.reverse()));
2997
+ this.el = r.nativeElement;
2998
+ }
2999
+ dismiss(index) {
3000
+ this._toastService.hide(index);
3001
+ }
3002
+ };
3003
+ ToastContainer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: ToastContainer, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }, { token: ToastService }], target: i0.ɵɵFactoryTarget.Component });
3004
+ ToastContainer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.10", 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 [actionFunc]=\"toast.options.action\"\n [actionData]=\"toast.options.actionData\"\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", "actionFunc", "actionData"], outputs: ["dismiss"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }], animations: [SLIDE_IN_TOP_OUT_BOTTOM], changeDetection: i0.ChangeDetectionStrategy.OnPush });
3005
+ ToastContainer = __decorate([
3006
+ ProxyCmp({
3007
+ defineCustomElementFn: undefined,
3008
+ inputs: ['placement'],
3009
+ })
3010
+ ], ToastContainer);
3011
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: ToastContainer, decorators: [{
3012
+ type: Component,
3013
+ args: [{ selector: 'p-toast-container', changeDetection: ChangeDetectionStrategy.OnPush, inputs: ['placement'], animations: [SLIDE_IN_TOP_OUT_BOTTOM], 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 [actionFunc]=\"toast.options.action\"\n [actionData]=\"toast.options.actionData\"\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" }]
3014
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.NgZone }, { type: ToastService }]; } });
3015
+
3016
+ const TOAST_COMPONENTS = [ToastContainer];
3017
+
3018
+ const TOAST_DIRECTIVES = [ToastDirective];
3019
+
3020
+ const TOAST_SERVICES = [ToastService];
3021
+
3022
+ class ToastModule {
3023
+ }
3024
+ ToastModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: ToastModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
3025
+ ToastModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.10", ngImport: i0, type: ToastModule, declarations: [ToastContainer, ToastDirective], imports: [CommonModule, StencilModule], exports: [ToastContainer, ToastDirective] });
3026
+ ToastModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: ToastModule, imports: [CommonModule, StencilModule] });
3027
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: ToastModule, decorators: [{
3028
+ type: NgModule,
3029
+ args: [{
3030
+ imports: [CommonModule, StencilModule],
3031
+ declarations: [...TOAST_COMPONENTS, ...TOAST_DIRECTIVES],
3032
+ exports: [...TOAST_COMPONENTS, ...TOAST_DIRECTIVES],
3033
+ }]
3034
+ }] });
3035
+
3036
+ const MODULES = [TableModule, ToastModule];
3037
+
3038
+ class CustomCurrencyPipe {
3039
+ constructor(_currencyPipe) {
3040
+ this._currencyPipe = _currencyPipe;
3041
+ }
3042
+ transform(value, currencyCode = 'EUR', display = 'symbol', digitsInfo = '1.2-2', locale = 'nl') {
3043
+ return this._currencyPipe.transform(value, currencyCode, display, digitsInfo, locale);
3044
+ }
3045
+ }
3046
+ CustomCurrencyPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: CustomCurrencyPipe, deps: [{ token: i1.CurrencyPipe }], target: i0.ɵɵFactoryTarget.Pipe });
3047
+ CustomCurrencyPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.2.10", ngImport: i0, type: CustomCurrencyPipe, name: "pcurrency" });
3048
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: CustomCurrencyPipe, decorators: [{
3049
+ type: Pipe,
3050
+ args: [{
3051
+ name: 'pcurrency',
3052
+ }]
3053
+ }], ctorParameters: function () { return [{ type: i1.CurrencyPipe }]; } });
3054
+
3055
+ class CustomDatePipe {
3056
+ constructor(_datePipe) {
3057
+ this._datePipe = _datePipe;
3058
+ }
3059
+ transform(value, format) {
3060
+ return this._datePipe.transform(value, format);
3061
+ }
3062
+ }
3063
+ CustomDatePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: CustomDatePipe, deps: [{ token: i1.DatePipe }], target: i0.ɵɵFactoryTarget.Pipe });
3064
+ CustomDatePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.2.10", ngImport: i0, type: CustomDatePipe, name: "pdate" });
3065
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: CustomDatePipe, decorators: [{
3066
+ type: Pipe,
3067
+ args: [{
3068
+ name: 'pdate',
3069
+ }]
3070
+ }], ctorParameters: function () { return [{ type: i1.DatePipe }]; } });
3071
+
3072
+ class SafePipe {
3073
+ constructor(sanitizer) {
3074
+ this.sanitizer = sanitizer;
3075
+ }
3076
+ transform(value, type) {
3077
+ switch (type) {
3078
+ case 'html':
3079
+ return this.sanitizer.bypassSecurityTrustHtml(value);
3080
+ case 'style':
3081
+ return this.sanitizer.bypassSecurityTrustStyle(value);
3082
+ case 'script':
3083
+ return this.sanitizer.bypassSecurityTrustScript(value);
3084
+ case 'url':
3085
+ return this.sanitizer.bypassSecurityTrustUrl(value);
3086
+ case 'resourceUrl':
3087
+ return this.sanitizer.bypassSecurityTrustResourceUrl(value);
3088
+ default:
3089
+ throw new Error(`Invalid safe type specified: ${type}`);
3090
+ }
3091
+ }
3092
+ }
3093
+ SafePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: SafePipe, deps: [{ token: i1$1.DomSanitizer }], target: i0.ɵɵFactoryTarget.Pipe });
3094
+ SafePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.2.10", ngImport: i0, type: SafePipe, name: "psafe" });
3095
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: SafePipe, decorators: [{
3096
+ type: Pipe,
3097
+ args: [{
3098
+ name: 'psafe',
3099
+ }]
3100
+ }], ctorParameters: function () { return [{ type: i1$1.DomSanitizer }]; } });
3101
+
3102
+ const PIPES = [CustomCurrencyPipe, CustomDatePipe, SafePipe];
3103
+
3104
+ const NGX_PIPES = [DatePipe, CurrencyPipe];
463
3105
  class PaperlessModule {
3106
+ static forRoot() {
3107
+ return {
3108
+ ngModule: PaperlessModule,
3109
+ providers: [...TOAST_SERVICES],
3110
+ };
3111
+ }
464
3112
  }
465
- PaperlessModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PaperlessModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
466
- PaperlessModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PaperlessModule, declarations: [PAvatar, PButton, PCounter, PDivider, PHelper, PIcon, PIllustration, PInfoPanel, PLoader, PNavigationItem, PPagination, PPaginationItem, PTooltip, PaginationDirective], exports: [PAvatar, PButton, PCounter, PDivider, PHelper, PIcon, PIllustration, PInfoPanel, PLoader, PNavigationItem, PPagination, PPaginationItem, PTooltip, PaginationDirective] });
467
- PaperlessModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PaperlessModule });
468
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PaperlessModule, decorators: [{
3113
+ PaperlessModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: PaperlessModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
3114
+ PaperlessModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.10", 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] });
3115
+ PaperlessModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: PaperlessModule, providers: [...NGX_PIPES, ...PIPES], imports: [CommonModule, StencilModule, MODULES, StencilModule, TableModule, ToastModule] });
3116
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: PaperlessModule, decorators: [{
469
3117
  type: NgModule,
470
3118
  args: [{
471
- declarations: [...DIRECTIVES, ...CUSTOM_DIRECTIVES],
472
- exports: [...DIRECTIVES, ...CUSTOM_DIRECTIVES],
3119
+ imports: [CommonModule, StencilModule, ...MODULES],
3120
+ declarations: [...DIRECTIVES$1, ...PIPES],
3121
+ exports: [StencilModule, ...MODULES, ...DIRECTIVES$1, ...PIPES],
3122
+ providers: [...NGX_PIPES, ...PIPES],
473
3123
  }]
474
3124
  }] });
475
3125
 
@@ -481,5 +3131,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
481
3131
  * Generated bundle index. Do not edit.
482
3132
  */
483
3133
 
484
- export { CUSTOM_DIRECTIVES, PAvatar, PButton, PCounter, PDivider, PHelper, PIcon, PIllustration, PInfoPanel, PLoader, PNavigationItem, PPagination, PPaginationItem, PTooltip, PaginationDirective, PaperlessModule };
3134
+ 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, TableFilterModalDirective, TableFooterDirective, TableHeaderDirective, TableModule, TableNgxDirective, ToastContainer, ToastDirective, ToastModule, ToastService, ToastVariants };
485
3135
  //# sourceMappingURL=paperless-angular.mjs.map