@paperless/angular 2.22.0-alpha.37 → 2.22.0-alpha.39

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, forwardRef, Self, Injector, Injectable, NgModule, HostBinding, TemplateRef, ContentChild, Host, ElementRef, ContentChildren, ViewChildren, inject, Pipe } from '@angular/core';
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 CheckboxDirective extends BaseValueAccessor {
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: CheckboxDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
312
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.1.0", type: CheckboxDirective, isStandalone: true, selector: "p-checkbox", host: { listeners: { "checkedChange": "handleChangeEvent($event.detail)" } }, providers: [
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: forwardRef(() => CheckboxDirective),
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: CheckboxDirective, decorators: [{
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: forwardRef(() => CheckboxDirective),
330
+ useExisting: PCheckboxDirective,
331
331
  multi: true,
332
332
  },
333
333
  ],
334
334
  }]
335
335
  }] });
336
336
 
337
- class CropperDirective extends BaseValueAccessor {
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: CropperDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
343
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.1.0", type: CropperDirective, isStandalone: true, selector: "p-cropper", host: { listeners: { "valueChange": "handleChangeEvent($event.detail)" } }, providers: [
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: forwardRef(() => CropperDirective),
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: CropperDirective, decorators: [{
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: forwardRef(() => CropperDirective),
361
+ useExisting: PCropperDirective,
362
362
  multi: true,
363
363
  },
364
364
  ],
365
365
  }]
366
366
  }] });
367
367
 
368
- class DatepickerDirective extends BaseValueAccessor {
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: DatepickerDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
374
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.1.0", type: DatepickerDirective, isStandalone: true, selector: "p-datepicker", host: { listeners: { "valueChange": "handleChangeEvent($event.detail)" } }, providers: [
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: forwardRef(() => DatepickerDirective),
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: DatepickerDirective, decorators: [{
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: forwardRef(() => DatepickerDirective),
392
+ useExisting: PDatepickerDirective,
393
393
  multi: true,
394
394
  },
395
395
  ],
396
396
  }]
397
397
  }] });
398
398
 
399
- class FieldDirective extends BaseValueAccessor {
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: FieldDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
405
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.1.0", type: FieldDirective, isStandalone: true, selector: "p-field:not([type=number])", host: { listeners: { "valueChange": "handleChangeEvent($event.detail)" } }, providers: [
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: forwardRef(() => FieldDirective),
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: FieldDirective, decorators: [{
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: forwardRef(() => FieldDirective),
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 FieldNumberDirective extends BaseNumberValueAccessor {
467
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: FieldNumberDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
468
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.1.0", type: FieldNumberDirective, isStandalone: true, selector: "p-field[type=number]", host: { listeners: { "valueChange": "handleChangeEvent($event.detail)" } }, providers: [
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: forwardRef(() => FieldNumberDirective),
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: FieldNumberDirective, decorators: [{
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: forwardRef(() => FieldNumberDirective),
486
+ useExisting: PFieldNumberDirective,
487
487
  multi: true,
488
488
  },
489
489
  ],
490
490
  }]
491
491
  }] });
492
492
 
493
- class PaginationPagesDirective extends BaseValueAccessor {
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: PaginationPagesDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
501
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.1.0", type: PaginationPagesDirective, isStandalone: true, selector: "p-pagination-pages", host: { listeners: { "pageChange": "handleChangeEvent($event.detail)" } }, providers: [
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: forwardRef(() => PaginationPagesDirective),
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: PaginationPagesDirective, decorators: [{
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: forwardRef(() => PaginationPagesDirective),
519
+ useExisting: PPaginationPagesDirective,
520
520
  multi: true,
521
521
  },
522
522
  ],
523
523
  }]
524
524
  }] });
525
525
 
