@paperless/angular 0.1.0-alpha.18 → 0.1.0-alpha.180

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 (37) hide show
  1. package/esm2020/lib/base/form.component.mjs +105 -0
  2. package/esm2020/lib/base/index.mjs +4 -1
  3. package/esm2020/lib/base/table.component.mjs +162 -0
  4. package/esm2020/lib/base/upload.component.mjs +57 -0
  5. package/esm2020/lib/base/value-accessor.mjs +8 -8
  6. package/esm2020/lib/directives/index.mjs +19 -4
  7. package/esm2020/lib/directives/p-page-size-select.directive.mjs +42 -0
  8. package/esm2020/lib/directives/p-pagination.directive.mjs +42 -0
  9. package/esm2020/lib/directives/p-table-footer.directive.mjs +52 -0
  10. package/esm2020/lib/directives/p-table-header.directive.mjs +60 -0
  11. package/esm2020/lib/directives/p-table.directive.mjs +78 -0
  12. package/esm2020/lib/paperless.module.mjs +10 -6
  13. package/esm2020/lib/stencil/components.mjs +854 -50
  14. package/esm2020/lib/stencil/index.mjs +33 -1
  15. package/esm2020/public-api.mjs +2 -1
  16. package/fesm2015/paperless-angular.mjs +1511 -181
  17. package/fesm2015/paperless-angular.mjs.map +1 -1
  18. package/fesm2020/paperless-angular.mjs +1520 -181
  19. package/fesm2020/paperless-angular.mjs.map +1 -1
  20. package/{paperless-angular.d.ts → index.d.ts} +0 -0
  21. package/lib/base/form.component.d.ts +15 -0
  22. package/lib/base/index.d.ts +3 -0
  23. package/lib/base/table.component.d.ts +45 -0
  24. package/lib/base/upload.component.d.ts +16 -0
  25. package/lib/base/value-accessor.d.ts +6 -6
  26. package/lib/directives/index.d.ts +10 -3
  27. package/lib/directives/p-page-size-select.directive.d.ts +10 -0
  28. package/lib/directives/{pagination.directive.d.ts → p-pagination.directive.d.ts} +3 -3
  29. package/lib/directives/p-table-footer.directive.d.ts +11 -0
  30. package/lib/directives/p-table-header.directive.d.ts +17 -0
  31. package/lib/directives/p-table.directive.d.ts +22 -0
  32. package/lib/paperless.module.d.ts +6 -2
  33. package/lib/stencil/components.d.ts +355 -14
  34. package/lib/stencil/index.d.ts +1 -1
  35. package/package.json +7 -6
  36. package/public-api.d.ts +1 -0
  37. package/esm2020/lib/directives/pagination.directive.mjs +0 -42
@@ -1,10 +1,322 @@
1
1
  import * as i0 from '@angular/core';
2
- import { Directive, HostListener, Component, ChangeDetectionStrategy, NgModule } from '@angular/core';
3
- import { NG_VALUE_ACCESSOR } from '@angular/forms';
2
+ import { Component, EventEmitter, Input, Output, ViewChild, Directive, HostListener, ChangeDetectionStrategy, NgModule } from '@angular/core';
3
+ import { FormControl, FormGroup, FormArray, NG_VALUE_ACCESSOR } from '@angular/forms';
4
4
  import { __decorate } from 'tslib';
5
- 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';
6
8
 
7
- class ValueAccessor {
9
+ class FormBaseComponent {
10
+ constructor() {
11
+ this.markedDirty = false;
12
+ }
13
+ scrollToFirstError() {
14
+ const invalidInputs = Array.from(document.getElementsByClassName('ng-invalid'))
15
+ .filter((e) => e?.nodeName?.toLowerCase() !== 'form')
16
+ .sort((a, b) => a.scrollTop - b.scrollTop);
17
+ const first = invalidInputs[0];
18
+ if (first) {
19
+ first.scrollIntoView({
20
+ behavior: 'smooth',
21
+ block: 'center',
22
+ inline: 'center',
23
+ });
24
+ }
25
+ }
26
+ markControlDirty(control) {
27
+ if (control instanceof FormControl) {
28
+ control.markAsDirty({ onlySelf: true });
29
+ control.markAsTouched({ onlySelf: true });
30
+ }
31
+ else if (control instanceof FormGroup) {
32
+ control.markAsDirty();
33
+ control.markAsTouched();
34
+ this.markAllDirty(control);
35
+ }
36
+ else if (control instanceof FormArray) {
37
+ control.markAsDirty();
38
+ control.markAsTouched();
39
+ for (const child of control?.controls) {
40
+ this.markControlDirty(child);
41
+ }
42
+ }
43
+ control.updateValueAndValidity();
44
+ }
45
+ markAllDirty(formGroup) {
46
+ this.markedDirty = true;
47
+ for (const field of Object.keys(formGroup.controls)) {
48
+ const control = formGroup.get(field);
49
+ this.markControlDirty(control);
50
+ }
51
+ }
52
+ getControlError(control) {
53
+ if (!this.hasControlError(control)) {
54
+ return;
55
+ }
56
+ return this.firstControlError(control);
57
+ }
58
+ hasControlError(control, showChildErrors = true) {
59
+ return (control?.dirty && this.firstControlError(control, showChildErrors));
60
+ }
61
+ firstControlError(control, showChildErrors = true) {
62
+ if (control instanceof FormGroup && showChildErrors) {
63
+ const errors = Object.keys(control.controls)
64
+ .map((key) => this.firstControlError(control.controls[key]))
65
+ .filter((val) => !!val);
66
+ return errors[0];
67
+ }
68
+ if (!control?.errors) {
69
+ return;
70
+ }
71
+ const keys = Object.keys(control.errors);
72
+ let err;
73
+ for (const key of keys) {
74
+ if (control.errors[key]) {
75
+ err = key;
76
+ break;
77
+ }
78
+ }
79
+ return err;
80
+ }
81
+ resetControl(control) {
82
+ control.setErrors(null);
83
+ control.reset();
84
+ control.markAsPristine();
85
+ if (control instanceof FormGroup) {
86
+ this.resetForm(control);
87
+ }
88
+ else if (control instanceof FormArray) {
89
+ for (const child of control?.controls) {
90
+ this.resetControl(child);
91
+ }
92
+ }
93
+ }
94
+ resetForm(formGroup) {
95
+ for (const field of Object.keys(formGroup.controls)) {
96
+ const control = formGroup.get(field);
97
+ this.resetControl(control);
98
+ }
99
+ this.markedDirty = false;
100
+ }
101
+ }
102
+ FormBaseComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: FormBaseComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
103
+ FormBaseComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.7", type: FormBaseComponent, selector: "ng-component", ngImport: i0, template: ``, isInline: true });
104
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: FormBaseComponent, decorators: [{
105
+ type: Component,
106
+ args: [{
107
+ template: ``,
108
+ }]
109
+ }] });
110
+
111
+ let BaseTableComponent = class BaseTableComponent extends FormBaseComponent {
112
+ constructor() {
113
+ super();
114
+ this.quickFilters = [];
115
+ this.pageSizeDefault = 12;
116
+ this._defaultTableValues = {
117
+ pageSize: this.pageSizeDefault,
118
+ page: 1,
119
+ quickFilter: null,
120
+ query: '',
121
+ selectedRows: [],
122
+ };
123
+ this.defaultTableValues = {};
124
+ }
125
+ get pageSize() {
126
+ if (!this.tableOptions) {
127
+ return this._defaultTableValues.pageSize;
128
+ }
129
+ return this.tableOptions.value.pageSize;
130
+ }
131
+ get page() {
132
+ if (!this.tableOptions) {
133
+ return this._defaultTableValues.page;
134
+ }
135
+ return this.tableOptions.value.page;
136
+ }
137
+ get quickFilter() {
138
+ if (!this.tableOptions) {
139
+ return this._defaultTableValues.quickFilter;
140
+ }
141
+ return this.tableOptions.value.quickFilter;
142
+ }
143
+ set quickFilter(quickFilter) {
144
+ this.tableValues = {
145
+ quickFilter,
146
+ };
147
+ }
148
+ get query() {
149
+ if (!this.tableOptions) {
150
+ return this._defaultTableValues.query;
151
+ }
152
+ return this.tableOptions.value.query;
153
+ }
154
+ set query(query) {
155
+ this.tableValues = {
156
+ query,
157
+ };
158
+ }
159
+ get selectedRows() {
160
+ if (!this.tableOptions) {
161
+ return this._defaultTableValues.selectedRows;
162
+ }
163
+ return this.tableOptions.value.selectedRows;
164
+ }
165
+ set selectedRows(selectedRows) {
166
+ this.tableValues = {
167
+ selectedRows,
168
+ };
169
+ }
170
+ // setter
171
+ get parsedDefaultTableValues() {
172
+ return {
173
+ ...this._defaultTableValues,
174
+ ...this.defaultTableValues,
175
+ pageSize: this.defaultTableValues?.pageSize || this.pageSizeDefault,
176
+ };
177
+ }
178
+ get tableValues() {
179
+ return this.tableOptions?.value ?? {};
180
+ }
181
+ set tableValues(values) {
182
+ this._setTableValues({
183
+ ...this.tableValues,
184
+ ...values,
185
+ });
186
+ }
187
+ ngOnInit() {
188
+ this.tableOptions = new FormControl({
189
+ pageSize: this.parsedDefaultTableValues.pageSize,
190
+ page: this.parsedDefaultTableValues.page,
191
+ quickFilter: this.parsedDefaultTableValues.quickFilter,
192
+ query: this.parsedDefaultTableValues.query,
193
+ selectedRows: this.parsedDefaultTableValues.selectedRows,
194
+ });
195
+ this.tableOptions.valueChanges
196
+ .pipe(untilDestroyed(this), startWith(this.tableOptions.value), pairwise(), map(([previous, next]) => this._getChanges(previous, next)), filter((changes) => !!changes), debounce((changes) => {
197
+ if (changes?.query && Object.keys(changes)?.length === 1) {
198
+ return timer(300);
199
+ }
200
+ return timer(0);
201
+ }), filter((changes) => !(changes?.selected &&
202
+ Object.keys(changes)?.length === 1)))
203
+ .subscribe((changes) => {
204
+ if (changes?.page) {
205
+ this._refresh();
206
+ return;
207
+ }
208
+ this._resetPageOrRefresh();
209
+ });
210
+ this._refresh();
211
+ }
212
+ resetTable(emitEvent = true, forceRefresh = null) {
213
+ this._setTableValues(this.parsedDefaultTableValues, emitEvent);
214
+ if (forceRefresh) {
215
+ this._refresh();
216
+ }
217
+ }
218
+ _refresh() {
219
+ console.warn('Not implemented');
220
+ }
221
+ _resetPageOrRefresh() {
222
+ if (!this.tableOptions) {
223
+ return;
224
+ }
225
+ if (this.page !== 1) {
226
+ this.tableOptions.get('page')?.setValue(1);
227
+ return;
228
+ }
229
+ this._refresh();
230
+ }
231
+ _setTableValues(data, emitEvent = true) {
232
+ this.tableOptions?.setValue({
233
+ ...this.tableOptions.value,
234
+ ...data,
235
+ }, { emitEvent });
236
+ }
237
+ _getChanges(previous, next) {
238
+ const changes = {};
239
+ let key;
240
+ for (key in next) {
241
+ if (key === 'selectedRows') {
242
+ continue;
243
+ }
244
+ if (JSON.stringify(previous[key]) !== JSON.stringify(next[key])) {
245
+ // @ts-ignore
246
+ changes[key] = next[key];
247
+ }
248
+ }
249
+ return Object.keys(changes).length ? changes : null;
250
+ }
251
+ };
252
+ BaseTableComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: BaseTableComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
253
+ BaseTableComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.7", type: BaseTableComponent, selector: "ng-component", usesInheritance: true, ngImport: i0, template: ``, isInline: true });
254
+ BaseTableComponent = __decorate([
255
+ UntilDestroy({ checkProperties: true })
256
+ ], BaseTableComponent);
257
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: BaseTableComponent, decorators: [{
258
+ type: Component,
259
+ args: [{
260
+ template: ``,
261
+ }]
262
+ }], ctorParameters: function () { return []; } });
263
+
264
+ class BaseUploadComponent {
265
+ constructor() {
266
+ this.uploaded = false;
267
+ this.fileChange = new EventEmitter();
268
+ this._loading = false;
269
+ }
270
+ set loading(value) {
271
+ this._loading = value;
272
+ }
273
+ get loading() {
274
+ return this._loading;
275
+ }
276
+ onChange($event) {
277
+ const target = $event.target;
278
+ const file = target.files?.[0];
279
+ if (file) {
280
+ this._loading = true;
281
+ const reader = new FileReader();
282
+ reader.onload = (e) => this.onLoad(file, e?.currentTarget?.result);
283
+ reader.readAsDataURL(file);
284
+ }
285
+ }
286
+ onLoad(file, result) {
287
+ this.fileChange.next({
288
+ fileId: this.fileId,
289
+ result,
290
+ file,
291
+ });
292
+ if (this.uploaderInput?.nativeElement) {
293
+ this.uploaderInput.nativeElement.value = '';
294
+ }
295
+ this.file = file;
296
+ this._loading = false;
297
+ }
298
+ }
299
+ BaseUploadComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: BaseUploadComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
300
+ 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 });
301
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: BaseUploadComponent, decorators: [{
302
+ type: Component,
303
+ args: [{
304
+ template: ``,
305
+ }]
306
+ }], propDecorators: { fileId: [{
307
+ type: Input
308
+ }], uploaded: [{
309
+ type: Input
310
+ }], loading: [{
311
+ type: Input
312
+ }], fileChange: [{
313
+ type: Output
314
+ }], uploaderInput: [{
315
+ type: ViewChild,
316
+ args: ['uploaderInput']
317
+ }] } });
318
+
319
+ class BaseValueAccessor {
8
320
  constructor(el) {
9
321
  this.el = el;
10
322
  this.onChange = () => {
@@ -24,19 +336,19 @@ class ValueAccessor {
24
336
  this.onChange(value);
25
337
  }
26
338
  }
27
- _handleBlurEvent() {
28
- this.onTouched();
29
- }
30
339
  registerOnChange(fn) {
31
340
  this.onChange = fn;
32
341
  }
33
342
  registerOnTouched(fn) {
34
343
  this.onTouched = fn;
35
344
  }
345
+ _handleBlurEvent() {
346
+ this.onTouched();
347
+ }
36
348
  }
37
- ValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ValueAccessor, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
38
- ValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: ValueAccessor, host: { listeners: { "focusout": "_handleBlurEvent()" } }, ngImport: i0 });
39
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ValueAccessor, decorators: [{
349
+ BaseValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: BaseValueAccessor, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
350
+ BaseValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.7", type: BaseValueAccessor, host: { listeners: { "focusout": "_handleBlurEvent()" } }, ngImport: i0 });
351
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: BaseValueAccessor, decorators: [{
40
352
  type: Directive,
41
353
  args: [{}]
42
354
  }], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { _handleBlurEvent: [{
@@ -44,7 +356,45 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
44
356
  args: ['focusout']
45
357
  }] } });
