@paperless/angular 2.0.1-beta.10 → 2.0.1-beta.100
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/lib/directives/index.mjs +19 -7
- package/esm2020/lib/directives/p-checkbox.directive.mjs +39 -0
- package/esm2020/lib/directives/p-field.directive.mjs +38 -0
- package/esm2020/lib/directives/p-pagination-pages.directive.mjs +41 -0
- package/esm2020/lib/directives/p-pagination-size.directive.mjs +41 -0
- package/esm2020/lib/directives/p-radio.directive.mjs +60 -0
- package/esm2020/lib/directives/p-toggle.directive.mjs +38 -0
- package/esm2020/lib/modules/table/components/table/table.component.mjs +146 -80
- package/esm2020/lib/modules/table/components/table-cell/table-cell.component.mjs +4 -18
- package/esm2020/lib/modules/toast/types.mjs +4 -3
- package/esm2020/lib/paperless.module.mjs +15 -11
- package/esm2020/lib/stencil/angular-component-lib/utils.mjs +9 -1
- package/esm2020/lib/stencil/components.mjs +377 -126
- package/esm2020/lib/stencil/index.mjs +15 -5
- package/esm2020/lib/stencil.module.mjs +1 -1
- package/fesm2015/paperless-angular.mjs +739 -260
- package/fesm2015/paperless-angular.mjs.map +1 -1
- package/fesm2020/paperless-angular.mjs +734 -259
- package/fesm2020/paperless-angular.mjs.map +1 -1
- package/lib/directives/index.d.ts +9 -4
- package/lib/directives/p-checkbox.directive.d.ts +9 -0
- package/lib/directives/p-field.directive.d.ts +9 -0
- package/lib/directives/p-pagination-pages.directive.d.ts +10 -0
- package/lib/directives/{p-page-size-select.directive.d.ts → p-pagination-size.directive.d.ts} +3 -3
- package/lib/directives/p-radio.directive.d.ts +18 -0
- package/lib/directives/p-toggle.directive.d.ts +9 -0
- package/lib/modules/table/components/table/table.component.d.ts +40 -14
- package/lib/modules/table/components/table-cell/table-cell.component.d.ts +2 -6
- package/lib/modules/toast/types.d.ts +3 -2
- package/lib/paperless.module.d.ts +15 -11
- package/lib/stencil/components.d.ts +266 -115
- package/lib/stencil/index.d.ts +1 -1
- package/lib/stencil.module.d.ts +1 -1
- package/package.json +1 -1
- package/paperless.css +242 -61
- package/esm2020/lib/directives/p-page-size-select.directive.mjs +0 -41
- package/esm2020/lib/directives/p-pagination.directive.mjs +0 -41
- package/lib/directives/p-pagination.directive.d.ts +0 -10
|
@@ -1,23 +1,25 @@
|
|
|
1
1
|
import { trigger, transition, style, animate } from '@angular/animations';
|
|
2
2
|
import * as i0 from '@angular/core';
|
|
3
|
-
import { Component, EventEmitter, ChangeDetectionStrategy, Input, Output, ViewChild, Directive, HostListener, NgModule, Injector, Injectable, HostBinding, TemplateRef, ContentChild, Host, ContentChildren, Pipe } from '@angular/core';
|
|
3
|
+
import { Component, EventEmitter, ChangeDetectionStrategy, Input, Output, ViewChild, Directive, HostListener, Self, NgModule, Injector, Injectable, HostBinding, TemplateRef, ContentChild, Host, ElementRef, ViewChildren, ContentChildren, Pipe } from '@angular/core';
|
|
4
|
+
import * as i1 from '@angular/forms';
|
|
4
5
|
import { FormControl, FormGroup, FormArray, NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
5
|
-
import { BehaviorSubject, fromEvent, Subject, timer, distinctUntilChanged,
|
|
6
|
-
import * as i1$
|
|
6
|
+
import { BehaviorSubject, filter, fromEvent, Subject, timer, distinctUntilChanged, debounceTime, take, map as map$1 } from 'rxjs';
|
|
7
|
+
import * as i1$2 from '@angular/common';
|
|
7
8
|
import { CommonModule, DatePipe, CurrencyPipe } from '@angular/common';
|
|
8
9
|
import { __decorate } from 'tslib';
|
|
9
10
|
import { ObserversModule } from '@angular/cdk/observers';
|
|
10
|
-
import * as i1 from '@angular/cdk/overlay';
|
|
11
|
+
import * as i1$1 from '@angular/cdk/overlay';
|
|
11
12
|
import { OverlayModule as OverlayModule$1, OverlayConfig } from '@angular/cdk/overlay';
|
|
12
13
|
import { PlatformModule } from '@angular/cdk/platform';
|
|
13
14
|
import { PortalModule, CdkPortal, ComponentPortal } from '@angular/cdk/portal';
|
|
14
15
|
import { untilDestroyed, UntilDestroy } from '@ngneat/until-destroy';
|
|
15
|
-
import { startWith, tap, pairwise, map, filter, debounce } from 'rxjs/operators';
|
|
16
|
-
import { getTableCellColumnClasses, objectGetByPath, isMobile, tableColumSizesOptions } from '@paperless/core';
|
|
16
|
+
import { startWith, tap, pairwise, map, filter as filter$1, debounce } from 'rxjs/operators';
|
|
17
|
+
import { getTableCellColumnClasses, objectGetByPath, isMobile, floatingMenuContainerClass, cn, tableColumSizesOptions } from '@paperless/core';
|
|
18
|
+
import { PTableRow as PTableRow$1 } from 'projects/paperless/src/public-api';
|
|
17
19
|
import * as i2 from '@angular/router';
|
|
18
20
|
import { RouterModule } from '@angular/router';
|
|
19
21
|
import { v4 } from 'uuid';
|
|
20
|
-
import * as i1$
|
|
22
|
+
import * as i1$3 from '@angular/platform-browser';
|
|
21
23
|
|
|
22
24
|
const FADE_IN = trigger('pFadeIn', [
|
|
23
25
|
transition(':enter', [
|
|
@@ -253,6 +255,41 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
253
255
|
args: ['focusout']
|
|
254
256
|
}] } });
|
|
255
257
|
|
|
258
|
+
class CheckboxDirective extends BaseValueAccessor {
|
|
259
|
+
constructor(el) {
|
|
260
|
+
super(el);
|
|
261
|
+
}
|
|
262
|
+
writeValue(value) {
|
|
263
|
+
this.el.nativeElement.checked = this.lastValue =
|
|
264
|
+
value === null || value === 'indeterminate' ? false : value;
|
|
265
|
+
this.el.nativeElement.indeterminate = value === 'indeterminate';
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
CheckboxDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: CheckboxDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
269
|
+
CheckboxDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.9", type: CheckboxDirective, selector: "p-checkbox", host: { listeners: { "checkedChange": "handleChangeEvent($event.detail)" } }, providers: [
|
|
270
|
+
{
|
|
271
|
+
provide: NG_VALUE_ACCESSOR,
|
|
272
|
+
useExisting: CheckboxDirective,
|
|
273
|
+
multi: true,
|
|
274
|
+
},
|
|
275
|
+
], usesInheritance: true, ngImport: i0 });
|
|
276
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: CheckboxDirective, decorators: [{
|
|
277
|
+
type: Directive,
|
|
278
|
+
args: [{
|
|
279
|
+
selector: 'p-checkbox',
|
|
280
|
+
host: {
|
|
281
|
+
'(checkedChange)': 'handleChangeEvent($event.detail)',
|
|
282
|
+
},
|
|
283
|
+
providers: [
|
|
284
|
+
{
|
|
285
|
+
provide: NG_VALUE_ACCESSOR,
|
|
286
|
+
useExisting: CheckboxDirective,
|
|
287
|
+
multi: true,
|
|
288
|
+
},
|
|
289
|
+
],
|
|
290
|
+
}]
|
|
291
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
|
|
292
|
+
|
|
256
293
|
class CropperDirective extends BaseValueAccessor {
|
|
257
294
|
constructor(el) {
|
|
258
295
|
super(el);
|
|
@@ -320,80 +357,169 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
320
357
|
}]
|
|
321
358
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
|
|
322
359
|
|
|
323
|
-
class
|
|
360
|
+
class FieldDirective extends BaseValueAccessor {
|
|
324
361
|
constructor(el) {
|
|
325
362
|
super(el);
|
|
326
363
|
}
|
|
327
364
|
writeValue(value) {
|
|
328
|
-
this.el.nativeElement.
|
|
365
|
+
this.el.nativeElement.value = this.lastValue =
|
|
366
|
+
value === null ? JSON.parse(value) : value;
|
|
367
|
+
}
|
|
368
|
+
}
|
|
369
|
+
FieldDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FieldDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
370
|
+
FieldDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.9", type: FieldDirective, selector: "p-field", host: { listeners: { "valueChange": "handleChangeEvent($event.detail)" } }, providers: [
|
|
371
|
+
{
|
|
372
|
+
provide: NG_VALUE_ACCESSOR,
|
|
373
|
+
useExisting: FieldDirective,
|
|
374
|
+
multi: true,
|
|
375
|
+
},
|
|
376
|
+
], usesInheritance: true, ngImport: i0 });
|
|
377
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FieldDirective, decorators: [{
|
|
378
|
+
type: Directive,
|
|
379
|
+
args: [{
|
|
380
|
+
selector: 'p-field',
|
|
381
|
+
host: {
|
|
382
|
+
'(valueChange)': 'handleChangeEvent($event.detail)',
|
|
383
|
+
},
|
|
384
|
+
providers: [
|
|
385
|
+
{
|
|
386
|
+
provide: NG_VALUE_ACCESSOR,
|
|
387
|
+
useExisting: FieldDirective,
|
|
388
|
+
multi: true,
|
|
389
|
+
},
|
|
390
|
+
],
|
|
391
|
+
}]
|
|
392
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
|
|
393
|
+
|
|
394
|
+
class PaginationPagesDirective extends BaseValueAccessor {
|
|
395
|
+
constructor(el) {
|
|
396
|
+
super(el);
|
|
397
|
+
}
|
|
398
|
+
writeValue(value) {
|
|
399
|
+
this.el.nativeElement.page = this.lastValue = value == null ? 1 : value;
|
|
329
400
|
}
|
|
330
401
|
registerOnChange(fn) {
|
|
331
402
|
super.registerOnChange(value => fn(parseInt(value, 10)));
|
|
332
403
|
}
|
|
333
404
|
}
|
|
334
|
-
|
|
335
|
-
|
|
405
|
+
PaginationPagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PaginationPagesDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
406
|
+
PaginationPagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.9", type: PaginationPagesDirective, selector: "p-pagination-pages", host: { listeners: { "pageChange": "handleChangeEvent($event.detail)" } }, providers: [
|
|
336
407
|
{
|
|
337
408
|
provide: NG_VALUE_ACCESSOR,
|
|
338
|
-
useExisting:
|
|
409
|
+
useExisting: PaginationPagesDirective,
|
|
339
410
|
multi: true,
|
|
340
411
|
},
|
|
341
412
|
], usesInheritance: true, ngImport: i0 });
|
|
342
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type:
|
|
413
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PaginationPagesDirective, decorators: [{
|
|
343
414
|
type: Directive,
|
|
344
415
|
args: [{
|
|
345
416
|
/* tslint:disable-next-line:directive-selector */
|
|
346
|
-
selector: 'p-
|
|
417
|
+
selector: 'p-pagination-pages',
|
|
347
418
|
host: {
|
|
348
|
-
'(
|
|
419
|
+
'(pageChange)': 'handleChangeEvent($event.detail)',
|
|
349
420
|
},
|
|
350
421
|
providers: [
|
|
351
422
|
{
|
|
352
423
|
provide: NG_VALUE_ACCESSOR,
|
|
353
|
-
useExisting:
|
|
424
|
+
useExisting: PaginationPagesDirective,
|
|
354
425
|
multi: true,
|
|
355
426
|
},
|
|
356
427
|
],
|
|
357
428
|
}]
|
|
358
429
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
|
|
359
430
|
|
|
360
|
-
class
|
|
431
|
+
class PaginationSizeDirective extends BaseValueAccessor {
|
|
361
432
|
constructor(el) {
|
|
362
433
|
super(el);
|
|
363
434
|
}
|
|
364
435
|
writeValue(value) {
|
|
365
|
-
this.el.nativeElement.page = this.lastValue = value == null ?
|
|
436
|
+
this.el.nativeElement.page = this.lastValue = value == null ? 12 : value;
|
|
366
437
|
}
|
|
367
438
|
registerOnChange(fn) {
|
|
368
439
|
super.registerOnChange(value => fn(parseInt(value, 10)));
|
|
369
440
|
}
|
|
370
441
|
}
|
|
371
|
-
|
|
372
|
-
|
|
442
|
+
PaginationSizeDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PaginationSizeDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
443
|
+
PaginationSizeDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.9", type: PaginationSizeDirective, selector: "p-pagination-size", host: { listeners: { "sizeChange": "handleChangeEvent($event.detail)" } }, providers: [
|
|
373
444
|
{
|
|
374
445
|
provide: NG_VALUE_ACCESSOR,
|
|
375
|
-
useExisting:
|
|
446
|
+
useExisting: PaginationSizeDirective,
|
|
376
447
|
multi: true,
|
|
377
448
|
},
|
|
378
449
|
], usesInheritance: true, ngImport: i0 });
|
|
379
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type:
|
|
450
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PaginationSizeDirective, decorators: [{
|
|
380
451
|
type: Directive,
|
|
381
452
|
args: [{
|
|
382
453
|
/* tslint:disable-next-line:directive-selector */
|
|
383
|
-
selector: 'p-pagination',
|
|
454
|
+
selector: 'p-pagination-size',
|
|
384
455
|
host: {
|
|
385
|
-
'(
|
|
456
|
+
'(sizeChange)': 'handleChangeEvent($event.detail)',
|
|
386
457
|
},
|
|
387
458
|
providers: [
|
|
388
459
|
{
|
|
389
460
|
provide: NG_VALUE_ACCESSOR,
|
|
390
|
-
useExisting:
|
|
461
|
+
useExisting: PaginationSizeDirective,
|
|
391
462
|
multi: true,
|
|
392
463
|
},
|
|
393
464
|
],
|
|
394
465
|
}]
|
|
395
466
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
|
|
396
467
|
|
|
468
|
+
class RadioDirective extends BaseValueAccessor {
|
|
469
|
+
constructor(_control, el) {
|
|
470
|
+
super(el);
|
|
471
|
+
this._control = _control;
|
|
472
|
+
_control.valueAccessor = this;
|
|
473
|
+
}
|
|
474
|
+
ngOnInit() {
|
|
475
|
+
this._valueChanges = this._control
|
|
476
|
+
.control.valueChanges.pipe(filter(value => this._modelValue !== value))
|
|
477
|
+
.subscribe((value) => this.writeValue(value));
|
|
478
|
+
}
|
|
479
|
+
writeValue(value) {
|
|
480
|
+
const elValue = this._getValue();
|
|
481
|
+
this._modelValue = value;
|
|
482
|
+
this.el.nativeElement.checked =
|
|
483
|
+
this._modelValue === elValue;
|
|
484
|
+
}
|
|
485
|
+
handleChangeEvent() {
|
|
486
|
+
const elValue = this._getValue();
|
|
487
|
+
this._modelValue =
|
|
488
|
+
this._modelValue === elValue
|
|
489
|
+
? undefined
|
|
490
|
+
: elValue;
|
|
491
|
+
this.onChange(this._modelValue);
|
|
492
|
+
}
|
|
493
|
+
ngOnDestroy() {
|
|
494
|
+
if (this._valueChanges) {
|
|
495
|
+
this._valueChanges.unsubscribe();
|
|
496
|
+
}
|
|
497
|
+
}
|
|
498
|
+
_getValue() {
|
|
499
|
+
let value = this.el.nativeElement.value;
|
|
500
|
+
if (value === 'true') {
|
|
501
|
+
value = true;
|
|
502
|
+
}
|
|
503
|
+
if (value === 'false') {
|
|
504
|
+
value = false;
|
|
505
|
+
}
|
|
506
|
+
return value;
|
|
507
|
+
}
|
|
508
|
+
}
|
|
509
|
+
RadioDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: RadioDirective, deps: [{ token: i1.NgControl, self: true }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
510
|
+
RadioDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.9", type: RadioDirective, selector: "p-radio", host: { listeners: { "checkedChange": "handleChangeEvent($event.detail)" } }, usesInheritance: true, ngImport: i0 });
|
|
511
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: RadioDirective, decorators: [{
|
|
512
|
+
type: Directive,
|
|
513
|
+
args: [{
|
|
514
|
+
selector: 'p-radio',
|
|
515
|
+
host: {
|
|
516
|
+
'(checkedChange)': 'handleChangeEvent($event.detail)',
|
|
517
|
+
},
|
|
518
|
+
}]
|
|
519
|
+
}], ctorParameters: function () { return [{ type: i1.NgControl, decorators: [{
|
|
520
|
+
type: Self
|
|
521
|
+
}] }, { type: i0.ElementRef }]; } });
|
|
522
|
+
|
|
397
523
|
class SelectDirective extends BaseValueAccessor {
|
|
398
524
|
constructor(el) {
|
|
399
525
|
super(el);
|
|
@@ -427,15 +553,54 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
427
553
|
}]
|
|
428
554
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
|
|
429
555
|
|
|
556
|
+
class ToggleDirective extends BaseValueAccessor {
|
|
557
|
+
constructor(el) {
|
|
558
|
+
super(el);
|
|
559
|
+
}
|
|
560
|
+
writeValue(value) {
|
|
561
|
+
this.el.nativeElement.checked = this.lastValue =
|
|
562
|
+
value === null ? false : value;
|
|
563
|
+
}
|
|
564
|
+
}
|
|
565
|
+
ToggleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ToggleDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
566
|
+
ToggleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.9", type: ToggleDirective, selector: "p-toggle", host: { listeners: { "checkedChange": "handleChangeEvent($event.detail)" } }, providers: [
|
|
567
|
+
{
|
|
568
|
+
provide: NG_VALUE_ACCESSOR,
|
|
569
|
+
useExisting: ToggleDirective,
|
|
570
|
+
multi: true,
|
|
571
|
+
},
|
|
572
|
+
], usesInheritance: true, ngImport: i0 });
|
|
573
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ToggleDirective, decorators: [{
|
|
574
|
+
type: Directive,
|
|
575
|
+
args: [{
|
|
576
|
+
selector: 'p-toggle',
|
|
577
|
+
host: {
|
|
578
|
+
'(checkedChange)': 'handleChangeEvent($event.detail)',
|
|
579
|
+
},
|
|
580
|
+
providers: [
|
|
581
|
+
{
|
|
582
|
+
provide: NG_VALUE_ACCESSOR,
|
|
583
|
+
useExisting: ToggleDirective,
|
|
584
|
+
multi: true,
|
|
585
|
+
},
|
|
586
|
+
],
|
|
587
|
+
}]
|
|
588
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
|
|
589
|
+
|
|
430
590
|
const DIRECTIVES$1 = [
|
|
431
|
-
|
|
432
|
-
|
|
591
|
+
PaginationSizeDirective,
|
|
592
|
+
PaginationPagesDirective,
|
|
433
593
|
SelectDirective,
|
|
434
594
|
DatepickerDirective,
|
|
435
595
|
CropperDirective,
|
|
596
|
+
FieldDirective,
|
|
597
|
+
RadioDirective,
|
|
598
|
+
CheckboxDirective,
|
|
599
|
+
ToggleDirective,
|
|
436
600
|
];
|
|
437
601
|
|
|
438
602
|
/* eslint-disable */
|
|
603
|
+
/* tslint:disable */
|
|
439
604
|
const proxyInputs = (Cmp, inputs) => {
|
|
440
605
|
const Prototype = Cmp.prototype;
|
|
441
606
|
inputs.forEach((item) => {
|
|
@@ -446,6 +611,14 @@ const proxyInputs = (Cmp, inputs) => {
|
|
|
446
611
|
set(val) {
|
|
447
612
|
this.z.runOutsideAngular(() => (this.el[item] = val));
|
|
448
613
|
},
|
|
614
|
+
/**
|
|
615
|
+
* In the event that proxyInputs is called
|
|
616
|
+
* multiple times re-defining these inputs
|
|
617
|
+
* will cause an error to be thrown. As a result
|
|
618
|
+
* we set configurable: true to indicate these
|
|
619
|
+
* properties can be changed.
|
|
620
|
+
*/
|
|
621
|
+
configurable: true,
|
|
449
622
|
});
|
|
450
623
|
});
|
|
451
624
|
};
|
|
@@ -638,10 +811,10 @@ let PButton = class PButton {
|
|
|
638
811
|
}
|
|
639
812
|
};
|
|
640
813
|
PButton.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PButton, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
641
|
-
PButton.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PButton, selector: "p-button", inputs: { active: "active", as: "as", buttonGroupPosition: "buttonGroupPosition", chevron: "chevron", chevronPosition: "chevronPosition", class: "class", disabled: "disabled", href: "href", icon: "icon", iconFlip: "iconFlip", iconOnly: "iconOnly", iconPosition: "iconPosition", iconRotate: "iconRotate", inheritText: "inheritText", loading: "loading", size: "size", target: "target", type: "type", underline: "underline", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
814
|
+
PButton.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PButton, selector: "p-button", inputs: { active: "active", as: "as", buttonGroupPosition: "buttonGroupPosition", chevron: "chevron", chevronPosition: "chevronPosition", class: "class", disabled: "disabled", href: "href", icon: "icon", iconFlip: "iconFlip", iconOnly: "iconOnly", iconPosition: "iconPosition", iconRotate: "iconRotate", inheritText: "inheritText", label: "label", loading: "loading", size: "size", target: "target", type: "type", underline: "underline", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
642
815
|
PButton = __decorate([
|
|
643
816
|
ProxyCmp({
|
|
644
|
-
inputs: ['active', 'as', 'buttonGroupPosition', 'chevron', 'chevronPosition', 'class', 'disabled', 'href', 'icon', 'iconFlip', 'iconOnly', 'iconPosition', 'iconRotate', 'inheritText', 'loading', 'size', 'target', 'type', 'underline', 'variant']
|
|
817
|
+
inputs: ['active', 'as', 'buttonGroupPosition', 'chevron', 'chevronPosition', 'class', 'disabled', 'href', 'icon', 'iconFlip', 'iconOnly', 'iconPosition', 'iconRotate', 'inheritText', 'label', 'loading', 'size', 'target', 'type', 'underline', 'variant']
|
|
645
818
|
})
|
|
646
819
|
], PButton);
|
|
647
820
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PButton, decorators: [{
|
|
@@ -651,7 +824,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
651
824
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
652
825
|
template: '<ng-content></ng-content>',
|
|
653
826
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
654
|
-
inputs: ['active', 'as', 'buttonGroupPosition', 'chevron', 'chevronPosition', 'class', 'disabled', 'href', 'icon', 'iconFlip', 'iconOnly', 'iconPosition', 'iconRotate', 'inheritText', 'loading', 'size', 'target', 'type', 'underline', 'variant'],
|
|
827
|
+
inputs: ['active', 'as', 'buttonGroupPosition', 'chevron', 'chevronPosition', 'class', 'disabled', 'href', 'icon', 'iconFlip', 'iconOnly', 'iconPosition', 'iconRotate', 'inheritText', 'label', 'loading', 'size', 'target', 'type', 'underline', 'variant'],
|
|
655
828
|
}]
|
|
656
829
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
657
830
|
let PButtonGroup = class PButtonGroup {
|
|
@@ -711,11 +884,9 @@ let PCardBody = class PCardBody {
|
|
|
711
884
|
}
|
|
712
885
|
};
|
|
713
886
|
PCardBody.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PCardBody, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
714
|
-
PCardBody.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PCardBody, selector: "p-card-body",
|
|
887
|
+
PCardBody.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PCardBody, selector: "p-card-body", ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
715
888
|
PCardBody = __decorate([
|
|
716
|
-
ProxyCmp({
|
|
717
|
-
inputs: ['inheritText']
|
|
718
|
-
})
|
|
889
|
+
ProxyCmp({})
|
|
719
890
|
], PCardBody);
|
|
720
891
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PCardBody, decorators: [{
|
|
721
892
|
type: Component,
|
|
@@ -724,7 +895,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
724
895
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
725
896
|
template: '<ng-content></ng-content>',
|
|
726
897
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
727
|
-
inputs: [
|
|
898
|
+
inputs: [],
|
|
728
899
|
}]
|
|
729
900
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
730
901
|
let PCardContainer = class PCardContainer {
|
|
@@ -735,10 +906,10 @@ let PCardContainer = class PCardContainer {
|
|
|
735
906
|
}
|
|
736
907
|
};
|
|
737
908
|
PCardContainer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PCardContainer, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
738
|
-
PCardContainer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PCardContainer, selector: "p-card-container", inputs: { hoverable: "hoverable", shadow: "shadow" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
909
|
+
PCardContainer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PCardContainer, selector: "p-card-container", inputs: { active: "active", hoverable: "hoverable", shadow: "shadow" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
739
910
|
PCardContainer = __decorate([
|
|
740
911
|
ProxyCmp({
|
|
741
|
-
inputs: ['hoverable', 'shadow']
|
|
912
|
+
inputs: ['active', 'hoverable', 'shadow']
|
|
742
913
|
})
|
|
743
914
|
], PCardContainer);
|
|
744
915
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PCardContainer, decorators: [{
|
|
@@ -748,7 +919,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
748
919
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
749
920
|
template: '<ng-content></ng-content>',
|
|
750
921
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
751
|
-
inputs: ['hoverable', 'shadow'],
|
|
922
|
+
inputs: ['active', 'hoverable', 'shadow'],
|
|
752
923
|
}]
|
|
753
924
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
754
925
|
let PCardHeader = class PCardHeader {
|
|
@@ -759,10 +930,10 @@ let PCardHeader = class PCardHeader {
|
|
|
759
930
|
}
|
|
760
931
|
};
|
|
761
932
|
PCardHeader.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PCardHeader, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
762
|
-
PCardHeader.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PCardHeader, selector: "p-card-header", inputs: {
|
|
933
|
+
PCardHeader.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PCardHeader, selector: "p-card-header", inputs: { header: "header", icon: "icon", iconFlip: "iconFlip", iconRotate: "iconRotate", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
763
934
|
PCardHeader = __decorate([
|
|
764
935
|
ProxyCmp({
|
|
765
|
-
inputs: ['
|
|
936
|
+
inputs: ['header', 'icon', 'iconFlip', 'iconRotate', 'variant']
|
|
766
937
|
})
|
|
767
938
|
], PCardHeader);
|
|
768
939
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PCardHeader, decorators: [{
|
|
@@ -772,7 +943,32 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
772
943
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
773
944
|
template: '<ng-content></ng-content>',
|
|
774
945
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
775
|
-
inputs: ['
|
|
946
|
+
inputs: ['header', 'icon', 'iconFlip', 'iconRotate', 'variant'],
|
|
947
|
+
}]
|
|
948
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
949
|
+
let PCheckbox = class PCheckbox {
|
|
950
|
+
constructor(c, r, z) {
|
|
951
|
+
this.z = z;
|
|
952
|
+
c.detach();
|
|
953
|
+
this.el = r.nativeElement;
|
|
954
|
+
proxyOutputs(this, this.el, ['checkedChange', 'indeterminateChange']);
|
|
955
|
+
}
|
|
956
|
+
};
|
|
957
|
+
PCheckbox.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PCheckbox, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
958
|
+
PCheckbox.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PCheckbox, selector: "p-checkbox", inputs: { checked: "checked", disabled: "disabled", id: "id", indeterminate: "indeterminate", name: "name", required: "required" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
959
|
+
PCheckbox = __decorate([
|
|
960
|
+
ProxyCmp({
|
|
961
|
+
inputs: ['checked', 'disabled', 'id', 'indeterminate', 'name', 'required']
|
|
962
|
+
})
|
|
963
|
+
], PCheckbox);
|
|
964
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PCheckbox, decorators: [{
|
|
965
|
+
type: Component,
|
|
966
|
+
args: [{
|
|
967
|
+
selector: 'p-checkbox',
|
|
968
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
969
|
+
template: '<ng-content></ng-content>',
|
|
970
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
971
|
+
inputs: ['checked', 'disabled', 'id', 'indeterminate', 'name', 'required'],
|
|
776
972
|
}]
|
|
777
973
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
778
974
|
let PContentSlider = class PContentSlider {
|
|
@@ -857,10 +1053,10 @@ let PDatepicker = class PDatepicker {
|
|
|
857
1053
|
}
|
|
858
1054
|
};
|
|
859
1055
|
PDatepicker.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PDatepicker, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
860
|
-
PDatepicker.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PDatepicker, selector: "p-datepicker", inputs: { disableWeekends: "disableWeekends", disabled: "disabled", disabledDates: "disabledDates", error: "error", format: "format", helper: "helper", hideIconWhenFilled: "hideIconWhenFilled", label: "label", maxDate: "maxDate", minDate: "minDate", mode: "mode", placeholder: "placeholder", placement: "placement", prefix: "prefix", preselectToday: "preselectToday", required: "required", size: "size", strategy: "strategy", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1056
|
+
PDatepicker.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PDatepicker, selector: "p-datepicker", inputs: { disableWeekends: "disableWeekends", disabled: "disabled", disabledDates: "disabledDates", enableNativePicker: "enableNativePicker", error: "error", format: "format", helper: "helper", hideIconWhenFilled: "hideIconWhenFilled", label: "label", loading: "loading", maxDate: "maxDate", minDate: "minDate", mode: "mode", placeholder: "placeholder", placement: "placement", prefix: "prefix", preselectToday: "preselectToday", required: "required", size: "size", strategy: "strategy", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
861
1057
|
PDatepicker = __decorate([
|
|
862
1058
|
ProxyCmp({
|
|
863
|
-
inputs: ['disableWeekends', 'disabled', 'disabledDates', 'error', 'format', 'helper', 'hideIconWhenFilled', 'label', 'maxDate', 'minDate', 'mode', 'placeholder', 'placement', 'prefix', 'preselectToday', 'required', 'size', 'strategy', 'value']
|
|
1059
|
+
inputs: ['disableWeekends', 'disabled', 'disabledDates', 'enableNativePicker', 'error', 'format', 'helper', 'hideIconWhenFilled', 'label', 'loading', 'maxDate', 'minDate', 'mode', 'placeholder', 'placement', 'prefix', 'preselectToday', 'required', 'size', 'strategy', 'value']
|
|
864
1060
|
})
|
|
865
1061
|
], PDatepicker);
|
|
866
1062
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PDatepicker, decorators: [{
|
|
@@ -870,7 +1066,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
870
1066
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
871
1067
|
template: '<ng-content></ng-content>',
|
|
872
1068
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
873
|
-
inputs: ['disableWeekends', 'disabled', 'disabledDates', 'error', 'format', 'helper', 'hideIconWhenFilled', 'label', 'maxDate', 'minDate', 'mode', 'placeholder', 'placement', 'prefix', 'preselectToday', 'required', 'size', 'strategy', 'value'],
|
|
1069
|
+
inputs: ['disableWeekends', 'disabled', 'disabledDates', 'enableNativePicker', 'error', 'format', 'helper', 'hideIconWhenFilled', 'label', 'loading', 'maxDate', 'minDate', 'mode', 'placeholder', 'placement', 'prefix', 'preselectToday', 'required', 'size', 'strategy', 'value'],
|
|
874
1070
|
}]
|
|
875
1071
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
876
1072
|
let PDivider = class PDivider {
|
|
@@ -1004,10 +1200,10 @@ let PDropdown = class PDropdown {
|
|
|
1004
1200
|
}
|
|
1005
1201
|
};
|
|
1006
1202
|
PDropdown.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PDropdown, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1007
|
-
PDropdown.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PDropdown, selector: "p-dropdown", inputs: { allowOverflow: "allowOverflow", applyChevron: "applyChevron", applyFullWidth: "applyFullWidth", applyMaxWidth: "applyMaxWidth", calculateWidth: "calculateWidth", chevronDirection: "chevronDirection", chevronPosition: "chevronPosition", disableTriggerClick: "disableTriggerClick", insideClick: "insideClick", offset: "offset", placement: "placement", scrollable: "scrollable", show: "show", strategy: "strategy" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1203
|
+
PDropdown.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PDropdown, selector: "p-dropdown", inputs: { allowOverflow: "allowOverflow", applyChevron: "applyChevron", applyFullWidth: "applyFullWidth", applyMaxWidth: "applyMaxWidth", calculateWidth: "calculateWidth", chevronDirection: "chevronDirection", chevronPosition: "chevronPosition", disableTriggerClick: "disableTriggerClick", insideClick: "insideClick", offset: "offset", placement: "placement", scrollable: "scrollable", show: "show", strategy: "strategy", usePortal: "usePortal", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1008
1204
|
PDropdown = __decorate([
|
|
1009
1205
|
ProxyCmp({
|
|
1010
|
-
inputs: ['allowOverflow', 'applyChevron', 'applyFullWidth', 'applyMaxWidth', 'calculateWidth', 'chevronDirection', 'chevronPosition', 'disableTriggerClick', 'insideClick', 'offset', 'placement', 'scrollable', 'show', 'strategy']
|
|
1206
|
+
inputs: ['allowOverflow', 'applyChevron', 'applyFullWidth', 'applyMaxWidth', 'calculateWidth', 'chevronDirection', 'chevronPosition', 'disableTriggerClick', 'insideClick', 'offset', 'placement', 'scrollable', 'show', 'strategy', 'usePortal', 'variant']
|
|
1011
1207
|
})
|
|
1012
1208
|
], PDropdown);
|
|
1013
1209
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PDropdown, decorators: [{
|
|
@@ -1017,7 +1213,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
1017
1213
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1018
1214
|
template: '<ng-content></ng-content>',
|
|
1019
1215
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1020
|
-
inputs: ['allowOverflow', 'applyChevron', 'applyFullWidth', 'applyMaxWidth', 'calculateWidth', 'chevronDirection', 'chevronPosition', 'disableTriggerClick', 'insideClick', 'offset', 'placement', 'scrollable', 'show', 'strategy'],
|
|
1216
|
+
inputs: ['allowOverflow', 'applyChevron', 'applyFullWidth', 'applyMaxWidth', 'calculateWidth', 'chevronDirection', 'chevronPosition', 'disableTriggerClick', 'insideClick', 'offset', 'placement', 'scrollable', 'show', 'strategy', 'usePortal', 'variant'],
|
|
1021
1217
|
}]
|
|
1022
1218
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1023
1219
|
let PDropdownMenuContainer = class PDropdownMenuContainer {
|
|
@@ -1028,10 +1224,10 @@ let PDropdownMenuContainer = class PDropdownMenuContainer {
|
|
|
1028
1224
|
}
|
|
1029
1225
|
};
|
|
1030
1226
|
PDropdownMenuContainer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PDropdownMenuContainer, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1031
|
-
PDropdownMenuContainer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PDropdownMenuContainer, selector: "p-dropdown-menu-container", inputs: { allowOverflow: "allowOverflow", class: "class", fullWidth: "fullWidth", maxWidth: "maxWidth", scrollable: "scrollable" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1227
|
+
PDropdownMenuContainer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PDropdownMenuContainer, selector: "p-dropdown-menu-container", inputs: { allowOverflow: "allowOverflow", class: "class", fullWidth: "fullWidth", maxWidth: "maxWidth", scrollable: "scrollable", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1032
1228
|
PDropdownMenuContainer = __decorate([
|
|
1033
1229
|
ProxyCmp({
|
|
1034
|
-
inputs: ['allowOverflow', 'class', 'fullWidth', 'maxWidth', 'scrollable']
|
|
1230
|
+
inputs: ['allowOverflow', 'class', 'fullWidth', 'maxWidth', 'scrollable', 'variant']
|
|
1035
1231
|
})
|
|
1036
1232
|
], PDropdownMenuContainer);
|
|
1037
1233
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PDropdownMenuContainer, decorators: [{
|
|
@@ -1041,7 +1237,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
1041
1237
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1042
1238
|
template: '<ng-content></ng-content>',
|
|
1043
1239
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1044
|
-
inputs: ['allowOverflow', 'class', 'fullWidth', 'maxWidth', 'scrollable'],
|
|
1240
|
+
inputs: ['allowOverflow', 'class', 'fullWidth', 'maxWidth', 'scrollable', 'variant'],
|
|
1045
1241
|
}]
|
|
1046
1242
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1047
1243
|
let PDropdownMenuItem = class PDropdownMenuItem {
|
|
@@ -1052,10 +1248,10 @@ let PDropdownMenuItem = class PDropdownMenuItem {
|
|
|
1052
1248
|
}
|
|
1053
1249
|
};
|
|
1054
1250
|
PDropdownMenuItem.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PDropdownMenuItem, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1055
|
-
PDropdownMenuItem.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PDropdownMenuItem, selector: "p-dropdown-menu-item", inputs: { active: "active", disabled: "disabled", enableHover: "enableHover", icon: "icon", useContainer: "useContainer", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1251
|
+
PDropdownMenuItem.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PDropdownMenuItem, selector: "p-dropdown-menu-item", inputs: { active: "active", checkbox: "checkbox", disabled: "disabled", enableHover: "enableHover", icon: "icon", iconWave: "iconWave", useContainer: "useContainer", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1056
1252
|
PDropdownMenuItem = __decorate([
|
|
1057
1253
|
ProxyCmp({
|
|
1058
|
-
inputs: ['active', 'disabled', 'enableHover', 'icon', 'useContainer', 'variant']
|
|
1254
|
+
inputs: ['active', 'checkbox', 'disabled', 'enableHover', 'icon', 'iconWave', 'useContainer', 'variant']
|
|
1059
1255
|
})
|
|
1060
1256
|
], PDropdownMenuItem);
|
|
1061
1257
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PDropdownMenuItem, decorators: [{
|
|
@@ -1065,7 +1261,82 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
1065
1261
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1066
1262
|
template: '<ng-content></ng-content>',
|
|
1067
1263
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1068
|
-
inputs: ['active', 'disabled', 'enableHover', 'icon', 'useContainer', 'variant'],
|
|
1264
|
+
inputs: ['active', 'checkbox', 'disabled', 'enableHover', 'icon', 'iconWave', 'useContainer', 'variant'],
|
|
1265
|
+
}]
|
|
1266
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1267
|
+
let PEmptyState = class PEmptyState {
|
|
1268
|
+
constructor(c, r, z) {
|
|
1269
|
+
this.z = z;
|
|
1270
|
+
c.detach();
|
|
1271
|
+
this.el = r.nativeElement;
|
|
1272
|
+
proxyOutputs(this, this.el, ['action']);
|
|
1273
|
+
}
|
|
1274
|
+
};
|
|
1275
|
+
PEmptyState.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PEmptyState, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1276
|
+
PEmptyState.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PEmptyState, selector: "p-empty-state", inputs: { actionIcon: "actionIcon", actionLoading: "actionLoading", actionText: "actionText", actionVariant: "actionVariant", content: "content", enableAction: "enableAction", header: "header", illustration: "illustration" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1277
|
+
PEmptyState = __decorate([
|
|
1278
|
+
ProxyCmp({
|
|
1279
|
+
inputs: ['actionIcon', 'actionLoading', 'actionText', 'actionVariant', 'content', 'enableAction', 'header', 'illustration']
|
|
1280
|
+
})
|
|
1281
|
+
], PEmptyState);
|
|
1282
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PEmptyState, decorators: [{
|
|
1283
|
+
type: Component,
|
|
1284
|
+
args: [{
|
|
1285
|
+
selector: 'p-empty-state',
|
|
1286
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1287
|
+
template: '<ng-content></ng-content>',
|
|
1288
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1289
|
+
inputs: ['actionIcon', 'actionLoading', 'actionText', 'actionVariant', 'content', 'enableAction', 'header', 'illustration'],
|
|
1290
|
+
}]
|
|
1291
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1292
|
+
let PField = class PField {
|
|
1293
|
+
constructor(c, r, z) {
|
|
1294
|
+
this.z = z;
|
|
1295
|
+
c.detach();
|
|
1296
|
+
this.el = r.nativeElement;
|
|
1297
|
+
proxyOutputs(this, this.el, ['valueChange', 'inputRefChange']);
|
|
1298
|
+
}
|
|
1299
|
+
};
|
|
1300
|
+
PField.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PField, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1301
|
+
PField.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PField, selector: "p-field", inputs: { autofocus: "autofocus", disabled: "disabled", error: "error", errorPlacement: "errorPlacement", focusMethod: "focusMethod", focused: "focused", forceShowTooltip: "forceShowTooltip", helper: "helper", icon: "icon", iconFlip: "iconFlip", iconPosition: "iconPosition", iconRotate: "iconRotate", id: "id", label: "label", loading: "loading", optionalTemplate: "optionalTemplate", placeholder: "placeholder", prefix: "prefix", properties: "properties", required: "required", selectAllOnFocus: "selectAllOnFocus", size: "size", suffix: "suffix", type: "type", value: "value", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1302
|
+
PField = __decorate([
|
|
1303
|
+
ProxyCmp({
|
|
1304
|
+
inputs: ['autofocus', 'disabled', 'error', 'errorPlacement', 'focusMethod', 'focused', 'forceShowTooltip', 'helper', 'icon', 'iconFlip', 'iconPosition', 'iconRotate', 'id', 'label', 'loading', 'optionalTemplate', 'placeholder', 'prefix', 'properties', 'required', 'selectAllOnFocus', 'size', 'suffix', 'type', 'value', 'variant']
|
|
1305
|
+
})
|
|
1306
|
+
], PField);
|
|
1307
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PField, decorators: [{
|
|
1308
|
+
type: Component,
|
|
1309
|
+
args: [{
|
|
1310
|
+
selector: 'p-field',
|
|
1311
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1312
|
+
template: '<ng-content></ng-content>',
|
|
1313
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1314
|
+
inputs: ['autofocus', 'disabled', 'error', 'errorPlacement', 'focusMethod', 'focused', 'forceShowTooltip', 'helper', 'icon', 'iconFlip', 'iconPosition', 'iconRotate', 'id', 'label', 'loading', 'optionalTemplate', 'placeholder', 'prefix', 'properties', 'required', 'selectAllOnFocus', 'size', 'suffix', 'type', 'value', 'variant'],
|
|
1315
|
+
}]
|
|
1316
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1317
|
+
let PFieldContainer = class PFieldContainer {
|
|
1318
|
+
constructor(c, r, z) {
|
|
1319
|
+
this.z = z;
|
|
1320
|
+
c.detach();
|
|
1321
|
+
this.el = r.nativeElement;
|
|
1322
|
+
proxyOutputs(this, this.el, ['focus']);
|
|
1323
|
+
}
|
|
1324
|
+
};
|
|
1325
|
+
PFieldContainer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PFieldContainer, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1326
|
+
PFieldContainer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PFieldContainer, selector: "p-field-container", inputs: { error: "error", errorPlacement: "errorPlacement", forceShowTooltip: "forceShowTooltip", helper: "helper", id: "id", label: "label", loading: "loading", loadingSize: "loadingSize", optionalTemplate: "optionalTemplate", required: "required", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1327
|
+
PFieldContainer = __decorate([
|
|
1328
|
+
ProxyCmp({
|
|
1329
|
+
inputs: ['error', 'errorPlacement', 'forceShowTooltip', 'helper', 'id', 'label', 'loading', 'loadingSize', 'optionalTemplate', 'required', 'variant']
|
|
1330
|
+
})
|
|
1331
|
+
], PFieldContainer);
|
|
1332
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PFieldContainer, decorators: [{
|
|
1333
|
+
type: Component,
|
|
1334
|
+
args: [{
|
|
1335
|
+
selector: 'p-field-container',
|
|
1336
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1337
|
+
template: '<ng-content></ng-content>',
|
|
1338
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1339
|
+
inputs: ['error', 'errorPlacement', 'forceShowTooltip', 'helper', 'id', 'label', 'loading', 'loadingSize', 'optionalTemplate', 'required', 'variant'],
|
|
1069
1340
|
}]
|
|
1070
1341
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1071
1342
|
let PFloatingMenuContainer = class PFloatingMenuContainer {
|
|
@@ -1073,13 +1344,14 @@ let PFloatingMenuContainer = class PFloatingMenuContainer {
|
|
|
1073
1344
|
this.z = z;
|
|
1074
1345
|
c.detach();
|
|
1075
1346
|
this.el = r.nativeElement;
|
|
1347
|
+
proxyOutputs(this, this.el, ['close']);
|
|
1076
1348
|
}
|
|
1077
1349
|
};
|
|
1078
1350
|
PFloatingMenuContainer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PFloatingMenuContainer, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1079
|
-
PFloatingMenuContainer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PFloatingMenuContainer, selector: "p-floating-menu-container", inputs: { usedInTable: "usedInTable" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1351
|
+
PFloatingMenuContainer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PFloatingMenuContainer, selector: "p-floating-menu-container", inputs: { amount: "amount", amountSelectedTemplate: "amountSelectedTemplate", enableAmountSelected: "enableAmountSelected", enableClose: "enableClose", usedInTable: "usedInTable" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1080
1352
|
PFloatingMenuContainer = __decorate([
|
|
1081
1353
|
ProxyCmp({
|
|
1082
|
-
inputs: ['usedInTable']
|
|
1354
|
+
inputs: ['amount', 'amountSelectedTemplate', 'enableAmountSelected', 'enableClose', 'usedInTable']
|
|
1083
1355
|
})
|
|
1084
1356
|
], PFloatingMenuContainer);
|
|
1085
1357
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PFloatingMenuContainer, decorators: [{
|
|
@@ -1089,7 +1361,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
1089
1361
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1090
1362
|
template: '<ng-content></ng-content>',
|
|
1091
1363
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1092
|
-
inputs: ['usedInTable'],
|
|
1364
|
+
inputs: ['amount', 'amountSelectedTemplate', 'enableAmountSelected', 'enableClose', 'usedInTable'],
|
|
1093
1365
|
}]
|
|
1094
1366
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1095
1367
|
let PFloatingMenuItem = class PFloatingMenuItem {
|
|
@@ -1100,10 +1372,10 @@ let PFloatingMenuItem = class PFloatingMenuItem {
|
|
|
1100
1372
|
}
|
|
1101
1373
|
};
|
|
1102
1374
|
PFloatingMenuItem.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PFloatingMenuItem, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1103
|
-
PFloatingMenuItem.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PFloatingMenuItem, selector: "p-floating-menu-item", inputs: { disabled: "disabled", hover: "hover" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1375
|
+
PFloatingMenuItem.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PFloatingMenuItem, selector: "p-floating-menu-item", inputs: { disabled: "disabled", hover: "hover", icon: "icon", iconFlip: "iconFlip", iconPosition: "iconPosition", iconRotate: "iconRotate", loading: "loading" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1104
1376
|
PFloatingMenuItem = __decorate([
|
|
1105
1377
|
ProxyCmp({
|
|
1106
|
-
inputs: ['disabled', 'hover']
|
|
1378
|
+
inputs: ['disabled', 'hover', 'icon', 'iconFlip', 'iconPosition', 'iconRotate', 'loading']
|
|
1107
1379
|
})
|
|
1108
1380
|
], PFloatingMenuItem);
|
|
1109
1381
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PFloatingMenuItem, decorators: [{
|
|
@@ -1113,7 +1385,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
1113
1385
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1114
1386
|
template: '<ng-content></ng-content>',
|
|
1115
1387
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1116
|
-
inputs: ['disabled', 'hover'],
|
|
1388
|
+
inputs: ['disabled', 'hover', 'icon', 'iconFlip', 'iconPosition', 'iconRotate', 'loading'],
|
|
1117
1389
|
}]
|
|
1118
1390
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1119
1391
|
let PHelper = class PHelper {
|
|
@@ -1188,48 +1460,48 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
1188
1460
|
inputs: ['flip', 'rotate', 'size', 'variant'],
|
|
1189
1461
|
}]
|
|
1190
1462
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1191
|
-
let
|
|
1463
|
+
let PIllustration = class PIllustration {
|
|
1192
1464
|
constructor(c, r, z) {
|
|
1193
1465
|
this.z = z;
|
|
1194
1466
|
c.detach();
|
|
1195
1467
|
this.el = r.nativeElement;
|
|
1196
1468
|
}
|
|
1197
1469
|
};
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1470
|
+
PIllustration.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PIllustration, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1471
|
+
PIllustration.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PIllustration, selector: "p-illustration", inputs: { variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1472
|
+
PIllustration = __decorate([
|
|
1201
1473
|
ProxyCmp({
|
|
1202
|
-
inputs: ['
|
|
1474
|
+
inputs: ['variant']
|
|
1203
1475
|
})
|
|
1204
|
-
],
|
|
1205
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type:
|
|
1476
|
+
], PIllustration);
|
|
1477
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PIllustration, decorators: [{
|
|
1206
1478
|
type: Component,
|
|
1207
1479
|
args: [{
|
|
1208
|
-
selector: 'p-
|
|
1480
|
+
selector: 'p-illustration',
|
|
1209
1481
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1210
1482
|
template: '<ng-content></ng-content>',
|
|
1211
1483
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1212
|
-
inputs: ['
|
|
1484
|
+
inputs: ['variant'],
|
|
1213
1485
|
}]
|
|
1214
1486
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1215
|
-
let
|
|
1487
|
+
let PIllustrationDeprecated = class PIllustrationDeprecated {
|
|
1216
1488
|
constructor(c, r, z) {
|
|
1217
1489
|
this.z = z;
|
|
1218
1490
|
c.detach();
|
|
1219
1491
|
this.el = r.nativeElement;
|
|
1220
1492
|
}
|
|
1221
1493
|
};
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1494
|
+
PIllustrationDeprecated.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PIllustrationDeprecated, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1495
|
+
PIllustrationDeprecated.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PIllustrationDeprecated, selector: "p-illustration-deprecated", inputs: { variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1496
|
+
PIllustrationDeprecated = __decorate([
|
|
1225
1497
|
ProxyCmp({
|
|
1226
1498
|
inputs: ['variant']
|
|
1227
1499
|
})
|
|
1228
|
-
],
|
|
1229
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type:
|
|
1500
|
+
], PIllustrationDeprecated);
|
|
1501
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PIllustrationDeprecated, decorators: [{
|
|
1230
1502
|
type: Component,
|
|
1231
1503
|
args: [{
|
|
1232
|
-
selector: 'p-illustration',
|
|
1504
|
+
selector: 'p-illustration-deprecated',
|
|
1233
1505
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1234
1506
|
template: '<ng-content></ng-content>',
|
|
1235
1507
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
@@ -1317,10 +1589,10 @@ let PLabel = class PLabel {
|
|
|
1317
1589
|
}
|
|
1318
1590
|
};
|
|
1319
1591
|
PLabel.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PLabel, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1320
|
-
PLabel.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PLabel, selector: "p-label", inputs: {
|
|
1592
|
+
PLabel.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PLabel, selector: "p-label", inputs: { icon: "icon", iconFlip: "iconFlip", iconOnly: "iconOnly", iconRotate: "iconRotate", keepMobileContent: "keepMobileContent", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1321
1593
|
PLabel = __decorate([
|
|
1322
1594
|
ProxyCmp({
|
|
1323
|
-
inputs: ['
|
|
1595
|
+
inputs: ['icon', 'iconFlip', 'iconOnly', 'iconRotate', 'keepMobileContent', 'variant']
|
|
1324
1596
|
})
|
|
1325
1597
|
], PLabel);
|
|
1326
1598
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PLabel, decorators: [{
|
|
@@ -1330,7 +1602,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
1330
1602
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1331
1603
|
template: '<ng-content></ng-content>',
|
|
1332
1604
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1333
|
-
inputs: ['
|
|
1605
|
+
inputs: ['icon', 'iconFlip', 'iconOnly', 'iconRotate', 'keepMobileContent', 'variant'],
|
|
1334
1606
|
}]
|
|
1335
1607
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1336
1608
|
let PLayout = class PLayout {
|
|
@@ -1338,6 +1610,7 @@ let PLayout = class PLayout {
|
|
|
1338
1610
|
this.z = z;
|
|
1339
1611
|
c.detach();
|
|
1340
1612
|
this.el = r.nativeElement;
|
|
1613
|
+
proxyOutputs(this, this.el, ['scroll']);
|
|
1341
1614
|
}
|
|
1342
1615
|
};
|
|
1343
1616
|
PLayout.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PLayout, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
@@ -1390,10 +1663,10 @@ let PModal = class PModal {
|
|
|
1390
1663
|
}
|
|
1391
1664
|
};
|
|
1392
1665
|
PModal.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PModal, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1393
|
-
PModal.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PModal, selector: "p-modal", inputs: { applyBlur: "applyBlur", backdropClickClose: "backdropClickClose", header: "header",
|
|
1666
|
+
PModal.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PModal, selector: "p-modal", inputs: { applyBlur: "applyBlur", backdropClickClose: "backdropClickClose", header: "header", scrollLock: "scrollLock", show: "show", showClose: "showClose", showMobileFooter: "showMobileFooter", size: "size" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1394
1667
|
PModal = __decorate([
|
|
1395
1668
|
ProxyCmp({
|
|
1396
|
-
inputs: ['applyBlur', 'backdropClickClose', 'header', '
|
|
1669
|
+
inputs: ['applyBlur', 'backdropClickClose', 'header', 'scrollLock', 'show', 'showClose', 'showMobileFooter', 'size']
|
|
1397
1670
|
})
|
|
1398
1671
|
], PModal);
|
|
1399
1672
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PModal, decorators: [{
|
|
@@ -1403,7 +1676,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
1403
1676
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1404
1677
|
template: '<ng-content></ng-content>',
|
|
1405
1678
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1406
|
-
inputs: ['applyBlur', 'backdropClickClose', 'header', '
|
|
1679
|
+
inputs: ['applyBlur', 'backdropClickClose', 'header', 'scrollLock', 'show', 'showClose', 'showMobileFooter', 'size'],
|
|
1407
1680
|
}]
|
|
1408
1681
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1409
1682
|
let PModalBody = class PModalBody {
|
|
@@ -1414,10 +1687,10 @@ let PModalBody = class PModalBody {
|
|
|
1414
1687
|
}
|
|
1415
1688
|
};
|
|
1416
1689
|
PModalBody.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PModalBody, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1417
|
-
PModalBody.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PModalBody, selector: "p-modal-body", inputs: {
|
|
1690
|
+
PModalBody.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PModalBody, selector: "p-modal-body", inputs: { roundedBottom: "roundedBottom", roundedTop: "roundedTop" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1418
1691
|
PModalBody = __decorate([
|
|
1419
1692
|
ProxyCmp({
|
|
1420
|
-
inputs: ['
|
|
1693
|
+
inputs: ['roundedBottom', 'roundedTop']
|
|
1421
1694
|
})
|
|
1422
1695
|
], PModalBody);
|
|
1423
1696
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PModalBody, decorators: [{
|
|
@@ -1427,7 +1700,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
1427
1700
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1428
1701
|
template: '<ng-content></ng-content>',
|
|
1429
1702
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1430
|
-
inputs: ['
|
|
1703
|
+
inputs: ['roundedBottom', 'roundedTop'],
|
|
1431
1704
|
}]
|
|
1432
1705
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1433
1706
|
let PModalContainer = class PModalContainer {
|
|
@@ -1531,10 +1804,10 @@ let PNavigationItem = class PNavigationItem {
|
|
|
1531
1804
|
}
|
|
1532
1805
|
};
|
|
1533
1806
|
PNavigationItem.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PNavigationItem, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1534
|
-
PNavigationItem.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PNavigationItem, selector: "p-navigation-item", inputs: { active: "active", as: "as", class: "class", counter: "counter", href: "href", icon: "icon", target: "target" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1807
|
+
PNavigationItem.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PNavigationItem, selector: "p-navigation-item", inputs: { active: "active", as: "as", class: "class", counter: "counter", href: "href", icon: "icon", loading: "loading", target: "target" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1535
1808
|
PNavigationItem = __decorate([
|
|
1536
1809
|
ProxyCmp({
|
|
1537
|
-
inputs: ['active', 'as', 'class', 'counter', 'href', 'icon', 'target']
|
|
1810
|
+
inputs: ['active', 'as', 'class', 'counter', 'href', 'icon', 'loading', 'target']
|
|
1538
1811
|
})
|
|
1539
1812
|
], PNavigationItem);
|
|
1540
1813
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PNavigationItem, decorators: [{
|
|
@@ -1544,7 +1817,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
1544
1817
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1545
1818
|
template: '<ng-content></ng-content>',
|
|
1546
1819
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1547
|
-
inputs: ['active', 'as', 'class', 'counter', 'href', 'icon', 'target'],
|
|
1820
|
+
inputs: ['active', 'as', 'class', 'counter', 'href', 'icon', 'loading', 'target'],
|
|
1548
1821
|
}]
|
|
1549
1822
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1550
1823
|
let PNavigationSection = class PNavigationSection {
|
|
@@ -1593,78 +1866,125 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
1593
1866
|
inputs: [],
|
|
1594
1867
|
}]
|
|
1595
1868
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1596
|
-
let
|
|
1869
|
+
let PPagination = class PPagination {
|
|
1597
1870
|
constructor(c, r, z) {
|
|
1598
1871
|
this.z = z;
|
|
1599
1872
|
c.detach();
|
|
1600
1873
|
this.el = r.nativeElement;
|
|
1601
|
-
proxyOutputs(this, this.el, ['
|
|
1874
|
+
proxyOutputs(this, this.el, ['pageChange', 'pageSizeChange', 'pagesChange']);
|
|
1602
1875
|
}
|
|
1603
1876
|
};
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1877
|
+
PPagination.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PPagination, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1878
|
+
PPagination.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PPagination, selector: "p-pagination", inputs: { enablePaginationPages: "enablePaginationPages", enablePaginationSize: "enablePaginationSize", hideOnSinglePage: "hideOnSinglePage", page: "page", pageSize: "pageSize", pageSizeOptions: "pageSizeOptions", total: "total" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1879
|
+
PPagination = __decorate([
|
|
1607
1880
|
ProxyCmp({
|
|
1608
|
-
inputs: ['
|
|
1881
|
+
inputs: ['enablePaginationPages', 'enablePaginationSize', 'hideOnSinglePage', 'page', 'pageSize', 'pageSizeOptions', 'total']
|
|
1609
1882
|
})
|
|
1610
|
-
],
|
|
1611
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type:
|
|
1883
|
+
], PPagination);
|
|
1884
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PPagination, decorators: [{
|
|
1612
1885
|
type: Component,
|
|
1613
1886
|
args: [{
|
|
1614
|
-
selector: 'p-
|
|
1887
|
+
selector: 'p-pagination',
|
|
1615
1888
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1616
1889
|
template: '<ng-content></ng-content>',
|
|
1617
1890
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1618
|
-
inputs: ['
|
|
1891
|
+
inputs: ['enablePaginationPages', 'enablePaginationSize', 'hideOnSinglePage', 'page', 'pageSize', 'pageSizeOptions', 'total'],
|
|
1619
1892
|
}]
|
|
1620
1893
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1621
|
-
let
|
|
1894
|
+
let PPaginationPages = class PPaginationPages {
|
|
1622
1895
|
constructor(c, r, z) {
|
|
1623
1896
|
this.z = z;
|
|
1624
1897
|
c.detach();
|
|
1625
1898
|
this.el = r.nativeElement;
|
|
1626
|
-
proxyOutputs(this, this.el, ['pageChange']);
|
|
1899
|
+
proxyOutputs(this, this.el, ['pageChange', 'pagesChange']);
|
|
1627
1900
|
}
|
|
1628
1901
|
};
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
|
|
1902
|
+
PPaginationPages.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PPaginationPages, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1903
|
+
PPaginationPages.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PPaginationPages, selector: "p-pagination-pages", inputs: { hideOnSinglePage: "hideOnSinglePage", page: "page", pageSize: "pageSize", total: "total" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1904
|
+
PPaginationPages = __decorate([
|
|
1632
1905
|
ProxyCmp({
|
|
1633
1906
|
inputs: ['hideOnSinglePage', 'page', 'pageSize', 'total']
|
|
1634
1907
|
})
|
|
1635
|
-
],
|
|
1636
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type:
|
|
1908
|
+
], PPaginationPages);
|
|
1909
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PPaginationPages, decorators: [{
|
|
1637
1910
|
type: Component,
|
|
1638
1911
|
args: [{
|
|
1639
|
-
selector: 'p-pagination',
|
|
1912
|
+
selector: 'p-pagination-pages',
|
|
1640
1913
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1641
1914
|
template: '<ng-content></ng-content>',
|
|
1642
1915
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1643
1916
|
inputs: ['hideOnSinglePage', 'page', 'pageSize', 'total'],
|
|
1644
1917
|
}]
|
|
1645
1918
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1646
|
-
let
|
|
1919
|
+
let PPaginationPagesItem = class PPaginationPagesItem {
|
|
1647
1920
|
constructor(c, r, z) {
|
|
1648
1921
|
this.z = z;
|
|
1649
1922
|
c.detach();
|
|
1650
1923
|
this.el = r.nativeElement;
|
|
1651
1924
|
}
|
|
1652
1925
|
};
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1926
|
+
PPaginationPagesItem.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PPaginationPagesItem, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1927
|
+
PPaginationPagesItem.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PPaginationPagesItem, selector: "p-pagination-pages-item", inputs: { active: "active", disabled: "disabled", hover: "hover", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1928
|
+
PPaginationPagesItem = __decorate([
|
|
1656
1929
|
ProxyCmp({
|
|
1657
|
-
inputs: ['active']
|
|
1930
|
+
inputs: ['active', 'disabled', 'hover', 'variant']
|
|
1658
1931
|
})
|
|
1659
|
-
],
|
|
1660
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type:
|
|
1932
|
+
], PPaginationPagesItem);
|
|
1933
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PPaginationPagesItem, decorators: [{
|
|
1661
1934
|
type: Component,
|
|
1662
1935
|
args: [{
|
|
1663
|
-
selector: 'p-pagination-item',
|
|
1936
|
+
selector: 'p-pagination-pages-item',
|
|
1664
1937
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1665
1938
|
template: '<ng-content></ng-content>',
|
|
1666
1939
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1667
|
-
inputs: ['active'],
|
|
1940
|
+
inputs: ['active', 'disabled', 'hover', 'variant'],
|
|
1941
|
+
}]
|
|
1942
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1943
|
+
let PPaginationSize = class PPaginationSize {
|
|
1944
|
+
constructor(c, r, z) {
|
|
1945
|
+
this.z = z;
|
|
1946
|
+
c.detach();
|
|
1947
|
+
this.el = r.nativeElement;
|
|
1948
|
+
proxyOutputs(this, this.el, ['sizeChange']);
|
|
1949
|
+
}
|
|
1950
|
+
};
|
|
1951
|
+
PPaginationSize.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PPaginationSize, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1952
|
+
PPaginationSize.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PPaginationSize, selector: "p-pagination-size", inputs: { hidden: "hidden", itemTemplate: "itemTemplate", size: "size", sizeOptions: "sizeOptions" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1953
|
+
PPaginationSize = __decorate([
|
|
1954
|
+
ProxyCmp({
|
|
1955
|
+
inputs: ['hidden', 'itemTemplate', 'size', 'sizeOptions']
|
|
1956
|
+
})
|
|
1957
|
+
], PPaginationSize);
|
|
1958
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PPaginationSize, decorators: [{
|
|
1959
|
+
type: Component,
|
|
1960
|
+
args: [{
|
|
1961
|
+
selector: 'p-pagination-size',
|
|
1962
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1963
|
+
template: '<ng-content></ng-content>',
|
|
1964
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1965
|
+
inputs: ['hidden', 'itemTemplate', 'size', 'sizeOptions'],
|
|
1966
|
+
}]
|
|
1967
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1968
|
+
let PPortal = class PPortal {
|
|
1969
|
+
constructor(c, r, z) {
|
|
1970
|
+
this.z = z;
|
|
1971
|
+
c.detach();
|
|
1972
|
+
this.el = r.nativeElement;
|
|
1973
|
+
}
|
|
1974
|
+
};
|
|
1975
|
+
PPortal.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PPortal, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1976
|
+
PPortal.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PPortal, selector: "p-portal", ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1977
|
+
PPortal = __decorate([
|
|
1978
|
+
ProxyCmp({})
|
|
1979
|
+
], PPortal);
|
|
1980
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PPortal, decorators: [{
|
|
1981
|
+
type: Component,
|
|
1982
|
+
args: [{
|
|
1983
|
+
selector: 'p-portal',
|
|
1984
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1985
|
+
template: '<ng-content></ng-content>',
|
|
1986
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1987
|
+
inputs: [],
|
|
1668
1988
|
}]
|
|
1669
1989
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1670
1990
|
let PProfile = class PProfile {
|
|
@@ -1691,6 +2011,31 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
1691
2011
|
inputs: ['dropdownLocation'],
|
|
1692
2012
|
}]
|
|
1693
2013
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
2014
|
+
let PRadio = class PRadio {
|
|
2015
|
+
constructor(c, r, z) {
|
|
2016
|
+
this.z = z;
|
|
2017
|
+
c.detach();
|
|
2018
|
+
this.el = r.nativeElement;
|
|
2019
|
+
proxyOutputs(this, this.el, ['checkedChange']);
|
|
2020
|
+
}
|
|
2021
|
+
};
|
|
2022
|
+
PRadio.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PRadio, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
2023
|
+
PRadio.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PRadio, selector: "p-radio", inputs: { checked: "checked", disabled: "disabled", id: "id", name: "name", required: "required", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2024
|
+
PRadio = __decorate([
|
|
2025
|
+
ProxyCmp({
|
|
2026
|
+
inputs: ['checked', 'disabled', 'id', 'name', 'required', 'value']
|
|
2027
|
+
})
|
|
2028
|
+
], PRadio);
|
|
2029
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PRadio, decorators: [{
|
|
2030
|
+
type: Component,
|
|
2031
|
+
args: [{
|
|
2032
|
+
selector: 'p-radio',
|
|
2033
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2034
|
+
template: '<ng-content></ng-content>',
|
|
2035
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
2036
|
+
inputs: ['checked', 'disabled', 'id', 'name', 'required', 'value'],
|
|
2037
|
+
}]
|
|
2038
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1694
2039
|
let PSegmentContainer = class PSegmentContainer {
|
|
1695
2040
|
constructor(c, r, z) {
|
|
1696
2041
|
this.z = z;
|
|
@@ -1721,10 +2066,10 @@ let PSegmentItem = class PSegmentItem {
|
|
|
1721
2066
|
}
|
|
1722
2067
|
};
|
|
1723
2068
|
PSegmentItem.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PSegmentItem, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1724
|
-
PSegmentItem.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PSegmentItem, selector: "p-segment-item", inputs: { active: "active", icon: "icon", iconFlip: "iconFlip", iconOnly: "iconOnly", iconRotate: "iconRotate",
|
|
2069
|
+
PSegmentItem.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PSegmentItem, selector: "p-segment-item", inputs: { active: "active", icon: "icon", iconFlip: "iconFlip", iconOnly: "iconOnly", iconRotate: "iconRotate", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1725
2070
|
PSegmentItem = __decorate([
|
|
1726
2071
|
ProxyCmp({
|
|
1727
|
-
inputs: ['active', 'icon', 'iconFlip', 'iconOnly', 'iconRotate', '
|
|
2072
|
+
inputs: ['active', 'icon', 'iconFlip', 'iconOnly', 'iconRotate', 'variant']
|
|
1728
2073
|
})
|
|
1729
2074
|
], PSegmentItem);
|
|
1730
2075
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PSegmentItem, decorators: [{
|
|
@@ -1734,7 +2079,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
1734
2079
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1735
2080
|
template: '<ng-content></ng-content>',
|
|
1736
2081
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1737
|
-
inputs: ['active', 'icon', 'iconFlip', 'iconOnly', 'iconRotate', '
|
|
2082
|
+
inputs: ['active', 'icon', 'iconFlip', 'iconOnly', 'iconRotate', 'variant'],
|
|
1738
2083
|
}]
|
|
1739
2084
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1740
2085
|
let PSelect = class PSelect {
|
|
@@ -1746,10 +2091,10 @@ let PSelect = class PSelect {
|
|
|
1746
2091
|
}
|
|
1747
2092
|
};
|
|
1748
2093
|
PSelect.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PSelect, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1749
|
-
PSelect.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PSelect, selector: "p-select", inputs: { addItemText: "addItemText", applyClassOnSelectedItem: "applyClassOnSelectedItem", asyncFilter: "asyncFilter", autoSelectFirst: "autoSelectFirst", autocompletePlaceholder: "autocompletePlaceholder", avatarKey: "avatarKey", avatarLettersKey: "avatarLettersKey", classKey: "classKey", disabled: "disabled", displayKey: "displayKey", dropdownDisplayKey: "dropdownDisplayKey", emptyStateText: "emptyStateText", enableAutocomplete: "enableAutocomplete", enableSelectAll: "enableSelectAll", error: "error", helper: "helper", icon: "icon", iconKey: "iconKey", identifierKey: "identifierKey", items: "items", label: "label", loading: "loading", maxDisplayedItems: "maxDisplayedItems", multi: "multi", placeholder: "placeholder", prefix: "prefix", query: "query", queryKey: "queryKey", required: "required", selectAllIcon: "selectAllIcon", selectAllText: "selectAllText", selectionDisplayKey: "selectionDisplayKey", showAddItem: "showAddItem", showChevron: "showChevron", showIconInSelectedItem: "showIconInSelectedItem", size: "size", value: "value", valueKey: "valueKey" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2094
|
+
PSelect.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PSelect, selector: "p-select", inputs: { addItemText: "addItemText", applyClassOnSelectedItem: "applyClassOnSelectedItem", asyncFilter: "asyncFilter", autoSelectFirst: "autoSelectFirst", autocompletePlaceholder: "autocompletePlaceholder", avatarKey: "avatarKey", avatarLettersKey: "avatarLettersKey", classKey: "classKey", disabled: "disabled", displayKey: "displayKey", dropdownDisplayKey: "dropdownDisplayKey", emptyStateText: "emptyStateText", enableAutocomplete: "enableAutocomplete", enableSelectAll: "enableSelectAll", error: "error", helper: "helper", icon: "icon", iconKey: "iconKey", identifierKey: "identifierKey", items: "items", label: "label", loading: "loading", maxDisplayedItems: "maxDisplayedItems", multi: "multi", placeholder: "placeholder", prefix: "prefix", query: "query", queryKey: "queryKey", required: "required", selectAllIcon: "selectAllIcon", selectAllText: "selectAllText", selectionDisplayKey: "selectionDisplayKey", showAddItem: "showAddItem", showChevron: "showChevron", showIconInSelectedItem: "showIconInSelectedItem", size: "size", strategy: "strategy", usePortal: "usePortal", value: "value", valueKey: "valueKey" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1750
2095
|
PSelect = __decorate([
|
|
1751
2096
|
ProxyCmp({
|
|
1752
|
-
inputs: ['addItemText', 'applyClassOnSelectedItem', 'asyncFilter', 'autoSelectFirst', 'autocompletePlaceholder', 'avatarKey', 'avatarLettersKey', 'classKey', 'disabled', 'displayKey', 'dropdownDisplayKey', 'emptyStateText', 'enableAutocomplete', 'enableSelectAll', 'error', 'helper', 'icon', 'iconKey', 'identifierKey', 'items', 'label', 'loading', 'maxDisplayedItems', 'multi', 'placeholder', 'prefix', 'query', 'queryKey', 'required', 'selectAllIcon', 'selectAllText', 'selectionDisplayKey', 'showAddItem', 'showChevron', 'showIconInSelectedItem', 'size', 'value', 'valueKey']
|
|
2097
|
+
inputs: ['addItemText', 'applyClassOnSelectedItem', 'asyncFilter', 'autoSelectFirst', 'autocompletePlaceholder', 'avatarKey', 'avatarLettersKey', 'classKey', 'disabled', 'displayKey', 'dropdownDisplayKey', 'emptyStateText', 'enableAutocomplete', 'enableSelectAll', 'error', 'helper', 'icon', 'iconKey', 'identifierKey', 'items', 'label', 'loading', 'maxDisplayedItems', 'multi', 'placeholder', 'prefix', 'query', 'queryKey', 'required', 'selectAllIcon', 'selectAllText', 'selectionDisplayKey', 'showAddItem', 'showChevron', 'showIconInSelectedItem', 'size', 'strategy', 'usePortal', 'value', 'valueKey']
|
|
1753
2098
|
})
|
|
1754
2099
|
], PSelect);
|
|
1755
2100
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PSelect, decorators: [{
|
|
@@ -1759,7 +2104,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
1759
2104
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1760
2105
|
template: '<ng-content></ng-content>',
|
|
1761
2106
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1762
|
-
inputs: ['addItemText', 'applyClassOnSelectedItem', 'asyncFilter', 'autoSelectFirst', 'autocompletePlaceholder', 'avatarKey', 'avatarLettersKey', 'classKey', 'disabled', 'displayKey', 'dropdownDisplayKey', 'emptyStateText', 'enableAutocomplete', 'enableSelectAll', 'error', 'helper', 'icon', 'iconKey', 'identifierKey', 'items', 'label', 'loading', 'maxDisplayedItems', 'multi', 'placeholder', 'prefix', 'query', 'queryKey', 'required', 'selectAllIcon', 'selectAllText', 'selectionDisplayKey', 'showAddItem', 'showChevron', 'showIconInSelectedItem', 'size', 'value', 'valueKey'],
|
|
2107
|
+
inputs: ['addItemText', 'applyClassOnSelectedItem', 'asyncFilter', 'autoSelectFirst', 'autocompletePlaceholder', 'avatarKey', 'avatarLettersKey', 'classKey', 'disabled', 'displayKey', 'dropdownDisplayKey', 'emptyStateText', 'enableAutocomplete', 'enableSelectAll', 'error', 'helper', 'icon', 'iconKey', 'identifierKey', 'items', 'label', 'loading', 'maxDisplayedItems', 'multi', 'placeholder', 'prefix', 'query', 'queryKey', 'required', 'selectAllIcon', 'selectAllText', 'selectionDisplayKey', 'showAddItem', 'showChevron', 'showIconInSelectedItem', 'size', 'strategy', 'usePortal', 'value', 'valueKey'],
|
|
1763
2108
|
}]
|
|
1764
2109
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1765
2110
|
let PSliderIndicator = class PSliderIndicator {
|
|
@@ -1786,6 +2131,30 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
1786
2131
|
inputs: ['active'],
|
|
1787
2132
|
}]
|
|
1788
2133
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
2134
|
+
let PSmile = class PSmile {
|
|
2135
|
+
constructor(c, r, z) {
|
|
2136
|
+
this.z = z;
|
|
2137
|
+
c.detach();
|
|
2138
|
+
this.el = r.nativeElement;
|
|
2139
|
+
}
|
|
2140
|
+
};
|
|
2141
|
+
PSmile.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PSmile, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
2142
|
+
PSmile.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PSmile, selector: "p-smile", inputs: { variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2143
|
+
PSmile = __decorate([
|
|
2144
|
+
ProxyCmp({
|
|
2145
|
+
inputs: ['variant']
|
|
2146
|
+
})
|
|
2147
|
+
], PSmile);
|
|
2148
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PSmile, decorators: [{
|
|
2149
|
+
type: Component,
|
|
2150
|
+
args: [{
|
|
2151
|
+
selector: 'p-smile',
|
|
2152
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2153
|
+
template: '<ng-content></ng-content>',
|
|
2154
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
2155
|
+
inputs: ['variant'],
|
|
2156
|
+
}]
|
|
2157
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1789
2158
|
let PStatus = class PStatus {
|
|
1790
2159
|
constructor(c, r, z) {
|
|
1791
2160
|
this.z = z;
|
|
@@ -1818,10 +2187,10 @@ let PStepper = class PStepper {
|
|
|
1818
2187
|
}
|
|
1819
2188
|
};
|
|
1820
2189
|
PStepper.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PStepper, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1821
|
-
PStepper.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PStepper, selector: "p-stepper", inputs: { activeStep: "activeStep", contentPosition: "contentPosition", direction: "direction" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2190
|
+
PStepper.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PStepper, selector: "p-stepper", inputs: { activeStep: "activeStep", contentPosition: "contentPosition", direction: "direction", enableAutoStatus: "enableAutoStatus" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1822
2191
|
PStepper = __decorate([
|
|
1823
2192
|
ProxyCmp({
|
|
1824
|
-
inputs: ['activeStep', 'contentPosition', 'direction']
|
|
2193
|
+
inputs: ['activeStep', 'contentPosition', 'direction', 'enableAutoStatus']
|
|
1825
2194
|
})
|
|
1826
2195
|
], PStepper);
|
|
1827
2196
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PStepper, decorators: [{
|
|
@@ -1831,7 +2200,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
1831
2200
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1832
2201
|
template: '<ng-content></ng-content>',
|
|
1833
2202
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1834
|
-
inputs: ['activeStep', 'contentPosition', 'direction'],
|
|
2203
|
+
inputs: ['activeStep', 'contentPosition', 'direction', 'enableAutoStatus'],
|
|
1835
2204
|
}]
|
|
1836
2205
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1837
2206
|
let PStepperItem = class PStepperItem {
|
|
@@ -1882,22 +2251,22 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
1882
2251
|
inputs: ['active', 'direction'],
|
|
1883
2252
|
}]
|
|
1884
2253
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1885
|
-
let
|
|
2254
|
+
let PTabContainer = class PTabContainer {
|
|
1886
2255
|
constructor(c, r, z) {
|
|
1887
2256
|
this.z = z;
|
|
1888
2257
|
c.detach();
|
|
1889
2258
|
this.el = r.nativeElement;
|
|
1890
2259
|
}
|
|
1891
2260
|
};
|
|
1892
|
-
|
|
1893
|
-
|
|
1894
|
-
|
|
2261
|
+
PTabContainer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PTabContainer, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
2262
|
+
PTabContainer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PTabContainer, selector: "p-tab-container", ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2263
|
+
PTabContainer = __decorate([
|
|
1895
2264
|
ProxyCmp({})
|
|
1896
|
-
],
|
|
1897
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type:
|
|
2265
|
+
], PTabContainer);
|
|
2266
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PTabContainer, decorators: [{
|
|
1898
2267
|
type: Component,
|
|
1899
2268
|
args: [{
|
|
1900
|
-
selector: 'p-tab-
|
|
2269
|
+
selector: 'p-tab-container',
|
|
1901
2270
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1902
2271
|
template: '<ng-content></ng-content>',
|
|
1903
2272
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
@@ -1936,11 +2305,9 @@ let PTableContainer = class PTableContainer {
|
|
|
1936
2305
|
}
|
|
1937
2306
|
};
|
|
1938
2307
|
PTableContainer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PTableContainer, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1939
|
-
PTableContainer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PTableContainer, selector: "p-table-container",
|
|
2308
|
+
PTableContainer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PTableContainer, selector: "p-table-container", ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1940
2309
|
PTableContainer = __decorate([
|
|
1941
|
-
ProxyCmp({
|
|
1942
|
-
inputs: ['shadow']
|
|
1943
|
-
})
|
|
2310
|
+
ProxyCmp({})
|
|
1944
2311
|
], PTableContainer);
|
|
1945
2312
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PTableContainer, decorators: [{
|
|
1946
2313
|
type: Component,
|
|
@@ -1949,7 +2316,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
1949
2316
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1950
2317
|
template: '<ng-content></ng-content>',
|
|
1951
2318
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1952
|
-
inputs: [
|
|
2319
|
+
inputs: [],
|
|
1953
2320
|
}]
|
|
1954
2321
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1955
2322
|
let PTableFooter = class PTableFooter {
|
|
@@ -1957,14 +2324,14 @@ let PTableFooter = class PTableFooter {
|
|
|
1957
2324
|
this.z = z;
|
|
1958
2325
|
c.detach();
|
|
1959
2326
|
this.el = r.nativeElement;
|
|
1960
|
-
proxyOutputs(this, this.el, ['pageChange', 'pageSizeChange', '
|
|
2327
|
+
proxyOutputs(this, this.el, ['pageChange', 'pageSizeChange', 'hiddenChange']);
|
|
1961
2328
|
}
|
|
1962
2329
|
};
|
|
1963
2330
|
PTableFooter.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PTableFooter, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1964
|
-
PTableFooter.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PTableFooter, selector: "p-table-footer", inputs: {
|
|
2331
|
+
PTableFooter.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PTableFooter, selector: "p-table-footer", inputs: { enablePaginationPages: "enablePaginationPages", enablePaginationSize: "enablePaginationSize", hideOnSinglePage: "hideOnSinglePage", loading: "loading", page: "page", pageSize: "pageSize", pageSizeOptions: "pageSizeOptions", total: "total" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1965
2332
|
PTableFooter = __decorate([
|
|
1966
2333
|
ProxyCmp({
|
|
1967
|
-
inputs: ['
|
|
2334
|
+
inputs: ['enablePaginationPages', 'enablePaginationSize', 'hideOnSinglePage', 'loading', 'page', 'pageSize', 'pageSizeOptions', 'total']
|
|
1968
2335
|
})
|
|
1969
2336
|
], PTableFooter);
|
|
1970
2337
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PTableFooter, decorators: [{
|
|
@@ -1974,7 +2341,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
1974
2341
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1975
2342
|
template: '<ng-content></ng-content>',
|
|
1976
2343
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1977
|
-
inputs: ['
|
|
2344
|
+
inputs: ['enablePaginationPages', 'enablePaginationSize', 'hideOnSinglePage', 'loading', 'page', 'pageSize', 'pageSizeOptions', 'total'],
|
|
1978
2345
|
}]
|
|
1979
2346
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1980
2347
|
let PTableHeader = class PTableHeader {
|
|
@@ -1982,14 +2349,14 @@ let PTableHeader = class PTableHeader {
|
|
|
1982
2349
|
this.z = z;
|
|
1983
2350
|
c.detach();
|
|
1984
2351
|
this.el = r.nativeElement;
|
|
1985
|
-
proxyOutputs(this, this.el, ['quickFilter', 'queryChange', 'filter', 'action']);
|
|
2352
|
+
proxyOutputs(this, this.el, ['quickFilter', 'queryChange', 'filter', 'action', 'export']);
|
|
1986
2353
|
}
|
|
1987
2354
|
};
|
|
1988
2355
|
PTableHeader.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PTableHeader, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1989
|
-
PTableHeader.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PTableHeader, selector: "p-table-header", inputs: { actionButtonTemplate: "actionButtonTemplate", actionIcon: "actionIcon", actionLoading: "actionLoading", actionText: "actionText", activeQuickFilterIdentifier: "activeQuickFilterIdentifier", canUseAction: "canUseAction", enableAction: "enableAction", enableFilter: "enableFilter", enableFilterDesktop: "enableFilterDesktop", enableSearch: "enableSearch", filterButtonTemplate: "filterButtonTemplate", itemsSelectedAmount: "itemsSelectedAmount", loading: "loading", query: "query", quickFilters: "quickFilters", selectedFiltersAmount: "selectedFiltersAmount" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2356
|
+
PTableHeader.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PTableHeader, selector: "p-table-header", inputs: { actionButtonTemplate: "actionButtonTemplate", actionIcon: "actionIcon", actionLoading: "actionLoading", actionText: "actionText", activeQuickFilterIdentifier: "activeQuickFilterIdentifier", canUseAction: "canUseAction", enableAction: "enableAction", enableExport: "enableExport", enableFilter: "enableFilter", enableFilterDesktop: "enableFilterDesktop", enableSearch: "enableSearch", filterButtonTemplate: "filterButtonTemplate", itemsSelectedAmount: "itemsSelectedAmount", loading: "loading", query: "query", quickFilters: "quickFilters", selectedFiltersAmount: "selectedFiltersAmount" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1990
2357
|
PTableHeader = __decorate([
|
|
1991
2358
|
ProxyCmp({
|
|
1992
|
-
inputs: ['actionButtonTemplate', 'actionIcon', 'actionLoading', 'actionText', 'activeQuickFilterIdentifier', 'canUseAction', 'enableAction', 'enableFilter', 'enableFilterDesktop', 'enableSearch', 'filterButtonTemplate', 'itemsSelectedAmount', 'loading', 'query', 'quickFilters', 'selectedFiltersAmount']
|
|
2359
|
+
inputs: ['actionButtonTemplate', 'actionIcon', 'actionLoading', 'actionText', 'activeQuickFilterIdentifier', 'canUseAction', 'enableAction', 'enableExport', 'enableFilter', 'enableFilterDesktop', 'enableSearch', 'filterButtonTemplate', 'itemsSelectedAmount', 'loading', 'query', 'quickFilters', 'selectedFiltersAmount']
|
|
1993
2360
|
})
|
|
1994
2361
|
], PTableHeader);
|
|
1995
2362
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PTableHeader, decorators: [{
|
|
@@ -1999,7 +2366,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
1999
2366
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2000
2367
|
template: '<ng-content></ng-content>',
|
|
2001
2368
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
2002
|
-
inputs: ['actionButtonTemplate', 'actionIcon', 'actionLoading', 'actionText', 'activeQuickFilterIdentifier', 'canUseAction', 'enableAction', 'enableFilter', 'enableFilterDesktop', 'enableSearch', 'filterButtonTemplate', 'itemsSelectedAmount', 'loading', 'query', 'quickFilters', 'selectedFiltersAmount'],
|
|
2369
|
+
inputs: ['actionButtonTemplate', 'actionIcon', 'actionLoading', 'actionText', 'activeQuickFilterIdentifier', 'canUseAction', 'enableAction', 'enableExport', 'enableFilter', 'enableFilterDesktop', 'enableSearch', 'filterButtonTemplate', 'itemsSelectedAmount', 'loading', 'query', 'quickFilters', 'selectedFiltersAmount'],
|
|
2003
2370
|
}]
|
|
2004
2371
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
2005
2372
|
let PTableRow = class PTableRow {
|
|
@@ -2026,6 +2393,28 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
2026
2393
|
inputs: ['enableHover', 'variant'],
|
|
2027
2394
|
}]
|
|
2028
2395
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
2396
|
+
let PTableRowActionsContainer = class PTableRowActionsContainer {
|
|
2397
|
+
constructor(c, r, z) {
|
|
2398
|
+
this.z = z;
|
|
2399
|
+
c.detach();
|
|
2400
|
+
this.el = r.nativeElement;
|
|
2401
|
+
}
|
|
2402
|
+
};
|
|
2403
|
+
PTableRowActionsContainer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PTableRowActionsContainer, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
2404
|
+
PTableRowActionsContainer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PTableRowActionsContainer, selector: "p-table-row-actions-container", ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2405
|
+
PTableRowActionsContainer = __decorate([
|
|
2406
|
+
ProxyCmp({})
|
|
2407
|
+
], PTableRowActionsContainer);
|
|
2408
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PTableRowActionsContainer, decorators: [{
|
|
2409
|
+
type: Component,
|
|
2410
|
+
args: [{
|
|
2411
|
+
selector: 'p-table-row-actions-container',
|
|
2412
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2413
|
+
template: '<ng-content></ng-content>',
|
|
2414
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
2415
|
+
inputs: [],
|
|
2416
|
+
}]
|
|
2417
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
2029
2418
|
let PToast = class PToast {
|
|
2030
2419
|
constructor(c, r, z) {
|
|
2031
2420
|
this.z = z;
|
|
@@ -2051,6 +2440,31 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
2051
2440
|
inputs: ['actionIcon', 'actionIconFlip', 'actionIconRotate', 'content', 'enableAction', 'header', 'variant'],
|
|
2052
2441
|
}]
|
|
2053
2442
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
2443
|
+
let PToggle = class PToggle {
|
|
2444
|
+
constructor(c, r, z) {
|
|
2445
|
+
this.z = z;
|
|
2446
|
+
c.detach();
|
|
2447
|
+
this.el = r.nativeElement;
|
|
2448
|
+
proxyOutputs(this, this.el, ['checkedChange', 'indeterminateChange']);
|
|
2449
|
+
}
|
|
2450
|
+
};
|
|
2451
|
+
PToggle.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PToggle, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
2452
|
+
PToggle.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PToggle, selector: "p-toggle", inputs: { checked: "checked", disabled: "disabled", id: "id", name: "name", required: "required" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2453
|
+
PToggle = __decorate([
|
|
2454
|
+
ProxyCmp({
|
|
2455
|
+
inputs: ['checked', 'disabled', 'id', 'name', 'required']
|
|
2456
|
+
})
|
|
2457
|
+
], PToggle);
|
|
2458
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PToggle, decorators: [{
|
|
2459
|
+
type: Component,
|
|
2460
|
+
args: [{
|
|
2461
|
+
selector: 'p-toggle',
|
|
2462
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2463
|
+
template: '<ng-content></ng-content>',
|
|
2464
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
2465
|
+
inputs: ['checked', 'disabled', 'id', 'name', 'required'],
|
|
2466
|
+
}]
|
|
2467
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
2054
2468
|
let PTooltip = class PTooltip {
|
|
2055
2469
|
constructor(c, r, z) {
|
|
2056
2470
|
this.z = z;
|
|
@@ -2060,10 +2474,10 @@ let PTooltip = class PTooltip {
|
|
|
2060
2474
|
}
|
|
2061
2475
|
};
|
|
2062
2476
|
PTooltip.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PTooltip, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
2063
|
-
PTooltip.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PTooltip, selector: "p-tooltip", inputs: { canManuallyClose: "canManuallyClose", content: "content", enableUserInput: "enableUserInput", offset: "offset", placement: "placement", show: "show", strategy: "strategy", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2477
|
+
PTooltip.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PTooltip, selector: "p-tooltip", inputs: { canManuallyClose: "canManuallyClose", content: "content", enableUserInput: "enableUserInput", offset: "offset", placement: "placement", show: "show", strategy: "strategy", usePortal: "usePortal", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2064
2478
|
PTooltip = __decorate([
|
|
2065
2479
|
ProxyCmp({
|
|
2066
|
-
inputs: ['canManuallyClose', 'content', 'enableUserInput', 'offset', 'placement', 'show', 'strategy', 'variant']
|
|
2480
|
+
inputs: ['canManuallyClose', 'content', 'enableUserInput', 'offset', 'placement', 'show', 'strategy', 'usePortal', 'variant']
|
|
2067
2481
|
})
|
|
2068
2482
|
], PTooltip);
|
|
2069
2483
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PTooltip, decorators: [{
|
|
@@ -2073,7 +2487,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
2073
2487
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2074
2488
|
template: '<ng-content></ng-content>',
|
|
2075
2489
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
2076
|
-
inputs: ['canManuallyClose', 'content', 'enableUserInput', 'offset', 'placement', 'show', 'strategy', 'variant'],
|
|
2490
|
+
inputs: ['canManuallyClose', 'content', 'enableUserInput', 'offset', 'placement', 'show', 'strategy', 'usePortal', 'variant'],
|
|
2077
2491
|
}]
|
|
2078
2492
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
2079
2493
|
|
|
@@ -2090,6 +2504,7 @@ const DIRECTIVES = [
|
|
|
2090
2504
|
PCardBody,
|
|
2091
2505
|
PCardContainer,
|
|
2092
2506
|
PCardHeader,
|
|
2507
|
+
PCheckbox,
|
|
2093
2508
|
PContentSlider,
|
|
2094
2509
|
PCounter,
|
|
2095
2510
|
PCropper,
|
|
@@ -2102,13 +2517,16 @@ const DIRECTIVES = [
|
|
|
2102
2517
|
PDropdown,
|
|
2103
2518
|
PDropdownMenuContainer,
|
|
2104
2519
|
PDropdownMenuItem,
|
|
2520
|
+
PEmptyState,
|
|
2521
|
+
PField,
|
|
2522
|
+
PFieldContainer,
|
|
2105
2523
|
PFloatingMenuContainer,
|
|
2106
2524
|
PFloatingMenuItem,
|
|
2107
2525
|
PHelper,
|
|
2108
2526
|
PIbanIcon,
|
|
2109
2527
|
PIcon,
|
|
2110
|
-
PIconDeprecated,
|
|
2111
2528
|
PIllustration,
|
|
2529
|
+
PIllustrationDeprecated,
|
|
2112
2530
|
PInfoPanel,
|
|
2113
2531
|
PInputError,
|
|
2114
2532
|
PInputGroup,
|
|
@@ -2124,32 +2542,38 @@ const DIRECTIVES = [
|
|
|
2124
2542
|
PNavigationItem,
|
|
2125
2543
|
PNavigationSection,
|
|
2126
2544
|
PNavigationTitle,
|
|
2127
|
-
PPageSizeSelect,
|
|
2128
2545
|
PPagination,
|
|
2129
|
-
|
|
2546
|
+
PPaginationPages,
|
|
2547
|
+
PPaginationPagesItem,
|
|
2548
|
+
PPaginationSize,
|
|
2549
|
+
PPortal,
|
|
2130
2550
|
PProfile,
|
|
2551
|
+
PRadio,
|
|
2131
2552
|
PSegmentContainer,
|
|
2132
2553
|
PSegmentItem,
|
|
2133
2554
|
PSelect,
|
|
2134
2555
|
PSliderIndicator,
|
|
2556
|
+
PSmile,
|
|
2135
2557
|
PStatus,
|
|
2136
2558
|
PStepper,
|
|
2137
2559
|
PStepperItem,
|
|
2138
2560
|
PStepperLine,
|
|
2139
|
-
|
|
2561
|
+
PTabContainer,
|
|
2140
2562
|
PTabItem,
|
|
2141
2563
|
PTableContainer,
|
|
2142
2564
|
PTableFooter,
|
|
2143
2565
|
PTableHeader,
|
|
2144
2566
|
PTableRow,
|
|
2567
|
+
PTableRowActionsContainer,
|
|
2145
2568
|
PToast,
|
|
2569
|
+
PToggle,
|
|
2146
2570
|
PTooltip
|
|
2147
2571
|
];
|
|
2148
2572
|
|
|
2149
2573
|
class StencilModule {
|
|
2150
2574
|
}
|
|
2151
2575
|
StencilModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: StencilModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2152
|
-
StencilModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: StencilModule, declarations: [PAccordion, PAttachment, PAvatar, PAvatarGroup, PBackdrop, PBadge, PButton, PButtonGroup, PCalendar, PCardBody, PCardContainer, PCardHeader, PContentSlider, PCounter, PCropper, PDatepicker, PDivider, PDrawer, PDrawerBody, PDrawerContainer, PDrawerHeader, PDropdown, PDropdownMenuContainer, PDropdownMenuItem, PFloatingMenuContainer, PFloatingMenuItem, PHelper, PIbanIcon, PIcon,
|
|
2576
|
+
StencilModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: StencilModule, declarations: [PAccordion, PAttachment, PAvatar, PAvatarGroup, PBackdrop, PBadge, PButton, PButtonGroup, PCalendar, PCardBody, PCardContainer, PCardHeader, PCheckbox, PContentSlider, PCounter, PCropper, PDatepicker, PDivider, PDrawer, PDrawerBody, PDrawerContainer, PDrawerHeader, PDropdown, PDropdownMenuContainer, PDropdownMenuItem, PEmptyState, PField, PFieldContainer, PFloatingMenuContainer, PFloatingMenuItem, PHelper, PIbanIcon, PIcon, PIllustration, PIllustrationDeprecated, PInfoPanel, PInputError, PInputGroup, PLabel, PLayout, PLoader, PModal, PModalBody, PModalContainer, PModalFooter, PModalHeader, PNavbar, PNavigationItem, PNavigationSection, PNavigationTitle, PPagination, PPaginationPages, PPaginationPagesItem, PPaginationSize, PPortal, PProfile, PRadio, PSegmentContainer, PSegmentItem, PSelect, PSliderIndicator, PSmile, PStatus, PStepper, PStepperItem, PStepperLine, PTabContainer, PTabItem, PTableContainer, PTableFooter, PTableHeader, PTableRow, PTableRowActionsContainer, PToast, PToggle, PTooltip], exports: [PAccordion, PAttachment, PAvatar, PAvatarGroup, PBackdrop, PBadge, PButton, PButtonGroup, PCalendar, PCardBody, PCardContainer, PCardHeader, PCheckbox, PContentSlider, PCounter, PCropper, PDatepicker, PDivider, PDrawer, PDrawerBody, PDrawerContainer, PDrawerHeader, PDropdown, PDropdownMenuContainer, PDropdownMenuItem, PEmptyState, PField, PFieldContainer, PFloatingMenuContainer, PFloatingMenuItem, PHelper, PIbanIcon, PIcon, PIllustration, PIllustrationDeprecated, PInfoPanel, PInputError, PInputGroup, PLabel, PLayout, PLoader, PModal, PModalBody, PModalContainer, PModalFooter, PModalHeader, PNavbar, PNavigationItem, PNavigationSection, PNavigationTitle, PPagination, PPaginationPages, PPaginationPagesItem, PPaginationSize, PPortal, PProfile, PRadio, PSegmentContainer, PSegmentItem, PSelect, PSliderIndicator, PSmile, PStatus, PStepper, PStepperItem, PStepperLine, PTabContainer, PTabItem, PTableContainer, PTableFooter, PTableHeader, PTableRow, PTableRowActionsContainer, PToast, PToggle, PTooltip] });
|
|
2153
2577
|
StencilModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: StencilModule });
|
|
2154
2578
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: StencilModule, decorators: [{
|
|
2155
2579
|
type: NgModule,
|
|
@@ -2262,11 +2686,11 @@ class OverlayService {
|
|
|
2262
2686
|
}
|
|
2263
2687
|
}
|
|
2264
2688
|
}
|
|
2265
|
-
OverlayService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: OverlayService, deps: [{ token: i0.Injector }, { token: i1.Overlay }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2689
|
+
OverlayService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: OverlayService, deps: [{ token: i0.Injector }, { token: i1$1.Overlay }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2266
2690
|
OverlayService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: OverlayService });
|
|
2267
2691
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: OverlayService, decorators: [{
|
|
2268
2692
|
type: Injectable
|
|
2269
|
-
}], ctorParameters: function () { return [{ type: i0.Injector }, { type: i1.Overlay }]; } });
|
|
2693
|
+
}], ctorParameters: function () { return [{ type: i0.Injector }, { type: i1$1.Overlay }]; } });
|
|
2270
2694
|
|
|
2271
2695
|
const OVERLAY_SERVICES = [OverlayService];
|
|
2272
2696
|
|
|
@@ -2410,7 +2834,7 @@ let BaseTableComponent = class BaseTableComponent extends BaseFormComponent {
|
|
|
2410
2834
|
selectedRows: this.parsedDefaultTableValues.selectedRows,
|
|
2411
2835
|
});
|
|
2412
2836
|
this.tableOptions.valueChanges
|
|
2413
|
-
.pipe(untilDestroyed(this), startWith(this.tableOptions.value), tap((value) => this.tableOptionsChange.next(value)), pairwise(), map(([previous, next]) => this._getChanges(previous, next)), filter(changes => !!changes), debounce(changes => {
|
|
2837
|
+
.pipe(untilDestroyed(this), startWith(this.tableOptions.value), tap((value) => this.tableOptionsChange.next(value)), pairwise(), map(([previous, next]) => this._getChanges(previous, next)), filter$1(changes => !!changes), debounce(changes => {
|
|
2414
2838
|
if (changes?.query && Object.keys(changes)?.length === 1) {
|
|
2415
2839
|
return timer(300);
|
|
2416
2840
|
}
|
|
@@ -2494,7 +2918,7 @@ let BaseTableComponent = class BaseTableComponent extends BaseFormComponent {
|
|
|
2494
2918
|
return Object.keys(changes).length ? changes : null;
|
|
2495
2919
|
}
|
|
2496
2920
|
_watchProperty(observable, identifier = 'id') {
|
|
2497
|
-
return observable.pipe(untilDestroyed(this), startWith(null), pairwise(), filter(([prev, cur]) => prev !== cur && !!cur), tap(([previous, current]) => {
|
|
2921
|
+
return observable.pipe(untilDestroyed(this), startWith(null), pairwise(), filter$1(([prev, cur]) => prev !== cur && !!cur), tap(([previous, current]) => {
|
|
2498
2922
|
if (previous && previous[identifier] !== current?.[identifier]) {
|
|
2499
2923
|
this.resetTable(false, true);
|
|
2500
2924
|
}
|
|
@@ -2587,13 +3011,9 @@ class TableCell {
|
|
|
2587
3011
|
* The index of the row
|
|
2588
3012
|
*/
|
|
2589
3013
|
this.rowIndex = 0;
|
|
2590
|
-
/**
|
|
2591
|
-
* Wether the table has actions
|
|
2592
|
-
*/
|
|
2593
|
-
this.tableHasActions = false;
|
|
2594
3014
|
}
|
|
2595
3015
|
get class() {
|
|
2596
|
-
return getTableCellColumnClasses(this.definition, this.variant
|
|
3016
|
+
return getTableCellColumnClasses(this.definition, this.variant);
|
|
2597
3017
|
}
|
|
2598
3018
|
get data() {
|
|
2599
3019
|
if (this.variant === 'header') {
|
|
@@ -2601,14 +3021,6 @@ class TableCell {
|
|
|
2601
3021
|
value: this.value,
|
|
2602
3022
|
};
|
|
2603
3023
|
}
|
|
2604
|
-
if (this.variant === 'actions') {
|
|
2605
|
-
return {
|
|
2606
|
-
value: this.value,
|
|
2607
|
-
item: this.item,
|
|
2608
|
-
index: this.index,
|
|
2609
|
-
rowIndex: this.rowIndex,
|
|
2610
|
-
};
|
|
2611
|
-
}
|
|
2612
3024
|
return {
|
|
2613
3025
|
value: this.value ?? objectGetByPath(this.item, this.definition.path),
|
|
2614
3026
|
item: this.item,
|
|
@@ -2618,10 +3030,10 @@ class TableCell {
|
|
|
2618
3030
|
}
|
|
2619
3031
|
}
|
|
2620
3032
|
TableCell.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TableCell, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2621
|
-
TableCell.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: TableCell, selector: "p-table-cell-ngx", inputs: { variant: "variant", index: "index", rowIndex: "rowIndex", definition: "definition", item: "item", value: "value",
|
|
3033
|
+
TableCell.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: TableCell, selector: "p-table-cell-ngx", inputs: { variant: "variant", index: "index", rowIndex: "rowIndex", definition: "definition", item: "item", value: "value", checkbox: "checkbox", template: "template" }, host: { properties: { "class": "this.class" } }, ngImport: i0, template: "<ng-container *ngIf=\"checkbox\">\n\t<ng-container *ngTemplateOutlet=\"checkbox\"></ng-container>\n</ng-container>\n\n<ng-container [ngSwitch]=\"variant\">\n\t<p-loader\n\t\t*ngSwitchCase=\"'loading'\"\n\t\tvariant=\"ghost\"\n\t\tclass=\"h-6 w-full flex-1 rounded\"\n\t></p-loader>\n\n\t<ng-container *ngSwitchCase=\"'actions'\">\n\t\t<ng-container *ngIf=\"template\">\n\t\t\t<ng-container *ngTemplateOutlet=\"template; context: data\"></ng-container>\n\t\t</ng-container>\n\t</ng-container>\n\n\t<div\n\t\t*ngSwitchCase=\"'header'\"\n\t\tclass=\"flex w-full overflow-hidden\"\n\t\t[class.justify-start]=\"definition.align === 'start'\"\n\t\t[class.justify-center]=\"definition.align === 'center'\"\n\t\t[class.justify-end]=\"definition.align === 'end'\"\n\t>\n\t\t<ng-container *ngTemplateOutlet=\"valueTemplate\"></ng-container>\n\t</div>\n\n\t<div\n\t\t*ngSwitchCase=\"'default'\"\n\t\tclass=\"flex min-w-0 flex-1\"\n\t\t[class.justify-start]=\"definition.align === 'start'\"\n\t\t[class.justify-center]=\"definition.align === 'center'\"\n\t\t[class.justify-end]=\"definition.align === 'end'\"\n\t>\n\t\t<ng-container *ngIf=\"template; else valueTemplate\">\n\t\t\t<ng-container *ngTemplateOutlet=\"template; context: data\"></ng-container>\n\t\t</ng-container>\n\t</div>\n</ng-container>\n\n<ng-template #valueTemplate>\n\t{{ data.value }}\n</ng-template>\n", dependencies: [{ kind: "directive", type: i1$2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i1$2.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i1$2.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "component", type: PLoader, selector: "p-loader", inputs: ["color", "modalDescription", "modalTitle", "show", "variant"] }] });
|
|
2622
3034
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TableCell, decorators: [{
|
|
2623
3035
|
type: Component,
|
|
2624
|
-
args: [{ selector: 'p-table-cell-ngx', template: "<ng-container *ngIf=\"checkbox\">\n\t<ng-container *ngTemplateOutlet=\"checkbox\"></ng-container>\n</ng-container>\n\n<ng-container [ngSwitch]=\"variant\">\n\t<p-loader\n\t\t*ngSwitchCase=\"'loading'\"\n\t\tvariant=\"ghost\"\n\t\tclass=\"h-6 w-full flex-1 rounded\"\n\t></p-loader>\n\n\t<ng-container *ngSwitchCase=\"'actions'\">\n\t\t<ng-container *ngIf=\"template\">\n\t\t\t<ng-container *ngTemplateOutlet=\"template; context: data\"></ng-container>\n\t\t</ng-container>\n\t</ng-container>\n\n\t<div\n\t\t*ngSwitchCase=\"'header'\"\n\t\tclass=\"flex w-full overflow-hidden\"\n\t\t[class.justify-start]=\"definition.align === 'start'\"\n\t\t[class.justify-center]=\"definition.align === 'center'\"\n\t\t[class.justify-end]=\"definition.align === 'end'\"\n\t>\n\t\t<ng-container *ngTemplateOutlet=\"valueTemplate\"></ng-container>\n\t</div>\n\n\t<div\n\t\t*ngSwitchCase=\"'default'\"\n\t\tclass=\"flex min-w-0 flex-1\"\n\t\t[class.justify-start]=\"definition.align === 'start'\"\n\t\t[class.justify-center]=\"definition.align === 'center'\"\n\t\t[class.justify-end]=\"definition.align === 'end'\"\n\t>\n\t\t<ng-container *ngIf=\"template; else valueTemplate\">\n\t\t\t<ng-container *ngTemplateOutlet=\"template; context: data\"></ng-container>\n\t\t</ng-container>\n\t</div>\n</ng-container>\n\n<ng-template #valueTemplate>\n\t{{ data.value }}\n</ng-template>\n"
|
|
3036
|
+
args: [{ selector: 'p-table-cell-ngx', template: "<ng-container *ngIf=\"checkbox\">\n\t<ng-container *ngTemplateOutlet=\"checkbox\"></ng-container>\n</ng-container>\n\n<ng-container [ngSwitch]=\"variant\">\n\t<p-loader\n\t\t*ngSwitchCase=\"'loading'\"\n\t\tvariant=\"ghost\"\n\t\tclass=\"h-6 w-full flex-1 rounded\"\n\t></p-loader>\n\n\t<ng-container *ngSwitchCase=\"'actions'\">\n\t\t<ng-container *ngIf=\"template\">\n\t\t\t<ng-container *ngTemplateOutlet=\"template; context: data\"></ng-container>\n\t\t</ng-container>\n\t</ng-container>\n\n\t<div\n\t\t*ngSwitchCase=\"'header'\"\n\t\tclass=\"flex w-full overflow-hidden\"\n\t\t[class.justify-start]=\"definition.align === 'start'\"\n\t\t[class.justify-center]=\"definition.align === 'center'\"\n\t\t[class.justify-end]=\"definition.align === 'end'\"\n\t>\n\t\t<ng-container *ngTemplateOutlet=\"valueTemplate\"></ng-container>\n\t</div>\n\n\t<div\n\t\t*ngSwitchCase=\"'default'\"\n\t\tclass=\"flex min-w-0 flex-1\"\n\t\t[class.justify-start]=\"definition.align === 'start'\"\n\t\t[class.justify-center]=\"definition.align === 'center'\"\n\t\t[class.justify-end]=\"definition.align === 'end'\"\n\t>\n\t\t<ng-container *ngIf=\"template; else valueTemplate\">\n\t\t\t<ng-container *ngTemplateOutlet=\"template; context: data\"></ng-container>\n\t\t</ng-container>\n\t</div>\n</ng-container>\n\n<ng-template #valueTemplate>\n\t{{ data.value }}\n</ng-template>\n" }]
|
|
2625
3037
|
}], propDecorators: { variant: [{
|
|
2626
3038
|
type: Input
|
|
2627
3039
|
}], index: [{
|
|
@@ -2634,8 +3046,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
2634
3046
|
type: Input
|
|
2635
3047
|
}], value: [{
|
|
2636
3048
|
type: Input
|
|
2637
|
-
}], tableHasActions: [{
|
|
2638
|
-
type: Input
|
|
2639
3049
|
}], checkbox: [{
|
|
2640
3050
|
type: Input
|
|
2641
3051
|
}], template: [{
|
|
@@ -3093,6 +3503,7 @@ const defaultSizeOptions = [12, 24, 68, 136];
|
|
|
3093
3503
|
let Table = class Table {
|
|
3094
3504
|
constructor(_changeDetection) {
|
|
3095
3505
|
this._changeDetection = _changeDetection;
|
|
3506
|
+
this.className = 'flex flex-col z-0';
|
|
3096
3507
|
/**
|
|
3097
3508
|
* Wether data is loading
|
|
3098
3509
|
*/
|
|
@@ -3212,13 +3623,13 @@ let Table = class Table {
|
|
|
3212
3623
|
*/
|
|
3213
3624
|
this.enableFooter = true;
|
|
3214
3625
|
/**
|
|
3215
|
-
* Wether to enable
|
|
3626
|
+
* Wether to enable pagination size select
|
|
3216
3627
|
*/
|
|
3217
|
-
this.
|
|
3628
|
+
this.enablePaginationSize = true;
|
|
3218
3629
|
/**
|
|
3219
|
-
* Wether to enable pagination
|
|
3630
|
+
* Wether to enable pagination pages
|
|
3220
3631
|
*/
|
|
3221
|
-
this.
|
|
3632
|
+
this.enablePaginationPages = true;
|
|
3222
3633
|
/**
|
|
3223
3634
|
* Wether to enable export
|
|
3224
3635
|
*/
|
|
@@ -3253,9 +3664,17 @@ let Table = class Table {
|
|
|
3253
3664
|
this.hideOnSinglePage = true;
|
|
3254
3665
|
/* Empty state start */
|
|
3255
3666
|
this.emptyStateType = 'no_filter';
|
|
3256
|
-
this.emptyStateIllustration = '
|
|
3667
|
+
this.emptyStateIllustration = 'table';
|
|
3668
|
+
this.emptyStateActionIcon = 'plus';
|
|
3257
3669
|
this.enableEmptyStateAction = true;
|
|
3258
|
-
this.emptyStateFilteredIllustration = '
|
|
3670
|
+
this.emptyStateFilteredIllustration = 'search';
|
|
3671
|
+
/**
|
|
3672
|
+
* Wether to enable scrolling
|
|
3673
|
+
*/
|
|
3674
|
+
this.enableScroll = false;
|
|
3675
|
+
this.reachedScrollStart$ = new BehaviorSubject(true);
|
|
3676
|
+
this.reachedScrollEnd$ = new BehaviorSubject(false);
|
|
3677
|
+
this._totalWidth = 0;
|
|
3259
3678
|
/**
|
|
3260
3679
|
* Event whenever the empty state is clicked
|
|
3261
3680
|
*/
|
|
@@ -3265,7 +3684,7 @@ let Table = class Table {
|
|
|
3265
3684
|
* Wether to show the shadow or not
|
|
3266
3685
|
*/
|
|
3267
3686
|
this.shadow = true;
|
|
3268
|
-
this.columns = [];
|
|
3687
|
+
this.columns$ = new BehaviorSubject([]);
|
|
3269
3688
|
this.parsedItems = [];
|
|
3270
3689
|
this.loadingRows = Array.from({
|
|
3271
3690
|
length: this.amountOfLoadingRows,
|
|
@@ -3283,19 +3702,14 @@ let Table = class Table {
|
|
|
3283
3702
|
this.filterModalSave = new EventEmitter();
|
|
3284
3703
|
this.filterModalReset = new EventEmitter();
|
|
3285
3704
|
this.rowActionsRow$ = new BehaviorSubject([]);
|
|
3286
|
-
this.rowActionsRowDefinition$ = new BehaviorSubject(undefined);
|
|
3287
3705
|
this.rowActionsFloatingAll$ = new BehaviorSubject([]);
|
|
3288
3706
|
this.rowActionsFloating$ = new BehaviorSubject([]);
|
|
3289
3707
|
this.isMobile$ = new BehaviorSubject(isMobile());
|
|
3708
|
+
this.floatingMenuContainerClass = floatingMenuContainerClass;
|
|
3290
3709
|
this._inputEnableRowSelection = this.enableRowSelection;
|
|
3291
3710
|
this._inputRowSelectionLimit = this.rowSelectionLimit;
|
|
3292
|
-
|
|
3293
|
-
|
|
3294
|
-
this._columnDefinitions = v;
|
|
3295
|
-
this._generateColumns();
|
|
3296
|
-
}
|
|
3297
|
-
get columnDefinitions() {
|
|
3298
|
-
return this._columnDefinitions;
|
|
3711
|
+
this.footerHidden$ = new BehaviorSubject(false);
|
|
3712
|
+
this.cn = cn;
|
|
3299
3713
|
}
|
|
3300
3714
|
set rowActions(v) {
|
|
3301
3715
|
this._rowActions = v;
|
|
@@ -3335,9 +3749,25 @@ let Table = class Table {
|
|
|
3335
3749
|
if (calculateRowSelectionData || changes['selectedRows']) {
|
|
3336
3750
|
this._setRowSelectionData();
|
|
3337
3751
|
}
|
|
3752
|
+
if (changes['enableScroll']?.currentValue) {
|
|
3753
|
+
this._calculateColumnWidths();
|
|
3754
|
+
this._checkChangesSubscriptions();
|
|
3755
|
+
}
|
|
3756
|
+
}
|
|
3757
|
+
ngAfterViewInit() {
|
|
3758
|
+
if (this.columnDefinitions) {
|
|
3759
|
+
this.columnDefinitions.changes.pipe(untilDestroyed(this), debounceTime(100)).subscribe(() => this._generateColumns());
|
|
3760
|
+
this._generateColumns();
|
|
3761
|
+
}
|
|
3762
|
+
if (!this.enableScroll) {
|
|
3763
|
+
return;
|
|
3764
|
+
}
|
|
3765
|
+
this._calculateColumnWidths();
|
|
3766
|
+
this._checkChangesSubscriptions();
|
|
3338
3767
|
}
|
|
3339
3768
|
onResize() {
|
|
3340
3769
|
this._setRowSelectionData();
|
|
3770
|
+
this._calculateColumnWidths();
|
|
3341
3771
|
}
|
|
3342
3772
|
keyDown({ key }) {
|
|
3343
3773
|
if (key !== 'Control' || this._ctrlDown === true) {
|
|
@@ -3391,6 +3821,12 @@ let Table = class Table {
|
|
|
3391
3821
|
}
|
|
3392
3822
|
return actions.filter(a => !a.showFunction || a.showFunction(this.parsedItems[rowIndex]));
|
|
3393
3823
|
}
|
|
3824
|
+
onContainerXScroll(ev) {
|
|
3825
|
+
if (!this.enableScroll) {
|
|
3826
|
+
return;
|
|
3827
|
+
}
|
|
3828
|
+
this._calculateScrollPosition(ev);
|
|
3829
|
+
}
|
|
3394
3830
|
_parseItems(items) {
|
|
3395
3831
|
if (!items) {
|
|
3396
3832
|
this.parsedItems = [];
|
|
@@ -3403,9 +3839,9 @@ let Table = class Table {
|
|
|
3403
3839
|
this.parsedItems = JSON.parse(items);
|
|
3404
3840
|
}
|
|
3405
3841
|
_generateColumns() {
|
|
3406
|
-
let definitionsArray = Array.from(this.
|
|
3842
|
+
let definitionsArray = Array.from(this.columnDefinitions);
|
|
3407
3843
|
definitionsArray = this._parseDefinitions(definitionsArray);
|
|
3408
|
-
this.columns
|
|
3844
|
+
this.columns$.next(definitionsArray);
|
|
3409
3845
|
}
|
|
3410
3846
|
_checkboxDisabled(item, rowIndex) {
|
|
3411
3847
|
const selectionContains = this._selectionContains(item, rowIndex);
|
|
@@ -3418,9 +3854,7 @@ let Table = class Table {
|
|
|
3418
3854
|
if (!this.enableRowSelection) {
|
|
3419
3855
|
return;
|
|
3420
3856
|
}
|
|
3421
|
-
const value = forceValue === undefined
|
|
3422
|
-
? this._getCheckedValue($event.target)
|
|
3423
|
-
: forceValue;
|
|
3857
|
+
const value = forceValue === undefined ? $event.detail : forceValue;
|
|
3424
3858
|
if (value) {
|
|
3425
3859
|
const toAdd = [];
|
|
3426
3860
|
for (let i = 0; i < this.parsedItems.length; i++) {
|
|
@@ -3678,11 +4112,10 @@ let Table = class Table {
|
|
|
3678
4112
|
enableRowSelection = true;
|
|
3679
4113
|
}
|
|
3680
4114
|
this.enableRowSelection = enableRowSelection;
|
|
3681
|
-
this.rowActionsRowDefinition$.next(this._parseRowActionsRowDefinition());
|
|
3682
4115
|
this.rowActionsRow$.next(rowActionsRow);
|
|
3683
4116
|
this.rowActionsFloatingAll$.next(rowActionsFloating);
|
|
3684
4117
|
this.floatingMenuShown$
|
|
3685
|
-
.pipe(take(1), filter
|
|
4118
|
+
.pipe(take(1), filter(v => !!v))
|
|
3686
4119
|
.subscribe(() => this._showFloatingMenu());
|
|
3687
4120
|
}, 200);
|
|
3688
4121
|
}
|
|
@@ -3699,41 +4132,10 @@ let Table = class Table {
|
|
|
3699
4132
|
});
|
|
3700
4133
|
}
|
|
3701
4134
|
_parseDefinitions(definitionsArray) {
|
|
3702
|
-
|
|
4135
|
+
return definitionsArray.map(definition => {
|
|
3703
4136
|
definition = this._parseDefinitionSizes(definition);
|
|
3704
|
-
definition.isLast = {};
|
|
3705
4137
|
return definition;
|
|
3706
4138
|
});
|
|
3707
|
-
const matchedIsLast = tableColumSizesOptions.reduce((data, size) => {
|
|
3708
|
-
data[size] = false;
|
|
3709
|
-
return data;
|
|
3710
|
-
}, {});
|
|
3711
|
-
for (let i = definitions.length - 1; i >= 0; i--) {
|
|
3712
|
-
const definition = definitions[i];
|
|
3713
|
-
for (const size of tableColumSizesOptions) {
|
|
3714
|
-
if (matchedIsLast[size]) {
|
|
3715
|
-
definition.isLast[size] = false;
|
|
3716
|
-
continue;
|
|
3717
|
-
}
|
|
3718
|
-
if (definition.parsedSizes[size] === 'hidden') {
|
|
3719
|
-
definition.isLast[size] = false;
|
|
3720
|
-
continue;
|
|
3721
|
-
}
|
|
3722
|
-
const isLastAtSizeFound = this._findLastDefinitionBySize(definitions, size);
|
|
3723
|
-
if (isLastAtSizeFound) {
|
|
3724
|
-
definition.isLast[size] = false;
|
|
3725
|
-
continue;
|
|
3726
|
-
}
|
|
3727
|
-
definition.isLast[size] = true;
|
|
3728
|
-
}
|
|
3729
|
-
}
|
|
3730
|
-
return definitions;
|
|
3731
|
-
}
|
|
3732
|
-
_findLastDefinitionBySize(definitions, size) {
|
|
3733
|
-
return definitions
|
|
3734
|
-
.slice()
|
|
3735
|
-
.reverse()
|
|
3736
|
-
.find(d => d.isLast[size] === true);
|
|
3737
4139
|
}
|
|
3738
4140
|
_parseDefinitionSizes(definition) {
|
|
3739
4141
|
const definitionAny = definition;
|
|
@@ -3754,35 +4156,94 @@ let Table = class Table {
|
|
|
3754
4156
|
definition.parsedSizes = parsedSizes;
|
|
3755
4157
|
return definition;
|
|
3756
4158
|
}
|
|
3757
|
-
|
|
3758
|
-
|
|
3759
|
-
|
|
3760
|
-
return data;
|
|
3761
|
-
}, {});
|
|
3762
|
-
const sizes = { default: 0 };
|
|
3763
|
-
for (const size of tableColumSizesOptions) {
|
|
3764
|
-
const lastColumn = this._findLastDefinitionBySize(this.columns, size);
|
|
3765
|
-
sizes[size] = lastColumn.parsedSizes[size];
|
|
4159
|
+
_checkChangesSubscriptions() {
|
|
4160
|
+
if (!this._rowChangesSubscription && this.tableRows) {
|
|
4161
|
+
this._rowChangesSubscription = this.tableRows.changes.pipe(untilDestroyed(this), debounceTime(100)).subscribe(() => this._calculateColumnWidths());
|
|
3766
4162
|
}
|
|
3767
|
-
|
|
3768
|
-
|
|
3769
|
-
|
|
3770
|
-
|
|
3771
|
-
|
|
3772
|
-
|
|
3773
|
-
|
|
3774
|
-
}
|
|
4163
|
+
if (!this._cellChangesSubscription && this.tableCells) {
|
|
4164
|
+
this._cellChangesSubscription = this.tableCells.changes.pipe(untilDestroyed(this), debounceTime(100)).subscribe(() => this._calculateColumnWidths());
|
|
4165
|
+
}
|
|
4166
|
+
}
|
|
4167
|
+
_calculateColumnWidths() {
|
|
4168
|
+
if (!this.tableCells || !this.tableRows) {
|
|
4169
|
+
return;
|
|
4170
|
+
}
|
|
4171
|
+
if (this._calculateColumnWidthsTimeout) {
|
|
4172
|
+
clearTimeout(this._calculateColumnWidthsTimeout);
|
|
4173
|
+
this._calculateColumnWidthsTimeout = 0;
|
|
4174
|
+
}
|
|
4175
|
+
const rows = this.tableRows.map(c => c.nativeElement);
|
|
4176
|
+
const cells = this.tableCells.map(c => c.nativeElement);
|
|
4177
|
+
this._calculateColumnWidthsTimeout = setTimeout(async () => {
|
|
4178
|
+
this._setRowsWidth(rows);
|
|
4179
|
+
const promises = [];
|
|
4180
|
+
for (const cell of cells) {
|
|
4181
|
+
if (cell.style.width?.length) {
|
|
4182
|
+
cell.style.width = '';
|
|
4183
|
+
}
|
|
4184
|
+
promises.push(new Promise(resolve => setTimeout(() => {
|
|
4185
|
+
const rect = cell.getBoundingClientRect();
|
|
4186
|
+
cell.setAttribute('style', `width: ${rect.width}px !important`);
|
|
4187
|
+
resolve();
|
|
4188
|
+
}, 100)));
|
|
4189
|
+
}
|
|
4190
|
+
await Promise.all(promises);
|
|
4191
|
+
this._setRowsWidth(rows, 'min-content');
|
|
4192
|
+
this._resetScrollPosition();
|
|
4193
|
+
}, 200);
|
|
4194
|
+
}
|
|
4195
|
+
_setRowsWidth(rows, value = null) {
|
|
4196
|
+
for (let i = 0; i < rows.length; i++) {
|
|
4197
|
+
const row = rows[i];
|
|
4198
|
+
const shadow = row.shadowRoot;
|
|
4199
|
+
if (!shadow) {
|
|
4200
|
+
continue;
|
|
4201
|
+
}
|
|
4202
|
+
const firstDiv = shadow.querySelector('*:nth-child(1)');
|
|
4203
|
+
if (!firstDiv) {
|
|
4204
|
+
continue;
|
|
4205
|
+
}
|
|
4206
|
+
const secondDiv = firstDiv.querySelector('*:nth-child(1)');
|
|
4207
|
+
if (!secondDiv) {
|
|
4208
|
+
continue;
|
|
4209
|
+
}
|
|
4210
|
+
if (value === null) {
|
|
4211
|
+
firstDiv.setAttribute('style', '');
|
|
4212
|
+
secondDiv.setAttribute('style', '');
|
|
4213
|
+
continue;
|
|
4214
|
+
}
|
|
4215
|
+
firstDiv.setAttribute('style', 'width: min-content;');
|
|
4216
|
+
secondDiv.setAttribute('style', 'width: min-content;');
|
|
4217
|
+
if (i === 0) {
|
|
4218
|
+
this._totalWidth = firstDiv.getBoundingClientRect().width;
|
|
4219
|
+
}
|
|
4220
|
+
}
|
|
4221
|
+
}
|
|
4222
|
+
_resetScrollPosition() {
|
|
4223
|
+
if (this.scrollContainer) {
|
|
4224
|
+
this.scrollContainer.nativeElement.scrollLeft = 0;
|
|
4225
|
+
}
|
|
4226
|
+
this.reachedScrollStart$.next(true);
|
|
4227
|
+
this.reachedScrollEnd$.next(false);
|
|
4228
|
+
}
|
|
4229
|
+
_calculateScrollPosition({ target }) {
|
|
4230
|
+
this.reachedScrollStart$.next(target.scrollLeft < 100);
|
|
4231
|
+
const right = target.scrollLeft + target.getBoundingClientRect().width;
|
|
4232
|
+
this.reachedScrollEnd$.next(right > this._totalWidth - 100);
|
|
3775
4233
|
}
|
|
3776
4234
|
};
|
|
3777
4235
|
Table.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: Table, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
3778
|
-
Table.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: Table, selector: "p-table-ngx", inputs: { items: "items", loading: "loading", headerLoading: "headerLoading", footerLoading: "footerLoading", amountOfLoadingRows: "amountOfLoadingRows", enableRowSelection: "enableRowSelection", rowSelectionLimit: "rowSelectionLimit", enableRowClick: "enableRowClick", selectedRows: "selectedRows", selectionKey: "selectionKey", canSelectKey: "canSelectKey", enableFloatingMenu: "enableFloatingMenu", floatingMenuAmountSelectedText: "floatingMenuAmountSelectedText", floatingMenuAmountSelectedTemplate: "floatingMenuAmountSelectedTemplate", enableHeader: "enableHeader", quickFilters: "quickFilters", activeQuickFilterIdentifier: "activeQuickFilterIdentifier", enableSearch: "enableSearch", query: "query", enableFilter: "enableFilter", enableFilterDesktop: "enableFilterDesktop", selectedFiltersAmount: "selectedFiltersAmount", filterButtonTemplate: "filterButtonTemplate", enableAction: "enableAction", actionButtonLoading: "actionButtonLoading", actionButtonIcon: "actionButtonIcon", actionButtonEnabled: "actionButtonEnabled", actionButtonText: "actionButtonText", actionButtonTemplate: "actionButtonTemplate", enableFooter: "enableFooter", enablePageSize: "enablePageSize", enablePagination: "enablePagination", enableExport: "enableExport", page: "page", total: "total", pageSize: "pageSize", pageSizeOptions: "pageSizeOptions", hideOnSinglePage: "hideOnSinglePage", emptyStateType: "emptyStateType", emptyStateIllustration: "emptyStateIllustration", emptyStateHeader: "emptyStateHeader", emptyStateContent: "emptyStateContent", emptyStateAction: "emptyStateAction", enableEmptyStateAction: "enableEmptyStateAction", emptyStateFilteredIllustration: "emptyStateFilteredIllustration", emptyStateFilteredHeader: "emptyStateFilteredHeader", emptyStateFilteredContent: "emptyStateFilteredContent", shadow: "shadow", filterModalHeaderText: "filterModalHeaderText", filterModalSaveText: "filterModalSaveText", filterModalCancelText: "filterModalCancelText", filterModalResetText: "filterModalResetText", filterModalShowReset: "filterModalShowReset", filterModalShowResetMobile: "filterModalShowResetMobile" }, outputs: { selectedRowsChange: "selectedRowsChange", rowClick: "rowClick", rowSelected: "rowSelected", rowDeselected: "rowDeselected", quickFilter: "quickFilter", queryChange: "queryChange", filter: "filter", action: "action", pageChange: "pageChange", pageSizeChange: "pageSizeChange", export: "export", emptyStateActionClick: "emptyStateActionClick", filterModalShow: "filterModalShow", filterModalSave: "filterModalSave", filterModalReset: "filterModalReset" }, host: { listeners: { "window:resize": "onResize($event)", "document:keydown": "keyDown($event)", "document:keyup": "keyUp($event)", "document:visibilitychange": "visibilityChange($event)" } }, queries: [{ propertyName: "headerCustomFilterTemplate", first: true, predicate: TableCustomFilterDirective, descendants: true, read: TemplateRef, static: true }, { propertyName: "headerCustomActionsTemplate", first: true, predicate: TableCustomActionsDirective, descendants: true, read: TemplateRef, static: true }, { propertyName: "filterModalTemplate", first: true, predicate: TableFilterModalDirective, descendants: true, read: TemplateRef, static: true }, { propertyName: "columnDefinitions", predicate: TableColumn }, { propertyName: "rowActions", predicate: TableRowAction }], usesOnChanges: true, ngImport: i0, template: "<p-table-container [shadow]=\"shadow\">\n\t<p-table-header\n\t\t*ngIf=\"enableHeader\"\n\t\t[quickFilters]=\"quickFilters\"\n\t\t[activeQuickFilterIdentifier]=\"activeQuickFilterIdentifier\"\n\t\t(quickFilter)=\"onQuickFilter($event)\"\n\t\t[enableSearch]=\"enableSearch\"\n\t\t[query]=\"query\"\n\t\t(queryChange)=\"onQueryChange($event)\"\n\t\t[enableFilter]=\"enableFilter\"\n\t\t[enableFilterDesktop]=\"enableFilterDesktop\"\n\t\t[selectedFiltersAmount]=\"selectedFiltersAmount\"\n\t\t[filterButtonTemplate]=\"filterButtonTemplate\"\n\t\t(filter)=\"filterModalShow$.next(true)\"\n\t\t[enableAction]=\"enableAction\"\n\t\t[canUseAction]=\"actionButtonEnabled\"\n\t\t[actionButtonTemplate]=\"actionButtonTemplate\"\n\t\t[actionLoading]=\"actionButtonLoading\"\n\t\t[actionText]=\"actionButtonText\"\n\t\t[actionIcon]=\"actionButtonIcon\"\n\t\t(action)=\"action.emit()\"\n\t\t[itemsSelectedAmount]=\"selectedRows.length\"\n\t\t[loading]=\"headerLoading\"\n\t>\n\t\t<ng-container *ngIf=\"headerCustomFilterTemplate\">\n\t\t\t<ng-container\n\t\t\t\t*ngTemplateOutlet=\"headerCustomFilterTemplate\"\n\t\t\t></ng-container>\n\t\t</ng-container>\n\n\t\t<ng-container *ngIf=\"headerCustomActionsTemplate\">\n\t\t\t<ng-container\n\t\t\t\t*ngTemplateOutlet=\"headerCustomActionsTemplate\"\n\t\t\t></ng-container>\n\t\t</ng-container>\n\t</p-table-header>\n\n\t<p-table-row variant=\"header\">\n\t\t<ng-container *ngFor=\"let col of columns; let index = index\">\n\t\t\t<p-table-cell-ngx\n\t\t\t\t[definition]=\"col\"\n\t\t\t\t[value]=\"col.name\"\n\t\t\t\tvariant=\"header\"\n\t\t\t\t[index]=\"index\"\n\t\t\t\t[checkbox]=\"\n\t\t\t\t\t(index === 0 || col.hasCheckbox) && enableRowSelection\n\t\t\t\t\t\t? checkboxTemplate\n\t\t\t\t\t\t: undefined\n\t\t\t\t\"\n\t\t\t></p-table-cell-ngx>\n\t\t\t<ng-template #checkboxTemplate>\n\t\t\t\t<input\n\t\t\t\t\tclass=\"p-input\"\n\t\t\t\t\ttype=\"checkbox\"\n\t\t\t\t\t(change)=\"_selectAllChange($event)\"\n\t\t\t\t\t[checked]=\"_selectionContainsAll()\"\n\t\t\t\t\t[indeterminate]=\"_selectionIndeterminate()\"\n\t\t\t\t\t[class.opacity-0]=\"rowSelectionLimit !== undefined\"\n\t\t\t\t\t[disabled]=\"rowSelectionLimit !== undefined\"\n\t\t\t\t/>\n\t\t\t</ng-template>\n\t\t</ng-container>\n\t</p-table-row>\n\n\t<div class=\"flex flex-1 flex-col\">\n\t\t<ng-container *ngIf=\"loading; else contentTemplate\">\n\t\t\t<p-table-row\n\t\t\t\t*ngFor=\"let r of loadingRows; let rowIndex = index\"\n\t\t\t\t[enableHover]=\"enableRowSelection || enableRowClick\"\n\t\t\t>\n\t\t\t\t<ng-container *ngFor=\"let col of columns; let index = index\">\n\t\t\t\t\t<p-table-cell-ngx\n\t\t\t\t\t\t[definition]=\"col\"\n\t\t\t\t\t\tvariant=\"loading\"\n\t\t\t\t\t\t[checkbox]=\"\n\t\t\t\t\t\t\t(index === 0 || col.hasCheckbox) && enableRowSelection\n\t\t\t\t\t\t\t\t? checkboxTemplate\n\t\t\t\t\t\t\t\t: undefined\n\t\t\t\t\t\t\"\n\t\t\t\t\t\t[index]=\"index\"\n\t\t\t\t\t\t[rowIndex]=\"rowIndex\"\n\t\t\t\t\t></p-table-cell-ngx>\n\t\t\t\t\t<ng-template #checkboxTemplate>\n\t\t\t\t\t\t<p-loader\n\t\t\t\t\t\t\tvariant=\"ghost\"\n\t\t\t\t\t\t\tclass=\"h-6 w-6 rounded\"\n\t\t\t\t\t\t></p-loader>\n\t\t\t\t\t</ng-template>\n\t\t\t\t</ng-container>\n\t\t\t</p-table-row>\n\t\t</ng-container>\n\n\t\t<ng-template #contentTemplate>\n\t\t\t<ng-container *ngIf=\"parsedItems?.length; else emptyStateTemplate\">\n\t\t\t\t<p-table-row\n\t\t\t\t\t*ngFor=\"let item of parsedItems; let rowIndex = index\"\n\t\t\t\t\t[enableHover]=\"enableRowSelection || enableRowClick\"\n\t\t\t\t\t(click)=\"_rowClick($event, rowIndex)\"\n\t\t\t\t>\n\t\t\t\t\t<ng-container\n\t\t\t\t\t\t*ngIf=\"\n\t\t\t\t\t\t\tparseRowActionsRow(\n\t\t\t\t\t\t\t\trowActionsRow$ | async,\n\t\t\t\t\t\t\t\trowIndex\n\t\t\t\t\t\t\t) as rowActionsRow\n\t\t\t\t\t\t\"\n\t\t\t\t\t>\n\t\t\t\t\t\t<ng-container *ngFor=\"let col of columns; let index = index\">\n\t\t\t\t\t\t\t<p-table-cell-ngx\n\t\t\t\t\t\t\t\t[definition]=\"col\"\n\t\t\t\t\t\t\t\t[item]=\"item\"\n\t\t\t\t\t\t\t\t[checkbox]=\"\n\t\t\t\t\t\t\t\t\t(index === 0 || col.hasCheckbox) && enableRowSelection\n\t\t\t\t\t\t\t\t\t\t? checkboxTemplate\n\t\t\t\t\t\t\t\t\t\t: undefined\n\t\t\t\t\t\t\t\t\"\n\t\t\t\t\t\t\t\t[index]=\"index\"\n\t\t\t\t\t\t\t\t[rowIndex]=\"rowIndex\"\n\t\t\t\t\t\t\t\t[template]=\"col.template\"\n\t\t\t\t\t\t\t\t[tableHasActions]=\"\n\t\t\t\t\t\t\t\t\t!!rowActionsRow?.length && !(isMobile$ | async)\n\t\t\t\t\t\t\t\t\"\n\t\t\t\t\t\t\t></p-table-cell-ngx>\n\n\t\t\t\t\t\t\t<ng-template #checkboxTemplate>\n\t\t\t\t\t\t\t\t<input\n\t\t\t\t\t\t\t\t\tclass=\"p-input\"\n\t\t\t\t\t\t\t\t\ttype=\"checkbox\"\n\t\t\t\t\t\t\t\t\t(change)=\"_checkboxChange($event.target, rowIndex)\"\n\t\t\t\t\t\t\t\t\t[disabled]=\"_checkboxDisabled(item, rowIndex)\"\n\t\t\t\t\t\t\t\t\t[checked]=\"_selectionContains(item, rowIndex)\"\n\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t</ng-template>\n\t\t\t\t\t\t</ng-container>\n\n\t\t\t\t\t\t<ng-container\n\t\t\t\t\t\t\t*ngIf=\"\n\t\t\t\t\t\t\t\t!!rowActionsRow?.length &&\n\t\t\t\t\t\t\t\t!!(rowActionsRowDefinition$ | async) &&\n\t\t\t\t\t\t\t\t!(isMobile$ | async)\n\t\t\t\t\t\t\t\"\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t<p-table-cell-ngx\n\t\t\t\t\t\t\t\tvariant=\"actions\"\n\t\t\t\t\t\t\t\t[definition]=\"rowActionsRowDefinition$ | async\"\n\t\t\t\t\t\t\t\t[item]=\"parsedItems[rowIndex]\"\n\t\t\t\t\t\t\t\t[index]=\"columns.length - 1\"\n\t\t\t\t\t\t\t\t[rowIndex]=\"rowIndex\"\n\t\t\t\t\t\t\t\t[tableHasActions]=\"!!rowActionsRow?.length\"\n\t\t\t\t\t\t\t\t[template]=\"actionsTemplate\"\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t</p-table-cell-ngx>\n\n\t\t\t\t\t\t\t<ng-template #actionsTemplate>\n\t\t\t\t\t\t\t\t<div class=\"ml-auto flex items-center gap-2\">\n\t\t\t\t\t\t\t\t\t<ng-container *ngFor=\"let action of rowActionsRow\">\n\t\t\t\t\t\t\t\t\t\t<p-tooltip\n\t\t\t\t\t\t\t\t\t\t\t*ngIf=\"\n\t\t\t\t\t\t\t\t\t\t\t\taction.showFunction\n\t\t\t\t\t\t\t\t\t\t\t\t\t? action.showFunction(parsedItems[rowIndex])\n\t\t\t\t\t\t\t\t\t\t\t\t\t: true\n\t\t\t\t\t\t\t\t\t\t\t\"\n\t\t\t\t\t\t\t\t\t\t\t[content]=\"action.label\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t<p-button\n\t\t\t\t\t\t\t\t\t\t\t\tdata-is-action\n\t\t\t\t\t\t\t\t\t\t\t\tvariant=\"secondary\"\n\t\t\t\t\t\t\t\t\t\t\t\tslot=\"trigger\"\n\t\t\t\t\t\t\t\t\t\t\t\t[icon]=\"action.icon\"\n\t\t\t\t\t\t\t\t\t\t\t\t[iconRotate]=\"action.iconRotate\"\n\t\t\t\t\t\t\t\t\t\t\t\ticonFlip=\"action.iconFlip\"\n\t\t\t\t\t\t\t\t\t\t\t\ticonOnly=\"true\"\n\t\t\t\t\t\t\t\t\t\t\t\tsize=\"sm\"\n\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[disabled]=\"action.disabled\"\n\t\t\t\t\t\t\t\t\t\t\t\t[routerLink]=\"\n\t\t\t\t\t\t\t\t\t\t\t\t\taction.routerLink\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t? (_getActionRouterLink(action.routerLink, rowIndex)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t | async)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t: null\n\t\t\t\t\t\t\t\t\t\t\t\t\"\n\t\t\t\t\t\t\t\t\t\t\t\t[queryParams]=\"\n\t\t\t\t\t\t\t\t\t\t\t\t\taction.queryParams\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t? (_getActionQueryParams(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\taction.queryParams,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\trowIndex\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t ) | async)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t: null\n\t\t\t\t\t\t\t\t\t\t\t\t\"\n\t\t\t\t\t\t\t\t\t\t\t\t(onClick)=\"_rowActionClick(action, rowIndex)\"\n\t\t\t\t\t\t\t\t\t\t\t></p-button>\n\t\t\t\t\t\t\t\t\t\t</p-tooltip>\n\t\t\t\t\t\t\t\t\t</ng-container>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t</ng-template>\n\t\t\t\t\t\t</ng-container>\n\t\t\t\t\t</ng-container>\n\t\t\t\t</p-table-row>\n\t\t\t</ng-container>\n\t\t</ng-template>\n\t</div>\n\n\t<p-table-footer\n\t\t*ngIf=\"enableFooter\"\n\t\t[hideOnSinglePage]=\"hideOnSinglePage\"\n\t\t[enablePageSize]=\"enablePageSize\"\n\t\t[pageSize]=\"pageSize\"\n\t\t[pageSizeOptions]=\"pageSizeOptions\"\n\t\t(pageSizeChange)=\"onPageSizeChange($event)\"\n\t\t[enablePagination]=\"enablePagination\"\n\t\t[page]=\"page\"\n\t\t[total]=\"total\"\n\t\t(pageChange)=\"onPageChange($event)\"\n\t\t[enableExport]=\"enableExport\"\n\t\t(export)=\"export.emit()\"\n\t\t[loading]=\"footerLoading\"\n\t></p-table-footer>\n\n\t<ng-container *ngIf=\"enableFloatingMenu && enableRowSelection\">\n\t\t<p-floating-menu-container\n\t\t\t[usedInTable]=\"true\"\n\t\t\t[class.inactive]=\"!selectedRows.length\"\n\t\t\t[class.shown]=\"floatingMenuShown$ | async\"\n\t\t>\n\t\t\t<p-floating-menu-item\n\t\t\t\t[hover]=\"false\"\n\t\t\t\tslot=\"floating-menu-item\"\n\t\t\t\t[class]=\"{\n\t\t\t\t\thidden: !!(rowActionsFloating$ | async)?.length,\n\t\t\t\t\t'tablet:flex': !!(rowActionsFloating$ | async)?.length\n\t\t\t\t}\"\n\t\t\t>\n\t\t\t\t{{ floatingMenuAmountSelectedText }}\n\t\t\t</p-floating-menu-item>\n\t\t\t<p-divider\n\t\t\t\tclass=\"mx-0 text-storm\"\n\t\t\t\tvariant=\"vertical\"\n\t\t\t\tslot=\"floating-menu-item\"\n\t\t\t\t[class]=\"{\n\t\t\t\t\thidden: !!(rowActionsFloating$ | async)?.length,\n\t\t\t\t\t'tablet:flex': !!(rowActionsFloating$ | async)?.length\n\t\t\t\t}\"\n\t\t\t></p-divider>\n\n\t\t\t<p-floating-menu-item\n\t\t\t\t*ngFor=\"let action of rowActionsFloating$ | async\"\n\t\t\t\tslot=\"floating-menu-item\"\n\t\t\t\t[disabled]=\"\n\t\t\t\t\t(action.type === 'single' && selectedRows.length > 1) ||\n\t\t\t\t\taction.disabled\n\t\t\t\t\"\n\t\t\t\t(click)=\"_rowActionClick(action)\"\n\t\t\t>\n\t\t\t\t{{ action.label }}\n\n\t\t\t\t<p-loader\n\t\t\t\t\t*ngIf=\"action.loading; else floatingMenuItemIconTemplate\"\n\t\t\t\t></p-loader>\n\n\t\t\t\t<ng-template #floatingMenuItemIconTemplate>\n\t\t\t\t\t<p-icon\n\t\t\t\t\t\t[variant]=\"action.icon\"\n\t\t\t\t\t\t[rotate]=\"action.iconRotate\"\n\t\t\t\t\t\t[flip]=\"action.iconFlip\"\n\t\t\t\t\t></p-icon>\n\t\t\t\t</ng-template>\n\t\t\t</p-floating-menu-item>\n\n\t\t\t<p-divider\n\t\t\t\tclass=\"mx-0 text-storm\"\n\t\t\t\tvariant=\"vertical\"\n\t\t\t\tslot=\"floating-menu-item\"\n\t\t\t></p-divider>\n\n\t\t\t<p-floating-menu-item\n\t\t\t\t(click)=\"_selectAllChange(null, false)\"\n\t\t\t\tslot=\"floating-menu-item\"\n\t\t\t>\n\t\t\t\t<p-icon variant=\"negative\"></p-icon>\n\t\t\t</p-floating-menu-item>\n\t\t</p-floating-menu-container>\n\t</ng-container>\n</p-table-container>\n\n<ng-container *ngIf=\"filterModalTemplate\">\n\t<p-modal\n\t\t[header]=\"filterModalHeaderText\"\n\t\t[show]=\"filterModalShow$ | async\"\n\t\t(closed)=\"filterModalShow$.next(false)\"\n\t>\n\t\t<div\n\t\t\tslot=\"content\"\n\t\t\tclass=\"flex flex-col gap-6\"\n\t\t>\n\t\t\t<ng-container *ngTemplateOutlet=\"filterModalTemplate\"></ng-container>\n\t\t</div>\n\t\t<div\n\t\t\tslot=\"footer\"\n\t\t\tclass=\"flex w-full justify-between gap-4\"\n\t\t>\n\t\t\t<p-button\n\t\t\t\t*ngIf=\"filterModalShowResetMobile\"\n\t\t\t\tclass=\"flex w-full tablet:w-auto desktop-xs:hidden\"\n\t\t\t\tvariant=\"secondary\"\n\t\t\t\t(onClick)=\"onFilterModalReset(true)\"\n\t\t\t>\n\t\t\t\t{{ filterModalResetText }}\n\t\t\t</p-button>\n\t\t\t<p-button\n\t\t\t\t*ngIf=\"filterModalShowReset\"\n\t\t\t\tclass=\"hidden w-full tablet:w-auto desktop-xs:flex\"\n\t\t\t\tvariant=\"secondary\"\n\t\t\t\t(onClick)=\"onFilterModalReset()\"\n\t\t\t>\n\t\t\t\t{{ filterModalResetText }}\n\t\t\t</p-button>\n\t\t\t<p-button\n\t\t\t\tclass=\"ml-auto w-full tablet:w-auto\"\n\t\t\t\ticon=\"checkmark\"\n\t\t\t\t(onClick)=\"onFilterModalSave()\"\n\t\t\t>\n\t\t\t\t{{ filterModalSaveText }}\n\t\t\t</p-button>\n\t\t</div>\n\t</p-modal>\n</ng-container>\n\n<ng-template #emptyStateTemplate>\n\t<div\n\t\t*ngIf=\"emptyStateType === 'filtered'; else emptyStateNonFilterTemplate\"\n\t\tclass=\"flex max-w-[20rem] flex-col items-center self-center py-24 text-center\"\n\t>\n\t\t<p-illustration\n\t\t\t[variant]=\"emptyStateFilteredIllustration\"\n\t\t\tclass=\"mb-6\"\n\t\t></p-illustration>\n\t\t<p class=\"text-storm-default font-semibold\">\n\t\t\t{{ emptyStateFilteredHeader }}\n\t\t</p>\n\t\t<p class=\"mb-14 text-sm text-storm-medium\">\n\t\t\t{{ emptyStateFilteredContent }}\n\t\t</p>\n\t</div>\n</ng-template>\n\n<ng-template #emptyStateNonFilterTemplate>\n\t<div\n\t\tclass=\"flex max-w-[20rem] flex-col items-center self-center py-24 text-center\"\n\t\t[class.cursor-pointer]=\"enableEmptyStateAction\"\n\t\t(click)=\"emptyStateClicked()\"\n\t>\n\t\t<p-illustration\n\t\t\t[variant]=\"emptyStateIllustration\"\n\t\t\tclass=\"mb-6\"\n\t\t></p-illustration>\n\t\t<p class=\"text-storm-default font-semibold\">\n\t\t\t{{ emptyStateHeader }}\n\t\t</p>\n\t\t<p class=\"mb-6 text-sm text-storm-medium\">\n\t\t\t{{ emptyStateContent }}\n\t\t</p>\n\t\t<p-button\n\t\t\t*ngIf=\"enableEmptyStateAction\"\n\t\t\tvariant=\"secondary\"\n\t\t\ticon=\"plus\"\n\t\t\tsize=\"sm\"\n\t\t>\n\t\t\t{{ emptyStateAction }}\n\t\t</p-button>\n\t</div>\n</ng-template>\n", styles: [":host{position:relative;display:flex;flex-direction:column}:host .p-input[type=checkbox]{flex-shrink:0}:host p-table-container{position:relative}:host p-table-container p-floating-menu-container{position:fixed;bottom:1rem;left:50%;--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));animation:forwards floatingMenuContainerIn .3s ease!important}@media (min-width: 40rem){:host p-table-container p-floating-menu-container{position:absolute;bottom:4rem}}:host p-table-container p-floating-menu-container:not(.shown){display:none}:host p-table-container p-floating-menu-container.inactive{animation:forwards floatingMenuContainerOut .3s ease!important}@keyframes floatingMenuContainerOut{0%{display:flex;transform:translateY(0) translate(-50%);opacity:100}99%{transform:translateY(100%) translate(-50%);opacity:0;display:flex}to{transform:translateY(100%) translate(-50%);opacity:0;display:none}}@keyframes floatingMenuContainerIn{0%{transform:translateY(100%) translate(-50%);opacity:0;display:none}1%{transform:translateY(100%) translate(-50%);opacity:0;display:flex}to{transform:translateY(0) translate(-50%);opacity:100;display:flex}}\n"], dependencies: [{ kind: "directive", type: i1$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i2.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "component", type: PButton, selector: "p-button", inputs: ["active", "as", "buttonGroupPosition", "chevron", "chevronPosition", "class", "disabled", "href", "icon", "iconFlip", "iconOnly", "iconPosition", "iconRotate", "inheritText", "loading", "size", "target", "type", "underline", "variant"] }, { kind: "component", type: PDivider, selector: "p-divider", inputs: ["variant"] }, { kind: "component", type: PFloatingMenuContainer, selector: "p-floating-menu-container", inputs: ["usedInTable"] }, { kind: "component", type: PFloatingMenuItem, selector: "p-floating-menu-item", inputs: ["disabled", "hover"] }, { kind: "component", type: PIcon, selector: "p-icon", inputs: ["flip", "rotate", "size", "variant"] }, { kind: "component", type: PIllustration, selector: "p-illustration", inputs: ["variant"] }, { kind: "component", type: PLoader, selector: "p-loader", inputs: ["color", "modalDescription", "modalTitle", "show", "variant"] }, { kind: "component", type: PModal, selector: "p-modal", inputs: ["applyBlur", "backdropClickClose", "header", "padding", "scrollLock", "show", "showClose", "showMobileFooter", "size", "variant"] }, { kind: "component", type: PTableContainer, selector: "p-table-container", inputs: ["shadow"] }, { kind: "component", type: PTableFooter, selector: "p-table-footer", inputs: ["enableExport", "enablePageSize", "enablePagination", "hideOnSinglePage", "loading", "page", "pageSize", "pageSizeOptions", "total"] }, { kind: "component", type: PTableHeader, selector: "p-table-header", inputs: ["actionButtonTemplate", "actionIcon", "actionLoading", "actionText", "activeQuickFilterIdentifier", "canUseAction", "enableAction", "enableFilter", "enableFilterDesktop", "enableSearch", "filterButtonTemplate", "itemsSelectedAmount", "loading", "query", "quickFilters", "selectedFiltersAmount"] }, { kind: "component", type: PTableRow, selector: "p-table-row", inputs: ["enableHover", "variant"] }, { kind: "component", type: PTooltip, selector: "p-tooltip", inputs: ["canManuallyClose", "content", "enableUserInput", "offset", "placement", "show", "strategy", "variant"] }, { kind: "component", type: TableCell, selector: "p-table-cell-ngx", inputs: ["variant", "index", "rowIndex", "definition", "item", "value", "tableHasActions", "checkbox", "template"] }, { kind: "directive", type: TableFooterDirective, selector: "p-table-footer" }, { kind: "directive", type: TableHeaderDirective, selector: "p-table-header" }, { kind: "pipe", type: i1$1.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
4236
|
+
Table.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: Table, selector: "p-table-ngx", inputs: { items: "items", loading: "loading", headerLoading: "headerLoading", footerLoading: "footerLoading", amountOfLoadingRows: "amountOfLoadingRows", enableRowSelection: "enableRowSelection", rowSelectionLimit: "rowSelectionLimit", enableRowClick: "enableRowClick", selectedRows: "selectedRows", selectionKey: "selectionKey", canSelectKey: "canSelectKey", enableFloatingMenu: "enableFloatingMenu", floatingMenuAmountSelectedText: "floatingMenuAmountSelectedText", floatingMenuAmountSelectedTemplate: "floatingMenuAmountSelectedTemplate", enableHeader: "enableHeader", quickFilters: "quickFilters", activeQuickFilterIdentifier: "activeQuickFilterIdentifier", enableSearch: "enableSearch", query: "query", enableFilter: "enableFilter", enableFilterDesktop: "enableFilterDesktop", selectedFiltersAmount: "selectedFiltersAmount", filterButtonTemplate: "filterButtonTemplate", enableAction: "enableAction", actionButtonLoading: "actionButtonLoading", actionButtonIcon: "actionButtonIcon", actionButtonEnabled: "actionButtonEnabled", actionButtonText: "actionButtonText", actionButtonTemplate: "actionButtonTemplate", enableFooter: "enableFooter", enablePaginationSize: "enablePaginationSize", enablePaginationPages: "enablePaginationPages", enableExport: "enableExport", page: "page", total: "total", pageSize: "pageSize", pageSizeOptions: "pageSizeOptions", hideOnSinglePage: "hideOnSinglePage", emptyStateType: "emptyStateType", emptyStateIllustration: "emptyStateIllustration", emptyStateHeader: "emptyStateHeader", emptyStateContent: "emptyStateContent", emptyStateAction: "emptyStateAction", emptyStateActionIcon: "emptyStateActionIcon", enableEmptyStateAction: "enableEmptyStateAction", emptyStateFilteredIllustration: "emptyStateFilteredIllustration", emptyStateFilteredHeader: "emptyStateFilteredHeader", emptyStateFilteredContent: "emptyStateFilteredContent", enableScroll: "enableScroll", shadow: "shadow", filterModalHeaderText: "filterModalHeaderText", filterModalSaveText: "filterModalSaveText", filterModalCancelText: "filterModalCancelText", filterModalResetText: "filterModalResetText", filterModalShowReset: "filterModalShowReset", filterModalShowResetMobile: "filterModalShowResetMobile" }, outputs: { selectedRowsChange: "selectedRowsChange", rowClick: "rowClick", rowSelected: "rowSelected", rowDeselected: "rowDeselected", quickFilter: "quickFilter", queryChange: "queryChange", filter: "filter", action: "action", pageChange: "pageChange", pageSizeChange: "pageSizeChange", export: "export", emptyStateActionClick: "emptyStateActionClick", filterModalShow: "filterModalShow", filterModalSave: "filterModalSave", filterModalReset: "filterModalReset" }, host: { listeners: { "window:resize": "onResize($event)", "document:keydown": "keyDown($event)", "document:keyup": "keyUp($event)", "document:visibilitychange": "visibilityChange($event)" }, properties: { "class": "this.className" } }, queries: [{ propertyName: "headerCustomFilterTemplate", first: true, predicate: TableCustomFilterDirective, descendants: true, read: TemplateRef, static: true }, { propertyName: "headerCustomActionsTemplate", first: true, predicate: TableCustomActionsDirective, descendants: true, read: TemplateRef, static: true }, { propertyName: "filterModalTemplate", first: true, predicate: TableFilterModalDirective, descendants: true, read: TemplateRef, static: true }, { propertyName: "columnDefinitions", predicate: TableColumn }, { propertyName: "rowActions", predicate: TableRowAction }], viewQueries: [{ propertyName: "scrollContainer", first: true, predicate: ["scrollContainer"], descendants: true }, { propertyName: "tableRows", predicate: PTableRow$1, descendants: true, read: ElementRef }, { propertyName: "tableCells", predicate: TableCell, descendants: true, read: ElementRef }], usesOnChanges: true, ngImport: i0, template: "<p-table-container>\n\t<p-table-header\n\t\t*ngIf=\"enableHeader\"\n\t\tclass=\"mb-8\"\n\t\t[quickFilters]=\"quickFilters\"\n\t\t[activeQuickFilterIdentifier]=\"activeQuickFilterIdentifier\"\n\t\t(quickFilter)=\"onQuickFilter($event)\"\n\t\t[enableSearch]=\"enableSearch\"\n\t\t[query]=\"query\"\n\t\t(queryChange)=\"onQueryChange($event)\"\n\t\t[enableFilter]=\"enableFilter\"\n\t\t[enableFilterDesktop]=\"enableFilterDesktop\"\n\t\t[selectedFiltersAmount]=\"selectedFiltersAmount\"\n\t\t[filterButtonTemplate]=\"filterButtonTemplate\"\n\t\t(filter)=\"filterModalShow$.next(true)\"\n\t\t[enableAction]=\"enableAction\"\n\t\t[canUseAction]=\"actionButtonEnabled\"\n\t\t[actionButtonTemplate]=\"actionButtonTemplate\"\n\t\t[actionLoading]=\"actionButtonLoading\"\n\t\t[actionText]=\"actionButtonText\"\n\t\t[actionIcon]=\"actionButtonIcon\"\n\t\t(action)=\"action.emit()\"\n\t\t[itemsSelectedAmount]=\"selectedRows.length\"\n\t\t[enableExport]=\"enableExport\"\n\t\t(export)=\"export.emit()\"\n\t\t[loading]=\"headerLoading\"\n\t>\n\t\t<ng-container *ngIf=\"headerCustomFilterTemplate\">\n\t\t\t<ng-container\n\t\t\t\t*ngTemplateOutlet=\"headerCustomFilterTemplate\"\n\t\t\t></ng-container>\n\t\t</ng-container>\n\n\t\t<ng-container *ngIf=\"headerCustomActionsTemplate\">\n\t\t\t<ng-container\n\t\t\t\t*ngTemplateOutlet=\"headerCustomActionsTemplate\"\n\t\t\t></ng-container>\n\t\t</ng-container>\n\t</p-table-header>\n\n\t<div class=\"relative flex-1\" *ngIf=\"enableScroll; else rowsTemplate\">\n\t\t<div class=\"flex flex-col overflow-x-auto\"\n\t\t\t#scrollContainer\n\t\t\t[class]=\"cn(\n\t\t\t\t'before:absolute before:top-0 before:left-0 before:z-[1] before:pointer-events-none',\n\t\t\t\t'before:w-[10%] before:h-full before:transition-opacity',\n\t\t\t\t'before:bg-gradient-to-r before:from-white before:via-white/80 before:to-transparent',\n\n\t\t\t\t'after:absolute after:top-0 after:right-0 after:z-[0] before:pointer-events-none',\n\t\t\t\t'after:w-[10%] after:h-full after:transition-opacity',\n\t\t\t\t'after:bg-gradient-to-l after:from-white after:via-white/80 after:to-transparent',\n\n\t\t\t\t{\n\t\t\t\t\t'before:opacity-0': reachedScrollStart$ | async,\n\t\t\t\t\t'after:opacity-0': reachedScrollEnd$ | async,\n\t\t\t\t\t'before:opacity-100': (reachedScrollStart$ | async) === false,\n\t\t\t\t\t'after:opacity-100': (reachedScrollEnd$ | async) === false,\n\t\t\t\t}\n\t\t\t)\"\n\t\t\t(scroll)=\"onContainerXScroll($event)\"\n\t\t>\n\t\t\t<ng-container *ngTemplateOutlet=\"rowsTemplate\"></ng-container>\n\t\t</div>\n\t</div>\n\n\t<ng-container *ngIf=\"enableFloatingMenu && enableRowSelection\">\n\t\t<p-floating-menu-container\n\t\t\t[usedInTable]=\"true\"\n\t\t\t[class]=\"\n\t\t\t\tfloatingMenuContainerClass({\n\t\t\t\t\thasFooter: enableFooter && (footerHidden$ | async) === false,\n\t\t\t\t\tactive: selectedRows.length > 0,\n\t\t\t\t\tshown: $any(floatingMenuShown$ | async)\n\t\t\t\t})\n\t\t\t\"\n\t\t\t[amount]=\"floatingMenuAmountSelectedText\"\n\t\t\t[enableAmountSelected]=\"!!(rowActionsFloating$ | async)?.length\"\n\t\t\t(close)=\"_selectAllChange(null, false)\"\n\t\t>\n\t\t\t<p-floating-menu-item\n\t\t\t\t*ngFor=\"let action of rowActionsFloating$ | async\"\n\t\t\t\tslot=\"floating-menu-item\"\n\t\t\t\t[disabled]=\"\n\t\t\t\t\t(action['type'] === 'single' && selectedRows.length > 1) ||\n\t\t\t\t\taction['disabled']\n\t\t\t\t\"\n\t\t\t\t[loading]=\"action['loading']\"\n\t\t\t\t[icon]=\"action['icon']\"\n\t\t\t\t[iconRotate]=\"action['iconRotate']\"\n\t\t\t\t[iconFlip]=\"action['iconFlip']\"\n\t\t\t\t(click)=\"_rowActionClick(action)\"\n\t\t\t>\n\t\t\t\t{{ action['label'] }}\n\t\t\t</p-floating-menu-item>\n\t\t</p-floating-menu-container>\n\t</ng-container>\n\n\t<p-table-footer\n\t\t*ngIf=\"enableFooter\"\n\t\t[hideOnSinglePage]=\"hideOnSinglePage\"\n\t\t[enablePaginationSize]=\"enablePaginationSize\"\n\t\t[pageSize]=\"pageSize\"\n\t\t[pageSizeOptions]=\"pageSizeOptions\"\n\t\t(pageSizeChange)=\"onPageSizeChange($event)\"\n\t\t[enablePaginationPages]=\"enablePaginationPages\"\n\t\t[page]=\"page\"\n\t\t[total]=\"total\"\n\t\t(pageChange)=\"onPageChange($event)\"\n\t\t[loading]=\"footerLoading\"\n\t\t(hiddenChange)=\"footerHidden$.next($event.detail)\"\n\t></p-table-footer>\n</p-table-container>\n\n<ng-template #rowsTemplate>\n\t<p-table-row variant=\"header\">\n\t\t<ng-container *ngFor=\"let col of columns$ | async; let index = index\">\n\t\t\t<p-table-cell-ngx\n\t\t\t\t[definition]=\"col\"\n\t\t\t\t[value]=\"col.name\"\n\t\t\t\tvariant=\"header\"\n\t\t\t\t[index]=\"index\"\n\t\t\t\t[checkbox]=\"\n\t\t\t\t\t(index === 0 || col.hasCheckbox) && enableRowSelection\n\t\t\t\t\t\t? checkboxTemplate\n\t\t\t\t\t\t: undefined\n\t\t\t\t\"\n\t\t\t></p-table-cell-ngx>\n\t\t\t<ng-template #checkboxTemplate>\n\t\t\t\t<p-checkbox\n\t\t\t\t\t(checkedChange)=\"_selectAllChange($event)\"\n\t\t\t\t\t[checked]=\"_selectionContainsAll()\"\n\t\t\t\t\t[indeterminate]=\"_selectionIndeterminate()\"\n\t\t\t\t\t[class.opacity-0]=\"rowSelectionLimit !== undefined\"\n\t\t\t\t\t[disabled]=\"rowSelectionLimit !== undefined\"\n\t\t\t\t></p-checkbox>\n\t\t\t</ng-template>\n\t\t</ng-container>\n\t</p-table-row>\n\n\t<div class=\"flex flex-1 flex-col\">\n\t\t<ng-container *ngIf=\"loading; else contentTemplate\">\n\t\t\t<p-table-row\n\t\t\t\t*ngFor=\"let r of loadingRows; let rowIndex = index\"\n\t\t\t\t[enableHover]=\"enableRowSelection || enableRowClick\"\n\t\t\t>\n\t\t\t\t<ng-container *ngFor=\"let col of columns$ | async; let index = index\">\n\t\t\t\t\t<p-table-cell-ngx\n\t\t\t\t\t\t[definition]=\"col\"\n\t\t\t\t\t\tvariant=\"loading\"\n\t\t\t\t\t\t[checkbox]=\"\n\t\t\t\t\t\t\t(index === 0 || col.hasCheckbox) && enableRowSelection\n\t\t\t\t\t\t\t\t? checkboxTemplate\n\t\t\t\t\t\t\t\t: undefined\n\t\t\t\t\t\t\"\n\t\t\t\t\t\t[index]=\"index\"\n\t\t\t\t\t\t[rowIndex]=\"rowIndex\"\n\t\t\t\t\t></p-table-cell-ngx>\n\t\t\t\t\t<ng-template #checkboxTemplate>\n\t\t\t\t\t\t<p-loader\n\t\t\t\t\t\t\tvariant=\"ghost\"\n\t\t\t\t\t\t\tclass=\"h-6 w-6 rounded\"\n\t\t\t\t\t\t></p-loader>\n\t\t\t\t\t</ng-template>\n\t\t\t\t</ng-container>\n\t\t\t</p-table-row>\n\t\t</ng-container>\n\n\t\t<ng-template #contentTemplate>\n\t\t\t<ng-container *ngIf=\"parsedItems?.length; else emptyStateTemplate\">\n\t\t\t\t<p-table-row\n\t\t\t\t\t*ngFor=\"let item of parsedItems; let rowIndex = index\"\n\t\t\t\t\t[enableHover]=\"enableRowSelection || enableRowClick\"\n\t\t\t\t\t(click)=\"_rowClick($event, rowIndex)\"\n\t\t\t\t>\n\t\t\t\t\t<ng-container\n\t\t\t\t\t\t*ngIf=\"\n\t\t\t\t\t\t\tparseRowActionsRow(\n\t\t\t\t\t\t\t\trowActionsRow$ | async,\n\t\t\t\t\t\t\t\trowIndex\n\t\t\t\t\t\t\t) as rowActionsRow\n\t\t\t\t\t\t\"\n\t\t\t\t\t>\n\t\t\t\t\t\t<ng-container *ngFor=\"let col of columns$ | async; let index = index\">\n\t\t\t\t\t\t\t<p-table-cell-ngx\n\t\t\t\t\t\t\t\t[definition]=\"col\"\n\t\t\t\t\t\t\t\t[item]=\"item\"\n\t\t\t\t\t\t\t\t[checkbox]=\"\n\t\t\t\t\t\t\t\t\t(index === 0 || col.hasCheckbox) && enableRowSelection\n\t\t\t\t\t\t\t\t\t\t? checkboxTemplate\n\t\t\t\t\t\t\t\t\t\t: undefined\n\t\t\t\t\t\t\t\t\"\n\t\t\t\t\t\t\t\t[index]=\"index\"\n\t\t\t\t\t\t\t\t[rowIndex]=\"rowIndex\"\n\t\t\t\t\t\t\t\t[template]=\"col.template\"\n\t\t\t\t\t\t\t></p-table-cell-ngx>\n\n\t\t\t\t\t\t\t<ng-template #checkboxTemplate>\n\t\t\t\t\t\t\t\t<p-checkbox\n\t\t\t\t\t\t\t\t\t(checkedChange)=\"_checkboxChange($event.target, rowIndex)\"\n\t\t\t\t\t\t\t\t\t[disabled]=\"_checkboxDisabled(item, rowIndex)\"\n\t\t\t\t\t\t\t\t\t[checked]=\"_selectionContains(item, rowIndex)\"\n\t\t\t\t\t\t\t\t></p-checkbox>\n\t\t\t\t\t\t\t</ng-template>\n\t\t\t\t\t\t</ng-container>\n\n\t\t\t\t\t\t<p-table-row-actions-container\n\t\t\t\t\t\t\t*ngIf=\"!!rowActionsRow?.length && !(isMobile$ | async)\"\n\t\t\t\t\t\t\tslot=\"actions\"\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t<ng-container *ngFor=\"let action of rowActionsRow\">\n\t\t\t\t\t\t\t\t<p-tooltip\n\t\t\t\t\t\t\t\t\t*ngIf=\"\n\t\t\t\t\t\t\t\t\t\taction.showFunction\n\t\t\t\t\t\t\t\t\t\t\t? action.showFunction(parsedItems[rowIndex])\n\t\t\t\t\t\t\t\t\t\t\t: true\n\t\t\t\t\t\t\t\t\t\"\n\t\t\t\t\t\t\t\t\t[content]=\"action['label']\"\n\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t<p-button\n\t\t\t\t\t\t\t\t\t\tdata-is-action\n\t\t\t\t\t\t\t\t\t\tvariant=\"secondary\"\n\t\t\t\t\t\t\t\t\t\tslot=\"trigger\"\n\t\t\t\t\t\t\t\t\t\t[icon]=\"action['icon']\"\n\t\t\t\t\t\t\t\t\t\t[iconRotate]=\"action['iconRotate']\"\n\t\t\t\t\t\t\t\t\t\ticonFlip=\"action.iconFlip\"\n\t\t\t\t\t\t\t\t\t\ticonOnly=\"true\"\n\t\t\t\t\t\t\t\t\t\tsize=\"sm\"\n\t\t\t\t\t\t\t\t\t\t[loading]=\"action['loading']\"\n\t\t\t\t\t\t\t\t\t\t[disabled]=\"action['disabled']\"\n\t\t\t\t\t\t\t\t\t\t[routerLink]=\"\n\t\t\t\t\t\t\t\t\t\t\taction.routerLink\n\t\t\t\t\t\t\t\t\t\t\t\t? (_getActionRouterLink(action.routerLink, rowIndex)\n\t\t\t\t\t\t\t\t\t\t\t\t | async)\n\t\t\t\t\t\t\t\t\t\t\t\t: null\n\t\t\t\t\t\t\t\t\t\t\"\n\t\t\t\t\t\t\t\t\t\t[queryParams]=\"\n\t\t\t\t\t\t\t\t\t\t\taction.queryParams\n\t\t\t\t\t\t\t\t\t\t\t\t? (_getActionQueryParams(action.queryParams, rowIndex)\n\t\t\t\t\t\t\t\t\t\t\t\t | async)\n\t\t\t\t\t\t\t\t\t\t\t\t: null\n\t\t\t\t\t\t\t\t\t\t\"\n\t\t\t\t\t\t\t\t\t\t(onClick)=\"_rowActionClick(action, rowIndex)\"\n\t\t\t\t\t\t\t\t\t></p-button>\n\t\t\t\t\t\t\t\t</p-tooltip>\n\t\t\t\t\t\t\t</ng-container>\n\t\t\t\t\t\t</p-table-row-actions-container>\n\t\t\t\t\t</ng-container>\n\t\t\t\t</p-table-row>\n\t\t\t</ng-container>\n\t\t</ng-template>\n\t</div>\n</ng-template>\n\n<ng-container *ngIf=\"filterModalTemplate\">\n\t<p-modal\n\t\t[header]=\"filterModalHeaderText\"\n\t\t[show]=\"filterModalShow$ | async\"\n\t\t(closed)=\"filterModalShow$.next(false)\"\n\t>\n\t\t<div\n\t\t\tslot=\"content\"\n\t\t\tclass=\"flex flex-col gap-6\"\n\t\t>\n\t\t\t<ng-container *ngTemplateOutlet=\"filterModalTemplate\"></ng-container>\n\t\t</div>\n\t\t<div\n\t\t\tslot=\"footer\"\n\t\t\tclass=\"flex w-full justify-between gap-4\"\n\t\t>\n\t\t\t<p-button\n\t\t\t\t*ngIf=\"filterModalShowResetMobile\"\n\t\t\t\tclass=\"flex w-full tablet:w-auto desktop-xs:hidden\"\n\t\t\t\tvariant=\"secondary\"\n\t\t\t\t(onClick)=\"onFilterModalReset(true)\"\n\t\t\t>\n\t\t\t\t{{ filterModalResetText }}\n\t\t\t</p-button>\n\t\t\t<p-button\n\t\t\t\t*ngIf=\"filterModalShowReset\"\n\t\t\t\tclass=\"hidden w-full tablet:w-auto desktop-xs:flex\"\n\t\t\t\tvariant=\"secondary\"\n\t\t\t\t(onClick)=\"onFilterModalReset()\"\n\t\t\t>\n\t\t\t\t{{ filterModalResetText }}\n\t\t\t</p-button>\n\t\t\t<p-button\n\t\t\t\tclass=\"ml-auto w-full tablet:w-auto\"\n\t\t\t\ticon=\"checkmark\"\n\t\t\t\t(onClick)=\"onFilterModalSave()\"\n\t\t\t>\n\t\t\t\t{{ filterModalSaveText }}\n\t\t\t</p-button>\n\t\t</div>\n\t</p-modal>\n</ng-container>\n\n<ng-template #emptyStateTemplate>\n\t<p-empty-state\n\t\t*ngIf=\"emptyStateType === 'filtered'; else emptyStateNonFilterTemplate\"\n\t\tclass=\"my-16 self-center\"\n\t\t[illustration]=\"emptyStateFilteredIllustration\"\n\t\t[header]=\"emptyStateFilteredHeader\"\n\t\t[content]=\"emptyStateFilteredContent\"\n\t></p-empty-state>\n</ng-template>\n\n<ng-template #emptyStateNonFilterTemplate>\n\t<p-empty-state\n\t\tclass=\"my-16 self-center\"\n\t\t[illustration]=\"emptyStateIllustration\"\n\t\t[header]=\"emptyStateHeader\"\n\t\t[content]=\"emptyStateContent\"\n\t\t[enableAction]=\"enableEmptyStateAction\"\n\t\t[actionText]=\"emptyStateAction\"\n\t\t[actionIcon]=\"emptyStateActionIcon\"\n\t\t(action)=\"emptyStateClicked()\"\n\t></p-empty-state>\n</ng-template>\n", dependencies: [{ kind: "directive", type: i1$2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i2.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "component", type: PButton, selector: "p-button", inputs: ["active", "as", "buttonGroupPosition", "chevron", "chevronPosition", "class", "disabled", "href", "icon", "iconFlip", "iconOnly", "iconPosition", "iconRotate", "inheritText", "label", "loading", "size", "target", "type", "underline", "variant"] }, { kind: "component", type: PCheckbox, selector: "p-checkbox", inputs: ["checked", "disabled", "id", "indeterminate", "name", "required"] }, { kind: "component", type: PEmptyState, selector: "p-empty-state", inputs: ["actionIcon", "actionLoading", "actionText", "actionVariant", "content", "enableAction", "header", "illustration"] }, { kind: "component", type: PFloatingMenuContainer, selector: "p-floating-menu-container", inputs: ["amount", "amountSelectedTemplate", "enableAmountSelected", "enableClose", "usedInTable"] }, { kind: "component", type: PFloatingMenuItem, selector: "p-floating-menu-item", inputs: ["disabled", "hover", "icon", "iconFlip", "iconPosition", "iconRotate", "loading"] }, { kind: "component", type: PLoader, selector: "p-loader", inputs: ["color", "modalDescription", "modalTitle", "show", "variant"] }, { kind: "component", type: PModal, selector: "p-modal", inputs: ["applyBlur", "backdropClickClose", "header", "scrollLock", "show", "showClose", "showMobileFooter", "size"] }, { kind: "component", type: PTableContainer, selector: "p-table-container" }, { kind: "component", type: PTableFooter, selector: "p-table-footer", inputs: ["enablePaginationPages", "enablePaginationSize", "hideOnSinglePage", "loading", "page", "pageSize", "pageSizeOptions", "total"] }, { kind: "component", type: PTableHeader, selector: "p-table-header", inputs: ["actionButtonTemplate", "actionIcon", "actionLoading", "actionText", "activeQuickFilterIdentifier", "canUseAction", "enableAction", "enableExport", "enableFilter", "enableFilterDesktop", "enableSearch", "filterButtonTemplate", "itemsSelectedAmount", "loading", "query", "quickFilters", "selectedFiltersAmount"] }, { kind: "component", type: PTableRow, selector: "p-table-row", inputs: ["enableHover", "variant"] }, { kind: "component", type: PTableRowActionsContainer, selector: "p-table-row-actions-container" }, { kind: "component", type: PTooltip, selector: "p-tooltip", inputs: ["canManuallyClose", "content", "enableUserInput", "offset", "placement", "show", "strategy", "usePortal", "variant"] }, { kind: "component", type: TableCell, selector: "p-table-cell-ngx", inputs: ["variant", "index", "rowIndex", "definition", "item", "value", "checkbox", "template"] }, { kind: "directive", type: TableFooterDirective, selector: "p-table-footer" }, { kind: "directive", type: TableHeaderDirective, selector: "p-table-header" }, { kind: "pipe", type: i1$2.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
3779
4237
|
Table = __decorate([
|
|
3780
4238
|
UntilDestroy({ checkProperties: true })
|
|
3781
4239
|
], Table);
|
|
3782
4240
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: Table, decorators: [{
|
|
3783
4241
|
type: Component,
|
|
3784
|
-
args: [{ selector: 'p-table-ngx', changeDetection: ChangeDetectionStrategy.OnPush, template: "<p-table-container [shadow]=\"shadow\">\n\t<p-table-header\n\t\t*ngIf=\"enableHeader\"\n\t\t[quickFilters]=\"quickFilters\"\n\t\t[activeQuickFilterIdentifier]=\"activeQuickFilterIdentifier\"\n\t\t(quickFilter)=\"onQuickFilter($event)\"\n\t\t[enableSearch]=\"enableSearch\"\n\t\t[query]=\"query\"\n\t\t(queryChange)=\"onQueryChange($event)\"\n\t\t[enableFilter]=\"enableFilter\"\n\t\t[enableFilterDesktop]=\"enableFilterDesktop\"\n\t\t[selectedFiltersAmount]=\"selectedFiltersAmount\"\n\t\t[filterButtonTemplate]=\"filterButtonTemplate\"\n\t\t(filter)=\"filterModalShow$.next(true)\"\n\t\t[enableAction]=\"enableAction\"\n\t\t[canUseAction]=\"actionButtonEnabled\"\n\t\t[actionButtonTemplate]=\"actionButtonTemplate\"\n\t\t[actionLoading]=\"actionButtonLoading\"\n\t\t[actionText]=\"actionButtonText\"\n\t\t[actionIcon]=\"actionButtonIcon\"\n\t\t(action)=\"action.emit()\"\n\t\t[itemsSelectedAmount]=\"selectedRows.length\"\n\t\t[loading]=\"headerLoading\"\n\t>\n\t\t<ng-container *ngIf=\"headerCustomFilterTemplate\">\n\t\t\t<ng-container\n\t\t\t\t*ngTemplateOutlet=\"headerCustomFilterTemplate\"\n\t\t\t></ng-container>\n\t\t</ng-container>\n\n\t\t<ng-container *ngIf=\"headerCustomActionsTemplate\">\n\t\t\t<ng-container\n\t\t\t\t*ngTemplateOutlet=\"headerCustomActionsTemplate\"\n\t\t\t></ng-container>\n\t\t</ng-container>\n\t</p-table-header>\n\n\t<p-table-row variant=\"header\">\n\t\t<ng-container *ngFor=\"let col of columns; let index = index\">\n\t\t\t<p-table-cell-ngx\n\t\t\t\t[definition]=\"col\"\n\t\t\t\t[value]=\"col.name\"\n\t\t\t\tvariant=\"header\"\n\t\t\t\t[index]=\"index\"\n\t\t\t\t[checkbox]=\"\n\t\t\t\t\t(index === 0 || col.hasCheckbox) && enableRowSelection\n\t\t\t\t\t\t? checkboxTemplate\n\t\t\t\t\t\t: undefined\n\t\t\t\t\"\n\t\t\t></p-table-cell-ngx>\n\t\t\t<ng-template #checkboxTemplate>\n\t\t\t\t<input\n\t\t\t\t\tclass=\"p-input\"\n\t\t\t\t\ttype=\"checkbox\"\n\t\t\t\t\t(change)=\"_selectAllChange($event)\"\n\t\t\t\t\t[checked]=\"_selectionContainsAll()\"\n\t\t\t\t\t[indeterminate]=\"_selectionIndeterminate()\"\n\t\t\t\t\t[class.opacity-0]=\"rowSelectionLimit !== undefined\"\n\t\t\t\t\t[disabled]=\"rowSelectionLimit !== undefined\"\n\t\t\t\t/>\n\t\t\t</ng-template>\n\t\t</ng-container>\n\t</p-table-row>\n\n\t<div class=\"flex flex-1 flex-col\">\n\t\t<ng-container *ngIf=\"loading; else contentTemplate\">\n\t\t\t<p-table-row\n\t\t\t\t*ngFor=\"let r of loadingRows; let rowIndex = index\"\n\t\t\t\t[enableHover]=\"enableRowSelection || enableRowClick\"\n\t\t\t>\n\t\t\t\t<ng-container *ngFor=\"let col of columns; let index = index\">\n\t\t\t\t\t<p-table-cell-ngx\n\t\t\t\t\t\t[definition]=\"col\"\n\t\t\t\t\t\tvariant=\"loading\"\n\t\t\t\t\t\t[checkbox]=\"\n\t\t\t\t\t\t\t(index === 0 || col.hasCheckbox) && enableRowSelection\n\t\t\t\t\t\t\t\t? checkboxTemplate\n\t\t\t\t\t\t\t\t: undefined\n\t\t\t\t\t\t\"\n\t\t\t\t\t\t[index]=\"index\"\n\t\t\t\t\t\t[rowIndex]=\"rowIndex\"\n\t\t\t\t\t></p-table-cell-ngx>\n\t\t\t\t\t<ng-template #checkboxTemplate>\n\t\t\t\t\t\t<p-loader\n\t\t\t\t\t\t\tvariant=\"ghost\"\n\t\t\t\t\t\t\tclass=\"h-6 w-6 rounded\"\n\t\t\t\t\t\t></p-loader>\n\t\t\t\t\t</ng-template>\n\t\t\t\t</ng-container>\n\t\t\t</p-table-row>\n\t\t</ng-container>\n\n\t\t<ng-template #contentTemplate>\n\t\t\t<ng-container *ngIf=\"parsedItems?.length; else emptyStateTemplate\">\n\t\t\t\t<p-table-row\n\t\t\t\t\t*ngFor=\"let item of parsedItems; let rowIndex = index\"\n\t\t\t\t\t[enableHover]=\"enableRowSelection || enableRowClick\"\n\t\t\t\t\t(click)=\"_rowClick($event, rowIndex)\"\n\t\t\t\t>\n\t\t\t\t\t<ng-container\n\t\t\t\t\t\t*ngIf=\"\n\t\t\t\t\t\t\tparseRowActionsRow(\n\t\t\t\t\t\t\t\trowActionsRow$ | async,\n\t\t\t\t\t\t\t\trowIndex\n\t\t\t\t\t\t\t) as rowActionsRow\n\t\t\t\t\t\t\"\n\t\t\t\t\t>\n\t\t\t\t\t\t<ng-container *ngFor=\"let col of columns; let index = index\">\n\t\t\t\t\t\t\t<p-table-cell-ngx\n\t\t\t\t\t\t\t\t[definition]=\"col\"\n\t\t\t\t\t\t\t\t[item]=\"item\"\n\t\t\t\t\t\t\t\t[checkbox]=\"\n\t\t\t\t\t\t\t\t\t(index === 0 || col.hasCheckbox) && enableRowSelection\n\t\t\t\t\t\t\t\t\t\t? checkboxTemplate\n\t\t\t\t\t\t\t\t\t\t: undefined\n\t\t\t\t\t\t\t\t\"\n\t\t\t\t\t\t\t\t[index]=\"index\"\n\t\t\t\t\t\t\t\t[rowIndex]=\"rowIndex\"\n\t\t\t\t\t\t\t\t[template]=\"col.template\"\n\t\t\t\t\t\t\t\t[tableHasActions]=\"\n\t\t\t\t\t\t\t\t\t!!rowActionsRow?.length && !(isMobile$ | async)\n\t\t\t\t\t\t\t\t\"\n\t\t\t\t\t\t\t></p-table-cell-ngx>\n\n\t\t\t\t\t\t\t<ng-template #checkboxTemplate>\n\t\t\t\t\t\t\t\t<input\n\t\t\t\t\t\t\t\t\tclass=\"p-input\"\n\t\t\t\t\t\t\t\t\ttype=\"checkbox\"\n\t\t\t\t\t\t\t\t\t(change)=\"_checkboxChange($event.target, rowIndex)\"\n\t\t\t\t\t\t\t\t\t[disabled]=\"_checkboxDisabled(item, rowIndex)\"\n\t\t\t\t\t\t\t\t\t[checked]=\"_selectionContains(item, rowIndex)\"\n\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t</ng-template>\n\t\t\t\t\t\t</ng-container>\n\n\t\t\t\t\t\t<ng-container\n\t\t\t\t\t\t\t*ngIf=\"\n\t\t\t\t\t\t\t\t!!rowActionsRow?.length &&\n\t\t\t\t\t\t\t\t!!(rowActionsRowDefinition$ | async) &&\n\t\t\t\t\t\t\t\t!(isMobile$ | async)\n\t\t\t\t\t\t\t\"\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t<p-table-cell-ngx\n\t\t\t\t\t\t\t\tvariant=\"actions\"\n\t\t\t\t\t\t\t\t[definition]=\"rowActionsRowDefinition$ | async\"\n\t\t\t\t\t\t\t\t[item]=\"parsedItems[rowIndex]\"\n\t\t\t\t\t\t\t\t[index]=\"columns.length - 1\"\n\t\t\t\t\t\t\t\t[rowIndex]=\"rowIndex\"\n\t\t\t\t\t\t\t\t[tableHasActions]=\"!!rowActionsRow?.length\"\n\t\t\t\t\t\t\t\t[template]=\"actionsTemplate\"\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t</p-table-cell-ngx>\n\n\t\t\t\t\t\t\t<ng-template #actionsTemplate>\n\t\t\t\t\t\t\t\t<div class=\"ml-auto flex items-center gap-2\">\n\t\t\t\t\t\t\t\t\t<ng-container *ngFor=\"let action of rowActionsRow\">\n\t\t\t\t\t\t\t\t\t\t<p-tooltip\n\t\t\t\t\t\t\t\t\t\t\t*ngIf=\"\n\t\t\t\t\t\t\t\t\t\t\t\taction.showFunction\n\t\t\t\t\t\t\t\t\t\t\t\t\t? action.showFunction(parsedItems[rowIndex])\n\t\t\t\t\t\t\t\t\t\t\t\t\t: true\n\t\t\t\t\t\t\t\t\t\t\t\"\n\t\t\t\t\t\t\t\t\t\t\t[content]=\"action.label\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t<p-button\n\t\t\t\t\t\t\t\t\t\t\t\tdata-is-action\n\t\t\t\t\t\t\t\t\t\t\t\tvariant=\"secondary\"\n\t\t\t\t\t\t\t\t\t\t\t\tslot=\"trigger\"\n\t\t\t\t\t\t\t\t\t\t\t\t[icon]=\"action.icon\"\n\t\t\t\t\t\t\t\t\t\t\t\t[iconRotate]=\"action.iconRotate\"\n\t\t\t\t\t\t\t\t\t\t\t\ticonFlip=\"action.iconFlip\"\n\t\t\t\t\t\t\t\t\t\t\t\ticonOnly=\"true\"\n\t\t\t\t\t\t\t\t\t\t\t\tsize=\"sm\"\n\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[disabled]=\"action.disabled\"\n\t\t\t\t\t\t\t\t\t\t\t\t[routerLink]=\"\n\t\t\t\t\t\t\t\t\t\t\t\t\taction.routerLink\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t? (_getActionRouterLink(action.routerLink, rowIndex)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t | async)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t: null\n\t\t\t\t\t\t\t\t\t\t\t\t\"\n\t\t\t\t\t\t\t\t\t\t\t\t[queryParams]=\"\n\t\t\t\t\t\t\t\t\t\t\t\t\taction.queryParams\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t? (_getActionQueryParams(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\taction.queryParams,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\trowIndex\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t ) | async)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t: null\n\t\t\t\t\t\t\t\t\t\t\t\t\"\n\t\t\t\t\t\t\t\t\t\t\t\t(onClick)=\"_rowActionClick(action, rowIndex)\"\n\t\t\t\t\t\t\t\t\t\t\t></p-button>\n\t\t\t\t\t\t\t\t\t\t</p-tooltip>\n\t\t\t\t\t\t\t\t\t</ng-container>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t</ng-template>\n\t\t\t\t\t\t</ng-container>\n\t\t\t\t\t</ng-container>\n\t\t\t\t</p-table-row>\n\t\t\t</ng-container>\n\t\t</ng-template>\n\t</div>\n\n\t<p-table-footer\n\t\t*ngIf=\"enableFooter\"\n\t\t[hideOnSinglePage]=\"hideOnSinglePage\"\n\t\t[enablePageSize]=\"enablePageSize\"\n\t\t[pageSize]=\"pageSize\"\n\t\t[pageSizeOptions]=\"pageSizeOptions\"\n\t\t(pageSizeChange)=\"onPageSizeChange($event)\"\n\t\t[enablePagination]=\"enablePagination\"\n\t\t[page]=\"page\"\n\t\t[total]=\"total\"\n\t\t(pageChange)=\"onPageChange($event)\"\n\t\t[enableExport]=\"enableExport\"\n\t\t(export)=\"export.emit()\"\n\t\t[loading]=\"footerLoading\"\n\t></p-table-footer>\n\n\t<ng-container *ngIf=\"enableFloatingMenu && enableRowSelection\">\n\t\t<p-floating-menu-container\n\t\t\t[usedInTable]=\"true\"\n\t\t\t[class.inactive]=\"!selectedRows.length\"\n\t\t\t[class.shown]=\"floatingMenuShown$ | async\"\n\t\t>\n\t\t\t<p-floating-menu-item\n\t\t\t\t[hover]=\"false\"\n\t\t\t\tslot=\"floating-menu-item\"\n\t\t\t\t[class]=\"{\n\t\t\t\t\thidden: !!(rowActionsFloating$ | async)?.length,\n\t\t\t\t\t'tablet:flex': !!(rowActionsFloating$ | async)?.length\n\t\t\t\t}\"\n\t\t\t>\n\t\t\t\t{{ floatingMenuAmountSelectedText }}\n\t\t\t</p-floating-menu-item>\n\t\t\t<p-divider\n\t\t\t\tclass=\"mx-0 text-storm\"\n\t\t\t\tvariant=\"vertical\"\n\t\t\t\tslot=\"floating-menu-item\"\n\t\t\t\t[class]=\"{\n\t\t\t\t\thidden: !!(rowActionsFloating$ | async)?.length,\n\t\t\t\t\t'tablet:flex': !!(rowActionsFloating$ | async)?.length\n\t\t\t\t}\"\n\t\t\t></p-divider>\n\n\t\t\t<p-floating-menu-item\n\t\t\t\t*ngFor=\"let action of rowActionsFloating$ | async\"\n\t\t\t\tslot=\"floating-menu-item\"\n\t\t\t\t[disabled]=\"\n\t\t\t\t\t(action.type === 'single' && selectedRows.length > 1) ||\n\t\t\t\t\taction.disabled\n\t\t\t\t\"\n\t\t\t\t(click)=\"_rowActionClick(action)\"\n\t\t\t>\n\t\t\t\t{{ action.label }}\n\n\t\t\t\t<p-loader\n\t\t\t\t\t*ngIf=\"action.loading; else floatingMenuItemIconTemplate\"\n\t\t\t\t></p-loader>\n\n\t\t\t\t<ng-template #floatingMenuItemIconTemplate>\n\t\t\t\t\t<p-icon\n\t\t\t\t\t\t[variant]=\"action.icon\"\n\t\t\t\t\t\t[rotate]=\"action.iconRotate\"\n\t\t\t\t\t\t[flip]=\"action.iconFlip\"\n\t\t\t\t\t></p-icon>\n\t\t\t\t</ng-template>\n\t\t\t</p-floating-menu-item>\n\n\t\t\t<p-divider\n\t\t\t\tclass=\"mx-0 text-storm\"\n\t\t\t\tvariant=\"vertical\"\n\t\t\t\tslot=\"floating-menu-item\"\n\t\t\t></p-divider>\n\n\t\t\t<p-floating-menu-item\n\t\t\t\t(click)=\"_selectAllChange(null, false)\"\n\t\t\t\tslot=\"floating-menu-item\"\n\t\t\t>\n\t\t\t\t<p-icon variant=\"negative\"></p-icon>\n\t\t\t</p-floating-menu-item>\n\t\t</p-floating-menu-container>\n\t</ng-container>\n</p-table-container>\n\n<ng-container *ngIf=\"filterModalTemplate\">\n\t<p-modal\n\t\t[header]=\"filterModalHeaderText\"\n\t\t[show]=\"filterModalShow$ | async\"\n\t\t(closed)=\"filterModalShow$.next(false)\"\n\t>\n\t\t<div\n\t\t\tslot=\"content\"\n\t\t\tclass=\"flex flex-col gap-6\"\n\t\t>\n\t\t\t<ng-container *ngTemplateOutlet=\"filterModalTemplate\"></ng-container>\n\t\t</div>\n\t\t<div\n\t\t\tslot=\"footer\"\n\t\t\tclass=\"flex w-full justify-between gap-4\"\n\t\t>\n\t\t\t<p-button\n\t\t\t\t*ngIf=\"filterModalShowResetMobile\"\n\t\t\t\tclass=\"flex w-full tablet:w-auto desktop-xs:hidden\"\n\t\t\t\tvariant=\"secondary\"\n\t\t\t\t(onClick)=\"onFilterModalReset(true)\"\n\t\t\t>\n\t\t\t\t{{ filterModalResetText }}\n\t\t\t</p-button>\n\t\t\t<p-button\n\t\t\t\t*ngIf=\"filterModalShowReset\"\n\t\t\t\tclass=\"hidden w-full tablet:w-auto desktop-xs:flex\"\n\t\t\t\tvariant=\"secondary\"\n\t\t\t\t(onClick)=\"onFilterModalReset()\"\n\t\t\t>\n\t\t\t\t{{ filterModalResetText }}\n\t\t\t</p-button>\n\t\t\t<p-button\n\t\t\t\tclass=\"ml-auto w-full tablet:w-auto\"\n\t\t\t\ticon=\"checkmark\"\n\t\t\t\t(onClick)=\"onFilterModalSave()\"\n\t\t\t>\n\t\t\t\t{{ filterModalSaveText }}\n\t\t\t</p-button>\n\t\t</div>\n\t</p-modal>\n</ng-container>\n\n<ng-template #emptyStateTemplate>\n\t<div\n\t\t*ngIf=\"emptyStateType === 'filtered'; else emptyStateNonFilterTemplate\"\n\t\tclass=\"flex max-w-[20rem] flex-col items-center self-center py-24 text-center\"\n\t>\n\t\t<p-illustration\n\t\t\t[variant]=\"emptyStateFilteredIllustration\"\n\t\t\tclass=\"mb-6\"\n\t\t></p-illustration>\n\t\t<p class=\"text-storm-default font-semibold\">\n\t\t\t{{ emptyStateFilteredHeader }}\n\t\t</p>\n\t\t<p class=\"mb-14 text-sm text-storm-medium\">\n\t\t\t{{ emptyStateFilteredContent }}\n\t\t</p>\n\t</div>\n</ng-template>\n\n<ng-template #emptyStateNonFilterTemplate>\n\t<div\n\t\tclass=\"flex max-w-[20rem] flex-col items-center self-center py-24 text-center\"\n\t\t[class.cursor-pointer]=\"enableEmptyStateAction\"\n\t\t(click)=\"emptyStateClicked()\"\n\t>\n\t\t<p-illustration\n\t\t\t[variant]=\"emptyStateIllustration\"\n\t\t\tclass=\"mb-6\"\n\t\t></p-illustration>\n\t\t<p class=\"text-storm-default font-semibold\">\n\t\t\t{{ emptyStateHeader }}\n\t\t</p>\n\t\t<p class=\"mb-6 text-sm text-storm-medium\">\n\t\t\t{{ emptyStateContent }}\n\t\t</p>\n\t\t<p-button\n\t\t\t*ngIf=\"enableEmptyStateAction\"\n\t\t\tvariant=\"secondary\"\n\t\t\ticon=\"plus\"\n\t\t\tsize=\"sm\"\n\t\t>\n\t\t\t{{ emptyStateAction }}\n\t\t</p-button>\n\t</div>\n</ng-template>\n", styles: [":host{position:relative;display:flex;flex-direction:column}:host .p-input[type=checkbox]{flex-shrink:0}:host p-table-container{position:relative}:host p-table-container p-floating-menu-container{position:fixed;bottom:1rem;left:50%;--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));animation:forwards floatingMenuContainerIn .3s ease!important}@media (min-width: 40rem){:host p-table-container p-floating-menu-container{position:absolute;bottom:4rem}}:host p-table-container p-floating-menu-container:not(.shown){display:none}:host p-table-container p-floating-menu-container.inactive{animation:forwards floatingMenuContainerOut .3s ease!important}@keyframes floatingMenuContainerOut{0%{display:flex;transform:translateY(0) translate(-50%);opacity:100}99%{transform:translateY(100%) translate(-50%);opacity:0;display:flex}to{transform:translateY(100%) translate(-50%);opacity:0;display:none}}@keyframes floatingMenuContainerIn{0%{transform:translateY(100%) translate(-50%);opacity:0;display:none}1%{transform:translateY(100%) translate(-50%);opacity:0;display:flex}to{transform:translateY(0) translate(-50%);opacity:100;display:flex}}\n"] }]
|
|
3785
|
-
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: {
|
|
4242
|
+
args: [{ selector: 'p-table-ngx', changeDetection: ChangeDetectionStrategy.OnPush, template: "<p-table-container>\n\t<p-table-header\n\t\t*ngIf=\"enableHeader\"\n\t\tclass=\"mb-8\"\n\t\t[quickFilters]=\"quickFilters\"\n\t\t[activeQuickFilterIdentifier]=\"activeQuickFilterIdentifier\"\n\t\t(quickFilter)=\"onQuickFilter($event)\"\n\t\t[enableSearch]=\"enableSearch\"\n\t\t[query]=\"query\"\n\t\t(queryChange)=\"onQueryChange($event)\"\n\t\t[enableFilter]=\"enableFilter\"\n\t\t[enableFilterDesktop]=\"enableFilterDesktop\"\n\t\t[selectedFiltersAmount]=\"selectedFiltersAmount\"\n\t\t[filterButtonTemplate]=\"filterButtonTemplate\"\n\t\t(filter)=\"filterModalShow$.next(true)\"\n\t\t[enableAction]=\"enableAction\"\n\t\t[canUseAction]=\"actionButtonEnabled\"\n\t\t[actionButtonTemplate]=\"actionButtonTemplate\"\n\t\t[actionLoading]=\"actionButtonLoading\"\n\t\t[actionText]=\"actionButtonText\"\n\t\t[actionIcon]=\"actionButtonIcon\"\n\t\t(action)=\"action.emit()\"\n\t\t[itemsSelectedAmount]=\"selectedRows.length\"\n\t\t[enableExport]=\"enableExport\"\n\t\t(export)=\"export.emit()\"\n\t\t[loading]=\"headerLoading\"\n\t>\n\t\t<ng-container *ngIf=\"headerCustomFilterTemplate\">\n\t\t\t<ng-container\n\t\t\t\t*ngTemplateOutlet=\"headerCustomFilterTemplate\"\n\t\t\t></ng-container>\n\t\t</ng-container>\n\n\t\t<ng-container *ngIf=\"headerCustomActionsTemplate\">\n\t\t\t<ng-container\n\t\t\t\t*ngTemplateOutlet=\"headerCustomActionsTemplate\"\n\t\t\t></ng-container>\n\t\t</ng-container>\n\t</p-table-header>\n\n\t<div class=\"relative flex-1\" *ngIf=\"enableScroll; else rowsTemplate\">\n\t\t<div class=\"flex flex-col overflow-x-auto\"\n\t\t\t#scrollContainer\n\t\t\t[class]=\"cn(\n\t\t\t\t'before:absolute before:top-0 before:left-0 before:z-[1] before:pointer-events-none',\n\t\t\t\t'before:w-[10%] before:h-full before:transition-opacity',\n\t\t\t\t'before:bg-gradient-to-r before:from-white before:via-white/80 before:to-transparent',\n\n\t\t\t\t'after:absolute after:top-0 after:right-0 after:z-[0] before:pointer-events-none',\n\t\t\t\t'after:w-[10%] after:h-full after:transition-opacity',\n\t\t\t\t'after:bg-gradient-to-l after:from-white after:via-white/80 after:to-transparent',\n\n\t\t\t\t{\n\t\t\t\t\t'before:opacity-0': reachedScrollStart$ | async,\n\t\t\t\t\t'after:opacity-0': reachedScrollEnd$ | async,\n\t\t\t\t\t'before:opacity-100': (reachedScrollStart$ | async) === false,\n\t\t\t\t\t'after:opacity-100': (reachedScrollEnd$ | async) === false,\n\t\t\t\t}\n\t\t\t)\"\n\t\t\t(scroll)=\"onContainerXScroll($event)\"\n\t\t>\n\t\t\t<ng-container *ngTemplateOutlet=\"rowsTemplate\"></ng-container>\n\t\t</div>\n\t</div>\n\n\t<ng-container *ngIf=\"enableFloatingMenu && enableRowSelection\">\n\t\t<p-floating-menu-container\n\t\t\t[usedInTable]=\"true\"\n\t\t\t[class]=\"\n\t\t\t\tfloatingMenuContainerClass({\n\t\t\t\t\thasFooter: enableFooter && (footerHidden$ | async) === false,\n\t\t\t\t\tactive: selectedRows.length > 0,\n\t\t\t\t\tshown: $any(floatingMenuShown$ | async)\n\t\t\t\t})\n\t\t\t\"\n\t\t\t[amount]=\"floatingMenuAmountSelectedText\"\n\t\t\t[enableAmountSelected]=\"!!(rowActionsFloating$ | async)?.length\"\n\t\t\t(close)=\"_selectAllChange(null, false)\"\n\t\t>\n\t\t\t<p-floating-menu-item\n\t\t\t\t*ngFor=\"let action of rowActionsFloating$ | async\"\n\t\t\t\tslot=\"floating-menu-item\"\n\t\t\t\t[disabled]=\"\n\t\t\t\t\t(action['type'] === 'single' && selectedRows.length > 1) ||\n\t\t\t\t\taction['disabled']\n\t\t\t\t\"\n\t\t\t\t[loading]=\"action['loading']\"\n\t\t\t\t[icon]=\"action['icon']\"\n\t\t\t\t[iconRotate]=\"action['iconRotate']\"\n\t\t\t\t[iconFlip]=\"action['iconFlip']\"\n\t\t\t\t(click)=\"_rowActionClick(action)\"\n\t\t\t>\n\t\t\t\t{{ action['label'] }}\n\t\t\t</p-floating-menu-item>\n\t\t</p-floating-menu-container>\n\t</ng-container>\n\n\t<p-table-footer\n\t\t*ngIf=\"enableFooter\"\n\t\t[hideOnSinglePage]=\"hideOnSinglePage\"\n\t\t[enablePaginationSize]=\"enablePaginationSize\"\n\t\t[pageSize]=\"pageSize\"\n\t\t[pageSizeOptions]=\"pageSizeOptions\"\n\t\t(pageSizeChange)=\"onPageSizeChange($event)\"\n\t\t[enablePaginationPages]=\"enablePaginationPages\"\n\t\t[page]=\"page\"\n\t\t[total]=\"total\"\n\t\t(pageChange)=\"onPageChange($event)\"\n\t\t[loading]=\"footerLoading\"\n\t\t(hiddenChange)=\"footerHidden$.next($event.detail)\"\n\t></p-table-footer>\n</p-table-container>\n\n<ng-template #rowsTemplate>\n\t<p-table-row variant=\"header\">\n\t\t<ng-container *ngFor=\"let col of columns$ | async; let index = index\">\n\t\t\t<p-table-cell-ngx\n\t\t\t\t[definition]=\"col\"\n\t\t\t\t[value]=\"col.name\"\n\t\t\t\tvariant=\"header\"\n\t\t\t\t[index]=\"index\"\n\t\t\t\t[checkbox]=\"\n\t\t\t\t\t(index === 0 || col.hasCheckbox) && enableRowSelection\n\t\t\t\t\t\t? checkboxTemplate\n\t\t\t\t\t\t: undefined\n\t\t\t\t\"\n\t\t\t></p-table-cell-ngx>\n\t\t\t<ng-template #checkboxTemplate>\n\t\t\t\t<p-checkbox\n\t\t\t\t\t(checkedChange)=\"_selectAllChange($event)\"\n\t\t\t\t\t[checked]=\"_selectionContainsAll()\"\n\t\t\t\t\t[indeterminate]=\"_selectionIndeterminate()\"\n\t\t\t\t\t[class.opacity-0]=\"rowSelectionLimit !== undefined\"\n\t\t\t\t\t[disabled]=\"rowSelectionLimit !== undefined\"\n\t\t\t\t></p-checkbox>\n\t\t\t</ng-template>\n\t\t</ng-container>\n\t</p-table-row>\n\n\t<div class=\"flex flex-1 flex-col\">\n\t\t<ng-container *ngIf=\"loading; else contentTemplate\">\n\t\t\t<p-table-row\n\t\t\t\t*ngFor=\"let r of loadingRows; let rowIndex = index\"\n\t\t\t\t[enableHover]=\"enableRowSelection || enableRowClick\"\n\t\t\t>\n\t\t\t\t<ng-container *ngFor=\"let col of columns$ | async; let index = index\">\n\t\t\t\t\t<p-table-cell-ngx\n\t\t\t\t\t\t[definition]=\"col\"\n\t\t\t\t\t\tvariant=\"loading\"\n\t\t\t\t\t\t[checkbox]=\"\n\t\t\t\t\t\t\t(index === 0 || col.hasCheckbox) && enableRowSelection\n\t\t\t\t\t\t\t\t? checkboxTemplate\n\t\t\t\t\t\t\t\t: undefined\n\t\t\t\t\t\t\"\n\t\t\t\t\t\t[index]=\"index\"\n\t\t\t\t\t\t[rowIndex]=\"rowIndex\"\n\t\t\t\t\t></p-table-cell-ngx>\n\t\t\t\t\t<ng-template #checkboxTemplate>\n\t\t\t\t\t\t<p-loader\n\t\t\t\t\t\t\tvariant=\"ghost\"\n\t\t\t\t\t\t\tclass=\"h-6 w-6 rounded\"\n\t\t\t\t\t\t></p-loader>\n\t\t\t\t\t</ng-template>\n\t\t\t\t</ng-container>\n\t\t\t</p-table-row>\n\t\t</ng-container>\n\n\t\t<ng-template #contentTemplate>\n\t\t\t<ng-container *ngIf=\"parsedItems?.length; else emptyStateTemplate\">\n\t\t\t\t<p-table-row\n\t\t\t\t\t*ngFor=\"let item of parsedItems; let rowIndex = index\"\n\t\t\t\t\t[enableHover]=\"enableRowSelection || enableRowClick\"\n\t\t\t\t\t(click)=\"_rowClick($event, rowIndex)\"\n\t\t\t\t>\n\t\t\t\t\t<ng-container\n\t\t\t\t\t\t*ngIf=\"\n\t\t\t\t\t\t\tparseRowActionsRow(\n\t\t\t\t\t\t\t\trowActionsRow$ | async,\n\t\t\t\t\t\t\t\trowIndex\n\t\t\t\t\t\t\t) as rowActionsRow\n\t\t\t\t\t\t\"\n\t\t\t\t\t>\n\t\t\t\t\t\t<ng-container *ngFor=\"let col of columns$ | async; let index = index\">\n\t\t\t\t\t\t\t<p-table-cell-ngx\n\t\t\t\t\t\t\t\t[definition]=\"col\"\n\t\t\t\t\t\t\t\t[item]=\"item\"\n\t\t\t\t\t\t\t\t[checkbox]=\"\n\t\t\t\t\t\t\t\t\t(index === 0 || col.hasCheckbox) && enableRowSelection\n\t\t\t\t\t\t\t\t\t\t? checkboxTemplate\n\t\t\t\t\t\t\t\t\t\t: undefined\n\t\t\t\t\t\t\t\t\"\n\t\t\t\t\t\t\t\t[index]=\"index\"\n\t\t\t\t\t\t\t\t[rowIndex]=\"rowIndex\"\n\t\t\t\t\t\t\t\t[template]=\"col.template\"\n\t\t\t\t\t\t\t></p-table-cell-ngx>\n\n\t\t\t\t\t\t\t<ng-template #checkboxTemplate>\n\t\t\t\t\t\t\t\t<p-checkbox\n\t\t\t\t\t\t\t\t\t(checkedChange)=\"_checkboxChange($event.target, rowIndex)\"\n\t\t\t\t\t\t\t\t\t[disabled]=\"_checkboxDisabled(item, rowIndex)\"\n\t\t\t\t\t\t\t\t\t[checked]=\"_selectionContains(item, rowIndex)\"\n\t\t\t\t\t\t\t\t></p-checkbox>\n\t\t\t\t\t\t\t</ng-template>\n\t\t\t\t\t\t</ng-container>\n\n\t\t\t\t\t\t<p-table-row-actions-container\n\t\t\t\t\t\t\t*ngIf=\"!!rowActionsRow?.length && !(isMobile$ | async)\"\n\t\t\t\t\t\t\tslot=\"actions\"\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t<ng-container *ngFor=\"let action of rowActionsRow\">\n\t\t\t\t\t\t\t\t<p-tooltip\n\t\t\t\t\t\t\t\t\t*ngIf=\"\n\t\t\t\t\t\t\t\t\t\taction.showFunction\n\t\t\t\t\t\t\t\t\t\t\t? action.showFunction(parsedItems[rowIndex])\n\t\t\t\t\t\t\t\t\t\t\t: true\n\t\t\t\t\t\t\t\t\t\"\n\t\t\t\t\t\t\t\t\t[content]=\"action['label']\"\n\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t<p-button\n\t\t\t\t\t\t\t\t\t\tdata-is-action\n\t\t\t\t\t\t\t\t\t\tvariant=\"secondary\"\n\t\t\t\t\t\t\t\t\t\tslot=\"trigger\"\n\t\t\t\t\t\t\t\t\t\t[icon]=\"action['icon']\"\n\t\t\t\t\t\t\t\t\t\t[iconRotate]=\"action['iconRotate']\"\n\t\t\t\t\t\t\t\t\t\ticonFlip=\"action.iconFlip\"\n\t\t\t\t\t\t\t\t\t\ticonOnly=\"true\"\n\t\t\t\t\t\t\t\t\t\tsize=\"sm\"\n\t\t\t\t\t\t\t\t\t\t[loading]=\"action['loading']\"\n\t\t\t\t\t\t\t\t\t\t[disabled]=\"action['disabled']\"\n\t\t\t\t\t\t\t\t\t\t[routerLink]=\"\n\t\t\t\t\t\t\t\t\t\t\taction.routerLink\n\t\t\t\t\t\t\t\t\t\t\t\t? (_getActionRouterLink(action.routerLink, rowIndex)\n\t\t\t\t\t\t\t\t\t\t\t\t | async)\n\t\t\t\t\t\t\t\t\t\t\t\t: null\n\t\t\t\t\t\t\t\t\t\t\"\n\t\t\t\t\t\t\t\t\t\t[queryParams]=\"\n\t\t\t\t\t\t\t\t\t\t\taction.queryParams\n\t\t\t\t\t\t\t\t\t\t\t\t? (_getActionQueryParams(action.queryParams, rowIndex)\n\t\t\t\t\t\t\t\t\t\t\t\t | async)\n\t\t\t\t\t\t\t\t\t\t\t\t: null\n\t\t\t\t\t\t\t\t\t\t\"\n\t\t\t\t\t\t\t\t\t\t(onClick)=\"_rowActionClick(action, rowIndex)\"\n\t\t\t\t\t\t\t\t\t></p-button>\n\t\t\t\t\t\t\t\t</p-tooltip>\n\t\t\t\t\t\t\t</ng-container>\n\t\t\t\t\t\t</p-table-row-actions-container>\n\t\t\t\t\t</ng-container>\n\t\t\t\t</p-table-row>\n\t\t\t</ng-container>\n\t\t</ng-template>\n\t</div>\n</ng-template>\n\n<ng-container *ngIf=\"filterModalTemplate\">\n\t<p-modal\n\t\t[header]=\"filterModalHeaderText\"\n\t\t[show]=\"filterModalShow$ | async\"\n\t\t(closed)=\"filterModalShow$.next(false)\"\n\t>\n\t\t<div\n\t\t\tslot=\"content\"\n\t\t\tclass=\"flex flex-col gap-6\"\n\t\t>\n\t\t\t<ng-container *ngTemplateOutlet=\"filterModalTemplate\"></ng-container>\n\t\t</div>\n\t\t<div\n\t\t\tslot=\"footer\"\n\t\t\tclass=\"flex w-full justify-between gap-4\"\n\t\t>\n\t\t\t<p-button\n\t\t\t\t*ngIf=\"filterModalShowResetMobile\"\n\t\t\t\tclass=\"flex w-full tablet:w-auto desktop-xs:hidden\"\n\t\t\t\tvariant=\"secondary\"\n\t\t\t\t(onClick)=\"onFilterModalReset(true)\"\n\t\t\t>\n\t\t\t\t{{ filterModalResetText }}\n\t\t\t</p-button>\n\t\t\t<p-button\n\t\t\t\t*ngIf=\"filterModalShowReset\"\n\t\t\t\tclass=\"hidden w-full tablet:w-auto desktop-xs:flex\"\n\t\t\t\tvariant=\"secondary\"\n\t\t\t\t(onClick)=\"onFilterModalReset()\"\n\t\t\t>\n\t\t\t\t{{ filterModalResetText }}\n\t\t\t</p-button>\n\t\t\t<p-button\n\t\t\t\tclass=\"ml-auto w-full tablet:w-auto\"\n\t\t\t\ticon=\"checkmark\"\n\t\t\t\t(onClick)=\"onFilterModalSave()\"\n\t\t\t>\n\t\t\t\t{{ filterModalSaveText }}\n\t\t\t</p-button>\n\t\t</div>\n\t</p-modal>\n</ng-container>\n\n<ng-template #emptyStateTemplate>\n\t<p-empty-state\n\t\t*ngIf=\"emptyStateType === 'filtered'; else emptyStateNonFilterTemplate\"\n\t\tclass=\"my-16 self-center\"\n\t\t[illustration]=\"emptyStateFilteredIllustration\"\n\t\t[header]=\"emptyStateFilteredHeader\"\n\t\t[content]=\"emptyStateFilteredContent\"\n\t></p-empty-state>\n</ng-template>\n\n<ng-template #emptyStateNonFilterTemplate>\n\t<p-empty-state\n\t\tclass=\"my-16 self-center\"\n\t\t[illustration]=\"emptyStateIllustration\"\n\t\t[header]=\"emptyStateHeader\"\n\t\t[content]=\"emptyStateContent\"\n\t\t[enableAction]=\"enableEmptyStateAction\"\n\t\t[actionText]=\"emptyStateAction\"\n\t\t[actionIcon]=\"emptyStateActionIcon\"\n\t\t(action)=\"emptyStateClicked()\"\n\t></p-empty-state>\n</ng-template>\n" }]
|
|
4243
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { className: [{
|
|
4244
|
+
type: HostBinding,
|
|
4245
|
+
args: ['class']
|
|
4246
|
+
}], items: [{
|
|
3786
4247
|
type: Input
|
|
3787
4248
|
}], loading: [{
|
|
3788
4249
|
type: Input
|
|
@@ -3858,9 +4319,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
3858
4319
|
type: Output
|
|
3859
4320
|
}], enableFooter: [{
|
|
3860
4321
|
type: Input
|
|
3861
|
-
}],
|
|
4322
|
+
}], enablePaginationSize: [{
|
|
3862
4323
|
type: Input
|
|
3863
|
-
}],
|
|
4324
|
+
}], enablePaginationPages: [{
|
|
3864
4325
|
type: Input
|
|
3865
4326
|
}], enableExport: [{
|
|
3866
4327
|
type: Input
|
|
@@ -3890,6 +4351,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
3890
4351
|
type: Input
|
|
3891
4352
|
}], emptyStateAction: [{
|
|
3892
4353
|
type: Input
|
|
4354
|
+
}], emptyStateActionIcon: [{
|
|
4355
|
+
type: Input
|
|
3893
4356
|
}], enableEmptyStateAction: [{
|
|
3894
4357
|
type: Input
|
|
3895
4358
|
}], emptyStateFilteredIllustration: [{
|
|
@@ -3898,6 +4361,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
3898
4361
|
type: Input
|
|
3899
4362
|
}], emptyStateFilteredContent: [{
|
|
3900
4363
|
type: Input
|
|
4364
|
+
}], enableScroll: [{
|
|
4365
|
+
type: Input
|
|
4366
|
+
}], tableRows: [{
|
|
4367
|
+
type: ViewChildren,
|
|
4368
|
+
args: [PTableRow$1, { read: ElementRef }]
|
|
4369
|
+
}], tableCells: [{
|
|
4370
|
+
type: ViewChildren,
|
|
4371
|
+
args: [TableCell, { read: ElementRef }]
|
|
4372
|
+
}], scrollContainer: [{
|
|
4373
|
+
type: ViewChild,
|
|
4374
|
+
args: ['scrollContainer']
|
|
3901
4375
|
}], emptyStateActionClick: [{
|
|
3902
4376
|
type: Output
|
|
3903
4377
|
}], shadow: [{
|
|
@@ -3977,10 +4451,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
3977
4451
|
var ToastVariants;
|
|
3978
4452
|
(function (ToastVariants) {
|
|
3979
4453
|
ToastVariants["Success"] = "positive";
|
|
3980
|
-
ToastVariants["Warning"] = "
|
|
4454
|
+
ToastVariants["Warning"] = "biased";
|
|
3981
4455
|
ToastVariants["Error"] = "negative";
|
|
4456
|
+
ToastVariants["Neutral"] = "neutral";
|
|
3982
4457
|
ToastVariants["Positive"] = "positive";
|
|
3983
|
-
ToastVariants["
|
|
4458
|
+
ToastVariants["Biased"] = "biased";
|
|
3984
4459
|
ToastVariants["Negative"] = "negative";
|
|
3985
4460
|
})(ToastVariants || (ToastVariants = {}));
|
|
3986
4461
|
|
|
@@ -4094,7 +4569,7 @@ let ToastContainer = class ToastContainer {
|
|
|
4094
4569
|
}
|
|
4095
4570
|
};
|
|
4096
4571
|
ToastContainer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ToastContainer, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }, { token: ToastService }], target: i0.ɵɵFactoryTarget.Component });
|
|
4097
|
-
ToastContainer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: ToastContainer, selector: "p-toast-container", inputs: { placement: "placement" }, ngImport: i0, template: "<p-toast\n\t*ngFor=\"let toast of toasts$ | async; let index = index\"\n\t[variant]=\"toast.variant\"\n\t[header]=\"toast.header\"\n\t[content]=\"toast.content\"\n\t[identifier]=\"toast.identifier\"\n\t[delay]=\"toast.options.delay ?? 5000\"\n\t[dismissOnAction]=\"toast.options.dismissOnAction ?? true\"\n\t[enableAction]=\"toast.options.enableAction\"\n\t[actionFunc]=\"toast.options.action\"\n\t[actionData]=\"toast.options.actionData\"\n\t[actionIcon]=\"toast.options.icon?.variant\"\n\t[actionIconFlip]=\"toast.options.icon?.flip\"\n\t[actionIconRotate]=\"toast.options.icon?.rotate\"\n\t(dismiss)=\"dismiss($event)\"\n\t[@pSlideInBottomOutTop]\n></p-toast>\n", dependencies: [{ kind: "directive", type: i1$
|
|
4572
|
+
ToastContainer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: ToastContainer, selector: "p-toast-container", inputs: { placement: "placement" }, ngImport: i0, template: "<p-toast\n\t*ngFor=\"let toast of toasts$ | async; let index = index\"\n\t[variant]=\"toast.variant\"\n\t[header]=\"toast.header\"\n\t[content]=\"toast.content\"\n\t[identifier]=\"toast.identifier\"\n\t[delay]=\"toast.options.delay ?? 5000\"\n\t[dismissOnAction]=\"toast.options.dismissOnAction ?? true\"\n\t[enableAction]=\"toast.options.enableAction\"\n\t[actionFunc]=\"toast.options.action\"\n\t[actionData]=\"toast.options.actionData\"\n\t[actionIcon]=\"toast.options.icon?.variant\"\n\t[actionIconFlip]=\"toast.options.icon?.flip\"\n\t[actionIconRotate]=\"toast.options.icon?.rotate\"\n\t(dismiss)=\"dismiss($event)\"\n\t[@pSlideInBottomOutTop]\n></p-toast>\n", dependencies: [{ kind: "directive", type: i1$2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: PToast, selector: "p-toast", inputs: ["actionIcon", "actionIconFlip", "actionIconRotate", "content", "enableAction", "header", "variant"] }, { kind: "directive", type: ToastDirective, selector: "p-toast", inputs: ["delay", "identifier", "dismissOnAction", "actionFunc", "actionData"], outputs: ["dismiss"] }, { kind: "pipe", type: i1$2.AsyncPipe, name: "async" }], animations: [SLIDE_IN_TOP_OUT_BOTTOM], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
4098
4573
|
ToastContainer = __decorate([
|
|
4099
4574
|
ProxyCmp({
|
|
4100
4575
|
defineCustomElementFn: undefined,
|
|
@@ -4136,14 +4611,14 @@ class CustomCurrencyPipe {
|
|
|
4136
4611
|
return this._currencyPipe.transform(value, currencyCode, display, digitsInfo, locale);
|
|
4137
4612
|
}
|
|
4138
4613
|
}
|
|
4139
|
-
CustomCurrencyPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: CustomCurrencyPipe, deps: [{ token: i1$
|
|
4614
|
+
CustomCurrencyPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: CustomCurrencyPipe, deps: [{ token: i1$2.CurrencyPipe }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4140
4615
|
CustomCurrencyPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: CustomCurrencyPipe, name: "pcurrency" });
|
|
4141
4616
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: CustomCurrencyPipe, decorators: [{
|
|
4142
4617
|
type: Pipe,
|
|
4143
4618
|
args: [{
|
|
4144
4619
|
name: 'pcurrency',
|
|
4145
4620
|
}]
|
|
4146
|
-
}], ctorParameters: function () { return [{ type: i1$
|
|
4621
|
+
}], ctorParameters: function () { return [{ type: i1$2.CurrencyPipe }]; } });
|
|
4147
4622
|
|
|
4148
4623
|
class CustomDatePipe {
|
|
4149
4624
|
constructor(_datePipe) {
|
|
@@ -4153,14 +4628,14 @@ class CustomDatePipe {
|
|
|
4153
4628
|
return this._datePipe.transform(value, format);
|
|
4154
4629
|
}
|
|
4155
4630
|
}
|
|
4156
|
-
CustomDatePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: CustomDatePipe, deps: [{ token: i1$
|
|
4631
|
+
CustomDatePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: CustomDatePipe, deps: [{ token: i1$2.DatePipe }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4157
4632
|
CustomDatePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: CustomDatePipe, name: "pdate" });
|
|
4158
4633
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: CustomDatePipe, decorators: [{
|
|
4159
4634
|
type: Pipe,
|
|
4160
4635
|
args: [{
|
|
4161
4636
|
name: 'pdate',
|
|
4162
4637
|
}]
|
|
4163
|
-
}], ctorParameters: function () { return [{ type: i1$
|
|
4638
|
+
}], ctorParameters: function () { return [{ type: i1$2.DatePipe }]; } });
|
|
4164
4639
|
|
|
4165
4640
|
class SafePipe {
|
|
4166
4641
|
constructor(sanitizer) {
|
|
@@ -4183,14 +4658,14 @@ class SafePipe {
|
|
|
4183
4658
|
}
|
|
4184
4659
|
}
|
|
4185
4660
|
}
|
|
4186
|
-
SafePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SafePipe, deps: [{ token: i1$
|
|
4661
|
+
SafePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SafePipe, deps: [{ token: i1$3.DomSanitizer }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4187
4662
|
SafePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: SafePipe, name: "psafe" });
|
|
4188
4663
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SafePipe, decorators: [{
|
|
4189
4664
|
type: Pipe,
|
|
4190
4665
|
args: [{
|
|
4191
4666
|
name: 'psafe',
|
|
4192
4667
|
}]
|
|
4193
|
-
}], ctorParameters: function () { return [{ type: i1$
|
|
4668
|
+
}], ctorParameters: function () { return [{ type: i1$3.DomSanitizer }]; } });
|
|
4194
4669
|
|
|
4195
4670
|
const PIPES = [CustomCurrencyPipe, CustomDatePipe, SafePipe];
|
|
4196
4671
|
|
|
@@ -4204,7 +4679,7 @@ class PaperlessModule {
|
|
|
4204
4679
|
}
|
|
4205
4680
|
}
|
|
4206
4681
|
PaperlessModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PaperlessModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4207
|
-
PaperlessModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: PaperlessModule, declarations: [
|
|
4682
|
+
PaperlessModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: PaperlessModule, declarations: [PaginationSizeDirective, PaginationPagesDirective, SelectDirective, DatepickerDirective, CropperDirective, FieldDirective, RadioDirective, CheckboxDirective, ToggleDirective, CustomCurrencyPipe, CustomDatePipe, SafePipe], imports: [CommonModule, StencilModule, TableModule, ToastModule, OverlayModule], exports: [StencilModule, TableModule, ToastModule, OverlayModule, PaginationSizeDirective, PaginationPagesDirective, SelectDirective, DatepickerDirective, CropperDirective, FieldDirective, RadioDirective, CheckboxDirective, ToggleDirective, CustomCurrencyPipe, CustomDatePipe, SafePipe] });
|
|
4208
4683
|
PaperlessModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PaperlessModule, providers: [...NGX_PIPES, ...PIPES], imports: [CommonModule, StencilModule, MODULES, StencilModule, TableModule, ToastModule, OverlayModule] });
|
|
4209
4684
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PaperlessModule, decorators: [{
|
|
4210
4685
|
type: NgModule,
|
|
@@ -4224,5 +4699,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
4224
4699
|
* Generated bundle index. Do not edit.
|
|
4225
4700
|
*/
|
|
4226
4701
|
|
|
4227
|
-
export { BaseFormComponent, BaseTableComponent, BaseUploadComponent, BaseValueAccessor, CropperDirective, CustomCurrencyPipe, CustomDatePipe, DIRECTIVES$1 as DIRECTIVES, DatepickerDirective, FADE_IN, FADE_OUT, MODULES, OVERLAY_SERVICES, OverlayModule, OverlayRef, OverlayService, PAccordion, PAttachment, PAvatar, PAvatarGroup, PBackdrop, PBadge, PButton, PButtonGroup, PCalendar, PCardBody, PCardContainer, PCardHeader, PContentSlider, PCounter, PCropper, PDatepicker, PDivider, PDrawer, PDrawerBody, PDrawerContainer, PDrawerHeader, PDropdown, PDropdownMenuContainer, PDropdownMenuItem, PFloatingMenuContainer, PFloatingMenuItem, PHelper, PIPES, PIbanIcon, PIcon,
|
|
4702
|
+
export { BaseFormComponent, BaseTableComponent, BaseUploadComponent, BaseValueAccessor, CheckboxDirective, CropperDirective, CustomCurrencyPipe, CustomDatePipe, DIRECTIVES$1 as DIRECTIVES, DatepickerDirective, FADE_IN, FADE_OUT, FieldDirective, MODULES, OVERLAY_SERVICES, OverlayModule, OverlayRef, OverlayService, PAccordion, PAttachment, PAvatar, PAvatarGroup, PBackdrop, PBadge, PButton, PButtonGroup, PCalendar, PCardBody, PCardContainer, PCardHeader, PCheckbox, PContentSlider, PCounter, PCropper, PDatepicker, PDivider, PDrawer, PDrawerBody, PDrawerContainer, PDrawerHeader, PDropdown, PDropdownMenuContainer, PDropdownMenuItem, PEmptyState, PField, PFieldContainer, PFloatingMenuContainer, PFloatingMenuItem, PHelper, PIPES, PIbanIcon, PIcon, PIllustration, PIllustrationDeprecated, PInfoPanel, PInputError, PInputGroup, PLabel, PLayout, PLoader, PModal, PModalBody, PModalContainer, PModalFooter, PModalHeader, PNavbar, PNavigationItem, PNavigationSection, PNavigationTitle, PPagination, PPaginationPages, PPaginationPagesItem, PPaginationSize, PPortal, PProfile, PRadio, PSegmentContainer, PSegmentItem, PSelect, PSliderIndicator, PSmile, PStatus, PStepper, PStepperItem, PStepperLine, PTabContainer, PTabItem, PTableContainer, PTableFooter, PTableHeader, PTableRow, PTableRowActionsContainer, PToast, PToggle, PTooltip, PaginationPagesDirective, PaginationSizeDirective, PaperlessModule, RadioDirective, SLIDE_IN_BOTTOM_OUT_TOP, SLIDE_IN_TOP_OUT_BOTTOM, SafePipe, SelectDirective, StencilModule, TABLE_COMPONENTS, TABLE_DIRECTIVES, TOAST_COMPONENTS, TOAST_DIRECTIVES, TOAST_SERVICES, Table, TableCell, TableColumn, TableCustomActionsDirective, TableCustomFilterDirective, TableDirective, TableFilterModalDirective, TableFooterDirective, TableHeaderDirective, TableModule, TableNgxDirective, TableRowAction, ToastContainer, ToastDirective, ToastModule, ToastService, ToastVariants, ToggleDirective, createFormFilters };
|
|
4228
4703
|
//# sourceMappingURL=paperless-angular.mjs.map
|