526
- class PaginationSizeDirective extends BaseValueAccessor {
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: PaginationSizeDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
534
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.1.0", type: PaginationSizeDirective, isStandalone: true, selector: "p-pagination-size", host: { listeners: { "sizeChange": "handleChangeEvent($event.detail)" } }, providers: [
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: forwardRef(() => PaginationSizeDirective),
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: PaginationSizeDirective, decorators: [{
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: forwardRef(() => PaginationSizeDirective),
552
+ useExisting: PPaginationSizeDirective,
553
553
  multi: true,
554
554
  },
555
555
  ],
556
556
  }]
557
557
  }] });
558
558
 
559
- class RadioDirective extends BaseValueAccessor {
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: RadioDirective, 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: RadioDirective, isStandalone: true, selector: "p-radio", host: { listeners: { "checkedChange": "handleChangeEvent()" } }, usesInheritance: true, ngImport: i0 });
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: RadioDirective, decorators: [{
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 SelectDirective extends BaseValueAccessor {
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: SelectDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
618
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.1.0", type: SelectDirective, isStandalone: true, selector: "p-select", host: { listeners: { "valueChange": "handleChangeEvent($event.detail)" } }, providers: [
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: forwardRef(() => SelectDirective),
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: SelectDirective, decorators: [{
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: forwardRef(() => SelectDirective),
636
+ useExisting: PSelectDirective,
637
637
  multi: true,
638
638
  },
639
639
  ],
640
640
  }]
641
641
  }] });
642
642
 
643
- class ToggleDirective extends BaseValueAccessor {
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: ToggleDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
649
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.1.0", type: ToggleDirective, isStandalone: true, selector: "p-toggle", host: { listeners: { "checkedChange": "handleChangeEvent($event.detail)" } }, providers: [
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: forwardRef(() => ToggleDirective),
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: ToggleDirective, decorators: [{
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: forwardRef(() => ToggleDirective),
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
- PaginationSizeDirective,
676
- PaginationPagesDirective,
677
- SelectDirective,
678
- DatepickerDirective,
679
- CropperDirective,
680
- FieldDirective,
681
- FieldNumberDirective,
682
- RadioDirective,
683
- CheckboxDirective,
684
- ToggleDirective,
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 {
@@ -743,6 +743,7 @@ class OverlayService {
743
743
  .centerVertically();
744
744
  const overlayConfig = new OverlayConfig({
745
745
  hasBackdrop: false,
746
+ usePopover: false,
746
747
  scrollStrategy: this.overlay.scrollStrategies.block(),
747
748
  positionStrategy,
748
749
  });
@@ -3341,29 +3342,29 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImpor
3341
3342
  }]
3342
3343
  }] } });
3343
3344
 
