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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (116) hide show
  1. package/README.md +9 -1
  2. package/esm2020/lib/animations/fade.mjs +22 -0
  3. package/esm2020/lib/animations/index.mjs +3 -0
  4. package/esm2020/lib/animations/slide.mjs +20 -0
  5. package/esm2020/lib/base/form.component.mjs +105 -0
  6. package/esm2020/lib/base/index.mjs +3 -1
  7. package/esm2020/lib/base/upload.component.mjs +57 -0
  8. package/esm2020/lib/base/value-accessor.mjs +8 -8
  9. package/esm2020/lib/directives/index.mjs +15 -4
  10. package/esm2020/lib/directives/p-datepicker.directive.mjs +37 -0
  11. package/esm2020/lib/directives/p-page-size-select.directive.mjs +42 -0
  12. package/esm2020/lib/directives/p-pagination.directive.mjs +42 -0
  13. package/esm2020/lib/directives/p-select.directive.mjs +37 -0
  14. package/esm2020/lib/modules/index.mjs +8 -0
  15. package/esm2020/lib/modules/overlay/index.mjs +4 -0
  16. package/esm2020/lib/modules/overlay/overlay.module.mjs +38 -0
  17. package/esm2020/lib/modules/overlay/overlay.ref.mjs +12 -0
  18. package/esm2020/lib/modules/overlay/services/index.mjs +4 -0
  19. package/esm2020/lib/modules/overlay/services/overlay.service.mjs +74 -0
  20. package/esm2020/lib/modules/table/base/index.mjs +2 -0
  21. package/esm2020/lib/modules/table/base/table.component.mjs +201 -0
  22. package/esm2020/lib/modules/table/components/index.mjs +8 -0
  23. package/esm2020/lib/modules/table/components/table/constants.mjs +3 -0
  24. package/esm2020/lib/modules/table/components/table/table.component.mjs +679 -0
  25. package/esm2020/lib/modules/table/components/table-cell/table-cell.component.mjs +167 -0
  26. package/esm2020/lib/modules/table/components/table-column/table-column.component.mjs +37 -0
  27. package/esm2020/lib/modules/table/directives/index.mjs +21 -0
  28. package/esm2020/lib/modules/table/directives/p-table-custom-filter.directive.mjs +13 -0
  29. package/esm2020/lib/modules/table/directives/p-table-filter-modal.directive.mjs +13 -0
  30. package/esm2020/lib/modules/table/directives/p-table-footer.directive.mjs +52 -0
  31. package/esm2020/lib/modules/table/directives/p-table-header.directive.mjs +60 -0
  32. package/esm2020/lib/modules/table/directives/p-table-ngx.directive.mjs +121 -0
  33. package/esm2020/lib/modules/table/directives/p-table.directive.mjs +78 -0
  34. package/esm2020/lib/modules/table/index.mjs +6 -0
  35. package/esm2020/lib/modules/table/table.module.mjs +29 -0
  36. package/esm2020/lib/modules/table/utils.mjs +25 -0
  37. package/esm2020/lib/modules/toast/components/index.mjs +4 -0
  38. package/esm2020/lib/modules/toast/components/toast-container/toast-container.component.mjs +36 -0
  39. package/esm2020/lib/modules/toast/directives/index.mjs +4 -0
  40. package/esm2020/lib/modules/toast/directives/toast.directive.mjs +51 -0
  41. package/esm2020/lib/modules/toast/index.mjs +6 -0
  42. package/esm2020/lib/modules/toast/services/index.mjs +4 -0
  43. package/esm2020/lib/modules/toast/services/toast.service.mjs +53 -0
  44. package/esm2020/lib/modules/toast/toast.module.mjs +22 -0
  45. package/esm2020/lib/modules/toast/types.mjs +10 -0
  46. package/esm2020/lib/paperless.module.mjs +32 -11
  47. package/esm2020/lib/pipes/currency.pipe.mjs +20 -0
  48. package/esm2020/lib/pipes/date.pipe.mjs +20 -0
  49. package/esm2020/lib/pipes/index.mjs +8 -0
  50. package/esm2020/lib/pipes/safe.pipe.mjs +33 -0
  51. package/esm2020/lib/stencil/angular-component-lib/utils.mjs +6 -8
  52. package/esm2020/lib/stencil/components.mjs +1012 -122
  53. package/esm2020/lib/stencil/index.mjs +36 -1
  54. package/esm2020/lib/stencil.module.mjs +17 -0
  55. package/esm2020/public-api.mjs +6 -1
  56. package/fesm2015/paperless-angular.mjs +3245 -279
  57. package/fesm2015/paperless-angular.mjs.map +1 -1
  58. package/fesm2020/paperless-angular.mjs +3258 -279
  59. package/fesm2020/paperless-angular.mjs.map +1 -1
  60. package/lib/animations/fade.d.ts +2 -0
  61. package/lib/animations/index.d.ts +2 -0
  62. package/lib/animations/slide.d.ts +2 -0
  63. package/lib/base/form.component.d.ts +15 -0
  64. package/lib/base/index.d.ts +2 -0
  65. package/lib/base/upload.component.d.ts +16 -0
  66. package/lib/base/value-accessor.d.ts +6 -6
  67. package/lib/directives/index.d.ts +6 -3
  68. package/lib/directives/p-datepicker.directive.d.ts +9 -0
  69. package/lib/directives/p-page-size-select.directive.d.ts +10 -0
  70. package/lib/directives/{pagination.directive.d.ts → p-pagination.directive.d.ts} +3 -3
  71. package/lib/directives/p-select.directive.d.ts +9 -0
  72. package/lib/modules/index.d.ts +5 -0
  73. package/lib/modules/overlay/index.d.ts +3 -0
  74. package/lib/modules/overlay/overlay.module.d.ts +12 -0
  75. package/lib/modules/overlay/overlay.ref.d.ts +9 -0
  76. package/lib/modules/overlay/services/index.d.ts +3 -0
  77. package/lib/modules/overlay/services/overlay.service.d.ts +24 -0
  78. package/lib/modules/table/base/index.d.ts +1 -0
  79. package/lib/modules/table/base/table.component.d.ts +58 -0
  80. package/lib/modules/table/components/index.d.ts +7 -0
  81. package/lib/modules/table/components/table/constants.d.ts +2 -0
  82. package/lib/modules/table/components/table/table.component.d.ts +248 -0
  83. package/lib/modules/table/components/table-cell/table-cell.component.d.ts +45 -0
  84. package/lib/modules/table/components/table-column/table-column.component.d.ts +17 -0
  85. package/lib/modules/table/directives/index.d.ts +12 -0
  86. package/lib/modules/table/directives/p-table-custom-filter.directive.d.ts +5 -0
  87. package/lib/modules/table/directives/p-table-filter-modal.directive.d.ts +5 -0
  88. package/lib/modules/table/directives/p-table-footer.directive.d.ts +11 -0
  89. package/lib/modules/table/directives/p-table-header.directive.d.ts +17 -0
  90. package/lib/modules/table/directives/p-table-ngx.directive.d.ts +27 -0
  91. package/lib/modules/table/directives/p-table.directive.d.ts +22 -0
  92. package/lib/modules/table/index.d.ts +5 -0
  93. package/lib/modules/table/table.module.d.ts +17 -0
  94. package/lib/modules/table/utils.d.ts +10 -0
  95. package/lib/modules/toast/components/index.d.ts +3 -0
  96. package/lib/modules/toast/components/toast-container/toast-container.component.d.ts +17 -0
  97. package/lib/modules/toast/directives/index.d.ts +3 -0
  98. package/lib/modules/toast/directives/toast.directive.d.ts +16 -0
  99. package/lib/modules/toast/index.d.ts +5 -0
  100. package/lib/modules/toast/services/index.d.ts +3 -0
  101. package/lib/modules/toast/services/toast.service.d.ts +12 -0
  102. package/lib/modules/toast/toast.module.d.ts +10 -0
  103. package/lib/modules/toast/types.d.ts +31 -0
  104. package/lib/paperless.module.d.ts +15 -3
  105. package/lib/pipes/currency.pipe.d.ts +10 -0
  106. package/lib/pipes/date.pipe.d.ts +10 -0
  107. package/lib/pipes/index.d.ts +7 -0
  108. package/lib/pipes/safe.pipe.d.ts +10 -0
  109. package/lib/stencil/components.d.ts +468 -49
  110. package/lib/stencil/index.d.ts +1 -1
  111. package/lib/stencil.module.d.ts +7 -0
  112. package/package.json +8 -6
  113. package/paperless.css +436 -0
  114. package/public-api.d.ts +5 -0
  115. package/esm2020/lib/directives/pagination.directive.mjs +0 -42
  116. /package/{paperless-angular.d.ts → index.d.ts} +0 -0
@@ -1,10 +1,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.6", ngImport: i0, type: BaseFormComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
154
+ BaseFormComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.6", type: BaseFormComponent, selector: "ng-component", ngImport: i0, template: ``, isInline: true });
155
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: BaseFormComponent, decorators: [{
156
+ type: Component,
157
+ args: [{
158
+ template: ``,
159
+ }]
160
+ }] });
161
+
162
+ class BaseUploadComponent {
163
+ constructor() {
164
+ this.uploaded = false;
165
+ this.fileChange = new EventEmitter();
166
+ this._loading = false;
167
+ }
168
+ set loading(value) {
169
+ this._loading = value;
170
+ }
171
+ get loading() {
172
+ return this._loading;
173
+ }
174
+ onChange($event) {
175
+ 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.6", ngImport: i0, type: BaseUploadComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
200
+ BaseUploadComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.6", type: BaseUploadComponent, selector: "ng-component", inputs: { fileId: "fileId", uploaded: "uploaded", loading: "loading" }, outputs: { fileChange: "fileChange" }, viewQueries: [{ propertyName: "uploaderInput", first: true, predicate: ["uploaderInput"], descendants: true }], ngImport: i0, template: ``, isInline: true });
201
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", 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.6", ngImport: i0, type: BaseValueAccessor, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
250
+ BaseValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.6", type: BaseValueAccessor, host: { listeners: { "focusout": "_handleBlurEvent()" } }, ngImport: i0 });
251
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", 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,104 @@ 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
+ this.el.nativeElement.value = this.lastValue = value === null ? JSON.parse(value) : value;
265
+ }
266
+ }
267
+ DatepickerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: DatepickerDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
268
+ DatepickerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.6", type: DatepickerDirective, selector: "p-datepicker", host: { listeners: { "valueChange": "handleChangeEvent($event.detail)" } }, providers: [
269
+ {
270
+ provide: NG_VALUE_ACCESSOR,
271
+ useExisting: DatepickerDirective,
272
+ multi: true,
273
+ },
274
+ ], usesInheritance: true, ngImport: i0 });
275
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: DatepickerDirective, decorators: [{
276
+ type: Directive,
277
+ args: [{
278
+ selector: 'p-datepicker',
279
+ host: {
280
+ '(valueChange)': 'handleChangeEvent($event.detail)',
281
+ },
282
+ providers: [
283
+ {
284
+ provide: NG_VALUE_ACCESSOR,
285
+ useExisting: DatepickerDirective,
286
+ multi: true,
287
+ },
288
+ ],
289
+ }]
290
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
291
+
292
+ class PageSizeSelectDirective extends BaseValueAccessor {
48
293
  constructor(el) {
49
294
  super(el);
50
295
  }
51
296
  writeValue(value) {
52
297
  this.el.nativeElement.page = this.lastValue =
53
- value == null ? '' : value;
298
+ value == null ? 12 : value;
299
+ }
300
+ registerOnChange(fn) {
301
+ super.registerOnChange((value) => fn(parseInt(value, 10)));
302
+ }
303
+ }
304
+ PageSizeSelectDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PageSizeSelectDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
305
+ PageSizeSelectDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.6", type: PageSizeSelectDirective, selector: "p-page-size-select", host: { listeners: { "sizeChange": "handleChangeEvent($event.detail)" } }, providers: [
306
+ {
307
+ provide: NG_VALUE_ACCESSOR,
308
+ useExisting: PageSizeSelectDirective,
309
+ multi: true,
310
+ },
311
+ ], usesInheritance: true, ngImport: i0 });
312
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PageSizeSelectDirective, decorators: [{
313
+ type: Directive,
314
+ args: [{
315
+ /* tslint:disable-next-line:directive-selector */
316
+ selector: 'p-page-size-select',
317
+ host: {
318
+ '(sizeChange)': 'handleChangeEvent($event.detail)',
319
+ },
320
+ providers: [
321
+ {
322
+ provide: NG_VALUE_ACCESSOR,
323
+ useExisting: PageSizeSelectDirective,
324
+ multi: true,
325
+ },
326
+ ],
327
+ }]
328
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
329
+
330
+ class PaginationDirective extends BaseValueAccessor {
331
+ constructor(el) {
332
+ super(el);
333
+ }
334
+ writeValue(value) {
335
+ this.el.nativeElement.page = this.lastValue =
336
+ value == null ? 1 : value;
54
337
  }
55
338
  registerOnChange(fn) {
56
- super.registerOnChange((value) => fn(value === '' ? null : parseInt(value, 10)));
339
+ super.registerOnChange((value) => fn(parseInt(value, 10)));
57
340
  }
58
341
  }
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: [
342
+ PaginationDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PaginationDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
343
+ PaginationDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.6", type: PaginationDirective, selector: "p-pagination", host: { listeners: { "pageChange": "handleChangeEvent($event.detail)" } }, providers: [
61
344
  {
62
345
  provide: NG_VALUE_ACCESSOR,
63
346
  useExisting: PaginationDirective,
64
347
  multi: true,
65
348
  },
66
349
  ], usesInheritance: true, ngImport: i0 });
