@paperless/angular 2.22.0-alpha.9 → 3.0.0
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/README.md +4 -31
- package/fesm2022/paperless-angular.mjs +1930 -1863
- package/fesm2022/paperless-angular.mjs.map +1 -1
- package/package.json +6 -8
- package/paperless.css +28 -20
- package/types/paperless-angular.d.ts +1802 -0
- package/esm2022/lib/animations/fade.mjs +0 -22
- package/esm2022/lib/animations/index.mjs +0 -3
- package/esm2022/lib/animations/slide.mjs +0 -20
- package/esm2022/lib/base/form.component.mjs +0 -113
- package/esm2022/lib/base/index.mjs +0 -4
- package/esm2022/lib/base/number-value-accessor.mjs +0 -36
- package/esm2022/lib/base/upload.component.mjs +0 -57
- package/esm2022/lib/base/value-accessor.mjs +0 -43
- package/esm2022/lib/directives/index.mjs +0 -33
- package/esm2022/lib/directives/p-checkbox.directive.mjs +0 -39
- package/esm2022/lib/directives/p-cropper.directive.mjs +0 -37
- package/esm2022/lib/directives/p-datepicker.directive.mjs +0 -38
- package/esm2022/lib/directives/p-field-number.directive.mjs +0 -34
- package/esm2022/lib/directives/p-field.directive.mjs +0 -38
- package/esm2022/lib/directives/p-pagination-pages.directive.mjs +0 -41
- package/esm2022/lib/directives/p-pagination-size.directive.mjs +0 -41
- package/esm2022/lib/directives/p-radio.directive.mjs +0 -63
- package/esm2022/lib/directives/p-select.directive.mjs +0 -37
- package/esm2022/lib/directives/p-toggle.directive.mjs +0 -38
- package/esm2022/lib/modules/index.mjs +0 -8
- package/esm2022/lib/modules/overlay/index.mjs +0 -4
- package/esm2022/lib/modules/overlay/overlay.module.mjs +0 -40
- package/esm2022/lib/modules/overlay/overlay.ref.mjs +0 -14
- package/esm2022/lib/modules/overlay/overlay.service.mjs +0 -77
- package/esm2022/lib/modules/table/base/index.mjs +0 -2
- package/esm2022/lib/modules/table/base/table.component.mjs +0 -229
- package/esm2022/lib/modules/table/components/index.mjs +0 -18
- package/esm2022/lib/modules/table/components/table/constants.mjs +0 -3
- package/esm2022/lib/modules/table/components/table/table.component.mjs +0 -1078
- package/esm2022/lib/modules/table/components/table-cell/table-cell.component.mjs +0 -170
- package/esm2022/lib/modules/table/components/table-column/table-column.component.mjs +0 -62
- package/esm2022/lib/modules/table/components/table-extra-header/table-extra-header.component.mjs +0 -40
- package/esm2022/lib/modules/table/components/table-row-action/table-row-action.component.mjs +0 -88
- package/esm2022/lib/modules/table/directives/index.mjs +0 -27
- package/esm2022/lib/modules/table/directives/p-table-custom-actions.directive.mjs +0 -13
- package/esm2022/lib/modules/table/directives/p-table-custom-filter.directive.mjs +0 -13
- package/esm2022/lib/modules/table/directives/p-table-custom-row.directive.mjs +0 -20
- package/esm2022/lib/modules/table/directives/p-table-filter-modal.directive.mjs +0 -13
- package/esm2022/lib/modules/table/directives/p-table-footer.directive.mjs +0 -52
- package/esm2022/lib/modules/table/directives/p-table-header.directive.mjs +0 -59
- package/esm2022/lib/modules/table/directives/p-table-ngx.directive.mjs +0 -129
- package/esm2022/lib/modules/table/directives/p-table.directive.mjs +0 -77
- package/esm2022/lib/modules/table/index.mjs +0 -6
- package/esm2022/lib/modules/table/table.module.mjs +0 -34
- package/esm2022/lib/modules/table/utils.mjs +0 -29
- package/esm2022/lib/modules/toast/components/index.mjs +0 -4
- package/esm2022/lib/modules/toast/components/toast-container/toast-container.component.mjs +0 -38
- package/esm2022/lib/modules/toast/directives/index.mjs +0 -4
- package/esm2022/lib/modules/toast/directives/toast.directive.mjs +0 -51
- package/esm2022/lib/modules/toast/index.mjs +0 -6
- package/esm2022/lib/modules/toast/toast.module.mjs +0 -24
- package/esm2022/lib/modules/toast/toast.service.mjs +0 -51
- package/esm2022/lib/modules/toast/types.mjs +0 -11
- package/esm2022/lib/paperless.module.mjs +0 -41
- package/esm2022/lib/pipes/currency.pipe.mjs +0 -21
- package/esm2022/lib/pipes/date.pipe.mjs +0 -21
- package/esm2022/lib/pipes/index.mjs +0 -18
- package/esm2022/lib/pipes/safe.pipe.mjs +0 -34
- package/esm2022/lib/pipes/select-autocomplete.pipe.mjs +0 -17
- package/esm2022/lib/pipes/select-select-all.pipe.mjs +0 -17
- package/esm2022/lib/stencil/angular-component-lib/utils.mjs +0 -59
- package/esm2022/lib/stencil/components.mjs +0 -2013
- package/esm2022/lib/stencil/index.mjs +0 -78
- package/esm2022/lib/stencil.module.mjs +0 -17
- package/esm2022/paperless-angular.mjs +0 -5
- package/esm2022/public-api.mjs +0 -12
- package/index.d.ts +0 -5
- package/lib/animations/fade.d.ts +0 -2
- package/lib/animations/index.d.ts +0 -2
- package/lib/animations/slide.d.ts +0 -2
- package/lib/base/form.component.d.ts +0 -15
- package/lib/base/index.d.ts +0 -3
- package/lib/base/number-value-accessor.d.ts +0 -14
- package/lib/base/upload.component.d.ts +0 -16
- package/lib/base/value-accessor.d.ts +0 -17
- package/lib/directives/index.d.ts +0 -14
- package/lib/directives/p-checkbox.directive.d.ts +0 -9
- package/lib/directives/p-cropper.directive.d.ts +0 -9
- package/lib/directives/p-datepicker.directive.d.ts +0 -9
- package/lib/directives/p-field-number.directive.d.ts +0 -8
- package/lib/directives/p-field.directive.d.ts +0 -9
- package/lib/directives/p-pagination-pages.directive.d.ts +0 -10
- package/lib/directives/p-pagination-size.directive.d.ts +0 -10
- package/lib/directives/p-radio.directive.d.ts +0 -18
- package/lib/directives/p-select.directive.d.ts +0 -9
- package/lib/directives/p-toggle.directive.d.ts +0 -9
- package/lib/modules/index.d.ts +0 -5
- package/lib/modules/overlay/index.d.ts +0 -3
- package/lib/modules/overlay/overlay.module.d.ts +0 -12
- package/lib/modules/overlay/overlay.ref.d.ts +0 -9
- package/lib/modules/overlay/overlay.service.d.ts +0 -24
- package/lib/modules/table/base/index.d.ts +0 -1
- package/lib/modules/table/base/table.component.d.ts +0 -70
- package/lib/modules/table/components/index.d.ts +0 -11
- package/lib/modules/table/components/table/constants.d.ts +0 -2
- package/lib/modules/table/components/table/table.component.d.ts +0 -337
- package/lib/modules/table/components/table-cell/table-cell.component.d.ts +0 -53
- package/lib/modules/table/components/table-column/table-column.component.d.ts +0 -17
- package/lib/modules/table/components/table-extra-header/table-extra-header.component.d.ts +0 -17
- package/lib/modules/table/components/table-row-action/table-row-action.component.d.ts +0 -48
- package/lib/modules/table/directives/index.d.ts +0 -15
- package/lib/modules/table/directives/p-table-custom-actions.directive.d.ts +0 -5
- package/lib/modules/table/directives/p-table-custom-filter.directive.d.ts +0 -5
- package/lib/modules/table/directives/p-table-custom-row.directive.d.ts +0 -9
- package/lib/modules/table/directives/p-table-filter-modal.directive.d.ts +0 -5
- package/lib/modules/table/directives/p-table-footer.directive.d.ts +0 -11
- package/lib/modules/table/directives/p-table-header.directive.d.ts +0 -17
- package/lib/modules/table/directives/p-table-ngx.directive.d.ts +0 -27
- package/lib/modules/table/directives/p-table.directive.d.ts +0 -22
- package/lib/modules/table/index.d.ts +0 -5
- package/lib/modules/table/table.module.d.ts +0 -22
- package/lib/modules/table/utils.d.ts +0 -10
- package/lib/modules/toast/components/index.d.ts +0 -3
- package/lib/modules/toast/components/toast-container/toast-container.component.d.ts +0 -16
- package/lib/modules/toast/directives/index.d.ts +0 -3
- package/lib/modules/toast/directives/toast.directive.d.ts +0 -16
- package/lib/modules/toast/index.d.ts +0 -5
- package/lib/modules/toast/toast.module.d.ts +0 -10
- package/lib/modules/toast/toast.service.d.ts +0 -12
- package/lib/modules/toast/types.d.ts +0 -32
- package/lib/paperless.module.d.ts +0 -26
- package/lib/pipes/currency.pipe.d.ts +0 -10
- package/lib/pipes/date.pipe.d.ts +0 -10
- package/lib/pipes/index.d.ts +0 -10
- package/lib/pipes/safe.pipe.d.ts +0 -10
- package/lib/pipes/select-autocomplete.pipe.d.ts +0 -7
- package/lib/pipes/select-select-all.pipe.d.ts +0 -7
- package/lib/stencil/angular-component-lib/utils.d.ts +0 -9
- package/lib/stencil/components.d.ts +0 -883
- package/lib/stencil/index.d.ts +0 -2
- package/lib/stencil.module.d.ts +0 -7
- package/public-api.d.ts +0 -8
|
@@ -0,0 +1,1802 @@
|
|
|
1
|
+
import { FormControl, FormGroup, FormArray, AbstractControl, ControlValueAccessor, NumberValueAccessor, NgControl } from '@angular/forms';
|
|
2
|
+
import * as i0 from '@angular/core';
|
|
3
|
+
import { EventEmitter, ElementRef, Renderer2, OnInit, OnDestroy, Injector, StaticProvider, TemplateRef, NgZone, ChangeDetectorRef, OnChanges, SimpleChanges, AfterViewInit, QueryList, PipeTransform } from '@angular/core';
|
|
4
|
+
import * as rxjs from 'rxjs';
|
|
5
|
+
import { BehaviorSubject, Subject, Observable, Subscribable } from 'rxjs';
|
|
6
|
+
import * as i1 from '@angular/cdk/overlay';
|
|
7
|
+
import { OverlayRef as OverlayRef$1, Overlay } from '@angular/cdk/overlay';
|
|
8
|
+
import * as i2 from '@angular/cdk/platform';
|
|
9
|
+
import * as i3 from '@angular/cdk/observers';
|
|
10
|
+
import * as i4 from '@angular/cdk/portal';
|
|
11
|
+
import { ComponentType, CdkPortal } from '@angular/cdk/portal';
|
|
12
|
+
import { Components as Components$1, QuickFilter as QuickFilter$1 } from '@paperless/core/components';
|
|
13
|
+
import * as i1$1 from '@angular/common';
|
|
14
|
+
import { CurrencyPipe, DatePipe } from '@angular/common';
|
|
15
|
+
import * as i2$1 from '@angular/router';
|
|
16
|
+
import { Params } from '@angular/router';
|
|
17
|
+
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
18
|
+
import { QuickFilter, cn, Components, TableRowActionShowFunc, RowClickEvent, IconVariant, IllustrationVariant, IconFlipOptions, RotateOptions } from '@paperless/core';
|
|
19
|
+
import * as _paperless_angular from '@paperless/angular';
|
|
20
|
+
import { DomSanitizer, SafeHtml, SafeStyle, SafeScript, SafeUrl, SafeResourceUrl } from '@angular/platform-browser';
|
|
21
|
+
|
|
22
|
+
declare abstract class BaseFormComponent {
|
|
23
|
+
markedDirty: boolean;
|
|
24
|
+
scrollToFirstError(): void;
|
|
25
|
+
markControlDirty(control: FormControl | FormGroup | FormArray | AbstractControl): void;
|
|
26
|
+
markAllDirty(control: FormGroup | FormArray | FormControl): void;
|
|
27
|
+
getControlError(control: FormControl | AbstractControl | FormArray | FormGroup): string | (string | undefined)[] | undefined;
|
|
28
|
+
hasControlError(control: FormControl | AbstractControl | FormGroup | FormArray, showChildErrors?: boolean): string | false | (string | undefined)[] | undefined;
|
|
29
|
+
firstControlError(control: FormControl | AbstractControl | FormGroup | FormArray, showChildErrors?: boolean): (string | undefined)[] | (undefined | string);
|
|
30
|
+
resetControl(control: FormControl | FormGroup | FormArray | AbstractControl): void;
|
|
31
|
+
resetForm(formGroup: FormGroup): void;
|
|
32
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BaseFormComponent, never>;
|
|
33
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BaseFormComponent, "ng-component", never, {}, {}, never, never, false, never>;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
declare abstract class BaseUploadComponent {
|
|
37
|
+
fileId?: string;
|
|
38
|
+
uploaded: boolean;
|
|
39
|
+
set loading(value: boolean);
|
|
40
|
+
fileChange: EventEmitter<any>;
|
|
41
|
+
uploaderInput?: ElementRef;
|
|
42
|
+
file?: File;
|
|
43
|
+
loading$: BehaviorSubject<boolean>;
|
|
44
|
+
onChange($event: Event): void;
|
|
45
|
+
onLoad(file: File, result: string | ArrayBuffer | null): void;
|
|
46
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BaseUploadComponent, never>;
|
|
47
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BaseUploadComponent, "ng-component", never, { "fileId": { "alias": "fileId"; "required": false; }; "uploaded": { "alias": "uploaded"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; }, { "fileChange": "fileChange"; }, never, never, false, never>;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
declare class BaseValueAccessor implements ControlValueAccessor {
|
|
51
|
+
protected el: ElementRef;
|
|
52
|
+
protected onChange: (value: any) => void;
|
|
53
|
+
protected onTouched: () => void;
|
|
54
|
+
protected lastValue: any;
|
|
55
|
+
constructor(el: ElementRef);
|
|
56
|
+
writeValue(value: any): void;
|
|
57
|
+
handleChangeEvent(value: any): void;
|
|
58
|
+
registerOnChange(fn: (value: any) => void): void;
|
|
59
|
+
registerOnTouched(fn: () => void): void;
|
|
60
|
+
protected _handleBlurEvent(): void;
|
|
61
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BaseValueAccessor, never>;
|
|
62
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BaseValueAccessor, never, never, {}, {}, never, never, false, never>;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
declare class PCheckboxDirective extends BaseValueAccessor {
|
|
66
|
+
writeValue(value: boolean | 'indeterminate'): void;
|
|
67
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PCheckboxDirective, never>;
|
|
68
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<PCheckboxDirective, "p-checkbox", never, {}, {}, never, never, true, never>;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
declare class PCropperDirective extends BaseValueAccessor {
|
|
72
|
+
writeValue(value: any): void;
|
|
73
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PCropperDirective, never>;
|
|
74
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<PCropperDirective, "p-cropper", never, {}, {}, never, never, true, never>;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
declare class PDatepickerDirective extends BaseValueAccessor {
|
|
78
|
+
writeValue(value: string | Date): void;
|
|
79
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PDatepickerDirective, never>;
|
|
80
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<PDatepickerDirective, "p-datepicker", never, {}, {}, never, never, true, never>;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
declare class PFieldDirective extends BaseValueAccessor {
|
|
84
|
+
writeValue(value: number): void;
|
|
85
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PFieldDirective, never>;
|
|
86
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<PFieldDirective, "p-field:not([type=number])", never, {}, {}, never, never, true, never>;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
declare class BaseNumberValueAccessor extends NumberValueAccessor implements ControlValueAccessor {
|
|
90
|
+
protected el: ElementRef;
|
|
91
|
+
protected renderer: Renderer2;
|
|
92
|
+
protected lastValue: any;
|
|
93
|
+
constructor(el: ElementRef, renderer: Renderer2);
|
|
94
|
+
writeValue(value: any): void;
|
|
95
|
+
handleChangeEvent(value: any): void;
|
|
96
|
+
protected _handleBlurEvent(): void;
|
|
97
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BaseNumberValueAccessor, never>;
|
|
98
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BaseNumberValueAccessor, never, never, {}, {}, never, never, false, never>;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
declare class PFieldNumberDirective extends BaseNumberValueAccessor {
|
|
102
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PFieldNumberDirective, never>;
|
|
103
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<PFieldNumberDirective, "p-field[type=number]", never, {}, {}, never, never, true, never>;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
declare class PPaginationPagesDirective extends BaseValueAccessor {
|
|
107
|
+
writeValue(value: number): void;
|
|
108
|
+
registerOnChange(fn: (_: number | null) => void): void;
|
|
109
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PPaginationPagesDirective, never>;
|
|
110
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<PPaginationPagesDirective, "p-pagination-pages", never, {}, {}, never, never, true, never>;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
declare class PPaginationSizeDirective extends BaseValueAccessor {
|
|
114
|
+
writeValue(value: number): void;
|
|
115
|
+
registerOnChange(fn: (_: number | null) => void): void;
|
|
116
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PPaginationSizeDirective, never>;
|
|
117
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<PPaginationSizeDirective, "p-pagination-size", never, {}, {}, never, never, true, never>;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
declare class PRadioDirective extends BaseValueAccessor implements ControlValueAccessor, OnInit, OnDestroy {
|
|
121
|
+
private _control;
|
|
122
|
+
private _modelValue;
|
|
123
|
+
private _valueChanges;
|
|
124
|
+
constructor(_control: NgControl, el: ElementRef);
|
|
125
|
+
ngOnInit(): void;
|
|
126
|
+
writeValue(value: string): void;
|
|
127
|
+
handleChangeEvent(): void;
|
|
128
|
+
ngOnDestroy(): void;
|
|
129
|
+
private _getValue;
|
|
130
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PRadioDirective, [{ self: true; }, null]>;
|
|
131
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<PRadioDirective, "p-radio", never, {}, {}, never, never, true, never>;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
declare class PSelectDirective extends BaseValueAccessor {
|
|
135
|
+
writeValue(value: unknown): void;
|
|
136
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PSelectDirective, never>;
|
|
137
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<PSelectDirective, "p-select", never, {}, {}, never, never, true, never>;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
declare class PToggleDirective extends BaseValueAccessor {
|
|
141
|
+
writeValue(value: boolean): void;
|
|
142
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PToggleDirective, never>;
|
|
143
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<PToggleDirective, "p-toggle", never, {}, {}, never, never, true, never>;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
declare const DIRECTIVES: (typeof PCheckboxDirective | typeof PFieldNumberDirective | typeof PRadioDirective)[];
|
|
147
|
+
|
|
148
|
+
declare class OverlayModule {
|
|
149
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OverlayModule, never>;
|
|
150
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<OverlayModule, never, [typeof i1.OverlayModule, typeof i2.PlatformModule, typeof i3.ObserversModule, typeof i4.PortalModule], [typeof i4.PortalModule]>;
|
|
151
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<OverlayModule>;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
declare class OverlayRef<T> {
|
|
155
|
+
private _overlay;
|
|
156
|
+
instance: T;
|
|
157
|
+
closed$: Subject<unknown>;
|
|
158
|
+
constructor(_overlay: OverlayRef$1);
|
|
159
|
+
close(): void;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
interface ModalOptions {
|
|
163
|
+
data?: any;
|
|
164
|
+
providers?: StaticProvider[];
|
|
165
|
+
}
|
|
166
|
+
declare class OverlayService {
|
|
167
|
+
private injector;
|
|
168
|
+
private overlay;
|
|
169
|
+
overlayRef: OverlayRef<any>;
|
|
170
|
+
constructor(injector: Injector, overlay: Overlay);
|
|
171
|
+
open<T>(component: ComponentType<T> | CdkPortal, options?: ModalOptions): OverlayRef<T>;
|
|
172
|
+
private _attachModalContainer;
|
|
173
|
+
private _createInjector;
|
|
174
|
+
private _getOverlayConfig;
|
|
175
|
+
private _createOverlay;
|
|
176
|
+
private _attachData;
|
|
177
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OverlayService, never>;
|
|
178
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<OverlayService>;
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
type TableQuickFilter = QuickFilter & {
|
|
182
|
+
value: string;
|
|
183
|
+
metricName?: string;
|
|
184
|
+
};
|
|
185
|
+
interface TableOptions {
|
|
186
|
+
pageSize: number;
|
|
187
|
+
page: number;
|
|
188
|
+
quickFilter: TableQuickFilter | string | null;
|
|
189
|
+
query: string;
|
|
190
|
+
filters: any[];
|
|
191
|
+
selectedRows: any[];
|
|
192
|
+
}
|
|
193
|
+
declare abstract class BaseTableComponent extends BaseFormComponent implements OnInit {
|
|
194
|
+
tableOptionsChange: EventEmitter<Partial<TableOptions> | null>;
|
|
195
|
+
protected quickFilters: any[];
|
|
196
|
+
filterForm: FormGroup<any>;
|
|
197
|
+
filterFormQuickFilterKey?: string;
|
|
198
|
+
defaultFilterFormValues: any;
|
|
199
|
+
pageSizeDefault: number;
|
|
200
|
+
tableOptions?: FormControl<TableOptions>;
|
|
201
|
+
private _defaultTableValues;
|
|
202
|
+
defaultTableValues: Partial<TableOptions>;
|
|
203
|
+
get pageSize(): number;
|
|
204
|
+
set pageSize(pageSize: number);
|
|
205
|
+
get page(): number;
|
|
206
|
+
set page(page: number);
|
|
207
|
+
get quickFilter(): TableQuickFilter | string | null;
|
|
208
|
+
set quickFilter(quickFilter: TableQuickFilter | string | null);
|
|
209
|
+
get query(): string;
|
|
210
|
+
set query(query: string);
|
|
211
|
+
get filters(): any[];
|
|
212
|
+
set filters(filters: any[]);
|
|
213
|
+
get selectedRows(): any[];
|
|
214
|
+
set selectedRows(selectedRows: any[]);
|
|
215
|
+
get parsedDefaultTableValues(): {
|
|
216
|
+
pageSize: number;
|
|
217
|
+
page: number;
|
|
218
|
+
quickFilter: TableQuickFilter | string | null;
|
|
219
|
+
query: string;
|
|
220
|
+
filters: any[];
|
|
221
|
+
selectedRows: any[];
|
|
222
|
+
};
|
|
223
|
+
get tableValues(): Partial<TableOptions>;
|
|
224
|
+
set tableValues(values: Partial<TableOptions>);
|
|
225
|
+
ngOnInit(): void;
|
|
226
|
+
resetTable(emitEvent?: boolean, forceRefresh?: boolean): void;
|
|
227
|
+
applyFormFilters(values?: any): void;
|
|
228
|
+
checkFilterForm(): void;
|
|
229
|
+
resetFormFilters(resetQuickFilter?: boolean): void;
|
|
230
|
+
protected _refresh(): void;
|
|
231
|
+
private _resetPageOrRefresh;
|
|
232
|
+
private _setTableValues;
|
|
233
|
+
private _getChanges;
|
|
234
|
+
protected _watchProperty<T>(observable: Observable<T & {
|
|
235
|
+
id: string;
|
|
236
|
+
}>, identifier?: keyof (T & {
|
|
237
|
+
id: string;
|
|
238
|
+
})): Observable<(T & {
|
|
239
|
+
id: string;
|
|
240
|
+
}) | null>;
|
|
241
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BaseTableComponent, never>;
|
|
242
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BaseTableComponent, "ng-component", never, {}, { "tableOptionsChange": "tableOptionsChange"; }, never, never, false, never>;
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
declare class TableCellComponent {
|
|
246
|
+
/**
|
|
247
|
+
* The variant of the column
|
|
248
|
+
*/
|
|
249
|
+
variant: 'default' | 'loading' | 'header' | 'header-secondary' | 'actions';
|
|
250
|
+
/**
|
|
251
|
+
* The index of the column
|
|
252
|
+
*/
|
|
253
|
+
index: number;
|
|
254
|
+
/**
|
|
255
|
+
* The index of the row
|
|
256
|
+
*/
|
|
257
|
+
rowIndex: number;
|
|
258
|
+
/**
|
|
259
|
+
* The definition of the table column
|
|
260
|
+
*/
|
|
261
|
+
definition?: any;
|
|
262
|
+
/**
|
|
263
|
+
* The item in question
|
|
264
|
+
*/
|
|
265
|
+
item: any;
|
|
266
|
+
/**
|
|
267
|
+
* The value of the column
|
|
268
|
+
*/
|
|
269
|
+
value: any;
|
|
270
|
+
/**
|
|
271
|
+
* The checkbox templateRef
|
|
272
|
+
*/
|
|
273
|
+
checkbox: TemplateRef<any> | undefined;
|
|
274
|
+
/**
|
|
275
|
+
* Wether the cell needs checkbox offset instead of a checkbox
|
|
276
|
+
*/
|
|
277
|
+
checkboxOffset: boolean;
|
|
278
|
+
/**
|
|
279
|
+
* The template ref for the content
|
|
280
|
+
*/
|
|
281
|
+
template: TemplateRef<any> | undefined;
|
|
282
|
+
/**
|
|
283
|
+
* Wether the table is scrollable
|
|
284
|
+
*/
|
|
285
|
+
scrollable: boolean;
|
|
286
|
+
cn: typeof cn;
|
|
287
|
+
get hostClass(): string;
|
|
288
|
+
get data(): {
|
|
289
|
+
value: any;
|
|
290
|
+
item?: undefined;
|
|
291
|
+
index?: undefined;
|
|
292
|
+
rowIndex?: undefined;
|
|
293
|
+
} | {
|
|
294
|
+
value: any;
|
|
295
|
+
item: any;
|
|
296
|
+
index: number;
|
|
297
|
+
rowIndex: number;
|
|
298
|
+
};
|
|
299
|
+
get headerClass(): string;
|
|
300
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TableCellComponent, never>;
|
|
301
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TableCellComponent, "p-table-cell-ngx", never, { "variant": { "alias": "variant"; "required": false; }; "index": { "alias": "index"; "required": false; }; "rowIndex": { "alias": "rowIndex"; "required": false; }; "definition": { "alias": "definition"; "required": false; }; "item": { "alias": "item"; "required": false; }; "value": { "alias": "value"; "required": false; }; "checkbox": { "alias": "checkbox"; "required": false; }; "checkboxOffset": { "alias": "checkboxOffset"; "required": false; }; "template": { "alias": "template"; "required": false; }; "scrollable": { "alias": "scrollable"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
declare interface TableColumnComponent extends Components.PTableColumn {
|
|
305
|
+
/**
|
|
306
|
+
* Event to let the table know it has to re render
|
|
307
|
+
*/
|
|
308
|
+
tableDefinitionChanged: EventEmitter<CustomEvent<boolean>>;
|
|
309
|
+
}
|
|
310
|
+
declare class TableColumnComponent {
|
|
311
|
+
protected z: NgZone;
|
|
312
|
+
protected el: HTMLElement;
|
|
313
|
+
template: TemplateRef<any> | undefined;
|
|
314
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
315
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TableColumnComponent, never>;
|
|
316
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TableColumnComponent, "p-table-column", never, { "align": { "alias": "align"; "required": false; }; "headerAlign": { "alias": "headerAlign"; "required": false; }; "flex": { "alias": "flex"; "required": false; }; "name": { "alias": "name"; "required": false; }; "path": { "alias": "path"; "required": false; }; "sizes": { "alias": "sizes"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "useSlot": { "alias": "useSlot"; "required": false; }; "hasCheckbox": { "alias": "hasCheckbox"; "required": false; }; "sticky": { "alias": "sticky"; "required": false; }; }, {}, ["template"], ["*"], true, never>;
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
declare interface TableExtraHeaderComponent extends Components.PTableExtraHeader {
|
|
320
|
+
/**
|
|
321
|
+
* Event to let the table know it has to re render
|
|
322
|
+
*/
|
|
323
|
+
tableDefinitionChanged: EventEmitter<CustomEvent<boolean>>;
|
|
324
|
+
}
|
|
325
|
+
declare class TableExtraHeaderComponent {
|
|
326
|
+
protected z: NgZone;
|
|
327
|
+
protected el: HTMLElement;
|
|
328
|
+
template: TemplateRef<any> | undefined;
|
|
329
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
330
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TableExtraHeaderComponent, never>;
|
|
331
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TableExtraHeaderComponent, "p-table-extra-header", never, { "align": { "alias": "align"; "required": false; }; "name": { "alias": "name"; "required": false; }; "sizes": { "alias": "sizes"; "required": false; }; "parsedSizes": { "alias": "parsedSizes"; "required": false; }; "useSlot": { "alias": "useSlot"; "required": false; }; "sticky": { "alias": "sticky"; "required": false; }; }, {}, ["template"], ["*"], true, never>;
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
declare class PAccordion {
|
|
335
|
+
protected z: NgZone;
|
|
336
|
+
protected el: HTMLPAccordionElement;
|
|
337
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
338
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PAccordion, never>;
|
|
339
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PAccordion, "p-accordion", never, { "closeable": { "alias": "closeable"; "required": false; }; "header": { "alias": "header"; "required": false; }; "open": { "alias": "open"; "required": false; }; "openable": { "alias": "openable"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
340
|
+
}
|
|
341
|
+
declare interface PAccordion extends Components$1.PAccordion {
|
|
342
|
+
/**
|
|
343
|
+
* Open change event
|
|
344
|
+
*/
|
|
345
|
+
isOpen: EventEmitter<CustomEvent<boolean>>;
|
|
346
|
+
}
|
|
347
|
+
declare class PAttachment {
|
|
348
|
+
protected z: NgZone;
|
|
349
|
+
protected el: HTMLPAttachmentElement;
|
|
350
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
351
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PAttachment, never>;
|
|
352
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PAttachment, "p-attachment", never, { "accept": { "alias": "accept"; "required": false; }; "cameraTooltip": { "alias": "cameraTooltip"; "required": false; }; "deleteTooltip": { "alias": "deleteTooltip"; "required": false; }; "downloadTooltip": { "alias": "downloadTooltip"; "required": false; }; "enableCameraOnMobile": { "alias": "enableCameraOnMobile"; "required": false; }; "error": { "alias": "error"; "required": false; }; "fileId": { "alias": "fileId"; "required": false; }; "helper": { "alias": "helper"; "required": false; }; "label": { "alias": "label"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "required": { "alias": "required"; "required": false; }; "uploadTooltip": { "alias": "uploadTooltip"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
353
|
+
}
|
|
354
|
+
declare interface PAttachment extends Components$1.PAttachment {
|
|
355
|
+
/**
|
|
356
|
+
* Event when upload is pressed
|
|
357
|
+
*/
|
|
358
|
+
upload: EventEmitter<CustomEvent<{
|
|
359
|
+
file: File;
|
|
360
|
+
fileId: string;
|
|
361
|
+
result: string;
|
|
362
|
+
}>>;
|
|
363
|
+
/**
|
|
364
|
+
* Event when download is pressed
|
|
365
|
+
*/
|
|
366
|
+
download: EventEmitter<CustomEvent<void>>;
|
|
367
|
+
/**
|
|
368
|
+
* Event when delete is pressed
|
|
369
|
+
*/
|
|
370
|
+
delete: EventEmitter<CustomEvent<void>>;
|
|
371
|
+
}
|
|
372
|
+
declare class PAvatar {
|
|
373
|
+
protected z: NgZone;
|
|
374
|
+
protected el: HTMLPAvatarElement;
|
|
375
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
376
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PAvatar, never>;
|
|
377
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PAvatar, "p-avatar", never, { "defaultImage": { "alias": "defaultImage"; "required": false; }; "letters": { "alias": "letters"; "required": false; }; "size": { "alias": "size"; "required": false; }; "src": { "alias": "src"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
378
|
+
}
|
|
379
|
+
declare interface PAvatar extends Components$1.PAvatar {
|
|
380
|
+
}
|
|
381
|
+
declare class PAvatarGroup {
|
|
382
|
+
protected z: NgZone;
|
|
383
|
+
protected el: HTMLPAvatarGroupElement;
|
|
384
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
385
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PAvatarGroup, never>;
|
|
386
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PAvatarGroup, "p-avatar-group", never, { "extra": { "alias": "extra"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
387
|
+
}
|
|
388
|
+
declare interface PAvatarGroup extends Components$1.PAvatarGroup {
|
|
389
|
+
}
|
|
390
|
+
declare class PBackdrop {
|
|
391
|
+
protected z: NgZone;
|
|
392
|
+
protected el: HTMLPBackdropElement;
|
|
393
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
394
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PBackdrop, never>;
|
|
395
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PBackdrop, "p-backdrop", never, { "applyBlur": { "alias": "applyBlur"; "required": false; }; "class": { "alias": "class"; "required": false; }; "closing": { "alias": "closing"; "required": false; }; "scrollLock": { "alias": "scrollLock"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
396
|
+
}
|
|
397
|
+
declare interface PBackdrop extends Components$1.PBackdrop {
|
|
398
|
+
/**
|
|
399
|
+
* When the backdrop is clicked
|
|
400
|
+
*/
|
|
401
|
+
clicked: EventEmitter<CustomEvent<MouseEvent>>;
|
|
402
|
+
}
|
|
403
|
+
declare class PBadge {
|
|
404
|
+
protected z: NgZone;
|
|
405
|
+
protected el: HTMLPBadgeElement;
|
|
406
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
407
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PBadge, never>;
|
|
408
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PBadge, "p-badge", never, {}, {}, never, ["*"], true, never>;
|
|
409
|
+
}
|
|
410
|
+
declare interface PBadge extends Components$1.PBadge {
|
|
411
|
+
}
|
|
412
|
+
declare class PButton {
|
|
413
|
+
protected z: NgZone;
|
|
414
|
+
protected el: HTMLPButtonElement;
|
|
415
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
416
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PButton, never>;
|
|
417
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PButton, "p-button", never, { "active": { "alias": "active"; "required": false; }; "as": { "alias": "as"; "required": false; }; "buttonGroupPosition": { "alias": "buttonGroupPosition"; "required": false; }; "chevron": { "alias": "chevron"; "required": false; }; "chevronPosition": { "alias": "chevronPosition"; "required": false; }; "class": { "alias": "class"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "error": { "alias": "error"; "required": false; }; "href": { "alias": "href"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "iconClass": { "alias": "iconClass"; "required": false; }; "iconFlip": { "alias": "iconFlip"; "required": false; }; "iconOnly": { "alias": "iconOnly"; "required": false; }; "iconPosition": { "alias": "iconPosition"; "required": false; }; "iconRotate": { "alias": "iconRotate"; "required": false; }; "inheritText": { "alias": "inheritText"; "required": false; }; "label": { "alias": "label"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "size": { "alias": "size"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "target": { "alias": "target"; "required": false; }; "type": { "alias": "type"; "required": false; }; "underline": { "alias": "underline"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
418
|
+
}
|
|
419
|
+
declare interface PButton extends Components$1.PButton {
|
|
420
|
+
/**
|
|
421
|
+
* Button click event
|
|
422
|
+
*/
|
|
423
|
+
onClick: EventEmitter<CustomEvent<MouseEvent>>;
|
|
424
|
+
}
|
|
425
|
+
declare class PButtonGroup {
|
|
426
|
+
protected z: NgZone;
|
|
427
|
+
protected el: HTMLPButtonGroupElement;
|
|
428
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
429
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PButtonGroup, never>;
|
|
430
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PButtonGroup, "p-button-group", never, { "size": { "alias": "size"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
431
|
+
}
|
|
432
|
+
declare interface PButtonGroup extends Components$1.PButtonGroup {
|
|
433
|
+
}
|
|
434
|
+
declare class PCalendar {
|
|
435
|
+
protected z: NgZone;
|
|
436
|
+
protected el: HTMLPCalendarElement;
|
|
437
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
438
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PCalendar, never>;
|
|
439
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PCalendar, "p-calendar", never, { "disableWeekends": { "alias": "disableWeekends"; "required": false; }; "disabledDates": { "alias": "disabledDates"; "required": false; }; "enableToday": { "alias": "enableToday"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "preselectToday": { "alias": "preselectToday"; "required": false; }; "todayText": { "alias": "todayText"; "required": false; }; "value": { "alias": "value"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
440
|
+
}
|
|
441
|
+
declare interface PCalendar extends Components$1.PCalendar {
|
|
442
|
+
/**
|
|
443
|
+
* Event when the value changes
|
|
444
|
+
*/
|
|
445
|
+
valueChange: EventEmitter<CustomEvent<any>>;
|
|
446
|
+
}
|
|
447
|
+
declare class PCardBody {
|
|
448
|
+
protected z: NgZone;
|
|
449
|
+
protected el: HTMLPCardBodyElement;
|
|
450
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
451
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PCardBody, never>;
|
|
452
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PCardBody, "p-card-body", never, {}, {}, never, ["*"], true, never>;
|
|
453
|
+
}
|
|
454
|
+
declare interface PCardBody extends Components$1.PCardBody {
|
|
455
|
+
}
|
|
456
|
+
declare class PCardContainer {
|
|
457
|
+
protected z: NgZone;
|
|
458
|
+
protected el: HTMLPCardContainerElement;
|
|
459
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
460
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PCardContainer, never>;
|
|
461
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PCardContainer, "p-card-container", never, { "active": { "alias": "active"; "required": false; }; "bgClass": { "alias": "bgClass"; "required": false; }; "border": { "alias": "border"; "required": false; }; "hoverable": { "alias": "hoverable"; "required": false; }; "shadow": { "alias": "shadow"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
462
|
+
}
|
|
463
|
+
declare interface PCardContainer extends Components$1.PCardContainer {
|
|
464
|
+
}
|
|
465
|
+
declare class PCardHeader {
|
|
466
|
+
protected z: NgZone;
|
|
467
|
+
protected el: HTMLPCardHeaderElement;
|
|
468
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
469
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PCardHeader, never>;
|
|
470
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PCardHeader, "p-card-header", never, { "divider": { "alias": "divider"; "required": false; }; "header": { "alias": "header"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "iconFlip": { "alias": "iconFlip"; "required": false; }; "iconRotate": { "alias": "iconRotate"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
471
|
+
}
|
|
472
|
+
declare interface PCardHeader extends Components$1.PCardHeader {
|
|
473
|
+
}
|
|
474
|
+
declare class PCheckbox {
|
|
475
|
+
protected z: NgZone;
|
|
476
|
+
protected el: HTMLPCheckboxElement;
|
|
477
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
478
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PCheckbox, never>;
|
|
479
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PCheckbox, "p-checkbox", never, { "checked": { "alias": "checked"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "id": { "alias": "id"; "required": false; }; "indeterminate": { "alias": "indeterminate"; "required": false; }; "name": { "alias": "name"; "required": false; }; "required": { "alias": "required"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
480
|
+
}
|
|
481
|
+
declare interface PCheckbox extends Components$1.PCheckbox {
|
|
482
|
+
/**
|
|
483
|
+
* Event whenever the checked changes
|
|
484
|
+
*/
|
|
485
|
+
checkedChange: EventEmitter<CustomEvent<boolean>>;
|
|
486
|
+
/**
|
|
487
|
+
* Event whenever the indeterminate changes
|
|
488
|
+
*/
|
|
489
|
+
indeterminateChange: EventEmitter<CustomEvent<boolean>>;
|
|
490
|
+
}
|
|
491
|
+
declare class PContentSlider {
|
|
492
|
+
protected z: NgZone;
|
|
493
|
+
protected el: HTMLPContentSliderElement;
|
|
494
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
495
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PContentSlider, never>;
|
|
496
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PContentSlider, "p-content-slider", never, { "disableAutoCenter": { "alias": "disableAutoCenter"; "required": false; }; "disableDrag": { "alias": "disableDrag"; "required": false; }; "disableIndicatorClick": { "alias": "disableIndicatorClick"; "required": false; }; "hideMobileIndicator": { "alias": "hideMobileIndicator"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
497
|
+
}
|
|
498
|
+
declare interface PContentSlider extends Components$1.PContentSlider {
|
|
499
|
+
}
|
|
500
|
+
declare class PCropper {
|
|
501
|
+
protected z: NgZone;
|
|
502
|
+
protected el: HTMLPCropperElement;
|
|
503
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
504
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PCropper, never>;
|
|
505
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PCropper, "p-cropper", never, { "returnType": { "alias": "returnType"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
506
|
+
}
|
|
507
|
+
declare interface PCropper extends Components$1.PCropper {
|
|
508
|
+
/**
|
|
509
|
+
* Event when the value changes
|
|
510
|
+
*/
|
|
511
|
+
valueChange: EventEmitter<CustomEvent<any>>;
|
|
512
|
+
}
|
|
513
|
+
declare class PDatepicker {
|
|
514
|
+
protected z: NgZone;
|
|
515
|
+
protected el: HTMLPDatepickerElement;
|
|
516
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
517
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PDatepicker, never>;
|
|
518
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PDatepicker, "p-datepicker", never, { "disableWeekends": { "alias": "disableWeekends"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "disabledDates": { "alias": "disabledDates"; "required": false; }; "enableNativePicker": { "alias": "enableNativePicker"; "required": false; }; "enableToday": { "alias": "enableToday"; "required": false; }; "error": { "alias": "error"; "required": false; }; "format": { "alias": "format"; "required": false; }; "helper": { "alias": "helper"; "required": false; }; "hideIconWhenFilled": { "alias": "hideIconWhenFilled"; "required": false; }; "label": { "alias": "label"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "placement": { "alias": "placement"; "required": false; }; "prefix": { "alias": "prefix"; "required": false; }; "preselectToday": { "alias": "preselectToday"; "required": false; }; "required": { "alias": "required"; "required": false; }; "showOptional": { "alias": "showOptional"; "required": false; }; "size": { "alias": "size"; "required": false; }; "strategy": { "alias": "strategy"; "required": false; }; "todayText": { "alias": "todayText"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
519
|
+
}
|
|
520
|
+
declare interface PDatepicker extends Components$1.PDatepicker {
|
|
521
|
+
/**
|
|
522
|
+
* Event when the value changes
|
|
523
|
+
*/
|
|
524
|
+
valueChange: EventEmitter<CustomEvent<any>>;
|
|
525
|
+
}
|
|
526
|
+
declare class PDivider {
|
|
527
|
+
protected z: NgZone;
|
|
528
|
+
protected el: HTMLPDividerElement;
|
|
529
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
530
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PDivider, never>;
|
|
531
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PDivider, "p-divider", never, { "alignContent": { "alias": "alignContent"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
532
|
+
}
|
|
533
|
+
declare interface PDivider extends Components$1.PDivider {
|
|
534
|
+
}
|
|
535
|
+
declare class PDrawer {
|
|
536
|
+
protected z: NgZone;
|
|
537
|
+
protected el: HTMLPDrawerElement;
|
|
538
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
539
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PDrawer, never>;
|
|
540
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PDrawer, "p-drawer", never, { "applyBlur": { "alias": "applyBlur"; "required": false; }; "backdropClickClose": { "alias": "backdropClickClose"; "required": false; }; "canClose": { "alias": "canClose"; "required": false; }; "header": { "alias": "header"; "required": false; }; "scrollLock": { "alias": "scrollLock"; "required": false; }; "show": { "alias": "show"; "required": false; }; "showClose": { "alias": "showClose"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
541
|
+
}
|
|
542
|
+
declare interface PDrawer extends Components$1.PDrawer {
|
|
543
|
+
/**
|
|
544
|
+
* Close click event
|
|
545
|
+
*/
|
|
546
|
+
closeClicked: EventEmitter<CustomEvent<{
|
|
547
|
+
event: MouseEvent;
|
|
548
|
+
canClose: boolean;
|
|
549
|
+
source: 'unknown' | 'backdrop' | 'close' | 'event';
|
|
550
|
+
}>>;
|
|
551
|
+
/**
|
|
552
|
+
* Closed event
|
|
553
|
+
*/
|
|
554
|
+
closed: EventEmitter<CustomEvent<null>>;
|
|
555
|
+
}
|
|
556
|
+
declare class PDrawerBody {
|
|
557
|
+
protected z: NgZone;
|
|
558
|
+
protected el: HTMLPDrawerBodyElement;
|
|
559
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
560
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PDrawerBody, never>;
|
|
561
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PDrawerBody, "p-drawer-body", never, {}, {}, never, ["*"], true, never>;
|
|
562
|
+
}
|
|
563
|
+
declare interface PDrawerBody extends Components$1.PDrawerBody {
|
|
564
|
+
}
|
|
565
|
+
declare class PDrawerContainer {
|
|
566
|
+
protected z: NgZone;
|
|
567
|
+
protected el: HTMLPDrawerContainerElement;
|
|
568
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
569
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PDrawerContainer, never>;
|
|
570
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PDrawerContainer, "p-drawer-container", never, { "closing": { "alias": "closing"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
571
|
+
}
|
|
572
|
+
declare interface PDrawerContainer extends Components$1.PDrawerContainer {
|
|
573
|
+
}
|
|
574
|
+
declare class PDrawerHeader {
|
|
575
|
+
protected z: NgZone;
|
|
576
|
+
protected el: HTMLPDrawerHeaderElement;
|
|
577
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
578
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PDrawerHeader, never>;
|
|
579
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PDrawerHeader, "p-drawer-header", never, { "showClose": { "alias": "showClose"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
580
|
+
}
|
|
581
|
+
declare interface PDrawerHeader extends Components$1.PDrawerHeader {
|
|
582
|
+
/**
|
|
583
|
+
* Close click event
|
|
584
|
+
*/
|
|
585
|
+
close: EventEmitter<CustomEvent<MouseEvent>>;
|
|
586
|
+
}
|
|
587
|
+
declare class PDropdown {
|
|
588
|
+
protected z: NgZone;
|
|
589
|
+
protected el: HTMLPDropdownElement;
|
|
590
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
591
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PDropdown, never>;
|
|
592
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PDropdown, "p-dropdown", never, { "allowOverflow": { "alias": "allowOverflow"; "required": false; }; "applyChevron": { "alias": "applyChevron"; "required": false; }; "applyFullWidth": { "alias": "applyFullWidth"; "required": false; }; "applyMaxWidth": { "alias": "applyMaxWidth"; "required": false; }; "chevronDirection": { "alias": "chevronDirection"; "required": false; }; "chevronPosition": { "alias": "chevronPosition"; "required": false; }; "containerClass": { "alias": "containerClass"; "required": false; }; "disableTriggerClick": { "alias": "disableTriggerClick"; "required": false; }; "insideClick": { "alias": "insideClick"; "required": false; }; "isDatepicker": { "alias": "isDatepicker"; "required": false; }; "manual": { "alias": "manual"; "required": false; }; "manualChevron": { "alias": "manualChevron"; "required": false; }; "offset": { "alias": "offset"; "required": false; }; "placement": { "alias": "placement"; "required": false; }; "scrollable": { "alias": "scrollable"; "required": false; }; "show": { "alias": "show"; "required": false; }; "strategy": { "alias": "strategy"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
593
|
+
}
|
|
594
|
+
declare interface PDropdown extends Components$1.PDropdown {
|
|
595
|
+
/**
|
|
596
|
+
* Open change event
|
|
597
|
+
*/
|
|
598
|
+
isOpen: EventEmitter<CustomEvent<boolean>>;
|
|
599
|
+
}
|
|
600
|
+
declare class PDropdownMenuContainer {
|
|
601
|
+
protected z: NgZone;
|
|
602
|
+
protected el: HTMLPDropdownMenuContainerElement;
|
|
603
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
604
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PDropdownMenuContainer, never>;
|
|
605
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PDropdownMenuContainer, "p-dropdown-menu-container", never, { "allowOverflow": { "alias": "allowOverflow"; "required": false; }; "class": { "alias": "class"; "required": false; }; "fullWidth": { "alias": "fullWidth"; "required": false; }; "maxWidth": { "alias": "maxWidth"; "required": false; }; "scrollable": { "alias": "scrollable"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
606
|
+
}
|
|
607
|
+
declare interface PDropdownMenuContainer extends Components$1.PDropdownMenuContainer {
|
|
608
|
+
}
|
|
609
|
+
declare class PDropdownMenuItem {
|
|
610
|
+
protected z: NgZone;
|
|
611
|
+
protected el: HTMLPDropdownMenuItemElement;
|
|
612
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
613
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PDropdownMenuItem, never>;
|
|
614
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PDropdownMenuItem, "p-dropdown-menu-item", never, { "active": { "alias": "active"; "required": false; }; "autoHeight": { "alias": "autoHeight"; "required": false; }; "checkbox": { "alias": "checkbox"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "enableHover": { "alias": "enableHover"; "required": false; }; "enableTextWrap": { "alias": "enableTextWrap"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "iconWave": { "alias": "iconWave"; "required": false; }; "useContainer": { "alias": "useContainer"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
615
|
+
}
|
|
616
|
+
declare interface PDropdownMenuItem extends Components$1.PDropdownMenuItem {
|
|
617
|
+
}
|
|
618
|
+
declare class PEmptyState {
|
|
619
|
+
protected z: NgZone;
|
|
620
|
+
protected el: HTMLPEmptyStateElement;
|
|
621
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
622
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PEmptyState, never>;
|
|
623
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PEmptyState, "p-empty-state", never, { "actionIcon": { "alias": "actionIcon"; "required": false; }; "actionIconPosition": { "alias": "actionIconPosition"; "required": false; }; "actionLoading": { "alias": "actionLoading"; "required": false; }; "actionText": { "alias": "actionText"; "required": false; }; "actionVariant": { "alias": "actionVariant"; "required": false; }; "content": { "alias": "content"; "required": false; }; "enableAction": { "alias": "enableAction"; "required": false; }; "header": { "alias": "header"; "required": false; }; "illustration": { "alias": "illustration"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
624
|
+
}
|
|
625
|
+
declare interface PEmptyState extends Components$1.PEmptyState {
|
|
626
|
+
/**
|
|
627
|
+
* The text on the action button
|
|
628
|
+
*/
|
|
629
|
+
action: EventEmitter<CustomEvent<MouseEvent>>;
|
|
630
|
+
}
|
|
631
|
+
declare class PField {
|
|
632
|
+
protected z: NgZone;
|
|
633
|
+
protected el: HTMLPFieldElement;
|
|
634
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
635
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PField, never>;
|
|
636
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PField, "p-field", never, { "addText": { "alias": "addText"; "required": false; }; "align": { "alias": "align"; "required": false; }; "autoShowError": { "alias": "autoShowError"; "required": false; }; "autofocus": { "alias": "autofocus"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "error": { "alias": "error"; "required": false; }; "errorPlacement": { "alias": "errorPlacement"; "required": false; }; "focusMethod": { "alias": "focusMethod"; "required": false; }; "focused": { "alias": "focused"; "required": false; }; "forceShowTooltip": { "alias": "forceShowTooltip"; "required": false; }; "helper": { "alias": "helper"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "iconFlip": { "alias": "iconFlip"; "required": false; }; "iconPosition": { "alias": "iconPosition"; "required": false; }; "iconRotate": { "alias": "iconRotate"; "required": false; }; "id": { "alias": "id"; "required": false; }; "label": { "alias": "label"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "optionalTemplate": { "alias": "optionalTemplate"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "prefix": { "alias": "prefix"; "required": false; }; "properties": { "alias": "properties"; "required": false; }; "required": { "alias": "required"; "required": false; }; "selectAllOnFocus": { "alias": "selectAllOnFocus"; "required": false; }; "showAddOnEmpty": { "alias": "showAddOnEmpty"; "required": false; }; "showOptional": { "alias": "showOptional"; "required": false; }; "size": { "alias": "size"; "required": false; }; "suffix": { "alias": "suffix"; "required": false; }; "type": { "alias": "type"; "required": false; }; "value": { "alias": "value"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
637
|
+
}
|
|
638
|
+
declare interface PField extends Components$1.PField {
|
|
639
|
+
/**
|
|
640
|
+
* Event whenever the value changes
|
|
641
|
+
*/
|
|
642
|
+
valueChange: EventEmitter<CustomEvent<string | number>>;
|
|
643
|
+
/**
|
|
644
|
+
* Event whenever the input ref changes
|
|
645
|
+
*/
|
|
646
|
+
inputRefChange: EventEmitter<CustomEvent<HTMLInputElement | HTMLTextAreaElement>>;
|
|
647
|
+
/**
|
|
648
|
+
* Event whenever the value changes
|
|
649
|
+
*/
|
|
650
|
+
add: EventEmitter<CustomEvent<void>>;
|
|
651
|
+
/**
|
|
652
|
+
* Event whenever the user presses enter and the field is focused
|
|
653
|
+
*/
|
|
654
|
+
enter: EventEmitter<CustomEvent<string | number>>;
|
|
655
|
+
}
|
|
656
|
+
declare class PFieldContainer {
|
|
657
|
+
protected z: NgZone;
|
|
658
|
+
protected el: HTMLPFieldContainerElement;
|
|
659
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
660
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PFieldContainer, never>;
|
|
661
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PFieldContainer, "p-field-container", never, { "align": { "alias": "align"; "required": false; }; "error": { "alias": "error"; "required": false; }; "errorPlacement": { "alias": "errorPlacement"; "required": false; }; "forceShowTooltip": { "alias": "forceShowTooltip"; "required": false; }; "helper": { "alias": "helper"; "required": false; }; "id": { "alias": "id"; "required": false; }; "label": { "alias": "label"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "loadingSize": { "alias": "loadingSize"; "required": false; }; "optionalTemplate": { "alias": "optionalTemplate"; "required": false; }; "required": { "alias": "required"; "required": false; }; "showOptional": { "alias": "showOptional"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
662
|
+
}
|
|
663
|
+
declare interface PFieldContainer extends Components$1.PFieldContainer {
|
|
664
|
+
focus: EventEmitter<CustomEvent<void>>;
|
|
665
|
+
}
|
|
666
|
+
declare class PFloatingMenuContainer {
|
|
667
|
+
protected z: NgZone;
|
|
668
|
+
protected el: HTMLPFloatingMenuContainerElement;
|
|
669
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
670
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PFloatingMenuContainer, never>;
|
|
671
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PFloatingMenuContainer, "p-floating-menu-container", never, { "amount": { "alias": "amount"; "required": false; }; "amountSelectedTemplate": { "alias": "amountSelectedTemplate"; "required": false; }; "enableAmountSelected": { "alias": "enableAmountSelected"; "required": false; }; "enableClose": { "alias": "enableClose"; "required": false; }; "usedInTable": { "alias": "usedInTable"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
672
|
+
}
|
|
673
|
+
declare interface PFloatingMenuContainer extends Components$1.PFloatingMenuContainer {
|
|
674
|
+
/**
|
|
675
|
+
* Event whenever the close button is clicked
|
|
676
|
+
*/
|
|
677
|
+
close: EventEmitter<CustomEvent<MouseEvent>>;
|
|
678
|
+
}
|
|
679
|
+
declare class PFloatingMenuItem {
|
|
680
|
+
protected z: NgZone;
|
|
681
|
+
protected el: HTMLPFloatingMenuItemElement;
|
|
682
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
683
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PFloatingMenuItem, never>;
|
|
684
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PFloatingMenuItem, "p-floating-menu-item", never, { "disabled": { "alias": "disabled"; "required": false; }; "hover": { "alias": "hover"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "iconFlip": { "alias": "iconFlip"; "required": false; }; "iconPosition": { "alias": "iconPosition"; "required": false; }; "iconRotate": { "alias": "iconRotate"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
685
|
+
}
|
|
686
|
+
declare interface PFloatingMenuItem extends Components$1.PFloatingMenuItem {
|
|
687
|
+
}
|
|
688
|
+
declare class PHelper {
|
|
689
|
+
protected z: NgZone;
|
|
690
|
+
protected el: HTMLPHelperElement;
|
|
691
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
692
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PHelper, never>;
|
|
693
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PHelper, "p-helper", never, { "placement": { "alias": "placement"; "required": false; }; "strategy": { "alias": "strategy"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
694
|
+
}
|
|
695
|
+
declare interface PHelper extends Components$1.PHelper {
|
|
696
|
+
}
|
|
697
|
+
declare class PIbanIcon {
|
|
698
|
+
protected z: NgZone;
|
|
699
|
+
protected el: HTMLPIbanIconElement;
|
|
700
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
701
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PIbanIcon, never>;
|
|
702
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PIbanIcon, "p-iban-icon", never, { "iban": { "alias": "iban"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
703
|
+
}
|
|
704
|
+
declare interface PIbanIcon extends Components$1.PIbanIcon {
|
|
705
|
+
}
|
|
706
|
+
declare class PIcon {
|
|
707
|
+
protected z: NgZone;
|
|
708
|
+
protected el: HTMLPIconElement;
|
|
709
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
710
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PIcon, never>;
|
|
711
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PIcon, "p-icon", never, { "flip": { "alias": "flip"; "required": false; }; "rotate": { "alias": "rotate"; "required": false; }; "size": { "alias": "size"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
712
|
+
}
|
|
713
|
+
declare interface PIcon extends Components$1.PIcon {
|
|
714
|
+
}
|
|
715
|
+
declare class PIllustration {
|
|
716
|
+
protected z: NgZone;
|
|
717
|
+
protected el: HTMLPIllustrationElement;
|
|
718
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
719
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PIllustration, never>;
|
|
720
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PIllustration, "p-illustration", never, { "variant": { "alias": "variant"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
721
|
+
}
|
|
722
|
+
declare interface PIllustration extends Components$1.PIllustration {
|
|
723
|
+
}
|
|
724
|
+
declare class PInfoPanel {
|
|
725
|
+
protected z: NgZone;
|
|
726
|
+
protected el: HTMLPInfoPanelElement;
|
|
727
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
728
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PInfoPanel, never>;
|
|
729
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PInfoPanel, "p-info-panel", never, { "closeable": { "alias": "closeable"; "required": false; }; "content": { "alias": "content"; "required": false; }; "header": { "alias": "header"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
730
|
+
}
|
|
731
|
+
declare interface PInfoPanel extends Components$1.PInfoPanel {
|
|
732
|
+
/**
|
|
733
|
+
* When the backdrop is clicked
|
|
734
|
+
*/
|
|
735
|
+
closed: EventEmitter<CustomEvent<void>>;
|
|
736
|
+
}
|
|
737
|
+
declare class PLabel {
|
|
738
|
+
protected z: NgZone;
|
|
739
|
+
protected el: HTMLPLabelElement;
|
|
740
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
741
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PLabel, never>;
|
|
742
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PLabel, "p-label", never, { "icon": { "alias": "icon"; "required": false; }; "iconFlip": { "alias": "iconFlip"; "required": false; }; "iconOnly": { "alias": "iconOnly"; "required": false; }; "iconRotate": { "alias": "iconRotate"; "required": false; }; "keepMobileContent": { "alias": "keepMobileContent"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
743
|
+
}
|
|
744
|
+
declare interface PLabel extends Components$1.PLabel {
|
|
745
|
+
}
|
|
746
|
+
declare class PLayout {
|
|
747
|
+
protected z: NgZone;
|
|
748
|
+
protected el: HTMLPLayoutElement;
|
|
749
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
750
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PLayout, never>;
|
|
751
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PLayout, "p-layout", never, { "variant": { "alias": "variant"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
752
|
+
}
|
|
753
|
+
declare interface PLayout extends Components$1.PLayout {
|
|
754
|
+
/**
|
|
755
|
+
* Event whenever the layout is being scrolled
|
|
756
|
+
*/
|
|
757
|
+
scroll: EventEmitter<CustomEvent<any>>;
|
|
758
|
+
}
|
|
759
|
+
declare class PListing {
|
|
760
|
+
protected z: NgZone;
|
|
761
|
+
protected el: HTMLPListingElement;
|
|
762
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
763
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PListing, never>;
|
|
764
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PListing, "p-listing", never, {}, {}, never, ["*"], true, never>;
|
|
765
|
+
}
|
|
766
|
+
declare interface PListing extends Components$1.PListing {
|
|
767
|
+
}
|
|
768
|
+
declare class PListingItem {
|
|
769
|
+
protected z: NgZone;
|
|
770
|
+
protected el: HTMLPListingItemElement;
|
|
771
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
772
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PListingItem, never>;
|
|
773
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PListingItem, "p-listing-item", never, { "icon": { "alias": "icon"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
774
|
+
}
|
|
775
|
+
declare interface PListingItem extends Components$1.PListingItem {
|
|
776
|
+
}
|
|
777
|
+
declare class PListingLine {
|
|
778
|
+
protected z: NgZone;
|
|
779
|
+
protected el: HTMLPListingLineElement;
|
|
780
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
781
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PListingLine, never>;
|
|
782
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PListingLine, "p-listing-line", never, {}, {}, never, ["*"], true, never>;
|
|
783
|
+
}
|
|
784
|
+
declare interface PListingLine extends Components$1.PListingLine {
|
|
785
|
+
}
|
|
786
|
+
declare class PLoader {
|
|
787
|
+
protected z: NgZone;
|
|
788
|
+
protected el: HTMLPLoaderElement;
|
|
789
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
790
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PLoader, never>;
|
|
791
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PLoader, "p-loader", never, { "color": { "alias": "color"; "required": false; }; "modalDescription": { "alias": "modalDescription"; "required": false; }; "modalTitle": { "alias": "modalTitle"; "required": false; }; "show": { "alias": "show"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
792
|
+
}
|
|
793
|
+
declare interface PLoader extends Components$1.PLoader {
|
|
794
|
+
}
|
|
795
|
+
declare class PModal {
|
|
796
|
+
protected z: NgZone;
|
|
797
|
+
protected el: HTMLPModalElement;
|
|
798
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
799
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PModal, never>;
|
|
800
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PModal, "p-modal", never, { "applyBlur": { "alias": "applyBlur"; "required": false; }; "backdropClickClose": { "alias": "backdropClickClose"; "required": false; }; "header": { "alias": "header"; "required": false; }; "scrollLock": { "alias": "scrollLock"; "required": false; }; "show": { "alias": "show"; "required": false; }; "showClose": { "alias": "showClose"; "required": false; }; "showMobileFooter": { "alias": "showMobileFooter"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
801
|
+
}
|
|
802
|
+
declare interface PModal extends Components$1.PModal {
|
|
803
|
+
/**
|
|
804
|
+
* Close click event
|
|
805
|
+
*/
|
|
806
|
+
closeClicked: EventEmitter<CustomEvent<MouseEvent>>;
|
|
807
|
+
/**
|
|
808
|
+
* Closed event
|
|
809
|
+
*/
|
|
810
|
+
closed: EventEmitter<CustomEvent<string>>;
|
|
811
|
+
}
|
|
812
|
+
declare class PModalBody {
|
|
813
|
+
protected z: NgZone;
|
|
814
|
+
protected el: HTMLPModalBodyElement;
|
|
815
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
816
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PModalBody, never>;
|
|
817
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PModalBody, "p-modal-body", never, { "roundedBottom": { "alias": "roundedBottom"; "required": false; }; "roundedTop": { "alias": "roundedTop"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
818
|
+
}
|
|
819
|
+
declare interface PModalBody extends Components$1.PModalBody {
|
|
820
|
+
}
|
|
821
|
+
declare class PModalContainer {
|
|
822
|
+
protected z: NgZone;
|
|
823
|
+
protected el: HTMLPModalContainerElement;
|
|
824
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
825
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PModalContainer, never>;
|
|
826
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PModalContainer, "p-modal-container", never, { "closing": { "alias": "closing"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
827
|
+
}
|
|
828
|
+
declare interface PModalContainer extends Components$1.PModalContainer {
|
|
829
|
+
}
|
|
830
|
+
declare class PModalFooter {
|
|
831
|
+
protected z: NgZone;
|
|
832
|
+
protected el: HTMLPModalFooterElement;
|
|
833
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
834
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PModalFooter, never>;
|
|
835
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PModalFooter, "p-modal-footer", never, {}, {}, never, ["*"], true, never>;
|
|
836
|
+
}
|
|
837
|
+
declare interface PModalFooter extends Components$1.PModalFooter {
|
|
838
|
+
}
|
|
839
|
+
declare class PModalHeader {
|
|
840
|
+
protected z: NgZone;
|
|
841
|
+
protected el: HTMLPModalHeaderElement;
|
|
842
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
843
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PModalHeader, never>;
|
|
844
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PModalHeader, "p-modal-header", never, { "showClose": { "alias": "showClose"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
845
|
+
}
|
|
846
|
+
declare interface PModalHeader extends Components$1.PModalHeader {
|
|
847
|
+
/**
|
|
848
|
+
* Close click event
|
|
849
|
+
*/
|
|
850
|
+
close: EventEmitter<CustomEvent<MouseEvent>>;
|
|
851
|
+
}
|
|
852
|
+
declare class PNavbar {
|
|
853
|
+
protected z: NgZone;
|
|
854
|
+
protected el: HTMLPNavbarElement;
|
|
855
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
856
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PNavbar, never>;
|
|
857
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PNavbar, "p-navbar", never, {}, {}, never, ["*"], true, never>;
|
|
858
|
+
}
|
|
859
|
+
declare interface PNavbar extends Components$1.PNavbar {
|
|
860
|
+
}
|
|
861
|
+
declare class PNavigationItem {
|
|
862
|
+
protected z: NgZone;
|
|
863
|
+
protected el: HTMLPNavigationItemElement;
|
|
864
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
865
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PNavigationItem, never>;
|
|
866
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PNavigationItem, "p-navigation-item", never, { "active": { "alias": "active"; "required": false; }; "applyFullWidth": { "alias": "applyFullWidth"; "required": false; }; "as": { "alias": "as"; "required": false; }; "class": { "alias": "class"; "required": false; }; "counter": { "alias": "counter"; "required": false; }; "href": { "alias": "href"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "target": { "alias": "target"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
867
|
+
}
|
|
868
|
+
declare interface PNavigationItem extends Components$1.PNavigationItem {
|
|
869
|
+
}
|
|
870
|
+
declare class PNavigationSection {
|
|
871
|
+
protected z: NgZone;
|
|
872
|
+
protected el: HTMLPNavigationSectionElement;
|
|
873
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
874
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PNavigationSection, never>;
|
|
875
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PNavigationSection, "p-navigation-section", never, { "header": { "alias": "header"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
876
|
+
}
|
|
877
|
+
declare interface PNavigationSection extends Components$1.PNavigationSection {
|
|
878
|
+
}
|
|
879
|
+
declare class PNavigationTitle {
|
|
880
|
+
protected z: NgZone;
|
|
881
|
+
protected el: HTMLPNavigationTitleElement;
|
|
882
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
883
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PNavigationTitle, never>;
|
|
884
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PNavigationTitle, "p-navigation-title", never, {}, {}, never, ["*"], true, never>;
|
|
885
|
+
}
|
|
886
|
+
declare interface PNavigationTitle extends Components$1.PNavigationTitle {
|
|
887
|
+
}
|
|
888
|
+
declare class PPagination {
|
|
889
|
+
protected z: NgZone;
|
|
890
|
+
protected el: HTMLPPaginationElement;
|
|
891
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
892
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PPagination, never>;
|
|
893
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PPagination, "p-pagination", never, { "enablePaginationPages": { "alias": "enablePaginationPages"; "required": false; }; "enablePaginationSize": { "alias": "enablePaginationSize"; "required": false; }; "hideOnSinglePage": { "alias": "hideOnSinglePage"; "required": false; }; "page": { "alias": "page"; "required": false; }; "pageSize": { "alias": "pageSize"; "required": false; }; "pageSizeOptions": { "alias": "pageSizeOptions"; "required": false; }; "total": { "alias": "total"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
894
|
+
}
|
|
895
|
+
declare interface PPagination extends Components$1.PPagination {
|
|
896
|
+
/**
|
|
897
|
+
* Event whenever the page changes
|
|
898
|
+
*/
|
|
899
|
+
pageChange: EventEmitter<CustomEvent<number>>;
|
|
900
|
+
/**
|
|
901
|
+
* Event whenever the page changes
|
|
902
|
+
*/
|
|
903
|
+
pageSizeChange: EventEmitter<CustomEvent<number>>;
|
|
904
|
+
/**
|
|
905
|
+
* The pages that were generated
|
|
906
|
+
*/
|
|
907
|
+
pagesChange: EventEmitter<CustomEvent<number>>;
|
|
908
|
+
}
|
|
909
|
+
declare class PPaginationPages {
|
|
910
|
+
protected z: NgZone;
|
|
911
|
+
protected el: HTMLPPaginationPagesElement;
|
|
912
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
913
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PPaginationPages, never>;
|
|
914
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PPaginationPages, "p-pagination-pages", never, { "dropdownPageTemplate": { "alias": "dropdownPageTemplate"; "required": false; }; "hideOnSinglePage": { "alias": "hideOnSinglePage"; "required": false; }; "page": { "alias": "page"; "required": false; }; "pageSize": { "alias": "pageSize"; "required": false; }; "total": { "alias": "total"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
915
|
+
}
|
|
916
|
+
declare interface PPaginationPages extends Components$1.PPaginationPages {
|
|
917
|
+
/**
|
|
918
|
+
* Event whenever the page changes
|
|
919
|
+
*/
|
|
920
|
+
pageChange: EventEmitter<CustomEvent<number>>;
|
|
921
|
+
/**
|
|
922
|
+
* The pages that were generated
|
|
923
|
+
*/
|
|
924
|
+
pagesChange: EventEmitter<CustomEvent<number>>;
|
|
925
|
+
}
|
|
926
|
+
declare class PPaginationPagesItem {
|
|
927
|
+
protected z: NgZone;
|
|
928
|
+
protected el: HTMLPPaginationPagesItemElement;
|
|
929
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
930
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PPaginationPagesItem, never>;
|
|
931
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PPaginationPagesItem, "p-pagination-pages-item", never, { "active": { "alias": "active"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "hover": { "alias": "hover"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
932
|
+
}
|
|
933
|
+
declare interface PPaginationPagesItem extends Components$1.PPaginationPagesItem {
|
|
934
|
+
}
|
|
935
|
+
declare class PPaginationSize {
|
|
936
|
+
protected z: NgZone;
|
|
937
|
+
protected el: HTMLPPaginationSizeElement;
|
|
938
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
939
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PPaginationSize, never>;
|
|
940
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PPaginationSize, "p-pagination-size", never, { "hidden": { "alias": "hidden"; "required": false; }; "itemTemplate": { "alias": "itemTemplate"; "required": false; }; "size": { "alias": "size"; "required": false; }; "sizeOptions": { "alias": "sizeOptions"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
941
|
+
}
|
|
942
|
+
declare interface PPaginationSize extends Components$1.PPaginationSize {
|
|
943
|
+
/**
|
|
944
|
+
* Event whenever the size changes
|
|
945
|
+
*/
|
|
946
|
+
sizeChange: EventEmitter<CustomEvent<number>>;
|
|
947
|
+
}
|
|
948
|
+
declare class PProfile {
|
|
949
|
+
protected z: NgZone;
|
|
950
|
+
protected el: HTMLPProfileElement;
|
|
951
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
952
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PProfile, never>;
|
|
953
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PProfile, "p-profile", never, { "dropdownLocation": { "alias": "dropdownLocation"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
954
|
+
}
|
|
955
|
+
declare interface PProfile extends Components$1.PProfile {
|
|
956
|
+
}
|
|
957
|
+
declare class PRadio {
|
|
958
|
+
protected z: NgZone;
|
|
959
|
+
protected el: HTMLPRadioElement;
|
|
960
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
961
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PRadio, never>;
|
|
962
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PRadio, "p-radio", never, { "checked": { "alias": "checked"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "id": { "alias": "id"; "required": false; }; "name": { "alias": "name"; "required": false; }; "required": { "alias": "required"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
963
|
+
}
|
|
964
|
+
declare interface PRadio extends Components$1.PRadio {
|
|
965
|
+
/**
|
|
966
|
+
* Event whenever the checked changes
|
|
967
|
+
*/
|
|
968
|
+
checkedChange: EventEmitter<CustomEvent<boolean>>;
|
|
969
|
+
}
|
|
970
|
+
declare class PRange {
|
|
971
|
+
protected z: NgZone;
|
|
972
|
+
protected el: HTMLPRangeElement;
|
|
973
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
974
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PRange, never>;
|
|
975
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PRange, "p-range", never, { "max": { "alias": "max"; "required": false; }; "min": { "alias": "min"; "required": false; }; "step": { "alias": "step"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
976
|
+
}
|
|
977
|
+
declare interface PRange extends Components$1.PRange {
|
|
978
|
+
/**
|
|
979
|
+
* Event whenever the value changes
|
|
980
|
+
*/
|
|
981
|
+
valueChange: EventEmitter<CustomEvent<string>>;
|
|
982
|
+
}
|
|
983
|
+
declare class PSegmentContainer {
|
|
984
|
+
protected z: NgZone;
|
|
985
|
+
protected el: HTMLPSegmentContainerElement;
|
|
986
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
987
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PSegmentContainer, never>;
|
|
988
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PSegmentContainer, "p-segment-container", never, {}, {}, never, ["*"], true, never>;
|
|
989
|
+
}
|
|
990
|
+
declare interface PSegmentContainer extends Components$1.PSegmentContainer {
|
|
991
|
+
}
|
|
992
|
+
declare class PSegmentItem {
|
|
993
|
+
protected z: NgZone;
|
|
994
|
+
protected el: HTMLPSegmentItemElement;
|
|
995
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
996
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PSegmentItem, never>;
|
|
997
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PSegmentItem, "p-segment-item", never, { "active": { "alias": "active"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "iconFlip": { "alias": "iconFlip"; "required": false; }; "iconOnly": { "alias": "iconOnly"; "required": false; }; "iconRotate": { "alias": "iconRotate"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
998
|
+
}
|
|
999
|
+
declare interface PSegmentItem extends Components$1.PSegmentItem {
|
|
1000
|
+
}
|
|
1001
|
+
declare class PSelect {
|
|
1002
|
+
protected z: NgZone;
|
|
1003
|
+
protected el: HTMLPSelectElement;
|
|
1004
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
1005
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PSelect, never>;
|
|
1006
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PSelect, "p-select", never, { "addItemText": { "alias": "addItemText"; "required": false; }; "applyClassOnSelectedItem": { "alias": "applyClassOnSelectedItem"; "required": false; }; "applyClassOnSelectedItemInMenu": { "alias": "applyClassOnSelectedItemInMenu"; "required": false; }; "asyncFilter": { "alias": "asyncFilter"; "required": false; }; "autoSelectFirst": { "alias": "autoSelectFirst"; "required": false; }; "autocompletePlaceholder": { "alias": "autocompletePlaceholder"; "required": false; }; "avatarKey": { "alias": "avatarKey"; "required": false; }; "avatarLettersKey": { "alias": "avatarLettersKey"; "required": false; }; "classKey": { "alias": "classKey"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "displayKey": { "alias": "displayKey"; "required": false; }; "dropdownDisplayKey": { "alias": "dropdownDisplayKey"; "required": false; }; "emptyStateText": { "alias": "emptyStateText"; "required": false; }; "enableAutocomplete": { "alias": "enableAutocomplete"; "required": false; }; "enableSelectAll": { "alias": "enableSelectAll"; "required": false; }; "enableTextWrap": { "alias": "enableTextWrap"; "required": false; }; "error": { "alias": "error"; "required": false; }; "helper": { "alias": "helper"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "iconClassKey": { "alias": "iconClassKey"; "required": false; }; "iconKey": { "alias": "iconKey"; "required": false; }; "identifierKey": { "alias": "identifierKey"; "required": false; }; "items": { "alias": "items"; "required": false; }; "label": { "alias": "label"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "maxDisplayedItems": { "alias": "maxDisplayedItems"; "required": false; }; "multi": { "alias": "multi"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "prefix": { "alias": "prefix"; "required": false; }; "query": { "alias": "query"; "required": false; }; "queryKey": { "alias": "queryKey"; "required": false; }; "required": { "alias": "required"; "required": false; }; "selectAllIcon": { "alias": "selectAllIcon"; "required": false; }; "selectAllText": { "alias": "selectAllText"; "required": false; }; "selectionDisplayKey": { "alias": "selectionDisplayKey"; "required": false; }; "showAddItem": { "alias": "showAddItem"; "required": false; }; "showChevron": { "alias": "showChevron"; "required": false; }; "showIconOnSelectedItem": { "alias": "showIconOnSelectedItem"; "required": false; }; "showOptional": { "alias": "showOptional"; "required": false; }; "size": { "alias": "size"; "required": false; }; "strategy": { "alias": "strategy"; "required": false; }; "value": { "alias": "value"; "required": false; }; "valueKey": { "alias": "valueKey"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
1007
|
+
}
|
|
1008
|
+
declare interface PSelect extends Components$1.PSelect {
|
|
1009
|
+
/**
|
|
1010
|
+
* Event when the query of the autocomplete changes
|
|
1011
|
+
*/
|
|
1012
|
+
queryChange: EventEmitter<CustomEvent<string>>;
|
|
1013
|
+
/**
|
|
1014
|
+
* Event when the value changes
|
|
1015
|
+
*/
|
|
1016
|
+
valueChange: EventEmitter<CustomEvent<any>>;
|
|
1017
|
+
/**
|
|
1018
|
+
* Event when the select all item has been selected or not
|
|
1019
|
+
*/
|
|
1020
|
+
selectAllChange: EventEmitter<CustomEvent<any>>;
|
|
1021
|
+
/**
|
|
1022
|
+
* Event when the dropdown shows
|
|
1023
|
+
*/
|
|
1024
|
+
dropdownShown: EventEmitter<CustomEvent<any>>;
|
|
1025
|
+
/**
|
|
1026
|
+
* Event when the add item is clicked
|
|
1027
|
+
*/
|
|
1028
|
+
add: EventEmitter<CustomEvent<any>>;
|
|
1029
|
+
}
|
|
1030
|
+
declare class PSmile {
|
|
1031
|
+
protected z: NgZone;
|
|
1032
|
+
protected el: HTMLPSmileElement;
|
|
1033
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
1034
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PSmile, never>;
|
|
1035
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PSmile, "p-smile", never, { "variant": { "alias": "variant"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
1036
|
+
}
|
|
1037
|
+
declare interface PSmile extends Components$1.PSmile {
|
|
1038
|
+
}
|
|
1039
|
+
declare class PStepper {
|
|
1040
|
+
protected z: NgZone;
|
|
1041
|
+
protected el: HTMLPStepperElement;
|
|
1042
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
1043
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PStepper, never>;
|
|
1044
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PStepper, "p-stepper", never, { "activeStep": { "alias": "activeStep"; "required": false; }; "align": { "alias": "align"; "required": false; }; "contentPosition": { "alias": "contentPosition"; "required": false; }; "direction": { "alias": "direction"; "required": false; }; "enableAutoStatus": { "alias": "enableAutoStatus"; "required": false; }; "steps": { "alias": "steps"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
1045
|
+
}
|
|
1046
|
+
declare interface PStepper extends Components$1.PStepper {
|
|
1047
|
+
}
|
|
1048
|
+
declare class PStepperItem {
|
|
1049
|
+
protected z: NgZone;
|
|
1050
|
+
protected el: HTMLPStepperItemElement;
|
|
1051
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
1052
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PStepperItem, never>;
|
|
1053
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PStepperItem, "p-stepper-item", never, { "active": { "alias": "active"; "required": false; }; "align": { "alias": "align"; "required": false; }; "contentPosition": { "alias": "contentPosition"; "required": false; }; "direction": { "alias": "direction"; "required": false; }; "finished": { "alias": "finished"; "required": false; }; "number": { "alias": "number"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
1054
|
+
}
|
|
1055
|
+
declare interface PStepperItem extends Components$1.PStepperItem {
|
|
1056
|
+
}
|
|
1057
|
+
declare class PStepperLine {
|
|
1058
|
+
protected z: NgZone;
|
|
1059
|
+
protected el: HTMLPStepperLineElement;
|
|
1060
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
1061
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PStepperLine, never>;
|
|
1062
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PStepperLine, "p-stepper-line", never, { "active": { "alias": "active"; "required": false; }; "direction": { "alias": "direction"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
1063
|
+
}
|
|
1064
|
+
declare interface PStepperLine extends Components$1.PStepperLine {
|
|
1065
|
+
}
|
|
1066
|
+
declare class PTabContainer {
|
|
1067
|
+
protected z: NgZone;
|
|
1068
|
+
protected el: HTMLPTabContainerElement;
|
|
1069
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
1070
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PTabContainer, never>;
|
|
1071
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PTabContainer, "p-tab-container", never, {}, {}, never, ["*"], true, never>;
|
|
1072
|
+
}
|
|
1073
|
+
declare interface PTabContainer extends Components$1.PTabContainer {
|
|
1074
|
+
}
|
|
1075
|
+
declare class PTabItem {
|
|
1076
|
+
protected z: NgZone;
|
|
1077
|
+
protected el: HTMLPTabItemElement;
|
|
1078
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
1079
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PTabItem, never>;
|
|
1080
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PTabItem, "p-tab-item", never, { "active": { "alias": "active"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
1081
|
+
}
|
|
1082
|
+
declare interface PTabItem extends Components$1.PTabItem {
|
|
1083
|
+
}
|
|
1084
|
+
declare class PTableContainer {
|
|
1085
|
+
protected z: NgZone;
|
|
1086
|
+
protected el: HTMLPTableContainerElement;
|
|
1087
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
1088
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PTableContainer, never>;
|
|
1089
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PTableContainer, "p-table-container", never, {}, {}, never, ["*"], true, never>;
|
|
1090
|
+
}
|
|
1091
|
+
declare interface PTableContainer extends Components$1.PTableContainer {
|
|
1092
|
+
}
|
|
1093
|
+
declare class PTableFooter {
|
|
1094
|
+
protected z: NgZone;
|
|
1095
|
+
protected el: HTMLPTableFooterElement;
|
|
1096
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
1097
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PTableFooter, never>;
|
|
1098
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PTableFooter, "p-table-footer", never, { "enablePaginationPages": { "alias": "enablePaginationPages"; "required": false; }; "enablePaginationSize": { "alias": "enablePaginationSize"; "required": false; }; "hideOnSinglePage": { "alias": "hideOnSinglePage"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "page": { "alias": "page"; "required": false; }; "pageSize": { "alias": "pageSize"; "required": false; }; "pageSizeOptions": { "alias": "pageSizeOptions"; "required": false; }; "tableHeaderHasAction": { "alias": "tableHeaderHasAction"; "required": false; }; "total": { "alias": "total"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
1099
|
+
}
|
|
1100
|
+
declare interface PTableFooter extends Components$1.PTableFooter {
|
|
1101
|
+
/**
|
|
1102
|
+
* Event whenever the page changes
|
|
1103
|
+
*/
|
|
1104
|
+
pageChange: EventEmitter<CustomEvent<number>>;
|
|
1105
|
+
/**
|
|
1106
|
+
* Event whenever the page changes
|
|
1107
|
+
*/
|
|
1108
|
+
pageSizeChange: EventEmitter<CustomEvent<number>>;
|
|
1109
|
+
/**
|
|
1110
|
+
* Event whenever the footer is hidden or nog
|
|
1111
|
+
*/
|
|
1112
|
+
hiddenChange: EventEmitter<CustomEvent<boolean>>;
|
|
1113
|
+
}
|
|
1114
|
+
declare class PTableHeader {
|
|
1115
|
+
protected z: NgZone;
|
|
1116
|
+
protected el: HTMLPTableHeaderElement;
|
|
1117
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
1118
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PTableHeader, never>;
|
|
1119
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PTableHeader, "p-table-header", never, { "actionButtonTemplate": { "alias": "actionButtonTemplate"; "required": false; }; "actionIcon": { "alias": "actionIcon"; "required": false; }; "actionLoading": { "alias": "actionLoading"; "required": false; }; "actionText": { "alias": "actionText"; "required": false; }; "activeQuickFilterIdentifier": { "alias": "activeQuickFilterIdentifier"; "required": false; }; "canUseAction": { "alias": "canUseAction"; "required": false; }; "enableAction": { "alias": "enableAction"; "required": false; }; "enableExport": { "alias": "enableExport"; "required": false; }; "enableFilter": { "alias": "enableFilter"; "required": false; }; "enableFilterDesktop": { "alias": "enableFilterDesktop"; "required": false; }; "enableSearch": { "alias": "enableSearch"; "required": false; }; "filterButtonTemplate": { "alias": "filterButtonTemplate"; "required": false; }; "itemsSelectedAmount": { "alias": "itemsSelectedAmount"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "query": { "alias": "query"; "required": false; }; "quickFilters": { "alias": "quickFilters"; "required": false; }; "selectedFiltersAmount": { "alias": "selectedFiltersAmount"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
1120
|
+
}
|
|
1121
|
+
declare interface PTableHeader extends Components$1.PTableHeader {
|
|
1122
|
+
/**
|
|
1123
|
+
* Event when one of the quick filters is clicked
|
|
1124
|
+
*/
|
|
1125
|
+
quickFilter: EventEmitter<CustomEvent<QuickFilter$1>>;
|
|
1126
|
+
/**
|
|
1127
|
+
* Event when the query changes
|
|
1128
|
+
*/
|
|
1129
|
+
queryChange: EventEmitter<CustomEvent<string>>;
|
|
1130
|
+
/**
|
|
1131
|
+
* Event when the filter button is clicked
|
|
1132
|
+
*/
|
|
1133
|
+
filter: EventEmitter<CustomEvent<null>>;
|
|
1134
|
+
/**
|
|
1135
|
+
* Event when the action button is clicked
|
|
1136
|
+
*/
|
|
1137
|
+
action: EventEmitter<CustomEvent<null>>;
|
|
1138
|
+
/**
|
|
1139
|
+
* Event whenever the export button is clicked
|
|
1140
|
+
*/
|
|
1141
|
+
export: EventEmitter<CustomEvent<number>>;
|
|
1142
|
+
}
|
|
1143
|
+
declare class PTableRow {
|
|
1144
|
+
protected z: NgZone;
|
|
1145
|
+
protected el: HTMLPTableRowElement;
|
|
1146
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
1147
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PTableRow, never>;
|
|
1148
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PTableRow, "p-table-row", never, { "checked": { "alias": "checked"; "required": false; }; "enableHover": { "alias": "enableHover"; "required": false; }; "isLast": { "alias": "isLast"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
1149
|
+
}
|
|
1150
|
+
declare interface PTableRow extends Components$1.PTableRow {
|
|
1151
|
+
}
|
|
1152
|
+
declare class PTableRowActionsContainer {
|
|
1153
|
+
protected z: NgZone;
|
|
1154
|
+
protected el: HTMLPTableRowActionsContainerElement;
|
|
1155
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
1156
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PTableRowActionsContainer, never>;
|
|
1157
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PTableRowActionsContainer, "p-table-row-actions-container", never, { "checked": { "alias": "checked"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
1158
|
+
}
|
|
1159
|
+
declare interface PTableRowActionsContainer extends Components$1.PTableRowActionsContainer {
|
|
1160
|
+
}
|
|
1161
|
+
declare class PToast {
|
|
1162
|
+
protected z: NgZone;
|
|
1163
|
+
protected el: HTMLPToastElement;
|
|
1164
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
1165
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PToast, never>;
|
|
1166
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PToast, "p-toast", never, { "actionIcon": { "alias": "actionIcon"; "required": false; }; "actionIconFlip": { "alias": "actionIconFlip"; "required": false; }; "actionIconRotate": { "alias": "actionIconRotate"; "required": false; }; "content": { "alias": "content"; "required": false; }; "enableAction": { "alias": "enableAction"; "required": false; }; "header": { "alias": "header"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
1167
|
+
}
|
|
1168
|
+
declare interface PToast extends Components$1.PToast {
|
|
1169
|
+
/**
|
|
1170
|
+
* Button click event
|
|
1171
|
+
*/
|
|
1172
|
+
action: EventEmitter<CustomEvent<MouseEvent>>;
|
|
1173
|
+
}
|
|
1174
|
+
declare class PToggle {
|
|
1175
|
+
protected z: NgZone;
|
|
1176
|
+
protected el: HTMLPToggleElement;
|
|
1177
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
1178
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PToggle, never>;
|
|
1179
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PToggle, "p-toggle", never, { "checked": { "alias": "checked"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "id": { "alias": "id"; "required": false; }; "name": { "alias": "name"; "required": false; }; "required": { "alias": "required"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
1180
|
+
}
|
|
1181
|
+
declare interface PToggle extends Components$1.PToggle {
|
|
1182
|
+
/**
|
|
1183
|
+
* Event whenever the checked changes
|
|
1184
|
+
*/
|
|
1185
|
+
checkedChange: EventEmitter<CustomEvent<boolean>>;
|
|
1186
|
+
/**
|
|
1187
|
+
* Event whenever the indeterminate changes
|
|
1188
|
+
*/
|
|
1189
|
+
indeterminateChange: EventEmitter<CustomEvent<boolean>>;
|
|
1190
|
+
}
|
|
1191
|
+
declare class PTooltip {
|
|
1192
|
+
protected z: NgZone;
|
|
1193
|
+
protected el: HTMLPTooltipElement;
|
|
1194
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
1195
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PTooltip, never>;
|
|
1196
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PTooltip, "p-tooltip", never, { "canManuallyClose": { "alias": "canManuallyClose"; "required": false; }; "content": { "alias": "content"; "required": false; }; "enableUserInput": { "alias": "enableUserInput"; "required": false; }; "offset": { "alias": "offset"; "required": false; }; "placement": { "alias": "placement"; "required": false; }; "show": { "alias": "show"; "required": false; }; "strategy": { "alias": "strategy"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
1197
|
+
}
|
|
1198
|
+
declare interface PTooltip extends Components$1.PTooltip {
|
|
1199
|
+
/**
|
|
1200
|
+
* Open change event
|
|
1201
|
+
*/
|
|
1202
|
+
isOpen: EventEmitter<CustomEvent<boolean>>;
|
|
1203
|
+
}
|
|
1204
|
+
|
|
1205
|
+
declare class PTableCustomRowDirective {
|
|
1206
|
+
templateRef: TemplateRef<any>;
|
|
1207
|
+
variant: 'default' | 'secondary' | 'header';
|
|
1208
|
+
constructor(templateRef: TemplateRef<any>);
|
|
1209
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PTableCustomRowDirective, never>;
|
|
1210
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<PTableCustomRowDirective, "[p-table-custom-row]", never, { "variant": { "alias": "variant"; "required": false; }; }, {}, never, never, true, never>;
|
|
1211
|
+
}
|
|
1212
|
+
|
|
1213
|
+
interface TableRowActionClickEvent {
|
|
1214
|
+
item?: any;
|
|
1215
|
+
items?: any[];
|
|
1216
|
+
multi: boolean;
|
|
1217
|
+
ctrlDown: boolean;
|
|
1218
|
+
}
|
|
1219
|
+
type AsyncItem<T> = Observable<T> | Subscribable<T> | Promise<T>;
|
|
1220
|
+
type TableRowActionRouterLink = string | any[] | AsyncItem<string | any[]> | ((item: any) => AsyncItem<string | any[]> | string | any[]);
|
|
1221
|
+
type TableRowActionQueryParams = Params | AsyncItem<Params> | ((item: any) => Params | AsyncItem<Params>);
|
|
1222
|
+
declare interface TableRowActionComponent extends Omit<Components.PTableRowAction, 'action' | 'showFunction'> {
|
|
1223
|
+
action: EventEmitter<TableRowActionClickEvent>;
|
|
1224
|
+
showFunction?: TableRowActionShowFunc;
|
|
1225
|
+
}
|
|
1226
|
+
declare class TableRowActionComponent implements OnChanges {
|
|
1227
|
+
private _c;
|
|
1228
|
+
protected z: NgZone;
|
|
1229
|
+
protected el: HTMLElement;
|
|
1230
|
+
/**
|
|
1231
|
+
* Routerlink to navigate to
|
|
1232
|
+
*/
|
|
1233
|
+
routerLink?: TableRowActionRouterLink;
|
|
1234
|
+
/**
|
|
1235
|
+
* Queryparams to add to the navigation
|
|
1236
|
+
*/
|
|
1237
|
+
queryParams?: TableRowActionQueryParams;
|
|
1238
|
+
/**
|
|
1239
|
+
* Event whenever a row is clicked
|
|
1240
|
+
*/
|
|
1241
|
+
action: EventEmitter<TableRowActionClickEvent>;
|
|
1242
|
+
/**
|
|
1243
|
+
* Event whenever loading has changed
|
|
1244
|
+
*/
|
|
1245
|
+
_loadingChanged: EventEmitter<boolean>;
|
|
1246
|
+
/**
|
|
1247
|
+
* A function for row actions of type "single" or "both" that determines if the action is shown on the row
|
|
1248
|
+
*/
|
|
1249
|
+
showFunction?: TableRowActionShowFunc;
|
|
1250
|
+
constructor(_c: ChangeDetectorRef, z: NgZone, r: ElementRef);
|
|
1251
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
1252
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TableRowActionComponent, never>;
|
|
1253
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TableRowActionComponent, "p-table-row-action", never, { "disabled": { "alias": "disabled"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "iconFlip": { "alias": "iconFlip"; "required": false; }; "iconOnly": { "alias": "iconOnly"; "required": false; }; "iconRotate": { "alias": "iconRotate"; "required": false; }; "label": { "alias": "label"; "required": false; }; "type": { "alias": "type"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "routerLink": { "alias": "routerLink"; "required": false; }; "queryParams": { "alias": "queryParams"; "required": false; }; "showFunction": { "alias": "showFunction"; "required": false; }; }, { "action": "action"; "_loadingChanged": "_loadingChanged"; }, never, ["*"], true, never>;
|
|
1254
|
+
}
|
|
1255
|
+
|
|
1256
|
+
declare class TableComponent implements OnInit, OnChanges, AfterViewInit {
|
|
1257
|
+
private _cd;
|
|
1258
|
+
hostClass: string;
|
|
1259
|
+
theme: any;
|
|
1260
|
+
/**
|
|
1261
|
+
* The items to be fed to the table
|
|
1262
|
+
*/
|
|
1263
|
+
items: string | any[];
|
|
1264
|
+
/**
|
|
1265
|
+
* Wether data is loading
|
|
1266
|
+
*/
|
|
1267
|
+
loading: boolean;
|
|
1268
|
+
/**
|
|
1269
|
+
* Wether the header should show loading state
|
|
1270
|
+
*/
|
|
1271
|
+
headerLoading: boolean;
|
|
1272
|
+
/**
|
|
1273
|
+
* Wether the footer should show loading state
|
|
1274
|
+
*/
|
|
1275
|
+
footerLoading: boolean;
|
|
1276
|
+
/**
|
|
1277
|
+
* The amount of loading rows to show
|
|
1278
|
+
*/
|
|
1279
|
+
amountOfLoadingRows: number;
|
|
1280
|
+
/**
|
|
1281
|
+
* Wether to enable selection
|
|
1282
|
+
*/
|
|
1283
|
+
enableRowSelection: boolean;
|
|
1284
|
+
/**
|
|
1285
|
+
* A limit to the amount of rows that can be selected
|
|
1286
|
+
*/
|
|
1287
|
+
rowSelectionLimit: number | undefined;
|
|
1288
|
+
/**
|
|
1289
|
+
* Wether to enable row clicking
|
|
1290
|
+
*/
|
|
1291
|
+
enableRowClick: boolean;
|
|
1292
|
+
/**
|
|
1293
|
+
* The current selection of items
|
|
1294
|
+
*/
|
|
1295
|
+
selectedRows: any[];
|
|
1296
|
+
/**
|
|
1297
|
+
* Event whenever the current selection changes
|
|
1298
|
+
*/
|
|
1299
|
+
selectedRowsChange: EventEmitter<any>;
|
|
1300
|
+
/**
|
|
1301
|
+
* The key to determine if a row is selected
|
|
1302
|
+
*/
|
|
1303
|
+
selectionKey: string | undefined;
|
|
1304
|
+
/**
|
|
1305
|
+
* A key to determine if a row can be selected
|
|
1306
|
+
*/
|
|
1307
|
+
canSelectKey: string | undefined;
|
|
1308
|
+
/**
|
|
1309
|
+
* Wether to enable the floating menu
|
|
1310
|
+
*/
|
|
1311
|
+
enableFloatingMenu: boolean;
|
|
1312
|
+
/**
|
|
1313
|
+
* The floating menu amount item text
|
|
1314
|
+
*/
|
|
1315
|
+
floatingMenuAmountSelectedText: string;
|
|
1316
|
+
/**
|
|
1317
|
+
* The template for amount selected item in the floating menu
|
|
1318
|
+
*/
|
|
1319
|
+
floatingMenuAmountSelectedTemplate: any;
|
|
1320
|
+
/**
|
|
1321
|
+
* Wether the floating menu has been shown atleast once
|
|
1322
|
+
*/
|
|
1323
|
+
floatingMenuShown$: BehaviorSubject<boolean>;
|
|
1324
|
+
/**
|
|
1325
|
+
* Event whenever a row is clicked
|
|
1326
|
+
*/
|
|
1327
|
+
rowClick: EventEmitter<RowClickEvent>;
|
|
1328
|
+
/**
|
|
1329
|
+
* Event whenever a row is selected
|
|
1330
|
+
*/
|
|
1331
|
+
rowSelected: EventEmitter<any>;
|
|
1332
|
+
/**
|
|
1333
|
+
* Event whenever a row is deselected
|
|
1334
|
+
*/
|
|
1335
|
+
rowDeselected: EventEmitter<any>;
|
|
1336
|
+
/** START HEADER */
|
|
1337
|
+
/**
|
|
1338
|
+
* Wether to show the header
|
|
1339
|
+
*/
|
|
1340
|
+
enableHeader: boolean;
|
|
1341
|
+
/**
|
|
1342
|
+
* Quick filters to show
|
|
1343
|
+
*/
|
|
1344
|
+
quickFilters: QuickFilter[];
|
|
1345
|
+
/**
|
|
1346
|
+
* Active quick filter identifier
|
|
1347
|
+
*/
|
|
1348
|
+
activeQuickFilterIdentifier: string | undefined;
|
|
1349
|
+
/**
|
|
1350
|
+
* Wether to show the search input
|
|
1351
|
+
*/
|
|
1352
|
+
enableSearch: boolean;
|
|
1353
|
+
/**
|
|
1354
|
+
* The query to show in the search bar
|
|
1355
|
+
*/
|
|
1356
|
+
query: string | undefined;
|
|
1357
|
+
/**
|
|
1358
|
+
* Wether to show the filter button
|
|
1359
|
+
*/
|
|
1360
|
+
enableFilter: boolean;
|
|
1361
|
+
/**
|
|
1362
|
+
* Wether to show the filter button on desktop
|
|
1363
|
+
*/
|
|
1364
|
+
enableFilterDesktop: boolean;
|
|
1365
|
+
/**
|
|
1366
|
+
* The amount of filters being selected
|
|
1367
|
+
*/
|
|
1368
|
+
selectedFiltersAmount: number | undefined;
|
|
1369
|
+
/**
|
|
1370
|
+
* The template for the filter button text
|
|
1371
|
+
*/
|
|
1372
|
+
filterButtonTemplate: any;
|
|
1373
|
+
/**
|
|
1374
|
+
* Wether to show the action button
|
|
1375
|
+
*/
|
|
1376
|
+
enableAction: boolean;
|
|
1377
|
+
/**
|
|
1378
|
+
* Wether the action button is loading
|
|
1379
|
+
*/
|
|
1380
|
+
actionButtonLoading: boolean;
|
|
1381
|
+
/**
|
|
1382
|
+
* The action button icon
|
|
1383
|
+
*/
|
|
1384
|
+
actionButtonIcon: IconVariant;
|
|
1385
|
+
/**
|
|
1386
|
+
* Wether the action button is enabled
|
|
1387
|
+
*/
|
|
1388
|
+
actionButtonEnabled: boolean;
|
|
1389
|
+
/**
|
|
1390
|
+
* The action button text if changed
|
|
1391
|
+
*/
|
|
1392
|
+
actionButtonText?: string;
|
|
1393
|
+
/**
|
|
1394
|
+
* The template for the action button text
|
|
1395
|
+
*/
|
|
1396
|
+
actionButtonTemplate: any;
|
|
1397
|
+
/**
|
|
1398
|
+
* Event when one of the quick filters is clicked
|
|
1399
|
+
*/
|
|
1400
|
+
quickFilter: EventEmitter<QuickFilter>;
|
|
1401
|
+
/**
|
|
1402
|
+
* Event when the query changes
|
|
1403
|
+
*/
|
|
1404
|
+
queryChange: EventEmitter<string>;
|
|
1405
|
+
/**
|
|
1406
|
+
* Event when the filter button is clicked
|
|
1407
|
+
*/
|
|
1408
|
+
filter: EventEmitter<null>;
|
|
1409
|
+
/**
|
|
1410
|
+
* Event when the action button is clicked
|
|
1411
|
+
*/
|
|
1412
|
+
action: EventEmitter<null>;
|
|
1413
|
+
/** START FOOTER */
|
|
1414
|
+
/**
|
|
1415
|
+
* Wether to show the footer
|
|
1416
|
+
*/
|
|
1417
|
+
enableFooter: boolean;
|
|
1418
|
+
/**
|
|
1419
|
+
* Wether to enable pagination size select
|
|
1420
|
+
*/
|
|
1421
|
+
enablePaginationSize: boolean;
|
|
1422
|
+
/**
|
|
1423
|
+
* Wether to enable pagination pages
|
|
1424
|
+
*/
|
|
1425
|
+
enablePaginationPages: boolean;
|
|
1426
|
+
/**
|
|
1427
|
+
* Wether to enable export
|
|
1428
|
+
*/
|
|
1429
|
+
enableExport: boolean;
|
|
1430
|
+
/**
|
|
1431
|
+
* The current page
|
|
1432
|
+
*/
|
|
1433
|
+
page: number;
|
|
1434
|
+
/**
|
|
1435
|
+
* The total amount of items
|
|
1436
|
+
*/
|
|
1437
|
+
total: number;
|
|
1438
|
+
/**
|
|
1439
|
+
* Event whenever the page changes
|
|
1440
|
+
*/
|
|
1441
|
+
pageChange: EventEmitter<number>;
|
|
1442
|
+
/**
|
|
1443
|
+
* The amount of items per page
|
|
1444
|
+
*/
|
|
1445
|
+
pageSize: number;
|
|
1446
|
+
/**
|
|
1447
|
+
* The options for the page size
|
|
1448
|
+
*/
|
|
1449
|
+
pageSizeOptions: number[];
|
|
1450
|
+
/**
|
|
1451
|
+
* Event whenever the page changes
|
|
1452
|
+
*/
|
|
1453
|
+
pageSizeChange: EventEmitter<number>;
|
|
1454
|
+
/**
|
|
1455
|
+
* Event whenever the page changes
|
|
1456
|
+
*/
|
|
1457
|
+
export: EventEmitter<number>;
|
|
1458
|
+
/**
|
|
1459
|
+
* Wether to hide when there is only 1 page available
|
|
1460
|
+
*/
|
|
1461
|
+
hideOnSinglePage: boolean;
|
|
1462
|
+
emptyStateType: 'no_filter' | 'filtered';
|
|
1463
|
+
emptyStateIllustration: IllustrationVariant;
|
|
1464
|
+
emptyStateHeader: string;
|
|
1465
|
+
emptyStateContent: string;
|
|
1466
|
+
emptyStateAction: string;
|
|
1467
|
+
emptyStateActionIcon: IconVariant;
|
|
1468
|
+
enableEmptyStateAction: boolean;
|
|
1469
|
+
emptyStateFilteredIllustration: IllustrationVariant;
|
|
1470
|
+
emptyStateFilteredHeader: string;
|
|
1471
|
+
emptyStateFilteredContent: string;
|
|
1472
|
+
/**
|
|
1473
|
+
* Wether to enable scrolling
|
|
1474
|
+
*/
|
|
1475
|
+
enableScroll: boolean;
|
|
1476
|
+
tableRows: QueryList<ElementRef<PTableRow>>;
|
|
1477
|
+
tableCells: QueryList<ElementRef<TableCellComponent>>;
|
|
1478
|
+
scrollContainer: ElementRef<HTMLDivElement>;
|
|
1479
|
+
reachedScrollStart$: BehaviorSubject<boolean>;
|
|
1480
|
+
reachedScrollEnd$: BehaviorSubject<boolean>;
|
|
1481
|
+
private _totalWidth;
|
|
1482
|
+
private _calculateColumnWidthsTimeout?;
|
|
1483
|
+
private _rowChangesSubscription?;
|
|
1484
|
+
private _cellChangesSubscription?;
|
|
1485
|
+
/**
|
|
1486
|
+
* Event whenever the empty state is clicked
|
|
1487
|
+
*/
|
|
1488
|
+
emptyStateActionClick: EventEmitter<null>;
|
|
1489
|
+
shadow: boolean;
|
|
1490
|
+
extraHeaders$: BehaviorSubject<any[]>;
|
|
1491
|
+
columns$: BehaviorSubject<any[]>;
|
|
1492
|
+
parsedItems: any[];
|
|
1493
|
+
loadingRows: unknown[];
|
|
1494
|
+
private _ctrlDown;
|
|
1495
|
+
headerCustomFilterTemplate: TemplateRef<any> | undefined;
|
|
1496
|
+
headerCustomActionsTemplate: TemplateRef<any> | undefined;
|
|
1497
|
+
columnDefinitions: QueryList<TableColumnComponent>;
|
|
1498
|
+
extraHeaderDefinitions: QueryList<TableExtraHeaderComponent>;
|
|
1499
|
+
filterModalTemplate: TemplateRef<any> | undefined;
|
|
1500
|
+
filterModalShow$: BehaviorSubject<boolean>;
|
|
1501
|
+
private _rowActions;
|
|
1502
|
+
private _rowActionsSubscriptions;
|
|
1503
|
+
set rowActions(v: QueryList<TableRowActionComponent>);
|
|
1504
|
+
get rowActions(): QueryList<TableRowActionComponent>;
|
|
1505
|
+
customRows: QueryList<PTableCustomRowDirective>;
|
|
1506
|
+
filterModalHeaderText: string;
|
|
1507
|
+
filterModalSaveText: string;
|
|
1508
|
+
filterModalCancelText: string;
|
|
1509
|
+
filterModalResetText: string;
|
|
1510
|
+
filterModalShowReset: boolean;
|
|
1511
|
+
filterModalShowResetMobile: boolean;
|
|
1512
|
+
filterModalShow: EventEmitter<boolean>;
|
|
1513
|
+
filterModalSave: EventEmitter<void>;
|
|
1514
|
+
filterModalReset: EventEmitter<boolean>;
|
|
1515
|
+
rowActionsRow$: BehaviorSubject<TableRowActionComponent[]>;
|
|
1516
|
+
rowActionsFloatingAll$: BehaviorSubject<TableRowActionComponent[]>;
|
|
1517
|
+
rowActionsFloating$: BehaviorSubject<TableRowActionComponent[]>;
|
|
1518
|
+
isMobile$: BehaviorSubject<boolean>;
|
|
1519
|
+
floatingMenuContainerClass: (props?: {
|
|
1520
|
+
hasFooter?: boolean;
|
|
1521
|
+
active?: boolean;
|
|
1522
|
+
shown?: boolean;
|
|
1523
|
+
} & class_variance_authority_types.ClassProp) => string;
|
|
1524
|
+
private _resizeTimeout;
|
|
1525
|
+
private _inputEnableRowSelection;
|
|
1526
|
+
private _inputRowSelectionLimit;
|
|
1527
|
+
private _themeDebounce?;
|
|
1528
|
+
footerHidden$: BehaviorSubject<boolean>;
|
|
1529
|
+
cn: typeof cn;
|
|
1530
|
+
constructor(_cd: ChangeDetectorRef);
|
|
1531
|
+
ngOnInit(): void;
|
|
1532
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
1533
|
+
ngAfterViewInit(): void;
|
|
1534
|
+
onResize(): void;
|
|
1535
|
+
keyDown({ key }: {
|
|
1536
|
+
key: string;
|
|
1537
|
+
}): void;
|
|
1538
|
+
keyUp({ key }: {
|
|
1539
|
+
key: string;
|
|
1540
|
+
}): void;
|
|
1541
|
+
visibilityChange(): void;
|
|
1542
|
+
onQueryChange({ detail }: any): void;
|
|
1543
|
+
onQuickFilter({ detail }: any): void;
|
|
1544
|
+
onPageSizeChange({ detail }: any): void;
|
|
1545
|
+
onPageChange({ detail }: any): void;
|
|
1546
|
+
onFilterModalSave(): void;
|
|
1547
|
+
onFilterModalReset(resetQuickFilter?: boolean): void;
|
|
1548
|
+
emptyStateClicked(): void;
|
|
1549
|
+
parseRowActionsRow(actions: TableRowActionComponent[] | null, rowIndex: number): TableRowActionComponent[];
|
|
1550
|
+
onContainerXScroll(ev: any): void;
|
|
1551
|
+
private _parseItems;
|
|
1552
|
+
private _generateColumns;
|
|
1553
|
+
private _generateExtraHeaders;
|
|
1554
|
+
_checkboxDisabled(item: any, rowIndex: number): boolean;
|
|
1555
|
+
_selectAllChange($event: any, forceValue?: boolean): void;
|
|
1556
|
+
_checkboxChange(target: any, index: number): void;
|
|
1557
|
+
private _getCheckedValue;
|
|
1558
|
+
private _getSelectionValue;
|
|
1559
|
+
_selectionContains(row: any, index: number, returnIndex?: boolean): any;
|
|
1560
|
+
_selectionContainsAll(): boolean;
|
|
1561
|
+
_selectionIndeterminate(): boolean;
|
|
1562
|
+
_rowClick($event: MouseEvent, index: number): void;
|
|
1563
|
+
_getActionRouterLink(routerLink: TableRowActionRouterLink, rowIndex: number): BehaviorSubject<string | any[]> | AsyncItem<string | any[]>;
|
|
1564
|
+
_getActionQueryParams(queryParams: TableRowActionQueryParams, rowIndex: number): BehaviorSubject<Params> | AsyncItem<Params>;
|
|
1565
|
+
_rowActionClick(action: TableRowActionComponent, rowIndex?: number): void;
|
|
1566
|
+
private _findRow;
|
|
1567
|
+
private _findRowAction;
|
|
1568
|
+
private _setRowSelectionData;
|
|
1569
|
+
private _showFloatingMenu;
|
|
1570
|
+
private _parseDefinitions;
|
|
1571
|
+
private _parseDefinitionSizes;
|
|
1572
|
+
private _checkChangesSubscriptions;
|
|
1573
|
+
private _calculateColumnWidths;
|
|
1574
|
+
private _setRowsWidth;
|
|
1575
|
+
private _resetScrollPosition;
|
|
1576
|
+
private _calculateScrollPosition;
|
|
1577
|
+
private _checkTheme;
|
|
1578
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TableComponent, never>;
|
|
1579
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent, "p-table-ngx", never, { "items": { "alias": "items"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "headerLoading": { "alias": "headerLoading"; "required": false; }; "footerLoading": { "alias": "footerLoading"; "required": false; }; "amountOfLoadingRows": { "alias": "amountOfLoadingRows"; "required": false; }; "enableRowSelection": { "alias": "enableRowSelection"; "required": false; }; "rowSelectionLimit": { "alias": "rowSelectionLimit"; "required": false; }; "enableRowClick": { "alias": "enableRowClick"; "required": false; }; "selectedRows": { "alias": "selectedRows"; "required": false; }; "selectionKey": { "alias": "selectionKey"; "required": false; }; "canSelectKey": { "alias": "canSelectKey"; "required": false; }; "enableFloatingMenu": { "alias": "enableFloatingMenu"; "required": false; }; "floatingMenuAmountSelectedText": { "alias": "floatingMenuAmountSelectedText"; "required": false; }; "floatingMenuAmountSelectedTemplate": { "alias": "floatingMenuAmountSelectedTemplate"; "required": false; }; "enableHeader": { "alias": "enableHeader"; "required": false; }; "quickFilters": { "alias": "quickFilters"; "required": false; }; "activeQuickFilterIdentifier": { "alias": "activeQuickFilterIdentifier"; "required": false; }; "enableSearch": { "alias": "enableSearch"; "required": false; }; "query": { "alias": "query"; "required": false; }; "enableFilter": { "alias": "enableFilter"; "required": false; }; "enableFilterDesktop": { "alias": "enableFilterDesktop"; "required": false; }; "selectedFiltersAmount": { "alias": "selectedFiltersAmount"; "required": false; }; "filterButtonTemplate": { "alias": "filterButtonTemplate"; "required": false; }; "enableAction": { "alias": "enableAction"; "required": false; }; "actionButtonLoading": { "alias": "actionButtonLoading"; "required": false; }; "actionButtonIcon": { "alias": "actionButtonIcon"; "required": false; }; "actionButtonEnabled": { "alias": "actionButtonEnabled"; "required": false; }; "actionButtonText": { "alias": "actionButtonText"; "required": false; }; "actionButtonTemplate": { "alias": "actionButtonTemplate"; "required": false; }; "enableFooter": { "alias": "enableFooter"; "required": false; }; "enablePaginationSize": { "alias": "enablePaginationSize"; "required": false; }; "enablePaginationPages": { "alias": "enablePaginationPages"; "required": false; }; "enableExport": { "alias": "enableExport"; "required": false; }; "page": { "alias": "page"; "required": false; }; "total": { "alias": "total"; "required": false; }; "pageSize": { "alias": "pageSize"; "required": false; }; "pageSizeOptions": { "alias": "pageSizeOptions"; "required": false; }; "hideOnSinglePage": { "alias": "hideOnSinglePage"; "required": false; }; "emptyStateType": { "alias": "emptyStateType"; "required": false; }; "emptyStateIllustration": { "alias": "emptyStateIllustration"; "required": false; }; "emptyStateHeader": { "alias": "emptyStateHeader"; "required": false; }; "emptyStateContent": { "alias": "emptyStateContent"; "required": false; }; "emptyStateAction": { "alias": "emptyStateAction"; "required": false; }; "emptyStateActionIcon": { "alias": "emptyStateActionIcon"; "required": false; }; "enableEmptyStateAction": { "alias": "enableEmptyStateAction"; "required": false; }; "emptyStateFilteredIllustration": { "alias": "emptyStateFilteredIllustration"; "required": false; }; "emptyStateFilteredHeader": { "alias": "emptyStateFilteredHeader"; "required": false; }; "emptyStateFilteredContent": { "alias": "emptyStateFilteredContent"; "required": false; }; "enableScroll": { "alias": "enableScroll"; "required": false; }; "shadow": { "alias": "shadow"; "required": false; }; "filterModalHeaderText": { "alias": "filterModalHeaderText"; "required": false; }; "filterModalSaveText": { "alias": "filterModalSaveText"; "required": false; }; "filterModalCancelText": { "alias": "filterModalCancelText"; "required": false; }; "filterModalResetText": { "alias": "filterModalResetText"; "required": false; }; "filterModalShowReset": { "alias": "filterModalShowReset"; "required": false; }; "filterModalShowResetMobile": { "alias": "filterModalShowResetMobile"; "required": false; }; }, { "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"; }, ["headerCustomFilterTemplate", "headerCustomActionsTemplate", "filterModalTemplate", "columnDefinitions", "extraHeaderDefinitions", "rowActions", "customRows"], never, true, never>;
|
|
1580
|
+
}
|
|
1581
|
+
|
|
1582
|
+
declare const TABLE_COMPONENTS: (typeof TableCellComponent | typeof TableColumnComponent | typeof TableExtraHeaderComponent | typeof TableRowActionComponent | typeof TableComponent)[];
|
|
1583
|
+
|
|
1584
|
+
declare class PTableCustomFilterDirective {
|
|
1585
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PTableCustomFilterDirective, never>;
|
|
1586
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<PTableCustomFilterDirective, "[p-table-custom-filter]", never, {}, {}, never, never, true, never>;
|
|
1587
|
+
}
|
|
1588
|
+
|
|
1589
|
+
declare class PTableFilterModalDirective {
|
|
1590
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PTableFilterModalDirective, never>;
|
|
1591
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<PTableFilterModalDirective, "[p-table-filter-modal]", never, {}, {}, never, never, true, never>;
|
|
1592
|
+
}
|
|
1593
|
+
|
|
1594
|
+
declare class PTableFooterDirective extends BaseValueAccessor {
|
|
1595
|
+
protected lastValue: any;
|
|
1596
|
+
writeValue(value: any): void;
|
|
1597
|
+
handleChange(value: number, type: 'page' | 'pageSize'): void;
|
|
1598
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PTableFooterDirective, never>;
|
|
1599
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<PTableFooterDirective, "p-table-footer", never, {}, {}, never, never, true, never>;
|
|
1600
|
+
}
|
|
1601
|
+
|
|
1602
|
+
interface TableHeaderDirectiveValue {
|
|
1603
|
+
query?: string;
|
|
1604
|
+
quickFilter?: QuickFilter;
|
|
1605
|
+
}
|
|
1606
|
+
declare class PTableHeaderDirective extends BaseValueAccessor {
|
|
1607
|
+
protected lastValue: TableHeaderDirectiveValue;
|
|
1608
|
+
writeValue(value: TableHeaderDirectiveValue): void;
|
|
1609
|
+
handleChange(value: string | QuickFilter, type: 'query' | 'quickFilter'): void;
|
|
1610
|
+
private _setActiveQuickFilter;
|
|
1611
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PTableHeaderDirective, never>;
|
|
1612
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<PTableHeaderDirective, "p-table-header", never, {}, {}, never, never, true, never>;
|
|
1613
|
+
}
|
|
1614
|
+
|
|
1615
|
+
interface TableDirectiveValue {
|
|
1616
|
+
query?: string;
|
|
1617
|
+
quickFilter?: QuickFilter;
|
|
1618
|
+
filters?: any[];
|
|
1619
|
+
page?: number;
|
|
1620
|
+
pageSize?: number;
|
|
1621
|
+
selectedRows?: any[];
|
|
1622
|
+
}
|
|
1623
|
+
declare class PTableNgxDirective extends BaseValueAccessor {
|
|
1624
|
+
private _base;
|
|
1625
|
+
protected lastValue: TableDirectiveValue;
|
|
1626
|
+
constructor(el: ElementRef, _base: TableComponent);
|
|
1627
|
+
writeValue(value: TableDirectiveValue): void;
|
|
1628
|
+
registerOnChange(fn: (value: any) => void): void;
|
|
1629
|
+
registerOnTouched(fn: () => void): void;
|
|
1630
|
+
handleChange(event: Event, type: 'page' | 'pageSize' | 'query' | 'quickFilter' | 'selectedRows'): void;
|
|
1631
|
+
private _setActiveQuickFilter;
|
|
1632
|
+
private _checkEmptyStateType;
|
|
1633
|
+
private _checkResetButtons;
|
|
1634
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PTableNgxDirective, [null, { host: true; }]>;
|
|
1635
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<PTableNgxDirective, "p-table-ngx", never, {}, {}, never, never, true, never>;
|
|
1636
|
+
}
|
|
1637
|
+
|
|
1638
|
+
interface NGXTableDirectiveValue {
|
|
1639
|
+
query?: string;
|
|
1640
|
+
quickFilter?: QuickFilter;
|
|
1641
|
+
page?: number;
|
|
1642
|
+
pageSize?: number;
|
|
1643
|
+
selectedRows?: any[];
|
|
1644
|
+
}
|
|
1645
|
+
declare class PTableDirective extends BaseValueAccessor {
|
|
1646
|
+
protected lastValue: NGXTableDirectiveValue;
|
|
1647
|
+
writeValue(value: NGXTableDirectiveValue): void;
|
|
1648
|
+
registerOnChange(fn: (value: any) => void): void;
|
|
1649
|
+
registerOnTouched(fn: () => void): void;
|
|
1650
|
+
handleChange(value: number | string | QuickFilter, type: 'page' | 'pageSize' | 'query' | 'quickFilter' | 'selectedRows'): void;
|
|
1651
|
+
private _setActiveQuickFilter;
|
|
1652
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PTableDirective, never>;
|
|
1653
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<PTableDirective, "p-table", never, {}, {}, never, never, true, never>;
|
|
1654
|
+
}
|
|
1655
|
+
|
|
1656
|
+
declare class PTableCustomActionsDirective {
|
|
1657
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PTableCustomActionsDirective, never>;
|
|
1658
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<PTableCustomActionsDirective, "[p-table-custom-actions]", never, {}, {}, never, never, true, never>;
|
|
1659
|
+
}
|
|
1660
|
+
|
|
1661
|
+
declare const TABLE_DIRECTIVES: (typeof PTableCustomFilterDirective | typeof PTableFooterDirective | typeof PTableHeaderDirective | typeof PTableNgxDirective | typeof PTableDirective | typeof PTableCustomRowDirective)[];
|
|
1662
|
+
|
|
1663
|
+
declare class TableModule {
|
|
1664
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TableModule, never>;
|
|
1665
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TableModule, never, [typeof i1$1.CommonModule, typeof i2$1.RouterModule, typeof TableComponent, typeof TableCellComponent, typeof TableColumnComponent, typeof TableRowActionComponent, typeof TableExtraHeaderComponent, typeof PTableFooterDirective, typeof PTableHeaderDirective, typeof PTableDirective, typeof PTableNgxDirective, typeof PTableFilterModalDirective, typeof PTableCustomFilterDirective, typeof PTableCustomActionsDirective, typeof PTableCustomRowDirective], [typeof TableComponent, typeof TableCellComponent, typeof TableColumnComponent, typeof TableRowActionComponent, typeof TableExtraHeaderComponent, typeof PTableFooterDirective, typeof PTableHeaderDirective, typeof PTableDirective, typeof PTableNgxDirective, typeof PTableFilterModalDirective, typeof PTableCustomFilterDirective, typeof PTableCustomActionsDirective, typeof PTableCustomRowDirective]>;
|
|
1666
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<TableModule>;
|
|
1667
|
+
}
|
|
1668
|
+
|
|
1669
|
+
declare const createFormFilters: (values: Record<string, any>, quickFilters: TableQuickFilter[], quickFilterKey?: string) => {
|
|
1670
|
+
filters: {
|
|
1671
|
+
key: string;
|
|
1672
|
+
value: any;
|
|
1673
|
+
}[];
|
|
1674
|
+
quickFilter: TableQuickFilter | null | undefined;
|
|
1675
|
+
};
|
|
1676
|
+
|
|
1677
|
+
declare interface PToastContainer extends Components.PToastContainer {
|
|
1678
|
+
placement: 'top-start' | 'top-end' | 'bottom-start' | 'bottom-end';
|
|
1679
|
+
}
|
|
1680
|
+
declare class ToastContainerComponent {
|
|
1681
|
+
protected z: NgZone;
|
|
1682
|
+
private _toastService;
|
|
1683
|
+
toasts$: rxjs.Observable<_paperless_angular.PToastData[]>;
|
|
1684
|
+
protected el: HTMLElement;
|
|
1685
|
+
constructor(r: ElementRef, z: NgZone);
|
|
1686
|
+
dismiss(identifier: string): void;
|
|
1687
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ToastContainerComponent, never>;
|
|
1688
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ToastContainerComponent, "p-toast-container", never, { "placement": { "alias": "placement"; "required": false; }; }, {}, never, never, true, never>;
|
|
1689
|
+
}
|
|
1690
|
+
|
|
1691
|
+
declare const TOAST_COMPONENTS: (typeof ToastContainerComponent)[];
|
|
1692
|
+
|
|
1693
|
+
declare enum PToastVariants {
|
|
1694
|
+
Success = "positive",
|
|
1695
|
+
Warning = "biased",
|
|
1696
|
+
Error = "negative",
|
|
1697
|
+
Neutral = "neutral",
|
|
1698
|
+
Positive = "positive",
|
|
1699
|
+
Biased = "biased",
|
|
1700
|
+
Negative = "negative"
|
|
1701
|
+
}
|
|
1702
|
+
type PToastActionFunction = (directive?: PToastDirective, data?: any) => void;
|
|
1703
|
+
interface PToastOptions {
|
|
1704
|
+
delay?: number | 'infinite';
|
|
1705
|
+
dismissOnAction?: boolean;
|
|
1706
|
+
enableAction?: boolean;
|
|
1707
|
+
action?: PToastActionFunction;
|
|
1708
|
+
actionData?: any;
|
|
1709
|
+
icon?: {
|
|
1710
|
+
variant?: IconVariant;
|
|
1711
|
+
flip?: IconFlipOptions;
|
|
1712
|
+
rotate?: RotateOptions;
|
|
1713
|
+
};
|
|
1714
|
+
}
|
|
1715
|
+
interface PToastData {
|
|
1716
|
+
identifier: string;
|
|
1717
|
+
variant: PToastVariants;
|
|
1718
|
+
header: string;
|
|
1719
|
+
content: string;
|
|
1720
|
+
options: PToastOptions;
|
|
1721
|
+
}
|
|
1722
|
+
|
|
1723
|
+
declare class PToastDirective implements OnInit {
|
|
1724
|
+
delay: number | 'infinite';
|
|
1725
|
+
identifier: string;
|
|
1726
|
+
dismissOnAction: boolean;
|
|
1727
|
+
actionFunc?: PToastActionFunction;
|
|
1728
|
+
actionData: any;
|
|
1729
|
+
dismiss: EventEmitter<string>;
|
|
1730
|
+
ngOnInit(): void;
|
|
1731
|
+
onAction(): void;
|
|
1732
|
+
doDismiss(): void;
|
|
1733
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PToastDirective, never>;
|
|
1734
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<PToastDirective, "p-toast", never, { "delay": { "alias": "delay"; "required": false; }; "identifier": { "alias": "identifier"; "required": false; }; "dismissOnAction": { "alias": "dismissOnAction"; "required": false; }; "actionFunc": { "alias": "actionFunc"; "required": false; }; "actionData": { "alias": "actionData"; "required": false; }; }, { "dismiss": "dismiss"; }, never, never, true, never>;
|
|
1735
|
+
}
|
|
1736
|
+
|
|
1737
|
+
declare const TOAST_DIRECTIVES: (typeof PToastDirective)[];
|
|
1738
|
+
|
|
1739
|
+
declare class ToastModule {
|
|
1740
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ToastModule, never>;
|
|
1741
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ToastModule, never, [typeof ToastContainerComponent, typeof PToastDirective], [typeof ToastContainerComponent, typeof PToastDirective]>;
|
|
1742
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ToastModule>;
|
|
1743
|
+
}
|
|
1744
|
+
|
|
1745
|
+
declare class ToastService {
|
|
1746
|
+
private _toasts;
|
|
1747
|
+
toasts$: BehaviorSubject<PToastData[]>;
|
|
1748
|
+
defaultOptions: PToastOptions;
|
|
1749
|
+
show(header: string, content: string, variant?: PToastVariants, options?: PToastOptions): string;
|
|
1750
|
+
hide(id: string): string;
|
|
1751
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ToastService, never>;
|
|
1752
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ToastService>;
|
|
1753
|
+
}
|
|
1754
|
+
|
|
1755
|
+
declare const MODULES: (typeof OverlayModule)[];
|
|
1756
|
+
|
|
1757
|
+
declare class CustomCurrencyPipe implements PipeTransform {
|
|
1758
|
+
private _currencyPipe;
|
|
1759
|
+
constructor(_currencyPipe: CurrencyPipe);
|
|
1760
|
+
transform(value: number | string | null | undefined, currencyCode?: string, display?: 'code' | 'symbol' | 'symbol-narrow' | string | boolean, digitsInfo?: string, locale?: string): string | null;
|
|
1761
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CustomCurrencyPipe, never>;
|
|
1762
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<CustomCurrencyPipe, "pcurrency", true>;
|
|
1763
|
+
}
|
|
1764
|
+
|
|
1765
|
+
declare class CustomDatePipe implements PipeTransform {
|
|
1766
|
+
private _datePipe;
|
|
1767
|
+
constructor(_datePipe: DatePipe);
|
|
1768
|
+
transform(value: string | Date, format?: string): string | null;
|
|
1769
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CustomDatePipe, never>;
|
|
1770
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<CustomDatePipe, "pdate", true>;
|
|
1771
|
+
}
|
|
1772
|
+
|
|
1773
|
+
declare class SafePipe implements PipeTransform {
|
|
1774
|
+
protected sanitizer: DomSanitizer;
|
|
1775
|
+
constructor(sanitizer: DomSanitizer);
|
|
1776
|
+
transform(value: string, type: string): SafeHtml | SafeStyle | SafeScript | SafeUrl | SafeResourceUrl;
|
|
1777
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SafePipe, never>;
|
|
1778
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<SafePipe, "psafe", true>;
|
|
1779
|
+
}
|
|
1780
|
+
|
|
1781
|
+
declare class SelectAutocompletePipe implements PipeTransform {
|
|
1782
|
+
transform(value: number): boolean;
|
|
1783
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SelectAutocompletePipe, never>;
|
|
1784
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<SelectAutocompletePipe, "pSelectAutocomplete", true>;
|
|
1785
|
+
}
|
|
1786
|
+
|
|
1787
|
+
declare class SelectSelectAllPipe implements PipeTransform {
|
|
1788
|
+
transform(value: number): boolean;
|
|
1789
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SelectSelectAllPipe, never>;
|
|
1790
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<SelectSelectAllPipe, "pSelectSelectAll", true>;
|
|
1791
|
+
}
|
|
1792
|
+
|
|
1793
|
+
declare class PaperlessModule {
|
|
1794
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PaperlessModule, never>;
|
|
1795
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<PaperlessModule, never, [typeof PAccordion, typeof PAttachment, typeof PAvatar, typeof PAvatarGroup, typeof PBackdrop, typeof PBadge, typeof PButton, typeof PButtonGroup, typeof PCalendar, typeof PCardBody, typeof PCardContainer, typeof PCardHeader, typeof PCheckbox, typeof PContentSlider, typeof PCropper, typeof PDatepicker, typeof PDivider, typeof PDrawer, typeof PDrawerBody, typeof PDrawerContainer, typeof PDrawerHeader, typeof PDropdown, typeof PDropdownMenuContainer, typeof PDropdownMenuItem, typeof PEmptyState, typeof PField, typeof PFieldContainer, typeof PFloatingMenuContainer, typeof PFloatingMenuItem, typeof PHelper, typeof PIbanIcon, typeof PIcon, typeof PIllustration, typeof PInfoPanel, typeof PLabel, typeof PLayout, typeof PListing, typeof PListingItem, typeof PListingLine, typeof PLoader, typeof PModal, typeof PModalBody, typeof PModalContainer, typeof PModalFooter, typeof PModalHeader, typeof PNavbar, typeof PNavigationItem, typeof PNavigationSection, typeof PNavigationTitle, typeof PPagination, typeof PPaginationPages, typeof PPaginationPagesItem, typeof PPaginationSize, typeof PProfile, typeof PRadio, typeof PRange, typeof PSegmentContainer, typeof PSegmentItem, typeof PSelect, typeof PSmile, typeof PStepper, typeof PStepperItem, typeof PStepperLine, typeof PTabContainer, typeof PTabItem, typeof PTableContainer, typeof PTableFooter, typeof PTableHeader, typeof PTableRow, typeof PTableRowActionsContainer, typeof PToast, typeof PToggle, typeof PTooltip, typeof PPaginationSizeDirective, typeof PPaginationPagesDirective, typeof PSelectDirective, typeof PDatepickerDirective, typeof PCropperDirective, typeof PFieldDirective, typeof PFieldNumberDirective, typeof PRadioDirective, typeof PCheckboxDirective, typeof PToggleDirective, typeof TableModule, typeof ToastModule, typeof OverlayModule, typeof CustomCurrencyPipe, typeof CustomDatePipe, typeof SafePipe, typeof SelectAutocompletePipe, typeof SelectSelectAllPipe], [typeof TableModule, typeof ToastModule, typeof OverlayModule, typeof PPaginationSizeDirective, typeof PPaginationPagesDirective, typeof PSelectDirective, typeof PDatepickerDirective, typeof PCropperDirective, typeof PFieldDirective, typeof PFieldNumberDirective, typeof PRadioDirective, typeof PCheckboxDirective, typeof PToggleDirective, typeof PAccordion, typeof PAttachment, typeof PAvatar, typeof PAvatarGroup, typeof PBackdrop, typeof PBadge, typeof PButton, typeof PButtonGroup, typeof PCalendar, typeof PCardBody, typeof PCardContainer, typeof PCardHeader, typeof PCheckbox, typeof PContentSlider, typeof PCropper, typeof PDatepicker, typeof PDivider, typeof PDrawer, typeof PDrawerBody, typeof PDrawerContainer, typeof PDrawerHeader, typeof PDropdown, typeof PDropdownMenuContainer, typeof PDropdownMenuItem, typeof PEmptyState, typeof PField, typeof PFieldContainer, typeof PFloatingMenuContainer, typeof PFloatingMenuItem, typeof PHelper, typeof PIbanIcon, typeof PIcon, typeof PIllustration, typeof PInfoPanel, typeof PLabel, typeof PLayout, typeof PListing, typeof PListingItem, typeof PListingLine, typeof PLoader, typeof PModal, typeof PModalBody, typeof PModalContainer, typeof PModalFooter, typeof PModalHeader, typeof PNavbar, typeof PNavigationItem, typeof PNavigationSection, typeof PNavigationTitle, typeof PPagination, typeof PPaginationPages, typeof PPaginationPagesItem, typeof PPaginationSize, typeof PProfile, typeof PRadio, typeof PRange, typeof PSegmentContainer, typeof PSegmentItem, typeof PSelect, typeof PSmile, typeof PStepper, typeof PStepperItem, typeof PStepperLine, typeof PTabContainer, typeof PTabItem, typeof PTableContainer, typeof PTableFooter, typeof PTableHeader, typeof PTableRow, typeof PTableRowActionsContainer, typeof PToast, typeof PToggle, typeof PTooltip, typeof CustomCurrencyPipe, typeof CustomDatePipe, typeof SafePipe, typeof SelectAutocompletePipe, typeof SelectSelectAllPipe]>;
|
|
1796
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<PaperlessModule>;
|
|
1797
|
+
}
|
|
1798
|
+
|
|
1799
|
+
declare const PIPES: (typeof CustomCurrencyPipe | typeof CustomDatePipe | typeof SafePipe | typeof SelectAutocompletePipe)[];
|
|
1800
|
+
|
|
1801
|
+
export { BaseFormComponent, BaseTableComponent, BaseUploadComponent, BaseValueAccessor, CustomCurrencyPipe, CustomDatePipe, DIRECTIVES, MODULES, OverlayModule, OverlayRef, OverlayService, PAccordion, PAttachment, PAvatar, PAvatarGroup, PBackdrop, PBadge, PButton, PButtonGroup, PCalendar, PCardBody, PCardContainer, PCardHeader, PCheckbox, PCheckboxDirective, PContentSlider, PCropper, PCropperDirective, PDatepicker, PDatepickerDirective, PDivider, PDrawer, PDrawerBody, PDrawerContainer, PDrawerHeader, PDropdown, PDropdownMenuContainer, PDropdownMenuItem, PEmptyState, PField, PFieldContainer, PFieldDirective, PFieldNumberDirective, PFloatingMenuContainer, PFloatingMenuItem, PHelper, PIPES, PIbanIcon, PIcon, PIllustration, PInfoPanel, PLabel, PLayout, PListing, PListingItem, PListingLine, PLoader, PModal, PModalBody, PModalContainer, PModalFooter, PModalHeader, PNavbar, PNavigationItem, PNavigationSection, PNavigationTitle, PPagination, PPaginationPages, PPaginationPagesDirective, PPaginationPagesItem, PPaginationSize, PPaginationSizeDirective, PProfile, PRadio, PRadioDirective, PRange, PSegmentContainer, PSegmentItem, PSelect, PSelectDirective, PSmile, PStepper, PStepperItem, PStepperLine, PTabContainer, PTabItem, PTableContainer, PTableCustomActionsDirective, PTableCustomFilterDirective, PTableCustomRowDirective, PTableDirective, PTableFilterModalDirective, PTableFooter, PTableFooterDirective, PTableHeader, PTableHeaderDirective, PTableNgxDirective, PTableRow, PTableRowActionsContainer, PToast, PToastDirective, PToastVariants, PToggle, PToggleDirective, PTooltip, PaperlessModule, SafePipe, SelectAutocompletePipe, SelectSelectAllPipe, TABLE_COMPONENTS, TABLE_DIRECTIVES, TOAST_COMPONENTS, TOAST_DIRECTIVES, TableCellComponent, TableColumnComponent, TableComponent, TableExtraHeaderComponent, TableModule, TableRowActionComponent, ToastContainerComponent, ToastModule, ToastService, createFormFilters };
|
|
1802
|
+
export type { AsyncItem, NGXTableDirectiveValue, PToastActionFunction, PToastContainer, PToastData, PToastOptions, TableDirectiveValue, TableHeaderDirectiveValue, TableOptions, TableQuickFilter, TableRowActionClickEvent, TableRowActionQueryParams, TableRowActionRouterLink };
|