@paperless/angular 0.1.0-alpha.42 → 0.1.0-alpha.420

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