@paperless/angular 0.1.0-alpha.37 → 0.1.0-alpha.371

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