@paperless/angular 2.0.1-beta.2 → 2.0.1-beta.200
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 +5 -19
- package/esm2020/lib/modules/table/components/table-column/table-column.component.mjs +20 -4
- 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 +476 -255
- package/esm2020/lib/stencil/index.mjs +19 -10
- package/esm2020/lib/stencil.module.mjs +1 -1
- package/fesm2015/paperless-angular.mjs +854 -390
- package/fesm2015/paperless-angular.mjs.map +1 -1
- package/fesm2020/paperless-angular.mjs +849 -389
- 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/table/components/table-column/table-column.component.d.ts +1 -1
- package/lib/modules/toast/types.d.ts +3 -2
- package/lib/paperless.module.d.ts +15 -11
- package/lib/stencil/components.d.ts +315 -161
- package/lib/stencil/index.d.ts +1 -1
- package/lib/stencil.module.d.ts +1 -1
- package/package.json +1 -1
- package/paperless.css +250 -55
- 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,24 @@
|
|
|
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';
|
|
17
18
|
import * as i2 from '@angular/router';
|
|
18
19
|
import { RouterModule } from '@angular/router';
|
|
19
20
|
import { v4 } from 'uuid';
|
|
20
|
-
import * as i1$
|
|
21
|
+
import * as i1$3 from '@angular/platform-browser';
|
|
21
22
|
|
|
22
23
|
const FADE_IN = trigger('pFadeIn', [
|
|
23
24
|
transition(':enter', [
|
|
@@ -253,6 +254,41 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
253
254
|
args: ['focusout']
|
|
254
255
|
}] } });
|
|
255
256
|
|
|
257
|
+
class CheckboxDirective extends BaseValueAccessor {
|
|
258
|
+
constructor(el) {
|
|
259
|
+
super(el);
|
|
260
|
+
}
|
|
261
|
+
writeValue(value) {
|
|
262
|
+
this.el.nativeElement.checked = this.lastValue =
|
|
263
|
+
value === null || value === 'indeterminate' ? false : value;
|
|
264
|
+
this.el.nativeElement.indeterminate = value === 'indeterminate';
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
CheckboxDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: CheckboxDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
268
|
+
CheckboxDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.9", type: CheckboxDirective, selector: "p-checkbox", host: { listeners: { "checkedChange": "handleChangeEvent($event.detail)" } }, providers: [
|
|
269
|
+
{
|
|
270
|
+
provide: NG_VALUE_ACCESSOR,
|
|
271
|
+
useExisting: CheckboxDirective,
|
|
272
|
+
multi: true,
|
|
273
|
+
},
|
|
274
|
+
], usesInheritance: true, ngImport: i0 });
|
|
275
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: CheckboxDirective, decorators: [{
|
|
276
|
+
type: Directive,
|
|
277
|
+
args: [{
|
|
278
|
+
selector: 'p-checkbox',
|
|
279
|
+
host: {
|
|
280
|
+
'(checkedChange)': 'handleChangeEvent($event.detail)',
|
|
281
|
+
},
|
|
282
|
+
providers: [
|
|
283
|
+
{
|
|
284
|
+
provide: NG_VALUE_ACCESSOR,
|
|
285
|
+
useExisting: CheckboxDirective,
|
|
286
|
+
multi: true,
|
|
287
|
+
},
|
|
288
|
+
],
|
|
289
|
+
}]
|
|
290
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
|
|
291
|
+
|
|
256
292
|
class CropperDirective extends BaseValueAccessor {
|
|
257
293
|
constructor(el) {
|
|
258
294
|
super(el);
|
|
@@ -320,80 +356,169 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
320
356
|
}]
|
|
321
357
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
|
|
322
358
|
|
|
323
|
-
class
|
|
359
|
+
class FieldDirective extends BaseValueAccessor {
|
|
324
360
|
constructor(el) {
|
|
325
361
|
super(el);
|
|
326
362
|
}
|
|
327
363
|
writeValue(value) {
|
|
328
|
-
this.el.nativeElement.
|
|
364
|
+
this.el.nativeElement.value = this.lastValue =
|
|
365
|
+
value === null ? JSON.parse(value) : value;
|
|
366
|
+
}
|
|
367
|
+
}
|
|
368
|
+
FieldDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FieldDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
369
|
+
FieldDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.9", type: FieldDirective, selector: "p-field", host: { listeners: { "valueChange": "handleChangeEvent($event.detail)" } }, providers: [
|
|
370
|
+
{
|
|
371
|
+
provide: NG_VALUE_ACCESSOR,
|
|
372
|
+
useExisting: FieldDirective,
|
|
373
|
+
multi: true,
|
|
374
|
+
},
|
|
375
|
+
], usesInheritance: true, ngImport: i0 });
|
|
376
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FieldDirective, decorators: [{
|
|
377
|
+
type: Directive,
|
|
378
|
+
args: [{
|
|
379
|
+
selector: 'p-field',
|
|
380
|
+
host: {
|
|
381
|
+
'(valueChange)': 'handleChangeEvent($event.detail)',
|
|
382
|
+
},
|
|
383
|
+
providers: [
|
|
384
|
+
{
|
|
385
|
+
provide: NG_VALUE_ACCESSOR,
|
|
386
|
+
useExisting: FieldDirective,
|
|
387
|
+
multi: true,
|
|
388
|
+
},
|
|
389
|
+
],
|
|
390
|
+
}]
|
|
391
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
|
|
392
|
+
|
|
393
|
+
class PaginationPagesDirective extends BaseValueAccessor {
|
|
394
|
+
constructor(el) {
|
|
395
|
+
super(el);
|
|
396
|
+
}
|
|
397
|
+
writeValue(value) {
|
|
398
|
+
this.el.nativeElement.page = this.lastValue = value == null ? 1 : value;
|
|
329
399
|
}
|
|
330
400
|
registerOnChange(fn) {
|
|
331
401
|
super.registerOnChange(value => fn(parseInt(value, 10)));
|
|
332
402
|
}
|
|
333
403
|
}
|
|
334
|
-
|
|
335
|
-
|
|
404
|
+
PaginationPagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PaginationPagesDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
405
|
+
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
406
|
{
|
|
337
407
|
provide: NG_VALUE_ACCESSOR,
|
|
338
|
-
useExisting:
|
|
408
|
+
useExisting: PaginationPagesDirective,
|
|
339
409
|
multi: true,
|
|
340
410
|
},
|
|
341
411
|
], usesInheritance: true, ngImport: i0 });
|
|
342
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type:
|
|
412
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PaginationPagesDirective, decorators: [{
|
|
343
413
|
type: Directive,
|
|
344
414
|
args: [{
|
|
345
415
|
/* tslint:disable-next-line:directive-selector */
|
|
346
|
-
selector: 'p-
|
|
416
|
+
selector: 'p-pagination-pages',
|
|
347
417
|
host: {
|
|
348
|
-
'(
|
|
418
|
+
'(pageChange)': 'handleChangeEvent($event.detail)',
|
|
349
419
|
},
|
|
350
420
|
providers: [
|
|
351
421
|
{
|
|
352
422
|
provide: NG_VALUE_ACCESSOR,
|
|
353
|
-
useExisting:
|
|
423
|
+
useExisting: PaginationPagesDirective,
|
|
354
424
|
multi: true,
|
|
355
425
|
},
|
|
356
426
|
],
|
|
357
427
|
}]
|
|
358
428
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
|
|
359
429
|
|
|
360
|
-
class
|
|
430
|
+
class PaginationSizeDirective extends BaseValueAccessor {
|
|
361
431
|
constructor(el) {
|
|
362
432
|
super(el);
|
|
363
433
|
}
|
|
364
434
|
writeValue(value) {
|
|
365
|
-
this.el.nativeElement.page = this.lastValue = value == null ?
|
|
435
|
+
this.el.nativeElement.page = this.lastValue = value == null ? 12 : value;
|
|
366
436
|
}
|
|
367
437
|
registerOnChange(fn) {
|
|
368
438
|
super.registerOnChange(value => fn(parseInt(value, 10)));
|
|
369
439
|
}
|
|
370
440
|
}
|
|
371
|
-
|
|
372
|
-
|
|
441
|
+
PaginationSizeDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PaginationSizeDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
442
|
+
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
443
|
{
|
|
374
444
|
provide: NG_VALUE_ACCESSOR,
|
|
375
|
-
useExisting:
|
|
445
|
+
useExisting: PaginationSizeDirective,
|
|
376
446
|
multi: true,
|
|
377
447
|
},
|
|
378
448
|
], usesInheritance: true, ngImport: i0 });
|
|
379
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type:
|
|
449
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PaginationSizeDirective, decorators: [{
|
|
380
450
|
type: Directive,
|
|
381
451
|
args: [{
|
|
382
452
|
/* tslint:disable-next-line:directive-selector */
|
|
383
|
-
selector: 'p-pagination',
|
|
453
|
+
selector: 'p-pagination-size',
|
|
384
454
|
host: {
|
|
385
|
-
'(
|
|
455
|
+
'(sizeChange)': 'handleChangeEvent($event.detail)',
|
|
386
456
|
},
|
|
387
457
|
providers: [
|
|
388
458
|
{
|
|
389
459
|
provide: NG_VALUE_ACCESSOR,
|
|
390
|
-
useExisting:
|
|
460
|
+
useExisting: PaginationSizeDirective,
|
|
391
461
|
multi: true,
|
|
392
462
|
},
|
|
393
463
|
],
|
|
394
464
|
}]
|
|
395
465
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
|
|
396
466
|
|
|
467
|
+
class RadioDirective extends BaseValueAccessor {
|
|
468
|
+
constructor(_control, el) {
|
|
469
|
+
super(el);
|
|
470
|
+
this._control = _control;
|
|
471
|
+
_control.valueAccessor = this;
|
|
472
|
+
}
|
|
473
|
+
ngOnInit() {
|
|
474
|
+
this._valueChanges = this._control
|
|
475
|
+
.control.valueChanges.pipe(filter(value => this._modelValue !== value))
|
|
476
|
+
.subscribe((value) => this.writeValue(value));
|
|
477
|
+
}
|
|
478
|
+
writeValue(value) {
|
|
479
|
+
const elValue = this._getValue();
|
|
480
|
+
this._modelValue = value;
|
|
481
|
+
this.el.nativeElement.checked =
|
|
482
|
+
this._modelValue === elValue;
|
|
483
|
+
}
|
|
484
|
+
handleChangeEvent() {
|
|
485
|
+
const elValue = this._getValue();
|
|
486
|
+
this._modelValue =
|
|
487
|
+
this._modelValue === elValue
|
|
488
|
+
? undefined
|
|
489
|
+
: elValue;
|
|
490
|
+
this.onChange(this._modelValue);
|
|
491
|
+
}
|
|
492
|
+
ngOnDestroy() {
|
|
493
|
+
if (this._valueChanges) {
|
|
494
|
+
this._valueChanges.unsubscribe();
|
|
495
|
+
}
|
|
496
|
+
}
|
|
497
|
+
_getValue() {
|
|
498
|
+
let value = this.el.nativeElement.value;
|
|
499
|
+
if (value === 'true') {
|
|
500
|
+
value = true;
|
|
501
|
+
}
|
|
502
|
+
if (value === 'false') {
|
|
503
|
+
value = false;
|
|
504
|
+
}
|
|
505
|
+
return value;
|
|
506
|
+
}
|
|
507
|
+
}
|
|
508
|
+
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 });
|
|
509
|
+
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 });
|
|
510
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: RadioDirective, decorators: [{
|
|
511
|
+
type: Directive,
|
|
512
|
+
args: [{
|
|
513
|
+
selector: 'p-radio',
|
|
514
|
+
host: {
|
|
515
|
+
'(checkedChange)': 'handleChangeEvent($event.detail)',
|
|
516
|
+
},
|
|
517
|
+
}]
|
|
518
|
+
}], ctorParameters: function () { return [{ type: i1.NgControl, decorators: [{
|
|
519
|
+
type: Self
|
|
520
|
+
}] }, { type: i0.ElementRef }]; } });
|
|
521
|
+
|
|
397
522
|
class SelectDirective extends BaseValueAccessor {
|
|
398
523
|
constructor(el) {
|
|
399
524
|
super(el);
|
|
@@ -427,15 +552,54 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
427
552
|
}]
|
|
428
553
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
|
|
429
554
|
|
|
555
|
+
class ToggleDirective extends BaseValueAccessor {
|
|
556
|
+
constructor(el) {
|
|
557
|
+
super(el);
|
|
558
|
+
}
|
|
559
|
+
writeValue(value) {
|
|
560
|
+
this.el.nativeElement.checked = this.lastValue =
|
|
561
|
+
value === null ? false : value;
|
|
562
|
+
}
|
|
563
|
+
}
|
|
564
|
+
ToggleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ToggleDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
565
|
+
ToggleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.9", type: ToggleDirective, selector: "p-toggle", host: { listeners: { "checkedChange": "handleChangeEvent($event.detail)" } }, providers: [
|
|
566
|
+
{
|
|
567
|
+
provide: NG_VALUE_ACCESSOR,
|
|
568
|
+
useExisting: ToggleDirective,
|
|
569
|
+
multi: true,
|
|
570
|
+
},
|
|
571
|
+
], usesInheritance: true, ngImport: i0 });
|
|
572
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ToggleDirective, decorators: [{
|
|
573
|
+
type: Directive,
|
|
574
|
+
args: [{
|
|
575
|
+
selector: 'p-toggle',
|
|
576
|
+
host: {
|
|
577
|
+
'(checkedChange)': 'handleChangeEvent($event.detail)',
|
|
578
|
+
},
|
|
579
|
+
providers: [
|
|
580
|
+
{
|
|
581
|
+
provide: NG_VALUE_ACCESSOR,
|
|
582
|
+
useExisting: ToggleDirective,
|
|
583
|
+
multi: true,
|
|
584
|
+
},
|
|
585
|
+
],
|
|
586
|
+
}]
|
|
587
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
|
|
588
|
+
|
|
430
589
|
const DIRECTIVES$1 = [
|
|
431
|
-
|
|
432
|
-
|
|
590
|
+
PaginationSizeDirective,
|
|
591
|
+
PaginationPagesDirective,
|
|
433
592
|
SelectDirective,
|
|
434
593
|
DatepickerDirective,
|
|
435
594
|
CropperDirective,
|
|
595
|
+
FieldDirective,
|
|
596
|
+
RadioDirective,
|
|
597
|
+
CheckboxDirective,
|
|
598
|
+
ToggleDirective,
|
|
436
599
|
];
|
|
437
600
|
|
|
438
601
|
/* eslint-disable */
|
|
602
|
+
/* tslint:disable */
|
|
439
603
|
const proxyInputs = (Cmp, inputs) => {
|
|
440
604
|
const Prototype = Cmp.prototype;
|
|
441
605
|
inputs.forEach((item) => {
|
|
@@ -446,6 +610,14 @@ const proxyInputs = (Cmp, inputs) => {
|
|
|
446
610
|
set(val) {
|
|
447
611
|
this.z.runOutsideAngular(() => (this.el[item] = val));
|
|
448
612
|
},
|
|
613
|
+
/**
|
|
614
|
+
* In the event that proxyInputs is called
|
|
615
|
+
* multiple times re-defining these inputs
|
|
616
|
+
* will cause an error to be thrown. As a result
|
|
617
|
+
* we set configurable: true to indicate these
|
|
618
|
+
* properties can be changed.
|
|
619
|
+
*/
|
|
620
|
+
configurable: true,
|
|
449
621
|
});
|
|
450
622
|
});
|
|
451
623
|
};
|
|
@@ -493,10 +665,10 @@ let PAccordion = class PAccordion {
|
|
|
493
665
|
}
|
|
494
666
|
};
|
|
495
667
|
PAccordion.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PAccordion, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
496
|
-
PAccordion.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PAccordion, selector: "p-accordion", inputs: { closeable: "closeable", header: "header", open: "open", openable: "openable" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
668
|
+
PAccordion.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PAccordion, selector: "p-accordion", inputs: { closeable: "closeable", header: "header", open: "open", openable: "openable", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
497
669
|
PAccordion = __decorate([
|
|
498
670
|
ProxyCmp({
|
|
499
|
-
inputs: ['closeable', 'header', 'open', 'openable']
|
|
671
|
+
inputs: ['closeable', 'header', 'open', 'openable', 'variant']
|
|
500
672
|
})
|
|
501
673
|
], PAccordion);
|
|
502
674
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PAccordion, decorators: [{
|
|
@@ -506,7 +678,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
506
678
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
507
679
|
template: '<ng-content></ng-content>',
|
|
508
680
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
509
|
-
inputs: ['closeable', 'header', 'open', 'openable'],
|
|
681
|
+
inputs: ['closeable', 'header', 'open', 'openable', 'variant'],
|
|
510
682
|
}]
|
|
511
683
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
512
684
|
let PAttachment = class PAttachment {
|
|
@@ -514,14 +686,14 @@ let PAttachment = class PAttachment {
|
|
|
514
686
|
this.z = z;
|
|
515
687
|
c.detach();
|
|
516
688
|
this.el = r.nativeElement;
|
|
517
|
-
proxyOutputs(this, this.el, ['download', 'delete']);
|
|
689
|
+
proxyOutputs(this, this.el, ['upload', 'download', 'delete']);
|
|
518
690
|
}
|
|
519
691
|
};
|
|
520
692
|
PAttachment.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PAttachment, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
521
|
-
PAttachment.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PAttachment, selector: "p-attachment", inputs: {
|
|
693
|
+
PAttachment.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PAttachment, selector: "p-attachment", inputs: { accept: "accept", cameraTooltip: "cameraTooltip", deleteTooltip: "deleteTooltip", downloadTooltip: "downloadTooltip", enableCameraOnMobile: "enableCameraOnMobile", error: "error", fileId: "fileId", helper: "helper", label: "label", loading: "loading", mode: "mode", placeholder: "placeholder", required: "required", uploadTooltip: "uploadTooltip", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
522
694
|
PAttachment = __decorate([
|
|
523
695
|
ProxyCmp({
|
|
524
|
-
inputs: ['
|
|
696
|
+
inputs: ['accept', 'cameraTooltip', 'deleteTooltip', 'downloadTooltip', 'enableCameraOnMobile', 'error', 'fileId', 'helper', 'label', 'loading', 'mode', 'placeholder', 'required', 'uploadTooltip', 'value']
|
|
525
697
|
})
|
|
526
698
|
], PAttachment);
|
|
527
699
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PAttachment, decorators: [{
|
|
@@ -531,7 +703,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
531
703
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
532
704
|
template: '<ng-content></ng-content>',
|
|
533
705
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
534
|
-
inputs: ['
|
|
706
|
+
inputs: ['accept', 'cameraTooltip', 'deleteTooltip', 'downloadTooltip', 'enableCameraOnMobile', 'error', 'fileId', 'helper', 'label', 'loading', 'mode', 'placeholder', 'required', 'uploadTooltip', 'value'],
|
|
535
707
|
}]
|
|
536
708
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
537
709
|
let PAvatar = class PAvatar {
|
|
@@ -542,10 +714,10 @@ let PAvatar = class PAvatar {
|
|
|
542
714
|
}
|
|
543
715
|
};
|
|
544
716
|
PAvatar.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PAvatar, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
545
|
-
PAvatar.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PAvatar, selector: "p-avatar", inputs: { defaultImage: "defaultImage", letters: "letters", size: "size", src: "src" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
717
|
+
PAvatar.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PAvatar, selector: "p-avatar", inputs: { defaultImage: "defaultImage", letters: "letters", size: "size", src: "src", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
546
718
|
PAvatar = __decorate([
|
|
547
719
|
ProxyCmp({
|
|
548
|
-
inputs: ['defaultImage', 'letters', 'size', 'src']
|
|
720
|
+
inputs: ['defaultImage', 'letters', 'size', 'src', 'variant']
|
|
549
721
|
})
|
|
550
722
|
], PAvatar);
|
|
551
723
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PAvatar, decorators: [{
|
|
@@ -555,7 +727,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
555
727
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
556
728
|
template: '<ng-content></ng-content>',
|
|
557
729
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
558
|
-
inputs: ['defaultImage', 'letters', 'size', 'src'],
|
|
730
|
+
inputs: ['defaultImage', 'letters', 'size', 'src', 'variant'],
|
|
559
731
|
}]
|
|
560
732
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
561
733
|
let PAvatarGroup = class PAvatarGroup {
|
|
@@ -638,10 +810,10 @@ let PButton = class PButton {
|
|
|
638
810
|
}
|
|
639
811
|
};
|
|
640
812
|
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: { as: "as", buttonGroupPosition: "buttonGroupPosition", chevron: "chevron", chevronPosition: "chevronPosition", disabled: "disabled", href: "href", icon: "icon", iconFlip: "iconFlip", iconOnly: "iconOnly", iconPosition: "iconPosition", iconRotate: "iconRotate", inheritText: "inheritText", loading: "loading", size: "size", target: "target", type: "type", underline: "underline", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
813
|
+
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", error: "error", 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
814
|
PButton = __decorate([
|
|
643
815
|
ProxyCmp({
|
|
644
|
-
inputs: ['as', 'buttonGroupPosition', 'chevron', 'chevronPosition', 'disabled', 'href', 'icon', 'iconFlip', 'iconOnly', 'iconPosition', 'iconRotate', 'inheritText', 'loading', 'size', 'target', 'type', 'underline', 'variant']
|
|
816
|
+
inputs: ['active', 'as', 'buttonGroupPosition', 'chevron', 'chevronPosition', 'class', 'disabled', 'error', 'href', 'icon', 'iconFlip', 'iconOnly', 'iconPosition', 'iconRotate', 'inheritText', 'label', 'loading', 'size', 'target', 'type', 'underline', 'variant']
|
|
645
817
|
})
|
|
646
818
|
], PButton);
|
|
647
819
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PButton, decorators: [{
|
|
@@ -651,7 +823,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
651
823
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
652
824
|
template: '<ng-content></ng-content>',
|
|
653
825
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
654
|
-
inputs: ['as', 'buttonGroupPosition', 'chevron', 'chevronPosition', 'disabled', 'href', 'icon', 'iconFlip', 'iconOnly', 'iconPosition', 'iconRotate', 'inheritText', 'loading', 'size', 'target', 'type', 'underline', 'variant'],
|
|
826
|
+
inputs: ['active', 'as', 'buttonGroupPosition', 'chevron', 'chevronPosition', 'class', 'disabled', 'error', 'href', 'icon', 'iconFlip', 'iconOnly', 'iconPosition', 'iconRotate', 'inheritText', 'label', 'loading', 'size', 'target', 'type', 'underline', 'variant'],
|
|
655
827
|
}]
|
|
656
828
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
657
829
|
let PButtonGroup = class PButtonGroup {
|
|
@@ -687,10 +859,10 @@ let PCalendar = class PCalendar {
|
|
|
687
859
|
}
|
|
688
860
|
};
|
|
689
861
|
PCalendar.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PCalendar, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
690
|
-
PCalendar.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PCalendar, selector: "p-calendar", inputs: { disableWeekends: "disableWeekends", disabledDates: "disabledDates", maxDate: "maxDate", minDate: "minDate", mode: "mode", preselectToday: "preselectToday", value: "value", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
862
|
+
PCalendar.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PCalendar, selector: "p-calendar", inputs: { disableWeekends: "disableWeekends", disabledDates: "disabledDates", enableToday: "enableToday", maxDate: "maxDate", minDate: "minDate", mode: "mode", preselectToday: "preselectToday", todayText: "todayText", value: "value", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
691
863
|
PCalendar = __decorate([
|
|
692
864
|
ProxyCmp({
|
|
693
|
-
inputs: ['disableWeekends', 'disabledDates', 'maxDate', 'minDate', 'mode', 'preselectToday', 'value', 'variant']
|
|
865
|
+
inputs: ['disableWeekends', 'disabledDates', 'enableToday', 'maxDate', 'minDate', 'mode', 'preselectToday', 'todayText', 'value', 'variant']
|
|
694
866
|
})
|
|
695
867
|
], PCalendar);
|
|
696
868
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PCalendar, decorators: [{
|
|
@@ -700,7 +872,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
700
872
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
701
873
|
template: '<ng-content></ng-content>',
|
|
702
874
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
703
|
-
inputs: ['disableWeekends', 'disabledDates', 'maxDate', 'minDate', 'mode', 'preselectToday', 'value', 'variant'],
|
|
875
|
+
inputs: ['disableWeekends', 'disabledDates', 'enableToday', 'maxDate', 'minDate', 'mode', 'preselectToday', 'todayText', 'value', 'variant'],
|
|
704
876
|
}]
|
|
705
877
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
706
878
|
let PCardBody = class PCardBody {
|
|
@@ -711,11 +883,9 @@ let PCardBody = class PCardBody {
|
|
|
711
883
|
}
|
|
712
884
|
};
|
|
713
885
|
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",
|
|
886
|
+
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
887
|
PCardBody = __decorate([
|
|
716
|
-
ProxyCmp({
|
|
717
|
-
inputs: ['inheritText']
|
|
718
|
-
})
|
|
888
|
+
ProxyCmp({})
|
|
719
889
|
], PCardBody);
|
|
720
890
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PCardBody, decorators: [{
|
|
721
891
|
type: Component,
|
|
@@ -724,7 +894,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
724
894
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
725
895
|
template: '<ng-content></ng-content>',
|
|
726
896
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
727
|
-
inputs: [
|
|
897
|
+
inputs: [],
|
|
728
898
|
}]
|
|
729
899
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
730
900
|
let PCardContainer = class PCardContainer {
|
|
@@ -735,10 +905,10 @@ let PCardContainer = class PCardContainer {
|
|
|
735
905
|
}
|
|
736
906
|
};
|
|
737
907
|
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 });
|
|
908
|
+
PCardContainer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PCardContainer, selector: "p-card-container", inputs: { active: "active", bgClass: "bgClass", border: "border", hoverable: "hoverable", shadow: "shadow", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
739
909
|
PCardContainer = __decorate([
|
|
740
910
|
ProxyCmp({
|
|
741
|
-
inputs: ['hoverable', 'shadow']
|
|
911
|
+
inputs: ['active', 'bgClass', 'border', 'hoverable', 'shadow', 'variant']
|
|
742
912
|
})
|
|
743
913
|
], PCardContainer);
|
|
744
914
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PCardContainer, decorators: [{
|
|
@@ -748,7 +918,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
748
918
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
749
919
|
template: '<ng-content></ng-content>',
|
|
750
920
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
751
|
-
inputs: ['hoverable', 'shadow'],
|
|
921
|
+
inputs: ['active', 'bgClass', 'border', 'hoverable', 'shadow', 'variant'],
|
|
752
922
|
}]
|
|
753
923
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
754
924
|
let PCardHeader = class PCardHeader {
|
|
@@ -759,10 +929,10 @@ let PCardHeader = class PCardHeader {
|
|
|
759
929
|
}
|
|
760
930
|
};
|
|
761
931
|
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: {
|
|
932
|
+
PCardHeader.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PCardHeader, selector: "p-card-header", inputs: { divider: "divider", header: "header", icon: "icon", iconFlip: "iconFlip", iconRotate: "iconRotate", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
763
933
|
PCardHeader = __decorate([
|
|
764
934
|
ProxyCmp({
|
|
765
|
-
inputs: ['
|
|
935
|
+
inputs: ['divider', 'header', 'icon', 'iconFlip', 'iconRotate', 'variant']
|
|
766
936
|
})
|
|
767
937
|
], PCardHeader);
|
|
768
938
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PCardHeader, decorators: [{
|
|
@@ -772,55 +942,56 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
772
942
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
773
943
|
template: '<ng-content></ng-content>',
|
|
774
944
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
775
|
-
inputs: ['
|
|
945
|
+
inputs: ['divider', 'header', 'icon', 'iconFlip', 'iconRotate', 'variant'],
|
|
776
946
|
}]
|
|
777
947
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
778
|
-
let
|
|
948
|
+
let PCheckbox = class PCheckbox {
|
|
779
949
|
constructor(c, r, z) {
|
|
780
950
|
this.z = z;
|
|
781
951
|
c.detach();
|
|
782
952
|
this.el = r.nativeElement;
|
|
953
|
+
proxyOutputs(this, this.el, ['checkedChange', 'indeterminateChange']);
|
|
783
954
|
}
|
|
784
955
|
};
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
956
|
+
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 });
|
|
957
|
+
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 });
|
|
958
|
+
PCheckbox = __decorate([
|
|
788
959
|
ProxyCmp({
|
|
789
|
-
inputs: ['
|
|
960
|
+
inputs: ['checked', 'disabled', 'id', 'indeterminate', 'name', 'required']
|
|
790
961
|
})
|
|
791
|
-
],
|
|
792
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type:
|
|
962
|
+
], PCheckbox);
|
|
963
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PCheckbox, decorators: [{
|
|
793
964
|
type: Component,
|
|
794
965
|
args: [{
|
|
795
|
-
selector: 'p-
|
|
966
|
+
selector: 'p-checkbox',
|
|
796
967
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
797
968
|
template: '<ng-content></ng-content>',
|
|
798
969
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
799
|
-
inputs: ['
|
|
970
|
+
inputs: ['checked', 'disabled', 'id', 'indeterminate', 'name', 'required'],
|
|
800
971
|
}]
|
|
801
972
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
802
|
-
let
|
|
973
|
+
let PContentSlider = class PContentSlider {
|
|
803
974
|
constructor(c, r, z) {
|
|
804
975
|
this.z = z;
|
|
805
976
|
c.detach();
|
|
806
977
|
this.el = r.nativeElement;
|
|
807
978
|
}
|
|
808
979
|
};
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
980
|
+
PContentSlider.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PContentSlider, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
981
|
+
PContentSlider.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PContentSlider, selector: "p-content-slider", inputs: { disableAutoCenter: "disableAutoCenter", disableDrag: "disableDrag", disableIndicatorClick: "disableIndicatorClick", hideMobileIndicator: "hideMobileIndicator" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
982
|
+
PContentSlider = __decorate([
|
|
812
983
|
ProxyCmp({
|
|
813
|
-
inputs: ['
|
|
984
|
+
inputs: ['disableAutoCenter', 'disableDrag', 'disableIndicatorClick', 'hideMobileIndicator']
|
|
814
985
|
})
|
|
815
|
-
],
|
|
816
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type:
|
|
986
|
+
], PContentSlider);
|
|
987
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PContentSlider, decorators: [{
|
|
817
988
|
type: Component,
|
|
818
989
|
args: [{
|
|
819
|
-
selector: 'p-
|
|
990
|
+
selector: 'p-content-slider',
|
|
820
991
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
821
992
|
template: '<ng-content></ng-content>',
|
|
822
993
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
823
|
-
inputs: ['
|
|
994
|
+
inputs: ['disableAutoCenter', 'disableDrag', 'disableIndicatorClick', 'hideMobileIndicator'],
|
|
824
995
|
}]
|
|
825
996
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
826
997
|
let PCropper = class PCropper {
|
|
@@ -832,10 +1003,10 @@ let PCropper = class PCropper {
|
|
|
832
1003
|
}
|
|
833
1004
|
};
|
|
834
1005
|
PCropper.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PCropper, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
835
|
-
PCropper.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PCropper, selector: "p-cropper", inputs: { returnType: "returnType", value: "value"
|
|
1006
|
+
PCropper.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PCropper, selector: "p-cropper", inputs: { returnType: "returnType", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
836
1007
|
PCropper = __decorate([
|
|
837
1008
|
ProxyCmp({
|
|
838
|
-
inputs: ['returnType', 'value'
|
|
1009
|
+
inputs: ['returnType', 'value']
|
|
839
1010
|
})
|
|
840
1011
|
], PCropper);
|
|
841
1012
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PCropper, decorators: [{
|
|
@@ -845,7 +1016,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
845
1016
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
846
1017
|
template: '<ng-content></ng-content>',
|
|
847
1018
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
848
|
-
inputs: ['returnType', 'value'
|
|
1019
|
+
inputs: ['returnType', 'value'],
|
|
849
1020
|
}]
|
|
850
1021
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
851
1022
|
let PDatepicker = class PDatepicker {
|
|
@@ -857,10 +1028,10 @@ let PDatepicker = class PDatepicker {
|
|
|
857
1028
|
}
|
|
858
1029
|
};
|
|
859
1030
|
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 });
|
|
1031
|
+
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", enableToday: "enableToday", 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", showOptional: "showOptional", size: "size", strategy: "strategy", todayText: "todayText", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
861
1032
|
PDatepicker = __decorate([
|
|
862
1033
|
ProxyCmp({
|
|
863
|
-
inputs: ['disableWeekends', 'disabled', 'disabledDates', 'error', 'format', 'helper', 'hideIconWhenFilled', 'label', 'maxDate', 'minDate', 'mode', 'placeholder', 'placement', 'prefix', 'preselectToday', 'required', 'size', 'strategy', 'value']
|
|
1034
|
+
inputs: ['disableWeekends', 'disabled', 'disabledDates', 'enableNativePicker', 'enableToday', 'error', 'format', 'helper', 'hideIconWhenFilled', 'label', 'loading', 'maxDate', 'minDate', 'mode', 'placeholder', 'placement', 'prefix', 'preselectToday', 'required', 'showOptional', 'size', 'strategy', 'todayText', 'value']
|
|
864
1035
|
})
|
|
865
1036
|
], PDatepicker);
|
|
866
1037
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PDatepicker, decorators: [{
|
|
@@ -870,7 +1041,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
870
1041
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
871
1042
|
template: '<ng-content></ng-content>',
|
|
872
1043
|
// 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'],
|
|
1044
|
+
inputs: ['disableWeekends', 'disabled', 'disabledDates', 'enableNativePicker', 'enableToday', 'error', 'format', 'helper', 'hideIconWhenFilled', 'label', 'loading', 'maxDate', 'minDate', 'mode', 'placeholder', 'placement', 'prefix', 'preselectToday', 'required', 'showOptional', 'size', 'strategy', 'todayText', 'value'],
|
|
874
1045
|
}]
|
|
875
1046
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
876
1047
|
let PDivider = class PDivider {
|
|
@@ -881,10 +1052,10 @@ let PDivider = class PDivider {
|
|
|
881
1052
|
}
|
|
882
1053
|
};
|
|
883
1054
|
PDivider.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PDivider, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
884
|
-
PDivider.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PDivider, selector: "p-divider", inputs: { variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1055
|
+
PDivider.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PDivider, selector: "p-divider", inputs: { alignContent: "alignContent", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
885
1056
|
PDivider = __decorate([
|
|
886
1057
|
ProxyCmp({
|
|
887
|
-
inputs: ['variant']
|
|
1058
|
+
inputs: ['alignContent', 'variant']
|
|
888
1059
|
})
|
|
889
1060
|
], PDivider);
|
|
890
1061
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PDivider, decorators: [{
|
|
@@ -894,7 +1065,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
894
1065
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
895
1066
|
template: '<ng-content></ng-content>',
|
|
896
1067
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
897
|
-
inputs: ['variant'],
|
|
1068
|
+
inputs: ['alignContent', 'variant'],
|
|
898
1069
|
}]
|
|
899
1070
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
900
1071
|
let PDrawer = class PDrawer {
|
|
@@ -930,11 +1101,9 @@ let PDrawerBody = class PDrawerBody {
|
|
|
930
1101
|
}
|
|
931
1102
|
};
|
|
932
1103
|
PDrawerBody.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PDrawerBody, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
933
|
-
PDrawerBody.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PDrawerBody, selector: "p-drawer-body",
|
|
1104
|
+
PDrawerBody.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PDrawerBody, selector: "p-drawer-body", ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
934
1105
|
PDrawerBody = __decorate([
|
|
935
|
-
ProxyCmp({
|
|
936
|
-
inputs: ['variant']
|
|
937
|
-
})
|
|
1106
|
+
ProxyCmp({})
|
|
938
1107
|
], PDrawerBody);
|
|
939
1108
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PDrawerBody, decorators: [{
|
|
940
1109
|
type: Component,
|
|
@@ -943,7 +1112,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
943
1112
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
944
1113
|
template: '<ng-content></ng-content>',
|
|
945
1114
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
946
|
-
inputs: [
|
|
1115
|
+
inputs: [],
|
|
947
1116
|
}]
|
|
948
1117
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
949
1118
|
let PDrawerContainer = class PDrawerContainer {
|
|
@@ -1004,10 +1173,10 @@ let PDropdown = class PDropdown {
|
|
|
1004
1173
|
}
|
|
1005
1174
|
};
|
|
1006
1175
|
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",
|
|
1176
|
+
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", chevronDirection: "chevronDirection", chevronPosition: "chevronPosition", disableTriggerClick: "disableTriggerClick", insideClick: "insideClick", offset: "offset", placement: "placement", scrollable: "scrollable", show: "show", strategy: "strategy", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1008
1177
|
PDropdown = __decorate([
|
|
1009
1178
|
ProxyCmp({
|
|
1010
|
-
inputs: ['allowOverflow', 'applyChevron', 'applyFullWidth', 'applyMaxWidth', '
|
|
1179
|
+
inputs: ['allowOverflow', 'applyChevron', 'applyFullWidth', 'applyMaxWidth', 'chevronDirection', 'chevronPosition', 'disableTriggerClick', 'insideClick', 'offset', 'placement', 'scrollable', 'show', 'strategy', 'variant']
|
|
1011
1180
|
})
|
|
1012
1181
|
], PDropdown);
|
|
1013
1182
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PDropdown, decorators: [{
|
|
@@ -1017,7 +1186,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
1017
1186
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1018
1187
|
template: '<ng-content></ng-content>',
|
|
1019
1188
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1020
|
-
inputs: ['allowOverflow', 'applyChevron', 'applyFullWidth', 'applyMaxWidth', '
|
|
1189
|
+
inputs: ['allowOverflow', 'applyChevron', 'applyFullWidth', 'applyMaxWidth', 'chevronDirection', 'chevronPosition', 'disableTriggerClick', 'insideClick', 'offset', 'placement', 'scrollable', 'show', 'strategy', 'variant'],
|
|
1021
1190
|
}]
|
|
1022
1191
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1023
1192
|
let PDropdownMenuContainer = class PDropdownMenuContainer {
|
|
@@ -1028,10 +1197,10 @@ let PDropdownMenuContainer = class PDropdownMenuContainer {
|
|
|
1028
1197
|
}
|
|
1029
1198
|
};
|
|
1030
1199
|
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 });
|
|
1200
|
+
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
1201
|
PDropdownMenuContainer = __decorate([
|
|
1033
1202
|
ProxyCmp({
|
|
1034
|
-
inputs: ['allowOverflow', 'class', 'fullWidth', 'maxWidth', 'scrollable']
|
|
1203
|
+
inputs: ['allowOverflow', 'class', 'fullWidth', 'maxWidth', 'scrollable', 'variant']
|
|
1035
1204
|
})
|
|
1036
1205
|
], PDropdownMenuContainer);
|
|
1037
1206
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PDropdownMenuContainer, decorators: [{
|
|
@@ -1041,7 +1210,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
1041
1210
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1042
1211
|
template: '<ng-content></ng-content>',
|
|
1043
1212
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1044
|
-
inputs: ['allowOverflow', 'class', 'fullWidth', 'maxWidth', 'scrollable'],
|
|
1213
|
+
inputs: ['allowOverflow', 'class', 'fullWidth', 'maxWidth', 'scrollable', 'variant'],
|
|
1045
1214
|
}]
|
|
1046
1215
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1047
1216
|
let PDropdownMenuItem = class PDropdownMenuItem {
|
|
@@ -1052,10 +1221,10 @@ let PDropdownMenuItem = class PDropdownMenuItem {
|
|
|
1052
1221
|
}
|
|
1053
1222
|
};
|
|
1054
1223
|
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 });
|
|
1224
|
+
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
1225
|
PDropdownMenuItem = __decorate([
|
|
1057
1226
|
ProxyCmp({
|
|
1058
|
-
inputs: ['active', 'disabled', 'enableHover', 'icon', 'useContainer', 'variant']
|
|
1227
|
+
inputs: ['active', 'checkbox', 'disabled', 'enableHover', 'icon', 'iconWave', 'useContainer', 'variant']
|
|
1059
1228
|
})
|
|
1060
1229
|
], PDropdownMenuItem);
|
|
1061
1230
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PDropdownMenuItem, decorators: [{
|
|
@@ -1065,7 +1234,82 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
1065
1234
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1066
1235
|
template: '<ng-content></ng-content>',
|
|
1067
1236
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1068
|
-
inputs: ['active', 'disabled', 'enableHover', 'icon', 'useContainer', 'variant'],
|
|
1237
|
+
inputs: ['active', 'checkbox', 'disabled', 'enableHover', 'icon', 'iconWave', 'useContainer', 'variant'],
|
|
1238
|
+
}]
|
|
1239
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1240
|
+
let PEmptyState = class PEmptyState {
|
|
1241
|
+
constructor(c, r, z) {
|
|
1242
|
+
this.z = z;
|
|
1243
|
+
c.detach();
|
|
1244
|
+
this.el = r.nativeElement;
|
|
1245
|
+
proxyOutputs(this, this.el, ['action']);
|
|
1246
|
+
}
|
|
1247
|
+
};
|
|
1248
|
+
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 });
|
|
1249
|
+
PEmptyState.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PEmptyState, selector: "p-empty-state", inputs: { actionIcon: "actionIcon", actionIconPosition: "actionIconPosition", 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 });
|
|
1250
|
+
PEmptyState = __decorate([
|
|
1251
|
+
ProxyCmp({
|
|
1252
|
+
inputs: ['actionIcon', 'actionIconPosition', 'actionLoading', 'actionText', 'actionVariant', 'content', 'enableAction', 'header', 'illustration']
|
|
1253
|
+
})
|
|
1254
|
+
], PEmptyState);
|
|
1255
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PEmptyState, decorators: [{
|
|
1256
|
+
type: Component,
|
|
1257
|
+
args: [{
|
|
1258
|
+
selector: 'p-empty-state',
|
|
1259
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1260
|
+
template: '<ng-content></ng-content>',
|
|
1261
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1262
|
+
inputs: ['actionIcon', 'actionIconPosition', 'actionLoading', 'actionText', 'actionVariant', 'content', 'enableAction', 'header', 'illustration'],
|
|
1263
|
+
}]
|
|
1264
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1265
|
+
let PField = class PField {
|
|
1266
|
+
constructor(c, r, z) {
|
|
1267
|
+
this.z = z;
|
|
1268
|
+
c.detach();
|
|
1269
|
+
this.el = r.nativeElement;
|
|
1270
|
+
proxyOutputs(this, this.el, ['valueChange', 'inputRefChange']);
|
|
1271
|
+
}
|
|
1272
|
+
};
|
|
1273
|
+
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 });
|
|
1274
|
+
PField.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PField, selector: "p-field", inputs: { align: "align", 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", showOptional: "showOptional", size: "size", suffix: "suffix", type: "type", value: "value", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1275
|
+
PField = __decorate([
|
|
1276
|
+
ProxyCmp({
|
|
1277
|
+
inputs: ['align', 'autofocus', 'disabled', 'error', 'errorPlacement', 'focusMethod', 'focused', 'forceShowTooltip', 'helper', 'icon', 'iconFlip', 'iconPosition', 'iconRotate', 'id', 'label', 'loading', 'optionalTemplate', 'placeholder', 'prefix', 'properties', 'required', 'selectAllOnFocus', 'showOptional', 'size', 'suffix', 'type', 'value', 'variant']
|
|
1278
|
+
})
|
|
1279
|
+
], PField);
|
|
1280
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PField, decorators: [{
|
|
1281
|
+
type: Component,
|
|
1282
|
+
args: [{
|
|
1283
|
+
selector: 'p-field',
|
|
1284
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1285
|
+
template: '<ng-content></ng-content>',
|
|
1286
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1287
|
+
inputs: ['align', 'autofocus', 'disabled', 'error', 'errorPlacement', 'focusMethod', 'focused', 'forceShowTooltip', 'helper', 'icon', 'iconFlip', 'iconPosition', 'iconRotate', 'id', 'label', 'loading', 'optionalTemplate', 'placeholder', 'prefix', 'properties', 'required', 'selectAllOnFocus', 'showOptional', 'size', 'suffix', 'type', 'value', 'variant'],
|
|
1288
|
+
}]
|
|
1289
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1290
|
+
let PFieldContainer = class PFieldContainer {
|
|
1291
|
+
constructor(c, r, z) {
|
|
1292
|
+
this.z = z;
|
|
1293
|
+
c.detach();
|
|
1294
|
+
this.el = r.nativeElement;
|
|
1295
|
+
proxyOutputs(this, this.el, ['focus']);
|
|
1296
|
+
}
|
|
1297
|
+
};
|
|
1298
|
+
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 });
|
|
1299
|
+
PFieldContainer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PFieldContainer, selector: "p-field-container", inputs: { align: "align", error: "error", errorPlacement: "errorPlacement", forceShowTooltip: "forceShowTooltip", helper: "helper", id: "id", label: "label", loading: "loading", loadingSize: "loadingSize", optionalTemplate: "optionalTemplate", required: "required", showOptional: "showOptional", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1300
|
+
PFieldContainer = __decorate([
|
|
1301
|
+
ProxyCmp({
|
|
1302
|
+
inputs: ['align', 'error', 'errorPlacement', 'forceShowTooltip', 'helper', 'id', 'label', 'loading', 'loadingSize', 'optionalTemplate', 'required', 'showOptional', 'variant']
|
|
1303
|
+
})
|
|
1304
|
+
], PFieldContainer);
|
|
1305
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PFieldContainer, decorators: [{
|
|
1306
|
+
type: Component,
|
|
1307
|
+
args: [{
|
|
1308
|
+
selector: 'p-field-container',
|
|
1309
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1310
|
+
template: '<ng-content></ng-content>',
|
|
1311
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1312
|
+
inputs: ['align', 'error', 'errorPlacement', 'forceShowTooltip', 'helper', 'id', 'label', 'loading', 'loadingSize', 'optionalTemplate', 'required', 'showOptional', 'variant'],
|
|
1069
1313
|
}]
|
|
1070
1314
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1071
1315
|
let PFloatingMenuContainer = class PFloatingMenuContainer {
|
|
@@ -1073,13 +1317,14 @@ let PFloatingMenuContainer = class PFloatingMenuContainer {
|
|
|
1073
1317
|
this.z = z;
|
|
1074
1318
|
c.detach();
|
|
1075
1319
|
this.el = r.nativeElement;
|
|
1320
|
+
proxyOutputs(this, this.el, ['close']);
|
|
1076
1321
|
}
|
|
1077
1322
|
};
|
|
1078
1323
|
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 });
|
|
1324
|
+
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
1325
|
PFloatingMenuContainer = __decorate([
|
|
1081
1326
|
ProxyCmp({
|
|
1082
|
-
inputs: ['usedInTable']
|
|
1327
|
+
inputs: ['amount', 'amountSelectedTemplate', 'enableAmountSelected', 'enableClose', 'usedInTable']
|
|
1083
1328
|
})
|
|
1084
1329
|
], PFloatingMenuContainer);
|
|
1085
1330
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PFloatingMenuContainer, decorators: [{
|
|
@@ -1089,7 +1334,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
1089
1334
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1090
1335
|
template: '<ng-content></ng-content>',
|
|
1091
1336
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1092
|
-
inputs: ['usedInTable'],
|
|
1337
|
+
inputs: ['amount', 'amountSelectedTemplate', 'enableAmountSelected', 'enableClose', 'usedInTable'],
|
|
1093
1338
|
}]
|
|
1094
1339
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1095
1340
|
let PFloatingMenuItem = class PFloatingMenuItem {
|
|
@@ -1100,10 +1345,10 @@ let PFloatingMenuItem = class PFloatingMenuItem {
|
|
|
1100
1345
|
}
|
|
1101
1346
|
};
|
|
1102
1347
|
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 });
|
|
1348
|
+
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
1349
|
PFloatingMenuItem = __decorate([
|
|
1105
1350
|
ProxyCmp({
|
|
1106
|
-
inputs: ['disabled', 'hover']
|
|
1351
|
+
inputs: ['disabled', 'hover', 'icon', 'iconFlip', 'iconPosition', 'iconRotate', 'loading']
|
|
1107
1352
|
})
|
|
1108
1353
|
], PFloatingMenuItem);
|
|
1109
1354
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PFloatingMenuItem, decorators: [{
|
|
@@ -1113,7 +1358,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
1113
1358
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1114
1359
|
template: '<ng-content></ng-content>',
|
|
1115
1360
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1116
|
-
inputs: ['disabled', 'hover'],
|
|
1361
|
+
inputs: ['disabled', 'hover', 'icon', 'iconFlip', 'iconPosition', 'iconRotate', 'loading'],
|
|
1117
1362
|
}]
|
|
1118
1363
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1119
1364
|
let PHelper = class PHelper {
|
|
@@ -1188,48 +1433,48 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
1188
1433
|
inputs: ['flip', 'rotate', 'size', 'variant'],
|
|
1189
1434
|
}]
|
|
1190
1435
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1191
|
-
let
|
|
1436
|
+
let PIllustration = class PIllustration {
|
|
1192
1437
|
constructor(c, r, z) {
|
|
1193
1438
|
this.z = z;
|
|
1194
1439
|
c.detach();
|
|
1195
1440
|
this.el = r.nativeElement;
|
|
1196
1441
|
}
|
|
1197
1442
|
};
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1443
|
+
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 });
|
|
1444
|
+
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 });
|
|
1445
|
+
PIllustration = __decorate([
|
|
1201
1446
|
ProxyCmp({
|
|
1202
|
-
inputs: ['
|
|
1447
|
+
inputs: ['variant']
|
|
1203
1448
|
})
|
|
1204
|
-
],
|
|
1205
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type:
|
|
1449
|
+
], PIllustration);
|
|
1450
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PIllustration, decorators: [{
|
|
1206
1451
|
type: Component,
|
|
1207
1452
|
args: [{
|
|
1208
|
-
selector: 'p-
|
|
1453
|
+
selector: 'p-illustration',
|
|
1209
1454
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1210
1455
|
template: '<ng-content></ng-content>',
|
|
1211
1456
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1212
|
-
inputs: ['
|
|
1457
|
+
inputs: ['variant'],
|
|
1213
1458
|
}]
|
|
1214
1459
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1215
|
-
let
|
|
1460
|
+
let PIllustrationDeprecated = class PIllustrationDeprecated {
|
|
1216
1461
|
constructor(c, r, z) {
|
|
1217
1462
|
this.z = z;
|
|
1218
1463
|
c.detach();
|
|
1219
1464
|
this.el = r.nativeElement;
|
|
1220
1465
|
}
|
|
1221
1466
|
};
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1467
|
+
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 });
|
|
1468
|
+
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 });
|
|
1469
|
+
PIllustrationDeprecated = __decorate([
|
|
1225
1470
|
ProxyCmp({
|
|
1226
1471
|
inputs: ['variant']
|
|
1227
1472
|
})
|
|
1228
|
-
],
|
|
1229
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type:
|
|
1473
|
+
], PIllustrationDeprecated);
|
|
1474
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PIllustrationDeprecated, decorators: [{
|
|
1230
1475
|
type: Component,
|
|
1231
1476
|
args: [{
|
|
1232
|
-
selector: 'p-illustration',
|
|
1477
|
+
selector: 'p-illustration-deprecated',
|
|
1233
1478
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1234
1479
|
template: '<ng-content></ng-content>',
|
|
1235
1480
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
@@ -1261,100 +1506,121 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
1261
1506
|
inputs: ['closeable', 'content', 'header', 'variant'],
|
|
1262
1507
|
}]
|
|
1263
1508
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1264
|
-
let
|
|
1509
|
+
let PLabel = class PLabel {
|
|
1265
1510
|
constructor(c, r, z) {
|
|
1266
1511
|
this.z = z;
|
|
1267
1512
|
c.detach();
|
|
1268
1513
|
this.el = r.nativeElement;
|
|
1269
1514
|
}
|
|
1270
1515
|
};
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1516
|
+
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 });
|
|
1517
|
+
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 });
|
|
1518
|
+
PLabel = __decorate([
|
|
1274
1519
|
ProxyCmp({
|
|
1275
|
-
inputs: ['
|
|
1520
|
+
inputs: ['icon', 'iconFlip', 'iconOnly', 'iconRotate', 'keepMobileContent', 'variant']
|
|
1276
1521
|
})
|
|
1277
|
-
],
|
|
1278
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type:
|
|
1522
|
+
], PLabel);
|
|
1523
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PLabel, decorators: [{
|
|
1279
1524
|
type: Component,
|
|
1280
1525
|
args: [{
|
|
1281
|
-
selector: 'p-
|
|
1526
|
+
selector: 'p-label',
|
|
1282
1527
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1283
1528
|
template: '<ng-content></ng-content>',
|
|
1284
1529
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1285
|
-
inputs: ['
|
|
1530
|
+
inputs: ['icon', 'iconFlip', 'iconOnly', 'iconRotate', 'keepMobileContent', 'variant'],
|
|
1286
1531
|
}]
|
|
1287
1532
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1288
|
-
let
|
|
1533
|
+
let PLayout = class PLayout {
|
|
1289
1534
|
constructor(c, r, z) {
|
|
1290
1535
|
this.z = z;
|
|
1291
1536
|
c.detach();
|
|
1292
1537
|
this.el = r.nativeElement;
|
|
1538
|
+
proxyOutputs(this, this.el, ['scroll']);
|
|
1293
1539
|
}
|
|
1294
1540
|
};
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1541
|
+
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 });
|
|
1542
|
+
PLayout.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PLayout, selector: "p-layout", inputs: { variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1543
|
+
PLayout = __decorate([
|
|
1298
1544
|
ProxyCmp({
|
|
1299
|
-
inputs: ['
|
|
1545
|
+
inputs: ['variant']
|
|
1300
1546
|
})
|
|
1301
|
-
],
|
|
1302
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type:
|
|
1547
|
+
], PLayout);
|
|
1548
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PLayout, decorators: [{
|
|
1303
1549
|
type: Component,
|
|
1304
1550
|
args: [{
|
|
1305
|
-
selector: 'p-
|
|
1551
|
+
selector: 'p-layout',
|
|
1306
1552
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1307
1553
|
template: '<ng-content></ng-content>',
|
|
1308
1554
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1309
|
-
inputs: ['
|
|
1555
|
+
inputs: ['variant'],
|
|
1310
1556
|
}]
|
|
1311
1557
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1312
|
-
let
|
|
1558
|
+
let PListing = class PListing {
|
|
1313
1559
|
constructor(c, r, z) {
|
|
1314
1560
|
this.z = z;
|
|
1315
1561
|
c.detach();
|
|
1316
1562
|
this.el = r.nativeElement;
|
|
1317
1563
|
}
|
|
1318
1564
|
};
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
ProxyCmp({
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
], PLabel);
|
|
1326
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PLabel, decorators: [{
|
|
1565
|
+
PListing.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PListing, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1566
|
+
PListing.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PListing, selector: "p-listing", ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1567
|
+
PListing = __decorate([
|
|
1568
|
+
ProxyCmp({})
|
|
1569
|
+
], PListing);
|
|
1570
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PListing, decorators: [{
|
|
1327
1571
|
type: Component,
|
|
1328
1572
|
args: [{
|
|
1329
|
-
selector: 'p-
|
|
1573
|
+
selector: 'p-listing',
|
|
1330
1574
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1331
1575
|
template: '<ng-content></ng-content>',
|
|
1332
1576
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1333
|
-
inputs: [
|
|
1577
|
+
inputs: [],
|
|
1334
1578
|
}]
|
|
1335
1579
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1336
|
-
let
|
|
1580
|
+
let PListingItem = class PListingItem {
|
|
1337
1581
|
constructor(c, r, z) {
|
|
1338
1582
|
this.z = z;
|
|
1339
1583
|
c.detach();
|
|
1340
1584
|
this.el = r.nativeElement;
|
|
1341
1585
|
}
|
|
1342
1586
|
};
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
|
|
1587
|
+
PListingItem.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PListingItem, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1588
|
+
PListingItem.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PListingItem, selector: "p-listing-item", inputs: { icon: "icon" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1589
|
+
PListingItem = __decorate([
|
|
1346
1590
|
ProxyCmp({
|
|
1347
|
-
inputs: ['
|
|
1591
|
+
inputs: ['icon']
|
|
1348
1592
|
})
|
|
1349
|
-
],
|
|
1350
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type:
|
|
1593
|
+
], PListingItem);
|
|
1594
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PListingItem, decorators: [{
|
|
1351
1595
|
type: Component,
|
|
1352
1596
|
args: [{
|
|
1353
|
-
selector: 'p-
|
|
1597
|
+
selector: 'p-listing-item',
|
|
1354
1598
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1355
1599
|
template: '<ng-content></ng-content>',
|
|
1356
1600
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1357
|
-
inputs: ['
|
|
1601
|
+
inputs: ['icon'],
|
|
1602
|
+
}]
|
|
1603
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1604
|
+
let PListingLine = class PListingLine {
|
|
1605
|
+
constructor(c, r, z) {
|
|
1606
|
+
this.z = z;
|
|
1607
|
+
c.detach();
|
|
1608
|
+
this.el = r.nativeElement;
|
|
1609
|
+
}
|
|
1610
|
+
};
|
|
1611
|
+
PListingLine.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PListingLine, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1612
|
+
PListingLine.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PListingLine, selector: "p-listing-line", ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1613
|
+
PListingLine = __decorate([
|
|
1614
|
+
ProxyCmp({})
|
|
1615
|
+
], PListingLine);
|
|
1616
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PListingLine, decorators: [{
|
|
1617
|
+
type: Component,
|
|
1618
|
+
args: [{
|
|
1619
|
+
selector: 'p-listing-line',
|
|
1620
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1621
|
+
template: '<ng-content></ng-content>',
|
|
1622
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1623
|
+
inputs: [],
|
|
1358
1624
|
}]
|
|
1359
1625
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1360
1626
|
let PLoader = class PLoader {
|
|
@@ -1390,10 +1656,10 @@ let PModal = class PModal {
|
|
|
1390
1656
|
}
|
|
1391
1657
|
};
|
|
1392
1658
|
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",
|
|
1659
|
+
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
1660
|
PModal = __decorate([
|
|
1395
1661
|
ProxyCmp({
|
|
1396
|
-
inputs: ['applyBlur', 'backdropClickClose', 'header', '
|
|
1662
|
+
inputs: ['applyBlur', 'backdropClickClose', 'header', 'scrollLock', 'show', 'showClose', 'showMobileFooter', 'size']
|
|
1397
1663
|
})
|
|
1398
1664
|
], PModal);
|
|
1399
1665
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PModal, decorators: [{
|
|
@@ -1403,7 +1669,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
1403
1669
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1404
1670
|
template: '<ng-content></ng-content>',
|
|
1405
1671
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1406
|
-
inputs: ['applyBlur', 'backdropClickClose', 'header', '
|
|
1672
|
+
inputs: ['applyBlur', 'backdropClickClose', 'header', 'scrollLock', 'show', 'showClose', 'showMobileFooter', 'size'],
|
|
1407
1673
|
}]
|
|
1408
1674
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1409
1675
|
let PModalBody = class PModalBody {
|
|
@@ -1414,10 +1680,10 @@ let PModalBody = class PModalBody {
|
|
|
1414
1680
|
}
|
|
1415
1681
|
};
|
|
1416
1682
|
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: {
|
|
1683
|
+
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
1684
|
PModalBody = __decorate([
|
|
1419
1685
|
ProxyCmp({
|
|
1420
|
-
inputs: ['
|
|
1686
|
+
inputs: ['roundedBottom', 'roundedTop']
|
|
1421
1687
|
})
|
|
1422
1688
|
], PModalBody);
|
|
1423
1689
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PModalBody, decorators: [{
|
|
@@ -1427,7 +1693,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
1427
1693
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1428
1694
|
template: '<ng-content></ng-content>',
|
|
1429
1695
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1430
|
-
inputs: ['
|
|
1696
|
+
inputs: ['roundedBottom', 'roundedTop'],
|
|
1431
1697
|
}]
|
|
1432
1698
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1433
1699
|
let PModalContainer = class PModalContainer {
|
|
@@ -1509,11 +1775,9 @@ let PNavbar = class PNavbar {
|
|
|
1509
1775
|
}
|
|
1510
1776
|
};
|
|
1511
1777
|
PNavbar.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PNavbar, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1512
|
-
PNavbar.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PNavbar, selector: "p-navbar",
|
|
1778
|
+
PNavbar.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PNavbar, selector: "p-navbar", ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1513
1779
|
PNavbar = __decorate([
|
|
1514
|
-
ProxyCmp({
|
|
1515
|
-
inputs: ['menuText']
|
|
1516
|
-
})
|
|
1780
|
+
ProxyCmp({})
|
|
1517
1781
|
], PNavbar);
|
|
1518
1782
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PNavbar, decorators: [{
|
|
1519
1783
|
type: Component,
|
|
@@ -1522,7 +1786,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
1522
1786
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1523
1787
|
template: '<ng-content></ng-content>',
|
|
1524
1788
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1525
|
-
inputs: [
|
|
1789
|
+
inputs: [],
|
|
1526
1790
|
}]
|
|
1527
1791
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1528
1792
|
let PNavigationItem = class PNavigationItem {
|
|
@@ -1533,10 +1797,10 @@ let PNavigationItem = class PNavigationItem {
|
|
|
1533
1797
|
}
|
|
1534
1798
|
};
|
|
1535
1799
|
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 });
|
|
1536
|
-
PNavigationItem.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PNavigationItem, selector: "p-navigation-item", inputs: { active: "active", as: "as", counter: "counter", href: "href", icon: "icon", target: "target" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1800
|
+
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 });
|
|
1537
1801
|
PNavigationItem = __decorate([
|
|
1538
1802
|
ProxyCmp({
|
|
1539
|
-
inputs: ['active', 'as', 'counter', 'href', 'icon', 'target']
|
|
1803
|
+
inputs: ['active', 'as', 'class', 'counter', 'href', 'icon', 'loading', 'target']
|
|
1540
1804
|
})
|
|
1541
1805
|
], PNavigationItem);
|
|
1542
1806
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PNavigationItem, decorators: [{
|
|
@@ -1546,7 +1810,31 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
1546
1810
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1547
1811
|
template: '<ng-content></ng-content>',
|
|
1548
1812
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1549
|
-
inputs: ['active', 'as', 'counter', 'href', 'icon', 'target'],
|
|
1813
|
+
inputs: ['active', 'as', 'class', 'counter', 'href', 'icon', 'loading', 'target'],
|
|
1814
|
+
}]
|
|
1815
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1816
|
+
let PNavigationSection = class PNavigationSection {
|
|
1817
|
+
constructor(c, r, z) {
|
|
1818
|
+
this.z = z;
|
|
1819
|
+
c.detach();
|
|
1820
|
+
this.el = r.nativeElement;
|
|
1821
|
+
}
|
|
1822
|
+
};
|
|
1823
|
+
PNavigationSection.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PNavigationSection, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1824
|
+
PNavigationSection.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PNavigationSection, selector: "p-navigation-section", inputs: { header: "header" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1825
|
+
PNavigationSection = __decorate([
|
|
1826
|
+
ProxyCmp({
|
|
1827
|
+
inputs: ['header']
|
|
1828
|
+
})
|
|
1829
|
+
], PNavigationSection);
|
|
1830
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PNavigationSection, decorators: [{
|
|
1831
|
+
type: Component,
|
|
1832
|
+
args: [{
|
|
1833
|
+
selector: 'p-navigation-section',
|
|
1834
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1835
|
+
template: '<ng-content></ng-content>',
|
|
1836
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1837
|
+
inputs: ['header'],
|
|
1550
1838
|
}]
|
|
1551
1839
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1552
1840
|
let PNavigationTitle = class PNavigationTitle {
|
|
@@ -1571,78 +1859,103 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
1571
1859
|
inputs: [],
|
|
1572
1860
|
}]
|
|
1573
1861
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1574
|
-
let
|
|
1862
|
+
let PPagination = class PPagination {
|
|
1575
1863
|
constructor(c, r, z) {
|
|
1576
1864
|
this.z = z;
|
|
1577
1865
|
c.detach();
|
|
1578
1866
|
this.el = r.nativeElement;
|
|
1579
|
-
proxyOutputs(this, this.el, ['
|
|
1867
|
+
proxyOutputs(this, this.el, ['pageChange', 'pageSizeChange', 'pagesChange']);
|
|
1580
1868
|
}
|
|
1581
1869
|
};
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1870
|
+
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 });
|
|
1871
|
+
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 });
|
|
1872
|
+
PPagination = __decorate([
|
|
1585
1873
|
ProxyCmp({
|
|
1586
|
-
inputs: ['
|
|
1874
|
+
inputs: ['enablePaginationPages', 'enablePaginationSize', 'hideOnSinglePage', 'page', 'pageSize', 'pageSizeOptions', 'total']
|
|
1587
1875
|
})
|
|
1588
|
-
],
|
|
1589
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type:
|
|
1876
|
+
], PPagination);
|
|
1877
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PPagination, decorators: [{
|
|
1590
1878
|
type: Component,
|
|
1591
1879
|
args: [{
|
|
1592
|
-
selector: 'p-
|
|
1880
|
+
selector: 'p-pagination',
|
|
1593
1881
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1594
1882
|
template: '<ng-content></ng-content>',
|
|
1595
1883
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1596
|
-
inputs: ['
|
|
1884
|
+
inputs: ['enablePaginationPages', 'enablePaginationSize', 'hideOnSinglePage', 'page', 'pageSize', 'pageSizeOptions', 'total'],
|
|
1597
1885
|
}]
|
|
1598
1886
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1599
|
-
let
|
|
1887
|
+
let PPaginationPages = class PPaginationPages {
|
|
1600
1888
|
constructor(c, r, z) {
|
|
1601
1889
|
this.z = z;
|
|
1602
1890
|
c.detach();
|
|
1603
1891
|
this.el = r.nativeElement;
|
|
1604
|
-
proxyOutputs(this, this.el, ['pageChange']);
|
|
1892
|
+
proxyOutputs(this, this.el, ['pageChange', 'pagesChange']);
|
|
1605
1893
|
}
|
|
1606
1894
|
};
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1895
|
+
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 });
|
|
1896
|
+
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 });
|
|
1897
|
+
PPaginationPages = __decorate([
|
|
1610
1898
|
ProxyCmp({
|
|
1611
1899
|
inputs: ['hideOnSinglePage', 'page', 'pageSize', 'total']
|
|
1612
1900
|
})
|
|
1613
|
-
],
|
|
1614
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type:
|
|
1901
|
+
], PPaginationPages);
|
|
1902
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PPaginationPages, decorators: [{
|
|
1615
1903
|
type: Component,
|
|
1616
1904
|
args: [{
|
|
1617
|
-
selector: 'p-pagination',
|
|
1905
|
+
selector: 'p-pagination-pages',
|
|
1618
1906
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1619
1907
|
template: '<ng-content></ng-content>',
|
|
1620
1908
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1621
1909
|
inputs: ['hideOnSinglePage', 'page', 'pageSize', 'total'],
|
|
1622
1910
|
}]
|
|
1623
1911
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1624
|
-
let
|
|
1912
|
+
let PPaginationPagesItem = class PPaginationPagesItem {
|
|
1625
1913
|
constructor(c, r, z) {
|
|
1626
1914
|
this.z = z;
|
|
1627
1915
|
c.detach();
|
|
1628
1916
|
this.el = r.nativeElement;
|
|
1629
1917
|
}
|
|
1630
1918
|
};
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1919
|
+
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 });
|
|
1920
|
+
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 });
|
|
1921
|
+
PPaginationPagesItem = __decorate([
|
|
1634
1922
|
ProxyCmp({
|
|
1635
|
-
inputs: ['active']
|
|
1923
|
+
inputs: ['active', 'disabled', 'hover', 'variant']
|
|
1636
1924
|
})
|
|
1637
|
-
],
|
|
1638
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type:
|
|
1925
|
+
], PPaginationPagesItem);
|
|
1926
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PPaginationPagesItem, decorators: [{
|
|
1639
1927
|
type: Component,
|
|
1640
1928
|
args: [{
|
|
1641
|
-
selector: 'p-pagination-item',
|
|
1929
|
+
selector: 'p-pagination-pages-item',
|
|
1642
1930
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1643
1931
|
template: '<ng-content></ng-content>',
|
|
1644
1932
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1645
|
-
inputs: ['active'],
|
|
1933
|
+
inputs: ['active', 'disabled', 'hover', 'variant'],
|
|
1934
|
+
}]
|
|
1935
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1936
|
+
let PPaginationSize = class PPaginationSize {
|
|
1937
|
+
constructor(c, r, z) {
|
|
1938
|
+
this.z = z;
|
|
1939
|
+
c.detach();
|
|
1940
|
+
this.el = r.nativeElement;
|
|
1941
|
+
proxyOutputs(this, this.el, ['sizeChange']);
|
|
1942
|
+
}
|
|
1943
|
+
};
|
|
1944
|
+
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 });
|
|
1945
|
+
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 });
|
|
1946
|
+
PPaginationSize = __decorate([
|
|
1947
|
+
ProxyCmp({
|
|
1948
|
+
inputs: ['hidden', 'itemTemplate', 'size', 'sizeOptions']
|
|
1949
|
+
})
|
|
1950
|
+
], PPaginationSize);
|
|
1951
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PPaginationSize, decorators: [{
|
|
1952
|
+
type: Component,
|
|
1953
|
+
args: [{
|
|
1954
|
+
selector: 'p-pagination-size',
|
|
1955
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1956
|
+
template: '<ng-content></ng-content>',
|
|
1957
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1958
|
+
inputs: ['hidden', 'itemTemplate', 'size', 'sizeOptions'],
|
|
1646
1959
|
}]
|
|
1647
1960
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1648
1961
|
let PProfile = class PProfile {
|
|
@@ -1653,10 +1966,10 @@ let PProfile = class PProfile {
|
|
|
1653
1966
|
}
|
|
1654
1967
|
};
|
|
1655
1968
|
PProfile.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PProfile, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1656
|
-
PProfile.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PProfile, selector: "p-profile", inputs: { dropdownLocation: "dropdownLocation"
|
|
1969
|
+
PProfile.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PProfile, selector: "p-profile", inputs: { dropdownLocation: "dropdownLocation" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1657
1970
|
PProfile = __decorate([
|
|
1658
1971
|
ProxyCmp({
|
|
1659
|
-
inputs: ['dropdownLocation'
|
|
1972
|
+
inputs: ['dropdownLocation']
|
|
1660
1973
|
})
|
|
1661
1974
|
], PProfile);
|
|
1662
1975
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PProfile, decorators: [{
|
|
@@ -1666,7 +1979,57 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
1666
1979
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1667
1980
|
template: '<ng-content></ng-content>',
|
|
1668
1981
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1669
|
-
inputs: ['dropdownLocation'
|
|
1982
|
+
inputs: ['dropdownLocation'],
|
|
1983
|
+
}]
|
|
1984
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1985
|
+
let PRadio = class PRadio {
|
|
1986
|
+
constructor(c, r, z) {
|
|
1987
|
+
this.z = z;
|
|
1988
|
+
c.detach();
|
|
1989
|
+
this.el = r.nativeElement;
|
|
1990
|
+
proxyOutputs(this, this.el, ['checkedChange']);
|
|
1991
|
+
}
|
|
1992
|
+
};
|
|
1993
|
+
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 });
|
|
1994
|
+
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 });
|
|
1995
|
+
PRadio = __decorate([
|
|
1996
|
+
ProxyCmp({
|
|
1997
|
+
inputs: ['checked', 'disabled', 'id', 'name', 'required', 'value']
|
|
1998
|
+
})
|
|
1999
|
+
], PRadio);
|
|
2000
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PRadio, decorators: [{
|
|
2001
|
+
type: Component,
|
|
2002
|
+
args: [{
|
|
2003
|
+
selector: 'p-radio',
|
|
2004
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2005
|
+
template: '<ng-content></ng-content>',
|
|
2006
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
2007
|
+
inputs: ['checked', 'disabled', 'id', 'name', 'required', 'value'],
|
|
2008
|
+
}]
|
|
2009
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
2010
|
+
let PRange = class PRange {
|
|
2011
|
+
constructor(c, r, z) {
|
|
2012
|
+
this.z = z;
|
|
2013
|
+
c.detach();
|
|
2014
|
+
this.el = r.nativeElement;
|
|
2015
|
+
proxyOutputs(this, this.el, ['valueChange']);
|
|
2016
|
+
}
|
|
2017
|
+
};
|
|
2018
|
+
PRange.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PRange, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
2019
|
+
PRange.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PRange, selector: "p-range", inputs: { max: "max", min: "min", step: "step", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2020
|
+
PRange = __decorate([
|
|
2021
|
+
ProxyCmp({
|
|
2022
|
+
inputs: ['max', 'min', 'step', 'value']
|
|
2023
|
+
})
|
|
2024
|
+
], PRange);
|
|
2025
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PRange, decorators: [{
|
|
2026
|
+
type: Component,
|
|
2027
|
+
args: [{
|
|
2028
|
+
selector: 'p-range',
|
|
2029
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2030
|
+
template: '<ng-content></ng-content>',
|
|
2031
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
2032
|
+
inputs: ['max', 'min', 'step', 'value'],
|
|
1670
2033
|
}]
|
|
1671
2034
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1672
2035
|
let PSegmentContainer = class PSegmentContainer {
|
|
@@ -1699,10 +2062,10 @@ let PSegmentItem = class PSegmentItem {
|
|
|
1699
2062
|
}
|
|
1700
2063
|
};
|
|
1701
2064
|
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 });
|
|
1702
|
-
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",
|
|
2065
|
+
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 });
|
|
1703
2066
|
PSegmentItem = __decorate([
|
|
1704
2067
|
ProxyCmp({
|
|
1705
|
-
inputs: ['active', 'icon', 'iconFlip', 'iconOnly', 'iconRotate', '
|
|
2068
|
+
inputs: ['active', 'icon', 'iconFlip', 'iconOnly', 'iconRotate', 'variant']
|
|
1706
2069
|
})
|
|
1707
2070
|
], PSegmentItem);
|
|
1708
2071
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PSegmentItem, decorators: [{
|
|
@@ -1712,7 +2075,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
1712
2075
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1713
2076
|
template: '<ng-content></ng-content>',
|
|
1714
2077
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1715
|
-
inputs: ['active', 'icon', 'iconFlip', 'iconOnly', 'iconRotate', '
|
|
2078
|
+
inputs: ['active', 'icon', 'iconFlip', 'iconOnly', 'iconRotate', 'variant'],
|
|
1716
2079
|
}]
|
|
1717
2080
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1718
2081
|
let PSelect = class PSelect {
|
|
@@ -1724,10 +2087,10 @@ let PSelect = class PSelect {
|
|
|
1724
2087
|
}
|
|
1725
2088
|
};
|
|
1726
2089
|
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 });
|
|
1727
|
-
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",
|
|
2090
|
+
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", showIconOnSelectedItem: "showIconOnSelectedItem", showOptional: "showOptional", size: "size", strategy: "strategy", value: "value", valueKey: "valueKey" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1728
2091
|
PSelect = __decorate([
|
|
1729
2092
|
ProxyCmp({
|
|
1730
|
-
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', '
|
|
2093
|
+
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', 'showIconOnSelectedItem', 'showOptional', 'size', 'strategy', 'value', 'valueKey']
|
|
1731
2094
|
})
|
|
1732
2095
|
], PSelect);
|
|
1733
2096
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PSelect, decorators: [{
|
|
@@ -1737,55 +2100,31 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
1737
2100
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1738
2101
|
template: '<ng-content></ng-content>',
|
|
1739
2102
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1740
|
-
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', '
|
|
2103
|
+
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', 'showIconOnSelectedItem', 'showOptional', 'size', 'strategy', 'value', 'valueKey'],
|
|
1741
2104
|
}]
|
|
1742
2105
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1743
|
-
let
|
|
2106
|
+
let PSmile = class PSmile {
|
|
1744
2107
|
constructor(c, r, z) {
|
|
1745
2108
|
this.z = z;
|
|
1746
2109
|
c.detach();
|
|
1747
2110
|
this.el = r.nativeElement;
|
|
1748
2111
|
}
|
|
1749
2112
|
};
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
|
|
2113
|
+
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 });
|
|
2114
|
+
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 });
|
|
2115
|
+
PSmile = __decorate([
|
|
1753
2116
|
ProxyCmp({
|
|
1754
|
-
inputs: ['
|
|
1755
|
-
})
|
|
1756
|
-
], PSliderIndicator);
|
|
1757
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PSliderIndicator, decorators: [{
|
|
1758
|
-
type: Component,
|
|
1759
|
-
args: [{
|
|
1760
|
-
selector: 'p-slider-indicator',
|
|
1761
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1762
|
-
template: '<ng-content></ng-content>',
|
|
1763
|
-
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1764
|
-
inputs: ['active'],
|
|
1765
|
-
}]
|
|
1766
|
-
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1767
|
-
let PStatus = class PStatus {
|
|
1768
|
-
constructor(c, r, z) {
|
|
1769
|
-
this.z = z;
|
|
1770
|
-
c.detach();
|
|
1771
|
-
this.el = r.nativeElement;
|
|
1772
|
-
}
|
|
1773
|
-
};
|
|
1774
|
-
PStatus.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PStatus, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1775
|
-
PStatus.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PStatus, selector: "p-status", inputs: { icon: "icon", iconFlip: "iconFlip", iconRotate: "iconRotate", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1776
|
-
PStatus = __decorate([
|
|
1777
|
-
ProxyCmp({
|
|
1778
|
-
inputs: ['icon', 'iconFlip', 'iconRotate', 'variant']
|
|
2117
|
+
inputs: ['variant']
|
|
1779
2118
|
})
|
|
1780
|
-
],
|
|
1781
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type:
|
|
2119
|
+
], PSmile);
|
|
2120
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PSmile, decorators: [{
|
|
1782
2121
|
type: Component,
|
|
1783
2122
|
args: [{
|
|
1784
|
-
selector: 'p-
|
|
2123
|
+
selector: 'p-smile',
|
|
1785
2124
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1786
2125
|
template: '<ng-content></ng-content>',
|
|
1787
2126
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1788
|
-
inputs: ['
|
|
2127
|
+
inputs: ['variant'],
|
|
1789
2128
|
}]
|
|
1790
2129
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1791
2130
|
let PStepper = class PStepper {
|
|
@@ -1796,10 +2135,10 @@ let PStepper = class PStepper {
|
|
|
1796
2135
|
}
|
|
1797
2136
|
};
|
|
1798
2137
|
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 });
|
|
1799
|
-
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 });
|
|
2138
|
+
PStepper.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PStepper, selector: "p-stepper", inputs: { activeStep: "activeStep", align: "align", contentPosition: "contentPosition", direction: "direction", enableAutoStatus: "enableAutoStatus", steps: "steps" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1800
2139
|
PStepper = __decorate([
|
|
1801
2140
|
ProxyCmp({
|
|
1802
|
-
inputs: ['activeStep', 'contentPosition', 'direction']
|
|
2141
|
+
inputs: ['activeStep', 'align', 'contentPosition', 'direction', 'enableAutoStatus', 'steps']
|
|
1803
2142
|
})
|
|
1804
2143
|
], PStepper);
|
|
1805
2144
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PStepper, decorators: [{
|
|
@@ -1809,7 +2148,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
1809
2148
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1810
2149
|
template: '<ng-content></ng-content>',
|
|
1811
2150
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1812
|
-
inputs: ['activeStep', 'contentPosition', 'direction'],
|
|
2151
|
+
inputs: ['activeStep', 'align', 'contentPosition', 'direction', 'enableAutoStatus', 'steps'],
|
|
1813
2152
|
}]
|
|
1814
2153
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1815
2154
|
let PStepperItem = class PStepperItem {
|
|
@@ -1820,10 +2159,10 @@ let PStepperItem = class PStepperItem {
|
|
|
1820
2159
|
}
|
|
1821
2160
|
};
|
|
1822
2161
|
PStepperItem.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PStepperItem, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1823
|
-
PStepperItem.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PStepperItem, selector: "p-stepper-item", inputs: { active: "active", align: "align", contentPosition: "contentPosition", direction: "direction", finished: "finished" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2162
|
+
PStepperItem.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PStepperItem, selector: "p-stepper-item", inputs: { active: "active", align: "align", contentPosition: "contentPosition", direction: "direction", finished: "finished", number: "number" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1824
2163
|
PStepperItem = __decorate([
|
|
1825
2164
|
ProxyCmp({
|
|
1826
|
-
inputs: ['active', 'align', 'contentPosition', 'direction', 'finished']
|
|
2165
|
+
inputs: ['active', 'align', 'contentPosition', 'direction', 'finished', 'number']
|
|
1827
2166
|
})
|
|
1828
2167
|
], PStepperItem);
|
|
1829
2168
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PStepperItem, decorators: [{
|
|
@@ -1833,7 +2172,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
1833
2172
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1834
2173
|
template: '<ng-content></ng-content>',
|
|
1835
2174
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1836
|
-
inputs: ['active', 'align', 'contentPosition', 'direction', 'finished'],
|
|
2175
|
+
inputs: ['active', 'align', 'contentPosition', 'direction', 'finished', 'number'],
|
|
1837
2176
|
}]
|
|
1838
2177
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1839
2178
|
let PStepperLine = class PStepperLine {
|
|
@@ -1860,22 +2199,22 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
1860
2199
|
inputs: ['active', 'direction'],
|
|
1861
2200
|
}]
|
|
1862
2201
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1863
|
-
let
|
|
2202
|
+
let PTabContainer = class PTabContainer {
|
|
1864
2203
|
constructor(c, r, z) {
|
|
1865
2204
|
this.z = z;
|
|
1866
2205
|
c.detach();
|
|
1867
2206
|
this.el = r.nativeElement;
|
|
1868
2207
|
}
|
|
1869
2208
|
};
|
|
1870
|
-
|
|
1871
|
-
|
|
1872
|
-
|
|
2209
|
+
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 });
|
|
2210
|
+
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 });
|
|
2211
|
+
PTabContainer = __decorate([
|
|
1873
2212
|
ProxyCmp({})
|
|
1874
|
-
],
|
|
1875
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type:
|
|
2213
|
+
], PTabContainer);
|
|
2214
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PTabContainer, decorators: [{
|
|
1876
2215
|
type: Component,
|
|
1877
2216
|
args: [{
|
|
1878
|
-
selector: 'p-tab-
|
|
2217
|
+
selector: 'p-tab-container',
|
|
1879
2218
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1880
2219
|
template: '<ng-content></ng-content>',
|
|
1881
2220
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
@@ -1914,11 +2253,9 @@ let PTableContainer = class PTableContainer {
|
|
|
1914
2253
|
}
|
|
1915
2254
|
};
|
|
1916
2255
|
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 });
|
|
1917
|
-
PTableContainer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PTableContainer, selector: "p-table-container",
|
|
2256
|
+
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 });
|
|
1918
2257
|
PTableContainer = __decorate([
|
|
1919
|
-
ProxyCmp({
|
|
1920
|
-
inputs: ['shadow']
|
|
1921
|
-
})
|
|
2258
|
+
ProxyCmp({})
|
|
1922
2259
|
], PTableContainer);
|
|
1923
2260
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PTableContainer, decorators: [{
|
|
1924
2261
|
type: Component,
|
|
@@ -1927,7 +2264,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
1927
2264
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1928
2265
|
template: '<ng-content></ng-content>',
|
|
1929
2266
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1930
|
-
inputs: [
|
|
2267
|
+
inputs: [],
|
|
1931
2268
|
}]
|
|
1932
2269
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1933
2270
|
let PTableFooter = class PTableFooter {
|
|
@@ -1935,14 +2272,14 @@ let PTableFooter = class PTableFooter {
|
|
|
1935
2272
|
this.z = z;
|
|
1936
2273
|
c.detach();
|
|
1937
2274
|
this.el = r.nativeElement;
|
|
1938
|
-
proxyOutputs(this, this.el, ['pageChange', 'pageSizeChange', '
|
|
2275
|
+
proxyOutputs(this, this.el, ['pageChange', 'pageSizeChange', 'hiddenChange']);
|
|
1939
2276
|
}
|
|
1940
2277
|
};
|
|
1941
2278
|
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 });
|
|
1942
|
-
PTableFooter.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PTableFooter, selector: "p-table-footer", inputs: {
|
|
2279
|
+
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 });
|
|
1943
2280
|
PTableFooter = __decorate([
|
|
1944
2281
|
ProxyCmp({
|
|
1945
|
-
inputs: ['
|
|
2282
|
+
inputs: ['enablePaginationPages', 'enablePaginationSize', 'hideOnSinglePage', 'loading', 'page', 'pageSize', 'pageSizeOptions', 'total']
|
|
1946
2283
|
})
|
|
1947
2284
|
], PTableFooter);
|
|
1948
2285
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PTableFooter, decorators: [{
|
|
@@ -1952,7 +2289,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
1952
2289
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1953
2290
|
template: '<ng-content></ng-content>',
|
|
1954
2291
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1955
|
-
inputs: ['
|
|
2292
|
+
inputs: ['enablePaginationPages', 'enablePaginationSize', 'hideOnSinglePage', 'loading', 'page', 'pageSize', 'pageSizeOptions', 'total'],
|
|
1956
2293
|
}]
|
|
1957
2294
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1958
2295
|
let PTableHeader = class PTableHeader {
|
|
@@ -1960,14 +2297,14 @@ let PTableHeader = class PTableHeader {
|
|
|
1960
2297
|
this.z = z;
|
|
1961
2298
|
c.detach();
|
|
1962
2299
|
this.el = r.nativeElement;
|
|
1963
|
-
proxyOutputs(this, this.el, ['quickFilter', 'queryChange', 'filter', 'action']);
|
|
2300
|
+
proxyOutputs(this, this.el, ['quickFilter', 'queryChange', 'filter', 'action', 'export']);
|
|
1964
2301
|
}
|
|
1965
2302
|
};
|
|
1966
2303
|
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 });
|
|
1967
|
-
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 });
|
|
2304
|
+
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 });
|
|
1968
2305
|
PTableHeader = __decorate([
|
|
1969
2306
|
ProxyCmp({
|
|
1970
|
-
inputs: ['actionButtonTemplate', 'actionIcon', 'actionLoading', 'actionText', 'activeQuickFilterIdentifier', 'canUseAction', 'enableAction', 'enableFilter', 'enableFilterDesktop', 'enableSearch', 'filterButtonTemplate', 'itemsSelectedAmount', 'loading', 'query', 'quickFilters', 'selectedFiltersAmount']
|
|
2307
|
+
inputs: ['actionButtonTemplate', 'actionIcon', 'actionLoading', 'actionText', 'activeQuickFilterIdentifier', 'canUseAction', 'enableAction', 'enableExport', 'enableFilter', 'enableFilterDesktop', 'enableSearch', 'filterButtonTemplate', 'itemsSelectedAmount', 'loading', 'query', 'quickFilters', 'selectedFiltersAmount']
|
|
1971
2308
|
})
|
|
1972
2309
|
], PTableHeader);
|
|
1973
2310
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PTableHeader, decorators: [{
|
|
@@ -1977,7 +2314,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
1977
2314
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1978
2315
|
template: '<ng-content></ng-content>',
|
|
1979
2316
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1980
|
-
inputs: ['actionButtonTemplate', 'actionIcon', 'actionLoading', 'actionText', 'activeQuickFilterIdentifier', 'canUseAction', 'enableAction', 'enableFilter', 'enableFilterDesktop', 'enableSearch', 'filterButtonTemplate', 'itemsSelectedAmount', 'loading', 'query', 'quickFilters', 'selectedFiltersAmount'],
|
|
2317
|
+
inputs: ['actionButtonTemplate', 'actionIcon', 'actionLoading', 'actionText', 'activeQuickFilterIdentifier', 'canUseAction', 'enableAction', 'enableExport', 'enableFilter', 'enableFilterDesktop', 'enableSearch', 'filterButtonTemplate', 'itemsSelectedAmount', 'loading', 'query', 'quickFilters', 'selectedFiltersAmount'],
|
|
1981
2318
|
}]
|
|
1982
2319
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1983
2320
|
let PTableRow = class PTableRow {
|
|
@@ -1988,10 +2325,10 @@ let PTableRow = class PTableRow {
|
|
|
1988
2325
|
}
|
|
1989
2326
|
};
|
|
1990
2327
|
PTableRow.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PTableRow, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1991
|
-
PTableRow.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PTableRow, selector: "p-table-row", inputs: { enableHover: "enableHover", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2328
|
+
PTableRow.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PTableRow, selector: "p-table-row", inputs: { checked: "checked", enableHover: "enableHover", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1992
2329
|
PTableRow = __decorate([
|
|
1993
2330
|
ProxyCmp({
|
|
1994
|
-
inputs: ['enableHover', 'variant']
|
|
2331
|
+
inputs: ['checked', 'enableHover', 'variant']
|
|
1995
2332
|
})
|
|
1996
2333
|
], PTableRow);
|
|
1997
2334
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PTableRow, decorators: [{
|
|
@@ -2001,7 +2338,29 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
2001
2338
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2002
2339
|
template: '<ng-content></ng-content>',
|
|
2003
2340
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
2004
|
-
inputs: ['enableHover', 'variant'],
|
|
2341
|
+
inputs: ['checked', 'enableHover', 'variant'],
|
|
2342
|
+
}]
|
|
2343
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
2344
|
+
let PTableRowActionsContainer = class PTableRowActionsContainer {
|
|
2345
|
+
constructor(c, r, z) {
|
|
2346
|
+
this.z = z;
|
|
2347
|
+
c.detach();
|
|
2348
|
+
this.el = r.nativeElement;
|
|
2349
|
+
}
|
|
2350
|
+
};
|
|
2351
|
+
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 });
|
|
2352
|
+
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 });
|
|
2353
|
+
PTableRowActionsContainer = __decorate([
|
|
2354
|
+
ProxyCmp({})
|
|
2355
|
+
], PTableRowActionsContainer);
|
|
2356
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PTableRowActionsContainer, decorators: [{
|
|
2357
|
+
type: Component,
|
|
2358
|
+
args: [{
|
|
2359
|
+
selector: 'p-table-row-actions-container',
|
|
2360
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2361
|
+
template: '<ng-content></ng-content>',
|
|
2362
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
2363
|
+
inputs: [],
|
|
2005
2364
|
}]
|
|
2006
2365
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
2007
2366
|
let PToast = class PToast {
|
|
@@ -2029,6 +2388,31 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
2029
2388
|
inputs: ['actionIcon', 'actionIconFlip', 'actionIconRotate', 'content', 'enableAction', 'header', 'variant'],
|
|
2030
2389
|
}]
|
|
2031
2390
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
2391
|
+
let PToggle = class PToggle {
|
|
2392
|
+
constructor(c, r, z) {
|
|
2393
|
+
this.z = z;
|
|
2394
|
+
c.detach();
|
|
2395
|
+
this.el = r.nativeElement;
|
|
2396
|
+
proxyOutputs(this, this.el, ['checkedChange', 'indeterminateChange']);
|
|
2397
|
+
}
|
|
2398
|
+
};
|
|
2399
|
+
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 });
|
|
2400
|
+
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 });
|
|
2401
|
+
PToggle = __decorate([
|
|
2402
|
+
ProxyCmp({
|
|
2403
|
+
inputs: ['checked', 'disabled', 'id', 'name', 'required']
|
|
2404
|
+
})
|
|
2405
|
+
], PToggle);
|
|
2406
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PToggle, decorators: [{
|
|
2407
|
+
type: Component,
|
|
2408
|
+
args: [{
|
|
2409
|
+
selector: 'p-toggle',
|
|
2410
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2411
|
+
template: '<ng-content></ng-content>',
|
|
2412
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
2413
|
+
inputs: ['checked', 'disabled', 'id', 'name', 'required'],
|
|
2414
|
+
}]
|
|
2415
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
2032
2416
|
let PTooltip = class PTooltip {
|
|
2033
2417
|
constructor(c, r, z) {
|
|
2034
2418
|
this.z = z;
|
|
@@ -2068,8 +2452,8 @@ const DIRECTIVES = [
|
|
|
2068
2452
|
PCardBody,
|
|
2069
2453
|
PCardContainer,
|
|
2070
2454
|
PCardHeader,
|
|
2455
|
+
PCheckbox,
|
|
2071
2456
|
PContentSlider,
|
|
2072
|
-
PCounter,
|
|
2073
2457
|
PCropper,
|
|
2074
2458
|
PDatepicker,
|
|
2075
2459
|
PDivider,
|
|
@@ -2080,18 +2464,22 @@ const DIRECTIVES = [
|
|
|
2080
2464
|
PDropdown,
|
|
2081
2465
|
PDropdownMenuContainer,
|
|
2082
2466
|
PDropdownMenuItem,
|
|
2467
|
+
PEmptyState,
|
|
2468
|
+
PField,
|
|
2469
|
+
PFieldContainer,
|
|
2083
2470
|
PFloatingMenuContainer,
|
|
2084
2471
|
PFloatingMenuItem,
|
|
2085
2472
|
PHelper,
|
|
2086
2473
|
PIbanIcon,
|
|
2087
2474
|
PIcon,
|
|
2088
|
-
PIconDeprecated,
|
|
2089
2475
|
PIllustration,
|
|
2476
|
+
PIllustrationDeprecated,
|
|
2090
2477
|
PInfoPanel,
|
|
2091
|
-
PInputError,
|
|
2092
|
-
PInputGroup,
|
|
2093
2478
|
PLabel,
|
|
2094
2479
|
PLayout,
|
|
2480
|
+
PListing,
|
|
2481
|
+
PListingItem,
|
|
2482
|
+
PListingLine,
|
|
2095
2483
|
PLoader,
|
|
2096
2484
|
PModal,
|
|
2097
2485
|
PModalBody,
|
|
@@ -2100,33 +2488,38 @@ const DIRECTIVES = [
|
|
|
2100
2488
|
PModalHeader,
|
|
2101
2489
|
PNavbar,
|
|
2102
2490
|
PNavigationItem,
|
|
2491
|
+
PNavigationSection,
|
|
2103
2492
|
PNavigationTitle,
|
|
2104
|
-
PPageSizeSelect,
|
|
2105
2493
|
PPagination,
|
|
2106
|
-
|
|
2494
|
+
PPaginationPages,
|
|
2495
|
+
PPaginationPagesItem,
|
|
2496
|
+
PPaginationSize,
|
|
2107
2497
|
PProfile,
|
|
2498
|
+
PRadio,
|
|
2499
|
+
PRange,
|
|
2108
2500
|
PSegmentContainer,
|
|
2109
2501
|
PSegmentItem,
|
|
2110
2502
|
PSelect,
|
|
2111
|
-
|
|
2112
|
-
PStatus,
|
|
2503
|
+
PSmile,
|
|
2113
2504
|
PStepper,
|
|
2114
2505
|
PStepperItem,
|
|
2115
2506
|
PStepperLine,
|
|
2116
|
-
|
|
2507
|
+
PTabContainer,
|
|
2117
2508
|
PTabItem,
|
|
2118
2509
|
PTableContainer,
|
|
2119
2510
|
PTableFooter,
|
|
2120
2511
|
PTableHeader,
|
|
2121
2512
|
PTableRow,
|
|
2513
|
+
PTableRowActionsContainer,
|
|
2122
2514
|
PToast,
|
|
2515
|
+
PToggle,
|
|
2123
2516
|
PTooltip
|
|
2124
2517
|
];
|
|
2125
2518
|
|
|
2126
2519
|
class StencilModule {
|
|
2127
2520
|
}
|
|
2128
2521
|
StencilModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: StencilModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2129
|
-
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,
|
|
2522
|
+
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, PCropper, PDatepicker, PDivider, PDrawer, PDrawerBody, PDrawerContainer, PDrawerHeader, PDropdown, PDropdownMenuContainer, PDropdownMenuItem, PEmptyState, PField, PFieldContainer, PFloatingMenuContainer, PFloatingMenuItem, PHelper, PIbanIcon, PIcon, PIllustration, PIllustrationDeprecated, PInfoPanel, PLabel, PLayout, PListing, PListingItem, PListingLine, PLoader, PModal, PModalBody, PModalContainer, PModalFooter, PModalHeader, PNavbar, PNavigationItem, PNavigationSection, PNavigationTitle, PPagination, PPaginationPages, PPaginationPagesItem, PPaginationSize, PProfile, PRadio, PRange, PSegmentContainer, PSegmentItem, PSelect, PSmile, PStepper, PStepperItem, PStepperLine, PTabContainer, PTabItem, PTableContainer, PTableFooter, PTableHeader, PTableRow, PTableRowActionsContainer, PToast, PToggle, PTooltip], exports: [PAccordion, PAttachment, PAvatar, PAvatarGroup, PBackdrop, PBadge, PButton, PButtonGroup, PCalendar, PCardBody, PCardContainer, PCardHeader, PCheckbox, PContentSlider, PCropper, PDatepicker, PDivider, PDrawer, PDrawerBody, PDrawerContainer, PDrawerHeader, PDropdown, PDropdownMenuContainer, PDropdownMenuItem, PEmptyState, PField, PFieldContainer, PFloatingMenuContainer, PFloatingMenuItem, PHelper, PIbanIcon, PIcon, PIllustration, PIllustrationDeprecated, PInfoPanel, PLabel, PLayout, PListing, PListingItem, PListingLine, PLoader, PModal, PModalBody, PModalContainer, PModalFooter, PModalHeader, PNavbar, PNavigationItem, PNavigationSection, PNavigationTitle, PPagination, PPaginationPages, PPaginationPagesItem, PPaginationSize, PProfile, PRadio, PRange, PSegmentContainer, PSegmentItem, PSelect, PSmile, PStepper, PStepperItem, PStepperLine, PTabContainer, PTabItem, PTableContainer, PTableFooter, PTableHeader, PTableRow, PTableRowActionsContainer, PToast, PToggle, PTooltip] });
|
|
2130
2523
|
StencilModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: StencilModule });
|
|
2131
2524
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: StencilModule, decorators: [{
|
|
2132
2525
|
type: NgModule,
|
|
@@ -2239,11 +2632,11 @@ class OverlayService {
|
|
|
2239
2632
|
}
|
|
2240
2633
|
}
|
|
2241
2634
|
}
|
|
2242
|
-
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 });
|
|
2635
|
+
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 });
|
|
2243
2636
|
OverlayService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: OverlayService });
|
|
2244
2637
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: OverlayService, decorators: [{
|
|
2245
2638
|
type: Injectable
|
|
2246
|
-
}], ctorParameters: function () { return [{ type: i0.Injector }, { type: i1.Overlay }]; } });
|
|
2639
|
+
}], ctorParameters: function () { return [{ type: i0.Injector }, { type: i1$1.Overlay }]; } });
|
|
2247
2640
|
|
|
2248
2641
|
const OVERLAY_SERVICES = [OverlayService];
|
|
2249
2642
|
|
|
@@ -2387,7 +2780,7 @@ let BaseTableComponent = class BaseTableComponent extends BaseFormComponent {
|
|
|
2387
2780
|
selectedRows: this.parsedDefaultTableValues.selectedRows,
|
|
2388
2781
|
});
|
|
2389
2782
|
this.tableOptions.valueChanges
|
|
2390
|
-
.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 => {
|
|
2783
|
+
.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 => {
|
|
2391
2784
|
if (changes?.query && Object.keys(changes)?.length === 1) {
|
|
2392
2785
|
return timer(300);
|
|
2393
2786
|
}
|
|
@@ -2471,7 +2864,7 @@ let BaseTableComponent = class BaseTableComponent extends BaseFormComponent {
|
|
|
2471
2864
|
return Object.keys(changes).length ? changes : null;
|
|
2472
2865
|
}
|
|
2473
2866
|
_watchProperty(observable, identifier = 'id') {
|
|
2474
|
-
return observable.pipe(untilDestroyed(this), startWith(null), pairwise(), filter(([prev, cur]) => prev !== cur && !!cur), tap(([previous, current]) => {
|
|
2867
|
+
return observable.pipe(untilDestroyed(this), startWith(null), pairwise(), filter$1(([prev, cur]) => prev !== cur && !!cur), tap(([previous, current]) => {
|
|
2475
2868
|
if (previous && previous[identifier] !== current?.[identifier]) {
|
|
2476
2869
|
this.resetTable(false, true);
|
|
2477
2870
|
}
|
|
@@ -2497,7 +2890,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
2497
2890
|
With this, we shall hack the system in ways no one would ever have thought.
|
|
2498
2891
|
|
|
2499
2892
|
justify-start justify-center justify-end
|
|
2500
|
-
font-semibold text-
|
|
2893
|
+
font-semibold text-black-teal text-black-teal-400 text-black-teal-300
|
|
2501
2894
|
w-1/12 w-2/12 w-3/12 w-4/12 w-5/12 w-6/12 w-7/12 w-8/12 w-9/12 w-10/12 w-11/12 w-12/12
|
|
2502
2895
|
tablet:w-1/12 tablet:w-2/12 tablet:w-3/12 tablet:w-4/12 tablet:w-5/12 tablet:w-6/12 tablet:w-7/12 tablet:w-8/12 tablet:w-9/12 tablet:w-10/12 tablet:w-11/12 tablet:w-12/12
|
|
2503
2896
|
desktop-xs:w-1/12 desktop-xs:w-2/12 desktop-xs:w-3/12 desktop-xs:w-4/12 desktop-xs:w-5/12 desktop-xs:w-6/12 desktop-xs:w-7/12 desktop-xs:w-8/12 desktop-xs:w-9/12 desktop-xs:w-10/12 desktop-xs:w-11/12 desktop-xs:w-12/12
|
|
@@ -2564,13 +2957,9 @@ class TableCell {
|
|
|
2564
2957
|
* The index of the row
|
|
2565
2958
|
*/
|
|
2566
2959
|
this.rowIndex = 0;
|
|
2567
|
-
/**
|
|
2568
|
-
* Wether the table has actions
|
|
2569
|
-
*/
|
|
2570
|
-
this.tableHasActions = false;
|
|
2571
2960
|
}
|
|
2572
2961
|
get class() {
|
|
2573
|
-
return getTableCellColumnClasses(this.definition, this.variant
|
|
2962
|
+
return getTableCellColumnClasses(this.definition, this.variant);
|
|
2574
2963
|
}
|
|
2575
2964
|
get data() {
|
|
2576
2965
|
if (this.variant === 'header') {
|
|
@@ -2578,14 +2967,6 @@ class TableCell {
|
|
|
2578
2967
|
value: this.value,
|
|
2579
2968
|
};
|
|
2580
2969
|
}
|
|
2581
|
-
if (this.variant === 'actions') {
|
|
2582
|
-
return {
|
|
2583
|
-
value: this.value,
|
|
2584
|
-
item: this.item,
|
|
2585
|
-
index: this.index,
|
|
2586
|
-
rowIndex: this.rowIndex,
|
|
2587
|
-
};
|
|
2588
|
-
}
|
|
2589
2970
|
return {
|
|
2590
2971
|
value: this.value ?? objectGetByPath(this.item, this.definition.path),
|
|
2591
2972
|
item: this.item,
|
|
@@ -2595,10 +2976,10 @@ class TableCell {
|
|
|
2595
2976
|
}
|
|
2596
2977
|
}
|
|
2597
2978
|
TableCell.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TableCell, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2598
|
-
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",
|
|
2979
|
+
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"] }] });
|
|
2599
2980
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TableCell, decorators: [{
|
|
2600
2981
|
type: Component,
|
|
2601
|
-
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"
|
|
2982
|
+
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" }]
|
|
2602
2983
|
}], propDecorators: { variant: [{
|
|
2603
2984
|
type: Input
|
|
2604
2985
|
}], index: [{
|
|
@@ -2611,8 +2992,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
2611
2992
|
type: Input
|
|
2612
2993
|
}], value: [{
|
|
2613
2994
|
type: Input
|
|
2614
|
-
}], tableHasActions: [{
|
|
2615
|
-
type: Input
|
|
2616
2995
|
}], checkbox: [{
|
|
2617
2996
|
type: Input
|
|
2618
2997
|
}], template: [{
|
|
@@ -2631,11 +3010,19 @@ let TableColumn = class TableColumn {
|
|
|
2631
3010
|
}
|
|
2632
3011
|
};
|
|
2633
3012
|
TableColumn.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TableColumn, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
2634
|
-
TableColumn.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: TableColumn, selector: "p-table-column", inputs: { align: "align", name: "name", path: "path", sizes: "sizes",
|
|
3013
|
+
TableColumn.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: TableColumn, selector: "p-table-column", inputs: { align: "align", name: "name", path: "path", sizes: "sizes", variant: "variant", useSlot: "useSlot", hasCheckbox: "hasCheckbox" }, queries: [{ propertyName: "template", first: true, predicate: TemplateRef, descendants: true, read: TemplateRef, static: true }], ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2635
3014
|
TableColumn = __decorate([
|
|
2636
3015
|
ProxyCmp({
|
|
2637
3016
|
defineCustomElementFn: undefined,
|
|
2638
|
-
inputs: [
|
|
3017
|
+
inputs: [
|
|
3018
|
+
'align',
|
|
3019
|
+
'name',
|
|
3020
|
+
'path',
|
|
3021
|
+
'sizes',
|
|
3022
|
+
'variant',
|
|
3023
|
+
'useSlot',
|
|
3024
|
+
'hasCheckbox',
|
|
3025
|
+
],
|
|
2639
3026
|
})
|
|
2640
3027
|
], TableColumn);
|
|
2641
3028
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TableColumn, decorators: [{
|
|
@@ -2644,7 +3031,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
2644
3031
|
selector: 'p-table-column',
|
|
2645
3032
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2646
3033
|
template: '<ng-content></ng-content>',
|
|
2647
|
-
inputs: [
|
|
3034
|
+
inputs: [
|
|
3035
|
+
'align',
|
|
3036
|
+
'name',
|
|
3037
|
+
'path',
|
|
3038
|
+
'sizes',
|
|
3039
|
+
'variant',
|
|
3040
|
+
'useSlot',
|
|
3041
|
+
'hasCheckbox',
|
|
3042
|
+
],
|
|
2648
3043
|
}]
|
|
2649
3044
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; }, propDecorators: { template: [{
|
|
2650
3045
|
type: ContentChild,
|
|
@@ -3070,6 +3465,7 @@ const defaultSizeOptions = [12, 24, 68, 136];
|
|
|
3070
3465
|
let Table = class Table {
|
|
3071
3466
|
constructor(_changeDetection) {
|
|
3072
3467
|
this._changeDetection = _changeDetection;
|
|
3468
|
+
this.className = 'flex flex-col z-0';
|
|
3073
3469
|
/**
|
|
3074
3470
|
* Wether data is loading
|
|
3075
3471
|
*/
|
|
@@ -3189,13 +3585,13 @@ let Table = class Table {
|
|
|
3189
3585
|
*/
|
|
3190
3586
|
this.enableFooter = true;
|
|
3191
3587
|
/**
|
|
3192
|
-
* Wether to enable
|
|
3588
|
+
* Wether to enable pagination size select
|
|
3193
3589
|
*/
|
|
3194
|
-
this.
|
|
3590
|
+
this.enablePaginationSize = true;
|
|
3195
3591
|
/**
|
|
3196
|
-
* Wether to enable pagination
|
|
3592
|
+
* Wether to enable pagination pages
|
|
3197
3593
|
*/
|
|
3198
|
-
this.
|
|
3594
|
+
this.enablePaginationPages = true;
|
|
3199
3595
|
/**
|
|
3200
3596
|
* Wether to enable export
|
|
3201
3597
|
*/
|
|
@@ -3230,9 +3626,17 @@ let Table = class Table {
|
|
|
3230
3626
|
this.hideOnSinglePage = true;
|
|
3231
3627
|
/* Empty state start */
|
|
3232
3628
|
this.emptyStateType = 'no_filter';
|
|
3233
|
-
this.emptyStateIllustration = '
|
|
3629
|
+
this.emptyStateIllustration = 'table';
|
|
3630
|
+
this.emptyStateActionIcon = 'plus';
|
|
3234
3631
|
this.enableEmptyStateAction = true;
|
|
3235
|
-
this.emptyStateFilteredIllustration = '
|
|
3632
|
+
this.emptyStateFilteredIllustration = 'search';
|
|
3633
|
+
/**
|
|
3634
|
+
* Wether to enable scrolling
|
|
3635
|
+
*/
|
|
3636
|
+
this.enableScroll = false;
|
|
3637
|
+
this.reachedScrollStart$ = new BehaviorSubject(true);
|
|
3638
|
+
this.reachedScrollEnd$ = new BehaviorSubject(false);
|
|
3639
|
+
this._totalWidth = 0;
|
|
3236
3640
|
/**
|
|
3237
3641
|
* Event whenever the empty state is clicked
|
|
3238
3642
|
*/
|
|
@@ -3242,7 +3646,7 @@ let Table = class Table {
|
|
|
3242
3646
|
* Wether to show the shadow or not
|
|
3243
3647
|
*/
|
|
3244
3648
|
this.shadow = true;
|
|
3245
|
-
this.columns = [];
|
|
3649
|
+
this.columns$ = new BehaviorSubject([]);
|
|
3246
3650
|
this.parsedItems = [];
|
|
3247
3651
|
this.loadingRows = Array.from({
|
|
3248
3652
|
length: this.amountOfLoadingRows,
|
|
@@ -3260,19 +3664,14 @@ let Table = class Table {
|
|
|
3260
3664
|
this.filterModalSave = new EventEmitter();
|
|
3261
3665
|
this.filterModalReset = new EventEmitter();
|
|
3262
3666
|
this.rowActionsRow$ = new BehaviorSubject([]);
|
|
3263
|
-
this.rowActionsRowDefinition$ = new BehaviorSubject(undefined);
|
|
3264
3667
|
this.rowActionsFloatingAll$ = new BehaviorSubject([]);
|
|
3265
3668
|
this.rowActionsFloating$ = new BehaviorSubject([]);
|
|
3266
3669
|
this.isMobile$ = new BehaviorSubject(isMobile());
|
|
3670
|
+
this.floatingMenuContainerClass = floatingMenuContainerClass;
|
|
3267
3671
|
this._inputEnableRowSelection = this.enableRowSelection;
|
|
3268
3672
|
this._inputRowSelectionLimit = this.rowSelectionLimit;
|
|
3269
|
-
|
|
3270
|
-
|
|
3271
|
-
this._columnDefinitions = v;
|
|
3272
|
-
this._generateColumns();
|
|
3273
|
-
}
|
|
3274
|
-
get columnDefinitions() {
|
|
3275
|
-
return this._columnDefinitions;
|
|
3673
|
+
this.footerHidden$ = new BehaviorSubject(false);
|
|
3674
|
+
this.cn = cn;
|
|
3276
3675
|
}
|
|
3277
3676
|
set rowActions(v) {
|
|
3278
3677
|
this._rowActions = v;
|
|
@@ -3312,9 +3711,22 @@ let Table = class Table {
|
|
|
3312
3711
|
if (calculateRowSelectionData || changes['selectedRows']) {
|
|
3313
3712
|
this._setRowSelectionData();
|
|
3314
3713
|
}
|
|
3714
|
+
if (changes['enableScroll']?.currentValue) {
|
|
3715
|
+
this._checkChangesSubscriptions();
|
|
3716
|
+
}
|
|
3717
|
+
}
|
|
3718
|
+
ngAfterViewInit() {
|
|
3719
|
+
if (this.enableScroll) {
|
|
3720
|
+
this._checkChangesSubscriptions();
|
|
3721
|
+
}
|
|
3722
|
+
if (this.columnDefinitions) {
|
|
3723
|
+
this.columnDefinitions.changes.pipe(untilDestroyed(this), debounceTime(100)).subscribe(() => this._generateColumns());
|
|
3724
|
+
this._generateColumns();
|
|
3725
|
+
}
|
|
3315
3726
|
}
|
|
3316
3727
|
onResize() {
|
|
3317
3728
|
this._setRowSelectionData();
|
|
3729
|
+
this._calculateColumnWidths();
|
|
3318
3730
|
}
|
|
3319
3731
|
keyDown({ key }) {
|
|
3320
3732
|
if (key !== 'Control' || this._ctrlDown === true) {
|
|
@@ -3368,6 +3780,12 @@ let Table = class Table {
|
|
|
3368
3780
|
}
|
|
3369
3781
|
return actions.filter(a => !a.showFunction || a.showFunction(this.parsedItems[rowIndex]));
|
|
3370
3782
|
}
|
|
3783
|
+
onContainerXScroll(ev) {
|
|
3784
|
+
if (!this.enableScroll) {
|
|
3785
|
+
return;
|
|
3786
|
+
}
|
|
3787
|
+
this._calculateScrollPosition(ev);
|
|
3788
|
+
}
|
|
3371
3789
|
_parseItems(items) {
|
|
3372
3790
|
if (!items) {
|
|
3373
3791
|
this.parsedItems = [];
|
|
@@ -3380,9 +3798,9 @@ let Table = class Table {
|
|
|
3380
3798
|
this.parsedItems = JSON.parse(items);
|
|
3381
3799
|
}
|
|
3382
3800
|
_generateColumns() {
|
|
3383
|
-
let definitionsArray = Array.from(this.
|
|
3801
|
+
let definitionsArray = Array.from(this.columnDefinitions);
|
|
3384
3802
|
definitionsArray = this._parseDefinitions(definitionsArray);
|
|
3385
|
-
this.columns
|
|
3803
|
+
this.columns$.next(definitionsArray);
|
|
3386
3804
|
}
|
|
3387
3805
|
_checkboxDisabled(item, rowIndex) {
|
|
3388
3806
|
const selectionContains = this._selectionContains(item, rowIndex);
|
|
@@ -3395,9 +3813,7 @@ let Table = class Table {
|
|
|
3395
3813
|
if (!this.enableRowSelection) {
|
|
3396
3814
|
return;
|
|
3397
3815
|
}
|
|
3398
|
-
const value = forceValue === undefined
|
|
3399
|
-
? this._getCheckedValue($event.target)
|
|
3400
|
-
: forceValue;
|
|
3816
|
+
const value = forceValue === undefined ? $event.detail : forceValue;
|
|
3401
3817
|
if (value) {
|
|
3402
3818
|
const toAdd = [];
|
|
3403
3819
|
for (let i = 0; i < this.parsedItems.length; i++) {
|
|
@@ -3655,11 +4071,10 @@ let Table = class Table {
|
|
|
3655
4071
|
enableRowSelection = true;
|
|
3656
4072
|
}
|
|
3657
4073
|
this.enableRowSelection = enableRowSelection;
|
|
3658
|
-
this.rowActionsRowDefinition$.next(this._parseRowActionsRowDefinition());
|
|
3659
4074
|
this.rowActionsRow$.next(rowActionsRow);
|
|
3660
4075
|
this.rowActionsFloatingAll$.next(rowActionsFloating);
|
|
3661
4076
|
this.floatingMenuShown$
|
|
3662
|
-
.pipe(take(1), filter
|
|
4077
|
+
.pipe(take(1), filter(v => !!v))
|
|
3663
4078
|
.subscribe(() => this._showFloatingMenu());
|
|
3664
4079
|
}, 200);
|
|
3665
4080
|
}
|
|
@@ -3676,41 +4091,10 @@ let Table = class Table {
|
|
|
3676
4091
|
});
|
|
3677
4092
|
}
|
|
3678
4093
|
_parseDefinitions(definitionsArray) {
|
|
3679
|
-
|
|
4094
|
+
return definitionsArray.map(definition => {
|
|
3680
4095
|
definition = this._parseDefinitionSizes(definition);
|
|
3681
|
-
definition.isLast = {};
|
|
3682
4096
|
return definition;
|
|
3683
4097
|
});
|
|
3684
|
-
const matchedIsLast = tableColumSizesOptions.reduce((data, size) => {
|
|
3685
|
-
data[size] = false;
|
|
3686
|
-
return data;
|
|
3687
|
-
}, {});
|
|
3688
|
-
for (let i = definitions.length - 1; i >= 0; i--) {
|
|
3689
|
-
const definition = definitions[i];
|
|
3690
|
-
for (const size of tableColumSizesOptions) {
|
|
3691
|
-
if (matchedIsLast[size]) {
|
|
3692
|
-
definition.isLast[size] = false;
|
|
3693
|
-
continue;
|
|
3694
|
-
}
|
|
3695
|
-
if (definition.parsedSizes[size] === 'hidden') {
|
|
3696
|
-
definition.isLast[size] = false;
|
|
3697
|
-
continue;
|
|
3698
|
-
}
|
|
3699
|
-
const isLastAtSizeFound = this._findLastDefinitionBySize(definitions, size);
|
|
3700
|
-
if (isLastAtSizeFound) {
|
|
3701
|
-
definition.isLast[size] = false;
|
|
3702
|
-
continue;
|
|
3703
|
-
}
|
|
3704
|
-
definition.isLast[size] = true;
|
|
3705
|
-
}
|
|
3706
|
-
}
|
|
3707
|
-
return definitions;
|
|
3708
|
-
}
|
|
3709
|
-
_findLastDefinitionBySize(definitions, size) {
|
|
3710
|
-
return definitions
|
|
3711
|
-
.slice()
|
|
3712
|
-
.reverse()
|
|
3713
|
-
.find(d => d.isLast[size] === true);
|
|
3714
4098
|
}
|
|
3715
4099
|
_parseDefinitionSizes(definition) {
|
|
3716
4100
|
const definitionAny = definition;
|
|
@@ -3731,35 +4115,97 @@ let Table = class Table {
|
|
|
3731
4115
|
definition.parsedSizes = parsedSizes;
|
|
3732
4116
|
return definition;
|
|
3733
4117
|
}
|
|
3734
|
-
|
|
3735
|
-
|
|
3736
|
-
|
|
3737
|
-
|
|
3738
|
-
|
|
3739
|
-
|
|
3740
|
-
for (const size of tableColumSizesOptions) {
|
|
3741
|
-
const lastColumn = this._findLastDefinitionBySize(this.columns, size);
|
|
3742
|
-
sizes[size] = lastColumn.parsedSizes[size];
|
|
4118
|
+
_checkChangesSubscriptions() {
|
|
4119
|
+
if (!this._rowChangesSubscription && this.tableRows) {
|
|
4120
|
+
this._rowChangesSubscription = this.tableRows.changes.pipe(untilDestroyed(this), debounceTime(100)).subscribe(() => this._calculateColumnWidths());
|
|
4121
|
+
}
|
|
4122
|
+
if (!this._cellChangesSubscription && this.tableCells) {
|
|
4123
|
+
this._cellChangesSubscription = this.tableCells.changes.pipe(untilDestroyed(this), debounceTime(100)).subscribe(() => this._calculateColumnWidths());
|
|
3743
4124
|
}
|
|
3744
|
-
|
|
3745
|
-
|
|
3746
|
-
|
|
3747
|
-
|
|
3748
|
-
|
|
3749
|
-
|
|
3750
|
-
|
|
3751
|
-
}
|
|
4125
|
+
}
|
|
4126
|
+
_calculateColumnWidths() {
|
|
4127
|
+
if (!this.enableScroll) {
|
|
4128
|
+
return;
|
|
4129
|
+
}
|
|
4130
|
+
if (!this.tableCells || !this.tableRows) {
|
|
4131
|
+
return;
|
|
4132
|
+
}
|
|
4133
|
+
if (this._calculateColumnWidthsTimeout) {
|
|
4134
|
+
clearTimeout(this._calculateColumnWidthsTimeout);
|
|
4135
|
+
this._calculateColumnWidthsTimeout = 0;
|
|
4136
|
+
}
|
|
4137
|
+
const rows = this.tableRows.map(c => c.nativeElement);
|
|
4138
|
+
const cells = this.tableCells.map(c => c.nativeElement);
|
|
4139
|
+
this._calculateColumnWidthsTimeout = setTimeout(async () => {
|
|
4140
|
+
this._setRowsWidth(rows);
|
|
4141
|
+
const promises = [];
|
|
4142
|
+
for (const cell of cells) {
|
|
4143
|
+
if (cell.style.width?.length) {
|
|
4144
|
+
cell.style.width = '';
|
|
4145
|
+
}
|
|
4146
|
+
promises.push(new Promise(resolve => setTimeout(() => {
|
|
4147
|
+
const rect = cell.getBoundingClientRect();
|
|
4148
|
+
cell.setAttribute('style', `width: ${rect.width}px !important`);
|
|
4149
|
+
resolve();
|
|
4150
|
+
}, 100)));
|
|
4151
|
+
}
|
|
4152
|
+
await Promise.all(promises);
|
|
4153
|
+
this._setRowsWidth(rows, 'min-content');
|
|
4154
|
+
this._resetScrollPosition();
|
|
4155
|
+
}, 200);
|
|
4156
|
+
}
|
|
4157
|
+
_setRowsWidth(rows, value = null) {
|
|
4158
|
+
for (let i = 0; i < rows.length; i++) {
|
|
4159
|
+
const row = rows[i];
|
|
4160
|
+
const shadow = row.shadowRoot;
|
|
4161
|
+
if (!shadow) {
|
|
4162
|
+
continue;
|
|
4163
|
+
}
|
|
4164
|
+
const firstDiv = shadow.querySelector('*:nth-child(1)');
|
|
4165
|
+
if (!firstDiv) {
|
|
4166
|
+
continue;
|
|
4167
|
+
}
|
|
4168
|
+
const secondDiv = firstDiv.querySelector('*:nth-child(1)');
|
|
4169
|
+
if (!secondDiv) {
|
|
4170
|
+
continue;
|
|
4171
|
+
}
|
|
4172
|
+
if (value === null) {
|
|
4173
|
+
firstDiv.setAttribute('style', '');
|
|
4174
|
+
secondDiv.setAttribute('style', '');
|
|
4175
|
+
continue;
|
|
4176
|
+
}
|
|
4177
|
+
firstDiv.setAttribute('style', 'width: min-content;');
|
|
4178
|
+
secondDiv.setAttribute('style', 'width: min-content;');
|
|
4179
|
+
if (i === 0) {
|
|
4180
|
+
this._totalWidth = firstDiv.getBoundingClientRect().width;
|
|
4181
|
+
}
|
|
4182
|
+
}
|
|
4183
|
+
}
|
|
4184
|
+
_resetScrollPosition() {
|
|
4185
|
+
if (this.scrollContainer) {
|
|
4186
|
+
this.scrollContainer.nativeElement.scrollLeft = 0;
|
|
4187
|
+
}
|
|
4188
|
+
this.reachedScrollStart$.next(true);
|
|
4189
|
+
this.reachedScrollEnd$.next(false);
|
|
4190
|
+
}
|
|
4191
|
+
_calculateScrollPosition({ target }) {
|
|
4192
|
+
this.reachedScrollStart$.next(target.scrollLeft < 100);
|
|
4193
|
+
const right = target.scrollLeft + target.getBoundingClientRect().width;
|
|
4194
|
+
this.reachedScrollEnd$.next(right > this._totalWidth - 100);
|
|
3752
4195
|
}
|
|
3753
4196
|
};
|
|
3754
4197
|
Table.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: Table, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
3755
|
-
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: ["as", "buttonGroupPosition", "chevron", "chevronPosition", "disabled", "href", "icon", "iconFlip", "iconOnly", "iconPosition", "iconRotate", "inheritText", "loading", "size", "target", "type", "underline", "variant"] }, { kind: "component", type: PDivider, selector: "p-divider", inputs: ["variant"] }, { kind: "component", type: PFloatingMenuContainer, selector: "p-floating-menu-container", inputs: ["usedInTable"] }, { kind: "component", type: PFloatingMenuItem, selector: "p-floating-menu-item", inputs: ["disabled", "hover"] }, { kind: "component", type: PIcon, selector: "p-icon", inputs: ["flip", "rotate", "size", "variant"] }, { kind: "component", type: PIllustration, selector: "p-illustration", inputs: ["variant"] }, { kind: "component", type: PLoader, selector: "p-loader", inputs: ["color", "modalDescription", "modalTitle", "show", "variant"] }, { kind: "component", type: PModal, selector: "p-modal", inputs: ["applyBlur", "backdropClickClose", "header", "padding", "scrollLock", "show", "showClose", "showMobileFooter", "size", "variant"] }, { kind: "component", type: PTableContainer, selector: "p-table-container", inputs: ["shadow"] }, { kind: "component", type: PTableFooter, selector: "p-table-footer", inputs: ["enableExport", "enablePageSize", "enablePagination", "hideOnSinglePage", "loading", "page", "pageSize", "pageSizeOptions", "total"] }, { kind: "component", type: PTableHeader, selector: "p-table-header", inputs: ["actionButtonTemplate", "actionIcon", "actionLoading", "actionText", "activeQuickFilterIdentifier", "canUseAction", "enableAction", "enableFilter", "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 });
|
|
4198
|
+
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, 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\n\t\tclass=\"relative flex-1\"\n\t\t*ngIf=\"enableScroll; else rowsTemplate\"\n\t>\n\t\t<div\n\t\t\tclass=\"flex flex-col overflow-x-auto\"\n\t\t\t#scrollContainer\n\t\t\t[class]=\"\n\t\t\t\tcn(\n\t\t\t\t\t'before:absolute before:top-0 before:left-0 before:z-[1] before:pointer-events-none',\n\t\t\t\t\t'before:w-[10%] before:h-full before:transition-opacity',\n\t\t\t\t\t'before:bg-gradient-to-r before:from-white before:via-white/80 before:to-transparent',\n\t\t\t\t\t'after:absolute after:top-0 after:right-0 after:z-[0] before:pointer-events-none',\n\t\t\t\t\t'after:w-[10%] after:h-full after:transition-opacity',\n\t\t\t\t\t'after:bg-gradient-to-l after:from-white after:via-white/80 after:to-transparent',\n\t\t\t\t\t{\n\t\t\t\t\t\t'before:opacity-0': reachedScrollStart$ | async,\n\t\t\t\t\t\t'after:opacity-0': reachedScrollEnd$ | async,\n\t\t\t\t\t\t'before:opacity-100': (reachedScrollStart$ | async) === false,\n\t\t\t\t\t\t'after:opacity-100': (reachedScrollEnd$ | async) === false\n\t\t\t\t\t}\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[checked]=\"_selectionContains(item, rowIndex)\"\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\n\t\t\t\t\t\t\t*ngFor=\"let col of columns$ | async; let index = index\"\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\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\t[enableAction]=\"false\"\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", "error", "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", "actionIconPosition", "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: ["checked", "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", "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 });
|
|
3756
4199
|
Table = __decorate([
|
|
3757
4200
|
UntilDestroy({ checkProperties: true })
|
|
3758
4201
|
], Table);
|
|
3759
4202
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: Table, decorators: [{
|
|
3760
4203
|
type: Component,
|
|
3761
|
-
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"] }]
|
|
3762
|
-
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: {
|
|
4204
|
+
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\n\t\tclass=\"relative flex-1\"\n\t\t*ngIf=\"enableScroll; else rowsTemplate\"\n\t>\n\t\t<div\n\t\t\tclass=\"flex flex-col overflow-x-auto\"\n\t\t\t#scrollContainer\n\t\t\t[class]=\"\n\t\t\t\tcn(\n\t\t\t\t\t'before:absolute before:top-0 before:left-0 before:z-[1] before:pointer-events-none',\n\t\t\t\t\t'before:w-[10%] before:h-full before:transition-opacity',\n\t\t\t\t\t'before:bg-gradient-to-r before:from-white before:via-white/80 before:to-transparent',\n\t\t\t\t\t'after:absolute after:top-0 after:right-0 after:z-[0] before:pointer-events-none',\n\t\t\t\t\t'after:w-[10%] after:h-full after:transition-opacity',\n\t\t\t\t\t'after:bg-gradient-to-l after:from-white after:via-white/80 after:to-transparent',\n\t\t\t\t\t{\n\t\t\t\t\t\t'before:opacity-0': reachedScrollStart$ | async,\n\t\t\t\t\t\t'after:opacity-0': reachedScrollEnd$ | async,\n\t\t\t\t\t\t'before:opacity-100': (reachedScrollStart$ | async) === false,\n\t\t\t\t\t\t'after:opacity-100': (reachedScrollEnd$ | async) === false\n\t\t\t\t\t}\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[checked]=\"_selectionContains(item, rowIndex)\"\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\n\t\t\t\t\t\t\t*ngFor=\"let col of columns$ | async; let index = index\"\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\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\t[enableAction]=\"false\"\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" }]
|
|
4205
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { className: [{
|
|
4206
|
+
type: HostBinding,
|
|
4207
|
+
args: ['class']
|
|
4208
|
+
}], items: [{
|
|
3763
4209
|
type: Input
|
|
3764
4210
|
}], loading: [{
|
|
3765
4211
|
type: Input
|
|
@@ -3835,9 +4281,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
3835
4281
|
type: Output
|
|
3836
4282
|
}], enableFooter: [{
|
|
3837
4283
|
type: Input
|
|
3838
|
-
}],
|
|
4284
|
+
}], enablePaginationSize: [{
|
|
3839
4285
|
type: Input
|
|
3840
|
-
}],
|
|
4286
|
+
}], enablePaginationPages: [{
|
|
3841
4287
|
type: Input
|
|
3842
4288
|
}], enableExport: [{
|
|
3843
4289
|
type: Input
|
|
@@ -3867,6 +4313,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
3867
4313
|
type: Input
|
|
3868
4314
|
}], emptyStateAction: [{
|
|
3869
4315
|
type: Input
|
|
4316
|
+
}], emptyStateActionIcon: [{
|
|
4317
|
+
type: Input
|
|
3870
4318
|
}], enableEmptyStateAction: [{
|
|
3871
4319
|
type: Input
|
|
3872
4320
|
}], emptyStateFilteredIllustration: [{
|
|
@@ -3875,6 +4323,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
3875
4323
|
type: Input
|
|
3876
4324
|
}], emptyStateFilteredContent: [{
|
|
3877
4325
|
type: Input
|
|
4326
|
+
}], enableScroll: [{
|
|
4327
|
+
type: Input
|
|
4328
|
+
}], tableRows: [{
|
|
4329
|
+
type: ViewChildren,
|
|
4330
|
+
args: [PTableRow, { read: ElementRef }]
|
|
4331
|
+
}], tableCells: [{
|
|
4332
|
+
type: ViewChildren,
|
|
4333
|
+
args: [TableCell, { read: ElementRef }]
|
|
4334
|
+
}], scrollContainer: [{
|
|
4335
|
+
type: ViewChild,
|
|
4336
|
+
args: ['scrollContainer']
|
|
3878
4337
|
}], emptyStateActionClick: [{
|
|
3879
4338
|
type: Output
|
|
3880
4339
|
}], shadow: [{
|
|
@@ -3954,10 +4413,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
3954
4413
|
var ToastVariants;
|
|
3955
4414
|
(function (ToastVariants) {
|
|
3956
4415
|
ToastVariants["Success"] = "positive";
|
|
3957
|
-
ToastVariants["Warning"] = "
|
|
4416
|
+
ToastVariants["Warning"] = "biased";
|
|
3958
4417
|
ToastVariants["Error"] = "negative";
|
|
4418
|
+
ToastVariants["Neutral"] = "neutral";
|
|
3959
4419
|
ToastVariants["Positive"] = "positive";
|
|
3960
|
-
ToastVariants["
|
|
4420
|
+
ToastVariants["Biased"] = "biased";
|
|
3961
4421
|
ToastVariants["Negative"] = "negative";
|
|
3962
4422
|
})(ToastVariants || (ToastVariants = {}));
|
|
3963
4423
|
|
|
@@ -4071,7 +4531,7 @@ let ToastContainer = class ToastContainer {
|
|
|
4071
4531
|
}
|
|
4072
4532
|
};
|
|
4073
4533
|
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 });
|
|
4074
|
-
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$
|
|
4534
|
+
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 });
|
|
4075
4535
|
ToastContainer = __decorate([
|
|
4076
4536
|
ProxyCmp({
|
|
4077
4537
|
defineCustomElementFn: undefined,
|
|
@@ -4113,14 +4573,14 @@ class CustomCurrencyPipe {
|
|
|
4113
4573
|
return this._currencyPipe.transform(value, currencyCode, display, digitsInfo, locale);
|
|
4114
4574
|
}
|
|
4115
4575
|
}
|
|
4116
|
-
CustomCurrencyPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: CustomCurrencyPipe, deps: [{ token: i1$
|
|
4576
|
+
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 });
|
|
4117
4577
|
CustomCurrencyPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: CustomCurrencyPipe, name: "pcurrency" });
|
|
4118
4578
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: CustomCurrencyPipe, decorators: [{
|
|
4119
4579
|
type: Pipe,
|
|
4120
4580
|
args: [{
|
|
4121
4581
|
name: 'pcurrency',
|
|
4122
4582
|
}]
|
|
4123
|
-
}], ctorParameters: function () { return [{ type: i1$
|
|
4583
|
+
}], ctorParameters: function () { return [{ type: i1$2.CurrencyPipe }]; } });
|
|
4124
4584
|
|
|
4125
4585
|
class CustomDatePipe {
|
|
4126
4586
|
constructor(_datePipe) {
|
|
@@ -4130,14 +4590,14 @@ class CustomDatePipe {
|
|
|
4130
4590
|
return this._datePipe.transform(value, format);
|
|
4131
4591
|
}
|
|
4132
4592
|
}
|
|
4133
|
-
CustomDatePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: CustomDatePipe, deps: [{ token: i1$
|
|
4593
|
+
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 });
|
|
4134
4594
|
CustomDatePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: CustomDatePipe, name: "pdate" });
|
|
4135
4595
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: CustomDatePipe, decorators: [{
|
|
4136
4596
|
type: Pipe,
|
|
4137
4597
|
args: [{
|
|
4138
4598
|
name: 'pdate',
|
|
4139
4599
|
}]
|
|
4140
|
-
}], ctorParameters: function () { return [{ type: i1$
|
|
4600
|
+
}], ctorParameters: function () { return [{ type: i1$2.DatePipe }]; } });
|
|
4141
4601
|
|
|
4142
4602
|
class SafePipe {
|
|
4143
4603
|
constructor(sanitizer) {
|
|
@@ -4160,14 +4620,14 @@ class SafePipe {
|
|
|
4160
4620
|
}
|
|
4161
4621
|
}
|
|
4162
4622
|
}
|
|
4163
|
-
SafePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SafePipe, deps: [{ token: i1$
|
|
4623
|
+
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 });
|
|
4164
4624
|
SafePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: SafePipe, name: "psafe" });
|
|
4165
4625
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SafePipe, decorators: [{
|
|
4166
4626
|
type: Pipe,
|
|
4167
4627
|
args: [{
|
|
4168
4628
|
name: 'psafe',
|
|
4169
4629
|
}]
|
|
4170
|
-
}], ctorParameters: function () { return [{ type: i1$
|
|
4630
|
+
}], ctorParameters: function () { return [{ type: i1$3.DomSanitizer }]; } });
|
|
4171
4631
|
|
|
4172
4632
|
const PIPES = [CustomCurrencyPipe, CustomDatePipe, SafePipe];
|
|
4173
4633
|
|
|
@@ -4181,7 +4641,7 @@ class PaperlessModule {
|
|
|
4181
4641
|
}
|
|
4182
4642
|
}
|
|
4183
4643
|
PaperlessModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PaperlessModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4184
|
-
PaperlessModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: PaperlessModule, declarations: [
|
|
4644
|
+
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] });
|
|
4185
4645
|
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] });
|
|
4186
4646
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PaperlessModule, decorators: [{
|
|
4187
4647
|
type: NgModule,
|
|
@@ -4201,5 +4661,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
4201
4661
|
* Generated bundle index. Do not edit.
|
|
4202
4662
|
*/
|
|
4203
4663
|
|
|
4204
|
-
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,
|
|
4664
|
+
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, PCropper, PDatepicker, PDivider, PDrawer, PDrawerBody, PDrawerContainer, PDrawerHeader, PDropdown, PDropdownMenuContainer, PDropdownMenuItem, PEmptyState, PField, PFieldContainer, PFloatingMenuContainer, PFloatingMenuItem, PHelper, PIPES, PIbanIcon, PIcon, PIllustration, PIllustrationDeprecated, PInfoPanel, PLabel, PLayout, PListing, PListingItem, PListingLine, PLoader, PModal, PModalBody, PModalContainer, PModalFooter, PModalHeader, PNavbar, PNavigationItem, PNavigationSection, PNavigationTitle, PPagination, PPaginationPages, PPaginationPagesItem, PPaginationSize, PProfile, PRadio, PRange, PSegmentContainer, PSegmentItem, PSelect, PSmile, PStepper, PStepperItem, PStepperLine, PTabContainer, PTabItem, PTableContainer, PTableFooter, PTableHeader, PTableRow, PTableRowActionsContainer, PToast, PToggle, PTooltip, PaginationPagesDirective, PaginationSizeDirective, PaperlessModule, RadioDirective, 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 };
|
|
4205
4665
|
//# sourceMappingURL=paperless-angular.mjs.map
|