@paperless/angular 2.0.1-beta.1 → 2.0.1-beta.100
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/directives/index.mjs +19 -7
- package/esm2020/lib/directives/p-checkbox.directive.mjs +39 -0
- package/esm2020/lib/directives/p-field.directive.mjs +38 -0
- package/esm2020/lib/directives/p-pagination-pages.directive.mjs +41 -0
- package/esm2020/lib/directives/p-pagination-size.directive.mjs +41 -0
- package/esm2020/lib/directives/p-radio.directive.mjs +60 -0
- package/esm2020/lib/directives/p-toggle.directive.mjs +38 -0
- package/esm2020/lib/modules/table/components/table/table.component.mjs +159 -81
- package/esm2020/lib/modules/table/components/table-cell/table-cell.component.mjs +4 -18
- package/esm2020/lib/modules/table/directives/index.mjs +4 -1
- package/esm2020/lib/modules/table/directives/p-table-custom-actions.directive.mjs +13 -0
- package/esm2020/lib/modules/table/table.module.mjs +3 -2
- package/esm2020/lib/modules/toast/types.mjs +4 -3
- package/esm2020/lib/paperless.module.mjs +15 -11
- package/esm2020/lib/stencil/angular-component-lib/utils.mjs +9 -1
- package/esm2020/lib/stencil/components.mjs +489 -119
- package/esm2020/lib/stencil/index.mjs +19 -4
- package/esm2020/lib/stencil.module.mjs +1 -1
- package/fesm2015/paperless-angular.mjs +878 -256
- package/fesm2015/paperless-angular.mjs.map +1 -1
- package/fesm2020/paperless-angular.mjs +873 -255
- package/fesm2020/paperless-angular.mjs.map +1 -1
- package/lib/directives/index.d.ts +9 -4
- package/lib/directives/p-checkbox.directive.d.ts +9 -0
- package/lib/directives/p-field.directive.d.ts +9 -0
- package/lib/directives/p-pagination-pages.directive.d.ts +10 -0
- package/lib/directives/{p-page-size-select.directive.d.ts → p-pagination-size.directive.d.ts} +3 -3
- package/lib/directives/p-radio.directive.d.ts +18 -0
- package/lib/directives/p-toggle.directive.d.ts +9 -0
- package/lib/modules/table/components/table/table.component.d.ts +45 -14
- package/lib/modules/table/components/table-cell/table-cell.component.d.ts +2 -6
- package/lib/modules/table/directives/index.d.ts +1 -0
- package/lib/modules/table/directives/p-table-custom-actions.directive.d.ts +5 -0
- package/lib/modules/table/table.module.d.ts +5 -4
- package/lib/modules/toast/types.d.ts +3 -2
- package/lib/paperless.module.d.ts +15 -11
- package/lib/stencil/components.d.ts +302 -106
- package/lib/stencil/index.d.ts +1 -1
- package/lib/stencil.module.d.ts +1 -1
- package/package.json +1 -1
- package/paperless.css +265 -62
- package/esm2020/lib/directives/p-page-size-select.directive.mjs +0 -41
- package/esm2020/lib/directives/p-pagination.directive.mjs +0 -41
- package/lib/directives/p-pagination.directive.d.ts +0 -10
|
@@ -1,23 +1,25 @@
|
|
|
1
1
|
import { trigger, transition, style, animate } from '@angular/animations';
|
|
2
2
|
import * as i0 from '@angular/core';
|
|
3
|
-
import { Component, EventEmitter, ChangeDetectionStrategy, Input, Output, ViewChild, Directive, HostListener, NgModule, Injector, Injectable, HostBinding, TemplateRef, ContentChild, Host, ContentChildren, Pipe } from '@angular/core';
|
|
3
|
+
import { Component, EventEmitter, ChangeDetectionStrategy, Input, Output, ViewChild, Directive, HostListener, Self, NgModule, Injector, Injectable, HostBinding, TemplateRef, ContentChild, Host, ElementRef, ViewChildren, ContentChildren, Pipe } from '@angular/core';
|
|
4
|
+
import * as i1 from '@angular/forms';
|
|
4
5
|
import { FormControl, FormGroup, FormArray, NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
5
|
-
import { BehaviorSubject, fromEvent, Subject, timer, distinctUntilChanged,
|
|
6
|
-
import * as i1$
|
|
6
|
+
import { BehaviorSubject, filter, fromEvent, Subject, timer, distinctUntilChanged, debounceTime, take, map as map$1 } from 'rxjs';
|
|
7
|
+
import * as i1$2 from '@angular/common';
|
|
7
8
|
import { CommonModule, DatePipe, CurrencyPipe } from '@angular/common';
|
|
8
|
-
import { __decorate } from 'tslib';
|
|
9
|
+
import { __decorate, __awaiter } from 'tslib';
|
|
9
10
|
import { ObserversModule } from '@angular/cdk/observers';
|
|
10
|
-
import * as i1 from '@angular/cdk/overlay';
|
|
11
|
+
import * as i1$1 from '@angular/cdk/overlay';
|
|
11
12
|
import { OverlayModule as OverlayModule$1, OverlayConfig } from '@angular/cdk/overlay';
|
|
12
13
|
import { PlatformModule } from '@angular/cdk/platform';
|
|
13
14
|
import { PortalModule, CdkPortal, ComponentPortal } from '@angular/cdk/portal';
|
|
14
15
|
import { untilDestroyed, UntilDestroy } from '@ngneat/until-destroy';
|
|
15
|
-
import { startWith, tap, pairwise, map, filter, debounce } from 'rxjs/operators';
|
|
16
|
-
import { getTableCellColumnClasses, objectGetByPath, isMobile, tableColumSizesOptions } from '@paperless/core';
|
|
16
|
+
import { startWith, tap, pairwise, map, filter as filter$1, debounce } from 'rxjs/operators';
|
|
17
|
+
import { getTableCellColumnClasses, objectGetByPath, isMobile, floatingMenuContainerClass, cn, tableColumSizesOptions } from '@paperless/core';
|
|
18
|
+
import { PTableRow as PTableRow$1 } from 'projects/paperless/src/public-api';
|
|
17
19
|
import * as i2 from '@angular/router';
|
|
18
20
|
import { RouterModule } from '@angular/router';
|
|
19
21
|
import { v4 } from 'uuid';
|
|
20
|
-
import * as i1$
|
|
22
|
+
import * as i1$3 from '@angular/platform-browser';
|
|
21
23
|
|
|
22
24
|
const FADE_IN = trigger('pFadeIn', [
|
|
23
25
|
transition(':enter', [
|
|
@@ -255,6 +257,41 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
255
257
|
args: ['focusout']
|
|
256
258
|
}] } });
|
|
257
259
|
|
|
260
|
+
class CheckboxDirective extends BaseValueAccessor {
|
|
261
|
+
constructor(el) {
|
|
262
|
+
super(el);
|
|
263
|
+
}
|
|
264
|
+
writeValue(value) {
|
|
265
|
+
this.el.nativeElement.checked = this.lastValue =
|
|
266
|
+
value === null || value === 'indeterminate' ? false : value;
|
|
267
|
+
this.el.nativeElement.indeterminate = value === 'indeterminate';
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
CheckboxDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: CheckboxDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
271
|
+
CheckboxDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.9", type: CheckboxDirective, selector: "p-checkbox", host: { listeners: { "checkedChange": "handleChangeEvent($event.detail)" } }, providers: [
|
|
272
|
+
{
|
|
273
|
+
provide: NG_VALUE_ACCESSOR,
|
|
274
|
+
useExisting: CheckboxDirective,
|
|
275
|
+
multi: true,
|
|
276
|
+
},
|
|
277
|
+
], usesInheritance: true, ngImport: i0 });
|
|
278
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: CheckboxDirective, decorators: [{
|
|
279
|
+
type: Directive,
|
|
280
|
+
args: [{
|
|
281
|
+
selector: 'p-checkbox',
|
|
282
|
+
host: {
|
|
283
|
+
'(checkedChange)': 'handleChangeEvent($event.detail)',
|
|
284
|
+
},
|
|
285
|
+
providers: [
|
|
286
|
+
{
|
|
287
|
+
provide: NG_VALUE_ACCESSOR,
|
|
288
|
+
useExisting: CheckboxDirective,
|
|
289
|
+
multi: true,
|
|
290
|
+
},
|
|
291
|
+
],
|
|
292
|
+
}]
|
|
293
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
|
|
294
|
+
|
|
258
295
|
class CropperDirective extends BaseValueAccessor {
|
|
259
296
|
constructor(el) {
|
|
260
297
|
super(el);
|
|
@@ -322,80 +359,171 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
322
359
|
}]
|
|
323
360
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
|
|
324
361
|
|
|
325
|
-
class
|
|
362
|
+
class FieldDirective extends BaseValueAccessor {
|
|
326
363
|
constructor(el) {
|
|
327
364
|
super(el);
|
|
328
365
|
}
|
|
329
366
|
writeValue(value) {
|
|
330
|
-
this.el.nativeElement.
|
|
367
|
+
this.el.nativeElement.value = this.lastValue =
|
|
368
|
+
value === null ? JSON.parse(value) : value;
|
|
369
|
+
}
|
|
370
|
+
}
|
|
371
|
+
FieldDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FieldDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
372
|
+
FieldDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.9", type: FieldDirective, selector: "p-field", host: { listeners: { "valueChange": "handleChangeEvent($event.detail)" } }, providers: [
|
|
373
|
+
{
|
|
374
|
+
provide: NG_VALUE_ACCESSOR,
|
|
375
|
+
useExisting: FieldDirective,
|
|
376
|
+
multi: true,
|
|
377
|
+
},
|
|
378
|
+
], usesInheritance: true, ngImport: i0 });
|
|
379
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FieldDirective, decorators: [{
|
|
380
|
+
type: Directive,
|
|
381
|
+
args: [{
|
|
382
|
+
selector: 'p-field',
|
|
383
|
+
host: {
|
|
384
|
+
'(valueChange)': 'handleChangeEvent($event.detail)',
|
|
385
|
+
},
|
|
386
|
+
providers: [
|
|
387
|
+
{
|
|
388
|
+
provide: NG_VALUE_ACCESSOR,
|
|
389
|
+
useExisting: FieldDirective,
|
|
390
|
+
multi: true,
|
|
391
|
+
},
|
|
392
|
+
],
|
|
393
|
+
}]
|
|
394
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
|
|
395
|
+
|
|
396
|
+
class PaginationPagesDirective extends BaseValueAccessor {
|
|
397
|
+
constructor(el) {
|
|
398
|
+
super(el);
|
|
399
|
+
}
|
|
400
|
+
writeValue(value) {
|
|
401
|
+
this.el.nativeElement.page = this.lastValue = value == null ? 1 : value;
|
|
331
402
|
}
|
|
332
403
|
registerOnChange(fn) {
|
|
333
404
|
super.registerOnChange(value => fn(parseInt(value, 10)));
|
|
334
405
|
}
|
|
335
406
|
}
|
|
336
|
-
|
|
337
|
-
|
|
407
|
+
PaginationPagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PaginationPagesDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
408
|
+
PaginationPagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.9", type: PaginationPagesDirective, selector: "p-pagination-pages", host: { listeners: { "pageChange": "handleChangeEvent($event.detail)" } }, providers: [
|
|
338
409
|
{
|
|
339
410
|
provide: NG_VALUE_ACCESSOR,
|
|
340
|
-
useExisting:
|
|
411
|
+
useExisting: PaginationPagesDirective,
|
|
341
412
|
multi: true,
|
|
342
413
|
},
|
|
343
414
|
], usesInheritance: true, ngImport: i0 });
|
|
344
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type:
|
|
415
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PaginationPagesDirective, decorators: [{
|
|
345
416
|
type: Directive,
|
|
346
417
|
args: [{
|
|
347
418
|
/* tslint:disable-next-line:directive-selector */
|
|
348
|
-
selector: 'p-
|
|
419
|
+
selector: 'p-pagination-pages',
|
|
349
420
|
host: {
|
|
350
|
-
'(
|
|
421
|
+
'(pageChange)': 'handleChangeEvent($event.detail)',
|
|
351
422
|
},
|
|
352
423
|
providers: [
|
|
353
424
|
{
|
|
354
425
|
provide: NG_VALUE_ACCESSOR,
|
|
355
|
-
useExisting:
|
|
426
|
+
useExisting: PaginationPagesDirective,
|
|
356
427
|
multi: true,
|
|
357
428
|
},
|
|
358
429
|
],
|
|
359
430
|
}]
|
|
360
431
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
|
|
361
432
|
|
|
362
|
-
class
|
|
433
|
+
class PaginationSizeDirective extends BaseValueAccessor {
|
|
363
434
|
constructor(el) {
|
|
364
435
|
super(el);
|
|
365
436
|
}
|
|
366
437
|
writeValue(value) {
|
|
367
|
-
this.el.nativeElement.page = this.lastValue = value == null ?
|
|
438
|
+
this.el.nativeElement.page = this.lastValue = value == null ? 12 : value;
|
|
368
439
|
}
|
|
369
440
|
registerOnChange(fn) {
|
|
370
441
|
super.registerOnChange(value => fn(parseInt(value, 10)));
|
|
371
442
|
}
|
|
372
443
|
}
|
|
373
|
-
|
|
374
|
-
|
|
444
|
+
PaginationSizeDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PaginationSizeDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
445
|
+
PaginationSizeDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.9", type: PaginationSizeDirective, selector: "p-pagination-size", host: { listeners: { "sizeChange": "handleChangeEvent($event.detail)" } }, providers: [
|
|
375
446
|
{
|
|
376
447
|
provide: NG_VALUE_ACCESSOR,
|
|
377
|
-
useExisting:
|
|
448
|
+
useExisting: PaginationSizeDirective,
|
|
378
449
|
multi: true,
|
|
379
450
|
},
|
|
380
451
|
], usesInheritance: true, ngImport: i0 });
|
|
381
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type:
|
|
452
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PaginationSizeDirective, decorators: [{
|
|
382
453
|
type: Directive,
|
|
383
454
|
args: [{
|
|
384
455
|
/* tslint:disable-next-line:directive-selector */
|
|
385
|
-
selector: 'p-pagination',
|
|
456
|
+
selector: 'p-pagination-size',
|
|
386
457
|
host: {
|
|
387
|
-
'(
|
|
458
|
+
'(sizeChange)': 'handleChangeEvent($event.detail)',
|
|
388
459
|
},
|
|
389
460
|
providers: [
|
|
390
461
|
{
|
|
391
462
|
provide: NG_VALUE_ACCESSOR,
|
|
392
|
-
useExisting:
|
|
463
|
+
useExisting: PaginationSizeDirective,
|
|
393
464
|
multi: true,
|
|
394
465
|
},
|
|
395
466
|
],
|
|
396
467
|
}]
|
|
397
468
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
|
|
398
469
|
|
|
470
|
+
class RadioDirective extends BaseValueAccessor {
|
|
471
|
+
constructor(_control, el) {
|
|
472
|
+
super(el);
|
|
473
|
+
this._control = _control;
|
|
474
|
+
_control.valueAccessor = this;
|
|
475
|
+
}
|
|
476
|
+
ngOnInit() {
|
|
477
|
+
this._valueChanges = this._control
|
|
478
|
+
.control.valueChanges.pipe(filter(value => this._modelValue !== value))
|
|
479
|
+
.subscribe((value) => this.writeValue(value));
|
|
480
|
+
}
|
|
481
|
+
writeValue(value) {
|
|
482
|
+
const elValue = this._getValue();
|
|
483
|
+
this._modelValue = value;
|
|
484
|
+
this.el.nativeElement.checked =
|
|
485
|
+
this._modelValue === elValue;
|
|
486
|
+
}
|
|
487
|
+
handleChangeEvent() {
|
|
488
|
+
const elValue = this._getValue();
|
|
489
|
+
this._modelValue =
|
|
490
|
+
this._modelValue === elValue
|
|
491
|
+
? undefined
|
|
492
|
+
: elValue;
|
|
493
|
+
this.onChange(this._modelValue);
|
|
494
|
+
}
|
|
495
|
+
ngOnDestroy() {
|
|
496
|
+
if (this._valueChanges) {
|
|
497
|
+
this._valueChanges.unsubscribe();
|
|
498
|
+
}
|
|
499
|
+
}
|
|
500
|
+
_getValue() {
|
|
501
|
+
let value = this.el.nativeElement.value;
|
|
502
|
+
if (value === 'true') {
|
|
503
|
+
value = true;
|
|
504
|
+
}
|
|
505
|
+
if (value === 'false') {
|
|
506
|
+
value = false;
|
|
507
|
+
}
|
|
508
|
+
return value;
|
|
509
|
+
}
|
|
510
|
+
}
|
|
511
|
+
RadioDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: RadioDirective, deps: [{ token: i1.NgControl, self: true }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
512
|
+
RadioDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.9", type: RadioDirective, selector: "p-radio", host: { listeners: { "checkedChange": "handleChangeEvent($event.detail)" } }, usesInheritance: true, ngImport: i0 });
|
|
513
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: RadioDirective, decorators: [{
|
|
514
|
+
type: Directive,
|
|
515
|
+
args: [{
|
|
516
|
+
selector: 'p-radio',
|
|
517
|
+
host: {
|
|
518
|
+
'(checkedChange)': 'handleChangeEvent($event.detail)',
|
|
519
|
+
},
|
|
520
|
+
}]
|
|
521
|
+
}], ctorParameters: function () {
|
|
522
|
+
return [{ type: i1.NgControl, decorators: [{
|
|
523
|
+
type: Self
|
|
524
|
+
}] }, { type: i0.ElementRef }];
|
|
525
|
+
} });
|
|
526
|
+
|
|
399
527
|
class SelectDirective extends BaseValueAccessor {
|
|
400
528
|
constructor(el) {
|
|
401
529
|
super(el);
|
|
@@ -429,15 +557,54 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
429
557
|
}]
|
|
430
558
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
|
|
431
559
|
|
|
560
|
+
class ToggleDirective extends BaseValueAccessor {
|
|
561
|
+
constructor(el) {
|
|
562
|
+
super(el);
|
|
563
|
+
}
|
|
564
|
+
writeValue(value) {
|
|
565
|
+
this.el.nativeElement.checked = this.lastValue =
|
|
566
|
+
value === null ? false : value;
|
|
567
|
+
}
|
|
568
|
+
}
|
|
569
|
+
ToggleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ToggleDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
570
|
+
ToggleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.9", type: ToggleDirective, selector: "p-toggle", host: { listeners: { "checkedChange": "handleChangeEvent($event.detail)" } }, providers: [
|
|
571
|
+
{
|
|
572
|
+
provide: NG_VALUE_ACCESSOR,
|
|
573
|
+
useExisting: ToggleDirective,
|
|
574
|
+
multi: true,
|
|
575
|
+
},
|
|
576
|
+
], usesInheritance: true, ngImport: i0 });
|
|
577
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ToggleDirective, decorators: [{
|
|
578
|
+
type: Directive,
|
|
579
|
+
args: [{
|
|
580
|
+
selector: 'p-toggle',
|
|
581
|
+
host: {
|
|
582
|
+
'(checkedChange)': 'handleChangeEvent($event.detail)',
|
|
583
|
+
},
|
|
584
|
+
providers: [
|
|
585
|
+
{
|
|
586
|
+
provide: NG_VALUE_ACCESSOR,
|
|
587
|
+
useExisting: ToggleDirective,
|
|
588
|
+
multi: true,
|
|
589
|
+
},
|
|
590
|
+
],
|
|
591
|
+
}]
|
|
592
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
|
|
593
|
+
|
|
432
594
|
const DIRECTIVES$1 = [
|
|
433
|
-
|
|
434
|
-
|
|
595
|
+
PaginationSizeDirective,
|
|
596
|
+
PaginationPagesDirective,
|
|
435
597
|
SelectDirective,
|
|
436
598
|
DatepickerDirective,
|
|
437
599
|
CropperDirective,
|
|
600
|
+
FieldDirective,
|
|
601
|
+
RadioDirective,
|
|
602
|
+
CheckboxDirective,
|
|
603
|
+
ToggleDirective,
|
|
438
604
|
];
|
|
439
605
|
|
|
440
606
|
/* eslint-disable */
|
|
607
|
+
/* tslint:disable */
|
|
441
608
|
const proxyInputs = (Cmp, inputs) => {
|
|
442
609
|
const Prototype = Cmp.prototype;
|
|
443
610
|
inputs.forEach((item) => {
|
|
@@ -448,6 +615,14 @@ const proxyInputs = (Cmp, inputs) => {
|
|
|
448
615
|
set(val) {
|
|
449
616
|
this.z.runOutsideAngular(() => (this.el[item] = val));
|
|
450
617
|
},
|
|
618
|
+
/**
|
|
619
|
+
* In the event that proxyInputs is called
|
|
620
|
+
* multiple times re-defining these inputs
|
|
621
|
+
* will cause an error to be thrown. As a result
|
|
622
|
+
* we set configurable: true to indicate these
|
|
623
|
+
* properties can be changed.
|
|
624
|
+
*/
|
|
625
|
+
configurable: true,
|
|
451
626
|
});
|
|
452
627
|
});
|
|
453
628
|
};
|
|
@@ -544,10 +719,10 @@ let PAvatar = class PAvatar {
|
|
|
544
719
|
}
|
|
545
720
|
};
|
|
546
721
|
PAvatar.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PAvatar, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
547
|
-
PAvatar.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PAvatar, selector: "p-avatar", inputs: { defaultImage: "defaultImage", letters: "letters", size: "size", src: "src"
|
|
722
|
+
PAvatar.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PAvatar, selector: "p-avatar", inputs: { defaultImage: "defaultImage", letters: "letters", size: "size", src: "src" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
548
723
|
PAvatar = __decorate([
|
|
549
724
|
ProxyCmp({
|
|
550
|
-
inputs: ['defaultImage', 'letters', 'size', 'src'
|
|
725
|
+
inputs: ['defaultImage', 'letters', 'size', 'src']
|
|
551
726
|
})
|
|
552
727
|
], PAvatar);
|
|
553
728
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PAvatar, decorators: [{
|
|
@@ -557,7 +732,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
557
732
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
558
733
|
template: '<ng-content></ng-content>',
|
|
559
734
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
560
|
-
inputs: ['defaultImage', 'letters', 'size', 'src'
|
|
735
|
+
inputs: ['defaultImage', 'letters', 'size', 'src'],
|
|
561
736
|
}]
|
|
562
737
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
563
738
|
let PAvatarGroup = class PAvatarGroup {
|
|
@@ -593,10 +768,10 @@ let PBackdrop = class PBackdrop {
|
|
|
593
768
|
}
|
|
594
769
|
};
|
|
595
770
|
PBackdrop.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PBackdrop, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
596
|
-
PBackdrop.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PBackdrop, selector: "p-backdrop", inputs: { applyBlur: "applyBlur", closing: "closing", scrollLock: "scrollLock", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
771
|
+
PBackdrop.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PBackdrop, selector: "p-backdrop", inputs: { applyBlur: "applyBlur", class: "class", closing: "closing", scrollLock: "scrollLock", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
597
772
|
PBackdrop = __decorate([
|
|
598
773
|
ProxyCmp({
|
|
599
|
-
inputs: ['applyBlur', 'closing', 'scrollLock', 'variant']
|
|
774
|
+
inputs: ['applyBlur', 'class', 'closing', 'scrollLock', 'variant']
|
|
600
775
|
})
|
|
601
776
|
], PBackdrop);
|
|
602
777
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PBackdrop, decorators: [{
|
|
@@ -606,7 +781,29 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
606
781
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
607
782
|
template: '<ng-content></ng-content>',
|
|
608
783
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
609
|
-
inputs: ['applyBlur', 'closing', 'scrollLock', 'variant'],
|
|
784
|
+
inputs: ['applyBlur', 'class', 'closing', 'scrollLock', 'variant'],
|
|
785
|
+
}]
|
|
786
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
787
|
+
let PBadge = class PBadge {
|
|
788
|
+
constructor(c, r, z) {
|
|
789
|
+
this.z = z;
|
|
790
|
+
c.detach();
|
|
791
|
+
this.el = r.nativeElement;
|
|
792
|
+
}
|
|
793
|
+
};
|
|
794
|
+
PBadge.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PBadge, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
795
|
+
PBadge.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PBadge, selector: "p-badge", ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
796
|
+
PBadge = __decorate([
|
|
797
|
+
ProxyCmp({})
|
|
798
|
+
], PBadge);
|
|
799
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PBadge, decorators: [{
|
|
800
|
+
type: Component,
|
|
801
|
+
args: [{
|
|
802
|
+
selector: 'p-badge',
|
|
803
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
804
|
+
template: '<ng-content></ng-content>',
|
|
805
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
806
|
+
inputs: [],
|
|
610
807
|
}]
|
|
611
808
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
612
809
|
let PButton = class PButton {
|
|
@@ -618,10 +815,10 @@ let PButton = class PButton {
|
|
|
618
815
|
}
|
|
619
816
|
};
|
|
620
817
|
PButton.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PButton, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
621
|
-
PButton.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PButton, selector: "p-button", inputs: { as: "as", buttonGroupPosition: "buttonGroupPosition", 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", type: "type", underline: "underline", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
818
|
+
PButton.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PButton, selector: "p-button", inputs: { active: "active", as: "as", buttonGroupPosition: "buttonGroupPosition", chevron: "chevron", chevronPosition: "chevronPosition", class: "class", disabled: "disabled", href: "href", icon: "icon", iconFlip: "iconFlip", iconOnly: "iconOnly", iconPosition: "iconPosition", iconRotate: "iconRotate", inheritText: "inheritText", label: "label", loading: "loading", size: "size", target: "target", type: "type", underline: "underline", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
622
819
|
PButton = __decorate([
|
|
623
820
|
ProxyCmp({
|
|
624
|
-
inputs: ['as', 'buttonGroupPosition', 'chevron', 'chevronPosition', 'disabled', 'href', 'icon', 'iconFlip', 'iconOnly', 'iconPosition', 'iconRotate', 'inheritText', 'loading', 'size', 'target', 'type', 'underline', 'variant']
|
|
821
|
+
inputs: ['active', 'as', 'buttonGroupPosition', 'chevron', 'chevronPosition', 'class', 'disabled', 'href', 'icon', 'iconFlip', 'iconOnly', 'iconPosition', 'iconRotate', 'inheritText', 'label', 'loading', 'size', 'target', 'type', 'underline', 'variant']
|
|
625
822
|
})
|
|
626
823
|
], PButton);
|
|
627
824
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PButton, decorators: [{
|
|
@@ -631,7 +828,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
631
828
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
632
829
|
template: '<ng-content></ng-content>',
|
|
633
830
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
634
|
-
inputs: ['as', 'buttonGroupPosition', 'chevron', 'chevronPosition', 'disabled', 'href', 'icon', 'iconFlip', 'iconOnly', 'iconPosition', 'iconRotate', 'inheritText', 'loading', 'size', 'target', 'type', 'underline', 'variant'],
|
|
831
|
+
inputs: ['active', 'as', 'buttonGroupPosition', 'chevron', 'chevronPosition', 'class', 'disabled', 'href', 'icon', 'iconFlip', 'iconOnly', 'iconPosition', 'iconRotate', 'inheritText', 'label', 'loading', 'size', 'target', 'type', 'underline', 'variant'],
|
|
635
832
|
}]
|
|
636
833
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
637
834
|
let PButtonGroup = class PButtonGroup {
|
|
@@ -691,11 +888,9 @@ let PCardBody = class PCardBody {
|
|
|
691
888
|
}
|
|
692
889
|
};
|
|
693
890
|
PCardBody.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PCardBody, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
694
|
-
PCardBody.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PCardBody, selector: "p-card-body",
|
|
891
|
+
PCardBody.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PCardBody, selector: "p-card-body", ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
695
892
|
PCardBody = __decorate([
|
|
696
|
-
ProxyCmp({
|
|
697
|
-
inputs: ['inheritText']
|
|
698
|
-
})
|
|
893
|
+
ProxyCmp({})
|
|
699
894
|
], PCardBody);
|
|
700
895
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PCardBody, decorators: [{
|
|
701
896
|
type: Component,
|
|
@@ -704,7 +899,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
704
899
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
705
900
|
template: '<ng-content></ng-content>',
|
|
706
901
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
707
|
-
inputs: [
|
|
902
|
+
inputs: [],
|
|
708
903
|
}]
|
|
709
904
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
710
905
|
let PCardContainer = class PCardContainer {
|
|
@@ -715,10 +910,10 @@ let PCardContainer = class PCardContainer {
|
|
|
715
910
|
}
|
|
716
911
|
};
|
|
717
912
|
PCardContainer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PCardContainer, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
718
|
-
PCardContainer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PCardContainer, selector: "p-card-container", inputs: { hoverable: "hoverable", shadow: "shadow" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
913
|
+
PCardContainer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PCardContainer, selector: "p-card-container", inputs: { active: "active", hoverable: "hoverable", shadow: "shadow" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
719
914
|
PCardContainer = __decorate([
|
|
720
915
|
ProxyCmp({
|
|
721
|
-
inputs: ['hoverable', 'shadow']
|
|
916
|
+
inputs: ['active', 'hoverable', 'shadow']
|
|
722
917
|
})
|
|
723
918
|
], PCardContainer);
|
|
724
919
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PCardContainer, decorators: [{
|
|
@@ -728,7 +923,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
728
923
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
729
924
|
template: '<ng-content></ng-content>',
|
|
730
925
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
731
|
-
inputs: ['hoverable', 'shadow'],
|
|
926
|
+
inputs: ['active', 'hoverable', 'shadow'],
|
|
732
927
|
}]
|
|
733
928
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
734
929
|
let PCardHeader = class PCardHeader {
|
|
@@ -739,10 +934,10 @@ let PCardHeader = class PCardHeader {
|
|
|
739
934
|
}
|
|
740
935
|
};
|
|
741
936
|
PCardHeader.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PCardHeader, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
742
|
-
PCardHeader.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PCardHeader, selector: "p-card-header", inputs: {
|
|
937
|
+
PCardHeader.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PCardHeader, selector: "p-card-header", inputs: { header: "header", icon: "icon", iconFlip: "iconFlip", iconRotate: "iconRotate", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
743
938
|
PCardHeader = __decorate([
|
|
744
939
|
ProxyCmp({
|
|
745
|
-
inputs: ['
|
|
940
|
+
inputs: ['header', 'icon', 'iconFlip', 'iconRotate', 'variant']
|
|
746
941
|
})
|
|
747
942
|
], PCardHeader);
|
|
748
943
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PCardHeader, decorators: [{
|
|
@@ -752,7 +947,32 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
752
947
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
753
948
|
template: '<ng-content></ng-content>',
|
|
754
949
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
755
|
-
inputs: ['
|
|
950
|
+
inputs: ['header', 'icon', 'iconFlip', 'iconRotate', 'variant'],
|
|
951
|
+
}]
|
|
952
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
953
|
+
let PCheckbox = class PCheckbox {
|
|
954
|
+
constructor(c, r, z) {
|
|
955
|
+
this.z = z;
|
|
956
|
+
c.detach();
|
|
957
|
+
this.el = r.nativeElement;
|
|
958
|
+
proxyOutputs(this, this.el, ['checkedChange', 'indeterminateChange']);
|
|
959
|
+
}
|
|
960
|
+
};
|
|
961
|
+
PCheckbox.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PCheckbox, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
962
|
+
PCheckbox.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PCheckbox, selector: "p-checkbox", inputs: { checked: "checked", disabled: "disabled", id: "id", indeterminate: "indeterminate", name: "name", required: "required" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
963
|
+
PCheckbox = __decorate([
|
|
964
|
+
ProxyCmp({
|
|
965
|
+
inputs: ['checked', 'disabled', 'id', 'indeterminate', 'name', 'required']
|
|
966
|
+
})
|
|
967
|
+
], PCheckbox);
|
|
968
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PCheckbox, decorators: [{
|
|
969
|
+
type: Component,
|
|
970
|
+
args: [{
|
|
971
|
+
selector: 'p-checkbox',
|
|
972
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
973
|
+
template: '<ng-content></ng-content>',
|
|
974
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
975
|
+
inputs: ['checked', 'disabled', 'id', 'indeterminate', 'name', 'required'],
|
|
756
976
|
}]
|
|
757
977
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
758
978
|
let PContentSlider = class PContentSlider {
|
|
@@ -837,10 +1057,10 @@ let PDatepicker = class PDatepicker {
|
|
|
837
1057
|
}
|
|
838
1058
|
};
|
|
839
1059
|
PDatepicker.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PDatepicker, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
840
|
-
PDatepicker.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PDatepicker, selector: "p-datepicker", inputs: { disableWeekends: "disableWeekends", disabled: "disabled", disabledDates: "disabledDates", error: "error", format: "format", helper: "helper", hideIconWhenFilled: "hideIconWhenFilled", label: "label", maxDate: "maxDate", minDate: "minDate", mode: "mode", placeholder: "placeholder", placement: "placement", prefix: "prefix", preselectToday: "preselectToday", required: "required", size: "size", strategy: "strategy", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1060
|
+
PDatepicker.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PDatepicker, selector: "p-datepicker", inputs: { disableWeekends: "disableWeekends", disabled: "disabled", disabledDates: "disabledDates", enableNativePicker: "enableNativePicker", error: "error", format: "format", helper: "helper", hideIconWhenFilled: "hideIconWhenFilled", label: "label", loading: "loading", maxDate: "maxDate", minDate: "minDate", mode: "mode", placeholder: "placeholder", placement: "placement", prefix: "prefix", preselectToday: "preselectToday", required: "required", size: "size", strategy: "strategy", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
841
1061
|
PDatepicker = __decorate([
|
|
842
1062
|
ProxyCmp({
|
|
843
|
-
inputs: ['disableWeekends', 'disabled', 'disabledDates', 'error', 'format', 'helper', 'hideIconWhenFilled', 'label', 'maxDate', 'minDate', 'mode', 'placeholder', 'placement', 'prefix', 'preselectToday', 'required', 'size', 'strategy', 'value']
|
|
1063
|
+
inputs: ['disableWeekends', 'disabled', 'disabledDates', 'enableNativePicker', 'error', 'format', 'helper', 'hideIconWhenFilled', 'label', 'loading', 'maxDate', 'minDate', 'mode', 'placeholder', 'placement', 'prefix', 'preselectToday', 'required', 'size', 'strategy', 'value']
|
|
844
1064
|
})
|
|
845
1065
|
], PDatepicker);
|
|
846
1066
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PDatepicker, decorators: [{
|
|
@@ -850,7 +1070,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
850
1070
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
851
1071
|
template: '<ng-content></ng-content>',
|
|
852
1072
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
853
|
-
inputs: ['disableWeekends', 'disabled', 'disabledDates', 'error', 'format', 'helper', 'hideIconWhenFilled', 'label', 'maxDate', 'minDate', 'mode', 'placeholder', 'placement', 'prefix', 'preselectToday', 'required', 'size', 'strategy', 'value'],
|
|
1073
|
+
inputs: ['disableWeekends', 'disabled', 'disabledDates', 'enableNativePicker', 'error', 'format', 'helper', 'hideIconWhenFilled', 'label', 'loading', 'maxDate', 'minDate', 'mode', 'placeholder', 'placement', 'prefix', 'preselectToday', 'required', 'size', 'strategy', 'value'],
|
|
854
1074
|
}]
|
|
855
1075
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
856
1076
|
let PDivider = class PDivider {
|
|
@@ -984,10 +1204,10 @@ let PDropdown = class PDropdown {
|
|
|
984
1204
|
}
|
|
985
1205
|
};
|
|
986
1206
|
PDropdown.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PDropdown, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
987
|
-
PDropdown.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PDropdown, selector: "p-dropdown", inputs: { allowOverflow: "allowOverflow", applyChevron: "applyChevron", applyFullWidth: "applyFullWidth", applyMaxWidth: "applyMaxWidth", calculateWidth: "calculateWidth", chevronDirection: "chevronDirection", chevronPosition: "chevronPosition", disableTriggerClick: "disableTriggerClick", insideClick: "insideClick", offset: "offset", placement: "placement", scrollable: "scrollable", show: "show", strategy: "strategy" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1207
|
+
PDropdown.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PDropdown, selector: "p-dropdown", inputs: { allowOverflow: "allowOverflow", applyChevron: "applyChevron", applyFullWidth: "applyFullWidth", applyMaxWidth: "applyMaxWidth", calculateWidth: "calculateWidth", chevronDirection: "chevronDirection", chevronPosition: "chevronPosition", disableTriggerClick: "disableTriggerClick", insideClick: "insideClick", offset: "offset", placement: "placement", scrollable: "scrollable", show: "show", strategy: "strategy", usePortal: "usePortal", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
988
1208
|
PDropdown = __decorate([
|
|
989
1209
|
ProxyCmp({
|
|
990
|
-
inputs: ['allowOverflow', 'applyChevron', 'applyFullWidth', 'applyMaxWidth', 'calculateWidth', 'chevronDirection', 'chevronPosition', 'disableTriggerClick', 'insideClick', 'offset', 'placement', 'scrollable', 'show', 'strategy']
|
|
1210
|
+
inputs: ['allowOverflow', 'applyChevron', 'applyFullWidth', 'applyMaxWidth', 'calculateWidth', 'chevronDirection', 'chevronPosition', 'disableTriggerClick', 'insideClick', 'offset', 'placement', 'scrollable', 'show', 'strategy', 'usePortal', 'variant']
|
|
991
1211
|
})
|
|
992
1212
|
], PDropdown);
|
|
993
1213
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PDropdown, decorators: [{
|
|
@@ -997,7 +1217,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
997
1217
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
998
1218
|
template: '<ng-content></ng-content>',
|
|
999
1219
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1000
|
-
inputs: ['allowOverflow', 'applyChevron', 'applyFullWidth', 'applyMaxWidth', 'calculateWidth', 'chevronDirection', 'chevronPosition', 'disableTriggerClick', 'insideClick', 'offset', 'placement', 'scrollable', 'show', 'strategy'],
|
|
1220
|
+
inputs: ['allowOverflow', 'applyChevron', 'applyFullWidth', 'applyMaxWidth', 'calculateWidth', 'chevronDirection', 'chevronPosition', 'disableTriggerClick', 'insideClick', 'offset', 'placement', 'scrollable', 'show', 'strategy', 'usePortal', 'variant'],
|
|
1001
1221
|
}]
|
|
1002
1222
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1003
1223
|
let PDropdownMenuContainer = class PDropdownMenuContainer {
|
|
@@ -1008,10 +1228,10 @@ let PDropdownMenuContainer = class PDropdownMenuContainer {
|
|
|
1008
1228
|
}
|
|
1009
1229
|
};
|
|
1010
1230
|
PDropdownMenuContainer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PDropdownMenuContainer, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1011
|
-
PDropdownMenuContainer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PDropdownMenuContainer, selector: "p-dropdown-menu-container", inputs: { allowOverflow: "allowOverflow", fullWidth: "fullWidth", maxWidth: "maxWidth", scrollable: "scrollable" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1231
|
+
PDropdownMenuContainer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PDropdownMenuContainer, selector: "p-dropdown-menu-container", inputs: { allowOverflow: "allowOverflow", class: "class", fullWidth: "fullWidth", maxWidth: "maxWidth", scrollable: "scrollable", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1012
1232
|
PDropdownMenuContainer = __decorate([
|
|
1013
1233
|
ProxyCmp({
|
|
1014
|
-
inputs: ['allowOverflow', 'fullWidth', 'maxWidth', 'scrollable']
|
|
1234
|
+
inputs: ['allowOverflow', 'class', 'fullWidth', 'maxWidth', 'scrollable', 'variant']
|
|
1015
1235
|
})
|
|
1016
1236
|
], PDropdownMenuContainer);
|
|
1017
1237
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PDropdownMenuContainer, decorators: [{
|
|
@@ -1021,7 +1241,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
1021
1241
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1022
1242
|
template: '<ng-content></ng-content>',
|
|
1023
1243
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1024
|
-
inputs: ['allowOverflow', 'fullWidth', 'maxWidth', 'scrollable'],
|
|
1244
|
+
inputs: ['allowOverflow', 'class', 'fullWidth', 'maxWidth', 'scrollable', 'variant'],
|
|
1025
1245
|
}]
|
|
1026
1246
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1027
1247
|
let PDropdownMenuItem = class PDropdownMenuItem {
|
|
@@ -1032,10 +1252,10 @@ let PDropdownMenuItem = class PDropdownMenuItem {
|
|
|
1032
1252
|
}
|
|
1033
1253
|
};
|
|
1034
1254
|
PDropdownMenuItem.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PDropdownMenuItem, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1035
|
-
PDropdownMenuItem.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PDropdownMenuItem, selector: "p-dropdown-menu-item", inputs: { active: "active", enableHover: "enableHover", icon: "icon", useContainer: "useContainer", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1255
|
+
PDropdownMenuItem.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PDropdownMenuItem, selector: "p-dropdown-menu-item", inputs: { active: "active", checkbox: "checkbox", disabled: "disabled", enableHover: "enableHover", icon: "icon", iconWave: "iconWave", useContainer: "useContainer", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1036
1256
|
PDropdownMenuItem = __decorate([
|
|
1037
1257
|
ProxyCmp({
|
|
1038
|
-
inputs: ['active', 'enableHover', 'icon', 'useContainer', 'variant']
|
|
1258
|
+
inputs: ['active', 'checkbox', 'disabled', 'enableHover', 'icon', 'iconWave', 'useContainer', 'variant']
|
|
1039
1259
|
})
|
|
1040
1260
|
], PDropdownMenuItem);
|
|
1041
1261
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PDropdownMenuItem, decorators: [{
|
|
@@ -1045,7 +1265,82 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
1045
1265
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1046
1266
|
template: '<ng-content></ng-content>',
|
|
1047
1267
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1048
|
-
inputs: ['active', 'enableHover', 'icon', 'useContainer', 'variant'],
|
|
1268
|
+
inputs: ['active', 'checkbox', 'disabled', 'enableHover', 'icon', 'iconWave', 'useContainer', 'variant'],
|
|
1269
|
+
}]
|
|
1270
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1271
|
+
let PEmptyState = class PEmptyState {
|
|
1272
|
+
constructor(c, r, z) {
|
|
1273
|
+
this.z = z;
|
|
1274
|
+
c.detach();
|
|
1275
|
+
this.el = r.nativeElement;
|
|
1276
|
+
proxyOutputs(this, this.el, ['action']);
|
|
1277
|
+
}
|
|
1278
|
+
};
|
|
1279
|
+
PEmptyState.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PEmptyState, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1280
|
+
PEmptyState.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PEmptyState, selector: "p-empty-state", inputs: { actionIcon: "actionIcon", actionLoading: "actionLoading", actionText: "actionText", actionVariant: "actionVariant", content: "content", enableAction: "enableAction", header: "header", illustration: "illustration" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1281
|
+
PEmptyState = __decorate([
|
|
1282
|
+
ProxyCmp({
|
|
1283
|
+
inputs: ['actionIcon', 'actionLoading', 'actionText', 'actionVariant', 'content', 'enableAction', 'header', 'illustration']
|
|
1284
|
+
})
|
|
1285
|
+
], PEmptyState);
|
|
1286
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PEmptyState, decorators: [{
|
|
1287
|
+
type: Component,
|
|
1288
|
+
args: [{
|
|
1289
|
+
selector: 'p-empty-state',
|
|
1290
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1291
|
+
template: '<ng-content></ng-content>',
|
|
1292
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1293
|
+
inputs: ['actionIcon', 'actionLoading', 'actionText', 'actionVariant', 'content', 'enableAction', 'header', 'illustration'],
|
|
1294
|
+
}]
|
|
1295
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1296
|
+
let PField = class PField {
|
|
1297
|
+
constructor(c, r, z) {
|
|
1298
|
+
this.z = z;
|
|
1299
|
+
c.detach();
|
|
1300
|
+
this.el = r.nativeElement;
|
|
1301
|
+
proxyOutputs(this, this.el, ['valueChange', 'inputRefChange']);
|
|
1302
|
+
}
|
|
1303
|
+
};
|
|
1304
|
+
PField.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PField, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1305
|
+
PField.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PField, selector: "p-field", inputs: { autofocus: "autofocus", disabled: "disabled", error: "error", errorPlacement: "errorPlacement", focusMethod: "focusMethod", focused: "focused", forceShowTooltip: "forceShowTooltip", helper: "helper", icon: "icon", iconFlip: "iconFlip", iconPosition: "iconPosition", iconRotate: "iconRotate", id: "id", label: "label", loading: "loading", optionalTemplate: "optionalTemplate", placeholder: "placeholder", prefix: "prefix", properties: "properties", required: "required", selectAllOnFocus: "selectAllOnFocus", size: "size", suffix: "suffix", type: "type", value: "value", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1306
|
+
PField = __decorate([
|
|
1307
|
+
ProxyCmp({
|
|
1308
|
+
inputs: ['autofocus', 'disabled', 'error', 'errorPlacement', 'focusMethod', 'focused', 'forceShowTooltip', 'helper', 'icon', 'iconFlip', 'iconPosition', 'iconRotate', 'id', 'label', 'loading', 'optionalTemplate', 'placeholder', 'prefix', 'properties', 'required', 'selectAllOnFocus', 'size', 'suffix', 'type', 'value', 'variant']
|
|
1309
|
+
})
|
|
1310
|
+
], PField);
|
|
1311
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PField, decorators: [{
|
|
1312
|
+
type: Component,
|
|
1313
|
+
args: [{
|
|
1314
|
+
selector: 'p-field',
|
|
1315
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1316
|
+
template: '<ng-content></ng-content>',
|
|
1317
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1318
|
+
inputs: ['autofocus', 'disabled', 'error', 'errorPlacement', 'focusMethod', 'focused', 'forceShowTooltip', 'helper', 'icon', 'iconFlip', 'iconPosition', 'iconRotate', 'id', 'label', 'loading', 'optionalTemplate', 'placeholder', 'prefix', 'properties', 'required', 'selectAllOnFocus', 'size', 'suffix', 'type', 'value', 'variant'],
|
|
1319
|
+
}]
|
|
1320
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1321
|
+
let PFieldContainer = class PFieldContainer {
|
|
1322
|
+
constructor(c, r, z) {
|
|
1323
|
+
this.z = z;
|
|
1324
|
+
c.detach();
|
|
1325
|
+
this.el = r.nativeElement;
|
|
1326
|
+
proxyOutputs(this, this.el, ['focus']);
|
|
1327
|
+
}
|
|
1328
|
+
};
|
|
1329
|
+
PFieldContainer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PFieldContainer, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1330
|
+
PFieldContainer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PFieldContainer, selector: "p-field-container", inputs: { error: "error", errorPlacement: "errorPlacement", forceShowTooltip: "forceShowTooltip", helper: "helper", id: "id", label: "label", loading: "loading", loadingSize: "loadingSize", optionalTemplate: "optionalTemplate", required: "required", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1331
|
+
PFieldContainer = __decorate([
|
|
1332
|
+
ProxyCmp({
|
|
1333
|
+
inputs: ['error', 'errorPlacement', 'forceShowTooltip', 'helper', 'id', 'label', 'loading', 'loadingSize', 'optionalTemplate', 'required', 'variant']
|
|
1334
|
+
})
|
|
1335
|
+
], PFieldContainer);
|
|
1336
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PFieldContainer, decorators: [{
|
|
1337
|
+
type: Component,
|
|
1338
|
+
args: [{
|
|
1339
|
+
selector: 'p-field-container',
|
|
1340
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1341
|
+
template: '<ng-content></ng-content>',
|
|
1342
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1343
|
+
inputs: ['error', 'errorPlacement', 'forceShowTooltip', 'helper', 'id', 'label', 'loading', 'loadingSize', 'optionalTemplate', 'required', 'variant'],
|
|
1049
1344
|
}]
|
|
1050
1345
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1051
1346
|
let PFloatingMenuContainer = class PFloatingMenuContainer {
|
|
@@ -1053,13 +1348,14 @@ let PFloatingMenuContainer = class PFloatingMenuContainer {
|
|
|
1053
1348
|
this.z = z;
|
|
1054
1349
|
c.detach();
|
|
1055
1350
|
this.el = r.nativeElement;
|
|
1351
|
+
proxyOutputs(this, this.el, ['close']);
|
|
1056
1352
|
}
|
|
1057
1353
|
};
|
|
1058
1354
|
PFloatingMenuContainer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PFloatingMenuContainer, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1059
|
-
PFloatingMenuContainer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PFloatingMenuContainer, selector: "p-floating-menu-container", inputs: { usedInTable: "usedInTable" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1355
|
+
PFloatingMenuContainer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PFloatingMenuContainer, selector: "p-floating-menu-container", inputs: { amount: "amount", amountSelectedTemplate: "amountSelectedTemplate", enableAmountSelected: "enableAmountSelected", enableClose: "enableClose", usedInTable: "usedInTable" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1060
1356
|
PFloatingMenuContainer = __decorate([
|
|
1061
1357
|
ProxyCmp({
|
|
1062
|
-
inputs: ['usedInTable']
|
|
1358
|
+
inputs: ['amount', 'amountSelectedTemplate', 'enableAmountSelected', 'enableClose', 'usedInTable']
|
|
1063
1359
|
})
|
|
1064
1360
|
], PFloatingMenuContainer);
|
|
1065
1361
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PFloatingMenuContainer, decorators: [{
|
|
@@ -1069,7 +1365,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
1069
1365
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1070
1366
|
template: '<ng-content></ng-content>',
|
|
1071
1367
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1072
|
-
inputs: ['usedInTable'],
|
|
1368
|
+
inputs: ['amount', 'amountSelectedTemplate', 'enableAmountSelected', 'enableClose', 'usedInTable'],
|
|
1073
1369
|
}]
|
|
1074
1370
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1075
1371
|
let PFloatingMenuItem = class PFloatingMenuItem {
|
|
@@ -1080,10 +1376,10 @@ let PFloatingMenuItem = class PFloatingMenuItem {
|
|
|
1080
1376
|
}
|
|
1081
1377
|
};
|
|
1082
1378
|
PFloatingMenuItem.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PFloatingMenuItem, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1083
|
-
PFloatingMenuItem.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PFloatingMenuItem, selector: "p-floating-menu-item", inputs: { disabled: "disabled", hover: "hover" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1379
|
+
PFloatingMenuItem.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PFloatingMenuItem, selector: "p-floating-menu-item", inputs: { disabled: "disabled", hover: "hover", icon: "icon", iconFlip: "iconFlip", iconPosition: "iconPosition", iconRotate: "iconRotate", loading: "loading" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1084
1380
|
PFloatingMenuItem = __decorate([
|
|
1085
1381
|
ProxyCmp({
|
|
1086
|
-
inputs: ['disabled', 'hover']
|
|
1382
|
+
inputs: ['disabled', 'hover', 'icon', 'iconFlip', 'iconPosition', 'iconRotate', 'loading']
|
|
1087
1383
|
})
|
|
1088
1384
|
], PFloatingMenuItem);
|
|
1089
1385
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PFloatingMenuItem, decorators: [{
|
|
@@ -1093,7 +1389,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
1093
1389
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1094
1390
|
template: '<ng-content></ng-content>',
|
|
1095
1391
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1096
|
-
inputs: ['disabled', 'hover'],
|
|
1392
|
+
inputs: ['disabled', 'hover', 'icon', 'iconFlip', 'iconPosition', 'iconRotate', 'loading'],
|
|
1097
1393
|
}]
|
|
1098
1394
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1099
1395
|
let PHelper = class PHelper {
|
|
@@ -1104,10 +1400,10 @@ let PHelper = class PHelper {
|
|
|
1104
1400
|
}
|
|
1105
1401
|
};
|
|
1106
1402
|
PHelper.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PHelper, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1107
|
-
PHelper.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PHelper, selector: "p-helper", inputs: { placement: "placement" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1403
|
+
PHelper.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PHelper, selector: "p-helper", inputs: { placement: "placement", strategy: "strategy" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1108
1404
|
PHelper = __decorate([
|
|
1109
1405
|
ProxyCmp({
|
|
1110
|
-
inputs: ['placement']
|
|
1406
|
+
inputs: ['placement', 'strategy']
|
|
1111
1407
|
})
|
|
1112
1408
|
], PHelper);
|
|
1113
1409
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PHelper, decorators: [{
|
|
@@ -1117,7 +1413,31 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
1117
1413
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1118
1414
|
template: '<ng-content></ng-content>',
|
|
1119
1415
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1120
|
-
inputs: ['placement'],
|
|
1416
|
+
inputs: ['placement', 'strategy'],
|
|
1417
|
+
}]
|
|
1418
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1419
|
+
let PIbanIcon = class PIbanIcon {
|
|
1420
|
+
constructor(c, r, z) {
|
|
1421
|
+
this.z = z;
|
|
1422
|
+
c.detach();
|
|
1423
|
+
this.el = r.nativeElement;
|
|
1424
|
+
}
|
|
1425
|
+
};
|
|
1426
|
+
PIbanIcon.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PIbanIcon, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1427
|
+
PIbanIcon.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PIbanIcon, selector: "p-iban-icon", inputs: { iban: "iban", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1428
|
+
PIbanIcon = __decorate([
|
|
1429
|
+
ProxyCmp({
|
|
1430
|
+
inputs: ['iban', 'variant']
|
|
1431
|
+
})
|
|
1432
|
+
], PIbanIcon);
|
|
1433
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PIbanIcon, decorators: [{
|
|
1434
|
+
type: Component,
|
|
1435
|
+
args: [{
|
|
1436
|
+
selector: 'p-iban-icon',
|
|
1437
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1438
|
+
template: '<ng-content></ng-content>',
|
|
1439
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1440
|
+
inputs: ['iban', 'variant'],
|
|
1121
1441
|
}]
|
|
1122
1442
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1123
1443
|
let PIcon = class PIcon {
|
|
@@ -1168,6 +1488,30 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
1168
1488
|
inputs: ['variant'],
|
|
1169
1489
|
}]
|
|
1170
1490
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1491
|
+
let PIllustrationDeprecated = class PIllustrationDeprecated {
|
|
1492
|
+
constructor(c, r, z) {
|
|
1493
|
+
this.z = z;
|
|
1494
|
+
c.detach();
|
|
1495
|
+
this.el = r.nativeElement;
|
|
1496
|
+
}
|
|
1497
|
+
};
|
|
1498
|
+
PIllustrationDeprecated.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PIllustrationDeprecated, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1499
|
+
PIllustrationDeprecated.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PIllustrationDeprecated, selector: "p-illustration-deprecated", inputs: { variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1500
|
+
PIllustrationDeprecated = __decorate([
|
|
1501
|
+
ProxyCmp({
|
|
1502
|
+
inputs: ['variant']
|
|
1503
|
+
})
|
|
1504
|
+
], PIllustrationDeprecated);
|
|
1505
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PIllustrationDeprecated, decorators: [{
|
|
1506
|
+
type: Component,
|
|
1507
|
+
args: [{
|
|
1508
|
+
selector: 'p-illustration-deprecated',
|
|
1509
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1510
|
+
template: '<ng-content></ng-content>',
|
|
1511
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1512
|
+
inputs: ['variant'],
|
|
1513
|
+
}]
|
|
1514
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1171
1515
|
let PInfoPanel = class PInfoPanel {
|
|
1172
1516
|
constructor(c, r, z) {
|
|
1173
1517
|
this.z = z;
|
|
@@ -1249,10 +1593,10 @@ let PLabel = class PLabel {
|
|
|
1249
1593
|
}
|
|
1250
1594
|
};
|
|
1251
1595
|
PLabel.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PLabel, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1252
|
-
PLabel.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PLabel, selector: "p-label", inputs: {
|
|
1596
|
+
PLabel.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PLabel, selector: "p-label", inputs: { icon: "icon", iconFlip: "iconFlip", iconOnly: "iconOnly", iconRotate: "iconRotate", keepMobileContent: "keepMobileContent", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1253
1597
|
PLabel = __decorate([
|
|
1254
1598
|
ProxyCmp({
|
|
1255
|
-
inputs: ['
|
|
1599
|
+
inputs: ['icon', 'iconFlip', 'iconOnly', 'iconRotate', 'keepMobileContent', 'variant']
|
|
1256
1600
|
})
|
|
1257
1601
|
], PLabel);
|
|
1258
1602
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PLabel, decorators: [{
|
|
@@ -1262,7 +1606,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
1262
1606
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1263
1607
|
template: '<ng-content></ng-content>',
|
|
1264
1608
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1265
|
-
inputs: ['
|
|
1609
|
+
inputs: ['icon', 'iconFlip', 'iconOnly', 'iconRotate', 'keepMobileContent', 'variant'],
|
|
1266
1610
|
}]
|
|
1267
1611
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1268
1612
|
let PLayout = class PLayout {
|
|
@@ -1270,6 +1614,7 @@ let PLayout = class PLayout {
|
|
|
1270
1614
|
this.z = z;
|
|
1271
1615
|
c.detach();
|
|
1272
1616
|
this.el = r.nativeElement;
|
|
1617
|
+
proxyOutputs(this, this.el, ['scroll']);
|
|
1273
1618
|
}
|
|
1274
1619
|
};
|
|
1275
1620
|
PLayout.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PLayout, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
@@ -1322,10 +1667,10 @@ let PModal = class PModal {
|
|
|
1322
1667
|
}
|
|
1323
1668
|
};
|
|
1324
1669
|
PModal.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PModal, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1325
|
-
PModal.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PModal, selector: "p-modal", inputs: { applyBlur: "applyBlur", backdropClickClose: "backdropClickClose", header: "header",
|
|
1670
|
+
PModal.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PModal, selector: "p-modal", inputs: { applyBlur: "applyBlur", backdropClickClose: "backdropClickClose", header: "header", scrollLock: "scrollLock", show: "show", showClose: "showClose", showMobileFooter: "showMobileFooter", size: "size" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1326
1671
|
PModal = __decorate([
|
|
1327
1672
|
ProxyCmp({
|
|
1328
|
-
inputs: ['applyBlur', 'backdropClickClose', 'header', '
|
|
1673
|
+
inputs: ['applyBlur', 'backdropClickClose', 'header', 'scrollLock', 'show', 'showClose', 'showMobileFooter', 'size']
|
|
1329
1674
|
})
|
|
1330
1675
|
], PModal);
|
|
1331
1676
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PModal, decorators: [{
|
|
@@ -1335,7 +1680,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
1335
1680
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1336
1681
|
template: '<ng-content></ng-content>',
|
|
1337
1682
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1338
|
-
inputs: ['applyBlur', 'backdropClickClose', 'header', '
|
|
1683
|
+
inputs: ['applyBlur', 'backdropClickClose', 'header', 'scrollLock', 'show', 'showClose', 'showMobileFooter', 'size'],
|
|
1339
1684
|
}]
|
|
1340
1685
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1341
1686
|
let PModalBody = class PModalBody {
|
|
@@ -1346,10 +1691,10 @@ let PModalBody = class PModalBody {
|
|
|
1346
1691
|
}
|
|
1347
1692
|
};
|
|
1348
1693
|
PModalBody.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PModalBody, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1349
|
-
PModalBody.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PModalBody, selector: "p-modal-body", inputs: {
|
|
1694
|
+
PModalBody.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PModalBody, selector: "p-modal-body", inputs: { roundedBottom: "roundedBottom", roundedTop: "roundedTop" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1350
1695
|
PModalBody = __decorate([
|
|
1351
1696
|
ProxyCmp({
|
|
1352
|
-
inputs: ['
|
|
1697
|
+
inputs: ['roundedBottom', 'roundedTop']
|
|
1353
1698
|
})
|
|
1354
1699
|
], PModalBody);
|
|
1355
1700
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PModalBody, decorators: [{
|
|
@@ -1359,7 +1704,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
1359
1704
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1360
1705
|
template: '<ng-content></ng-content>',
|
|
1361
1706
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1362
|
-
inputs: ['
|
|
1707
|
+
inputs: ['roundedBottom', 'roundedTop'],
|
|
1363
1708
|
}]
|
|
1364
1709
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1365
1710
|
let PModalContainer = class PModalContainer {
|
|
@@ -1441,11 +1786,9 @@ let PNavbar = class PNavbar {
|
|
|
1441
1786
|
}
|
|
1442
1787
|
};
|
|
1443
1788
|
PNavbar.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PNavbar, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1444
|
-
PNavbar.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PNavbar, selector: "p-navbar",
|
|
1789
|
+
PNavbar.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PNavbar, selector: "p-navbar", ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1445
1790
|
PNavbar = __decorate([
|
|
1446
|
-
ProxyCmp({
|
|
1447
|
-
inputs: ['closeText', 'menuText']
|
|
1448
|
-
})
|
|
1791
|
+
ProxyCmp({})
|
|
1449
1792
|
], PNavbar);
|
|
1450
1793
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PNavbar, decorators: [{
|
|
1451
1794
|
type: Component,
|
|
@@ -1454,7 +1797,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
1454
1797
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1455
1798
|
template: '<ng-content></ng-content>',
|
|
1456
1799
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1457
|
-
inputs: [
|
|
1800
|
+
inputs: [],
|
|
1458
1801
|
}]
|
|
1459
1802
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1460
1803
|
let PNavigationItem = class PNavigationItem {
|
|
@@ -1465,10 +1808,10 @@ let PNavigationItem = class PNavigationItem {
|
|
|
1465
1808
|
}
|
|
1466
1809
|
};
|
|
1467
1810
|
PNavigationItem.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PNavigationItem, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1468
|
-
PNavigationItem.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PNavigationItem, selector: "p-navigation-item", inputs: { active: "active", counter: "counter", href: "href", icon: "icon",
|
|
1811
|
+
PNavigationItem.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PNavigationItem, selector: "p-navigation-item", inputs: { active: "active", as: "as", class: "class", counter: "counter", href: "href", icon: "icon", loading: "loading", target: "target" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1469
1812
|
PNavigationItem = __decorate([
|
|
1470
1813
|
ProxyCmp({
|
|
1471
|
-
inputs: ['active', '
|
|
1814
|
+
inputs: ['active', 'as', 'class', 'counter', 'href', 'icon', 'loading', 'target']
|
|
1472
1815
|
})
|
|
1473
1816
|
], PNavigationItem);
|
|
1474
1817
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PNavigationItem, decorators: [{
|
|
@@ -1478,32 +1821,53 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
1478
1821
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1479
1822
|
template: '<ng-content></ng-content>',
|
|
1480
1823
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1481
|
-
inputs: ['active', '
|
|
1824
|
+
inputs: ['active', 'as', 'class', 'counter', 'href', 'icon', 'loading', 'target'],
|
|
1482
1825
|
}]
|
|
1483
1826
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1484
|
-
let
|
|
1827
|
+
let PNavigationSection = class PNavigationSection {
|
|
1485
1828
|
constructor(c, r, z) {
|
|
1486
1829
|
this.z = z;
|
|
1487
1830
|
c.detach();
|
|
1488
1831
|
this.el = r.nativeElement;
|
|
1489
|
-
proxyOutputs(this, this.el, ['sizeChange']);
|
|
1490
1832
|
}
|
|
1491
1833
|
};
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
|
|
1834
|
+
PNavigationSection.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PNavigationSection, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1835
|
+
PNavigationSection.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PNavigationSection, selector: "p-navigation-section", inputs: { header: "header" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1836
|
+
PNavigationSection = __decorate([
|
|
1495
1837
|
ProxyCmp({
|
|
1496
|
-
inputs: ['
|
|
1838
|
+
inputs: ['header']
|
|
1497
1839
|
})
|
|
1498
|
-
],
|
|
1499
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type:
|
|
1840
|
+
], PNavigationSection);
|
|
1841
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PNavigationSection, decorators: [{
|
|
1500
1842
|
type: Component,
|
|
1501
1843
|
args: [{
|
|
1502
|
-
selector: 'p-
|
|
1844
|
+
selector: 'p-navigation-section',
|
|
1503
1845
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1504
1846
|
template: '<ng-content></ng-content>',
|
|
1505
1847
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1506
|
-
inputs: ['
|
|
1848
|
+
inputs: ['header'],
|
|
1849
|
+
}]
|
|
1850
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1851
|
+
let PNavigationTitle = class PNavigationTitle {
|
|
1852
|
+
constructor(c, r, z) {
|
|
1853
|
+
this.z = z;
|
|
1854
|
+
c.detach();
|
|
1855
|
+
this.el = r.nativeElement;
|
|
1856
|
+
}
|
|
1857
|
+
};
|
|
1858
|
+
PNavigationTitle.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PNavigationTitle, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1859
|
+
PNavigationTitle.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PNavigationTitle, selector: "p-navigation-title", ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1860
|
+
PNavigationTitle = __decorate([
|
|
1861
|
+
ProxyCmp({})
|
|
1862
|
+
], PNavigationTitle);
|
|
1863
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PNavigationTitle, decorators: [{
|
|
1864
|
+
type: Component,
|
|
1865
|
+
args: [{
|
|
1866
|
+
selector: 'p-navigation-title',
|
|
1867
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1868
|
+
template: '<ng-content></ng-content>',
|
|
1869
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1870
|
+
inputs: [],
|
|
1507
1871
|
}]
|
|
1508
1872
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1509
1873
|
let PPagination = class PPagination {
|
|
@@ -1511,14 +1875,14 @@ let PPagination = class PPagination {
|
|
|
1511
1875
|
this.z = z;
|
|
1512
1876
|
c.detach();
|
|
1513
1877
|
this.el = r.nativeElement;
|
|
1514
|
-
proxyOutputs(this, this.el, ['pageChange']);
|
|
1878
|
+
proxyOutputs(this, this.el, ['pageChange', 'pageSizeChange', 'pagesChange']);
|
|
1515
1879
|
}
|
|
1516
1880
|
};
|
|
1517
1881
|
PPagination.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PPagination, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1518
|
-
PPagination.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PPagination, selector: "p-pagination", inputs: { hideOnSinglePage: "hideOnSinglePage", page: "page", pageSize: "pageSize", total: "total" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1882
|
+
PPagination.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PPagination, selector: "p-pagination", inputs: { enablePaginationPages: "enablePaginationPages", enablePaginationSize: "enablePaginationSize", hideOnSinglePage: "hideOnSinglePage", page: "page", pageSize: "pageSize", pageSizeOptions: "pageSizeOptions", total: "total" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1519
1883
|
PPagination = __decorate([
|
|
1520
1884
|
ProxyCmp({
|
|
1521
|
-
inputs: ['hideOnSinglePage', 'page', 'pageSize', 'total']
|
|
1885
|
+
inputs: ['enablePaginationPages', 'enablePaginationSize', 'hideOnSinglePage', 'page', 'pageSize', 'pageSizeOptions', 'total']
|
|
1522
1886
|
})
|
|
1523
1887
|
], PPagination);
|
|
1524
1888
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PPagination, decorators: [{
|
|
@@ -1528,31 +1892,103 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
1528
1892
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1529
1893
|
template: '<ng-content></ng-content>',
|
|
1530
1894
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1895
|
+
inputs: ['enablePaginationPages', 'enablePaginationSize', 'hideOnSinglePage', 'page', 'pageSize', 'pageSizeOptions', 'total'],
|
|
1896
|
+
}]
|
|
1897
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1898
|
+
let PPaginationPages = class PPaginationPages {
|
|
1899
|
+
constructor(c, r, z) {
|
|
1900
|
+
this.z = z;
|
|
1901
|
+
c.detach();
|
|
1902
|
+
this.el = r.nativeElement;
|
|
1903
|
+
proxyOutputs(this, this.el, ['pageChange', 'pagesChange']);
|
|
1904
|
+
}
|
|
1905
|
+
};
|
|
1906
|
+
PPaginationPages.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PPaginationPages, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1907
|
+
PPaginationPages.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PPaginationPages, selector: "p-pagination-pages", inputs: { hideOnSinglePage: "hideOnSinglePage", page: "page", pageSize: "pageSize", total: "total" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1908
|
+
PPaginationPages = __decorate([
|
|
1909
|
+
ProxyCmp({
|
|
1910
|
+
inputs: ['hideOnSinglePage', 'page', 'pageSize', 'total']
|
|
1911
|
+
})
|
|
1912
|
+
], PPaginationPages);
|
|
1913
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PPaginationPages, decorators: [{
|
|
1914
|
+
type: Component,
|
|
1915
|
+
args: [{
|
|
1916
|
+
selector: 'p-pagination-pages',
|
|
1917
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1918
|
+
template: '<ng-content></ng-content>',
|
|
1919
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1531
1920
|
inputs: ['hideOnSinglePage', 'page', 'pageSize', 'total'],
|
|
1532
1921
|
}]
|
|
1533
1922
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1534
|
-
let
|
|
1923
|
+
let PPaginationPagesItem = class PPaginationPagesItem {
|
|
1535
1924
|
constructor(c, r, z) {
|
|
1536
1925
|
this.z = z;
|
|
1537
1926
|
c.detach();
|
|
1538
1927
|
this.el = r.nativeElement;
|
|
1539
1928
|
}
|
|
1540
1929
|
};
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1930
|
+
PPaginationPagesItem.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PPaginationPagesItem, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1931
|
+
PPaginationPagesItem.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PPaginationPagesItem, selector: "p-pagination-pages-item", inputs: { active: "active", disabled: "disabled", hover: "hover", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1932
|
+
PPaginationPagesItem = __decorate([
|
|
1544
1933
|
ProxyCmp({
|
|
1545
|
-
inputs: ['active']
|
|
1934
|
+
inputs: ['active', 'disabled', 'hover', 'variant']
|
|
1546
1935
|
})
|
|
1547
|
-
],
|
|
1548
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type:
|
|
1936
|
+
], PPaginationPagesItem);
|
|
1937
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PPaginationPagesItem, decorators: [{
|
|
1549
1938
|
type: Component,
|
|
1550
1939
|
args: [{
|
|
1551
|
-
selector: 'p-pagination-item',
|
|
1940
|
+
selector: 'p-pagination-pages-item',
|
|
1552
1941
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1553
1942
|
template: '<ng-content></ng-content>',
|
|
1554
1943
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1555
|
-
inputs: ['active'],
|
|
1944
|
+
inputs: ['active', 'disabled', 'hover', 'variant'],
|
|
1945
|
+
}]
|
|
1946
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1947
|
+
let PPaginationSize = class PPaginationSize {
|
|
1948
|
+
constructor(c, r, z) {
|
|
1949
|
+
this.z = z;
|
|
1950
|
+
c.detach();
|
|
1951
|
+
this.el = r.nativeElement;
|
|
1952
|
+
proxyOutputs(this, this.el, ['sizeChange']);
|
|
1953
|
+
}
|
|
1954
|
+
};
|
|
1955
|
+
PPaginationSize.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PPaginationSize, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1956
|
+
PPaginationSize.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PPaginationSize, selector: "p-pagination-size", inputs: { hidden: "hidden", itemTemplate: "itemTemplate", size: "size", sizeOptions: "sizeOptions" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1957
|
+
PPaginationSize = __decorate([
|
|
1958
|
+
ProxyCmp({
|
|
1959
|
+
inputs: ['hidden', 'itemTemplate', 'size', 'sizeOptions']
|
|
1960
|
+
})
|
|
1961
|
+
], PPaginationSize);
|
|
1962
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PPaginationSize, decorators: [{
|
|
1963
|
+
type: Component,
|
|
1964
|
+
args: [{
|
|
1965
|
+
selector: 'p-pagination-size',
|
|
1966
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1967
|
+
template: '<ng-content></ng-content>',
|
|
1968
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1969
|
+
inputs: ['hidden', 'itemTemplate', 'size', 'sizeOptions'],
|
|
1970
|
+
}]
|
|
1971
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1972
|
+
let PPortal = class PPortal {
|
|
1973
|
+
constructor(c, r, z) {
|
|
1974
|
+
this.z = z;
|
|
1975
|
+
c.detach();
|
|
1976
|
+
this.el = r.nativeElement;
|
|
1977
|
+
}
|
|
1978
|
+
};
|
|
1979
|
+
PPortal.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PPortal, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1980
|
+
PPortal.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PPortal, selector: "p-portal", ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1981
|
+
PPortal = __decorate([
|
|
1982
|
+
ProxyCmp({})
|
|
1983
|
+
], PPortal);
|
|
1984
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PPortal, decorators: [{
|
|
1985
|
+
type: Component,
|
|
1986
|
+
args: [{
|
|
1987
|
+
selector: 'p-portal',
|
|
1988
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1989
|
+
template: '<ng-content></ng-content>',
|
|
1990
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1991
|
+
inputs: [],
|
|
1556
1992
|
}]
|
|
1557
1993
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1558
1994
|
let PProfile = class PProfile {
|
|
@@ -1563,10 +1999,10 @@ let PProfile = class PProfile {
|
|
|
1563
1999
|
}
|
|
1564
2000
|
};
|
|
1565
2001
|
PProfile.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PProfile, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1566
|
-
PProfile.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PProfile, selector: "p-profile", inputs: {
|
|
2002
|
+
PProfile.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PProfile, selector: "p-profile", inputs: { dropdownLocation: "dropdownLocation" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1567
2003
|
PProfile = __decorate([
|
|
1568
2004
|
ProxyCmp({
|
|
1569
|
-
inputs: ['
|
|
2005
|
+
inputs: ['dropdownLocation']
|
|
1570
2006
|
})
|
|
1571
2007
|
], PProfile);
|
|
1572
2008
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PProfile, decorators: [{
|
|
@@ -1576,7 +2012,32 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
1576
2012
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1577
2013
|
template: '<ng-content></ng-content>',
|
|
1578
2014
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1579
|
-
inputs: ['
|
|
2015
|
+
inputs: ['dropdownLocation'],
|
|
2016
|
+
}]
|
|
2017
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
2018
|
+
let PRadio = class PRadio {
|
|
2019
|
+
constructor(c, r, z) {
|
|
2020
|
+
this.z = z;
|
|
2021
|
+
c.detach();
|
|
2022
|
+
this.el = r.nativeElement;
|
|
2023
|
+
proxyOutputs(this, this.el, ['checkedChange']);
|
|
2024
|
+
}
|
|
2025
|
+
};
|
|
2026
|
+
PRadio.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PRadio, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
2027
|
+
PRadio.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PRadio, selector: "p-radio", inputs: { checked: "checked", disabled: "disabled", id: "id", name: "name", required: "required", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2028
|
+
PRadio = __decorate([
|
|
2029
|
+
ProxyCmp({
|
|
2030
|
+
inputs: ['checked', 'disabled', 'id', 'name', 'required', 'value']
|
|
2031
|
+
})
|
|
2032
|
+
], PRadio);
|
|
2033
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PRadio, decorators: [{
|
|
2034
|
+
type: Component,
|
|
2035
|
+
args: [{
|
|
2036
|
+
selector: 'p-radio',
|
|
2037
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2038
|
+
template: '<ng-content></ng-content>',
|
|
2039
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
2040
|
+
inputs: ['checked', 'disabled', 'id', 'name', 'required', 'value'],
|
|
1580
2041
|
}]
|
|
1581
2042
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1582
2043
|
let PSegmentContainer = class PSegmentContainer {
|
|
@@ -1609,10 +2070,10 @@ let PSegmentItem = class PSegmentItem {
|
|
|
1609
2070
|
}
|
|
1610
2071
|
};
|
|
1611
2072
|
PSegmentItem.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PSegmentItem, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1612
|
-
PSegmentItem.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PSegmentItem, selector: "p-segment-item", inputs: { active: "active", icon: "icon", iconFlip: "iconFlip", iconOnly: "iconOnly", iconRotate: "iconRotate",
|
|
2073
|
+
PSegmentItem.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PSegmentItem, selector: "p-segment-item", inputs: { active: "active", icon: "icon", iconFlip: "iconFlip", iconOnly: "iconOnly", iconRotate: "iconRotate", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1613
2074
|
PSegmentItem = __decorate([
|
|
1614
2075
|
ProxyCmp({
|
|
1615
|
-
inputs: ['active', 'icon', 'iconFlip', 'iconOnly', 'iconRotate', '
|
|
2076
|
+
inputs: ['active', 'icon', 'iconFlip', 'iconOnly', 'iconRotate', 'variant']
|
|
1616
2077
|
})
|
|
1617
2078
|
], PSegmentItem);
|
|
1618
2079
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PSegmentItem, decorators: [{
|
|
@@ -1622,7 +2083,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
1622
2083
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1623
2084
|
template: '<ng-content></ng-content>',
|
|
1624
2085
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1625
|
-
inputs: ['active', 'icon', 'iconFlip', 'iconOnly', 'iconRotate', '
|
|
2086
|
+
inputs: ['active', 'icon', 'iconFlip', 'iconOnly', 'iconRotate', 'variant'],
|
|
1626
2087
|
}]
|
|
1627
2088
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1628
2089
|
let PSelect = class PSelect {
|
|
@@ -1634,10 +2095,10 @@ let PSelect = class PSelect {
|
|
|
1634
2095
|
}
|
|
1635
2096
|
};
|
|
1636
2097
|
PSelect.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PSelect, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1637
|
-
PSelect.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PSelect, selector: "p-select", inputs: { addItemText: "addItemText", applyClassOnSelectedItem: "applyClassOnSelectedItem", asyncFilter: "asyncFilter", autoSelectFirst: "autoSelectFirst", autocompletePlaceholder: "autocompletePlaceholder", avatarKey: "avatarKey", avatarLettersKey: "avatarLettersKey", classKey: "classKey", disabled: "disabled", displayKey: "displayKey", dropdownDisplayKey: "dropdownDisplayKey", emptyStateText: "emptyStateText", enableAutocomplete: "enableAutocomplete", enableSelectAll: "enableSelectAll", error: "error", helper: "helper", icon: "icon", iconKey: "iconKey", identifierKey: "identifierKey", items: "items", label: "label", loading: "loading", maxDisplayedItems: "maxDisplayedItems", multi: "multi", placeholder: "placeholder", prefix: "prefix", query: "query", queryKey: "queryKey", required: "required", selectAllIcon: "selectAllIcon", selectAllText: "selectAllText", selectionDisplayKey: "selectionDisplayKey", showAddItem: "showAddItem", showChevron: "showChevron", showIconInSelectedItem: "showIconInSelectedItem", size: "size", value: "value", valueKey: "valueKey" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2098
|
+
PSelect.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PSelect, selector: "p-select", inputs: { addItemText: "addItemText", applyClassOnSelectedItem: "applyClassOnSelectedItem", asyncFilter: "asyncFilter", autoSelectFirst: "autoSelectFirst", autocompletePlaceholder: "autocompletePlaceholder", avatarKey: "avatarKey", avatarLettersKey: "avatarLettersKey", classKey: "classKey", disabled: "disabled", displayKey: "displayKey", dropdownDisplayKey: "dropdownDisplayKey", emptyStateText: "emptyStateText", enableAutocomplete: "enableAutocomplete", enableSelectAll: "enableSelectAll", error: "error", helper: "helper", icon: "icon", iconKey: "iconKey", identifierKey: "identifierKey", items: "items", label: "label", loading: "loading", maxDisplayedItems: "maxDisplayedItems", multi: "multi", placeholder: "placeholder", prefix: "prefix", query: "query", queryKey: "queryKey", required: "required", selectAllIcon: "selectAllIcon", selectAllText: "selectAllText", selectionDisplayKey: "selectionDisplayKey", showAddItem: "showAddItem", showChevron: "showChevron", showIconInSelectedItem: "showIconInSelectedItem", size: "size", strategy: "strategy", usePortal: "usePortal", value: "value", valueKey: "valueKey" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1638
2099
|
PSelect = __decorate([
|
|
1639
2100
|
ProxyCmp({
|
|
1640
|
-
inputs: ['addItemText', 'applyClassOnSelectedItem', 'asyncFilter', 'autoSelectFirst', 'autocompletePlaceholder', 'avatarKey', 'avatarLettersKey', 'classKey', 'disabled', 'displayKey', 'dropdownDisplayKey', 'emptyStateText', 'enableAutocomplete', 'enableSelectAll', 'error', 'helper', 'icon', 'iconKey', 'identifierKey', 'items', 'label', 'loading', 'maxDisplayedItems', 'multi', 'placeholder', 'prefix', 'query', 'queryKey', 'required', 'selectAllIcon', 'selectAllText', 'selectionDisplayKey', 'showAddItem', 'showChevron', 'showIconInSelectedItem', 'size', 'value', 'valueKey']
|
|
2101
|
+
inputs: ['addItemText', 'applyClassOnSelectedItem', 'asyncFilter', 'autoSelectFirst', 'autocompletePlaceholder', 'avatarKey', 'avatarLettersKey', 'classKey', 'disabled', 'displayKey', 'dropdownDisplayKey', 'emptyStateText', 'enableAutocomplete', 'enableSelectAll', 'error', 'helper', 'icon', 'iconKey', 'identifierKey', 'items', 'label', 'loading', 'maxDisplayedItems', 'multi', 'placeholder', 'prefix', 'query', 'queryKey', 'required', 'selectAllIcon', 'selectAllText', 'selectionDisplayKey', 'showAddItem', 'showChevron', 'showIconInSelectedItem', 'size', 'strategy', 'usePortal', 'value', 'valueKey']
|
|
1641
2102
|
})
|
|
1642
2103
|
], PSelect);
|
|
1643
2104
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PSelect, decorators: [{
|
|
@@ -1647,7 +2108,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
1647
2108
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1648
2109
|
template: '<ng-content></ng-content>',
|
|
1649
2110
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1650
|
-
inputs: ['addItemText', 'applyClassOnSelectedItem', 'asyncFilter', 'autoSelectFirst', 'autocompletePlaceholder', 'avatarKey', 'avatarLettersKey', 'classKey', 'disabled', 'displayKey', 'dropdownDisplayKey', 'emptyStateText', 'enableAutocomplete', 'enableSelectAll', 'error', 'helper', 'icon', 'iconKey', 'identifierKey', 'items', 'label', 'loading', 'maxDisplayedItems', 'multi', 'placeholder', 'prefix', 'query', 'queryKey', 'required', 'selectAllIcon', 'selectAllText', 'selectionDisplayKey', 'showAddItem', 'showChevron', 'showIconInSelectedItem', 'size', 'value', 'valueKey'],
|
|
2111
|
+
inputs: ['addItemText', 'applyClassOnSelectedItem', 'asyncFilter', 'autoSelectFirst', 'autocompletePlaceholder', 'avatarKey', 'avatarLettersKey', 'classKey', 'disabled', 'displayKey', 'dropdownDisplayKey', 'emptyStateText', 'enableAutocomplete', 'enableSelectAll', 'error', 'helper', 'icon', 'iconKey', 'identifierKey', 'items', 'label', 'loading', 'maxDisplayedItems', 'multi', 'placeholder', 'prefix', 'query', 'queryKey', 'required', 'selectAllIcon', 'selectAllText', 'selectionDisplayKey', 'showAddItem', 'showChevron', 'showIconInSelectedItem', 'size', 'strategy', 'usePortal', 'value', 'valueKey'],
|
|
1651
2112
|
}]
|
|
1652
2113
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1653
2114
|
let PSliderIndicator = class PSliderIndicator {
|
|
@@ -1674,6 +2135,30 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
1674
2135
|
inputs: ['active'],
|
|
1675
2136
|
}]
|
|
1676
2137
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
2138
|
+
let PSmile = class PSmile {
|
|
2139
|
+
constructor(c, r, z) {
|
|
2140
|
+
this.z = z;
|
|
2141
|
+
c.detach();
|
|
2142
|
+
this.el = r.nativeElement;
|
|
2143
|
+
}
|
|
2144
|
+
};
|
|
2145
|
+
PSmile.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PSmile, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
2146
|
+
PSmile.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PSmile, selector: "p-smile", inputs: { variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2147
|
+
PSmile = __decorate([
|
|
2148
|
+
ProxyCmp({
|
|
2149
|
+
inputs: ['variant']
|
|
2150
|
+
})
|
|
2151
|
+
], PSmile);
|
|
2152
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PSmile, decorators: [{
|
|
2153
|
+
type: Component,
|
|
2154
|
+
args: [{
|
|
2155
|
+
selector: 'p-smile',
|
|
2156
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2157
|
+
template: '<ng-content></ng-content>',
|
|
2158
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
2159
|
+
inputs: ['variant'],
|
|
2160
|
+
}]
|
|
2161
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1677
2162
|
let PStatus = class PStatus {
|
|
1678
2163
|
constructor(c, r, z) {
|
|
1679
2164
|
this.z = z;
|
|
@@ -1706,10 +2191,10 @@ let PStepper = class PStepper {
|
|
|
1706
2191
|
}
|
|
1707
2192
|
};
|
|
1708
2193
|
PStepper.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PStepper, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1709
|
-
PStepper.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PStepper, selector: "p-stepper", inputs: { activeStep: "activeStep", contentPosition: "contentPosition", direction: "direction" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2194
|
+
PStepper.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PStepper, selector: "p-stepper", inputs: { activeStep: "activeStep", contentPosition: "contentPosition", direction: "direction", enableAutoStatus: "enableAutoStatus" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1710
2195
|
PStepper = __decorate([
|
|
1711
2196
|
ProxyCmp({
|
|
1712
|
-
inputs: ['activeStep', 'contentPosition', 'direction']
|
|
2197
|
+
inputs: ['activeStep', 'contentPosition', 'direction', 'enableAutoStatus']
|
|
1713
2198
|
})
|
|
1714
2199
|
], PStepper);
|
|
1715
2200
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PStepper, decorators: [{
|
|
@@ -1719,7 +2204,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
1719
2204
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1720
2205
|
template: '<ng-content></ng-content>',
|
|
1721
2206
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1722
|
-
inputs: ['activeStep', 'contentPosition', 'direction'],
|
|
2207
|
+
inputs: ['activeStep', 'contentPosition', 'direction', 'enableAutoStatus'],
|
|
1723
2208
|
}]
|
|
1724
2209
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1725
2210
|
let PStepperItem = class PStepperItem {
|
|
@@ -1770,22 +2255,22 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
1770
2255
|
inputs: ['active', 'direction'],
|
|
1771
2256
|
}]
|
|
1772
2257
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1773
|
-
let
|
|
2258
|
+
let PTabContainer = class PTabContainer {
|
|
1774
2259
|
constructor(c, r, z) {
|
|
1775
2260
|
this.z = z;
|
|
1776
2261
|
c.detach();
|
|
1777
2262
|
this.el = r.nativeElement;
|
|
1778
2263
|
}
|
|
1779
2264
|
};
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
-
|
|
2265
|
+
PTabContainer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PTabContainer, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
2266
|
+
PTabContainer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PTabContainer, selector: "p-tab-container", ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2267
|
+
PTabContainer = __decorate([
|
|
1783
2268
|
ProxyCmp({})
|
|
1784
|
-
],
|
|
1785
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type:
|
|
2269
|
+
], PTabContainer);
|
|
2270
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PTabContainer, decorators: [{
|
|
1786
2271
|
type: Component,
|
|
1787
2272
|
args: [{
|
|
1788
|
-
selector: 'p-tab-
|
|
2273
|
+
selector: 'p-tab-container',
|
|
1789
2274
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1790
2275
|
template: '<ng-content></ng-content>',
|
|
1791
2276
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
@@ -1824,11 +2309,9 @@ let PTableContainer = class PTableContainer {
|
|
|
1824
2309
|
}
|
|
1825
2310
|
};
|
|
1826
2311
|
PTableContainer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PTableContainer, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1827
|
-
PTableContainer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PTableContainer, selector: "p-table-container",
|
|
2312
|
+
PTableContainer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PTableContainer, selector: "p-table-container", ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1828
2313
|
PTableContainer = __decorate([
|
|
1829
|
-
ProxyCmp({
|
|
1830
|
-
inputs: ['shadow']
|
|
1831
|
-
})
|
|
2314
|
+
ProxyCmp({})
|
|
1832
2315
|
], PTableContainer);
|
|
1833
2316
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PTableContainer, decorators: [{
|
|
1834
2317
|
type: Component,
|
|
@@ -1837,7 +2320,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
1837
2320
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1838
2321
|
template: '<ng-content></ng-content>',
|
|
1839
2322
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1840
|
-
inputs: [
|
|
2323
|
+
inputs: [],
|
|
1841
2324
|
}]
|
|
1842
2325
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1843
2326
|
let PTableFooter = class PTableFooter {
|
|
@@ -1845,14 +2328,14 @@ let PTableFooter = class PTableFooter {
|
|
|
1845
2328
|
this.z = z;
|
|
1846
2329
|
c.detach();
|
|
1847
2330
|
this.el = r.nativeElement;
|
|
1848
|
-
proxyOutputs(this, this.el, ['pageChange', 'pageSizeChange', '
|
|
2331
|
+
proxyOutputs(this, this.el, ['pageChange', 'pageSizeChange', 'hiddenChange']);
|
|
1849
2332
|
}
|
|
1850
2333
|
};
|
|
1851
2334
|
PTableFooter.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PTableFooter, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1852
|
-
PTableFooter.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PTableFooter, selector: "p-table-footer", inputs: {
|
|
2335
|
+
PTableFooter.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PTableFooter, selector: "p-table-footer", inputs: { enablePaginationPages: "enablePaginationPages", enablePaginationSize: "enablePaginationSize", hideOnSinglePage: "hideOnSinglePage", loading: "loading", page: "page", pageSize: "pageSize", pageSizeOptions: "pageSizeOptions", total: "total" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1853
2336
|
PTableFooter = __decorate([
|
|
1854
2337
|
ProxyCmp({
|
|
1855
|
-
inputs: ['
|
|
2338
|
+
inputs: ['enablePaginationPages', 'enablePaginationSize', 'hideOnSinglePage', 'loading', 'page', 'pageSize', 'pageSizeOptions', 'total']
|
|
1856
2339
|
})
|
|
1857
2340
|
], PTableFooter);
|
|
1858
2341
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PTableFooter, decorators: [{
|
|
@@ -1862,7 +2345,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
1862
2345
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1863
2346
|
template: '<ng-content></ng-content>',
|
|
1864
2347
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1865
|
-
inputs: ['
|
|
2348
|
+
inputs: ['enablePaginationPages', 'enablePaginationSize', 'hideOnSinglePage', 'loading', 'page', 'pageSize', 'pageSizeOptions', 'total'],
|
|
1866
2349
|
}]
|
|
1867
2350
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1868
2351
|
let PTableHeader = class PTableHeader {
|
|
@@ -1870,14 +2353,14 @@ let PTableHeader = class PTableHeader {
|
|
|
1870
2353
|
this.z = z;
|
|
1871
2354
|
c.detach();
|
|
1872
2355
|
this.el = r.nativeElement;
|
|
1873
|
-
proxyOutputs(this, this.el, ['quickFilter', 'queryChange', 'filter', 'action']);
|
|
2356
|
+
proxyOutputs(this, this.el, ['quickFilter', 'queryChange', 'filter', 'action', 'export']);
|
|
1874
2357
|
}
|
|
1875
2358
|
};
|
|
1876
2359
|
PTableHeader.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PTableHeader, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1877
|
-
PTableHeader.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PTableHeader, selector: "p-table-header", inputs: { actionButtonTemplate: "actionButtonTemplate", actionIcon: "actionIcon", actionLoading: "actionLoading", actionText: "actionText", activeQuickFilterIdentifier: "activeQuickFilterIdentifier", canUseAction: "canUseAction", enableAction: "enableAction", enableFilter: "enableFilter", enableSearch: "enableSearch", filterButtonTemplate: "filterButtonTemplate", itemsSelectedAmount: "itemsSelectedAmount", loading: "loading", query: "query", quickFilters: "quickFilters", selectedFiltersAmount: "selectedFiltersAmount" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2360
|
+
PTableHeader.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PTableHeader, selector: "p-table-header", inputs: { actionButtonTemplate: "actionButtonTemplate", actionIcon: "actionIcon", actionLoading: "actionLoading", actionText: "actionText", activeQuickFilterIdentifier: "activeQuickFilterIdentifier", canUseAction: "canUseAction", enableAction: "enableAction", enableExport: "enableExport", enableFilter: "enableFilter", enableFilterDesktop: "enableFilterDesktop", enableSearch: "enableSearch", filterButtonTemplate: "filterButtonTemplate", itemsSelectedAmount: "itemsSelectedAmount", loading: "loading", query: "query", quickFilters: "quickFilters", selectedFiltersAmount: "selectedFiltersAmount" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1878
2361
|
PTableHeader = __decorate([
|
|
1879
2362
|
ProxyCmp({
|
|
1880
|
-
inputs: ['actionButtonTemplate', 'actionIcon', 'actionLoading', 'actionText', 'activeQuickFilterIdentifier', 'canUseAction', 'enableAction', 'enableFilter', 'enableSearch', 'filterButtonTemplate', 'itemsSelectedAmount', 'loading', 'query', 'quickFilters', 'selectedFiltersAmount']
|
|
2363
|
+
inputs: ['actionButtonTemplate', 'actionIcon', 'actionLoading', 'actionText', 'activeQuickFilterIdentifier', 'canUseAction', 'enableAction', 'enableExport', 'enableFilter', 'enableFilterDesktop', 'enableSearch', 'filterButtonTemplate', 'itemsSelectedAmount', 'loading', 'query', 'quickFilters', 'selectedFiltersAmount']
|
|
1881
2364
|
})
|
|
1882
2365
|
], PTableHeader);
|
|
1883
2366
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PTableHeader, decorators: [{
|
|
@@ -1887,7 +2370,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
1887
2370
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1888
2371
|
template: '<ng-content></ng-content>',
|
|
1889
2372
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1890
|
-
inputs: ['actionButtonTemplate', 'actionIcon', 'actionLoading', 'actionText', 'activeQuickFilterIdentifier', 'canUseAction', 'enableAction', 'enableFilter', 'enableSearch', 'filterButtonTemplate', 'itemsSelectedAmount', 'loading', 'query', 'quickFilters', 'selectedFiltersAmount'],
|
|
2373
|
+
inputs: ['actionButtonTemplate', 'actionIcon', 'actionLoading', 'actionText', 'activeQuickFilterIdentifier', 'canUseAction', 'enableAction', 'enableExport', 'enableFilter', 'enableFilterDesktop', 'enableSearch', 'filterButtonTemplate', 'itemsSelectedAmount', 'loading', 'query', 'quickFilters', 'selectedFiltersAmount'],
|
|
1891
2374
|
}]
|
|
1892
2375
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1893
2376
|
let PTableRow = class PTableRow {
|
|
@@ -1914,6 +2397,28 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
1914
2397
|
inputs: ['enableHover', 'variant'],
|
|
1915
2398
|
}]
|
|
1916
2399
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
2400
|
+
let PTableRowActionsContainer = class PTableRowActionsContainer {
|
|
2401
|
+
constructor(c, r, z) {
|
|
2402
|
+
this.z = z;
|
|
2403
|
+
c.detach();
|
|
2404
|
+
this.el = r.nativeElement;
|
|
2405
|
+
}
|
|
2406
|
+
};
|
|
2407
|
+
PTableRowActionsContainer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PTableRowActionsContainer, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
2408
|
+
PTableRowActionsContainer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PTableRowActionsContainer, selector: "p-table-row-actions-container", ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2409
|
+
PTableRowActionsContainer = __decorate([
|
|
2410
|
+
ProxyCmp({})
|
|
2411
|
+
], PTableRowActionsContainer);
|
|
2412
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PTableRowActionsContainer, decorators: [{
|
|
2413
|
+
type: Component,
|
|
2414
|
+
args: [{
|
|
2415
|
+
selector: 'p-table-row-actions-container',
|
|
2416
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2417
|
+
template: '<ng-content></ng-content>',
|
|
2418
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
2419
|
+
inputs: [],
|
|
2420
|
+
}]
|
|
2421
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1917
2422
|
let PToast = class PToast {
|
|
1918
2423
|
constructor(c, r, z) {
|
|
1919
2424
|
this.z = z;
|
|
@@ -1939,6 +2444,31 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
1939
2444
|
inputs: ['actionIcon', 'actionIconFlip', 'actionIconRotate', 'content', 'enableAction', 'header', 'variant'],
|
|
1940
2445
|
}]
|
|
1941
2446
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
2447
|
+
let PToggle = class PToggle {
|
|
2448
|
+
constructor(c, r, z) {
|
|
2449
|
+
this.z = z;
|
|
2450
|
+
c.detach();
|
|
2451
|
+
this.el = r.nativeElement;
|
|
2452
|
+
proxyOutputs(this, this.el, ['checkedChange', 'indeterminateChange']);
|
|
2453
|
+
}
|
|
2454
|
+
};
|
|
2455
|
+
PToggle.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PToggle, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
2456
|
+
PToggle.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PToggle, selector: "p-toggle", inputs: { checked: "checked", disabled: "disabled", id: "id", name: "name", required: "required" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2457
|
+
PToggle = __decorate([
|
|
2458
|
+
ProxyCmp({
|
|
2459
|
+
inputs: ['checked', 'disabled', 'id', 'name', 'required']
|
|
2460
|
+
})
|
|
2461
|
+
], PToggle);
|
|
2462
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PToggle, decorators: [{
|
|
2463
|
+
type: Component,
|
|
2464
|
+
args: [{
|
|
2465
|
+
selector: 'p-toggle',
|
|
2466
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2467
|
+
template: '<ng-content></ng-content>',
|
|
2468
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
2469
|
+
inputs: ['checked', 'disabled', 'id', 'name', 'required'],
|
|
2470
|
+
}]
|
|
2471
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1942
2472
|
let PTooltip = class PTooltip {
|
|
1943
2473
|
constructor(c, r, z) {
|
|
1944
2474
|
this.z = z;
|
|
@@ -1948,10 +2478,10 @@ let PTooltip = class PTooltip {
|
|
|
1948
2478
|
}
|
|
1949
2479
|
};
|
|
1950
2480
|
PTooltip.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PTooltip, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1951
|
-
PTooltip.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PTooltip, selector: "p-tooltip", inputs: { canManuallyClose: "canManuallyClose", content: "content", enableUserInput: "enableUserInput", offset: "offset", placement: "placement", show: "show", strategy: "strategy", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2481
|
+
PTooltip.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PTooltip, selector: "p-tooltip", inputs: { canManuallyClose: "canManuallyClose", content: "content", enableUserInput: "enableUserInput", offset: "offset", placement: "placement", show: "show", strategy: "strategy", usePortal: "usePortal", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1952
2482
|
PTooltip = __decorate([
|
|
1953
2483
|
ProxyCmp({
|
|
1954
|
-
inputs: ['canManuallyClose', 'content', 'enableUserInput', 'offset', 'placement', 'show', 'strategy', 'variant']
|
|
2484
|
+
inputs: ['canManuallyClose', 'content', 'enableUserInput', 'offset', 'placement', 'show', 'strategy', 'usePortal', 'variant']
|
|
1955
2485
|
})
|
|
1956
2486
|
], PTooltip);
|
|
1957
2487
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PTooltip, decorators: [{
|
|
@@ -1961,7 +2491,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
1961
2491
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1962
2492
|
template: '<ng-content></ng-content>',
|
|
1963
2493
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1964
|
-
inputs: ['canManuallyClose', 'content', 'enableUserInput', 'offset', 'placement', 'show', 'strategy', 'variant'],
|
|
2494
|
+
inputs: ['canManuallyClose', 'content', 'enableUserInput', 'offset', 'placement', 'show', 'strategy', 'usePortal', 'variant'],
|
|
1965
2495
|
}]
|
|
1966
2496
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1967
2497
|
|
|
@@ -1971,12 +2501,14 @@ const DIRECTIVES = [
|
|
|
1971
2501
|
PAvatar,
|
|
1972
2502
|
PAvatarGroup,
|
|
1973
2503
|
PBackdrop,
|
|
2504
|
+
PBadge,
|
|
1974
2505
|
PButton,
|
|
1975
2506
|
PButtonGroup,
|
|
1976
2507
|
PCalendar,
|
|
1977
2508
|
PCardBody,
|
|
1978
2509
|
PCardContainer,
|
|
1979
2510
|
PCardHeader,
|
|
2511
|
+
PCheckbox,
|
|
1980
2512
|
PContentSlider,
|
|
1981
2513
|
PCounter,
|
|
1982
2514
|
PCropper,
|
|
@@ -1989,11 +2521,16 @@ const DIRECTIVES = [
|
|
|
1989
2521
|
PDropdown,
|
|
1990
2522
|
PDropdownMenuContainer,
|
|
1991
2523
|
PDropdownMenuItem,
|
|
2524
|
+
PEmptyState,
|
|
2525
|
+
PField,
|
|
2526
|
+
PFieldContainer,
|
|
1992
2527
|
PFloatingMenuContainer,
|
|
1993
2528
|
PFloatingMenuItem,
|
|
1994
2529
|
PHelper,
|
|
2530
|
+
PIbanIcon,
|
|
1995
2531
|
PIcon,
|
|
1996
2532
|
PIllustration,
|
|
2533
|
+
PIllustrationDeprecated,
|
|
1997
2534
|
PInfoPanel,
|
|
1998
2535
|
PInputError,
|
|
1999
2536
|
PInputGroup,
|
|
@@ -2007,32 +2544,40 @@ const DIRECTIVES = [
|
|
|
2007
2544
|
PModalHeader,
|
|
2008
2545
|
PNavbar,
|
|
2009
2546
|
PNavigationItem,
|
|
2010
|
-
|
|
2547
|
+
PNavigationSection,
|
|
2548
|
+
PNavigationTitle,
|
|
2011
2549
|
PPagination,
|
|
2012
|
-
|
|
2550
|
+
PPaginationPages,
|
|
2551
|
+
PPaginationPagesItem,
|
|
2552
|
+
PPaginationSize,
|
|
2553
|
+
PPortal,
|
|
2013
2554
|
PProfile,
|
|
2555
|
+
PRadio,
|
|
2014
2556
|
PSegmentContainer,
|
|
2015
2557
|
PSegmentItem,
|
|
2016
2558
|
PSelect,
|
|
2017
2559
|
PSliderIndicator,
|
|
2560
|
+
PSmile,
|
|
2018
2561
|
PStatus,
|
|
2019
2562
|
PStepper,
|
|
2020
2563
|
PStepperItem,
|
|
2021
2564
|
PStepperLine,
|
|
2022
|
-
|
|
2565
|
+
PTabContainer,
|
|
2023
2566
|
PTabItem,
|
|
2024
2567
|
PTableContainer,
|
|
2025
2568
|
PTableFooter,
|
|
2026
2569
|
PTableHeader,
|
|
2027
2570
|
PTableRow,
|
|
2571
|
+
PTableRowActionsContainer,
|
|
2028
2572
|
PToast,
|
|
2573
|
+
PToggle,
|
|
2029
2574
|
PTooltip
|
|
2030
2575
|
];
|
|
2031
2576
|
|
|
2032
2577
|
class StencilModule {
|
|
2033
2578
|
}
|
|
2034
2579
|
StencilModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: StencilModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2035
|
-
StencilModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: StencilModule, declarations: [PAccordion, PAttachment, PAvatar, PAvatarGroup, PBackdrop, PButton, PButtonGroup, PCalendar, PCardBody, PCardContainer, PCardHeader, PContentSlider, PCounter, PCropper, PDatepicker, PDivider, PDrawer, PDrawerBody, PDrawerContainer, PDrawerHeader, PDropdown, PDropdownMenuContainer, PDropdownMenuItem, PFloatingMenuContainer, PFloatingMenuItem, PHelper, PIcon, PIllustration, PInfoPanel, PInputError, PInputGroup, PLabel, PLayout, PLoader, PModal, PModalBody, PModalContainer, PModalFooter, PModalHeader, PNavbar, PNavigationItem,
|
|
2580
|
+
StencilModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: StencilModule, declarations: [PAccordion, PAttachment, PAvatar, PAvatarGroup, PBackdrop, PBadge, PButton, PButtonGroup, PCalendar, PCardBody, PCardContainer, PCardHeader, PCheckbox, PContentSlider, PCounter, PCropper, PDatepicker, PDivider, PDrawer, PDrawerBody, PDrawerContainer, PDrawerHeader, PDropdown, PDropdownMenuContainer, PDropdownMenuItem, PEmptyState, PField, PFieldContainer, PFloatingMenuContainer, PFloatingMenuItem, PHelper, PIbanIcon, PIcon, PIllustration, PIllustrationDeprecated, PInfoPanel, PInputError, PInputGroup, PLabel, PLayout, PLoader, PModal, PModalBody, PModalContainer, PModalFooter, PModalHeader, PNavbar, PNavigationItem, PNavigationSection, PNavigationTitle, PPagination, PPaginationPages, PPaginationPagesItem, PPaginationSize, PPortal, PProfile, PRadio, PSegmentContainer, PSegmentItem, PSelect, PSliderIndicator, PSmile, PStatus, PStepper, PStepperItem, PStepperLine, PTabContainer, PTabItem, PTableContainer, PTableFooter, PTableHeader, PTableRow, PTableRowActionsContainer, PToast, PToggle, PTooltip], exports: [PAccordion, PAttachment, PAvatar, PAvatarGroup, PBackdrop, PBadge, PButton, PButtonGroup, PCalendar, PCardBody, PCardContainer, PCardHeader, PCheckbox, PContentSlider, PCounter, PCropper, PDatepicker, PDivider, PDrawer, PDrawerBody, PDrawerContainer, PDrawerHeader, PDropdown, PDropdownMenuContainer, PDropdownMenuItem, PEmptyState, PField, PFieldContainer, PFloatingMenuContainer, PFloatingMenuItem, PHelper, PIbanIcon, PIcon, PIllustration, PIllustrationDeprecated, PInfoPanel, PInputError, PInputGroup, PLabel, PLayout, PLoader, PModal, PModalBody, PModalContainer, PModalFooter, PModalHeader, PNavbar, PNavigationItem, PNavigationSection, PNavigationTitle, PPagination, PPaginationPages, PPaginationPagesItem, PPaginationSize, PPortal, PProfile, PRadio, PSegmentContainer, PSegmentItem, PSelect, PSliderIndicator, PSmile, PStatus, PStepper, PStepperItem, PStepperLine, PTabContainer, PTabItem, PTableContainer, PTableFooter, PTableHeader, PTableRow, PTableRowActionsContainer, PToast, PToggle, PTooltip] });
|
|
2036
2581
|
StencilModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: StencilModule });
|
|
2037
2582
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: StencilModule, decorators: [{
|
|
2038
2583
|
type: NgModule,
|
|
@@ -2146,11 +2691,11 @@ class OverlayService {
|
|
|
2146
2691
|
}
|
|
2147
2692
|
}
|
|
2148
2693
|
}
|
|
2149
|
-
OverlayService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: OverlayService, deps: [{ token: i0.Injector }, { token: i1.Overlay }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2694
|
+
OverlayService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: OverlayService, deps: [{ token: i0.Injector }, { token: i1$1.Overlay }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2150
2695
|
OverlayService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: OverlayService });
|
|
2151
2696
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: OverlayService, decorators: [{
|
|
2152
2697
|
type: Injectable
|
|
2153
|
-
}], ctorParameters: function () { return [{ type: i0.Injector }, { type: i1.Overlay }]; } });
|
|
2698
|
+
}], ctorParameters: function () { return [{ type: i0.Injector }, { type: i1$1.Overlay }]; } });
|
|
2154
2699
|
|
|
2155
2700
|
const OVERLAY_SERVICES = [OverlayService];
|
|
2156
2701
|
|
|
@@ -2289,7 +2834,7 @@ let BaseTableComponent = class BaseTableComponent extends BaseFormComponent {
|
|
|
2289
2834
|
selectedRows: this.parsedDefaultTableValues.selectedRows,
|
|
2290
2835
|
});
|
|
2291
2836
|
this.tableOptions.valueChanges
|
|
2292
|
-
.pipe(untilDestroyed(this), startWith(this.tableOptions.value), tap((value) => this.tableOptionsChange.next(value)), pairwise(), map(([previous, next]) => this._getChanges(previous, next)), filter(changes => !!changes), debounce(changes => {
|
|
2837
|
+
.pipe(untilDestroyed(this), startWith(this.tableOptions.value), tap((value) => this.tableOptionsChange.next(value)), pairwise(), map(([previous, next]) => this._getChanges(previous, next)), filter$1(changes => !!changes), debounce(changes => {
|
|
2293
2838
|
var _a;
|
|
2294
2839
|
if ((changes === null || changes === void 0 ? void 0 : changes.query) && ((_a = Object.keys(changes)) === null || _a === void 0 ? void 0 : _a.length) === 1) {
|
|
2295
2840
|
return timer(300);
|
|
@@ -2374,7 +2919,7 @@ let BaseTableComponent = class BaseTableComponent extends BaseFormComponent {
|
|
|
2374
2919
|
return Object.keys(changes).length ? changes : null;
|
|
2375
2920
|
}
|
|
2376
2921
|
_watchProperty(observable, identifier = 'id') {
|
|
2377
|
-
return observable.pipe(untilDestroyed(this), startWith(null), pairwise(), filter(([prev, cur]) => prev !== cur && !!cur), tap(([previous, current]) => {
|
|
2922
|
+
return observable.pipe(untilDestroyed(this), startWith(null), pairwise(), filter$1(([prev, cur]) => prev !== cur && !!cur), tap(([previous, current]) => {
|
|
2378
2923
|
if (previous && previous[identifier] !== (current === null || current === void 0 ? void 0 : current[identifier])) {
|
|
2379
2924
|
this.resetTable(false, true);
|
|
2380
2925
|
}
|
|
@@ -2467,13 +3012,9 @@ class TableCell {
|
|
|
2467
3012
|
* The index of the row
|
|
2468
3013
|
*/
|
|
2469
3014
|
this.rowIndex = 0;
|
|
2470
|
-
/**
|
|
2471
|
-
* Wether the table has actions
|
|
2472
|
-
*/
|
|
2473
|
-
this.tableHasActions = false;
|
|
2474
3015
|
}
|
|
2475
3016
|
get class() {
|
|
2476
|
-
return getTableCellColumnClasses(this.definition, this.variant
|
|
3017
|
+
return getTableCellColumnClasses(this.definition, this.variant);
|
|
2477
3018
|
}
|
|
2478
3019
|
get data() {
|
|
2479
3020
|
var _a;
|
|
@@ -2482,14 +3023,6 @@ class TableCell {
|
|
|
2482
3023
|
value: this.value,
|
|
2483
3024
|
};
|
|
2484
3025
|
}
|
|
2485
|
-
if (this.variant === 'actions') {
|
|
2486
|
-
return {
|
|
2487
|
-
value: this.value,
|
|
2488
|
-
item: this.item,
|
|
2489
|
-
index: this.index,
|
|
2490
|
-
rowIndex: this.rowIndex,
|
|
2491
|
-
};
|
|
2492
|
-
}
|
|
2493
3026
|
return {
|
|
2494
3027
|
value: (_a = this.value) !== null && _a !== void 0 ? _a : objectGetByPath(this.item, this.definition.path),
|
|
2495
3028
|
item: this.item,
|
|
@@ -2499,10 +3032,10 @@ class TableCell {
|
|
|
2499
3032
|
}
|
|
2500
3033
|
}
|
|
2501
3034
|
TableCell.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TableCell, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2502
|
-
TableCell.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: TableCell, selector: "p-table-cell-ngx", inputs: { variant: "variant", index: "index", rowIndex: "rowIndex", definition: "definition", item: "item", value: "value",
|
|
3035
|
+
TableCell.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: TableCell, selector: "p-table-cell-ngx", inputs: { variant: "variant", index: "index", rowIndex: "rowIndex", definition: "definition", item: "item", value: "value", checkbox: "checkbox", template: "template" }, host: { properties: { "class": "this.class" } }, ngImport: i0, template: "<ng-container *ngIf=\"checkbox\">\n\t<ng-container *ngTemplateOutlet=\"checkbox\"></ng-container>\n</ng-container>\n\n<ng-container [ngSwitch]=\"variant\">\n\t<p-loader\n\t\t*ngSwitchCase=\"'loading'\"\n\t\tvariant=\"ghost\"\n\t\tclass=\"h-6 w-full flex-1 rounded\"\n\t></p-loader>\n\n\t<ng-container *ngSwitchCase=\"'actions'\">\n\t\t<ng-container *ngIf=\"template\">\n\t\t\t<ng-container *ngTemplateOutlet=\"template; context: data\"></ng-container>\n\t\t</ng-container>\n\t</ng-container>\n\n\t<div\n\t\t*ngSwitchCase=\"'header'\"\n\t\tclass=\"flex w-full overflow-hidden\"\n\t\t[class.justify-start]=\"definition.align === 'start'\"\n\t\t[class.justify-center]=\"definition.align === 'center'\"\n\t\t[class.justify-end]=\"definition.align === 'end'\"\n\t>\n\t\t<ng-container *ngTemplateOutlet=\"valueTemplate\"></ng-container>\n\t</div>\n\n\t<div\n\t\t*ngSwitchCase=\"'default'\"\n\t\tclass=\"flex min-w-0 flex-1\"\n\t\t[class.justify-start]=\"definition.align === 'start'\"\n\t\t[class.justify-center]=\"definition.align === 'center'\"\n\t\t[class.justify-end]=\"definition.align === 'end'\"\n\t>\n\t\t<ng-container *ngIf=\"template; else valueTemplate\">\n\t\t\t<ng-container *ngTemplateOutlet=\"template; context: data\"></ng-container>\n\t\t</ng-container>\n\t</div>\n</ng-container>\n\n<ng-template #valueTemplate>\n\t{{ data.value }}\n</ng-template>\n", dependencies: [{ kind: "directive", type: i1$2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i1$2.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i1$2.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "component", type: PLoader, selector: "p-loader", inputs: ["color", "modalDescription", "modalTitle", "show", "variant"] }] });
|
|
2503
3036
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TableCell, decorators: [{
|
|
2504
3037
|
type: Component,
|
|
2505
|
-
args: [{ selector: 'p-table-cell-ngx', template: "<ng-container *ngIf=\"checkbox\">\n\t<ng-container *ngTemplateOutlet=\"checkbox\"></ng-container>\n</ng-container>\n\n<ng-container [ngSwitch]=\"variant\">\n\t<p-loader\n\t\t*ngSwitchCase=\"'loading'\"\n\t\tvariant=\"ghost\"\n\t\tclass=\"h-6 w-full flex-1 rounded\"\n\t></p-loader>\n\n\t<ng-container *ngSwitchCase=\"'actions'\">\n\t\t<ng-container *ngIf=\"template\">\n\t\t\t<ng-container *ngTemplateOutlet=\"template; context: data\"></ng-container>\n\t\t</ng-container>\n\t</ng-container>\n\n\t<div\n\t\t*ngSwitchCase=\"'header'\"\n\t\tclass=\"flex w-full overflow-hidden\"\n\t\t[class.justify-start]=\"definition.align === 'start'\"\n\t\t[class.justify-center]=\"definition.align === 'center'\"\n\t\t[class.justify-end]=\"definition.align === 'end'\"\n\t>\n\t\t<ng-container *ngTemplateOutlet=\"valueTemplate\"></ng-container>\n\t</div>\n\n\t<div\n\t\t*ngSwitchCase=\"'default'\"\n\t\tclass=\"flex min-w-0 flex-1\"\n\t\t[class.justify-start]=\"definition.align === 'start'\"\n\t\t[class.justify-center]=\"definition.align === 'center'\"\n\t\t[class.justify-end]=\"definition.align === 'end'\"\n\t>\n\t\t<ng-container *ngIf=\"template; else valueTemplate\">\n\t\t\t<ng-container *ngTemplateOutlet=\"template; context: data\"></ng-container>\n\t\t</ng-container>\n\t</div>\n</ng-container>\n\n<ng-template #valueTemplate>\n\t{{ data.value }}\n</ng-template>\n"
|
|
3038
|
+
args: [{ selector: 'p-table-cell-ngx', template: "<ng-container *ngIf=\"checkbox\">\n\t<ng-container *ngTemplateOutlet=\"checkbox\"></ng-container>\n</ng-container>\n\n<ng-container [ngSwitch]=\"variant\">\n\t<p-loader\n\t\t*ngSwitchCase=\"'loading'\"\n\t\tvariant=\"ghost\"\n\t\tclass=\"h-6 w-full flex-1 rounded\"\n\t></p-loader>\n\n\t<ng-container *ngSwitchCase=\"'actions'\">\n\t\t<ng-container *ngIf=\"template\">\n\t\t\t<ng-container *ngTemplateOutlet=\"template; context: data\"></ng-container>\n\t\t</ng-container>\n\t</ng-container>\n\n\t<div\n\t\t*ngSwitchCase=\"'header'\"\n\t\tclass=\"flex w-full overflow-hidden\"\n\t\t[class.justify-start]=\"definition.align === 'start'\"\n\t\t[class.justify-center]=\"definition.align === 'center'\"\n\t\t[class.justify-end]=\"definition.align === 'end'\"\n\t>\n\t\t<ng-container *ngTemplateOutlet=\"valueTemplate\"></ng-container>\n\t</div>\n\n\t<div\n\t\t*ngSwitchCase=\"'default'\"\n\t\tclass=\"flex min-w-0 flex-1\"\n\t\t[class.justify-start]=\"definition.align === 'start'\"\n\t\t[class.justify-center]=\"definition.align === 'center'\"\n\t\t[class.justify-end]=\"definition.align === 'end'\"\n\t>\n\t\t<ng-container *ngIf=\"template; else valueTemplate\">\n\t\t\t<ng-container *ngTemplateOutlet=\"template; context: data\"></ng-container>\n\t\t</ng-container>\n\t</div>\n</ng-container>\n\n<ng-template #valueTemplate>\n\t{{ data.value }}\n</ng-template>\n" }]
|
|
2506
3039
|
}], propDecorators: { variant: [{
|
|
2507
3040
|
type: Input
|
|
2508
3041
|
}], index: [{
|
|
@@ -2515,8 +3048,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
2515
3048
|
type: Input
|
|
2516
3049
|
}], value: [{
|
|
2517
3050
|
type: Input
|
|
2518
|
-
}], tableHasActions: [{
|
|
2519
|
-
type: Input
|
|
2520
3051
|
}], checkbox: [{
|
|
2521
3052
|
type: Input
|
|
2522
3053
|
}], template: [{
|
|
@@ -2870,6 +3401,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
2870
3401
|
}]
|
|
2871
3402
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
|
|
2872
3403
|
|
|
3404
|
+
class TableCustomActionsDirective {
|
|
3405
|
+
}
|
|
3406
|
+
TableCustomActionsDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TableCustomActionsDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
3407
|
+
TableCustomActionsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.9", type: TableCustomActionsDirective, selector: "[p-table-custom-actions]", ngImport: i0 });
|
|
3408
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TableCustomActionsDirective, decorators: [{
|
|
3409
|
+
type: Directive,
|
|
3410
|
+
args: [{
|
|
3411
|
+
selector: '[p-table-custom-actions]',
|
|
3412
|
+
}]
|
|
3413
|
+
}] });
|
|
3414
|
+
|
|
2873
3415
|
const TABLE_DIRECTIVES = [
|
|
2874
3416
|
TableFooterDirective,
|
|
2875
3417
|
TableHeaderDirective,
|
|
@@ -2877,6 +3419,7 @@ const TABLE_DIRECTIVES = [
|
|
|
2877
3419
|
TableNgxDirective,
|
|
2878
3420
|
TableFilterModalDirective,
|
|
2879
3421
|
TableCustomFilterDirective,
|
|
3422
|
+
TableCustomActionsDirective,
|
|
2880
3423
|
];
|
|
2881
3424
|
|
|
2882
3425
|
let TableRowAction = class TableRowAction {
|
|
@@ -2953,6 +3496,7 @@ const defaultSizeOptions = [12, 24, 68, 136];
|
|
|
2953
3496
|
let Table = class Table {
|
|
2954
3497
|
constructor(_changeDetection) {
|
|
2955
3498
|
this._changeDetection = _changeDetection;
|
|
3499
|
+
this.className = 'flex flex-col z-0';
|
|
2956
3500
|
/**
|
|
2957
3501
|
* Wether data is loading
|
|
2958
3502
|
*/
|
|
@@ -3030,6 +3574,10 @@ let Table = class Table {
|
|
|
3030
3574
|
* Wether to show the filter button
|
|
3031
3575
|
*/
|
|
3032
3576
|
this.enableFilter = true;
|
|
3577
|
+
/**
|
|
3578
|
+
* Wether to show the filter button on desktop
|
|
3579
|
+
*/
|
|
3580
|
+
this.enableFilterDesktop = true;
|
|
3033
3581
|
/**
|
|
3034
3582
|
* Wether to show the action button
|
|
3035
3583
|
*/
|
|
@@ -3068,13 +3616,13 @@ let Table = class Table {
|
|
|
3068
3616
|
*/
|
|
3069
3617
|
this.enableFooter = true;
|
|
3070
3618
|
/**
|
|
3071
|
-
* Wether to enable
|
|
3619
|
+
* Wether to enable pagination size select
|
|
3072
3620
|
*/
|
|
3073
|
-
this.
|
|
3621
|
+
this.enablePaginationSize = true;
|
|
3074
3622
|
/**
|
|
3075
|
-
* Wether to enable pagination
|
|
3623
|
+
* Wether to enable pagination pages
|
|
3076
3624
|
*/
|
|
3077
|
-
this.
|
|
3625
|
+
this.enablePaginationPages = true;
|
|
3078
3626
|
/**
|
|
3079
3627
|
* Wether to enable export
|
|
3080
3628
|
*/
|
|
@@ -3109,9 +3657,17 @@ let Table = class Table {
|
|
|
3109
3657
|
this.hideOnSinglePage = true;
|
|
3110
3658
|
/* Empty state start */
|
|
3111
3659
|
this.emptyStateType = 'no_filter';
|
|
3112
|
-
this.emptyStateIllustration = '
|
|
3660
|
+
this.emptyStateIllustration = 'table';
|
|
3661
|
+
this.emptyStateActionIcon = 'plus';
|
|
3113
3662
|
this.enableEmptyStateAction = true;
|
|
3114
|
-
this.emptyStateFilteredIllustration = '
|
|
3663
|
+
this.emptyStateFilteredIllustration = 'search';
|
|
3664
|
+
/**
|
|
3665
|
+
* Wether to enable scrolling
|
|
3666
|
+
*/
|
|
3667
|
+
this.enableScroll = false;
|
|
3668
|
+
this.reachedScrollStart$ = new BehaviorSubject(true);
|
|
3669
|
+
this.reachedScrollEnd$ = new BehaviorSubject(false);
|
|
3670
|
+
this._totalWidth = 0;
|
|
3115
3671
|
/**
|
|
3116
3672
|
* Event whenever the empty state is clicked
|
|
3117
3673
|
*/
|
|
@@ -3121,7 +3677,7 @@ let Table = class Table {
|
|
|
3121
3677
|
* Wether to show the shadow or not
|
|
3122
3678
|
*/
|
|
3123
3679
|
this.shadow = true;
|
|
3124
|
-
this.columns = [];
|
|
3680
|
+
this.columns$ = new BehaviorSubject([]);
|
|
3125
3681
|
this.parsedItems = [];
|
|
3126
3682
|
this.loadingRows = Array.from({
|
|
3127
3683
|
length: this.amountOfLoadingRows,
|
|
@@ -3139,19 +3695,14 @@ let Table = class Table {
|
|
|
3139
3695
|
this.filterModalSave = new EventEmitter();
|
|
3140
3696
|
this.filterModalReset = new EventEmitter();
|
|
3141
3697
|
this.rowActionsRow$ = new BehaviorSubject([]);
|
|
3142
|
-
this.rowActionsRowDefinition$ = new BehaviorSubject(undefined);
|
|
3143
3698
|
this.rowActionsFloatingAll$ = new BehaviorSubject([]);
|
|
3144
3699
|
this.rowActionsFloating$ = new BehaviorSubject([]);
|
|
3145
3700
|
this.isMobile$ = new BehaviorSubject(isMobile());
|
|
3701
|
+
this.floatingMenuContainerClass = floatingMenuContainerClass;
|
|
3146
3702
|
this._inputEnableRowSelection = this.enableRowSelection;
|
|
3147
3703
|
this._inputRowSelectionLimit = this.rowSelectionLimit;
|
|
3148
|
-
|
|
3149
|
-
|
|
3150
|
-
this._columnDefinitions = v;
|
|
3151
|
-
this._generateColumns();
|
|
3152
|
-
}
|
|
3153
|
-
get columnDefinitions() {
|
|
3154
|
-
return this._columnDefinitions;
|
|
3704
|
+
this.footerHidden$ = new BehaviorSubject(false);
|
|
3705
|
+
this.cn = cn;
|
|
3155
3706
|
}
|
|
3156
3707
|
set rowActions(v) {
|
|
3157
3708
|
this._rowActions = v;
|
|
@@ -3170,6 +3721,7 @@ let Table = class Table {
|
|
|
3170
3721
|
.subscribe(value => this.filterModalShow.next(value));
|
|
3171
3722
|
}
|
|
3172
3723
|
ngOnChanges(changes) {
|
|
3724
|
+
var _a;
|
|
3173
3725
|
if (changes['items']) {
|
|
3174
3726
|
this._parseItems(changes['items'].currentValue);
|
|
3175
3727
|
}
|
|
@@ -3191,9 +3743,25 @@ let Table = class Table {
|
|
|
3191
3743
|
if (calculateRowSelectionData || changes['selectedRows']) {
|
|
3192
3744
|
this._setRowSelectionData();
|
|
3193
3745
|
}
|
|
3746
|
+
if ((_a = changes['enableScroll']) === null || _a === void 0 ? void 0 : _a.currentValue) {
|
|
3747
|
+
this._calculateColumnWidths();
|
|
3748
|
+
this._checkChangesSubscriptions();
|
|
3749
|
+
}
|
|
3750
|
+
}
|
|
3751
|
+
ngAfterViewInit() {
|
|
3752
|
+
if (this.columnDefinitions) {
|
|
3753
|
+
this.columnDefinitions.changes.pipe(untilDestroyed(this), debounceTime(100)).subscribe(() => this._generateColumns());
|
|
3754
|
+
this._generateColumns();
|
|
3755
|
+
}
|
|
3756
|
+
if (!this.enableScroll) {
|
|
3757
|
+
return;
|
|
3758
|
+
}
|
|
3759
|
+
this._calculateColumnWidths();
|
|
3760
|
+
this._checkChangesSubscriptions();
|
|
3194
3761
|
}
|
|
3195
3762
|
onResize() {
|
|
3196
3763
|
this._setRowSelectionData();
|
|
3764
|
+
this._calculateColumnWidths();
|
|
3197
3765
|
}
|
|
3198
3766
|
keyDown({ key }) {
|
|
3199
3767
|
if (key !== 'Control' || this._ctrlDown === true) {
|
|
@@ -3247,6 +3815,12 @@ let Table = class Table {
|
|
|
3247
3815
|
}
|
|
3248
3816
|
return actions.filter(a => !a.showFunction || a.showFunction(this.parsedItems[rowIndex]));
|
|
3249
3817
|
}
|
|
3818
|
+
onContainerXScroll(ev) {
|
|
3819
|
+
if (!this.enableScroll) {
|
|
3820
|
+
return;
|
|
3821
|
+
}
|
|
3822
|
+
this._calculateScrollPosition(ev);
|
|
3823
|
+
}
|
|
3250
3824
|
_parseItems(items) {
|
|
3251
3825
|
if (!items) {
|
|
3252
3826
|
this.parsedItems = [];
|
|
@@ -3259,9 +3833,9 @@ let Table = class Table {
|
|
|
3259
3833
|
this.parsedItems = JSON.parse(items);
|
|
3260
3834
|
}
|
|
3261
3835
|
_generateColumns() {
|
|
3262
|
-
let definitionsArray = Array.from(this.
|
|
3836
|
+
let definitionsArray = Array.from(this.columnDefinitions);
|
|
3263
3837
|
definitionsArray = this._parseDefinitions(definitionsArray);
|
|
3264
|
-
this.columns
|
|
3838
|
+
this.columns$.next(definitionsArray);
|
|
3265
3839
|
}
|
|
3266
3840
|
_checkboxDisabled(item, rowIndex) {
|
|
3267
3841
|
const selectionContains = this._selectionContains(item, rowIndex);
|
|
@@ -3274,9 +3848,7 @@ let Table = class Table {
|
|
|
3274
3848
|
if (!this.enableRowSelection) {
|
|
3275
3849
|
return;
|
|
3276
3850
|
}
|
|
3277
|
-
const value = forceValue === undefined
|
|
3278
|
-
? this._getCheckedValue($event.target)
|
|
3279
|
-
: forceValue;
|
|
3851
|
+
const value = forceValue === undefined ? $event.detail : forceValue;
|
|
3280
3852
|
if (value) {
|
|
3281
3853
|
const toAdd = [];
|
|
3282
3854
|
for (let i = 0; i < this.parsedItems.length; i++) {
|
|
@@ -3538,11 +4110,10 @@ let Table = class Table {
|
|
|
3538
4110
|
enableRowSelection = true;
|
|
3539
4111
|
}
|
|
3540
4112
|
this.enableRowSelection = enableRowSelection;
|
|
3541
|
-
this.rowActionsRowDefinition$.next(this._parseRowActionsRowDefinition());
|
|
3542
4113
|
this.rowActionsRow$.next(rowActionsRow);
|
|
3543
4114
|
this.rowActionsFloatingAll$.next(rowActionsFloating);
|
|
3544
4115
|
this.floatingMenuShown$
|
|
3545
|
-
.pipe(take(1), filter
|
|
4116
|
+
.pipe(take(1), filter(v => !!v))
|
|
3546
4117
|
.subscribe(() => this._showFloatingMenu());
|
|
3547
4118
|
}, 200);
|
|
3548
4119
|
}
|
|
@@ -3559,41 +4130,10 @@ let Table = class Table {
|
|
|
3559
4130
|
});
|
|
3560
4131
|
}
|
|
3561
4132
|
_parseDefinitions(definitionsArray) {
|
|
3562
|
-
|
|
4133
|
+
return definitionsArray.map(definition => {
|
|
3563
4134
|
definition = this._parseDefinitionSizes(definition);
|
|
3564
|
-
definition.isLast = {};
|
|
3565
4135
|
return definition;
|
|
3566
4136
|
});
|
|
3567
|
-
const matchedIsLast = tableColumSizesOptions.reduce((data, size) => {
|
|
3568
|
-
data[size] = false;
|
|
3569
|
-
return data;
|
|
3570
|
-
}, {});
|
|
3571
|
-
for (let i = definitions.length - 1; i >= 0; i--) {
|
|
3572
|
-
const definition = definitions[i];
|
|
3573
|
-
for (const size of tableColumSizesOptions) {
|
|
3574
|
-
if (matchedIsLast[size]) {
|
|
3575
|
-
definition.isLast[size] = false;
|
|
3576
|
-
continue;
|
|
3577
|
-
}
|
|
3578
|
-
if (definition.parsedSizes[size] === 'hidden') {
|
|
3579
|
-
definition.isLast[size] = false;
|
|
3580
|
-
continue;
|
|
3581
|
-
}
|
|
3582
|
-
const isLastAtSizeFound = this._findLastDefinitionBySize(definitions, size);
|
|
3583
|
-
if (isLastAtSizeFound) {
|
|
3584
|
-
definition.isLast[size] = false;
|
|
3585
|
-
continue;
|
|
3586
|
-
}
|
|
3587
|
-
definition.isLast[size] = true;
|
|
3588
|
-
}
|
|
3589
|
-
}
|
|
3590
|
-
return definitions;
|
|
3591
|
-
}
|
|
3592
|
-
_findLastDefinitionBySize(definitions, size) {
|
|
3593
|
-
return definitions
|
|
3594
|
-
.slice()
|
|
3595
|
-
.reverse()
|
|
3596
|
-
.find(d => d.isLast[size] === true);
|
|
3597
4137
|
}
|
|
3598
4138
|
_parseDefinitionSizes(definition) {
|
|
3599
4139
|
var _a;
|
|
@@ -3614,35 +4154,95 @@ let Table = class Table {
|
|
|
3614
4154
|
definition.parsedSizes = parsedSizes;
|
|
3615
4155
|
return definition;
|
|
3616
4156
|
}
|
|
3617
|
-
|
|
3618
|
-
|
|
3619
|
-
|
|
3620
|
-
|
|
3621
|
-
|
|
3622
|
-
|
|
3623
|
-
for (const size of tableColumSizesOptions) {
|
|
3624
|
-
const lastColumn = this._findLastDefinitionBySize(this.columns, size);
|
|
3625
|
-
sizes[size] = lastColumn.parsedSizes[size];
|
|
4157
|
+
_checkChangesSubscriptions() {
|
|
4158
|
+
if (!this._rowChangesSubscription && this.tableRows) {
|
|
4159
|
+
this._rowChangesSubscription = this.tableRows.changes.pipe(untilDestroyed(this), debounceTime(100)).subscribe(() => this._calculateColumnWidths());
|
|
4160
|
+
}
|
|
4161
|
+
if (!this._cellChangesSubscription && this.tableCells) {
|
|
4162
|
+
this._cellChangesSubscription = this.tableCells.changes.pipe(untilDestroyed(this), debounceTime(100)).subscribe(() => this._calculateColumnWidths());
|
|
3626
4163
|
}
|
|
3627
|
-
|
|
3628
|
-
|
|
3629
|
-
|
|
3630
|
-
|
|
3631
|
-
|
|
3632
|
-
|
|
3633
|
-
|
|
3634
|
-
|
|
4164
|
+
}
|
|
4165
|
+
_calculateColumnWidths() {
|
|
4166
|
+
if (!this.tableCells || !this.tableRows) {
|
|
4167
|
+
return;
|
|
4168
|
+
}
|
|
4169
|
+
if (this._calculateColumnWidthsTimeout) {
|
|
4170
|
+
clearTimeout(this._calculateColumnWidthsTimeout);
|
|
4171
|
+
this._calculateColumnWidthsTimeout = 0;
|
|
4172
|
+
}
|
|
4173
|
+
const rows = this.tableRows.map(c => c.nativeElement);
|
|
4174
|
+
const cells = this.tableCells.map(c => c.nativeElement);
|
|
4175
|
+
this._calculateColumnWidthsTimeout = setTimeout(() => __awaiter(this, void 0, void 0, function* () {
|
|
4176
|
+
var _a;
|
|
4177
|
+
this._setRowsWidth(rows);
|
|
4178
|
+
const promises = [];
|
|
4179
|
+
for (const cell of cells) {
|
|
4180
|
+
if ((_a = cell.style.width) === null || _a === void 0 ? void 0 : _a.length) {
|
|
4181
|
+
cell.style.width = '';
|
|
4182
|
+
}
|
|
4183
|
+
promises.push(new Promise(resolve => setTimeout(() => {
|
|
4184
|
+
const rect = cell.getBoundingClientRect();
|
|
4185
|
+
cell.setAttribute('style', `width: ${rect.width}px !important`);
|
|
4186
|
+
resolve();
|
|
4187
|
+
}, 100)));
|
|
4188
|
+
}
|
|
4189
|
+
yield Promise.all(promises);
|
|
4190
|
+
this._setRowsWidth(rows, 'min-content');
|
|
4191
|
+
this._resetScrollPosition();
|
|
4192
|
+
}), 200);
|
|
4193
|
+
}
|
|
4194
|
+
_setRowsWidth(rows, value = null) {
|
|
4195
|
+
for (let i = 0; i < rows.length; i++) {
|
|
4196
|
+
const row = rows[i];
|
|
4197
|
+
const shadow = row.shadowRoot;
|
|
4198
|
+
if (!shadow) {
|
|
4199
|
+
continue;
|
|
4200
|
+
}
|
|
4201
|
+
const firstDiv = shadow.querySelector('*:nth-child(1)');
|
|
4202
|
+
if (!firstDiv) {
|
|
4203
|
+
continue;
|
|
4204
|
+
}
|
|
4205
|
+
const secondDiv = firstDiv.querySelector('*:nth-child(1)');
|
|
4206
|
+
if (!secondDiv) {
|
|
4207
|
+
continue;
|
|
4208
|
+
}
|
|
4209
|
+
if (value === null) {
|
|
4210
|
+
firstDiv.setAttribute('style', '');
|
|
4211
|
+
secondDiv.setAttribute('style', '');
|
|
4212
|
+
continue;
|
|
4213
|
+
}
|
|
4214
|
+
firstDiv.setAttribute('style', 'width: min-content;');
|
|
4215
|
+
secondDiv.setAttribute('style', 'width: min-content;');
|
|
4216
|
+
if (i === 0) {
|
|
4217
|
+
this._totalWidth = firstDiv.getBoundingClientRect().width;
|
|
4218
|
+
}
|
|
4219
|
+
}
|
|
4220
|
+
}
|
|
4221
|
+
_resetScrollPosition() {
|
|
4222
|
+
if (this.scrollContainer) {
|
|
4223
|
+
this.scrollContainer.nativeElement.scrollLeft = 0;
|
|
4224
|
+
}
|
|
4225
|
+
this.reachedScrollStart$.next(true);
|
|
4226
|
+
this.reachedScrollEnd$.next(false);
|
|
4227
|
+
}
|
|
4228
|
+
_calculateScrollPosition({ target }) {
|
|
4229
|
+
this.reachedScrollStart$.next(target.scrollLeft < 100);
|
|
4230
|
+
const right = target.scrollLeft + target.getBoundingClientRect().width;
|
|
4231
|
+
this.reachedScrollEnd$.next(right > this._totalWidth - 100);
|
|
3635
4232
|
}
|
|
3636
4233
|
};
|
|
3637
4234
|
Table.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: Table, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
3638
|
-
Table.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: Table, selector: "p-table-ngx", inputs: { items: "items", loading: "loading", headerLoading: "headerLoading", footerLoading: "footerLoading", amountOfLoadingRows: "amountOfLoadingRows", enableRowSelection: "enableRowSelection", rowSelectionLimit: "rowSelectionLimit", enableRowClick: "enableRowClick", selectedRows: "selectedRows", selectionKey: "selectionKey", canSelectKey: "canSelectKey", enableFloatingMenu: "enableFloatingMenu", floatingMenuAmountSelectedText: "floatingMenuAmountSelectedText", floatingMenuAmountSelectedTemplate: "floatingMenuAmountSelectedTemplate", enableHeader: "enableHeader", quickFilters: "quickFilters", activeQuickFilterIdentifier: "activeQuickFilterIdentifier", enableSearch: "enableSearch", query: "query", enableFilter: "enableFilter", selectedFiltersAmount: "selectedFiltersAmount", filterButtonTemplate: "filterButtonTemplate", enableAction: "enableAction", actionButtonLoading: "actionButtonLoading", actionButtonIcon: "actionButtonIcon", actionButtonEnabled: "actionButtonEnabled", actionButtonText: "actionButtonText", actionButtonTemplate: "actionButtonTemplate", enableFooter: "enableFooter", enablePageSize: "enablePageSize", enablePagination: "enablePagination", enableExport: "enableExport", page: "page", total: "total", pageSize: "pageSize", pageSizeOptions: "pageSizeOptions", hideOnSinglePage: "hideOnSinglePage", emptyStateType: "emptyStateType", emptyStateIllustration: "emptyStateIllustration", emptyStateHeader: "emptyStateHeader", emptyStateContent: "emptyStateContent", emptyStateAction: "emptyStateAction", enableEmptyStateAction: "enableEmptyStateAction", emptyStateFilteredIllustration: "emptyStateFilteredIllustration", emptyStateFilteredHeader: "emptyStateFilteredHeader", emptyStateFilteredContent: "emptyStateFilteredContent", shadow: "shadow", 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", action: "action", pageChange: "pageChange", pageSizeChange: "pageSizeChange", export: "export", emptyStateActionClick: "emptyStateActionClick", filterModalShow: "filterModalShow", filterModalSave: "filterModalSave", filterModalReset: "filterModalReset" }, host: { listeners: { "window:resize": "onResize($event)", "document:keydown": "keyDown($event)", "document:keyup": "keyUp($event)", "document:visibilitychange": "visibilityChange($event)" } }, queries: [{ propertyName: "headerCustomFilterTemplate", first: true, predicate: TableCustomFilterDirective, descendants: true, read: TemplateRef, static: true }, { propertyName: "filterModalTemplate", first: true, predicate: TableFilterModalDirective, descendants: true, read: TemplateRef, static: true }, { propertyName: "columnDefinitions", predicate: TableColumn }, { propertyName: "rowActions", predicate: TableRowAction }], usesOnChanges: true, ngImport: i0, template: "<p-table-container [shadow]=\"shadow\">\n\t<p-table-header\n\t\t*ngIf=\"enableHeader\"\n\t\t[quickFilters]=\"quickFilters\"\n\t\t[activeQuickFilterIdentifier]=\"activeQuickFilterIdentifier\"\n\t\t(quickFilter)=\"onQuickFilter($event)\"\n\t\t[enableSearch]=\"enableSearch\"\n\t\t[query]=\"query\"\n\t\t(queryChange)=\"onQueryChange($event)\"\n\t\t[enableFilter]=\"enableFilter\"\n\t\t[selectedFiltersAmount]=\"selectedFiltersAmount\"\n\t\t[filterButtonTemplate]=\"filterButtonTemplate\"\n\t\t(filter)=\"filterModalShow$.next(true)\"\n\t\t[enableAction]=\"enableAction\"\n\t\t[canUseAction]=\"actionButtonEnabled\"\n\t\t[actionButtonTemplate]=\"actionButtonTemplate\"\n\t\t[actionLoading]=\"actionButtonLoading\"\n\t\t[actionText]=\"actionButtonText\"\n\t\t[actionIcon]=\"actionButtonIcon\"\n\t\t(action)=\"action.emit()\"\n\t\t[itemsSelectedAmount]=\"selectedRows.length\"\n\t\t[loading]=\"headerLoading\"\n\t>\n\t\t<ng-container *ngIf=\"headerCustomFilterTemplate\">\n\t\t\t<ng-container\n\t\t\t\t*ngTemplateOutlet=\"headerCustomFilterTemplate\"\n\t\t\t></ng-container>\n\t\t</ng-container>\n\t</p-table-header>\n\n\t<p-table-row variant=\"header\">\n\t\t<ng-container *ngFor=\"let col of columns; let index = index\">\n\t\t\t<p-table-cell-ngx\n\t\t\t\t[definition]=\"col\"\n\t\t\t\t[value]=\"col.name\"\n\t\t\t\tvariant=\"header\"\n\t\t\t\t[index]=\"index\"\n\t\t\t\t[checkbox]=\"\n\t\t\t\t\t(index === 0 || col.hasCheckbox) && enableRowSelection\n\t\t\t\t\t\t? checkboxTemplate\n\t\t\t\t\t\t: undefined\n\t\t\t\t\"\n\t\t\t></p-table-cell-ngx>\n\t\t\t<ng-template #checkboxTemplate>\n\t\t\t\t<input\n\t\t\t\t\tclass=\"p-input\"\n\t\t\t\t\ttype=\"checkbox\"\n\t\t\t\t\t(change)=\"_selectAllChange($event)\"\n\t\t\t\t\t[checked]=\"_selectionContainsAll()\"\n\t\t\t\t\t[indeterminate]=\"_selectionIndeterminate()\"\n\t\t\t\t\t[class.opacity-0]=\"rowSelectionLimit !== undefined\"\n\t\t\t\t\t[disabled]=\"rowSelectionLimit !== undefined\"\n\t\t\t\t/>\n\t\t\t</ng-template>\n\t\t</ng-container>\n\t</p-table-row>\n\n\t<div class=\"flex flex-1 flex-col\">\n\t\t<ng-container *ngIf=\"loading; else contentTemplate\">\n\t\t\t<p-table-row\n\t\t\t\t*ngFor=\"let r of loadingRows; let rowIndex = index\"\n\t\t\t\t[enableHover]=\"enableRowSelection || enableRowClick\"\n\t\t\t>\n\t\t\t\t<ng-container *ngFor=\"let col of columns; let index = index\">\n\t\t\t\t\t<p-table-cell-ngx\n\t\t\t\t\t\t[definition]=\"col\"\n\t\t\t\t\t\tvariant=\"loading\"\n\t\t\t\t\t\t[checkbox]=\"\n\t\t\t\t\t\t\t(index === 0 || col.hasCheckbox) && enableRowSelection\n\t\t\t\t\t\t\t\t? checkboxTemplate\n\t\t\t\t\t\t\t\t: undefined\n\t\t\t\t\t\t\"\n\t\t\t\t\t\t[index]=\"index\"\n\t\t\t\t\t\t[rowIndex]=\"rowIndex\"\n\t\t\t\t\t></p-table-cell-ngx>\n\t\t\t\t\t<ng-template #checkboxTemplate>\n\t\t\t\t\t\t<p-loader\n\t\t\t\t\t\t\tvariant=\"ghost\"\n\t\t\t\t\t\t\tclass=\"h-6 w-6 rounded\"\n\t\t\t\t\t\t></p-loader>\n\t\t\t\t\t</ng-template>\n\t\t\t\t</ng-container>\n\t\t\t</p-table-row>\n\t\t</ng-container>\n\n\t\t<ng-template #contentTemplate>\n\t\t\t<ng-container *ngIf=\"parsedItems?.length; else emptyStateTemplate\">\n\t\t\t\t<p-table-row\n\t\t\t\t\t*ngFor=\"let item of parsedItems; let rowIndex = index\"\n\t\t\t\t\t[enableHover]=\"enableRowSelection || enableRowClick\"\n\t\t\t\t\t(click)=\"_rowClick($event, rowIndex)\"\n\t\t\t\t>\n\t\t\t\t\t<ng-container\n\t\t\t\t\t\t*ngIf=\"\n\t\t\t\t\t\t\tparseRowActionsRow(\n\t\t\t\t\t\t\t\trowActionsRow$ | async,\n\t\t\t\t\t\t\t\trowIndex\n\t\t\t\t\t\t\t) as rowActionsRow\n\t\t\t\t\t\t\"\n\t\t\t\t\t>\n\t\t\t\t\t\t<ng-container *ngFor=\"let col of columns; let index = index\">\n\t\t\t\t\t\t\t<p-table-cell-ngx\n\t\t\t\t\t\t\t\t[definition]=\"col\"\n\t\t\t\t\t\t\t\t[item]=\"item\"\n\t\t\t\t\t\t\t\t[checkbox]=\"\n\t\t\t\t\t\t\t\t\t(index === 0 || col.hasCheckbox) && enableRowSelection\n\t\t\t\t\t\t\t\t\t\t? checkboxTemplate\n\t\t\t\t\t\t\t\t\t\t: undefined\n\t\t\t\t\t\t\t\t\"\n\t\t\t\t\t\t\t\t[index]=\"index\"\n\t\t\t\t\t\t\t\t[rowIndex]=\"rowIndex\"\n\t\t\t\t\t\t\t\t[template]=\"col.template\"\n\t\t\t\t\t\t\t\t[tableHasActions]=\"\n\t\t\t\t\t\t\t\t\t!!rowActionsRow?.length && !(isMobile$ | async)\n\t\t\t\t\t\t\t\t\"\n\t\t\t\t\t\t\t></p-table-cell-ngx>\n\n\t\t\t\t\t\t\t<ng-template #checkboxTemplate>\n\t\t\t\t\t\t\t\t<input\n\t\t\t\t\t\t\t\t\tclass=\"p-input\"\n\t\t\t\t\t\t\t\t\ttype=\"checkbox\"\n\t\t\t\t\t\t\t\t\t(change)=\"_checkboxChange($event.target, rowIndex)\"\n\t\t\t\t\t\t\t\t\t[disabled]=\"_checkboxDisabled(item, rowIndex)\"\n\t\t\t\t\t\t\t\t\t[checked]=\"_selectionContains(item, rowIndex)\"\n\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t</ng-template>\n\t\t\t\t\t\t</ng-container>\n\n\t\t\t\t\t\t<ng-container\n\t\t\t\t\t\t\t*ngIf=\"\n\t\t\t\t\t\t\t\t!!rowActionsRow?.length &&\n\t\t\t\t\t\t\t\t!!(rowActionsRowDefinition$ | async) &&\n\t\t\t\t\t\t\t\t!(isMobile$ | async)\n\t\t\t\t\t\t\t\"\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t<p-table-cell-ngx\n\t\t\t\t\t\t\t\tvariant=\"actions\"\n\t\t\t\t\t\t\t\t[definition]=\"rowActionsRowDefinition$ | async\"\n\t\t\t\t\t\t\t\t[item]=\"parsedItems[rowIndex]\"\n\t\t\t\t\t\t\t\t[index]=\"columns.length - 1\"\n\t\t\t\t\t\t\t\t[rowIndex]=\"rowIndex\"\n\t\t\t\t\t\t\t\t[tableHasActions]=\"!!rowActionsRow?.length\"\n\t\t\t\t\t\t\t\t[template]=\"actionsTemplate\"\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t</p-table-cell-ngx>\n\n\t\t\t\t\t\t\t<ng-template #actionsTemplate>\n\t\t\t\t\t\t\t\t<div class=\"ml-auto flex items-center gap-2\">\n\t\t\t\t\t\t\t\t\t<ng-container *ngFor=\"let action of rowActionsRow\">\n\t\t\t\t\t\t\t\t\t\t<p-tooltip\n\t\t\t\t\t\t\t\t\t\t\t*ngIf=\"\n\t\t\t\t\t\t\t\t\t\t\t\taction.showFunction\n\t\t\t\t\t\t\t\t\t\t\t\t\t? action.showFunction(parsedItems[rowIndex])\n\t\t\t\t\t\t\t\t\t\t\t\t\t: true\n\t\t\t\t\t\t\t\t\t\t\t\"\n\t\t\t\t\t\t\t\t\t\t\t[content]=\"action.label\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t<p-button\n\t\t\t\t\t\t\t\t\t\t\t\tdata-is-action\n\t\t\t\t\t\t\t\t\t\t\t\tvariant=\"secondary\"\n\t\t\t\t\t\t\t\t\t\t\t\tslot=\"trigger\"\n\t\t\t\t\t\t\t\t\t\t\t\t[icon]=\"action.icon\"\n\t\t\t\t\t\t\t\t\t\t\t\t[iconRotate]=\"action.iconRotate\"\n\t\t\t\t\t\t\t\t\t\t\t\ticonFlip=\"action.iconFlip\"\n\t\t\t\t\t\t\t\t\t\t\t\ticonOnly=\"true\"\n\t\t\t\t\t\t\t\t\t\t\t\tsize=\"small\"\n\t\t\t\t\t\t\t\t\t\t\t\t[disabled]=\"action.disabled\"\n\t\t\t\t\t\t\t\t\t\t\t\t[routerLink]=\"\n\t\t\t\t\t\t\t\t\t\t\t\t\taction.routerLink\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t? (_getActionRouterLink(action.routerLink, rowIndex)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t | async)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t: null\n\t\t\t\t\t\t\t\t\t\t\t\t\"\n\t\t\t\t\t\t\t\t\t\t\t\t[queryParams]=\"\n\t\t\t\t\t\t\t\t\t\t\t\t\taction.queryParams\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t? (_getActionQueryParams(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\taction.queryParams,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\trowIndex\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t ) | async)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t: null\n\t\t\t\t\t\t\t\t\t\t\t\t\"\n\t\t\t\t\t\t\t\t\t\t\t\t(onClick)=\"_rowActionClick(action, rowIndex)\"\n\t\t\t\t\t\t\t\t\t\t\t></p-button>\n\t\t\t\t\t\t\t\t\t\t</p-tooltip>\n\t\t\t\t\t\t\t\t\t</ng-container>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t</ng-template>\n\t\t\t\t\t\t</ng-container>\n\t\t\t\t\t</ng-container>\n\t\t\t\t</p-table-row>\n\t\t\t</ng-container>\n\t\t</ng-template>\n\t</div>\n\n\t<p-table-footer\n\t\t*ngIf=\"enableFooter\"\n\t\t[hideOnSinglePage]=\"hideOnSinglePage\"\n\t\t[enablePageSize]=\"enablePageSize\"\n\t\t[pageSize]=\"pageSize\"\n\t\t[pageSizeOptions]=\"pageSizeOptions\"\n\t\t(pageSizeChange)=\"onPageSizeChange($event)\"\n\t\t[enablePagination]=\"enablePagination\"\n\t\t[page]=\"page\"\n\t\t[total]=\"total\"\n\t\t(pageChange)=\"onPageChange($event)\"\n\t\t[enableExport]=\"enableExport\"\n\t\t(export)=\"export.emit()\"\n\t\t[loading]=\"footerLoading\"\n\t></p-table-footer>\n\n\t<ng-container *ngIf=\"enableFloatingMenu && enableRowSelection\">\n\t\t<p-floating-menu-container\n\t\t\t[usedInTable]=\"true\"\n\t\t\t[class.inactive]=\"!selectedRows.length\"\n\t\t\t[class.shown]=\"floatingMenuShown$ | async\"\n\t\t>\n\t\t\t<p-floating-menu-item\n\t\t\t\t[hover]=\"false\"\n\t\t\t\tslot=\"floating-menu-item\"\n\t\t\t\t[class]=\"{\n\t\t\t\t\thidden: !!(rowActionsFloating$ | async)?.length,\n\t\t\t\t\t'tablet:flex': !!(rowActionsFloating$ | async)?.length\n\t\t\t\t}\"\n\t\t\t>\n\t\t\t\t{{ floatingMenuAmountSelectedText }}\n\t\t\t</p-floating-menu-item>\n\t\t\t<p-divider\n\t\t\t\tclass=\"mx-0 text-storm\"\n\t\t\t\tvariant=\"vertical\"\n\t\t\t\tslot=\"floating-menu-item\"\n\t\t\t\t[class]=\"{\n\t\t\t\t\thidden: !!(rowActionsFloating$ | async)?.length,\n\t\t\t\t\t'tablet:flex': !!(rowActionsFloating$ | async)?.length\n\t\t\t\t}\"\n\t\t\t></p-divider>\n\n\t\t\t<p-floating-menu-item\n\t\t\t\t*ngFor=\"let action of rowActionsFloating$ | async\"\n\t\t\t\tslot=\"floating-menu-item\"\n\t\t\t\t[disabled]=\"\n\t\t\t\t\t(action.type === 'single' && selectedRows.length > 1) ||\n\t\t\t\t\taction.disabled\n\t\t\t\t\"\n\t\t\t\t(click)=\"_rowActionClick(action)\"\n\t\t\t>\n\t\t\t\t{{ action.label }}\n\n\t\t\t\t<p-loader\n\t\t\t\t\t*ngIf=\"action.loading; else floatingMenuItemIconTemplate\"\n\t\t\t\t></p-loader>\n\n\t\t\t\t<ng-template #floatingMenuItemIconTemplate>\n\t\t\t\t\t<p-icon\n\t\t\t\t\t\t[variant]=\"action.icon\"\n\t\t\t\t\t\t[rotate]=\"action.iconRotate\"\n\t\t\t\t\t\t[flip]=\"action.iconFlip\"\n\t\t\t\t\t></p-icon>\n\t\t\t\t</ng-template>\n\t\t\t</p-floating-menu-item>\n\n\t\t\t<p-divider\n\t\t\t\tclass=\"mx-0 text-storm\"\n\t\t\t\tvariant=\"vertical\"\n\t\t\t\tslot=\"floating-menu-item\"\n\t\t\t></p-divider>\n\n\t\t\t<p-floating-menu-item\n\t\t\t\t(click)=\"_selectAllChange(null, false)\"\n\t\t\t\tslot=\"floating-menu-item\"\n\t\t\t>\n\t\t\t\t<p-icon variant=\"negative\"></p-icon>\n\t\t\t</p-floating-menu-item>\n\t\t</p-floating-menu-container>\n\t</ng-container>\n</p-table-container>\n\n<ng-container *ngIf=\"filterModalTemplate\">\n\t<p-modal\n\t\t[header]=\"filterModalHeaderText\"\n\t\t[show]=\"filterModalShow$ | async\"\n\t\t(closed)=\"filterModalShow$.next(false)\"\n\t>\n\t\t<div\n\t\t\tslot=\"content\"\n\t\t\tclass=\"flex flex-col gap-6\"\n\t\t>\n\t\t\t<ng-container *ngTemplateOutlet=\"filterModalTemplate\"></ng-container>\n\t\t</div>\n\t\t<div\n\t\t\tslot=\"footer\"\n\t\t\tclass=\"flex w-full justify-between gap-4\"\n\t\t>\n\t\t\t<p-button\n\t\t\t\t*ngIf=\"filterModalShowResetMobile\"\n\t\t\t\tclass=\"flex w-full tablet:w-auto desktop-xs:hidden\"\n\t\t\t\tvariant=\"secondary\"\n\t\t\t\t(onClick)=\"onFilterModalReset(true)\"\n\t\t\t>\n\t\t\t\t{{ filterModalResetText }}\n\t\t\t</p-button>\n\t\t\t<p-button\n\t\t\t\t*ngIf=\"filterModalShowReset\"\n\t\t\t\tclass=\"hidden w-full tablet:w-auto desktop-xs:flex\"\n\t\t\t\tvariant=\"secondary\"\n\t\t\t\t(onClick)=\"onFilterModalReset()\"\n\t\t\t>\n\t\t\t\t{{ filterModalResetText }}\n\t\t\t</p-button>\n\t\t\t<p-button\n\t\t\t\tclass=\"ml-auto w-full tablet:w-auto\"\n\t\t\t\ticon=\"checkmark\"\n\t\t\t\t(onClick)=\"onFilterModalSave()\"\n\t\t\t>\n\t\t\t\t{{ filterModalSaveText }}\n\t\t\t</p-button>\n\t\t</div>\n\t</p-modal>\n</ng-container>\n\n<ng-template #emptyStateTemplate>\n\t<div\n\t\t*ngIf=\"emptyStateType === 'filtered'; else emptyStateNonFilterTemplate\"\n\t\tclass=\"flex max-w-[20rem] flex-col items-center self-center py-24 text-center\"\n\t>\n\t\t<p-illustration\n\t\t\t[variant]=\"emptyStateFilteredIllustration\"\n\t\t\tclass=\"mb-6\"\n\t\t></p-illustration>\n\t\t<p class=\"text-storm-default font-semibold\">\n\t\t\t{{ emptyStateFilteredHeader }}\n\t\t</p>\n\t\t<p class=\"mb-14 text-sm text-storm-medium\">\n\t\t\t{{ emptyStateFilteredContent }}\n\t\t</p>\n\t</div>\n</ng-template>\n\n<ng-template #emptyStateNonFilterTemplate>\n\t<div\n\t\tclass=\"flex max-w-[20rem] flex-col items-center self-center py-24 text-center\"\n\t\t[class.cursor-pointer]=\"enableEmptyStateAction\"\n\t\t(click)=\"emptyStateClicked()\"\n\t>\n\t\t<p-illustration\n\t\t\t[variant]=\"emptyStateIllustration\"\n\t\t\tclass=\"mb-6\"\n\t\t></p-illustration>\n\t\t<p class=\"text-storm-default font-semibold\">\n\t\t\t{{ emptyStateHeader }}\n\t\t</p>\n\t\t<p class=\"mb-6 text-sm text-storm-medium\">\n\t\t\t{{ emptyStateContent }}\n\t\t</p>\n\t\t<p-button\n\t\t\t*ngIf=\"enableEmptyStateAction\"\n\t\t\tvariant=\"secondary\"\n\t\t\ticon=\"plus\"\n\t\t\tsize=\"small\"\n\t\t>\n\t\t\t{{ emptyStateAction }}\n\t\t</p-button>\n\t</div>\n</ng-template>\n", styles: [":host{position:relative;display:flex;flex-direction:column}:host .p-input[type=checkbox]{flex-shrink:0}:host p-table-container{position:relative}:host p-table-container p-floating-menu-container{position:fixed;bottom:1rem;left:50%;--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));animation:forwards floatingMenuContainerIn .3s ease!important}@media (min-width: 40rem){:host p-table-container p-floating-menu-container{position:absolute;bottom:4rem}}:host p-table-container p-floating-menu-container:not(.shown){display:none}:host p-table-container p-floating-menu-container.inactive{animation:forwards floatingMenuContainerOut .3s ease!important}@keyframes floatingMenuContainerOut{0%{display:flex;transform:translateY(0) translate(-50%);opacity:100}99%{transform:translateY(100%) translate(-50%);opacity:0;display:flex}to{transform:translateY(100%) translate(-50%);opacity:0;display:none}}@keyframes floatingMenuContainerIn{0%{transform:translateY(100%) translate(-50%);opacity:0;display:none}1%{transform:translateY(100%) translate(-50%);opacity:0;display:flex}to{transform:translateY(0) translate(-50%);opacity:100;display:flex}}\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: "directive", type: i2.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "component", type: PButton, selector: "p-button", inputs: ["as", "buttonGroupPosition", "chevron", "chevronPosition", "disabled", "href", "icon", "iconFlip", "iconOnly", "iconPosition", "iconRotate", "inheritText", "loading", "size", "target", "type", "underline", "variant"] }, { kind: "component", type: PDivider, selector: "p-divider", inputs: ["variant"] }, { kind: "component", type: PFloatingMenuContainer, selector: "p-floating-menu-container", inputs: ["usedInTable"] }, { kind: "component", type: PFloatingMenuItem, selector: "p-floating-menu-item", inputs: ["disabled", "hover"] }, { kind: "component", type: PIcon, selector: "p-icon", inputs: ["flip", "rotate", "size", "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", "padding", "scrollLock", "show", "showClose", "showMobileFooter", "size", "variant"] }, { kind: "component", type: PTableContainer, selector: "p-table-container", inputs: ["shadow"] }, { kind: "component", type: PTableFooter, selector: "p-table-footer", inputs: ["enableExport", "enablePageSize", "enablePagination", "hideOnSinglePage", "loading", "page", "pageSize", "pageSizeOptions", "total"] }, { kind: "component", type: PTableHeader, selector: "p-table-header", inputs: ["actionButtonTemplate", "actionIcon", "actionLoading", "actionText", "activeQuickFilterIdentifier", "canUseAction", "enableAction", "enableFilter", "enableSearch", "filterButtonTemplate", "itemsSelectedAmount", "loading", "query", "quickFilters", "selectedFiltersAmount"] }, { kind: "component", type: PTableRow, selector: "p-table-row", inputs: ["enableHover", "variant"] }, { kind: "component", type: PTooltip, selector: "p-tooltip", inputs: ["canManuallyClose", "content", "enableUserInput", "offset", "placement", "show", "strategy", "variant"] }, { kind: "component", type: TableCell, selector: "p-table-cell-ngx", inputs: ["variant", "index", "rowIndex", "definition", "item", "value", "tableHasActions", "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 });
|
|
4235
|
+
Table.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: Table, selector: "p-table-ngx", inputs: { items: "items", loading: "loading", headerLoading: "headerLoading", footerLoading: "footerLoading", amountOfLoadingRows: "amountOfLoadingRows", enableRowSelection: "enableRowSelection", rowSelectionLimit: "rowSelectionLimit", enableRowClick: "enableRowClick", selectedRows: "selectedRows", selectionKey: "selectionKey", canSelectKey: "canSelectKey", enableFloatingMenu: "enableFloatingMenu", floatingMenuAmountSelectedText: "floatingMenuAmountSelectedText", floatingMenuAmountSelectedTemplate: "floatingMenuAmountSelectedTemplate", enableHeader: "enableHeader", quickFilters: "quickFilters", activeQuickFilterIdentifier: "activeQuickFilterIdentifier", enableSearch: "enableSearch", query: "query", enableFilter: "enableFilter", enableFilterDesktop: "enableFilterDesktop", selectedFiltersAmount: "selectedFiltersAmount", filterButtonTemplate: "filterButtonTemplate", enableAction: "enableAction", actionButtonLoading: "actionButtonLoading", actionButtonIcon: "actionButtonIcon", actionButtonEnabled: "actionButtonEnabled", actionButtonText: "actionButtonText", actionButtonTemplate: "actionButtonTemplate", enableFooter: "enableFooter", enablePaginationSize: "enablePaginationSize", enablePaginationPages: "enablePaginationPages", enableExport: "enableExport", page: "page", total: "total", pageSize: "pageSize", pageSizeOptions: "pageSizeOptions", hideOnSinglePage: "hideOnSinglePage", emptyStateType: "emptyStateType", emptyStateIllustration: "emptyStateIllustration", emptyStateHeader: "emptyStateHeader", emptyStateContent: "emptyStateContent", emptyStateAction: "emptyStateAction", emptyStateActionIcon: "emptyStateActionIcon", enableEmptyStateAction: "enableEmptyStateAction", emptyStateFilteredIllustration: "emptyStateFilteredIllustration", emptyStateFilteredHeader: "emptyStateFilteredHeader", emptyStateFilteredContent: "emptyStateFilteredContent", enableScroll: "enableScroll", shadow: "shadow", 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", action: "action", pageChange: "pageChange", pageSizeChange: "pageSizeChange", export: "export", emptyStateActionClick: "emptyStateActionClick", filterModalShow: "filterModalShow", filterModalSave: "filterModalSave", filterModalReset: "filterModalReset" }, host: { listeners: { "window:resize": "onResize($event)", "document:keydown": "keyDown($event)", "document:keyup": "keyUp($event)", "document:visibilitychange": "visibilityChange($event)" }, properties: { "class": "this.className" } }, queries: [{ propertyName: "headerCustomFilterTemplate", first: true, predicate: TableCustomFilterDirective, descendants: true, read: TemplateRef, static: true }, { propertyName: "headerCustomActionsTemplate", first: true, predicate: TableCustomActionsDirective, descendants: true, read: TemplateRef, static: true }, { propertyName: "filterModalTemplate", first: true, predicate: TableFilterModalDirective, descendants: true, read: TemplateRef, static: true }, { propertyName: "columnDefinitions", predicate: TableColumn }, { propertyName: "rowActions", predicate: TableRowAction }], viewQueries: [{ propertyName: "scrollContainer", first: true, predicate: ["scrollContainer"], descendants: true }, { propertyName: "tableRows", predicate: PTableRow$1, descendants: true, read: ElementRef }, { propertyName: "tableCells", predicate: TableCell, descendants: true, read: ElementRef }], usesOnChanges: true, ngImport: i0, template: "<p-table-container>\n\t<p-table-header\n\t\t*ngIf=\"enableHeader\"\n\t\tclass=\"mb-8\"\n\t\t[quickFilters]=\"quickFilters\"\n\t\t[activeQuickFilterIdentifier]=\"activeQuickFilterIdentifier\"\n\t\t(quickFilter)=\"onQuickFilter($event)\"\n\t\t[enableSearch]=\"enableSearch\"\n\t\t[query]=\"query\"\n\t\t(queryChange)=\"onQueryChange($event)\"\n\t\t[enableFilter]=\"enableFilter\"\n\t\t[enableFilterDesktop]=\"enableFilterDesktop\"\n\t\t[selectedFiltersAmount]=\"selectedFiltersAmount\"\n\t\t[filterButtonTemplate]=\"filterButtonTemplate\"\n\t\t(filter)=\"filterModalShow$.next(true)\"\n\t\t[enableAction]=\"enableAction\"\n\t\t[canUseAction]=\"actionButtonEnabled\"\n\t\t[actionButtonTemplate]=\"actionButtonTemplate\"\n\t\t[actionLoading]=\"actionButtonLoading\"\n\t\t[actionText]=\"actionButtonText\"\n\t\t[actionIcon]=\"actionButtonIcon\"\n\t\t(action)=\"action.emit()\"\n\t\t[itemsSelectedAmount]=\"selectedRows.length\"\n\t\t[enableExport]=\"enableExport\"\n\t\t(export)=\"export.emit()\"\n\t\t[loading]=\"headerLoading\"\n\t>\n\t\t<ng-container *ngIf=\"headerCustomFilterTemplate\">\n\t\t\t<ng-container\n\t\t\t\t*ngTemplateOutlet=\"headerCustomFilterTemplate\"\n\t\t\t></ng-container>\n\t\t</ng-container>\n\n\t\t<ng-container *ngIf=\"headerCustomActionsTemplate\">\n\t\t\t<ng-container\n\t\t\t\t*ngTemplateOutlet=\"headerCustomActionsTemplate\"\n\t\t\t></ng-container>\n\t\t</ng-container>\n\t</p-table-header>\n\n\t<div class=\"relative flex-1\" *ngIf=\"enableScroll; else rowsTemplate\">\n\t\t<div class=\"flex flex-col overflow-x-auto\"\n\t\t\t#scrollContainer\n\t\t\t[class]=\"cn(\n\t\t\t\t'before:absolute before:top-0 before:left-0 before:z-[1] before:pointer-events-none',\n\t\t\t\t'before:w-[10%] before:h-full before:transition-opacity',\n\t\t\t\t'before:bg-gradient-to-r before:from-white before:via-white/80 before:to-transparent',\n\n\t\t\t\t'after:absolute after:top-0 after:right-0 after:z-[0] before:pointer-events-none',\n\t\t\t\t'after:w-[10%] after:h-full after:transition-opacity',\n\t\t\t\t'after:bg-gradient-to-l after:from-white after:via-white/80 after:to-transparent',\n\n\t\t\t\t{\n\t\t\t\t\t'before:opacity-0': reachedScrollStart$ | async,\n\t\t\t\t\t'after:opacity-0': reachedScrollEnd$ | async,\n\t\t\t\t\t'before:opacity-100': (reachedScrollStart$ | async) === false,\n\t\t\t\t\t'after:opacity-100': (reachedScrollEnd$ | async) === false,\n\t\t\t\t}\n\t\t\t)\"\n\t\t\t(scroll)=\"onContainerXScroll($event)\"\n\t\t>\n\t\t\t<ng-container *ngTemplateOutlet=\"rowsTemplate\"></ng-container>\n\t\t</div>\n\t</div>\n\n\t<ng-container *ngIf=\"enableFloatingMenu && enableRowSelection\">\n\t\t<p-floating-menu-container\n\t\t\t[usedInTable]=\"true\"\n\t\t\t[class]=\"\n\t\t\t\tfloatingMenuContainerClass({\n\t\t\t\t\thasFooter: enableFooter && (footerHidden$ | async) === false,\n\t\t\t\t\tactive: selectedRows.length > 0,\n\t\t\t\t\tshown: $any(floatingMenuShown$ | async)\n\t\t\t\t})\n\t\t\t\"\n\t\t\t[amount]=\"floatingMenuAmountSelectedText\"\n\t\t\t[enableAmountSelected]=\"!!(rowActionsFloating$ | async)?.length\"\n\t\t\t(close)=\"_selectAllChange(null, false)\"\n\t\t>\n\t\t\t<p-floating-menu-item\n\t\t\t\t*ngFor=\"let action of rowActionsFloating$ | async\"\n\t\t\t\tslot=\"floating-menu-item\"\n\t\t\t\t[disabled]=\"\n\t\t\t\t\t(action['type'] === 'single' && selectedRows.length > 1) ||\n\t\t\t\t\taction['disabled']\n\t\t\t\t\"\n\t\t\t\t[loading]=\"action['loading']\"\n\t\t\t\t[icon]=\"action['icon']\"\n\t\t\t\t[iconRotate]=\"action['iconRotate']\"\n\t\t\t\t[iconFlip]=\"action['iconFlip']\"\n\t\t\t\t(click)=\"_rowActionClick(action)\"\n\t\t\t>\n\t\t\t\t{{ action['label'] }}\n\t\t\t</p-floating-menu-item>\n\t\t</p-floating-menu-container>\n\t</ng-container>\n\n\t<p-table-footer\n\t\t*ngIf=\"enableFooter\"\n\t\t[hideOnSinglePage]=\"hideOnSinglePage\"\n\t\t[enablePaginationSize]=\"enablePaginationSize\"\n\t\t[pageSize]=\"pageSize\"\n\t\t[pageSizeOptions]=\"pageSizeOptions\"\n\t\t(pageSizeChange)=\"onPageSizeChange($event)\"\n\t\t[enablePaginationPages]=\"enablePaginationPages\"\n\t\t[page]=\"page\"\n\t\t[total]=\"total\"\n\t\t(pageChange)=\"onPageChange($event)\"\n\t\t[loading]=\"footerLoading\"\n\t\t(hiddenChange)=\"footerHidden$.next($event.detail)\"\n\t></p-table-footer>\n</p-table-container>\n\n<ng-template #rowsTemplate>\n\t<p-table-row variant=\"header\">\n\t\t<ng-container *ngFor=\"let col of columns$ | async; let index = index\">\n\t\t\t<p-table-cell-ngx\n\t\t\t\t[definition]=\"col\"\n\t\t\t\t[value]=\"col.name\"\n\t\t\t\tvariant=\"header\"\n\t\t\t\t[index]=\"index\"\n\t\t\t\t[checkbox]=\"\n\t\t\t\t\t(index === 0 || col.hasCheckbox) && enableRowSelection\n\t\t\t\t\t\t? checkboxTemplate\n\t\t\t\t\t\t: undefined\n\t\t\t\t\"\n\t\t\t></p-table-cell-ngx>\n\t\t\t<ng-template #checkboxTemplate>\n\t\t\t\t<p-checkbox\n\t\t\t\t\t(checkedChange)=\"_selectAllChange($event)\"\n\t\t\t\t\t[checked]=\"_selectionContainsAll()\"\n\t\t\t\t\t[indeterminate]=\"_selectionIndeterminate()\"\n\t\t\t\t\t[class.opacity-0]=\"rowSelectionLimit !== undefined\"\n\t\t\t\t\t[disabled]=\"rowSelectionLimit !== undefined\"\n\t\t\t\t></p-checkbox>\n\t\t\t</ng-template>\n\t\t</ng-container>\n\t</p-table-row>\n\n\t<div class=\"flex flex-1 flex-col\">\n\t\t<ng-container *ngIf=\"loading; else contentTemplate\">\n\t\t\t<p-table-row\n\t\t\t\t*ngFor=\"let r of loadingRows; let rowIndex = index\"\n\t\t\t\t[enableHover]=\"enableRowSelection || enableRowClick\"\n\t\t\t>\n\t\t\t\t<ng-container *ngFor=\"let col of columns$ | async; let index = index\">\n\t\t\t\t\t<p-table-cell-ngx\n\t\t\t\t\t\t[definition]=\"col\"\n\t\t\t\t\t\tvariant=\"loading\"\n\t\t\t\t\t\t[checkbox]=\"\n\t\t\t\t\t\t\t(index === 0 || col.hasCheckbox) && enableRowSelection\n\t\t\t\t\t\t\t\t? checkboxTemplate\n\t\t\t\t\t\t\t\t: undefined\n\t\t\t\t\t\t\"\n\t\t\t\t\t\t[index]=\"index\"\n\t\t\t\t\t\t[rowIndex]=\"rowIndex\"\n\t\t\t\t\t></p-table-cell-ngx>\n\t\t\t\t\t<ng-template #checkboxTemplate>\n\t\t\t\t\t\t<p-loader\n\t\t\t\t\t\t\tvariant=\"ghost\"\n\t\t\t\t\t\t\tclass=\"h-6 w-6 rounded\"\n\t\t\t\t\t\t></p-loader>\n\t\t\t\t\t</ng-template>\n\t\t\t\t</ng-container>\n\t\t\t</p-table-row>\n\t\t</ng-container>\n\n\t\t<ng-template #contentTemplate>\n\t\t\t<ng-container *ngIf=\"parsedItems?.length; else emptyStateTemplate\">\n\t\t\t\t<p-table-row\n\t\t\t\t\t*ngFor=\"let item of parsedItems; let rowIndex = index\"\n\t\t\t\t\t[enableHover]=\"enableRowSelection || enableRowClick\"\n\t\t\t\t\t(click)=\"_rowClick($event, rowIndex)\"\n\t\t\t\t>\n\t\t\t\t\t<ng-container\n\t\t\t\t\t\t*ngIf=\"\n\t\t\t\t\t\t\tparseRowActionsRow(\n\t\t\t\t\t\t\t\trowActionsRow$ | async,\n\t\t\t\t\t\t\t\trowIndex\n\t\t\t\t\t\t\t) as rowActionsRow\n\t\t\t\t\t\t\"\n\t\t\t\t\t>\n\t\t\t\t\t\t<ng-container *ngFor=\"let col of columns$ | async; let index = index\">\n\t\t\t\t\t\t\t<p-table-cell-ngx\n\t\t\t\t\t\t\t\t[definition]=\"col\"\n\t\t\t\t\t\t\t\t[item]=\"item\"\n\t\t\t\t\t\t\t\t[checkbox]=\"\n\t\t\t\t\t\t\t\t\t(index === 0 || col.hasCheckbox) && enableRowSelection\n\t\t\t\t\t\t\t\t\t\t? checkboxTemplate\n\t\t\t\t\t\t\t\t\t\t: undefined\n\t\t\t\t\t\t\t\t\"\n\t\t\t\t\t\t\t\t[index]=\"index\"\n\t\t\t\t\t\t\t\t[rowIndex]=\"rowIndex\"\n\t\t\t\t\t\t\t\t[template]=\"col.template\"\n\t\t\t\t\t\t\t></p-table-cell-ngx>\n\n\t\t\t\t\t\t\t<ng-template #checkboxTemplate>\n\t\t\t\t\t\t\t\t<p-checkbox\n\t\t\t\t\t\t\t\t\t(checkedChange)=\"_checkboxChange($event.target, rowIndex)\"\n\t\t\t\t\t\t\t\t\t[disabled]=\"_checkboxDisabled(item, rowIndex)\"\n\t\t\t\t\t\t\t\t\t[checked]=\"_selectionContains(item, rowIndex)\"\n\t\t\t\t\t\t\t\t></p-checkbox>\n\t\t\t\t\t\t\t</ng-template>\n\t\t\t\t\t\t</ng-container>\n\n\t\t\t\t\t\t<p-table-row-actions-container\n\t\t\t\t\t\t\t*ngIf=\"!!rowActionsRow?.length && !(isMobile$ | async)\"\n\t\t\t\t\t\t\tslot=\"actions\"\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t<ng-container *ngFor=\"let action of rowActionsRow\">\n\t\t\t\t\t\t\t\t<p-tooltip\n\t\t\t\t\t\t\t\t\t*ngIf=\"\n\t\t\t\t\t\t\t\t\t\taction.showFunction\n\t\t\t\t\t\t\t\t\t\t\t? action.showFunction(parsedItems[rowIndex])\n\t\t\t\t\t\t\t\t\t\t\t: true\n\t\t\t\t\t\t\t\t\t\"\n\t\t\t\t\t\t\t\t\t[content]=\"action['label']\"\n\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t<p-button\n\t\t\t\t\t\t\t\t\t\tdata-is-action\n\t\t\t\t\t\t\t\t\t\tvariant=\"secondary\"\n\t\t\t\t\t\t\t\t\t\tslot=\"trigger\"\n\t\t\t\t\t\t\t\t\t\t[icon]=\"action['icon']\"\n\t\t\t\t\t\t\t\t\t\t[iconRotate]=\"action['iconRotate']\"\n\t\t\t\t\t\t\t\t\t\ticonFlip=\"action.iconFlip\"\n\t\t\t\t\t\t\t\t\t\ticonOnly=\"true\"\n\t\t\t\t\t\t\t\t\t\tsize=\"sm\"\n\t\t\t\t\t\t\t\t\t\t[loading]=\"action['loading']\"\n\t\t\t\t\t\t\t\t\t\t[disabled]=\"action['disabled']\"\n\t\t\t\t\t\t\t\t\t\t[routerLink]=\"\n\t\t\t\t\t\t\t\t\t\t\taction.routerLink\n\t\t\t\t\t\t\t\t\t\t\t\t? (_getActionRouterLink(action.routerLink, rowIndex)\n\t\t\t\t\t\t\t\t\t\t\t\t | async)\n\t\t\t\t\t\t\t\t\t\t\t\t: null\n\t\t\t\t\t\t\t\t\t\t\"\n\t\t\t\t\t\t\t\t\t\t[queryParams]=\"\n\t\t\t\t\t\t\t\t\t\t\taction.queryParams\n\t\t\t\t\t\t\t\t\t\t\t\t? (_getActionQueryParams(action.queryParams, rowIndex)\n\t\t\t\t\t\t\t\t\t\t\t\t | async)\n\t\t\t\t\t\t\t\t\t\t\t\t: null\n\t\t\t\t\t\t\t\t\t\t\"\n\t\t\t\t\t\t\t\t\t\t(onClick)=\"_rowActionClick(action, rowIndex)\"\n\t\t\t\t\t\t\t\t\t></p-button>\n\t\t\t\t\t\t\t\t</p-tooltip>\n\t\t\t\t\t\t\t</ng-container>\n\t\t\t\t\t\t</p-table-row-actions-container>\n\t\t\t\t\t</ng-container>\n\t\t\t\t</p-table-row>\n\t\t\t</ng-container>\n\t\t</ng-template>\n\t</div>\n</ng-template>\n\n<ng-container *ngIf=\"filterModalTemplate\">\n\t<p-modal\n\t\t[header]=\"filterModalHeaderText\"\n\t\t[show]=\"filterModalShow$ | async\"\n\t\t(closed)=\"filterModalShow$.next(false)\"\n\t>\n\t\t<div\n\t\t\tslot=\"content\"\n\t\t\tclass=\"flex flex-col gap-6\"\n\t\t>\n\t\t\t<ng-container *ngTemplateOutlet=\"filterModalTemplate\"></ng-container>\n\t\t</div>\n\t\t<div\n\t\t\tslot=\"footer\"\n\t\t\tclass=\"flex w-full justify-between gap-4\"\n\t\t>\n\t\t\t<p-button\n\t\t\t\t*ngIf=\"filterModalShowResetMobile\"\n\t\t\t\tclass=\"flex w-full tablet:w-auto desktop-xs:hidden\"\n\t\t\t\tvariant=\"secondary\"\n\t\t\t\t(onClick)=\"onFilterModalReset(true)\"\n\t\t\t>\n\t\t\t\t{{ filterModalResetText }}\n\t\t\t</p-button>\n\t\t\t<p-button\n\t\t\t\t*ngIf=\"filterModalShowReset\"\n\t\t\t\tclass=\"hidden w-full tablet:w-auto desktop-xs:flex\"\n\t\t\t\tvariant=\"secondary\"\n\t\t\t\t(onClick)=\"onFilterModalReset()\"\n\t\t\t>\n\t\t\t\t{{ filterModalResetText }}\n\t\t\t</p-button>\n\t\t\t<p-button\n\t\t\t\tclass=\"ml-auto w-full tablet:w-auto\"\n\t\t\t\ticon=\"checkmark\"\n\t\t\t\t(onClick)=\"onFilterModalSave()\"\n\t\t\t>\n\t\t\t\t{{ filterModalSaveText }}\n\t\t\t</p-button>\n\t\t</div>\n\t</p-modal>\n</ng-container>\n\n<ng-template #emptyStateTemplate>\n\t<p-empty-state\n\t\t*ngIf=\"emptyStateType === 'filtered'; else emptyStateNonFilterTemplate\"\n\t\tclass=\"my-16 self-center\"\n\t\t[illustration]=\"emptyStateFilteredIllustration\"\n\t\t[header]=\"emptyStateFilteredHeader\"\n\t\t[content]=\"emptyStateFilteredContent\"\n\t></p-empty-state>\n</ng-template>\n\n<ng-template #emptyStateNonFilterTemplate>\n\t<p-empty-state\n\t\tclass=\"my-16 self-center\"\n\t\t[illustration]=\"emptyStateIllustration\"\n\t\t[header]=\"emptyStateHeader\"\n\t\t[content]=\"emptyStateContent\"\n\t\t[enableAction]=\"enableEmptyStateAction\"\n\t\t[actionText]=\"emptyStateAction\"\n\t\t[actionIcon]=\"emptyStateActionIcon\"\n\t\t(action)=\"emptyStateClicked()\"\n\t></p-empty-state>\n</ng-template>\n", dependencies: [{ kind: "directive", type: i1$2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i2.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "component", type: PButton, selector: "p-button", inputs: ["active", "as", "buttonGroupPosition", "chevron", "chevronPosition", "class", "disabled", "href", "icon", "iconFlip", "iconOnly", "iconPosition", "iconRotate", "inheritText", "label", "loading", "size", "target", "type", "underline", "variant"] }, { kind: "component", type: PCheckbox, selector: "p-checkbox", inputs: ["checked", "disabled", "id", "indeterminate", "name", "required"] }, { kind: "component", type: PEmptyState, selector: "p-empty-state", inputs: ["actionIcon", "actionLoading", "actionText", "actionVariant", "content", "enableAction", "header", "illustration"] }, { kind: "component", type: PFloatingMenuContainer, selector: "p-floating-menu-container", inputs: ["amount", "amountSelectedTemplate", "enableAmountSelected", "enableClose", "usedInTable"] }, { kind: "component", type: PFloatingMenuItem, selector: "p-floating-menu-item", inputs: ["disabled", "hover", "icon", "iconFlip", "iconPosition", "iconRotate", "loading"] }, { kind: "component", type: PLoader, selector: "p-loader", inputs: ["color", "modalDescription", "modalTitle", "show", "variant"] }, { kind: "component", type: PModal, selector: "p-modal", inputs: ["applyBlur", "backdropClickClose", "header", "scrollLock", "show", "showClose", "showMobileFooter", "size"] }, { kind: "component", type: PTableContainer, selector: "p-table-container" }, { kind: "component", type: PTableFooter, selector: "p-table-footer", inputs: ["enablePaginationPages", "enablePaginationSize", "hideOnSinglePage", "loading", "page", "pageSize", "pageSizeOptions", "total"] }, { kind: "component", type: PTableHeader, selector: "p-table-header", inputs: ["actionButtonTemplate", "actionIcon", "actionLoading", "actionText", "activeQuickFilterIdentifier", "canUseAction", "enableAction", "enableExport", "enableFilter", "enableFilterDesktop", "enableSearch", "filterButtonTemplate", "itemsSelectedAmount", "loading", "query", "quickFilters", "selectedFiltersAmount"] }, { kind: "component", type: PTableRow, selector: "p-table-row", inputs: ["enableHover", "variant"] }, { kind: "component", type: PTableRowActionsContainer, selector: "p-table-row-actions-container" }, { kind: "component", type: PTooltip, selector: "p-tooltip", inputs: ["canManuallyClose", "content", "enableUserInput", "offset", "placement", "show", "strategy", "usePortal", "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$2.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
3639
4236
|
Table = __decorate([
|
|
3640
4237
|
UntilDestroy({ checkProperties: true })
|
|
3641
4238
|
], Table);
|
|
3642
4239
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: Table, decorators: [{
|
|
3643
4240
|
type: Component,
|
|
3644
|
-
args: [{ selector: 'p-table-ngx', changeDetection: ChangeDetectionStrategy.OnPush, template: "<p-table-container [shadow]=\"shadow\">\n\t<p-table-header\n\t\t*ngIf=\"enableHeader\"\n\t\t[quickFilters]=\"quickFilters\"\n\t\t[activeQuickFilterIdentifier]=\"activeQuickFilterIdentifier\"\n\t\t(quickFilter)=\"onQuickFilter($event)\"\n\t\t[enableSearch]=\"enableSearch\"\n\t\t[query]=\"query\"\n\t\t(queryChange)=\"onQueryChange($event)\"\n\t\t[enableFilter]=\"enableFilter\"\n\t\t[selectedFiltersAmount]=\"selectedFiltersAmount\"\n\t\t[filterButtonTemplate]=\"filterButtonTemplate\"\n\t\t(filter)=\"filterModalShow$.next(true)\"\n\t\t[enableAction]=\"enableAction\"\n\t\t[canUseAction]=\"actionButtonEnabled\"\n\t\t[actionButtonTemplate]=\"actionButtonTemplate\"\n\t\t[actionLoading]=\"actionButtonLoading\"\n\t\t[actionText]=\"actionButtonText\"\n\t\t[actionIcon]=\"actionButtonIcon\"\n\t\t(action)=\"action.emit()\"\n\t\t[itemsSelectedAmount]=\"selectedRows.length\"\n\t\t[loading]=\"headerLoading\"\n\t>\n\t\t<ng-container *ngIf=\"headerCustomFilterTemplate\">\n\t\t\t<ng-container\n\t\t\t\t*ngTemplateOutlet=\"headerCustomFilterTemplate\"\n\t\t\t></ng-container>\n\t\t</ng-container>\n\t</p-table-header>\n\n\t<p-table-row variant=\"header\">\n\t\t<ng-container *ngFor=\"let col of columns; let index = index\">\n\t\t\t<p-table-cell-ngx\n\t\t\t\t[definition]=\"col\"\n\t\t\t\t[value]=\"col.name\"\n\t\t\t\tvariant=\"header\"\n\t\t\t\t[index]=\"index\"\n\t\t\t\t[checkbox]=\"\n\t\t\t\t\t(index === 0 || col.hasCheckbox) && enableRowSelection\n\t\t\t\t\t\t? checkboxTemplate\n\t\t\t\t\t\t: undefined\n\t\t\t\t\"\n\t\t\t></p-table-cell-ngx>\n\t\t\t<ng-template #checkboxTemplate>\n\t\t\t\t<input\n\t\t\t\t\tclass=\"p-input\"\n\t\t\t\t\ttype=\"checkbox\"\n\t\t\t\t\t(change)=\"_selectAllChange($event)\"\n\t\t\t\t\t[checked]=\"_selectionContainsAll()\"\n\t\t\t\t\t[indeterminate]=\"_selectionIndeterminate()\"\n\t\t\t\t\t[class.opacity-0]=\"rowSelectionLimit !== undefined\"\n\t\t\t\t\t[disabled]=\"rowSelectionLimit !== undefined\"\n\t\t\t\t/>\n\t\t\t</ng-template>\n\t\t</ng-container>\n\t</p-table-row>\n\n\t<div class=\"flex flex-1 flex-col\">\n\t\t<ng-container *ngIf=\"loading; else contentTemplate\">\n\t\t\t<p-table-row\n\t\t\t\t*ngFor=\"let r of loadingRows; let rowIndex = index\"\n\t\t\t\t[enableHover]=\"enableRowSelection || enableRowClick\"\n\t\t\t>\n\t\t\t\t<ng-container *ngFor=\"let col of columns; let index = index\">\n\t\t\t\t\t<p-table-cell-ngx\n\t\t\t\t\t\t[definition]=\"col\"\n\t\t\t\t\t\tvariant=\"loading\"\n\t\t\t\t\t\t[checkbox]=\"\n\t\t\t\t\t\t\t(index === 0 || col.hasCheckbox) && enableRowSelection\n\t\t\t\t\t\t\t\t? checkboxTemplate\n\t\t\t\t\t\t\t\t: undefined\n\t\t\t\t\t\t\"\n\t\t\t\t\t\t[index]=\"index\"\n\t\t\t\t\t\t[rowIndex]=\"rowIndex\"\n\t\t\t\t\t></p-table-cell-ngx>\n\t\t\t\t\t<ng-template #checkboxTemplate>\n\t\t\t\t\t\t<p-loader\n\t\t\t\t\t\t\tvariant=\"ghost\"\n\t\t\t\t\t\t\tclass=\"h-6 w-6 rounded\"\n\t\t\t\t\t\t></p-loader>\n\t\t\t\t\t</ng-template>\n\t\t\t\t</ng-container>\n\t\t\t</p-table-row>\n\t\t</ng-container>\n\n\t\t<ng-template #contentTemplate>\n\t\t\t<ng-container *ngIf=\"parsedItems?.length; else emptyStateTemplate\">\n\t\t\t\t<p-table-row\n\t\t\t\t\t*ngFor=\"let item of parsedItems; let rowIndex = index\"\n\t\t\t\t\t[enableHover]=\"enableRowSelection || enableRowClick\"\n\t\t\t\t\t(click)=\"_rowClick($event, rowIndex)\"\n\t\t\t\t>\n\t\t\t\t\t<ng-container\n\t\t\t\t\t\t*ngIf=\"\n\t\t\t\t\t\t\tparseRowActionsRow(\n\t\t\t\t\t\t\t\trowActionsRow$ | async,\n\t\t\t\t\t\t\t\trowIndex\n\t\t\t\t\t\t\t) as rowActionsRow\n\t\t\t\t\t\t\"\n\t\t\t\t\t>\n\t\t\t\t\t\t<ng-container *ngFor=\"let col of columns; let index = index\">\n\t\t\t\t\t\t\t<p-table-cell-ngx\n\t\t\t\t\t\t\t\t[definition]=\"col\"\n\t\t\t\t\t\t\t\t[item]=\"item\"\n\t\t\t\t\t\t\t\t[checkbox]=\"\n\t\t\t\t\t\t\t\t\t(index === 0 || col.hasCheckbox) && enableRowSelection\n\t\t\t\t\t\t\t\t\t\t? checkboxTemplate\n\t\t\t\t\t\t\t\t\t\t: undefined\n\t\t\t\t\t\t\t\t\"\n\t\t\t\t\t\t\t\t[index]=\"index\"\n\t\t\t\t\t\t\t\t[rowIndex]=\"rowIndex\"\n\t\t\t\t\t\t\t\t[template]=\"col.template\"\n\t\t\t\t\t\t\t\t[tableHasActions]=\"\n\t\t\t\t\t\t\t\t\t!!rowActionsRow?.length && !(isMobile$ | async)\n\t\t\t\t\t\t\t\t\"\n\t\t\t\t\t\t\t></p-table-cell-ngx>\n\n\t\t\t\t\t\t\t<ng-template #checkboxTemplate>\n\t\t\t\t\t\t\t\t<input\n\t\t\t\t\t\t\t\t\tclass=\"p-input\"\n\t\t\t\t\t\t\t\t\ttype=\"checkbox\"\n\t\t\t\t\t\t\t\t\t(change)=\"_checkboxChange($event.target, rowIndex)\"\n\t\t\t\t\t\t\t\t\t[disabled]=\"_checkboxDisabled(item, rowIndex)\"\n\t\t\t\t\t\t\t\t\t[checked]=\"_selectionContains(item, rowIndex)\"\n\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t</ng-template>\n\t\t\t\t\t\t</ng-container>\n\n\t\t\t\t\t\t<ng-container\n\t\t\t\t\t\t\t*ngIf=\"\n\t\t\t\t\t\t\t\t!!rowActionsRow?.length &&\n\t\t\t\t\t\t\t\t!!(rowActionsRowDefinition$ | async) &&\n\t\t\t\t\t\t\t\t!(isMobile$ | async)\n\t\t\t\t\t\t\t\"\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t<p-table-cell-ngx\n\t\t\t\t\t\t\t\tvariant=\"actions\"\n\t\t\t\t\t\t\t\t[definition]=\"rowActionsRowDefinition$ | async\"\n\t\t\t\t\t\t\t\t[item]=\"parsedItems[rowIndex]\"\n\t\t\t\t\t\t\t\t[index]=\"columns.length - 1\"\n\t\t\t\t\t\t\t\t[rowIndex]=\"rowIndex\"\n\t\t\t\t\t\t\t\t[tableHasActions]=\"!!rowActionsRow?.length\"\n\t\t\t\t\t\t\t\t[template]=\"actionsTemplate\"\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t</p-table-cell-ngx>\n\n\t\t\t\t\t\t\t<ng-template #actionsTemplate>\n\t\t\t\t\t\t\t\t<div class=\"ml-auto flex items-center gap-2\">\n\t\t\t\t\t\t\t\t\t<ng-container *ngFor=\"let action of rowActionsRow\">\n\t\t\t\t\t\t\t\t\t\t<p-tooltip\n\t\t\t\t\t\t\t\t\t\t\t*ngIf=\"\n\t\t\t\t\t\t\t\t\t\t\t\taction.showFunction\n\t\t\t\t\t\t\t\t\t\t\t\t\t? action.showFunction(parsedItems[rowIndex])\n\t\t\t\t\t\t\t\t\t\t\t\t\t: true\n\t\t\t\t\t\t\t\t\t\t\t\"\n\t\t\t\t\t\t\t\t\t\t\t[content]=\"action.label\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t<p-button\n\t\t\t\t\t\t\t\t\t\t\t\tdata-is-action\n\t\t\t\t\t\t\t\t\t\t\t\tvariant=\"secondary\"\n\t\t\t\t\t\t\t\t\t\t\t\tslot=\"trigger\"\n\t\t\t\t\t\t\t\t\t\t\t\t[icon]=\"action.icon\"\n\t\t\t\t\t\t\t\t\t\t\t\t[iconRotate]=\"action.iconRotate\"\n\t\t\t\t\t\t\t\t\t\t\t\ticonFlip=\"action.iconFlip\"\n\t\t\t\t\t\t\t\t\t\t\t\ticonOnly=\"true\"\n\t\t\t\t\t\t\t\t\t\t\t\tsize=\"small\"\n\t\t\t\t\t\t\t\t\t\t\t\t[disabled]=\"action.disabled\"\n\t\t\t\t\t\t\t\t\t\t\t\t[routerLink]=\"\n\t\t\t\t\t\t\t\t\t\t\t\t\taction.routerLink\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t? (_getActionRouterLink(action.routerLink, rowIndex)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t | async)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t: null\n\t\t\t\t\t\t\t\t\t\t\t\t\"\n\t\t\t\t\t\t\t\t\t\t\t\t[queryParams]=\"\n\t\t\t\t\t\t\t\t\t\t\t\t\taction.queryParams\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t? (_getActionQueryParams(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\taction.queryParams,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\trowIndex\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t ) | async)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t: null\n\t\t\t\t\t\t\t\t\t\t\t\t\"\n\t\t\t\t\t\t\t\t\t\t\t\t(onClick)=\"_rowActionClick(action, rowIndex)\"\n\t\t\t\t\t\t\t\t\t\t\t></p-button>\n\t\t\t\t\t\t\t\t\t\t</p-tooltip>\n\t\t\t\t\t\t\t\t\t</ng-container>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t</ng-template>\n\t\t\t\t\t\t</ng-container>\n\t\t\t\t\t</ng-container>\n\t\t\t\t</p-table-row>\n\t\t\t</ng-container>\n\t\t</ng-template>\n\t</div>\n\n\t<p-table-footer\n\t\t*ngIf=\"enableFooter\"\n\t\t[hideOnSinglePage]=\"hideOnSinglePage\"\n\t\t[enablePageSize]=\"enablePageSize\"\n\t\t[pageSize]=\"pageSize\"\n\t\t[pageSizeOptions]=\"pageSizeOptions\"\n\t\t(pageSizeChange)=\"onPageSizeChange($event)\"\n\t\t[enablePagination]=\"enablePagination\"\n\t\t[page]=\"page\"\n\t\t[total]=\"total\"\n\t\t(pageChange)=\"onPageChange($event)\"\n\t\t[enableExport]=\"enableExport\"\n\t\t(export)=\"export.emit()\"\n\t\t[loading]=\"footerLoading\"\n\t></p-table-footer>\n\n\t<ng-container *ngIf=\"enableFloatingMenu && enableRowSelection\">\n\t\t<p-floating-menu-container\n\t\t\t[usedInTable]=\"true\"\n\t\t\t[class.inactive]=\"!selectedRows.length\"\n\t\t\t[class.shown]=\"floatingMenuShown$ | async\"\n\t\t>\n\t\t\t<p-floating-menu-item\n\t\t\t\t[hover]=\"false\"\n\t\t\t\tslot=\"floating-menu-item\"\n\t\t\t\t[class]=\"{\n\t\t\t\t\thidden: !!(rowActionsFloating$ | async)?.length,\n\t\t\t\t\t'tablet:flex': !!(rowActionsFloating$ | async)?.length\n\t\t\t\t}\"\n\t\t\t>\n\t\t\t\t{{ floatingMenuAmountSelectedText }}\n\t\t\t</p-floating-menu-item>\n\t\t\t<p-divider\n\t\t\t\tclass=\"mx-0 text-storm\"\n\t\t\t\tvariant=\"vertical\"\n\t\t\t\tslot=\"floating-menu-item\"\n\t\t\t\t[class]=\"{\n\t\t\t\t\thidden: !!(rowActionsFloating$ | async)?.length,\n\t\t\t\t\t'tablet:flex': !!(rowActionsFloating$ | async)?.length\n\t\t\t\t}\"\n\t\t\t></p-divider>\n\n\t\t\t<p-floating-menu-item\n\t\t\t\t*ngFor=\"let action of rowActionsFloating$ | async\"\n\t\t\t\tslot=\"floating-menu-item\"\n\t\t\t\t[disabled]=\"\n\t\t\t\t\t(action.type === 'single' && selectedRows.length > 1) ||\n\t\t\t\t\taction.disabled\n\t\t\t\t\"\n\t\t\t\t(click)=\"_rowActionClick(action)\"\n\t\t\t>\n\t\t\t\t{{ action.label }}\n\n\t\t\t\t<p-loader\n\t\t\t\t\t*ngIf=\"action.loading; else floatingMenuItemIconTemplate\"\n\t\t\t\t></p-loader>\n\n\t\t\t\t<ng-template #floatingMenuItemIconTemplate>\n\t\t\t\t\t<p-icon\n\t\t\t\t\t\t[variant]=\"action.icon\"\n\t\t\t\t\t\t[rotate]=\"action.iconRotate\"\n\t\t\t\t\t\t[flip]=\"action.iconFlip\"\n\t\t\t\t\t></p-icon>\n\t\t\t\t</ng-template>\n\t\t\t</p-floating-menu-item>\n\n\t\t\t<p-divider\n\t\t\t\tclass=\"mx-0 text-storm\"\n\t\t\t\tvariant=\"vertical\"\n\t\t\t\tslot=\"floating-menu-item\"\n\t\t\t></p-divider>\n\n\t\t\t<p-floating-menu-item\n\t\t\t\t(click)=\"_selectAllChange(null, false)\"\n\t\t\t\tslot=\"floating-menu-item\"\n\t\t\t>\n\t\t\t\t<p-icon variant=\"negative\"></p-icon>\n\t\t\t</p-floating-menu-item>\n\t\t</p-floating-menu-container>\n\t</ng-container>\n</p-table-container>\n\n<ng-container *ngIf=\"filterModalTemplate\">\n\t<p-modal\n\t\t[header]=\"filterModalHeaderText\"\n\t\t[show]=\"filterModalShow$ | async\"\n\t\t(closed)=\"filterModalShow$.next(false)\"\n\t>\n\t\t<div\n\t\t\tslot=\"content\"\n\t\t\tclass=\"flex flex-col gap-6\"\n\t\t>\n\t\t\t<ng-container *ngTemplateOutlet=\"filterModalTemplate\"></ng-container>\n\t\t</div>\n\t\t<div\n\t\t\tslot=\"footer\"\n\t\t\tclass=\"flex w-full justify-between gap-4\"\n\t\t>\n\t\t\t<p-button\n\t\t\t\t*ngIf=\"filterModalShowResetMobile\"\n\t\t\t\tclass=\"flex w-full tablet:w-auto desktop-xs:hidden\"\n\t\t\t\tvariant=\"secondary\"\n\t\t\t\t(onClick)=\"onFilterModalReset(true)\"\n\t\t\t>\n\t\t\t\t{{ filterModalResetText }}\n\t\t\t</p-button>\n\t\t\t<p-button\n\t\t\t\t*ngIf=\"filterModalShowReset\"\n\t\t\t\tclass=\"hidden w-full tablet:w-auto desktop-xs:flex\"\n\t\t\t\tvariant=\"secondary\"\n\t\t\t\t(onClick)=\"onFilterModalReset()\"\n\t\t\t>\n\t\t\t\t{{ filterModalResetText }}\n\t\t\t</p-button>\n\t\t\t<p-button\n\t\t\t\tclass=\"ml-auto w-full tablet:w-auto\"\n\t\t\t\ticon=\"checkmark\"\n\t\t\t\t(onClick)=\"onFilterModalSave()\"\n\t\t\t>\n\t\t\t\t{{ filterModalSaveText }}\n\t\t\t</p-button>\n\t\t</div>\n\t</p-modal>\n</ng-container>\n\n<ng-template #emptyStateTemplate>\n\t<div\n\t\t*ngIf=\"emptyStateType === 'filtered'; else emptyStateNonFilterTemplate\"\n\t\tclass=\"flex max-w-[20rem] flex-col items-center self-center py-24 text-center\"\n\t>\n\t\t<p-illustration\n\t\t\t[variant]=\"emptyStateFilteredIllustration\"\n\t\t\tclass=\"mb-6\"\n\t\t></p-illustration>\n\t\t<p class=\"text-storm-default font-semibold\">\n\t\t\t{{ emptyStateFilteredHeader }}\n\t\t</p>\n\t\t<p class=\"mb-14 text-sm text-storm-medium\">\n\t\t\t{{ emptyStateFilteredContent }}\n\t\t</p>\n\t</div>\n</ng-template>\n\n<ng-template #emptyStateNonFilterTemplate>\n\t<div\n\t\tclass=\"flex max-w-[20rem] flex-col items-center self-center py-24 text-center\"\n\t\t[class.cursor-pointer]=\"enableEmptyStateAction\"\n\t\t(click)=\"emptyStateClicked()\"\n\t>\n\t\t<p-illustration\n\t\t\t[variant]=\"emptyStateIllustration\"\n\t\t\tclass=\"mb-6\"\n\t\t></p-illustration>\n\t\t<p class=\"text-storm-default font-semibold\">\n\t\t\t{{ emptyStateHeader }}\n\t\t</p>\n\t\t<p class=\"mb-6 text-sm text-storm-medium\">\n\t\t\t{{ emptyStateContent }}\n\t\t</p>\n\t\t<p-button\n\t\t\t*ngIf=\"enableEmptyStateAction\"\n\t\t\tvariant=\"secondary\"\n\t\t\ticon=\"plus\"\n\t\t\tsize=\"small\"\n\t\t>\n\t\t\t{{ emptyStateAction }}\n\t\t</p-button>\n\t</div>\n</ng-template>\n", styles: [":host{position:relative;display:flex;flex-direction:column}:host .p-input[type=checkbox]{flex-shrink:0}:host p-table-container{position:relative}:host p-table-container p-floating-menu-container{position:fixed;bottom:1rem;left:50%;--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));animation:forwards floatingMenuContainerIn .3s ease!important}@media (min-width: 40rem){:host p-table-container p-floating-menu-container{position:absolute;bottom:4rem}}:host p-table-container p-floating-menu-container:not(.shown){display:none}:host p-table-container p-floating-menu-container.inactive{animation:forwards floatingMenuContainerOut .3s ease!important}@keyframes floatingMenuContainerOut{0%{display:flex;transform:translateY(0) translate(-50%);opacity:100}99%{transform:translateY(100%) translate(-50%);opacity:0;display:flex}to{transform:translateY(100%) translate(-50%);opacity:0;display:none}}@keyframes floatingMenuContainerIn{0%{transform:translateY(100%) translate(-50%);opacity:0;display:none}1%{transform:translateY(100%) translate(-50%);opacity:0;display:flex}to{transform:translateY(0) translate(-50%);opacity:100;display:flex}}\n"] }]
|
|
3645
|
-
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: {
|
|
4241
|
+
args: [{ selector: 'p-table-ngx', changeDetection: ChangeDetectionStrategy.OnPush, template: "<p-table-container>\n\t<p-table-header\n\t\t*ngIf=\"enableHeader\"\n\t\tclass=\"mb-8\"\n\t\t[quickFilters]=\"quickFilters\"\n\t\t[activeQuickFilterIdentifier]=\"activeQuickFilterIdentifier\"\n\t\t(quickFilter)=\"onQuickFilter($event)\"\n\t\t[enableSearch]=\"enableSearch\"\n\t\t[query]=\"query\"\n\t\t(queryChange)=\"onQueryChange($event)\"\n\t\t[enableFilter]=\"enableFilter\"\n\t\t[enableFilterDesktop]=\"enableFilterDesktop\"\n\t\t[selectedFiltersAmount]=\"selectedFiltersAmount\"\n\t\t[filterButtonTemplate]=\"filterButtonTemplate\"\n\t\t(filter)=\"filterModalShow$.next(true)\"\n\t\t[enableAction]=\"enableAction\"\n\t\t[canUseAction]=\"actionButtonEnabled\"\n\t\t[actionButtonTemplate]=\"actionButtonTemplate\"\n\t\t[actionLoading]=\"actionButtonLoading\"\n\t\t[actionText]=\"actionButtonText\"\n\t\t[actionIcon]=\"actionButtonIcon\"\n\t\t(action)=\"action.emit()\"\n\t\t[itemsSelectedAmount]=\"selectedRows.length\"\n\t\t[enableExport]=\"enableExport\"\n\t\t(export)=\"export.emit()\"\n\t\t[loading]=\"headerLoading\"\n\t>\n\t\t<ng-container *ngIf=\"headerCustomFilterTemplate\">\n\t\t\t<ng-container\n\t\t\t\t*ngTemplateOutlet=\"headerCustomFilterTemplate\"\n\t\t\t></ng-container>\n\t\t</ng-container>\n\n\t\t<ng-container *ngIf=\"headerCustomActionsTemplate\">\n\t\t\t<ng-container\n\t\t\t\t*ngTemplateOutlet=\"headerCustomActionsTemplate\"\n\t\t\t></ng-container>\n\t\t</ng-container>\n\t</p-table-header>\n\n\t<div class=\"relative flex-1\" *ngIf=\"enableScroll; else rowsTemplate\">\n\t\t<div class=\"flex flex-col overflow-x-auto\"\n\t\t\t#scrollContainer\n\t\t\t[class]=\"cn(\n\t\t\t\t'before:absolute before:top-0 before:left-0 before:z-[1] before:pointer-events-none',\n\t\t\t\t'before:w-[10%] before:h-full before:transition-opacity',\n\t\t\t\t'before:bg-gradient-to-r before:from-white before:via-white/80 before:to-transparent',\n\n\t\t\t\t'after:absolute after:top-0 after:right-0 after:z-[0] before:pointer-events-none',\n\t\t\t\t'after:w-[10%] after:h-full after:transition-opacity',\n\t\t\t\t'after:bg-gradient-to-l after:from-white after:via-white/80 after:to-transparent',\n\n\t\t\t\t{\n\t\t\t\t\t'before:opacity-0': reachedScrollStart$ | async,\n\t\t\t\t\t'after:opacity-0': reachedScrollEnd$ | async,\n\t\t\t\t\t'before:opacity-100': (reachedScrollStart$ | async) === false,\n\t\t\t\t\t'after:opacity-100': (reachedScrollEnd$ | async) === false,\n\t\t\t\t}\n\t\t\t)\"\n\t\t\t(scroll)=\"onContainerXScroll($event)\"\n\t\t>\n\t\t\t<ng-container *ngTemplateOutlet=\"rowsTemplate\"></ng-container>\n\t\t</div>\n\t</div>\n\n\t<ng-container *ngIf=\"enableFloatingMenu && enableRowSelection\">\n\t\t<p-floating-menu-container\n\t\t\t[usedInTable]=\"true\"\n\t\t\t[class]=\"\n\t\t\t\tfloatingMenuContainerClass({\n\t\t\t\t\thasFooter: enableFooter && (footerHidden$ | async) === false,\n\t\t\t\t\tactive: selectedRows.length > 0,\n\t\t\t\t\tshown: $any(floatingMenuShown$ | async)\n\t\t\t\t})\n\t\t\t\"\n\t\t\t[amount]=\"floatingMenuAmountSelectedText\"\n\t\t\t[enableAmountSelected]=\"!!(rowActionsFloating$ | async)?.length\"\n\t\t\t(close)=\"_selectAllChange(null, false)\"\n\t\t>\n\t\t\t<p-floating-menu-item\n\t\t\t\t*ngFor=\"let action of rowActionsFloating$ | async\"\n\t\t\t\tslot=\"floating-menu-item\"\n\t\t\t\t[disabled]=\"\n\t\t\t\t\t(action['type'] === 'single' && selectedRows.length > 1) ||\n\t\t\t\t\taction['disabled']\n\t\t\t\t\"\n\t\t\t\t[loading]=\"action['loading']\"\n\t\t\t\t[icon]=\"action['icon']\"\n\t\t\t\t[iconRotate]=\"action['iconRotate']\"\n\t\t\t\t[iconFlip]=\"action['iconFlip']\"\n\t\t\t\t(click)=\"_rowActionClick(action)\"\n\t\t\t>\n\t\t\t\t{{ action['label'] }}\n\t\t\t</p-floating-menu-item>\n\t\t</p-floating-menu-container>\n\t</ng-container>\n\n\t<p-table-footer\n\t\t*ngIf=\"enableFooter\"\n\t\t[hideOnSinglePage]=\"hideOnSinglePage\"\n\t\t[enablePaginationSize]=\"enablePaginationSize\"\n\t\t[pageSize]=\"pageSize\"\n\t\t[pageSizeOptions]=\"pageSizeOptions\"\n\t\t(pageSizeChange)=\"onPageSizeChange($event)\"\n\t\t[enablePaginationPages]=\"enablePaginationPages\"\n\t\t[page]=\"page\"\n\t\t[total]=\"total\"\n\t\t(pageChange)=\"onPageChange($event)\"\n\t\t[loading]=\"footerLoading\"\n\t\t(hiddenChange)=\"footerHidden$.next($event.detail)\"\n\t></p-table-footer>\n</p-table-container>\n\n<ng-template #rowsTemplate>\n\t<p-table-row variant=\"header\">\n\t\t<ng-container *ngFor=\"let col of columns$ | async; let index = index\">\n\t\t\t<p-table-cell-ngx\n\t\t\t\t[definition]=\"col\"\n\t\t\t\t[value]=\"col.name\"\n\t\t\t\tvariant=\"header\"\n\t\t\t\t[index]=\"index\"\n\t\t\t\t[checkbox]=\"\n\t\t\t\t\t(index === 0 || col.hasCheckbox) && enableRowSelection\n\t\t\t\t\t\t? checkboxTemplate\n\t\t\t\t\t\t: undefined\n\t\t\t\t\"\n\t\t\t></p-table-cell-ngx>\n\t\t\t<ng-template #checkboxTemplate>\n\t\t\t\t<p-checkbox\n\t\t\t\t\t(checkedChange)=\"_selectAllChange($event)\"\n\t\t\t\t\t[checked]=\"_selectionContainsAll()\"\n\t\t\t\t\t[indeterminate]=\"_selectionIndeterminate()\"\n\t\t\t\t\t[class.opacity-0]=\"rowSelectionLimit !== undefined\"\n\t\t\t\t\t[disabled]=\"rowSelectionLimit !== undefined\"\n\t\t\t\t></p-checkbox>\n\t\t\t</ng-template>\n\t\t</ng-container>\n\t</p-table-row>\n\n\t<div class=\"flex flex-1 flex-col\">\n\t\t<ng-container *ngIf=\"loading; else contentTemplate\">\n\t\t\t<p-table-row\n\t\t\t\t*ngFor=\"let r of loadingRows; let rowIndex = index\"\n\t\t\t\t[enableHover]=\"enableRowSelection || enableRowClick\"\n\t\t\t>\n\t\t\t\t<ng-container *ngFor=\"let col of columns$ | async; let index = index\">\n\t\t\t\t\t<p-table-cell-ngx\n\t\t\t\t\t\t[definition]=\"col\"\n\t\t\t\t\t\tvariant=\"loading\"\n\t\t\t\t\t\t[checkbox]=\"\n\t\t\t\t\t\t\t(index === 0 || col.hasCheckbox) && enableRowSelection\n\t\t\t\t\t\t\t\t? checkboxTemplate\n\t\t\t\t\t\t\t\t: undefined\n\t\t\t\t\t\t\"\n\t\t\t\t\t\t[index]=\"index\"\n\t\t\t\t\t\t[rowIndex]=\"rowIndex\"\n\t\t\t\t\t></p-table-cell-ngx>\n\t\t\t\t\t<ng-template #checkboxTemplate>\n\t\t\t\t\t\t<p-loader\n\t\t\t\t\t\t\tvariant=\"ghost\"\n\t\t\t\t\t\t\tclass=\"h-6 w-6 rounded\"\n\t\t\t\t\t\t></p-loader>\n\t\t\t\t\t</ng-template>\n\t\t\t\t</ng-container>\n\t\t\t</p-table-row>\n\t\t</ng-container>\n\n\t\t<ng-template #contentTemplate>\n\t\t\t<ng-container *ngIf=\"parsedItems?.length; else emptyStateTemplate\">\n\t\t\t\t<p-table-row\n\t\t\t\t\t*ngFor=\"let item of parsedItems; let rowIndex = index\"\n\t\t\t\t\t[enableHover]=\"enableRowSelection || enableRowClick\"\n\t\t\t\t\t(click)=\"_rowClick($event, rowIndex)\"\n\t\t\t\t>\n\t\t\t\t\t<ng-container\n\t\t\t\t\t\t*ngIf=\"\n\t\t\t\t\t\t\tparseRowActionsRow(\n\t\t\t\t\t\t\t\trowActionsRow$ | async,\n\t\t\t\t\t\t\t\trowIndex\n\t\t\t\t\t\t\t) as rowActionsRow\n\t\t\t\t\t\t\"\n\t\t\t\t\t>\n\t\t\t\t\t\t<ng-container *ngFor=\"let col of columns$ | async; let index = index\">\n\t\t\t\t\t\t\t<p-table-cell-ngx\n\t\t\t\t\t\t\t\t[definition]=\"col\"\n\t\t\t\t\t\t\t\t[item]=\"item\"\n\t\t\t\t\t\t\t\t[checkbox]=\"\n\t\t\t\t\t\t\t\t\t(index === 0 || col.hasCheckbox) && enableRowSelection\n\t\t\t\t\t\t\t\t\t\t? checkboxTemplate\n\t\t\t\t\t\t\t\t\t\t: undefined\n\t\t\t\t\t\t\t\t\"\n\t\t\t\t\t\t\t\t[index]=\"index\"\n\t\t\t\t\t\t\t\t[rowIndex]=\"rowIndex\"\n\t\t\t\t\t\t\t\t[template]=\"col.template\"\n\t\t\t\t\t\t\t></p-table-cell-ngx>\n\n\t\t\t\t\t\t\t<ng-template #checkboxTemplate>\n\t\t\t\t\t\t\t\t<p-checkbox\n\t\t\t\t\t\t\t\t\t(checkedChange)=\"_checkboxChange($event.target, rowIndex)\"\n\t\t\t\t\t\t\t\t\t[disabled]=\"_checkboxDisabled(item, rowIndex)\"\n\t\t\t\t\t\t\t\t\t[checked]=\"_selectionContains(item, rowIndex)\"\n\t\t\t\t\t\t\t\t></p-checkbox>\n\t\t\t\t\t\t\t</ng-template>\n\t\t\t\t\t\t</ng-container>\n\n\t\t\t\t\t\t<p-table-row-actions-container\n\t\t\t\t\t\t\t*ngIf=\"!!rowActionsRow?.length && !(isMobile$ | async)\"\n\t\t\t\t\t\t\tslot=\"actions\"\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t<ng-container *ngFor=\"let action of rowActionsRow\">\n\t\t\t\t\t\t\t\t<p-tooltip\n\t\t\t\t\t\t\t\t\t*ngIf=\"\n\t\t\t\t\t\t\t\t\t\taction.showFunction\n\t\t\t\t\t\t\t\t\t\t\t? action.showFunction(parsedItems[rowIndex])\n\t\t\t\t\t\t\t\t\t\t\t: true\n\t\t\t\t\t\t\t\t\t\"\n\t\t\t\t\t\t\t\t\t[content]=\"action['label']\"\n\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t<p-button\n\t\t\t\t\t\t\t\t\t\tdata-is-action\n\t\t\t\t\t\t\t\t\t\tvariant=\"secondary\"\n\t\t\t\t\t\t\t\t\t\tslot=\"trigger\"\n\t\t\t\t\t\t\t\t\t\t[icon]=\"action['icon']\"\n\t\t\t\t\t\t\t\t\t\t[iconRotate]=\"action['iconRotate']\"\n\t\t\t\t\t\t\t\t\t\ticonFlip=\"action.iconFlip\"\n\t\t\t\t\t\t\t\t\t\ticonOnly=\"true\"\n\t\t\t\t\t\t\t\t\t\tsize=\"sm\"\n\t\t\t\t\t\t\t\t\t\t[loading]=\"action['loading']\"\n\t\t\t\t\t\t\t\t\t\t[disabled]=\"action['disabled']\"\n\t\t\t\t\t\t\t\t\t\t[routerLink]=\"\n\t\t\t\t\t\t\t\t\t\t\taction.routerLink\n\t\t\t\t\t\t\t\t\t\t\t\t? (_getActionRouterLink(action.routerLink, rowIndex)\n\t\t\t\t\t\t\t\t\t\t\t\t | async)\n\t\t\t\t\t\t\t\t\t\t\t\t: null\n\t\t\t\t\t\t\t\t\t\t\"\n\t\t\t\t\t\t\t\t\t\t[queryParams]=\"\n\t\t\t\t\t\t\t\t\t\t\taction.queryParams\n\t\t\t\t\t\t\t\t\t\t\t\t? (_getActionQueryParams(action.queryParams, rowIndex)\n\t\t\t\t\t\t\t\t\t\t\t\t | async)\n\t\t\t\t\t\t\t\t\t\t\t\t: null\n\t\t\t\t\t\t\t\t\t\t\"\n\t\t\t\t\t\t\t\t\t\t(onClick)=\"_rowActionClick(action, rowIndex)\"\n\t\t\t\t\t\t\t\t\t></p-button>\n\t\t\t\t\t\t\t\t</p-tooltip>\n\t\t\t\t\t\t\t</ng-container>\n\t\t\t\t\t\t</p-table-row-actions-container>\n\t\t\t\t\t</ng-container>\n\t\t\t\t</p-table-row>\n\t\t\t</ng-container>\n\t\t</ng-template>\n\t</div>\n</ng-template>\n\n<ng-container *ngIf=\"filterModalTemplate\">\n\t<p-modal\n\t\t[header]=\"filterModalHeaderText\"\n\t\t[show]=\"filterModalShow$ | async\"\n\t\t(closed)=\"filterModalShow$.next(false)\"\n\t>\n\t\t<div\n\t\t\tslot=\"content\"\n\t\t\tclass=\"flex flex-col gap-6\"\n\t\t>\n\t\t\t<ng-container *ngTemplateOutlet=\"filterModalTemplate\"></ng-container>\n\t\t</div>\n\t\t<div\n\t\t\tslot=\"footer\"\n\t\t\tclass=\"flex w-full justify-between gap-4\"\n\t\t>\n\t\t\t<p-button\n\t\t\t\t*ngIf=\"filterModalShowResetMobile\"\n\t\t\t\tclass=\"flex w-full tablet:w-auto desktop-xs:hidden\"\n\t\t\t\tvariant=\"secondary\"\n\t\t\t\t(onClick)=\"onFilterModalReset(true)\"\n\t\t\t>\n\t\t\t\t{{ filterModalResetText }}\n\t\t\t</p-button>\n\t\t\t<p-button\n\t\t\t\t*ngIf=\"filterModalShowReset\"\n\t\t\t\tclass=\"hidden w-full tablet:w-auto desktop-xs:flex\"\n\t\t\t\tvariant=\"secondary\"\n\t\t\t\t(onClick)=\"onFilterModalReset()\"\n\t\t\t>\n\t\t\t\t{{ filterModalResetText }}\n\t\t\t</p-button>\n\t\t\t<p-button\n\t\t\t\tclass=\"ml-auto w-full tablet:w-auto\"\n\t\t\t\ticon=\"checkmark\"\n\t\t\t\t(onClick)=\"onFilterModalSave()\"\n\t\t\t>\n\t\t\t\t{{ filterModalSaveText }}\n\t\t\t</p-button>\n\t\t</div>\n\t</p-modal>\n</ng-container>\n\n<ng-template #emptyStateTemplate>\n\t<p-empty-state\n\t\t*ngIf=\"emptyStateType === 'filtered'; else emptyStateNonFilterTemplate\"\n\t\tclass=\"my-16 self-center\"\n\t\t[illustration]=\"emptyStateFilteredIllustration\"\n\t\t[header]=\"emptyStateFilteredHeader\"\n\t\t[content]=\"emptyStateFilteredContent\"\n\t></p-empty-state>\n</ng-template>\n\n<ng-template #emptyStateNonFilterTemplate>\n\t<p-empty-state\n\t\tclass=\"my-16 self-center\"\n\t\t[illustration]=\"emptyStateIllustration\"\n\t\t[header]=\"emptyStateHeader\"\n\t\t[content]=\"emptyStateContent\"\n\t\t[enableAction]=\"enableEmptyStateAction\"\n\t\t[actionText]=\"emptyStateAction\"\n\t\t[actionIcon]=\"emptyStateActionIcon\"\n\t\t(action)=\"emptyStateClicked()\"\n\t></p-empty-state>\n</ng-template>\n" }]
|
|
4242
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { className: [{
|
|
4243
|
+
type: HostBinding,
|
|
4244
|
+
args: ['class']
|
|
4245
|
+
}], items: [{
|
|
3646
4246
|
type: Input
|
|
3647
4247
|
}], loading: [{
|
|
3648
4248
|
type: Input
|
|
@@ -3690,6 +4290,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
3690
4290
|
type: Input
|
|
3691
4291
|
}], enableFilter: [{
|
|
3692
4292
|
type: Input
|
|
4293
|
+
}], enableFilterDesktop: [{
|
|
4294
|
+
type: Input
|
|
3693
4295
|
}], selectedFiltersAmount: [{
|
|
3694
4296
|
type: Input
|
|
3695
4297
|
}], filterButtonTemplate: [{
|
|
@@ -3716,9 +4318,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
3716
4318
|
type: Output
|
|
3717
4319
|
}], enableFooter: [{
|
|
3718
4320
|
type: Input
|
|
3719
|
-
}],
|
|
4321
|
+
}], enablePaginationSize: [{
|
|
3720
4322
|
type: Input
|
|
3721
|
-
}],
|
|
4323
|
+
}], enablePaginationPages: [{
|
|
3722
4324
|
type: Input
|
|
3723
4325
|
}], enableExport: [{
|
|
3724
4326
|
type: Input
|
|
@@ -3748,6 +4350,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
3748
4350
|
type: Input
|
|
3749
4351
|
}], emptyStateAction: [{
|
|
3750
4352
|
type: Input
|
|
4353
|
+
}], emptyStateActionIcon: [{
|
|
4354
|
+
type: Input
|
|
3751
4355
|
}], enableEmptyStateAction: [{
|
|
3752
4356
|
type: Input
|
|
3753
4357
|
}], emptyStateFilteredIllustration: [{
|
|
@@ -3756,6 +4360,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
3756
4360
|
type: Input
|
|
3757
4361
|
}], emptyStateFilteredContent: [{
|
|
3758
4362
|
type: Input
|
|
4363
|
+
}], enableScroll: [{
|
|
4364
|
+
type: Input
|
|
4365
|
+
}], tableRows: [{
|
|
4366
|
+
type: ViewChildren,
|
|
4367
|
+
args: [PTableRow$1, { read: ElementRef }]
|
|
4368
|
+
}], tableCells: [{
|
|
4369
|
+
type: ViewChildren,
|
|
4370
|
+
args: [TableCell, { read: ElementRef }]
|
|
4371
|
+
}], scrollContainer: [{
|
|
4372
|
+
type: ViewChild,
|
|
4373
|
+
args: ['scrollContainer']
|
|
3759
4374
|
}], emptyStateActionClick: [{
|
|
3760
4375
|
type: Output
|
|
3761
4376
|
}], shadow: [{
|
|
@@ -3766,6 +4381,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
3766
4381
|
read: TemplateRef,
|
|
3767
4382
|
static: true,
|
|
3768
4383
|
}]
|
|
4384
|
+
}], headerCustomActionsTemplate: [{
|
|
4385
|
+
type: ContentChild,
|
|
4386
|
+
args: [TableCustomActionsDirective, {
|
|
4387
|
+
read: TemplateRef,
|
|
4388
|
+
static: true,
|
|
4389
|
+
}]
|
|
3769
4390
|
}], columnDefinitions: [{
|
|
3770
4391
|
type: ContentChildren,
|
|
3771
4392
|
args: [TableColumn]
|
|
@@ -3815,7 +4436,7 @@ const TABLE_COMPONENTS = [Table, TableCell, TableColumn, TableRowAction];
|
|
|
3815
4436
|
class TableModule {
|
|
3816
4437
|
}
|
|
3817
4438
|
TableModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TableModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3818
|
-
TableModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: TableModule, declarations: [Table, TableCell, TableColumn, TableRowAction, TableFooterDirective, TableHeaderDirective, TableDirective, TableNgxDirective, TableFilterModalDirective, TableCustomFilterDirective], imports: [CommonModule, RouterModule, StencilModule], exports: [Table, TableCell, TableColumn, TableRowAction, TableFooterDirective, TableHeaderDirective, TableDirective, TableNgxDirective, TableFilterModalDirective, TableCustomFilterDirective] });
|
|
4439
|
+
TableModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: TableModule, declarations: [Table, TableCell, TableColumn, TableRowAction, TableFooterDirective, TableHeaderDirective, TableDirective, TableNgxDirective, TableFilterModalDirective, TableCustomFilterDirective, TableCustomActionsDirective], imports: [CommonModule, RouterModule, StencilModule], exports: [Table, TableCell, TableColumn, TableRowAction, TableFooterDirective, TableHeaderDirective, TableDirective, TableNgxDirective, TableFilterModalDirective, TableCustomFilterDirective, TableCustomActionsDirective] });
|
|
3819
4440
|
TableModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TableModule, imports: [CommonModule, RouterModule, StencilModule] });
|
|
3820
4441
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TableModule, decorators: [{
|
|
3821
4442
|
type: NgModule,
|
|
@@ -3829,10 +4450,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
3829
4450
|
var ToastVariants;
|
|
3830
4451
|
(function (ToastVariants) {
|
|
3831
4452
|
ToastVariants["Success"] = "positive";
|
|
3832
|
-
ToastVariants["Warning"] = "
|
|
4453
|
+
ToastVariants["Warning"] = "biased";
|
|
3833
4454
|
ToastVariants["Error"] = "negative";
|
|
4455
|
+
ToastVariants["Neutral"] = "neutral";
|
|
3834
4456
|
ToastVariants["Positive"] = "positive";
|
|
3835
|
-
ToastVariants["
|
|
4457
|
+
ToastVariants["Biased"] = "biased";
|
|
3836
4458
|
ToastVariants["Negative"] = "negative";
|
|
3837
4459
|
})(ToastVariants || (ToastVariants = {}));
|
|
3838
4460
|
|
|
@@ -3941,7 +4563,7 @@ let ToastContainer = class ToastContainer {
|
|
|
3941
4563
|
}
|
|
3942
4564
|
};
|
|
3943
4565
|
ToastContainer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ToastContainer, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }, { token: ToastService }], target: i0.ɵɵFactoryTarget.Component });
|
|
3944
|
-
ToastContainer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: ToastContainer, selector: "p-toast-container", inputs: { placement: "placement" }, ngImport: i0, template: "<p-toast\n\t*ngFor=\"let toast of toasts$ | async; let index = index\"\n\t[variant]=\"toast.variant\"\n\t[header]=\"toast.header\"\n\t[content]=\"toast.content\"\n\t[identifier]=\"toast.identifier\"\n\t[delay]=\"toast.options.delay ?? 5000\"\n\t[dismissOnAction]=\"toast.options.dismissOnAction ?? true\"\n\t[enableAction]=\"toast.options.enableAction\"\n\t[actionFunc]=\"toast.options.action\"\n\t[actionData]=\"toast.options.actionData\"\n\t[actionIcon]=\"toast.options.icon?.variant\"\n\t[actionIconFlip]=\"toast.options.icon?.flip\"\n\t[actionIconRotate]=\"toast.options.icon?.rotate\"\n\t(dismiss)=\"dismiss($event)\"\n\t[@pSlideInBottomOutTop]\n></p-toast>\n", dependencies: [{ kind: "directive", type: i1$
|
|
4566
|
+
ToastContainer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: ToastContainer, selector: "p-toast-container", inputs: { placement: "placement" }, ngImport: i0, template: "<p-toast\n\t*ngFor=\"let toast of toasts$ | async; let index = index\"\n\t[variant]=\"toast.variant\"\n\t[header]=\"toast.header\"\n\t[content]=\"toast.content\"\n\t[identifier]=\"toast.identifier\"\n\t[delay]=\"toast.options.delay ?? 5000\"\n\t[dismissOnAction]=\"toast.options.dismissOnAction ?? true\"\n\t[enableAction]=\"toast.options.enableAction\"\n\t[actionFunc]=\"toast.options.action\"\n\t[actionData]=\"toast.options.actionData\"\n\t[actionIcon]=\"toast.options.icon?.variant\"\n\t[actionIconFlip]=\"toast.options.icon?.flip\"\n\t[actionIconRotate]=\"toast.options.icon?.rotate\"\n\t(dismiss)=\"dismiss($event)\"\n\t[@pSlideInBottomOutTop]\n></p-toast>\n", dependencies: [{ kind: "directive", type: i1$2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: PToast, selector: "p-toast", inputs: ["actionIcon", "actionIconFlip", "actionIconRotate", "content", "enableAction", "header", "variant"] }, { kind: "directive", type: ToastDirective, selector: "p-toast", inputs: ["delay", "identifier", "dismissOnAction", "actionFunc", "actionData"], outputs: ["dismiss"] }, { kind: "pipe", type: i1$2.AsyncPipe, name: "async" }], animations: [SLIDE_IN_TOP_OUT_BOTTOM], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
3945
4567
|
ToastContainer = __decorate([
|
|
3946
4568
|
ProxyCmp({
|
|
3947
4569
|
defineCustomElementFn: undefined,
|
|
@@ -3983,14 +4605,14 @@ class CustomCurrencyPipe {
|
|
|
3983
4605
|
return this._currencyPipe.transform(value, currencyCode, display, digitsInfo, locale);
|
|
3984
4606
|
}
|
|
3985
4607
|
}
|
|
3986
|
-
CustomCurrencyPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: CustomCurrencyPipe, deps: [{ token: i1$
|
|
4608
|
+
CustomCurrencyPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: CustomCurrencyPipe, deps: [{ token: i1$2.CurrencyPipe }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
3987
4609
|
CustomCurrencyPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: CustomCurrencyPipe, name: "pcurrency" });
|
|
3988
4610
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: CustomCurrencyPipe, decorators: [{
|
|
3989
4611
|
type: Pipe,
|
|
3990
4612
|
args: [{
|
|
3991
4613
|
name: 'pcurrency',
|
|
3992
4614
|
}]
|
|
3993
|
-
}], ctorParameters: function () { return [{ type: i1$
|
|
4615
|
+
}], ctorParameters: function () { return [{ type: i1$2.CurrencyPipe }]; } });
|
|
3994
4616
|
|
|
3995
4617
|
class CustomDatePipe {
|
|
3996
4618
|
constructor(_datePipe) {
|
|
@@ -4000,14 +4622,14 @@ class CustomDatePipe {
|
|
|
4000
4622
|
return this._datePipe.transform(value, format);
|
|
4001
4623
|
}
|
|
4002
4624
|
}
|
|
4003
|
-
CustomDatePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: CustomDatePipe, deps: [{ token: i1$
|
|
4625
|
+
CustomDatePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: CustomDatePipe, deps: [{ token: i1$2.DatePipe }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4004
4626
|
CustomDatePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: CustomDatePipe, name: "pdate" });
|
|
4005
4627
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: CustomDatePipe, decorators: [{
|
|
4006
4628
|
type: Pipe,
|
|
4007
4629
|
args: [{
|
|
4008
4630
|
name: 'pdate',
|
|
4009
4631
|
}]
|
|
4010
|
-
}], ctorParameters: function () { return [{ type: i1$
|
|
4632
|
+
}], ctorParameters: function () { return [{ type: i1$2.DatePipe }]; } });
|
|
4011
4633
|
|
|
4012
4634
|
class SafePipe {
|
|
4013
4635
|
constructor(sanitizer) {
|
|
@@ -4030,14 +4652,14 @@ class SafePipe {
|
|
|
4030
4652
|
}
|
|
4031
4653
|
}
|
|
4032
4654
|
}
|
|
4033
|
-
SafePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SafePipe, deps: [{ token: i1$
|
|
4655
|
+
SafePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SafePipe, deps: [{ token: i1$3.DomSanitizer }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4034
4656
|
SafePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: SafePipe, name: "psafe" });
|
|
4035
4657
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SafePipe, decorators: [{
|
|
4036
4658
|
type: Pipe,
|
|
4037
4659
|
args: [{
|
|
4038
4660
|
name: 'psafe',
|
|
4039
4661
|
}]
|
|
4040
|
-
}], ctorParameters: function () { return [{ type: i1$
|
|
4662
|
+
}], ctorParameters: function () { return [{ type: i1$3.DomSanitizer }]; } });
|
|
4041
4663
|
|
|
4042
4664
|
const PIPES = [CustomCurrencyPipe, CustomDatePipe, SafePipe];
|
|
4043
4665
|
|
|
@@ -4051,7 +4673,7 @@ class PaperlessModule {
|
|
|
4051
4673
|
}
|
|
4052
4674
|
}
|
|
4053
4675
|
PaperlessModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PaperlessModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4054
|
-
PaperlessModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: PaperlessModule, declarations: [
|
|
4676
|
+
PaperlessModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: PaperlessModule, declarations: [PaginationSizeDirective, PaginationPagesDirective, SelectDirective, DatepickerDirective, CropperDirective, FieldDirective, RadioDirective, CheckboxDirective, ToggleDirective, CustomCurrencyPipe, CustomDatePipe, SafePipe], imports: [CommonModule, StencilModule, TableModule, ToastModule, OverlayModule], exports: [StencilModule, TableModule, ToastModule, OverlayModule, PaginationSizeDirective, PaginationPagesDirective, SelectDirective, DatepickerDirective, CropperDirective, FieldDirective, RadioDirective, CheckboxDirective, ToggleDirective, CustomCurrencyPipe, CustomDatePipe, SafePipe] });
|
|
4055
4677
|
PaperlessModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PaperlessModule, providers: [...NGX_PIPES, ...PIPES], imports: [CommonModule, StencilModule, MODULES, StencilModule, TableModule, ToastModule, OverlayModule] });
|
|
4056
4678
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PaperlessModule, decorators: [{
|
|
4057
4679
|
type: NgModule,
|
|
@@ -4071,5 +4693,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
4071
4693
|
* Generated bundle index. Do not edit.
|
|
4072
4694
|
*/
|
|
4073
4695
|
|
|
4074
|
-
export { BaseFormComponent, BaseTableComponent, BaseUploadComponent, BaseValueAccessor, CropperDirective, CustomCurrencyPipe, CustomDatePipe, DIRECTIVES$1 as DIRECTIVES, DatepickerDirective, FADE_IN, FADE_OUT, MODULES, OVERLAY_SERVICES, OverlayModule, OverlayRef, OverlayService, PAccordion, PAttachment, PAvatar, PAvatarGroup, PBackdrop, PButton, PButtonGroup, PCalendar, PCardBody, PCardContainer, PCardHeader, PContentSlider, PCounter, PCropper, PDatepicker, PDivider, PDrawer, PDrawerBody, PDrawerContainer, PDrawerHeader, PDropdown, PDropdownMenuContainer, PDropdownMenuItem, PFloatingMenuContainer, PFloatingMenuItem, PHelper, PIPES, PIcon, PIllustration, PInfoPanel, PInputError, PInputGroup, PLabel, PLayout, PLoader, PModal, PModalBody, PModalContainer, PModalFooter, PModalHeader, PNavbar, PNavigationItem,
|
|
4696
|
+
export { BaseFormComponent, BaseTableComponent, BaseUploadComponent, BaseValueAccessor, CheckboxDirective, CropperDirective, CustomCurrencyPipe, CustomDatePipe, DIRECTIVES$1 as DIRECTIVES, DatepickerDirective, FADE_IN, FADE_OUT, FieldDirective, MODULES, OVERLAY_SERVICES, OverlayModule, OverlayRef, OverlayService, PAccordion, PAttachment, PAvatar, PAvatarGroup, PBackdrop, PBadge, PButton, PButtonGroup, PCalendar, PCardBody, PCardContainer, PCardHeader, PCheckbox, PContentSlider, PCounter, PCropper, PDatepicker, PDivider, PDrawer, PDrawerBody, PDrawerContainer, PDrawerHeader, PDropdown, PDropdownMenuContainer, PDropdownMenuItem, PEmptyState, PField, PFieldContainer, PFloatingMenuContainer, PFloatingMenuItem, PHelper, PIPES, PIbanIcon, PIcon, PIllustration, PIllustrationDeprecated, PInfoPanel, PInputError, PInputGroup, PLabel, PLayout, PLoader, PModal, PModalBody, PModalContainer, PModalFooter, PModalHeader, PNavbar, PNavigationItem, PNavigationSection, PNavigationTitle, PPagination, PPaginationPages, PPaginationPagesItem, PPaginationSize, PPortal, PProfile, PRadio, PSegmentContainer, PSegmentItem, PSelect, PSliderIndicator, PSmile, PStatus, PStepper, PStepperItem, PStepperLine, PTabContainer, PTabItem, PTableContainer, PTableFooter, PTableHeader, PTableRow, PTableRowActionsContainer, PToast, PToggle, PTooltip, PaginationPagesDirective, PaginationSizeDirective, PaperlessModule, RadioDirective, SLIDE_IN_BOTTOM_OUT_TOP, SLIDE_IN_TOP_OUT_BOTTOM, SafePipe, SelectDirective, StencilModule, TABLE_COMPONENTS, TABLE_DIRECTIVES, TOAST_COMPONENTS, TOAST_DIRECTIVES, TOAST_SERVICES, Table, TableCell, TableColumn, TableCustomActionsDirective, TableCustomFilterDirective, TableDirective, TableFilterModalDirective, TableFooterDirective, TableHeaderDirective, TableModule, TableNgxDirective, TableRowAction, ToastContainer, ToastDirective, ToastModule, ToastService, ToastVariants, ToggleDirective, createFormFilters };
|
|
4075
4697
|
//# sourceMappingURL=paperless-angular.mjs.map
|