3344
- class TableCustomFilterDirective {
3345
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: TableCustomFilterDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
3346
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.1.0", type: TableCustomFilterDirective, isStandalone: true, selector: "[p-table-custom-filter]", ngImport: i0 });
3345
+ class PTableCustomFilterDirective {
3346
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: PTableCustomFilterDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
3347
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.1.0", type: PTableCustomFilterDirective, isStandalone: true, selector: "[p-table-custom-filter]", ngImport: i0 });
3347
3348
  }
3348
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: TableCustomFilterDirective, decorators: [{
3349
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: PTableCustomFilterDirective, decorators: [{
3349
3350
  type: Directive,
3350
3351
  args: [{
3351
3352
  selector: '[p-table-custom-filter]',
3352
3353
  }]
3353
3354
  }] });
3354
3355
 
3355
- class TableFilterModalDirective {
3356
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: TableFilterModalDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
3357
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.1.0", type: TableFilterModalDirective, isStandalone: true, selector: "[p-table-filter-modal]", ngImport: i0 });
3356
+ class PTableFilterModalDirective {
3357
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: PTableFilterModalDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
3358
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.1.0", type: PTableFilterModalDirective, isStandalone: true, selector: "[p-table-filter-modal]", ngImport: i0 });
3358
3359
  }
3359
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: TableFilterModalDirective, decorators: [{
3360
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: PTableFilterModalDirective, decorators: [{
3360
3361
  type: Directive,
3361
3362
  args: [{
3362
3363
  selector: '[p-table-filter-modal]',
3363
3364
  }]
3364
3365
  }] });
3365
3366
 
3366
- class TableFooterDirective extends BaseValueAccessor {
3367
+ class PTableFooterDirective extends BaseValueAccessor {
3367
3368
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
3368
3369
  lastValue = {
3369
3370
  page: 1,
@@ -3382,16 +3383,16 @@ class TableFooterDirective extends BaseValueAccessor {
3382
3383
  [type]: value,
3383
3384
  });
3384
3385
  }
3385
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: TableFooterDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
3386
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.1.0", type: TableFooterDirective, isStandalone: true, selector: "p-table-footer", host: { listeners: { "pageChange": "handleChange($event.detail, \"page\")", "pageSizeChange": "handleChange($event.detail, \"pageSize\")" } }, providers: [
3386
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: PTableFooterDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
3387
+ 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
3388
  {
3388
3389
  provide: NG_VALUE_ACCESSOR,
3389
- useExisting: forwardRef(() => TableFooterDirective),
3390
+ useExisting: PTableFooterDirective,
3390
3391
  multi: true,
3391
3392
  },
3392
3393
  ], usesInheritance: true, ngImport: i0 });
3393
3394
  }
3394
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: TableFooterDirective, decorators: [{
3395
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: PTableFooterDirective, decorators: [{
3395
3396
  type: Directive,
3396
3397
  args: [{
3397
3398
  selector: 'p-table-footer',
@@ -3402,14 +3403,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImpor
3402
3403
  providers: [
3403
3404
  {
3404
3405
  provide: NG_VALUE_ACCESSOR,
3405
- useExisting: forwardRef(() => TableFooterDirective),
3406
+ useExisting: PTableFooterDirective,
3406
3407
  multi: true,
3407
3408
  },
3408
3409
  ],
3409
3410
  }]
3410
3411
  }] });
3411
3412
 
3412
- class TableHeaderDirective extends BaseValueAccessor {
3413
+ class PTableHeaderDirective extends BaseValueAccessor {
3413
3414
  lastValue = {
3414
3415
  query: '',
3415
3416
  quickFilter: undefined,
@@ -3433,16 +3434,16 @@ class TableHeaderDirective extends BaseValueAccessor {
3433
3434
  _setActiveQuickFilter(quickFilter) {
3434
3435
  this.el.nativeElement.activeQuickFilterIdentifier = quickFilter?.identifier;
3435
3436
  }
3436
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: TableHeaderDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
3437
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.1.0", type: TableHeaderDirective, isStandalone: true, selector: "p-table-header", host: { listeners: { "queryChange": "handleChange($event.detail, \"query\")", "quickFilter": "handleChange($event.detail, \"quickFilter\")" } }, providers: [
3437
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: PTableHeaderDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
3438
+ 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
3439
  {
3439
3440
  provide: NG_VALUE_ACCESSOR,
3440
- useExisting: forwardRef(() => TableHeaderDirective),
3441
+ useExisting: PTableHeaderDirective,
3441
3442
  multi: true,
3442
3443
  },
3443
3444
  ], usesInheritance: true, ngImport: i0 });
3444
3445
  }