46
358
 
47
- class PaginationDirective extends ValueAccessor {
359
+ class PageSizeSelectDirective extends BaseValueAccessor {
360
+ constructor(el) {
361
+ super(el);
362
+ }
363
+ writeValue(value) {
364
+ this.el.nativeElement.page = this.lastValue =
365
+ value == null ? '' : value;
366
+ }
367
+ registerOnChange(fn) {
368
+ super.registerOnChange((value) => fn(value === '' ? null : parseInt(value, 10)));
369
+ }
370
+ }
371
+ PageSizeSelectDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: PageSizeSelectDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
372
+ 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: [
373
+ {
374
+ provide: NG_VALUE_ACCESSOR,
375
+ useExisting: PageSizeSelectDirective,
376
+ multi: true,
377
+ },
378
+ ], usesInheritance: true, ngImport: i0 });
379
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: PageSizeSelectDirective, decorators: [{
380
+ type: Directive,
381
+ args: [{
382
+ /* tslint:disable-next-line:directive-selector */
383
+ selector: 'p-page-size-select',
384
+ host: {
385
+ '(sizeChange)': 'handleChangeEvent($event.detail)',
386
+ },
387
+ providers: [
388
+ {
389
+ provide: NG_VALUE_ACCESSOR,
390
+ useExisting: PageSizeSelectDirective,
391
+ multi: true,
392
+ },
393
+ ],
394
+ }]
395
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
396
+
397
+ class PaginationDirective extends BaseValueAccessor {
48
398
  constructor(el) {
49
399
  super(el);
50
400
  }
@@ -56,21 +406,21 @@ class PaginationDirective extends ValueAccessor {
56
406
  super.registerOnChange((value) => fn(value === '' ? null : parseInt(value, 10)));
57
407
  }
58
408
  }
59
- PaginationDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PaginationDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
60
- PaginationDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: PaginationDirective, selector: "p-pagination", host: { listeners: { "pageChange": "handleChangeEvent($event.target.page)" } }, providers: [
409
+ PaginationDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: PaginationDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
410
+ PaginationDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.7", type: PaginationDirective, selector: "p-pagination", host: { listeners: { "pageChange": "handleChangeEvent($event.detail)" } }, providers: [
61
411
  {
62
412
  provide: NG_VALUE_ACCESSOR,
63
413
  useExisting: PaginationDirective,
64
414
  multi: true,
65
415
  },
66
416
  ], usesInheritance: true, ngImport: i0 });