67
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PaginationDirective, decorators: [{
350
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PaginationDirective, decorators: [{
68
351
  type: Directive,
69
352
  args: [{
70
353
  /* tslint:disable-next-line:directive-selector */
71
354
  selector: 'p-pagination',
72
355
  host: {
73
- '(pageChange)': 'handleChangeEvent($event.target.page)',
356
+ '(pageChange)': 'handleChangeEvent($event.detail)',
74
357
  },
75
358
  providers: [
76
359
  {
@@ -82,25 +365,63 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
82
365
  }]
83
366
  }], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
84
367
 
85
- const CUSTOM_DIRECTIVES = [PaginationDirective];
368
+ class SelectDirective extends BaseValueAccessor {
369
+ constructor(el) {
370
+ super(el);
371
+ }
372
+ writeValue(value) {
373
+ this.el.nativeElement.value = this.lastValue = value;
374
+ }
375
+ }
376
+ SelectDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: SelectDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
377
+ SelectDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.6", type: SelectDirective, selector: "p-select", host: { listeners: { "valueChange": "handleChangeEvent($event.detail)" } }, providers: [
378
+ {
379
+ provide: NG_VALUE_ACCESSOR,
380
+ useExisting: SelectDirective,
381
+ multi: true,
382
+ },
383
+ ], usesInheritance: true, ngImport: i0 });
384
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: SelectDirective, decorators: [{
385
+ type: Directive,
386
+ args: [{
387
+ selector: 'p-select',
388
+ host: {
389
+ '(valueChange)': 'handleChangeEvent($event.detail)',
390
+ },
391
+ providers: [
392
+ {
393
+ provide: NG_VALUE_ACCESSOR,
394
+ useExisting: SelectDirective,
395
+ multi: true,
396
+ },
397
+ ],
398
+ }]
399
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
400
+
401
+ const DIRECTIVES$1 = [
402
+ PaginationDirective,
403
+ PageSizeSelectDirective,
404
+ SelectDirective,
405
+ DatepickerDirective,
406
+ ];
86
407
 
87
408
  /* eslint-disable */
88
409
  const proxyInputs = (Cmp, inputs) => {
89
410
  const Prototype = Cmp.prototype;
90
- inputs.forEach(item => {
411
+ inputs.forEach((item) => {
91
412
  Object.defineProperty(Prototype, item, {
92
413
  get() {
93
414
  return this.el[item];
94
415
  },
95
416
  set(val) {
96
417
  this.z.runOutsideAngular(() => (this.el[item] = val));
97
- }
418
+ },
98
419
  });
99
420
  });
100
421
  };
101
422
  const proxyMethods = (Cmp, methods) => {
102
423
  const Prototype = Cmp.prototype;
103
- methods.forEach(methodName => {
424
+ methods.forEach((methodName) => {
104
425
  Prototype[methodName] = function () {
105
426
  const args = arguments;
106
427
  return this.z.runOutsideAngular(() => this.el[methodName].apply(this.el, args));
@@ -108,12 +429,10 @@ const proxyMethods = (Cmp, methods) => {
108
429
  });
109
430
  };
110
431
  const proxyOutputs = (instance, el, events) => {
111
- events.forEach(eventName => instance[eventName] = fromEvent(el, eventName));
432
+ events.forEach((eventName) => (instance[eventName] = fromEvent(el, eventName)));
112
433
  };
113
434
  const defineCustomElement = (tagName, customElement) => {
114
- if (customElement !== undefined &&
115
- typeof customElements !== 'undefined' &&
116
- !customElements.get(tagName)) {
435
+ if (customElement !== undefined && typeof customElements !== 'undefined' && !customElements.get(tagName)) {
117
436
  customElements.define(tagName, customElement);
118
437
  }
119
438
  };
@@ -135,563 +454,3210 @@ function ProxyCmp(opts) {
135
454
  return decorator;
136
455
  }
137
456
 
138
- let PAvatar = class PAvatar {
457
+ let PAccordion = class PAccordion {
139
458
  constructor(c, r, z) {
140
459
  this.z = z;
141
460
  c.detach();
142
461
  this.el = r.nativeElement;
462
+ proxyOutputs(this, this.el, ['isOpen']);
143
463
  }
144
464
  };
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([
465
+ PAccordion.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PAccordion, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
466
+ PAccordion.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.6", type: PAccordion, selector: "p-accordion", inputs: { closeable: "closeable", header: "header", open: "open", openable: "openable" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
467
+ PAccordion = __decorate([
148
468
  ProxyCmp({
149
- defineCustomElementFn: undefined,
150
- inputs: ['defaultImage', 'size', 'src', 'variant']
469
+ inputs: ['closeable', 'header', 'open', 'openable']
151
470
  })
152
- ], PAvatar);
153
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PAvatar, decorators: [{
471
+ ], PAccordion);
472
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PAccordion, decorators: [{
154
473
  type: Component,
155
474
  args: [{
156
- selector: 'p-avatar',
475
+ selector: 'p-accordion',
157
476
  changeDetection: ChangeDetectionStrategy.OnPush,
158
477
  template: '<ng-content></ng-content>',
159
- inputs: ['defaultImage', 'size', 'src', 'variant']
478
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
479
+ inputs: ['closeable', 'header', 'open', 'openable'],
160
480
  }]
161
481
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
162
- let PButton = class PButton {
482
+ let PAttachment = class PAttachment {
163
483
  constructor(c, r, z) {
164
484
  this.z = z;
165
485
  c.detach();
166
486
  this.el = r.nativeElement;
167
- proxyOutputs(this, this.el, ['onClick']);
487
+ proxyOutputs(this, this.el, ['download', 'delete']);
168
488
  }
169
489
  };
170
- PButton.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PButton, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
171
- PButton.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: PButton, selector: "p-button", inputs: { chevron: "chevron", disabled: "disabled", href: "href", icon: "icon", iconFlip: "iconFlip", iconOnly: "iconOnly", iconPosition: "iconPosition", iconRotate: "iconRotate", inheritText: "inheritText", loading: "loading", size: "size", target: "target", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
172
- PButton = __decorate([
490
+ PAttachment.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PAttachment, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
491
+ PAttachment.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.6", type: PAttachment, selector: "p-attachment", inputs: { downloading: "downloading", error: "error", loading: "loading", mode: "mode" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
492
+ PAttachment = __decorate([
173
493
  ProxyCmp({
174
- defineCustomElementFn: undefined,
175
- inputs: ['chevron', 'disabled', 'href', 'icon', 'iconFlip', 'iconOnly', 'iconPosition', 'iconRotate', 'inheritText', 'loading', 'size', 'target', 'variant']
494
+ inputs: ['downloading', 'error', 'loading', 'mode']
176
495
  })
177
- ], PButton);
178
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PButton, decorators: [{
496
+ ], PAttachment);
497
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PAttachment, decorators: [{
179
498
  type: Component,
180
499
  args: [{
181
- selector: 'p-button',
500
+ selector: 'p-attachment',
182
501
  changeDetection: ChangeDetectionStrategy.OnPush,
183
502
  template: '<ng-content></ng-content>',
184
- inputs: ['chevron', 'disabled', 'href', 'icon', 'iconFlip', 'iconOnly', 'iconPosition', 'iconRotate', 'inheritText', 'loading', 'size', 'target', 'variant']
503
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
504
+ inputs: ['downloading', 'error', 'loading', 'mode'],
185
505
  }]
186
506
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
187
- let PCardBody = class PCardBody {
507
+ let PAvatar = class PAvatar {
188
508
  constructor(c, r, z) {
189
509
  this.z = z;
190
510
  c.detach();
191
511
  this.el = r.nativeElement;
192
512
  }
193
513
  };
194
- PCardBody.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PCardBody, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
195
- PCardBody.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: PCardBody, selector: "p-card-body", inputs: { inheritText: "inheritText" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
196
- PCardBody = __decorate([
514
+ PAvatar.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PAvatar, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
515
+ PAvatar.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.6", type: PAvatar, selector: "p-avatar", inputs: { defaultImage: "defaultImage", size: "size", src: "src", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
516
+ PAvatar = __decorate([
197
517
  ProxyCmp({
198
- defineCustomElementFn: undefined,
199
- inputs: ['inheritText']
518
+ inputs: ['defaultImage', 'size', 'src', 'variant']
200
519
  })
201
- ], PCardBody);
202
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PCardBody, decorators: [{
520
+ ], PAvatar);
521
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PAvatar, decorators: [{
203
522
  type: Component,
204
523
  args: [{
205
- selector: 'p-card-body',
524
+ selector: 'p-avatar',
206
525
  changeDetection: ChangeDetectionStrategy.OnPush,
207
526
  template: '<ng-content></ng-content>',
208
- inputs: ['inheritText']
527
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
528
+ inputs: ['defaultImage', 'size', 'src', 'variant'],
209
529
  }]
210
530
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
211
- let PCardContainer = class PCardContainer {
531
+ let PAvatarGroup = class PAvatarGroup {
212
532
  constructor(c, r, z) {
213
533
  this.z = z;
214
534
  c.detach();
215
535
  this.el = r.nativeElement;
216
536
  }
217
537
  };
218
- PCardContainer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PCardContainer, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
219
- PCardContainer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: PCardContainer, selector: "p-card-container", inputs: { hoverable: "hoverable" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
220
- PCardContainer = __decorate([
538
+ PAvatarGroup.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PAvatarGroup, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
539
+ PAvatarGroup.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.6", type: PAvatarGroup, selector: "p-avatar-group", inputs: { extra: "extra" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
540
+ PAvatarGroup = __decorate([
221
541
  ProxyCmp({
222
- defineCustomElementFn: undefined,
223
- inputs: ['hoverable']
542
+ inputs: ['extra']
224
543
  })
225
- ], PCardContainer);
226
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PCardContainer, decorators: [{
544
+ ], PAvatarGroup);
545
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PAvatarGroup, decorators: [{
227
546
  type: Component,
228
547
  args: [{
229
- selector: 'p-card-container',
548
+ selector: 'p-avatar-group',
230
549
  changeDetection: ChangeDetectionStrategy.OnPush,
231
550
  template: '<ng-content></ng-content>',
232
- inputs: ['hoverable']
551
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
552
+ inputs: ['extra'],
233
553
  }]
234
554
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
235
- let PCardHeader = class PCardHeader {
555
+ let PBackdrop = class PBackdrop {
236
556
  constructor(c, r, z) {
237
557
  this.z = z;
238
558
  c.detach();
239
559
  this.el = r.nativeElement;
560
+ proxyOutputs(this, this.el, ['clicked']);
240
561
  }
241
562
  };
242
- PCardHeader.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PCardHeader, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
243
- PCardHeader.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: PCardHeader, selector: "p-card-header", inputs: { arrow: "arrow", title: "title" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
244
- PCardHeader = __decorate([
563
+ PBackdrop.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PBackdrop, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
564
+ PBackdrop.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.6", type: PBackdrop, selector: "p-backdrop", inputs: { applyBlur: "applyBlur", closing: "closing", scrollLock: "scrollLock", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
565
+ PBackdrop = __decorate([
245
566
  ProxyCmp({
246
- defineCustomElementFn: undefined,
247
- inputs: ['arrow', 'title']
567
+ inputs: ['applyBlur', 'closing', 'scrollLock', 'variant']
248
568
  })
249
- ], PCardHeader);
250
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PCardHeader, decorators: [{
569
+ ], PBackdrop);
570
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PBackdrop, decorators: [{
251
571
  type: Component,
252
572
  args: [{
253
- selector: 'p-card-header',
573
+ selector: 'p-backdrop',
254
574
  changeDetection: ChangeDetectionStrategy.OnPush,
255
575
  template: '<ng-content></ng-content>',
256
- inputs: ['arrow', 'title']
576
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
577
+ inputs: ['applyBlur', 'closing', 'scrollLock', 'variant'],
257
578
  }]
258
579
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
259
- let PCounter = class PCounter {
580
+ let PButton = class PButton {
260
581
  constructor(c, r, z) {
261
582
  this.z = z;
262
583
  c.detach();
263
584
  this.el = r.nativeElement;
585
+ proxyOutputs(this, this.el, ['onClick']);
264
586
  }
265
587
  };
266
- PCounter.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PCounter, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
267
- PCounter.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: PCounter, selector: "p-counter", ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
268
- PCounter = __decorate([
588
+ PButton.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PButton, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
589
+ PButton.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.6", type: PButton, selector: "p-button", inputs: { chevron: "chevron", chevronPosition: "chevronPosition", disabled: "disabled", href: "href", icon: "icon", iconFlip: "iconFlip", iconOnly: "iconOnly", iconPosition: "iconPosition", iconRotate: "iconRotate", inheritText: "inheritText", loading: "loading", size: "size", target: "target", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
590
+ PButton = __decorate([
269
591
  ProxyCmp({
270
- defineCustomElementFn: undefined
592
+ inputs: ['chevron', 'chevronPosition', 'disabled', 'href', 'icon', 'iconFlip', 'iconOnly', 'iconPosition', 'iconRotate', 'inheritText', 'loading', 'size', 'target', 'variant']
271
593
  })
272
- ], PCounter);
273
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PCounter, decorators: [{
594
+ ], PButton);
595
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PButton, decorators: [{
274
596
  type: Component,
275
597
  args: [{
276
- selector: 'p-counter',
598
+ selector: 'p-button',
277
599
  changeDetection: ChangeDetectionStrategy.OnPush,
278
- template: '<ng-content></ng-content>'
600
+ template: '<ng-content></ng-content>',
601
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
602
+ inputs: ['chevron', 'chevronPosition', 'disabled', 'href', 'icon', 'iconFlip', 'iconOnly', 'iconPosition', 'iconRotate', 'inheritText', 'loading', 'size', 'target', 'variant'],
279
603
  }]
280
604
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
281
- let PDivider = class PDivider {
605
+ let PCalendar = class PCalendar {
282
606
  constructor(c, r, z) {
283
607
  this.z = z;
284
608
  c.detach();
285
609
  this.el = r.nativeElement;
610
+ proxyOutputs(this, this.el, ['valueChange']);
286
611
  }
287
612
  };
288
- PDivider.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PDivider, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
289
- PDivider.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: PDivider, selector: "p-divider", ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
290
- PDivider = __decorate([
613
+ PCalendar.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PCalendar, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
614
+ PCalendar.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.6", type: PCalendar, selector: "p-calendar", inputs: { disableWeekends: "disableWeekends", disabledDates: "disabledDates", maxDate: "maxDate", minDate: "minDate", mode: "mode", preselectToday: "preselectToday", value: "value", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
615
+ PCalendar = __decorate([
291
616
  ProxyCmp({
292
- defineCustomElementFn: undefined
617
+ inputs: ['disableWeekends', 'disabledDates', 'maxDate', 'minDate', 'mode', 'preselectToday', 'value', 'variant']
293
618
  })
294
- ], PDivider);
295
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PDivider, decorators: [{
619
+ ], PCalendar);
620
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PCalendar, decorators: [{
296
621
  type: Component,
297
622
  args: [{
298
- selector: 'p-divider',
623
+ selector: 'p-calendar',
299
624
  changeDetection: ChangeDetectionStrategy.OnPush,
300
- template: '<ng-content></ng-content>'
625
+ template: '<ng-content></ng-content>',
626
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
627
+ inputs: ['disableWeekends', 'disabledDates', 'maxDate', 'minDate', 'mode', 'preselectToday', 'value', 'variant'],
301
628
  }]
302
629
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
303
- let PDropdown = class PDropdown {
630
+ let PCardBody = class PCardBody {
304
631
  constructor(c, r, z) {
305
632
  this.z = z;
306
633
  c.detach();
307
634
  this.el = r.nativeElement;
308
- proxyOutputs(this, this.el, ['isOpen']);
309
635
  }
310
636
  };
311
- PDropdown.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PDropdown, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
312
- PDropdown.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: PDropdown, selector: "p-dropdown", inputs: { disableTriggerClick: "disableTriggerClick", insideClick: "insideClick", placement: "placement", show: "show" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
313
- PDropdown = __decorate([
637
+ PCardBody.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PCardBody, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
638
+ PCardBody.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.6", type: PCardBody, selector: "p-card-body", inputs: { inheritText: "inheritText" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
639
+ PCardBody = __decorate([
314
640
  ProxyCmp({
315
- defineCustomElementFn: undefined,
316
- inputs: ['disableTriggerClick', 'insideClick', 'placement', 'show']
641
+ inputs: ['inheritText']
317
642
  })
318
- ], PDropdown);
319
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PDropdown, decorators: [{
643
+ ], PCardBody);
644
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PCardBody, decorators: [{
320
645
  type: Component,
321
646
  args: [{
322
- selector: 'p-dropdown',
647
+ selector: 'p-card-body',
323
648
  changeDetection: ChangeDetectionStrategy.OnPush,
324
649
  template: '<ng-content></ng-content>',
325
- inputs: ['disableTriggerClick', 'insideClick', 'placement', 'show']
650
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
651
+ inputs: ['inheritText'],
326
652
  }]
327
653
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
328
- let PDropdownMenuContainer = class PDropdownMenuContainer {
654
+ let PCardContainer = class PCardContainer {
329
655
  constructor(c, r, z) {
330
656
  this.z = z;
331
657
  c.detach();
332
658
  this.el = r.nativeElement;
333
659
  }
334
660
  };
335
- PDropdownMenuContainer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PDropdownMenuContainer, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
336
- PDropdownMenuContainer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: PDropdownMenuContainer, selector: "p-dropdown-menu-container", ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
337
- PDropdownMenuContainer = __decorate([
661
+ PCardContainer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PCardContainer, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
662
+ PCardContainer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.6", type: PCardContainer, selector: "p-card-container", inputs: { hoverable: "hoverable", shadow: "shadow" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
663
+ PCardContainer = __decorate([
338
664
  ProxyCmp({
339
- defineCustomElementFn: undefined
665
+ inputs: ['hoverable', 'shadow']
340
666
  })
341
- ], PDropdownMenuContainer);
342
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PDropdownMenuContainer, decorators: [{
667
+ ], PCardContainer);
668
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PCardContainer, decorators: [{
343
669
  type: Component,
344
670
  args: [{
345
- selector: 'p-dropdown-menu-container',
671
+ selector: 'p-card-container',
346
672
  changeDetection: ChangeDetectionStrategy.OnPush,
347
- template: '<ng-content></ng-content>'
673
+ template: '<ng-content></ng-content>',
674
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
675
+ inputs: ['hoverable', 'shadow'],
348
676
  }]
349
677
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
350
- let PDropdownMenuItem = class PDropdownMenuItem {
678
+ let PCardHeader = class PCardHeader {
351
679
  constructor(c, r, z) {
352
680
  this.z = z;
353
681
  c.detach();
354
682
  this.el = r.nativeElement;
355
683
  }
356
684
  };
357
- PDropdownMenuItem.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PDropdownMenuItem, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
358
- PDropdownMenuItem.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: PDropdownMenuItem, selector: "p-dropdown-menu-item", inputs: { active: "active" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
359
- PDropdownMenuItem = __decorate([
685
+ PCardHeader.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PCardHeader, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
686
+ PCardHeader.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.6", type: PCardHeader, selector: "p-card-header", inputs: { arrow: "arrow", header: "header" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
687
+ PCardHeader = __decorate([
360
688
  ProxyCmp({
361
- defineCustomElementFn: undefined,
362
- inputs: ['active']
689
+ inputs: ['arrow', 'header']
363
690
  })
364
- ], PDropdownMenuItem);
365
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PDropdownMenuItem, decorators: [{
691
+ ], PCardHeader);
692
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PCardHeader, decorators: [{
366
693
  type: Component,
367
694
  args: [{
368
- selector: 'p-dropdown-menu-item',
695
+ selector: 'p-card-header',
369
696
  changeDetection: ChangeDetectionStrategy.OnPush,
370
697
  template: '<ng-content></ng-content>',
371
- inputs: ['active']
698
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
699
+ inputs: ['arrow', 'header'],
372
700
  }]
373
701
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
374
- let PHelper = class PHelper {
702
+ let PContentSlider = class PContentSlider {
375
703
  constructor(c, r, z) {
376
704
  this.z = z;
377
705
  c.detach();
378
706
  this.el = r.nativeElement;
379
707
  }
380
708
  };
381
- PHelper.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PHelper, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
382
- PHelper.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: PHelper, selector: "p-helper", ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
383
- PHelper = __decorate([
709
+ PContentSlider.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PContentSlider, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
710
+ PContentSlider.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.6", type: PContentSlider, selector: "p-content-slider", inputs: { disableAutoCenter: "disableAutoCenter", disableDrag: "disableDrag", disableIndicatorClick: "disableIndicatorClick", hideMobileIndicator: "hideMobileIndicator" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
711
+ PContentSlider = __decorate([
384
712
  ProxyCmp({
385
- defineCustomElementFn: undefined
713
+ inputs: ['disableAutoCenter', 'disableDrag', 'disableIndicatorClick', 'hideMobileIndicator']
386
714
  })
387
- ], PHelper);
388
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PHelper, decorators: [{
715
+ ], PContentSlider);
716
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PContentSlider, decorators: [{
389
717
  type: Component,
390
718
  args: [{
391
- selector: 'p-helper',
719
+ selector: 'p-content-slider',
392
720
  changeDetection: ChangeDetectionStrategy.OnPush,
393
- template: '<ng-content></ng-content>'
721
+ template: '<ng-content></ng-content>',
722
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
723
+ inputs: ['disableAutoCenter', 'disableDrag', 'disableIndicatorClick', 'hideMobileIndicator'],
394
724
  }]
395
725
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
396
- let PIcon = class PIcon {
726
+ let PCounter = class PCounter {
397
727
  constructor(c, r, z) {
398
728
  this.z = z;
399
729
  c.detach();
400
730
  this.el = r.nativeElement;
401
731
  }
402
732
  };
403
- PIcon.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PIcon, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
404
- PIcon.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: PIcon, selector: "p-icon", inputs: { flip: "flip", rotate: "rotate", size: "size", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
405
- PIcon = __decorate([
733
+ PCounter.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PCounter, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
734
+ PCounter.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.6", type: PCounter, selector: "p-counter", inputs: { size: "size", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
735
+ PCounter = __decorate([
406
736
  ProxyCmp({
407
- defineCustomElementFn: undefined,
408
- inputs: ['flip', 'rotate', 'size', 'variant']
737
+ inputs: ['size', 'variant']
409
738
  })
410
- ], PIcon);
411
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PIcon, decorators: [{
739
+ ], PCounter);
740
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PCounter, decorators: [{
412
741
  type: Component,
413
742
  args: [{
414
- selector: 'p-icon',
743
+ selector: 'p-counter',
415
744
  changeDetection: ChangeDetectionStrategy.OnPush,
416
745
  template: '<ng-content></ng-content>',
417
- inputs: ['flip', 'rotate', 'size', 'variant']
746
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
747
+ inputs: ['size', 'variant'],
418
748
  }]
419
749
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
420
- let PIllustration = class PIllustration {
750
+ let PDatepicker = class PDatepicker {
421
751
  constructor(c, r, z) {
422
752
  this.z = z;
423
753
  c.detach();
424
754
  this.el = r.nativeElement;
755
+ proxyOutputs(this, this.el, ['valueChange']);
425
756
  }
426
757
  };
427
- PIllustration.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PIllustration, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
428
- PIllustration.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: PIllustration, selector: "p-illustration", inputs: { variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
429
- PIllustration = __decorate([
758
+ PDatepicker.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PDatepicker, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
759
+ PDatepicker.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.6", type: PDatepicker, selector: "p-datepicker", inputs: { disableWeekends: "disableWeekends", disabled: "disabled", disabledDates: "disabledDates", error: "error", format: "format", helper: "helper", label: "label", maxDate: "maxDate", minDate: "minDate", mode: "mode", placeholder: "placeholder", prefix: "prefix", preselectToday: "preselectToday", size: "size", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
760
+ PDatepicker = __decorate([
430
761
  ProxyCmp({
431
- defineCustomElementFn: undefined,
432
- inputs: ['variant']
762
+ inputs: ['disableWeekends', 'disabled', 'disabledDates', 'error', 'format', 'helper', 'label', 'maxDate', 'minDate', 'mode', 'placeholder', 'prefix', 'preselectToday', 'size', 'value']
433
763
  })
434
- ], PIllustration);
435
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PIllustration, decorators: [{
764
+ ], PDatepicker);
765
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PDatepicker, decorators: [{
436
766
  type: Component,
437
767
  args: [{
438
- selector: 'p-illustration',
768
+ selector: 'p-datepicker',
439
769
  changeDetection: ChangeDetectionStrategy.OnPush,
440
770
  template: '<ng-content></ng-content>',
441
- inputs: ['variant']
771
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
772
+ inputs: ['disableWeekends', 'disabled', 'disabledDates', 'error', 'format', 'helper', 'label', 'maxDate', 'minDate', 'mode', 'placeholder', 'prefix', 'preselectToday', 'size', 'value'],
442
773
  }]
443
774
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
444
- let PInfoPanel = class PInfoPanel {
775
+ let PDivider = class PDivider {
445
776
  constructor(c, r, z) {
446
777
  this.z = z;
447
778
  c.detach();
448
779
  this.el = r.nativeElement;
449
780
  }
450
781
  };
451
- PInfoPanel.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PInfoPanel, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
452
- PInfoPanel.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: PInfoPanel, selector: "p-info-panel", inputs: { closeable: "closeable", content: "content", header: "header", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
453
- PInfoPanel = __decorate([
454
- ProxyCmp({
455
- defineCustomElementFn: undefined,
456
- inputs: ['closeable', 'content', 'header', 'variant']
457
- })
458
- ], PInfoPanel);
459
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PInfoPanel, decorators: [{
782
+ PDivider.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PDivider, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
783
+ PDivider.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.6", type: PDivider, selector: "p-divider", ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
784
+ PDivider = __decorate([
785
+ ProxyCmp({})
786
+ ], PDivider);
787
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PDivider, decorators: [{
460
788
  type: Component,
461
789
  args: [{
462
- selector: 'p-info-panel',
790
+ selector: 'p-divider',
463
791
  changeDetection: ChangeDetectionStrategy.OnPush,
464
792
  template: '<ng-content></ng-content>',
465
- inputs: ['closeable', 'content', 'header', 'variant']
793
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
794
+ inputs: [],
466
795
  }]
467
796
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
468
- let PLoader = class PLoader {
797
+ let PDrawer = class PDrawer {
469
798
  constructor(c, r, z) {
470
799
  this.z = z;
471
800
  c.detach();
472
801
  this.el = r.nativeElement;
802
+ proxyOutputs(this, this.el, ['closeClicked', 'closed']);
473
803
  }
474
804
  };
475
- PLoader.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PLoader, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
476
- PLoader.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: PLoader, selector: "p-loader", inputs: { color: "color", modalDescription: "modalDescription", modalTitle: "modalTitle", show: "show", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
477
- PLoader = __decorate([
805
+ PDrawer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PDrawer, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
806
+ PDrawer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.6", type: PDrawer, selector: "p-drawer", inputs: { applyBlur: "applyBlur", backdropClickClose: "backdropClickClose", canClose: "canClose", header: "header", scrollLock: "scrollLock", show: "show", showClose: "showClose" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
807
+ PDrawer = __decorate([
478
808
  ProxyCmp({
479
- defineCustomElementFn: undefined,
480
- inputs: ['color', 'modalDescription', 'modalTitle', 'show', 'variant']
809
+ inputs: ['applyBlur', 'backdropClickClose', 'canClose', 'header', 'scrollLock', 'show', 'showClose']
481
810
  })
482
- ], PLoader);
483
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PLoader, decorators: [{
811
+ ], PDrawer);
812
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PDrawer, decorators: [{
484
813
  type: Component,
485
814
  args: [{
486
- selector: 'p-loader',
815
+ selector: 'p-drawer',
487
816
  changeDetection: ChangeDetectionStrategy.OnPush,
488
817
  template: '<ng-content></ng-content>',
489
- inputs: ['color', 'modalDescription', 'modalTitle', 'show', 'variant']
818
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
819
+ inputs: ['applyBlur', 'backdropClickClose', 'canClose', 'header', 'scrollLock', 'show', 'showClose'],
490
820
  }]
491
821
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
492
- let PNavigationItem = class PNavigationItem {
822
+ let PDrawerBody = class PDrawerBody {
493
823
  constructor(c, r, z) {
494
824
  this.z = z;
495
825
  c.detach();
496
826
  this.el = r.nativeElement;
497
827
  }
498
828
  };
499
- PNavigationItem.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PNavigationItem, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
500
- PNavigationItem.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: PNavigationItem, selector: "p-navigation-item", inputs: { active: "active", counter: "counter", href: "href", icon: "icon", target: "target" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
501
- PNavigationItem = __decorate([
829
+ PDrawerBody.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PDrawerBody, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
830
+ PDrawerBody.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.6", type: PDrawerBody, selector: "p-drawer-body", inputs: { variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
831
+ PDrawerBody = __decorate([
502
832
  ProxyCmp({
503
- defineCustomElementFn: undefined,
504
- inputs: ['active', 'counter', 'href', 'icon', 'target']
833
+ inputs: ['variant']
505
834
  })
506
- ], PNavigationItem);
507
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PNavigationItem, decorators: [{
835
+ ], PDrawerBody);
836
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PDrawerBody, decorators: [{
508
837
  type: Component,
509
838
  args: [{
510
- selector: 'p-navigation-item',
839
+ selector: 'p-drawer-body',
511
840
  changeDetection: ChangeDetectionStrategy.OnPush,
512
841
  template: '<ng-content></ng-content>',
513
- inputs: ['active', 'counter', 'href', 'icon', 'target']
842
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
843
+ inputs: ['variant'],
514
844
  }]
515
845
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
516
- let PPagination = class PPagination {
846
+ let PDrawerContainer = class PDrawerContainer {
517
847
  constructor(c, r, z) {
518
848
  this.z = z;
519
849
  c.detach();
520
850
  this.el = r.nativeElement;
521
- proxyOutputs(this, this.el, ['pageChange']);
522
851
  }
523
852
  };
524
- PPagination.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PPagination, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
525
- PPagination.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: PPagination, selector: "p-pagination", inputs: { page: "page", pageSize: "pageSize", total: "total" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
526
- PPagination = __decorate([
853
+ PDrawerContainer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PDrawerContainer, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
854
+ PDrawerContainer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.6", type: PDrawerContainer, selector: "p-drawer-container", inputs: { closing: "closing" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
855
+ PDrawerContainer = __decorate([
527
856
  ProxyCmp({
528
- defineCustomElementFn: undefined,
529
- inputs: ['page', 'pageSize', 'total']
857
+ inputs: ['closing']
530
858
  })
531
- ], PPagination);
532
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PPagination, decorators: [{
859
+ ], PDrawerContainer);
860
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PDrawerContainer, decorators: [{
533
861
  type: Component,
534
862
  args: [{
535
- selector: 'p-pagination',
863
+ selector: 'p-drawer-container',
536
864
  changeDetection: ChangeDetectionStrategy.OnPush,
537
865
  template: '<ng-content></ng-content>',
538
- inputs: ['page', 'pageSize', 'total']
866
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
867
+ inputs: ['closing'],
539
868
  }]
540
869
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
541
- let PPaginationItem = class PPaginationItem {
870
+ let PDrawerHeader = class PDrawerHeader {
542
871
  constructor(c, r, z) {
543
872
  this.z = z;
544
873
  c.detach();
545
874
  this.el = r.nativeElement;
875
+ proxyOutputs(this, this.el, ['close']);
546
876
  }
547
877
  };
548
- PPaginationItem.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PPaginationItem, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
549
- PPaginationItem.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: PPaginationItem, selector: "p-pagination-item", inputs: { active: "active" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
550
- PPaginationItem = __decorate([
878
+ PDrawerHeader.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PDrawerHeader, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
879
+ PDrawerHeader.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.6", type: PDrawerHeader, selector: "p-drawer-header", inputs: { showClose: "showClose" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
880
+ PDrawerHeader = __decorate([
551
881
  ProxyCmp({
552
- defineCustomElementFn: undefined,
553
- inputs: ['active']
882
+ inputs: ['showClose']
554
883
  })
555
- ], PPaginationItem);
556
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PPaginationItem, decorators: [{
884
+ ], PDrawerHeader);
885
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PDrawerHeader, decorators: [{
557
886
  type: Component,
558
887
  args: [{
559
- selector: 'p-pagination-item',
888
+ selector: 'p-drawer-header',
560
889
  changeDetection: ChangeDetectionStrategy.OnPush,
561
890
  template: '<ng-content></ng-content>',
562
- inputs: ['active']
891
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
892
+ inputs: ['showClose'],
563
893
  }]
564
894
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
565
- let PSegmentContainer = class PSegmentContainer {
895
+ let PDropdown = class PDropdown {
566
896
  constructor(c, r, z) {
567
897
  this.z = z;
568
898
  c.detach();
569
899
  this.el = r.nativeElement;
900
+ proxyOutputs(this, this.el, ['isOpen']);
570
901
  }
571
902
  };
572
- PSegmentContainer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PSegmentContainer, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
573
- PSegmentContainer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: PSegmentContainer, selector: "p-segment-container", ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
574
- PSegmentContainer = __decorate([
903
+ PDropdown.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PDropdown, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
904
+ PDropdown.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.6", type: PDropdown, selector: "p-dropdown", inputs: { applyFullWidth: "applyFullWidth", applyMaxWidth: "applyMaxWidth", calculateWidth: "calculateWidth", chevronDirection: "chevronDirection", chevronPosition: "chevronPosition", disableTriggerClick: "disableTriggerClick", insideClick: "insideClick", placement: "placement", show: "show", strategy: "strategy" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
905
+ PDropdown = __decorate([
575
906
  ProxyCmp({
576
- defineCustomElementFn: undefined
907
+ inputs: ['applyFullWidth', 'applyMaxWidth', 'calculateWidth', 'chevronDirection', 'chevronPosition', 'disableTriggerClick', 'insideClick', 'placement', 'show', 'strategy']
577
908
  })
578
- ], PSegmentContainer);
579
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PSegmentContainer, decorators: [{
909
+ ], PDropdown);
910
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PDropdown, decorators: [{
580
911
  type: Component,
581
912
  args: [{
582
- selector: 'p-segment-container',
913
+ selector: 'p-dropdown',
583
914
  changeDetection: ChangeDetectionStrategy.OnPush,
584
- template: '<ng-content></ng-content>'
915
+ template: '<ng-content></ng-content>',
916
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
917
+ inputs: ['applyFullWidth', 'applyMaxWidth', 'calculateWidth', 'chevronDirection', 'chevronPosition', 'disableTriggerClick', 'insideClick', 'placement', 'show', 'strategy'],
585
918
  }]
586
919
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
587
- let PSegmentItem = class PSegmentItem {
920
+ let PDropdownMenuContainer = class PDropdownMenuContainer {
588
921
  constructor(c, r, z) {
589
922
  this.z = z;
590
923
  c.detach();
591
924
  this.el = r.nativeElement;
592
925
  }
593
926
  };
594
- PSegmentItem.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PSegmentItem, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
595
- PSegmentItem.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: PSegmentItem, selector: "p-segment-item", inputs: { active: "active", icon: "icon", iconFlip: "iconFlip", iconRotate: "iconRotate" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
596
- PSegmentItem = __decorate([
927
+ PDropdownMenuContainer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PDropdownMenuContainer, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
928
+ PDropdownMenuContainer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.6", type: PDropdownMenuContainer, selector: "p-dropdown-menu-container", inputs: { fullWidth: "fullWidth", maxWidth: "maxWidth" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
929
+ PDropdownMenuContainer = __decorate([
597
930
  ProxyCmp({
598
- defineCustomElementFn: undefined,
599
- inputs: ['active', 'icon', 'iconFlip', 'iconRotate']
931
+ inputs: ['fullWidth', 'maxWidth']
600
932
  })
601
- ], PSegmentItem);
602
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PSegmentItem, decorators: [{
933
+ ], PDropdownMenuContainer);
934
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PDropdownMenuContainer, decorators: [{
603
935
  type: Component,
604
936
  args: [{
605
- selector: 'p-segment-item',
937
+ selector: 'p-dropdown-menu-container',
606
938
  changeDetection: ChangeDetectionStrategy.OnPush,
607
939
  template: '<ng-content></ng-content>',
608
- inputs: ['active', 'icon', 'iconFlip', 'iconRotate']
940
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
941
+ inputs: ['fullWidth', 'maxWidth'],
609
942
  }]
610
943
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
611
- let PStatus = class PStatus {
944
+ let PDropdownMenuItem = class PDropdownMenuItem {
612
945
  constructor(c, r, z) {
613
946
  this.z = z;
614
947
  c.detach();
615
948
  this.el = r.nativeElement;
616
949
  }
617
950
  };
618
- PStatus.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PStatus, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
619
- PStatus.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: PStatus, selector: "p-status", inputs: { icon: "icon", iconFlip: "iconFlip", iconRotate: "iconRotate", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
620
- PStatus = __decorate([
951
+ PDropdownMenuItem.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PDropdownMenuItem, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
952
+ PDropdownMenuItem.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.6", type: PDropdownMenuItem, selector: "p-dropdown-menu-item", inputs: { active: "active", enableHover: "enableHover", icon: "icon" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
953
+ PDropdownMenuItem = __decorate([
621
954
  ProxyCmp({
622
- defineCustomElementFn: undefined,
623
- inputs: ['icon', 'iconFlip', 'iconRotate', 'variant']
955
+ inputs: ['active', 'enableHover', 'icon']
624
956
  })
625
- ], PStatus);
626
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PStatus, decorators: [{
957
+ ], PDropdownMenuItem);
958
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PDropdownMenuItem, decorators: [{
627
959
  type: Component,
628
960
  args: [{
629
- selector: 'p-status',
961
+ selector: 'p-dropdown-menu-item',
630
962
  changeDetection: ChangeDetectionStrategy.OnPush,
631
963
  template: '<ng-content></ng-content>',
632
- inputs: ['icon', 'iconFlip', 'iconRotate', 'variant']
964
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
965
+ inputs: ['active', 'enableHover', 'icon'],
633
966
  }]
634
967
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
635
- let PTooltip = class PTooltip {
968
+ let PHelper = class PHelper {
636
969
  constructor(c, r, z) {
637
970
  this.z = z;
638
971
  c.detach();
639
972
  this.el = r.nativeElement;
640
973
  }
641
974
  };
642
- PTooltip.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PTooltip, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
643
- PTooltip.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: PTooltip, selector: "p-tooltip", inputs: { canManuallyClose: "canManuallyClose", placement: "placement", popover: "popover", show: "show", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
644
- PTooltip = __decorate([
975
+ PHelper.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PHelper, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
976
+ PHelper.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.6", type: PHelper, selector: "p-helper", inputs: { placement: "placement" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
977
+ PHelper = __decorate([
645
978
  ProxyCmp({
646
- defineCustomElementFn: undefined,
647
- inputs: ['canManuallyClose', 'placement', 'popover', 'show', 'variant']
979
+ inputs: ['placement']
648
980
  })
649
- ], PTooltip);
650
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PTooltip, decorators: [{
981
+ ], PHelper);
982
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PHelper, decorators: [{
651
983
  type: Component,
652
984
  args: [{
653
- selector: 'p-tooltip',
985
+ selector: 'p-helper',
654
986
  changeDetection: ChangeDetectionStrategy.OnPush,
655
987
  template: '<ng-content></ng-content>',
656
- inputs: ['canManuallyClose', 'placement', 'popover', 'show', 'variant']
988
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
989
+ inputs: ['placement'],
657
990
  }]
658
991
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
659
-
660
- const DIRECTIVES = [
661
- PAvatar,
662
- PButton,
663
- PCardBody,
664
- PCardContainer,
665
- PCardHeader,
666
- PCounter,
667
- PDivider,
668
- PDropdown,
669
- PDropdownMenuContainer,
670
- PDropdownMenuItem,
671
- PHelper,
672
- PIcon,
673
- PIllustration,
674
- PInfoPanel,
675
- PLoader,
676
- PNavigationItem,
677
- PPagination,
678
- PPaginationItem,
679
- PSegmentContainer,
680
- PSegmentItem,
681
- PStatus,
682
- PTooltip
683
- ];
684
-
685
- class PaperlessModule {
992
+ let PIcon = class PIcon {
993
+ constructor(c, r, z) {
994
+ this.z = z;
995
+ c.detach();
996
+ this.el = r.nativeElement;
997
+ }
998
+ };
999
+ PIcon.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PIcon, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
1000
+ PIcon.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.6", type: PIcon, selector: "p-icon", inputs: { flip: "flip", rotate: "rotate", size: "size", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1001
+ PIcon = __decorate([
1002
+ ProxyCmp({
1003
+ inputs: ['flip', 'rotate', 'size', 'variant']
1004
+ })
1005
+ ], PIcon);
1006
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PIcon, decorators: [{
1007
+ type: Component,
1008
+ args: [{
1009
+ selector: 'p-icon',
1010
+ changeDetection: ChangeDetectionStrategy.OnPush,
1011
+ template: '<ng-content></ng-content>',
1012
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1013
+ inputs: ['flip', 'rotate', 'size', 'variant'],
1014
+ }]
1015
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1016
+ let PIllustration = class PIllustration {
1017
+ constructor(c, r, z) {
1018
+ this.z = z;
1019
+ c.detach();
1020
+ this.el = r.nativeElement;
1021
+ }
1022
+ };
1023
+ PIllustration.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PIllustration, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
1024
+ PIllustration.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.6", type: PIllustration, selector: "p-illustration", inputs: { variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1025
+ PIllustration = __decorate([
1026
+ ProxyCmp({
1027
+ inputs: ['variant']
1028
+ })
1029
+ ], PIllustration);
1030
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PIllustration, decorators: [{
1031
+ type: Component,
1032
+ args: [{
1033
+ selector: 'p-illustration',
1034
+ changeDetection: ChangeDetectionStrategy.OnPush,
1035
+ template: '<ng-content></ng-content>',
1036
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1037
+ inputs: ['variant'],
1038
+ }]
1039
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1040
+ let PInfoPanel = class PInfoPanel {
1041
+ constructor(c, r, z) {
1042
+ this.z = z;
1043
+ c.detach();
1044
+ this.el = r.nativeElement;
1045
+ }
1046
+ };
1047
+ PInfoPanel.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PInfoPanel, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
1048
+ PInfoPanel.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.6", type: PInfoPanel, selector: "p-info-panel", inputs: { closeable: "closeable", content: "content", header: "header", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1049
+ PInfoPanel = __decorate([
1050
+ ProxyCmp({
1051
+ inputs: ['closeable', 'content', 'header', 'variant']
1052
+ })
1053
+ ], PInfoPanel);
1054
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PInfoPanel, decorators: [{
1055
+ type: Component,
1056
+ args: [{
1057
+ selector: 'p-info-panel',
1058
+ changeDetection: ChangeDetectionStrategy.OnPush,
1059
+ template: '<ng-content></ng-content>',
1060
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1061
+ inputs: ['closeable', 'content', 'header', 'variant'],
1062
+ }]
1063
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1064
+ let PInputError = class PInputError {
1065
+ constructor(c, r, z) {
1066
+ this.z = z;
1067
+ c.detach();
1068
+ this.el = r.nativeElement;
1069
+ }
1070
+ };
1071
+ PInputError.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PInputError, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
1072
+ PInputError.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.6", type: PInputError, selector: "p-input-error", inputs: { error: "error", forceShowTooltip: "forceShowTooltip" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1073
+ PInputError = __decorate([
1074
+ ProxyCmp({
1075
+ inputs: ['error', 'forceShowTooltip']
1076
+ })
1077
+ ], PInputError);
1078
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PInputError, decorators: [{
1079
+ type: Component,
1080
+ args: [{
1081
+ selector: 'p-input-error',
1082
+ changeDetection: ChangeDetectionStrategy.OnPush,
1083
+ template: '<ng-content></ng-content>',
1084
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1085
+ inputs: ['error', 'forceShowTooltip'],
1086
+ }]
1087
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1088
+ let PInputGroup = class PInputGroup {
1089
+ constructor(c, r, z) {
1090
+ this.z = z;
1091
+ c.detach();
1092
+ this.el = r.nativeElement;
1093
+ }
1094
+ };
1095
+ PInputGroup.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PInputGroup, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
1096
+ PInputGroup.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.6", type: PInputGroup, selector: "p-input-group", inputs: { disabled: "disabled", error: "error", focused: "focused", helper: "helper", icon: "icon", iconFlip: "iconFlip", iconPosition: "iconPosition", iconRotate: "iconRotate", label: "label", prefix: "prefix", required: "required", size: "size", suffix: "suffix" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1097
+ PInputGroup = __decorate([
1098
+ ProxyCmp({
1099
+ inputs: ['disabled', 'error', 'focused', 'helper', 'icon', 'iconFlip', 'iconPosition', 'iconRotate', 'label', 'prefix', 'required', 'size', 'suffix']
1100
+ })
1101
+ ], PInputGroup);
1102
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PInputGroup, decorators: [{
1103
+ type: Component,
1104
+ args: [{
1105
+ selector: 'p-input-group',
1106
+ changeDetection: ChangeDetectionStrategy.OnPush,
1107
+ template: '<ng-content></ng-content>',
1108
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1109
+ inputs: ['disabled', 'error', 'focused', 'helper', 'icon', 'iconFlip', 'iconPosition', 'iconRotate', 'label', 'prefix', 'required', 'size', 'suffix'],
1110
+ }]
1111
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1112
+ let PLabel = class PLabel {
1113
+ constructor(c, r, z) {
1114
+ this.z = z;
1115
+ c.detach();
1116
+ this.el = r.nativeElement;
1117
+ }
1118
+ };
1119
+ PLabel.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PLabel, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
1120
+ PLabel.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.6", type: PLabel, selector: "p-label", inputs: { behavior: "behavior", icon: "icon", iconFlip: "iconFlip", iconRotate: "iconRotate", keepMobileContent: "keepMobileContent", size: "size", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1121
+ PLabel = __decorate([
1122
+ ProxyCmp({
1123
+ inputs: ['behavior', 'icon', 'iconFlip', 'iconRotate', 'keepMobileContent', 'size', 'variant']
1124
+ })
1125
+ ], PLabel);
1126
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PLabel, decorators: [{
1127
+ type: Component,
1128
+ args: [{
1129
+ selector: 'p-label',
1130
+ changeDetection: ChangeDetectionStrategy.OnPush,
1131
+ template: '<ng-content></ng-content>',
1132
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1133
+ inputs: ['behavior', 'icon', 'iconFlip', 'iconRotate', 'keepMobileContent', 'size', 'variant'],
1134
+ }]
1135
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1136
+ let PLayout = class PLayout {
1137
+ constructor(c, r, z) {
1138
+ this.z = z;
1139
+ c.detach();
1140
+ this.el = r.nativeElement;
1141
+ }
1142
+ };
1143
+ PLayout.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PLayout, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
1144
+ PLayout.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.6", type: PLayout, selector: "p-layout", inputs: { variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1145
+ PLayout = __decorate([
1146
+ ProxyCmp({
1147
+ inputs: ['variant']
1148
+ })
1149
+ ], PLayout);
1150
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PLayout, decorators: [{
1151
+ type: Component,
1152
+ args: [{
1153
+ selector: 'p-layout',
1154
+ changeDetection: ChangeDetectionStrategy.OnPush,
1155
+ template: '<ng-content></ng-content>',
1156
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1157
+ inputs: ['variant'],
1158
+ }]
1159
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1160
+ let PLoader = class PLoader {
1161
+ constructor(c, r, z) {
1162
+ this.z = z;
1163
+ c.detach();
1164
+ this.el = r.nativeElement;
1165
+ }
1166
+ };
1167
+ PLoader.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PLoader, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
1168
+ PLoader.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.6", type: PLoader, selector: "p-loader", inputs: { color: "color", modalDescription: "modalDescription", modalTitle: "modalTitle", show: "show", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1169
+ PLoader = __decorate([
1170
+ ProxyCmp({
1171
+ inputs: ['color', 'modalDescription', 'modalTitle', 'show', 'variant']
1172
+ })
1173
+ ], PLoader);
1174
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PLoader, decorators: [{
1175
+ type: Component,
1176
+ args: [{
1177
+ selector: 'p-loader',
1178
+ changeDetection: ChangeDetectionStrategy.OnPush,
1179
+ template: '<ng-content></ng-content>',
1180
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1181
+ inputs: ['color', 'modalDescription', 'modalTitle', 'show', 'variant'],
1182
+ }]
1183
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1184
+ let PModal = class PModal {
1185
+ constructor(c, r, z) {
1186
+ this.z = z;
1187
+ c.detach();
1188
+ this.el = r.nativeElement;
1189
+ proxyOutputs(this, this.el, ['closeClicked', 'closed']);
1190
+ }
1191
+ };
1192
+ PModal.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PModal, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
1193
+ PModal.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.6", type: PModal, selector: "p-modal", inputs: { applyBlur: "applyBlur", backdropClickClose: "backdropClickClose", header: "header", scrollLock: "scrollLock", show: "show", showClose: "showClose", showMobileFooter: "showMobileFooter", size: "size", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1194
+ PModal = __decorate([
1195
+ ProxyCmp({
1196
+ inputs: ['applyBlur', 'backdropClickClose', 'header', 'scrollLock', 'show', 'showClose', 'showMobileFooter', 'size', 'variant']
1197
+ })
1198
+ ], PModal);
1199
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PModal, decorators: [{
1200
+ type: Component,
1201
+ args: [{
1202
+ selector: 'p-modal',
1203
+ changeDetection: ChangeDetectionStrategy.OnPush,
1204
+ template: '<ng-content></ng-content>',
1205
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1206
+ inputs: ['applyBlur', 'backdropClickClose', 'header', 'scrollLock', 'show', 'showClose', 'showMobileFooter', 'size', 'variant'],
1207
+ }]
1208
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1209
+ let PModalBody = class PModalBody {
1210
+ constructor(c, r, z) {
1211
+ this.z = z;
1212
+ c.detach();
1213
+ this.el = r.nativeElement;
1214
+ }
1215
+ };
1216
+ PModalBody.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PModalBody, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
1217
+ PModalBody.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.6", type: PModalBody, selector: "p-modal-body", inputs: { rounded: "rounded", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1218
+ PModalBody = __decorate([
1219
+ ProxyCmp({
1220
+ inputs: ['rounded', 'variant']
1221
+ })
1222
+ ], PModalBody);
1223
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PModalBody, decorators: [{
1224
+ type: Component,
1225
+ args: [{
1226
+ selector: 'p-modal-body',
1227
+ changeDetection: ChangeDetectionStrategy.OnPush,
1228
+ template: '<ng-content></ng-content>',
1229
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1230
+ inputs: ['rounded', 'variant'],
1231
+ }]
1232
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1233
+ let PModalContainer = class PModalContainer {
1234
+ constructor(c, r, z) {
1235
+ this.z = z;
1236
+ c.detach();
1237
+ this.el = r.nativeElement;
1238
+ }
1239
+ };
1240
+ PModalContainer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PModalContainer, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
1241
+ PModalContainer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.6", type: PModalContainer, selector: "p-modal-container", inputs: { closing: "closing", size: "size" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1242
+ PModalContainer = __decorate([
1243
+ ProxyCmp({
1244
+ inputs: ['closing', 'size']
1245
+ })
1246
+ ], PModalContainer);
1247
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PModalContainer, decorators: [{
1248
+ type: Component,
1249
+ args: [{
1250
+ selector: 'p-modal-container',
1251
+ changeDetection: ChangeDetectionStrategy.OnPush,
1252
+ template: '<ng-content></ng-content>',
1253
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1254
+ inputs: ['closing', 'size'],
1255
+ }]
1256
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1257
+ let PModalFooter = class PModalFooter {
1258
+ constructor(c, r, z) {
1259
+ this.z = z;
1260
+ c.detach();
1261
+ this.el = r.nativeElement;
1262
+ }
1263
+ };
1264
+ PModalFooter.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PModalFooter, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
1265
+ PModalFooter.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.6", type: PModalFooter, selector: "p-modal-footer", ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1266
+ PModalFooter = __decorate([
1267
+ ProxyCmp({})
1268
+ ], PModalFooter);
1269
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PModalFooter, decorators: [{
1270
+ type: Component,
1271
+ args: [{
1272
+ selector: 'p-modal-footer',
1273
+ changeDetection: ChangeDetectionStrategy.OnPush,
1274
+ template: '<ng-content></ng-content>',
1275
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1276
+ inputs: [],
1277
+ }]
1278
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1279
+ let PModalHeader = class PModalHeader {
1280
+ constructor(c, r, z) {
1281
+ this.z = z;
1282
+ c.detach();
1283
+ this.el = r.nativeElement;
1284
+ proxyOutputs(this, this.el, ['close']);
1285
+ }
1286
+ };
1287
+ PModalHeader.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PModalHeader, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
1288
+ PModalHeader.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.6", type: PModalHeader, selector: "p-modal-header", inputs: { showClose: "showClose" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1289
+ PModalHeader = __decorate([
1290
+ ProxyCmp({
1291
+ inputs: ['showClose']
1292
+ })
1293
+ ], PModalHeader);
1294
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PModalHeader, decorators: [{
1295
+ type: Component,
1296
+ args: [{
1297
+ selector: 'p-modal-header',
1298
+ changeDetection: ChangeDetectionStrategy.OnPush,
1299
+ template: '<ng-content></ng-content>',
1300
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1301
+ inputs: ['showClose'],
1302
+ }]
1303
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1304
+ let PNavbar = class PNavbar {
1305
+ constructor(c, r, z) {
1306
+ this.z = z;
1307
+ c.detach();
1308
+ this.el = r.nativeElement;
1309
+ }
1310
+ };
1311
+ PNavbar.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PNavbar, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
1312
+ PNavbar.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.6", type: PNavbar, selector: "p-navbar", inputs: { closeText: "closeText", menuText: "menuText" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1313
+ PNavbar = __decorate([
1314
+ ProxyCmp({
1315
+ inputs: ['closeText', 'menuText']
1316
+ })
1317
+ ], PNavbar);
1318
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PNavbar, decorators: [{
1319
+ type: Component,
1320
+ args: [{
1321
+ selector: 'p-navbar',
1322
+ changeDetection: ChangeDetectionStrategy.OnPush,
1323
+ template: '<ng-content></ng-content>',
1324
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1325
+ inputs: ['closeText', 'menuText'],
1326
+ }]
1327
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1328
+ let PNavigationItem = class PNavigationItem {
1329
+ constructor(c, r, z) {
1330
+ this.z = z;
1331
+ c.detach();
1332
+ this.el = r.nativeElement;
1333
+ }
1334
+ };
1335
+ PNavigationItem.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PNavigationItem, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
1336
+ PNavigationItem.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.6", type: PNavigationItem, selector: "p-navigation-item", inputs: { active: "active", counter: "counter", href: "href", icon: "icon", target: "target" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1337
+ PNavigationItem = __decorate([
1338
+ ProxyCmp({
1339
+ inputs: ['active', 'counter', 'href', 'icon', 'target']
1340
+ })
1341
+ ], PNavigationItem);
1342
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PNavigationItem, decorators: [{
1343
+ type: Component,
1344
+ args: [{
1345
+ selector: 'p-navigation-item',
1346
+ changeDetection: ChangeDetectionStrategy.OnPush,
1347
+ template: '<ng-content></ng-content>',
1348
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1349
+ inputs: ['active', 'counter', 'href', 'icon', 'target'],
1350
+ }]
1351
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1352
+ let PPageSizeSelect = class PPageSizeSelect {
1353
+ constructor(c, r, z) {
1354
+ this.z = z;
1355
+ c.detach();
1356
+ this.el = r.nativeElement;
1357
+ proxyOutputs(this, this.el, ['sizeChange']);
1358
+ }
1359
+ };
1360
+ PPageSizeSelect.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PPageSizeSelect, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
1361
+ PPageSizeSelect.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.6", type: PPageSizeSelect, selector: "p-page-size-select", inputs: { buttonSize: "buttonSize", buttonTemplate: "buttonTemplate", chevronPosition: "chevronPosition", hidden: "hidden", itemTemplate: "itemTemplate", size: "size", sizeOptions: "sizeOptions" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1362
+ PPageSizeSelect = __decorate([
1363
+ ProxyCmp({
1364
+ inputs: ['buttonSize', 'buttonTemplate', 'chevronPosition', 'hidden', 'itemTemplate', 'size', 'sizeOptions']
1365
+ })
1366
+ ], PPageSizeSelect);
1367
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PPageSizeSelect, decorators: [{
1368
+ type: Component,
1369
+ args: [{
1370
+ selector: 'p-page-size-select',
1371
+ changeDetection: ChangeDetectionStrategy.OnPush,
1372
+ template: '<ng-content></ng-content>',
1373
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1374
+ inputs: ['buttonSize', 'buttonTemplate', 'chevronPosition', 'hidden', 'itemTemplate', 'size', 'sizeOptions'],
1375
+ }]
1376
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1377
+ let PPagination = class PPagination {
1378
+ constructor(c, r, z) {
1379
+ this.z = z;
1380
+ c.detach();
1381
+ this.el = r.nativeElement;
1382
+ proxyOutputs(this, this.el, ['pageChange']);
1383
+ }
1384
+ };
1385
+ PPagination.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PPagination, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
1386
+ PPagination.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.6", type: PPagination, selector: "p-pagination", inputs: { hideOnSinglePage: "hideOnSinglePage", page: "page", pageSize: "pageSize", total: "total" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1387
+ PPagination = __decorate([
1388
+ ProxyCmp({
1389
+ inputs: ['hideOnSinglePage', 'page', 'pageSize', 'total']
1390
+ })
1391
+ ], PPagination);
1392
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PPagination, decorators: [{
1393
+ type: Component,
1394
+ args: [{
1395
+ selector: 'p-pagination',
1396
+ changeDetection: ChangeDetectionStrategy.OnPush,
1397
+ template: '<ng-content></ng-content>',
1398
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1399
+ inputs: ['hideOnSinglePage', 'page', 'pageSize', 'total'],
1400
+ }]
1401
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1402
+ let PPaginationItem = class PPaginationItem {
1403
+ constructor(c, r, z) {
1404
+ this.z = z;
1405
+ c.detach();
1406
+ this.el = r.nativeElement;
1407
+ }
1408
+ };
1409
+ PPaginationItem.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PPaginationItem, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
1410
+ PPaginationItem.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.6", type: PPaginationItem, selector: "p-pagination-item", inputs: { active: "active" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1411
+ PPaginationItem = __decorate([
1412
+ ProxyCmp({
1413
+ inputs: ['active']
1414
+ })
1415
+ ], PPaginationItem);
1416
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PPaginationItem, decorators: [{
1417
+ type: Component,
1418
+ args: [{
1419
+ selector: 'p-pagination-item',
1420
+ changeDetection: ChangeDetectionStrategy.OnPush,
1421
+ template: '<ng-content></ng-content>',
1422
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1423
+ inputs: ['active'],
1424
+ }]
1425
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1426
+ let PProfile = class PProfile {
1427
+ constructor(c, r, z) {
1428
+ this.z = z;
1429
+ c.detach();
1430
+ this.el = r.nativeElement;
1431
+ }
1432
+ };
1433
+ PProfile.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PProfile, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
1434
+ PProfile.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.6", type: PProfile, selector: "p-profile", inputs: { size: "size", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1435
+ PProfile = __decorate([
1436
+ ProxyCmp({
1437
+ inputs: ['size', 'variant']
1438
+ })
1439
+ ], PProfile);
1440
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PProfile, decorators: [{
1441
+ type: Component,
1442
+ args: [{
1443
+ selector: 'p-profile',
1444
+ changeDetection: ChangeDetectionStrategy.OnPush,
1445
+ template: '<ng-content></ng-content>',
1446
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1447
+ inputs: ['size', 'variant'],
1448
+ }]
1449
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1450
+ let PSegmentContainer = class PSegmentContainer {
1451
+ constructor(c, r, z) {
1452
+ this.z = z;
1453
+ c.detach();
1454
+ this.el = r.nativeElement;
1455
+ }
1456
+ };
1457
+ PSegmentContainer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PSegmentContainer, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
1458
+ PSegmentContainer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.6", type: PSegmentContainer, selector: "p-segment-container", ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1459
+ PSegmentContainer = __decorate([
1460
+ ProxyCmp({})
1461
+ ], PSegmentContainer);
1462
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PSegmentContainer, decorators: [{
1463
+ type: Component,
1464
+ args: [{
1465
+ selector: 'p-segment-container',
1466
+ changeDetection: ChangeDetectionStrategy.OnPush,
1467
+ template: '<ng-content></ng-content>',
1468
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1469
+ inputs: [],
1470
+ }]
1471
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1472
+ let PSegmentItem = class PSegmentItem {
1473
+ constructor(c, r, z) {
1474
+ this.z = z;
1475
+ c.detach();
1476
+ this.el = r.nativeElement;
1477
+ }
1478
+ };
1479
+ PSegmentItem.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PSegmentItem, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
1480
+ PSegmentItem.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.6", type: PSegmentItem, selector: "p-segment-item", inputs: { active: "active", icon: "icon", iconFlip: "iconFlip", iconRotate: "iconRotate" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1481
+ PSegmentItem = __decorate([
1482
+ ProxyCmp({
1483
+ inputs: ['active', 'icon', 'iconFlip', 'iconRotate']
1484
+ })
1485
+ ], PSegmentItem);
1486
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PSegmentItem, decorators: [{
1487
+ type: Component,
1488
+ args: [{
1489
+ selector: 'p-segment-item',
1490
+ changeDetection: ChangeDetectionStrategy.OnPush,
1491
+ template: '<ng-content></ng-content>',
1492
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1493
+ inputs: ['active', 'icon', 'iconFlip', 'iconRotate'],
1494
+ }]
1495
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1496
+ let PSelect = class PSelect {
1497
+ constructor(c, r, z) {
1498
+ this.z = z;
1499
+ c.detach();
1500
+ this.el = r.nativeElement;
1501
+ proxyOutputs(this, this.el, ['queryChange', 'valueChange', 'dropdownShown']);
1502
+ }
1503
+ };
1504
+ PSelect.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PSelect, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
1505
+ PSelect.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.6", type: PSelect, selector: "p-select", inputs: { asyncFilter: "asyncFilter", autoSelectFirst: "autoSelectFirst", autocompletePlaceholder: "autocompletePlaceholder", disabled: "disabled", displayKey: "displayKey", enableAutocomplete: "enableAutocomplete", error: "error", helper: "helper", icon: "icon", identifierKey: "identifierKey", items: "items", keepQuery: "keepQuery", label: "label", loading: "loading", maxDisplayedItems: "maxDisplayedItems", placeholder: "placeholder", prefix: "prefix", query: "query", queryKey: "queryKey", showChevron: "showChevron", size: "size", value: "value", valueKey: "valueKey" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1506
+ PSelect = __decorate([
1507
+ ProxyCmp({
1508
+ inputs: ['asyncFilter', 'autoSelectFirst', 'autocompletePlaceholder', 'disabled', 'displayKey', 'enableAutocomplete', 'error', 'helper', 'icon', 'identifierKey', 'items', 'keepQuery', 'label', 'loading', 'maxDisplayedItems', 'placeholder', 'prefix', 'query', 'queryKey', 'showChevron', 'size', 'value', 'valueKey']
1509
+ })
1510
+ ], PSelect);
1511
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PSelect, decorators: [{
1512
+ type: Component,
1513
+ args: [{
1514
+ selector: 'p-select',
1515
+ changeDetection: ChangeDetectionStrategy.OnPush,
1516
+ template: '<ng-content></ng-content>',
1517
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1518
+ inputs: ['asyncFilter', 'autoSelectFirst', 'autocompletePlaceholder', 'disabled', 'displayKey', 'enableAutocomplete', 'error', 'helper', 'icon', 'identifierKey', 'items', 'keepQuery', 'label', 'loading', 'maxDisplayedItems', 'placeholder', 'prefix', 'query', 'queryKey', 'showChevron', 'size', 'value', 'valueKey'],
1519
+ }]
1520
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1521
+ let PSliderIndicator = class PSliderIndicator {
1522
+ constructor(c, r, z) {
1523
+ this.z = z;
1524
+ c.detach();
1525
+ this.el = r.nativeElement;
1526
+ }
1527
+ };
1528
+ PSliderIndicator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PSliderIndicator, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
1529
+ PSliderIndicator.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.6", type: PSliderIndicator, selector: "p-slider-indicator", inputs: { active: "active" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1530
+ PSliderIndicator = __decorate([
1531
+ ProxyCmp({
1532
+ inputs: ['active']
1533
+ })
1534
+ ], PSliderIndicator);
1535
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PSliderIndicator, decorators: [{
1536
+ type: Component,
1537
+ args: [{
1538
+ selector: 'p-slider-indicator',
1539
+ changeDetection: ChangeDetectionStrategy.OnPush,
1540
+ template: '<ng-content></ng-content>',
1541
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1542
+ inputs: ['active'],
1543
+ }]
1544
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1545
+ let PStatus = class PStatus {
1546
+ constructor(c, r, z) {
1547
+ this.z = z;
1548
+ c.detach();
1549
+ this.el = r.nativeElement;
1550
+ }
1551
+ };
1552
+ PStatus.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PStatus, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
1553
+ PStatus.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.6", type: PStatus, selector: "p-status", inputs: { icon: "icon", iconFlip: "iconFlip", iconRotate: "iconRotate", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1554
+ PStatus = __decorate([
1555
+ ProxyCmp({
1556
+ inputs: ['icon', 'iconFlip', 'iconRotate', 'variant']
1557
+ })
1558
+ ], PStatus);
1559
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PStatus, decorators: [{
1560
+ type: Component,
1561
+ args: [{
1562
+ selector: 'p-status',
1563
+ changeDetection: ChangeDetectionStrategy.OnPush,
1564
+ template: '<ng-content></ng-content>',
1565
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1566
+ inputs: ['icon', 'iconFlip', 'iconRotate', 'variant'],
1567
+ }]
1568
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1569
+ let PStepper = class PStepper {
1570
+ constructor(c, r, z) {
1571
+ this.z = z;
1572
+ c.detach();
1573
+ this.el = r.nativeElement;
1574
+ }
1575
+ };
1576
+ PStepper.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PStepper, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
1577
+ PStepper.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.6", type: PStepper, selector: "p-stepper", inputs: { activeStep: "activeStep", contentPosition: "contentPosition", direction: "direction" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1578
+ PStepper = __decorate([
1579
+ ProxyCmp({
1580
+ inputs: ['activeStep', 'contentPosition', 'direction']
1581
+ })
1582
+ ], PStepper);
1583
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PStepper, decorators: [{
1584
+ type: Component,
1585
+ args: [{
1586
+ selector: 'p-stepper',
1587
+ changeDetection: ChangeDetectionStrategy.OnPush,
1588
+ template: '<ng-content></ng-content>',
1589
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1590
+ inputs: ['activeStep', 'contentPosition', 'direction'],
1591
+ }]
1592
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1593
+ let PStepperItem = class PStepperItem {
1594
+ constructor(c, r, z) {
1595
+ this.z = z;
1596
+ c.detach();
1597
+ this.el = r.nativeElement;
1598
+ }
1599
+ };
1600
+ PStepperItem.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PStepperItem, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
1601
+ PStepperItem.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.6", type: PStepperItem, selector: "p-stepper-item", inputs: { active: "active", align: "align", contentPosition: "contentPosition", direction: "direction", finished: "finished" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1602
+ PStepperItem = __decorate([
1603
+ ProxyCmp({
1604
+ inputs: ['active', 'align', 'contentPosition', 'direction', 'finished']
1605
+ })
1606
+ ], PStepperItem);
1607
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PStepperItem, decorators: [{
1608
+ type: Component,
1609
+ args: [{
1610
+ selector: 'p-stepper-item',
1611
+ changeDetection: ChangeDetectionStrategy.OnPush,
1612
+ template: '<ng-content></ng-content>',
1613
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1614
+ inputs: ['active', 'align', 'contentPosition', 'direction', 'finished'],
1615
+ }]
1616
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1617
+ let PStepperLine = class PStepperLine {
1618
+ constructor(c, r, z) {
1619
+ this.z = z;
1620
+ c.detach();
1621
+ this.el = r.nativeElement;
1622
+ }
1623
+ };
1624
+ PStepperLine.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PStepperLine, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
1625
+ PStepperLine.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.6", type: PStepperLine, selector: "p-stepper-line", inputs: { active: "active", direction: "direction" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1626
+ PStepperLine = __decorate([
1627
+ ProxyCmp({
1628
+ inputs: ['active', 'direction']
1629
+ })
1630
+ ], PStepperLine);
1631
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PStepperLine, decorators: [{
1632
+ type: Component,
1633
+ args: [{
1634
+ selector: 'p-stepper-line',
1635
+ changeDetection: ChangeDetectionStrategy.OnPush,
1636
+ template: '<ng-content></ng-content>',
1637
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1638
+ inputs: ['active', 'direction'],
1639
+ }]
1640
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1641
+ let PTabGroup = class PTabGroup {
1642
+ constructor(c, r, z) {
1643
+ this.z = z;
1644
+ c.detach();
1645
+ this.el = r.nativeElement;
1646
+ }
1647
+ };
1648
+ PTabGroup.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PTabGroup, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
1649
+ PTabGroup.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.6", type: PTabGroup, selector: "p-tab-group", ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1650
+ PTabGroup = __decorate([
1651
+ ProxyCmp({})
1652
+ ], PTabGroup);
1653
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PTabGroup, decorators: [{
1654
+ type: Component,
1655
+ args: [{
1656
+ selector: 'p-tab-group',
1657
+ changeDetection: ChangeDetectionStrategy.OnPush,
1658
+ template: '<ng-content></ng-content>',
1659
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1660
+ inputs: [],
1661
+ }]
1662
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1663
+ let PTabItem = class PTabItem {
1664
+ constructor(c, r, z) {
1665
+ this.z = z;
1666
+ c.detach();
1667
+ this.el = r.nativeElement;
1668
+ }
1669
+ };
1670
+ PTabItem.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PTabItem, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
1671
+ PTabItem.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.6", type: PTabItem, selector: "p-tab-item", inputs: { active: "active" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1672
+ PTabItem = __decorate([
1673
+ ProxyCmp({
1674
+ inputs: ['active']
1675
+ })
1676
+ ], PTabItem);
1677
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PTabItem, decorators: [{
1678
+ type: Component,
1679
+ args: [{
1680
+ selector: 'p-tab-item',
1681
+ changeDetection: ChangeDetectionStrategy.OnPush,
1682
+ template: '<ng-content></ng-content>',
1683
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1684
+ inputs: ['active'],
1685
+ }]
1686
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1687
+ let PTableContainer = class PTableContainer {
1688
+ constructor(c, r, z) {
1689
+ this.z = z;
1690
+ c.detach();
1691
+ this.el = r.nativeElement;
1692
+ }
1693
+ };
1694
+ PTableContainer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PTableContainer, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
1695
+ PTableContainer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.6", type: PTableContainer, selector: "p-table-container", ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1696
+ PTableContainer = __decorate([
1697
+ ProxyCmp({})
1698
+ ], PTableContainer);
1699
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PTableContainer, decorators: [{
1700
+ type: Component,
1701
+ args: [{
1702
+ selector: 'p-table-container',
1703
+ changeDetection: ChangeDetectionStrategy.OnPush,
1704
+ template: '<ng-content></ng-content>',
1705
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1706
+ inputs: [],
1707
+ }]
1708
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1709
+ let PTableFooter = class PTableFooter {
1710
+ constructor(c, r, z) {
1711
+ this.z = z;
1712
+ c.detach();
1713
+ this.el = r.nativeElement;
1714
+ proxyOutputs(this, this.el, ['pageChange', 'pageSizeChange', 'export']);
1715
+ }
1716
+ };
1717
+ PTableFooter.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PTableFooter, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
1718
+ PTableFooter.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.6", type: PTableFooter, selector: "p-table-footer", inputs: { enableExport: "enableExport", enablePageSize: "enablePageSize", enablePagination: "enablePagination", hideOnSinglePage: "hideOnSinglePage", loading: "loading", page: "page", pageSize: "pageSize", pageSizeOptions: "pageSizeOptions", total: "total" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1719
+ PTableFooter = __decorate([
1720
+ ProxyCmp({
1721
+ inputs: ['enableExport', 'enablePageSize', 'enablePagination', 'hideOnSinglePage', 'loading', 'page', 'pageSize', 'pageSizeOptions', 'total']
1722
+ })
1723
+ ], PTableFooter);
1724
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PTableFooter, decorators: [{
1725
+ type: Component,
1726
+ args: [{
1727
+ selector: 'p-table-footer',
1728
+ changeDetection: ChangeDetectionStrategy.OnPush,
1729
+ template: '<ng-content></ng-content>',
1730
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1731
+ inputs: ['enableExport', 'enablePageSize', 'enablePagination', 'hideOnSinglePage', 'loading', 'page', 'pageSize', 'pageSizeOptions', 'total'],
1732
+ }]
1733
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1734
+ let PTableHeader = class PTableHeader {
1735
+ constructor(c, r, z) {
1736
+ this.z = z;
1737
+ c.detach();
1738
+ this.el = r.nativeElement;
1739
+ proxyOutputs(this, this.el, ['quickFilter', 'queryChange', 'filter', 'edit']);
1740
+ }
1741
+ };
1742
+ PTableHeader.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PTableHeader, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
1743
+ PTableHeader.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.6", type: PTableHeader, selector: "p-table-header", inputs: { activeQuickFilterIdentifier: "activeQuickFilterIdentifier", canEdit: "canEdit", editButtonTemplate: "editButtonTemplate", editIcon: "editIcon", editLoading: "editLoading", editText: "editText", enableEdit: "enableEdit", enableFilter: "enableFilter", enableSearch: "enableSearch", filterButtonTemplate: "filterButtonTemplate", itemsSelectedAmount: "itemsSelectedAmount", loading: "loading", query: "query", quickFilters: "quickFilters", selectedFiltersAmount: "selectedFiltersAmount" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1744
+ PTableHeader = __decorate([
1745
+ ProxyCmp({
1746
+ inputs: ['activeQuickFilterIdentifier', 'canEdit', 'editButtonTemplate', 'editIcon', 'editLoading', 'editText', 'enableEdit', 'enableFilter', 'enableSearch', 'filterButtonTemplate', 'itemsSelectedAmount', 'loading', 'query', 'quickFilters', 'selectedFiltersAmount']
1747
+ })
1748
+ ], PTableHeader);
1749
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PTableHeader, decorators: [{
1750
+ type: Component,
1751
+ args: [{
1752
+ selector: 'p-table-header',
1753
+ changeDetection: ChangeDetectionStrategy.OnPush,
1754
+ template: '<ng-content></ng-content>',
1755
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1756
+ inputs: ['activeQuickFilterIdentifier', 'canEdit', 'editButtonTemplate', 'editIcon', 'editLoading', 'editText', 'enableEdit', 'enableFilter', 'enableSearch', 'filterButtonTemplate', 'itemsSelectedAmount', 'loading', 'query', 'quickFilters', 'selectedFiltersAmount'],
1757
+ }]
1758
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1759
+ let PTableRow = class PTableRow {
1760
+ constructor(c, r, z) {
1761
+ this.z = z;
1762
+ c.detach();
1763
+ this.el = r.nativeElement;
1764
+ }
1765
+ };
1766
+ PTableRow.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PTableRow, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
1767
+ PTableRow.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.6", type: PTableRow, selector: "p-table-row", inputs: { enableHover: "enableHover", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1768
+ PTableRow = __decorate([
1769
+ ProxyCmp({
1770
+ inputs: ['enableHover', 'variant']
1771
+ })
1772
+ ], PTableRow);
1773
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PTableRow, decorators: [{
1774
+ type: Component,
1775
+ args: [{
1776
+ selector: 'p-table-row',
1777
+ changeDetection: ChangeDetectionStrategy.OnPush,
1778
+ template: '<ng-content></ng-content>',
1779
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1780
+ inputs: ['enableHover', 'variant'],
1781
+ }]
1782
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1783
+ let PToast = class PToast {
1784
+ constructor(c, r, z) {
1785
+ this.z = z;
1786
+ c.detach();
1787
+ this.el = r.nativeElement;
1788
+ proxyOutputs(this, this.el, ['action']);
1789
+ }
1790
+ };
1791
+ PToast.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PToast, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
1792
+ PToast.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.6", type: PToast, selector: "p-toast", inputs: { actionIcon: "actionIcon", actionIconFlip: "actionIconFlip", actionIconRotate: "actionIconRotate", content: "content", enableAction: "enableAction", header: "header", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1793
+ PToast = __decorate([
1794
+ ProxyCmp({
1795
+ inputs: ['actionIcon', 'actionIconFlip', 'actionIconRotate', 'content', 'enableAction', 'header', 'variant']
1796
+ })
1797
+ ], PToast);
1798
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PToast, decorators: [{
1799
+ type: Component,
1800
+ args: [{
1801
+ selector: 'p-toast',
1802
+ changeDetection: ChangeDetectionStrategy.OnPush,
1803
+ template: '<ng-content></ng-content>',
1804
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1805
+ inputs: ['actionIcon', 'actionIconFlip', 'actionIconRotate', 'content', 'enableAction', 'header', 'variant'],
1806
+ }]
1807
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1808
+ let PTooltip = class PTooltip {
1809
+ constructor(c, r, z) {
1810
+ this.z = z;
1811
+ c.detach();
1812
+ this.el = r.nativeElement;
1813
+ proxyOutputs(this, this.el, ['isOpen']);
1814
+ }
1815
+ };
1816
+ PTooltip.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PTooltip, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
1817
+ PTooltip.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.6", type: PTooltip, selector: "p-tooltip", inputs: { canManuallyClose: "canManuallyClose", placement: "placement", popover: "popover", show: "show", strategy: "strategy", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1818
+ PTooltip = __decorate([
1819
+ ProxyCmp({
1820
+ inputs: ['canManuallyClose', 'placement', 'popover', 'show', 'strategy', 'variant']
1821
+ })
1822
+ ], PTooltip);
1823
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PTooltip, decorators: [{
1824
+ type: Component,
1825
+ args: [{
1826
+ selector: 'p-tooltip',
1827
+ changeDetection: ChangeDetectionStrategy.OnPush,
1828
+ template: '<ng-content></ng-content>',
1829
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1830
+ inputs: ['canManuallyClose', 'placement', 'popover', 'show', 'strategy', 'variant'],
1831
+ }]
1832
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1833
+
1834
+ const DIRECTIVES = [
1835
+ PAccordion,
1836
+ PAttachment,
1837
+ PAvatar,
1838
+ PAvatarGroup,
1839
+ PBackdrop,
1840
+ PButton,
1841
+ PCalendar,
1842
+ PCardBody,
1843
+ PCardContainer,
1844
+ PCardHeader,
1845
+ PContentSlider,
1846
+ PCounter,
1847
+ PDatepicker,
1848
+ PDivider,
1849
+ PDrawer,
1850
+ PDrawerBody,
1851
+ PDrawerContainer,
1852
+ PDrawerHeader,
1853
+ PDropdown,
1854
+ PDropdownMenuContainer,
1855
+ PDropdownMenuItem,
1856
+ PHelper,
1857
+ PIcon,
1858
+ PIllustration,
1859
+ PInfoPanel,
1860
+ PInputError,
1861
+ PInputGroup,
1862
+ PLabel,
1863
+ PLayout,
1864
+ PLoader,
1865
+ PModal,
1866
+ PModalBody,
1867
+ PModalContainer,
1868
+ PModalFooter,
1869
+ PModalHeader,
1870
+ PNavbar,
1871
+ PNavigationItem,
1872
+ PPageSizeSelect,
1873
+ PPagination,
1874
+ PPaginationItem,
1875
+ PProfile,
1876
+ PSegmentContainer,
1877
+ PSegmentItem,
1878
+ PSelect,
1879
+ PSliderIndicator,
1880
+ PStatus,
1881
+ PStepper,
1882
+ PStepperItem,
1883
+ PStepperLine,
1884
+ PTabGroup,
1885
+ PTabItem,
1886
+ PTableContainer,
1887
+ PTableFooter,
1888
+ PTableHeader,
1889
+ PTableRow,
1890
+ PToast,
1891
+ PTooltip
1892
+ ];
1893
+
1894
+ class StencilModule {
1895
+ }
1896
+ StencilModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: StencilModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1897
+ StencilModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.6", ngImport: i0, type: StencilModule, declarations: [PAccordion, PAttachment, PAvatar, PAvatarGroup, PBackdrop, PButton, PCalendar, PCardBody, PCardContainer, PCardHeader, PContentSlider, PCounter, PDatepicker, PDivider, PDrawer, PDrawerBody, PDrawerContainer, PDrawerHeader, PDropdown, PDropdownMenuContainer, PDropdownMenuItem, PHelper, PIcon, PIllustration, PInfoPanel, PInputError, PInputGroup, PLabel, PLayout, PLoader, PModal, PModalBody, PModalContainer, PModalFooter, PModalHeader, PNavbar, PNavigationItem, PPageSizeSelect, PPagination, PPaginationItem, PProfile, PSegmentContainer, PSegmentItem, PSelect, PSliderIndicator, PStatus, PStepper, PStepperItem, PStepperLine, PTabGroup, PTabItem, PTableContainer, PTableFooter, PTableHeader, PTableRow, PToast, PTooltip], exports: [PAccordion, PAttachment, PAvatar, PAvatarGroup, PBackdrop, PButton, PCalendar, PCardBody, PCardContainer, PCardHeader, PContentSlider, PCounter, PDatepicker, PDivider, PDrawer, PDrawerBody, PDrawerContainer, PDrawerHeader, PDropdown, PDropdownMenuContainer, PDropdownMenuItem, PHelper, PIcon, PIllustration, PInfoPanel, PInputError, PInputGroup, PLabel, PLayout, PLoader, PModal, PModalBody, PModalContainer, PModalFooter, PModalHeader, PNavbar, PNavigationItem, PPageSizeSelect, PPagination, PPaginationItem, PProfile, PSegmentContainer, PSegmentItem, PSelect, PSliderIndicator, PStatus, PStepper, PStepperItem, PStepperLine, PTabGroup, PTabItem, PTableContainer, PTableFooter, PTableHeader, PTableRow, PToast, PTooltip] });
1898
+ StencilModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: StencilModule });
1899
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: StencilModule, decorators: [{
1900
+ type: NgModule,
1901
+ args: [{
1902
+ declarations: [...DIRECTIVES],
1903
+ exports: [...DIRECTIVES],
1904
+ }]
1905
+ }] });
1906
+
1907
+ class OverlayModule {
1908
+ }
1909
+ OverlayModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: OverlayModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1910
+ OverlayModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.6", ngImport: i0, type: OverlayModule, imports: [CommonModule,
1911
+ StencilModule,
1912
+ OverlayModule$1,
1913
+ PlatformModule,
1914
+ ObserversModule,
1915
+ PortalModule], exports: [PortalModule] });
1916
+ OverlayModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: OverlayModule, imports: [CommonModule,
1917
+ StencilModule,
1918
+ OverlayModule$1,
1919
+ PlatformModule,
1920
+ ObserversModule,
1921
+ PortalModule, PortalModule] });
1922
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: OverlayModule, decorators: [{
1923
+ type: NgModule,
1924
+ args: [{
1925
+ imports: [
1926
+ CommonModule,
1927
+ StencilModule,
1928
+ OverlayModule$1,
1929
+ PlatformModule,
1930
+ ObserversModule,
1931
+ PortalModule,
1932
+ ],
1933
+ exports: [PortalModule],
1934
+ }]
1935
+ }] });
1936
+
1937
+ class OverlayRef {
1938
+ constructor(_overlay) {
1939
+ this._overlay = _overlay;
1940
+ this.closed$ = new Subject();
1941
+ }
1942
+ close() {
1943
+ this._overlay.dispose();
1944
+ this.closed$.next(null);
1945
+ }
1946
+ }
1947
+
1948
+ class OverlayService {
1949
+ constructor(injector, overlay) {
1950
+ this.injector = injector;
1951
+ this.overlay = overlay;
1952
+ }
1953
+ open(component, options = {}) {
1954
+ var _a;
1955
+ const overlay = this._createOverlay();
1956
+ const overlayRef = new OverlayRef(overlay);
1957
+ this._attachModalContainer(overlay, overlayRef, component, (_a = options.providers) !== null && _a !== void 0 ? _a : []);
1958
+ this._attachData(overlayRef, options);
1959
+ this.overlayRef = overlayRef;
1960
+ return overlayRef;
1961
+ }
1962
+ // tslint:disable-next-line:max-line-length
1963
+ _attachModalContainer(overlay, overlayRef, component, providers) {
1964
+ const injector = this._createInjector(overlayRef, providers);
1965
+ const containerPortal = component instanceof CdkPortal
1966
+ ? component
1967
+ : new ComponentPortal(component, null, injector);
1968
+ const containerRef = overlay.attach(containerPortal);
1969
+ overlayRef.instance = containerRef.instance;
1970
+ return containerRef.instance;
1971
+ }
1972
+ _createInjector(overlayRef, providers) {
1973
+ return Injector.create({
1974
+ providers: [
1975
+ {
1976
+ provide: OverlayRef,
1977
+ useValue: overlayRef,
1978
+ },
1979
+ ...providers,
1980
+ ],
1981
+ parent: this.injector,
1982
+ });
1983
+ }
1984
+ _getOverlayConfig() {
1985
+ const positionStrategy = this.overlay
1986
+ .position()
1987
+ .global()
1988
+ .centerHorizontally()
1989
+ .centerVertically();
1990
+ const overlayConfig = new OverlayConfig({
1991
+ hasBackdrop: false,
1992
+ scrollStrategy: this.overlay.scrollStrategies.block(),
1993
+ positionStrategy,
1994
+ });
1995
+ return overlayConfig;
1996
+ }
1997
+ _createOverlay() {
1998
+ // Returns an OverlayConfig
1999
+ const overlayConfig = this._getOverlayConfig();
2000
+ // Returns an OverlayRef
2001
+ return this.overlay.create(overlayConfig);
2002
+ }
2003
+ _attachData(overlayRef, options) {
2004
+ if (options.data && typeof options.data === 'object') {
2005
+ for (const key of Object.keys(options.data)) {
2006
+ overlayRef.instance[key] = options.data[key];
2007
+ }
2008
+ }
2009
+ }
2010
+ }
2011
+ OverlayService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: OverlayService, deps: [{ token: i0.Injector }, { token: i1.Overlay }], target: i0.ɵɵFactoryTarget.Injectable });
2012
+ OverlayService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: OverlayService });
2013
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: OverlayService, decorators: [{
2014
+ type: Injectable
2015
+ }], ctorParameters: function () { return [{ type: i0.Injector }, { type: i1.Overlay }]; } });
2016
+
2017
+ const OVERLAY_SERVICES = [OverlayService];
2018
+
2019
+ const createFormFilters = (values, quickFilters, quickFilterKey) => {
2020
+ const filters = [];
2021
+ let quickFilter = null;
2022
+ for (const key of Object.keys(values)) {
2023
+ const value = values[key];
2024
+ if (key !== quickFilterKey &&
2025
+ !(value instanceof Date) &&
2026
+ !(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 = false) {
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.6", ngImport: i0, type: BaseTableComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
2223
+ BaseTableComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.6", 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.6", 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.6", ngImport: i0, type: TableCell, deps: [], target: i0.ɵɵFactoryTarget.Component });
2366
+ TableCell.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.6", type: TableCell, selector: "p-table-cell-ngx", inputs: { variant: "variant", index: "index", rowIndex: "rowIndex", definition: "definition", item: "item", value: "value", checkbox: "checkbox", template: "template" }, host: { properties: { "class": "this.class" } }, ngImport: i0, template: "<ng-container *ngIf=\"checkbox\">\n <ng-container *ngTemplateOutlet=\"checkbox\"></ng-container>\n</ng-container>\n\n<ng-container [ngSwitch]=\"variant\">\n <p-loader\n *ngSwitchCase=\"'loading'\"\n variant=\"ghost\"\n class=\"rounded flex-1 w-full h-6\"\n ></p-loader>\n\n <div *ngSwitchCase=\"'header'\" class=\"flex\">\n <ng-container *ngTemplateOutlet=\"valueTemplate\"></ng-container>\n </div>\n\n <div *ngSwitchCase=\"'default'\" class=\"flex\">\n <ng-container *ngIf=\"template; else valueTemplate\">\n <ng-container\n *ngTemplateOutlet=\"template; context: data\"\n ></ng-container>\n </ng-container>\n </div>\n</ng-container>\n\n<ng-template #valueTemplate>\n {{ data.value }}\n</ng-template>\n", styles: [":host{display:flex;align-items:center;gap:1rem}\n"], dependencies: [{ kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i1$1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i1$1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "component", type: PLoader, selector: "p-loader", inputs: ["color", "modalDescription", "modalTitle", "show", "variant"] }] });
2367
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", 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.6", 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.6", type: TableColumn, selector: "p-table-column", inputs: { align: "align", name: "name", path: "path", sizes: "sizes", type: "type", useSlot: "useSlot" }, queries: [{ propertyName: "template", first: true, predicate: TemplateRef, descendants: true, read: TemplateRef, static: true }], ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
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.6", 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.6", ngImport: i0, type: TableCustomFilterDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
2426
+ TableCustomFilterDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.6", type: TableCustomFilterDirective, selector: "[p-table-custom-filter]", ngImport: i0 });
2427
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", 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.6", ngImport: i0, type: TableFilterModalDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
2437
+ TableFilterModalDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.6", type: TableFilterModalDirective, selector: "[p-table-filter-modal]", ngImport: i0 });
2438
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", 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.6", ngImport: i0, type: TableFooterDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
2464
+ TableFooterDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.6", type: TableFooterDirective, selector: "p-table-footer", host: { listeners: { "pageChange": "handleChange($event.detail, \"page\")", "pageSizeChange": "handleChange($event.detail, \"pageSize\")" } }, providers: [
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.6", 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.6", ngImport: i0, type: TableHeaderDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
2517
+ TableHeaderDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.6", type: TableHeaderDirective, selector: "p-table-header", host: { listeners: { "queryChange": "handleChange($event.detail, \"query\")", "quickFilter": "handleChange($event.detail, \"quickFilter\")" } }, providers: [
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.6", 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._base.selectedRows = 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) || (this.lastValue.quickFilter && !((_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.6", 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.6", type: TableNgxDirective, selector: "p-table-ngx", host: { listeners: { "queryChange": "handleChange($event.detail, \"query\")", "quickFilter": "handleChange($event.detail, \"quickFilter\")", "pageChange": "handleChange($event.detail, \"page\")", "pageSizeChange": "handleChange($event.detail, \"pageSize\")", "selectedRowsChange": "handleChange($event, \"selectedRows\")" } }, providers: [
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.6", 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.6", ngImport: i0, type: TableDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
2701
+ TableDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.6", type: TableDirective, selector: "p-table", host: { listeners: { "queryChange": "handleChange($event.detail, \"query\")", "quickFilter": "handleChange($event.detail, \"quickFilter\")", "pageChange": "handleChange($event.detail, \"page\")", "pageSizeChange": "handleChange($event.detail, \"pageSize\")", "selectedRowsChange": "handleChange($event.detail, \"selectedRows\")" } }, providers: [
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.6", 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
+ * Wether the edit button is loading
2811
+ */
2812
+ this.editButtonLoading = false;
2813
+ /**
2814
+ * The edit button icon
2815
+ */
2816
+ this.editButtonIcon = 'pencil';
2817
+ /**
2818
+ * Event when one of the quick filters is clicked
2819
+ */
2820
+ this.quickFilter = new EventEmitter();
2821
+ /**
2822
+ * Event when the query changes
2823
+ */
2824
+ this.queryChange = new EventEmitter();
2825
+ /**
2826
+ * Event when the filter button is clicked
2827
+ */
2828
+ this.filter = new EventEmitter();
2829
+ /**
2830
+ * Event when the edit button is clicked
2831
+ */
2832
+ this.edit = new EventEmitter();
2833
+ /** START FOOTER */
2834
+ /**
2835
+ * Wether to show the footer
2836
+ */
2837
+ this.enableFooter = true;
2838
+ /**
2839
+ * Wether to enable page size select
2840
+ */
2841
+ this.enablePageSize = true;
2842
+ /**
2843
+ * Wether to enable pagination
2844
+ */
2845
+ this.enablePagination = true;
2846
+ /**
2847
+ * Wether to enable export
2848
+ */
2849
+ this.enableExport = true;
2850
+ /**
2851
+ * The current page
2852
+ */
2853
+ this.page = 1;
2854
+ /**
2855
+ * Event whenever the page changes
2856
+ */
2857
+ this.pageChange = new EventEmitter();
2858
+ /**
2859
+ * The amount of items per page
2860
+ */
2861
+ this.pageSize = defaultSize;
2862
+ /**
2863
+ * The options for the page size
2864
+ */
2865
+ this.pageSizeOptions = defaultSizeOptions;
2866
+ /**
2867
+ * Event whenever the page changes
2868
+ */
2869
+ this.pageSizeChange = new EventEmitter();
2870
+ /**
2871
+ * Event whenever the page changes
2872
+ */
2873
+ this.export = new EventEmitter();
2874
+ /**
2875
+ * Wether to hide when there is only 1 page available
2876
+ */
2877
+ this.hideOnSinglePage = true;
2878
+ /* Empty state start */
2879
+ this.emptyStateType = 'no_filter';
2880
+ this.emptyStateIllustration = 'empty-state-add';
2881
+ this.enableEmptyStateAction = true;
2882
+ this.emptyStateFilteredIllustration = 'empty-state-search';
2883
+ /**
2884
+ * Event whenever the empty state is clicked
2885
+ */
2886
+ this.emptyStateActionClick = new EventEmitter();
2887
+ /* Empty state end */
2888
+ this.columns = [];
2889
+ this.parsedItems = [];
2890
+ this.loadingRows = Array.from({
2891
+ length: this.amountOfLoadingRows,
2892
+ });
2893
+ this._ctrlDown = false;
2894
+ this.filterModalShow$ = new BehaviorSubject(false);
2895
+ this.filterModalHeaderText = 'Filters';
2896
+ this.filterModalSaveText = 'Save';
2897
+ this.filterModalCancelText = 'Cancel';
2898
+ this.filterModalResetText = 'Reset filters';
2899
+ this.filterModalShowReset = false;
2900
+ this.filterModalShowResetMobile = false;
2901
+ this.filterModalShow = new EventEmitter();
2902
+ this.filterModalSave = new EventEmitter();
2903
+ this.filterModalReset = new EventEmitter();
2904
+ }
2905
+ set columnDefinitions(v) {
2906
+ this._columnDefinitions = v;
2907
+ this._generateColumns();
2908
+ }
2909
+ get columnDefinitions() {
2910
+ return this._columnDefinitions;
2911
+ }
2912
+ ngOnInit() {
2913
+ this._parseItems(this.items);
2914
+ this.loadingRows = Array.from({
2915
+ length: this.amountOfLoadingRows,
2916
+ });
2917
+ this.filterModalShow$
2918
+ .pipe(untilDestroyed(this), distinctUntilChanged())
2919
+ .subscribe((value) => this.filterModalShow.next(value));
2920
+ // this._generateColumns();
2921
+ }
2922
+ ngOnChanges(changes) {
2923
+ if (changes['items']) {
2924
+ this._parseItems(changes['items'].currentValue);
2925
+ }
2926
+ if (changes['amountOfLoadingRows']) {
2927
+ this.loadingRows = Array.from({
2928
+ length: changes['amountOfLoadingRows'].currentValue,
2929
+ });
2930
+ }
2931
+ }
2932
+ // @HostListener('body:tableDefinitionChanged', { target: 'body' })
2933
+ // onTableDefinitionUpdated() {
2934
+ // this._generateColumns();
2935
+ // }
2936
+ keyDown({ key }) {
2937
+ if (key !== 'Control' || this._ctrlDown === true) {
2938
+ return;
2939
+ }
2940
+ this._ctrlDown = true;
2941
+ }
2942
+ keyUp({ key }) {
2943
+ if (key !== 'Control' || this._ctrlDown === false) {
2944
+ return;
2945
+ }
2946
+ this._ctrlDown = false;
2947
+ }
2948
+ visibilityChange() {
2949
+ if (document.visibilityState !== 'hidden' || this._ctrlDown === false) {
2950
+ return;
2951
+ }
2952
+ this._ctrlDown = false;
2953
+ }
2954
+ onQueryChange({ detail }) {
2955
+ this.queryChange.emit(detail);
2956
+ }
2957
+ onQuickFilter({ detail }) {
2958
+ this.quickFilter.emit(detail);
2959
+ }
2960
+ onPageSizeChange({ detail }) {
2961
+ this.pageSizeChange.emit(detail);
2962
+ }
2963
+ onPageChange({ detail }) {
2964
+ this.pageChange.emit(detail);
2965
+ }
2966
+ onFilterModalSave() {
2967
+ this.filterModalSave.next();
2968
+ this.filterModalShow$.next(false);
2969
+ }
2970
+ onFilterModalReset(resetQuickFilter = false) {
2971
+ this.filterModalReset.next(resetQuickFilter);
2972
+ this.filterModalShow$.next(false);
2973
+ }
2974
+ emptyStateClicked() {
2975
+ if (!this.enableEmptyStateAction) {
2976
+ return;
2977
+ }
2978
+ this.emptyStateActionClick.emit();
2979
+ }
2980
+ _parseItems(items) {
2981
+ if (!items) {
2982
+ this.parsedItems = [];
2983
+ return;
2984
+ }
2985
+ if (Array.isArray(items)) {
2986
+ this.parsedItems = items;
2987
+ return;
2988
+ }
2989
+ this.parsedItems = JSON.parse(items);
2990
+ }
2991
+ _generateColumns() {
2992
+ // const definitions =
2993
+ // this._el.nativeElement.querySelectorAll('p-table-definition');
2994
+ this.columns = Array.from(this._columnDefinitions);
2995
+ }
2996
+ // private _getHeader() {
2997
+ // return (
2998
+ // <p-table-row variant="header">
2999
+ // {this._columns.map((col: TableDefinition, index) => (
3000
+ // <p-table-column
3001
+ // definition={col}
3002
+ // value={col.name}
3003
+ // variant="header"
3004
+ // checkbox={this._getCheckbox(index, null, 'header')}
3005
+ // index={index}
3006
+ // ></p-table-column>
3007
+ // ))}
3008
+ // </p-table-row>
3009
+ // );
3010
+ // }
3011
+ // private _getRows() {
3012
+ // if (this.loading) {
3013
+ // return Array.from(
3014
+ // {
3015
+ // length: this.amountOfLoadingRows,
3016
+ // },
3017
+ // (_, i) => (
3018
+ // <p-table-row
3019
+ // enableHover={
3020
+ // this.enableRowSelection || this.enableRowClick
3021
+ // }
3022
+ // >
3023
+ // {this._getLoadingColumns(i)}
3024
+ // </p-table-row>
3025
+ // )
3026
+ // );
3027
+ // }
3028
+ // return this._items.map((item, index) => (
3029
+ // <p-table-row
3030
+ // enableHover={this.enableRowSelection || this.enableRowClick}
3031
+ // onClick={(ev) => this._rowClick(ev, index)}
3032
+ // >
3033
+ // {this._getRowColumns(item, index)}
3034
+ // </p-table-row>
3035
+ // ));
3036
+ // }
3037
+ // private _getRowColumns(item, index) {
3038
+ // return this._columns.map((col: TableDefinition, colIndex) => {
3039
+ // return (
3040
+ // <p-table-column
3041
+ // definition={col}
3042
+ // item={item}
3043
+ // checkbox={this._getCheckbox(colIndex, index)}
3044
+ // index={colIndex}
3045
+ // rowIndex={index}
3046
+ // ></p-table-column>
3047
+ // );
3048
+ // });
3049
+ // }
3050
+ // private _getLoadingColumns(index) {
3051
+ // return this._columns.map((col: TableDefinition, colIndex) => {
3052
+ // return (
3053
+ // <p-table-column
3054
+ // definition={col}
3055
+ // variant="loading"
3056
+ // checkbox={this._getCheckbox(colIndex, index, 'loading')}
3057
+ // index={colIndex}
3058
+ // rowIndex={index}
3059
+ // ></p-table-column>
3060
+ // );
3061
+ // });
3062
+ // }
3063
+ // private _getCheckbox(
3064
+ // index,
3065
+ // rowIndex,
3066
+ // variant: 'header' | 'default' | 'loading' = 'default'
3067
+ // ) {
3068
+ // if (!this.enableRowSelection || !this.selectionKey || index !== 0) {
3069
+ // return;
3070
+ // }
3071
+ // if (variant === 'loading') {
3072
+ // return <p-loader variant="ghost" class="rounded w-6 h-6" />;
3073
+ // }
3074
+ // if (variant === 'header') {
3075
+ // return (
3076
+ // <input
3077
+ // class="p-input"
3078
+ // type="checkbox"
3079
+ // onChange={(ev) => this._selectAllChange(ev)}
3080
+ // checked={this._selectionContainsAll()}
3081
+ // indeterminate={this._selectionIndeterminate()}
3082
+ // />
3083
+ // );
3084
+ // }
3085
+ // const item = this._items[rowIndex];
3086
+ // return (
3087
+ // <input
3088
+ // class="p-input"
3089
+ // type="checkbox"
3090
+ // onChange={(ev) => this._checkboxChange(ev?.target, rowIndex)}
3091
+ // disabled={this.canSelectKey && !item[this.canSelectKey]}
3092
+ // checked={this._selectionContains(item, rowIndex)}
3093
+ // />
3094
+ // );
3095
+ // }
3096
+ _checkboxDisabled(item) {
3097
+ return this.canSelectKey && !item[this.canSelectKey];
3098
+ }
3099
+ _selectAllChange($event) {
3100
+ if (!this.enableRowSelection) {
3101
+ return;
3102
+ }
3103
+ const value = this._getCheckedValue($event.target);
3104
+ if (value) {
3105
+ const toAdd = [];
3106
+ for (let i = 0; i < this.parsedItems.length; i++) {
3107
+ const row = this.parsedItems[i];
3108
+ if (this.canSelectKey && !row[this.canSelectKey]) {
3109
+ continue;
3110
+ }
3111
+ if (this._selectionContains(row, i)) {
3112
+ continue;
3113
+ }
3114
+ toAdd.push(row);
3115
+ this.rowSelected.emit(row);
3116
+ }
3117
+ this.selectedRows = [...this.selectedRows, ...toAdd];
3118
+ this.selectedRowsChange.emit(this.selectedRows);
3119
+ return;
3120
+ }
3121
+ for (let i = 0; i < this.selectedRows.length; i++) {
3122
+ const value = this.selectedRows[i];
3123
+ const row = this.parsedItems.find((d) => this._getSelectionValue(d, i) ===
3124
+ this._getSelectionValue(value, i));
3125
+ if (!row) {
3126
+ continue;
3127
+ }
3128
+ this.rowDeselected.emit(row);
3129
+ }
3130
+ this.selectedRows = [];
3131
+ this.selectedRowsChange.emit(this.selectedRows);
3132
+ }
3133
+ _checkboxChange(target, index) {
3134
+ if (!this.enableRowSelection) {
3135
+ return;
3136
+ }
3137
+ const row = this.parsedItems[index];
3138
+ if (this.canSelectKey && !row[this.canSelectKey]) {
3139
+ target.checked = false;
3140
+ return;
3141
+ }
3142
+ const value = this._getCheckedValue(target);
3143
+ if (value) {
3144
+ this.selectedRows = [...this.selectedRows, row];
3145
+ this.selectedRowsChange.emit(this.selectedRows);
3146
+ this.rowSelected.emit(row);
3147
+ return;
3148
+ }
3149
+ const indexOfToRemove = this._selectionContains(row, index, true);
3150
+ // we need to do this, because splice does not trigger the selection setter.
3151
+ const selection = [...this.selectedRows];
3152
+ selection.splice(indexOfToRemove, 1);
3153
+ this.selectedRows = selection;
3154
+ this.selectedRowsChange.emit(this.selectedRows);
3155
+ this.rowDeselected.emit(row);
3156
+ }
3157
+ _getCheckedValue(target) {
3158
+ return target === null || target === void 0 ? void 0 : target.checked;
3159
+ }
3160
+ _getSelectionValue(row, index) {
3161
+ return this.selectionKey ? (row === null || row === void 0 ? void 0 : row[this.selectionKey]) || index : index;
3162
+ }
3163
+ _selectionContains(row, index, returnIndex = false) {
3164
+ const returnValue = this.selectedRows.findIndex((item) => this._getSelectionValue(row, index) ===
3165
+ this._getSelectionValue(item, index));
3166
+ return !returnIndex ? returnValue >= 0 : returnValue;
3167
+ }
3168
+ _selectionContainsAll() {
3169
+ var _a, _b;
3170
+ let returnValue = true;
3171
+ if (!((_a = this.parsedItems) === null || _a === void 0 ? void 0 : _a.length)) {
3172
+ return false;
3173
+ }
3174
+ for (let i = 0; i < ((_b = this.parsedItems) === null || _b === void 0 ? void 0 : _b.length); i++) {
3175
+ const item = this.parsedItems[i];
3176
+ const contains = this._selectionContains(item, i);
3177
+ if (!contains) {
3178
+ returnValue = false;
3179
+ break;
3180
+ }
3181
+ }
3182
+ return returnValue;
3183
+ }
3184
+ _selectionIndeterminate() {
3185
+ var _a, _b, _c;
3186
+ if (!((_a = this.parsedItems) === null || _a === void 0 ? void 0 : _a.length) || !((_b = this.selectedRows) === null || _b === void 0 ? void 0 : _b.length)) {
3187
+ return false;
3188
+ }
3189
+ let containsCount = 0;
3190
+ for (let i = 0; i < ((_c = this.parsedItems) === null || _c === void 0 ? void 0 : _c.length); i++) {
3191
+ const item = this.parsedItems[i];
3192
+ const contains = this._selectionContains(item, i);
3193
+ if (contains) {
3194
+ containsCount++;
3195
+ }
3196
+ }
3197
+ return containsCount > 0 && containsCount !== this.parsedItems.length;
3198
+ }
3199
+ _rowClick($event, index) {
3200
+ const target = $event.target;
3201
+ if (target.tagName.toLowerCase() === 'input' ||
3202
+ target.type === 'checkbox') {
3203
+ return;
3204
+ }
3205
+ const row = this._findRow($event.target);
3206
+ if (this.enableRowClick) {
3207
+ const action = this._findRowAction($event.target);
3208
+ if (action) {
3209
+ return;
3210
+ }
3211
+ const item = this.parsedItems[index];
3212
+ this.rowClick.emit({
3213
+ item,
3214
+ ctrlDown: this._ctrlDown,
3215
+ });
3216
+ return;
3217
+ }
3218
+ if (!this.enableRowSelection) {
3219
+ return;
3220
+ }
3221
+ const checkbox = row === null || row === void 0 ? void 0 : row.querySelector('input[type="checkbox"]');
3222
+ if (!checkbox) {
3223
+ return;
3224
+ }
3225
+ checkbox.checked = !checkbox.checked;
3226
+ this._checkboxChange(checkbox, index);
3227
+ }
3228
+ _findRow(el) {
3229
+ var _a;
3230
+ if (!el) {
3231
+ return el;
3232
+ }
3233
+ if (((_a = el === null || el === void 0 ? void 0 : el.tagName) === null || _a === void 0 ? void 0 : _a.toLowerCase()) === 'p-table-row') {
3234
+ return el;
3235
+ }
3236
+ return this._findRow(el === null || el === void 0 ? void 0 : el.parentElement);
3237
+ }
3238
+ _findRowAction(el) {
3239
+ var _a;
3240
+ if (!el) {
3241
+ return null;
3242
+ }
3243
+ if (el.getAttribute('data-is-action') !== null &&
3244
+ el.getAttribute('data-is-action') !== 'false') {
3245
+ return el;
3246
+ }
3247
+ if (((_a = el === null || el === void 0 ? void 0 : el.tagName) === null || _a === void 0 ? void 0 : _a.toLowerCase()) === 'p-table-row') {
3248
+ return null;
3249
+ }
3250
+ return this._findRowAction(el === null || el === void 0 ? void 0 : el.parentElement);
3251
+ }
3252
+ };
3253
+ Table.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: Table, deps: [], target: i0.ɵɵFactoryTarget.Component });
3254
+ Table.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.6", type: Table, selector: "p-table-ngx", inputs: { items: "items", loading: "loading", headerLoading: "headerLoading", footerLoading: "footerLoading", amountOfLoadingRows: "amountOfLoadingRows", enableRowSelection: "enableRowSelection", enableRowClick: "enableRowClick", selectedRows: "selectedRows", selectionKey: "selectionKey", canSelectKey: "canSelectKey", enableHeader: "enableHeader", quickFilters: "quickFilters", activeQuickFilterIdentifier: "activeQuickFilterIdentifier", enableSearch: "enableSearch", query: "query", enableFilter: "enableFilter", selectedFiltersAmount: "selectedFiltersAmount", filterButtonTemplate: "filterButtonTemplate", enableEdit: "enableEdit", editButtonLoading: "editButtonLoading", editButtonIcon: "editButtonIcon", editButtonText: "editButtonText", editButtonTemplate: "editButtonTemplate", enableFooter: "enableFooter", enablePageSize: "enablePageSize", enablePagination: "enablePagination", enableExport: "enableExport", page: "page", total: "total", pageSize: "pageSize", pageSizeOptions: "pageSizeOptions", hideOnSinglePage: "hideOnSinglePage", emptyStateType: "emptyStateType", emptyStateIllustration: "emptyStateIllustration", emptyStateHeader: "emptyStateHeader", emptyStateContent: "emptyStateContent", emptyStateAction: "emptyStateAction", enableEmptyStateAction: "enableEmptyStateAction", emptyStateFilteredIllustration: "emptyStateFilteredIllustration", emptyStateFilteredHeader: "emptyStateFilteredHeader", emptyStateFilteredContent: "emptyStateFilteredContent", filterModalHeaderText: "filterModalHeaderText", filterModalSaveText: "filterModalSaveText", filterModalCancelText: "filterModalCancelText", filterModalResetText: "filterModalResetText", filterModalShowReset: "filterModalShowReset", filterModalShowResetMobile: "filterModalShowResetMobile" }, outputs: { selectedRowsChange: "selectedRowsChange", rowClick: "rowClick", rowSelected: "rowSelected", rowDeselected: "rowDeselected", quickFilter: "quickFilter", queryChange: "queryChange", filter: "filter", edit: "edit", pageChange: "pageChange", pageSizeChange: "pageSizeChange", export: "export", emptyStateActionClick: "emptyStateActionClick", filterModalShow: "filterModalShow", filterModalSave: "filterModalSave", filterModalReset: "filterModalReset" }, host: { listeners: { "document:keydown": "keyDown($event)", "document:keyup": "keyUp($event)", "document:visibilitychange": "visibilityChange($event)" } }, queries: [{ propertyName: "headerCustomFilterTemplate", first: true, predicate: TableCustomFilterDirective, descendants: true, read: TemplateRef, static: true }, { propertyName: "filterModalTemplate", first: true, predicate: TableFilterModalDirective, descendants: true, read: TemplateRef, static: true }, { propertyName: "columnDefinitions", predicate: TableColumn }], usesOnChanges: true, ngImport: i0, template: "<p-table-container>\n <p-table-header\n *ngIf=\"enableHeader\"\n [quickFilters]=\"quickFilters\"\n [activeQuickFilterIdentifier]=\"activeQuickFilterIdentifier\"\n (quickFilter)=\"(onQuickFilter)\"\n [enableSearch]=\"enableSearch\"\n [query]=\"query\"\n (queryChange)=\"(onQueryChange)\"\n [enableFilter]=\"enableFilter\"\n [selectedFiltersAmount]=\"selectedFiltersAmount\"\n [filterButtonTemplate]=\"filterButtonTemplate\"\n (filter)=\"filterModalShow$.next(true)\"\n [enableEdit]=\"enableEdit\"\n [canEdit]=\"!!selectedRows.length\"\n [editButtonTemplate]=\"editButtonTemplate\"\n [editLoading]=\"editButtonLoading\"\n [editText]=\"editButtonText\"\n [editIcon]=\"editButtonIcon\"\n (edit)=\"edit.emit()\"\n [itemsSelectedAmount]=\"selectedRows.length\"\n [loading]=\"headerLoading\"\n >\n <ng-container *ngIf=\"headerCustomFilterTemplate\">\n <ng-container\n *ngTemplateOutlet=\"headerCustomFilterTemplate\"\n ></ng-container>\n </ng-container>\n </p-table-header>\n\n <p-table-row variant=\"header\">\n <ng-container *ngFor=\"let col of columns; let index = index\">\n <p-table-cell-ngx\n [definition]=\"col\"\n [value]=\"col.name\"\n variant=\"header\"\n [index]=\"index\"\n [checkbox]=\"\n index === 0 && enableRowSelection\n ? checkboxTemplate\n : undefined\n \"\n ></p-table-cell-ngx>\n <ng-template #checkboxTemplate>\n <input\n class=\"p-input\"\n type=\"checkbox\"\n (change)=\"_selectAllChange($event)\"\n [checked]=\"_selectionContainsAll()\"\n [indeterminate]=\"_selectionIndeterminate()\"\n />\n </ng-template>\n </ng-container>\n </p-table-row>\n\n <div class=\"flex flex-col\">\n <ng-container *ngIf=\"loading; else contentTemplate\">\n <p-table-row\n *ngFor=\"let r of loadingRows; let rowIndex = index\"\n [enableHover]=\"enableRowSelection || enableRowClick\"\n >\n <ng-container *ngFor=\"let col of columns; let index = index\">\n <p-table-cell-ngx\n [definition]=\"col\"\n variant=\"loading\"\n [checkbox]=\"\n index === 0 && enableRowSelection\n ? checkboxTemplate\n : undefined\n \"\n [index]=\"index\"\n [rowIndex]=\"rowIndex\"\n ></p-table-cell-ngx>\n <ng-template #checkboxTemplate>\n <p-loader\n variant=\"ghost\"\n class=\"h-6 w-6 rounded\"\n ></p-loader>\n </ng-template>\n </ng-container>\n </p-table-row>\n </ng-container>\n\n <ng-template #contentTemplate>\n <ng-container *ngIf=\"items?.length; else emptyStateTemplate\">\n <p-table-row\n *ngFor=\"let item of items; let rowIndex = index\"\n [enableHover]=\"enableRowSelection || enableRowClick\"\n (click)=\"_rowClick($event, rowIndex)\"\n >\n <ng-container\n *ngFor=\"let col of columns; let index = index\"\n >\n <p-table-cell-ngx\n [definition]=\"col\"\n [item]=\"item\"\n [checkbox]=\"\n index === 0 && enableRowSelection\n ? checkboxTemplate\n : undefined\n \"\n [index]=\"index\"\n [rowIndex]=\"rowIndex\"\n [template]=\"col.template\"\n ></p-table-cell-ngx>\n\n <ng-template #checkboxTemplate>\n <input\n class=\"p-input\"\n type=\"checkbox\"\n (change)=\"\n _checkboxChange($event.target, rowIndex)\n \"\n [disabled]=\"_checkboxDisabled(item)\"\n [checked]=\"_selectionContains(item, rowIndex)\"\n />\n </ng-template>\n </ng-container>\n </p-table-row>\n </ng-container>\n </ng-template>\n </div>\n\n <p-table-footer\n *ngIf=\"enableFooter\"\n [hideOnSinglePage]=\"hideOnSinglePage\"\n [enablePageSize]=\"enablePageSize\"\n [pageSize]=\"pageSize\"\n [pageSizeOptions]=\"pageSizeOptions\"\n (pageSizeChange)=\"(pageSizeChange)\"\n [enablePagination]=\"enablePagination\"\n [page]=\"page\"\n [total]=\"total\"\n (pageChange)=\"(pageChange)\"\n [enableExport]=\"enableExport\"\n (export)=\"export.emit()\"\n [loading]=\"footerLoading\"\n ></p-table-footer>\n</p-table-container>\n\n<ng-container *ngIf=\"filterModalTemplate\">\n <p-modal\n [header]=\"filterModalHeaderText\"\n [show]=\"filterModalShow$ | async\"\n (closed)=\"filterModalShow$.next(false)\"\n >\n <div slot=\"content\" class=\"flex flex-col gap-6\">\n <ng-container\n *ngTemplateOutlet=\"filterModalTemplate\"\n ></ng-container>\n </div>\n <div slot=\"footer\" class=\"flex w-full justify-between gap-4\">\n <p-button\n *ngIf=\"filterModalShowResetMobile\"\n class=\"flex w-full tablet:w-auto desktop-xs:hidden\"\n variant=\"secondary\"\n (onClick)=\"onFilterModalReset(true)\"\n >\n {{ filterModalResetText }}\n </p-button>\n <p-button\n *ngIf=\"filterModalShowReset\"\n class=\"hidden w-full tablet:w-auto desktop-xs:flex\"\n variant=\"secondary\"\n (onClick)=\"onFilterModalReset()\"\n >\n {{ filterModalResetText }}\n </p-button>\n <p-button\n class=\"ml-auto w-full tablet:w-auto\"\n icon=\"checkmark\"\n (onClick)=\"onFilterModalSave()\"\n >\n {{ filterModalSaveText }}\n </p-button>\n </div>\n </p-modal>\n</ng-container>\n\n<ng-template #emptyStateTemplate>\n <div\n *ngIf=\"emptyStateType === 'filtered'; else emptyStateNonFilterTemplate\"\n class=\"\n flex\n max-w-[20rem]\n flex-col\n items-center\n self-center\n py-24\n text-center\n \"\n >\n <p-illustration\n [variant]=\"emptyStateFilteredIllustration\"\n class=\"mb-6\"\n ></p-illustration>\n <p class=\"text-storm-default font-semibold\">\n {{ emptyStateFilteredHeader }}\n </p>\n <p class=\"mb-14 text-sm text-storm-medium\">\n {{ emptyStateFilteredContent }}\n </p>\n </div>\n</ng-template>\n\n<ng-template #emptyStateNonFilterTemplate>\n <div\n class=\"\n flex\n max-w-[20rem]\n flex-col\n items-center\n self-center\n py-24\n text-center\n \"\n [class.cursor-pointer]=\"enableEmptyStateAction\"\n (click)=\"emptyStateClicked()\"\n >\n <p-illustration\n [variant]=\"emptyStateIllustration\"\n class=\"mb-6\"\n ></p-illustration>\n <p class=\"text-storm-default font-semibold\">\n {{ emptyStateHeader }}\n </p>\n <p class=\"mb-6 text-sm text-storm-medium\">\n {{ emptyStateContent }}\n </p>\n <p-button\n *ngIf=\"enableEmptyStateAction\"\n variant=\"secondary\"\n icon=\"plus\"\n size=\"small\"\n >\n {{ emptyStateAction }}\n </p-button>\n </div>\n</ng-template>\n", styles: [":host{display:flex;flex-direction:column}\n"], dependencies: [{ kind: "directive", type: i1$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: PButton, selector: "p-button", inputs: ["chevron", "chevronPosition", "disabled", "href", "icon", "iconFlip", "iconOnly", "iconPosition", "iconRotate", "inheritText", "loading", "size", "target", "variant"] }, { kind: "component", type: PIllustration, selector: "p-illustration", inputs: ["variant"] }, { kind: "component", type: PLoader, selector: "p-loader", inputs: ["color", "modalDescription", "modalTitle", "show", "variant"] }, { kind: "component", type: PModal, selector: "p-modal", inputs: ["applyBlur", "backdropClickClose", "header", "scrollLock", "show", "showClose", "showMobileFooter", "size", "variant"] }, { kind: "component", type: PTableContainer, selector: "p-table-container" }, { kind: "component", type: PTableFooter, selector: "p-table-footer", inputs: ["enableExport", "enablePageSize", "enablePagination", "hideOnSinglePage", "loading", "page", "pageSize", "pageSizeOptions", "total"] }, { kind: "component", type: PTableHeader, selector: "p-table-header", inputs: ["activeQuickFilterIdentifier", "canEdit", "editButtonTemplate", "editIcon", "editLoading", "editText", "enableEdit", "enableFilter", "enableSearch", "filterButtonTemplate", "itemsSelectedAmount", "loading", "query", "quickFilters", "selectedFiltersAmount"] }, { kind: "component", type: PTableRow, selector: "p-table-row", inputs: ["enableHover", "variant"] }, { kind: "component", type: TableCell, selector: "p-table-cell-ngx", inputs: ["variant", "index", "rowIndex", "definition", "item", "value", "checkbox", "template"] }, { kind: "directive", type: TableFooterDirective, selector: "p-table-footer" }, { kind: "directive", type: TableHeaderDirective, selector: "p-table-header" }, { kind: "pipe", type: i1$1.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
3255
+ Table = __decorate([
3256
+ UntilDestroy({ checkProperties: true })
3257
+ ], Table);
3258
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: Table, decorators: [{
3259
+ type: Component,
3260
+ args: [{ selector: 'p-table-ngx', changeDetection: ChangeDetectionStrategy.OnPush, template: "<p-table-container>\n <p-table-header\n *ngIf=\"enableHeader\"\n [quickFilters]=\"quickFilters\"\n [activeQuickFilterIdentifier]=\"activeQuickFilterIdentifier\"\n (quickFilter)=\"(onQuickFilter)\"\n [enableSearch]=\"enableSearch\"\n [query]=\"query\"\n (queryChange)=\"(onQueryChange)\"\n [enableFilter]=\"enableFilter\"\n [selectedFiltersAmount]=\"selectedFiltersAmount\"\n [filterButtonTemplate]=\"filterButtonTemplate\"\n (filter)=\"filterModalShow$.next(true)\"\n [enableEdit]=\"enableEdit\"\n [canEdit]=\"!!selectedRows.length\"\n [editButtonTemplate]=\"editButtonTemplate\"\n [editLoading]=\"editButtonLoading\"\n [editText]=\"editButtonText\"\n [editIcon]=\"editButtonIcon\"\n (edit)=\"edit.emit()\"\n [itemsSelectedAmount]=\"selectedRows.length\"\n [loading]=\"headerLoading\"\n >\n <ng-container *ngIf=\"headerCustomFilterTemplate\">\n <ng-container\n *ngTemplateOutlet=\"headerCustomFilterTemplate\"\n ></ng-container>\n </ng-container>\n </p-table-header>\n\n <p-table-row variant=\"header\">\n <ng-container *ngFor=\"let col of columns; let index = index\">\n <p-table-cell-ngx\n [definition]=\"col\"\n [value]=\"col.name\"\n variant=\"header\"\n [index]=\"index\"\n [checkbox]=\"\n index === 0 && enableRowSelection\n ? checkboxTemplate\n : undefined\n \"\n ></p-table-cell-ngx>\n <ng-template #checkboxTemplate>\n <input\n class=\"p-input\"\n type=\"checkbox\"\n (change)=\"_selectAllChange($event)\"\n [checked]=\"_selectionContainsAll()\"\n [indeterminate]=\"_selectionIndeterminate()\"\n />\n </ng-template>\n </ng-container>\n </p-table-row>\n\n <div class=\"flex flex-col\">\n <ng-container *ngIf=\"loading; else contentTemplate\">\n <p-table-row\n *ngFor=\"let r of loadingRows; let rowIndex = index\"\n [enableHover]=\"enableRowSelection || enableRowClick\"\n >\n <ng-container *ngFor=\"let col of columns; let index = index\">\n <p-table-cell-ngx\n [definition]=\"col\"\n variant=\"loading\"\n [checkbox]=\"\n index === 0 && enableRowSelection\n ? checkboxTemplate\n : undefined\n \"\n [index]=\"index\"\n [rowIndex]=\"rowIndex\"\n ></p-table-cell-ngx>\n <ng-template #checkboxTemplate>\n <p-loader\n variant=\"ghost\"\n class=\"h-6 w-6 rounded\"\n ></p-loader>\n </ng-template>\n </ng-container>\n </p-table-row>\n </ng-container>\n\n <ng-template #contentTemplate>\n <ng-container *ngIf=\"items?.length; else emptyStateTemplate\">\n <p-table-row\n *ngFor=\"let item of items; let rowIndex = index\"\n [enableHover]=\"enableRowSelection || enableRowClick\"\n (click)=\"_rowClick($event, rowIndex)\"\n >\n <ng-container\n *ngFor=\"let col of columns; let index = index\"\n >\n <p-table-cell-ngx\n [definition]=\"col\"\n [item]=\"item\"\n [checkbox]=\"\n index === 0 && enableRowSelection\n ? checkboxTemplate\n : undefined\n \"\n [index]=\"index\"\n [rowIndex]=\"rowIndex\"\n [template]=\"col.template\"\n ></p-table-cell-ngx>\n\n <ng-template #checkboxTemplate>\n <input\n class=\"p-input\"\n type=\"checkbox\"\n (change)=\"\n _checkboxChange($event.target, rowIndex)\n \"\n [disabled]=\"_checkboxDisabled(item)\"\n [checked]=\"_selectionContains(item, rowIndex)\"\n />\n </ng-template>\n </ng-container>\n </p-table-row>\n </ng-container>\n </ng-template>\n </div>\n\n <p-table-footer\n *ngIf=\"enableFooter\"\n [hideOnSinglePage]=\"hideOnSinglePage\"\n [enablePageSize]=\"enablePageSize\"\n [pageSize]=\"pageSize\"\n [pageSizeOptions]=\"pageSizeOptions\"\n (pageSizeChange)=\"(pageSizeChange)\"\n [enablePagination]=\"enablePagination\"\n [page]=\"page\"\n [total]=\"total\"\n (pageChange)=\"(pageChange)\"\n [enableExport]=\"enableExport\"\n (export)=\"export.emit()\"\n [loading]=\"footerLoading\"\n ></p-table-footer>\n</p-table-container>\n\n<ng-container *ngIf=\"filterModalTemplate\">\n <p-modal\n [header]=\"filterModalHeaderText\"\n [show]=\"filterModalShow$ | async\"\n (closed)=\"filterModalShow$.next(false)\"\n >\n <div slot=\"content\" class=\"flex flex-col gap-6\">\n <ng-container\n *ngTemplateOutlet=\"filterModalTemplate\"\n ></ng-container>\n </div>\n <div slot=\"footer\" class=\"flex w-full justify-between gap-4\">\n <p-button\n *ngIf=\"filterModalShowResetMobile\"\n class=\"flex w-full tablet:w-auto desktop-xs:hidden\"\n variant=\"secondary\"\n (onClick)=\"onFilterModalReset(true)\"\n >\n {{ filterModalResetText }}\n </p-button>\n <p-button\n *ngIf=\"filterModalShowReset\"\n class=\"hidden w-full tablet:w-auto desktop-xs:flex\"\n variant=\"secondary\"\n (onClick)=\"onFilterModalReset()\"\n >\n {{ filterModalResetText }}\n </p-button>\n <p-button\n class=\"ml-auto w-full tablet:w-auto\"\n icon=\"checkmark\"\n (onClick)=\"onFilterModalSave()\"\n >\n {{ filterModalSaveText }}\n </p-button>\n </div>\n </p-modal>\n</ng-container>\n\n<ng-template #emptyStateTemplate>\n <div\n *ngIf=\"emptyStateType === 'filtered'; else emptyStateNonFilterTemplate\"\n class=\"\n flex\n max-w-[20rem]\n flex-col\n items-center\n self-center\n py-24\n text-center\n \"\n >\n <p-illustration\n [variant]=\"emptyStateFilteredIllustration\"\n class=\"mb-6\"\n ></p-illustration>\n <p class=\"text-storm-default font-semibold\">\n {{ emptyStateFilteredHeader }}\n </p>\n <p class=\"mb-14 text-sm text-storm-medium\">\n {{ emptyStateFilteredContent }}\n </p>\n </div>\n</ng-template>\n\n<ng-template #emptyStateNonFilterTemplate>\n <div\n class=\"\n flex\n max-w-[20rem]\n flex-col\n items-center\n self-center\n py-24\n text-center\n \"\n [class.cursor-pointer]=\"enableEmptyStateAction\"\n (click)=\"emptyStateClicked()\"\n >\n <p-illustration\n [variant]=\"emptyStateIllustration\"\n class=\"mb-6\"\n ></p-illustration>\n <p class=\"text-storm-default font-semibold\">\n {{ emptyStateHeader }}\n </p>\n <p class=\"mb-6 text-sm text-storm-medium\">\n {{ emptyStateContent }}\n </p>\n <p-button\n *ngIf=\"enableEmptyStateAction\"\n variant=\"secondary\"\n icon=\"plus\"\n size=\"small\"\n >\n {{ emptyStateAction }}\n </p-button>\n </div>\n</ng-template>\n", styles: [":host{display:flex;flex-direction:column}\n"] }]
3261
+ }], ctorParameters: function () { return []; }, propDecorators: { items: [{
3262
+ type: Input
3263
+ }], loading: [{
3264
+ type: Input
3265
+ }], headerLoading: [{
3266
+ type: Input
3267
+ }], footerLoading: [{
3268
+ type: Input
3269
+ }], amountOfLoadingRows: [{
3270
+ type: Input
3271
+ }], enableRowSelection: [{
3272
+ type: Input
3273
+ }], enableRowClick: [{
3274
+ type: Input
3275
+ }], selectedRows: [{
3276
+ type: Input
3277
+ }], selectedRowsChange: [{
3278
+ type: Output
3279
+ }], selectionKey: [{
3280
+ type: Input
3281
+ }], canSelectKey: [{
3282
+ type: Input
3283
+ }], rowClick: [{
3284
+ type: Output
3285
+ }], rowSelected: [{
3286
+ type: Output
3287
+ }], rowDeselected: [{
3288
+ type: Output
3289
+ }], enableHeader: [{
3290
+ type: Input
3291
+ }], quickFilters: [{
3292
+ type: Input
3293
+ }], activeQuickFilterIdentifier: [{
3294
+ type: Input
3295
+ }], enableSearch: [{
3296
+ type: Input
3297
+ }], query: [{
3298
+ type: Input
3299
+ }], enableFilter: [{
3300
+ type: Input
3301
+ }], selectedFiltersAmount: [{
3302
+ type: Input
3303
+ }], filterButtonTemplate: [{
3304
+ type: Input
3305
+ }], enableEdit: [{
3306
+ type: Input
3307
+ }], editButtonLoading: [{
3308
+ type: Input
3309
+ }], editButtonIcon: [{
3310
+ type: Input
3311
+ }], editButtonText: [{
3312
+ type: Input
3313
+ }], editButtonTemplate: [{
3314
+ type: Input
3315
+ }], quickFilter: [{
3316
+ type: Output
3317
+ }], queryChange: [{
3318
+ type: Output
3319
+ }], filter: [{
3320
+ type: Output
3321
+ }], edit: [{
3322
+ type: Output
3323
+ }], enableFooter: [{
3324
+ type: Input
3325
+ }], enablePageSize: [{
3326
+ type: Input
3327
+ }], enablePagination: [{
3328
+ type: Input
3329
+ }], enableExport: [{
3330
+ type: Input
3331
+ }], page: [{
3332
+ type: Input
3333
+ }], total: [{
3334
+ type: Input
3335
+ }], pageChange: [{
3336
+ type: Output
3337
+ }], pageSize: [{
3338
+ type: Input
3339
+ }], pageSizeOptions: [{
3340
+ type: Input
3341
+ }], pageSizeChange: [{
3342
+ type: Output
3343
+ }], export: [{
3344
+ type: Output
3345
+ }], hideOnSinglePage: [{
3346
+ type: Input
3347
+ }], emptyStateType: [{
3348
+ type: Input
3349
+ }], emptyStateIllustration: [{
3350
+ type: Input
3351
+ }], emptyStateHeader: [{
3352
+ type: Input
3353
+ }], emptyStateContent: [{
3354
+ type: Input
3355
+ }], emptyStateAction: [{
3356
+ type: Input
3357
+ }], enableEmptyStateAction: [{
3358
+ type: Input
3359
+ }], emptyStateFilteredIllustration: [{
3360
+ type: Input
3361
+ }], emptyStateFilteredHeader: [{
3362
+ type: Input
3363
+ }], emptyStateFilteredContent: [{
3364
+ type: Input
3365
+ }], emptyStateActionClick: [{
3366
+ type: Output
3367
+ }], headerCustomFilterTemplate: [{
3368
+ type: ContentChild,
3369
+ args: [TableCustomFilterDirective, {
3370
+ read: TemplateRef,
3371
+ static: true,
3372
+ }]
3373
+ }], columnDefinitions: [{
3374
+ type: ContentChildren,
3375
+ args: [TableColumn]
3376
+ }], filterModalTemplate: [{
3377
+ type: ContentChild,
3378
+ args: [TableFilterModalDirective, {
3379
+ read: TemplateRef,
3380
+ static: true,
3381
+ }]
3382
+ }], filterModalHeaderText: [{
3383
+ type: Input
3384
+ }], filterModalSaveText: [{
3385
+ type: Input
3386
+ }], filterModalCancelText: [{
3387
+ type: Input
3388
+ }], filterModalResetText: [{
3389
+ type: Input
3390
+ }], filterModalShowReset: [{
3391
+ type: Input
3392
+ }], filterModalShowResetMobile: [{
3393
+ type: Input
3394
+ }], filterModalShow: [{
3395
+ type: Output
3396
+ }], filterModalSave: [{
3397
+ type: Output
3398
+ }], filterModalReset: [{
3399
+ type: Output
3400
+ }], keyDown: [{
3401
+ type: HostListener,
3402
+ args: ['document:keydown', ['$event']]
3403
+ }], keyUp: [{
3404
+ type: HostListener,
3405
+ args: ['document:keyup', ['$event']]
3406
+ }], visibilityChange: [{
3407
+ type: HostListener,
3408
+ args: ['document:visibilitychange', ['$event']]
3409
+ }] } });
3410
+
3411
+ const TABLE_COMPONENTS = [Table, TableCell, TableColumn];
3412
+
3413
+ class TableModule {
3414
+ }
3415
+ TableModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: TableModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
3416
+ TableModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.6", ngImport: i0, type: TableModule, declarations: [Table, TableCell, TableColumn, TableFooterDirective, TableHeaderDirective, TableDirective, TableNgxDirective, TableFilterModalDirective, TableCustomFilterDirective], imports: [CommonModule, StencilModule], exports: [Table, TableCell, TableColumn, TableFooterDirective, TableHeaderDirective, TableDirective, TableNgxDirective, TableFilterModalDirective, TableCustomFilterDirective] });
3417
+ TableModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: TableModule, imports: [CommonModule, StencilModule] });
3418
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: TableModule, decorators: [{
3419
+ type: NgModule,
3420
+ args: [{
3421
+ imports: [CommonModule, StencilModule],
3422
+ declarations: [...TABLE_COMPONENTS, ...TABLE_DIRECTIVES],
3423
+ exports: [...TABLE_COMPONENTS, ...TABLE_DIRECTIVES],
3424
+ }]
3425
+ }] });
3426
+
3427
+ var ToastVariants;
3428
+ (function (ToastVariants) {
3429
+ ToastVariants["Success"] = "positive";
3430
+ ToastVariants["Warning"] = "unbiased";
3431
+ ToastVariants["Error"] = "negative";
3432
+ ToastVariants["Positive"] = "positive";
3433
+ ToastVariants["Unbiased"] = "unbiased";
3434
+ ToastVariants["Negative"] = "negative";
3435
+ })(ToastVariants || (ToastVariants = {}));
3436
+
3437
+ class ToastService {
3438
+ constructor() {
3439
+ this._toasts = [];
3440
+ this.toasts$ = new BehaviorSubject(this._toasts);
3441
+ this.defaultOptions = {
3442
+ delay: 5000,
3443
+ dismissOnAction: true,
3444
+ enableAction: true,
3445
+ icon: {
3446
+ variant: 'negative',
3447
+ },
3448
+ };
3449
+ }
3450
+ show(header, content, variant = ToastVariants.Success, options = {}) {
3451
+ options = Object.assign(Object.assign(Object.assign({}, this.defaultOptions), options), { icon: (options === null || options === void 0 ? void 0 : options.icon)
3452
+ ? Object.assign(Object.assign({}, this.defaultOptions.icon), options.icon) : this.defaultOptions.icon });
3453
+ const identifier = v4();
3454
+ this._toasts.push({
3455
+ identifier,
3456
+ header,
3457
+ content,
3458
+ variant,
3459
+ options,
3460
+ });
3461
+ this.toasts$.next(this._toasts);
3462
+ return identifier;
3463
+ }
3464
+ hide(id) {
3465
+ const index = this._toasts.findIndex(({ identifier }) => identifier === id);
3466
+ this._toasts.splice(index, 1);
3467
+ this.toasts$.next(this._toasts);
3468
+ return id;
3469
+ }
3470
+ }
3471
+ ToastService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: ToastService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
3472
+ ToastService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: ToastService, providedIn: 'root' });
3473
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: ToastService, decorators: [{
3474
+ type: Injectable,
3475
+ args: [{
3476
+ providedIn: 'root',
3477
+ }]
3478
+ }] });
3479
+
3480
+ class ToastDirective {
3481
+ constructor() {
3482
+ this.delay = 5000;
3483
+ this.dismissOnAction = true;
3484
+ this.actionData = {};
3485
+ this.dismiss = new EventEmitter();
3486
+ }
3487
+ ngOnInit() {
3488
+ if (this.delay === 'infinite' || this.delay === 0) {
3489
+ return;
3490
+ }
3491
+ setTimeout(() => this.doDismiss(), this.delay);
3492
+ }
3493
+ onAction() {
3494
+ if (this.dismissOnAction && !this.actionFunc) {
3495
+ return this.doDismiss();
3496
+ }
3497
+ if (this.actionFunc) {
3498
+ this.actionFunc(this, this.actionData);
3499
+ }
3500
+ }
3501
+ doDismiss() {
3502
+ this.dismiss.next(this.identifier);
3503
+ }
3504
+ }
3505
+ ToastDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: ToastDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
3506
+ ToastDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.6", type: ToastDirective, selector: "p-toast", inputs: { delay: "delay", identifier: "identifier", dismissOnAction: "dismissOnAction", actionFunc: "actionFunc", actionData: "actionData" }, outputs: { dismiss: "dismiss" }, host: { listeners: { "action": "onAction()" } }, ngImport: i0 });
3507
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: ToastDirective, decorators: [{
3508
+ type: Directive,
3509
+ args: [{
3510
+ selector: 'p-toast',
3511
+ host: {
3512
+ '(action)': 'onAction()',
3513
+ },
3514
+ }]
3515
+ }], propDecorators: { delay: [{
3516
+ type: Input
3517
+ }], identifier: [{
3518
+ type: Input
3519
+ }], dismissOnAction: [{
3520
+ type: Input
3521
+ }], actionFunc: [{
3522
+ type: Input
3523
+ }], actionData: [{
3524
+ type: Input
3525
+ }], dismiss: [{
3526
+ type: Output
3527
+ }] } });
3528
+
3529
+ /* top-0 bottom-0 left-0 right-0 */
3530
+ let ToastContainer = class ToastContainer {
3531
+ constructor(r, z, _toastService) {
3532
+ this.z = z;
3533
+ this._toastService = _toastService;
3534
+ this.toasts$ = this._toastService.toasts$.pipe(map$1((arr) => arr.reverse()));
3535
+ this.el = r.nativeElement;
3536
+ }
3537
+ dismiss(identifier) {
3538
+ this._toastService.hide(identifier);
3539
+ }
3540
+ };
3541
+ ToastContainer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: ToastContainer, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }, { token: ToastService }], target: i0.ɵɵFactoryTarget.Component });
3542
+ ToastContainer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.6", type: ToastContainer, selector: "p-toast-container", inputs: { placement: "placement" }, ngImport: i0, template: "<p-toast\n *ngFor=\"let toast of toasts$ | async; let index = index\"\n [variant]=\"toast.variant\"\n [header]=\"toast.header\"\n [content]=\"toast.content\"\n [identifier]=\"toast.identifier\"\n [delay]=\"toast.options.delay ?? 5000\"\n [dismissOnAction]=\"toast.options.dismissOnAction ?? true\"\n [enableAction]=\"toast.options.enableAction\"\n [actionFunc]=\"toast.options.action\"\n [actionData]=\"toast.options.actionData\"\n [actionIcon]=\"toast.options.icon?.variant\"\n [actionIconFlip]=\"toast.options.icon?.flip\"\n [actionIconRotate]=\"toast.options.icon?.rotate\"\n (dismiss)=\"dismiss($event)\"\n [@pSlideInBottomOutTop]\n></p-toast>\n", dependencies: [{ kind: "directive", type: i1$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: PToast, selector: "p-toast", inputs: ["actionIcon", "actionIconFlip", "actionIconRotate", "content", "enableAction", "header", "variant"] }, { kind: "directive", type: ToastDirective, selector: "p-toast", inputs: ["delay", "identifier", "dismissOnAction", "actionFunc", "actionData"], outputs: ["dismiss"] }, { kind: "pipe", type: i1$1.AsyncPipe, name: "async" }], animations: [SLIDE_IN_TOP_OUT_BOTTOM], changeDetection: i0.ChangeDetectionStrategy.OnPush });
3543
+ ToastContainer = __decorate([
3544
+ ProxyCmp({
3545
+ defineCustomElementFn: undefined,
3546
+ inputs: ['placement'],
3547
+ })
3548
+ ], ToastContainer);
3549
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: ToastContainer, decorators: [{
3550
+ type: Component,
3551
+ 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" }]
3552
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.NgZone }, { type: ToastService }]; } });
3553
+
3554
+ const TOAST_COMPONENTS = [ToastContainer];
3555
+
3556
+ const TOAST_DIRECTIVES = [ToastDirective];
3557
+
3558
+ const TOAST_SERVICES = [ToastService];
3559
+
3560
+ class ToastModule {
3561
+ }
3562
+ ToastModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: ToastModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
3563
+ ToastModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.6", ngImport: i0, type: ToastModule, declarations: [ToastContainer, ToastDirective], imports: [CommonModule, StencilModule], exports: [ToastContainer, ToastDirective] });
3564
+ ToastModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: ToastModule, imports: [CommonModule, StencilModule] });
3565
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: ToastModule, decorators: [{
3566
+ type: NgModule,
3567
+ args: [{
3568
+ imports: [CommonModule, StencilModule],
3569
+ declarations: [...TOAST_COMPONENTS, ...TOAST_DIRECTIVES],
3570
+ exports: [...TOAST_COMPONENTS, ...TOAST_DIRECTIVES],
3571
+ }]
3572
+ }] });
3573
+
3574
+ const MODULES = [TableModule, ToastModule, OverlayModule];
3575
+
3576
+ class CustomCurrencyPipe {
3577
+ constructor(_currencyPipe) {
3578
+ this._currencyPipe = _currencyPipe;
3579
+ }
3580
+ transform(value, currencyCode = 'EUR', display = 'symbol', digitsInfo = '1.2-2', locale = 'nl') {
3581
+ return this._currencyPipe.transform(value, currencyCode, display, digitsInfo, locale);
3582
+ }
3583
+ }
3584
+ CustomCurrencyPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: CustomCurrencyPipe, deps: [{ token: i1$1.CurrencyPipe }], target: i0.ɵɵFactoryTarget.Pipe });
3585
+ CustomCurrencyPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.6", ngImport: i0, type: CustomCurrencyPipe, name: "pcurrency" });
3586
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: CustomCurrencyPipe, decorators: [{
3587
+ type: Pipe,
3588
+ args: [{
3589
+ name: 'pcurrency',
3590
+ }]
3591
+ }], ctorParameters: function () { return [{ type: i1$1.CurrencyPipe }]; } });
3592
+
3593
+ class CustomDatePipe {
3594
+ constructor(_datePipe) {
3595
+ this._datePipe = _datePipe;
3596
+ }
3597
+ transform(value, format) {
3598
+ return this._datePipe.transform(value, format);
3599
+ }
3600
+ }
3601
+ CustomDatePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: CustomDatePipe, deps: [{ token: i1$1.DatePipe }], target: i0.ɵɵFactoryTarget.Pipe });
3602
+ CustomDatePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.6", ngImport: i0, type: CustomDatePipe, name: "pdate" });
3603
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: CustomDatePipe, decorators: [{
3604
+ type: Pipe,
3605
+ args: [{
3606
+ name: 'pdate',
3607
+ }]
3608
+ }], ctorParameters: function () { return [{ type: i1$1.DatePipe }]; } });
3609
+
3610
+ class SafePipe {
3611
+ constructor(sanitizer) {
3612
+ this.sanitizer = sanitizer;
3613
+ }
3614
+ transform(value, type) {
3615
+ switch (type) {
3616
+ case 'html':
3617
+ return this.sanitizer.bypassSecurityTrustHtml(value);
3618
+ case 'style':
3619
+ return this.sanitizer.bypassSecurityTrustStyle(value);
3620
+ case 'script':
3621
+ return this.sanitizer.bypassSecurityTrustScript(value);
3622
+ case 'url':
3623
+ return this.sanitizer.bypassSecurityTrustUrl(value);
3624
+ case 'resourceUrl':
3625
+ return this.sanitizer.bypassSecurityTrustResourceUrl(value);
3626
+ default:
3627
+ throw new Error(`Invalid safe type specified: ${type}`);
3628
+ }
3629
+ }
3630
+ }
3631
+ SafePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: SafePipe, deps: [{ token: i1$2.DomSanitizer }], target: i0.ɵɵFactoryTarget.Pipe });
3632
+ SafePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.6", ngImport: i0, type: SafePipe, name: "psafe" });
3633
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: SafePipe, decorators: [{
3634
+ type: Pipe,
3635
+ args: [{
3636
+ name: 'psafe',
3637
+ }]
3638
+ }], ctorParameters: function () { return [{ type: i1$2.DomSanitizer }]; } });
3639
+
3640
+ const PIPES = [CustomCurrencyPipe, CustomDatePipe, SafePipe];
3641
+
3642
+ const NGX_PIPES = [DatePipe, CurrencyPipe];
3643
+ class PaperlessModule {
3644
+ static forRoot() {
3645
+ return {
3646
+ ngModule: PaperlessModule,
3647
+ providers: [...TOAST_SERVICES, ...OVERLAY_SERVICES],
3648
+ };
3649
+ }
686
3650
  }
687
- PaperlessModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PaperlessModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
688
- PaperlessModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PaperlessModule, declarations: [PAvatar, PButton, PCardBody, PCardContainer, PCardHeader, PCounter, PDivider, PDropdown, PDropdownMenuContainer, PDropdownMenuItem, PHelper, PIcon, PIllustration, PInfoPanel, PLoader, PNavigationItem, PPagination, PPaginationItem, PSegmentContainer, PSegmentItem, PStatus, PTooltip, PaginationDirective], exports: [PAvatar, PButton, PCardBody, PCardContainer, PCardHeader, PCounter, PDivider, PDropdown, PDropdownMenuContainer, PDropdownMenuItem, PHelper, PIcon, PIllustration, PInfoPanel, PLoader, PNavigationItem, PPagination, PPaginationItem, PSegmentContainer, PSegmentItem, PStatus, PTooltip, PaginationDirective] });
689
- PaperlessModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PaperlessModule });
690
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PaperlessModule, decorators: [{
3651
+ PaperlessModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PaperlessModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
3652
+ PaperlessModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.6", ngImport: i0, type: PaperlessModule, declarations: [PaginationDirective, PageSizeSelectDirective, SelectDirective, DatepickerDirective, CustomCurrencyPipe, CustomDatePipe, SafePipe], imports: [CommonModule, StencilModule, TableModule, ToastModule, OverlayModule], exports: [StencilModule, TableModule, ToastModule, OverlayModule, PaginationDirective, PageSizeSelectDirective, SelectDirective, DatepickerDirective, CustomCurrencyPipe, CustomDatePipe, SafePipe] });
3653
+ PaperlessModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PaperlessModule, providers: [...NGX_PIPES, ...PIPES], imports: [CommonModule, StencilModule, MODULES, StencilModule, TableModule, ToastModule, OverlayModule] });
3654
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: PaperlessModule, decorators: [{
691
3655
  type: NgModule,
692
3656
  args: [{
693
- declarations: [...DIRECTIVES, ...CUSTOM_DIRECTIVES],
694
- exports: [...DIRECTIVES, ...CUSTOM_DIRECTIVES],
3657
+ imports: [CommonModule, StencilModule, ...MODULES],
3658
+ declarations: [...DIRECTIVES$1, ...PIPES],
3659
+ exports: [StencilModule, ...MODULES, ...DIRECTIVES$1, ...PIPES],
3660
+ providers: [...NGX_PIPES, ...PIPES],
695
3661
  }]
696
3662
  }] });
697
3663
 
@@ -703,5 +3669,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
703
3669
  * Generated bundle index. Do not edit.
704
3670
  */
705
3671
 
706
- export { CUSTOM_DIRECTIVES, PAvatar, PButton, PCardBody, PCardContainer, PCardHeader, PCounter, PDivider, PDropdown, PDropdownMenuContainer, PDropdownMenuItem, PHelper, PIcon, PIllustration, PInfoPanel, PLoader, PNavigationItem, PPagination, PPaginationItem, PSegmentContainer, PSegmentItem, PStatus, PTooltip, PaginationDirective, PaperlessModule };
3672
+ export { BaseFormComponent, BaseTableComponent, BaseUploadComponent, BaseValueAccessor, CustomCurrencyPipe, CustomDatePipe, DIRECTIVES$1 as DIRECTIVES, DatepickerDirective, FADE_IN, FADE_OUT, MODULES, OVERLAY_SERVICES, OverlayModule, OverlayRef, OverlayService, PAccordion, PAttachment, PAvatar, PAvatarGroup, PBackdrop, PButton, PCalendar, PCardBody, PCardContainer, PCardHeader, PContentSlider, PCounter, PDatepicker, PDivider, PDrawer, PDrawerBody, PDrawerContainer, PDrawerHeader, PDropdown, PDropdownMenuContainer, PDropdownMenuItem, PHelper, PIPES, PIcon, PIllustration, PInfoPanel, PInputError, PInputGroup, PLabel, PLayout, PLoader, PModal, PModalBody, PModalContainer, PModalFooter, PModalHeader, PNavbar, PNavigationItem, PPageSizeSelect, PPagination, PPaginationItem, PProfile, PSegmentContainer, PSegmentItem, PSelect, PSliderIndicator, PStatus, PStepper, PStepperItem, PStepperLine, PTabGroup, PTabItem, PTableContainer, PTableFooter, PTableHeader, PTableRow, PToast, PTooltip, PageSizeSelectDirective, PaginationDirective, PaperlessModule, SLIDE_IN_BOTTOM_OUT_TOP, SLIDE_IN_TOP_OUT_BOTTOM, SafePipe, SelectDirective, StencilModule, TABLE_COMPONENTS, TABLE_DIRECTIVES, TOAST_COMPONENTS, TOAST_DIRECTIVES, TOAST_SERVICES, Table, TableCell, TableColumn, TableCustomFilterDirective, TableDirective, TableFilterModalDirective, TableFooterDirective, TableHeaderDirective, TableModule, TableNgxDirective, ToastContainer, ToastDirective, ToastModule, ToastService, ToastVariants, createFormFilters };
707
3673
  //# sourceMappingURL=paperless-angular.mjs.map