3445
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: TableHeaderDirective, decorators: [{
3446
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: PTableHeaderDirective, decorators: [{
3446
3447
  type: Directive,
3447
3448
  args: [{
3448
3449
  selector: 'p-table-header',
@@ -3453,7 +3454,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImpor
3453
3454
  providers: [
3454
3455
  {
3455
3456
  provide: NG_VALUE_ACCESSOR,
3456
- useExisting: forwardRef(() => TableHeaderDirective),
3457
+ useExisting: PTableHeaderDirective,
3457
3458
  multi: true,
3458
3459
  },
3459
3460
  ],
@@ -3461,7 +3462,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImpor
3461
3462
  }] });
3462
3463
 
3463
3464
  /* eslint-disable @typescript-eslint/no-explicit-any */
3464
- class TableNgxDirective extends BaseValueAccessor {
3465
+ class PTableNgxDirective extends BaseValueAccessor {
3465
3466
  _base;
3466
3467
  lastValue = {
3467
3468
  query: '',
@@ -3547,16 +3548,16 @@ class TableNgxDirective extends BaseValueAccessor {
3547
3548
  : false;
3548
3549
  }
3549
3550
  }
3550
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: TableNgxDirective, 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: TableNgxDirective, 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: [
3551
+ 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 });
3552
+ 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
3553
  {
3553
3554
  provide: NG_VALUE_ACCESSOR,
3554
- useExisting: forwardRef(() => TableNgxDirective),
3555
+ useExisting: PTableNgxDirective,
3555
3556
  multi: true,
3556
3557
  },
3557
3558
  ], usesInheritance: true, ngImport: i0 });
3558
3559
  }
3559
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: TableNgxDirective, decorators: [{
3560
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: PTableNgxDirective, decorators: [{
3560
3561
  type: Directive,
3561
3562
  args: [{
3562
3563
  selector: 'p-table-ngx',
@@ -3570,7 +3571,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImpor
3570
3571
  providers: [
3571
3572
  {
3572
3573
  provide: NG_VALUE_ACCESSOR,
3573
- useExisting: forwardRef(() => TableNgxDirective),
3574
+ useExisting: PTableNgxDirective,
3574
3575
  multi: true,
3575
3576
  },
3576
3577
  ],
@@ -3580,7 +3581,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImpor
3580
3581
  }] }] });
3581
3582
 
3582
3583
  /* eslint-disable @typescript-eslint/no-explicit-any */
3583
- class TableDirective extends BaseValueAccessor {
3584
+ class PTableDirective extends BaseValueAccessor {
3584
3585
  lastValue = {
3585
3586
  query: '',
3586
3587
  quickFilter: undefined,
@@ -3619,16 +3620,16 @@ class TableDirective extends BaseValueAccessor {
3619
3620
  _setActiveQuickFilter(quickFilter) {
3620
3621
  this.el.nativeElement.activeQuickFilterIdentifier = quickFilter?.identifier;
3621
3622
  }
3622
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: TableDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
3623
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.1.0", type: TableDirective, 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: [
3623
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: PTableDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
3624
+ 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
3625
  {
3625
3626
  provide: NG_VALUE_ACCESSOR,
3626
- useExisting: forwardRef(() => TableDirective),
3627
+ useExisting: PTableDirective,
3627
3628
  multi: true,
3628
3629
  },
3629
3630
  ], usesInheritance: true, ngImport: i0 });
3630
3631
  }
3631
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: TableDirective, decorators: [{
3632
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: PTableDirective, decorators: [{
3632
3633
  type: Directive,
3633
3634
  args: [{
3634
3635
  selector: 'p-table',
@@ -3642,35 +3643,35 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImpor
3642
3643
  providers: [
3643
3644
  {
3644
3645
  provide: NG_VALUE_ACCESSOR,
3645
- useExisting: forwardRef(() => TableDirective),
3646
+ useExisting: PTableDirective,
3646
3647
  multi: true,
3647
3648
  },
3648
3649
  ],
3649
3650
  }]
3650
3651
  }] });
3651
3652
 