67
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PaginationDirective, decorators: [{
417
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: PaginationDirective, decorators: [{
68
418
  type: Directive,
69
419
  args: [{
70
420
  /* tslint:disable-next-line:directive-selector */
71
421
  selector: 'p-pagination',
72
422
  host: {
73
- '(pageChange)': 'handleChangeEvent($event.target.page)',
423
+ '(pageChange)': 'handleChangeEvent($event.detail)',
74
424
  },
75
425
  providers: [
76
426
  {
@@ -80,392 +430,1381 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
80
430
  },
81
431
  ],
82
432
  }]
83
- }], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
84
-
85
- const CUSTOM_DIRECTIVES = [PaginationDirective];
86
-
87
- /* eslint-disable */
88
- const proxyInputs = (Cmp, inputs) => {
89
- const Prototype = Cmp.prototype;
90
- inputs.forEach(item => {
91
- Object.defineProperty(Prototype, item, {
92
- get() {
93
- return this.el[item];
94
- },
95
- set(val) {
96
- this.z.runOutsideAngular(() => (this.el[item] = val));
97
- }
98
- });
99
- });
433
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
434
+
435
+ class TableFooterDirective extends BaseValueAccessor {
436
+ constructor(el) {
437
+ super(el);
438
+ this.lastValue = {
439
+ page: 1,
440
+ pageSize: 12,
441
+ };
442
+ }
443
+ writeValue(value) {
444
+ this.el.nativeElement.page = this.lastValue.page =
445
+ value?.page == null ? '' : value?.page;
446
+ this.el.nativeElement.pageSize = this.lastValue.pageSize =
447
+ value?.pageSize == null ? '' : value?.pageSize;
448
+ }
449
+ handleChange(value, type) {
450
+ this.handleChangeEvent({
451
+ ...this.lastValue,
452
+ [type]: value,
453
+ });
454
+ }
455
+ }
456
+ TableFooterDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: TableFooterDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
457
+ 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: [
458
+ {
459
+ provide: NG_VALUE_ACCESSOR,
460
+ useExisting: TableFooterDirective,
461
+ multi: true,
462
+ },
463
+ ], usesInheritance: true, ngImport: i0 });
464
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: TableFooterDirective, decorators: [{
465
+ type: Directive,
466
+ args: [{
467
+ /* tslint:disable-next-line:directive-selector */
468
+ selector: 'p-table-footer',
469
+ host: {
470
+ '(pageChange)': 'handleChange($event.detail, "page")',
471
+ '(pageSizeChange)': 'handleChange($event.detail, "pageSize")',
472
+ },
473
+ providers: [
474
+ {
475
+ provide: NG_VALUE_ACCESSOR,
476
+ useExisting: TableFooterDirective,
477
+ multi: true,
478
+ },
479
+ ],
480
+ }]
481
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
482
+
483
+ class TableHeaderDirective extends BaseValueAccessor {
484
+ constructor(el) {
485
+ super(el);
486
+ this.lastValue = {
487
+ query: '',
488
+ quickFilter: undefined,
489
+ };
490
+ }
491
+ writeValue(value) {
492
+ this.el.nativeElement.query = this.lastValue.query = value?.query;
493
+ this.lastValue.quickFilter = value?.quickFilter;
494
+ if (value?.quickFilter) {
495
+ this._setActiveQuickFilter(value.quickFilter);
496
+ }
497
+ }
498
+ handleChange(value, type) {
499
+ this.handleChangeEvent({
500
+ ...this.lastValue,
501
+ [type]: value,
502
+ });
503
+ if (type === 'quickFilter' && typeof value !== 'string') {
504
+ this._setActiveQuickFilter(value);
505
+ }
506
+ }
507
+ _setActiveQuickFilter(quickFilter) {
508
+ this.el.nativeElement.activeQuickFilterIdentifier =
509
+ quickFilter?.identifier;
510
+ }
511
+ }
512
+ TableHeaderDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: TableHeaderDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
513
+ 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: [
514
+ {
515
+ provide: NG_VALUE_ACCESSOR,
516
+ useExisting: TableHeaderDirective,
517
+ multi: true,
518
+ },
519
+ ], usesInheritance: true, ngImport: i0 });
520
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: TableHeaderDirective, decorators: [{
521
+ type: Directive,
522
+ args: [{
523
+ /* tslint:disable-next-line:directive-selector */
524
+ selector: 'p-table-header',
525
+ host: {
526
+ '(queryChange)': 'handleChange($event.detail, "query")',
527
+ '(quickFilter)': 'handleChange($event.detail, "quickFilter")',
528
+ },
529
+ providers: [
530
+ {
531
+ provide: NG_VALUE_ACCESSOR,
532
+ useExisting: TableHeaderDirective,
533
+ multi: true,
534
+ },
535
+ ],
536
+ }]
537
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
538
+
539
+ class TableDirective extends BaseValueAccessor {
540
+ constructor(el) {
541
+ super(el);
542
+ this.lastValue = {
543
+ query: '',
544
+ quickFilter: undefined,
545
+ page: 1,
546
+ pageSize: 12,
547
+ selectedRows: [],
548
+ };
549
+ }
550
+ writeValue(value) {
551
+ this.el.nativeElement.query = this.lastValue.query = value?.query;
552
+ this.lastValue.quickFilter = value?.quickFilter;
553
+ this.el.nativeElement.page = this.lastValue.page =
554
+ value?.page == null ? 1 : value?.page;
555
+ this.el.nativeElement.pageSize = this.lastValue.pageSize =
556
+ value?.pageSize == null ? 12 : value?.pageSize;
557
+ this.lastValue.selectedRows =
558
+ value?.selectedRows == null ? [] : value?.selectedRows;
559
+ if (value?.quickFilter) {
560
+ this._setActiveQuickFilter(value.quickFilter);
561
+ }
562
+ }
563
+ registerOnChange(fn) {
564
+ this.onChange = fn;
565
+ }
566
+ registerOnTouched(fn) {
567
+ this.onTouched = fn;
568
+ }
569
+ handleChange(value, type) {
570
+ this.handleChangeEvent({
571
+ ...this.lastValue,
572
+ [type]: value,
573
+ });
574
+ if (type === 'quickFilter' && typeof value === 'object') {
575
+ this._setActiveQuickFilter(value);
576
+ }
577
+ }
578
+ _setActiveQuickFilter(quickFilter) {
579
+ this.el.nativeElement.activeQuickFilterIdentifier =
580
+ quickFilter?.identifier;
581
+ }
582
+ }
583
+ TableDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: TableDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
584
+ 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: [
585
+ {
586
+ provide: NG_VALUE_ACCESSOR,
587
+ useExisting: TableDirective,
588
+ multi: true,
589
+ },
590
+ ], usesInheritance: true, ngImport: i0 });
591
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: TableDirective, decorators: [{
592
+ type: Directive,
593
+ args: [{
594
+ /* tslint:disable-next-line:directive-selector */
595
+ selector: 'p-table',
596
+ host: {
597
+ '(queryChange)': 'handleChange($event.detail, "query")',
598
+ '(quickFilter)': 'handleChange($event.detail, "quickFilter")',
599
+ '(pageChange)': 'handleChange($event.detail, "page")',
600
+ '(pageSizeChange)': 'handleChange($event.detail, "pageSize")',
601
+ '(selectedRowsChange)': 'handleChange($event.detail, "selectedRows")',
602
+ },
603
+ providers: [
604
+ {
605
+ provide: NG_VALUE_ACCESSOR,
606
+ useExisting: TableDirective,
607
+ multi: true,
608
+ },
609
+ ],
610
+ }]
611
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
612
+
613
+ // Custom directives
614
+ const CUSTOM_DIRECTIVES = [
615
+ PaginationDirective,
616
+ PageSizeSelectDirective,
617
+ TableFooterDirective,
618
+ TableHeaderDirective,
619
+ TableDirective,
620
+ ];
621
+
622
+ /* eslint-disable */
623
+ const proxyInputs = (Cmp, inputs) => {
624
+ const Prototype = Cmp.prototype;
625
+ inputs.forEach(item => {
626
+ Object.defineProperty(Prototype, item, {
627
+ get() {
628
+ return this.el[item];
629
+ },
630
+ set(val) {
631
+ this.z.runOutsideAngular(() => (this.el[item] = val));
632
+ }
633
+ });
634
+ });
635
+ };
636
+ const proxyMethods = (Cmp, methods) => {
637
+ const Prototype = Cmp.prototype;
638
+ methods.forEach(methodName => {
639
+ Prototype[methodName] = function () {
640
+ const args = arguments;
641
+ return this.z.runOutsideAngular(() => this.el[methodName].apply(this.el, args));
642
+ };
643
+ });
644
+ };
645
+ const proxyOutputs = (instance, el, events) => {
646
+ events.forEach(eventName => instance[eventName] = fromEvent(el, eventName));
647
+ };
648
+ const defineCustomElement = (tagName, customElement) => {
649
+ if (customElement !== undefined &&
650
+ typeof customElements !== 'undefined' &&
651
+ !customElements.get(tagName)) {
652
+ customElements.define(tagName, customElement);
653
+ }
654
+ };
655
+ // tslint:disable-next-line: only-arrow-functions
656
+ function ProxyCmp(opts) {
657
+ const decorator = function (cls) {
658
+ const { defineCustomElementFn, inputs, methods } = opts;
659
+ if (defineCustomElementFn !== undefined) {
660
+ defineCustomElementFn();
661
+ }
662
+ if (inputs) {
663
+ proxyInputs(cls, inputs);
664
+ }
665
+ if (methods) {
666
+ proxyMethods(cls, methods);
667
+ }
668
+ return cls;
669
+ };
670
+ return decorator;
671
+ }
672
+
673
+ let PAccordion = class PAccordion {
674
+ constructor(c, r, z) {
675
+ this.z = z;
676
+ c.detach();
677
+ this.el = r.nativeElement;
678
+ proxyOutputs(this, this.el, ['isOpen']);
679
+ }
680
+ };
681
+ 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 });
682
+ 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 });
683
+ PAccordion = __decorate([
684
+ ProxyCmp({
685
+ defineCustomElementFn: undefined,
686
+ inputs: ['closeable', 'header', 'open', 'openable']
687
+ })
688
+ ], PAccordion);
689
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: PAccordion, decorators: [{
690
+ type: Component,
691
+ args: [{
692
+ selector: 'p-accordion',
693
+ changeDetection: ChangeDetectionStrategy.OnPush,
694
+ template: '<ng-content></ng-content>',
695
+ inputs: ['closeable', 'header', 'open', 'openable']
696
+ }]
697
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
698
+ let PAvatar = class PAvatar {
699
+ constructor(c, r, z) {
700
+ this.z = z;
701
+ c.detach();
702
+ this.el = r.nativeElement;
703
+ }
704
+ };
705
+ 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 });
706
+ 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 });
707
+ PAvatar = __decorate([
708
+ ProxyCmp({
709
+ defineCustomElementFn: undefined,
710
+ inputs: ['defaultImage', 'size', 'src', 'variant']
711
+ })
712
+ ], PAvatar);
713
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: PAvatar, decorators: [{
714
+ type: Component,
715
+ args: [{
716
+ selector: 'p-avatar',
717
+ changeDetection: ChangeDetectionStrategy.OnPush,
718
+ template: '<ng-content></ng-content>',
719
+ inputs: ['defaultImage', 'size', 'src', 'variant']
720
+ }]
721
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
722
+ let PAvatarGroup = class PAvatarGroup {
723
+ constructor(c, r, z) {
724
+ this.z = z;
725
+ c.detach();
726
+ this.el = r.nativeElement;
727
+ }
728
+ };
729
+ 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 });
730
+ 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 });
731
+ PAvatarGroup = __decorate([
732
+ ProxyCmp({
733
+ defineCustomElementFn: undefined,
734
+ inputs: ['extra']
735
+ })
736
+ ], PAvatarGroup);
737
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: PAvatarGroup, decorators: [{
738
+ type: Component,
739
+ args: [{
740
+ selector: 'p-avatar-group',
741
+ changeDetection: ChangeDetectionStrategy.OnPush,
742
+ template: '<ng-content></ng-content>',
743
+ inputs: ['extra']
744
+ }]
745
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
746
+ let PButton = class PButton {
747
+ constructor(c, r, z) {
748
+ this.z = z;
749
+ c.detach();
750
+ this.el = r.nativeElement;
751
+ proxyOutputs(this, this.el, ['onClick']);
752
+ }
753
+ };
754
+ 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 });
755
+ 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 });
756
+ PButton = __decorate([
757
+ ProxyCmp({
758
+ defineCustomElementFn: undefined,
759
+ inputs: ['chevron', 'chevronPosition', 'disabled', 'href', 'icon', 'iconFlip', 'iconOnly', 'iconPosition', 'iconRotate', 'inheritText', 'loading', 'size', 'target', 'variant', 'width']
760
+ })
761
+ ], PButton);
762
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: PButton, decorators: [{
763
+ type: Component,
764
+ args: [{
765
+ selector: 'p-button',
766
+ changeDetection: ChangeDetectionStrategy.OnPush,
767
+ template: '<ng-content></ng-content>',
768
+ inputs: ['chevron', 'chevronPosition', 'disabled', 'href', 'icon', 'iconFlip', 'iconOnly', 'iconPosition', 'iconRotate', 'inheritText', 'loading', 'size', 'target', 'variant', 'width']
769
+ }]
770
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
771
+ let PCardBody = class PCardBody {
772
+ constructor(c, r, z) {
773
+ this.z = z;
774
+ c.detach();
775
+ this.el = r.nativeElement;
776
+ }
777
+ };
778
+ 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 });
779
+ 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 });
780
+ PCardBody = __decorate([
781
+ ProxyCmp({
782
+ defineCustomElementFn: undefined,
783
+ inputs: ['inheritText']
784
+ })
785
+ ], PCardBody);
786
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: PCardBody, decorators: [{
787
+ type: Component,
788
+ args: [{
789
+ selector: 'p-card-body',
790
+ changeDetection: ChangeDetectionStrategy.OnPush,
791
+ template: '<ng-content></ng-content>',
792
+ inputs: ['inheritText']
793
+ }]
794
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
795
+ let PCardContainer = class PCardContainer {
796
+ constructor(c, r, z) {
797
+ this.z = z;
798
+ c.detach();
799
+ this.el = r.nativeElement;
800
+ }
801
+ };
802
+ 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 });
803
+ 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 });
804
+ PCardContainer = __decorate([
805
+ ProxyCmp({
806
+ defineCustomElementFn: undefined,
807
+ inputs: ['hoverable', 'shadow']
808
+ })
809
+ ], PCardContainer);
810
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: PCardContainer, decorators: [{
811
+ type: Component,
812
+ args: [{
813
+ selector: 'p-card-container',
814
+ changeDetection: ChangeDetectionStrategy.OnPush,
815
+ template: '<ng-content></ng-content>',
816
+ inputs: ['hoverable', 'shadow']
817
+ }]
818
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
819
+ let PCardHeader = class PCardHeader {
820
+ constructor(c, r, z) {
821
+ this.z = z;
822
+ c.detach();
823
+ this.el = r.nativeElement;
824
+ }
825
+ };
826
+ 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 });
827
+ 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 });
828
+ PCardHeader = __decorate([
829
+ ProxyCmp({
830
+ defineCustomElementFn: undefined,
831
+ inputs: ['arrow', 'header']
832
+ })
833
+ ], PCardHeader);
834
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: PCardHeader, decorators: [{
835
+ type: Component,
836
+ args: [{
837
+ selector: 'p-card-header',
838
+ changeDetection: ChangeDetectionStrategy.OnPush,
839
+ template: '<ng-content></ng-content>',
840
+ inputs: ['arrow', 'header']
841
+ }]
842
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
843
+ let PContentSlider = class PContentSlider {
844
+ constructor(c, r, z) {
845
+ this.z = z;
846
+ c.detach();
847
+ this.el = r.nativeElement;
848
+ }
849
+ };
850
+ 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 });
851
+ 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 });
852
+ PContentSlider = __decorate([
853
+ ProxyCmp({
854
+ defineCustomElementFn: undefined,
855
+ inputs: ['disableAutoCenter', 'disableDrag', 'disableIndicatorClick', 'hideMobileIndicator']
856
+ })
857
+ ], PContentSlider);
858
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: PContentSlider, decorators: [{
859
+ type: Component,
860
+ args: [{
861
+ selector: 'p-content-slider',
862
+ changeDetection: ChangeDetectionStrategy.OnPush,
863
+ template: '<ng-content></ng-content>',
864
+ inputs: ['disableAutoCenter', 'disableDrag', 'disableIndicatorClick', 'hideMobileIndicator']
865
+ }]
866
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
867
+ let PCounter = class PCounter {
868
+ constructor(c, r, z) {
869
+ this.z = z;
870
+ c.detach();
871
+ this.el = r.nativeElement;
872
+ }
873
+ };
874
+ 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 });
875
+ 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 });
876
+ PCounter = __decorate([
877
+ ProxyCmp({
878
+ defineCustomElementFn: undefined,
879
+ inputs: ['size', 'variant']
880
+ })
881
+ ], PCounter);
882
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: PCounter, decorators: [{
883
+ type: Component,
884
+ args: [{
885
+ selector: 'p-counter',
886
+ changeDetection: ChangeDetectionStrategy.OnPush,
887
+ template: '<ng-content></ng-content>',
888
+ inputs: ['size', 'variant']
889
+ }]
890
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
891
+ let PDivider = class PDivider {
892
+ constructor(c, r, z) {
893
+ this.z = z;
894
+ c.detach();
895
+ this.el = r.nativeElement;
896
+ }
897
+ };
898
+ 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 });
899
+ 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 });
900
+ PDivider = __decorate([
901
+ ProxyCmp({
902
+ defineCustomElementFn: undefined
903
+ })
904
+ ], PDivider);
905
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: PDivider, decorators: [{
906
+ type: Component,
907
+ args: [{
908
+ selector: 'p-divider',
909
+ changeDetection: ChangeDetectionStrategy.OnPush,
910
+ template: '<ng-content></ng-content>'
911
+ }]
912
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
913
+ let PDropdown = class PDropdown {
914
+ constructor(c, r, z) {
915
+ this.z = z;
916
+ c.detach();
917
+ this.el = r.nativeElement;
918
+ proxyOutputs(this, this.el, ['isOpen']);
919
+ }
920
+ };
921
+ 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 });
922
+ PDropdown.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.7", type: PDropdown, selector: "p-dropdown", inputs: { 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 });
923
+ PDropdown = __decorate([
924
+ ProxyCmp({
925
+ defineCustomElementFn: undefined,
926
+ inputs: ['chevronDirection', 'chevronPosition', 'disableTriggerClick', 'insideClick', 'placement', 'show', 'strategy']
927
+ })
928
+ ], PDropdown);
929
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: PDropdown, decorators: [{
930
+ type: Component,
931
+ args: [{
932
+ selector: 'p-dropdown',
933
+ changeDetection: ChangeDetectionStrategy.OnPush,
934
+ template: '<ng-content></ng-content>',
935
+ inputs: ['chevronDirection', 'chevronPosition', 'disableTriggerClick', 'insideClick', 'placement', 'show', 'strategy']
936
+ }]
937
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
938
+ let PDropdownMenuContainer = class PDropdownMenuContainer {
939
+ constructor(c, r, z) {
940
+ this.z = z;
941
+ c.detach();
942
+ this.el = r.nativeElement;
943
+ }
944
+ };
945
+ 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 });
946
+ PDropdownMenuContainer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.7", type: PDropdownMenuContainer, selector: "p-dropdown-menu-container", ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
947
+ PDropdownMenuContainer = __decorate([
948
+ ProxyCmp({
949
+ defineCustomElementFn: undefined
950
+ })
951
+ ], PDropdownMenuContainer);
952
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: PDropdownMenuContainer, decorators: [{
953
+ type: Component,
954
+ args: [{
955
+ selector: 'p-dropdown-menu-container',
956
+ changeDetection: ChangeDetectionStrategy.OnPush,
957
+ template: '<ng-content></ng-content>'
958
+ }]
959
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
960
+ let PDropdownMenuItem = class PDropdownMenuItem {
961
+ constructor(c, r, z) {
962
+ this.z = z;
963
+ c.detach();
964
+ this.el = r.nativeElement;
965
+ }
966
+ };
967
+ 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 });
968
+ PDropdownMenuItem.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.7", type: PDropdownMenuItem, selector: "p-dropdown-menu-item", inputs: { active: "active", icon: "icon" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
969
+ PDropdownMenuItem = __decorate([
970
+ ProxyCmp({
971
+ defineCustomElementFn: undefined,
972
+ inputs: ['active', 'icon']
973
+ })
974
+ ], PDropdownMenuItem);
975
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: PDropdownMenuItem, decorators: [{
976
+ type: Component,
977
+ args: [{
978
+ selector: 'p-dropdown-menu-item',
979
+ changeDetection: ChangeDetectionStrategy.OnPush,
980
+ template: '<ng-content></ng-content>',
981
+ inputs: ['active', 'icon']
982
+ }]
983
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
984
+ let PHelper = class PHelper {
985
+ constructor(c, r, z) {
986
+ this.z = z;
987
+ c.detach();
988
+ this.el = r.nativeElement;
989
+ }
990
+ };
991
+ 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 });
992
+ 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 });
993
+ PHelper = __decorate([
994
+ ProxyCmp({
995
+ defineCustomElementFn: undefined,
996
+ inputs: ['placement']
997
+ })
998
+ ], PHelper);
999
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: PHelper, decorators: [{
1000
+ type: Component,
1001
+ args: [{
1002
+ selector: 'p-helper',
1003
+ changeDetection: ChangeDetectionStrategy.OnPush,
1004
+ template: '<ng-content></ng-content>',
1005
+ inputs: ['placement']
1006
+ }]
1007
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1008
+ let PIcon = class PIcon {
1009
+ constructor(c, r, z) {
1010
+ this.z = z;
1011
+ c.detach();
1012
+ this.el = r.nativeElement;
1013
+ }
1014
+ };
1015
+ 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 });
1016
+ 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 });
1017
+ PIcon = __decorate([
1018
+ ProxyCmp({
1019
+ defineCustomElementFn: undefined,
1020
+ inputs: ['flip', 'rotate', 'size', 'variant']
1021
+ })
1022
+ ], PIcon);
1023
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: PIcon, decorators: [{
1024
+ type: Component,
1025
+ args: [{
1026
+ selector: 'p-icon',
1027
+ changeDetection: ChangeDetectionStrategy.OnPush,
1028
+ template: '<ng-content></ng-content>',
1029
+ inputs: ['flip', 'rotate', 'size', 'variant']
1030
+ }]
1031
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1032
+ let PIllustration = class PIllustration {
1033
+ constructor(c, r, z) {
1034
+ this.z = z;
1035
+ c.detach();
1036
+ this.el = r.nativeElement;
1037
+ }
1038
+ };
1039
+ 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 });
1040
+ 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 });
1041
+ PIllustration = __decorate([
1042
+ ProxyCmp({
1043
+ defineCustomElementFn: undefined,
1044
+ inputs: ['variant']
1045
+ })
1046
+ ], PIllustration);
1047
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: PIllustration, decorators: [{
1048
+ type: Component,
1049
+ args: [{
1050
+ selector: 'p-illustration',
1051
+ changeDetection: ChangeDetectionStrategy.OnPush,
1052
+ template: '<ng-content></ng-content>',
1053
+ inputs: ['variant']
1054
+ }]
1055
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1056
+ let PInfoPanel = class PInfoPanel {
1057
+ constructor(c, r, z) {
1058
+ this.z = z;
1059
+ c.detach();
1060
+ this.el = r.nativeElement;
1061
+ }
1062
+ };
1063
+ 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 });
1064
+ 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 });
1065
+ PInfoPanel = __decorate([
1066
+ ProxyCmp({
1067
+ defineCustomElementFn: undefined,
1068
+ inputs: ['closeable', 'content', 'header', 'variant']
1069
+ })
1070
+ ], PInfoPanel);
1071
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: PInfoPanel, decorators: [{
1072
+ type: Component,
1073
+ args: [{
1074
+ selector: 'p-info-panel',
1075
+ changeDetection: ChangeDetectionStrategy.OnPush,
1076
+ template: '<ng-content></ng-content>',
1077
+ inputs: ['closeable', 'content', 'header', 'variant']
1078
+ }]
1079
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1080
+ let PInputGroup = class PInputGroup {
1081
+ constructor(c, r, z) {
1082
+ this.z = z;
1083
+ c.detach();
1084
+ this.el = r.nativeElement;
1085
+ }
1086
+ };
1087
+ 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 });
1088
+ 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", iconRotate: "iconRotate", label: "label", prefix: "prefix", size: "size", suffix: "suffix" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1089
+ PInputGroup = __decorate([
1090
+ ProxyCmp({
1091
+ defineCustomElementFn: undefined,
1092
+ inputs: ['disabled', 'error', 'focused', 'helper', 'icon', 'iconFlip', 'iconRotate', 'label', 'prefix', 'size', 'suffix']
1093
+ })
1094
+ ], PInputGroup);
1095
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: PInputGroup, decorators: [{
1096
+ type: Component,
1097
+ args: [{
1098
+ selector: 'p-input-group',
1099
+ changeDetection: ChangeDetectionStrategy.OnPush,
1100
+ template: '<ng-content></ng-content>',
1101
+ inputs: ['disabled', 'error', 'focused', 'helper', 'icon', 'iconFlip', 'iconRotate', 'label', 'prefix', 'size', 'suffix']
1102
+ }]
1103
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1104
+ let PLayout = class PLayout {
1105
+ constructor(c, r, z) {
1106
+ this.z = z;
1107
+ c.detach();
1108
+ this.el = r.nativeElement;
1109
+ }
1110
+ };
1111
+ 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 });
1112
+ 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 });
1113
+ PLayout = __decorate([
1114
+ ProxyCmp({
1115
+ defineCustomElementFn: undefined,
1116
+ inputs: ['variant']
1117
+ })
1118
+ ], PLayout);
1119
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: PLayout, decorators: [{
1120
+ type: Component,
1121
+ args: [{
1122
+ selector: 'p-layout',
1123
+ changeDetection: ChangeDetectionStrategy.OnPush,
1124
+ template: '<ng-content></ng-content>',
1125
+ inputs: ['variant']
1126
+ }]
1127
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1128
+ let PLoader = class PLoader {
1129
+ constructor(c, r, z) {
1130
+ this.z = z;
1131
+ c.detach();
1132
+ this.el = r.nativeElement;
1133
+ }
1134
+ };
1135
+ 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 });
1136
+ 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 });
1137
+ PLoader = __decorate([
1138
+ ProxyCmp({
1139
+ defineCustomElementFn: undefined,
1140
+ inputs: ['color', 'modalDescription', 'modalTitle', 'show', 'variant']
1141
+ })
1142
+ ], PLoader);
1143
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: PLoader, decorators: [{
1144
+ type: Component,
1145
+ args: [{
1146
+ selector: 'p-loader',
1147
+ changeDetection: ChangeDetectionStrategy.OnPush,
1148
+ template: '<ng-content></ng-content>',
1149
+ inputs: ['color', 'modalDescription', 'modalTitle', 'show', 'variant']
1150
+ }]
1151
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1152
+ let PModal = class PModal {
1153
+ constructor(c, r, z) {
1154
+ this.z = z;
1155
+ c.detach();
1156
+ this.el = r.nativeElement;
1157
+ proxyOutputs(this, this.el, ['close']);
1158
+ }
1159
+ };
1160
+ 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 });
1161
+ 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 });
1162
+ PModal = __decorate([
1163
+ ProxyCmp({
1164
+ defineCustomElementFn: undefined,
1165
+ inputs: ['header', 'show', 'showMobileClose', 'showMobileFooter', 'size', 'variant']
1166
+ })
1167
+ ], PModal);
1168
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: PModal, decorators: [{
1169
+ type: Component,
1170
+ args: [{
1171
+ selector: 'p-modal',
1172
+ changeDetection: ChangeDetectionStrategy.OnPush,
1173
+ template: '<ng-content></ng-content>',
1174
+ inputs: ['header', 'show', 'showMobileClose', 'showMobileFooter', 'size', 'variant']
1175
+ }]
1176
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1177
+ let PModalBackdrop = class PModalBackdrop {
1178
+ constructor(c, r, z) {
1179
+ this.z = z;
1180
+ c.detach();
1181
+ this.el = r.nativeElement;
1182
+ }
1183
+ };
1184
+ 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 });
1185
+ 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 });
1186
+ PModalBackdrop = __decorate([
1187
+ ProxyCmp({
1188
+ defineCustomElementFn: undefined
1189
+ })
1190
+ ], PModalBackdrop);
1191
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: PModalBackdrop, decorators: [{
1192
+ type: Component,
1193
+ args: [{
1194
+ selector: 'p-modal-backdrop',
1195
+ changeDetection: ChangeDetectionStrategy.OnPush,
1196
+ template: '<ng-content></ng-content>'
1197
+ }]
1198
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1199
+ let PModalBody = class PModalBody {
1200
+ constructor(c, r, z) {
1201
+ this.z = z;
1202
+ c.detach();
1203
+ this.el = r.nativeElement;
1204
+ }
1205
+ };
1206
+ 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 });
1207
+ 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 });
1208
+ PModalBody = __decorate([
1209
+ ProxyCmp({
1210
+ defineCustomElementFn: undefined,
1211
+ inputs: ['variant']
1212
+ })
1213
+ ], PModalBody);
1214
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: PModalBody, decorators: [{
1215
+ type: Component,
1216
+ args: [{
1217
+ selector: 'p-modal-body',
1218
+ changeDetection: ChangeDetectionStrategy.OnPush,
1219
+ template: '<ng-content></ng-content>',
1220
+ inputs: ['variant']
1221
+ }]
1222
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1223
+ let PModalContainer = class PModalContainer {
1224
+ constructor(c, r, z) {
1225
+ this.z = z;
1226
+ c.detach();
1227
+ this.el = r.nativeElement;
1228
+ }
1229
+ };
1230
+ 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 });
1231
+ 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 });
1232
+ PModalContainer = __decorate([
1233
+ ProxyCmp({
1234
+ defineCustomElementFn: undefined,
1235
+ inputs: ['size']
1236
+ })
1237
+ ], PModalContainer);
1238
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: PModalContainer, decorators: [{
1239
+ type: Component,
1240
+ args: [{
1241
+ selector: 'p-modal-container',
1242
+ changeDetection: ChangeDetectionStrategy.OnPush,
1243
+ template: '<ng-content></ng-content>',
1244
+ inputs: ['size']
1245
+ }]
1246
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1247
+ let PModalFooter = class PModalFooter {
1248
+ constructor(c, r, z) {
1249
+ this.z = z;
1250
+ c.detach();
1251
+ this.el = r.nativeElement;
1252
+ }
100
1253
  };
101
- const proxyMethods = (Cmp, methods) => {
102
- const Prototype = Cmp.prototype;
103
- methods.forEach(methodName => {
104
- Prototype[methodName] = function () {
105
- const args = arguments;
106
- return this.z.runOutsideAngular(() => this.el[methodName].apply(this.el, args));
107
- };
108
- });
1254
+ 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 });
1255
+ 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 });
1256
+ PModalFooter = __decorate([
1257
+ ProxyCmp({
1258
+ defineCustomElementFn: undefined,
1259
+ inputs: ['hideOnMobile']
1260
+ })
1261
+ ], PModalFooter);
1262
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: PModalFooter, decorators: [{
1263
+ type: Component,
1264
+ args: [{
1265
+ selector: 'p-modal-footer',
1266
+ changeDetection: ChangeDetectionStrategy.OnPush,
1267
+ template: '<ng-content></ng-content>',
1268
+ inputs: ['hideOnMobile']
1269
+ }]
1270
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1271
+ let PModalHeader = class PModalHeader {
1272
+ constructor(c, r, z) {
1273
+ this.z = z;
1274
+ c.detach();
1275
+ this.el = r.nativeElement;
1276
+ proxyOutputs(this, this.el, ['close']);
1277
+ }
109
1278
  };
110
- const proxyOutputs = (instance, el, events) => {
111
- events.forEach(eventName => instance[eventName] = fromEvent(el, eventName));
1279
+ 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 });
1280
+ 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 });
1281
+ PModalHeader = __decorate([
1282
+ ProxyCmp({
1283
+ defineCustomElementFn: undefined,
1284
+ inputs: ['showMobileClose']
1285
+ })
1286
+ ], PModalHeader);
1287
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: PModalHeader, decorators: [{
1288
+ type: Component,
1289
+ args: [{
1290
+ selector: 'p-modal-header',
1291
+ changeDetection: ChangeDetectionStrategy.OnPush,
1292
+ template: '<ng-content></ng-content>',
1293
+ inputs: ['showMobileClose']
1294
+ }]
1295
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1296
+ let PNavbar = class PNavbar {
1297
+ constructor(c, r, z) {
1298
+ this.z = z;
1299
+ c.detach();
1300
+ this.el = r.nativeElement;
1301
+ }
112
1302
  };
113
- const defineCustomElement = (tagName, customElement) => {
114
- if (customElement !== undefined &&
115
- typeof customElements !== 'undefined' &&
116
- !customElements.get(tagName)) {
117
- customElements.define(tagName, customElement);
1303
+ 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 });
1304
+ 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 });
1305
+ PNavbar = __decorate([
1306
+ ProxyCmp({
1307
+ defineCustomElementFn: undefined,
1308
+ inputs: ['closeText', 'menuText']
1309
+ })
1310
+ ], PNavbar);
1311
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: PNavbar, decorators: [{
1312
+ type: Component,
1313
+ args: [{
1314
+ selector: 'p-navbar',
1315
+ changeDetection: ChangeDetectionStrategy.OnPush,
1316
+ template: '<ng-content></ng-content>',
1317
+ inputs: ['closeText', 'menuText']
1318
+ }]
1319
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1320
+ let PNavigationItem = class PNavigationItem {
1321
+ constructor(c, r, z) {
1322
+ this.z = z;
1323
+ c.detach();
1324
+ this.el = r.nativeElement;
118
1325
  }
119
1326
  };
120
- // tslint:disable-next-line: only-arrow-functions
121
- function ProxyCmp(opts) {
122
- const decorator = function (cls) {
123
- const { defineCustomElementFn, inputs, methods } = opts;
124
- if (defineCustomElementFn !== undefined) {
125
- defineCustomElementFn();
126
- }
127
- if (inputs) {
128
- proxyInputs(cls, inputs);
129
- }
130
- if (methods) {
131
- proxyMethods(cls, methods);
132
- }
133
- return cls;
134
- };
135
- return decorator;
136
- }
137
-
138
- let PAvatar = class PAvatar {
1327
+ 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 });
1328
+ 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 });
1329
+ PNavigationItem = __decorate([
1330
+ ProxyCmp({
1331
+ defineCustomElementFn: undefined,
1332
+ inputs: ['active', 'counter', 'href', 'icon', 'target']
1333
+ })
1334
+ ], PNavigationItem);
1335
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: PNavigationItem, decorators: [{
1336
+ type: Component,
1337
+ args: [{
1338
+ selector: 'p-navigation-item',
1339
+ changeDetection: ChangeDetectionStrategy.OnPush,
1340
+ template: '<ng-content></ng-content>',
1341
+ inputs: ['active', 'counter', 'href', 'icon', 'target']
1342
+ }]
1343
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1344
+ let PPageSizeSelect = class PPageSizeSelect {
139
1345
  constructor(c, r, z) {
140
1346
  this.z = z;
141
1347
  c.detach();
142
1348
  this.el = r.nativeElement;
1349
+ proxyOutputs(this, this.el, ['sizeChange']);
143
1350
  }
144
1351
  };
145
- PAvatar.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PAvatar, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
146
- PAvatar.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: PAvatar, selector: "p-avatar", inputs: { defaultImage: "defaultImage", size: "size", src: "src", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
147
- PAvatar = __decorate([
1352
+ 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 });
1353
+ 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 });
1354
+ PPageSizeSelect = __decorate([
148
1355
  ProxyCmp({
149
1356
  defineCustomElementFn: undefined,
150
- inputs: ['defaultImage', 'size', 'src', 'variant']
1357
+ inputs: ['buttonSize', 'buttonTemplate', 'chevronPosition', 'hidden', 'itemTemplate', 'size', 'sizeOptions']
151
1358
  })
152
- ], PAvatar);
153
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PAvatar, decorators: [{
1359
+ ], PPageSizeSelect);
1360
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: PPageSizeSelect, decorators: [{
154
1361
  type: Component,
155
1362
  args: [{
156
- selector: 'p-avatar',
1363
+ selector: 'p-page-size-select',
157
1364
  changeDetection: ChangeDetectionStrategy.OnPush,
158
1365
  template: '<ng-content></ng-content>',
159
- inputs: ['defaultImage', 'size', 'src', 'variant']
1366
+ inputs: ['buttonSize', 'buttonTemplate', 'chevronPosition', 'hidden', 'itemTemplate', 'size', 'sizeOptions']
160
1367
  }]
161
1368
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
162
- let PButton = class PButton {
1369
+ let PPagination = class PPagination {
163
1370
  constructor(c, r, z) {
164
1371
  this.z = z;
165
1372
  c.detach();
166
1373
  this.el = r.nativeElement;
167
- proxyOutputs(this, this.el, ['onClick']);
1374
+ proxyOutputs(this, this.el, ['pageChange']);
168
1375
  }
169
1376
  };
170
- PButton.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PButton, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
171
- PButton.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: PButton, selector: "p-button", inputs: { disabled: "disabled", href: "href", icon: "icon", iconFlip: "iconFlip", iconPosition: "iconPosition", iconRotate: "iconRotate", loading: "loading", size: "size", target: "target", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
172
- PButton = __decorate([
1377
+ 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 });
1378
+ 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 });
1379
+ PPagination = __decorate([
173
1380
  ProxyCmp({
174
1381
  defineCustomElementFn: undefined,
175
- inputs: ['disabled', 'href', 'icon', 'iconFlip', 'iconPosition', 'iconRotate', 'loading', 'size', 'target', 'variant']
1382
+ inputs: ['hideOnSinglePage', 'page', 'pageSize', 'total']
176
1383
  })
177
- ], PButton);
178
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PButton, decorators: [{
1384
+ ], PPagination);
1385
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: PPagination, decorators: [{
179
1386
  type: Component,
180
1387
  args: [{
181
- selector: 'p-button',
1388
+ selector: 'p-pagination',
182
1389
  changeDetection: ChangeDetectionStrategy.OnPush,
183
1390
  template: '<ng-content></ng-content>',
184
- inputs: ['disabled', 'href', 'icon', 'iconFlip', 'iconPosition', 'iconRotate', 'loading', 'size', 'target', 'variant']
1391
+ inputs: ['hideOnSinglePage', 'page', 'pageSize', 'total']
185
1392
  }]
186
1393
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
187
- let PCounter = class PCounter {
1394
+ let PPaginationItem = class PPaginationItem {
188
1395
  constructor(c, r, z) {
189
1396
  this.z = z;
190
1397
  c.detach();
191
1398
  this.el = r.nativeElement;
192
1399
  }
193
1400
  };
194
- PCounter.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PCounter, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
195
- PCounter.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: PCounter, selector: "p-counter", ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
196
- PCounter = __decorate([
1401
+ 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 });
1402
+ 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 });
1403
+ PPaginationItem = __decorate([
197
1404
  ProxyCmp({
198
- defineCustomElementFn: undefined
1405
+ defineCustomElementFn: undefined,
1406
+ inputs: ['active']
199
1407
  })
200
- ], PCounter);
201
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PCounter, decorators: [{
1408
+ ], PPaginationItem);
1409
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: PPaginationItem, decorators: [{
202
1410
  type: Component,
203
1411
  args: [{
204
- selector: 'p-counter',
1412
+ selector: 'p-pagination-item',
205
1413
  changeDetection: ChangeDetectionStrategy.OnPush,
206
- template: '<ng-content></ng-content>'
1414
+ template: '<ng-content></ng-content>',
1415
+ inputs: ['active']
207
1416
  }]
208
1417
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
209
- let PDivider = class PDivider {
1418
+ let PProfile = class PProfile {
210
1419
  constructor(c, r, z) {
211
1420
  this.z = z;
212
1421
  c.detach();
213
1422
  this.el = r.nativeElement;
214
1423
  }
215
1424
  };
216
- PDivider.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PDivider, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
217
- PDivider.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: PDivider, selector: "p-divider", ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
218
- PDivider = __decorate([
1425
+ 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 });
1426
+ 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 });
1427
+ PProfile = __decorate([
219
1428
  ProxyCmp({
220
- defineCustomElementFn: undefined
1429
+ defineCustomElementFn: undefined,
1430
+ inputs: ['size', 'variant']
221
1431
  })
222
- ], PDivider);
223
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PDivider, decorators: [{
1432
+ ], PProfile);
1433
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: PProfile, decorators: [{
224
1434
  type: Component,
225
1435
  args: [{
226
- selector: 'p-divider',
1436
+ selector: 'p-profile',
227
1437
  changeDetection: ChangeDetectionStrategy.OnPush,
228
- template: '<ng-content></ng-content>'
1438
+ template: '<ng-content></ng-content>',
1439
+ inputs: ['size', 'variant']
229
1440
  }]
230
1441
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
231
- let PHelper = class PHelper {
1442
+ let PSegmentContainer = class PSegmentContainer {
232
1443
  constructor(c, r, z) {
233
1444
  this.z = z;
234
1445
  c.detach();
235
1446
  this.el = r.nativeElement;
236
1447
  }
237
1448
  };
238
- PHelper.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PHelper, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
239
- PHelper.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: PHelper, selector: "p-helper", ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
240
- PHelper = __decorate([
1449
+ 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 });
1450
+ 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 });
1451
+ PSegmentContainer = __decorate([
241
1452
  ProxyCmp({
242
1453
  defineCustomElementFn: undefined
243
1454
  })
244
- ], PHelper);
245
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PHelper, decorators: [{
1455
+ ], PSegmentContainer);
1456
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: PSegmentContainer, decorators: [{
246
1457
  type: Component,
247
1458
  args: [{
248
- selector: 'p-helper',
1459
+ selector: 'p-segment-container',
249
1460
  changeDetection: ChangeDetectionStrategy.OnPush,
250
1461
  template: '<ng-content></ng-content>'
251
1462
  }]
252
1463
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
253
- let PIcon = class PIcon {
1464
+ let PSegmentItem = class PSegmentItem {
254
1465
  constructor(c, r, z) {
255
1466
  this.z = z;
256
1467
  c.detach();
257
1468
  this.el = r.nativeElement;
258
1469
  }
259
1470
  };
260
- 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 });
261
- 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 });
262
- PIcon = __decorate([
1471
+ 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 });
1472
+ 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 });
1473
+ PSegmentItem = __decorate([
263
1474
  ProxyCmp({
264
1475
  defineCustomElementFn: undefined,
265
- inputs: ['flip', 'rotate', 'size', 'variant']
1476
+ inputs: ['active', 'icon', 'iconFlip', 'iconRotate']
266
1477
  })
267
- ], PIcon);
268
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PIcon, decorators: [{
1478
+ ], PSegmentItem);
1479
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: PSegmentItem, decorators: [{
269
1480
  type: Component,
270
1481
  args: [{
271
- selector: 'p-icon',
1482
+ selector: 'p-segment-item',
272
1483
  changeDetection: ChangeDetectionStrategy.OnPush,
273
1484
  template: '<ng-content></ng-content>',
274
- inputs: ['flip', 'rotate', 'size', 'variant']
1485
+ inputs: ['active', 'icon', 'iconFlip', 'iconRotate']
275
1486
  }]
276
1487
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
277
- let PIllustration = class PIllustration {
1488
+ let PSliderIndicator = class PSliderIndicator {
278
1489
  constructor(c, r, z) {
279
1490
  this.z = z;
280
1491
  c.detach();
281
1492
  this.el = r.nativeElement;
282
1493
  }
283
1494
  };
284
- 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 });
285
- 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 });
286
- PIllustration = __decorate([
1495
+ 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 });
1496
+ 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 });
1497
+ PSliderIndicator = __decorate([
287
1498
  ProxyCmp({
288
1499
  defineCustomElementFn: undefined,
289
- inputs: ['variant']
1500
+ inputs: ['active']
290
1501
  })
291
- ], PIllustration);
292
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PIllustration, decorators: [{
1502
+ ], PSliderIndicator);
1503
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: PSliderIndicator, decorators: [{
293
1504
  type: Component,
294
1505
  args: [{
295
- selector: 'p-illustration',
1506
+ selector: 'p-slider-indicator',
296
1507
  changeDetection: ChangeDetectionStrategy.OnPush,
297
1508
  template: '<ng-content></ng-content>',
298
- inputs: ['variant']
1509
+ inputs: ['active']
299
1510
  }]
300
1511
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
301
- let PInfoPanel = class PInfoPanel {
1512
+ let PStatus = class PStatus {
302
1513
  constructor(c, r, z) {
303
1514
  this.z = z;
304
1515
  c.detach();
305
1516
  this.el = r.nativeElement;
306
1517
  }
307
1518
  };
308
- PInfoPanel.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PInfoPanel, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
309
- PInfoPanel.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: PInfoPanel, selector: "p-info-panel", inputs: { closeable: "closeable", content: "content", header: "header", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
310
- PInfoPanel = __decorate([
1519
+ 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 });
1520
+ 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 });
1521
+ PStatus = __decorate([
311
1522
  ProxyCmp({
312
1523
  defineCustomElementFn: undefined,
313
- inputs: ['closeable', 'content', 'header', 'variant']
1524
+ inputs: ['icon', 'iconFlip', 'iconRotate', 'variant']
314
1525
  })
315
- ], PInfoPanel);
316
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PInfoPanel, decorators: [{
1526
+ ], PStatus);
1527
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: PStatus, decorators: [{
317
1528
  type: Component,
318
1529
  args: [{
319
- selector: 'p-info-panel',
1530
+ selector: 'p-status',
320
1531
  changeDetection: ChangeDetectionStrategy.OnPush,
321
1532
  template: '<ng-content></ng-content>',
322
- inputs: ['closeable', 'content', 'header', 'variant']
1533
+ inputs: ['icon', 'iconFlip', 'iconRotate', 'variant']
323
1534
  }]
324
1535
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
325
- let PLoader = class PLoader {
1536
+ let PStepper = class PStepper {
326
1537
  constructor(c, r, z) {
327
1538
  this.z = z;
328
1539
  c.detach();
329
1540
  this.el = r.nativeElement;
330
1541
  }
331
1542
  };
332
- 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 });
333
- 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 });
334
- PLoader = __decorate([
1543
+ 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 });
1544
+ 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 });
1545
+ PStepper = __decorate([
335
1546
  ProxyCmp({
336
1547
  defineCustomElementFn: undefined,
337
- inputs: ['color', 'modalDescription', 'modalTitle', 'show', 'variant']
1548
+ inputs: ['activeStep', 'direction']
338
1549
  })
339
- ], PLoader);
340
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PLoader, decorators: [{
1550
+ ], PStepper);
1551
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: PStepper, decorators: [{
341
1552
  type: Component,
342
1553
  args: [{
343
- selector: 'p-loader',
1554
+ selector: 'p-stepper',
344
1555
  changeDetection: ChangeDetectionStrategy.OnPush,
345
1556
  template: '<ng-content></ng-content>',
346
- inputs: ['color', 'modalDescription', 'modalTitle', 'show', 'variant']
1557
+ inputs: ['activeStep', 'direction']
347
1558
  }]
348
1559
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
349
- let PNavigationItem = class PNavigationItem {
1560
+ let PStepperItem = class PStepperItem {
350
1561
  constructor(c, r, z) {
351
1562
  this.z = z;
352
1563
  c.detach();
353
1564
  this.el = r.nativeElement;
354
1565
  }
355
1566
  };
356
- PNavigationItem.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PNavigationItem, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
357
- PNavigationItem.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: PNavigationItem, selector: "p-navigation-item", inputs: { active: "active", counter: "counter", href: "href", icon: "icon", target: "target" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
358
- PNavigationItem = __decorate([
1567
+ 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 });
1568
+ 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 });
1569
+ PStepperItem = __decorate([
359
1570
  ProxyCmp({
360
1571
  defineCustomElementFn: undefined,
361
- inputs: ['active', 'counter', 'href', 'icon', 'target']
1572
+ inputs: ['active', 'align', 'direction', 'finished']
362
1573
  })
363
- ], PNavigationItem);
364
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PNavigationItem, decorators: [{
1574
+ ], PStepperItem);
1575
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: PStepperItem, decorators: [{
365
1576
  type: Component,
366
1577
  args: [{
367
- selector: 'p-navigation-item',
1578
+ selector: 'p-stepper-item',
368
1579
  changeDetection: ChangeDetectionStrategy.OnPush,
369
1580
  template: '<ng-content></ng-content>',
370
- inputs: ['active', 'counter', 'href', 'icon', 'target']
1581
+ inputs: ['active', 'align', 'direction', 'finished']
371
1582
  }]
372
1583
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
373
- let PPagination = class PPagination {
1584
+ let PStepperLine = class PStepperLine {
374
1585
  constructor(c, r, z) {
375
1586
  this.z = z;
376
1587
  c.detach();
377
1588
  this.el = r.nativeElement;
378
- proxyOutputs(this, this.el, ['pageChange']);
379
1589
  }
380
1590
  };
381
- PPagination.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PPagination, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
382
- PPagination.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: PPagination, selector: "p-pagination", inputs: { page: "page", pageSize: "pageSize", total: "total" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
383
- PPagination = __decorate([
1591
+ 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 });
1592
+ 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 });
1593
+ PStepperLine = __decorate([
384
1594
  ProxyCmp({
385
1595
  defineCustomElementFn: undefined,
386
- inputs: ['page', 'pageSize', 'total']
1596
+ inputs: ['active', 'direction']
387
1597
  })
388
- ], PPagination);
389
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PPagination, decorators: [{
1598
+ ], PStepperLine);
1599
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: PStepperLine, decorators: [{
390
1600
  type: Component,
391
1601
  args: [{
392
- selector: 'p-pagination',
1602
+ selector: 'p-stepper-line',
393
1603
  changeDetection: ChangeDetectionStrategy.OnPush,
394
1604
  template: '<ng-content></ng-content>',
395
- inputs: ['page', 'pageSize', 'total']
1605
+ inputs: ['active', 'direction']
396
1606
  }]
397
1607
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
398
- let PPaginationItem = class PPaginationItem {
1608
+ let PTabGroup = class PTabGroup {
399
1609
  constructor(c, r, z) {
400
1610
  this.z = z;
401
1611
  c.detach();
402
1612
  this.el = r.nativeElement;
403
1613
  }
404
1614
  };
405
- PPaginationItem.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PPaginationItem, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
406
- PPaginationItem.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: PPaginationItem, selector: "p-pagination-item", inputs: { active: "active" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
407
- PPaginationItem = __decorate([
1615
+ 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 });
1616
+ 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 });
1617
+ PTabGroup = __decorate([
1618
+ ProxyCmp({
1619
+ defineCustomElementFn: undefined
1620
+ })
1621
+ ], PTabGroup);
1622
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: PTabGroup, decorators: [{
1623
+ type: Component,
1624
+ args: [{
1625
+ selector: 'p-tab-group',
1626
+ changeDetection: ChangeDetectionStrategy.OnPush,
1627
+ template: '<ng-content></ng-content>'
1628
+ }]
1629
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1630
+ let PTabItem = class PTabItem {
1631
+ constructor(c, r, z) {
1632
+ this.z = z;
1633
+ c.detach();
1634
+ this.el = r.nativeElement;
1635
+ }
1636
+ };
1637
+ 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 });
1638
+ 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 });
1639
+ PTabItem = __decorate([
408
1640
  ProxyCmp({
409
1641
  defineCustomElementFn: undefined,
410
1642
  inputs: ['active']
411
1643
  })
412
- ], PPaginationItem);
413
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PPaginationItem, decorators: [{
1644
+ ], PTabItem);
1645
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: PTabItem, decorators: [{
414
1646
  type: Component,
415
1647
  args: [{
416
- selector: 'p-pagination-item',
1648
+ selector: 'p-tab-item',
417
1649
  changeDetection: ChangeDetectionStrategy.OnPush,
418
1650
  template: '<ng-content></ng-content>',
419
1651
  inputs: ['active']
420
1652
  }]
421
1653
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1654
+ let PTableFooter = class PTableFooter {
1655
+ constructor(c, r, z) {
1656
+ this.z = z;
1657
+ c.detach();
1658
+ this.el = r.nativeElement;
1659
+ proxyOutputs(this, this.el, ['pageChange', 'pageSizeChange', 'export']);
1660
+ }
1661
+ };
1662
+ 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 });
1663
+ 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 });
1664
+ PTableFooter = __decorate([
1665
+ ProxyCmp({
1666
+ defineCustomElementFn: undefined,
1667
+ inputs: ['enableExport', 'enablePageSize', 'enablePagination', 'hideOnSinglePage', 'page', 'pageSize', 'pageSizeOptions', 'total']
1668
+ })
1669
+ ], PTableFooter);
1670
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: PTableFooter, decorators: [{
1671
+ type: Component,
1672
+ args: [{
1673
+ selector: 'p-table-footer',
1674
+ changeDetection: ChangeDetectionStrategy.OnPush,
1675
+ template: '<ng-content></ng-content>',
1676
+ inputs: ['enableExport', 'enablePageSize', 'enablePagination', 'hideOnSinglePage', 'page', 'pageSize', 'pageSizeOptions', 'total']
1677
+ }]
1678
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1679
+ let PTableHeader = class PTableHeader {
1680
+ constructor(c, r, z) {
1681
+ this.z = z;
1682
+ c.detach();
1683
+ this.el = r.nativeElement;
1684
+ proxyOutputs(this, this.el, ['quickFilter', 'queryChange', 'filter', 'edit']);
1685
+ }
1686
+ };
1687
+ 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 });
1688
+ 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 });
1689
+ PTableHeader = __decorate([
1690
+ ProxyCmp({
1691
+ defineCustomElementFn: undefined,
1692
+ inputs: ['activeQuickFilterIdentifier', 'canEdit', 'editButtonTemplate', 'enableEdit', 'enableFilter', 'enableSearch', 'filterButtonTemplate', 'itemsSelectedAmount', 'query', 'quickFilters', 'selectedFiltersAmount']
1693
+ })
1694
+ ], PTableHeader);
1695
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: PTableHeader, decorators: [{
1696
+ type: Component,
1697
+ args: [{
1698
+ selector: 'p-table-header',
1699
+ changeDetection: ChangeDetectionStrategy.OnPush,
1700
+ template: '<ng-content></ng-content>',
1701
+ inputs: ['activeQuickFilterIdentifier', 'canEdit', 'editButtonTemplate', 'enableEdit', 'enableFilter', 'enableSearch', 'filterButtonTemplate', 'itemsSelectedAmount', 'query', 'quickFilters', 'selectedFiltersAmount']
1702
+ }]
1703
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
1704
+ let PTag = class PTag {
1705
+ constructor(c, r, z) {
1706
+ this.z = z;
1707
+ c.detach();
1708
+ this.el = r.nativeElement;
1709
+ }
1710
+ };
1711
+ PTag.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: PTag, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
1712
+ PTag.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.7", type: PTag, selector: "p-tag", inputs: { circle: "circle", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1713
+ PTag = __decorate([
1714
+ ProxyCmp({
1715
+ defineCustomElementFn: undefined,
1716
+ inputs: ['circle', 'variant']
1717
+ })
1718
+ ], PTag);
1719
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: PTag, decorators: [{
1720
+ type: Component,
1721
+ args: [{
1722
+ selector: 'p-tag',
1723
+ changeDetection: ChangeDetectionStrategy.OnPush,
1724
+ template: '<ng-content></ng-content>',
1725
+ inputs: ['circle', 'variant']
1726
+ }]
1727
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
422
1728
  let PTooltip = class PTooltip {
423
1729
  constructor(c, r, z) {
424
1730
  this.z = z;
425
1731
  c.detach();
426
1732
  this.el = r.nativeElement;
1733
+ proxyOutputs(this, this.el, ['isOpen']);
427
1734
  }
428
1735
  };
429
- 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 });
430
- PTooltip.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: PTooltip, selector: "p-tooltip", inputs: { canManuallyClose: "canManuallyClose", placement: "placement", popover: "popover", show: "show", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1736
+ 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 });
1737
+ 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 });
431
1738
  PTooltip = __decorate([
432
1739
  ProxyCmp({
433
1740
  defineCustomElementFn: undefined,
434
- inputs: ['canManuallyClose', 'placement', 'popover', 'show', 'variant']
1741
+ inputs: ['canManuallyClose', 'placement', 'popover', 'show', 'strategy', 'variant']
435
1742
  })
436
1743
  ], PTooltip);
