@paperless/angular 2.0.1-beta.19 → 2.0.1-beta.190
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 +410 -241
- package/esm2020/lib/stencil/index.mjs +16 -9
- package/esm2020/lib/stencil.module.mjs +1 -1
- package/fesm2015/paperless-angular.mjs +789 -378
- package/fesm2015/paperless-angular.mjs.map +1 -1
- package/fesm2020/paperless-angular.mjs +784 -377
- 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 +284 -157
- 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 {
|
|
@@ -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", calculateWidth: "calculateWidth", chevronDirection: "chevronDirection", chevronPosition: "chevronPosition", disableTriggerClick: "disableTriggerClick", insideClick: "insideClick", offset: "offset", placement: "placement", scrollable: "scrollable", show: "show", strategy: "strategy", usePortal: "usePortal" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
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", calculateWidth: "calculateWidth", chevronDirection: "chevronDirection", chevronPosition: "chevronPosition", disableTriggerClick: "disableTriggerClick", insideClick: "insideClick", offset: "offset", placement: "placement", scrollable: "scrollable", show: "show", strategy: "strategy", usePortal: "usePortal", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1011
1181
|
PDropdown = __decorate([
|
|
1012
1182
|
ProxyCmp({
|
|
1013
|
-
inputs: ['allowOverflow', 'applyChevron', 'applyFullWidth', 'applyMaxWidth', 'calculateWidth', 'chevronDirection', 'chevronPosition', 'disableTriggerClick', 'insideClick', 'offset', 'placement', 'scrollable', 'show', 'strategy', 'usePortal']
|
|
1183
|
+
inputs: ['allowOverflow', 'applyChevron', 'applyFullWidth', 'applyMaxWidth', 'calculateWidth', 'chevronDirection', 'chevronPosition', 'disableTriggerClick', 'insideClick', 'offset', 'placement', 'scrollable', 'show', 'strategy', 'usePortal', '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', 'calculateWidth', 'chevronDirection', 'chevronPosition', 'disableTriggerClick', 'insideClick', 'offset', 'placement', 'scrollable', 'show', 'strategy', 'usePortal'],
|
|
1193
|
+
inputs: ['allowOverflow', 'applyChevron', 'applyFullWidth', 'applyMaxWidth', 'calculateWidth', 'chevronDirection', 'chevronPosition', 'disableTriggerClick', 'insideClick', 'offset', 'placement', 'scrollable', 'show', 'strategy', 'usePortal', '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,78 +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'],
|
|
1938
|
+
}]
|
|
1939
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1940
|
+
let PPaginationSize = class PPaginationSize {
|
|
1941
|
+
constructor(c, r, z) {
|
|
1942
|
+
this.z = z;
|
|
1943
|
+
c.detach();
|
|
1944
|
+
this.el = r.nativeElement;
|
|
1945
|
+
proxyOutputs(this, this.el, ['sizeChange']);
|
|
1946
|
+
}
|
|
1947
|
+
};
|
|
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: [{
|
|
1956
|
+
type: Component,
|
|
1957
|
+
args: [{
|
|
1958
|
+
selector: 'p-pagination-size',
|
|
1959
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1960
|
+
template: '<ng-content></ng-content>',
|
|
1961
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1962
|
+
inputs: ['hidden', 'itemTemplate', 'size', 'sizeOptions'],
|
|
1697
1963
|
}]
|
|
1698
1964
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1699
1965
|
let PPortal = class PPortal {
|
|
@@ -1704,11 +1970,9 @@ let PPortal = class PPortal {
|
|
|
1704
1970
|
}
|
|
1705
1971
|
};
|
|
1706
1972
|
PPortal.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PPortal, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1707
|
-
PPortal.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PPortal, selector: "p-portal",
|
|
1973
|
+
PPortal.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PPortal, selector: "p-portal", ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1708
1974
|
PPortal = __decorate([
|
|
1709
|
-
ProxyCmp({
|
|
1710
|
-
inputs: ['containerClass']
|
|
1711
|
-
})
|
|
1975
|
+
ProxyCmp({})
|
|
1712
1976
|
], PPortal);
|
|
1713
1977
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PPortal, decorators: [{
|
|
1714
1978
|
type: Component,
|
|
@@ -1717,7 +1981,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
1717
1981
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1718
1982
|
template: '<ng-content></ng-content>',
|
|
1719
1983
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1720
|
-
inputs: [
|
|
1984
|
+
inputs: [],
|
|
1721
1985
|
}]
|
|
1722
1986
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1723
1987
|
let PProfile = class PProfile {
|
|
@@ -1744,6 +2008,56 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
1744
2008
|
inputs: ['dropdownLocation'],
|
|
1745
2009
|
}]
|
|
1746
2010
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
2011
|
+
let PRadio = class PRadio {
|
|
2012
|
+
constructor(c, r, z) {
|
|
2013
|
+
this.z = z;
|
|
2014
|
+
c.detach();
|
|
2015
|
+
this.el = r.nativeElement;
|
|
2016
|
+
proxyOutputs(this, this.el, ['checkedChange']);
|
|
2017
|
+
}
|
|
2018
|
+
};
|
|
2019
|
+
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 });
|
|
2020
|
+
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 });
|
|
2021
|
+
PRadio = __decorate([
|
|
2022
|
+
ProxyCmp({
|
|
2023
|
+
inputs: ['checked', 'disabled', 'id', 'name', 'required', 'value']
|
|
2024
|
+
})
|
|
2025
|
+
], PRadio);
|
|
2026
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PRadio, decorators: [{
|
|
2027
|
+
type: Component,
|
|
2028
|
+
args: [{
|
|
2029
|
+
selector: 'p-radio',
|
|
2030
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2031
|
+
template: '<ng-content></ng-content>',
|
|
2032
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
2033
|
+
inputs: ['checked', 'disabled', 'id', 'name', 'required', 'value'],
|
|
2034
|
+
}]
|
|
2035
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
2036
|
+
let PRange = class PRange {
|
|
2037
|
+
constructor(c, r, z) {
|
|
2038
|
+
this.z = z;
|
|
2039
|
+
c.detach();
|
|
2040
|
+
this.el = r.nativeElement;
|
|
2041
|
+
proxyOutputs(this, this.el, ['valueChange']);
|
|
2042
|
+
}
|
|
2043
|
+
};
|
|
2044
|
+
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 });
|
|
2045
|
+
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 });
|
|
2046
|
+
PRange = __decorate([
|
|
2047
|
+
ProxyCmp({
|
|
2048
|
+
inputs: ['max', 'min', 'step', 'value']
|
|
2049
|
+
})
|
|
2050
|
+
], PRange);
|
|
2051
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PRange, decorators: [{
|
|
2052
|
+
type: Component,
|
|
2053
|
+
args: [{
|
|
2054
|
+
selector: 'p-range',
|
|
2055
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2056
|
+
template: '<ng-content></ng-content>',
|
|
2057
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
2058
|
+
inputs: ['max', 'min', 'step', 'value'],
|
|
2059
|
+
}]
|
|
2060
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1747
2061
|
let PSegmentContainer = class PSegmentContainer {
|
|
1748
2062
|
constructor(c, r, z) {
|
|
1749
2063
|
this.z = z;
|
|
@@ -1774,10 +2088,10 @@ let PSegmentItem = class PSegmentItem {
|
|
|
1774
2088
|
}
|
|
1775
2089
|
};
|
|
1776
2090
|
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 });
|
|
1777
|
-
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",
|
|
2091
|
+
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 });
|
|
1778
2092
|
PSegmentItem = __decorate([
|
|
1779
2093
|
ProxyCmp({
|
|
1780
|
-
inputs: ['active', 'icon', 'iconFlip', 'iconOnly', 'iconRotate', '
|
|
2094
|
+
inputs: ['active', 'icon', 'iconFlip', 'iconOnly', 'iconRotate', 'variant']
|
|
1781
2095
|
})
|
|
1782
2096
|
], PSegmentItem);
|
|
1783
2097
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PSegmentItem, decorators: [{
|
|
@@ -1787,7 +2101,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
1787
2101
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1788
2102
|
template: '<ng-content></ng-content>',
|
|
1789
2103
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1790
|
-
inputs: ['active', 'icon', 'iconFlip', 'iconOnly', 'iconRotate', '
|
|
2104
|
+
inputs: ['active', 'icon', 'iconFlip', 'iconOnly', 'iconRotate', 'variant'],
|
|
1791
2105
|
}]
|
|
1792
2106
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1793
2107
|
let PSelect = class PSelect {
|
|
@@ -1799,10 +2113,10 @@ let PSelect = class PSelect {
|
|
|
1799
2113
|
}
|
|
1800
2114
|
};
|
|
1801
2115
|
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 });
|
|
1802
|
-
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",
|
|
2116
|
+
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", usePortal: "usePortal", value: "value", valueKey: "valueKey" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1803
2117
|
PSelect = __decorate([
|
|
1804
2118
|
ProxyCmp({
|
|
1805
|
-
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', '
|
|
2119
|
+
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', 'usePortal', 'value', 'valueKey']
|
|
1806
2120
|
})
|
|
1807
2121
|
], PSelect);
|
|
1808
2122
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PSelect, decorators: [{
|
|
@@ -1812,55 +2126,31 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
1812
2126
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1813
2127
|
template: '<ng-content></ng-content>',
|
|
1814
2128
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1815
|
-
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', '
|
|
1816
|
-
}]
|
|
1817
|
-
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1818
|
-
let PSliderIndicator = class PSliderIndicator {
|
|
1819
|
-
constructor(c, r, z) {
|
|
1820
|
-
this.z = z;
|
|
1821
|
-
c.detach();
|
|
1822
|
-
this.el = r.nativeElement;
|
|
1823
|
-
}
|
|
1824
|
-
};
|
|
1825
|
-
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 });
|
|
1826
|
-
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 });
|
|
1827
|
-
PSliderIndicator = __decorate([
|
|
1828
|
-
ProxyCmp({
|
|
1829
|
-
inputs: ['active']
|
|
1830
|
-
})
|
|
1831
|
-
], PSliderIndicator);
|
|
1832
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PSliderIndicator, decorators: [{
|
|
1833
|
-
type: Component,
|
|
1834
|
-
args: [{
|
|
1835
|
-
selector: 'p-slider-indicator',
|
|
1836
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1837
|
-
template: '<ng-content></ng-content>',
|
|
1838
|
-
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1839
|
-
inputs: ['active'],
|
|
2129
|
+
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', 'usePortal', 'value', 'valueKey'],
|
|
1840
2130
|
}]
|
|
1841
2131
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1842
|
-
let
|
|
2132
|
+
let PSmile = class PSmile {
|
|
1843
2133
|
constructor(c, r, z) {
|
|
1844
2134
|
this.z = z;
|
|
1845
2135
|
c.detach();
|
|
1846
2136
|
this.el = r.nativeElement;
|
|
1847
2137
|
}
|
|
1848
2138
|
};
|
|
1849
|
-
|
|
1850
|
-
|
|
1851
|
-
|
|
2139
|
+
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 });
|
|
2140
|
+
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 });
|
|
2141
|
+
PSmile = __decorate([
|
|
1852
2142
|
ProxyCmp({
|
|
1853
|
-
inputs: ['
|
|
2143
|
+
inputs: ['variant']
|
|
1854
2144
|
})
|
|
1855
|
-
],
|
|
1856
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type:
|
|
2145
|
+
], PSmile);
|
|
2146
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PSmile, decorators: [{
|
|
1857
2147
|
type: Component,
|
|
1858
2148
|
args: [{
|
|
1859
|
-
selector: 'p-
|
|
2149
|
+
selector: 'p-smile',
|
|
1860
2150
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1861
2151
|
template: '<ng-content></ng-content>',
|
|
1862
2152
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1863
|
-
inputs: ['
|
|
2153
|
+
inputs: ['variant'],
|
|
1864
2154
|
}]
|
|
1865
2155
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1866
2156
|
let PStepper = class PStepper {
|
|
@@ -1871,10 +2161,10 @@ let PStepper = class PStepper {
|
|
|
1871
2161
|
}
|
|
1872
2162
|
};
|
|
1873
2163
|
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 });
|
|
1874
|
-
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 });
|
|
2164
|
+
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 });
|
|
1875
2165
|
PStepper = __decorate([
|
|
1876
2166
|
ProxyCmp({
|
|
1877
|
-
inputs: ['activeStep', 'contentPosition', 'direction']
|
|
2167
|
+
inputs: ['activeStep', 'align', 'contentPosition', 'direction', 'enableAutoStatus', 'steps']
|
|
1878
2168
|
})
|
|
1879
2169
|
], PStepper);
|
|
1880
2170
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PStepper, decorators: [{
|
|
@@ -1884,7 +2174,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
1884
2174
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1885
2175
|
template: '<ng-content></ng-content>',
|
|
1886
2176
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1887
|
-
inputs: ['activeStep', 'contentPosition', 'direction'],
|
|
2177
|
+
inputs: ['activeStep', 'align', 'contentPosition', 'direction', 'enableAutoStatus', 'steps'],
|
|
1888
2178
|
}]
|
|
1889
2179
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1890
2180
|
let PStepperItem = class PStepperItem {
|
|
@@ -1895,10 +2185,10 @@ let PStepperItem = class PStepperItem {
|
|
|
1895
2185
|
}
|
|
1896
2186
|
};
|
|
1897
2187
|
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 });
|
|
1898
|
-
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 });
|
|
2188
|
+
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 });
|
|
1899
2189
|
PStepperItem = __decorate([
|
|
1900
2190
|
ProxyCmp({
|
|
1901
|
-
inputs: ['active', 'align', 'contentPosition', 'direction', 'finished']
|
|
2191
|
+
inputs: ['active', 'align', 'contentPosition', 'direction', 'finished', 'number']
|
|
1902
2192
|
})
|
|
1903
2193
|
], PStepperItem);
|
|
1904
2194
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PStepperItem, decorators: [{
|
|
@@ -1908,7 +2198,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
1908
2198
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1909
2199
|
template: '<ng-content></ng-content>',
|
|
1910
2200
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
1911
|
-
inputs: ['active', 'align', 'contentPosition', 'direction', 'finished'],
|
|
2201
|
+
inputs: ['active', 'align', 'contentPosition', 'direction', 'finished', 'number'],
|
|
1912
2202
|
}]
|
|
1913
2203
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1914
2204
|
let PStepperLine = class PStepperLine {
|
|
@@ -1935,22 +2225,22 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
1935
2225
|
inputs: ['active', 'direction'],
|
|
1936
2226
|
}]
|
|
1937
2227
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
1938
|
-
let
|
|
2228
|
+
let PTabContainer = class PTabContainer {
|
|
1939
2229
|
constructor(c, r, z) {
|
|
1940
2230
|
this.z = z;
|
|
1941
2231
|
c.detach();
|
|
1942
2232
|
this.el = r.nativeElement;
|
|
1943
2233
|
}
|
|
1944
2234
|
};
|
|
1945
|
-
|
|
1946
|
-
|
|
1947
|
-
|
|
2235
|
+
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 });
|
|
2236
|
+
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 });
|
|
2237
|
+
PTabContainer = __decorate([
|
|
1948
2238
|
ProxyCmp({})
|
|
1949
|
-
],
|
|
1950
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type:
|
|
2239
|
+
], PTabContainer);
|
|
2240
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PTabContainer, decorators: [{
|
|
1951
2241
|
type: Component,
|
|
1952
2242
|
args: [{
|
|
1953
|
-
selector: 'p-tab-
|
|
2243
|
+
selector: 'p-tab-container',
|
|
1954
2244
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1955
2245
|
template: '<ng-content></ng-content>',
|
|
1956
2246
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
@@ -1989,11 +2279,9 @@ let PTableContainer = class PTableContainer {
|
|
|
1989
2279
|
}
|
|
1990
2280
|
};
|
|
1991
2281
|
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 });
|
|
1992
|
-
PTableContainer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PTableContainer, selector: "p-table-container",
|
|
2282
|
+
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 });
|
|
1993
2283
|
PTableContainer = __decorate([
|
|
1994
|
-
ProxyCmp({
|
|
1995
|
-
inputs: ['shadow']
|
|
1996
|
-
})
|
|
2284
|
+
ProxyCmp({})
|
|
1997
2285
|
], PTableContainer);
|
|
1998
2286
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PTableContainer, decorators: [{
|
|
1999
2287
|
type: Component,
|
|
@@ -2002,7 +2290,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
2002
2290
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2003
2291
|
template: '<ng-content></ng-content>',
|
|
2004
2292
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
2005
|
-
inputs: [
|
|
2293
|
+
inputs: [],
|
|
2006
2294
|
}]
|
|
2007
2295
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
2008
2296
|
let PTableFooter = class PTableFooter {
|
|
@@ -2010,14 +2298,14 @@ let PTableFooter = class PTableFooter {
|
|
|
2010
2298
|
this.z = z;
|
|
2011
2299
|
c.detach();
|
|
2012
2300
|
this.el = r.nativeElement;
|
|
2013
|
-
proxyOutputs(this, this.el, ['pageChange', 'pageSizeChange', '
|
|
2301
|
+
proxyOutputs(this, this.el, ['pageChange', 'pageSizeChange', 'hiddenChange']);
|
|
2014
2302
|
}
|
|
2015
2303
|
};
|
|
2016
2304
|
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 });
|
|
2017
|
-
PTableFooter.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.9", type: PTableFooter, selector: "p-table-footer", inputs: {
|
|
2305
|
+
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 });
|
|
2018
2306
|
PTableFooter = __decorate([
|
|
2019
2307
|
ProxyCmp({
|
|
2020
|
-
inputs: ['
|
|
2308
|
+
inputs: ['enablePaginationPages', 'enablePaginationSize', 'hideOnSinglePage', 'loading', 'page', 'pageSize', 'pageSizeOptions', 'total']
|
|
2021
2309
|
})
|
|
2022
2310
|
], PTableFooter);
|
|
2023
2311
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PTableFooter, decorators: [{
|
|
@@ -2027,7 +2315,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
2027
2315
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2028
2316
|
template: '<ng-content></ng-content>',
|
|
2029
2317
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
2030
|
-
inputs: ['
|
|
2318
|
+
inputs: ['enablePaginationPages', 'enablePaginationSize', 'hideOnSinglePage', 'loading', 'page', 'pageSize', 'pageSizeOptions', 'total'],
|
|
2031
2319
|
}]
|
|
2032
2320
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
2033
2321
|
let PTableHeader = class PTableHeader {
|
|
@@ -2035,14 +2323,14 @@ let PTableHeader = class PTableHeader {
|
|
|
2035
2323
|
this.z = z;
|
|
2036
2324
|
c.detach();
|
|
2037
2325
|
this.el = r.nativeElement;
|
|
2038
|
-
proxyOutputs(this, this.el, ['quickFilter', 'queryChange', 'filter', 'action']);
|
|
2326
|
+
proxyOutputs(this, this.el, ['quickFilter', 'queryChange', 'filter', 'action', 'export']);
|
|
2039
2327
|
}
|
|
2040
2328
|
};
|
|
2041
2329
|
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 });
|
|
2042
|
-
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 });
|
|
2330
|
+
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 });
|
|
2043
2331
|
PTableHeader = __decorate([
|
|
2044
2332
|
ProxyCmp({
|
|
2045
|
-
inputs: ['actionButtonTemplate', 'actionIcon', 'actionLoading', 'actionText', 'activeQuickFilterIdentifier', 'canUseAction', 'enableAction', 'enableFilter', 'enableFilterDesktop', 'enableSearch', 'filterButtonTemplate', 'itemsSelectedAmount', 'loading', 'query', 'quickFilters', 'selectedFiltersAmount']
|
|
2333
|
+
inputs: ['actionButtonTemplate', 'actionIcon', 'actionLoading', 'actionText', 'activeQuickFilterIdentifier', 'canUseAction', 'enableAction', 'enableExport', 'enableFilter', 'enableFilterDesktop', 'enableSearch', 'filterButtonTemplate', 'itemsSelectedAmount', 'loading', 'query', 'quickFilters', 'selectedFiltersAmount']
|
|
2046
2334
|
})
|
|
2047
2335
|
], PTableHeader);
|
|
2048
2336
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PTableHeader, decorators: [{
|
|
@@ -2052,7 +2340,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
2052
2340
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2053
2341
|
template: '<ng-content></ng-content>',
|
|
2054
2342
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
2055
|
-
inputs: ['actionButtonTemplate', 'actionIcon', 'actionLoading', 'actionText', 'activeQuickFilterIdentifier', 'canUseAction', 'enableAction', 'enableFilter', 'enableFilterDesktop', 'enableSearch', 'filterButtonTemplate', 'itemsSelectedAmount', 'loading', 'query', 'quickFilters', 'selectedFiltersAmount'],
|
|
2343
|
+
inputs: ['actionButtonTemplate', 'actionIcon', 'actionLoading', 'actionText', 'activeQuickFilterIdentifier', 'canUseAction', 'enableAction', 'enableExport', 'enableFilter', 'enableFilterDesktop', 'enableSearch', 'filterButtonTemplate', 'itemsSelectedAmount', 'loading', 'query', 'quickFilters', 'selectedFiltersAmount'],
|
|
2056
2344
|
}]
|
|
2057
2345
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
2058
2346
|
let PTableRow = class PTableRow {
|
|
@@ -2063,10 +2351,10 @@ let PTableRow = class PTableRow {
|
|
|
2063
2351
|
}
|
|
2064
2352
|
};
|
|
2065
2353
|
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 });
|
|
2066
|
-
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 });
|
|
2354
|
+
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 });
|
|
2067
2355
|
PTableRow = __decorate([
|
|
2068
2356
|
ProxyCmp({
|
|
2069
|
-
inputs: ['enableHover', 'variant']
|
|
2357
|
+
inputs: ['checked', 'enableHover', 'variant']
|
|
2070
2358
|
})
|
|
2071
2359
|
], PTableRow);
|
|
2072
2360
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PTableRow, decorators: [{
|
|
@@ -2076,7 +2364,29 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
2076
2364
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2077
2365
|
template: '<ng-content></ng-content>',
|
|
2078
2366
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
2079
|
-
inputs: ['enableHover', 'variant'],
|
|
2367
|
+
inputs: ['checked', 'enableHover', 'variant'],
|
|
2368
|
+
}]
|
|
2369
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
2370
|
+
let PTableRowActionsContainer = class PTableRowActionsContainer {
|
|
2371
|
+
constructor(c, r, z) {
|
|
2372
|
+
this.z = z;
|
|
2373
|
+
c.detach();
|
|
2374
|
+
this.el = r.nativeElement;
|
|
2375
|
+
}
|
|
2376
|
+
};
|
|
2377
|
+
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 });
|
|
2378
|
+
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 });
|
|
2379
|
+
PTableRowActionsContainer = __decorate([
|
|
2380
|
+
ProxyCmp({})
|
|
2381
|
+
], PTableRowActionsContainer);
|
|
2382
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PTableRowActionsContainer, decorators: [{
|
|
2383
|
+
type: Component,
|
|
2384
|
+
args: [{
|
|
2385
|
+
selector: 'p-table-row-actions-container',
|
|
2386
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2387
|
+
template: '<ng-content></ng-content>',
|
|
2388
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
2389
|
+
inputs: [],
|
|
2080
2390
|
}]
|
|
2081
2391
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
2082
2392
|
let PToast = class PToast {
|
|
@@ -2104,6 +2414,31 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
2104
2414
|
inputs: ['actionIcon', 'actionIconFlip', 'actionIconRotate', 'content', 'enableAction', 'header', 'variant'],
|
|
2105
2415
|
}]
|
|
2106
2416
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
2417
|
+
let PToggle = class PToggle {
|
|
2418
|
+
constructor(c, r, z) {
|
|
2419
|
+
this.z = z;
|
|
2420
|
+
c.detach();
|
|
2421
|
+
this.el = r.nativeElement;
|
|
2422
|
+
proxyOutputs(this, this.el, ['checkedChange', 'indeterminateChange']);
|
|
2423
|
+
}
|
|
2424
|
+
};
|
|
2425
|
+
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 });
|
|
2426
|
+
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 });
|
|
2427
|
+
PToggle = __decorate([
|
|
2428
|
+
ProxyCmp({
|
|
2429
|
+
inputs: ['checked', 'disabled', 'id', 'name', 'required']
|
|
2430
|
+
})
|
|
2431
|
+
], PToggle);
|
|
2432
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PToggle, decorators: [{
|
|
2433
|
+
type: Component,
|
|
2434
|
+
args: [{
|
|
2435
|
+
selector: 'p-toggle',
|
|
2436
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2437
|
+
template: '<ng-content></ng-content>',
|
|
2438
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
2439
|
+
inputs: ['checked', 'disabled', 'id', 'name', 'required'],
|
|
2440
|
+
}]
|
|
2441
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
2107
2442
|
let PTooltip = class PTooltip {
|
|
2108
2443
|
constructor(c, r, z) {
|
|
2109
2444
|
this.z = z;
|
|
@@ -2143,8 +2478,8 @@ const DIRECTIVES = [
|
|
|
2143
2478
|
PCardBody,
|
|
2144
2479
|
PCardContainer,
|
|
2145
2480
|
PCardHeader,
|
|
2481
|
+
PCheckbox,
|
|
2146
2482
|
PContentSlider,
|
|
2147
|
-
PCounter,
|
|
2148
2483
|
PCropper,
|
|
2149
2484
|
PDatepicker,
|
|
2150
2485
|
PDivider,
|
|
@@ -2155,6 +2490,7 @@ const DIRECTIVES = [
|
|
|
2155
2490
|
PDropdown,
|
|
2156
2491
|
PDropdownMenuContainer,
|
|
2157
2492
|
PDropdownMenuItem,
|
|
2493
|
+
PEmptyState,
|
|
2158
2494
|
PField,
|
|
2159
2495
|
PFieldContainer,
|
|
2160
2496
|
PFloatingMenuContainer,
|
|
@@ -2162,12 +2498,14 @@ const DIRECTIVES = [
|
|
|
2162
2498
|
PHelper,
|
|
2163
2499
|
PIbanIcon,
|
|
2164
2500
|
PIcon,
|
|
2165
|
-
PIconDeprecated,
|
|
2166
2501
|
PIllustration,
|
|
2502
|
+
PIllustrationDeprecated,
|
|
2167
2503
|
PInfoPanel,
|
|
2168
|
-
PInputError,
|
|
2169
2504
|
PLabel,
|
|
2170
2505
|
PLayout,
|
|
2506
|
+
PListing,
|
|
2507
|
+
PListingItem,
|
|
2508
|
+
PListingLine,
|
|
2171
2509
|
PLoader,
|
|
2172
2510
|
PModal,
|
|
2173
2511
|
PModalBody,
|
|
@@ -2178,33 +2516,37 @@ const DIRECTIVES = [
|
|
|
2178
2516
|
PNavigationItem,
|
|
2179
2517
|
PNavigationSection,
|
|
2180
2518
|
PNavigationTitle,
|
|
2181
|
-
PPageSizeSelect,
|
|
2182
2519
|
PPagination,
|
|
2183
|
-
|
|
2520
|
+
PPaginationPages,
|
|
2521
|
+
PPaginationPagesItem,
|
|
2522
|
+
PPaginationSize,
|
|
2184
2523
|
PPortal,
|
|
2185
2524
|
PProfile,
|
|
2525
|
+
PRadio,
|
|
2526
|
+
PRange,
|
|
2186
2527
|
PSegmentContainer,
|
|
2187
2528
|
PSegmentItem,
|
|
2188
2529
|
PSelect,
|
|
2189
|
-
|
|
2190
|
-
PStatus,
|
|
2530
|
+
PSmile,
|
|
2191
2531
|
PStepper,
|
|
2192
2532
|
PStepperItem,
|
|
2193
2533
|
PStepperLine,
|
|
2194
|
-
|
|
2534
|
+
PTabContainer,
|
|
2195
2535
|
PTabItem,
|
|
2196
2536
|
PTableContainer,
|
|
2197
2537
|
PTableFooter,
|
|
2198
2538
|
PTableHeader,
|
|
2199
2539
|
PTableRow,
|
|
2540
|
+
PTableRowActionsContainer,
|
|
2200
2541
|
PToast,
|
|
2542
|
+
PToggle,
|
|
2201
2543
|
PTooltip
|
|
2202
2544
|
];
|
|
2203
2545
|
|
|
2204
2546
|
class StencilModule {
|
|
2205
2547
|
}
|
|
2206
2548
|
StencilModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: StencilModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2207
|
-
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,
|
|
2549
|
+
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, PPortal, 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, PPortal, PProfile, PRadio, PRange, PSegmentContainer, PSegmentItem, PSelect, PSmile, PStepper, PStepperItem, PStepperLine, PTabContainer, PTabItem, PTableContainer, PTableFooter, PTableHeader, PTableRow, PTableRowActionsContainer, PToast, PToggle, PTooltip] });
|
|
2208
2550
|
StencilModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: StencilModule });
|
|
2209
2551
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: StencilModule, decorators: [{
|
|
2210
2552
|
type: NgModule,
|
|
@@ -2318,11 +2660,11 @@ class OverlayService {
|
|
|
2318
2660
|
}
|
|
2319
2661
|
}
|
|
2320
2662
|
}
|
|
2321
|
-
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 });
|
|
2663
|
+
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 });
|
|
2322
2664
|
OverlayService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: OverlayService });
|
|
2323
2665
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: OverlayService, decorators: [{
|
|
2324
2666
|
type: Injectable
|
|
2325
|
-
}], ctorParameters: function () { return [{ type: i0.Injector }, { type: i1.Overlay }]; } });
|
|
2667
|
+
}], ctorParameters: function () { return [{ type: i0.Injector }, { type: i1$1.Overlay }]; } });
|
|
2326
2668
|
|
|
2327
2669
|
const OVERLAY_SERVICES = [OverlayService];
|
|
2328
2670
|
|
|
@@ -2461,7 +2803,7 @@ let BaseTableComponent = class BaseTableComponent extends BaseFormComponent {
|
|
|
2461
2803
|
selectedRows: this.parsedDefaultTableValues.selectedRows,
|
|
2462
2804
|
});
|
|
2463
2805
|
this.tableOptions.valueChanges
|
|
2464
|
-
.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 => {
|
|
2806
|
+
.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 => {
|
|
2465
2807
|
var _a;
|
|
2466
2808
|
if ((changes === null || changes === void 0 ? void 0 : changes.query) && ((_a = Object.keys(changes)) === null || _a === void 0 ? void 0 : _a.length) === 1) {
|
|
2467
2809
|
return timer(300);
|
|
@@ -2546,7 +2888,7 @@ let BaseTableComponent = class BaseTableComponent extends BaseFormComponent {
|
|
|
2546
2888
|
return Object.keys(changes).length ? changes : null;
|
|
2547
2889
|
}
|
|
2548
2890
|
_watchProperty(observable, identifier = 'id') {
|
|
2549
|
-
return observable.pipe(untilDestroyed(this), startWith(null), pairwise(), filter(([prev, cur]) => prev !== cur && !!cur), tap(([previous, current]) => {
|
|
2891
|
+
return observable.pipe(untilDestroyed(this), startWith(null), pairwise(), filter$1(([prev, cur]) => prev !== cur && !!cur), tap(([previous, current]) => {
|
|
2550
2892
|
if (previous && previous[identifier] !== (current === null || current === void 0 ? void 0 : current[identifier])) {
|
|
2551
2893
|
this.resetTable(false, true);
|
|
2552
2894
|
}
|
|
@@ -2572,7 +2914,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
2572
2914
|
With this, we shall hack the system in ways no one would ever have thought.
|
|
2573
2915
|
|
|
2574
2916
|
justify-start justify-center justify-end
|
|
2575
|
-
font-semibold text-
|
|
2917
|
+
font-semibold text-black-teal text-black-teal-400 text-black-teal-300
|
|
2576
2918
|
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
|
|
2577
2919
|
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
|
|
2578
2920
|
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
|
|
@@ -2639,13 +2981,9 @@ class TableCell {
|
|
|
2639
2981
|
* The index of the row
|
|
2640
2982
|
*/
|
|
2641
2983
|
this.rowIndex = 0;
|
|
2642
|
-
/**
|
|
2643
|
-
* Wether the table has actions
|
|
2644
|
-
*/
|
|
2645
|
-
this.tableHasActions = false;
|
|
2646
2984
|
}
|
|
2647
2985
|
get class() {
|
|
2648
|
-
return getTableCellColumnClasses(this.definition, this.variant
|
|
2986
|
+
return getTableCellColumnClasses(this.definition, this.variant);
|
|
2649
2987
|
}
|
|
2650
2988
|
get data() {
|
|
2651
2989
|
var _a;
|
|
@@ -2654,14 +2992,6 @@ class TableCell {
|
|
|
2654
2992
|
value: this.value,
|
|
2655
2993
|
};
|
|
2656
2994
|
}
|
|
2657
|
-
if (this.variant === 'actions') {
|
|
2658
|
-
return {
|
|
2659
|
-
value: this.value,
|
|
2660
|
-
item: this.item,
|
|
2661
|
-
index: this.index,
|
|
2662
|
-
rowIndex: this.rowIndex,
|
|
2663
|
-
};
|
|
2664
|
-
}
|
|
2665
2995
|
return {
|
|
2666
2996
|
value: (_a = this.value) !== null && _a !== void 0 ? _a : objectGetByPath(this.item, this.definition.path),
|
|
2667
2997
|
item: this.item,
|
|
@@ -2671,10 +3001,10 @@ class TableCell {
|
|
|
2671
3001
|
}
|
|
2672
3002
|
}
|
|
2673
3003
|
TableCell.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TableCell, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2674
|
-
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",
|
|
3004
|
+
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"] }] });
|
|
2675
3005
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TableCell, decorators: [{
|
|
2676
3006
|
type: Component,
|
|
2677
|
-
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"
|
|
3007
|
+
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" }]
|
|
2678
3008
|
}], propDecorators: { variant: [{
|
|
2679
3009
|
type: Input
|
|
2680
3010
|
}], index: [{
|
|
@@ -2687,8 +3017,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
2687
3017
|
type: Input
|
|
2688
3018
|
}], value: [{
|
|
2689
3019
|
type: Input
|
|
2690
|
-
}], tableHasActions: [{
|
|
2691
|
-
type: Input
|
|
2692
3020
|
}], checkbox: [{
|
|
2693
3021
|
type: Input
|
|
2694
3022
|
}], template: [{
|
|
@@ -2707,11 +3035,19 @@ let TableColumn = class TableColumn {
|
|
|
2707
3035
|
}
|
|
2708
3036
|
};
|
|
2709
3037
|
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 });
|
|
2710
|
-
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",
|
|
3038
|
+
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 });
|
|
2711
3039
|
TableColumn = __decorate([
|
|
2712
3040
|
ProxyCmp({
|
|
2713
3041
|
defineCustomElementFn: undefined,
|
|
2714
|
-
inputs: [
|
|
3042
|
+
inputs: [
|
|
3043
|
+
'align',
|
|
3044
|
+
'name',
|
|
3045
|
+
'path',
|
|
3046
|
+
'sizes',
|
|
3047
|
+
'variant',
|
|
3048
|
+
'useSlot',
|
|
3049
|
+
'hasCheckbox',
|
|
3050
|
+
],
|
|
2715
3051
|
})
|
|
2716
3052
|
], TableColumn);
|
|
2717
3053
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: TableColumn, decorators: [{
|
|
@@ -2720,7 +3056,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
2720
3056
|
selector: 'p-table-column',
|
|
2721
3057
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2722
3058
|
template: '<ng-content></ng-content>',
|
|
2723
|
-
inputs: [
|
|
3059
|
+
inputs: [
|
|
3060
|
+
'align',
|
|
3061
|
+
'name',
|
|
3062
|
+
'path',
|
|
3063
|
+
'sizes',
|
|
3064
|
+
'variant',
|
|
3065
|
+
'useSlot',
|
|
3066
|
+
'hasCheckbox',
|
|
3067
|
+
],
|
|
2724
3068
|
}]
|
|
2725
3069
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; }, propDecorators: { template: [{
|
|
2726
3070
|
type: ContentChild,
|
|
@@ -3137,6 +3481,7 @@ const defaultSizeOptions = [12, 24, 68, 136];
|
|
|
3137
3481
|
let Table = class Table {
|
|
3138
3482
|
constructor(_changeDetection) {
|
|
3139
3483
|
this._changeDetection = _changeDetection;
|
|
3484
|
+
this.className = 'flex flex-col z-0';
|
|
3140
3485
|
/**
|
|
3141
3486
|
* Wether data is loading
|
|
3142
3487
|
*/
|
|
@@ -3256,13 +3601,13 @@ let Table = class Table {
|
|
|
3256
3601
|
*/
|
|
3257
3602
|
this.enableFooter = true;
|
|
3258
3603
|
/**
|
|
3259
|
-
* Wether to enable
|
|
3604
|
+
* Wether to enable pagination size select
|
|
3260
3605
|
*/
|
|
3261
|
-
this.
|
|
3606
|
+
this.enablePaginationSize = true;
|
|
3262
3607
|
/**
|
|
3263
|
-
* Wether to enable pagination
|
|
3608
|
+
* Wether to enable pagination pages
|
|
3264
3609
|
*/
|
|
3265
|
-
this.
|
|
3610
|
+
this.enablePaginationPages = true;
|
|
3266
3611
|
/**
|
|
3267
3612
|
* Wether to enable export
|
|
3268
3613
|
*/
|
|
@@ -3297,9 +3642,17 @@ let Table = class Table {
|
|
|
3297
3642
|
this.hideOnSinglePage = true;
|
|
3298
3643
|
/* Empty state start */
|
|
3299
3644
|
this.emptyStateType = 'no_filter';
|
|
3300
|
-
this.emptyStateIllustration = '
|
|
3645
|
+
this.emptyStateIllustration = 'table';
|
|
3646
|
+
this.emptyStateActionIcon = 'plus';
|
|
3301
3647
|
this.enableEmptyStateAction = true;
|
|
3302
|
-
this.emptyStateFilteredIllustration = '
|
|
3648
|
+
this.emptyStateFilteredIllustration = 'search';
|
|
3649
|
+
/**
|
|
3650
|
+
* Wether to enable scrolling
|
|
3651
|
+
*/
|
|
3652
|
+
this.enableScroll = false;
|
|
3653
|
+
this.reachedScrollStart$ = new BehaviorSubject(true);
|
|
3654
|
+
this.reachedScrollEnd$ = new BehaviorSubject(false);
|
|
3655
|
+
this._totalWidth = 0;
|
|
3303
3656
|
/**
|
|
3304
3657
|
* Event whenever the empty state is clicked
|
|
3305
3658
|
*/
|
|
@@ -3309,7 +3662,7 @@ let Table = class Table {
|
|
|
3309
3662
|
* Wether to show the shadow or not
|
|
3310
3663
|
*/
|
|
3311
3664
|
this.shadow = true;
|
|
3312
|
-
this.columns = [];
|
|
3665
|
+
this.columns$ = new BehaviorSubject([]);
|
|
3313
3666
|
this.parsedItems = [];
|
|
3314
3667
|
this.loadingRows = Array.from({
|
|
3315
3668
|
length: this.amountOfLoadingRows,
|
|
@@ -3327,19 +3680,14 @@ let Table = class Table {
|
|
|
3327
3680
|
this.filterModalSave = new EventEmitter();
|
|
3328
3681
|
this.filterModalReset = new EventEmitter();
|
|
3329
3682
|
this.rowActionsRow$ = new BehaviorSubject([]);
|
|
3330
|
-
this.rowActionsRowDefinition$ = new BehaviorSubject(undefined);
|
|
3331
3683
|
this.rowActionsFloatingAll$ = new BehaviorSubject([]);
|
|
3332
3684
|
this.rowActionsFloating$ = new BehaviorSubject([]);
|
|
3333
3685
|
this.isMobile$ = new BehaviorSubject(isMobile());
|
|
3686
|
+
this.floatingMenuContainerClass = floatingMenuContainerClass;
|
|
3334
3687
|
this._inputEnableRowSelection = this.enableRowSelection;
|
|
3335
3688
|
this._inputRowSelectionLimit = this.rowSelectionLimit;
|
|
3336
|
-
|
|
3337
|
-
|
|
3338
|
-
this._columnDefinitions = v;
|
|
3339
|
-
this._generateColumns();
|
|
3340
|
-
}
|
|
3341
|
-
get columnDefinitions() {
|
|
3342
|
-
return this._columnDefinitions;
|
|
3689
|
+
this.footerHidden$ = new BehaviorSubject(false);
|
|
3690
|
+
this.cn = cn;
|
|
3343
3691
|
}
|
|
3344
3692
|
set rowActions(v) {
|
|
3345
3693
|
this._rowActions = v;
|
|
@@ -3358,6 +3706,7 @@ let Table = class Table {
|
|
|
3358
3706
|
.subscribe(value => this.filterModalShow.next(value));
|
|
3359
3707
|
}
|
|
3360
3708
|
ngOnChanges(changes) {
|
|
3709
|
+
var _a;
|
|
3361
3710
|
if (changes['items']) {
|
|
3362
3711
|
this._parseItems(changes['items'].currentValue);
|
|
3363
3712
|
}
|
|
@@ -3379,9 +3728,22 @@ let Table = class Table {
|
|
|
3379
3728
|
if (calculateRowSelectionData || changes['selectedRows']) {
|
|
3380
3729
|
this._setRowSelectionData();
|
|
3381
3730
|
}
|
|
3731
|
+
if ((_a = changes['enableScroll']) === null || _a === void 0 ? void 0 : _a.currentValue) {
|
|
3732
|
+
this._checkChangesSubscriptions();
|
|
3733
|
+
}
|
|
3734
|
+
}
|
|
3735
|
+
ngAfterViewInit() {
|
|
3736
|
+
if (this.enableScroll) {
|
|
3737
|
+
this._checkChangesSubscriptions();
|
|
3738
|
+
}
|
|
3739
|
+
if (this.columnDefinitions) {
|
|
3740
|
+
this.columnDefinitions.changes.pipe(untilDestroyed(this), debounceTime(100)).subscribe(() => this._generateColumns());
|
|
3741
|
+
this._generateColumns();
|
|
3742
|
+
}
|
|
3382
3743
|
}
|
|
3383
3744
|
onResize() {
|
|
3384
3745
|
this._setRowSelectionData();
|
|
3746
|
+
this._calculateColumnWidths();
|
|
3385
3747
|
}
|
|
3386
3748
|
keyDown({ key }) {
|
|
3387
3749
|
if (key !== 'Control' || this._ctrlDown === true) {
|
|
@@ -3435,6 +3797,12 @@ let Table = class Table {
|
|
|
3435
3797
|
}
|
|
3436
3798
|
return actions.filter(a => !a.showFunction || a.showFunction(this.parsedItems[rowIndex]));
|
|
3437
3799
|
}
|
|
3800
|
+
onContainerXScroll(ev) {
|
|
3801
|
+
if (!this.enableScroll) {
|
|
3802
|
+
return;
|
|
3803
|
+
}
|
|
3804
|
+
this._calculateScrollPosition(ev);
|
|
3805
|
+
}
|
|
3438
3806
|
_parseItems(items) {
|
|
3439
3807
|
if (!items) {
|
|
3440
3808
|
this.parsedItems = [];
|
|
@@ -3447,9 +3815,9 @@ let Table = class Table {
|
|
|
3447
3815
|
this.parsedItems = JSON.parse(items);
|
|
3448
3816
|
}
|
|
3449
3817
|
_generateColumns() {
|
|
3450
|
-
let definitionsArray = Array.from(this.
|
|
3818
|
+
let definitionsArray = Array.from(this.columnDefinitions);
|
|
3451
3819
|
definitionsArray = this._parseDefinitions(definitionsArray);
|
|
3452
|
-
this.columns
|
|
3820
|
+
this.columns$.next(definitionsArray);
|
|
3453
3821
|
}
|
|
3454
3822
|
_checkboxDisabled(item, rowIndex) {
|
|
3455
3823
|
const selectionContains = this._selectionContains(item, rowIndex);
|
|
@@ -3462,9 +3830,7 @@ let Table = class Table {
|
|
|
3462
3830
|
if (!this.enableRowSelection) {
|
|
3463
3831
|
return;
|
|
3464
3832
|
}
|
|
3465
|
-
const value = forceValue === undefined
|
|
3466
|
-
? this._getCheckedValue($event.target)
|
|
3467
|
-
: forceValue;
|
|
3833
|
+
const value = forceValue === undefined ? $event.detail : forceValue;
|
|
3468
3834
|
if (value) {
|
|
3469
3835
|
const toAdd = [];
|
|
3470
3836
|
for (let i = 0; i < this.parsedItems.length; i++) {
|
|
@@ -3726,11 +4092,10 @@ let Table = class Table {
|
|
|
3726
4092
|
enableRowSelection = true;
|
|
3727
4093
|
}
|
|
3728
4094
|
this.enableRowSelection = enableRowSelection;
|
|
3729
|
-
this.rowActionsRowDefinition$.next(this._parseRowActionsRowDefinition());
|
|
3730
4095
|
this.rowActionsRow$.next(rowActionsRow);
|
|
3731
4096
|
this.rowActionsFloatingAll$.next(rowActionsFloating);
|
|
3732
4097
|
this.floatingMenuShown$
|
|
3733
|
-
.pipe(take(1), filter
|
|
4098
|
+
.pipe(take(1), filter(v => !!v))
|
|
3734
4099
|
.subscribe(() => this._showFloatingMenu());
|
|
3735
4100
|
}, 200);
|
|
3736
4101
|
}
|
|
@@ -3747,41 +4112,10 @@ let Table = class Table {
|
|
|
3747
4112
|
});
|
|
3748
4113
|
}
|
|
3749
4114
|
_parseDefinitions(definitionsArray) {
|
|
3750
|
-
|
|
4115
|
+
return definitionsArray.map(definition => {
|
|
3751
4116
|
definition = this._parseDefinitionSizes(definition);
|
|
3752
|
-
definition.isLast = {};
|
|
3753
4117
|
return definition;
|
|
3754
4118
|
});
|
|
3755
|
-
const matchedIsLast = tableColumSizesOptions.reduce((data, size) => {
|
|
3756
|
-
data[size] = false;
|
|
3757
|
-
return data;
|
|
3758
|
-
}, {});
|
|
3759
|
-
for (let i = definitions.length - 1; i >= 0; i--) {
|
|
3760
|
-
const definition = definitions[i];
|
|
3761
|
-
for (const size of tableColumSizesOptions) {
|
|
3762
|
-
if (matchedIsLast[size]) {
|
|
3763
|
-
definition.isLast[size] = false;
|
|
3764
|
-
continue;
|
|
3765
|
-
}
|
|
3766
|
-
if (definition.parsedSizes[size] === 'hidden') {
|
|
3767
|
-
definition.isLast[size] = false;
|
|
3768
|
-
continue;
|
|
3769
|
-
}
|
|
3770
|
-
const isLastAtSizeFound = this._findLastDefinitionBySize(definitions, size);
|
|
3771
|
-
if (isLastAtSizeFound) {
|
|
3772
|
-
definition.isLast[size] = false;
|
|
3773
|
-
continue;
|
|
3774
|
-
}
|
|
3775
|
-
definition.isLast[size] = true;
|
|
3776
|
-
}
|
|
3777
|
-
}
|
|
3778
|
-
return definitions;
|
|
3779
|
-
}
|
|
3780
|
-
_findLastDefinitionBySize(definitions, size) {
|
|
3781
|
-
return definitions
|
|
3782
|
-
.slice()
|
|
3783
|
-
.reverse()
|
|
3784
|
-
.find(d => d.isLast[size] === true);
|
|
3785
4119
|
}
|
|
3786
4120
|
_parseDefinitionSizes(definition) {
|
|
3787
4121
|
var _a;
|
|
@@ -3802,35 +4136,98 @@ let Table = class Table {
|
|
|
3802
4136
|
definition.parsedSizes = parsedSizes;
|
|
3803
4137
|
return definition;
|
|
3804
4138
|
}
|
|
3805
|
-
|
|
3806
|
-
|
|
3807
|
-
|
|
3808
|
-
|
|
3809
|
-
|
|
3810
|
-
|
|
3811
|
-
for (const size of tableColumSizesOptions) {
|
|
3812
|
-
const lastColumn = this._findLastDefinitionBySize(this.columns, size);
|
|
3813
|
-
sizes[size] = lastColumn.parsedSizes[size];
|
|
4139
|
+
_checkChangesSubscriptions() {
|
|
4140
|
+
if (!this._rowChangesSubscription && this.tableRows) {
|
|
4141
|
+
this._rowChangesSubscription = this.tableRows.changes.pipe(untilDestroyed(this), debounceTime(100)).subscribe(() => this._calculateColumnWidths());
|
|
4142
|
+
}
|
|
4143
|
+
if (!this._cellChangesSubscription && this.tableCells) {
|
|
4144
|
+
this._cellChangesSubscription = this.tableCells.changes.pipe(untilDestroyed(this), debounceTime(100)).subscribe(() => this._calculateColumnWidths());
|
|
3814
4145
|
}
|
|
3815
|
-
|
|
3816
|
-
|
|
3817
|
-
|
|
3818
|
-
|
|
3819
|
-
|
|
3820
|
-
|
|
3821
|
-
|
|
3822
|
-
}
|
|
4146
|
+
}
|
|
4147
|
+
_calculateColumnWidths() {
|
|
4148
|
+
if (!this.enableScroll) {
|
|
4149
|
+
return;
|
|
4150
|
+
}
|
|
4151
|
+
if (!this.tableCells || !this.tableRows) {
|
|
4152
|
+
return;
|
|
4153
|
+
}
|
|
4154
|
+
if (this._calculateColumnWidthsTimeout) {
|
|
4155
|
+
clearTimeout(this._calculateColumnWidthsTimeout);
|
|
4156
|
+
this._calculateColumnWidthsTimeout = 0;
|
|
4157
|
+
}
|
|
4158
|
+
const rows = this.tableRows.map(c => c.nativeElement);
|
|
4159
|
+
const cells = this.tableCells.map(c => c.nativeElement);
|
|
4160
|
+
this._calculateColumnWidthsTimeout = setTimeout(() => __awaiter(this, void 0, void 0, function* () {
|
|
4161
|
+
var _a;
|
|
4162
|
+
this._setRowsWidth(rows);
|
|
4163
|
+
const promises = [];
|
|
4164
|
+
for (const cell of cells) {
|
|
4165
|
+
if ((_a = cell.style.width) === null || _a === void 0 ? void 0 : _a.length) {
|
|
4166
|
+
cell.style.width = '';
|
|
4167
|
+
}
|
|
4168
|
+
promises.push(new Promise(resolve => setTimeout(() => {
|
|
4169
|
+
const rect = cell.getBoundingClientRect();
|
|
4170
|
+
cell.setAttribute('style', `width: ${rect.width}px !important`);
|
|
4171
|
+
resolve();
|
|
4172
|
+
}, 100)));
|
|
4173
|
+
}
|
|
4174
|
+
yield Promise.all(promises);
|
|
4175
|
+
this._setRowsWidth(rows, 'min-content');
|
|
4176
|
+
this._resetScrollPosition();
|
|
4177
|
+
}), 200);
|
|
4178
|
+
}
|
|
4179
|
+
_setRowsWidth(rows, value = null) {
|
|
4180
|
+
for (let i = 0; i < rows.length; i++) {
|
|
4181
|
+
const row = rows[i];
|
|
4182
|
+
const shadow = row.shadowRoot;
|
|
4183
|
+
if (!shadow) {
|
|
4184
|
+
continue;
|
|
4185
|
+
}
|
|
4186
|
+
const firstDiv = shadow.querySelector('*:nth-child(1)');
|
|
4187
|
+
if (!firstDiv) {
|
|
4188
|
+
continue;
|
|
4189
|
+
}
|
|
4190
|
+
const secondDiv = firstDiv.querySelector('*:nth-child(1)');
|
|
4191
|
+
if (!secondDiv) {
|
|
4192
|
+
continue;
|
|
4193
|
+
}
|
|
4194
|
+
if (value === null) {
|
|
4195
|
+
firstDiv.setAttribute('style', '');
|
|
4196
|
+
secondDiv.setAttribute('style', '');
|
|
4197
|
+
continue;
|
|
4198
|
+
}
|
|
4199
|
+
firstDiv.setAttribute('style', 'width: min-content;');
|
|
4200
|
+
secondDiv.setAttribute('style', 'width: min-content;');
|
|
4201
|
+
if (i === 0) {
|
|
4202
|
+
this._totalWidth = firstDiv.getBoundingClientRect().width;
|
|
4203
|
+
}
|
|
4204
|
+
}
|
|
4205
|
+
}
|
|
4206
|
+
_resetScrollPosition() {
|
|
4207
|
+
if (this.scrollContainer) {
|
|
4208
|
+
this.scrollContainer.nativeElement.scrollLeft = 0;
|
|
4209
|
+
}
|
|
4210
|
+
this.reachedScrollStart$.next(true);
|
|
4211
|
+
this.reachedScrollEnd$.next(false);
|
|
4212
|
+
}
|
|
4213
|
+
_calculateScrollPosition({ target }) {
|
|
4214
|
+
this.reachedScrollStart$.next(target.scrollLeft < 100);
|
|
4215
|
+
const right = target.scrollLeft + target.getBoundingClientRect().width;
|
|
4216
|
+
this.reachedScrollEnd$.next(right > this._totalWidth - 100);
|
|
3823
4217
|
}
|
|
3824
4218
|
};
|
|
3825
4219
|
Table.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: Table, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
3826
|
-
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 });
|
|
4220
|
+
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", "usePortal", "variant"] }, { kind: "component", type: TableCell, selector: "p-table-cell-ngx", inputs: ["variant", "index", "rowIndex", "definition", "item", "value", "checkbox", "template"] }, { kind: "directive", type: TableFooterDirective, selector: "p-table-footer" }, { kind: "directive", type: TableHeaderDirective, selector: "p-table-header" }, { kind: "pipe", type: i1$2.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
3827
4221
|
Table = __decorate([
|
|
3828
4222
|
UntilDestroy({ checkProperties: true })
|
|
3829
4223
|
], Table);
|
|
3830
4224
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: Table, decorators: [{
|
|
3831
4225
|
type: Component,
|
|
3832
|
-
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"] }]
|
|
3833
|
-
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: {
|
|
4226
|
+
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" }]
|
|
4227
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { className: [{
|
|
4228
|
+
type: HostBinding,
|
|
4229
|
+
args: ['class']
|
|
4230
|
+
}], items: [{
|
|
3834
4231
|
type: Input
|
|
3835
4232
|
}], loading: [{
|
|
3836
4233
|
type: Input
|
|
@@ -3906,9 +4303,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
3906
4303
|
type: Output
|
|
3907
4304
|
}], enableFooter: [{
|
|
3908
4305
|
type: Input
|
|
3909
|
-
}],
|
|
4306
|
+
}], enablePaginationSize: [{
|
|
3910
4307
|
type: Input
|
|
3911
|
-
}],
|
|
4308
|
+
}], enablePaginationPages: [{
|
|
3912
4309
|
type: Input
|
|
3913
4310
|
}], enableExport: [{
|
|
3914
4311
|
type: Input
|
|
@@ -3938,6 +4335,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
3938
4335
|
type: Input
|
|
3939
4336
|
}], emptyStateAction: [{
|
|
3940
4337
|
type: Input
|
|
4338
|
+
}], emptyStateActionIcon: [{
|
|
4339
|
+
type: Input
|
|
3941
4340
|
}], enableEmptyStateAction: [{
|
|
3942
4341
|
type: Input
|
|
3943
4342
|
}], emptyStateFilteredIllustration: [{
|
|
@@ -3946,6 +4345,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
3946
4345
|
type: Input
|
|
3947
4346
|
}], emptyStateFilteredContent: [{
|
|
3948
4347
|
type: Input
|
|
4348
|
+
}], enableScroll: [{
|
|
4349
|
+
type: Input
|
|
4350
|
+
}], tableRows: [{
|
|
4351
|
+
type: ViewChildren,
|
|
4352
|
+
args: [PTableRow, { read: ElementRef }]
|
|
4353
|
+
}], tableCells: [{
|
|
4354
|
+
type: ViewChildren,
|
|
4355
|
+
args: [TableCell, { read: ElementRef }]
|
|
4356
|
+
}], scrollContainer: [{
|
|
4357
|
+
type: ViewChild,
|
|
4358
|
+
args: ['scrollContainer']
|
|
3949
4359
|
}], emptyStateActionClick: [{
|
|
3950
4360
|
type: Output
|
|
3951
4361
|
}], shadow: [{
|
|
@@ -4025,10 +4435,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
4025
4435
|
var ToastVariants;
|
|
4026
4436
|
(function (ToastVariants) {
|
|
4027
4437
|
ToastVariants["Success"] = "positive";
|
|
4028
|
-
ToastVariants["Warning"] = "
|
|
4438
|
+
ToastVariants["Warning"] = "biased";
|
|
4029
4439
|
ToastVariants["Error"] = "negative";
|
|
4440
|
+
ToastVariants["Neutral"] = "neutral";
|
|
4030
4441
|
ToastVariants["Positive"] = "positive";
|
|
4031
|
-
ToastVariants["
|
|
4442
|
+
ToastVariants["Biased"] = "biased";
|
|
4032
4443
|
ToastVariants["Negative"] = "negative";
|
|
4033
4444
|
})(ToastVariants || (ToastVariants = {}));
|
|
4034
4445
|
|
|
@@ -4137,7 +4548,7 @@ let ToastContainer = class ToastContainer {
|
|
|
4137
4548
|
}
|
|
4138
4549
|
};
|
|
4139
4550
|
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 });
|
|
4140
|
-
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$
|
|
4551
|
+
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 });
|
|
4141
4552
|
ToastContainer = __decorate([
|
|
4142
4553
|
ProxyCmp({
|
|
4143
4554
|
defineCustomElementFn: undefined,
|
|
@@ -4179,14 +4590,14 @@ class CustomCurrencyPipe {
|
|
|
4179
4590
|
return this._currencyPipe.transform(value, currencyCode, display, digitsInfo, locale);
|
|
4180
4591
|
}
|
|
4181
4592
|
}
|
|
4182
|
-
CustomCurrencyPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: CustomCurrencyPipe, deps: [{ token: i1$
|
|
4593
|
+
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 });
|
|
4183
4594
|
CustomCurrencyPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: CustomCurrencyPipe, name: "pcurrency" });
|
|
4184
4595
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: CustomCurrencyPipe, decorators: [{
|
|
4185
4596
|
type: Pipe,
|
|
4186
4597
|
args: [{
|
|
4187
4598
|
name: 'pcurrency',
|
|
4188
4599
|
}]
|
|
4189
|
-
}], ctorParameters: function () { return [{ type: i1$
|
|
4600
|
+
}], ctorParameters: function () { return [{ type: i1$2.CurrencyPipe }]; } });
|
|
4190
4601
|
|
|
4191
4602
|
class CustomDatePipe {
|
|
4192
4603
|
constructor(_datePipe) {
|
|
@@ -4196,14 +4607,14 @@ class CustomDatePipe {
|
|
|
4196
4607
|
return this._datePipe.transform(value, format);
|
|
4197
4608
|
}
|
|
4198
4609
|
}
|
|
4199
|
-
CustomDatePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: CustomDatePipe, deps: [{ token: i1$
|
|
4610
|
+
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 });
|
|
4200
4611
|
CustomDatePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: CustomDatePipe, name: "pdate" });
|
|
4201
4612
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: CustomDatePipe, decorators: [{
|
|
4202
4613
|
type: Pipe,
|
|
4203
4614
|
args: [{
|
|
4204
4615
|
name: 'pdate',
|
|
4205
4616
|
}]
|
|
4206
|
-
}], ctorParameters: function () { return [{ type: i1$
|
|
4617
|
+
}], ctorParameters: function () { return [{ type: i1$2.DatePipe }]; } });
|
|
4207
4618
|
|
|
4208
4619
|
class SafePipe {
|
|
4209
4620
|
constructor(sanitizer) {
|
|
@@ -4226,14 +4637,14 @@ class SafePipe {
|
|
|
4226
4637
|
}
|
|
4227
4638
|
}
|
|
4228
4639
|
}
|
|
4229
|
-
SafePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SafePipe, deps: [{ token: i1$
|
|
4640
|
+
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 });
|
|
4230
4641
|
SafePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: SafePipe, name: "psafe" });
|
|
4231
4642
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SafePipe, decorators: [{
|
|
4232
4643
|
type: Pipe,
|
|
4233
4644
|
args: [{
|
|
4234
4645
|
name: 'psafe',
|
|
4235
4646
|
}]
|
|
4236
|
-
}], ctorParameters: function () { return [{ type: i1$
|
|
4647
|
+
}], ctorParameters: function () { return [{ type: i1$3.DomSanitizer }]; } });
|
|
4237
4648
|
|
|
4238
4649
|
const PIPES = [CustomCurrencyPipe, CustomDatePipe, SafePipe];
|
|
4239
4650
|
|
|
@@ -4247,7 +4658,7 @@ class PaperlessModule {
|
|
|
4247
4658
|
}
|
|
4248
4659
|
}
|
|
4249
4660
|
PaperlessModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PaperlessModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4250
|
-
PaperlessModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: PaperlessModule, declarations: [
|
|
4661
|
+
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] });
|
|
4251
4662
|
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] });
|
|
4252
4663
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PaperlessModule, decorators: [{
|
|
4253
4664
|
type: NgModule,
|
|
@@ -4267,5 +4678,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
|
|
|
4267
4678
|
* Generated bundle index. Do not edit.
|
|
4268
4679
|
*/
|
|
4269
4680
|
|
|
4270
|
-
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,
|
|
4681
|
+
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, PPortal, 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 };
|
|
4271
4682
|
//# sourceMappingURL=paperless-angular.mjs.map
|