3652
- class TableCustomActionsDirective {
3653
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: TableCustomActionsDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
3654
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.1.0", type: TableCustomActionsDirective, isStandalone: true, selector: "[p-table-custom-actions]", ngImport: i0 });
3653
+ class PTableCustomActionsDirective {
3654
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: PTableCustomActionsDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
3655
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.1.0", type: PTableCustomActionsDirective, isStandalone: true, selector: "[p-table-custom-actions]", ngImport: i0 });
3655
3656
  }
3656
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: TableCustomActionsDirective, decorators: [{
3657
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: PTableCustomActionsDirective, decorators: [{
3657
3658
  type: Directive,
3658
3659
  args: [{
3659
3660
  selector: '[p-table-custom-actions]',
3660
3661
  }]
3661
3662
  }] });
3662
3663
 
3663
- class TableCustomRowDirective {
3664
+ class PTableCustomRowDirective {
3664
3665
  templateRef;
3665
3666
  variant = 'default';
3666
3667
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
3667
3668
  constructor(templateRef) {
3668
3669
  this.templateRef = templateRef;
3669
3670
  }
3670
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: TableCustomRowDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
3671
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.1.0", type: TableCustomRowDirective, isStandalone: true, selector: "[p-table-custom-row]", inputs: { variant: "variant" }, ngImport: i0 });
3671
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: PTableCustomRowDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
3672
+ 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
3673
  }
3673
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: TableCustomRowDirective, decorators: [{
3674
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: PTableCustomRowDirective, decorators: [{
3674
3675
  type: Directive,
3675
3676
  args: [{
3676
3677
  selector: '[p-table-custom-row]',
@@ -3680,14 +3681,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImpor
3680
3681
  }] } });
3681
3682
 
3682
3683
  const TABLE_DIRECTIVES = [
3683
- TableFooterDirective,
3684
- TableHeaderDirective,
3685
- TableDirective,
3686
- TableNgxDirective,
3687
- TableFilterModalDirective,
3688
- TableCustomFilterDirective,
3689
- TableCustomActionsDirective,
3690
- TableCustomRowDirective,
3684
+ PTableFooterDirective,
3685
+ PTableHeaderDirective,
3686
+ PTableDirective,
3687
+ PTableNgxDirective,
3688
+ PTableFilterModalDirective,
3689
+ PTableCustomFilterDirective,
3690
+ PTableCustomActionsDirective,
3691
+ PTableCustomRowDirective,
3691
3692
  ];
3692
3693
 
3693
3694
  let TableRowActionComponent = class TableRowActionComponent {
@@ -4621,7 +4622,7 @@ let TableComponent = class TableComponent {
4621
4622
  }, 100);
4622
4623
  }
4623
4624
  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 });
4625
+ 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
4626
  };
4626
4627
  TableComponent = __decorate([
4627
4628
  UntilDestroy({ checkProperties: true })
@@ -4788,13 +4789,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImpor
4788
4789
  type: Input
4789
4790
  }], headerCustomFilterTemplate: [{
4790
4791
  type: ContentChild,
4791
- args: [TableCustomFilterDirective, {
4792
+ args: [PTableCustomFilterDirective, {
4792
4793
  read: TemplateRef,
4793
4794
  static: true,
4794
4795
  }]
4795
4796
  }], headerCustomActionsTemplate: [{
4796
4797
  type: ContentChild,
4797
- args: [TableCustomActionsDirective, {
4798
+ args: [PTableCustomActionsDirective, {
4798
4799
  read: TemplateRef,
4799
4800
  static: true,
4800
4801
  }]
@@ -4806,7 +4807,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImpor
4806
4807
  args: [TableExtraHeaderComponent]
4807
4808
  }], filterModalTemplate: [{
4808
4809
  type: ContentChild,
4809
- args: [TableFilterModalDirective, {
4810
+ args: [PTableFilterModalDirective, {
4810
4811
  read: TemplateRef,
4811
4812
  static: true,
4812
4813
  }]
@@ -4815,7 +4816,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImpor
4815
4816
  args: [TableRowActionComponent]
4816
4817
  }], customRows: [{
4817
4818
  type: ContentChildren,
4818
- args: [TableCustomRowDirective]
4819
+ args: [PTableCustomRowDirective]
4819
4820
  }], filterModalHeaderText: [{
4820
4821
  type: Input
4821
4822
  }], filterModalSaveText: [{
@@ -4859,7 +4860,7 @@ const TABLE_COMPONENTS = [
4859
4860
  class TableModule {
4860
4861
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: TableModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
4861
4862
  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, TableFooterDirective, TableHeaderDirective, TableDirective, TableNgxDirective, TableFilterModalDirective, TableCustomFilterDirective, TableCustomActionsDirective, TableCustomRowDirective], exports: [TableComponent, TableCellComponent, TableColumnComponent, TableRowActionComponent, TableExtraHeaderComponent, TableFooterDirective, TableHeaderDirective, TableDirective, TableNgxDirective, TableFilterModalDirective, TableCustomFilterDirective, TableCustomActionsDirective, TableCustomRowDirective] });
4863
+ 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
4864
  static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: TableModule, imports: [CommonModule,
4864
4865
  RouterModule] });
4865
4866
  }
@@ -4876,7 +4877,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImpor
4876
4877
  }]
4877
4878
  }] });
