@paperless/angular 0.1.0-alpha.281 → 0.1.0-alpha.282
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/esm2020/lib/base/upload.component.mjs +3 -3
- package/esm2020/lib/base/value-accessor.mjs +3 -3
- package/esm2020/lib/directives/p-page-size-select.directive.mjs +3 -3
- package/esm2020/lib/directives/p-pagination.directive.mjs +3 -3
- package/esm2020/lib/directives/p-select.directive.mjs +3 -3
- package/esm2020/lib/modules/index.mjs +4 -2
- 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 +9 -0
- package/esm2020/lib/modules/overlay/services/index.mjs +4 -0
- package/esm2020/lib/modules/overlay/services/overlay.service.mjs +65 -0
- package/esm2020/lib/modules/table/base/form.component.mjs +3 -3
- package/esm2020/lib/modules/table/base/table.component.mjs +3 -3
- package/esm2020/lib/modules/table/components/table/table.component.mjs +3 -3
- package/esm2020/lib/modules/table/components/table-cell/table-cell.component.mjs +3 -3
- package/esm2020/lib/modules/table/components/table-column/table-column.component.mjs +3 -3
- package/esm2020/lib/modules/table/directives/p-table-filter-modal.directive.mjs +3 -3
- package/esm2020/lib/modules/table/directives/p-table-footer.directive.mjs +3 -3
- package/esm2020/lib/modules/table/directives/p-table-header.directive.mjs +3 -3
- package/esm2020/lib/modules/table/directives/p-table-ngx.directive.mjs +3 -3
- package/esm2020/lib/modules/table/directives/p-table.directive.mjs +3 -3
- package/esm2020/lib/modules/table/table.module.mjs +4 -4
- package/esm2020/lib/modules/toast/components/toast-container/toast-container.component.mjs +3 -3
- package/esm2020/lib/modules/toast/directives/toast.directive.mjs +3 -3
- package/esm2020/lib/modules/toast/services/toast.service.mjs +3 -3
- package/esm2020/lib/modules/toast/toast.module.mjs +4 -4
- package/esm2020/lib/paperless.module.mjs +8 -6
- package/esm2020/lib/pipes/currency.pipe.mjs +3 -3
- package/esm2020/lib/pipes/date.pipe.mjs +3 -3
- package/esm2020/lib/pipes/safe.pipe.mjs +3 -3
- package/esm2020/lib/stencil/components.mjs +170 -168
- package/esm2020/lib/stencil.module.mjs +4 -4
- package/fesm2015/paperless-angular.mjs +1025 -917
- package/fesm2015/paperless-angular.mjs.map +1 -1
- package/fesm2020/paperless-angular.mjs +1024 -917
- package/fesm2020/paperless-angular.mjs.map +1 -1
- package/lib/modules/index.d.ts +3 -2
- 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 +6 -0
- package/lib/modules/overlay/services/index.d.ts +3 -0
- package/lib/modules/overlay/services/overlay.service.d.ts +22 -0
- package/lib/paperless.module.d.ts +2 -1
- package/lib/stencil/components.d.ts +13 -5
- package/package.json +2 -1
|
@@ -1,15 +1,20 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { EventEmitter, Component, Input, Output, ViewChild, Directive, HostListener, ChangeDetectionStrategy, HostBinding, TemplateRef, ContentChild, ContentChildren, Host,
|
|
2
|
+
import { EventEmitter, Component, Input, Output, ViewChild, Directive, HostListener, ChangeDetectionStrategy, NgModule, Injector, Injectable, HostBinding, TemplateRef, ContentChild, ContentChildren, Host, Pipe } from '@angular/core';
|
|
3
3
|
import { NG_VALUE_ACCESSOR, FormControl, FormGroup, FormArray } from '@angular/forms';
|
|
4
|
+
import * as i1$1 from '@angular/common';
|
|
5
|
+
import { CommonModule, DatePipe, CurrencyPipe } from '@angular/common';
|
|
4
6
|
import { __decorate } from 'tslib';
|
|
7
|
+
import { fromEvent, timer, BehaviorSubject, distinctUntilChanged, map as map$1 } from 'rxjs';
|
|
8
|
+
import { ObserversModule } from '@angular/cdk/observers';
|
|
9
|
+
import * as i1 from '@angular/cdk/overlay';
|
|
10
|
+
import { OverlayModule as OverlayModule$1, OverlayConfig } from '@angular/cdk/overlay';
|
|
11
|
+
import { PlatformModule } from '@angular/cdk/platform';
|
|
12
|
+
import { PortalModule, CdkPortal, ComponentPortal } from '@angular/cdk/portal';
|
|
5
13
|
import { untilDestroyed, UntilDestroy } from '@ngneat/until-destroy';
|
|
6
|
-
import { timer, fromEvent, BehaviorSubject, distinctUntilChanged, map as map$1 } from 'rxjs';
|
|
7
14
|
import { startWith, pairwise, map, filter, debounce } from 'rxjs/operators';
|
|
8
15
|
import { objectGetByPath } from '@paperless/core';
|
|
9
|
-
import * as i1 from '@angular/common';
|
|
10
|
-
import { CommonModule, DatePipe, CurrencyPipe } from '@angular/common';
|
|
11
16
|
import { trigger, transition, style, animate } from '@angular/animations';
|
|
12
|
-
import * as i1$
|
|
17
|
+
import * as i1$2 from '@angular/platform-browser';
|
|
13
18
|
|
|
14
19
|
class BaseUploadComponent {
|
|
15
20
|
constructor() {
|
|
@@ -48,9 +53,9 @@ class BaseUploadComponent {
|
|
|
48
53
|
this._loading = false;
|
|
49
54
|
}
|
|
50
55
|
}
|
|
51
|
-
BaseUploadComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
52
|
-
BaseUploadComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.
|
|
53
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
56
|
+
BaseUploadComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: BaseUploadComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
57
|
+
BaseUploadComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.2", type: BaseUploadComponent, selector: "ng-component", inputs: { fileId: "fileId", uploaded: "uploaded", loading: "loading" }, outputs: { fileChange: "fileChange" }, viewQueries: [{ propertyName: "uploaderInput", first: true, predicate: ["uploaderInput"], descendants: true }], ngImport: i0, template: ``, isInline: true });
|
|
58
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: BaseUploadComponent, decorators: [{
|
|
54
59
|
type: Component,
|
|
55
60
|
args: [{
|
|
56
61
|
template: ``,
|
|
@@ -98,9 +103,9 @@ class BaseValueAccessor {
|
|
|
98
103
|
this.onTouched();
|
|
99
104
|
}
|
|
100
105
|
}
|
|
101
|
-
BaseValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
102
|
-
BaseValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.
|
|
103
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
106
|
+
BaseValueAccessor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: BaseValueAccessor, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
107
|
+
BaseValueAccessor.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.2", type: BaseValueAccessor, host: { listeners: { "focusout": "_handleBlurEvent()" } }, ngImport: i0 });
|
|
108
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: BaseValueAccessor, decorators: [{
|
|
104
109
|
type: Directive,
|
|
105
110
|
args: [{}]
|
|
106
111
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { _handleBlurEvent: [{
|
|
@@ -120,15 +125,15 @@ class PageSizeSelectDirective extends BaseValueAccessor {
|
|
|
120
125
|
super.registerOnChange((value) => fn(parseInt(value, 10)));
|
|
121
126
|
}
|
|
122
127
|
}
|
|
123
|
-
PageSizeSelectDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
124
|
-
PageSizeSelectDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.
|
|
128
|
+
PageSizeSelectDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: PageSizeSelectDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
129
|
+
PageSizeSelectDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.2", type: PageSizeSelectDirective, selector: "p-page-size-select", host: { listeners: { "sizeChange": "handleChangeEvent($event.detail)" } }, providers: [
|
|
125
130
|
{
|
|
126
131
|
provide: NG_VALUE_ACCESSOR,
|
|
127
132
|
useExisting: PageSizeSelectDirective,
|
|
128
133
|
multi: true,
|
|
129
134
|
},
|
|
130
135
|
], usesInheritance: true, ngImport: i0 });
|
|
131
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
136
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: PageSizeSelectDirective, decorators: [{
|
|
132
137
|
type: Directive,
|
|
133
138
|
args: [{
|
|
134
139
|
/* tslint:disable-next-line:directive-selector */
|
|
@@ -158,15 +163,15 @@ class PaginationDirective extends BaseValueAccessor {
|
|
|
158
163
|
super.registerOnChange((value) => fn(parseInt(value, 10)));
|
|
159
164
|
}
|
|
160
165
|
}
|
|
161
|
-
PaginationDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
162
|
-
PaginationDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.
|
|
166
|
+
PaginationDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: PaginationDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
167
|
+
PaginationDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.2", type: PaginationDirective, selector: "p-pagination", host: { listeners: { "pageChange": "handleChangeEvent($event.detail)" } }, providers: [
|
|
163
168
|
{
|
|
164
169
|
provide: NG_VALUE_ACCESSOR,
|
|
165
170
|
useExisting: PaginationDirective,
|
|
166
171
|
multi: true,
|
|
167
172
|
},
|
|
168
173
|
], usesInheritance: true, ngImport: i0 });
|
|
169
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
174
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: PaginationDirective, decorators: [{
|
|
170
175
|
type: Directive,
|
|
171
176
|
args: [{
|
|
172
177
|
/* tslint:disable-next-line:directive-selector */
|
|
@@ -192,15 +197,15 @@ class SelectDirective extends BaseValueAccessor {
|
|
|
192
197
|
this.el.nativeElement.value = this.lastValue = value;
|
|
193
198
|
}
|
|
194
199
|
}
|
|
195
|
-
SelectDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
196
|
-
SelectDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.
|
|
200
|
+
SelectDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: SelectDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
201
|
+
SelectDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.2", type: SelectDirective, selector: "p-select", host: { listeners: { "valueChange": "handleChangeEvent($event.detail)" } }, providers: [
|
|
197
202
|
{
|
|
198
203
|
provide: NG_VALUE_ACCESSOR,
|
|
199
204
|
useExisting: SelectDirective,
|
|
200
205
|
multi: true,
|
|
201
206
|
},
|
|
202
207
|
], usesInheritance: true, ngImport: i0 });
|
|
203
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
208
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: SelectDirective, decorators: [{
|
|
204
209
|
type: Directive,
|
|
205
210
|
args: [{
|
|
206
211
|
selector: 'p-select',
|
|
@@ -223,559 +228,244 @@ const DIRECTIVES$1 = [
|
|
|
223
228
|
SelectDirective,
|
|
224
229
|
];
|
|
225
230
|
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
first.scrollIntoView({
|
|
237
|
-
behavior: 'smooth',
|
|
238
|
-
block: 'center',
|
|
239
|
-
inline: 'center',
|
|
240
|
-
});
|
|
241
|
-
}
|
|
242
|
-
}
|
|
243
|
-
markControlDirty(control) {
|
|
244
|
-
if (control instanceof FormControl) {
|
|
245
|
-
control.markAsDirty({ onlySelf: true });
|
|
246
|
-
control.markAsTouched({ onlySelf: true });
|
|
247
|
-
}
|
|
248
|
-
else if (control instanceof FormGroup) {
|
|
249
|
-
control.markAsDirty();
|
|
250
|
-
control.markAsTouched();
|
|
251
|
-
this.markAllDirty(control);
|
|
252
|
-
}
|
|
253
|
-
else if (control instanceof FormArray) {
|
|
254
|
-
control.markAsDirty();
|
|
255
|
-
control.markAsTouched();
|
|
256
|
-
for (const child of control === null || control === void 0 ? void 0 : control.controls) {
|
|
257
|
-
this.markControlDirty(child);
|
|
231
|
+
/* eslint-disable */
|
|
232
|
+
const proxyInputs = (Cmp, inputs) => {
|
|
233
|
+
const Prototype = Cmp.prototype;
|
|
234
|
+
inputs.forEach(item => {
|
|
235
|
+
Object.defineProperty(Prototype, item, {
|
|
236
|
+
get() {
|
|
237
|
+
return this.el[item];
|
|
238
|
+
},
|
|
239
|
+
set(val) {
|
|
240
|
+
this.z.runOutsideAngular(() => (this.el[item] = val));
|
|
258
241
|
}
|
|
259
|
-
}
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
242
|
+
});
|
|
243
|
+
});
|
|
244
|
+
};
|
|
245
|
+
const proxyMethods = (Cmp, methods) => {
|
|
246
|
+
const Prototype = Cmp.prototype;
|
|
247
|
+
methods.forEach(methodName => {
|
|
248
|
+
Prototype[methodName] = function () {
|
|
249
|
+
const args = arguments;
|
|
250
|
+
return this.z.runOutsideAngular(() => this.el[methodName].apply(this.el, args));
|
|
251
|
+
};
|
|
252
|
+
});
|
|
253
|
+
};
|
|
254
|
+
const proxyOutputs = (instance, el, events) => {
|
|
255
|
+
events.forEach(eventName => instance[eventName] = fromEvent(el, eventName));
|
|
256
|
+
};
|
|
257
|
+
const defineCustomElement = (tagName, customElement) => {
|
|
258
|
+
if (customElement !== undefined &&
|
|
259
|
+
typeof customElements !== 'undefined' &&
|
|
260
|
+
!customElements.get(tagName)) {
|
|
261
|
+
customElements.define(tagName, customElement);
|
|
277
262
|
}
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
263
|
+
};
|
|
264
|
+
// tslint:disable-next-line: only-arrow-functions
|
|
265
|
+
function ProxyCmp(opts) {
|
|
266
|
+
const decorator = function (cls) {
|
|
267
|
+
const { defineCustomElementFn, inputs, methods } = opts;
|
|
268
|
+
if (defineCustomElementFn !== undefined) {
|
|
269
|
+
defineCustomElementFn();
|
|
284
270
|
}
|
|
285
|
-
if (
|
|
286
|
-
|
|
271
|
+
if (inputs) {
|
|
272
|
+
proxyInputs(cls, inputs);
|
|
287
273
|
}
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
for (const key of keys) {
|
|
291
|
-
if (control.errors[key]) {
|
|
292
|
-
err = key;
|
|
293
|
-
break;
|
|
294
|
-
}
|
|
274
|
+
if (methods) {
|
|
275
|
+
proxyMethods(cls, methods);
|
|
295
276
|
}
|
|
296
|
-
return
|
|
277
|
+
return cls;
|
|
278
|
+
};
|
|
279
|
+
return decorator;
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
let PAccordion = class PAccordion {
|
|
283
|
+
constructor(c, r, z) {
|
|
284
|
+
this.z = z;
|
|
285
|
+
c.detach();
|
|
286
|
+
this.el = r.nativeElement;
|
|
287
|
+
proxyOutputs(this, this.el, ['isOpen']);
|
|
297
288
|
}
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
289
|
+
};
|
|
290
|
+
PAccordion.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: PAccordion, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
291
|
+
PAccordion.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.2", type: PAccordion, selector: "p-accordion", inputs: { closeable: "closeable", header: "header", open: "open", openable: "openable" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
292
|
+
PAccordion = __decorate([
|
|
293
|
+
ProxyCmp({
|
|
294
|
+
defineCustomElementFn: undefined,
|
|
295
|
+
inputs: ['closeable', 'header', 'open', 'openable']
|
|
296
|
+
})
|
|
297
|
+
], PAccordion);
|
|
298
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: PAccordion, decorators: [{
|
|
299
|
+
type: Component,
|
|
300
|
+
args: [{
|
|
301
|
+
selector: 'p-accordion',
|
|
302
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
303
|
+
template: '<ng-content></ng-content>',
|
|
304
|
+
inputs: ['closeable', 'header', 'open', 'openable']
|
|
305
|
+
}]
|
|
306
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
307
|
+
let PAvatar = class PAvatar {
|
|
308
|
+
constructor(c, r, z) {
|
|
309
|
+
this.z = z;
|
|
310
|
+
c.detach();
|
|
311
|
+
this.el = r.nativeElement;
|
|
310
312
|
}
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
313
|
+
};
|
|
314
|
+
PAvatar.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: PAvatar, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
315
|
+
PAvatar.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.2", 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 });
|
|
316
|
+
PAvatar = __decorate([
|
|
317
|
+
ProxyCmp({
|
|
318
|
+
defineCustomElementFn: undefined,
|
|
319
|
+
inputs: ['defaultImage', 'size', 'src', 'variant']
|
|
320
|
+
})
|
|
321
|
+
], PAvatar);
|
|
322
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: PAvatar, decorators: [{
|
|
323
|
+
type: Component,
|
|
324
|
+
args: [{
|
|
325
|
+
selector: 'p-avatar',
|
|
326
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
327
|
+
template: '<ng-content></ng-content>',
|
|
328
|
+
inputs: ['defaultImage', 'size', 'src', 'variant']
|
|
329
|
+
}]
|
|
330
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
331
|
+
let PAvatarGroup = class PAvatarGroup {
|
|
332
|
+
constructor(c, r, z) {
|
|
333
|
+
this.z = z;
|
|
334
|
+
c.detach();
|
|
335
|
+
this.el = r.nativeElement;
|
|
317
336
|
}
|
|
318
|
-
}
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
337
|
+
};
|
|
338
|
+
PAvatarGroup.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: PAvatarGroup, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
339
|
+
PAvatarGroup.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.2", type: PAvatarGroup, selector: "p-avatar-group", inputs: { extra: "extra" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
340
|
+
PAvatarGroup = __decorate([
|
|
341
|
+
ProxyCmp({
|
|
342
|
+
defineCustomElementFn: undefined,
|
|
343
|
+
inputs: ['extra']
|
|
344
|
+
})
|
|
345
|
+
], PAvatarGroup);
|
|
346
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: PAvatarGroup, decorators: [{
|
|
322
347
|
type: Component,
|
|
323
348
|
args: [{
|
|
324
|
-
|
|
349
|
+
selector: 'p-avatar-group',
|
|
350
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
351
|
+
template: '<ng-content></ng-content>',
|
|
352
|
+
inputs: ['extra']
|
|
325
353
|
}]
|
|
326
|
-
}] });
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
if (key !== quickFilterKey && !(value === null || value === void 0 ? void 0 : value.length)) {
|
|
334
|
-
continue;
|
|
335
|
-
}
|
|
336
|
-
if (quickFilterKey && key === quickFilterKey) {
|
|
337
|
-
quickFilter = quickFilters.find((f) => f.value === value);
|
|
338
|
-
continue;
|
|
339
|
-
}
|
|
340
|
-
filters.push({
|
|
341
|
-
key,
|
|
342
|
-
value,
|
|
343
|
-
});
|
|
354
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
355
|
+
let PBackdrop = class PBackdrop {
|
|
356
|
+
constructor(c, r, z) {
|
|
357
|
+
this.z = z;
|
|
358
|
+
c.detach();
|
|
359
|
+
this.el = r.nativeElement;
|
|
360
|
+
proxyOutputs(this, this.el, ['clicked']);
|
|
344
361
|
}
|
|
345
|
-
return {
|
|
346
|
-
filters,
|
|
347
|
-
quickFilter,
|
|
348
|
-
};
|
|
349
362
|
};
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
}
|
|
374
|
-
get page() {
|
|
375
|
-
if (!this.tableOptions) {
|
|
376
|
-
return this._defaultTableValues.page;
|
|
377
|
-
}
|
|
378
|
-
return this.tableOptions.value.page;
|
|
379
|
-
}
|
|
380
|
-
get quickFilter() {
|
|
381
|
-
if (!this.tableOptions) {
|
|
382
|
-
return this._defaultTableValues.quickFilter;
|
|
383
|
-
}
|
|
384
|
-
return this.tableOptions.value.quickFilter;
|
|
385
|
-
}
|
|
386
|
-
set quickFilter(quickFilter) {
|
|
387
|
-
this.tableValues = {
|
|
388
|
-
quickFilter,
|
|
389
|
-
};
|
|
390
|
-
}
|
|
391
|
-
get query() {
|
|
392
|
-
if (!this.tableOptions) {
|
|
393
|
-
return this._defaultTableValues.query;
|
|
394
|
-
}
|
|
395
|
-
return this.tableOptions.value.query;
|
|
396
|
-
}
|
|
397
|
-
set query(query) {
|
|
398
|
-
this.tableValues = {
|
|
399
|
-
query,
|
|
400
|
-
};
|
|
401
|
-
}
|
|
402
|
-
get filters() {
|
|
403
|
-
if (!this.tableOptions) {
|
|
404
|
-
return this._defaultTableValues.filters;
|
|
405
|
-
}
|
|
406
|
-
return this.tableOptions.value.filters;
|
|
407
|
-
}
|
|
408
|
-
set filters(filters) {
|
|
409
|
-
this.tableValues = {
|
|
410
|
-
filters,
|
|
411
|
-
};
|
|
412
|
-
}
|
|
413
|
-
get selectedRows() {
|
|
414
|
-
if (!this.tableOptions) {
|
|
415
|
-
return this._defaultTableValues.selectedRows;
|
|
416
|
-
}
|
|
417
|
-
return this.tableOptions.value.selectedRows;
|
|
418
|
-
}
|
|
419
|
-
set selectedRows(selectedRows) {
|
|
420
|
-
this.tableValues = {
|
|
421
|
-
selectedRows,
|
|
422
|
-
};
|
|
423
|
-
}
|
|
424
|
-
// setter
|
|
425
|
-
get parsedDefaultTableValues() {
|
|
426
|
-
var _a;
|
|
427
|
-
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 });
|
|
428
|
-
}
|
|
429
|
-
get tableValues() {
|
|
430
|
-
var _a, _b;
|
|
431
|
-
return (_b = (_a = this.tableOptions) === null || _a === void 0 ? void 0 : _a.value) !== null && _b !== void 0 ? _b : {};
|
|
432
|
-
}
|
|
433
|
-
set tableValues(values) {
|
|
434
|
-
this._setTableValues(Object.assign(Object.assign({}, this.tableValues), values));
|
|
435
|
-
}
|
|
436
|
-
ngOnInit() {
|
|
437
|
-
this.tableOptions = new FormControl({
|
|
438
|
-
pageSize: this.parsedDefaultTableValues.pageSize,
|
|
439
|
-
page: this.parsedDefaultTableValues.page,
|
|
440
|
-
quickFilter: this.parsedDefaultTableValues.quickFilter,
|
|
441
|
-
query: this.parsedDefaultTableValues.query,
|
|
442
|
-
filters: this.parsedDefaultTableValues.filters,
|
|
443
|
-
selectedRows: this.parsedDefaultTableValues.selectedRows,
|
|
444
|
-
});
|
|
445
|
-
this.tableOptions.valueChanges
|
|
446
|
-
.pipe(untilDestroyed(this), startWith(this.tableOptions.value), pairwise(), map(([previous, next]) => this._getChanges(previous, next)), filter((changes) => !!changes), debounce((changes) => {
|
|
447
|
-
var _a;
|
|
448
|
-
if ((changes === null || changes === void 0 ? void 0 : changes.query) && ((_a = Object.keys(changes)) === null || _a === void 0 ? void 0 : _a.length) === 1) {
|
|
449
|
-
return timer(300);
|
|
450
|
-
}
|
|
451
|
-
return timer(0);
|
|
452
|
-
}), filter((changes) => {
|
|
453
|
-
var _a;
|
|
454
|
-
return !((changes === null || changes === void 0 ? void 0 : changes.selected) &&
|
|
455
|
-
((_a = Object.keys(changes)) === null || _a === void 0 ? void 0 : _a.length) === 1);
|
|
456
|
-
}))
|
|
457
|
-
.subscribe((changes) => {
|
|
458
|
-
if (changes === null || changes === void 0 ? void 0 : changes.page) {
|
|
459
|
-
this._refresh();
|
|
460
|
-
return;
|
|
461
|
-
}
|
|
462
|
-
this._resetPageOrRefresh();
|
|
463
|
-
});
|
|
464
|
-
this._refresh();
|
|
465
|
-
}
|
|
466
|
-
resetTable(emitEvent = true, forceRefresh = null) {
|
|
467
|
-
this._setTableValues(this.parsedDefaultTableValues, emitEvent);
|
|
468
|
-
if (forceRefresh) {
|
|
469
|
-
this._refresh();
|
|
470
|
-
}
|
|
471
|
-
}
|
|
472
|
-
applyFormFilters(values = null) {
|
|
473
|
-
values = values !== null && values !== void 0 ? values : this.filterForm.value;
|
|
474
|
-
const { filters, quickFilter } = createFormFilters(values, this.quickFilters, this.filterFormQuickFilterKey);
|
|
475
|
-
if (quickFilter) {
|
|
476
|
-
this.quickFilter = quickFilter;
|
|
477
|
-
}
|
|
478
|
-
this.filters = filters;
|
|
479
|
-
}
|
|
480
|
-
resetFormFilters(resetQuickFilter = false) {
|
|
481
|
-
var _a;
|
|
482
|
-
const values = this.filterForm.value;
|
|
483
|
-
const defaultQuickFilter = this.quickFilters.find((f) => f.default);
|
|
484
|
-
for (const key of Object.keys(values)) {
|
|
485
|
-
if (key === this.filterFormQuickFilterKey) {
|
|
486
|
-
if (resetQuickFilter) {
|
|
487
|
-
values[key] = defaultQuickFilter.value;
|
|
488
|
-
}
|
|
489
|
-
continue;
|
|
490
|
-
}
|
|
491
|
-
values[key] = (_a = this.defaultFilterFormValues[key]) !== null && _a !== void 0 ? _a : null;
|
|
492
|
-
}
|
|
493
|
-
this.filterForm.setValue(values);
|
|
494
|
-
this.applyFormFilters(values);
|
|
495
|
-
}
|
|
496
|
-
_refresh() {
|
|
497
|
-
console.warn('Not implemented');
|
|
498
|
-
}
|
|
499
|
-
_resetPageOrRefresh() {
|
|
500
|
-
var _a;
|
|
501
|
-
if (!this.tableOptions) {
|
|
502
|
-
return;
|
|
503
|
-
}
|
|
504
|
-
if (this.page !== 1) {
|
|
505
|
-
(_a = this.tableOptions.get('page')) === null || _a === void 0 ? void 0 : _a.setValue(1);
|
|
506
|
-
return;
|
|
507
|
-
}
|
|
508
|
-
this._refresh();
|
|
509
|
-
}
|
|
510
|
-
_setTableValues(data, emitEvent = true) {
|
|
511
|
-
var _a;
|
|
512
|
-
(_a = this.tableOptions) === null || _a === void 0 ? void 0 : _a.setValue(Object.assign(Object.assign({}, this.tableOptions.value), data), { emitEvent });
|
|
513
|
-
}
|
|
514
|
-
_getChanges(previous, next) {
|
|
515
|
-
const changes = {};
|
|
516
|
-
let key;
|
|
517
|
-
for (key in next) {
|
|
518
|
-
if (key === 'selectedRows') {
|
|
519
|
-
continue;
|
|
520
|
-
}
|
|
521
|
-
if (JSON.stringify(previous[key]) !== JSON.stringify(next[key])) {
|
|
522
|
-
// @ts-ignore
|
|
523
|
-
changes[key] = next[key];
|
|
524
|
-
}
|
|
525
|
-
}
|
|
526
|
-
return Object.keys(changes).length ? changes : null;
|
|
363
|
+
PBackdrop.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: PBackdrop, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
364
|
+
PBackdrop.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.2", type: PBackdrop, selector: "p-backdrop", inputs: { applyBlur: "applyBlur", closing: "closing", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
365
|
+
PBackdrop = __decorate([
|
|
366
|
+
ProxyCmp({
|
|
367
|
+
defineCustomElementFn: undefined,
|
|
368
|
+
inputs: ['applyBlur', 'closing', 'variant']
|
|
369
|
+
})
|
|
370
|
+
], PBackdrop);
|
|
371
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: PBackdrop, decorators: [{
|
|
372
|
+
type: Component,
|
|
373
|
+
args: [{
|
|
374
|
+
selector: 'p-backdrop',
|
|
375
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
376
|
+
template: '<ng-content></ng-content>',
|
|
377
|
+
inputs: ['applyBlur', 'closing', 'variant']
|
|
378
|
+
}]
|
|
379
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
380
|
+
let PButton = class PButton {
|
|
381
|
+
constructor(c, r, z) {
|
|
382
|
+
this.z = z;
|
|
383
|
+
c.detach();
|
|
384
|
+
this.el = r.nativeElement;
|
|
385
|
+
proxyOutputs(this, this.el, ['onClick']);
|
|
527
386
|
}
|
|
528
387
|
};
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
388
|
+
PButton.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: PButton, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
389
|
+
PButton.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.2", type: PButton, selector: "p-button", inputs: { chevron: "chevron", chevronPosition: "chevronPosition", disabled: "disabled", href: "href", icon: "icon", iconFlip: "iconFlip", iconOnly: "iconOnly", iconPosition: "iconPosition", iconRotate: "iconRotate", inheritText: "inheritText", loading: "loading", size: "size", target: "target", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
390
|
+
PButton = __decorate([
|
|
391
|
+
ProxyCmp({
|
|
392
|
+
defineCustomElementFn: undefined,
|
|
393
|
+
inputs: ['chevron', 'chevronPosition', 'disabled', 'href', 'icon', 'iconFlip', 'iconOnly', 'iconPosition', 'iconRotate', 'inheritText', 'loading', 'size', 'target', 'variant']
|
|
394
|
+
})
|
|
395
|
+
], PButton);
|
|
396
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: PButton, decorators: [{
|
|
535
397
|
type: Component,
|
|
536
398
|
args: [{
|
|
537
|
-
|
|
399
|
+
selector: 'p-button',
|
|
400
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
401
|
+
template: '<ng-content></ng-content>',
|
|
402
|
+
inputs: ['chevron', 'chevronPosition', 'disabled', 'href', 'icon', 'iconFlip', 'iconOnly', 'iconPosition', 'iconRotate', 'inheritText', 'loading', 'size', 'target', 'variant']
|
|
538
403
|
}]
|
|
539
|
-
}], ctorParameters: function () { return []; } });
|
|
540
|
-
|
|
541
|
-
/* eslint-disable */
|
|
542
|
-
const proxyInputs = (Cmp, inputs) => {
|
|
543
|
-
const Prototype = Cmp.prototype;
|
|
544
|
-
inputs.forEach(item => {
|
|
545
|
-
Object.defineProperty(Prototype, item, {
|
|
546
|
-
get() {
|
|
547
|
-
return this.el[item];
|
|
548
|
-
},
|
|
549
|
-
set(val) {
|
|
550
|
-
this.z.runOutsideAngular(() => (this.el[item] = val));
|
|
551
|
-
}
|
|
552
|
-
});
|
|
553
|
-
});
|
|
554
|
-
};
|
|
555
|
-
const proxyMethods = (Cmp, methods) => {
|
|
556
|
-
const Prototype = Cmp.prototype;
|
|
557
|
-
methods.forEach(methodName => {
|
|
558
|
-
Prototype[methodName] = function () {
|
|
559
|
-
const args = arguments;
|
|
560
|
-
return this.z.runOutsideAngular(() => this.el[methodName].apply(this.el, args));
|
|
561
|
-
};
|
|
562
|
-
});
|
|
563
|
-
};
|
|
564
|
-
const proxyOutputs = (instance, el, events) => {
|
|
565
|
-
events.forEach(eventName => instance[eventName] = fromEvent(el, eventName));
|
|
566
|
-
};
|
|
567
|
-
const defineCustomElement = (tagName, customElement) => {
|
|
568
|
-
if (customElement !== undefined &&
|
|
569
|
-
typeof customElements !== 'undefined' &&
|
|
570
|
-
!customElements.get(tagName)) {
|
|
571
|
-
customElements.define(tagName, customElement);
|
|
572
|
-
}
|
|
573
|
-
};
|
|
574
|
-
// tslint:disable-next-line: only-arrow-functions
|
|
575
|
-
function ProxyCmp(opts) {
|
|
576
|
-
const decorator = function (cls) {
|
|
577
|
-
const { defineCustomElementFn, inputs, methods } = opts;
|
|
578
|
-
if (defineCustomElementFn !== undefined) {
|
|
579
|
-
defineCustomElementFn();
|
|
580
|
-
}
|
|
581
|
-
if (inputs) {
|
|
582
|
-
proxyInputs(cls, inputs);
|
|
583
|
-
}
|
|
584
|
-
if (methods) {
|
|
585
|
-
proxyMethods(cls, methods);
|
|
586
|
-
}
|
|
587
|
-
return cls;
|
|
588
|
-
};
|
|
589
|
-
return decorator;
|
|
590
|
-
}
|
|
591
|
-
|
|
592
|
-
let PAccordion = class PAccordion {
|
|
404
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
405
|
+
let PCardBody = class PCardBody {
|
|
593
406
|
constructor(c, r, z) {
|
|
594
407
|
this.z = z;
|
|
595
408
|
c.detach();
|
|
596
409
|
this.el = r.nativeElement;
|
|
597
|
-
proxyOutputs(this, this.el, ['isOpen']);
|
|
598
410
|
}
|
|
599
411
|
};
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
412
|
+
PCardBody.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: PCardBody, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
413
|
+
PCardBody.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.2", type: PCardBody, selector: "p-card-body", inputs: { inheritText: "inheritText" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
414
|
+
PCardBody = __decorate([
|
|
603
415
|
ProxyCmp({
|
|
604
416
|
defineCustomElementFn: undefined,
|
|
605
|
-
inputs: ['
|
|
417
|
+
inputs: ['inheritText']
|
|
606
418
|
})
|
|
607
|
-
],
|
|
608
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
419
|
+
], PCardBody);
|
|
420
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: PCardBody, decorators: [{
|
|
609
421
|
type: Component,
|
|
610
422
|
args: [{
|
|
611
|
-
selector: 'p-
|
|
423
|
+
selector: 'p-card-body',
|
|
612
424
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
613
425
|
template: '<ng-content></ng-content>',
|
|
614
|
-
inputs: ['
|
|
426
|
+
inputs: ['inheritText']
|
|
615
427
|
}]
|
|
616
428
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
617
|
-
let
|
|
429
|
+
let PCardContainer = class PCardContainer {
|
|
618
430
|
constructor(c, r, z) {
|
|
619
431
|
this.z = z;
|
|
620
432
|
c.detach();
|
|
621
433
|
this.el = r.nativeElement;
|
|
622
434
|
}
|
|
623
435
|
};
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
436
|
+
PCardContainer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: PCardContainer, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
437
|
+
PCardContainer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.2", type: PCardContainer, selector: "p-card-container", inputs: { hoverable: "hoverable", shadow: "shadow" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
438
|
+
PCardContainer = __decorate([
|
|
627
439
|
ProxyCmp({
|
|
628
440
|
defineCustomElementFn: undefined,
|
|
629
|
-
inputs: ['
|
|
441
|
+
inputs: ['hoverable', 'shadow']
|
|
630
442
|
})
|
|
631
|
-
],
|
|
632
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
443
|
+
], PCardContainer);
|
|
444
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: PCardContainer, decorators: [{
|
|
633
445
|
type: Component,
|
|
634
446
|
args: [{
|
|
635
|
-
selector: 'p-
|
|
447
|
+
selector: 'p-card-container',
|
|
636
448
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
637
449
|
template: '<ng-content></ng-content>',
|
|
638
|
-
inputs: ['
|
|
450
|
+
inputs: ['hoverable', 'shadow']
|
|
639
451
|
}]
|
|
640
452
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
641
|
-
let
|
|
453
|
+
let PCardHeader = class PCardHeader {
|
|
642
454
|
constructor(c, r, z) {
|
|
643
455
|
this.z = z;
|
|
644
456
|
c.detach();
|
|
645
457
|
this.el = r.nativeElement;
|
|
646
458
|
}
|
|
647
459
|
};
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
ProxyCmp({
|
|
652
|
-
defineCustomElementFn: undefined,
|
|
653
|
-
inputs: ['extra']
|
|
654
|
-
})
|
|
655
|
-
], PAvatarGroup);
|
|
656
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: PAvatarGroup, decorators: [{
|
|
657
|
-
type: Component,
|
|
658
|
-
args: [{
|
|
659
|
-
selector: 'p-avatar-group',
|
|
660
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
661
|
-
template: '<ng-content></ng-content>',
|
|
662
|
-
inputs: ['extra']
|
|
663
|
-
}]
|
|
664
|
-
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
665
|
-
let PBackdrop = class PBackdrop {
|
|
666
|
-
constructor(c, r, z) {
|
|
667
|
-
this.z = z;
|
|
668
|
-
c.detach();
|
|
669
|
-
this.el = r.nativeElement;
|
|
670
|
-
proxyOutputs(this, this.el, ['clicked']);
|
|
671
|
-
}
|
|
672
|
-
};
|
|
673
|
-
PBackdrop.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: PBackdrop, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
674
|
-
PBackdrop.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.1", type: PBackdrop, selector: "p-backdrop", inputs: { applyBlur: "applyBlur", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
675
|
-
PBackdrop = __decorate([
|
|
676
|
-
ProxyCmp({
|
|
677
|
-
defineCustomElementFn: undefined,
|
|
678
|
-
inputs: ['applyBlur', 'variant']
|
|
679
|
-
})
|
|
680
|
-
], PBackdrop);
|
|
681
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: PBackdrop, decorators: [{
|
|
682
|
-
type: Component,
|
|
683
|
-
args: [{
|
|
684
|
-
selector: 'p-backdrop',
|
|
685
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
686
|
-
template: '<ng-content></ng-content>',
|
|
687
|
-
inputs: ['applyBlur', 'variant']
|
|
688
|
-
}]
|
|
689
|
-
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
690
|
-
let PButton = class PButton {
|
|
691
|
-
constructor(c, r, z) {
|
|
692
|
-
this.z = z;
|
|
693
|
-
c.detach();
|
|
694
|
-
this.el = r.nativeElement;
|
|
695
|
-
proxyOutputs(this, this.el, ['onClick']);
|
|
696
|
-
}
|
|
697
|
-
};
|
|
698
|
-
PButton.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: PButton, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
699
|
-
PButton.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.1", 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 });
|
|
700
|
-
PButton = __decorate([
|
|
701
|
-
ProxyCmp({
|
|
702
|
-
defineCustomElementFn: undefined,
|
|
703
|
-
inputs: ['chevron', 'chevronPosition', 'disabled', 'href', 'icon', 'iconFlip', 'iconOnly', 'iconPosition', 'iconRotate', 'inheritText', 'loading', 'size', 'target', 'variant']
|
|
704
|
-
})
|
|
705
|
-
], PButton);
|
|
706
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: PButton, decorators: [{
|
|
707
|
-
type: Component,
|
|
708
|
-
args: [{
|
|
709
|
-
selector: 'p-button',
|
|
710
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
711
|
-
template: '<ng-content></ng-content>',
|
|
712
|
-
inputs: ['chevron', 'chevronPosition', 'disabled', 'href', 'icon', 'iconFlip', 'iconOnly', 'iconPosition', 'iconRotate', 'inheritText', 'loading', 'size', 'target', 'variant']
|
|
713
|
-
}]
|
|
714
|
-
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
715
|
-
let PCardBody = class PCardBody {
|
|
716
|
-
constructor(c, r, z) {
|
|
717
|
-
this.z = z;
|
|
718
|
-
c.detach();
|
|
719
|
-
this.el = r.nativeElement;
|
|
720
|
-
}
|
|
721
|
-
};
|
|
722
|
-
PCardBody.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: PCardBody, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
723
|
-
PCardBody.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.1", type: PCardBody, selector: "p-card-body", inputs: { inheritText: "inheritText" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
724
|
-
PCardBody = __decorate([
|
|
725
|
-
ProxyCmp({
|
|
726
|
-
defineCustomElementFn: undefined,
|
|
727
|
-
inputs: ['inheritText']
|
|
728
|
-
})
|
|
729
|
-
], PCardBody);
|
|
730
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: PCardBody, decorators: [{
|
|
731
|
-
type: Component,
|
|
732
|
-
args: [{
|
|
733
|
-
selector: 'p-card-body',
|
|
734
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
735
|
-
template: '<ng-content></ng-content>',
|
|
736
|
-
inputs: ['inheritText']
|
|
737
|
-
}]
|
|
738
|
-
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
739
|
-
let PCardContainer = class PCardContainer {
|
|
740
|
-
constructor(c, r, z) {
|
|
741
|
-
this.z = z;
|
|
742
|
-
c.detach();
|
|
743
|
-
this.el = r.nativeElement;
|
|
744
|
-
}
|
|
745
|
-
};
|
|
746
|
-
PCardContainer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: PCardContainer, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
747
|
-
PCardContainer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.1", type: PCardContainer, selector: "p-card-container", inputs: { hoverable: "hoverable", shadow: "shadow" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
748
|
-
PCardContainer = __decorate([
|
|
749
|
-
ProxyCmp({
|
|
750
|
-
defineCustomElementFn: undefined,
|
|
751
|
-
inputs: ['hoverable', 'shadow']
|
|
752
|
-
})
|
|
753
|
-
], PCardContainer);
|
|
754
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: PCardContainer, decorators: [{
|
|
755
|
-
type: Component,
|
|
756
|
-
args: [{
|
|
757
|
-
selector: 'p-card-container',
|
|
758
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
759
|
-
template: '<ng-content></ng-content>',
|
|
760
|
-
inputs: ['hoverable', 'shadow']
|
|
761
|
-
}]
|
|
762
|
-
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
763
|
-
let PCardHeader = class PCardHeader {
|
|
764
|
-
constructor(c, r, z) {
|
|
765
|
-
this.z = z;
|
|
766
|
-
c.detach();
|
|
767
|
-
this.el = r.nativeElement;
|
|
768
|
-
}
|
|
769
|
-
};
|
|
770
|
-
PCardHeader.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: PCardHeader, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
771
|
-
PCardHeader.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.1", type: PCardHeader, selector: "p-card-header", inputs: { arrow: "arrow", header: "header" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
772
|
-
PCardHeader = __decorate([
|
|
460
|
+
PCardHeader.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: PCardHeader, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
461
|
+
PCardHeader.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.2", type: PCardHeader, selector: "p-card-header", inputs: { arrow: "arrow", header: "header" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
462
|
+
PCardHeader = __decorate([
|
|
773
463
|
ProxyCmp({
|
|
774
464
|
defineCustomElementFn: undefined,
|
|
775
465
|
inputs: ['arrow', 'header']
|
|
776
466
|
})
|
|
777
467
|
], PCardHeader);
|
|
778
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
468
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: PCardHeader, decorators: [{
|
|
779
469
|
type: Component,
|
|
780
470
|
args: [{
|
|
781
471
|
selector: 'p-card-header',
|
|
@@ -791,15 +481,15 @@ let PContentSlider = class PContentSlider {
|
|
|
791
481
|
this.el = r.nativeElement;
|
|
792
482
|
}
|
|
793
483
|
};
|
|
794
|
-
PContentSlider.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
795
|
-
PContentSlider.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.
|
|
484
|
+
PContentSlider.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: PContentSlider, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
485
|
+
PContentSlider.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.2", 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 });
|
|
796
486
|
PContentSlider = __decorate([
|
|
797
487
|
ProxyCmp({
|
|
798
488
|
defineCustomElementFn: undefined,
|
|
799
489
|
inputs: ['disableAutoCenter', 'disableDrag', 'disableIndicatorClick', 'hideMobileIndicator']
|
|
800
490
|
})
|
|
801
491
|
], PContentSlider);
|
|
802
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
492
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: PContentSlider, decorators: [{
|
|
803
493
|
type: Component,
|
|
804
494
|
args: [{
|
|
805
495
|
selector: 'p-content-slider',
|
|
@@ -815,15 +505,15 @@ let PCounter = class PCounter {
|
|
|
815
505
|
this.el = r.nativeElement;
|
|
816
506
|
}
|
|
817
507
|
};
|
|
818
|
-
PCounter.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
819
|
-
PCounter.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.
|
|
508
|
+
PCounter.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: PCounter, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
509
|
+
PCounter.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.2", type: PCounter, selector: "p-counter", inputs: { size: "size", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
820
510
|
PCounter = __decorate([
|
|
821
511
|
ProxyCmp({
|
|
822
512
|
defineCustomElementFn: undefined,
|
|
823
513
|
inputs: ['size', 'variant']
|
|
824
514
|
})
|
|
825
515
|
], PCounter);
|
|
826
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
516
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: PCounter, decorators: [{
|
|
827
517
|
type: Component,
|
|
828
518
|
args: [{
|
|
829
519
|
selector: 'p-counter',
|
|
@@ -839,14 +529,14 @@ let PDivider = class PDivider {
|
|
|
839
529
|
this.el = r.nativeElement;
|
|
840
530
|
}
|
|
841
531
|
};
|
|
842
|
-
PDivider.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
843
|
-
PDivider.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.
|
|
532
|
+
PDivider.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: PDivider, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
533
|
+
PDivider.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.2", type: PDivider, selector: "p-divider", ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
844
534
|
PDivider = __decorate([
|
|
845
535
|
ProxyCmp({
|
|
846
536
|
defineCustomElementFn: undefined
|
|
847
537
|
})
|
|
848
538
|
], PDivider);
|
|
849
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
539
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: PDivider, decorators: [{
|
|
850
540
|
type: Component,
|
|
851
541
|
args: [{
|
|
852
542
|
selector: 'p-divider',
|
|
@@ -859,18 +549,18 @@ let PDrawer = class PDrawer {
|
|
|
859
549
|
this.z = z;
|
|
860
550
|
c.detach();
|
|
861
551
|
this.el = r.nativeElement;
|
|
862
|
-
proxyOutputs(this, this.el, ['
|
|
552
|
+
proxyOutputs(this, this.el, ['closeClicked', 'closed']);
|
|
863
553
|
}
|
|
864
554
|
};
|
|
865
|
-
PDrawer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
866
|
-
PDrawer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.
|
|
555
|
+
PDrawer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: PDrawer, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
556
|
+
PDrawer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.2", type: PDrawer, selector: "p-drawer", inputs: { applyBlur: "applyBlur", backdropClickClose: "backdropClickClose", header: "header", show: "show", showClose: "showClose" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
867
557
|
PDrawer = __decorate([
|
|
868
558
|
ProxyCmp({
|
|
869
559
|
defineCustomElementFn: undefined,
|
|
870
560
|
inputs: ['applyBlur', 'backdropClickClose', 'header', 'show', 'showClose']
|
|
871
561
|
})
|
|
872
562
|
], PDrawer);
|
|
873
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
563
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: PDrawer, decorators: [{
|
|
874
564
|
type: Component,
|
|
875
565
|
args: [{
|
|
876
566
|
selector: 'p-drawer',
|
|
@@ -886,15 +576,15 @@ let PDrawerBody = class PDrawerBody {
|
|
|
886
576
|
this.el = r.nativeElement;
|
|
887
577
|
}
|
|
888
578
|
};
|
|
889
|
-
PDrawerBody.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
890
|
-
PDrawerBody.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.
|
|
579
|
+
PDrawerBody.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: PDrawerBody, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
580
|
+
PDrawerBody.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.2", type: PDrawerBody, selector: "p-drawer-body", inputs: { variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
891
581
|
PDrawerBody = __decorate([
|
|
892
582
|
ProxyCmp({
|
|
893
583
|
defineCustomElementFn: undefined,
|
|
894
584
|
inputs: ['variant']
|
|
895
585
|
})
|
|
896
586
|
], PDrawerBody);
|
|
897
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
587
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: PDrawerBody, decorators: [{
|
|
898
588
|
type: Component,
|
|
899
589
|
args: [{
|
|
900
590
|
selector: 'p-drawer-body',
|
|
@@ -910,19 +600,21 @@ let PDrawerContainer = class PDrawerContainer {
|
|
|
910
600
|
this.el = r.nativeElement;
|
|
911
601
|
}
|
|
912
602
|
};
|
|
913
|
-
PDrawerContainer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
914
|
-
PDrawerContainer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.
|
|
603
|
+
PDrawerContainer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: PDrawerContainer, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
604
|
+
PDrawerContainer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.2", type: PDrawerContainer, selector: "p-drawer-container", inputs: { closing: "closing" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
915
605
|
PDrawerContainer = __decorate([
|
|
916
606
|
ProxyCmp({
|
|
917
|
-
defineCustomElementFn: undefined
|
|
607
|
+
defineCustomElementFn: undefined,
|
|
608
|
+
inputs: ['closing']
|
|
918
609
|
})
|
|
919
610
|
], PDrawerContainer);
|
|
920
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
611
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: PDrawerContainer, decorators: [{
|
|
921
612
|
type: Component,
|
|
922
613
|
args: [{
|
|
923
614
|
selector: 'p-drawer-container',
|
|
924
615
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
925
|
-
template: '<ng-content></ng-content>'
|
|
616
|
+
template: '<ng-content></ng-content>',
|
|
617
|
+
inputs: ['closing']
|
|
926
618
|
}]
|
|
927
619
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
928
620
|
let PDrawerHeader = class PDrawerHeader {
|
|
@@ -933,15 +625,15 @@ let PDrawerHeader = class PDrawerHeader {
|
|
|
933
625
|
proxyOutputs(this, this.el, ['close']);
|
|
934
626
|
}
|
|
935
627
|
};
|
|
936
|
-
PDrawerHeader.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
937
|
-
PDrawerHeader.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.
|
|
628
|
+
PDrawerHeader.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: PDrawerHeader, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
629
|
+
PDrawerHeader.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.2", type: PDrawerHeader, selector: "p-drawer-header", inputs: { showClose: "showClose" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
938
630
|
PDrawerHeader = __decorate([
|
|
939
631
|
ProxyCmp({
|
|
940
632
|
defineCustomElementFn: undefined,
|
|
941
633
|
inputs: ['showClose']
|
|
942
634
|
})
|
|
943
635
|
], PDrawerHeader);
|
|
944
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
636
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: PDrawerHeader, decorators: [{
|
|
945
637
|
type: Component,
|
|
946
638
|
args: [{
|
|
947
639
|
selector: 'p-drawer-header',
|
|
@@ -958,15 +650,15 @@ let PDropdown = class PDropdown {
|
|
|
958
650
|
proxyOutputs(this, this.el, ['isOpen']);
|
|
959
651
|
}
|
|
960
652
|
};
|
|
961
|
-
PDropdown.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
962
|
-
PDropdown.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.
|
|
653
|
+
PDropdown.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: PDropdown, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
654
|
+
PDropdown.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.2", type: PDropdown, selector: "p-dropdown", inputs: { calculateWidth: "calculateWidth", chevronDirection: "chevronDirection", chevronPosition: "chevronPosition", disableTriggerClick: "disableTriggerClick", insideClick: "insideClick", placement: "placement", show: "show", strategy: "strategy" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
963
655
|
PDropdown = __decorate([
|
|
964
656
|
ProxyCmp({
|
|
965
657
|
defineCustomElementFn: undefined,
|
|
966
658
|
inputs: ['calculateWidth', 'chevronDirection', 'chevronPosition', 'disableTriggerClick', 'insideClick', 'placement', 'show', 'strategy']
|
|
967
659
|
})
|
|
968
660
|
], PDropdown);
|
|
969
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
661
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: PDropdown, decorators: [{
|
|
970
662
|
type: Component,
|
|
971
663
|
args: [{
|
|
972
664
|
selector: 'p-dropdown',
|
|
@@ -982,15 +674,15 @@ let PDropdownMenuContainer = class PDropdownMenuContainer {
|
|
|
982
674
|
this.el = r.nativeElement;
|
|
983
675
|
}
|
|
984
676
|
};
|
|
985
|
-
PDropdownMenuContainer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
986
|
-
PDropdownMenuContainer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.
|
|
677
|
+
PDropdownMenuContainer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: PDropdownMenuContainer, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
678
|
+
PDropdownMenuContainer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.2", type: PDropdownMenuContainer, selector: "p-dropdown-menu-container", inputs: { maxWidth: "maxWidth" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
987
679
|
PDropdownMenuContainer = __decorate([
|
|
988
680
|
ProxyCmp({
|
|
989
681
|
defineCustomElementFn: undefined,
|
|
990
682
|
inputs: ['maxWidth']
|
|
991
683
|
})
|
|
992
684
|
], PDropdownMenuContainer);
|
|
993
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
685
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: PDropdownMenuContainer, decorators: [{
|
|
994
686
|
type: Component,
|
|
995
687
|
args: [{
|
|
996
688
|
selector: 'p-dropdown-menu-container',
|
|
@@ -1006,15 +698,15 @@ let PDropdownMenuItem = class PDropdownMenuItem {
|
|
|
1006
698
|
this.el = r.nativeElement;
|
|
1007
699
|
}
|
|
1008
700
|
};
|
|
1009
|
-
PDropdownMenuItem.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
1010
|
-
PDropdownMenuItem.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.
|
|
701
|
+
PDropdownMenuItem.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: PDropdownMenuItem, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
702
|
+
PDropdownMenuItem.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.2", 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 });
|
|
1011
703
|
PDropdownMenuItem = __decorate([
|
|
1012
704
|
ProxyCmp({
|
|
1013
705
|
defineCustomElementFn: undefined,
|
|
1014
706
|
inputs: ['active', 'enableHover', 'icon']
|
|
1015
707
|
})
|
|
1016
708
|
], PDropdownMenuItem);
|
|
1017
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
709
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: PDropdownMenuItem, decorators: [{
|
|
1018
710
|
type: Component,
|
|
1019
711
|
args: [{
|
|
1020
712
|
selector: 'p-dropdown-menu-item',
|
|
@@ -1030,15 +722,15 @@ let PHelper = class PHelper {
|
|
|
1030
722
|
this.el = r.nativeElement;
|
|
1031
723
|
}
|
|
1032
724
|
};
|
|
1033
|
-
PHelper.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
1034
|
-
PHelper.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.
|
|
725
|
+
PHelper.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: PHelper, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
726
|
+
PHelper.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.2", type: PHelper, selector: "p-helper", inputs: { placement: "placement" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1035
727
|
PHelper = __decorate([
|
|
1036
728
|
ProxyCmp({
|
|
1037
729
|
defineCustomElementFn: undefined,
|
|
1038
730
|
inputs: ['placement']
|
|
1039
731
|
})
|
|
1040
732
|
], PHelper);
|
|
1041
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
733
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: PHelper, decorators: [{
|
|
1042
734
|
type: Component,
|
|
1043
735
|
args: [{
|
|
1044
736
|
selector: 'p-helper',
|
|
@@ -1054,15 +746,15 @@ let PIcon = class PIcon {
|
|
|
1054
746
|
this.el = r.nativeElement;
|
|
1055
747
|
}
|
|
1056
748
|
};
|
|
1057
|
-
PIcon.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
1058
|
-
PIcon.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.
|
|
749
|
+
PIcon.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: PIcon, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
750
|
+
PIcon.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.2", 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 });
|
|
1059
751
|
PIcon = __decorate([
|
|
1060
752
|
ProxyCmp({
|
|
1061
753
|
defineCustomElementFn: undefined,
|
|
1062
754
|
inputs: ['flip', 'rotate', 'size', 'variant']
|
|
1063
755
|
})
|
|
1064
756
|
], PIcon);
|
|
1065
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
757
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: PIcon, decorators: [{
|
|
1066
758
|
type: Component,
|
|
1067
759
|
args: [{
|
|
1068
760
|
selector: 'p-icon',
|
|
@@ -1078,15 +770,15 @@ let PIllustration = class PIllustration {
|
|
|
1078
770
|
this.el = r.nativeElement;
|
|
1079
771
|
}
|
|
1080
772
|
};
|
|
1081
|
-
PIllustration.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
1082
|
-
PIllustration.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.
|
|
773
|
+
PIllustration.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: PIllustration, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
774
|
+
PIllustration.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.2", type: PIllustration, selector: "p-illustration", inputs: { variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1083
775
|
PIllustration = __decorate([
|
|
1084
776
|
ProxyCmp({
|
|
1085
777
|
defineCustomElementFn: undefined,
|
|
1086
778
|
inputs: ['variant']
|
|
1087
779
|
})
|
|
1088
780
|
], PIllustration);
|
|
1089
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
781
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: PIllustration, decorators: [{
|
|
1090
782
|
type: Component,
|
|
1091
783
|
args: [{
|
|
1092
784
|
selector: 'p-illustration',
|
|
@@ -1102,15 +794,15 @@ let PInfoPanel = class PInfoPanel {
|
|
|
1102
794
|
this.el = r.nativeElement;
|
|
1103
795
|
}
|
|
1104
796
|
};
|
|
1105
|
-
PInfoPanel.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
1106
|
-
PInfoPanel.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.
|
|
797
|
+
PInfoPanel.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: PInfoPanel, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
798
|
+
PInfoPanel.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.2", 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 });
|
|
1107
799
|
PInfoPanel = __decorate([
|
|
1108
800
|
ProxyCmp({
|
|
1109
801
|
defineCustomElementFn: undefined,
|
|
1110
802
|
inputs: ['closeable', 'content', 'header', 'variant']
|
|
1111
803
|
})
|
|
1112
804
|
], PInfoPanel);
|
|
1113
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
805
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: PInfoPanel, decorators: [{
|
|
1114
806
|
type: Component,
|
|
1115
807
|
args: [{
|
|
1116
808
|
selector: 'p-info-panel',
|
|
@@ -1126,15 +818,15 @@ let PInputGroup = class PInputGroup {
|
|
|
1126
818
|
this.el = r.nativeElement;
|
|
1127
819
|
}
|
|
1128
820
|
};
|
|
1129
|
-
PInputGroup.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
1130
|
-
PInputGroup.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.
|
|
821
|
+
PInputGroup.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: PInputGroup, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
822
|
+
PInputGroup.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.2", type: PInputGroup, selector: "p-input-group", inputs: { disabled: "disabled", error: "error", focused: "focused", helper: "helper", icon: "icon", iconFlip: "iconFlip", iconPosition: "iconPosition", iconRotate: "iconRotate", label: "label", prefix: "prefix", required: "required", size: "size", suffix: "suffix" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1131
823
|
PInputGroup = __decorate([
|
|
1132
824
|
ProxyCmp({
|
|
1133
825
|
defineCustomElementFn: undefined,
|
|
1134
826
|
inputs: ['disabled', 'error', 'focused', 'helper', 'icon', 'iconFlip', 'iconPosition', 'iconRotate', 'label', 'prefix', 'required', 'size', 'suffix']
|
|
1135
827
|
})
|
|
1136
828
|
], PInputGroup);
|
|
1137
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
829
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: PInputGroup, decorators: [{
|
|
1138
830
|
type: Component,
|
|
1139
831
|
args: [{
|
|
1140
832
|
selector: 'p-input-group',
|
|
@@ -1150,15 +842,15 @@ let PLabel = class PLabel {
|
|
|
1150
842
|
this.el = r.nativeElement;
|
|
1151
843
|
}
|
|
1152
844
|
};
|
|
1153
|
-
PLabel.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
1154
|
-
PLabel.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.
|
|
845
|
+
PLabel.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: PLabel, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
846
|
+
PLabel.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.2", 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 });
|
|
1155
847
|
PLabel = __decorate([
|
|
1156
848
|
ProxyCmp({
|
|
1157
849
|
defineCustomElementFn: undefined,
|
|
1158
850
|
inputs: ['behavior', 'icon', 'iconFlip', 'iconRotate', 'keepMobileContent', 'size', 'variant']
|
|
1159
851
|
})
|
|
1160
852
|
], PLabel);
|
|
1161
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
853
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: PLabel, decorators: [{
|
|
1162
854
|
type: Component,
|
|
1163
855
|
args: [{
|
|
1164
856
|
selector: 'p-label',
|
|
@@ -1174,15 +866,15 @@ let PLayout = class PLayout {
|
|
|
1174
866
|
this.el = r.nativeElement;
|
|
1175
867
|
}
|
|
1176
868
|
};
|
|
1177
|
-
PLayout.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
1178
|
-
PLayout.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.
|
|
869
|
+
PLayout.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: PLayout, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
870
|
+
PLayout.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.2", type: PLayout, selector: "p-layout", inputs: { variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1179
871
|
PLayout = __decorate([
|
|
1180
872
|
ProxyCmp({
|
|
1181
873
|
defineCustomElementFn: undefined,
|
|
1182
874
|
inputs: ['variant']
|
|
1183
875
|
})
|
|
1184
876
|
], PLayout);
|
|
1185
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
877
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: PLayout, decorators: [{
|
|
1186
878
|
type: Component,
|
|
1187
879
|
args: [{
|
|
1188
880
|
selector: 'p-layout',
|
|
@@ -1198,15 +890,15 @@ let PLoader = class PLoader {
|
|
|
1198
890
|
this.el = r.nativeElement;
|
|
1199
891
|
}
|
|
1200
892
|
};
|
|
1201
|
-
PLoader.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
1202
|
-
PLoader.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.
|
|
893
|
+
PLoader.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: PLoader, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
894
|
+
PLoader.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.2", 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 });
|
|
1203
895
|
PLoader = __decorate([
|
|
1204
896
|
ProxyCmp({
|
|
1205
897
|
defineCustomElementFn: undefined,
|
|
1206
898
|
inputs: ['color', 'modalDescription', 'modalTitle', 'show', 'variant']
|
|
1207
899
|
})
|
|
1208
900
|
], PLoader);
|
|
1209
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
901
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: PLoader, decorators: [{
|
|
1210
902
|
type: Component,
|
|
1211
903
|
args: [{
|
|
1212
904
|
selector: 'p-loader',
|
|
@@ -1220,18 +912,18 @@ let PModal = class PModal {
|
|
|
1220
912
|
this.z = z;
|
|
1221
913
|
c.detach();
|
|
1222
914
|
this.el = r.nativeElement;
|
|
1223
|
-
proxyOutputs(this, this.el, ['
|
|
915
|
+
proxyOutputs(this, this.el, ['closeClicked', 'closed']);
|
|
1224
916
|
}
|
|
1225
917
|
};
|
|
1226
|
-
PModal.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
1227
|
-
PModal.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.
|
|
918
|
+
PModal.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: PModal, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
919
|
+
PModal.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.2", type: PModal, selector: "p-modal", inputs: { applyBlur: "applyBlur", backdropClickClose: "backdropClickClose", header: "header", show: "show", showMobileClose: "showMobileClose", showMobileFooter: "showMobileFooter", size: "size", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1228
920
|
PModal = __decorate([
|
|
1229
921
|
ProxyCmp({
|
|
1230
922
|
defineCustomElementFn: undefined,
|
|
1231
923
|
inputs: ['applyBlur', 'backdropClickClose', 'header', 'show', 'showMobileClose', 'showMobileFooter', 'size', 'variant']
|
|
1232
924
|
})
|
|
1233
925
|
], PModal);
|
|
1234
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
926
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: PModal, decorators: [{
|
|
1235
927
|
type: Component,
|
|
1236
928
|
args: [{
|
|
1237
929
|
selector: 'p-modal',
|
|
@@ -1247,15 +939,15 @@ let PModalBody = class PModalBody {
|
|
|
1247
939
|
this.el = r.nativeElement;
|
|
1248
940
|
}
|
|
1249
941
|
};
|
|
1250
|
-
PModalBody.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
1251
|
-
PModalBody.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.
|
|
942
|
+
PModalBody.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: PModalBody, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
943
|
+
PModalBody.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.2", type: PModalBody, selector: "p-modal-body", inputs: { variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1252
944
|
PModalBody = __decorate([
|
|
1253
945
|
ProxyCmp({
|
|
1254
946
|
defineCustomElementFn: undefined,
|
|
1255
947
|
inputs: ['variant']
|
|
1256
948
|
})
|
|
1257
949
|
], PModalBody);
|
|
1258
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
950
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: PModalBody, decorators: [{
|
|
1259
951
|
type: Component,
|
|
1260
952
|
args: [{
|
|
1261
953
|
selector: 'p-modal-body',
|
|
@@ -1271,21 +963,21 @@ let PModalContainer = class PModalContainer {
|
|
|
1271
963
|
this.el = r.nativeElement;
|
|
1272
964
|
}
|
|
1273
965
|
};
|
|
1274
|
-
PModalContainer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
1275
|
-
PModalContainer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.
|
|
966
|
+
PModalContainer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: PModalContainer, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
967
|
+
PModalContainer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.2", type: PModalContainer, selector: "p-modal-container", inputs: { closing: "closing", size: "size" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1276
968
|
PModalContainer = __decorate([
|
|
1277
969
|
ProxyCmp({
|
|
1278
970
|
defineCustomElementFn: undefined,
|
|
1279
|
-
inputs: ['size']
|
|
971
|
+
inputs: ['closing', 'size']
|
|
1280
972
|
})
|
|
1281
973
|
], PModalContainer);
|
|
1282
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
974
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: PModalContainer, decorators: [{
|
|
1283
975
|
type: Component,
|
|
1284
976
|
args: [{
|
|
1285
977
|
selector: 'p-modal-container',
|
|
1286
978
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1287
979
|
template: '<ng-content></ng-content>',
|
|
1288
|
-
inputs: ['size']
|
|
980
|
+
inputs: ['closing', 'size']
|
|
1289
981
|
}]
|
|
1290
982
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1291
983
|
let PModalFooter = class PModalFooter {
|
|
@@ -1295,14 +987,14 @@ let PModalFooter = class PModalFooter {
|
|
|
1295
987
|
this.el = r.nativeElement;
|
|
1296
988
|
}
|
|
1297
989
|
};
|
|
1298
|
-
PModalFooter.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
1299
|
-
PModalFooter.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.
|
|
990
|
+
PModalFooter.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: PModalFooter, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
991
|
+
PModalFooter.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.2", type: PModalFooter, selector: "p-modal-footer", ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1300
992
|
PModalFooter = __decorate([
|
|
1301
993
|
ProxyCmp({
|
|
1302
994
|
defineCustomElementFn: undefined
|
|
1303
995
|
})
|
|
1304
996
|
], PModalFooter);
|
|
1305
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
997
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: PModalFooter, decorators: [{
|
|
1306
998
|
type: Component,
|
|
1307
999
|
args: [{
|
|
1308
1000
|
selector: 'p-modal-footer',
|
|
@@ -1318,15 +1010,15 @@ let PModalHeader = class PModalHeader {
|
|
|
1318
1010
|
proxyOutputs(this, this.el, ['close']);
|
|
1319
1011
|
}
|
|
1320
1012
|
};
|
|
1321
|
-
PModalHeader.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
1322
|
-
PModalHeader.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.
|
|
1013
|
+
PModalHeader.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: PModalHeader, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1014
|
+
PModalHeader.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.2", type: PModalHeader, selector: "p-modal-header", inputs: { showClose: "showClose" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1323
1015
|
PModalHeader = __decorate([
|
|
1324
1016
|
ProxyCmp({
|
|
1325
1017
|
defineCustomElementFn: undefined,
|
|
1326
1018
|
inputs: ['showClose']
|
|
1327
1019
|
})
|
|
1328
1020
|
], PModalHeader);
|
|
1329
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
1021
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: PModalHeader, decorators: [{
|
|
1330
1022
|
type: Component,
|
|
1331
1023
|
args: [{
|
|
1332
1024
|
selector: 'p-modal-header',
|
|
@@ -1342,15 +1034,15 @@ let PNavbar = class PNavbar {
|
|
|
1342
1034
|
this.el = r.nativeElement;
|
|
1343
1035
|
}
|
|
1344
1036
|
};
|
|
1345
|
-
PNavbar.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
1346
|
-
PNavbar.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.
|
|
1037
|
+
PNavbar.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: PNavbar, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1038
|
+
PNavbar.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.2", type: PNavbar, selector: "p-navbar", inputs: { closeText: "closeText", menuText: "menuText" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1347
1039
|
PNavbar = __decorate([
|
|
1348
1040
|
ProxyCmp({
|
|
1349
1041
|
defineCustomElementFn: undefined,
|
|
1350
1042
|
inputs: ['closeText', 'menuText']
|
|
1351
1043
|
})
|
|
1352
1044
|
], PNavbar);
|
|
1353
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
1045
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: PNavbar, decorators: [{
|
|
1354
1046
|
type: Component,
|
|
1355
1047
|
args: [{
|
|
1356
1048
|
selector: 'p-navbar',
|
|
@@ -1366,15 +1058,15 @@ let PNavigationItem = class PNavigationItem {
|
|
|
1366
1058
|
this.el = r.nativeElement;
|
|
1367
1059
|
}
|
|
1368
1060
|
};
|
|
1369
|
-
PNavigationItem.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
1370
|
-
PNavigationItem.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.
|
|
1061
|
+
PNavigationItem.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: PNavigationItem, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1062
|
+
PNavigationItem.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.2", 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 });
|
|
1371
1063
|
PNavigationItem = __decorate([
|
|
1372
1064
|
ProxyCmp({
|
|
1373
1065
|
defineCustomElementFn: undefined,
|
|
1374
1066
|
inputs: ['active', 'counter', 'href', 'icon', 'target']
|
|
1375
1067
|
})
|
|
1376
1068
|
], PNavigationItem);
|
|
1377
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
1069
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: PNavigationItem, decorators: [{
|
|
1378
1070
|
type: Component,
|
|
1379
1071
|
args: [{
|
|
1380
1072
|
selector: 'p-navigation-item',
|
|
@@ -1391,15 +1083,15 @@ let PPageSizeSelect = class PPageSizeSelect {
|
|
|
1391
1083
|
proxyOutputs(this, this.el, ['sizeChange']);
|
|
1392
1084
|
}
|
|
1393
1085
|
};
|
|
1394
|
-
PPageSizeSelect.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
1395
|
-
PPageSizeSelect.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.
|
|
1086
|
+
PPageSizeSelect.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: PPageSizeSelect, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1087
|
+
PPageSizeSelect.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.2", 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 });
|
|
1396
1088
|
PPageSizeSelect = __decorate([
|
|
1397
1089
|
ProxyCmp({
|
|
1398
1090
|
defineCustomElementFn: undefined,
|
|
1399
1091
|
inputs: ['buttonSize', 'buttonTemplate', 'chevronPosition', 'hidden', 'itemTemplate', 'size', 'sizeOptions']
|
|
1400
1092
|
})
|
|
1401
1093
|
], PPageSizeSelect);
|
|
1402
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
1094
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: PPageSizeSelect, decorators: [{
|
|
1403
1095
|
type: Component,
|
|
1404
1096
|
args: [{
|
|
1405
1097
|
selector: 'p-page-size-select',
|
|
@@ -1416,15 +1108,15 @@ let PPagination = class PPagination {
|
|
|
1416
1108
|
proxyOutputs(this, this.el, ['pageChange']);
|
|
1417
1109
|
}
|
|
1418
1110
|
};
|
|
1419
|
-
PPagination.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
1420
|
-
PPagination.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.
|
|
1111
|
+
PPagination.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: PPagination, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1112
|
+
PPagination.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.2", 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 });
|
|
1421
1113
|
PPagination = __decorate([
|
|
1422
1114
|
ProxyCmp({
|
|
1423
1115
|
defineCustomElementFn: undefined,
|
|
1424
1116
|
inputs: ['hideOnSinglePage', 'page', 'pageSize', 'total']
|
|
1425
1117
|
})
|
|
1426
1118
|
], PPagination);
|
|
1427
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
1119
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: PPagination, decorators: [{
|
|
1428
1120
|
type: Component,
|
|
1429
1121
|
args: [{
|
|
1430
1122
|
selector: 'p-pagination',
|
|
@@ -1440,15 +1132,15 @@ let PPaginationItem = class PPaginationItem {
|
|
|
1440
1132
|
this.el = r.nativeElement;
|
|
1441
1133
|
}
|
|
1442
1134
|
};
|
|
1443
|
-
PPaginationItem.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
1444
|
-
PPaginationItem.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.
|
|
1135
|
+
PPaginationItem.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: PPaginationItem, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1136
|
+
PPaginationItem.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.2", type: PPaginationItem, selector: "p-pagination-item", inputs: { active: "active" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1445
1137
|
PPaginationItem = __decorate([
|
|
1446
1138
|
ProxyCmp({
|
|
1447
1139
|
defineCustomElementFn: undefined,
|
|
1448
1140
|
inputs: ['active']
|
|
1449
1141
|
})
|
|
1450
1142
|
], PPaginationItem);
|
|
1451
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
1143
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: PPaginationItem, decorators: [{
|
|
1452
1144
|
type: Component,
|
|
1453
1145
|
args: [{
|
|
1454
1146
|
selector: 'p-pagination-item',
|
|
@@ -1464,15 +1156,15 @@ let PProfile = class PProfile {
|
|
|
1464
1156
|
this.el = r.nativeElement;
|
|
1465
1157
|
}
|
|
1466
1158
|
};
|
|
1467
|
-
PProfile.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
1468
|
-
PProfile.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.
|
|
1159
|
+
PProfile.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: PProfile, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1160
|
+
PProfile.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.2", type: PProfile, selector: "p-profile", inputs: { size: "size", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1469
1161
|
PProfile = __decorate([
|
|
1470
1162
|
ProxyCmp({
|
|
1471
1163
|
defineCustomElementFn: undefined,
|
|
1472
1164
|
inputs: ['size', 'variant']
|
|
1473
1165
|
})
|
|
1474
1166
|
], PProfile);
|
|
1475
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
1167
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: PProfile, decorators: [{
|
|
1476
1168
|
type: Component,
|
|
1477
1169
|
args: [{
|
|
1478
1170
|
selector: 'p-profile',
|
|
@@ -1488,14 +1180,14 @@ let PSegmentContainer = class PSegmentContainer {
|
|
|
1488
1180
|
this.el = r.nativeElement;
|
|
1489
1181
|
}
|
|
1490
1182
|
};
|
|
1491
|
-
PSegmentContainer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
1492
|
-
PSegmentContainer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.
|
|
1183
|
+
PSegmentContainer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: PSegmentContainer, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1184
|
+
PSegmentContainer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.2", type: PSegmentContainer, selector: "p-segment-container", ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1493
1185
|
PSegmentContainer = __decorate([
|
|
1494
1186
|
ProxyCmp({
|
|
1495
1187
|
defineCustomElementFn: undefined
|
|
1496
1188
|
})
|
|
1497
1189
|
], PSegmentContainer);
|
|
1498
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
1190
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: PSegmentContainer, decorators: [{
|
|
1499
1191
|
type: Component,
|
|
1500
1192
|
args: [{
|
|
1501
1193
|
selector: 'p-segment-container',
|
|
@@ -1510,15 +1202,15 @@ let PSegmentItem = class PSegmentItem {
|
|
|
1510
1202
|
this.el = r.nativeElement;
|
|
1511
1203
|
}
|
|
1512
1204
|
};
|
|
1513
|
-
PSegmentItem.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
1514
|
-
PSegmentItem.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.
|
|
1205
|
+
PSegmentItem.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: PSegmentItem, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1206
|
+
PSegmentItem.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.2", 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 });
|
|
1515
1207
|
PSegmentItem = __decorate([
|
|
1516
1208
|
ProxyCmp({
|
|
1517
1209
|
defineCustomElementFn: undefined,
|
|
1518
1210
|
inputs: ['active', 'icon', 'iconFlip', 'iconRotate']
|
|
1519
1211
|
})
|
|
1520
1212
|
], PSegmentItem);
|
|
1521
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
1213
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: PSegmentItem, decorators: [{
|
|
1522
1214
|
type: Component,
|
|
1523
1215
|
args: [{
|
|
1524
1216
|
selector: 'p-segment-item',
|
|
@@ -1535,15 +1227,15 @@ let PSelect = class PSelect {
|
|
|
1535
1227
|
proxyOutputs(this, this.el, ['queryChange', 'valueChange']);
|
|
1536
1228
|
}
|
|
1537
1229
|
};
|
|
1538
|
-
PSelect.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
1539
|
-
PSelect.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.
|
|
1230
|
+
PSelect.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: PSelect, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1231
|
+
PSelect.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.2", type: PSelect, selector: "p-select", inputs: { asyncFilter: "asyncFilter", autoSelectFirst: "autoSelectFirst", autocompletePlaceholder: "autocompletePlaceholder", disabled: "disabled", displayKey: "displayKey", enableAutocomplete: "enableAutocomplete", error: "error", helper: "helper", items: "items", label: "label", loading: "loading", maxDisplayedItems: "maxDisplayedItems", placeholder: "placeholder", prefix: "prefix", query: "query", queryKey: "queryKey", size: "size", value: "value", valueKey: "valueKey" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1540
1232
|
PSelect = __decorate([
|
|
1541
1233
|
ProxyCmp({
|
|
1542
1234
|
defineCustomElementFn: undefined,
|
|
1543
1235
|
inputs: ['asyncFilter', 'autoSelectFirst', 'autocompletePlaceholder', 'disabled', 'displayKey', 'enableAutocomplete', 'error', 'helper', 'items', 'label', 'loading', 'maxDisplayedItems', 'placeholder', 'prefix', 'query', 'queryKey', 'size', 'value', 'valueKey']
|
|
1544
1236
|
})
|
|
1545
1237
|
], PSelect);
|
|
1546
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
1238
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: PSelect, decorators: [{
|
|
1547
1239
|
type: Component,
|
|
1548
1240
|
args: [{
|
|
1549
1241
|
selector: 'p-select',
|
|
@@ -1559,15 +1251,15 @@ let PSliderIndicator = class PSliderIndicator {
|
|
|
1559
1251
|
this.el = r.nativeElement;
|
|
1560
1252
|
}
|
|
1561
1253
|
};
|
|
1562
|
-
PSliderIndicator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
1563
|
-
PSliderIndicator.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.
|
|
1254
|
+
PSliderIndicator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: PSliderIndicator, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1255
|
+
PSliderIndicator.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.2", type: PSliderIndicator, selector: "p-slider-indicator", inputs: { active: "active" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1564
1256
|
PSliderIndicator = __decorate([
|
|
1565
1257
|
ProxyCmp({
|
|
1566
1258
|
defineCustomElementFn: undefined,
|
|
1567
1259
|
inputs: ['active']
|
|
1568
1260
|
})
|
|
1569
1261
|
], PSliderIndicator);
|
|
1570
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
1262
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: PSliderIndicator, decorators: [{
|
|
1571
1263
|
type: Component,
|
|
1572
1264
|
args: [{
|
|
1573
1265
|
selector: 'p-slider-indicator',
|
|
@@ -1583,15 +1275,15 @@ let PStatus = class PStatus {
|
|
|
1583
1275
|
this.el = r.nativeElement;
|
|
1584
1276
|
}
|
|
1585
1277
|
};
|
|
1586
|
-
PStatus.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
1587
|
-
PStatus.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.
|
|
1278
|
+
PStatus.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: PStatus, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1279
|
+
PStatus.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.2", 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 });
|
|
1588
1280
|
PStatus = __decorate([
|
|
1589
1281
|
ProxyCmp({
|
|
1590
1282
|
defineCustomElementFn: undefined,
|
|
1591
1283
|
inputs: ['icon', 'iconFlip', 'iconRotate', 'variant']
|
|
1592
1284
|
})
|
|
1593
1285
|
], PStatus);
|
|
1594
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
1286
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: PStatus, decorators: [{
|
|
1595
1287
|
type: Component,
|
|
1596
1288
|
args: [{
|
|
1597
1289
|
selector: 'p-status',
|
|
@@ -1607,15 +1299,15 @@ let PStepper = class PStepper {
|
|
|
1607
1299
|
this.el = r.nativeElement;
|
|
1608
1300
|
}
|
|
1609
1301
|
};
|
|
1610
|
-
PStepper.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
1611
|
-
PStepper.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.
|
|
1302
|
+
PStepper.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: PStepper, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1303
|
+
PStepper.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.2", type: PStepper, selector: "p-stepper", inputs: { activeStep: "activeStep", direction: "direction" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1612
1304
|
PStepper = __decorate([
|
|
1613
1305
|
ProxyCmp({
|
|
1614
1306
|
defineCustomElementFn: undefined,
|
|
1615
1307
|
inputs: ['activeStep', 'direction']
|
|
1616
1308
|
})
|
|
1617
1309
|
], PStepper);
|
|
1618
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
1310
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: PStepper, decorators: [{
|
|
1619
1311
|
type: Component,
|
|
1620
1312
|
args: [{
|
|
1621
1313
|
selector: 'p-stepper',
|
|
@@ -1631,15 +1323,15 @@ let PStepperItem = class PStepperItem {
|
|
|
1631
1323
|
this.el = r.nativeElement;
|
|
1632
1324
|
}
|
|
1633
1325
|
};
|
|
1634
|
-
PStepperItem.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
1635
|
-
PStepperItem.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.
|
|
1326
|
+
PStepperItem.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: PStepperItem, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1327
|
+
PStepperItem.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.2", type: PStepperItem, selector: "p-stepper-item", inputs: { active: "active", align: "align", direction: "direction", finished: "finished" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1636
1328
|
PStepperItem = __decorate([
|
|
1637
1329
|
ProxyCmp({
|
|
1638
1330
|
defineCustomElementFn: undefined,
|
|
1639
1331
|
inputs: ['active', 'align', 'direction', 'finished']
|
|
1640
1332
|
})
|
|
1641
1333
|
], PStepperItem);
|
|
1642
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
1334
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: PStepperItem, decorators: [{
|
|
1643
1335
|
type: Component,
|
|
1644
1336
|
args: [{
|
|
1645
1337
|
selector: 'p-stepper-item',
|
|
@@ -1655,15 +1347,15 @@ let PStepperLine = class PStepperLine {
|
|
|
1655
1347
|
this.el = r.nativeElement;
|
|
1656
1348
|
}
|
|
1657
1349
|
};
|
|
1658
|
-
PStepperLine.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
1659
|
-
PStepperLine.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.
|
|
1350
|
+
PStepperLine.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: PStepperLine, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1351
|
+
PStepperLine.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.2", type: PStepperLine, selector: "p-stepper-line", inputs: { active: "active", direction: "direction" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1660
1352
|
PStepperLine = __decorate([
|
|
1661
1353
|
ProxyCmp({
|
|
1662
1354
|
defineCustomElementFn: undefined,
|
|
1663
1355
|
inputs: ['active', 'direction']
|
|
1664
1356
|
})
|
|
1665
1357
|
], PStepperLine);
|
|
1666
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
1358
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: PStepperLine, decorators: [{
|
|
1667
1359
|
type: Component,
|
|
1668
1360
|
args: [{
|
|
1669
1361
|
selector: 'p-stepper-line',
|
|
@@ -1679,14 +1371,14 @@ let PTabGroup = class PTabGroup {
|
|
|
1679
1371
|
this.el = r.nativeElement;
|
|
1680
1372
|
}
|
|
1681
1373
|
};
|
|
1682
|
-
PTabGroup.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
1683
|
-
PTabGroup.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.
|
|
1374
|
+
PTabGroup.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: PTabGroup, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1375
|
+
PTabGroup.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.2", type: PTabGroup, selector: "p-tab-group", ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1684
1376
|
PTabGroup = __decorate([
|
|
1685
1377
|
ProxyCmp({
|
|
1686
1378
|
defineCustomElementFn: undefined
|
|
1687
1379
|
})
|
|
1688
1380
|
], PTabGroup);
|
|
1689
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
1381
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: PTabGroup, decorators: [{
|
|
1690
1382
|
type: Component,
|
|
1691
1383
|
args: [{
|
|
1692
1384
|
selector: 'p-tab-group',
|
|
@@ -1700,170 +1392,655 @@ let PTabItem = class PTabItem {
|
|
|
1700
1392
|
c.detach();
|
|
1701
1393
|
this.el = r.nativeElement;
|
|
1702
1394
|
}
|
|
1703
|
-
};
|
|
1704
|
-
PTabItem.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
1705
|
-
PTabItem.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.
|
|
1706
|
-
PTabItem = __decorate([
|
|
1707
|
-
ProxyCmp({
|
|
1708
|
-
defineCustomElementFn: undefined,
|
|
1709
|
-
inputs: ['active']
|
|
1710
|
-
})
|
|
1711
|
-
], PTabItem);
|
|
1712
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
1713
|
-
type: Component,
|
|
1714
|
-
args: [{
|
|
1715
|
-
selector: 'p-tab-item',
|
|
1716
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1717
|
-
template: '<ng-content></ng-content>',
|
|
1718
|
-
inputs: ['active']
|
|
1719
|
-
}]
|
|
1720
|
-
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1721
|
-
let PTableContainer = class PTableContainer {
|
|
1722
|
-
constructor(c, r, z) {
|
|
1723
|
-
this.z = z;
|
|
1724
|
-
c.detach();
|
|
1725
|
-
this.el = r.nativeElement;
|
|
1395
|
+
};
|
|
1396
|
+
PTabItem.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: PTabItem, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1397
|
+
PTabItem.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.2", type: PTabItem, selector: "p-tab-item", inputs: { active: "active" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1398
|
+
PTabItem = __decorate([
|
|
1399
|
+
ProxyCmp({
|
|
1400
|
+
defineCustomElementFn: undefined,
|
|
1401
|
+
inputs: ['active']
|
|
1402
|
+
})
|
|
1403
|
+
], PTabItem);
|
|
1404
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: PTabItem, decorators: [{
|
|
1405
|
+
type: Component,
|
|
1406
|
+
args: [{
|
|
1407
|
+
selector: 'p-tab-item',
|
|
1408
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1409
|
+
template: '<ng-content></ng-content>',
|
|
1410
|
+
inputs: ['active']
|
|
1411
|
+
}]
|
|
1412
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1413
|
+
let PTableContainer = class PTableContainer {
|
|
1414
|
+
constructor(c, r, z) {
|
|
1415
|
+
this.z = z;
|
|
1416
|
+
c.detach();
|
|
1417
|
+
this.el = r.nativeElement;
|
|
1418
|
+
}
|
|
1419
|
+
};
|
|
1420
|
+
PTableContainer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: PTableContainer, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1421
|
+
PTableContainer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.2", type: PTableContainer, selector: "p-table-container", ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1422
|
+
PTableContainer = __decorate([
|
|
1423
|
+
ProxyCmp({
|
|
1424
|
+
defineCustomElementFn: undefined
|
|
1425
|
+
})
|
|
1426
|
+
], PTableContainer);
|
|
1427
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: PTableContainer, decorators: [{
|
|
1428
|
+
type: Component,
|
|
1429
|
+
args: [{
|
|
1430
|
+
selector: 'p-table-container',
|
|
1431
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1432
|
+
template: '<ng-content></ng-content>'
|
|
1433
|
+
}]
|
|
1434
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1435
|
+
let PTableFooter = class PTableFooter {
|
|
1436
|
+
constructor(c, r, z) {
|
|
1437
|
+
this.z = z;
|
|
1438
|
+
c.detach();
|
|
1439
|
+
this.el = r.nativeElement;
|
|
1440
|
+
proxyOutputs(this, this.el, ['pageChange', 'pageSizeChange', 'export']);
|
|
1441
|
+
}
|
|
1442
|
+
};
|
|
1443
|
+
PTableFooter.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: PTableFooter, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1444
|
+
PTableFooter.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.2", type: PTableFooter, selector: "p-table-footer", inputs: { enableExport: "enableExport", enablePageSize: "enablePageSize", enablePagination: "enablePagination", hideOnSinglePage: "hideOnSinglePage", page: "page", pageSize: "pageSize", pageSizeOptions: "pageSizeOptions", total: "total" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1445
|
+
PTableFooter = __decorate([
|
|
1446
|
+
ProxyCmp({
|
|
1447
|
+
defineCustomElementFn: undefined,
|
|
1448
|
+
inputs: ['enableExport', 'enablePageSize', 'enablePagination', 'hideOnSinglePage', 'page', 'pageSize', 'pageSizeOptions', 'total']
|
|
1449
|
+
})
|
|
1450
|
+
], PTableFooter);
|
|
1451
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: PTableFooter, decorators: [{
|
|
1452
|
+
type: Component,
|
|
1453
|
+
args: [{
|
|
1454
|
+
selector: 'p-table-footer',
|
|
1455
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1456
|
+
template: '<ng-content></ng-content>',
|
|
1457
|
+
inputs: ['enableExport', 'enablePageSize', 'enablePagination', 'hideOnSinglePage', 'page', 'pageSize', 'pageSizeOptions', 'total']
|
|
1458
|
+
}]
|
|
1459
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1460
|
+
let PTableHeader = class PTableHeader {
|
|
1461
|
+
constructor(c, r, z) {
|
|
1462
|
+
this.z = z;
|
|
1463
|
+
c.detach();
|
|
1464
|
+
this.el = r.nativeElement;
|
|
1465
|
+
proxyOutputs(this, this.el, ['quickFilter', 'queryChange', 'filter', 'edit']);
|
|
1466
|
+
}
|
|
1467
|
+
};
|
|
1468
|
+
PTableHeader.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: PTableHeader, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1469
|
+
PTableHeader.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.2", type: PTableHeader, selector: "p-table-header", inputs: { activeQuickFilterIdentifier: "activeQuickFilterIdentifier", canEdit: "canEdit", editButtonTemplate: "editButtonTemplate", enableEdit: "enableEdit", enableFilter: "enableFilter", enableSearch: "enableSearch", filterButtonTemplate: "filterButtonTemplate", itemsSelectedAmount: "itemsSelectedAmount", query: "query", quickFilters: "quickFilters", selectedFiltersAmount: "selectedFiltersAmount" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1470
|
+
PTableHeader = __decorate([
|
|
1471
|
+
ProxyCmp({
|
|
1472
|
+
defineCustomElementFn: undefined,
|
|
1473
|
+
inputs: ['activeQuickFilterIdentifier', 'canEdit', 'editButtonTemplate', 'enableEdit', 'enableFilter', 'enableSearch', 'filterButtonTemplate', 'itemsSelectedAmount', 'query', 'quickFilters', 'selectedFiltersAmount']
|
|
1474
|
+
})
|
|
1475
|
+
], PTableHeader);
|
|
1476
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: PTableHeader, decorators: [{
|
|
1477
|
+
type: Component,
|
|
1478
|
+
args: [{
|
|
1479
|
+
selector: 'p-table-header',
|
|
1480
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1481
|
+
template: '<ng-content></ng-content>',
|
|
1482
|
+
inputs: ['activeQuickFilterIdentifier', 'canEdit', 'editButtonTemplate', 'enableEdit', 'enableFilter', 'enableSearch', 'filterButtonTemplate', 'itemsSelectedAmount', 'query', 'quickFilters', 'selectedFiltersAmount']
|
|
1483
|
+
}]
|
|
1484
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1485
|
+
let PTableRow = class PTableRow {
|
|
1486
|
+
constructor(c, r, z) {
|
|
1487
|
+
this.z = z;
|
|
1488
|
+
c.detach();
|
|
1489
|
+
this.el = r.nativeElement;
|
|
1490
|
+
}
|
|
1491
|
+
};
|
|
1492
|
+
PTableRow.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: PTableRow, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1493
|
+
PTableRow.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.2", type: PTableRow, selector: "p-table-row", inputs: { enableHover: "enableHover", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1494
|
+
PTableRow = __decorate([
|
|
1495
|
+
ProxyCmp({
|
|
1496
|
+
defineCustomElementFn: undefined,
|
|
1497
|
+
inputs: ['enableHover', 'variant']
|
|
1498
|
+
})
|
|
1499
|
+
], PTableRow);
|
|
1500
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: PTableRow, decorators: [{
|
|
1501
|
+
type: Component,
|
|
1502
|
+
args: [{
|
|
1503
|
+
selector: 'p-table-row',
|
|
1504
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1505
|
+
template: '<ng-content></ng-content>',
|
|
1506
|
+
inputs: ['enableHover', 'variant']
|
|
1507
|
+
}]
|
|
1508
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1509
|
+
let PToast = class PToast {
|
|
1510
|
+
constructor(c, r, z) {
|
|
1511
|
+
this.z = z;
|
|
1512
|
+
c.detach();
|
|
1513
|
+
this.el = r.nativeElement;
|
|
1514
|
+
proxyOutputs(this, this.el, ['action']);
|
|
1515
|
+
}
|
|
1516
|
+
};
|
|
1517
|
+
PToast.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: PToast, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1518
|
+
PToast.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.2", type: PToast, selector: "p-toast", inputs: { actionIcon: "actionIcon", actionIconFlip: "actionIconFlip", actionIconRotate: "actionIconRotate", content: "content", enableAction: "enableAction", header: "header", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1519
|
+
PToast = __decorate([
|
|
1520
|
+
ProxyCmp({
|
|
1521
|
+
defineCustomElementFn: undefined,
|
|
1522
|
+
inputs: ['actionIcon', 'actionIconFlip', 'actionIconRotate', 'content', 'enableAction', 'header', 'variant']
|
|
1523
|
+
})
|
|
1524
|
+
], PToast);
|
|
1525
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: PToast, decorators: [{
|
|
1526
|
+
type: Component,
|
|
1527
|
+
args: [{
|
|
1528
|
+
selector: 'p-toast',
|
|
1529
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1530
|
+
template: '<ng-content></ng-content>',
|
|
1531
|
+
inputs: ['actionIcon', 'actionIconFlip', 'actionIconRotate', 'content', 'enableAction', 'header', 'variant']
|
|
1532
|
+
}]
|
|
1533
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1534
|
+
let PTooltip = class PTooltip {
|
|
1535
|
+
constructor(c, r, z) {
|
|
1536
|
+
this.z = z;
|
|
1537
|
+
c.detach();
|
|
1538
|
+
this.el = r.nativeElement;
|
|
1539
|
+
proxyOutputs(this, this.el, ['isOpen']);
|
|
1540
|
+
}
|
|
1541
|
+
};
|
|
1542
|
+
PTooltip.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: PTooltip, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1543
|
+
PTooltip.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.2", type: PTooltip, selector: "p-tooltip", inputs: { canManuallyClose: "canManuallyClose", placement: "placement", popover: "popover", show: "show", strategy: "strategy", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1544
|
+
PTooltip = __decorate([
|
|
1545
|
+
ProxyCmp({
|
|
1546
|
+
defineCustomElementFn: undefined,
|
|
1547
|
+
inputs: ['canManuallyClose', 'placement', 'popover', 'show', 'strategy', 'variant']
|
|
1548
|
+
})
|
|
1549
|
+
], PTooltip);
|
|
1550
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: PTooltip, decorators: [{
|
|
1551
|
+
type: Component,
|
|
1552
|
+
args: [{
|
|
1553
|
+
selector: 'p-tooltip',
|
|
1554
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1555
|
+
template: '<ng-content></ng-content>',
|
|
1556
|
+
inputs: ['canManuallyClose', 'placement', 'popover', 'show', 'strategy', 'variant']
|
|
1557
|
+
}]
|
|
1558
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1559
|
+
|
|
1560
|
+
const DIRECTIVES = [
|
|
1561
|
+
PAccordion,
|
|
1562
|
+
PAvatar,
|
|
1563
|
+
PAvatarGroup,
|
|
1564
|
+
PBackdrop,
|
|
1565
|
+
PButton,
|
|
1566
|
+
PCardBody,
|
|
1567
|
+
PCardContainer,
|
|
1568
|
+
PCardHeader,
|
|
1569
|
+
PContentSlider,
|
|
1570
|
+
PCounter,
|
|
1571
|
+
PDivider,
|
|
1572
|
+
PDrawer,
|
|
1573
|
+
PDrawerBody,
|
|
1574
|
+
PDrawerContainer,
|
|
1575
|
+
PDrawerHeader,
|
|
1576
|
+
PDropdown,
|
|
1577
|
+
PDropdownMenuContainer,
|
|
1578
|
+
PDropdownMenuItem,
|
|
1579
|
+
PHelper,
|
|
1580
|
+
PIcon,
|
|
1581
|
+
PIllustration,
|
|
1582
|
+
PInfoPanel,
|
|
1583
|
+
PInputGroup,
|
|
1584
|
+
PLabel,
|
|
1585
|
+
PLayout,
|
|
1586
|
+
PLoader,
|
|
1587
|
+
PModal,
|
|
1588
|
+
PModalBody,
|
|
1589
|
+
PModalContainer,
|
|
1590
|
+
PModalFooter,
|
|
1591
|
+
PModalHeader,
|
|
1592
|
+
PNavbar,
|
|
1593
|
+
PNavigationItem,
|
|
1594
|
+
PPageSizeSelect,
|
|
1595
|
+
PPagination,
|
|
1596
|
+
PPaginationItem,
|
|
1597
|
+
PProfile,
|
|
1598
|
+
PSegmentContainer,
|
|
1599
|
+
PSegmentItem,
|
|
1600
|
+
PSelect,
|
|
1601
|
+
PSliderIndicator,
|
|
1602
|
+
PStatus,
|
|
1603
|
+
PStepper,
|
|
1604
|
+
PStepperItem,
|
|
1605
|
+
PStepperLine,
|
|
1606
|
+
PTabGroup,
|
|
1607
|
+
PTabItem,
|
|
1608
|
+
PTableContainer,
|
|
1609
|
+
PTableFooter,
|
|
1610
|
+
PTableHeader,
|
|
1611
|
+
PTableRow,
|
|
1612
|
+
PToast,
|
|
1613
|
+
PTooltip
|
|
1614
|
+
];
|
|
1615
|
+
|
|
1616
|
+
class StencilModule {
|
|
1617
|
+
}
|
|
1618
|
+
StencilModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: StencilModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1619
|
+
StencilModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.2", ngImport: i0, type: StencilModule, declarations: [PAccordion, PAvatar, PAvatarGroup, PBackdrop, PButton, PCardBody, PCardContainer, PCardHeader, PContentSlider, PCounter, PDivider, PDrawer, PDrawerBody, PDrawerContainer, PDrawerHeader, PDropdown, PDropdownMenuContainer, PDropdownMenuItem, PHelper, PIcon, PIllustration, PInfoPanel, PInputGroup, PLabel, PLayout, PLoader, PModal, PModalBody, PModalContainer, PModalFooter, PModalHeader, PNavbar, PNavigationItem, PPageSizeSelect, PPagination, PPaginationItem, PProfile, PSegmentContainer, PSegmentItem, PSelect, PSliderIndicator, PStatus, PStepper, PStepperItem, PStepperLine, PTabGroup, PTabItem, PTableContainer, PTableFooter, PTableHeader, PTableRow, PToast, PTooltip], exports: [PAccordion, PAvatar, PAvatarGroup, PBackdrop, PButton, PCardBody, PCardContainer, PCardHeader, PContentSlider, PCounter, PDivider, PDrawer, PDrawerBody, PDrawerContainer, PDrawerHeader, PDropdown, PDropdownMenuContainer, PDropdownMenuItem, PHelper, PIcon, PIllustration, PInfoPanel, PInputGroup, PLabel, PLayout, PLoader, PModal, PModalBody, PModalContainer, PModalFooter, PModalHeader, PNavbar, PNavigationItem, PPageSizeSelect, PPagination, PPaginationItem, PProfile, PSegmentContainer, PSegmentItem, PSelect, PSliderIndicator, PStatus, PStepper, PStepperItem, PStepperLine, PTabGroup, PTabItem, PTableContainer, PTableFooter, PTableHeader, PTableRow, PToast, PTooltip] });
|
|
1620
|
+
StencilModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: StencilModule });
|
|
1621
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: StencilModule, decorators: [{
|
|
1622
|
+
type: NgModule,
|
|
1623
|
+
args: [{
|
|
1624
|
+
declarations: [...DIRECTIVES],
|
|
1625
|
+
exports: [...DIRECTIVES],
|
|
1626
|
+
}]
|
|
1627
|
+
}] });
|
|
1628
|
+
|
|
1629
|
+
class OverlayModule {
|
|
1630
|
+
}
|
|
1631
|
+
OverlayModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: OverlayModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1632
|
+
OverlayModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.2", ngImport: i0, type: OverlayModule, imports: [CommonModule,
|
|
1633
|
+
StencilModule,
|
|
1634
|
+
OverlayModule$1,
|
|
1635
|
+
PlatformModule,
|
|
1636
|
+
ObserversModule,
|
|
1637
|
+
PortalModule], exports: [PortalModule] });
|
|
1638
|
+
OverlayModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: OverlayModule, imports: [CommonModule,
|
|
1639
|
+
StencilModule,
|
|
1640
|
+
OverlayModule$1,
|
|
1641
|
+
PlatformModule,
|
|
1642
|
+
ObserversModule,
|
|
1643
|
+
PortalModule, PortalModule] });
|
|
1644
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: OverlayModule, decorators: [{
|
|
1645
|
+
type: NgModule,
|
|
1646
|
+
args: [{
|
|
1647
|
+
imports: [
|
|
1648
|
+
CommonModule,
|
|
1649
|
+
StencilModule,
|
|
1650
|
+
OverlayModule$1,
|
|
1651
|
+
PlatformModule,
|
|
1652
|
+
ObserversModule,
|
|
1653
|
+
PortalModule,
|
|
1654
|
+
],
|
|
1655
|
+
exports: [PortalModule],
|
|
1656
|
+
}]
|
|
1657
|
+
}] });
|
|
1658
|
+
|
|
1659
|
+
class OverlayRef {
|
|
1660
|
+
constructor(_overlay) {
|
|
1661
|
+
this._overlay = _overlay;
|
|
1662
|
+
}
|
|
1663
|
+
close() {
|
|
1664
|
+
this._overlay.dispose();
|
|
1665
|
+
}
|
|
1666
|
+
}
|
|
1667
|
+
|
|
1668
|
+
class OverlayService {
|
|
1669
|
+
constructor(injector, overlay) {
|
|
1670
|
+
this.injector = injector;
|
|
1671
|
+
this.overlay = overlay;
|
|
1672
|
+
}
|
|
1673
|
+
open(component, options = {}) {
|
|
1674
|
+
var _a;
|
|
1675
|
+
const overlay = this.createOverlay();
|
|
1676
|
+
const overlayRef = new OverlayRef(overlay);
|
|
1677
|
+
this.attachModalContainer(overlay, overlayRef, component, (_a = options.providers) !== null && _a !== void 0 ? _a : []);
|
|
1678
|
+
this.overlayRef = overlayRef;
|
|
1679
|
+
return overlayRef;
|
|
1680
|
+
}
|
|
1681
|
+
// tslint:disable-next-line:max-line-length
|
|
1682
|
+
attachModalContainer(overlay, overlayRef, component, providers) {
|
|
1683
|
+
const injector = this.createInjector(overlayRef, providers);
|
|
1684
|
+
const containerPortal = component instanceof CdkPortal
|
|
1685
|
+
? component
|
|
1686
|
+
: new ComponentPortal(component, null, injector);
|
|
1687
|
+
const containerRef = overlay.attach(containerPortal);
|
|
1688
|
+
return containerRef.instance;
|
|
1689
|
+
}
|
|
1690
|
+
createInjector(overlayRef, providers) {
|
|
1691
|
+
return Injector.create({
|
|
1692
|
+
providers: [
|
|
1693
|
+
{
|
|
1694
|
+
provide: OverlayRef,
|
|
1695
|
+
useValue: overlayRef,
|
|
1696
|
+
},
|
|
1697
|
+
...providers,
|
|
1698
|
+
],
|
|
1699
|
+
parent: this.injector,
|
|
1700
|
+
});
|
|
1701
|
+
}
|
|
1702
|
+
getOverlayConfig() {
|
|
1703
|
+
const positionStrategy = this.overlay
|
|
1704
|
+
.position()
|
|
1705
|
+
.global()
|
|
1706
|
+
.centerHorizontally()
|
|
1707
|
+
.centerVertically();
|
|
1708
|
+
const overlayConfig = new OverlayConfig({
|
|
1709
|
+
hasBackdrop: false,
|
|
1710
|
+
scrollStrategy: this.overlay.scrollStrategies.block(),
|
|
1711
|
+
positionStrategy,
|
|
1712
|
+
});
|
|
1713
|
+
return overlayConfig;
|
|
1714
|
+
}
|
|
1715
|
+
createOverlay() {
|
|
1716
|
+
// Returns an OverlayConfig
|
|
1717
|
+
const overlayConfig = this.getOverlayConfig();
|
|
1718
|
+
// Returns an OverlayRef
|
|
1719
|
+
return this.overlay.create(overlayConfig);
|
|
1720
|
+
}
|
|
1721
|
+
}
|
|
1722
|
+
OverlayService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: OverlayService, deps: [{ token: i0.Injector }, { token: i1.Overlay }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1723
|
+
OverlayService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: OverlayService });
|
|
1724
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: OverlayService, decorators: [{
|
|
1725
|
+
type: Injectable
|
|
1726
|
+
}], ctorParameters: function () { return [{ type: i0.Injector }, { type: i1.Overlay }]; } });
|
|
1727
|
+
|
|
1728
|
+
const OVERLAY_SERVICES = [OverlayService];
|
|
1729
|
+
|
|
1730
|
+
class FormBaseComponent {
|
|
1731
|
+
constructor() {
|
|
1732
|
+
this.markedDirty = false;
|
|
1733
|
+
}
|
|
1734
|
+
scrollToFirstError() {
|
|
1735
|
+
const invalidInputs = Array.from(document.getElementsByClassName('ng-invalid'))
|
|
1736
|
+
.filter((e) => { var _a; return ((_a = e === null || e === void 0 ? void 0 : e.nodeName) === null || _a === void 0 ? void 0 : _a.toLowerCase()) !== 'form'; })
|
|
1737
|
+
.sort((a, b) => a.scrollTop - b.scrollTop);
|
|
1738
|
+
const first = invalidInputs[0];
|
|
1739
|
+
if (first) {
|
|
1740
|
+
first.scrollIntoView({
|
|
1741
|
+
behavior: 'smooth',
|
|
1742
|
+
block: 'center',
|
|
1743
|
+
inline: 'center',
|
|
1744
|
+
});
|
|
1745
|
+
}
|
|
1746
|
+
}
|
|
1747
|
+
markControlDirty(control) {
|
|
1748
|
+
if (control instanceof FormControl) {
|
|
1749
|
+
control.markAsDirty({ onlySelf: true });
|
|
1750
|
+
control.markAsTouched({ onlySelf: true });
|
|
1751
|
+
}
|
|
1752
|
+
else if (control instanceof FormGroup) {
|
|
1753
|
+
control.markAsDirty();
|
|
1754
|
+
control.markAsTouched();
|
|
1755
|
+
this.markAllDirty(control);
|
|
1756
|
+
}
|
|
1757
|
+
else if (control instanceof FormArray) {
|
|
1758
|
+
control.markAsDirty();
|
|
1759
|
+
control.markAsTouched();
|
|
1760
|
+
for (const child of control === null || control === void 0 ? void 0 : control.controls) {
|
|
1761
|
+
this.markControlDirty(child);
|
|
1762
|
+
}
|
|
1763
|
+
}
|
|
1764
|
+
control.updateValueAndValidity();
|
|
1765
|
+
}
|
|
1766
|
+
markAllDirty(formGroup) {
|
|
1767
|
+
this.markedDirty = true;
|
|
1768
|
+
for (const field of Object.keys(formGroup.controls)) {
|
|
1769
|
+
const control = formGroup.get(field);
|
|
1770
|
+
this.markControlDirty(control);
|
|
1771
|
+
}
|
|
1772
|
+
}
|
|
1773
|
+
getControlError(control) {
|
|
1774
|
+
if (!this.hasControlError(control)) {
|
|
1775
|
+
return;
|
|
1776
|
+
}
|
|
1777
|
+
return this.firstControlError(control);
|
|
1778
|
+
}
|
|
1779
|
+
hasControlError(control, showChildErrors = true) {
|
|
1780
|
+
return ((control === null || control === void 0 ? void 0 : control.dirty) && this.firstControlError(control, showChildErrors));
|
|
1781
|
+
}
|
|
1782
|
+
firstControlError(control, showChildErrors = true) {
|
|
1783
|
+
if (control instanceof FormGroup && showChildErrors) {
|
|
1784
|
+
const errors = Object.keys(control.controls)
|
|
1785
|
+
.map((key) => this.firstControlError(control.controls[key]))
|
|
1786
|
+
.filter((val) => !!val);
|
|
1787
|
+
return errors[0];
|
|
1788
|
+
}
|
|
1789
|
+
if (!(control === null || control === void 0 ? void 0 : control.errors)) {
|
|
1790
|
+
return;
|
|
1791
|
+
}
|
|
1792
|
+
const keys = Object.keys(control.errors);
|
|
1793
|
+
let err;
|
|
1794
|
+
for (const key of keys) {
|
|
1795
|
+
if (control.errors[key]) {
|
|
1796
|
+
err = key;
|
|
1797
|
+
break;
|
|
1798
|
+
}
|
|
1799
|
+
}
|
|
1800
|
+
return err;
|
|
1801
|
+
}
|
|
1802
|
+
resetControl(control) {
|
|
1803
|
+
control.setErrors(null);
|
|
1804
|
+
control.reset();
|
|
1805
|
+
control.markAsPristine();
|
|
1806
|
+
if (control instanceof FormGroup) {
|
|
1807
|
+
this.resetForm(control);
|
|
1808
|
+
}
|
|
1809
|
+
else if (control instanceof FormArray) {
|
|
1810
|
+
for (const child of control === null || control === void 0 ? void 0 : control.controls) {
|
|
1811
|
+
this.resetControl(child);
|
|
1812
|
+
}
|
|
1813
|
+
}
|
|
1814
|
+
}
|
|
1815
|
+
resetForm(formGroup) {
|
|
1816
|
+
for (const field of Object.keys(formGroup.controls)) {
|
|
1817
|
+
const control = formGroup.get(field);
|
|
1818
|
+
this.resetControl(control);
|
|
1819
|
+
}
|
|
1820
|
+
this.markedDirty = false;
|
|
1821
|
+
}
|
|
1822
|
+
}
|
|
1823
|
+
FormBaseComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: FormBaseComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1824
|
+
FormBaseComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.2", type: FormBaseComponent, selector: "ng-component", ngImport: i0, template: ``, isInline: true });
|
|
1825
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: FormBaseComponent, decorators: [{
|
|
1826
|
+
type: Component,
|
|
1827
|
+
args: [{
|
|
1828
|
+
template: ``,
|
|
1829
|
+
}]
|
|
1830
|
+
}] });
|
|
1831
|
+
|
|
1832
|
+
const createFormFilters = (values, quickFilters, quickFilterKey) => {
|
|
1833
|
+
const filters = [];
|
|
1834
|
+
let quickFilter = null;
|
|
1835
|
+
for (const key of Object.keys(values)) {
|
|
1836
|
+
const value = values[key];
|
|
1837
|
+
if (key !== quickFilterKey && !(value === null || value === void 0 ? void 0 : value.length)) {
|
|
1838
|
+
continue;
|
|
1839
|
+
}
|
|
1840
|
+
if (quickFilterKey && key === quickFilterKey) {
|
|
1841
|
+
quickFilter = quickFilters.find((f) => f.value === value);
|
|
1842
|
+
continue;
|
|
1843
|
+
}
|
|
1844
|
+
filters.push({
|
|
1845
|
+
key,
|
|
1846
|
+
value,
|
|
1847
|
+
});
|
|
1848
|
+
}
|
|
1849
|
+
return {
|
|
1850
|
+
filters,
|
|
1851
|
+
quickFilter,
|
|
1852
|
+
};
|
|
1853
|
+
};
|
|
1854
|
+
|
|
1855
|
+
let BaseTableComponent = class BaseTableComponent extends FormBaseComponent {
|
|
1856
|
+
constructor() {
|
|
1857
|
+
super();
|
|
1858
|
+
this.quickFilters = [];
|
|
1859
|
+
this.filterForm = new FormGroup({});
|
|
1860
|
+
this.defaultFilterFormValues = {};
|
|
1861
|
+
this.pageSizeDefault = 12;
|
|
1862
|
+
this._defaultTableValues = {
|
|
1863
|
+
pageSize: this.pageSizeDefault,
|
|
1864
|
+
page: 1,
|
|
1865
|
+
quickFilter: null,
|
|
1866
|
+
query: '',
|
|
1867
|
+
filters: [],
|
|
1868
|
+
selectedRows: [],
|
|
1869
|
+
};
|
|
1870
|
+
this.defaultTableValues = {};
|
|
1871
|
+
}
|
|
1872
|
+
get pageSize() {
|
|
1873
|
+
if (!this.tableOptions) {
|
|
1874
|
+
return this._defaultTableValues.pageSize;
|
|
1875
|
+
}
|
|
1876
|
+
return this.tableOptions.value.pageSize;
|
|
1877
|
+
}
|
|
1878
|
+
get page() {
|
|
1879
|
+
if (!this.tableOptions) {
|
|
1880
|
+
return this._defaultTableValues.page;
|
|
1881
|
+
}
|
|
1882
|
+
return this.tableOptions.value.page;
|
|
1883
|
+
}
|
|
1884
|
+
get quickFilter() {
|
|
1885
|
+
if (!this.tableOptions) {
|
|
1886
|
+
return this._defaultTableValues.quickFilter;
|
|
1887
|
+
}
|
|
1888
|
+
return this.tableOptions.value.quickFilter;
|
|
1889
|
+
}
|
|
1890
|
+
set quickFilter(quickFilter) {
|
|
1891
|
+
this.tableValues = {
|
|
1892
|
+
quickFilter,
|
|
1893
|
+
};
|
|
1894
|
+
}
|
|
1895
|
+
get query() {
|
|
1896
|
+
if (!this.tableOptions) {
|
|
1897
|
+
return this._defaultTableValues.query;
|
|
1898
|
+
}
|
|
1899
|
+
return this.tableOptions.value.query;
|
|
1900
|
+
}
|
|
1901
|
+
set query(query) {
|
|
1902
|
+
this.tableValues = {
|
|
1903
|
+
query,
|
|
1904
|
+
};
|
|
1905
|
+
}
|
|
1906
|
+
get filters() {
|
|
1907
|
+
if (!this.tableOptions) {
|
|
1908
|
+
return this._defaultTableValues.filters;
|
|
1909
|
+
}
|
|
1910
|
+
return this.tableOptions.value.filters;
|
|
1911
|
+
}
|
|
1912
|
+
set filters(filters) {
|
|
1913
|
+
this.tableValues = {
|
|
1914
|
+
filters,
|
|
1915
|
+
};
|
|
1916
|
+
}
|
|
1917
|
+
get selectedRows() {
|
|
1918
|
+
if (!this.tableOptions) {
|
|
1919
|
+
return this._defaultTableValues.selectedRows;
|
|
1920
|
+
}
|
|
1921
|
+
return this.tableOptions.value.selectedRows;
|
|
1922
|
+
}
|
|
1923
|
+
set selectedRows(selectedRows) {
|
|
1924
|
+
this.tableValues = {
|
|
1925
|
+
selectedRows,
|
|
1926
|
+
};
|
|
1927
|
+
}
|
|
1928
|
+
// setter
|
|
1929
|
+
get parsedDefaultTableValues() {
|
|
1930
|
+
var _a;
|
|
1931
|
+
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 });
|
|
1932
|
+
}
|
|
1933
|
+
get tableValues() {
|
|
1934
|
+
var _a, _b;
|
|
1935
|
+
return (_b = (_a = this.tableOptions) === null || _a === void 0 ? void 0 : _a.value) !== null && _b !== void 0 ? _b : {};
|
|
1936
|
+
}
|
|
1937
|
+
set tableValues(values) {
|
|
1938
|
+
this._setTableValues(Object.assign(Object.assign({}, this.tableValues), values));
|
|
1939
|
+
}
|
|
1940
|
+
ngOnInit() {
|
|
1941
|
+
this.tableOptions = new FormControl({
|
|
1942
|
+
pageSize: this.parsedDefaultTableValues.pageSize,
|
|
1943
|
+
page: this.parsedDefaultTableValues.page,
|
|
1944
|
+
quickFilter: this.parsedDefaultTableValues.quickFilter,
|
|
1945
|
+
query: this.parsedDefaultTableValues.query,
|
|
1946
|
+
filters: this.parsedDefaultTableValues.filters,
|
|
1947
|
+
selectedRows: this.parsedDefaultTableValues.selectedRows,
|
|
1948
|
+
});
|
|
1949
|
+
this.tableOptions.valueChanges
|
|
1950
|
+
.pipe(untilDestroyed(this), startWith(this.tableOptions.value), pairwise(), map(([previous, next]) => this._getChanges(previous, next)), filter((changes) => !!changes), debounce((changes) => {
|
|
1951
|
+
var _a;
|
|
1952
|
+
if ((changes === null || changes === void 0 ? void 0 : changes.query) && ((_a = Object.keys(changes)) === null || _a === void 0 ? void 0 : _a.length) === 1) {
|
|
1953
|
+
return timer(300);
|
|
1954
|
+
}
|
|
1955
|
+
return timer(0);
|
|
1956
|
+
}), filter((changes) => {
|
|
1957
|
+
var _a;
|
|
1958
|
+
return !((changes === null || changes === void 0 ? void 0 : changes.selected) &&
|
|
1959
|
+
((_a = Object.keys(changes)) === null || _a === void 0 ? void 0 : _a.length) === 1);
|
|
1960
|
+
}))
|
|
1961
|
+
.subscribe((changes) => {
|
|
1962
|
+
if (changes === null || changes === void 0 ? void 0 : changes.page) {
|
|
1963
|
+
this._refresh();
|
|
1964
|
+
return;
|
|
1965
|
+
}
|
|
1966
|
+
this._resetPageOrRefresh();
|
|
1967
|
+
});
|
|
1968
|
+
this._refresh();
|
|
1969
|
+
}
|
|
1970
|
+
resetTable(emitEvent = true, forceRefresh = null) {
|
|
1971
|
+
this._setTableValues(this.parsedDefaultTableValues, emitEvent);
|
|
1972
|
+
if (forceRefresh) {
|
|
1973
|
+
this._refresh();
|
|
1974
|
+
}
|
|
1975
|
+
}
|
|
1976
|
+
applyFormFilters(values = null) {
|
|
1977
|
+
values = values !== null && values !== void 0 ? values : this.filterForm.value;
|
|
1978
|
+
const { filters, quickFilter } = createFormFilters(values, this.quickFilters, this.filterFormQuickFilterKey);
|
|
1979
|
+
if (quickFilter) {
|
|
1980
|
+
this.quickFilter = quickFilter;
|
|
1981
|
+
}
|
|
1982
|
+
this.filters = filters;
|
|
1726
1983
|
}
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
|
|
1734
|
-
]
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1743
|
-
let PTableFooter = class PTableFooter {
|
|
1744
|
-
constructor(c, r, z) {
|
|
1745
|
-
this.z = z;
|
|
1746
|
-
c.detach();
|
|
1747
|
-
this.el = r.nativeElement;
|
|
1748
|
-
proxyOutputs(this, this.el, ['pageChange', 'pageSizeChange', 'export']);
|
|
1984
|
+
resetFormFilters(resetQuickFilter = false) {
|
|
1985
|
+
var _a;
|
|
1986
|
+
const values = this.filterForm.value;
|
|
1987
|
+
const defaultQuickFilter = this.quickFilters.find((f) => f.default);
|
|
1988
|
+
for (const key of Object.keys(values)) {
|
|
1989
|
+
if (key === this.filterFormQuickFilterKey) {
|
|
1990
|
+
if (resetQuickFilter) {
|
|
1991
|
+
values[key] = defaultQuickFilter.value;
|
|
1992
|
+
}
|
|
1993
|
+
continue;
|
|
1994
|
+
}
|
|
1995
|
+
values[key] = (_a = this.defaultFilterFormValues[key]) !== null && _a !== void 0 ? _a : null;
|
|
1996
|
+
}
|
|
1997
|
+
this.filterForm.setValue(values);
|
|
1998
|
+
this.applyFormFilters(values);
|
|
1749
1999
|
}
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
PTableFooter.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.1", type: PTableFooter, selector: "p-table-footer", inputs: { enableExport: "enableExport", enablePageSize: "enablePageSize", enablePagination: "enablePagination", hideOnSinglePage: "hideOnSinglePage", page: "page", pageSize: "pageSize", pageSizeOptions: "pageSizeOptions", total: "total" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1753
|
-
PTableFooter = __decorate([
|
|
1754
|
-
ProxyCmp({
|
|
1755
|
-
defineCustomElementFn: undefined,
|
|
1756
|
-
inputs: ['enableExport', 'enablePageSize', 'enablePagination', 'hideOnSinglePage', 'page', 'pageSize', 'pageSizeOptions', 'total']
|
|
1757
|
-
})
|
|
1758
|
-
], PTableFooter);
|
|
1759
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: PTableFooter, decorators: [{
|
|
1760
|
-
type: Component,
|
|
1761
|
-
args: [{
|
|
1762
|
-
selector: 'p-table-footer',
|
|
1763
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1764
|
-
template: '<ng-content></ng-content>',
|
|
1765
|
-
inputs: ['enableExport', 'enablePageSize', 'enablePagination', 'hideOnSinglePage', 'page', 'pageSize', 'pageSizeOptions', 'total']
|
|
1766
|
-
}]
|
|
1767
|
-
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1768
|
-
let PTableHeader = class PTableHeader {
|
|
1769
|
-
constructor(c, r, z) {
|
|
1770
|
-
this.z = z;
|
|
1771
|
-
c.detach();
|
|
1772
|
-
this.el = r.nativeElement;
|
|
1773
|
-
proxyOutputs(this, this.el, ['quickFilter', 'queryChange', 'filter', 'edit']);
|
|
2000
|
+
_refresh() {
|
|
2001
|
+
console.warn('Not implemented');
|
|
1774
2002
|
}
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
|
|
1784
|
-
|
|
1785
|
-
type: Component,
|
|
1786
|
-
args: [{
|
|
1787
|
-
selector: 'p-table-header',
|
|
1788
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1789
|
-
template: '<ng-content></ng-content>',
|
|
1790
|
-
inputs: ['activeQuickFilterIdentifier', 'canEdit', 'editButtonTemplate', 'enableEdit', 'enableFilter', 'enableSearch', 'filterButtonTemplate', 'itemsSelectedAmount', 'query', 'quickFilters', 'selectedFiltersAmount']
|
|
1791
|
-
}]
|
|
1792
|
-
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1793
|
-
let PTableRow = class PTableRow {
|
|
1794
|
-
constructor(c, r, z) {
|
|
1795
|
-
this.z = z;
|
|
1796
|
-
c.detach();
|
|
1797
|
-
this.el = r.nativeElement;
|
|
2003
|
+
_resetPageOrRefresh() {
|
|
2004
|
+
var _a;
|
|
2005
|
+
if (!this.tableOptions) {
|
|
2006
|
+
return;
|
|
2007
|
+
}
|
|
2008
|
+
if (this.page !== 1) {
|
|
2009
|
+
(_a = this.tableOptions.get('page')) === null || _a === void 0 ? void 0 : _a.setValue(1);
|
|
2010
|
+
return;
|
|
2011
|
+
}
|
|
2012
|
+
this._refresh();
|
|
1798
2013
|
}
|
|
1799
|
-
|
|
1800
|
-
|
|
1801
|
-
|
|
1802
|
-
PTableRow = __decorate([
|
|
1803
|
-
ProxyCmp({
|
|
1804
|
-
defineCustomElementFn: undefined,
|
|
1805
|
-
inputs: ['enableHover', 'variant']
|
|
1806
|
-
})
|
|
1807
|
-
], PTableRow);
|
|
1808
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: PTableRow, decorators: [{
|
|
1809
|
-
type: Component,
|
|
1810
|
-
args: [{
|
|
1811
|
-
selector: 'p-table-row',
|
|
1812
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1813
|
-
template: '<ng-content></ng-content>',
|
|
1814
|
-
inputs: ['enableHover', 'variant']
|
|
1815
|
-
}]
|
|
1816
|
-
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1817
|
-
let PToast = class PToast {
|
|
1818
|
-
constructor(c, r, z) {
|
|
1819
|
-
this.z = z;
|
|
1820
|
-
c.detach();
|
|
1821
|
-
this.el = r.nativeElement;
|
|
1822
|
-
proxyOutputs(this, this.el, ['action']);
|
|
2014
|
+
_setTableValues(data, emitEvent = true) {
|
|
2015
|
+
var _a;
|
|
2016
|
+
(_a = this.tableOptions) === null || _a === void 0 ? void 0 : _a.setValue(Object.assign(Object.assign({}, this.tableOptions.value), data), { emitEvent });
|
|
1823
2017
|
}
|
|
1824
|
-
|
|
1825
|
-
|
|
1826
|
-
|
|
1827
|
-
|
|
1828
|
-
|
|
1829
|
-
|
|
1830
|
-
|
|
1831
|
-
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
|
-
|
|
1835
|
-
|
|
1836
|
-
|
|
1837
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1838
|
-
template: '<ng-content></ng-content>',
|
|
1839
|
-
inputs: ['actionIcon', 'actionIconFlip', 'actionIconRotate', 'content', 'enableAction', 'header', 'variant']
|
|
1840
|
-
}]
|
|
1841
|
-
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1842
|
-
let PTooltip = class PTooltip {
|
|
1843
|
-
constructor(c, r, z) {
|
|
1844
|
-
this.z = z;
|
|
1845
|
-
c.detach();
|
|
1846
|
-
this.el = r.nativeElement;
|
|
1847
|
-
proxyOutputs(this, this.el, ['isOpen']);
|
|
2018
|
+
_getChanges(previous, next) {
|
|
2019
|
+
const changes = {};
|
|
2020
|
+
let key;
|
|
2021
|
+
for (key in next) {
|
|
2022
|
+
if (key === 'selectedRows') {
|
|
2023
|
+
continue;
|
|
2024
|
+
}
|
|
2025
|
+
if (JSON.stringify(previous[key]) !== JSON.stringify(next[key])) {
|
|
2026
|
+
// @ts-ignore
|
|
2027
|
+
changes[key] = next[key];
|
|
2028
|
+
}
|
|
2029
|
+
}
|
|
2030
|
+
return Object.keys(changes).length ? changes : null;
|
|
1848
2031
|
}
|
|
1849
2032
|
};
|
|
1850
|
-
|
|
1851
|
-
|
|
1852
|
-
|
|
1853
|
-
|
|
1854
|
-
|
|
1855
|
-
|
|
1856
|
-
})
|
|
1857
|
-
], PTooltip);
|
|
1858
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: PTooltip, decorators: [{
|
|
2033
|
+
BaseTableComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: BaseTableComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2034
|
+
BaseTableComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.2", type: BaseTableComponent, selector: "ng-component", usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
2035
|
+
BaseTableComponent = __decorate([
|
|
2036
|
+
UntilDestroy({ checkProperties: true })
|
|
2037
|
+
], BaseTableComponent);
|
|
2038
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: BaseTableComponent, decorators: [{
|
|
1859
2039
|
type: Component,
|
|
1860
2040
|
args: [{
|
|
1861
|
-
|
|
1862
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1863
|
-
template: '<ng-content></ng-content>',
|
|
1864
|
-
inputs: ['canManuallyClose', 'placement', 'popover', 'show', 'strategy', 'variant']
|
|
2041
|
+
template: ``,
|
|
1865
2042
|
}]
|
|
1866
|
-
}], ctorParameters: function () { return [
|
|
2043
|
+
}], ctorParameters: function () { return []; } });
|
|
1867
2044
|
|
|
1868
2045
|
/* eslint-disable max-len */
|
|
1869
2046
|
class TableCell {
|
|
@@ -1996,9 +2173,9 @@ class TableCell {
|
|
|
1996
2173
|
};
|
|
1997
2174
|
}
|
|
1998
2175
|
}
|
|
1999
|
-
TableCell.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
2000
|
-
TableCell.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.
|
|
2001
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
2176
|
+
TableCell.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: TableCell, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2177
|
+
TableCell.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.2", type: TableCell, selector: "p-table-cell-ngx", inputs: { variant: "variant", index: "index", rowIndex: "rowIndex", definition: "definition", item: "item", value: "value", checkbox: "checkbox", template: "template" }, host: { properties: { "class": "this.class" } }, ngImport: i0, template: "<ng-container *ngIf=\"checkbox\">\n <ng-container *ngTemplateOutlet=\"checkbox\"></ng-container>\n</ng-container>\n\n<ng-container [ngSwitch]=\"variant\">\n <p-loader\n *ngSwitchCase=\"'loading'\"\n variant=\"ghost\"\n class=\"rounded flex-1 w-full h-6\"\n ></p-loader>\n\n <div *ngSwitchCase=\"'header'\" class=\"flex\">\n <ng-container *ngTemplateOutlet=\"valueTemplate\"></ng-container>\n </div>\n\n <div *ngSwitchCase=\"'default'\" class=\"flex\">\n <ng-container *ngIf=\"template; else valueTemplate\">\n <ng-container\n *ngTemplateOutlet=\"template; context: data\"\n ></ng-container>\n </ng-container>\n </div>\n</ng-container>\n\n<ng-template #valueTemplate>\n {{ data.value }}\n</ng-template>\n", styles: [":host{display:flex;align-items:center;gap:1rem}\n"], dependencies: [{ kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i1$1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i1$1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "component", type: PLoader, selector: "p-loader", inputs: ["color", "modalDescription", "modalTitle", "show", "variant"] }] });
|
|
2178
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: TableCell, decorators: [{
|
|
2002
2179
|
type: Component,
|
|
2003
2180
|
args: [{ selector: 'p-table-cell-ngx', template: "<ng-container *ngIf=\"checkbox\">\n <ng-container *ngTemplateOutlet=\"checkbox\"></ng-container>\n</ng-container>\n\n<ng-container [ngSwitch]=\"variant\">\n <p-loader\n *ngSwitchCase=\"'loading'\"\n variant=\"ghost\"\n class=\"rounded flex-1 w-full h-6\"\n ></p-loader>\n\n <div *ngSwitchCase=\"'header'\" class=\"flex\">\n <ng-container *ngTemplateOutlet=\"valueTemplate\"></ng-container>\n </div>\n\n <div *ngSwitchCase=\"'default'\" class=\"flex\">\n <ng-container *ngIf=\"template; else valueTemplate\">\n <ng-container\n *ngTemplateOutlet=\"template; context: data\"\n ></ng-container>\n </ng-container>\n </div>\n</ng-container>\n\n<ng-template #valueTemplate>\n {{ data.value }}\n</ng-template>\n", styles: [":host{display:flex;align-items:center;gap:1rem}\n"] }]
|
|
2004
2181
|
}], propDecorators: { variant: [{
|
|
@@ -2030,15 +2207,15 @@ let TableColumn = class TableColumn {
|
|
|
2030
2207
|
proxyOutputs(this, this.el, ['tableDefinitionChanged']);
|
|
2031
2208
|
}
|
|
2032
2209
|
};
|
|
2033
|
-
TableColumn.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
2034
|
-
TableColumn.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.
|
|
2210
|
+
TableColumn.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: TableColumn, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
2211
|
+
TableColumn.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.2", type: TableColumn, selector: "p-table-column", inputs: { align: "align", name: "name", path: "path", sizes: "sizes", type: "type", useSlot: "useSlot" }, queries: [{ propertyName: "template", first: true, predicate: TemplateRef, descendants: true, read: TemplateRef, static: true }], ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2035
2212
|
TableColumn = __decorate([
|
|
2036
2213
|
ProxyCmp({
|
|
2037
2214
|
defineCustomElementFn: undefined,
|
|
2038
2215
|
inputs: ['align', 'name', 'path', 'sizes', 'type', 'useSlot'],
|
|
2039
2216
|
})
|
|
2040
2217
|
], TableColumn);
|
|
2041
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
2218
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: TableColumn, decorators: [{
|
|
2042
2219
|
type: Component,
|
|
2043
2220
|
args: [{
|
|
2044
2221
|
selector: 'p-table-column',
|
|
@@ -2056,9 +2233,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.1", ngImpor
|
|
|
2056
2233
|
|
|
2057
2234
|
class TableFilterModalDirective {
|
|
2058
2235
|
}
|
|
2059
|
-
TableFilterModalDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
2060
|
-
TableFilterModalDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.
|
|
2061
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
2236
|
+
TableFilterModalDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: TableFilterModalDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
2237
|
+
TableFilterModalDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.2", type: TableFilterModalDirective, selector: "[p-table-filter-modal]", ngImport: i0 });
|
|
2238
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: TableFilterModalDirective, decorators: [{
|
|
2062
2239
|
type: Directive,
|
|
2063
2240
|
args: [{
|
|
2064
2241
|
selector: '[p-table-filter-modal]',
|
|
@@ -2086,15 +2263,15 @@ class TableFooterDirective extends BaseValueAccessor {
|
|
|
2086
2263
|
this.handleChangeEvent(Object.assign(Object.assign({}, this.lastValue), { [type]: value }));
|
|
2087
2264
|
}
|
|
2088
2265
|
}
|
|
2089
|
-
TableFooterDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
2090
|
-
TableFooterDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.
|
|
2266
|
+
TableFooterDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: TableFooterDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2267
|
+
TableFooterDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.2", type: TableFooterDirective, selector: "p-table-footer", host: { listeners: { "pageChange": "handleChange($event.detail, \"page\")", "pageSizeChange": "handleChange($event.detail, \"pageSize\")" } }, providers: [
|
|
2091
2268
|
{
|
|
2092
2269
|
provide: NG_VALUE_ACCESSOR,
|
|
2093
2270
|
useExisting: TableFooterDirective,
|
|
2094
2271
|
multi: true,
|
|
2095
2272
|
},
|
|
2096
2273
|
], usesInheritance: true, ngImport: i0 });
|
|
2097
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
2274
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: TableFooterDirective, decorators: [{
|
|
2098
2275
|
type: Directive,
|
|
2099
2276
|
args: [{
|
|
2100
2277
|
/* tslint:disable-next-line:directive-selector */
|
|
@@ -2139,15 +2316,15 @@ class TableHeaderDirective extends BaseValueAccessor {
|
|
|
2139
2316
|
quickFilter === null || quickFilter === void 0 ? void 0 : quickFilter.identifier;
|
|
2140
2317
|
}
|
|
2141
2318
|
}
|
|
2142
|
-
TableHeaderDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
2143
|
-
TableHeaderDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.
|
|
2319
|
+
TableHeaderDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: TableHeaderDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2320
|
+
TableHeaderDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.2", type: TableHeaderDirective, selector: "p-table-header", host: { listeners: { "queryChange": "handleChange($event.detail, \"query\")", "quickFilter": "handleChange($event.detail, \"quickFilter\")" } }, providers: [
|
|
2144
2321
|
{
|
|
2145
2322
|
provide: NG_VALUE_ACCESSOR,
|
|
2146
2323
|
useExisting: TableHeaderDirective,
|
|
2147
2324
|
multi: true,
|
|
2148
2325
|
},
|
|
2149
2326
|
], usesInheritance: true, ngImport: i0 });
|
|
2150
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
2327
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: TableHeaderDirective, decorators: [{
|
|
2151
2328
|
type: Directive,
|
|
2152
2329
|
args: [{
|
|
2153
2330
|
/* tslint:disable-next-line:directive-selector */
|
|
@@ -2644,12 +2821,12 @@ let Table = class Table {
|
|
|
2644
2821
|
return this._findRowAction(el === null || el === void 0 ? void 0 : el.parentElement);
|
|
2645
2822
|
}
|
|
2646
2823
|
};
|
|
2647
|
-
Table.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
2648
|
-
Table.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.1", type: Table, selector: "p-table-ngx", inputs: { items: "items", loading: "loading", amountOfLoadingRows: "amountOfLoadingRows", enableRowSelection: "enableRowSelection", enableRowClick: "enableRowClick", selectedRows: "selectedRows", selectionKey: "selectionKey", canSelectKey: "canSelectKey", quickFilters: "quickFilters", activeQuickFilterIdentifier: "activeQuickFilterIdentifier", enableSearch: "enableSearch", query: "query", enableFilter: "enableFilter", selectedFiltersAmount: "selectedFiltersAmount", filterButtonTemplate: "filterButtonTemplate", enableEdit: "enableEdit", editButtonTemplate: "editButtonTemplate", enablePageSize: "enablePageSize", enablePagination: "enablePagination", enableExport: "enableExport", page: "page", total: "total", pageSize: "pageSize", pageSizeOptions: "pageSizeOptions", hideOnSinglePage: "hideOnSinglePage", emptyStateType: "emptyStateType", emptyStateHeader: "emptyStateHeader", emptyStateContent: "emptyStateContent", emptyStateAction: "emptyStateAction", emptyStateFilteredHeader: "emptyStateFilteredHeader", emptyStateFilteredContent: "emptyStateFilteredContent", filterModalHeaderText: "filterModalHeaderText", filterModalSaveText: "filterModalSaveText", filterModalCancelText: "filterModalCancelText", filterModalResetText: "filterModalResetText", filterModalShowReset: "filterModalShowReset", filterModalShowResetMobile: "filterModalShowResetMobile" }, outputs: { selectedRowsChange: "selectedRowsChange", rowClick: "rowClick", rowSelected: "rowSelected", rowDeselected: "rowDeselected", quickFilter: "quickFilter", queryChange: "queryChange", filter: "filter", edit: "edit", pageChange: "pageChange", pageSizeChange: "pageSizeChange", export: "export", emptyStateActionClick: "emptyStateActionClick", filterModalShow: "filterModalShow", filterModalSave: "filterModalSave", filterModalReset: "filterModalReset" }, host: { listeners: { "document:keydown": "keyDown($event)", "document:keyup": "keyUp($event)", "document:visibilitychange": "visibilityChange($event)" } }, queries: [{ propertyName: "filterModalTemplate", first: true, predicate: TableFilterModalDirective, descendants: true, read: TemplateRef, static: true }, { propertyName: "columnDefinitions", predicate: TableColumn }], usesOnChanges: true, ngImport: i0, template: "<p-table-container>\n <p-table-header\n [quickFilters]=\"quickFilters\"\n [activeQuickFilterIdentifier]=\"activeQuickFilterIdentifier\"\n (quickFilter)=\"(onQuickFilter)\"\n [enableSearch]=\"enableSearch\"\n [query]=\"query\"\n (queryChange)=\"(onQueryChange)\"\n [enableFilter]=\"filterModalTemplate\"\n [selectedFiltersAmount]=\"selectedFiltersAmount\"\n [filterButtonTemplate]=\"filterButtonTemplate\"\n (filter)=\"filterModalShow$.next(true)\"\n [enableEdit]=\"enableEdit\"\n [canEdit]=\"!!selectedRows.length\"\n [editButtonTemplate]=\"editButtonTemplate\"\n (edit)=\"edit.emit()\"\n [itemsSelectedAmount]=\"selectedRows.length\"\n ></p-table-header>\n\n <p-table-row variant=\"header\">\n <ng-container *ngFor=\"let col of columns; let index = index\">\n <p-table-cell-ngx\n [definition]=\"col\"\n [value]=\"col.name\"\n variant=\"header\"\n [index]=\"index\"\n [checkbox]=\"\n index === 0 && enableRowSelection\n ? checkboxTemplate\n : undefined\n \"\n ></p-table-cell-ngx>\n <ng-template #checkboxTemplate>\n <input\n class=\"p-input\"\n type=\"checkbox\"\n (change)=\"_selectAllChange($event)\"\n [checked]=\"_selectionContainsAll()\"\n [indeterminate]=\"_selectionIndeterminate()\"\n />\n </ng-template>\n </ng-container>\n </p-table-row>\n\n <div class=\"flex flex-col\">\n <ng-container *ngIf=\"loading; else contentTemplate\">\n <p-table-row\n *ngFor=\"let r of loadingRows; let rowIndex = index\"\n [enableHover]=\"enableRowSelection || enableRowClick\"\n >\n <ng-container *ngFor=\"let col of columns; let index = index\">\n <p-table-cell-ngx\n [definition]=\"col\"\n variant=\"loading\"\n [checkbox]=\"\n index === 0 && enableRowSelection\n ? checkboxTemplate\n : undefined\n \"\n [index]=\"index\"\n [rowIndex]=\"rowIndex\"\n ></p-table-cell-ngx>\n <ng-template #checkboxTemplate>\n <p-loader\n variant=\"ghost\"\n class=\"rounded w-6 h-6\"\n ></p-loader>\n </ng-template>\n </ng-container>\n </p-table-row>\n </ng-container>\n\n <ng-template #contentTemplate>\n <ng-container *ngIf=\"items?.length; else emptyStateTemplate\">\n <p-table-row\n *ngFor=\"let item of items; let rowIndex = index\"\n [enableHover]=\"enableRowSelection || enableRowClick\"\n (click)=\"_rowClick($event, rowIndex)\"\n >\n <ng-container\n *ngFor=\"let col of columns; let index = index\"\n >\n <p-table-cell-ngx\n [definition]=\"col\"\n [item]=\"item\"\n [checkbox]=\"\n index === 0 && enableRowSelection\n ? checkboxTemplate\n : undefined\n \"\n [index]=\"index\"\n [rowIndex]=\"rowIndex\"\n [template]=\"col.template\"\n ></p-table-cell-ngx>\n\n <ng-template #checkboxTemplate>\n <input\n class=\"p-input\"\n type=\"checkbox\"\n (change)=\"\n _checkboxChange($event.target, rowIndex)\n \"\n [disabled]=\"_checkboxDisabled(item)\"\n [checked]=\"_selectionContains(item, rowIndex)\"\n />\n </ng-template>\n </ng-container>\n </p-table-row>\n </ng-container>\n </ng-template>\n </div>\n\n <p-table-footer\n [hideOnSinglePage]=\"hideOnSinglePage\"\n [enablePageSize]=\"enablePageSize\"\n [pageSize]=\"pageSize\"\n [pageSizeOptions]=\"pageSizeOptions\"\n (pageSizeChange)=\"(pageSizeChange)\"\n [enablePagination]=\"enablePagination\"\n [page]=\"page\"\n [total]=\"total\"\n (pageChange)=\"(pageChange)\"\n [enableExport]=\"enableExport\"\n (export)=\"export.emit()\"\n ></p-table-footer>\n</p-table-container>\n\n<ng-container *ngIf=\"filterModalTemplate\">\n <p-modal\n [header]=\"filterModalHeaderText\"\n [show]=\"filterModalShow$ | async\"\n (close)=\"filterModalShow$.next(false)\"\n >\n <div slot=\"content\" class=\"flex flex-col gap-6\">\n <ng-container\n *ngTemplateOutlet=\"filterModalTemplate\"\n ></ng-container>\n </div>\n <div slot=\"footer\" class=\"flex justify-between gap-4 w-full\">\n <p-button\n *ngIf=\"filterModalShowResetMobile\"\n class=\"flex desktop-xs:hidden w-full tablet:w-auto\"\n variant=\"secondary\"\n (onClick)=\"onFilterModalReset(true)\"\n >\n {{ filterModalResetText }}\n </p-button>\n <p-button\n *ngIf=\"filterModalShowReset\"\n class=\"hidden desktop-xs:flex w-full tablet:w-auto\"\n variant=\"secondary\"\n (onClick)=\"onFilterModalReset()\"\n >\n {{ filterModalResetText }}\n </p-button>\n <p-button\n class=\"ml-auto w-full tablet:w-auto\"\n icon=\"checkmark\"\n (onClick)=\"onFilterModalSave()\"\n >\n {{ filterModalSaveText }}\n </p-button>\n </div>\n </p-modal>\n</ng-container>\n\n<ng-template #emptyStateTemplate>\n <div\n *ngIf=\"emptyStateType === 'filtered'; else emptyStateNonFilterTemplate\"\n class=\"\n flex flex-col\n items-center\n text-center\n py-24\n max-w-[20rem]\n self-center\n \"\n >\n <p-illustration\n variant=\"empty-state-search\"\n class=\"mb-6\"\n ></p-illustration>\n <p class=\"font-semibold text-storm-default\">\n {{ emptyStateFilteredHeader }}\n </p>\n <p class=\"text-sm text-storm-medium mb-14\">\n {{ emptyStateFilteredContent }}\n </p>\n </div>\n</ng-template>\n\n<ng-template #emptyStateNonFilterTemplate>\n <div\n class=\"\n flex flex-col\n items-center\n text-center\n py-24\n max-w-[20rem]\n self-center\n \"\n >\n <p-illustration\n variant=\"empty-state-overview\"\n class=\"cursor-pointer mb-6\"\n (onClick)=\"emptyStateActionClick.emit()\"\n ></p-illustration>\n <p class=\"font-semibold text-storm-default\">\n {{ emptyStateHeader }}\n </p>\n <p class=\"text-sm text-storm-medium mb-6\">\n {{ emptyStateContent }}\n </p>\n <p-button\n variant=\"secondary\"\n icon=\"plus\"\n size=\"small\"\n (onClick)=\"emptyStateActionClick.emit()\"\n >\n {{ emptyStateAction }}\n </p-button>\n </div>\n</ng-template>\n", styles: [":host{display:flex;flex-direction:column}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.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", "show", "showMobileClose", "showMobileFooter", "size", "variant"] }, { kind: "component", type: PTableContainer, selector: "p-table-container" }, { kind: "component", type: PTableFooter, selector: "p-table-footer", inputs: ["enableExport", "enablePageSize", "enablePagination", "hideOnSinglePage", "page", "pageSize", "pageSizeOptions", "total"] }, { kind: "component", type: PTableHeader, selector: "p-table-header", inputs: ["activeQuickFilterIdentifier", "canEdit", "editButtonTemplate", "enableEdit", "enableFilter", "enableSearch", "filterButtonTemplate", "itemsSelectedAmount", "query", "quickFilters", "selectedFiltersAmount"] }, { kind: "component", type: PTableRow, selector: "p-table-row", inputs: ["enableHover", "variant"] }, { kind: "component", type: TableCell, selector: "p-table-cell-ngx", inputs: ["variant", "index", "rowIndex", "definition", "item", "value", "checkbox", "template"] }, { kind: "directive", type: TableFooterDirective, selector: "p-table-footer" }, { kind: "directive", type: TableHeaderDirective, selector: "p-table-header" }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2824
|
+
Table.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: Table, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2825
|
+
Table.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.2", type: Table, selector: "p-table-ngx", inputs: { items: "items", loading: "loading", amountOfLoadingRows: "amountOfLoadingRows", enableRowSelection: "enableRowSelection", enableRowClick: "enableRowClick", selectedRows: "selectedRows", selectionKey: "selectionKey", canSelectKey: "canSelectKey", quickFilters: "quickFilters", activeQuickFilterIdentifier: "activeQuickFilterIdentifier", enableSearch: "enableSearch", query: "query", enableFilter: "enableFilter", selectedFiltersAmount: "selectedFiltersAmount", filterButtonTemplate: "filterButtonTemplate", enableEdit: "enableEdit", editButtonTemplate: "editButtonTemplate", enablePageSize: "enablePageSize", enablePagination: "enablePagination", enableExport: "enableExport", page: "page", total: "total", pageSize: "pageSize", pageSizeOptions: "pageSizeOptions", hideOnSinglePage: "hideOnSinglePage", emptyStateType: "emptyStateType", emptyStateHeader: "emptyStateHeader", emptyStateContent: "emptyStateContent", emptyStateAction: "emptyStateAction", emptyStateFilteredHeader: "emptyStateFilteredHeader", emptyStateFilteredContent: "emptyStateFilteredContent", filterModalHeaderText: "filterModalHeaderText", filterModalSaveText: "filterModalSaveText", filterModalCancelText: "filterModalCancelText", filterModalResetText: "filterModalResetText", filterModalShowReset: "filterModalShowReset", filterModalShowResetMobile: "filterModalShowResetMobile" }, outputs: { selectedRowsChange: "selectedRowsChange", rowClick: "rowClick", rowSelected: "rowSelected", rowDeselected: "rowDeselected", quickFilter: "quickFilter", queryChange: "queryChange", filter: "filter", edit: "edit", pageChange: "pageChange", pageSizeChange: "pageSizeChange", export: "export", emptyStateActionClick: "emptyStateActionClick", filterModalShow: "filterModalShow", filterModalSave: "filterModalSave", filterModalReset: "filterModalReset" }, host: { listeners: { "document:keydown": "keyDown($event)", "document:keyup": "keyUp($event)", "document:visibilitychange": "visibilityChange($event)" } }, queries: [{ propertyName: "filterModalTemplate", first: true, predicate: TableFilterModalDirective, descendants: true, read: TemplateRef, static: true }, { propertyName: "columnDefinitions", predicate: TableColumn }], usesOnChanges: true, ngImport: i0, template: "<p-table-container>\n <p-table-header\n [quickFilters]=\"quickFilters\"\n [activeQuickFilterIdentifier]=\"activeQuickFilterIdentifier\"\n (quickFilter)=\"(onQuickFilter)\"\n [enableSearch]=\"enableSearch\"\n [query]=\"query\"\n (queryChange)=\"(onQueryChange)\"\n [enableFilter]=\"filterModalTemplate\"\n [selectedFiltersAmount]=\"selectedFiltersAmount\"\n [filterButtonTemplate]=\"filterButtonTemplate\"\n (filter)=\"filterModalShow$.next(true)\"\n [enableEdit]=\"enableEdit\"\n [canEdit]=\"!!selectedRows.length\"\n [editButtonTemplate]=\"editButtonTemplate\"\n (edit)=\"edit.emit()\"\n [itemsSelectedAmount]=\"selectedRows.length\"\n ></p-table-header>\n\n <p-table-row variant=\"header\">\n <ng-container *ngFor=\"let col of columns; let index = index\">\n <p-table-cell-ngx\n [definition]=\"col\"\n [value]=\"col.name\"\n variant=\"header\"\n [index]=\"index\"\n [checkbox]=\"\n index === 0 && enableRowSelection\n ? checkboxTemplate\n : undefined\n \"\n ></p-table-cell-ngx>\n <ng-template #checkboxTemplate>\n <input\n class=\"p-input\"\n type=\"checkbox\"\n (change)=\"_selectAllChange($event)\"\n [checked]=\"_selectionContainsAll()\"\n [indeterminate]=\"_selectionIndeterminate()\"\n />\n </ng-template>\n </ng-container>\n </p-table-row>\n\n <div class=\"flex flex-col\">\n <ng-container *ngIf=\"loading; else contentTemplate\">\n <p-table-row\n *ngFor=\"let r of loadingRows; let rowIndex = index\"\n [enableHover]=\"enableRowSelection || enableRowClick\"\n >\n <ng-container *ngFor=\"let col of columns; let index = index\">\n <p-table-cell-ngx\n [definition]=\"col\"\n variant=\"loading\"\n [checkbox]=\"\n index === 0 && enableRowSelection\n ? checkboxTemplate\n : undefined\n \"\n [index]=\"index\"\n [rowIndex]=\"rowIndex\"\n ></p-table-cell-ngx>\n <ng-template #checkboxTemplate>\n <p-loader\n variant=\"ghost\"\n class=\"rounded w-6 h-6\"\n ></p-loader>\n </ng-template>\n </ng-container>\n </p-table-row>\n </ng-container>\n\n <ng-template #contentTemplate>\n <ng-container *ngIf=\"items?.length; else emptyStateTemplate\">\n <p-table-row\n *ngFor=\"let item of items; let rowIndex = index\"\n [enableHover]=\"enableRowSelection || enableRowClick\"\n (click)=\"_rowClick($event, rowIndex)\"\n >\n <ng-container\n *ngFor=\"let col of columns; let index = index\"\n >\n <p-table-cell-ngx\n [definition]=\"col\"\n [item]=\"item\"\n [checkbox]=\"\n index === 0 && enableRowSelection\n ? checkboxTemplate\n : undefined\n \"\n [index]=\"index\"\n [rowIndex]=\"rowIndex\"\n [template]=\"col.template\"\n ></p-table-cell-ngx>\n\n <ng-template #checkboxTemplate>\n <input\n class=\"p-input\"\n type=\"checkbox\"\n (change)=\"\n _checkboxChange($event.target, rowIndex)\n \"\n [disabled]=\"_checkboxDisabled(item)\"\n [checked]=\"_selectionContains(item, rowIndex)\"\n />\n </ng-template>\n </ng-container>\n </p-table-row>\n </ng-container>\n </ng-template>\n </div>\n\n <p-table-footer\n [hideOnSinglePage]=\"hideOnSinglePage\"\n [enablePageSize]=\"enablePageSize\"\n [pageSize]=\"pageSize\"\n [pageSizeOptions]=\"pageSizeOptions\"\n (pageSizeChange)=\"(pageSizeChange)\"\n [enablePagination]=\"enablePagination\"\n [page]=\"page\"\n [total]=\"total\"\n (pageChange)=\"(pageChange)\"\n [enableExport]=\"enableExport\"\n (export)=\"export.emit()\"\n ></p-table-footer>\n</p-table-container>\n\n<ng-container *ngIf=\"filterModalTemplate\">\n <p-modal\n [header]=\"filterModalHeaderText\"\n [show]=\"filterModalShow$ | async\"\n (close)=\"filterModalShow$.next(false)\"\n >\n <div slot=\"content\" class=\"flex flex-col gap-6\">\n <ng-container\n *ngTemplateOutlet=\"filterModalTemplate\"\n ></ng-container>\n </div>\n <div slot=\"footer\" class=\"flex justify-between gap-4 w-full\">\n <p-button\n *ngIf=\"filterModalShowResetMobile\"\n class=\"flex desktop-xs:hidden w-full tablet:w-auto\"\n variant=\"secondary\"\n (onClick)=\"onFilterModalReset(true)\"\n >\n {{ filterModalResetText }}\n </p-button>\n <p-button\n *ngIf=\"filterModalShowReset\"\n class=\"hidden desktop-xs:flex w-full tablet:w-auto\"\n variant=\"secondary\"\n (onClick)=\"onFilterModalReset()\"\n >\n {{ filterModalResetText }}\n </p-button>\n <p-button\n class=\"ml-auto w-full tablet:w-auto\"\n icon=\"checkmark\"\n (onClick)=\"onFilterModalSave()\"\n >\n {{ filterModalSaveText }}\n </p-button>\n </div>\n </p-modal>\n</ng-container>\n\n<ng-template #emptyStateTemplate>\n <div\n *ngIf=\"emptyStateType === 'filtered'; else emptyStateNonFilterTemplate\"\n class=\"\n flex flex-col\n items-center\n text-center\n py-24\n max-w-[20rem]\n self-center\n \"\n >\n <p-illustration\n variant=\"empty-state-search\"\n class=\"mb-6\"\n ></p-illustration>\n <p class=\"font-semibold text-storm-default\">\n {{ emptyStateFilteredHeader }}\n </p>\n <p class=\"text-sm text-storm-medium mb-14\">\n {{ emptyStateFilteredContent }}\n </p>\n </div>\n</ng-template>\n\n<ng-template #emptyStateNonFilterTemplate>\n <div\n class=\"\n flex flex-col\n items-center\n text-center\n py-24\n max-w-[20rem]\n self-center\n \"\n >\n <p-illustration\n variant=\"empty-state-overview\"\n class=\"cursor-pointer mb-6\"\n (onClick)=\"emptyStateActionClick.emit()\"\n ></p-illustration>\n <p class=\"font-semibold text-storm-default\">\n {{ emptyStateHeader }}\n </p>\n <p class=\"text-sm text-storm-medium mb-6\">\n {{ emptyStateContent }}\n </p>\n <p-button\n variant=\"secondary\"\n icon=\"plus\"\n size=\"small\"\n (onClick)=\"emptyStateActionClick.emit()\"\n >\n {{ emptyStateAction }}\n </p-button>\n </div>\n</ng-template>\n", styles: [":host{display:flex;flex-direction:column}\n"], dependencies: [{ kind: "directive", type: i1$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: PButton, selector: "p-button", inputs: ["chevron", "chevronPosition", "disabled", "href", "icon", "iconFlip", "iconOnly", "iconPosition", "iconRotate", "inheritText", "loading", "size", "target", "variant"] }, { kind: "component", type: PIllustration, selector: "p-illustration", inputs: ["variant"] }, { kind: "component", type: PLoader, selector: "p-loader", inputs: ["color", "modalDescription", "modalTitle", "show", "variant"] }, { kind: "component", type: PModal, selector: "p-modal", inputs: ["applyBlur", "backdropClickClose", "header", "show", "showMobileClose", "showMobileFooter", "size", "variant"] }, { kind: "component", type: PTableContainer, selector: "p-table-container" }, { kind: "component", type: PTableFooter, selector: "p-table-footer", inputs: ["enableExport", "enablePageSize", "enablePagination", "hideOnSinglePage", "page", "pageSize", "pageSizeOptions", "total"] }, { kind: "component", type: PTableHeader, selector: "p-table-header", inputs: ["activeQuickFilterIdentifier", "canEdit", "editButtonTemplate", "enableEdit", "enableFilter", "enableSearch", "filterButtonTemplate", "itemsSelectedAmount", "query", "quickFilters", "selectedFiltersAmount"] }, { kind: "component", type: PTableRow, selector: "p-table-row", inputs: ["enableHover", "variant"] }, { kind: "component", type: TableCell, selector: "p-table-cell-ngx", inputs: ["variant", "index", "rowIndex", "definition", "item", "value", "checkbox", "template"] }, { kind: "directive", type: TableFooterDirective, selector: "p-table-footer" }, { kind: "directive", type: TableHeaderDirective, selector: "p-table-header" }, { kind: "pipe", type: i1$1.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2649
2826
|
Table = __decorate([
|
|
2650
2827
|
UntilDestroy({ checkProperties: true })
|
|
2651
2828
|
], Table);
|
|
2652
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
2829
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: Table, decorators: [{
|
|
2653
2830
|
type: Component,
|
|
2654
2831
|
args: [{ selector: 'p-table-ngx', changeDetection: ChangeDetectionStrategy.OnPush, template: "<p-table-container>\n <p-table-header\n [quickFilters]=\"quickFilters\"\n [activeQuickFilterIdentifier]=\"activeQuickFilterIdentifier\"\n (quickFilter)=\"(onQuickFilter)\"\n [enableSearch]=\"enableSearch\"\n [query]=\"query\"\n (queryChange)=\"(onQueryChange)\"\n [enableFilter]=\"filterModalTemplate\"\n [selectedFiltersAmount]=\"selectedFiltersAmount\"\n [filterButtonTemplate]=\"filterButtonTemplate\"\n (filter)=\"filterModalShow$.next(true)\"\n [enableEdit]=\"enableEdit\"\n [canEdit]=\"!!selectedRows.length\"\n [editButtonTemplate]=\"editButtonTemplate\"\n (edit)=\"edit.emit()\"\n [itemsSelectedAmount]=\"selectedRows.length\"\n ></p-table-header>\n\n <p-table-row variant=\"header\">\n <ng-container *ngFor=\"let col of columns; let index = index\">\n <p-table-cell-ngx\n [definition]=\"col\"\n [value]=\"col.name\"\n variant=\"header\"\n [index]=\"index\"\n [checkbox]=\"\n index === 0 && enableRowSelection\n ? checkboxTemplate\n : undefined\n \"\n ></p-table-cell-ngx>\n <ng-template #checkboxTemplate>\n <input\n class=\"p-input\"\n type=\"checkbox\"\n (change)=\"_selectAllChange($event)\"\n [checked]=\"_selectionContainsAll()\"\n [indeterminate]=\"_selectionIndeterminate()\"\n />\n </ng-template>\n </ng-container>\n </p-table-row>\n\n <div class=\"flex flex-col\">\n <ng-container *ngIf=\"loading; else contentTemplate\">\n <p-table-row\n *ngFor=\"let r of loadingRows; let rowIndex = index\"\n [enableHover]=\"enableRowSelection || enableRowClick\"\n >\n <ng-container *ngFor=\"let col of columns; let index = index\">\n <p-table-cell-ngx\n [definition]=\"col\"\n variant=\"loading\"\n [checkbox]=\"\n index === 0 && enableRowSelection\n ? checkboxTemplate\n : undefined\n \"\n [index]=\"index\"\n [rowIndex]=\"rowIndex\"\n ></p-table-cell-ngx>\n <ng-template #checkboxTemplate>\n <p-loader\n variant=\"ghost\"\n class=\"rounded w-6 h-6\"\n ></p-loader>\n </ng-template>\n </ng-container>\n </p-table-row>\n </ng-container>\n\n <ng-template #contentTemplate>\n <ng-container *ngIf=\"items?.length; else emptyStateTemplate\">\n <p-table-row\n *ngFor=\"let item of items; let rowIndex = index\"\n [enableHover]=\"enableRowSelection || enableRowClick\"\n (click)=\"_rowClick($event, rowIndex)\"\n >\n <ng-container\n *ngFor=\"let col of columns; let index = index\"\n >\n <p-table-cell-ngx\n [definition]=\"col\"\n [item]=\"item\"\n [checkbox]=\"\n index === 0 && enableRowSelection\n ? checkboxTemplate\n : undefined\n \"\n [index]=\"index\"\n [rowIndex]=\"rowIndex\"\n [template]=\"col.template\"\n ></p-table-cell-ngx>\n\n <ng-template #checkboxTemplate>\n <input\n class=\"p-input\"\n type=\"checkbox\"\n (change)=\"\n _checkboxChange($event.target, rowIndex)\n \"\n [disabled]=\"_checkboxDisabled(item)\"\n [checked]=\"_selectionContains(item, rowIndex)\"\n />\n </ng-template>\n </ng-container>\n </p-table-row>\n </ng-container>\n </ng-template>\n </div>\n\n <p-table-footer\n [hideOnSinglePage]=\"hideOnSinglePage\"\n [enablePageSize]=\"enablePageSize\"\n [pageSize]=\"pageSize\"\n [pageSizeOptions]=\"pageSizeOptions\"\n (pageSizeChange)=\"(pageSizeChange)\"\n [enablePagination]=\"enablePagination\"\n [page]=\"page\"\n [total]=\"total\"\n (pageChange)=\"(pageChange)\"\n [enableExport]=\"enableExport\"\n (export)=\"export.emit()\"\n ></p-table-footer>\n</p-table-container>\n\n<ng-container *ngIf=\"filterModalTemplate\">\n <p-modal\n [header]=\"filterModalHeaderText\"\n [show]=\"filterModalShow$ | async\"\n (close)=\"filterModalShow$.next(false)\"\n >\n <div slot=\"content\" class=\"flex flex-col gap-6\">\n <ng-container\n *ngTemplateOutlet=\"filterModalTemplate\"\n ></ng-container>\n </div>\n <div slot=\"footer\" class=\"flex justify-between gap-4 w-full\">\n <p-button\n *ngIf=\"filterModalShowResetMobile\"\n class=\"flex desktop-xs:hidden w-full tablet:w-auto\"\n variant=\"secondary\"\n (onClick)=\"onFilterModalReset(true)\"\n >\n {{ filterModalResetText }}\n </p-button>\n <p-button\n *ngIf=\"filterModalShowReset\"\n class=\"hidden desktop-xs:flex w-full tablet:w-auto\"\n variant=\"secondary\"\n (onClick)=\"onFilterModalReset()\"\n >\n {{ filterModalResetText }}\n </p-button>\n <p-button\n class=\"ml-auto w-full tablet:w-auto\"\n icon=\"checkmark\"\n (onClick)=\"onFilterModalSave()\"\n >\n {{ filterModalSaveText }}\n </p-button>\n </div>\n </p-modal>\n</ng-container>\n\n<ng-template #emptyStateTemplate>\n <div\n *ngIf=\"emptyStateType === 'filtered'; else emptyStateNonFilterTemplate\"\n class=\"\n flex flex-col\n items-center\n text-center\n py-24\n max-w-[20rem]\n self-center\n \"\n >\n <p-illustration\n variant=\"empty-state-search\"\n class=\"mb-6\"\n ></p-illustration>\n <p class=\"font-semibold text-storm-default\">\n {{ emptyStateFilteredHeader }}\n </p>\n <p class=\"text-sm text-storm-medium mb-14\">\n {{ emptyStateFilteredContent }}\n </p>\n </div>\n</ng-template>\n\n<ng-template #emptyStateNonFilterTemplate>\n <div\n class=\"\n flex flex-col\n items-center\n text-center\n py-24\n max-w-[20rem]\n self-center\n \"\n >\n <p-illustration\n variant=\"empty-state-overview\"\n class=\"cursor-pointer mb-6\"\n (onClick)=\"emptyStateActionClick.emit()\"\n ></p-illustration>\n <p class=\"font-semibold text-storm-default\">\n {{ emptyStateHeader }}\n </p>\n <p class=\"text-sm text-storm-medium mb-6\">\n {{ emptyStateContent }}\n </p>\n <p-button\n variant=\"secondary\"\n icon=\"plus\"\n size=\"small\"\n (onClick)=\"emptyStateActionClick.emit()\"\n >\n {{ emptyStateAction }}\n </p-button>\n </div>\n</ng-template>\n", styles: [":host{display:flex;flex-direction:column}\n"] }]
|
|
2655
2832
|
}], ctorParameters: function () { return []; }, propDecorators: { items: [{
|
|
@@ -2861,15 +3038,15 @@ class TableNgxDirective extends BaseValueAccessor {
|
|
|
2861
3038
|
}
|
|
2862
3039
|
}
|
|
2863
3040
|
}
|
|
2864
|
-
TableNgxDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
2865
|
-
TableNgxDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.
|
|
3041
|
+
TableNgxDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: TableNgxDirective, deps: [{ token: i0.ElementRef }, { token: Table, host: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3042
|
+
TableNgxDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.2", 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: [
|
|
2866
3043
|
{
|
|
2867
3044
|
provide: NG_VALUE_ACCESSOR,
|
|
2868
3045
|
useExisting: TableNgxDirective,
|
|
2869
3046
|
multi: true,
|
|
2870
3047
|
},
|
|
2871
3048
|
], usesInheritance: true, ngImport: i0 });
|
|
2872
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
3049
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: TableNgxDirective, decorators: [{
|
|
2873
3050
|
type: Directive,
|
|
2874
3051
|
args: [{
|
|
2875
3052
|
selector: 'p-table-ngx',
|
|
@@ -2935,15 +3112,15 @@ class TableDirective extends BaseValueAccessor {
|
|
|
2935
3112
|
quickFilter === null || quickFilter === void 0 ? void 0 : quickFilter.identifier;
|
|
2936
3113
|
}
|
|
2937
3114
|
}
|
|
2938
|
-
TableDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
2939
|
-
TableDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.
|
|
3115
|
+
TableDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: TableDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3116
|
+
TableDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.2", 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: [
|
|
2940
3117
|
{
|
|
2941
3118
|
provide: NG_VALUE_ACCESSOR,
|
|
2942
3119
|
useExisting: TableDirective,
|
|
2943
3120
|
multi: true,
|
|
2944
3121
|
},
|
|
2945
3122
|
], usesInheritance: true, ngImport: i0 });
|
|
2946
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
3123
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: TableDirective, decorators: [{
|
|
2947
3124
|
type: Directive,
|
|
2948
3125
|
args: [{
|
|
2949
3126
|
/* tslint:disable-next-line:directive-selector */
|
|
@@ -2973,81 +3150,12 @@ const TABLE_DIRECTIVES = [
|
|
|
2973
3150
|
TableFilterModalDirective,
|
|
2974
3151
|
];
|
|
2975
3152
|
|
|
2976
|
-
const DIRECTIVES = [
|
|
2977
|
-
PAccordion,
|
|
2978
|
-
PAvatar,
|
|
2979
|
-
PAvatarGroup,
|
|
2980
|
-
PBackdrop,
|
|
2981
|
-
PButton,
|
|
2982
|
-
PCardBody,
|
|
2983
|
-
PCardContainer,
|
|
2984
|
-
PCardHeader,
|
|
2985
|
-
PContentSlider,
|
|
2986
|
-
PCounter,
|
|
2987
|
-
PDivider,
|
|
2988
|
-
PDrawer,
|
|
2989
|
-
PDrawerBody,
|
|
2990
|
-
PDrawerContainer,
|
|
2991
|
-
PDrawerHeader,
|
|
2992
|
-
PDropdown,
|
|
2993
|
-
PDropdownMenuContainer,
|
|
2994
|
-
PDropdownMenuItem,
|
|
2995
|
-
PHelper,
|
|
2996
|
-
PIcon,
|
|
2997
|
-
PIllustration,
|
|
2998
|
-
PInfoPanel,
|
|
2999
|
-
PInputGroup,
|
|
3000
|
-
PLabel,
|
|
3001
|
-
PLayout,
|
|
3002
|
-
PLoader,
|
|
3003
|
-
PModal,
|
|
3004
|
-
PModalBody,
|
|
3005
|
-
PModalContainer,
|
|
3006
|
-
PModalFooter,
|
|
3007
|
-
PModalHeader,
|
|
3008
|
-
PNavbar,
|
|
3009
|
-
PNavigationItem,
|
|
3010
|
-
PPageSizeSelect,
|
|
3011
|
-
PPagination,
|
|
3012
|
-
PPaginationItem,
|
|
3013
|
-
PProfile,
|
|
3014
|
-
PSegmentContainer,
|
|
3015
|
-
PSegmentItem,
|
|
3016
|
-
PSelect,
|
|
3017
|
-
PSliderIndicator,
|
|
3018
|
-
PStatus,
|
|
3019
|
-
PStepper,
|
|
3020
|
-
PStepperItem,
|
|
3021
|
-
PStepperLine,
|
|
3022
|
-
PTabGroup,
|
|
3023
|
-
PTabItem,
|
|
3024
|
-
PTableContainer,
|
|
3025
|
-
PTableFooter,
|
|
3026
|
-
PTableHeader,
|
|
3027
|
-
PTableRow,
|
|
3028
|
-
PToast,
|
|
3029
|
-
PTooltip
|
|
3030
|
-
];
|
|
3031
|
-
|
|
3032
|
-
class StencilModule {
|
|
3033
|
-
}
|
|
3034
|
-
StencilModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: StencilModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3035
|
-
StencilModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.1", ngImport: i0, type: StencilModule, declarations: [PAccordion, PAvatar, PAvatarGroup, PBackdrop, PButton, PCardBody, PCardContainer, PCardHeader, PContentSlider, PCounter, PDivider, PDrawer, PDrawerBody, PDrawerContainer, PDrawerHeader, PDropdown, PDropdownMenuContainer, PDropdownMenuItem, PHelper, PIcon, PIllustration, PInfoPanel, PInputGroup, PLabel, PLayout, PLoader, PModal, PModalBody, PModalContainer, PModalFooter, PModalHeader, PNavbar, PNavigationItem, PPageSizeSelect, PPagination, PPaginationItem, PProfile, PSegmentContainer, PSegmentItem, PSelect, PSliderIndicator, PStatus, PStepper, PStepperItem, PStepperLine, PTabGroup, PTabItem, PTableContainer, PTableFooter, PTableHeader, PTableRow, PToast, PTooltip], exports: [PAccordion, PAvatar, PAvatarGroup, PBackdrop, PButton, PCardBody, PCardContainer, PCardHeader, PContentSlider, PCounter, PDivider, PDrawer, PDrawerBody, PDrawerContainer, PDrawerHeader, PDropdown, PDropdownMenuContainer, PDropdownMenuItem, PHelper, PIcon, PIllustration, PInfoPanel, PInputGroup, PLabel, PLayout, PLoader, PModal, PModalBody, PModalContainer, PModalFooter, PModalHeader, PNavbar, PNavigationItem, PPageSizeSelect, PPagination, PPaginationItem, PProfile, PSegmentContainer, PSegmentItem, PSelect, PSliderIndicator, PStatus, PStepper, PStepperItem, PStepperLine, PTabGroup, PTabItem, PTableContainer, PTableFooter, PTableHeader, PTableRow, PToast, PTooltip] });
|
|
3036
|
-
StencilModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: StencilModule });
|
|
3037
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: StencilModule, decorators: [{
|
|
3038
|
-
type: NgModule,
|
|
3039
|
-
args: [{
|
|
3040
|
-
declarations: [...DIRECTIVES],
|
|
3041
|
-
exports: [...DIRECTIVES],
|
|
3042
|
-
}]
|
|
3043
|
-
}] });
|
|
3044
|
-
|
|
3045
3153
|
class TableModule {
|
|
3046
3154
|
}
|
|
3047
|
-
TableModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
3048
|
-
TableModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.
|
|
3049
|
-
TableModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.
|
|
3050
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
3155
|
+
TableModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: TableModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3156
|
+
TableModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.2", ngImport: i0, type: TableModule, declarations: [Table, TableCell, TableColumn, TableFooterDirective, TableHeaderDirective, TableDirective, TableNgxDirective, TableFilterModalDirective], imports: [CommonModule, StencilModule], exports: [Table, TableCell, TableColumn, TableFooterDirective, TableHeaderDirective, TableDirective, TableNgxDirective, TableFilterModalDirective] });
|
|
3157
|
+
TableModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: TableModule, imports: [CommonModule, StencilModule] });
|
|
3158
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: TableModule, decorators: [{
|
|
3051
3159
|
type: NgModule,
|
|
3052
3160
|
args: [{
|
|
3053
3161
|
imports: [CommonModule, StencilModule],
|
|
@@ -3114,9 +3222,9 @@ class ToastService {
|
|
|
3114
3222
|
this.toasts$.next(this._toasts);
|
|
3115
3223
|
}
|
|
3116
3224
|
}
|
|
3117
|
-
ToastService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
3118
|
-
ToastService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.
|
|
3119
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
3225
|
+
ToastService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: ToastService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3226
|
+
ToastService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: ToastService, providedIn: 'root' });
|
|
3227
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: ToastService, decorators: [{
|
|
3120
3228
|
type: Injectable,
|
|
3121
3229
|
args: [{
|
|
3122
3230
|
providedIn: 'root',
|
|
@@ -3149,9 +3257,9 @@ class ToastDirective {
|
|
|
3149
3257
|
this.dismiss.next(this.index);
|
|
3150
3258
|
}
|
|
3151
3259
|
}
|
|
3152
|
-
ToastDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
3153
|
-
ToastDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.
|
|
3154
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
3260
|
+
ToastDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: ToastDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
3261
|
+
ToastDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.2", type: ToastDirective, selector: "p-toast", inputs: { delay: "delay", index: "index", dismissOnAction: "dismissOnAction", actionFunc: "actionFunc", actionData: "actionData" }, outputs: { dismiss: "dismiss" }, host: { listeners: { "action": "onAction()" } }, ngImport: i0 });
|
|
3262
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: ToastDirective, decorators: [{
|
|
3155
3263
|
type: Directive,
|
|
3156
3264
|
args: [{
|
|
3157
3265
|
selector: 'p-toast',
|
|
@@ -3185,15 +3293,15 @@ let ToastContainer = class ToastContainer {
|
|
|
3185
3293
|
this._toastService.hide(index);
|
|
3186
3294
|
}
|
|
3187
3295
|
};
|
|
3188
|
-
ToastContainer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
3189
|
-
ToastContainer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.
|
|
3296
|
+
ToastContainer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: ToastContainer, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }, { token: ToastService }], target: i0.ɵɵFactoryTarget.Component });
|
|
3297
|
+
ToastContainer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.2", type: ToastContainer, selector: "p-toast-container", inputs: { placement: "placement" }, ngImport: i0, template: "<p-toast\n *ngFor=\"let toast of toasts$ | async; let index = index\"\n [variant]=\"toast.variant\"\n [header]=\"toast.header\"\n [content]=\"toast.content\"\n [index]=\"index\"\n [delay]=\"toast.options.delay ?? 5000\"\n [dismissOnAction]=\"toast.options.dismissOnAction ?? true\"\n [enableAction]=\"toast.options.enableAction\"\n [actionFunc]=\"toast.options.action\"\n [actionData]=\"toast.options.actionData\"\n [actionIcon]=\"toast.options.icon?.variant\"\n [actionIconFlip]=\"toast.options.icon?.flip\"\n [actionIconRotate]=\"toast.options.icon?.rotate\"\n (dismiss)=\"dismiss($event)\"\n [@pSlideInBottomOutTop]\n></p-toast>\n", dependencies: [{ kind: "directive", type: i1$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: PToast, selector: "p-toast", inputs: ["actionIcon", "actionIconFlip", "actionIconRotate", "content", "enableAction", "header", "variant"] }, { kind: "directive", type: ToastDirective, selector: "p-toast", inputs: ["delay", "index", "dismissOnAction", "actionFunc", "actionData"], outputs: ["dismiss"] }, { kind: "pipe", type: i1$1.AsyncPipe, name: "async" }], animations: [SLIDE_IN_TOP_OUT_BOTTOM], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
3190
3298
|
ToastContainer = __decorate([
|
|
3191
3299
|
ProxyCmp({
|
|
3192
3300
|
defineCustomElementFn: undefined,
|
|
3193
3301
|
inputs: ['placement'],
|
|
3194
3302
|
})
|
|
3195
3303
|
], ToastContainer);
|
|
3196
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
3304
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: ToastContainer, decorators: [{
|
|
3197
3305
|
type: Component,
|
|
3198
3306
|
args: [{ selector: 'p-toast-container', changeDetection: ChangeDetectionStrategy.OnPush, inputs: ['placement'], animations: [SLIDE_IN_TOP_OUT_BOTTOM], template: "<p-toast\n *ngFor=\"let toast of toasts$ | async; let index = index\"\n [variant]=\"toast.variant\"\n [header]=\"toast.header\"\n [content]=\"toast.content\"\n [index]=\"index\"\n [delay]=\"toast.options.delay ?? 5000\"\n [dismissOnAction]=\"toast.options.dismissOnAction ?? true\"\n [enableAction]=\"toast.options.enableAction\"\n [actionFunc]=\"toast.options.action\"\n [actionData]=\"toast.options.actionData\"\n [actionIcon]=\"toast.options.icon?.variant\"\n [actionIconFlip]=\"toast.options.icon?.flip\"\n [actionIconRotate]=\"toast.options.icon?.rotate\"\n (dismiss)=\"dismiss($event)\"\n [@pSlideInBottomOutTop]\n></p-toast>\n" }]
|
|
3199
3307
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.NgZone }, { type: ToastService }]; } });
|
|
@@ -3206,10 +3314,10 @@ const TOAST_SERVICES = [ToastService];
|
|
|
3206
3314
|
|
|
3207
3315
|
class ToastModule {
|
|
3208
3316
|
}
|
|
3209
|
-
ToastModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
3210
|
-
ToastModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.
|
|
3211
|
-
ToastModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.
|
|
3212
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
3317
|
+
ToastModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: ToastModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3318
|
+
ToastModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.2", ngImport: i0, type: ToastModule, declarations: [ToastContainer, ToastDirective], imports: [CommonModule, StencilModule], exports: [ToastContainer, ToastDirective] });
|
|
3319
|
+
ToastModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: ToastModule, imports: [CommonModule, StencilModule] });
|
|
3320
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: ToastModule, decorators: [{
|
|
3213
3321
|
type: NgModule,
|
|
3214
3322
|
args: [{
|
|
3215
3323
|
imports: [CommonModule, StencilModule],
|
|
@@ -3218,7 +3326,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.1", ngImpor
|
|
|
3218
3326
|
}]
|
|
3219
3327
|
}] });
|
|
3220
3328
|
|
|
3221
|
-
const MODULES = [TableModule, ToastModule];
|
|
3329
|
+
const MODULES = [TableModule, ToastModule, OverlayModule];
|
|
3222
3330
|
|
|
3223
3331
|
class CustomCurrencyPipe {
|
|
3224
3332
|
constructor(_currencyPipe) {
|
|
@@ -3228,14 +3336,14 @@ class CustomCurrencyPipe {
|
|
|
3228
3336
|
return this._currencyPipe.transform(value, currencyCode, display, digitsInfo, locale);
|
|
3229
3337
|
}
|
|
3230
3338
|
}
|
|
3231
|
-
CustomCurrencyPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
3232
|
-
CustomCurrencyPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.0.
|
|
3233
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
3339
|
+
CustomCurrencyPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: CustomCurrencyPipe, deps: [{ token: i1$1.CurrencyPipe }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
3340
|
+
CustomCurrencyPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.0.2", ngImport: i0, type: CustomCurrencyPipe, name: "pcurrency" });
|
|
3341
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: CustomCurrencyPipe, decorators: [{
|
|
3234
3342
|
type: Pipe,
|
|
3235
3343
|
args: [{
|
|
3236
3344
|
name: 'pcurrency',
|
|
3237
3345
|
}]
|
|
3238
|
-
}], ctorParameters: function () { return [{ type: i1.CurrencyPipe }]; } });
|
|
3346
|
+
}], ctorParameters: function () { return [{ type: i1$1.CurrencyPipe }]; } });
|
|
3239
3347
|
|
|
3240
3348
|
class CustomDatePipe {
|
|
3241
3349
|
constructor(_datePipe) {
|
|
@@ -3245,14 +3353,14 @@ class CustomDatePipe {
|
|
|
3245
3353
|
return this._datePipe.transform(value, format);
|
|
3246
3354
|
}
|
|
3247
3355
|
}
|
|
3248
|
-
CustomDatePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
3249
|
-
CustomDatePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.0.
|
|
3250
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
3356
|
+
CustomDatePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: CustomDatePipe, deps: [{ token: i1$1.DatePipe }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
3357
|
+
CustomDatePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.0.2", ngImport: i0, type: CustomDatePipe, name: "pdate" });
|
|
3358
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: CustomDatePipe, decorators: [{
|
|
3251
3359
|
type: Pipe,
|
|
3252
3360
|
args: [{
|
|
3253
3361
|
name: 'pdate',
|
|
3254
3362
|
}]
|
|
3255
|
-
}], ctorParameters: function () { return [{ type: i1.DatePipe }]; } });
|
|
3363
|
+
}], ctorParameters: function () { return [{ type: i1$1.DatePipe }]; } });
|
|
3256
3364
|
|
|
3257
3365
|
class SafePipe {
|
|
3258
3366
|
constructor(sanitizer) {
|
|
@@ -3275,14 +3383,14 @@ class SafePipe {
|
|
|
3275
3383
|
}
|
|
3276
3384
|
}
|
|
3277
3385
|
}
|
|
3278
|
-
SafePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
3279
|
-
SafePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.0.
|
|
3280
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
3386
|
+
SafePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: SafePipe, deps: [{ token: i1$2.DomSanitizer }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
3387
|
+
SafePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.0.2", ngImport: i0, type: SafePipe, name: "psafe" });
|
|
3388
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: SafePipe, decorators: [{
|
|
3281
3389
|
type: Pipe,
|
|
3282
3390
|
args: [{
|
|
3283
3391
|
name: 'psafe',
|
|
3284
3392
|
}]
|
|
3285
|
-
}], ctorParameters: function () { return [{ type: i1$
|
|
3393
|
+
}], ctorParameters: function () { return [{ type: i1$2.DomSanitizer }]; } });
|
|
3286
3394
|
|
|
3287
3395
|
const PIPES = [CustomCurrencyPipe, CustomDatePipe, SafePipe];
|
|
3288
3396
|
|
|
@@ -3291,14 +3399,14 @@ class PaperlessModule {
|
|
|
3291
3399
|
static forRoot() {
|
|
3292
3400
|
return {
|
|
3293
3401
|
ngModule: PaperlessModule,
|
|
3294
|
-
providers: [...TOAST_SERVICES],
|
|
3402
|
+
providers: [...TOAST_SERVICES, ...OVERLAY_SERVICES],
|
|
3295
3403
|
};
|
|
3296
3404
|
}
|
|
3297
3405
|
}
|
|
3298
|
-
PaperlessModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
3299
|
-
PaperlessModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.
|
|
3300
|
-
PaperlessModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.
|
|
3301
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
3406
|
+
PaperlessModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: PaperlessModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3407
|
+
PaperlessModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.2", ngImport: i0, type: PaperlessModule, declarations: [PaginationDirective, PageSizeSelectDirective, SelectDirective, CustomCurrencyPipe, CustomDatePipe, SafePipe], imports: [CommonModule, StencilModule, TableModule, ToastModule, OverlayModule], exports: [StencilModule, TableModule, ToastModule, OverlayModule, PaginationDirective, PageSizeSelectDirective, SelectDirective, CustomCurrencyPipe, CustomDatePipe, SafePipe] });
|
|
3408
|
+
PaperlessModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: PaperlessModule, providers: [...NGX_PIPES, ...PIPES], imports: [CommonModule, StencilModule, MODULES, StencilModule, TableModule, ToastModule, OverlayModule] });
|
|
3409
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.2", ngImport: i0, type: PaperlessModule, decorators: [{
|
|
3302
3410
|
type: NgModule,
|
|
3303
3411
|
args: [{
|
|
3304
3412
|
imports: [CommonModule, StencilModule, ...MODULES],
|
|
@@ -3316,5 +3424,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.1", ngImpor
|
|
|
3316
3424
|
* Generated bundle index. Do not edit.
|
|
3317
3425
|
*/
|
|
3318
3426
|
|
|
3319
|
-
export { BaseTableComponent, BaseUploadComponent, BaseValueAccessor, CustomCurrencyPipe, CustomDatePipe, DIRECTIVES$1 as DIRECTIVES, FormBaseComponent, MODULES, PAccordion, PAvatar, PAvatarGroup, PBackdrop, PButton, PCardBody, PCardContainer, PCardHeader, PContentSlider, PCounter, PDivider, PDrawer, PDrawerBody, PDrawerContainer, PDrawerHeader, PDropdown, PDropdownMenuContainer, PDropdownMenuItem, PHelper, PIPES, PIcon, PIllustration, PInfoPanel, PInputGroup, PLabel, PLayout, PLoader, PModal, PModalBody, PModalContainer, PModalFooter, PModalHeader, PNavbar, PNavigationItem, PPageSizeSelect, PPagination, PPaginationItem, PProfile, PSegmentContainer, PSegmentItem, PSelect, PSliderIndicator, PStatus, PStepper, PStepperItem, PStepperLine, PTabGroup, PTabItem, PTableContainer, PTableFooter, PTableHeader, PTableRow, PToast, PTooltip, PageSizeSelectDirective, PaginationDirective, PaperlessModule, SafePipe, SelectDirective, StencilModule, TABLE_COMPONENTS, TABLE_DIRECTIVES, TOAST_COMPONENTS, TOAST_DIRECTIVES, TOAST_SERVICES, Table, TableCell, TableColumn, TableDirective, TableFilterModalDirective, TableFooterDirective, TableHeaderDirective, TableModule, TableNgxDirective, ToastContainer, ToastDirective, ToastModule, ToastService, ToastVariants, createFormFilters };
|
|
3427
|
+
export { BaseTableComponent, BaseUploadComponent, BaseValueAccessor, CustomCurrencyPipe, CustomDatePipe, DIRECTIVES$1 as DIRECTIVES, FormBaseComponent, MODULES, OVERLAY_SERVICES, OverlayModule, OverlayRef, OverlayService, PAccordion, PAvatar, PAvatarGroup, PBackdrop, PButton, PCardBody, PCardContainer, PCardHeader, PContentSlider, PCounter, PDivider, PDrawer, PDrawerBody, PDrawerContainer, PDrawerHeader, PDropdown, PDropdownMenuContainer, PDropdownMenuItem, PHelper, PIPES, PIcon, PIllustration, PInfoPanel, PInputGroup, PLabel, PLayout, PLoader, PModal, PModalBody, PModalContainer, PModalFooter, PModalHeader, PNavbar, PNavigationItem, PPageSizeSelect, PPagination, PPaginationItem, PProfile, PSegmentContainer, PSegmentItem, PSelect, PSliderIndicator, PStatus, PStepper, PStepperItem, PStepperLine, PTabGroup, PTabItem, PTableContainer, PTableFooter, PTableHeader, PTableRow, PToast, PTooltip, PageSizeSelectDirective, PaginationDirective, PaperlessModule, SafePipe, SelectDirective, StencilModule, TABLE_COMPONENTS, TABLE_DIRECTIVES, TOAST_COMPONENTS, TOAST_DIRECTIVES, TOAST_SERVICES, Table, TableCell, TableColumn, TableDirective, TableFilterModalDirective, TableFooterDirective, TableHeaderDirective, TableModule, TableNgxDirective, ToastContainer, ToastDirective, ToastModule, ToastService, ToastVariants, createFormFilters };
|
|
3320
3428
|
//# sourceMappingURL=paperless-angular.mjs.map
|