@paperless/angular 2.22.0-alpha.36 → 2.22.0-alpha.38
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.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Component, EventEmitter, ViewChild, Output, Input, ChangeDetectionStrategy, HostListener, Directive,
|
|
2
|
+
import { Component, EventEmitter, ViewChild, Output, Input, ChangeDetectionStrategy, HostListener, Directive, Self, Injector, Injectable, NgModule, HostBinding, TemplateRef, ContentChild, Host, ElementRef, ContentChildren, ViewChildren, inject, Pipe } from '@angular/core';
|
|
3
3
|
import * as i1 from '@angular/forms';
|
|
4
4
|
import { FormControl, FormGroup, FormArray, NG_VALUE_ACCESSOR, NumberValueAccessor } from '@angular/forms';
|
|
5
5
|
import { BehaviorSubject, filter, Subject, timer, fromEvent, distinctUntilChanged, debounceTime, take, map as map$1 } from 'rxjs';
|
|
@@ -302,22 +302,22 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImpor
|
|
|
302
302
|
args: ['focusout']
|
|
303
303
|
}] } });
|
|
304
304
|
|
|
305
|
-
class
|
|
305
|
+
class PCheckboxDirective extends BaseValueAccessor {
|
|
306
306
|
writeValue(value) {
|
|
307
307
|
this.el.nativeElement.checked = this.lastValue =
|
|
308
308
|
value === null || value === 'indeterminate' ? false : value;
|
|
309
309
|
this.el.nativeElement.indeterminate = value === 'indeterminate';
|
|
310
310
|
}
|
|
311
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type:
|
|
312
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.1.0", type:
|
|
311
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: PCheckboxDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
312
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.1.0", type: PCheckboxDirective, isStandalone: true, selector: "p-checkbox", host: { listeners: { "checkedChange": "handleChangeEvent($event.detail)" } }, providers: [
|
|
313
313
|
{
|
|
314
314
|
provide: NG_VALUE_ACCESSOR,
|
|
315
|
-
useExisting:
|
|
315
|
+
useExisting: PCheckboxDirective,
|
|
316
316
|
multi: true,
|
|
317
317
|
},
|
|
318
318
|
], usesInheritance: true, ngImport: i0 });
|
|
319
319
|
}
|
|
320
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type:
|
|
320
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: PCheckboxDirective, decorators: [{
|
|
321
321
|
type: Directive,
|
|
322
322
|
args: [{
|
|
323
323
|
selector: 'p-checkbox',
|
|
@@ -327,28 +327,28 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImpor
|
|
|
327
327
|
providers: [
|
|
328
328
|
{
|
|
329
329
|
provide: NG_VALUE_ACCESSOR,
|
|
330
|
-
useExisting:
|
|
330
|
+
useExisting: PCheckboxDirective,
|
|
331
331
|
multi: true,
|
|
332
332
|
},
|
|
333
333
|
],
|
|
334
334
|
}]
|
|
335
335
|
}] });
|
|
336
336
|
|
|
337
|
-
class
|
|
337
|
+
class PCropperDirective extends BaseValueAccessor {
|
|
338
338
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
339
339
|
writeValue(value) {
|
|
340
340
|
this.el.nativeElement.value = this.lastValue = value;
|
|
341
341
|
}
|
|
342
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type:
|
|
343
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.1.0", type:
|
|
342
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: PCropperDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
343
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.1.0", type: PCropperDirective, isStandalone: true, selector: "p-cropper", host: { listeners: { "valueChange": "handleChangeEvent($event.detail)" } }, providers: [
|
|
344
344
|
{
|
|
345
345
|
provide: NG_VALUE_ACCESSOR,
|
|
346
|
-
useExisting:
|
|
346
|
+
useExisting: PCropperDirective,
|
|
347
347
|
multi: true,
|
|
348
348
|
},
|
|
349
349
|
], usesInheritance: true, ngImport: i0 });
|
|
350
350
|
}
|
|
351
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type:
|
|
351
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: PCropperDirective, decorators: [{
|
|
352
352
|
type: Directive,
|
|
353
353
|
args: [{
|
|
354
354
|
selector: 'p-cropper',
|
|
@@ -358,28 +358,28 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImpor
|
|
|
358
358
|
providers: [
|
|
359
359
|
{
|
|
360
360
|
provide: NG_VALUE_ACCESSOR,
|
|
361
|
-
useExisting:
|
|
361
|
+
useExisting: PCropperDirective,
|
|
362
362
|
multi: true,
|
|
363
363
|
},
|
|
364
364
|
],
|
|
365
365
|
}]
|
|
366
366
|
}] });
|
|
367
367
|
|
|
368
|
-
class
|
|
368
|
+
class PDatepickerDirective extends BaseValueAccessor {
|
|
369
369
|
writeValue(value) {
|
|
370
370
|
this.el.nativeElement.value = this.lastValue =
|
|
371
371
|
value === null ? JSON.parse(value) : value;
|
|
372
372
|
}
|
|
373
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type:
|
|
374
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.1.0", type:
|
|
373
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: PDatepickerDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
374
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.1.0", type: PDatepickerDirective, isStandalone: true, selector: "p-datepicker", host: { listeners: { "valueChange": "handleChangeEvent($event.detail)" } }, providers: [
|
|
375
375
|
{
|
|
376
376
|
provide: NG_VALUE_ACCESSOR,
|
|
377
|
-
useExisting:
|
|
377
|
+
useExisting: PDatepickerDirective,
|
|
378
378
|
multi: true,
|
|
379
379
|
},
|
|
380
380
|
], usesInheritance: true, ngImport: i0 });
|
|
381
381
|
}
|
|
382
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type:
|
|
382
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: PDatepickerDirective, decorators: [{
|
|
383
383
|
type: Directive,
|
|
384
384
|
args: [{
|
|
385
385
|
selector: 'p-datepicker',
|
|
@@ -389,28 +389,28 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImpor
|
|
|
389
389
|
providers: [
|
|
390
390
|
{
|
|
391
391
|
provide: NG_VALUE_ACCESSOR,
|
|
392
|
-
useExisting:
|
|
392
|
+
useExisting: PDatepickerDirective,
|
|
393
393
|
multi: true,
|
|
394
394
|
},
|
|
395
395
|
],
|
|
396
396
|
}]
|
|
397
397
|
}] });
|
|
398
398
|
|
|
399
|
-
class
|
|
399
|
+
class PFieldDirective extends BaseValueAccessor {
|
|
400
400
|
writeValue(value) {
|
|
401
401
|
this.el.nativeElement.value = this.lastValue =
|
|
402
402
|
value === null ? JSON.parse(value) : value;
|
|
403
403
|
}
|
|
404
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type:
|
|
405
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.1.0", type:
|
|
404
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: PFieldDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
405
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.1.0", type: PFieldDirective, isStandalone: true, selector: "p-field:not([type=number])", host: { listeners: { "valueChange": "handleChangeEvent($event.detail)" } }, providers: [
|
|
406
406
|
{
|
|
407
407
|
provide: NG_VALUE_ACCESSOR,
|
|
408
|
-
useExisting:
|
|
408
|
+
useExisting: PFieldDirective,
|
|
409
409
|
multi: true,
|
|
410
410
|
},
|
|
411
411
|
], usesInheritance: true, ngImport: i0 });
|
|
412
412
|
}
|
|
413
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type:
|
|
413
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: PFieldDirective, decorators: [{
|
|
414
414
|
type: Directive,
|
|
415
415
|
args: [{
|
|
416
416
|
selector: 'p-field:not([type=number])',
|
|
@@ -420,7 +420,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImpor
|
|
|
420
420
|
providers: [
|
|
421
421
|
{
|
|
422
422
|
provide: NG_VALUE_ACCESSOR,
|
|
423
|
-
useExisting:
|
|
423
|
+
useExisting: PFieldDirective,
|
|
424
424
|
multi: true,
|
|
425
425
|
},
|
|
426
426
|
],
|
|
@@ -463,17 +463,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImpor
|
|
|
463
463
|
args: ['focusout']
|
|
464
464
|
}] } });
|
|
465
465
|
|
|
466
|
-
class
|
|
467
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type:
|
|
468
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.1.0", type:
|
|
466
|
+
class PFieldNumberDirective extends BaseNumberValueAccessor {
|
|
467
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: PFieldNumberDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
468
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.1.0", type: PFieldNumberDirective, isStandalone: true, selector: "p-field[type=number]", host: { listeners: { "valueChange": "handleChangeEvent($event.detail)" } }, providers: [
|
|
469
469
|
{
|
|
470
470
|
provide: NG_VALUE_ACCESSOR,
|
|
471
|
-
useExisting:
|
|
471
|
+
useExisting: PFieldNumberDirective,
|
|
472
472
|
multi: true,
|
|
473
473
|
},
|
|
474
474
|
], usesInheritance: true, ngImport: i0 });
|
|
475
475
|
}
|
|
476
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type:
|
|
476
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: PFieldNumberDirective, decorators: [{
|
|
477
477
|
type: Directive,
|
|
478
478
|
args: [{
|
|
479
479
|
selector: 'p-field[type=number]',
|
|
@@ -483,30 +483,30 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImpor
|
|
|
483
483
|
providers: [
|
|
484
484
|
{
|
|
485
485
|
provide: NG_VALUE_ACCESSOR,
|
|
486
|
-
useExisting:
|
|
486
|
+
useExisting: PFieldNumberDirective,
|
|
487
487
|
multi: true,
|
|
488
488
|
},
|
|
489
489
|
],
|
|
490
490
|
}]
|
|
491
491
|
}] });
|
|
492
492
|
|
|
493
|
-
class
|
|
493
|
+
class PPaginationPagesDirective extends BaseValueAccessor {
|
|
494
494
|
writeValue(value) {
|
|
495
495
|
this.el.nativeElement.page = this.lastValue = value == null ? 1 : value;
|
|
496
496
|
}
|
|
497
497
|
registerOnChange(fn) {
|
|
498
498
|
super.registerOnChange(value => fn(Number.parseInt(value, 10)));
|
|
499
499
|
}
|
|
500
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type:
|
|
501
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.1.0", type:
|
|
500
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: PPaginationPagesDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
501
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.1.0", type: PPaginationPagesDirective, isStandalone: true, selector: "p-pagination-pages", host: { listeners: { "pageChange": "handleChangeEvent($event.detail)" } }, providers: [
|
|
502
502
|
{
|
|
503
503
|
provide: NG_VALUE_ACCESSOR,
|
|
504
|
-
useExisting:
|
|
504
|
+
useExisting: PPaginationPagesDirective,
|
|
505
505
|
multi: true,
|
|
506
506
|
},
|
|
507
507
|
], usesInheritance: true, ngImport: i0 });
|
|
508
508
|
}
|
|
509
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type:
|
|
509
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: PPaginationPagesDirective, decorators: [{
|
|
510
510
|
type: Directive,
|
|
511
511
|
args: [{
|
|
512
512
|
selector: 'p-pagination-pages',
|
|
@@ -516,30 +516,30 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImpor
|
|
|
516
516
|
providers: [
|
|
517
517
|
{
|
|
518
518
|
provide: NG_VALUE_ACCESSOR,
|
|
519
|
-
useExisting:
|
|
519
|
+
useExisting: PPaginationPagesDirective,
|
|
520
520
|
multi: true,
|
|
521
521
|
},
|
|
522
522
|
],
|
|
523
523
|
}]
|
|
524
524
|
}] });
|
|
525
525
|
|
|
526
|
-
class
|
|
526
|
+
class PPaginationSizeDirective extends BaseValueAccessor {
|
|
527
527
|
writeValue(value) {
|
|
528
528
|
this.el.nativeElement.page = this.lastValue = value == null ? 12 : value;
|
|
529
529
|
}
|
|
530
530
|
registerOnChange(fn) {
|
|
531
531
|
super.registerOnChange(value => fn(Number.parseInt(value, 10)));
|
|
532
532
|
}
|
|
533
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type:
|
|
534
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.1.0", type:
|
|
533
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: PPaginationSizeDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
534
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.1.0", type: PPaginationSizeDirective, isStandalone: true, selector: "p-pagination-size", host: { listeners: { "sizeChange": "handleChangeEvent($event.detail)" } }, providers: [
|
|
535
535
|
{
|
|
536
536
|
provide: NG_VALUE_ACCESSOR,
|
|
537
|
-
useExisting:
|
|
537
|
+
useExisting: PPaginationSizeDirective,
|
|
538
538
|
multi: true,
|
|
539
539
|
},
|
|
540
540
|
], usesInheritance: true, ngImport: i0 });
|
|
541
541
|
}
|
|
542
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type:
|
|
542
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: PPaginationSizeDirective, decorators: [{
|
|
543
543
|
type: Directive,
|
|
544
544
|
args: [{
|
|
545
545
|
selector: 'p-pagination-size',
|
|
@@ -549,14 +549,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImpor
|
|
|
549
549
|
providers: [
|
|
550
550
|
{
|
|
551
551
|
provide: NG_VALUE_ACCESSOR,
|
|
552
|
-
useExisting:
|
|
552
|
+
useExisting: PPaginationSizeDirective,
|
|
553
553
|
multi: true,
|
|
554
554
|
},
|
|
555
555
|
],
|
|
556
556
|
}]
|
|
557
557
|
}] });
|
|
558
558
|
|
|
559
|
-
class
|
|
559
|
+
class PRadioDirective extends BaseValueAccessor {
|
|
560
560
|
_control;
|
|
561
561
|
_modelValue;
|
|
562
562
|
_valueChanges;
|
|
@@ -595,10 +595,10 @@ class RadioDirective extends BaseValueAccessor {
|
|
|
595
595
|
}
|
|
596
596
|
return value;
|
|
597
597
|
}
|
|
598
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type:
|
|
599
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.1.0", type:
|
|
598
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: PRadioDirective, deps: [{ token: i1.NgControl, self: true }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
599
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.1.0", type: PRadioDirective, isStandalone: true, selector: "p-radio", host: { listeners: { "checkedChange": "handleChangeEvent()" } }, usesInheritance: true, ngImport: i0 });
|
|
600
600
|
}
|
|
601
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type:
|
|
601
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: PRadioDirective, decorators: [{
|
|
602
602
|
type: Directive,
|
|
603
603
|
args: [{
|
|
604
604
|
selector: 'p-radio',
|
|
@@ -610,20 +610,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImpor
|
|
|
610
610
|
type: Self
|
|
611
611
|
}] }, { type: i0.ElementRef }] });
|
|
612
612
|
|
|
613
|
-
class
|
|
613
|
+
class PSelectDirective extends BaseValueAccessor {
|
|
614
614
|
writeValue(value) {
|
|
615
615
|
this.el.nativeElement.value = this.lastValue = value;
|
|
616
616
|
}
|
|
617
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type:
|
|
618
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.1.0", type:
|
|
617
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: PSelectDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
618
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.1.0", type: PSelectDirective, isStandalone: true, selector: "p-select", host: { listeners: { "valueChange": "handleChangeEvent($event.detail)" } }, providers: [
|
|
619
619
|
{
|
|
620
620
|
provide: NG_VALUE_ACCESSOR,
|
|
621
|
-
useExisting:
|
|
621
|
+
useExisting: PSelectDirective,
|
|
622
622
|
multi: true,
|
|
623
623
|
},
|
|
624
624
|
], usesInheritance: true, ngImport: i0 });
|
|
625
625
|
}
|
|
626
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type:
|
|
626
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: PSelectDirective, decorators: [{
|
|
627
627
|
type: Directive,
|
|
628
628
|
args: [{
|
|
629
629
|
selector: 'p-select',
|
|
@@ -633,28 +633,28 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImpor
|
|
|
633
633
|
providers: [
|
|
634
634
|
{
|
|
635
635
|
provide: NG_VALUE_ACCESSOR,
|
|
636
|
-
useExisting:
|
|
636
|
+
useExisting: PSelectDirective,
|
|
637
637
|
multi: true,
|
|
638
638
|
},
|
|
639
639
|
],
|
|
640
640
|
}]
|
|
641
641
|
}] });
|
|
642
642
|
|
|
643
|
-
class
|
|
643
|
+
class PToggleDirective extends BaseValueAccessor {
|
|
644
644
|
writeValue(value) {
|
|
645
645
|
this.el.nativeElement.checked = this.lastValue =
|
|
646
646
|
value === null ? false : value;
|
|
647
647
|
}
|
|
648
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type:
|
|
649
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.1.0", type:
|
|
648
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: PToggleDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
649
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.1.0", type: PToggleDirective, isStandalone: true, selector: "p-toggle", host: { listeners: { "checkedChange": "handleChangeEvent($event.detail)" } }, providers: [
|
|
650
650
|
{
|
|
651
651
|
provide: NG_VALUE_ACCESSOR,
|
|
652
|
-
useExisting:
|
|
652
|
+
useExisting: PToggleDirective,
|
|
653
653
|
multi: true,
|
|
654
654
|
},
|
|
655
655
|
], usesInheritance: true, ngImport: i0 });
|
|
656
656
|
}
|
|
657
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type:
|
|
657
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: PToggleDirective, decorators: [{
|
|
658
658
|
type: Directive,
|
|
659
659
|
args: [{
|
|
660
660
|
selector: 'p-toggle',
|
|
@@ -664,7 +664,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImpor
|
|
|
664
664
|
providers: [
|
|
665
665
|
{
|
|
666
666
|
provide: NG_VALUE_ACCESSOR,
|
|
667
|
-
useExisting:
|
|
667
|
+
useExisting: PToggleDirective,
|
|
668
668
|
multi: true,
|
|
669
669
|
},
|
|
670
670
|
],
|
|
@@ -672,16 +672,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImpor
|
|
|
672
672
|
}] });
|
|
673
673
|
|
|
674
674
|
const DIRECTIVES$1 = [
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
675
|
+
PPaginationSizeDirective,
|
|
676
|
+
PPaginationPagesDirective,
|
|
677
|
+
PSelectDirective,
|
|
678
|
+
PDatepickerDirective,
|
|
679
|
+
PCropperDirective,
|
|
680
|
+
PFieldDirective,
|
|
681
|
+
PFieldNumberDirective,
|
|
682
|
+
PRadioDirective,
|
|
683
|
+
PCheckboxDirective,
|
|
684
|
+
PToggleDirective,
|
|
685
685
|
];
|
|
686
686
|
|
|
687
687
|
class OverlayRef {
|
|
@@ -3341,29 +3341,29 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImpor
|
|
|
3341
3341
|
}]
|
|
3342
3342
|
}] } });
|
|
3343
3343
|
|
|
3344
|
-
class
|
|
3345
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type:
|
|
3346
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.1.0", type:
|
|
3344
|
+
class PTableCustomFilterDirective {
|
|
3345
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: PTableCustomFilterDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
3346
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.1.0", type: PTableCustomFilterDirective, isStandalone: true, selector: "[p-table-custom-filter]", ngImport: i0 });
|
|
3347
3347
|
}
|
|
3348
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type:
|
|
3348
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: PTableCustomFilterDirective, decorators: [{
|
|
3349
3349
|
type: Directive,
|
|
3350
3350
|
args: [{
|
|
3351
3351
|
selector: '[p-table-custom-filter]',
|
|
3352
3352
|
}]
|
|
3353
3353
|
}] });
|
|
3354
3354
|
|
|
3355
|
-
class
|
|
3356
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type:
|
|
3357
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.1.0", type:
|
|
3355
|
+
class PTableFilterModalDirective {
|
|
3356
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: PTableFilterModalDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
3357
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.1.0", type: PTableFilterModalDirective, isStandalone: true, selector: "[p-table-filter-modal]", ngImport: i0 });
|
|
3358
3358
|
}
|
|
3359
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type:
|
|
3359
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: PTableFilterModalDirective, decorators: [{
|
|
3360
3360
|
type: Directive,
|
|
3361
3361
|
args: [{
|
|
3362
3362
|
selector: '[p-table-filter-modal]',
|
|
3363
3363
|
}]
|
|
3364
3364
|
}] });
|
|
3365
3365
|
|
|
3366
|
-
class
|
|
3366
|
+
class PTableFooterDirective extends BaseValueAccessor {
|
|
3367
3367
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
3368
3368
|
lastValue = {
|
|
3369
3369
|
page: 1,
|
|
@@ -3382,16 +3382,16 @@ class TableFooterDirective extends BaseValueAccessor {
|
|
|
3382
3382
|
[type]: value,
|
|
3383
3383
|
});
|
|
3384
3384
|
}
|
|
3385
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type:
|
|
3386
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.1.0", type:
|
|
3385
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: PTableFooterDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
3386
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.1.0", type: PTableFooterDirective, isStandalone: true, selector: "p-table-footer", host: { listeners: { "pageChange": "handleChange($event.detail, \"page\")", "pageSizeChange": "handleChange($event.detail, \"pageSize\")" } }, providers: [
|
|
3387
3387
|
{
|
|
3388
3388
|
provide: NG_VALUE_ACCESSOR,
|
|
3389
|
-
useExisting:
|
|
3389
|
+
useExisting: PTableFooterDirective,
|
|
3390
3390
|
multi: true,
|
|
3391
3391
|
},
|
|
3392
3392
|
], usesInheritance: true, ngImport: i0 });
|
|
3393
3393
|
}
|
|
3394
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type:
|
|
3394
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: PTableFooterDirective, decorators: [{
|
|
3395
3395
|
type: Directive,
|
|
3396
3396
|
args: [{
|
|
3397
3397
|
selector: 'p-table-footer',
|
|
@@ -3402,14 +3402,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImpor
|
|
|
3402
3402
|
providers: [
|
|
3403
3403
|
{
|
|
3404
3404
|
provide: NG_VALUE_ACCESSOR,
|
|
3405
|
-
useExisting:
|
|
3405
|
+
useExisting: PTableFooterDirective,
|
|
3406
3406
|
multi: true,
|
|
3407
3407
|
},
|
|
3408
3408
|
],
|
|
3409
3409
|
}]
|
|
3410
3410
|
}] });
|
|
3411
3411
|
|
|
3412
|
-
class
|
|
3412
|
+
class PTableHeaderDirective extends BaseValueAccessor {
|
|
3413
3413
|
lastValue = {
|
|
3414
3414
|
query: '',
|
|
3415
3415
|
quickFilter: undefined,
|
|
@@ -3433,16 +3433,16 @@ class TableHeaderDirective extends BaseValueAccessor {
|
|
|
3433
3433
|
_setActiveQuickFilter(quickFilter) {
|
|
3434
3434
|
this.el.nativeElement.activeQuickFilterIdentifier = quickFilter?.identifier;
|
|
3435
3435
|
}
|
|
3436
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type:
|
|
3437
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.1.0", type:
|
|
3436
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: PTableHeaderDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
3437
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.1.0", type: PTableHeaderDirective, isStandalone: true, selector: "p-table-header", host: { listeners: { "queryChange": "handleChange($event.detail, \"query\")", "quickFilter": "handleChange($event.detail, \"quickFilter\")" } }, providers: [
|
|
3438
3438
|
{
|
|
3439
3439
|
provide: NG_VALUE_ACCESSOR,
|
|
3440
|
-
useExisting:
|
|
3440
|
+
useExisting: PTableHeaderDirective,
|
|
3441
3441
|
multi: true,
|
|
3442
3442
|
},
|
|
3443
3443
|
], usesInheritance: true, ngImport: i0 });
|
|
3444
3444
|
}
|
|
3445
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type:
|
|
3445
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: PTableHeaderDirective, decorators: [{
|
|
3446
3446
|
type: Directive,
|
|
3447
3447
|
args: [{
|
|
3448
3448
|
selector: 'p-table-header',
|
|
@@ -3453,7 +3453,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImpor
|
|
|
3453
3453
|
providers: [
|
|
3454
3454
|
{
|
|
3455
3455
|
provide: NG_VALUE_ACCESSOR,
|
|
3456
|
-
useExisting:
|
|
3456
|
+
useExisting: PTableHeaderDirective,
|
|
3457
3457
|
multi: true,
|
|
3458
3458
|
},
|
|
3459
3459
|
],
|
|
@@ -3461,7 +3461,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImpor
|
|
|
3461
3461
|
}] });
|
|
3462
3462
|
|
|
3463
3463
|
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
3464
|
-
class
|
|
3464
|
+
class PTableNgxDirective extends BaseValueAccessor {
|
|
3465
3465
|
_base;
|
|
3466
3466
|
lastValue = {
|
|
3467
3467
|
query: '',
|
|
@@ -3547,16 +3547,16 @@ class TableNgxDirective extends BaseValueAccessor {
|
|
|
3547
3547
|
: false;
|
|
3548
3548
|
}
|
|
3549
3549
|
}
|
|
3550
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type:
|
|
3551
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.1.0", type:
|
|
3550
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: PTableNgxDirective, deps: [{ token: i0.ElementRef }, { token: TableComponent, host: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3551
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.1.0", type: PTableNgxDirective, isStandalone: true, selector: "p-table-ngx", host: { listeners: { "queryChange": "handleChange($event, \"query\")", "quickFilter": "handleChange($event, \"quickFilter\")", "pageChange": "handleChange($event, \"page\")", "pageSizeChange": "handleChange($event, \"pageSize\")", "selectedRowsChange": "handleChange($event, \"selectedRows\")" } }, providers: [
|
|
3552
3552
|
{
|
|
3553
3553
|
provide: NG_VALUE_ACCESSOR,
|
|
3554
|
-
useExisting:
|
|
3554
|
+
useExisting: PTableNgxDirective,
|
|
3555
3555
|
multi: true,
|
|
3556
3556
|
},
|
|
3557
3557
|
], usesInheritance: true, ngImport: i0 });
|
|
3558
3558
|
}
|
|
3559
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type:
|
|
3559
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: PTableNgxDirective, decorators: [{
|
|
3560
3560
|
type: Directive,
|
|
3561
3561
|
args: [{
|
|
3562
3562
|
selector: 'p-table-ngx',
|
|
@@ -3570,7 +3570,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImpor
|
|
|
3570
3570
|
providers: [
|
|
3571
3571
|
{
|
|
3572
3572
|
provide: NG_VALUE_ACCESSOR,
|
|
3573
|
-
useExisting:
|
|
3573
|
+
useExisting: PTableNgxDirective,
|
|
3574
3574
|
multi: true,
|
|
3575
3575
|
},
|
|
3576
3576
|
],
|
|
@@ -3580,7 +3580,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImpor
|
|
|
3580
3580
|
}] }] });
|
|
3581
3581
|
|
|
3582
3582
|
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
3583
|
-
class
|
|
3583
|
+
class PTableDirective extends BaseValueAccessor {
|
|
3584
3584
|
lastValue = {
|
|
3585
3585
|
query: '',
|
|
3586
3586
|
quickFilter: undefined,
|
|
@@ -3619,16 +3619,16 @@ class TableDirective extends BaseValueAccessor {
|
|
|
3619
3619
|
_setActiveQuickFilter(quickFilter) {
|
|
3620
3620
|
this.el.nativeElement.activeQuickFilterIdentifier = quickFilter?.identifier;
|
|
3621
3621
|
}
|
|
3622
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type:
|
|
3623
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.1.0", type:
|
|
3622
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: PTableDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
3623
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.1.0", type: PTableDirective, isStandalone: true, selector: "p-table", host: { listeners: { "queryChange": "handleChange($event.detail, \"query\")", "quickFilter": "handleChange($event.detail, \"quickFilter\")", "pageChange": "handleChange($event.detail, \"page\")", "pageSizeChange": "handleChange($event.detail, \"pageSize\")", "selectedRowsChange": "handleChange($event.detail, \"selectedRows\")" } }, providers: [
|
|
3624
3624
|
{
|
|
3625
3625
|
provide: NG_VALUE_ACCESSOR,
|
|
3626
|
-
useExisting:
|
|
3626
|
+
useExisting: PTableDirective,
|
|
3627
3627
|
multi: true,
|
|
3628
3628
|
},
|
|
3629
3629
|
], usesInheritance: true, ngImport: i0 });
|
|
3630
3630
|
}
|
|
3631
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type:
|
|
3631
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: PTableDirective, decorators: [{
|
|
3632
3632
|
type: Directive,
|
|
3633
3633
|
args: [{
|
|
3634
3634
|
selector: 'p-table',
|
|
@@ -3642,35 +3642,35 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImpor
|
|
|
3642
3642
|
providers: [
|
|
3643
3643
|
{
|
|
3644
3644
|
provide: NG_VALUE_ACCESSOR,
|
|
3645
|
-
useExisting:
|
|
3645
|
+
useExisting: PTableDirective,
|
|
3646
3646
|
multi: true,
|
|
3647
3647
|
},
|
|
3648
3648
|
],
|
|
3649
3649
|
}]
|
|
3650
3650
|
}] });
|
|
3651
3651
|
|
|
3652
|
-
class
|
|
3653
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type:
|
|
3654
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.1.0", type:
|
|
3652
|
+
class PTableCustomActionsDirective {
|
|
3653
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: PTableCustomActionsDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
3654
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.1.0", type: PTableCustomActionsDirective, isStandalone: true, selector: "[p-table-custom-actions]", ngImport: i0 });
|
|
3655
3655
|
}
|
|
3656
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type:
|
|
3656
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: PTableCustomActionsDirective, decorators: [{
|
|
3657
3657
|
type: Directive,
|
|
3658
3658
|
args: [{
|
|
3659
3659
|
selector: '[p-table-custom-actions]',
|
|
3660
3660
|
}]
|
|
3661
3661
|
}] });
|
|
3662
3662
|
|
|
3663
|
-
class
|
|
3663
|
+
class PTableCustomRowDirective {
|
|
3664
3664
|
templateRef;
|
|
3665
3665
|
variant = 'default';
|
|
3666
3666
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
3667
3667
|
constructor(templateRef) {
|
|
3668
3668
|
this.templateRef = templateRef;
|
|
3669
3669
|
}
|
|
3670
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type:
|
|
3671
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.1.0", type:
|
|
3670
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: PTableCustomRowDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3671
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.1.0", type: PTableCustomRowDirective, isStandalone: true, selector: "[p-table-custom-row]", inputs: { variant: "variant" }, ngImport: i0 });
|
|
3672
3672
|
}
|
|
3673
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type:
|
|
3673
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: PTableCustomRowDirective, decorators: [{
|
|
3674
3674
|
type: Directive,
|
|
3675
3675
|
args: [{
|
|
3676
3676
|
selector: '[p-table-custom-row]',
|
|
@@ -3680,14 +3680,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImpor
|
|
|
3680
3680
|
}] } });
|
|
3681
3681
|
|
|
3682
3682
|
const TABLE_DIRECTIVES = [
|
|
3683
|
-
|
|
3684
|
-
|
|
3685
|
-
|
|
3686
|
-
|
|
3687
|
-
|
|
3688
|
-
|
|
3689
|
-
|
|
3690
|
-
|
|
3683
|
+
PTableFooterDirective,
|
|
3684
|
+
PTableHeaderDirective,
|
|
3685
|
+
PTableDirective,
|
|
3686
|
+
PTableNgxDirective,
|
|
3687
|
+
PTableFilterModalDirective,
|
|
3688
|
+
PTableCustomFilterDirective,
|
|
3689
|
+
PTableCustomActionsDirective,
|
|
3690
|
+
PTableCustomRowDirective,
|
|
3691
3691
|
];
|
|
3692
3692
|
|
|
3693
3693
|
let TableRowActionComponent = class TableRowActionComponent {
|
|
@@ -4621,7 +4621,7 @@ let TableComponent = class TableComponent {
|
|
|
4621
4621
|
}, 100);
|
|
4622
4622
|
}
|
|
4623
4623
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: TableComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
4624
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.1.0", type: TableComponent, isStandalone: true, 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()", "document:keydown": "keyDown($event)", "document:keyup": "keyUp($event)", "document:visibilitychange": "visibilityChange()" }, properties: { "class": "this.hostClass", "attr.data-theme": "this.theme" } }, 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: TableColumnComponent }, { propertyName: "extraHeaderDefinitions", predicate: TableExtraHeaderComponent }, { propertyName: "rowActions", predicate: TableRowActionComponent }, { propertyName: "customRows", predicate: TableCustomRowDirective }], viewQueries: [{ propertyName: "scrollContainer", first: true, predicate: ["scrollContainer"], descendants: true }, { propertyName: "tableRows", predicate: PTableRow, descendants: true, read: ElementRef }, { propertyName: "tableCells", predicate: TableCellComponent, descendants: true, read: ElementRef }], usesOnChanges: true, ngImport: i0, template: "<p-table-container>\n\t@if (enableHeader) {\n\t\t<p-table-header\n\t\t\tclass=\"mb-8\"\n\t\t\t[actionButtonTemplate]=\"actionButtonTemplate\"\n\t\t\t[actionIcon]=\"actionButtonIcon\"\n\t\t\t[actionLoading]=\"actionButtonLoading\"\n\t\t\t[actionText]=\"actionButtonText\"\n\t\t\t[activeQuickFilterIdentifier]=\"activeQuickFilterIdentifier\"\n\t\t\t[canUseAction]=\"actionButtonEnabled\"\n\t\t\t[enableAction]=\"enableAction\"\n\t\t\t[enableExport]=\"enableExport\"\n\t\t\t[enableFilter]=\"enableFilter\"\n\t\t\t[enableFilterDesktop]=\"enableFilterDesktop\"\n\t\t\t[enableSearch]=\"enableSearch\"\n\t\t\t[filterButtonTemplate]=\"filterButtonTemplate\"\n\t\t\t[itemsSelectedAmount]=\"selectedRows.length\"\n\t\t\t[loading]=\"headerLoading\"\n\t\t\t[query]=\"query\"\n\t\t\t[quickFilters]=\"quickFilters\"\n\t\t\t[selectedFiltersAmount]=\"selectedFiltersAmount\"\n\t\t\t(action)=\"action.emit()\"\n\t\t\t(export)=\"export.emit()\"\n\t\t\t(filter)=\"filterModalShow$.next(true)\"\n\t\t\t(queryChange)=\"onQueryChange($event)\"\n\t\t\t(quickFilter)=\"onQuickFilter($event)\"\n\t\t>\n\t\t\t@if (headerCustomFilterTemplate) {\n\t\t\t\t<ng-container *ngTemplateOutlet=\"headerCustomFilterTemplate\" />\n\t\t\t}\n\n\t\t\t@if (headerCustomActionsTemplate) {\n\t\t\t\t<ng-container *ngTemplateOutlet=\"headerCustomActionsTemplate\" />\n\t\t\t}\n\t\t</p-table-header>\n\t}\n\n\t@if (enableScroll) {\n\t\t<div class=\"relative flex-1\">\n\t\t\t<div\n\t\t\t\t#scrollContainer\n\t\t\t\tclass=\"flex flex-col overflow-x-auto\"\n\t\t\t\t[class]=\"\n\t\t\t\t\tcn(\n\t\t\t\t\t\t'before:absolute before:top-0 before:left-0 before:z-[1] before:pointer-events-none',\n\t\t\t\t\t\t'before:w-24 before:h-full before:transition-opacity',\n\t\t\t\t\t\t'before:bg-gradient-to-r before:from-white dark:before:from-hurricane-700 before:via-white/80 dark:before:via-hurricane-700/90 before:to-transparent',\n\t\t\t\t\t\t'after:absolute after:top-0 after:right-0 after:z-[0] before:pointer-events-none',\n\t\t\t\t\t\t'after:w-24 after:h-full after:transition-opacity',\n\t\t\t\t\t\t'after:bg-gradient-to-l after:from-white after:dark:from-hurricane-700 after:via-white/80 dark:after:via-hurricane-700/90 after:to-transparent',\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\t'before:opacity-0': reachedScrollStart$ | async,\n\t\t\t\t\t\t\t'after:opacity-0': reachedScrollEnd$ | async,\n\t\t\t\t\t\t\t'before:opacity-100': (reachedScrollStart$ | async) === false,\n\t\t\t\t\t\t\t'after:opacity-100': (reachedScrollEnd$ | async) === false,\n\t\t\t\t\t\t}\n\t\t\t\t\t)\n\t\t\t\t\"\n\t\t\t\t(scroll)=\"onContainerXScroll($event)\"\n\t\t\t>\n\t\t\t\t<ng-container *ngTemplateOutlet=\"rowsTemplate\" />\n\t\t\t</div>\n\t\t</div>\n\t} @else {\n\t\t<ng-container *ngTemplateOutlet=\"rowsTemplate\" />\n\t}\n\n\t@if (enableFloatingMenu && enableRowSelection) {\n\t\t<p-floating-menu-container\n\t\t\t[amount]=\"floatingMenuAmountSelectedText\"\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[enableAmountSelected]=\"!!(rowActionsFloating$ | async)?.length\"\n\t\t\t[usedInTable]=\"true\"\n\t\t\t(close)=\"_selectAllChange(null, false)\"\n\t\t>\n\t\t\t@for (action of rowActionsFloating$ | async; track action) {\n\t\t\t\t<p-floating-menu-item\n\t\t\t\t\tslot=\"floating-menu-item\"\n\t\t\t\t\t[disabled]=\"\n\t\t\t\t\t\t(action['type'] === 'single' && selectedRows.length > 1) ||\n\t\t\t\t\t\taction['disabled']\n\t\t\t\t\t\"\n\t\t\t\t\t[icon]=\"action['icon']\"\n\t\t\t\t\t[iconFlip]=\"action['iconFlip']\"\n\t\t\t\t\t[iconRotate]=\"action['iconRotate']\"\n\t\t\t\t\t[loading]=\"action['loading']\"\n\t\t\t\t\t(click)=\"_rowActionClick(action)\"\n\t\t\t\t>\n\t\t\t\t\t{{ action['label'] }}\n\t\t\t\t</p-floating-menu-item>\n\t\t\t}\n\t\t</p-floating-menu-container>\n\t}\n\n\t@if (enableFooter) {\n\t\t<p-table-footer\n\t\t\t[enablePaginationPages]=\"enablePaginationPages\"\n\t\t\t[enablePaginationSize]=\"enablePaginationSize\"\n\t\t\t[hideOnSinglePage]=\"hideOnSinglePage\"\n\t\t\t[loading]=\"footerLoading\"\n\t\t\t[page]=\"page\"\n\t\t\t[pageSize]=\"pageSize\"\n\t\t\t[pageSizeOptions]=\"pageSizeOptions\"\n\t\t\t[tableHeaderHasAction]=\"\n\t\t\t\tenableHeader && enableAction && actionButtonEnabled\n\t\t\t\"\n\t\t\t[total]=\"total\"\n\t\t\t(hiddenChange)=\"footerHidden$.next($event.detail)\"\n\t\t\t(pageChange)=\"onPageChange($event)\"\n\t\t\t(pageSizeChange)=\"onPageSizeChange($event)\"\n\t\t/>\n\t}\n</p-table-container>\n\n<ng-template #rowsTemplate>\n\t@if ((extraHeaders$ | async) && (extraHeaders$ | async)?.length) {\n\t\t<p-table-row\n\t\t\tclass=\"z-[2]\"\n\t\t\tvariant=\"header-secondary\"\n\t\t\t[isLast]=\"true\"\n\t\t>\n\t\t\t@for (col of extraHeaders$ | async; track col; let index = $index) {\n\t\t\t\t<p-table-cell-ngx\n\t\t\t\t\tvariant=\"header-secondary\"\n\t\t\t\t\t[checkboxOffset]=\"index === 0 && enableRowSelection\"\n\t\t\t\t\t[definition]=\"col\"\n\t\t\t\t\t[index]=\"index\"\n\t\t\t\t\t[scrollable]=\"this.enableScroll\"\n\t\t\t\t>\n\t\t\t\t\t<b>{{ col.name }}</b>\n\t\t\t\t</p-table-cell-ngx>\n\t\t\t}\n\t\t</p-table-row>\n\t}\n\n\t<p-table-row variant=\"header\">\n\t\t@for (col of columns$ | async; track col; let index = $index) {\n\t\t\t<p-table-cell-ngx\n\t\t\t\tvariant=\"header\"\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\t[definition]=\"col\"\n\t\t\t\t[index]=\"index\"\n\t\t\t\t[scrollable]=\"this.enableScroll\"\n\t\t\t\t[value]=\"col.name\"\n\t\t\t/>\n\t\t\t<ng-template #checkboxTemplate>\n\t\t\t\t<p-checkbox\n\t\t\t\t\t[checked]=\"_selectionContainsAll()\"\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\t[indeterminate]=\"_selectionIndeterminate()\"\n\t\t\t\t\t(checkedChange)=\"_selectAllChange($event)\"\n\t\t\t\t/>\n\t\t\t</ng-template>\n\t\t}\n\t</p-table-row>\n\n\t<div class=\"flex flex-1 flex-col\">\n\t\t@if (loading) {\n\t\t\t@for (r of loadingRows; track r; let rowIndex = $index) {\n\t\t\t\t<p-table-row\n\t\t\t\t\tclass=\"group\"\n\t\t\t\t\t[enableHover]=\"enableRowSelection || enableRowClick\"\n\t\t\t\t\t[isLast]=\"rowIndex === loadingRows.length - 1\"\n\t\t\t\t>\n\t\t\t\t\t@for (col of columns$ | async; track col; let index = $index) {\n\t\t\t\t\t\t<p-table-cell-ngx\n\t\t\t\t\t\t\tvariant=\"loading\"\n\t\t\t\t\t\t\t[checkbox]=\"\n\t\t\t\t\t\t\t\t(index === 0 || col.hasCheckbox) && enableRowSelection\n\t\t\t\t\t\t\t\t\t? checkboxTemplate\n\t\t\t\t\t\t\t\t\t: undefined\n\t\t\t\t\t\t\t\"\n\t\t\t\t\t\t\t[definition]=\"col\"\n\t\t\t\t\t\t\t[index]=\"index\"\n\t\t\t\t\t\t\t[rowIndex]=\"rowIndex\"\n\t\t\t\t\t\t\t[scrollable]=\"this.enableScroll\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t\t<ng-template #checkboxTemplate>\n\t\t\t\t\t\t\t<p-loader\n\t\t\t\t\t\t\t\tclass=\"h-6 w-6 rounded\"\n\t\t\t\t\t\t\t\tvariant=\"ghost\"\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t</ng-template>\n\t\t\t\t\t}\n\t\t\t\t</p-table-row>\n\t\t\t}\n\t\t} @else {\n\t\t\t@if (parsedItems.length) {\n\t\t\t\t@for (item of parsedItems; track item; let rowIndex = $index) {\n\t\t\t\t\t<p-table-row\n\t\t\t\t\t\tclass=\"group\"\n\t\t\t\t\t\t[checked]=\"_selectionContains(item, rowIndex)\"\n\t\t\t\t\t\t[enableHover]=\"enableRowSelection || enableRowClick\"\n\t\t\t\t\t\t[isLast]=\"rowIndex === parsedItems.length - 1\"\n\t\t\t\t\t\t(click)=\"_rowClick($event, rowIndex)\"\n\t\t\t\t\t>\n\t\t\t\t\t\t@if (\n\t\t\t\t\t\t\tparseRowActionsRow(rowActionsRow$ | async, rowIndex);\n\t\t\t\t\t\t\tas rowActionsRow\n\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t@for (col of columns$ | async; track col; let index = $index) {\n\t\t\t\t\t\t\t\t<p-table-cell-ngx\n\t\t\t\t\t\t\t\t\t[checkbox]=\"\n\t\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\t? checkboxTemplate\n\t\t\t\t\t\t\t\t\t\t\t: undefined\n\t\t\t\t\t\t\t\t\t\"\n\t\t\t\t\t\t\t\t\t[definition]=\"col\"\n\t\t\t\t\t\t\t\t\t[index]=\"index\"\n\t\t\t\t\t\t\t\t\t[item]=\"item\"\n\t\t\t\t\t\t\t\t\t[rowIndex]=\"rowIndex\"\n\t\t\t\t\t\t\t\t\t[scrollable]=\"this.enableScroll\"\n\t\t\t\t\t\t\t\t\t[template]=\"col.template\"\n\t\t\t\t\t\t\t\t/>\n\n\t\t\t\t\t\t\t\t<ng-template #checkboxTemplate>\n\t\t\t\t\t\t\t\t\t<p-checkbox\n\t\t\t\t\t\t\t\t\t\t[checked]=\"_selectionContains(item, rowIndex)\"\n\t\t\t\t\t\t\t\t\t\t[disabled]=\"_checkboxDisabled(item, rowIndex)\"\n\t\t\t\t\t\t\t\t\t\t(checkedChange)=\"_checkboxChange($event.target, rowIndex)\"\n\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t</ng-template>\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t@if (!!rowActionsRow.length && (isMobile$ | async) === false) {\n\t\t\t\t\t\t\t\t<p-table-row-actions-container\n\t\t\t\t\t\t\t\t\tslot=\"actions\"\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\t\t@for (action of rowActionsRow; track action) {\n\t\t\t\t\t\t\t\t\t\t@if (\n\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? action.showFunction(parsedItems[rowIndex])\n\t\t\t\t\t\t\t\t\t\t\t\t: true\n\t\t\t\t\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t\t\t\t\t<p-tooltip [content]=\"action['label']\">\n\t\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\t\tdata-is-action\n\t\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\t\ticonOnly=\"true\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tsize=\"sm\"\n\t\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\tvariant=\"secondary\"\n\t\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\t[icon]=\"action['icon']\"\n\t\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\t\t[loading]=\"action['loading']\"\n\t\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\t\taction.queryParams\n\t\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\t\taction.queryParams,\n\t\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\t\t) | async)\n\t\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\t\"\n\t\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\t\taction.routerLink\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t? (_getActionRouterLink(\n\t\t\t\t\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\t\t\trowIndex\n\t\t\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\t: null\n\t\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\t(onClick)=\"_rowActionClick(action, rowIndex)\"\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</p-tooltip>\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t</p-table-row-actions-container>\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t</p-table-row>\n\t\t\t\t}\n\t\t\t} @else {\n\t\t\t\t<ng-container *ngTemplateOutlet=\"emptyStateTemplate\" />\n\t\t\t}\n\t\t}\n\n\t\t@for (customRow of customRows; track customRow) {\n\t\t\t<p-table-row\n\t\t\t\t[class]=\"{\n\t\t\t\t\t'z-[2]': customRow.variant === 'secondary',\n\t\t\t\t}\"\n\t\t\t\t[variant]=\"customRow.variant\"\n\t\t\t>\n\t\t\t\t<ng-container *ngTemplateOutlet=\"customRow.templateRef\" />\n\t\t\t</p-table-row>\n\t\t}\n\t</div>\n</ng-template>\n\n@if (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\tclass=\"flex flex-col gap-6\"\n\t\t\tslot=\"content\"\n\t\t>\n\t\t\t<ng-container *ngTemplateOutlet=\"filterModalTemplate\" />\n\t\t</div>\n\n\t\t<div\n\t\t\tclass=\"flex w-full justify-between gap-4\"\n\t\t\tslot=\"footer\"\n\t\t>\n\t\t\t@if (filterModalShowResetMobile) {\n\t\t\t\t<p-button\n\t\t\t\t\tclass=\"flex w-full tablet:w-auto desktop-xs:hidden\"\n\t\t\t\t\tvariant=\"secondary\"\n\t\t\t\t\t(onClick)=\"onFilterModalReset(true)\"\n\t\t\t\t>\n\t\t\t\t\t{{ filterModalResetText }}\n\t\t\t\t</p-button>\n\t\t\t}\n\n\t\t\t@if (filterModalShowReset) {\n\t\t\t\t<p-button\n\t\t\t\t\tclass=\"hidden w-full tablet:w-auto desktop-xs:flex\"\n\t\t\t\t\tvariant=\"secondary\"\n\t\t\t\t\t(onClick)=\"onFilterModalReset()\"\n\t\t\t\t>\n\t\t\t\t\t{{ filterModalResetText }}\n\t\t\t\t</p-button>\n\t\t\t}\n\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}\n\n<ng-template #emptyStateTemplate>\n\t@if (emptyStateType === 'filtered') {\n\t\t<p-empty-state\n\t\t\tclass=\"my-16 self-center\"\n\t\t\t[content]=\"emptyStateFilteredContent\"\n\t\t\t[enableAction]=\"false\"\n\t\t\t[header]=\"emptyStateFilteredHeader\"\n\t\t\t[illustration]=\"emptyStateFilteredIllustration\"\n\t\t/>\n\t} @else {\n\t\t<p-empty-state\n\t\t\tclass=\"my-16 self-center\"\n\t\t\t[actionIcon]=\"emptyStateActionIcon\"\n\t\t\t[actionText]=\"emptyStateAction\"\n\t\t\t[content]=\"emptyStateContent\"\n\t\t\t[enableAction]=\"enableEmptyStateAction\"\n\t\t\t[header]=\"emptyStateHeader\"\n\t\t\t[illustration]=\"emptyStateIllustration\"\n\t\t\t(action)=\"emptyStateClicked()\"\n\t\t/>\n\t}\n</ng-template>\n", dependencies: [{ kind: "directive", type: RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: PModal, selector: "p-modal", inputs: ["applyBlur", "backdropClickClose", "header", "scrollLock", "show", "showClose", "showMobileFooter", "size"] }, { kind: "component", type: PEmptyState, selector: "p-empty-state", inputs: ["actionIcon", "actionIconPosition", "actionLoading", "actionText", "actionVariant", "content", "enableAction", "header", "illustration"] }, { kind: "component", type: PLoader, selector: "p-loader", inputs: ["color", "modalDescription", "modalTitle", "show", "variant"] }, { kind: "component", type: PButton, selector: "p-button", inputs: ["active", "as", "buttonGroupPosition", "chevron", "chevronPosition", "class", "disabled", "error", "href", "icon", "iconClass", "iconFlip", "iconOnly", "iconPosition", "iconRotate", "inheritText", "label", "loading", "size", "tabIndex", "target", "type", "underline", "variant"] }, { kind: "component", type: PCheckbox, selector: "p-checkbox", inputs: ["checked", "disabled", "id", "indeterminate", "name", "required"] }, { kind: "component", type: PTooltip, selector: "p-tooltip", inputs: ["canManuallyClose", "content", "enableUserInput", "offset", "placement", "show", "strategy", "variant"] }, { kind: "component", type: PTableContainer, selector: "p-table-container" }, { 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: ["checked", "enableHover", "isLast", "variant"] }, { kind: "component", type: PTableFooter, selector: "p-table-footer", inputs: ["enablePaginationPages", "enablePaginationSize", "hideOnSinglePage", "loading", "page", "pageSize", "pageSizeOptions", "tableHeaderHasAction", "total"] }, { 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: PTableRowActionsContainer, selector: "p-table-row-actions-container", inputs: ["checked"] }, { kind: "component", type: TableCellComponent, selector: "p-table-cell-ngx", inputs: ["variant", "index", "rowIndex", "definition", "item", "value", "checkbox", "checkboxOffset", "template", "scrollable"] }, { kind: "pipe", type: AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
4624
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.1.0", type: TableComponent, isStandalone: true, 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()", "document:keydown": "keyDown($event)", "document:keyup": "keyUp($event)", "document:visibilitychange": "visibilityChange()" }, properties: { "class": "this.hostClass", "attr.data-theme": "this.theme" } }, queries: [{ propertyName: "headerCustomFilterTemplate", first: true, predicate: PTableCustomFilterDirective, descendants: true, read: TemplateRef, static: true }, { propertyName: "headerCustomActionsTemplate", first: true, predicate: PTableCustomActionsDirective, descendants: true, read: TemplateRef, static: true }, { propertyName: "filterModalTemplate", first: true, predicate: PTableFilterModalDirective, descendants: true, read: TemplateRef, static: true }, { propertyName: "columnDefinitions", predicate: TableColumnComponent }, { propertyName: "extraHeaderDefinitions", predicate: TableExtraHeaderComponent }, { propertyName: "rowActions", predicate: TableRowActionComponent }, { propertyName: "customRows", predicate: PTableCustomRowDirective }], viewQueries: [{ propertyName: "scrollContainer", first: true, predicate: ["scrollContainer"], descendants: true }, { propertyName: "tableRows", predicate: PTableRow, descendants: true, read: ElementRef }, { propertyName: "tableCells", predicate: TableCellComponent, descendants: true, read: ElementRef }], usesOnChanges: true, ngImport: i0, template: "<p-table-container>\n\t@if (enableHeader) {\n\t\t<p-table-header\n\t\t\tclass=\"mb-8\"\n\t\t\t[actionButtonTemplate]=\"actionButtonTemplate\"\n\t\t\t[actionIcon]=\"actionButtonIcon\"\n\t\t\t[actionLoading]=\"actionButtonLoading\"\n\t\t\t[actionText]=\"actionButtonText\"\n\t\t\t[activeQuickFilterIdentifier]=\"activeQuickFilterIdentifier\"\n\t\t\t[canUseAction]=\"actionButtonEnabled\"\n\t\t\t[enableAction]=\"enableAction\"\n\t\t\t[enableExport]=\"enableExport\"\n\t\t\t[enableFilter]=\"enableFilter\"\n\t\t\t[enableFilterDesktop]=\"enableFilterDesktop\"\n\t\t\t[enableSearch]=\"enableSearch\"\n\t\t\t[filterButtonTemplate]=\"filterButtonTemplate\"\n\t\t\t[itemsSelectedAmount]=\"selectedRows.length\"\n\t\t\t[loading]=\"headerLoading\"\n\t\t\t[query]=\"query\"\n\t\t\t[quickFilters]=\"quickFilters\"\n\t\t\t[selectedFiltersAmount]=\"selectedFiltersAmount\"\n\t\t\t(action)=\"action.emit()\"\n\t\t\t(export)=\"export.emit()\"\n\t\t\t(filter)=\"filterModalShow$.next(true)\"\n\t\t\t(queryChange)=\"onQueryChange($event)\"\n\t\t\t(quickFilter)=\"onQuickFilter($event)\"\n\t\t>\n\t\t\t@if (headerCustomFilterTemplate) {\n\t\t\t\t<ng-container *ngTemplateOutlet=\"headerCustomFilterTemplate\" />\n\t\t\t}\n\n\t\t\t@if (headerCustomActionsTemplate) {\n\t\t\t\t<ng-container *ngTemplateOutlet=\"headerCustomActionsTemplate\" />\n\t\t\t}\n\t\t</p-table-header>\n\t}\n\n\t@if (enableScroll) {\n\t\t<div class=\"relative flex-1\">\n\t\t\t<div\n\t\t\t\t#scrollContainer\n\t\t\t\tclass=\"flex flex-col overflow-x-auto\"\n\t\t\t\t[class]=\"\n\t\t\t\t\tcn(\n\t\t\t\t\t\t'before:absolute before:top-0 before:left-0 before:z-[1] before:pointer-events-none',\n\t\t\t\t\t\t'before:w-24 before:h-full before:transition-opacity',\n\t\t\t\t\t\t'before:bg-gradient-to-r before:from-white dark:before:from-hurricane-700 before:via-white/80 dark:before:via-hurricane-700/90 before:to-transparent',\n\t\t\t\t\t\t'after:absolute after:top-0 after:right-0 after:z-[0] before:pointer-events-none',\n\t\t\t\t\t\t'after:w-24 after:h-full after:transition-opacity',\n\t\t\t\t\t\t'after:bg-gradient-to-l after:from-white after:dark:from-hurricane-700 after:via-white/80 dark:after:via-hurricane-700/90 after:to-transparent',\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\t'before:opacity-0': reachedScrollStart$ | async,\n\t\t\t\t\t\t\t'after:opacity-0': reachedScrollEnd$ | async,\n\t\t\t\t\t\t\t'before:opacity-100': (reachedScrollStart$ | async) === false,\n\t\t\t\t\t\t\t'after:opacity-100': (reachedScrollEnd$ | async) === false,\n\t\t\t\t\t\t}\n\t\t\t\t\t)\n\t\t\t\t\"\n\t\t\t\t(scroll)=\"onContainerXScroll($event)\"\n\t\t\t>\n\t\t\t\t<ng-container *ngTemplateOutlet=\"rowsTemplate\" />\n\t\t\t</div>\n\t\t</div>\n\t} @else {\n\t\t<ng-container *ngTemplateOutlet=\"rowsTemplate\" />\n\t}\n\n\t@if (enableFloatingMenu && enableRowSelection) {\n\t\t<p-floating-menu-container\n\t\t\t[amount]=\"floatingMenuAmountSelectedText\"\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[enableAmountSelected]=\"!!(rowActionsFloating$ | async)?.length\"\n\t\t\t[usedInTable]=\"true\"\n\t\t\t(close)=\"_selectAllChange(null, false)\"\n\t\t>\n\t\t\t@for (action of rowActionsFloating$ | async; track action) {\n\t\t\t\t<p-floating-menu-item\n\t\t\t\t\tslot=\"floating-menu-item\"\n\t\t\t\t\t[disabled]=\"\n\t\t\t\t\t\t(action['type'] === 'single' && selectedRows.length > 1) ||\n\t\t\t\t\t\taction['disabled']\n\t\t\t\t\t\"\n\t\t\t\t\t[icon]=\"action['icon']\"\n\t\t\t\t\t[iconFlip]=\"action['iconFlip']\"\n\t\t\t\t\t[iconRotate]=\"action['iconRotate']\"\n\t\t\t\t\t[loading]=\"action['loading']\"\n\t\t\t\t\t(click)=\"_rowActionClick(action)\"\n\t\t\t\t>\n\t\t\t\t\t{{ action['label'] }}\n\t\t\t\t</p-floating-menu-item>\n\t\t\t}\n\t\t</p-floating-menu-container>\n\t}\n\n\t@if (enableFooter) {\n\t\t<p-table-footer\n\t\t\t[enablePaginationPages]=\"enablePaginationPages\"\n\t\t\t[enablePaginationSize]=\"enablePaginationSize\"\n\t\t\t[hideOnSinglePage]=\"hideOnSinglePage\"\n\t\t\t[loading]=\"footerLoading\"\n\t\t\t[page]=\"page\"\n\t\t\t[pageSize]=\"pageSize\"\n\t\t\t[pageSizeOptions]=\"pageSizeOptions\"\n\t\t\t[tableHeaderHasAction]=\"\n\t\t\t\tenableHeader && enableAction && actionButtonEnabled\n\t\t\t\"\n\t\t\t[total]=\"total\"\n\t\t\t(hiddenChange)=\"footerHidden$.next($event.detail)\"\n\t\t\t(pageChange)=\"onPageChange($event)\"\n\t\t\t(pageSizeChange)=\"onPageSizeChange($event)\"\n\t\t/>\n\t}\n</p-table-container>\n\n<ng-template #rowsTemplate>\n\t@if ((extraHeaders$ | async) && (extraHeaders$ | async)?.length) {\n\t\t<p-table-row\n\t\t\tclass=\"z-[2]\"\n\t\t\tvariant=\"header-secondary\"\n\t\t\t[isLast]=\"true\"\n\t\t>\n\t\t\t@for (col of extraHeaders$ | async; track col; let index = $index) {\n\t\t\t\t<p-table-cell-ngx\n\t\t\t\t\tvariant=\"header-secondary\"\n\t\t\t\t\t[checkboxOffset]=\"index === 0 && enableRowSelection\"\n\t\t\t\t\t[definition]=\"col\"\n\t\t\t\t\t[index]=\"index\"\n\t\t\t\t\t[scrollable]=\"this.enableScroll\"\n\t\t\t\t>\n\t\t\t\t\t<b>{{ col.name }}</b>\n\t\t\t\t</p-table-cell-ngx>\n\t\t\t}\n\t\t</p-table-row>\n\t}\n\n\t<p-table-row variant=\"header\">\n\t\t@for (col of columns$ | async; track col; let index = $index) {\n\t\t\t<p-table-cell-ngx\n\t\t\t\tvariant=\"header\"\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\t[definition]=\"col\"\n\t\t\t\t[index]=\"index\"\n\t\t\t\t[scrollable]=\"this.enableScroll\"\n\t\t\t\t[value]=\"col.name\"\n\t\t\t/>\n\t\t\t<ng-template #checkboxTemplate>\n\t\t\t\t<p-checkbox\n\t\t\t\t\t[checked]=\"_selectionContainsAll()\"\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\t[indeterminate]=\"_selectionIndeterminate()\"\n\t\t\t\t\t(checkedChange)=\"_selectAllChange($event)\"\n\t\t\t\t/>\n\t\t\t</ng-template>\n\t\t}\n\t</p-table-row>\n\n\t<div class=\"flex flex-1 flex-col\">\n\t\t@if (loading) {\n\t\t\t@for (r of loadingRows; track r; let rowIndex = $index) {\n\t\t\t\t<p-table-row\n\t\t\t\t\tclass=\"group\"\n\t\t\t\t\t[enableHover]=\"enableRowSelection || enableRowClick\"\n\t\t\t\t\t[isLast]=\"rowIndex === loadingRows.length - 1\"\n\t\t\t\t>\n\t\t\t\t\t@for (col of columns$ | async; track col; let index = $index) {\n\t\t\t\t\t\t<p-table-cell-ngx\n\t\t\t\t\t\t\tvariant=\"loading\"\n\t\t\t\t\t\t\t[checkbox]=\"\n\t\t\t\t\t\t\t\t(index === 0 || col.hasCheckbox) && enableRowSelection\n\t\t\t\t\t\t\t\t\t? checkboxTemplate\n\t\t\t\t\t\t\t\t\t: undefined\n\t\t\t\t\t\t\t\"\n\t\t\t\t\t\t\t[definition]=\"col\"\n\t\t\t\t\t\t\t[index]=\"index\"\n\t\t\t\t\t\t\t[rowIndex]=\"rowIndex\"\n\t\t\t\t\t\t\t[scrollable]=\"this.enableScroll\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t\t<ng-template #checkboxTemplate>\n\t\t\t\t\t\t\t<p-loader\n\t\t\t\t\t\t\t\tclass=\"h-6 w-6 rounded\"\n\t\t\t\t\t\t\t\tvariant=\"ghost\"\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t</ng-template>\n\t\t\t\t\t}\n\t\t\t\t</p-table-row>\n\t\t\t}\n\t\t} @else {\n\t\t\t@if (parsedItems.length) {\n\t\t\t\t@for (item of parsedItems; track item; let rowIndex = $index) {\n\t\t\t\t\t<p-table-row\n\t\t\t\t\t\tclass=\"group\"\n\t\t\t\t\t\t[checked]=\"_selectionContains(item, rowIndex)\"\n\t\t\t\t\t\t[enableHover]=\"enableRowSelection || enableRowClick\"\n\t\t\t\t\t\t[isLast]=\"rowIndex === parsedItems.length - 1\"\n\t\t\t\t\t\t(click)=\"_rowClick($event, rowIndex)\"\n\t\t\t\t\t>\n\t\t\t\t\t\t@if (\n\t\t\t\t\t\t\tparseRowActionsRow(rowActionsRow$ | async, rowIndex);\n\t\t\t\t\t\t\tas rowActionsRow\n\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t@for (col of columns$ | async; track col; let index = $index) {\n\t\t\t\t\t\t\t\t<p-table-cell-ngx\n\t\t\t\t\t\t\t\t\t[checkbox]=\"\n\t\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\t? checkboxTemplate\n\t\t\t\t\t\t\t\t\t\t\t: undefined\n\t\t\t\t\t\t\t\t\t\"\n\t\t\t\t\t\t\t\t\t[definition]=\"col\"\n\t\t\t\t\t\t\t\t\t[index]=\"index\"\n\t\t\t\t\t\t\t\t\t[item]=\"item\"\n\t\t\t\t\t\t\t\t\t[rowIndex]=\"rowIndex\"\n\t\t\t\t\t\t\t\t\t[scrollable]=\"this.enableScroll\"\n\t\t\t\t\t\t\t\t\t[template]=\"col.template\"\n\t\t\t\t\t\t\t\t/>\n\n\t\t\t\t\t\t\t\t<ng-template #checkboxTemplate>\n\t\t\t\t\t\t\t\t\t<p-checkbox\n\t\t\t\t\t\t\t\t\t\t[checked]=\"_selectionContains(item, rowIndex)\"\n\t\t\t\t\t\t\t\t\t\t[disabled]=\"_checkboxDisabled(item, rowIndex)\"\n\t\t\t\t\t\t\t\t\t\t(checkedChange)=\"_checkboxChange($event.target, rowIndex)\"\n\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t</ng-template>\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t@if (!!rowActionsRow.length && (isMobile$ | async) === false) {\n\t\t\t\t\t\t\t\t<p-table-row-actions-container\n\t\t\t\t\t\t\t\t\tslot=\"actions\"\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\t\t@for (action of rowActionsRow; track action) {\n\t\t\t\t\t\t\t\t\t\t@if (\n\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? action.showFunction(parsedItems[rowIndex])\n\t\t\t\t\t\t\t\t\t\t\t\t: true\n\t\t\t\t\t\t\t\t\t\t) {\n\t\t\t\t\t\t\t\t\t\t\t<p-tooltip [content]=\"action['label']\">\n\t\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\t\tdata-is-action\n\t\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\t\ticonOnly=\"true\"\n\t\t\t\t\t\t\t\t\t\t\t\t\tsize=\"sm\"\n\t\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\tvariant=\"secondary\"\n\t\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\t[icon]=\"action['icon']\"\n\t\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\t\t[loading]=\"action['loading']\"\n\t\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\t\taction.queryParams\n\t\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\t\taction.queryParams,\n\t\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\t\t) | async)\n\t\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\t\"\n\t\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\t\taction.routerLink\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t? (_getActionRouterLink(\n\t\t\t\t\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\t\t\trowIndex\n\t\t\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\t: null\n\t\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\t(onClick)=\"_rowActionClick(action, rowIndex)\"\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</p-tooltip>\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t</p-table-row-actions-container>\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t</p-table-row>\n\t\t\t\t}\n\t\t\t} @else {\n\t\t\t\t<ng-container *ngTemplateOutlet=\"emptyStateTemplate\" />\n\t\t\t}\n\t\t}\n\n\t\t@for (customRow of customRows; track customRow) {\n\t\t\t<p-table-row\n\t\t\t\t[class]=\"{\n\t\t\t\t\t'z-[2]': customRow.variant === 'secondary',\n\t\t\t\t}\"\n\t\t\t\t[variant]=\"customRow.variant\"\n\t\t\t>\n\t\t\t\t<ng-container *ngTemplateOutlet=\"customRow.templateRef\" />\n\t\t\t</p-table-row>\n\t\t}\n\t</div>\n</ng-template>\n\n@if (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\tclass=\"flex flex-col gap-6\"\n\t\t\tslot=\"content\"\n\t\t>\n\t\t\t<ng-container *ngTemplateOutlet=\"filterModalTemplate\" />\n\t\t</div>\n\n\t\t<div\n\t\t\tclass=\"flex w-full justify-between gap-4\"\n\t\t\tslot=\"footer\"\n\t\t>\n\t\t\t@if (filterModalShowResetMobile) {\n\t\t\t\t<p-button\n\t\t\t\t\tclass=\"flex w-full tablet:w-auto desktop-xs:hidden\"\n\t\t\t\t\tvariant=\"secondary\"\n\t\t\t\t\t(onClick)=\"onFilterModalReset(true)\"\n\t\t\t\t>\n\t\t\t\t\t{{ filterModalResetText }}\n\t\t\t\t</p-button>\n\t\t\t}\n\n\t\t\t@if (filterModalShowReset) {\n\t\t\t\t<p-button\n\t\t\t\t\tclass=\"hidden w-full tablet:w-auto desktop-xs:flex\"\n\t\t\t\t\tvariant=\"secondary\"\n\t\t\t\t\t(onClick)=\"onFilterModalReset()\"\n\t\t\t\t>\n\t\t\t\t\t{{ filterModalResetText }}\n\t\t\t\t</p-button>\n\t\t\t}\n\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}\n\n<ng-template #emptyStateTemplate>\n\t@if (emptyStateType === 'filtered') {\n\t\t<p-empty-state\n\t\t\tclass=\"my-16 self-center\"\n\t\t\t[content]=\"emptyStateFilteredContent\"\n\t\t\t[enableAction]=\"false\"\n\t\t\t[header]=\"emptyStateFilteredHeader\"\n\t\t\t[illustration]=\"emptyStateFilteredIllustration\"\n\t\t/>\n\t} @else {\n\t\t<p-empty-state\n\t\t\tclass=\"my-16 self-center\"\n\t\t\t[actionIcon]=\"emptyStateActionIcon\"\n\t\t\t[actionText]=\"emptyStateAction\"\n\t\t\t[content]=\"emptyStateContent\"\n\t\t\t[enableAction]=\"enableEmptyStateAction\"\n\t\t\t[header]=\"emptyStateHeader\"\n\t\t\t[illustration]=\"emptyStateIllustration\"\n\t\t\t(action)=\"emptyStateClicked()\"\n\t\t/>\n\t}\n</ng-template>\n", dependencies: [{ kind: "directive", type: RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: PModal, selector: "p-modal", inputs: ["applyBlur", "backdropClickClose", "header", "scrollLock", "show", "showClose", "showMobileFooter", "size"] }, { kind: "component", type: PEmptyState, selector: "p-empty-state", inputs: ["actionIcon", "actionIconPosition", "actionLoading", "actionText", "actionVariant", "content", "enableAction", "header", "illustration"] }, { kind: "component", type: PLoader, selector: "p-loader", inputs: ["color", "modalDescription", "modalTitle", "show", "variant"] }, { kind: "component", type: PButton, selector: "p-button", inputs: ["active", "as", "buttonGroupPosition", "chevron", "chevronPosition", "class", "disabled", "error", "href", "icon", "iconClass", "iconFlip", "iconOnly", "iconPosition", "iconRotate", "inheritText", "label", "loading", "size", "tabIndex", "target", "type", "underline", "variant"] }, { kind: "component", type: PCheckbox, selector: "p-checkbox", inputs: ["checked", "disabled", "id", "indeterminate", "name", "required"] }, { kind: "component", type: PTooltip, selector: "p-tooltip", inputs: ["canManuallyClose", "content", "enableUserInput", "offset", "placement", "show", "strategy", "variant"] }, { kind: "component", type: PTableContainer, selector: "p-table-container" }, { 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: ["checked", "enableHover", "isLast", "variant"] }, { kind: "component", type: PTableFooter, selector: "p-table-footer", inputs: ["enablePaginationPages", "enablePaginationSize", "hideOnSinglePage", "loading", "page", "pageSize", "pageSizeOptions", "tableHeaderHasAction", "total"] }, { 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: PTableRowActionsContainer, selector: "p-table-row-actions-container", inputs: ["checked"] }, { kind: "component", type: TableCellComponent, selector: "p-table-cell-ngx", inputs: ["variant", "index", "rowIndex", "definition", "item", "value", "checkbox", "checkboxOffset", "template", "scrollable"] }, { kind: "pipe", type: AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
4625
4625
|
};
|
|
4626
4626
|
TableComponent = __decorate([
|
|
4627
4627
|
UntilDestroy({ checkProperties: true })
|
|
@@ -4788,13 +4788,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImpor
|
|
|
4788
4788
|
type: Input
|
|
4789
4789
|
}], headerCustomFilterTemplate: [{
|
|
4790
4790
|
type: ContentChild,
|
|
4791
|
-
args: [
|
|
4791
|
+
args: [PTableCustomFilterDirective, {
|
|
4792
4792
|
read: TemplateRef,
|
|
4793
4793
|
static: true,
|
|
4794
4794
|
}]
|
|
4795
4795
|
}], headerCustomActionsTemplate: [{
|
|
4796
4796
|
type: ContentChild,
|
|
4797
|
-
args: [
|
|
4797
|
+
args: [PTableCustomActionsDirective, {
|
|
4798
4798
|
read: TemplateRef,
|
|
4799
4799
|
static: true,
|
|
4800
4800
|
}]
|
|
@@ -4806,7 +4806,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImpor
|
|
|
4806
4806
|
args: [TableExtraHeaderComponent]
|
|
4807
4807
|
}], filterModalTemplate: [{
|
|
4808
4808
|
type: ContentChild,
|
|
4809
|
-
args: [
|
|
4809
|
+
args: [PTableFilterModalDirective, {
|
|
4810
4810
|
read: TemplateRef,
|
|
4811
4811
|
static: true,
|
|
4812
4812
|
}]
|
|
@@ -4815,7 +4815,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImpor
|
|
|
4815
4815
|
args: [TableRowActionComponent]
|
|
4816
4816
|
}], customRows: [{
|
|
4817
4817
|
type: ContentChildren,
|
|
4818
|
-
args: [
|
|
4818
|
+
args: [PTableCustomRowDirective]
|
|
4819
4819
|
}], filterModalHeaderText: [{
|
|
4820
4820
|
type: Input
|
|
4821
4821
|
}], filterModalSaveText: [{
|
|
@@ -4859,7 +4859,7 @@ const TABLE_COMPONENTS = [
|
|
|
4859
4859
|
class TableModule {
|
|
4860
4860
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: TableModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4861
4861
|
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.1.0", ngImport: i0, type: TableModule, imports: [CommonModule,
|
|
4862
|
-
RouterModule, TableComponent, TableCellComponent, TableColumnComponent, TableRowActionComponent, TableExtraHeaderComponent,
|
|
4862
|
+
RouterModule, TableComponent, TableCellComponent, TableColumnComponent, TableRowActionComponent, TableExtraHeaderComponent, PTableFooterDirective, PTableHeaderDirective, PTableDirective, PTableNgxDirective, PTableFilterModalDirective, PTableCustomFilterDirective, PTableCustomActionsDirective, PTableCustomRowDirective], exports: [TableComponent, TableCellComponent, TableColumnComponent, TableRowActionComponent, TableExtraHeaderComponent, PTableFooterDirective, PTableHeaderDirective, PTableDirective, PTableNgxDirective, PTableFilterModalDirective, PTableCustomFilterDirective, PTableCustomActionsDirective, PTableCustomRowDirective] });
|
|
4863
4863
|
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: TableModule, imports: [CommonModule,
|
|
4864
4864
|
RouterModule] });
|
|
4865
4865
|
}
|
|
@@ -4876,7 +4876,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImpor
|
|
|
4876
4876
|
}]
|
|
4877
4877
|
}] });
|
|
4878
4878
|
|
|
4879
|
-
class
|
|
4879
|
+
class PToastDirective {
|
|
4880
4880
|
delay = 5000;
|
|
4881
4881
|
identifier;
|
|
4882
4882
|
dismissOnAction = true;
|
|
@@ -4901,10 +4901,10 @@ class ToastDirective {
|
|
|
4901
4901
|
doDismiss() {
|
|
4902
4902
|
this.dismiss.next(this.identifier);
|
|
4903
4903
|
}
|
|
4904
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type:
|
|
4905
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.1.0", type:
|
|
4904
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: PToastDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
4905
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.1.0", type: PToastDirective, isStandalone: true, selector: "p-toast", inputs: { delay: "delay", identifier: "identifier", dismissOnAction: "dismissOnAction", actionFunc: "actionFunc", actionData: "actionData" }, outputs: { dismiss: "dismiss" }, host: { listeners: { "action": "onAction()" } }, ngImport: i0 });
|
|
4906
4906
|
}
|
|
4907
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type:
|
|
4907
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: PToastDirective, decorators: [{
|
|
4908
4908
|
type: Directive,
|
|
4909
4909
|
args: [{
|
|
4910
4910
|
selector: 'p-toast',
|
|
@@ -4927,16 +4927,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImpor
|
|
|
4927
4927
|
type: Output
|
|
4928
4928
|
}] } });
|
|
4929
4929
|
|
|
4930
|
-
var
|
|
4931
|
-
(function (
|
|
4932
|
-
|
|
4933
|
-
|
|
4934
|
-
|
|
4935
|
-
|
|
4936
|
-
|
|
4937
|
-
|
|
4938
|
-
|
|
4939
|
-
})(
|
|
4930
|
+
var PToastVariants;
|
|
4931
|
+
(function (PToastVariants) {
|
|
4932
|
+
PToastVariants["Success"] = "positive";
|
|
4933
|
+
PToastVariants["Warning"] = "biased";
|
|
4934
|
+
PToastVariants["Error"] = "negative";
|
|
4935
|
+
PToastVariants["Neutral"] = "neutral";
|
|
4936
|
+
PToastVariants["Positive"] = "positive";
|
|
4937
|
+
PToastVariants["Biased"] = "biased";
|
|
4938
|
+
PToastVariants["Negative"] = "negative";
|
|
4939
|
+
})(PToastVariants || (PToastVariants = {}));
|
|
4940
4940
|
|
|
4941
4941
|
class ToastService {
|
|
4942
4942
|
_toasts = [];
|
|
@@ -4949,7 +4949,7 @@ class ToastService {
|
|
|
4949
4949
|
variant: 'negative',
|
|
4950
4950
|
},
|
|
4951
4951
|
};
|
|
4952
|
-
show(header, content, variant =
|
|
4952
|
+
show(header, content, variant = PToastVariants.Success, options = {}) {
|
|
4953
4953
|
options = {
|
|
4954
4954
|
...this.defaultOptions,
|
|
4955
4955
|
...options,
|
|
@@ -4998,7 +4998,7 @@ let ToastContainerComponent = class ToastContainerComponent {
|
|
|
4998
4998
|
this._toastService.hide(identifier);
|
|
4999
4999
|
}
|
|
5000
5000
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: ToastContainerComponent, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
5001
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.1.0", type: ToastContainerComponent, isStandalone: true, selector: "p-toast-container", inputs: { placement: "placement" }, ngImport: i0, template: "@for (toast of toasts$ | async; track toast; let index = $index) {\n\t<p-toast\n\t\tanimate.enter=\"animate-in fade-in slide-in-from-top\"\n\t\tanimate.leave=\"animate-out fade-out\"\n\t\t[actionData]=\"toast.options.actionData\"\n\t\t[actionFunc]=\"toast.options.action\"\n\t\t[actionIcon]=\"toast.options.icon?.variant\"\n\t\t[actionIconFlip]=\"toast.options.icon?.flip\"\n\t\t[actionIconRotate]=\"toast.options.icon?.rotate\"\n\t\t[content]=\"toast.content\"\n\t\t[delay]=\"toast.options.delay ?? 5000\"\n\t\t[dismissOnAction]=\"toast.options.dismissOnAction ?? true\"\n\t\t[enableAction]=\"toast.options.enableAction\"\n\t\t[header]=\"toast.header\"\n\t\t[identifier]=\"toast.identifier\"\n\t\t[variant]=\"toast.variant\"\n\t\t(dismiss)=\"dismiss($event)\"\n\t/>\n}\n", dependencies: [{ kind: "component", type: PToast, selector: "p-toast", inputs: ["actionIcon", "actionIconFlip", "actionIconRotate", "content", "enableAction", "header", "variant"] }, { kind: "directive", type:
|
|
5001
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.1.0", type: ToastContainerComponent, isStandalone: true, selector: "p-toast-container", inputs: { placement: "placement" }, ngImport: i0, template: "@for (toast of toasts$ | async; track toast; let index = $index) {\n\t<p-toast\n\t\tanimate.enter=\"animate-in fade-in slide-in-from-top\"\n\t\tanimate.leave=\"animate-out fade-out\"\n\t\t[actionData]=\"toast.options.actionData\"\n\t\t[actionFunc]=\"toast.options.action\"\n\t\t[actionIcon]=\"toast.options.icon?.variant\"\n\t\t[actionIconFlip]=\"toast.options.icon?.flip\"\n\t\t[actionIconRotate]=\"toast.options.icon?.rotate\"\n\t\t[content]=\"toast.content\"\n\t\t[delay]=\"toast.options.delay ?? 5000\"\n\t\t[dismissOnAction]=\"toast.options.dismissOnAction ?? true\"\n\t\t[enableAction]=\"toast.options.enableAction\"\n\t\t[header]=\"toast.header\"\n\t\t[identifier]=\"toast.identifier\"\n\t\t[variant]=\"toast.variant\"\n\t\t(dismiss)=\"dismiss($event)\"\n\t/>\n}\n", dependencies: [{ kind: "component", type: PToast, selector: "p-toast", inputs: ["actionIcon", "actionIconFlip", "actionIconRotate", "content", "enableAction", "header", "variant"] }, { kind: "directive", type: PToastDirective, selector: "p-toast", inputs: ["delay", "identifier", "dismissOnAction", "actionFunc", "actionData"], outputs: ["dismiss"] }, { kind: "pipe", type: AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
5002
5002
|
};
|
|
5003
5003
|
ToastContainerComponent = __decorate([
|
|
5004
5004
|
ProxyCmp({
|
|
@@ -5008,16 +5008,16 @@ ToastContainerComponent = __decorate([
|
|
|
5008
5008
|
], ToastContainerComponent);
|
|
5009
5009
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: ToastContainerComponent, decorators: [{
|
|
5010
5010
|
type: Component,
|
|
5011
|
-
args: [{ selector: 'p-toast-container', changeDetection: ChangeDetectionStrategy.OnPush, inputs: ['placement'], standalone: true, imports: [PToast,
|
|
5011
|
+
args: [{ selector: 'p-toast-container', changeDetection: ChangeDetectionStrategy.OnPush, inputs: ['placement'], standalone: true, imports: [PToast, PToastDirective, AsyncPipe], template: "@for (toast of toasts$ | async; track toast; let index = $index) {\n\t<p-toast\n\t\tanimate.enter=\"animate-in fade-in slide-in-from-top\"\n\t\tanimate.leave=\"animate-out fade-out\"\n\t\t[actionData]=\"toast.options.actionData\"\n\t\t[actionFunc]=\"toast.options.action\"\n\t\t[actionIcon]=\"toast.options.icon?.variant\"\n\t\t[actionIconFlip]=\"toast.options.icon?.flip\"\n\t\t[actionIconRotate]=\"toast.options.icon?.rotate\"\n\t\t[content]=\"toast.content\"\n\t\t[delay]=\"toast.options.delay ?? 5000\"\n\t\t[dismissOnAction]=\"toast.options.dismissOnAction ?? true\"\n\t\t[enableAction]=\"toast.options.enableAction\"\n\t\t[header]=\"toast.header\"\n\t\t[identifier]=\"toast.identifier\"\n\t\t[variant]=\"toast.variant\"\n\t\t(dismiss)=\"dismiss($event)\"\n\t/>\n}\n" }]
|
|
5012
5012
|
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
5013
5013
|
|
|
5014
5014
|
const TOAST_COMPONENTS = [ToastContainerComponent];
|
|
5015
5015
|
|
|
5016
|
-
const TOAST_DIRECTIVES = [
|
|
5016
|
+
const TOAST_DIRECTIVES = [PToastDirective];
|
|
5017
5017
|
|
|
5018
5018
|
class ToastModule {
|
|
5019
5019
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: ToastModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
5020
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.1.0", ngImport: i0, type: ToastModule, imports: [ToastContainerComponent,
|
|
5020
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.1.0", ngImport: i0, type: ToastModule, imports: [ToastContainerComponent, PToastDirective], exports: [ToastContainerComponent, PToastDirective] });
|
|
5021
5021
|
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: ToastModule, providers: [ToastService] });
|
|
5022
5022
|
}
|
|
5023
5023
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: ToastModule, decorators: [{
|
|
@@ -5219,7 +5219,7 @@ const DIRECTIVES = [
|
|
|
5219
5219
|
const NGX_PIPES = [DatePipe, CurrencyPipe];
|
|
5220
5220
|
class PaperlessModule {
|
|
5221
5221
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: PaperlessModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
5222
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.1.0", ngImport: i0, type: PaperlessModule, imports: [PAccordion, PAttachment, PAvatar, PAvatarGroup, PBackdrop, PBadge, PButton, PButtonGroup, PCalendar, PCardBody, PCardContainer, PCardHeader, PCheckbox, PContentSlider, PCropper, PDatepicker, PDivider, PDrawer, PDrawerBody, PDrawerContainer, PDrawerHeader, PDropdown, PDropdownMenuContainer, PDropdownMenuItem, PEmptyState, PField, PFieldContainer, PFloatingMenuContainer, PFloatingMenuItem, PHelper, PIbanIcon, PIcon, PIllustration, PInfoPanel, PLabel, PLayout, PListing, PListingItem, PListingLine, PLoader, PModal, PModalBody, PModalContainer, PModalFooter, PModalHeader, PNavbar, PNavigationItem, PNavigationSection, PNavigationTitle, PPagination, PPaginationPages, PPaginationPagesItem, PPaginationSize, PProfile, PRadio, PRange, PSegmentContainer, PSegmentItem, PSelect, PSmile, PStepper, PStepperItem, PStepperLine, PTabContainer, PTabItem, PTableContainer, PTableFooter, PTableHeader, PTableRow, PTableRowActionsContainer, PToast, PToggle, PTooltip,
|
|
5222
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.1.0", ngImport: i0, type: PaperlessModule, imports: [PAccordion, PAttachment, PAvatar, PAvatarGroup, PBackdrop, PBadge, PButton, PButtonGroup, PCalendar, PCardBody, PCardContainer, PCardHeader, PCheckbox, PContentSlider, PCropper, PDatepicker, PDivider, PDrawer, PDrawerBody, PDrawerContainer, PDrawerHeader, PDropdown, PDropdownMenuContainer, PDropdownMenuItem, PEmptyState, PField, PFieldContainer, PFloatingMenuContainer, PFloatingMenuItem, PHelper, PIbanIcon, PIcon, PIllustration, PInfoPanel, PLabel, PLayout, PListing, PListingItem, PListingLine, PLoader, PModal, PModalBody, PModalContainer, PModalFooter, PModalHeader, PNavbar, PNavigationItem, PNavigationSection, PNavigationTitle, PPagination, PPaginationPages, PPaginationPagesItem, PPaginationSize, PProfile, PRadio, PRange, PSegmentContainer, PSegmentItem, PSelect, PSmile, PStepper, PStepperItem, PStepperLine, PTabContainer, PTabItem, PTableContainer, PTableFooter, PTableHeader, PTableRow, PTableRowActionsContainer, PToast, PToggle, PTooltip, PPaginationSizeDirective, PPaginationPagesDirective, PSelectDirective, PDatepickerDirective, PCropperDirective, PFieldDirective, PFieldNumberDirective, PRadioDirective, PCheckboxDirective, PToggleDirective, TableModule, ToastModule, OverlayModule, CustomCurrencyPipe, CustomDatePipe, SafePipe, SelectAutocompletePipe, SelectSelectAllPipe], exports: [TableModule, ToastModule, OverlayModule, PPaginationSizeDirective, PPaginationPagesDirective, PSelectDirective, PDatepickerDirective, PCropperDirective, PFieldDirective, PFieldNumberDirective, PRadioDirective, PCheckboxDirective, PToggleDirective, PAccordion, PAttachment, PAvatar, PAvatarGroup, PBackdrop, PBadge, PButton, PButtonGroup, PCalendar, PCardBody, PCardContainer, PCardHeader, PCheckbox, PContentSlider, PCropper, PDatepicker, PDivider, PDrawer, PDrawerBody, PDrawerContainer, PDrawerHeader, PDropdown, PDropdownMenuContainer, PDropdownMenuItem, PEmptyState, PField, PFieldContainer, PFloatingMenuContainer, PFloatingMenuItem, PHelper, PIbanIcon, PIcon, PIllustration, PInfoPanel, PLabel, PLayout, PListing, PListingItem, PListingLine, PLoader, PModal, PModalBody, PModalContainer, PModalFooter, PModalHeader, PNavbar, PNavigationItem, PNavigationSection, PNavigationTitle, PPagination, PPaginationPages, PPaginationPagesItem, PPaginationSize, PProfile, PRadio, PRange, PSegmentContainer, PSegmentItem, PSelect, PSmile, PStepper, PStepperItem, PStepperLine, PTabContainer, PTabItem, PTableContainer, PTableFooter, PTableHeader, PTableRow, PTableRowActionsContainer, PToast, PToggle, PTooltip, CustomCurrencyPipe, CustomDatePipe, SafePipe, SelectAutocompletePipe, SelectSelectAllPipe] });
|
|
5223
5223
|
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: PaperlessModule, providers: [...NGX_PIPES, ...PIPES], imports: [MODULES, TableModule, ToastModule, OverlayModule] });
|
|
5224
5224
|
}
|
|
5225
5225
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: PaperlessModule, decorators: [{
|
|
@@ -5239,5 +5239,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImpor
|
|
|
5239
5239
|
* Generated bundle index. Do not edit.
|
|
5240
5240
|
*/
|
|
5241
5241
|
|
|
5242
|
-
export { BaseFormComponent, BaseTableComponent, BaseUploadComponent, BaseValueAccessor,
|
|
5242
|
+
export { BaseFormComponent, BaseTableComponent, BaseUploadComponent, BaseValueAccessor, CustomCurrencyPipe, CustomDatePipe, DIRECTIVES$1 as DIRECTIVES, MODULES, OverlayModule, OverlayRef, OverlayService, PAccordion, PAttachment, PAvatar, PAvatarGroup, PBackdrop, PBadge, PButton, PButtonGroup, PCalendar, PCardBody, PCardContainer, PCardHeader, PCheckbox, PCheckboxDirective, PContentSlider, PCropper, PCropperDirective, PDatepicker, PDatepickerDirective, PDivider, PDrawer, PDrawerBody, PDrawerContainer, PDrawerHeader, PDropdown, PDropdownMenuContainer, PDropdownMenuItem, PEmptyState, PField, PFieldContainer, PFieldDirective, PFieldNumberDirective, PFloatingMenuContainer, PFloatingMenuItem, PHelper, PIPES, PIbanIcon, PIcon, PIllustration, PInfoPanel, PLabel, PLayout, PListing, PListingItem, PListingLine, PLoader, PModal, PModalBody, PModalContainer, PModalFooter, PModalHeader, PNavbar, PNavigationItem, PNavigationSection, PNavigationTitle, PPagination, PPaginationPages, PPaginationPagesDirective, PPaginationPagesItem, PPaginationSize, PPaginationSizeDirective, PProfile, PRadio, PRadioDirective, PRange, PSegmentContainer, PSegmentItem, PSelect, PSelectDirective, PSmile, PStepper, PStepperItem, PStepperLine, PTabContainer, PTabItem, PTableContainer, PTableCustomActionsDirective, PTableCustomFilterDirective, PTableCustomRowDirective, PTableDirective, PTableFilterModalDirective, PTableFooter, PTableFooterDirective, PTableHeader, PTableHeaderDirective, PTableNgxDirective, PTableRow, PTableRowActionsContainer, PToast, PToastDirective, PToastVariants, PToggle, PToggleDirective, PTooltip, PaperlessModule, SafePipe, SelectAutocompletePipe, SelectSelectAllPipe, TABLE_COMPONENTS, TABLE_DIRECTIVES, TOAST_COMPONENTS, TOAST_DIRECTIVES, TableCellComponent, TableColumnComponent, TableComponent, TableExtraHeaderComponent, TableModule, TableRowActionComponent, ToastContainerComponent, ToastModule, ToastService, createFormFilters };
|
|
5243
5243
|
//# sourceMappingURL=paperless-angular.mjs.map
|