@paperless/angular 0.1.0-alpha.99 → 1.3.0

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