4878
4879
 
4879
- class ToastDirective {
4880
+ class PToastDirective {
4880
4881
  delay = 5000;
4881
4882
  identifier;
4882
4883
  dismissOnAction = true;
@@ -4901,10 +4902,10 @@ class ToastDirective {
4901
4902
  doDismiss() {
4902
4903
  this.dismiss.next(this.identifier);
4903
4904
  }
4904
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: ToastDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
4905
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.1.0", type: ToastDirective, 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 });
4905
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: PToastDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
4906
+ 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
4907
  }
4907
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: ToastDirective, decorators: [{
4908
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: PToastDirective, decorators: [{
4908
4909
  type: Directive,
4909
4910
  args: [{
4910
4911
  selector: 'p-toast',
@@ -4927,16 +4928,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImpor
4927
4928
  type: Output
4928
4929
  }] } });
4929
4930
 
4930
- var ToastVariants;
4931
- (function (ToastVariants) {
4932
- ToastVariants["Success"] = "positive";
4933
- ToastVariants["Warning"] = "biased";
4934
- ToastVariants["Error"] = "negative";
4935
- ToastVariants["Neutral"] = "neutral";
4936
- ToastVariants["Positive"] = "positive";
4937
- ToastVariants["Biased"] = "biased";
4938
- ToastVariants["Negative"] = "negative";
4939
- })(ToastVariants || (ToastVariants = {}));
4931
+ var PToastVariants;
4932
+ (function (PToastVariants) {
4933
+ PToastVariants["Success"] = "positive";
4934
+ PToastVariants["Warning"] = "biased";
4935
+ PToastVariants["Error"] = "negative";
4936
+ PToastVariants["Neutral"] = "neutral";
4937
+ PToastVariants["Positive"] = "positive";
4938
+ PToastVariants["Biased"] = "biased";
4939
+ PToastVariants["Negative"] = "negative";
4940
+ })(PToastVariants || (PToastVariants = {}));
4940
4941
 
4941
4942
  class ToastService {
4942
4943
  _toasts = [];
@@ -4949,7 +4950,7 @@ class ToastService {
4949
4950
  variant: 'negative',
4950
4951
  },
4951
4952
  };
4952
- show(header, content, variant = ToastVariants.Success, options = {}) {
4953
+ show(header, content, variant = PToastVariants.Success, options = {}) {
4953
4954
  options = {
4954
4955
  ...this.defaultOptions,
4955
4956
  ...options,
@@ -4998,7 +4999,7 @@ let ToastContainerComponent = class ToastContainerComponent {
4998
4999
  this._toastService.hide(identifier);
4999
5000
  }
5000
5001
  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: ToastDirective, selector: "p-toast", inputs: ["delay", "identifier", "dismissOnAction", "actionFunc", "actionData"], outputs: ["dismiss"] }, { kind: "pipe", type: AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
5002
+ 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
5003
  };
5003
5004
  ToastContainerComponent = __decorate([
5004
5005
  ProxyCmp({
@@ -5008,16 +5009,16 @@ ToastContainerComponent = __decorate([
5008
5009
  ], ToastContainerComponent);
5009
5010
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: ToastContainerComponent, decorators: [{
5010
5011
  type: Component,
5011
- args: [{ selector: 'p-toast-container', changeDetection: ChangeDetectionStrategy.OnPush, inputs: ['placement'], standalone: true, imports: [PToast, ToastDirective, 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
+ 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
5013
  }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.NgZone }] });
5013
5014
 
5014
5015
  const TOAST_COMPONENTS = [ToastContainerComponent];
5015
5016
 
5016
- const TOAST_DIRECTIVES = [ToastDirective];
5017
+ const TOAST_DIRECTIVES = [PToastDirective];
5017
5018
 
5018
5019
  class ToastModule {
5019
5020
  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, ToastDirective], exports: [ToastContainerComponent, ToastDirective] });
5021
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.1.0", ngImport: i0, type: ToastModule, imports: [ToastContainerComponent, PToastDirective], exports: [ToastContainerComponent, PToastDirective] });
5021
5022
  static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: ToastModule, providers: [ToastService] });
5022
5023
  }
5023
5024
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: ToastModule, decorators: [{
@@ -5219,7 +5220,7 @@ const DIRECTIVES = [
5219
5220
  const NGX_PIPES = [DatePipe, CurrencyPipe];
5220
5221
  class PaperlessModule {
5221
5222
  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, PaginationSizeDirective, PaginationPagesDirective, SelectDirective, DatepickerDirective, CropperDirective, FieldDirective, FieldNumberDirective, RadioDirective, CheckboxDirective, ToggleDirective, TableModule, ToastModule, OverlayModule, CustomCurrencyPipe, CustomDatePipe, SafePipe, SelectAutocompletePipe, SelectSelectAllPipe], exports: [TableModule, ToastModule, OverlayModule, PaginationSizeDirective, PaginationPagesDirective, SelectDirective, DatepickerDirective, CropperDirective, FieldDirective, FieldNumberDirective, RadioDirective, CheckboxDirective, ToggleDirective, 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
+ 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
5224
  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
5225
  }
5225
5226
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: PaperlessModule, decorators: [{
@@ -5239,5 +5240,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImpor
5239
5240
  * Generated bundle index. Do not edit.
5240
5241
  */
5241
5242
 
5242
- export { BaseFormComponent, BaseTableComponent, BaseUploadComponent, BaseValueAccessor, CheckboxDirective, CropperDirective, CustomCurrencyPipe, CustomDatePipe, DIRECTIVES$1 as DIRECTIVES, DatepickerDirective, FieldDirective, FieldNumberDirective, MODULES, OverlayModule, OverlayRef, OverlayService, 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, PIPES, 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, PaginationPagesDirective, PaginationSizeDirective, PaperlessModule, RadioDirective, SafePipe, SelectAutocompletePipe, SelectDirective, SelectSelectAllPipe, TABLE_COMPONENTS, TABLE_DIRECTIVES, TOAST_COMPONENTS, TOAST_DIRECTIVES, TableCellComponent, TableColumnComponent, TableComponent, TableCustomActionsDirective, TableCustomFilterDirective, TableCustomRowDirective, TableDirective, TableExtraHeaderComponent, TableFilterModalDirective, TableFooterDirective, TableHeaderDirective, TableModule, TableNgxDirective, TableRowActionComponent, ToastContainerComponent, ToastDirective, ToastModule, ToastService, ToastVariants, ToggleDirective, createFormFilters };
5243
+ 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
5244
  //# sourceMappingURL=paperless-angular.mjs.map