@paperless/angular 0.1.0-alpha.2 → 0.1.0-alpha.200

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