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