437
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PTooltip, decorators: [{
1744
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: PTooltip, decorators: [{
438
1745
  type: Component,
439
1746
  args: [{
440
1747
  selector: 'p-tooltip',
441
1748
  changeDetection: ChangeDetectionStrategy.OnPush,
442
1749
  template: '<ng-content></ng-content>',
443
- inputs: ['canManuallyClose', 'placement', 'popover', 'show', 'variant']
1750
+ inputs: ['canManuallyClose', 'placement', 'popover', 'show', 'strategy', 'variant']
444
1751
  }]
445
1752
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
446
1753
 
447
1754
  const DIRECTIVES = [
1755
+ PAccordion,
448
1756
  PAvatar,
1757
+ PAvatarGroup,
449
1758
  PButton,
1759
+ PCardBody,
1760
+ PCardContainer,
1761
+ PCardHeader,
1762
+ PContentSlider,
450
1763
  PCounter,
451
1764
  PDivider,
1765
+ PDropdown,
1766
+ PDropdownMenuContainer,
1767
+ PDropdownMenuItem,
452
1768
  PHelper,
453
1769
  PIcon,
454
1770
  PIllustration,
455
1771
  PInfoPanel,
1772
+ PInputGroup,
1773
+ PLayout,
456
1774
  PLoader,
1775
+ PModal,
1776
+ PModalBackdrop,
1777
+ PModalBody,
1778
+ PModalContainer,
1779
+ PModalFooter,
1780
+ PModalHeader,
1781
+ PNavbar,
457
1782
  PNavigationItem,
1783
+ PPageSizeSelect,
458
1784
  PPagination,
459
1785
  PPaginationItem,
1786
+ PProfile,
1787
+ PSegmentContainer,
1788
+ PSegmentItem,
1789
+ PSliderIndicator,
1790
+ PStatus,
1791
+ PStepper,
1792
+ PStepperItem,
1793
+ PStepperLine,
1794
+ PTabGroup,
1795
+ PTabItem,
1796
+ PTableFooter,
1797
+ PTableHeader,
1798
+ PTag,
460
1799
  PTooltip
461
1800
  ];
462
1801
 
463
1802
  class PaperlessModule {
464
1803
  }
465
- PaperlessModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PaperlessModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
466
- PaperlessModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PaperlessModule, declarations: [PAvatar, PButton, PCounter, PDivider, PHelper, PIcon, PIllustration, PInfoPanel, PLoader, PNavigationItem, PPagination, PPaginationItem, PTooltip, PaginationDirective], exports: [PAvatar, PButton, PCounter, PDivider, PHelper, PIcon, PIllustration, PInfoPanel, PLoader, PNavigationItem, PPagination, PPaginationItem, PTooltip, PaginationDirective] });
467
- PaperlessModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PaperlessModule });
468
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PaperlessModule, decorators: [{
1804
+ PaperlessModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: PaperlessModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1805
+ 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, PLayout, PLoader, PModal, PModalBackdrop, PModalBody, PModalContainer, PModalFooter, PModalHeader, PNavbar, PNavigationItem, PPageSizeSelect, PPagination, PPaginationItem, PProfile, PSegmentContainer, PSegmentItem, PSliderIndicator, PStatus, PStepper, PStepperItem, PStepperLine, PTabGroup, PTabItem, PTableFooter, PTableHeader, PTag, PTooltip, PaginationDirective, PageSizeSelectDirective, TableFooterDirective, TableHeaderDirective, TableDirective], exports: [PAccordion, PAvatar, PAvatarGroup, PButton, PCardBody, PCardContainer, PCardHeader, PContentSlider, PCounter, PDivider, PDropdown, PDropdownMenuContainer, PDropdownMenuItem, PHelper, PIcon, PIllustration, PInfoPanel, PInputGroup, PLayout, PLoader, PModal, PModalBackdrop, PModalBody, PModalContainer, PModalFooter, PModalHeader, PNavbar, PNavigationItem, PPageSizeSelect, PPagination, PPaginationItem, PProfile, PSegmentContainer, PSegmentItem, PSliderIndicator, PStatus, PStepper, PStepperItem, PStepperLine, PTabGroup, PTabItem, PTableFooter, PTableHeader, PTag, PTooltip, PaginationDirective, PageSizeSelectDirective, TableFooterDirective, TableHeaderDirective, TableDirective] });
1806
+ PaperlessModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: PaperlessModule });
1807
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: PaperlessModule, decorators: [{
469
1808
  type: NgModule,
470
1809
  args: [{
471
1810
  declarations: [...DIRECTIVES, ...CUSTOM_DIRECTIVES],
@@ -481,5 +1820,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
481
1820
  * Generated bundle index. Do not edit.
482
1821
  */
483
1822
 
484
- export { CUSTOM_DIRECTIVES, PAvatar, PButton, PCounter, PDivider, PHelper, PIcon, PIllustration, PInfoPanel, PLoader, PNavigationItem, PPagination, PPaginationItem, PTooltip, PaginationDirective, PaperlessModule };
1823
+ export { BaseTableComponent, BaseUploadComponent, BaseValueAccessor, CUSTOM_DIRECTIVES, FormBaseComponent, PAccordion, PAvatar, PAvatarGroup, PButton, PCardBody, PCardContainer, PCardHeader, PContentSlider, PCounter, PDivider, PDropdown, PDropdownMenuContainer, PDropdownMenuItem, PHelper, PIcon, PIllustration, PInfoPanel, PInputGroup, PLayout, PLoader, PModal, PModalBackdrop, PModalBody, PModalContainer, PModalFooter, PModalHeader, PNavbar, PNavigationItem, PPageSizeSelect, PPagination, PPaginationItem, PProfile, PSegmentContainer, PSegmentItem, PSliderIndicator, PStatus, PStepper, PStepperItem, PStepperLine, PTabGroup, PTabItem, PTableFooter, PTableHeader, PTag, PTooltip, PageSizeSelectDirective, PaginationDirective, PaperlessModule, TableDirective, TableFooterDirective, TableHeaderDirective };
485
1824
  //# sourceMappingURL=paperless-angular.mjs.map