@paperless/angular 2.0.1-beta.20 → 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 +377 -255
- package/esm2020/lib/stencil/index.mjs +15 -10
- package/esm2020/lib/stencil.module.mjs +1 -1
- package/fesm2015/paperless-angular.mjs +756 -392
- package/fesm2015/paperless-angular.mjs.map +1 -1
- package/fesm2020/paperless-angular.mjs +751 -391
- 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 +269 -164
- 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
|
-
import { __decorate } from 'tslib';
|
|
9
|
+
import { __decorate, __awaiter } from 'tslib';
|
|
9
10
|
import { ObserversModule } from '@angular/cdk/observers';
|
|
10
|
-
import * as i1 from '@angular/cdk/overlay';
|
|
11
|
+
import * as i1$1 from '@angular/cdk/overlay';
|
|
11
12
|
import { OverlayModule as OverlayModule$1, OverlayConfig } from '@angular/cdk/overlay';
|
|
12
13
|
import { PlatformModule } from '@angular/cdk/platform';
|
|
13
14
|
import { PortalModule, CdkPortal, ComponentPortal } from '@angular/cdk/portal';
|
|
14
15
|
import { untilDestroyed, UntilDestroy } from '@ngneat/until-destroy';
|
|
15
|
-
import { startWith, tap, pairwise, map, filter, debounce } from 'rxjs/operators';
|
|
16
|
-
import { getTableCellColumnClasses, objectGetByPath, isMobile, tableColumSizesOptions } from '@paperless/core';
|
|
16
|
+
import { startWith, tap, pairwise, map, filter as filter$1, debounce } from 'rxjs/operators';
|
|
17
|
+
import { getTableCellColumnClasses, objectGetByPath, isMobile, floatingMenuContainerClass, cn, tableColumSizesOptions } from '@paperless/core';
|
|
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', [
|
|
@@ -255,6 +256,41 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
255
256
|
args: ['focusout']
|
|
256
257
|
}] } });
|
|
257
258
|
|
|
259
|
+
class CheckboxDirective extends BaseValueAccessor {
|
|
260
|
+
constructor(el) {
|
|
261
|
+
super(el);
|
|
262
|
+
}
|
|
263
|
+
writeValue(value) {
|
|
264
|
+
this.el.nativeElement.checked = this.lastValue =
|
|
265
|
+
value === null || value === 'indeterminate' ? false : value;
|
|
266
|
+
this.el.nativeElement.indeterminate = value === 'indeterminate';
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
CheckboxDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: CheckboxDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
270
|
+
CheckboxDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.9", type: CheckboxDirective, selector: "p-checkbox", host: { listeners: { "checkedChange": "handleChangeEvent($event.detail)" } }, providers: [
|
|
271
|
+
{
|
|
272
|
+
provide: NG_VALUE_ACCESSOR,
|
|
273
|
+
useExisting: CheckboxDirective,
|
|
274
|
+
multi: true,
|
|
275
|
+
},
|
|
276
|
+
], usesInheritance: true, ngImport: i0 });
|
|
277
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: CheckboxDirective, decorators: [{
|
|
278
|
+
type: Directive,
|
|
279
|
+
args: [{
|
|
280
|
+
selector: 'p-checkbox',
|
|
281
|
+
host: {
|
|
282
|
+
'(checkedChange)': 'handleChangeEvent($event.detail)',
|
|
283
|
+
},
|
|
284
|
+
providers: [
|
|
285
|
+
{
|
|
286
|
+
provide: NG_VALUE_ACCESSOR,
|
|
287
|
+
useExisting: CheckboxDirective,
|
|
288
|
+
multi: true,
|
|
289
|
+
},
|
|
290
|
+
],
|
|
291
|
+
}]
|
|
292
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
|
|
293
|
+
|
|
258
294
|
class CropperDirective extends BaseValueAccessor {
|
|
259
295
|
constructor(el) {
|
|
260
296
|
super(el);
|
|
@@ -322,80 +358,171 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
322
358
|
}]
|
|
323
359
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
|
|
324
360
|
|
|
325
|
-
class
|
|
361
|
+
class FieldDirective extends BaseValueAccessor {
|
|
326
362
|
constructor(el) {
|
|
327
363
|
super(el);
|
|
328
364
|
}
|
|
329
365
|
writeValue(value) {
|
|
330
|
-
this.el.nativeElement.
|
|
366
|
+
this.el.nativeElement.value = this.lastValue =
|
|
367
|
+
value === null ? JSON.parse(value) : value;
|
|
368
|
+
}
|
|
369
|
+
}
|
|
370
|
+
FieldDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FieldDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
371
|
+
FieldDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.9", type: FieldDirective, selector: "p-field", host: { listeners: { "valueChange": "handleChangeEvent($event.detail)" } }, providers: [
|
|
372
|
+
{
|
|
373
|
+
provide: NG_VALUE_ACCESSOR,
|
|
374
|
+
useExisting: FieldDirective,
|
|
375
|
+
multi: true,
|
|
376
|
+
},
|
|
377
|
+
], usesInheritance: true, ngImport: i0 });
|
|
378
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: FieldDirective, decorators: [{
|
|
379
|
+
type: Directive,
|
|
380
|
+
args: [{
|
|
381
|
+
selector: 'p-field',
|
|
382
|
+
host: {
|
|
383
|
+
'(valueChange)': 'handleChangeEvent($event.detail)',
|
|
384
|
+
},
|
|
385
|
+
providers: [
|
|
386
|
+
{
|
|
387
|
+
provide: NG_VALUE_ACCESSOR,
|
|
388
|
+
useExisting: FieldDirective,
|
|
389
|
+
multi: true,
|
|
390
|
+
},
|
|
391
|
+
],
|
|
392
|
+
}]
|
|
393
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
|
|
394
|
+
|
|
395
|
+
class PaginationPagesDirective extends BaseValueAccessor {
|
|
396
|
+
constructor(el) {
|
|
397
|
+
super(el);
|
|
398
|
+
}
|
|
399
|
+
writeValue(value) {
|
|
400
|
+
this.el.nativeElement.page = this.lastValue = value == null ? 1 : value;
|
|
331
401
|
}
|
|
332
402
|
registerOnChange(fn) {
|
|
333
403
|
super.registerOnChange(value => fn(parseInt(value, 10)));
|
|
334
404
|
}
|
|
335
405
|
}
|
|
336
|
-
|
|
337
|
-
|
|
406
|
+
PaginationPagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PaginationPagesDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
407
|
+
PaginationPagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.9", type: PaginationPagesDirective, selector: "p-pagination-pages", host: { listeners: { "pageChange": "handleChangeEvent($event.detail)" } }, providers: [
|
|
338
408
|
{
|
|
339
409
|
provide: NG_VALUE_ACCESSOR,
|
|
340
|
-
useExisting:
|
|
410
|
+
useExisting: PaginationPagesDirective,
|
|
341
411
|
multi: true,
|
|
342
412
|
},
|
|
343
413
|
], usesInheritance: true, ngImport: i0 });
|
|
344
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type:
|
|
414
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PaginationPagesDirective, decorators: [{
|
|
345
415
|
type: Directive,
|
|
346
416
|
args: [{
|
|
347
417
|
/* tslint:disable-next-line:directive-selector */
|
|
348
|
-
selector: 'p-
|
|
418
|
+
selector: 'p-pagination-pages',
|
|
349
419
|
host: {
|
|
350
|
-
'(
|
|
420
|
+
'(pageChange)': 'handleChangeEvent($event.detail)',
|
|
351
421
|
},
|
|
352
422
|
providers: [
|
|
353
423
|
{
|
|
354
424
|
provide: NG_VALUE_ACCESSOR,
|
|
355
|
-
useExisting:
|
|
425
|
+
useExisting: PaginationPagesDirective,
|
|
356
426
|
multi: true,
|
|
357
427
|
},
|
|
358
428
|
],
|
|
359
429
|
}]
|
|
360
430
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
|
|
361
431
|
|
|
362
|
-
class
|
|
432
|
+
class PaginationSizeDirective extends BaseValueAccessor {
|
|
363
433
|
constructor(el) {
|
|
364
434
|
super(el);
|
|
365
435
|
}
|
|
366
436
|
writeValue(value) {
|
|
367
|
-
this.el.nativeElement.page = this.lastValue = value == null ?
|
|
437
|
+
this.el.nativeElement.page = this.lastValue = value == null ? 12 : value;
|
|
368
438
|
}
|
|
369
439
|
registerOnChange(fn) {
|
|
370
440
|
super.registerOnChange(value => fn(parseInt(value, 10)));
|
|
371
441
|
}
|
|
372
442
|
}
|
|
373
|
-
|
|
374
|
-
|
|
443
|
+
PaginationSizeDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PaginationSizeDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
444
|
+
PaginationSizeDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.9", type: PaginationSizeDirective, selector: "p-pagination-size", host: { listeners: { "sizeChange": "handleChangeEvent($event.detail)" } }, providers: [
|
|
375
445
|
{
|
|
376
446
|
provide: NG_VALUE_ACCESSOR,
|
|
377
|
-
useExisting:
|
|
447
|
+
useExisting: PaginationSizeDirective,
|
|
378
448
|
multi: true,
|
|
379
449
|
},
|
|
380
450
|
], usesInheritance: true, ngImport: i0 });
|
|
381
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type:
|
|
451
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PaginationSizeDirective, decorators: [{
|
|
382
452
|
type: Directive,
|
|
383
453
|
args: [{
|
|
384
454
|
/* tslint:disable-next-line:directive-selector */
|
|
385
|
-
selector: 'p-pagination',
|
|
455
|
+
selector: 'p-pagination-size',
|
|
386
456
|
host: {
|
|
387
|
-
'(
|
|
457
|
+
'(sizeChange)': 'handleChangeEvent($event.detail)',
|
|
388
458
|
},
|
|
389
459
|
providers: [
|
|
390
460
|
{
|
|
391
461
|
provide: NG_VALUE_ACCESSOR,
|
|
392
|
-
useExisting:
|
|
462
|
+
useExisting: PaginationSizeDirective,
|
|
393
463
|
multi: true,
|
|
394
464
|
},
|
|
395
465
|
],
|
|
396
466
|
}]
|
|
397
467
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
|
|
398
468
|
|
|
469
|
+
class RadioDirective extends BaseValueAccessor {
|
|
470
|
+
constructor(_control, el) {
|
|
471
|
+
super(el);
|
|
472
|
+
this._control = _control;
|
|
473
|
+
_control.valueAccessor = this;
|
|
474
|
+
}
|
|
475
|
+
ngOnInit() {
|
|
476
|
+
this._valueChanges = this._control
|
|
477
|
+
.control.valueChanges.pipe(filter(value => this._modelValue !== value))
|
|
478
|
+
.subscribe((value) => this.writeValue(value));
|
|
479
|
+
}
|
|
480
|
+
writeValue(value) {
|
|
481
|
+
const elValue = this._getValue();
|
|
482
|
+
this._modelValue = value;
|
|
483
|
+
this.el.nativeElement.checked =
|
|
484
|
+
this._modelValue === elValue;
|
|
485
|
+
}
|
|
486
|
+
handleChangeEvent() {
|
|
487
|
+
const elValue = this._getValue();
|
|
488
|
+
this._modelValue =
|
|
489
|
+
this._modelValue === elValue
|
|
490
|
+
? undefined
|
|
491
|
+
: elValue;
|
|
492
|
+
this.onChange(this._modelValue);
|
|
493
|
+
}
|
|
494
|
+
ngOnDestroy() {
|
|
495
|
+
if (this._valueChanges) {
|
|
496
|
+
this._valueChanges.unsubscribe();
|
|
497
|
+
}
|
|
498
|
+
}
|
|
499
|
+
_getValue() {
|
|
500
|
+
let value = this.el.nativeElement.value;
|
|
501
|
+
if (value === 'true') {
|
|
502
|
+
value = true;
|
|
503
|
+
}
|
|
504
|
+
if (value === 'false') {
|
|
505
|
+
value = false;
|
|
506
|
+
}
|
|
507
|
+
return value;
|
|
508
|
+
}
|
|
509
|
+
}
|
|
510
|
+
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 });
|
|
511
|
+
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 });
|
|
512
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: RadioDirective, decorators: [{
|
|
513
|
+
type: Directive,
|
|
514
|
+
args: [{
|
|
515
|
+
selector: 'p-radio',
|
|
516
|
+
host: {
|
|
517
|
+
'(checkedChange)': 'handleChangeEvent($event.detail)',
|
|
518
|
+
},
|
|
519
|
+
}]
|
|
520
|
+
}], ctorParameters: function () {
|
|
521
|
+
return [{ type: i1.NgControl, decorators: [{
|
|
522
|
+
type: Self
|
|
523
|
+
}] }, { type: i0.ElementRef }];
|
|
524
|
+
} });
|
|
525
|
+
|
|
399
526
|
class SelectDirective extends BaseValueAccessor {
|
|
400
527
|
constructor(el) {
|
|
401
528
|
super(el);
|
|
@@ -429,12 +556,50 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
429
556
|
}]
|
|
430
557
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
|
|
431
558
|
|
|
559
|
+
class ToggleDirective extends BaseValueAccessor {
|
|
560
|
+
constructor(el) {
|
|
561
|
+
super(el);
|
|
562
|
+
}
|
|
563
|
+
writeValue(value) {
|
|
564
|
+
this.el.nativeElement.checked = this.lastValue =
|
|
565
|
+
value === null ? false : value;
|
|
566
|
+
}
|
|
567
|
+
}
|
|
568
|
+
ToggleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ToggleDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
569
|
+
ToggleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.9", type: ToggleDirective, selector: "p-toggle", host: { listeners: { "checkedChange": "handleChangeEvent($event.detail)" } }, providers: [
|
|
570
|
+
{
|
|
571
|
+
provide: NG_VALUE_ACCESSOR,
|
|
572
|
+
useExisting: ToggleDirective,
|
|
573
|
+
multi: true,
|
|
574
|
+
},
|
|
575
|
+
], usesInheritance: true, ngImport: i0 });
|
|
576
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: ToggleDirective, decorators: [{
|
|
577
|
+
type: Directive,
|
|
578
|
+
args: [{
|
|
579
|
+
selector: 'p-toggle',
|
|
580
|
+
host: {
|
|
581
|
+
'(checkedChange)': 'handleChangeEvent($event.detail)',
|
|
582
|
+
},
|
|
583
|
+
providers: [
|
|
584
|
+
{
|
|
585
|
+
provide: NG_VALUE_ACCESSOR,
|
|
586
|
+
useExisting: ToggleDirective,
|
|
587
|
+
multi: true,
|
|
588
|
+
},
|
|
589
|
+
],
|
|
590
|
+
}]
|
|
591
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
|
|
592
|
+
|
|
432
593
|
const DIRECTIVES$1 = [
|
|
433
|
-
|
|
434
|
-
|
|
594
|
+
PaginationSizeDirective,
|
|
595
|
+
PaginationPagesDirective,
|
|
435
596
|
SelectDirective,
|
|
436
597
|
DatepickerDirective,
|
|
437
598
|
CropperDirective,
|
|
599
|
+
FieldDirective,
|
|
600
|
+
RadioDirective,
|
|
601
|
+
CheckboxDirective,
|
|
602
|
+
ToggleDirective,
|
|
438
603
|
];
|
|
439
604
|
|
|
440
605
|
/* eslint-disable */
|
|
@@ -449,6 +614,14 @@ const proxyInputs = (Cmp, inputs) => {
|
|
|
449
614
|
set(val) {
|
|
450
615
|
this.z.runOutsideAngular(() => (this.el[item] = val));
|
|
451
616
|
},
|
|
617
|
+
/**
|
|
618
|
+
* In the event that proxyInputs is called
|
|
619
|
+
* multiple times re-defining these inputs
|
|
620
|
+
* will cause an error to be thrown. As a result
|
|
621
|
+
* we set configurable: true to indicate these
|
|
622
|
+
* properties can be changed.
|
|
623
|
+
*/
|
|
624
|
+
configurable: true,
|
|
452
625
|
});
|
|
453
626
|
});
|
|
454
627
|
};
|
|
@@ -496,10 +669,10 @@ let PAccordion = class PAccordion {
|
|
|
496
669
|
}
|
|
497
670
|
};
|
|
498
671
|
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 });
|
|
499
|
-
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 });
|
|
672
|
+
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 });
|
|
500
673
|
PAccordion = __decorate([
|
|
501
674
|
ProxyCmp({
|
|
502
|
-
inputs: ['closeable', 'header', 'open', 'openable']
|
|
675
|
+
inputs: ['closeable', 'header', 'open', 'openable', 'variant']
|
|
503
676
|
})
|
|
504
677
|
], PAccordion);
|
|
505
678
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PAccordion, decorators: [{
|
|
@@ -509,7 +682,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
509
682
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
510
683
|
template: '<ng-content></ng-content>',
|
|
511
684
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
512
|
-
inputs: ['closeable', 'header', 'open', 'openable'],
|
|
685
|
+
inputs: ['closeable', 'header', 'open', 'openable', 'variant'],
|
|
513
686
|
}]
|
|
514
687
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
515
688
|
let PAttachment = class PAttachment {
|
|
@@ -517,14 +690,14 @@ let PAttachment = class PAttachment {
|
|
|
517
690
|
this.z = z;
|
|
518
691
|
c.detach();
|
|
519
692
|
this.el = r.nativeElement;
|
|
520
|
-
proxyOutputs(this, this.el, ['download', 'delete']);
|
|
693
|
+
proxyOutputs(this, this.el, ['upload', 'download', 'delete']);
|
|
521
694
|
}
|
|
522
695
|
};
|
|
523
696
|
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 });
|
|
524
|
-
PAttachment.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PAttachment, selector: "p-attachment", inputs: {
|
|
697
|
+
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 });
|
|
525
698
|
PAttachment = __decorate([
|
|
526
699
|
ProxyCmp({
|
|
527
|
-
inputs: ['
|
|
700
|
+
inputs: ['accept', 'cameraTooltip', 'deleteTooltip', 'downloadTooltip', 'enableCameraOnMobile', 'error', 'fileId', 'helper', 'label', 'loading', 'mode', 'placeholder', 'required', 'uploadTooltip', 'value']
|
|
528
701
|
})
|
|
529
702
|
], PAttachment);
|
|
530
703
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PAttachment, decorators: [{
|
|
@@ -534,7 +707,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
534
707
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
535
708
|
template: '<ng-content></ng-content>',
|
|
536
709
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
537
|
-
inputs: ['
|
|
710
|
+
inputs: ['accept', 'cameraTooltip', 'deleteTooltip', 'downloadTooltip', 'enableCameraOnMobile', 'error', 'fileId', 'helper', 'label', 'loading', 'mode', 'placeholder', 'required', 'uploadTooltip', 'value'],
|
|
538
711
|
}]
|
|
539
712
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
540
713
|
let PAvatar = class PAvatar {
|
|
@@ -545,10 +718,10 @@ let PAvatar = class PAvatar {
|
|
|
545
718
|
}
|
|
546
719
|
};
|
|
547
720
|
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 });
|
|
548
|
-
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 });
|
|
721
|
+
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 });
|
|
549
722
|
PAvatar = __decorate([
|
|
550
723
|
ProxyCmp({
|
|
551
|
-
inputs: ['defaultImage', 'letters', 'size', 'src']
|
|
724
|
+
inputs: ['defaultImage', 'letters', 'size', 'src', 'variant']
|
|
552
725
|
})
|
|
553
726
|
], PAvatar);
|
|
554
727
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PAvatar, decorators: [{
|
|
@@ -558,7 +731,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
558
731
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
559
732
|
template: '<ng-content></ng-content>',
|
|
560
733
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
561
|
-
inputs: ['defaultImage', 'letters', 'size', 'src'],
|
|
734
|
+
inputs: ['defaultImage', 'letters', 'size', 'src', 'variant'],
|
|
562
735
|
}]
|
|
563
736
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
564
737
|
let PAvatarGroup = class PAvatarGroup {
|
|
@@ -641,10 +814,10 @@ let PButton = class PButton {
|
|
|
641
814
|
}
|
|
642
815
|
};
|
|
643
816
|
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 });
|
|
644
|
-
PButton.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PButton, selector: "p-button", inputs: { active: "active", as: "as", buttonGroupPosition: "buttonGroupPosition", chevron: "chevron", chevronPosition: "chevronPosition", class: "class", disabled: "disabled", href: "href", icon: "icon", iconFlip: "iconFlip", iconOnly: "iconOnly", iconPosition: "iconPosition", iconRotate: "iconRotate", inheritText: "inheritText", loading: "loading", size: "size", target: "target", type: "type", underline: "underline", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
817
|
+
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 });
|
|
645
818
|
PButton = __decorate([
|
|
646
819
|
ProxyCmp({
|
|
647
|
-
inputs: ['active', 'as', 'buttonGroupPosition', 'chevron', 'chevronPosition', 'class', 'disabled', 'href', 'icon', 'iconFlip', 'iconOnly', 'iconPosition', 'iconRotate', 'inheritText', 'loading', 'size', 'target', 'type', 'underline', 'variant']
|
|
820
|
+
inputs: ['active', 'as', 'buttonGroupPosition', 'chevron', 'chevronPosition', 'class', 'disabled', 'error', 'href', 'icon', 'iconFlip', 'iconOnly', 'iconPosition', 'iconRotate', 'inheritText', 'label', 'loading', 'size', 'target', 'type', 'underline', 'variant']
|
|
648
821
|
})
|
|
649
822
|
], PButton);
|
|
650
823
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PButton, decorators: [{
|
|
@@ -654,7 +827,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
654
827
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
655
828
|
template: '<ng-content></ng-content>',
|
|
656
829
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
657
|
-
inputs: ['active', 'as', 'buttonGroupPosition', 'chevron', 'chevronPosition', 'class', 'disabled', 'href', 'icon', 'iconFlip', 'iconOnly', 'iconPosition', 'iconRotate', 'inheritText', 'loading', 'size', 'target', 'type', 'underline', 'variant'],
|
|
830
|
+
inputs: ['active', 'as', 'buttonGroupPosition', 'chevron', 'chevronPosition', 'class', 'disabled', 'error', 'href', 'icon', 'iconFlip', 'iconOnly', 'iconPosition', 'iconRotate', 'inheritText', 'label', 'loading', 'size', 'target', 'type', 'underline', 'variant'],
|
|
658
831
|
}]
|
|
659
832
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
660
833
|
let PButtonGroup = class PButtonGroup {
|
|
@@ -690,10 +863,10 @@ let PCalendar = class PCalendar {
|
|
|
690
863
|
}
|
|
691
864
|
};
|
|
692
865
|
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 });
|
|
693
|
-
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 });
|
|
866
|
+
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 });
|
|
694
867
|
PCalendar = __decorate([
|
|
695
868
|
ProxyCmp({
|
|
696
|
-
inputs: ['disableWeekends', 'disabledDates', 'maxDate', 'minDate', 'mode', 'preselectToday', 'value', 'variant']
|
|
869
|
+
inputs: ['disableWeekends', 'disabledDates', 'enableToday', 'maxDate', 'minDate', 'mode', 'preselectToday', 'todayText', 'value', 'variant']
|
|
697
870
|
})
|
|
698
871
|
], PCalendar);
|
|
699
872
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PCalendar, decorators: [{
|
|
@@ -703,7 +876,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
703
876
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
704
877
|
template: '<ng-content></ng-content>',
|
|
705
878
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
706
|
-
inputs: ['disableWeekends', 'disabledDates', 'maxDate', 'minDate', 'mode', 'preselectToday', 'value', 'variant'],
|
|
879
|
+
inputs: ['disableWeekends', 'disabledDates', 'enableToday', 'maxDate', 'minDate', 'mode', 'preselectToday', 'todayText', 'value', 'variant'],
|
|
707
880
|
}]
|
|
708
881
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
709
882
|
let PCardBody = class PCardBody {
|
|
@@ -714,11 +887,9 @@ let PCardBody = class PCardBody {
|
|
|
714
887
|
}
|
|
715
888
|
};
|
|
716
889
|
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 });
|
|
717
|
-
PCardBody.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PCardBody, selector: "p-card-body",
|
|
890
|
+
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 });
|
|
718
891
|
PCardBody = __decorate([
|
|
719
|
-
ProxyCmp({
|
|
720
|
-
inputs: ['inheritText']
|
|
721
|
-
})
|
|
892
|
+
ProxyCmp({})
|
|
722
893
|
], PCardBody);
|
|
723
894
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PCardBody, decorators: [{
|
|
724
895
|
type: Component,
|
|
@@ -727,7 +898,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
727
898
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
728
899
|
template: '<ng-content></ng-content>',
|
|
729
900
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
730
|
-
inputs: [
|
|
901
|
+
inputs: [],
|
|
731
902
|
}]
|
|
732
903
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
733
904
|
let PCardContainer = class PCardContainer {
|
|
@@ -738,10 +909,10 @@ let PCardContainer = class PCardContainer {
|
|
|
738
909
|
}
|
|
739
910
|
};
|
|
740
911
|
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 });
|
|
741
|
-
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 });
|
|
912
|
+
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 });
|
|
742
913
|
PCardContainer = __decorate([
|
|
743
914
|
ProxyCmp({
|
|
744
|
-
inputs: ['hoverable', 'shadow']
|
|
915
|
+
inputs: ['active', 'bgClass', 'border', 'hoverable', 'shadow', 'variant']
|
|
745
916
|
})
|
|
746
917
|
], PCardContainer);
|
|
747
918
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PCardContainer, decorators: [{
|
|
@@ -751,7 +922,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
751
922
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
752
923
|
template: '<ng-content></ng-content>',
|
|
753
924
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
754
|
-
inputs: ['hoverable', 'shadow'],
|
|
925
|
+
inputs: ['active', 'bgClass', 'border', 'hoverable', 'shadow', 'variant'],
|
|
755
926
|
}]
|
|
756
927
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
757
928
|
let PCardHeader = class PCardHeader {
|
|
@@ -762,10 +933,10 @@ let PCardHeader = class PCardHeader {
|
|
|
762
933
|
}
|
|
763
934
|
};
|
|
764
935
|
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 });
|
|
765
|
-
PCardHeader.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PCardHeader, selector: "p-card-header", inputs: {
|
|
936
|
+
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 });
|
|
766
937
|
PCardHeader = __decorate([
|
|
767
938
|
ProxyCmp({
|
|
768
|
-
inputs: ['
|
|
939
|
+
inputs: ['divider', 'header', 'icon', 'iconFlip', 'iconRotate', 'variant']
|
|
769
940
|
})
|
|
770
941
|
], PCardHeader);
|
|
771
942
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PCardHeader, decorators: [{
|
|
@@ -775,55 +946,56 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
775
946
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
776
947
|
template: '<ng-content></ng-content>',
|
|
777
948
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
778
|
-
inputs: ['
|
|
949
|
+
inputs: ['divider', 'header', 'icon', 'iconFlip', 'iconRotate', 'variant'],
|
|
779
950
|
}]
|
|
780
951
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
781
|
-
let
|
|
952
|
+
let PCheckbox = class PCheckbox {
|
|
782
953
|
constructor(c, r, z) {
|
|
783
954
|
this.z = z;
|
|
784
955
|
c.detach();
|
|
785
956
|
this.el = r.nativeElement;
|
|
957
|
+
proxyOutputs(this, this.el, ['checkedChange', 'indeterminateChange']);
|
|
786
958
|
}
|
|
787
959
|
};
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
960
|
+
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 });
|
|
961
|
+
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 });
|
|
962
|
+
PCheckbox = __decorate([
|
|
791
963
|
ProxyCmp({
|
|
792
|
-
inputs: ['
|
|
964
|
+
inputs: ['checked', 'disabled', 'id', 'indeterminate', 'name', 'required']
|
|
793
965
|
})
|
|
794
|
-
],
|
|
795
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type:
|
|
966
|
+
], PCheckbox);
|
|
967
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PCheckbox, decorators: [{
|
|
796
968
|
type: Component,
|
|
797
969
|
args: [{
|
|
798
|
-
selector: 'p-
|
|
970
|
+
selector: 'p-checkbox',
|
|
799
971
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
800
972
|
template: '<ng-content></ng-content>',
|
|
801
973
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
802
|
-
inputs: ['
|
|
974
|
+
inputs: ['checked', 'disabled', 'id', 'indeterminate', 'name', 'required'],
|
|
803
975
|
}]
|
|
804
976
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
805
|
-
let
|
|
977
|
+
let PContentSlider = class PContentSlider {
|
|
806
978
|
constructor(c, r, z) {
|
|
807
979
|
this.z = z;
|
|
808
980
|
c.detach();
|
|
809
981
|
this.el = r.nativeElement;
|
|
810
982
|
}
|
|
811
983
|
};
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
984
|
+
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 });
|
|
985
|
+
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 });
|
|
986
|
+
PContentSlider = __decorate([
|
|
815
987
|
ProxyCmp({
|
|
816
|
-
inputs: ['
|
|
988
|
+
inputs: ['disableAutoCenter', 'disableDrag', 'disableIndicatorClick', 'hideMobileIndicator']
|
|
817
989
|
})
|
|
818
|
-
],
|
|
819
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type:
|
|
990
|
+
], PContentSlider);
|
|
991
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PContentSlider, decorators: [{
|
|
820
992
|
type: Component,
|
|
821
993
|
args: [{
|
|
822
|
-
selector: 'p-
|
|
994
|
+
selector: 'p-content-slider',
|
|
823
995
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
824
996
|
template: '<ng-content></ng-content>',
|
|
825
997
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
826
|
-
inputs: ['
|
|
998
|
+
inputs: ['disableAutoCenter', 'disableDrag', 'disableIndicatorClick', 'hideMobileIndicator'],
|
|
827
999
|
}]
|
|
828
1000
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
829
1001
|
let PCropper = class PCropper {
|
|
@@ -835,10 +1007,10 @@ let PCropper = class PCropper {
|
|
|
835
1007
|
}
|
|
836
1008
|
};
|
|
837
1009
|
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 });
|
|
838
|
-
PCropper.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PCropper, selector: "p-cropper", inputs: { returnType: "returnType", value: "value"
|
|
1010
|
+
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 });
|
|
839
1011
|
PCropper = __decorate([
|
|
840
1012
|
ProxyCmp({
|
|
841
|
-
inputs: ['returnType', 'value'
|
|
1013
|
+
inputs: ['returnType', 'value']
|
|
842
1014
|
})
|
|
843
1015
|
], PCropper);
|
|
844
1016
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PCropper, decorators: [{
|
|
@@ -848,7 +1020,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
848
1020
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
849
1021
|
template: '<ng-content></ng-content>',
|
|
850
1022
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
851
|
-
inputs: ['returnType', 'value'
|
|
1023
|
+
inputs: ['returnType', 'value'],
|
|
852
1024
|
}]
|
|
853
1025
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
854
1026
|
let PDatepicker = class PDatepicker {
|
|
@@ -860,10 +1032,10 @@ let PDatepicker = class PDatepicker {
|
|
|
860
1032
|
}
|
|
861
1033
|
};
|
|
862
1034
|
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 });
|
|
863
|
-
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 });
|
|
1035
|
+
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 });
|
|
864
1036
|
PDatepicker = __decorate([
|
|
865
1037
|
ProxyCmp({
|
|
866
|
-
inputs: ['disableWeekends', 'disabled', 'disabledDates', 'error', 'format', 'helper', 'hideIconWhenFilled', 'label', 'maxDate', 'minDate', 'mode', 'placeholder', 'placement', 'prefix', 'preselectToday', 'required', 'size', 'strategy', 'value']
|
|
1038
|
+
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']
|
|
867
1039
|
})
|
|
868
1040
|
], PDatepicker);
|
|
869
1041
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PDatepicker, decorators: [{
|
|
@@ -873,7 +1045,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
873
1045
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
874
1046
|
template: '<ng-content></ng-content>',
|
|
875
1047
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
876
|
-
inputs: ['disableWeekends', 'disabled', 'disabledDates', 'error', 'format', 'helper', 'hideIconWhenFilled', 'label', 'maxDate', 'minDate', 'mode', 'placeholder', 'placement', 'prefix', 'preselectToday', 'required', 'size', 'strategy', 'value'],
|
|
1048
|
+
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'],
|
|
877
1049
|
}]
|
|
878
1050
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
879
1051
|
let PDivider = class PDivider {
|
|
@@ -884,10 +1056,10 @@ let PDivider = class PDivider {
|
|
|
884
1056
|
}
|
|
885
1057
|
};
|
|
886
1058
|
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 });
|
|
887
|
-
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 });
|
|
1059
|
+
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 });
|
|
888
1060
|
PDivider = __decorate([
|
|
889
1061
|
ProxyCmp({
|
|
890
|
-
inputs: ['variant']
|
|
1062
|
+
inputs: ['alignContent', 'variant']
|
|
891
1063
|
})
|
|
892
1064
|
], PDivider);
|
|
893
1065
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PDivider, decorators: [{
|
|
@@ -897,7 +1069,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
897
1069
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
898
1070
|
template: '<ng-content></ng-content>',
|
|
899
1071
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
900
|
-
inputs: ['variant'],
|
|
1072
|
+
inputs: ['alignContent', 'variant'],
|
|
901
1073
|
}]
|
|
902
1074
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
903
1075
|
let PDrawer = class PDrawer {
|
|
@@ -933,11 +1105,9 @@ let PDrawerBody = class PDrawerBody {
|
|
|
933
1105
|
}
|
|
934
1106
|
};
|
|
935
1107
|
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 });
|
|
936
|
-
PDrawerBody.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PDrawerBody, selector: "p-drawer-body",
|
|
1108
|
+
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 });
|
|
937
1109
|
PDrawerBody = __decorate([
|
|
938
|
-
ProxyCmp({
|
|
939
|
-
inputs: ['variant']
|
|
940
|
-
})
|
|
1110
|
+
ProxyCmp({})
|
|
941
1111
|
], PDrawerBody);
|
|
942
1112
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PDrawerBody, decorators: [{
|
|
943
1113
|
type: Component,
|
|
@@ -946,7 +1116,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
946
1116
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
947
1117
|
template: '<ng-content></ng-content>',
|
|
948
1118
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
949
|
-
inputs: [
|
|
1119
|
+
inputs: [],
|
|
950
1120
|
}]
|
|
951
1121
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
952
1122
|
let PDrawerContainer = class PDrawerContainer {
|
|
@@ -1007,10 +1177,10 @@ let PDropdown = class PDropdown {
|
|
|
1007
1177
|
}
|
|
1008
1178
|
};
|
|
1009
1179
|
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 });
|
|
1010
|
-
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",
|
|
1180
|
+
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 });
|
|
1011
1181
|
PDropdown = __decorate([
|
|
1012
1182
|
ProxyCmp({
|
|
1013
|
-
inputs: ['allowOverflow', 'applyChevron', 'applyFullWidth', 'applyMaxWidth', '
|
|
1183
|
+
inputs: ['allowOverflow', 'applyChevron', 'applyFullWidth', 'applyMaxWidth', 'chevronDirection', 'chevronPosition', 'disableTriggerClick', 'insideClick', 'offset', 'placement', 'scrollable', 'show', 'strategy', 'variant']
|
|
1014
1184
|
})
|
|
1015
1185
|
], PDropdown);
|
|
1016
1186
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PDropdown, decorators: [{
|
|
@@ -1020,7 +1190,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
1020
1190
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1021
1191
|
template: '<ng-content></ng-content>',
|
|
1022
1192
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1023
|
-
inputs: ['allowOverflow', 'applyChevron', 'applyFullWidth', 'applyMaxWidth', '
|
|
1193
|
+
inputs: ['allowOverflow', 'applyChevron', 'applyFullWidth', 'applyMaxWidth', 'chevronDirection', 'chevronPosition', 'disableTriggerClick', 'insideClick', 'offset', 'placement', 'scrollable', 'show', 'strategy', 'variant'],
|
|
1024
1194
|
}]
|
|
1025
1195
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1026
1196
|
let PDropdownMenuContainer = class PDropdownMenuContainer {
|
|
@@ -1031,10 +1201,10 @@ let PDropdownMenuContainer = class PDropdownMenuContainer {
|
|
|
1031
1201
|
}
|
|
1032
1202
|
};
|
|
1033
1203
|
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 });
|
|
1034
|
-
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 });
|
|
1204
|
+
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 });
|
|
1035
1205
|
PDropdownMenuContainer = __decorate([
|
|
1036
1206
|
ProxyCmp({
|
|
1037
|
-
inputs: ['allowOverflow', 'class', 'fullWidth', 'maxWidth', 'scrollable']
|
|
1207
|
+
inputs: ['allowOverflow', 'class', 'fullWidth', 'maxWidth', 'scrollable', 'variant']
|
|
1038
1208
|
})
|
|
1039
1209
|
], PDropdownMenuContainer);
|
|
1040
1210
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PDropdownMenuContainer, decorators: [{
|
|
@@ -1044,7 +1214,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
1044
1214
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1045
1215
|
template: '<ng-content></ng-content>',
|
|
1046
1216
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1047
|
-
inputs: ['allowOverflow', 'class', 'fullWidth', 'maxWidth', 'scrollable'],
|
|
1217
|
+
inputs: ['allowOverflow', 'class', 'fullWidth', 'maxWidth', 'scrollable', 'variant'],
|
|
1048
1218
|
}]
|
|
1049
1219
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1050
1220
|
let PDropdownMenuItem = class PDropdownMenuItem {
|
|
@@ -1055,10 +1225,10 @@ let PDropdownMenuItem = class PDropdownMenuItem {
|
|
|
1055
1225
|
}
|
|
1056
1226
|
};
|
|
1057
1227
|
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 });
|
|
1058
|
-
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", useContainer: "useContainer", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1228
|
+
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 });
|
|
1059
1229
|
PDropdownMenuItem = __decorate([
|
|
1060
1230
|
ProxyCmp({
|
|
1061
|
-
inputs: ['active', 'checkbox', 'disabled', 'enableHover', 'icon', 'useContainer', 'variant']
|
|
1231
|
+
inputs: ['active', 'checkbox', 'disabled', 'enableHover', 'icon', 'iconWave', 'useContainer', 'variant']
|
|
1062
1232
|
})
|
|
1063
1233
|
], PDropdownMenuItem);
|
|
1064
1234
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PDropdownMenuItem, decorators: [{
|
|
@@ -1068,7 +1238,32 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
1068
1238
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1069
1239
|
template: '<ng-content></ng-content>',
|
|
1070
1240
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1071
|
-
inputs: ['active', 'checkbox', 'disabled', 'enableHover', 'icon', 'useContainer', 'variant'],
|
|
1241
|
+
inputs: ['active', 'checkbox', 'disabled', 'enableHover', 'icon', 'iconWave', 'useContainer', 'variant'],
|
|
1242
|
+
}]
|
|
1243
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1244
|
+
let PEmptyState = class PEmptyState {
|
|
1245
|
+
constructor(c, r, z) {
|
|
1246
|
+
this.z = z;
|
|
1247
|
+
c.detach();
|
|
1248
|
+
this.el = r.nativeElement;
|
|
1249
|
+
proxyOutputs(this, this.el, ['action']);
|
|
1250
|
+
}
|
|
1251
|
+
};
|
|
1252
|
+
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 });
|
|
1253
|
+
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 });
|
|
1254
|
+
PEmptyState = __decorate([
|
|
1255
|
+
ProxyCmp({
|
|
1256
|
+
inputs: ['actionIcon', 'actionIconPosition', 'actionLoading', 'actionText', 'actionVariant', 'content', 'enableAction', 'header', 'illustration']
|
|
1257
|
+
})
|
|
1258
|
+
], PEmptyState);
|
|
1259
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PEmptyState, decorators: [{
|
|
1260
|
+
type: Component,
|
|
1261
|
+
args: [{
|
|
1262
|
+
selector: 'p-empty-state',
|
|
1263
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1264
|
+
template: '<ng-content></ng-content>',
|
|
1265
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1266
|
+
inputs: ['actionIcon', 'actionIconPosition', 'actionLoading', 'actionText', 'actionVariant', 'content', 'enableAction', 'header', 'illustration'],
|
|
1072
1267
|
}]
|
|
1073
1268
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1074
1269
|
let PField = class PField {
|
|
@@ -1080,10 +1275,10 @@ let PField = class PField {
|
|
|
1080
1275
|
}
|
|
1081
1276
|
};
|
|
1082
1277
|
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 });
|
|
1083
|
-
PField.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PField, selector: "p-field", inputs: { disabled: "disabled", error: "error", errorPlacement: "errorPlacement", focusMethod: "focusMethod", focused: "focused", forceShowTooltip: "forceShowTooltip", helper: "helper", icon: "icon", iconFlip: "iconFlip", iconPosition: "iconPosition", iconRotate: "iconRotate", label: "label", optionalTemplate: "optionalTemplate", placeholder: "placeholder", prefix: "prefix", properties: "properties", required: "required", selectAllOnFocus: "selectAllOnFocus", size: "size", suffix: "suffix", type: "type", value: "value" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1278
|
+
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 });
|
|
1084
1279
|
PField = __decorate([
|
|
1085
1280
|
ProxyCmp({
|
|
1086
|
-
inputs: ['disabled', 'error', 'errorPlacement', 'focusMethod', 'focused', 'forceShowTooltip', 'helper', 'icon', 'iconFlip', 'iconPosition', 'iconRotate', 'label', 'optionalTemplate', 'placeholder', 'prefix', 'properties', 'required', 'selectAllOnFocus', 'size', 'suffix', 'type', 'value']
|
|
1281
|
+
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']
|
|
1087
1282
|
})
|
|
1088
1283
|
], PField);
|
|
1089
1284
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PField, decorators: [{
|
|
@@ -1093,7 +1288,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
1093
1288
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1094
1289
|
template: '<ng-content></ng-content>',
|
|
1095
1290
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1096
|
-
inputs: ['disabled', 'error', 'errorPlacement', 'focusMethod', 'focused', 'forceShowTooltip', 'helper', 'icon', 'iconFlip', 'iconPosition', 'iconRotate', 'label', 'optionalTemplate', 'placeholder', 'prefix', 'properties', 'required', 'selectAllOnFocus', 'size', 'suffix', 'type', 'value'],
|
|
1291
|
+
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'],
|
|
1097
1292
|
}]
|
|
1098
1293
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1099
1294
|
let PFieldContainer = class PFieldContainer {
|
|
@@ -1105,10 +1300,10 @@ let PFieldContainer = class PFieldContainer {
|
|
|
1105
1300
|
}
|
|
1106
1301
|
};
|
|
1107
1302
|
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 });
|
|
1108
|
-
PFieldContainer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PFieldContainer, selector: "p-field-container", inputs: { error: "error", errorPlacement: "errorPlacement", forceShowTooltip: "forceShowTooltip", helper: "helper", label: "label", optionalTemplate: "optionalTemplate", required: "required" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1303
|
+
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 });
|
|
1109
1304
|
PFieldContainer = __decorate([
|
|
1110
1305
|
ProxyCmp({
|
|
1111
|
-
inputs: ['error', 'errorPlacement', 'forceShowTooltip', 'helper', 'label', 'optionalTemplate', 'required']
|
|
1306
|
+
inputs: ['align', 'error', 'errorPlacement', 'forceShowTooltip', 'helper', 'id', 'label', 'loading', 'loadingSize', 'optionalTemplate', 'required', 'showOptional', 'variant']
|
|
1112
1307
|
})
|
|
1113
1308
|
], PFieldContainer);
|
|
1114
1309
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PFieldContainer, decorators: [{
|
|
@@ -1118,7 +1313,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
1118
1313
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1119
1314
|
template: '<ng-content></ng-content>',
|
|
1120
1315
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1121
|
-
inputs: ['error', 'errorPlacement', 'forceShowTooltip', 'helper', 'label', 'optionalTemplate', 'required'],
|
|
1316
|
+
inputs: ['align', 'error', 'errorPlacement', 'forceShowTooltip', 'helper', 'id', 'label', 'loading', 'loadingSize', 'optionalTemplate', 'required', 'showOptional', 'variant'],
|
|
1122
1317
|
}]
|
|
1123
1318
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1124
1319
|
let PFloatingMenuContainer = class PFloatingMenuContainer {
|
|
@@ -1126,13 +1321,14 @@ let PFloatingMenuContainer = class PFloatingMenuContainer {
|
|
|
1126
1321
|
this.z = z;
|
|
1127
1322
|
c.detach();
|
|
1128
1323
|
this.el = r.nativeElement;
|
|
1324
|
+
proxyOutputs(this, this.el, ['close']);
|
|
1129
1325
|
}
|
|
1130
1326
|
};
|
|
1131
1327
|
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 });
|
|
1132
|
-
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 });
|
|
1328
|
+
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 });
|
|
1133
1329
|
PFloatingMenuContainer = __decorate([
|
|
1134
1330
|
ProxyCmp({
|
|
1135
|
-
inputs: ['usedInTable']
|
|
1331
|
+
inputs: ['amount', 'amountSelectedTemplate', 'enableAmountSelected', 'enableClose', 'usedInTable']
|
|
1136
1332
|
})
|
|
1137
1333
|
], PFloatingMenuContainer);
|
|
1138
1334
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PFloatingMenuContainer, decorators: [{
|
|
@@ -1142,7 +1338,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
1142
1338
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1143
1339
|
template: '<ng-content></ng-content>',
|
|
1144
1340
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1145
|
-
inputs: ['usedInTable'],
|
|
1341
|
+
inputs: ['amount', 'amountSelectedTemplate', 'enableAmountSelected', 'enableClose', 'usedInTable'],
|
|
1146
1342
|
}]
|
|
1147
1343
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1148
1344
|
let PFloatingMenuItem = class PFloatingMenuItem {
|
|
@@ -1153,10 +1349,10 @@ let PFloatingMenuItem = class PFloatingMenuItem {
|
|
|
1153
1349
|
}
|
|
1154
1350
|
};
|
|
1155
1351
|
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 });
|
|
1156
|
-
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 });
|
|
1352
|
+
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 });
|
|
1157
1353
|
PFloatingMenuItem = __decorate([
|
|
1158
1354
|
ProxyCmp({
|
|
1159
|
-
inputs: ['disabled', 'hover']
|
|
1355
|
+
inputs: ['disabled', 'hover', 'icon', 'iconFlip', 'iconPosition', 'iconRotate', 'loading']
|
|
1160
1356
|
})
|
|
1161
1357
|
], PFloatingMenuItem);
|
|
1162
1358
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PFloatingMenuItem, decorators: [{
|
|
@@ -1166,7 +1362,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
1166
1362
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1167
1363
|
template: '<ng-content></ng-content>',
|
|
1168
1364
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1169
|
-
inputs: ['disabled', 'hover'],
|
|
1365
|
+
inputs: ['disabled', 'hover', 'icon', 'iconFlip', 'iconPosition', 'iconRotate', 'loading'],
|
|
1170
1366
|
}]
|
|
1171
1367
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1172
1368
|
let PHelper = class PHelper {
|
|
@@ -1241,48 +1437,48 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
1241
1437
|
inputs: ['flip', 'rotate', 'size', 'variant'],
|
|
1242
1438
|
}]
|
|
1243
1439
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1244
|
-
let
|
|
1440
|
+
let PIllustration = class PIllustration {
|
|
1245
1441
|
constructor(c, r, z) {
|
|
1246
1442
|
this.z = z;
|
|
1247
1443
|
c.detach();
|
|
1248
1444
|
this.el = r.nativeElement;
|
|
1249
1445
|
}
|
|
1250
1446
|
};
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1447
|
+
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 });
|
|
1448
|
+
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 });
|
|
1449
|
+
PIllustration = __decorate([
|
|
1254
1450
|
ProxyCmp({
|
|
1255
|
-
inputs: ['
|
|
1451
|
+
inputs: ['variant']
|
|
1256
1452
|
})
|
|
1257
|
-
],
|
|
1258
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type:
|
|
1453
|
+
], PIllustration);
|
|
1454
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PIllustration, decorators: [{
|
|
1259
1455
|
type: Component,
|
|
1260
1456
|
args: [{
|
|
1261
|
-
selector: 'p-
|
|
1457
|
+
selector: 'p-illustration',
|
|
1262
1458
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1263
1459
|
template: '<ng-content></ng-content>',
|
|
1264
1460
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1265
|
-
inputs: ['
|
|
1461
|
+
inputs: ['variant'],
|
|
1266
1462
|
}]
|
|
1267
1463
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1268
|
-
let
|
|
1464
|
+
let PIllustrationDeprecated = class PIllustrationDeprecated {
|
|
1269
1465
|
constructor(c, r, z) {
|
|
1270
1466
|
this.z = z;
|
|
1271
1467
|
c.detach();
|
|
1272
1468
|
this.el = r.nativeElement;
|
|
1273
1469
|
}
|
|
1274
1470
|
};
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1471
|
+
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 });
|
|
1472
|
+
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 });
|
|
1473
|
+
PIllustrationDeprecated = __decorate([
|
|
1278
1474
|
ProxyCmp({
|
|
1279
1475
|
inputs: ['variant']
|
|
1280
1476
|
})
|
|
1281
|
-
],
|
|
1282
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type:
|
|
1477
|
+
], PIllustrationDeprecated);
|
|
1478
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PIllustrationDeprecated, decorators: [{
|
|
1283
1479
|
type: Component,
|
|
1284
1480
|
args: [{
|
|
1285
|
-
selector: 'p-illustration',
|
|
1481
|
+
selector: 'p-illustration-deprecated',
|
|
1286
1482
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1287
1483
|
template: '<ng-content></ng-content>',
|
|
1288
1484
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
@@ -1314,30 +1510,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
1314
1510
|
inputs: ['closeable', 'content', 'header', 'variant'],
|
|
1315
1511
|
}]
|
|
1316
1512
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1317
|
-
let PInputError = class PInputError {
|
|
1318
|
-
constructor(c, r, z) {
|
|
1319
|
-
this.z = z;
|
|
1320
|
-
c.detach();
|
|
1321
|
-
this.el = r.nativeElement;
|
|
1322
|
-
}
|
|
1323
|
-
};
|
|
1324
|
-
PInputError.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PInputError, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1325
|
-
PInputError.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PInputError, selector: "p-input-error", inputs: { error: "error", forceShowTooltip: "forceShowTooltip" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1326
|
-
PInputError = __decorate([
|
|
1327
|
-
ProxyCmp({
|
|
1328
|
-
inputs: ['error', 'forceShowTooltip']
|
|
1329
|
-
})
|
|
1330
|
-
], PInputError);
|
|
1331
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PInputError, decorators: [{
|
|
1332
|
-
type: Component,
|
|
1333
|
-
args: [{
|
|
1334
|
-
selector: 'p-input-error',
|
|
1335
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1336
|
-
template: '<ng-content></ng-content>',
|
|
1337
|
-
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1338
|
-
inputs: ['error', 'forceShowTooltip'],
|
|
1339
|
-
}]
|
|
1340
|
-
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1341
1513
|
let PLabel = class PLabel {
|
|
1342
1514
|
constructor(c, r, z) {
|
|
1343
1515
|
this.z = z;
|
|
@@ -1346,10 +1518,10 @@ let PLabel = class PLabel {
|
|
|
1346
1518
|
}
|
|
1347
1519
|
};
|
|
1348
1520
|
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 });
|
|
1349
|
-
PLabel.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PLabel, selector: "p-label", inputs: {
|
|
1521
|
+
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 });
|
|
1350
1522
|
PLabel = __decorate([
|
|
1351
1523
|
ProxyCmp({
|
|
1352
|
-
inputs: ['
|
|
1524
|
+
inputs: ['icon', 'iconFlip', 'iconOnly', 'iconRotate', 'keepMobileContent', 'variant']
|
|
1353
1525
|
})
|
|
1354
1526
|
], PLabel);
|
|
1355
1527
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PLabel, decorators: [{
|
|
@@ -1359,7 +1531,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
1359
1531
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1360
1532
|
template: '<ng-content></ng-content>',
|
|
1361
1533
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1362
|
-
inputs: ['
|
|
1534
|
+
inputs: ['icon', 'iconFlip', 'iconOnly', 'iconRotate', 'keepMobileContent', 'variant'],
|
|
1363
1535
|
}]
|
|
1364
1536
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1365
1537
|
let PLayout = class PLayout {
|
|
@@ -1367,6 +1539,7 @@ let PLayout = class PLayout {
|
|
|
1367
1539
|
this.z = z;
|
|
1368
1540
|
c.detach();
|
|
1369
1541
|
this.el = r.nativeElement;
|
|
1542
|
+
proxyOutputs(this, this.el, ['scroll']);
|
|
1370
1543
|
}
|
|
1371
1544
|
};
|
|
1372
1545
|
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 });
|
|
@@ -1386,6 +1559,74 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
1386
1559
|
inputs: ['variant'],
|
|
1387
1560
|
}]
|
|
1388
1561
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1562
|
+
let PListing = class PListing {
|
|
1563
|
+
constructor(c, r, z) {
|
|
1564
|
+
this.z = z;
|
|
1565
|
+
c.detach();
|
|
1566
|
+
this.el = r.nativeElement;
|
|
1567
|
+
}
|
|
1568
|
+
};
|
|
1569
|
+
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 });
|
|
1570
|
+
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 });
|
|
1571
|
+
PListing = __decorate([
|
|
1572
|
+
ProxyCmp({})
|
|
1573
|
+
], PListing);
|
|
1574
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PListing, decorators: [{
|
|
1575
|
+
type: Component,
|
|
1576
|
+
args: [{
|
|
1577
|
+
selector: 'p-listing',
|
|
1578
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1579
|
+
template: '<ng-content></ng-content>',
|
|
1580
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1581
|
+
inputs: [],
|
|
1582
|
+
}]
|
|
1583
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1584
|
+
let PListingItem = class PListingItem {
|
|
1585
|
+
constructor(c, r, z) {
|
|
1586
|
+
this.z = z;
|
|
1587
|
+
c.detach();
|
|
1588
|
+
this.el = r.nativeElement;
|
|
1589
|
+
}
|
|
1590
|
+
};
|
|
1591
|
+
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 });
|
|
1592
|
+
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 });
|
|
1593
|
+
PListingItem = __decorate([
|
|
1594
|
+
ProxyCmp({
|
|
1595
|
+
inputs: ['icon']
|
|
1596
|
+
})
|
|
1597
|
+
], PListingItem);
|
|
1598
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PListingItem, decorators: [{
|
|
1599
|
+
type: Component,
|
|
1600
|
+
args: [{
|
|
1601
|
+
selector: 'p-listing-item',
|
|
1602
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1603
|
+
template: '<ng-content></ng-content>',
|
|
1604
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1605
|
+
inputs: ['icon'],
|
|
1606
|
+
}]
|
|
1607
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1608
|
+
let PListingLine = class PListingLine {
|
|
1609
|
+
constructor(c, r, z) {
|
|
1610
|
+
this.z = z;
|
|
1611
|
+
c.detach();
|
|
1612
|
+
this.el = r.nativeElement;
|
|
1613
|
+
}
|
|
1614
|
+
};
|
|
1615
|
+
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 });
|
|
1616
|
+
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 });
|
|
1617
|
+
PListingLine = __decorate([
|
|
1618
|
+
ProxyCmp({})
|
|
1619
|
+
], PListingLine);
|
|
1620
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PListingLine, decorators: [{
|
|
1621
|
+
type: Component,
|
|
1622
|
+
args: [{
|
|
1623
|
+
selector: 'p-listing-line',
|
|
1624
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1625
|
+
template: '<ng-content></ng-content>',
|
|
1626
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1627
|
+
inputs: [],
|
|
1628
|
+
}]
|
|
1629
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1389
1630
|
let PLoader = class PLoader {
|
|
1390
1631
|
constructor(c, r, z) {
|
|
1391
1632
|
this.z = z;
|
|
@@ -1419,10 +1660,10 @@ let PModal = class PModal {
|
|
|
1419
1660
|
}
|
|
1420
1661
|
};
|
|
1421
1662
|
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 });
|
|
1422
|
-
PModal.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PModal, selector: "p-modal", inputs: { applyBlur: "applyBlur", backdropClickClose: "backdropClickClose", header: "header",
|
|
1663
|
+
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 });
|
|
1423
1664
|
PModal = __decorate([
|
|
1424
1665
|
ProxyCmp({
|
|
1425
|
-
inputs: ['applyBlur', 'backdropClickClose', 'header', '
|
|
1666
|
+
inputs: ['applyBlur', 'backdropClickClose', 'header', 'scrollLock', 'show', 'showClose', 'showMobileFooter', 'size']
|
|
1426
1667
|
})
|
|
1427
1668
|
], PModal);
|
|
1428
1669
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PModal, decorators: [{
|
|
@@ -1432,7 +1673,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
1432
1673
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1433
1674
|
template: '<ng-content></ng-content>',
|
|
1434
1675
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1435
|
-
inputs: ['applyBlur', 'backdropClickClose', 'header', '
|
|
1676
|
+
inputs: ['applyBlur', 'backdropClickClose', 'header', 'scrollLock', 'show', 'showClose', 'showMobileFooter', 'size'],
|
|
1436
1677
|
}]
|
|
1437
1678
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1438
1679
|
let PModalBody = class PModalBody {
|
|
@@ -1443,10 +1684,10 @@ let PModalBody = class PModalBody {
|
|
|
1443
1684
|
}
|
|
1444
1685
|
};
|
|
1445
1686
|
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 });
|
|
1446
|
-
PModalBody.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PModalBody, selector: "p-modal-body", inputs: {
|
|
1687
|
+
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 });
|
|
1447
1688
|
PModalBody = __decorate([
|
|
1448
1689
|
ProxyCmp({
|
|
1449
|
-
inputs: ['
|
|
1690
|
+
inputs: ['roundedBottom', 'roundedTop']
|
|
1450
1691
|
})
|
|
1451
1692
|
], PModalBody);
|
|
1452
1693
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PModalBody, decorators: [{
|
|
@@ -1456,7 +1697,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
1456
1697
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1457
1698
|
template: '<ng-content></ng-content>',
|
|
1458
1699
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1459
|
-
inputs: ['
|
|
1700
|
+
inputs: ['roundedBottom', 'roundedTop'],
|
|
1460
1701
|
}]
|
|
1461
1702
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1462
1703
|
let PModalContainer = class PModalContainer {
|
|
@@ -1560,10 +1801,10 @@ let PNavigationItem = class PNavigationItem {
|
|
|
1560
1801
|
}
|
|
1561
1802
|
};
|
|
1562
1803
|
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 });
|
|
1563
|
-
PNavigationItem.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PNavigationItem, selector: "p-navigation-item", inputs: { active: "active", as: "as", class: "class", counter: "counter", href: "href", icon: "icon", target: "target" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1804
|
+
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 });
|
|
1564
1805
|
PNavigationItem = __decorate([
|
|
1565
1806
|
ProxyCmp({
|
|
1566
|
-
inputs: ['active', 'as', 'class', 'counter', 'href', 'icon', 'target']
|
|
1807
|
+
inputs: ['active', 'as', 'class', 'counter', 'href', 'icon', 'loading', 'target']
|
|
1567
1808
|
})
|
|
1568
1809
|
], PNavigationItem);
|
|
1569
1810
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PNavigationItem, decorators: [{
|
|
@@ -1573,7 +1814,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
1573
1814
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1574
1815
|
template: '<ng-content></ng-content>',
|
|
1575
1816
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1576
|
-
inputs: ['active', 'as', 'class', 'counter', 'href', 'icon', 'target'],
|
|
1817
|
+
inputs: ['active', 'as', 'class', 'counter', 'href', 'icon', 'loading', 'target'],
|
|
1577
1818
|
}]
|
|
1578
1819
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1579
1820
|
let PNavigationSection = class PNavigationSection {
|
|
@@ -1622,100 +1863,103 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
1622
1863
|
inputs: [],
|
|
1623
1864
|
}]
|
|
1624
1865
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1625
|
-
let
|
|
1866
|
+
let PPagination = class PPagination {
|
|
1626
1867
|
constructor(c, r, z) {
|
|
1627
1868
|
this.z = z;
|
|
1628
1869
|
c.detach();
|
|
1629
1870
|
this.el = r.nativeElement;
|
|
1630
|
-
proxyOutputs(this, this.el, ['
|
|
1871
|
+
proxyOutputs(this, this.el, ['pageChange', 'pageSizeChange', 'pagesChange']);
|
|
1631
1872
|
}
|
|
1632
1873
|
};
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1874
|
+
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 });
|
|
1875
|
+
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 });
|
|
1876
|
+
PPagination = __decorate([
|
|
1636
1877
|
ProxyCmp({
|
|
1637
|
-
inputs: ['
|
|
1878
|
+
inputs: ['enablePaginationPages', 'enablePaginationSize', 'hideOnSinglePage', 'page', 'pageSize', 'pageSizeOptions', 'total']
|
|
1638
1879
|
})
|
|
1639
|
-
],
|
|
1640
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type:
|
|
1880
|
+
], PPagination);
|
|
1881
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PPagination, decorators: [{
|
|
1641
1882
|
type: Component,
|
|
1642
1883
|
args: [{
|
|
1643
|
-
selector: 'p-
|
|
1884
|
+
selector: 'p-pagination',
|
|
1644
1885
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1645
1886
|
template: '<ng-content></ng-content>',
|
|
1646
1887
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1647
|
-
inputs: ['
|
|
1888
|
+
inputs: ['enablePaginationPages', 'enablePaginationSize', 'hideOnSinglePage', 'page', 'pageSize', 'pageSizeOptions', 'total'],
|
|
1648
1889
|
}]
|
|
1649
1890
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1650
|
-
let
|
|
1891
|
+
let PPaginationPages = class PPaginationPages {
|
|
1651
1892
|
constructor(c, r, z) {
|
|
1652
1893
|
this.z = z;
|
|
1653
1894
|
c.detach();
|
|
1654
1895
|
this.el = r.nativeElement;
|
|
1655
|
-
proxyOutputs(this, this.el, ['pageChange']);
|
|
1896
|
+
proxyOutputs(this, this.el, ['pageChange', 'pagesChange']);
|
|
1656
1897
|
}
|
|
1657
1898
|
};
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
|
|
1899
|
+
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 });
|
|
1900
|
+
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 });
|
|
1901
|
+
PPaginationPages = __decorate([
|
|
1661
1902
|
ProxyCmp({
|
|
1662
1903
|
inputs: ['hideOnSinglePage', 'page', 'pageSize', 'total']
|
|
1663
1904
|
})
|
|
1664
|
-
],
|
|
1665
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type:
|
|
1905
|
+
], PPaginationPages);
|
|
1906
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PPaginationPages, decorators: [{
|
|
1666
1907
|
type: Component,
|
|
1667
1908
|
args: [{
|
|
1668
|
-
selector: 'p-pagination',
|
|
1909
|
+
selector: 'p-pagination-pages',
|
|
1669
1910
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1670
1911
|
template: '<ng-content></ng-content>',
|
|
1671
1912
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1672
1913
|
inputs: ['hideOnSinglePage', 'page', 'pageSize', 'total'],
|
|
1673
1914
|
}]
|
|
1674
1915
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1675
|
-
let
|
|
1916
|
+
let PPaginationPagesItem = class PPaginationPagesItem {
|
|
1676
1917
|
constructor(c, r, z) {
|
|
1677
1918
|
this.z = z;
|
|
1678
1919
|
c.detach();
|
|
1679
1920
|
this.el = r.nativeElement;
|
|
1680
1921
|
}
|
|
1681
1922
|
};
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
|
|
1923
|
+
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 });
|
|
1924
|
+
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 });
|
|
1925
|
+
PPaginationPagesItem = __decorate([
|
|
1685
1926
|
ProxyCmp({
|
|
1686
|
-
inputs: ['active']
|
|
1927
|
+
inputs: ['active', 'disabled', 'hover', 'variant']
|
|
1687
1928
|
})
|
|
1688
|
-
],
|
|
1689
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type:
|
|
1929
|
+
], PPaginationPagesItem);
|
|
1930
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PPaginationPagesItem, decorators: [{
|
|
1690
1931
|
type: Component,
|
|
1691
1932
|
args: [{
|
|
1692
|
-
selector: 'p-pagination-item',
|
|
1933
|
+
selector: 'p-pagination-pages-item',
|
|
1693
1934
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1694
1935
|
template: '<ng-content></ng-content>',
|
|
1695
1936
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1696
|
-
inputs: ['active'],
|
|
1937
|
+
inputs: ['active', 'disabled', 'hover', 'variant'],
|
|
1697
1938
|
}]
|
|
1698
1939
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1699
|
-
let
|
|
1940
|
+
let PPaginationSize = class PPaginationSize {
|
|
1700
1941
|
constructor(c, r, z) {
|
|
1701
1942
|
this.z = z;
|
|
1702
1943
|
c.detach();
|
|
1703
1944
|
this.el = r.nativeElement;
|
|
1945
|
+
proxyOutputs(this, this.el, ['sizeChange']);
|
|
1704
1946
|
}
|
|
1705
1947
|
};
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
ProxyCmp({
|
|
1710
|
-
|
|
1711
|
-
|
|
1948
|
+
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 });
|
|
1949
|
+
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 });
|
|
1950
|
+
PPaginationSize = __decorate([
|
|
1951
|
+
ProxyCmp({
|
|
1952
|
+
inputs: ['hidden', 'itemTemplate', 'size', 'sizeOptions']
|
|
1953
|
+
})
|
|
1954
|
+
], PPaginationSize);
|
|
1955
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PPaginationSize, decorators: [{
|
|
1712
1956
|
type: Component,
|
|
1713
1957
|
args: [{
|
|
1714
|
-
selector: 'p-
|
|
1958
|
+
selector: 'p-pagination-size',
|
|
1715
1959
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1716
1960
|
template: '<ng-content></ng-content>',
|
|
1717
1961
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1718
|
-
inputs: [],
|
|
1962
|
+
inputs: ['hidden', 'itemTemplate', 'size', 'sizeOptions'],
|
|
1719
1963
|
}]
|
|
1720
1964
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1721
1965
|
let PProfile = class PProfile {
|
|
@@ -1751,10 +1995,10 @@ let PRadio = class PRadio {
|
|
|
1751
1995
|
}
|
|
1752
1996
|
};
|
|
1753
1997
|
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 });
|
|
1754
|
-
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",
|
|
1998
|
+
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 });
|
|
1755
1999
|
PRadio = __decorate([
|
|
1756
2000
|
ProxyCmp({
|
|
1757
|
-
inputs: ['checked', 'disabled', 'id', 'name', 'required', '
|
|
2001
|
+
inputs: ['checked', 'disabled', 'id', 'name', 'required', 'value']
|
|
1758
2002
|
})
|
|
1759
2003
|
], PRadio);
|
|
1760
2004
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PRadio, decorators: [{
|
|
@@ -1764,7 +2008,32 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
1764
2008
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1765
2009
|
template: '<ng-content></ng-content>',
|
|
1766
2010
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1767
|
-
inputs: ['checked', 'disabled', 'id', 'name', 'required', '
|
|
2011
|
+
inputs: ['checked', 'disabled', 'id', 'name', 'required', 'value'],
|
|
2012
|
+
}]
|
|
2013
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
2014
|
+
let PRange = class PRange {
|
|
2015
|
+
constructor(c, r, z) {
|
|
2016
|
+
this.z = z;
|
|
2017
|
+
c.detach();
|
|
2018
|
+
this.el = r.nativeElement;
|
|
2019
|
+
proxyOutputs(this, this.el, ['valueChange']);
|
|
2020
|
+
}
|
|
2021
|
+
};
|
|
2022
|
+
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 });
|
|
2023
|
+
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 });
|
|
2024
|
+
PRange = __decorate([
|
|
2025
|
+
ProxyCmp({
|
|
2026
|
+
inputs: ['max', 'min', 'step', 'value']
|
|
2027
|
+
})
|
|
2028
|
+
], PRange);
|
|
2029
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PRange, decorators: [{
|
|
2030
|
+
type: Component,
|
|
2031
|
+
args: [{
|
|
2032
|
+
selector: 'p-range',
|
|
2033
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2034
|
+
template: '<ng-content></ng-content>',
|
|
2035
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
2036
|
+
inputs: ['max', 'min', 'step', 'value'],
|
|
1768
2037
|
}]
|
|
1769
2038
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1770
2039
|
let PSegmentContainer = class PSegmentContainer {
|
|
@@ -1797,10 +2066,10 @@ let PSegmentItem = class PSegmentItem {
|
|
|
1797
2066
|
}
|
|
1798
2067
|
};
|
|
1799
2068
|
PSegmentItem.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PSegmentItem, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1800
|
-
PSegmentItem.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PSegmentItem, selector: "p-segment-item", inputs: { active: "active", icon: "icon", iconFlip: "iconFlip", iconOnly: "iconOnly", iconRotate: "iconRotate",
|
|
2069
|
+
PSegmentItem.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PSegmentItem, selector: "p-segment-item", inputs: { active: "active", icon: "icon", iconFlip: "iconFlip", iconOnly: "iconOnly", iconRotate: "iconRotate", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1801
2070
|
PSegmentItem = __decorate([
|
|
1802
2071
|
ProxyCmp({
|
|
1803
|
-
inputs: ['active', 'icon', 'iconFlip', 'iconOnly', 'iconRotate', '
|
|
2072
|
+
inputs: ['active', 'icon', 'iconFlip', 'iconOnly', 'iconRotate', 'variant']
|
|
1804
2073
|
})
|
|
1805
2074
|
], PSegmentItem);
|
|
1806
2075
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PSegmentItem, decorators: [{
|
|
@@ -1810,7 +2079,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
1810
2079
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1811
2080
|
template: '<ng-content></ng-content>',
|
|
1812
2081
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1813
|
-
inputs: ['active', 'icon', 'iconFlip', 'iconOnly', 'iconRotate', '
|
|
2082
|
+
inputs: ['active', 'icon', 'iconFlip', 'iconOnly', 'iconRotate', 'variant'],
|
|
1814
2083
|
}]
|
|
1815
2084
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1816
2085
|
let PSelect = class PSelect {
|
|
@@ -1822,10 +2091,10 @@ let PSelect = class PSelect {
|
|
|
1822
2091
|
}
|
|
1823
2092
|
};
|
|
1824
2093
|
PSelect.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PSelect, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1825
|
-
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",
|
|
2094
|
+
PSelect.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PSelect, selector: "p-select", inputs: { addItemText: "addItemText", applyClassOnSelectedItem: "applyClassOnSelectedItem", asyncFilter: "asyncFilter", autoSelectFirst: "autoSelectFirst", autocompletePlaceholder: "autocompletePlaceholder", avatarKey: "avatarKey", avatarLettersKey: "avatarLettersKey", classKey: "classKey", disabled: "disabled", displayKey: "displayKey", dropdownDisplayKey: "dropdownDisplayKey", emptyStateText: "emptyStateText", enableAutocomplete: "enableAutocomplete", enableSelectAll: "enableSelectAll", error: "error", helper: "helper", icon: "icon", iconKey: "iconKey", identifierKey: "identifierKey", items: "items", label: "label", loading: "loading", maxDisplayedItems: "maxDisplayedItems", multi: "multi", placeholder: "placeholder", prefix: "prefix", query: "query", queryKey: "queryKey", required: "required", selectAllIcon: "selectAllIcon", selectAllText: "selectAllText", selectionDisplayKey: "selectionDisplayKey", showAddItem: "showAddItem", showChevron: "showChevron", 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 });
|
|
1826
2095
|
PSelect = __decorate([
|
|
1827
2096
|
ProxyCmp({
|
|
1828
|
-
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', '
|
|
2097
|
+
inputs: ['addItemText', 'applyClassOnSelectedItem', 'asyncFilter', 'autoSelectFirst', 'autocompletePlaceholder', 'avatarKey', 'avatarLettersKey', 'classKey', 'disabled', 'displayKey', 'dropdownDisplayKey', 'emptyStateText', 'enableAutocomplete', 'enableSelectAll', 'error', 'helper', 'icon', 'iconKey', 'identifierKey', 'items', 'label', 'loading', 'maxDisplayedItems', 'multi', 'placeholder', 'prefix', 'query', 'queryKey', 'required', 'selectAllIcon', 'selectAllText', 'selectionDisplayKey', 'showAddItem', 'showChevron', 'showIconOnSelectedItem', 'showOptional', 'size', 'strategy', 'value', 'valueKey']
|
|
1829
2098
|
})
|
|
1830
2099
|
], PSelect);
|
|
1831
2100
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PSelect, decorators: [{
|
|
@@ -1835,55 +2104,31 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
1835
2104
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1836
2105
|
template: '<ng-content></ng-content>',
|
|
1837
2106
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1838
|
-
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', '
|
|
1839
|
-
}]
|
|
1840
|
-
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1841
|
-
let PSliderIndicator = class PSliderIndicator {
|
|
1842
|
-
constructor(c, r, z) {
|
|
1843
|
-
this.z = z;
|
|
1844
|
-
c.detach();
|
|
1845
|
-
this.el = r.nativeElement;
|
|
1846
|
-
}
|
|
1847
|
-
};
|
|
1848
|
-
PSliderIndicator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PSliderIndicator, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1849
|
-
PSliderIndicator.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PSliderIndicator, selector: "p-slider-indicator", inputs: { active: "active" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1850
|
-
PSliderIndicator = __decorate([
|
|
1851
|
-
ProxyCmp({
|
|
1852
|
-
inputs: ['active']
|
|
1853
|
-
})
|
|
1854
|
-
], PSliderIndicator);
|
|
1855
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PSliderIndicator, decorators: [{
|
|
1856
|
-
type: Component,
|
|
1857
|
-
args: [{
|
|
1858
|
-
selector: 'p-slider-indicator',
|
|
1859
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1860
|
-
template: '<ng-content></ng-content>',
|
|
1861
|
-
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1862
|
-
inputs: ['active'],
|
|
2107
|
+
inputs: ['addItemText', 'applyClassOnSelectedItem', 'asyncFilter', 'autoSelectFirst', 'autocompletePlaceholder', 'avatarKey', 'avatarLettersKey', 'classKey', 'disabled', 'displayKey', 'dropdownDisplayKey', 'emptyStateText', 'enableAutocomplete', 'enableSelectAll', 'error', 'helper', 'icon', 'iconKey', 'identifierKey', 'items', 'label', 'loading', 'maxDisplayedItems', 'multi', 'placeholder', 'prefix', 'query', 'queryKey', 'required', 'selectAllIcon', 'selectAllText', 'selectionDisplayKey', 'showAddItem', 'showChevron', 'showIconOnSelectedItem', 'showOptional', 'size', 'strategy', 'value', 'valueKey'],
|
|
1863
2108
|
}]
|
|
1864
2109
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1865
|
-
let
|
|
2110
|
+
let PSmile = class PSmile {
|
|
1866
2111
|
constructor(c, r, z) {
|
|
1867
2112
|
this.z = z;
|
|
1868
2113
|
c.detach();
|
|
1869
2114
|
this.el = r.nativeElement;
|
|
1870
2115
|
}
|
|
1871
2116
|
};
|
|
1872
|
-
|
|
1873
|
-
|
|
1874
|
-
|
|
2117
|
+
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 });
|
|
2118
|
+
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 });
|
|
2119
|
+
PSmile = __decorate([
|
|
1875
2120
|
ProxyCmp({
|
|
1876
|
-
inputs: ['
|
|
2121
|
+
inputs: ['variant']
|
|
1877
2122
|
})
|
|
1878
|
-
],
|
|
1879
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type:
|
|
2123
|
+
], PSmile);
|
|
2124
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PSmile, decorators: [{
|
|
1880
2125
|
type: Component,
|
|
1881
2126
|
args: [{
|
|
1882
|
-
selector: 'p-
|
|
2127
|
+
selector: 'p-smile',
|
|
1883
2128
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1884
2129
|
template: '<ng-content></ng-content>',
|
|
1885
2130
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1886
|
-
inputs: ['
|
|
2131
|
+
inputs: ['variant'],
|
|
1887
2132
|
}]
|
|
1888
2133
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1889
2134
|
let PStepper = class PStepper {
|
|
@@ -1894,10 +2139,10 @@ let PStepper = class PStepper {
|
|
|
1894
2139
|
}
|
|
1895
2140
|
};
|
|
1896
2141
|
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 });
|
|
1897
|
-
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 });
|
|
2142
|
+
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 });
|
|
1898
2143
|
PStepper = __decorate([
|
|
1899
2144
|
ProxyCmp({
|
|
1900
|
-
inputs: ['activeStep', 'contentPosition', 'direction']
|
|
2145
|
+
inputs: ['activeStep', 'align', 'contentPosition', 'direction', 'enableAutoStatus', 'steps']
|
|
1901
2146
|
})
|
|
1902
2147
|
], PStepper);
|
|
1903
2148
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PStepper, decorators: [{
|
|
@@ -1907,7 +2152,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
1907
2152
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1908
2153
|
template: '<ng-content></ng-content>',
|
|
1909
2154
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1910
|
-
inputs: ['activeStep', 'contentPosition', 'direction'],
|
|
2155
|
+
inputs: ['activeStep', 'align', 'contentPosition', 'direction', 'enableAutoStatus', 'steps'],
|
|
1911
2156
|
}]
|
|
1912
2157
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1913
2158
|
let PStepperItem = class PStepperItem {
|
|
@@ -1918,10 +2163,10 @@ let PStepperItem = class PStepperItem {
|
|
|
1918
2163
|
}
|
|
1919
2164
|
};
|
|
1920
2165
|
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 });
|
|
1921
|
-
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 });
|
|
2166
|
+
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 });
|
|
1922
2167
|
PStepperItem = __decorate([
|
|
1923
2168
|
ProxyCmp({
|
|
1924
|
-
inputs: ['active', 'align', 'contentPosition', 'direction', 'finished']
|
|
2169
|
+
inputs: ['active', 'align', 'contentPosition', 'direction', 'finished', 'number']
|
|
1925
2170
|
})
|
|
1926
2171
|
], PStepperItem);
|
|
1927
2172
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PStepperItem, decorators: [{
|
|
@@ -1931,7 +2176,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
1931
2176
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1932
2177
|
template: '<ng-content></ng-content>',
|
|
1933
2178
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1934
|
-
inputs: ['active', 'align', 'contentPosition', 'direction', 'finished'],
|
|
2179
|
+
inputs: ['active', 'align', 'contentPosition', 'direction', 'finished', 'number'],
|
|
1935
2180
|
}]
|
|
1936
2181
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1937
2182
|
let PStepperLine = class PStepperLine {
|
|
@@ -1958,22 +2203,22 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
1958
2203
|
inputs: ['active', 'direction'],
|
|
1959
2204
|
}]
|
|
1960
2205
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1961
|
-
let
|
|
2206
|
+
let PTabContainer = class PTabContainer {
|
|
1962
2207
|
constructor(c, r, z) {
|
|
1963
2208
|
this.z = z;
|
|
1964
2209
|
c.detach();
|
|
1965
2210
|
this.el = r.nativeElement;
|
|
1966
2211
|
}
|
|
1967
2212
|
};
|
|
1968
|
-
|
|
1969
|
-
|
|
1970
|
-
|
|
2213
|
+
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 });
|
|
2214
|
+
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 });
|
|
2215
|
+
PTabContainer = __decorate([
|
|
1971
2216
|
ProxyCmp({})
|
|
1972
|
-
],
|
|
1973
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type:
|
|
2217
|
+
], PTabContainer);
|
|
2218
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PTabContainer, decorators: [{
|
|
1974
2219
|
type: Component,
|
|
1975
2220
|
args: [{
|
|
1976
|
-
selector: 'p-tab-
|
|
2221
|
+
selector: 'p-tab-container',
|
|
1977
2222
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1978
2223
|
template: '<ng-content></ng-content>',
|
|
1979
2224
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
@@ -2012,11 +2257,9 @@ let PTableContainer = class PTableContainer {
|
|
|
2012
2257
|
}
|
|
2013
2258
|
};
|
|
2014
2259
|
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 });
|
|
2015
|
-
PTableContainer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PTableContainer, selector: "p-table-container",
|
|
2260
|
+
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 });
|
|
2016
2261
|
PTableContainer = __decorate([
|
|
2017
|
-
ProxyCmp({
|
|
2018
|
-
inputs: ['shadow']
|
|
2019
|
-
})
|
|
2262
|
+
ProxyCmp({})
|
|
2020
2263
|
], PTableContainer);
|
|
2021
2264
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PTableContainer, decorators: [{
|
|
2022
2265
|
type: Component,
|
|
@@ -2025,7 +2268,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
2025
2268
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2026
2269
|
template: '<ng-content></ng-content>',
|
|
2027
2270
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
2028
|
-
inputs: [
|
|
2271
|
+
inputs: [],
|
|
2029
2272
|
}]
|
|
2030
2273
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
2031
2274
|
let PTableFooter = class PTableFooter {
|
|
@@ -2033,14 +2276,14 @@ let PTableFooter = class PTableFooter {
|
|
|
2033
2276
|
this.z = z;
|
|
2034
2277
|
c.detach();
|
|
2035
2278
|
this.el = r.nativeElement;
|
|
2036
|
-
proxyOutputs(this, this.el, ['pageChange', 'pageSizeChange', '
|
|
2279
|
+
proxyOutputs(this, this.el, ['pageChange', 'pageSizeChange', 'hiddenChange']);
|
|
2037
2280
|
}
|
|
2038
2281
|
};
|
|
2039
2282
|
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 });
|
|
2040
|
-
PTableFooter.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PTableFooter, selector: "p-table-footer", inputs: {
|
|
2283
|
+
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 });
|
|
2041
2284
|
PTableFooter = __decorate([
|
|
2042
2285
|
ProxyCmp({
|
|
2043
|
-
inputs: ['
|
|
2286
|
+
inputs: ['enablePaginationPages', 'enablePaginationSize', 'hideOnSinglePage', 'loading', 'page', 'pageSize', 'pageSizeOptions', 'total']
|
|
2044
2287
|
})
|
|
2045
2288
|
], PTableFooter);
|
|
2046
2289
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PTableFooter, decorators: [{
|
|
@@ -2050,7 +2293,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
2050
2293
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2051
2294
|
template: '<ng-content></ng-content>',
|
|
2052
2295
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
2053
|
-
inputs: ['
|
|
2296
|
+
inputs: ['enablePaginationPages', 'enablePaginationSize', 'hideOnSinglePage', 'loading', 'page', 'pageSize', 'pageSizeOptions', 'total'],
|
|
2054
2297
|
}]
|
|
2055
2298
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
2056
2299
|
let PTableHeader = class PTableHeader {
|
|
@@ -2058,14 +2301,14 @@ let PTableHeader = class PTableHeader {
|
|
|
2058
2301
|
this.z = z;
|
|
2059
2302
|
c.detach();
|
|
2060
2303
|
this.el = r.nativeElement;
|
|
2061
|
-
proxyOutputs(this, this.el, ['quickFilter', 'queryChange', 'filter', 'action']);
|
|
2304
|
+
proxyOutputs(this, this.el, ['quickFilter', 'queryChange', 'filter', 'action', 'export']);
|
|
2062
2305
|
}
|
|
2063
2306
|
};
|
|
2064
2307
|
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 });
|
|
2065
|
-
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 });
|
|
2308
|
+
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 });
|
|
2066
2309
|
PTableHeader = __decorate([
|
|
2067
2310
|
ProxyCmp({
|
|
2068
|
-
inputs: ['actionButtonTemplate', 'actionIcon', 'actionLoading', 'actionText', 'activeQuickFilterIdentifier', 'canUseAction', 'enableAction', 'enableFilter', 'enableFilterDesktop', 'enableSearch', 'filterButtonTemplate', 'itemsSelectedAmount', 'loading', 'query', 'quickFilters', 'selectedFiltersAmount']
|
|
2311
|
+
inputs: ['actionButtonTemplate', 'actionIcon', 'actionLoading', 'actionText', 'activeQuickFilterIdentifier', 'canUseAction', 'enableAction', 'enableExport', 'enableFilter', 'enableFilterDesktop', 'enableSearch', 'filterButtonTemplate', 'itemsSelectedAmount', 'loading', 'query', 'quickFilters', 'selectedFiltersAmount']
|
|
2069
2312
|
})
|
|
2070
2313
|
], PTableHeader);
|
|
2071
2314
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PTableHeader, decorators: [{
|
|
@@ -2075,7 +2318,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
2075
2318
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2076
2319
|
template: '<ng-content></ng-content>',
|
|
2077
2320
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
2078
|
-
inputs: ['actionButtonTemplate', 'actionIcon', 'actionLoading', 'actionText', 'activeQuickFilterIdentifier', 'canUseAction', 'enableAction', 'enableFilter', 'enableFilterDesktop', 'enableSearch', 'filterButtonTemplate', 'itemsSelectedAmount', 'loading', 'query', 'quickFilters', 'selectedFiltersAmount'],
|
|
2321
|
+
inputs: ['actionButtonTemplate', 'actionIcon', 'actionLoading', 'actionText', 'activeQuickFilterIdentifier', 'canUseAction', 'enableAction', 'enableExport', 'enableFilter', 'enableFilterDesktop', 'enableSearch', 'filterButtonTemplate', 'itemsSelectedAmount', 'loading', 'query', 'quickFilters', 'selectedFiltersAmount'],
|
|
2079
2322
|
}]
|
|
2080
2323
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
2081
2324
|
let PTableRow = class PTableRow {
|
|
@@ -2086,10 +2329,10 @@ let PTableRow = class PTableRow {
|
|
|
2086
2329
|
}
|
|
2087
2330
|
};
|
|
2088
2331
|
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 });
|
|
2089
|
-
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 });
|
|
2332
|
+
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 });
|
|
2090
2333
|
PTableRow = __decorate([
|
|
2091
2334
|
ProxyCmp({
|
|
2092
|
-
inputs: ['enableHover', 'variant']
|
|
2335
|
+
inputs: ['checked', 'enableHover', 'variant']
|
|
2093
2336
|
})
|
|
2094
2337
|
], PTableRow);
|
|
2095
2338
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PTableRow, decorators: [{
|
|
@@ -2099,7 +2342,29 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
2099
2342
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2100
2343
|
template: '<ng-content></ng-content>',
|
|
2101
2344
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
2102
|
-
inputs: ['enableHover', 'variant'],
|
|
2345
|
+
inputs: ['checked', 'enableHover', 'variant'],
|
|
2346
|
+
}]
|
|
2347
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
2348
|
+
let PTableRowActionsContainer = class PTableRowActionsContainer {
|
|
2349
|
+
constructor(c, r, z) {
|
|
2350
|
+
this.z = z;
|
|
2351
|
+
c.detach();
|
|
2352
|
+
this.el = r.nativeElement;
|
|
2353
|
+
}
|
|
2354
|
+
};
|
|
2355
|
+
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 });
|
|
2356
|
+
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 });
|
|
2357
|
+
PTableRowActionsContainer = __decorate([
|
|
2358
|
+
ProxyCmp({})
|
|
2359
|
+
], PTableRowActionsContainer);
|
|
2360
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PTableRowActionsContainer, decorators: [{
|
|
2361
|
+
type: Component,
|
|
2362
|
+
args: [{
|
|
2363
|
+
selector: 'p-table-row-actions-container',
|
|
2364
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2365
|
+
template: '<ng-content></ng-content>',
|
|
2366
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
2367
|
+
inputs: [],
|
|
2103
2368
|
}]
|
|
2104
2369
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
2105
2370
|
let PToast = class PToast {
|
|
@@ -2127,6 +2392,31 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
2127
2392
|
inputs: ['actionIcon', 'actionIconFlip', 'actionIconRotate', 'content', 'enableAction', 'header', 'variant'],
|
|
2128
2393
|
}]
|
|
2129
2394
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
2395
|
+
let PToggle = class PToggle {
|
|
2396
|
+
constructor(c, r, z) {
|
|
2397
|
+
this.z = z;
|
|
2398
|
+
c.detach();
|
|
2399
|
+
this.el = r.nativeElement;
|
|
2400
|
+
proxyOutputs(this, this.el, ['checkedChange', 'indeterminateChange']);
|
|
2401
|
+
}
|
|
2402
|
+
};
|
|
2403
|
+
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 });
|
|
2404
|
+
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 });
|
|
2405
|
+
PToggle = __decorate([
|
|
2406
|
+
ProxyCmp({
|
|
2407
|
+
inputs: ['checked', 'disabled', 'id', 'name', 'required']
|
|
2408
|
+
})
|
|
2409
|
+
], PToggle);
|
|
2410
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PToggle, decorators: [{
|
|
2411
|
+
type: Component,
|
|
2412
|
+
args: [{
|
|
2413
|
+
selector: 'p-toggle',
|
|
2414
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2415
|
+
template: '<ng-content></ng-content>',
|
|
2416
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
2417
|
+
inputs: ['checked', 'disabled', 'id', 'name', 'required'],
|
|
2418
|
+
}]
|
|
2419
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
2130
2420
|
let PTooltip = class PTooltip {
|
|
2131
2421
|
constructor(c, r, z) {
|
|
2132
2422
|
this.z = z;
|
|
@@ -2136,10 +2426,10 @@ let PTooltip = class PTooltip {
|
|
|
2136
2426
|
}
|
|
2137
2427
|
};
|
|
2138
2428
|
PTooltip.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PTooltip, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
2139
|
-
PTooltip.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PTooltip, selector: "p-tooltip", inputs: { canManuallyClose: "canManuallyClose", content: "content", enableUserInput: "enableUserInput", offset: "offset", placement: "placement", show: "show", strategy: "strategy",
|
|
2429
|
+
PTooltip.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PTooltip, selector: "p-tooltip", inputs: { canManuallyClose: "canManuallyClose", content: "content", enableUserInput: "enableUserInput", offset: "offset", placement: "placement", show: "show", strategy: "strategy", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2140
2430
|
PTooltip = __decorate([
|
|
2141
2431
|
ProxyCmp({
|
|
2142
|
-
inputs: ['canManuallyClose', 'content', 'enableUserInput', 'offset', 'placement', 'show', 'strategy', '
|
|
2432
|
+
inputs: ['canManuallyClose', 'content', 'enableUserInput', 'offset', 'placement', 'show', 'strategy', 'variant']
|
|
2143
2433
|
})
|
|
2144
2434
|
], PTooltip);
|
|
2145
2435
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PTooltip, decorators: [{
|
|
@@ -2149,7 +2439,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
2149
2439
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2150
2440
|
template: '<ng-content></ng-content>',
|
|
2151
2441
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
2152
|
-
inputs: ['canManuallyClose', 'content', 'enableUserInput', 'offset', 'placement', 'show', 'strategy', '
|
|
2442
|
+
inputs: ['canManuallyClose', 'content', 'enableUserInput', 'offset', 'placement', 'show', 'strategy', 'variant'],
|
|
2153
2443
|
}]
|
|
2154
2444
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
2155
2445
|
|
|
@@ -2166,8 +2456,8 @@ const DIRECTIVES = [
|
|
|
2166
2456
|
PCardBody,
|
|
2167
2457
|
PCardContainer,
|
|
2168
2458
|
PCardHeader,
|
|
2459
|
+
PCheckbox,
|
|
2169
2460
|
PContentSlider,
|
|
2170
|
-
PCounter,
|
|
2171
2461
|
PCropper,
|
|
2172
2462
|
PDatepicker,
|
|
2173
2463
|
PDivider,
|
|
@@ -2178,6 +2468,7 @@ const DIRECTIVES = [
|
|
|
2178
2468
|
PDropdown,
|
|
2179
2469
|
PDropdownMenuContainer,
|
|
2180
2470
|
PDropdownMenuItem,
|
|
2471
|
+
PEmptyState,
|
|
2181
2472
|
PField,
|
|
2182
2473
|
PFieldContainer,
|
|
2183
2474
|
PFloatingMenuContainer,
|
|
@@ -2185,12 +2476,14 @@ const DIRECTIVES = [
|
|
|
2185
2476
|
PHelper,
|
|
2186
2477
|
PIbanIcon,
|
|
2187
2478
|
PIcon,
|
|
2188
|
-
PIconDeprecated,
|
|
2189
2479
|
PIllustration,
|
|
2480
|
+
PIllustrationDeprecated,
|
|
2190
2481
|
PInfoPanel,
|
|
2191
|
-
PInputError,
|
|
2192
2482
|
PLabel,
|
|
2193
2483
|
PLayout,
|
|
2484
|
+
PListing,
|
|
2485
|
+
PListingItem,
|
|
2486
|
+
PListingLine,
|
|
2194
2487
|
PLoader,
|
|
2195
2488
|
PModal,
|
|
2196
2489
|
PModalBody,
|
|
@@ -2201,34 +2494,36 @@ const DIRECTIVES = [
|
|
|
2201
2494
|
PNavigationItem,
|
|
2202
2495
|
PNavigationSection,
|
|
2203
2496
|
PNavigationTitle,
|
|
2204
|
-
PPageSizeSelect,
|
|
2205
2497
|
PPagination,
|
|
2206
|
-
|
|
2207
|
-
|
|
2498
|
+
PPaginationPages,
|
|
2499
|
+
PPaginationPagesItem,
|
|
2500
|
+
PPaginationSize,
|
|
2208
2501
|
PProfile,
|
|
2209
2502
|
PRadio,
|
|
2503
|
+
PRange,
|
|
2210
2504
|
PSegmentContainer,
|
|
2211
2505
|
PSegmentItem,
|
|
2212
2506
|
PSelect,
|
|
2213
|
-
|
|
2214
|
-
PStatus,
|
|
2507
|
+
PSmile,
|
|
2215
2508
|
PStepper,
|
|
2216
2509
|
PStepperItem,
|
|
2217
2510
|
PStepperLine,
|
|
2218
|
-
|
|
2511
|
+
PTabContainer,
|
|
2219
2512
|
PTabItem,
|
|
2220
2513
|
PTableContainer,
|
|
2221
2514
|
PTableFooter,
|
|
2222
2515
|
PTableHeader,
|
|
2223
2516
|
PTableRow,
|
|
2517
|
+
PTableRowActionsContainer,
|
|
2224
2518
|
PToast,
|
|
2519
|
+
PToggle,
|
|
2225
2520
|
PTooltip
|
|
2226
2521
|
];
|
|
2227
2522
|
|
|
2228
2523
|
class StencilModule {
|
|
2229
2524
|
}
|
|
2230
2525
|
StencilModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: StencilModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2231
|
-
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,
|
|
2526
|
+
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] });
|
|
2232
2527
|
StencilModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: StencilModule });
|
|
2233
2528
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: StencilModule, decorators: [{
|
|
2234
2529
|
type: NgModule,
|
|
@@ -2342,11 +2637,11 @@ class OverlayService {
|
|
|
2342
2637
|
}
|
|
2343
2638
|
}
|
|
2344
2639
|
}
|
|
2345
|
-
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 });
|
|
2640
|
+
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 });
|
|
2346
2641
|
OverlayService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: OverlayService });
|
|
2347
2642
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: OverlayService, decorators: [{
|
|
2348
2643
|
type: Injectable
|
|
2349
|
-
}], ctorParameters: function () { return [{ type: i0.Injector }, { type: i1.Overlay }]; } });
|
|
2644
|
+
}], ctorParameters: function () { return [{ type: i0.Injector }, { type: i1$1.Overlay }]; } });
|
|
2350
2645
|
|
|
2351
2646
|
const OVERLAY_SERVICES = [OverlayService];
|
|
2352
2647
|
|
|
@@ -2485,7 +2780,7 @@ let BaseTableComponent = class BaseTableComponent extends BaseFormComponent {
|
|
|
2485
2780
|
selectedRows: this.parsedDefaultTableValues.selectedRows,
|
|
2486
2781
|
});
|
|
2487
2782
|
this.tableOptions.valueChanges
|
|
2488
|
-
.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 => {
|
|
2489
2784
|
var _a;
|
|
2490
2785
|
if ((changes === null || changes === void 0 ? void 0 : changes.query) && ((_a = Object.keys(changes)) === null || _a === void 0 ? void 0 : _a.length) === 1) {
|
|
2491
2786
|
return timer(300);
|
|
@@ -2570,7 +2865,7 @@ let BaseTableComponent = class BaseTableComponent extends BaseFormComponent {
|
|
|
2570
2865
|
return Object.keys(changes).length ? changes : null;
|
|
2571
2866
|
}
|
|
2572
2867
|
_watchProperty(observable, identifier = 'id') {
|
|
2573
|
-
return observable.pipe(untilDestroyed(this), startWith(null), pairwise(), filter(([prev, cur]) => prev !== cur && !!cur), tap(([previous, current]) => {
|
|
2868
|
+
return observable.pipe(untilDestroyed(this), startWith(null), pairwise(), filter$1(([prev, cur]) => prev !== cur && !!cur), tap(([previous, current]) => {
|
|
2574
2869
|
if (previous && previous[identifier] !== (current === null || current === void 0 ? void 0 : current[identifier])) {
|
|
2575
2870
|
this.resetTable(false, true);
|
|
2576
2871
|
}
|
|
@@ -2596,7 +2891,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
2596
2891
|
With this, we shall hack the system in ways no one would ever have thought.
|
|
2597
2892
|
|
|
2598
2893
|
justify-start justify-center justify-end
|
|
2599
|
-
font-semibold text-
|
|
2894
|
+
font-semibold text-black-teal text-black-teal-400 text-black-teal-300
|
|
2600
2895
|
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
|
|
2601
2896
|
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
|
|
2602
2897
|
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
|
|
@@ -2663,13 +2958,9 @@ class TableCell {
|
|
|
2663
2958
|
* The index of the row
|
|
2664
2959
|
*/
|
|
2665
2960
|
this.rowIndex = 0;
|
|
2666
|
-
/**
|
|
2667
|
-
* Wether the table has actions
|
|
2668
|
-
*/
|
|
2669
|
-
this.tableHasActions = false;
|
|
2670
2961
|
}
|
|
2671
2962
|
get class() {
|
|
2672
|
-
return getTableCellColumnClasses(this.definition, this.variant
|
|
2963
|
+
return getTableCellColumnClasses(this.definition, this.variant);
|
|
2673
2964
|
}
|
|
2674
2965
|
get data() {
|
|
2675
2966
|
var _a;
|
|
@@ -2678,14 +2969,6 @@ class TableCell {
|
|
|
2678
2969
|
value: this.value,
|
|
2679
2970
|
};
|
|
2680
2971
|
}
|
|
2681
|
-
if (this.variant === 'actions') {
|
|
2682
|
-
return {
|
|
2683
|
-
value: this.value,
|
|
2684
|
-
item: this.item,
|
|
2685
|
-
index: this.index,
|
|
2686
|
-
rowIndex: this.rowIndex,
|
|
2687
|
-
};
|
|
2688
|
-
}
|
|
2689
2972
|
return {
|
|
2690
2973
|
value: (_a = this.value) !== null && _a !== void 0 ? _a : objectGetByPath(this.item, this.definition.path),
|
|
2691
2974
|
item: this.item,
|
|
@@ -2695,10 +2978,10 @@ class TableCell {
|
|
|
2695
2978
|
}
|
|
2696
2979
|
}
|
|
2697
2980
|
TableCell.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TableCell, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2698
|
-
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",
|
|
2981
|
+
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"] }] });
|
|
2699
2982
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TableCell, decorators: [{
|
|
2700
2983
|
type: Component,
|
|
2701
|
-
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"
|
|
2984
|
+
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" }]
|
|
2702
2985
|
}], propDecorators: { variant: [{
|
|
2703
2986
|
type: Input
|
|
2704
2987
|
}], index: [{
|
|
@@ -2711,8 +2994,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
2711
2994
|
type: Input
|
|
2712
2995
|
}], value: [{
|
|
2713
2996
|
type: Input
|
|
2714
|
-
}], tableHasActions: [{
|
|
2715
|
-
type: Input
|
|
2716
2997
|
}], checkbox: [{
|
|
2717
2998
|
type: Input
|
|
2718
2999
|
}], template: [{
|
|
@@ -2731,11 +3012,19 @@ let TableColumn = class TableColumn {
|
|
|
2731
3012
|
}
|
|
2732
3013
|
};
|
|
2733
3014
|
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 });
|
|
2734
|
-
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",
|
|
3015
|
+
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 });
|
|
2735
3016
|
TableColumn = __decorate([
|
|
2736
3017
|
ProxyCmp({
|
|
2737
3018
|
defineCustomElementFn: undefined,
|
|
2738
|
-
inputs: [
|
|
3019
|
+
inputs: [
|
|
3020
|
+
'align',
|
|
3021
|
+
'name',
|
|
3022
|
+
'path',
|
|
3023
|
+
'sizes',
|
|
3024
|
+
'variant',
|
|
3025
|
+
'useSlot',
|
|
3026
|
+
'hasCheckbox',
|
|
3027
|
+
],
|
|
2739
3028
|
})
|
|
2740
3029
|
], TableColumn);
|
|
2741
3030
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TableColumn, decorators: [{
|
|
@@ -2744,7 +3033,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
2744
3033
|
selector: 'p-table-column',
|
|
2745
3034
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2746
3035
|
template: '<ng-content></ng-content>',
|
|
2747
|
-
inputs: [
|
|
3036
|
+
inputs: [
|
|
3037
|
+
'align',
|
|
3038
|
+
'name',
|
|
3039
|
+
'path',
|
|
3040
|
+
'sizes',
|
|
3041
|
+
'variant',
|
|
3042
|
+
'useSlot',
|
|
3043
|
+
'hasCheckbox',
|
|
3044
|
+
],
|
|
2748
3045
|
}]
|
|
2749
3046
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; }, propDecorators: { template: [{
|
|
2750
3047
|
type: ContentChild,
|
|
@@ -3161,6 +3458,7 @@ const defaultSizeOptions = [12, 24, 68, 136];
|
|
|
3161
3458
|
let Table = class Table {
|
|
3162
3459
|
constructor(_changeDetection) {
|
|
3163
3460
|
this._changeDetection = _changeDetection;
|
|
3461
|
+
this.className = 'flex flex-col z-0';
|
|
3164
3462
|
/**
|
|
3165
3463
|
* Wether data is loading
|
|
3166
3464
|
*/
|
|
@@ -3280,13 +3578,13 @@ let Table = class Table {
|
|
|
3280
3578
|
*/
|
|
3281
3579
|
this.enableFooter = true;
|
|
3282
3580
|
/**
|
|
3283
|
-
* Wether to enable
|
|
3581
|
+
* Wether to enable pagination size select
|
|
3284
3582
|
*/
|
|
3285
|
-
this.
|
|
3583
|
+
this.enablePaginationSize = true;
|
|
3286
3584
|
/**
|
|
3287
|
-
* Wether to enable pagination
|
|
3585
|
+
* Wether to enable pagination pages
|
|
3288
3586
|
*/
|
|
3289
|
-
this.
|
|
3587
|
+
this.enablePaginationPages = true;
|
|
3290
3588
|
/**
|
|
3291
3589
|
* Wether to enable export
|
|
3292
3590
|
*/
|
|
@@ -3321,9 +3619,17 @@ let Table = class Table {
|
|
|
3321
3619
|
this.hideOnSinglePage = true;
|
|
3322
3620
|
/* Empty state start */
|
|
3323
3621
|
this.emptyStateType = 'no_filter';
|
|
3324
|
-
this.emptyStateIllustration = '
|
|
3622
|
+
this.emptyStateIllustration = 'table';
|
|
3623
|
+
this.emptyStateActionIcon = 'plus';
|
|
3325
3624
|
this.enableEmptyStateAction = true;
|
|
3326
|
-
this.emptyStateFilteredIllustration = '
|
|
3625
|
+
this.emptyStateFilteredIllustration = 'search';
|
|
3626
|
+
/**
|
|
3627
|
+
* Wether to enable scrolling
|
|
3628
|
+
*/
|
|
3629
|
+
this.enableScroll = false;
|
|
3630
|
+
this.reachedScrollStart$ = new BehaviorSubject(true);
|
|
3631
|
+
this.reachedScrollEnd$ = new BehaviorSubject(false);
|
|
3632
|
+
this._totalWidth = 0;
|
|
3327
3633
|
/**
|
|
3328
3634
|
* Event whenever the empty state is clicked
|
|
3329
3635
|
*/
|
|
@@ -3333,7 +3639,7 @@ let Table = class Table {
|
|
|
3333
3639
|
* Wether to show the shadow or not
|
|
3334
3640
|
*/
|
|
3335
3641
|
this.shadow = true;
|
|
3336
|
-
this.columns = [];
|
|
3642
|
+
this.columns$ = new BehaviorSubject([]);
|
|
3337
3643
|
this.parsedItems = [];
|
|
3338
3644
|
this.loadingRows = Array.from({
|
|
3339
3645
|
length: this.amountOfLoadingRows,
|
|
@@ -3351,19 +3657,14 @@ let Table = class Table {
|
|
|
3351
3657
|
this.filterModalSave = new EventEmitter();
|
|
3352
3658
|
this.filterModalReset = new EventEmitter();
|
|
3353
3659
|
this.rowActionsRow$ = new BehaviorSubject([]);
|
|
3354
|
-
this.rowActionsRowDefinition$ = new BehaviorSubject(undefined);
|
|
3355
3660
|
this.rowActionsFloatingAll$ = new BehaviorSubject([]);
|
|
3356
3661
|
this.rowActionsFloating$ = new BehaviorSubject([]);
|
|
3357
3662
|
this.isMobile$ = new BehaviorSubject(isMobile());
|
|
3663
|
+
this.floatingMenuContainerClass = floatingMenuContainerClass;
|
|
3358
3664
|
this._inputEnableRowSelection = this.enableRowSelection;
|
|
3359
3665
|
this._inputRowSelectionLimit = this.rowSelectionLimit;
|
|
3360
|
-
|
|
3361
|
-
|
|
3362
|
-
this._columnDefinitions = v;
|
|
3363
|
-
this._generateColumns();
|
|
3364
|
-
}
|
|
3365
|
-
get columnDefinitions() {
|
|
3366
|
-
return this._columnDefinitions;
|
|
3666
|
+
this.footerHidden$ = new BehaviorSubject(false);
|
|
3667
|
+
this.cn = cn;
|
|
3367
3668
|
}
|
|
3368
3669
|
set rowActions(v) {
|
|
3369
3670
|
this._rowActions = v;
|
|
@@ -3382,6 +3683,7 @@ let Table = class Table {
|
|
|
3382
3683
|
.subscribe(value => this.filterModalShow.next(value));
|
|
3383
3684
|
}
|
|
3384
3685
|
ngOnChanges(changes) {
|
|
3686
|
+
var _a;
|
|
3385
3687
|
if (changes['items']) {
|
|
3386
3688
|
this._parseItems(changes['items'].currentValue);
|
|
3387
3689
|
}
|
|
@@ -3403,9 +3705,22 @@ let Table = class Table {
|
|
|
3403
3705
|
if (calculateRowSelectionData || changes['selectedRows']) {
|
|
3404
3706
|
this._setRowSelectionData();
|
|
3405
3707
|
}
|
|
3708
|
+
if ((_a = changes['enableScroll']) === null || _a === void 0 ? void 0 : _a.currentValue) {
|
|
3709
|
+
this._checkChangesSubscriptions();
|
|
3710
|
+
}
|
|
3711
|
+
}
|
|
3712
|
+
ngAfterViewInit() {
|
|
3713
|
+
if (this.enableScroll) {
|
|
3714
|
+
this._checkChangesSubscriptions();
|
|
3715
|
+
}
|
|
3716
|
+
if (this.columnDefinitions) {
|
|
3717
|
+
this.columnDefinitions.changes.pipe(untilDestroyed(this), debounceTime(100)).subscribe(() => this._generateColumns());
|
|
3718
|
+
this._generateColumns();
|
|
3719
|
+
}
|
|
3406
3720
|
}
|
|
3407
3721
|
onResize() {
|
|
3408
3722
|
this._setRowSelectionData();
|
|
3723
|
+
this._calculateColumnWidths();
|
|
3409
3724
|
}
|
|
3410
3725
|
keyDown({ key }) {
|
|
3411
3726
|
if (key !== 'Control' || this._ctrlDown === true) {
|
|
@@ -3459,6 +3774,12 @@ let Table = class Table {
|
|
|
3459
3774
|
}
|
|
3460
3775
|
return actions.filter(a => !a.showFunction || a.showFunction(this.parsedItems[rowIndex]));
|
|
3461
3776
|
}
|
|
3777
|
+
onContainerXScroll(ev) {
|
|
3778
|
+
if (!this.enableScroll) {
|
|
3779
|
+
return;
|
|
3780
|
+
}
|
|
3781
|
+
this._calculateScrollPosition(ev);
|
|
3782
|
+
}
|
|
3462
3783
|
_parseItems(items) {
|
|
3463
3784
|
if (!items) {
|
|
3464
3785
|
this.parsedItems = [];
|
|
@@ -3471,9 +3792,9 @@ let Table = class Table {
|
|
|
3471
3792
|
this.parsedItems = JSON.parse(items);
|
|
3472
3793
|
}
|
|
3473
3794
|
_generateColumns() {
|
|
3474
|
-
let definitionsArray = Array.from(this.
|
|
3795
|
+
let definitionsArray = Array.from(this.columnDefinitions);
|
|
3475
3796
|
definitionsArray = this._parseDefinitions(definitionsArray);
|
|
3476
|
-
this.columns
|
|
3797
|
+
this.columns$.next(definitionsArray);
|
|
3477
3798
|
}
|
|
3478
3799
|
_checkboxDisabled(item, rowIndex) {
|
|
3479
3800
|
const selectionContains = this._selectionContains(item, rowIndex);
|
|
@@ -3486,9 +3807,7 @@ let Table = class Table {
|
|
|
3486
3807
|
if (!this.enableRowSelection) {
|
|
3487
3808
|
return;
|
|
3488
3809
|
}
|
|
3489
|
-
const value = forceValue === undefined
|
|
3490
|
-
? this._getCheckedValue($event.target)
|
|
3491
|
-
: forceValue;
|
|
3810
|
+
const value = forceValue === undefined ? $event.detail : forceValue;
|
|
3492
3811
|
if (value) {
|
|
3493
3812
|
const toAdd = [];
|
|
3494
3813
|
for (let i = 0; i < this.parsedItems.length; i++) {
|
|
@@ -3750,11 +4069,10 @@ let Table = class Table {
|
|
|
3750
4069
|
enableRowSelection = true;
|
|
3751
4070
|
}
|
|
3752
4071
|
this.enableRowSelection = enableRowSelection;
|
|
3753
|
-
this.rowActionsRowDefinition$.next(this._parseRowActionsRowDefinition());
|
|
3754
4072
|
this.rowActionsRow$.next(rowActionsRow);
|
|
3755
4073
|
this.rowActionsFloatingAll$.next(rowActionsFloating);
|
|
3756
4074
|
this.floatingMenuShown$
|
|
3757
|
-
.pipe(take(1), filter
|
|
4075
|
+
.pipe(take(1), filter(v => !!v))
|
|
3758
4076
|
.subscribe(() => this._showFloatingMenu());
|
|
3759
4077
|
}, 200);
|
|
3760
4078
|
}
|
|
@@ -3771,41 +4089,10 @@ let Table = class Table {
|
|
|
3771
4089
|
});
|
|
3772
4090
|
}
|
|
3773
4091
|
_parseDefinitions(definitionsArray) {
|
|
3774
|
-
|
|
4092
|
+
return definitionsArray.map(definition => {
|
|
3775
4093
|
definition = this._parseDefinitionSizes(definition);
|
|
3776
|
-
definition.isLast = {};
|
|
3777
4094
|
return definition;
|
|
3778
4095
|
});
|
|
3779
|
-
const matchedIsLast = tableColumSizesOptions.reduce((data, size) => {
|
|
3780
|
-
data[size] = false;
|
|
3781
|
-
return data;
|
|
3782
|
-
}, {});
|
|
3783
|
-
for (let i = definitions.length - 1; i >= 0; i--) {
|
|
3784
|
-
const definition = definitions[i];
|
|
3785
|
-
for (const size of tableColumSizesOptions) {
|
|
3786
|
-
if (matchedIsLast[size]) {
|
|
3787
|
-
definition.isLast[size] = false;
|
|
3788
|
-
continue;
|
|
3789
|
-
}
|
|
3790
|
-
if (definition.parsedSizes[size] === 'hidden') {
|
|
3791
|
-
definition.isLast[size] = false;
|
|
3792
|
-
continue;
|
|
3793
|
-
}
|
|
3794
|
-
const isLastAtSizeFound = this._findLastDefinitionBySize(definitions, size);
|
|
3795
|
-
if (isLastAtSizeFound) {
|
|
3796
|
-
definition.isLast[size] = false;
|
|
3797
|
-
continue;
|
|
3798
|
-
}
|
|
3799
|
-
definition.isLast[size] = true;
|
|
3800
|
-
}
|
|
3801
|
-
}
|
|
3802
|
-
return definitions;
|
|
3803
|
-
}
|
|
3804
|
-
_findLastDefinitionBySize(definitions, size) {
|
|
3805
|
-
return definitions
|
|
3806
|
-
.slice()
|
|
3807
|
-
.reverse()
|
|
3808
|
-
.find(d => d.isLast[size] === true);
|
|
3809
4096
|
}
|
|
3810
4097
|
_parseDefinitionSizes(definition) {
|
|
3811
4098
|
var _a;
|
|
@@ -3826,35 +4113,98 @@ let Table = class Table {
|
|
|
3826
4113
|
definition.parsedSizes = parsedSizes;
|
|
3827
4114
|
return definition;
|
|
3828
4115
|
}
|
|
3829
|
-
|
|
3830
|
-
|
|
3831
|
-
|
|
3832
|
-
|
|
3833
|
-
|
|
3834
|
-
|
|
3835
|
-
for (const size of tableColumSizesOptions) {
|
|
3836
|
-
const lastColumn = this._findLastDefinitionBySize(this.columns, size);
|
|
3837
|
-
sizes[size] = lastColumn.parsedSizes[size];
|
|
4116
|
+
_checkChangesSubscriptions() {
|
|
4117
|
+
if (!this._rowChangesSubscription && this.tableRows) {
|
|
4118
|
+
this._rowChangesSubscription = this.tableRows.changes.pipe(untilDestroyed(this), debounceTime(100)).subscribe(() => this._calculateColumnWidths());
|
|
4119
|
+
}
|
|
4120
|
+
if (!this._cellChangesSubscription && this.tableCells) {
|
|
4121
|
+
this._cellChangesSubscription = this.tableCells.changes.pipe(untilDestroyed(this), debounceTime(100)).subscribe(() => this._calculateColumnWidths());
|
|
3838
4122
|
}
|
|
3839
|
-
|
|
3840
|
-
|
|
3841
|
-
|
|
3842
|
-
|
|
3843
|
-
|
|
3844
|
-
|
|
3845
|
-
|
|
3846
|
-
}
|
|
4123
|
+
}
|
|
4124
|
+
_calculateColumnWidths() {
|
|
4125
|
+
if (!this.enableScroll) {
|
|
4126
|
+
return;
|
|
4127
|
+
}
|
|
4128
|
+
if (!this.tableCells || !this.tableRows) {
|
|
4129
|
+
return;
|
|
4130
|
+
}
|
|
4131
|
+
if (this._calculateColumnWidthsTimeout) {
|
|
4132
|
+
clearTimeout(this._calculateColumnWidthsTimeout);
|
|
4133
|
+
this._calculateColumnWidthsTimeout = 0;
|
|
4134
|
+
}
|
|
4135
|
+
const rows = this.tableRows.map(c => c.nativeElement);
|
|
4136
|
+
const cells = this.tableCells.map(c => c.nativeElement);
|
|
4137
|
+
this._calculateColumnWidthsTimeout = setTimeout(() => __awaiter(this, void 0, void 0, function* () {
|
|
4138
|
+
var _a;
|
|
4139
|
+
this._setRowsWidth(rows);
|
|
4140
|
+
const promises = [];
|
|
4141
|
+
for (const cell of cells) {
|
|
4142
|
+
if ((_a = cell.style.width) === null || _a === void 0 ? void 0 : _a.length) {
|
|
4143
|
+
cell.style.width = '';
|
|
4144
|
+
}
|
|
4145
|
+
promises.push(new Promise(resolve => setTimeout(() => {
|
|
4146
|
+
const rect = cell.getBoundingClientRect();
|
|
4147
|
+
cell.setAttribute('style', `width: ${rect.width}px !important`);
|
|
4148
|
+
resolve();
|
|
4149
|
+
}, 100)));
|
|
4150
|
+
}
|
|
4151
|
+
yield Promise.all(promises);
|
|
4152
|
+
this._setRowsWidth(rows, 'min-content');
|
|
4153
|
+
this._resetScrollPosition();
|
|
4154
|
+
}), 200);
|
|
4155
|
+
}
|
|
4156
|
+
_setRowsWidth(rows, value = null) {
|
|
4157
|
+
for (let i = 0; i < rows.length; i++) {
|
|
4158
|
+
const row = rows[i];
|
|
4159
|
+
const shadow = row.shadowRoot;
|
|
4160
|
+
if (!shadow) {
|
|
4161
|
+
continue;
|
|
4162
|
+
}
|
|
4163
|
+
const firstDiv = shadow.querySelector('*:nth-child(1)');
|
|
4164
|
+
if (!firstDiv) {
|
|
4165
|
+
continue;
|
|
4166
|
+
}
|
|
4167
|
+
const secondDiv = firstDiv.querySelector('*:nth-child(1)');
|
|
4168
|
+
if (!secondDiv) {
|
|
4169
|
+
continue;
|
|
4170
|
+
}
|
|
4171
|
+
if (value === null) {
|
|
4172
|
+
firstDiv.setAttribute('style', '');
|
|
4173
|
+
secondDiv.setAttribute('style', '');
|
|
4174
|
+
continue;
|
|
4175
|
+
}
|
|
4176
|
+
firstDiv.setAttribute('style', 'width: min-content;');
|
|
4177
|
+
secondDiv.setAttribute('style', 'width: min-content;');
|
|
4178
|
+
if (i === 0) {
|
|
4179
|
+
this._totalWidth = firstDiv.getBoundingClientRect().width;
|
|
4180
|
+
}
|
|
4181
|
+
}
|
|
4182
|
+
}
|
|
4183
|
+
_resetScrollPosition() {
|
|
4184
|
+
if (this.scrollContainer) {
|
|
4185
|
+
this.scrollContainer.nativeElement.scrollLeft = 0;
|
|
4186
|
+
}
|
|
4187
|
+
this.reachedScrollStart$.next(true);
|
|
4188
|
+
this.reachedScrollEnd$.next(false);
|
|
4189
|
+
}
|
|
4190
|
+
_calculateScrollPosition({ target }) {
|
|
4191
|
+
this.reachedScrollStart$.next(target.scrollLeft < 100);
|
|
4192
|
+
const right = target.scrollLeft + target.getBoundingClientRect().width;
|
|
4193
|
+
this.reachedScrollEnd$.next(right > this._totalWidth - 100);
|
|
3847
4194
|
}
|
|
3848
4195
|
};
|
|
3849
4196
|
Table.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: Table, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
3850
|
-
Table.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: Table, selector: "p-table-ngx", inputs: { items: "items", loading: "loading", headerLoading: "headerLoading", footerLoading: "footerLoading", amountOfLoadingRows: "amountOfLoadingRows", enableRowSelection: "enableRowSelection", rowSelectionLimit: "rowSelectionLimit", enableRowClick: "enableRowClick", selectedRows: "selectedRows", selectionKey: "selectionKey", canSelectKey: "canSelectKey", enableFloatingMenu: "enableFloatingMenu", floatingMenuAmountSelectedText: "floatingMenuAmountSelectedText", floatingMenuAmountSelectedTemplate: "floatingMenuAmountSelectedTemplate", enableHeader: "enableHeader", quickFilters: "quickFilters", activeQuickFilterIdentifier: "activeQuickFilterIdentifier", enableSearch: "enableSearch", query: "query", enableFilter: "enableFilter", enableFilterDesktop: "enableFilterDesktop", selectedFiltersAmount: "selectedFiltersAmount", filterButtonTemplate: "filterButtonTemplate", enableAction: "enableAction", actionButtonLoading: "actionButtonLoading", actionButtonIcon: "actionButtonIcon", actionButtonEnabled: "actionButtonEnabled", actionButtonText: "actionButtonText", actionButtonTemplate: "actionButtonTemplate", enableFooter: "enableFooter", enablePageSize: "enablePageSize", enablePagination: "enablePagination", enableExport: "enableExport", page: "page", total: "total", pageSize: "pageSize", pageSizeOptions: "pageSizeOptions", hideOnSinglePage: "hideOnSinglePage", emptyStateType: "emptyStateType", emptyStateIllustration: "emptyStateIllustration", emptyStateHeader: "emptyStateHeader", emptyStateContent: "emptyStateContent", emptyStateAction: "emptyStateAction", enableEmptyStateAction: "enableEmptyStateAction", emptyStateFilteredIllustration: "emptyStateFilteredIllustration", emptyStateFilteredHeader: "emptyStateFilteredHeader", emptyStateFilteredContent: "emptyStateFilteredContent", shadow: "shadow", filterModalHeaderText: "filterModalHeaderText", filterModalSaveText: "filterModalSaveText", filterModalCancelText: "filterModalCancelText", filterModalResetText: "filterModalResetText", filterModalShowReset: "filterModalShowReset", filterModalShowResetMobile: "filterModalShowResetMobile" }, outputs: { selectedRowsChange: "selectedRowsChange", rowClick: "rowClick", rowSelected: "rowSelected", rowDeselected: "rowDeselected", quickFilter: "quickFilter", queryChange: "queryChange", filter: "filter", action: "action", pageChange: "pageChange", pageSizeChange: "pageSizeChange", export: "export", emptyStateActionClick: "emptyStateActionClick", filterModalShow: "filterModalShow", filterModalSave: "filterModalSave", filterModalReset: "filterModalReset" }, host: { listeners: { "window:resize": "onResize($event)", "document:keydown": "keyDown($event)", "document:keyup": "keyUp($event)", "document:visibilitychange": "visibilityChange($event)" } }, queries: [{ propertyName: "headerCustomFilterTemplate", first: true, predicate: TableCustomFilterDirective, descendants: true, read: TemplateRef, static: true }, { propertyName: "headerCustomActionsTemplate", first: true, predicate: TableCustomActionsDirective, descendants: true, read: TemplateRef, static: true }, { propertyName: "filterModalTemplate", first: true, predicate: TableFilterModalDirective, descendants: true, read: TemplateRef, static: true }, { propertyName: "columnDefinitions", predicate: TableColumn }, { propertyName: "rowActions", predicate: TableRowAction }], usesOnChanges: true, ngImport: i0, template: "<p-table-container [shadow]=\"shadow\">\n\t<p-table-header\n\t\t*ngIf=\"enableHeader\"\n\t\t[quickFilters]=\"quickFilters\"\n\t\t[activeQuickFilterIdentifier]=\"activeQuickFilterIdentifier\"\n\t\t(quickFilter)=\"onQuickFilter($event)\"\n\t\t[enableSearch]=\"enableSearch\"\n\t\t[query]=\"query\"\n\t\t(queryChange)=\"onQueryChange($event)\"\n\t\t[enableFilter]=\"enableFilter\"\n\t\t[enableFilterDesktop]=\"enableFilterDesktop\"\n\t\t[selectedFiltersAmount]=\"selectedFiltersAmount\"\n\t\t[filterButtonTemplate]=\"filterButtonTemplate\"\n\t\t(filter)=\"filterModalShow$.next(true)\"\n\t\t[enableAction]=\"enableAction\"\n\t\t[canUseAction]=\"actionButtonEnabled\"\n\t\t[actionButtonTemplate]=\"actionButtonTemplate\"\n\t\t[actionLoading]=\"actionButtonLoading\"\n\t\t[actionText]=\"actionButtonText\"\n\t\t[actionIcon]=\"actionButtonIcon\"\n\t\t(action)=\"action.emit()\"\n\t\t[itemsSelectedAmount]=\"selectedRows.length\"\n\t\t[loading]=\"headerLoading\"\n\t>\n\t\t<ng-container *ngIf=\"headerCustomFilterTemplate\">\n\t\t\t<ng-container\n\t\t\t\t*ngTemplateOutlet=\"headerCustomFilterTemplate\"\n\t\t\t></ng-container>\n\t\t</ng-container>\n\n\t\t<ng-container *ngIf=\"headerCustomActionsTemplate\">\n\t\t\t<ng-container\n\t\t\t\t*ngTemplateOutlet=\"headerCustomActionsTemplate\"\n\t\t\t></ng-container>\n\t\t</ng-container>\n\t</p-table-header>\n\n\t<p-table-row variant=\"header\">\n\t\t<ng-container *ngFor=\"let col of columns; let index = index\">\n\t\t\t<p-table-cell-ngx\n\t\t\t\t[definition]=\"col\"\n\t\t\t\t[value]=\"col.name\"\n\t\t\t\tvariant=\"header\"\n\t\t\t\t[index]=\"index\"\n\t\t\t\t[checkbox]=\"\n\t\t\t\t\t(index === 0 || col.hasCheckbox) && enableRowSelection\n\t\t\t\t\t\t? checkboxTemplate\n\t\t\t\t\t\t: undefined\n\t\t\t\t\"\n\t\t\t></p-table-cell-ngx>\n\t\t\t<ng-template #checkboxTemplate>\n\t\t\t\t<input\n\t\t\t\t\tclass=\"p-input\"\n\t\t\t\t\ttype=\"checkbox\"\n\t\t\t\t\t(change)=\"_selectAllChange($event)\"\n\t\t\t\t\t[checked]=\"_selectionContainsAll()\"\n\t\t\t\t\t[indeterminate]=\"_selectionIndeterminate()\"\n\t\t\t\t\t[class.opacity-0]=\"rowSelectionLimit !== undefined\"\n\t\t\t\t\t[disabled]=\"rowSelectionLimit !== undefined\"\n\t\t\t\t/>\n\t\t\t</ng-template>\n\t\t</ng-container>\n\t</p-table-row>\n\n\t<div class=\"flex flex-1 flex-col\">\n\t\t<ng-container *ngIf=\"loading; else contentTemplate\">\n\t\t\t<p-table-row\n\t\t\t\t*ngFor=\"let r of loadingRows; let rowIndex = index\"\n\t\t\t\t[enableHover]=\"enableRowSelection || enableRowClick\"\n\t\t\t>\n\t\t\t\t<ng-container *ngFor=\"let col of columns; let index = index\">\n\t\t\t\t\t<p-table-cell-ngx\n\t\t\t\t\t\t[definition]=\"col\"\n\t\t\t\t\t\tvariant=\"loading\"\n\t\t\t\t\t\t[checkbox]=\"\n\t\t\t\t\t\t\t(index === 0 || col.hasCheckbox) && enableRowSelection\n\t\t\t\t\t\t\t\t? checkboxTemplate\n\t\t\t\t\t\t\t\t: undefined\n\t\t\t\t\t\t\"\n\t\t\t\t\t\t[index]=\"index\"\n\t\t\t\t\t\t[rowIndex]=\"rowIndex\"\n\t\t\t\t\t></p-table-cell-ngx>\n\t\t\t\t\t<ng-template #checkboxTemplate>\n\t\t\t\t\t\t<p-loader\n\t\t\t\t\t\t\tvariant=\"ghost\"\n\t\t\t\t\t\t\tclass=\"h-6 w-6 rounded\"\n\t\t\t\t\t\t></p-loader>\n\t\t\t\t\t</ng-template>\n\t\t\t\t</ng-container>\n\t\t\t</p-table-row>\n\t\t</ng-container>\n\n\t\t<ng-template #contentTemplate>\n\t\t\t<ng-container *ngIf=\"parsedItems?.length; else emptyStateTemplate\">\n\t\t\t\t<p-table-row\n\t\t\t\t\t*ngFor=\"let item of parsedItems; let rowIndex = index\"\n\t\t\t\t\t[enableHover]=\"enableRowSelection || enableRowClick\"\n\t\t\t\t\t(click)=\"_rowClick($event, rowIndex)\"\n\t\t\t\t>\n\t\t\t\t\t<ng-container\n\t\t\t\t\t\t*ngIf=\"\n\t\t\t\t\t\t\tparseRowActionsRow(\n\t\t\t\t\t\t\t\trowActionsRow$ | async,\n\t\t\t\t\t\t\t\trowIndex\n\t\t\t\t\t\t\t) as rowActionsRow\n\t\t\t\t\t\t\"\n\t\t\t\t\t>\n\t\t\t\t\t\t<ng-container *ngFor=\"let col of columns; let index = index\">\n\t\t\t\t\t\t\t<p-table-cell-ngx\n\t\t\t\t\t\t\t\t[definition]=\"col\"\n\t\t\t\t\t\t\t\t[item]=\"item\"\n\t\t\t\t\t\t\t\t[checkbox]=\"\n\t\t\t\t\t\t\t\t\t(index === 0 || col.hasCheckbox) && enableRowSelection\n\t\t\t\t\t\t\t\t\t\t? checkboxTemplate\n\t\t\t\t\t\t\t\t\t\t: undefined\n\t\t\t\t\t\t\t\t\"\n\t\t\t\t\t\t\t\t[index]=\"index\"\n\t\t\t\t\t\t\t\t[rowIndex]=\"rowIndex\"\n\t\t\t\t\t\t\t\t[template]=\"col.template\"\n\t\t\t\t\t\t\t\t[tableHasActions]=\"\n\t\t\t\t\t\t\t\t\t!!rowActionsRow?.length && !(isMobile$ | async)\n\t\t\t\t\t\t\t\t\"\n\t\t\t\t\t\t\t></p-table-cell-ngx>\n\n\t\t\t\t\t\t\t<ng-template #checkboxTemplate>\n\t\t\t\t\t\t\t\t<input\n\t\t\t\t\t\t\t\t\tclass=\"p-input\"\n\t\t\t\t\t\t\t\t\ttype=\"checkbox\"\n\t\t\t\t\t\t\t\t\t(change)=\"_checkboxChange($event.target, rowIndex)\"\n\t\t\t\t\t\t\t\t\t[disabled]=\"_checkboxDisabled(item, rowIndex)\"\n\t\t\t\t\t\t\t\t\t[checked]=\"_selectionContains(item, rowIndex)\"\n\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t</ng-template>\n\t\t\t\t\t\t</ng-container>\n\n\t\t\t\t\t\t<ng-container\n\t\t\t\t\t\t\t*ngIf=\"\n\t\t\t\t\t\t\t\t!!rowActionsRow?.length &&\n\t\t\t\t\t\t\t\t!!(rowActionsRowDefinition$ | async) &&\n\t\t\t\t\t\t\t\t!(isMobile$ | async)\n\t\t\t\t\t\t\t\"\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t<p-table-cell-ngx\n\t\t\t\t\t\t\t\tvariant=\"actions\"\n\t\t\t\t\t\t\t\t[definition]=\"rowActionsRowDefinition$ | async\"\n\t\t\t\t\t\t\t\t[item]=\"parsedItems[rowIndex]\"\n\t\t\t\t\t\t\t\t[index]=\"columns.length - 1\"\n\t\t\t\t\t\t\t\t[rowIndex]=\"rowIndex\"\n\t\t\t\t\t\t\t\t[tableHasActions]=\"!!rowActionsRow?.length\"\n\t\t\t\t\t\t\t\t[template]=\"actionsTemplate\"\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t</p-table-cell-ngx>\n\n\t\t\t\t\t\t\t<ng-template #actionsTemplate>\n\t\t\t\t\t\t\t\t<div class=\"ml-auto flex items-center gap-2\">\n\t\t\t\t\t\t\t\t\t<ng-container *ngFor=\"let action of rowActionsRow\">\n\t\t\t\t\t\t\t\t\t\t<p-tooltip\n\t\t\t\t\t\t\t\t\t\t\t*ngIf=\"\n\t\t\t\t\t\t\t\t\t\t\t\taction.showFunction\n\t\t\t\t\t\t\t\t\t\t\t\t\t? action.showFunction(parsedItems[rowIndex])\n\t\t\t\t\t\t\t\t\t\t\t\t\t: true\n\t\t\t\t\t\t\t\t\t\t\t\"\n\t\t\t\t\t\t\t\t\t\t\t[content]=\"action.label\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t<p-button\n\t\t\t\t\t\t\t\t\t\t\t\tdata-is-action\n\t\t\t\t\t\t\t\t\t\t\t\tvariant=\"secondary\"\n\t\t\t\t\t\t\t\t\t\t\t\tslot=\"trigger\"\n\t\t\t\t\t\t\t\t\t\t\t\t[icon]=\"action.icon\"\n\t\t\t\t\t\t\t\t\t\t\t\t[iconRotate]=\"action.iconRotate\"\n\t\t\t\t\t\t\t\t\t\t\t\ticonFlip=\"action.iconFlip\"\n\t\t\t\t\t\t\t\t\t\t\t\ticonOnly=\"true\"\n\t\t\t\t\t\t\t\t\t\t\t\tsize=\"sm\"\n\t\t\t\t\t\t\t\t\t\t\t\t[loading]=\"action.loading\"\n\t\t\t\t\t\t\t\t\t\t\t\t[disabled]=\"action.disabled\"\n\t\t\t\t\t\t\t\t\t\t\t\t[routerLink]=\"\n\t\t\t\t\t\t\t\t\t\t\t\t\taction.routerLink\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t? (_getActionRouterLink(action.routerLink, rowIndex)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t | async)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t: null\n\t\t\t\t\t\t\t\t\t\t\t\t\"\n\t\t\t\t\t\t\t\t\t\t\t\t[queryParams]=\"\n\t\t\t\t\t\t\t\t\t\t\t\t\taction.queryParams\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t? (_getActionQueryParams(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\taction.queryParams,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\trowIndex\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t ) | async)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t: null\n\t\t\t\t\t\t\t\t\t\t\t\t\"\n\t\t\t\t\t\t\t\t\t\t\t\t(onClick)=\"_rowActionClick(action, rowIndex)\"\n\t\t\t\t\t\t\t\t\t\t\t></p-button>\n\t\t\t\t\t\t\t\t\t\t</p-tooltip>\n\t\t\t\t\t\t\t\t\t</ng-container>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t</ng-template>\n\t\t\t\t\t\t</ng-container>\n\t\t\t\t\t</ng-container>\n\t\t\t\t</p-table-row>\n\t\t\t</ng-container>\n\t\t</ng-template>\n\t</div>\n\n\t<p-table-footer\n\t\t*ngIf=\"enableFooter\"\n\t\t[hideOnSinglePage]=\"hideOnSinglePage\"\n\t\t[enablePageSize]=\"enablePageSize\"\n\t\t[pageSize]=\"pageSize\"\n\t\t[pageSizeOptions]=\"pageSizeOptions\"\n\t\t(pageSizeChange)=\"onPageSizeChange($event)\"\n\t\t[enablePagination]=\"enablePagination\"\n\t\t[page]=\"page\"\n\t\t[total]=\"total\"\n\t\t(pageChange)=\"onPageChange($event)\"\n\t\t[enableExport]=\"enableExport\"\n\t\t(export)=\"export.emit()\"\n\t\t[loading]=\"footerLoading\"\n\t></p-table-footer>\n\n\t<ng-container *ngIf=\"enableFloatingMenu && enableRowSelection\">\n\t\t<p-floating-menu-container\n\t\t\t[usedInTable]=\"true\"\n\t\t\t[class.inactive]=\"!selectedRows.length\"\n\t\t\t[class.shown]=\"floatingMenuShown$ | async\"\n\t\t>\n\t\t\t<p-floating-menu-item\n\t\t\t\t[hover]=\"false\"\n\t\t\t\tslot=\"floating-menu-item\"\n\t\t\t\t[class]=\"{\n\t\t\t\t\thidden: !!(rowActionsFloating$ | async)?.length,\n\t\t\t\t\t'tablet:flex': !!(rowActionsFloating$ | async)?.length\n\t\t\t\t}\"\n\t\t\t>\n\t\t\t\t{{ floatingMenuAmountSelectedText }}\n\t\t\t</p-floating-menu-item>\n\t\t\t<p-divider\n\t\t\t\tclass=\"mx-0 text-storm\"\n\t\t\t\tvariant=\"vertical\"\n\t\t\t\tslot=\"floating-menu-item\"\n\t\t\t\t[class]=\"{\n\t\t\t\t\thidden: !!(rowActionsFloating$ | async)?.length,\n\t\t\t\t\t'tablet:flex': !!(rowActionsFloating$ | async)?.length\n\t\t\t\t}\"\n\t\t\t></p-divider>\n\n\t\t\t<p-floating-menu-item\n\t\t\t\t*ngFor=\"let action of rowActionsFloating$ | async\"\n\t\t\t\tslot=\"floating-menu-item\"\n\t\t\t\t[disabled]=\"\n\t\t\t\t\t(action.type === 'single' && selectedRows.length > 1) ||\n\t\t\t\t\taction.disabled\n\t\t\t\t\"\n\t\t\t\t(click)=\"_rowActionClick(action)\"\n\t\t\t>\n\t\t\t\t{{ action.label }}\n\n\t\t\t\t<p-loader\n\t\t\t\t\t*ngIf=\"action.loading; else floatingMenuItemIconTemplate\"\n\t\t\t\t></p-loader>\n\n\t\t\t\t<ng-template #floatingMenuItemIconTemplate>\n\t\t\t\t\t<p-icon\n\t\t\t\t\t\t[variant]=\"action.icon\"\n\t\t\t\t\t\t[rotate]=\"action.iconRotate\"\n\t\t\t\t\t\t[flip]=\"action.iconFlip\"\n\t\t\t\t\t></p-icon>\n\t\t\t\t</ng-template>\n\t\t\t</p-floating-menu-item>\n\n\t\t\t<p-divider\n\t\t\t\tclass=\"mx-0 text-storm\"\n\t\t\t\tvariant=\"vertical\"\n\t\t\t\tslot=\"floating-menu-item\"\n\t\t\t></p-divider>\n\n\t\t\t<p-floating-menu-item\n\t\t\t\t(click)=\"_selectAllChange(null, false)\"\n\t\t\t\tslot=\"floating-menu-item\"\n\t\t\t>\n\t\t\t\t<p-icon variant=\"negative\"></p-icon>\n\t\t\t</p-floating-menu-item>\n\t\t</p-floating-menu-container>\n\t</ng-container>\n</p-table-container>\n\n<ng-container *ngIf=\"filterModalTemplate\">\n\t<p-modal\n\t\t[header]=\"filterModalHeaderText\"\n\t\t[show]=\"filterModalShow$ | async\"\n\t\t(closed)=\"filterModalShow$.next(false)\"\n\t>\n\t\t<div\n\t\t\tslot=\"content\"\n\t\t\tclass=\"flex flex-col gap-6\"\n\t\t>\n\t\t\t<ng-container *ngTemplateOutlet=\"filterModalTemplate\"></ng-container>\n\t\t</div>\n\t\t<div\n\t\t\tslot=\"footer\"\n\t\t\tclass=\"flex w-full justify-between gap-4\"\n\t\t>\n\t\t\t<p-button\n\t\t\t\t*ngIf=\"filterModalShowResetMobile\"\n\t\t\t\tclass=\"flex w-full tablet:w-auto desktop-xs:hidden\"\n\t\t\t\tvariant=\"secondary\"\n\t\t\t\t(onClick)=\"onFilterModalReset(true)\"\n\t\t\t>\n\t\t\t\t{{ filterModalResetText }}\n\t\t\t</p-button>\n\t\t\t<p-button\n\t\t\t\t*ngIf=\"filterModalShowReset\"\n\t\t\t\tclass=\"hidden w-full tablet:w-auto desktop-xs:flex\"\n\t\t\t\tvariant=\"secondary\"\n\t\t\t\t(onClick)=\"onFilterModalReset()\"\n\t\t\t>\n\t\t\t\t{{ filterModalResetText }}\n\t\t\t</p-button>\n\t\t\t<p-button\n\t\t\t\tclass=\"ml-auto w-full tablet:w-auto\"\n\t\t\t\ticon=\"checkmark\"\n\t\t\t\t(onClick)=\"onFilterModalSave()\"\n\t\t\t>\n\t\t\t\t{{ filterModalSaveText }}\n\t\t\t</p-button>\n\t\t</div>\n\t</p-modal>\n</ng-container>\n\n<ng-template #emptyStateTemplate>\n\t<div\n\t\t*ngIf=\"emptyStateType === 'filtered'; else emptyStateNonFilterTemplate\"\n\t\tclass=\"flex max-w-[20rem] flex-col items-center self-center py-24 text-center\"\n\t>\n\t\t<p-illustration\n\t\t\t[variant]=\"emptyStateFilteredIllustration\"\n\t\t\tclass=\"mb-6\"\n\t\t></p-illustration>\n\t\t<p class=\"text-storm-default font-semibold\">\n\t\t\t{{ emptyStateFilteredHeader }}\n\t\t</p>\n\t\t<p class=\"mb-14 text-sm text-storm-medium\">\n\t\t\t{{ emptyStateFilteredContent }}\n\t\t</p>\n\t</div>\n</ng-template>\n\n<ng-template #emptyStateNonFilterTemplate>\n\t<div\n\t\tclass=\"flex max-w-[20rem] flex-col items-center self-center py-24 text-center\"\n\t\t[class.cursor-pointer]=\"enableEmptyStateAction\"\n\t\t(click)=\"emptyStateClicked()\"\n\t>\n\t\t<p-illustration\n\t\t\t[variant]=\"emptyStateIllustration\"\n\t\t\tclass=\"mb-6\"\n\t\t></p-illustration>\n\t\t<p class=\"text-storm-default font-semibold\">\n\t\t\t{{ emptyStateHeader }}\n\t\t</p>\n\t\t<p class=\"mb-6 text-sm text-storm-medium\">\n\t\t\t{{ emptyStateContent }}\n\t\t</p>\n\t\t<p-button\n\t\t\t*ngIf=\"enableEmptyStateAction\"\n\t\t\tvariant=\"secondary\"\n\t\t\ticon=\"plus\"\n\t\t\tsize=\"sm\"\n\t\t>\n\t\t\t{{ emptyStateAction }}\n\t\t</p-button>\n\t</div>\n</ng-template>\n", styles: [":host{position:relative;display:flex;flex-direction:column}:host .p-input[type=checkbox]{flex-shrink:0}:host p-table-container{position:relative}:host p-table-container p-floating-menu-container{position:fixed;bottom:1rem;left:50%;--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));animation:forwards floatingMenuContainerIn .3s ease!important}@media (min-width: 40rem){:host p-table-container p-floating-menu-container{position:absolute;bottom:4rem}}:host p-table-container p-floating-menu-container:not(.shown){display:none}:host p-table-container p-floating-menu-container.inactive{animation:forwards floatingMenuContainerOut .3s ease!important}@keyframes floatingMenuContainerOut{0%{display:flex;transform:translateY(0) translate(-50%);opacity:100}99%{transform:translateY(100%) translate(-50%);opacity:0;display:flex}to{transform:translateY(100%) translate(-50%);opacity:0;display:none}}@keyframes floatingMenuContainerIn{0%{transform:translateY(100%) translate(-50%);opacity:0;display:none}1%{transform:translateY(100%) translate(-50%);opacity:0;display:flex}to{transform:translateY(0) translate(-50%);opacity:100;display:flex}}\n"], dependencies: [{ kind: "directive", type: i1$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i2.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "component", type: PButton, selector: "p-button", inputs: ["active", "as", "buttonGroupPosition", "chevron", "chevronPosition", "class", "disabled", "href", "icon", "iconFlip", "iconOnly", "iconPosition", "iconRotate", "inheritText", "loading", "size", "target", "type", "underline", "variant"] }, { kind: "component", type: PDivider, selector: "p-divider", inputs: ["variant"] }, { kind: "component", type: PFloatingMenuContainer, selector: "p-floating-menu-container", inputs: ["usedInTable"] }, { kind: "component", type: PFloatingMenuItem, selector: "p-floating-menu-item", inputs: ["disabled", "hover"] }, { kind: "component", type: PIcon, selector: "p-icon", inputs: ["flip", "rotate", "size", "variant"] }, { kind: "component", type: PIllustration, selector: "p-illustration", inputs: ["variant"] }, { kind: "component", type: PLoader, selector: "p-loader", inputs: ["color", "modalDescription", "modalTitle", "show", "variant"] }, { kind: "component", type: PModal, selector: "p-modal", inputs: ["applyBlur", "backdropClickClose", "header", "padding", "scrollLock", "show", "showClose", "showMobileFooter", "size", "variant"] }, { kind: "component", type: PTableContainer, selector: "p-table-container", inputs: ["shadow"] }, { kind: "component", type: PTableFooter, selector: "p-table-footer", inputs: ["enableExport", "enablePageSize", "enablePagination", "hideOnSinglePage", "loading", "page", "pageSize", "pageSizeOptions", "total"] }, { kind: "component", type: PTableHeader, selector: "p-table-header", inputs: ["actionButtonTemplate", "actionIcon", "actionLoading", "actionText", "activeQuickFilterIdentifier", "canUseAction", "enableAction", "enableFilter", "enableFilterDesktop", "enableSearch", "filterButtonTemplate", "itemsSelectedAmount", "loading", "query", "quickFilters", "selectedFiltersAmount"] }, { kind: "component", type: PTableRow, selector: "p-table-row", inputs: ["enableHover", "variant"] }, { kind: "component", type: PTooltip, selector: "p-tooltip", inputs: ["canManuallyClose", "content", "enableUserInput", "offset", "placement", "show", "strategy", "usePortal", "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 });
|
|
4197
|
+
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 });
|
|
3851
4198
|
Table = __decorate([
|
|
3852
4199
|
UntilDestroy({ checkProperties: true })
|
|
3853
4200
|
], Table);
|
|
3854
4201
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: Table, decorators: [{
|
|
3855
4202
|
type: Component,
|
|
3856
|
-
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"] }]
|
|
3857
|
-
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: {
|
|
4203
|
+
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" }]
|
|
4204
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { className: [{
|
|
4205
|
+
type: HostBinding,
|
|
4206
|
+
args: ['class']
|
|
4207
|
+
}], items: [{
|
|
3858
4208
|
type: Input
|
|
3859
4209
|
}], loading: [{
|
|
3860
4210
|
type: Input
|
|
@@ -3930,9 +4280,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
3930
4280
|
type: Output
|
|
3931
4281
|
}], enableFooter: [{
|
|
3932
4282
|
type: Input
|
|
3933
|
-
}],
|
|
4283
|
+
}], enablePaginationSize: [{
|
|
3934
4284
|
type: Input
|
|
3935
|
-
}],
|
|
4285
|
+
}], enablePaginationPages: [{
|
|
3936
4286
|
type: Input
|
|
3937
4287
|
}], enableExport: [{
|
|
3938
4288
|
type: Input
|
|
@@ -3962,6 +4312,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
3962
4312
|
type: Input
|
|
3963
4313
|
}], emptyStateAction: [{
|
|
3964
4314
|
type: Input
|
|
4315
|
+
}], emptyStateActionIcon: [{
|
|
4316
|
+
type: Input
|
|
3965
4317
|
}], enableEmptyStateAction: [{
|
|
3966
4318
|
type: Input
|
|
3967
4319
|
}], emptyStateFilteredIllustration: [{
|
|
@@ -3970,6 +4322,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
3970
4322
|
type: Input
|
|
3971
4323
|
}], emptyStateFilteredContent: [{
|
|
3972
4324
|
type: Input
|
|
4325
|
+
}], enableScroll: [{
|
|
4326
|
+
type: Input
|
|
4327
|
+
}], tableRows: [{
|
|
4328
|
+
type: ViewChildren,
|
|
4329
|
+
args: [PTableRow, { read: ElementRef }]
|
|
4330
|
+
}], tableCells: [{
|
|
4331
|
+
type: ViewChildren,
|
|
4332
|
+
args: [TableCell, { read: ElementRef }]
|
|
4333
|
+
}], scrollContainer: [{
|
|
4334
|
+
type: ViewChild,
|
|
4335
|
+
args: ['scrollContainer']
|
|
3973
4336
|
}], emptyStateActionClick: [{
|
|
3974
4337
|
type: Output
|
|
3975
4338
|
}], shadow: [{
|
|
@@ -4049,10 +4412,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
4049
4412
|
var ToastVariants;
|
|
4050
4413
|
(function (ToastVariants) {
|
|
4051
4414
|
ToastVariants["Success"] = "positive";
|
|
4052
|
-
ToastVariants["Warning"] = "
|
|
4415
|
+
ToastVariants["Warning"] = "biased";
|
|
4053
4416
|
ToastVariants["Error"] = "negative";
|
|
4417
|
+
ToastVariants["Neutral"] = "neutral";
|
|
4054
4418
|
ToastVariants["Positive"] = "positive";
|
|
4055
|
-
ToastVariants["
|
|
4419
|
+
ToastVariants["Biased"] = "biased";
|
|
4056
4420
|
ToastVariants["Negative"] = "negative";
|
|
4057
4421
|
})(ToastVariants || (ToastVariants = {}));
|
|
4058
4422
|
|
|
@@ -4161,7 +4525,7 @@ let ToastContainer = class ToastContainer {
|
|
|
4161
4525
|
}
|
|
4162
4526
|
};
|
|
4163
4527
|
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 });
|
|
4164
|
-
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$
|
|
4528
|
+
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 });
|
|
4165
4529
|
ToastContainer = __decorate([
|
|
4166
4530
|
ProxyCmp({
|
|
4167
4531
|
defineCustomElementFn: undefined,
|
|
@@ -4203,14 +4567,14 @@ class CustomCurrencyPipe {
|
|
|
4203
4567
|
return this._currencyPipe.transform(value, currencyCode, display, digitsInfo, locale);
|
|
4204
4568
|
}
|
|
4205
4569
|
}
|
|
4206
|
-
CustomCurrencyPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: CustomCurrencyPipe, deps: [{ token: i1$
|
|
4570
|
+
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 });
|
|
4207
4571
|
CustomCurrencyPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: CustomCurrencyPipe, name: "pcurrency" });
|
|
4208
4572
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: CustomCurrencyPipe, decorators: [{
|
|
4209
4573
|
type: Pipe,
|
|
4210
4574
|
args: [{
|
|
4211
4575
|
name: 'pcurrency',
|
|
4212
4576
|
}]
|
|
4213
|
-
}], ctorParameters: function () { return [{ type: i1$
|
|
4577
|
+
}], ctorParameters: function () { return [{ type: i1$2.CurrencyPipe }]; } });
|
|
4214
4578
|
|
|
4215
4579
|
class CustomDatePipe {
|
|
4216
4580
|
constructor(_datePipe) {
|
|
@@ -4220,14 +4584,14 @@ class CustomDatePipe {
|
|
|
4220
4584
|
return this._datePipe.transform(value, format);
|
|
4221
4585
|
}
|
|
4222
4586
|
}
|
|
4223
|
-
CustomDatePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: CustomDatePipe, deps: [{ token: i1$
|
|
4587
|
+
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 });
|
|
4224
4588
|
CustomDatePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: CustomDatePipe, name: "pdate" });
|
|
4225
4589
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: CustomDatePipe, decorators: [{
|
|
4226
4590
|
type: Pipe,
|
|
4227
4591
|
args: [{
|
|
4228
4592
|
name: 'pdate',
|
|
4229
4593
|
}]
|
|
4230
|
-
}], ctorParameters: function () { return [{ type: i1$
|
|
4594
|
+
}], ctorParameters: function () { return [{ type: i1$2.DatePipe }]; } });
|
|
4231
4595
|
|
|
4232
4596
|
class SafePipe {
|
|
4233
4597
|
constructor(sanitizer) {
|
|
@@ -4250,14 +4614,14 @@ class SafePipe {
|
|
|
4250
4614
|
}
|
|
4251
4615
|
}
|
|
4252
4616
|
}
|
|
4253
|
-
SafePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SafePipe, deps: [{ token: i1$
|
|
4617
|
+
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 });
|
|
4254
4618
|
SafePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: SafePipe, name: "psafe" });
|
|
4255
4619
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SafePipe, decorators: [{
|
|
4256
4620
|
type: Pipe,
|
|
4257
4621
|
args: [{
|
|
4258
4622
|
name: 'psafe',
|
|
4259
4623
|
}]
|
|
4260
|
-
}], ctorParameters: function () { return [{ type: i1$
|
|
4624
|
+
}], ctorParameters: function () { return [{ type: i1$3.DomSanitizer }]; } });
|
|
4261
4625
|
|
|
4262
4626
|
const PIPES = [CustomCurrencyPipe, CustomDatePipe, SafePipe];
|
|
4263
4627
|
|
|
@@ -4271,7 +4635,7 @@ class PaperlessModule {
|
|
|
4271
4635
|
}
|
|
4272
4636
|
}
|
|
4273
4637
|
PaperlessModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PaperlessModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4274
|
-
PaperlessModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: PaperlessModule, declarations: [
|
|
4638
|
+
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] });
|
|
4275
4639
|
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] });
|
|
4276
4640
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PaperlessModule, decorators: [{
|
|
4277
4641
|
type: NgModule,
|
|
@@ -4291,5 +4655,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
4291
4655
|
* Generated bundle index. Do not edit.
|
|
4292
4656
|
*/
|
|
4293
4657
|
|
|
4294
|
-
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,
|
|
4658
|
+
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 };
|
|
4295
4659
|
//# sourceMappingURL=paperless-angular.mjs.map
|