@paperless/angular 0.1.0-alpha.30 → 0.1.0-alpha.301

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