@onecx/angular-accelerator 8.0.0-rc.2 → 8.0.0-rc.6
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 +16 -4
- package/assets/i18n/de.json +10 -1
- package/assets/i18n/en.json +10 -1
- package/fesm2022/onecx-angular-accelerator-testing.mjs +29 -2
- package/fesm2022/onecx-angular-accelerator-testing.mjs.map +1 -1
- package/fesm2022/onecx-angular-accelerator.mjs +2574 -3209
- package/fesm2022/onecx-angular-accelerator.mjs.map +1 -1
- package/migrations/index.js +1 -4
- package/migrations/index.js.map +1 -1
- package/migrations/v6/migrate-onecx-to-v6.js +3 -6
- package/migrations/v6/migrate-onecx-to-v6.js.map +1 -1
- package/package.json +24 -22
- package/{testing/index.d.ts → types/onecx-angular-accelerator-testing.d.ts} +15 -4
- package/types/onecx-angular-accelerator.d.ts +2412 -0
- package/index.d.ts +0 -2380
|
@@ -0,0 +1,2412 @@
|
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { OnInit, TemplateRef, EventEmitter, DoCheck, OnDestroy, AfterViewInit, OutputEmitterRef, Signal, Type, ElementRef, ViewContainerRef, ComponentRef, PipeTransform, QueryList } from '@angular/core';
|
|
3
|
+
import * as i19 from 'primeng/tooltip';
|
|
4
|
+
import { Tooltip } from 'primeng/tooltip';
|
|
5
|
+
import * as i22 from 'primeng/api';
|
|
6
|
+
import { PrimeIcons, SelectItem, PrimeTemplate, MenuItem } from 'primeng/api';
|
|
7
|
+
import { MfeInfo, EventsTopic } from '@onecx/integration-interface';
|
|
8
|
+
import * as i11 from 'primeng/menu';
|
|
9
|
+
import { Menu } from 'primeng/menu';
|
|
10
|
+
import * as rxjs from 'rxjs';
|
|
11
|
+
import { Observable, ReplaySubject, BehaviorSubject, Subject, Subscription } from 'rxjs';
|
|
12
|
+
import * as i39 from '@ngx-translate/core';
|
|
13
|
+
import { TranslateService, TranslatePipe } from '@ngx-translate/core';
|
|
14
|
+
import * as _onecx_angular_accelerator from '@onecx/angular-accelerator';
|
|
15
|
+
import * as i13 from 'primeng/multiselect';
|
|
16
|
+
import { MultiSelectItem } from 'primeng/multiselect';
|
|
17
|
+
import * as i4 from 'primeng/select';
|
|
18
|
+
import { SelectChangeEvent } from 'primeng/select';
|
|
19
|
+
import * as node_modules_chart_js_dist_types_utils from 'node_modules/chart.js/dist/types/utils';
|
|
20
|
+
import * as chart_js from 'chart.js';
|
|
21
|
+
import { ChartData } from 'chart.js';
|
|
22
|
+
import * as i17 from 'primeng/popover';
|
|
23
|
+
import { Popover } from 'primeng/popover';
|
|
24
|
+
import * as i5 from 'primeng/button';
|
|
25
|
+
import { Button } from 'primeng/button';
|
|
26
|
+
import * as i41 from '@angular/router';
|
|
27
|
+
import { QueryParamsHandling, Router } from '@angular/router';
|
|
28
|
+
import * as i40 from '@angular/forms';
|
|
29
|
+
import { FormGroup, FormControlName, ValidatorFn } from '@angular/forms';
|
|
30
|
+
import { DialogService, DynamicDialogConfig, DynamicDialogRef } from 'primeng/dynamicdialog';
|
|
31
|
+
import { MultiLanguageMissingTranslationHandler } from '@onecx/angular-utils';
|
|
32
|
+
import * as i36 from '@angular/common';
|
|
33
|
+
import * as i1 from 'primeng/breadcrumb';
|
|
34
|
+
import * as i2 from 'primeng/chip';
|
|
35
|
+
import * as i3 from 'primeng/checkbox';
|
|
36
|
+
import * as i6 from 'primeng/dialog';
|
|
37
|
+
import * as i7 from 'primeng/picklist';
|
|
38
|
+
import * as i8 from 'primeng/selectbutton';
|
|
39
|
+
import * as i9 from 'primeng/dataview';
|
|
40
|
+
import * as i10 from 'primeng/table';
|
|
41
|
+
import * as i12 from 'primeng/chart';
|
|
42
|
+
import * as i14 from 'primeng/skeleton';
|
|
43
|
+
import * as i15 from 'primeng/message';
|
|
44
|
+
import * as i16 from 'primeng/floatlabel';
|
|
45
|
+
import * as i18 from 'primeng/focustrap';
|
|
46
|
+
import * as i20 from 'primeng/timeline';
|
|
47
|
+
import * as i21 from 'primeng/ripple';
|
|
48
|
+
import * as i38 from '@onecx/angular-remote-components';
|
|
49
|
+
import { DatePicker } from 'primeng/datepicker';
|
|
50
|
+
|
|
51
|
+
declare class OcxContentContainerDirective implements OnInit {
|
|
52
|
+
private el;
|
|
53
|
+
/**
|
|
54
|
+
* Used for passing the direction, in which the content inside the container should be rendered.
|
|
55
|
+
* Default: horizontal
|
|
56
|
+
* @example [ocxContentContainer]="horizontal"
|
|
57
|
+
* @example [ocxContentContainer]="vertical"
|
|
58
|
+
*/
|
|
59
|
+
layout: _angular_core.InputSignal<"horizontal" | "vertical">;
|
|
60
|
+
/**
|
|
61
|
+
* Used for passing in the breakpoint below which a horizontal layout should switch to a vertical layout.
|
|
62
|
+
* Only necessary if horizontal layout is used
|
|
63
|
+
* Default: md
|
|
64
|
+
*/
|
|
65
|
+
breakpoint: _angular_core.InputSignal<"sm" | "md" | "lg" | "xl">;
|
|
66
|
+
/**
|
|
67
|
+
* Optionally allows specifying styles for the container
|
|
68
|
+
*/
|
|
69
|
+
ngClass: _angular_core.InputSignal<string | undefined>;
|
|
70
|
+
ngOnInit(): void;
|
|
71
|
+
constructor();
|
|
72
|
+
private addContainerStyles;
|
|
73
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<OcxContentContainerDirective, never>;
|
|
74
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<OcxContentContainerDirective, "[ocxContentContainer]", never, { "layout": { "alias": "layout"; "required": false; "isSignal": true; }; "breakpoint": { "alias": "breakpoint"; "required": false; "isSignal": true; }; "ngClass": { "alias": "ngClass"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
declare class OcxContentDirective implements OnInit {
|
|
78
|
+
private readonly el;
|
|
79
|
+
/**
|
|
80
|
+
* Used for passing a title text which should be rendered in the upper left corner of the content area.
|
|
81
|
+
* @example [ocxContent]="My Cool Title"
|
|
82
|
+
*/
|
|
83
|
+
ocxContent: _angular_core.InputSignal<string>;
|
|
84
|
+
private readonly baseId;
|
|
85
|
+
private readonly titleElementId;
|
|
86
|
+
constructor();
|
|
87
|
+
ngOnInit(): void;
|
|
88
|
+
private init;
|
|
89
|
+
private addContentStyles;
|
|
90
|
+
private prependTitle;
|
|
91
|
+
private getUniqueTitleID;
|
|
92
|
+
private removeTitle;
|
|
93
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<OcxContentDirective, never>;
|
|
94
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<OcxContentDirective, "[ocxContent]", never, { "ocxContent": { "alias": "ocxContent"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
type PermissionInput = string | string[] | undefined;
|
|
98
|
+
type OnMissingPermission = 'hide' | 'disable';
|
|
99
|
+
|
|
100
|
+
declare class IfPermissionDirective {
|
|
101
|
+
private readonly logger;
|
|
102
|
+
private readonly renderer;
|
|
103
|
+
private readonly viewContainer;
|
|
104
|
+
private readonly hasPermissionChecker;
|
|
105
|
+
private readonly templateRef;
|
|
106
|
+
private readonly userService;
|
|
107
|
+
private readonly destroyRef;
|
|
108
|
+
ocxIfPermission: _angular_core.InputSignal<PermissionInput>;
|
|
109
|
+
ocxIfNotPermission: _angular_core.InputSignal<PermissionInput>;
|
|
110
|
+
ocxIfPermissionOnMissingPermission: _angular_core.InputSignal<OnMissingPermission>;
|
|
111
|
+
ocxIfNotPermissionOnMissingPermission: _angular_core.InputSignal<OnMissingPermission>;
|
|
112
|
+
ocxIfPermissionPermissions: _angular_core.InputSignal<string[] | undefined>;
|
|
113
|
+
ocxIfNotPermissionPermissions: _angular_core.InputSignal<string[] | undefined>;
|
|
114
|
+
ocxIfPermissionElseTemplate: _angular_core.InputSignal<TemplateRef<any> | undefined>;
|
|
115
|
+
ocxIfNotPermissionElseTemplate: _angular_core.InputSignal<TemplateRef<any> | undefined>;
|
|
116
|
+
private readonly permissionChecker;
|
|
117
|
+
private readonly isDisabled;
|
|
118
|
+
private readonly directiveContentRef;
|
|
119
|
+
private readonly permissionValidation;
|
|
120
|
+
private normalizePermissions;
|
|
121
|
+
constructor();
|
|
122
|
+
private hasPermission;
|
|
123
|
+
private showTemplateOrClear;
|
|
124
|
+
private showElseTemplateOrDefaultView;
|
|
125
|
+
private resetView;
|
|
126
|
+
private getElement;
|
|
127
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<IfPermissionDirective, never>;
|
|
128
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<IfPermissionDirective, "[ocxIfPermission], [ocxIfNotPermission]", never, { "ocxIfPermission": { "alias": "ocxIfPermission"; "required": false; "isSignal": true; }; "ocxIfNotPermission": { "alias": "ocxIfNotPermission"; "required": false; "isSignal": true; }; "ocxIfPermissionOnMissingPermission": { "alias": "ocxIfPermissionOnMissingPermission"; "required": false; "isSignal": true; }; "ocxIfNotPermissionOnMissingPermission": { "alias": "ocxIfNotPermissionOnMissingPermission"; "required": false; "isSignal": true; }; "ocxIfPermissionPermissions": { "alias": "ocxIfPermissionPermissions"; "required": false; "isSignal": true; }; "ocxIfNotPermissionPermissions": { "alias": "ocxIfNotPermissionPermissions"; "required": false; "isSignal": true; }; "ocxIfPermissionElseTemplate": { "alias": "ocxIfPermissionElseTemplate"; "required": false; "isSignal": true; }; "ocxIfNotPermissionElseTemplate": { "alias": "ocxIfNotPermissionElseTemplate"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
declare class IfBreakpointDirective implements OnInit {
|
|
132
|
+
private readonly viewContainer;
|
|
133
|
+
private readonly templateRef;
|
|
134
|
+
breakpoint: _angular_core.InputSignal<"mobile" | "desktop" | undefined>;
|
|
135
|
+
ocxIfBreakpointElseTemplate: _angular_core.InputSignal<TemplateRef<any> | undefined>;
|
|
136
|
+
state: _angular_core.WritableSignal<"mobile" | "desktop" | undefined>;
|
|
137
|
+
ngOnInit(): void;
|
|
138
|
+
onResize(): void;
|
|
139
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<IfBreakpointDirective, never>;
|
|
140
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<IfBreakpointDirective, "[ocxIfBreakpoint]", never, { "breakpoint": { "alias": "ocxIfBreakpoint"; "required": false; "isSignal": true; }; "ocxIfBreakpointElseTemplate": { "alias": "ocxIfBreakpointElseTemplate"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
declare class SrcDirective {
|
|
144
|
+
private readonly logger;
|
|
145
|
+
private readonly el;
|
|
146
|
+
private readonly httpClient;
|
|
147
|
+
error: EventEmitter<void>;
|
|
148
|
+
ocxSrc: _angular_core.InputSignal<string | undefined>;
|
|
149
|
+
constructor();
|
|
150
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SrcDirective, never>;
|
|
151
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<SrcDirective, "[ocxSrc]", never, { "ocxSrc": { "alias": "ocxSrc"; "required": false; "isSignal": true; }; }, { "error": "error"; }, never, never, false, never>;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
declare class AdvancedDirective implements DoCheck {
|
|
155
|
+
private readonly viewContainer;
|
|
156
|
+
private readonly templateRef;
|
|
157
|
+
private readonly searchHeader;
|
|
158
|
+
constructor();
|
|
159
|
+
ngDoCheck(): void;
|
|
160
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AdvancedDirective, never>;
|
|
161
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<AdvancedDirective, "[ocxAdvanced]", never, {}, {}, never, never, false, never>;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
declare class TooltipOnOverflowDirective extends Tooltip implements OnDestroy, AfterViewInit {
|
|
165
|
+
mutationObserver: MutationObserver;
|
|
166
|
+
get ocxTooltipOnOverflow(): string | TemplateRef<HTMLElement> | undefined;
|
|
167
|
+
set ocxTooltipOnOverflow(value: string | TemplateRef<HTMLElement> | undefined);
|
|
168
|
+
ngOnDestroy(): void;
|
|
169
|
+
ngAfterViewInit(): void;
|
|
170
|
+
constructor();
|
|
171
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TooltipOnOverflowDirective, never>;
|
|
172
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<TooltipOnOverflowDirective, "[ocxTooltipOnOverflow]", never, { "ocxTooltipOnOverflow": { "alias": "ocxTooltipOnOverflow"; "required": false; }; }, {}, never, never, false, never>;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
declare class TemplateDirective {
|
|
176
|
+
template: TemplateRef<any>;
|
|
177
|
+
ocxTemplate: _angular_core.InputSignal<string>;
|
|
178
|
+
getType(): string;
|
|
179
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TemplateDirective, never>;
|
|
180
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<TemplateDirective, "[ocxTemplate]", never, { "ocxTemplate": { "alias": "ocxTemplate"; "required": true; "isSignal": true; }; }, {}, never, never, false, never>;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
declare class BasicDirective implements DoCheck {
|
|
184
|
+
private readonly viewContainer;
|
|
185
|
+
private readonly templateRef;
|
|
186
|
+
private readonly searchHeader;
|
|
187
|
+
constructor();
|
|
188
|
+
ngDoCheck(): void;
|
|
189
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BasicDirective, never>;
|
|
190
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<BasicDirective, "[ocxBasic]", never, {}, {}, never, never, false, never>;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
declare class LoadingIndicatorDirective {
|
|
194
|
+
private readonly viewContainerRef;
|
|
195
|
+
private readonly el;
|
|
196
|
+
private readonly renderer;
|
|
197
|
+
ocxLoadingIndicator: _angular_core.InputSignal<boolean>;
|
|
198
|
+
overlayFullPage: _angular_core.InputSignal<boolean>;
|
|
199
|
+
isLoaderSmall: _angular_core.InputSignal<boolean>;
|
|
200
|
+
private componentRef;
|
|
201
|
+
constructor();
|
|
202
|
+
private elementLoader;
|
|
203
|
+
private toggleLoadingIndicator;
|
|
204
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<LoadingIndicatorDirective, never>;
|
|
205
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<LoadingIndicatorDirective, "[ocxLoadingIndicator]", never, { "ocxLoadingIndicator": { "alias": "ocxLoadingIndicator"; "required": false; "isSignal": true; }; "overlayFullPage": { "alias": "overlayFullPage"; "required": false; "isSignal": true; }; "isLoaderSmall": { "alias": "isLoaderSmall"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
declare enum ColumnType {
|
|
209
|
+
STRING = "STRING",
|
|
210
|
+
NUMBER = "NUMBER",
|
|
211
|
+
DATE = "DATE",
|
|
212
|
+
RELATIVE_DATE = "RELATIVE_DATE",
|
|
213
|
+
TRANSLATION_KEY = "TRANSLATION_KEY"
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
interface ColumnFilterDataSelectOptions {
|
|
217
|
+
reverse: boolean;
|
|
218
|
+
}
|
|
219
|
+
type FilterObject = {
|
|
220
|
+
columnId: string;
|
|
221
|
+
filterType?: FilterType;
|
|
222
|
+
};
|
|
223
|
+
type Filter$1 = FilterObject & {
|
|
224
|
+
value: unknown;
|
|
225
|
+
};
|
|
226
|
+
declare enum FilterType {
|
|
227
|
+
ENDS_WITH = "endsWith",
|
|
228
|
+
STARTS_WITH = "startsWith",
|
|
229
|
+
CONTAINS = "contains",
|
|
230
|
+
NOT_CONTAINS = "notContains",
|
|
231
|
+
EQUALS = "equals",
|
|
232
|
+
NOT_EQUALS = "notEquals",
|
|
233
|
+
LESS_THAN = "lessThan",
|
|
234
|
+
GREATER_THAN = "greaterThan",
|
|
235
|
+
LESS_THAN_OR_EQUAL = "lessThanOrEqual",
|
|
236
|
+
GREATER_THAN_OR_EQUAL = "greaterThanOrEqual",
|
|
237
|
+
IS_EMPTY = "isEmpty",
|
|
238
|
+
IS_NOT_EMPTY = "isNotEmpty"
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
interface DataTableColumn {
|
|
242
|
+
columnType: ColumnType;
|
|
243
|
+
nameKey: string;
|
|
244
|
+
id: string;
|
|
245
|
+
sortable?: boolean;
|
|
246
|
+
filterable?: boolean;
|
|
247
|
+
filterType?: FilterType;
|
|
248
|
+
predefinedGroupKeys?: string[];
|
|
249
|
+
dateFormat?: string;
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
type GroupSelectionChangedEvent = {
|
|
253
|
+
activeColumns: DataTableColumn[];
|
|
254
|
+
groupKey: string;
|
|
255
|
+
};
|
|
256
|
+
interface ColumnGroupSelectionComponentState {
|
|
257
|
+
activeColumnGroupKey?: string;
|
|
258
|
+
displayedColumns?: DataTableColumn[];
|
|
259
|
+
}
|
|
260
|
+
declare class ColumnGroupSelectionComponent implements OnInit {
|
|
261
|
+
readonly selectedGroupKey: _angular_core.ModelSignal<string>;
|
|
262
|
+
readonly columns: _angular_core.InputSignal<DataTableColumn[]>;
|
|
263
|
+
readonly placeholderKey: _angular_core.InputSignal<string>;
|
|
264
|
+
readonly defaultGroupKey: _angular_core.InputSignal<string>;
|
|
265
|
+
readonly customGroupKey: _angular_core.InputSignal<string>;
|
|
266
|
+
readonly groupSelectionChanged: _angular_core.OutputEmitterRef<GroupSelectionChangedEvent>;
|
|
267
|
+
readonly componentStateChanged: _angular_core.OutputEmitterRef<ColumnGroupSelectionComponentState>;
|
|
268
|
+
readonly allGroupKeys: _angular_core.Signal<string[]>;
|
|
269
|
+
constructor();
|
|
270
|
+
ngOnInit(): void;
|
|
271
|
+
changeGroupSelection(event: {
|
|
272
|
+
value: string;
|
|
273
|
+
}): void;
|
|
274
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ColumnGroupSelectionComponent, never>;
|
|
275
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ColumnGroupSelectionComponent, "ocx-column-group-selection", never, { "selectedGroupKey": { "alias": "selectedGroupKey"; "required": false; "isSignal": true; }; "columns": { "alias": "columns"; "required": false; "isSignal": true; }; "placeholderKey": { "alias": "placeholderKey"; "required": false; "isSignal": true; }; "defaultGroupKey": { "alias": "defaultGroupKey"; "required": false; "isSignal": true; }; "customGroupKey": { "alias": "customGroupKey"; "required": false; "isSignal": true; }; }, { "selectedGroupKey": "selectedGroupKeyChange"; "groupSelectionChanged": "groupSelectionChanged"; "componentStateChanged": "componentStateChanged"; }, never, never, false, never>;
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
declare class OcxContentComponent {
|
|
279
|
+
/**
|
|
280
|
+
* Optionally allows specifying a title for the content card
|
|
281
|
+
*/
|
|
282
|
+
title: _angular_core.InputSignal<string>;
|
|
283
|
+
/**
|
|
284
|
+
* Optionally allows specifying styles for the content card
|
|
285
|
+
*/
|
|
286
|
+
styleClass: _angular_core.InputSignal<string | undefined>;
|
|
287
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<OcxContentComponent, never>;
|
|
288
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<OcxContentComponent, "ocx-content", never, { "title": { "alias": "title"; "required": false; "isSignal": true; }; "styleClass": { "alias": "styleClass"; "required": false; "isSignal": true; }; }, {}, never, ["*"], false, never>;
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
declare class OcxContentContainerComponent {
|
|
292
|
+
/**
|
|
293
|
+
* Allows specifying the layout direction of the container
|
|
294
|
+
*/
|
|
295
|
+
layout: _angular_core.InputSignal<"horizontal" | "vertical">;
|
|
296
|
+
/**
|
|
297
|
+
* Allows specifying the breakpoint below which a horizontal layout switches to a vertical layout.
|
|
298
|
+
* Only necessary if horizontal layout is used
|
|
299
|
+
* Default: md
|
|
300
|
+
*/
|
|
301
|
+
breakpoint: _angular_core.InputSignal<"sm" | "md" | "lg" | "xl">;
|
|
302
|
+
/**
|
|
303
|
+
* Optionally allows specifying styles for the container
|
|
304
|
+
*/
|
|
305
|
+
styleClass: _angular_core.InputSignal<string | undefined>;
|
|
306
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<OcxContentContainerComponent, never>;
|
|
307
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<OcxContentContainerComponent, "ocx-content-container", never, { "layout": { "alias": "layout"; "required": false; "isSignal": true; }; "breakpoint": { "alias": "breakpoint"; "required": false; "isSignal": true; }; "styleClass": { "alias": "styleClass"; "required": false; "isSignal": true; }; }, {}, never, ["*"], false, never>;
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
type ColumnSelectionChangedEvent = {
|
|
311
|
+
activeColumns: DataTableColumn[];
|
|
312
|
+
};
|
|
313
|
+
type ActionColumnChangedEvent = {
|
|
314
|
+
frozenActionColumn: boolean;
|
|
315
|
+
actionColumnPosition: 'left' | 'right';
|
|
316
|
+
};
|
|
317
|
+
interface CustomGroupColumnSelectorComponentState {
|
|
318
|
+
actionColumnConfig?: {
|
|
319
|
+
frozen: boolean;
|
|
320
|
+
position: 'left' | 'right';
|
|
321
|
+
};
|
|
322
|
+
displayedColumns?: DataTableColumn[];
|
|
323
|
+
activeColumnGroupKey?: string;
|
|
324
|
+
}
|
|
325
|
+
declare class CustomGroupColumnSelectorComponent implements OnInit {
|
|
326
|
+
readonly columns: _angular_core.InputSignal<DataTableColumn[]>;
|
|
327
|
+
readonly displayedColumns: _angular_core.ModelSignal<DataTableColumn[]>;
|
|
328
|
+
readonly customGroupKey: _angular_core.InputSignal<string>;
|
|
329
|
+
readonly dialogTitle: _angular_core.InputSignal<string>;
|
|
330
|
+
readonly dialogTitleKey: _angular_core.InputSignal<string>;
|
|
331
|
+
readonly openButtonTitle: _angular_core.InputSignal<string>;
|
|
332
|
+
readonly openButtonTitleKey: _angular_core.InputSignal<string>;
|
|
333
|
+
readonly openButtonAriaLabel: _angular_core.InputSignal<string>;
|
|
334
|
+
readonly openButtonAriaLabelKey: _angular_core.InputSignal<string>;
|
|
335
|
+
readonly saveButtonLabel: _angular_core.InputSignal<string>;
|
|
336
|
+
readonly saveButtonLabelKey: _angular_core.InputSignal<string>;
|
|
337
|
+
readonly saveButtonAriaLabel: _angular_core.InputSignal<string>;
|
|
338
|
+
readonly saveButtonAriaLabelKey: _angular_core.InputSignal<string>;
|
|
339
|
+
readonly cancelButtonLabel: _angular_core.InputSignal<string>;
|
|
340
|
+
readonly cancelButtonLabelKey: _angular_core.InputSignal<string>;
|
|
341
|
+
readonly cancelButtonAriaLabel: _angular_core.InputSignal<string>;
|
|
342
|
+
readonly cancelButtonAriaLabelKey: _angular_core.InputSignal<string>;
|
|
343
|
+
readonly activeColumnsLabel: _angular_core.InputSignal<string>;
|
|
344
|
+
readonly activeColumnsLabelKey: _angular_core.InputSignal<string>;
|
|
345
|
+
readonly inactiveColumnsLabel: _angular_core.InputSignal<string>;
|
|
346
|
+
readonly inactiveColumnsLabelKey: _angular_core.InputSignal<string>;
|
|
347
|
+
readonly frozenActionColumn: _angular_core.InputSignal<boolean>;
|
|
348
|
+
readonly actionColumnPosition: _angular_core.InputSignal<"right" | "left">;
|
|
349
|
+
readonly columnSelectionChanged: _angular_core.OutputEmitterRef<ColumnSelectionChangedEvent>;
|
|
350
|
+
readonly actionColumnConfigChanged: _angular_core.OutputEmitterRef<ActionColumnChangedEvent>;
|
|
351
|
+
readonly componentStateChanged: _angular_core.OutputEmitterRef<CustomGroupColumnSelectorComponentState>;
|
|
352
|
+
readonly hiddenColumnsModel: _angular_core.WritableSignal<DataTableColumn[]>;
|
|
353
|
+
readonly displayedColumnsModel: _angular_core.WritableSignal<DataTableColumn[]>;
|
|
354
|
+
readonly frozenActionColumnModel: _angular_core.WritableSignal<boolean>;
|
|
355
|
+
readonly actionColumnPositionModel: _angular_core.WritableSignal<"right" | "left">;
|
|
356
|
+
readonly visible: _angular_core.WritableSignal<boolean>;
|
|
357
|
+
readonly alignmentOptions: _angular_core.WritableSignal<{
|
|
358
|
+
label: string;
|
|
359
|
+
value: "left" | "right";
|
|
360
|
+
}[]>;
|
|
361
|
+
readonly frozenOptions: _angular_core.WritableSignal<{
|
|
362
|
+
label: string;
|
|
363
|
+
value: boolean;
|
|
364
|
+
}[]>;
|
|
365
|
+
private readonly _actionColumnState;
|
|
366
|
+
constructor();
|
|
367
|
+
ngOnInit(): void;
|
|
368
|
+
onOpenCustomGroupColumnSelectionDialogClick(): void;
|
|
369
|
+
onSaveClick(): void;
|
|
370
|
+
onCancelClick(): void;
|
|
371
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CustomGroupColumnSelectorComponent, never>;
|
|
372
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CustomGroupColumnSelectorComponent, "ocx-custom-group-column-selector", never, { "columns": { "alias": "columns"; "required": false; "isSignal": true; }; "displayedColumns": { "alias": "displayedColumns"; "required": false; "isSignal": true; }; "customGroupKey": { "alias": "customGroupKey"; "required": false; "isSignal": true; }; "dialogTitle": { "alias": "dialogTitle"; "required": false; "isSignal": true; }; "dialogTitleKey": { "alias": "dialogTitleKey"; "required": false; "isSignal": true; }; "openButtonTitle": { "alias": "openButtonTitle"; "required": false; "isSignal": true; }; "openButtonTitleKey": { "alias": "openButtonTitleKey"; "required": false; "isSignal": true; }; "openButtonAriaLabel": { "alias": "openButtonAriaLabel"; "required": false; "isSignal": true; }; "openButtonAriaLabelKey": { "alias": "openButtonAriaLabelKey"; "required": false; "isSignal": true; }; "saveButtonLabel": { "alias": "saveButtonLabel"; "required": false; "isSignal": true; }; "saveButtonLabelKey": { "alias": "saveButtonLabelKey"; "required": false; "isSignal": true; }; "saveButtonAriaLabel": { "alias": "saveButtonAriaLabel"; "required": false; "isSignal": true; }; "saveButtonAriaLabelKey": { "alias": "saveButtonAriaLabelKey"; "required": false; "isSignal": true; }; "cancelButtonLabel": { "alias": "cancelButtonLabel"; "required": false; "isSignal": true; }; "cancelButtonLabelKey": { "alias": "cancelButtonLabelKey"; "required": false; "isSignal": true; }; "cancelButtonAriaLabel": { "alias": "cancelButtonAriaLabel"; "required": false; "isSignal": true; }; "cancelButtonAriaLabelKey": { "alias": "cancelButtonAriaLabelKey"; "required": false; "isSignal": true; }; "activeColumnsLabel": { "alias": "activeColumnsLabel"; "required": false; "isSignal": true; }; "activeColumnsLabelKey": { "alias": "activeColumnsLabelKey"; "required": false; "isSignal": true; }; "inactiveColumnsLabel": { "alias": "inactiveColumnsLabel"; "required": false; "isSignal": true; }; "inactiveColumnsLabelKey": { "alias": "inactiveColumnsLabelKey"; "required": false; "isSignal": true; }; "frozenActionColumn": { "alias": "frozenActionColumn"; "required": false; "isSignal": true; }; "actionColumnPosition": { "alias": "actionColumnPosition"; "required": false; "isSignal": true; }; }, { "displayedColumns": "displayedColumnsChange"; "columnSelectionChanged": "columnSelectionChanged"; "actionColumnConfigChanged": "actionColumnConfigChanged"; "componentStateChanged": "componentStateChanged"; }, never, never, false, never>;
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
/**
|
|
376
|
+
* @example let myIcon : PrimeIcon = PrimeIcons.myIcon
|
|
377
|
+
*/
|
|
378
|
+
type PrimeIcon = (typeof PrimeIcons)[keyof Omit<typeof PrimeIcons, 'prototype'>];
|
|
379
|
+
|
|
380
|
+
interface ViewingLayouts {
|
|
381
|
+
id: string;
|
|
382
|
+
icon: PrimeIcon;
|
|
383
|
+
layout: 'grid' | 'list' | 'table';
|
|
384
|
+
tooltip?: string;
|
|
385
|
+
tooltipKey: string;
|
|
386
|
+
label?: string;
|
|
387
|
+
labelKey: string;
|
|
388
|
+
}
|
|
389
|
+
interface DataLayoutSelectionComponentState {
|
|
390
|
+
layout?: 'grid' | 'list' | 'table';
|
|
391
|
+
}
|
|
392
|
+
declare class DataLayoutSelectionComponent implements OnInit {
|
|
393
|
+
supportedViewLayouts: _angular_core.InputSignal<string[]>;
|
|
394
|
+
layout: _angular_core.ModelSignal<"table" | "grid" | "list">;
|
|
395
|
+
dataViewLayoutChange: _angular_core.OutputEmitterRef<"table" | "grid" | "list">;
|
|
396
|
+
componentStateChanged: _angular_core.OutputEmitterRef<DataLayoutSelectionComponentState>;
|
|
397
|
+
viewingLayouts: _angular_core.Signal<ViewingLayouts[]>;
|
|
398
|
+
readonly selectedViewLayout: _angular_core.Signal<ViewingLayouts | undefined>;
|
|
399
|
+
ngOnInit(): void;
|
|
400
|
+
onDataViewLayoutChange(event: {
|
|
401
|
+
icon: PrimeIcon;
|
|
402
|
+
layout: 'grid' | 'list' | 'table';
|
|
403
|
+
}): void;
|
|
404
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DataLayoutSelectionComponent, never>;
|
|
405
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DataLayoutSelectionComponent, "ocx-data-layout-selection", never, { "supportedViewLayouts": { "alias": "supportedViewLayouts"; "required": false; "isSignal": true; }; "layout": { "alias": "layout"; "required": false; "isSignal": true; }; }, { "layout": "layoutChange"; "dataViewLayoutChange": "dataViewLayoutChange"; "componentStateChanged": "componentStateChanged"; }, never, never, false, never>;
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
type RouterLink = string | (() => string) | (() => Promise<string>) | Promise<string>;
|
|
409
|
+
interface DataAction {
|
|
410
|
+
id?: string;
|
|
411
|
+
labelKey?: string;
|
|
412
|
+
icon?: string;
|
|
413
|
+
permission: string | string[];
|
|
414
|
+
classes?: string[];
|
|
415
|
+
disabled?: boolean;
|
|
416
|
+
actionVisibleField?: string;
|
|
417
|
+
actionEnabledField?: string;
|
|
418
|
+
showAsOverflow?: boolean;
|
|
419
|
+
callback: (data: any) => void;
|
|
420
|
+
routerLink?: RouterLink;
|
|
421
|
+
}
|
|
422
|
+
|
|
423
|
+
declare const enum DataSortDirection {
|
|
424
|
+
ASCENDING = "ASCENDING",
|
|
425
|
+
DESCENDING = "DESCENDING",
|
|
426
|
+
NONE = "NONE"
|
|
427
|
+
}
|
|
428
|
+
|
|
429
|
+
type Primitive = number | string | boolean | bigint | Date;
|
|
430
|
+
type Row = {
|
|
431
|
+
id: string | number;
|
|
432
|
+
[columnId: string]: unknown;
|
|
433
|
+
};
|
|
434
|
+
declare enum TemplateType {
|
|
435
|
+
CELL = "CELL",
|
|
436
|
+
FILTERCELL = "FILTERCELL"
|
|
437
|
+
}
|
|
438
|
+
type Sort = {
|
|
439
|
+
sortColumn: string;
|
|
440
|
+
sortDirection: DataSortDirection;
|
|
441
|
+
};
|
|
442
|
+
interface DataTableComponentState {
|
|
443
|
+
filters?: Filter$1[];
|
|
444
|
+
sorting?: Sort;
|
|
445
|
+
selectedRows?: Row[];
|
|
446
|
+
activePage?: number;
|
|
447
|
+
pageSize?: number;
|
|
448
|
+
}
|
|
449
|
+
declare class DataTableComponent extends DataSortBase implements OnInit {
|
|
450
|
+
private readonly router;
|
|
451
|
+
private readonly injector;
|
|
452
|
+
private readonly userService;
|
|
453
|
+
private readonly hasPermissionChecker;
|
|
454
|
+
private readonly liveAnnouncer;
|
|
455
|
+
FilterType: typeof FilterType;
|
|
456
|
+
TemplateType: typeof TemplateType;
|
|
457
|
+
rows: _angular_core.ModelSignal<Row[]>;
|
|
458
|
+
previousRows: _angular_core.Signal<Row[]>;
|
|
459
|
+
selectedRows: _angular_core.ModelSignal<Row[]>;
|
|
460
|
+
selectedIds: _angular_core.WritableSignal<(string | number)[]>;
|
|
461
|
+
filters: _angular_core.ModelSignal<Filter$1[]>;
|
|
462
|
+
previousFilters: _angular_core.Signal<Filter$1[]>;
|
|
463
|
+
sortDirection: _angular_core.ModelSignal<DataSortDirection>;
|
|
464
|
+
sortColumn: _angular_core.ModelSignal<string>;
|
|
465
|
+
columnTemplates$: Observable<Record<string, TemplateRef<any> | null>> | undefined;
|
|
466
|
+
columnFilterTemplates$: Observable<Record<string, TemplateRef<any> | null>> | undefined;
|
|
467
|
+
columns: _angular_core.ModelSignal<DataTableColumn[]>;
|
|
468
|
+
clientSideFiltering: _angular_core.InputSignal<boolean>;
|
|
469
|
+
clientSideSorting: _angular_core.InputSignal<boolean>;
|
|
470
|
+
sortStates: _angular_core.ModelSignal<DataSortDirection[]>;
|
|
471
|
+
pageSizes: _angular_core.ModelSignal<number[]>;
|
|
472
|
+
displayedPageSize: _angular_core.Signal<number>;
|
|
473
|
+
pageSize: _angular_core.ModelSignal<number | undefined>;
|
|
474
|
+
emptyResultsMessage: _angular_core.InputSignal<string | undefined>;
|
|
475
|
+
name: _angular_core.ModelSignal<string>;
|
|
476
|
+
deletePermission: _angular_core.InputSignal<PermissionInput>;
|
|
477
|
+
viewPermission: _angular_core.InputSignal<PermissionInput>;
|
|
478
|
+
editPermission: _angular_core.InputSignal<PermissionInput>;
|
|
479
|
+
deleteActionVisibleField: _angular_core.InputSignal<string | undefined>;
|
|
480
|
+
deleteActionEnabledField: _angular_core.InputSignal<string | undefined>;
|
|
481
|
+
viewActionVisibleField: _angular_core.InputSignal<string | undefined>;
|
|
482
|
+
viewActionEnabledField: _angular_core.InputSignal<string | undefined>;
|
|
483
|
+
editActionVisibleField: _angular_core.InputSignal<string | undefined>;
|
|
484
|
+
editActionEnabledField: _angular_core.InputSignal<string | undefined>;
|
|
485
|
+
selectionEnabledField: _angular_core.InputSignal<string | undefined>;
|
|
486
|
+
allowSelectAll: _angular_core.InputSignal<boolean>;
|
|
487
|
+
paginator: _angular_core.InputSignal<boolean>;
|
|
488
|
+
page: _angular_core.ModelSignal<number>;
|
|
489
|
+
tableStyle: _angular_core.InputSignal<{
|
|
490
|
+
[klass: string]: any;
|
|
491
|
+
} | undefined>;
|
|
492
|
+
totalRecordsOnServer: _angular_core.InputSignal<number | undefined>;
|
|
493
|
+
currentPageShowingKey: _angular_core.InputSignal<string>;
|
|
494
|
+
currentPageShowingWithTotalOnServerKey: _angular_core.InputSignal<string>;
|
|
495
|
+
params: _angular_core.Signal<{
|
|
496
|
+
currentPage: string;
|
|
497
|
+
totalPages: string;
|
|
498
|
+
rows: string;
|
|
499
|
+
first: string;
|
|
500
|
+
last: string;
|
|
501
|
+
totalRecords: string;
|
|
502
|
+
totalRecordsOnServer: number | undefined;
|
|
503
|
+
}>;
|
|
504
|
+
stringCellTemplate: _angular_core.InputSignal<TemplateRef<any> | undefined>;
|
|
505
|
+
stringCellChildTemplate: _angular_core.Signal<TemplateRef<any> | undefined>;
|
|
506
|
+
stringCell: _angular_core.Signal<TemplateRef<any> | undefined>;
|
|
507
|
+
numberCellTemplate: _angular_core.InputSignal<TemplateRef<any> | undefined>;
|
|
508
|
+
numberCellChildTemplate: _angular_core.Signal<TemplateRef<any> | undefined>;
|
|
509
|
+
numberCell: _angular_core.Signal<TemplateRef<any> | undefined>;
|
|
510
|
+
dateCellTemplate: _angular_core.InputSignal<TemplateRef<any> | undefined>;
|
|
511
|
+
dateCellChildTemplate: _angular_core.Signal<TemplateRef<any> | undefined>;
|
|
512
|
+
dateCell: _angular_core.Signal<TemplateRef<any> | undefined>;
|
|
513
|
+
relativeDateCellTemplate: _angular_core.InputSignal<TemplateRef<any> | undefined>;
|
|
514
|
+
relativeDateCellChildTemplate: _angular_core.Signal<TemplateRef<any> | undefined>;
|
|
515
|
+
relativeDateCell: _angular_core.Signal<TemplateRef<any> | undefined>;
|
|
516
|
+
cellTemplate: _angular_core.InputSignal<TemplateRef<any> | undefined>;
|
|
517
|
+
cellChildTemplate: _angular_core.Signal<TemplateRef<any> | undefined>;
|
|
518
|
+
cell: _angular_core.Signal<TemplateRef<any> | undefined>;
|
|
519
|
+
translationKeyCellTemplate: _angular_core.InputSignal<TemplateRef<any> | undefined>;
|
|
520
|
+
translationKeyCellChildTemplate: _angular_core.Signal<TemplateRef<any> | undefined>;
|
|
521
|
+
translationKeyCell: _angular_core.Signal<TemplateRef<any> | undefined>;
|
|
522
|
+
stringFilterCellTemplate: _angular_core.InputSignal<TemplateRef<any> | undefined>;
|
|
523
|
+
stringFilterCellChildTemplate: _angular_core.Signal<TemplateRef<any> | undefined>;
|
|
524
|
+
stringFilterCell: _angular_core.Signal<TemplateRef<any> | undefined>;
|
|
525
|
+
numberFilterCellTemplate: _angular_core.InputSignal<TemplateRef<any> | undefined>;
|
|
526
|
+
numberFilterCellChildTemplate: _angular_core.Signal<TemplateRef<any> | undefined>;
|
|
527
|
+
numberFilterCell: _angular_core.Signal<TemplateRef<any> | undefined>;
|
|
528
|
+
dateFilterCellTemplate: _angular_core.InputSignal<TemplateRef<any> | undefined>;
|
|
529
|
+
dateFilterCellChildTemplate: _angular_core.Signal<TemplateRef<any> | undefined>;
|
|
530
|
+
dateFilterCell: _angular_core.Signal<TemplateRef<any> | undefined>;
|
|
531
|
+
relativeDateFilterCellTemplate: _angular_core.InputSignal<TemplateRef<any> | undefined>;
|
|
532
|
+
relativeDateFilterCellChildTemplate: _angular_core.Signal<TemplateRef<any> | undefined>;
|
|
533
|
+
relativeDateFilterCell: _angular_core.Signal<TemplateRef<any> | undefined>;
|
|
534
|
+
filterCellTemplate: _angular_core.InputSignal<TemplateRef<any> | undefined>;
|
|
535
|
+
filterCellChildTemplate: _angular_core.Signal<TemplateRef<any> | undefined>;
|
|
536
|
+
filterCell: _angular_core.Signal<TemplateRef<any> | undefined>;
|
|
537
|
+
translationKeyFilterCellTemplate: _angular_core.InputSignal<TemplateRef<any> | undefined>;
|
|
538
|
+
translationKeyFilterCellChildTemplate: _angular_core.Signal<TemplateRef<any> | undefined>;
|
|
539
|
+
translationKeyFilterCell: _angular_core.Signal<TemplateRef<any> | undefined>;
|
|
540
|
+
additionalActions: _angular_core.ModelSignal<DataAction[]>;
|
|
541
|
+
frozenActionColumn: _angular_core.InputSignal<boolean>;
|
|
542
|
+
actionColumnPosition: _angular_core.InputSignal<"right" | "left">;
|
|
543
|
+
filtered: _angular_core.OutputEmitterRef<Filter$1[]>;
|
|
544
|
+
sorted: _angular_core.OutputEmitterRef<Sort>;
|
|
545
|
+
viewTableRow: _onecx_angular_accelerator.ObservableOutputEmitterRef<Row>;
|
|
546
|
+
editTableRow: _onecx_angular_accelerator.ObservableOutputEmitterRef<Row>;
|
|
547
|
+
deleteTableRow: _onecx_angular_accelerator.ObservableOutputEmitterRef<Row>;
|
|
548
|
+
selectionChanged: _onecx_angular_accelerator.ObservableOutputEmitterRef<Row[]>;
|
|
549
|
+
pageChanged: _angular_core.OutputEmitterRef<number>;
|
|
550
|
+
pageSizeChanged: _angular_core.OutputEmitterRef<number>;
|
|
551
|
+
componentStateChanged: _angular_core.OutputEmitterRef<DataTableComponentState>;
|
|
552
|
+
displayedRows$: Observable<Pick<{
|
|
553
|
+
[x: string]: unknown;
|
|
554
|
+
}, string>[]>;
|
|
555
|
+
selectedFilteredRows: _angular_core.Signal<Row[]>;
|
|
556
|
+
currentFilterColumn: _angular_core.WritableSignal<DataTableColumn | null>;
|
|
557
|
+
currentEqualFilterOptions$: Observable<{
|
|
558
|
+
options: never[];
|
|
559
|
+
column: undefined;
|
|
560
|
+
} | {
|
|
561
|
+
options: SelectItem<any>[];
|
|
562
|
+
column: DataTableColumn;
|
|
563
|
+
}>;
|
|
564
|
+
currentEqualSelectedFilters: _angular_core.Signal<unknown[]>;
|
|
565
|
+
currentTruthySelectedFilters: _angular_core.Signal<unknown[]>;
|
|
566
|
+
filterAmounts: _angular_core.Signal<Record<string, number>>;
|
|
567
|
+
overflowActions: _angular_core.Signal<DataAction[]>;
|
|
568
|
+
overflowActions$: Observable<DataAction[]>;
|
|
569
|
+
inlineActions: _angular_core.Signal<DataAction[]>;
|
|
570
|
+
currentMenuRow: _angular_core.WritableSignal<Row | null>;
|
|
571
|
+
overflowMenuItems$: Observable<{
|
|
572
|
+
label: any;
|
|
573
|
+
icon: string | undefined;
|
|
574
|
+
styleClass: string;
|
|
575
|
+
disabled: boolean;
|
|
576
|
+
visible: boolean;
|
|
577
|
+
command: () => void;
|
|
578
|
+
}[]>;
|
|
579
|
+
templates: _angular_core.Signal<readonly PrimeTemplate[]>;
|
|
580
|
+
templates$: Observable<readonly PrimeTemplate[]>;
|
|
581
|
+
viewTemplates: _angular_core.Signal<readonly PrimeTemplate[]>;
|
|
582
|
+
viewTemplates$: Observable<readonly PrimeTemplate[]>;
|
|
583
|
+
parentTemplates: _angular_core.ModelSignal<PrimeTemplate[] | null | undefined>;
|
|
584
|
+
parentTemplates$: Observable<PrimeTemplate[] | null | undefined>;
|
|
585
|
+
get viewTableRowObserved(): boolean;
|
|
586
|
+
get editTableRowObserved(): boolean;
|
|
587
|
+
get deleteTableRowObserved(): boolean;
|
|
588
|
+
get anyRowActionObserved(): boolean;
|
|
589
|
+
get selectionChangedObserved(): boolean;
|
|
590
|
+
constructor();
|
|
591
|
+
ngOnInit(): void;
|
|
592
|
+
translateColumnValues(columnValues: string[]): Observable<any>;
|
|
593
|
+
emitComponentStateChanged(): void;
|
|
594
|
+
emitSelectionChanged(): void;
|
|
595
|
+
onSortColumnClick(sortColumn: string): void;
|
|
596
|
+
columnNextSortDirection(sortColumn: string): DataSortDirection;
|
|
597
|
+
onDeleteRow(selectedTableRow: Row): void;
|
|
598
|
+
onViewRow(selectedTableRow: Row): void;
|
|
599
|
+
onEditRow(selectedTableRow: Row): void;
|
|
600
|
+
onFilterChosen(column: DataTableColumn): void;
|
|
601
|
+
onMultiselectFilterChange(column: DataTableColumn, event: any): void;
|
|
602
|
+
sortIconTitle(sortColumn: string): "OCX_DATA_TABLE.TOGGLE_BUTTON.ASCENDING_TITLE" | "OCX_DATA_TABLE.TOGGLE_BUTTON.DESCENDING_TITLE" | "OCX_DATA_TABLE.TOGGLE_BUTTON.DEFAULT_TITLE";
|
|
603
|
+
sortDirectionToTitle(sortDirection: DataSortDirection): "OCX_DATA_TABLE.TOGGLE_BUTTON.ASCENDING_TITLE" | "OCX_DATA_TABLE.TOGGLE_BUTTON.DESCENDING_TITLE" | "OCX_DATA_TABLE.TOGGLE_BUTTON.DEFAULT_TITLE";
|
|
604
|
+
isRowSelectionDisabled(rowObject: Row): boolean;
|
|
605
|
+
rowSelectable(event: any): boolean;
|
|
606
|
+
onSelectionChange(selection: Row[]): void;
|
|
607
|
+
mergeWithDisabledKeys(newSelectionIds: (string | number)[], disabledRowIds: (string | number)[]): (string | number)[];
|
|
608
|
+
isSelected(row: Row): boolean;
|
|
609
|
+
onPageChange(event: any): void;
|
|
610
|
+
fieldIsTruthy(object: any, key: any): boolean;
|
|
611
|
+
toggleOverflowMenu(event: MouseEvent, menu: Menu, row: Row): void;
|
|
612
|
+
hasVisibleOverflowMenuItems(row: any): Observable<boolean>;
|
|
613
|
+
isDate(value: Date | string | number): boolean;
|
|
614
|
+
private readonly cellTemplatesData;
|
|
615
|
+
private readonly filterTemplatesData;
|
|
616
|
+
private readonly templatesDataMap;
|
|
617
|
+
getColumnTypeTemplate(templates: PrimeTemplate[], columnType: ColumnType, templateType: TemplateType): TemplateRef<any> | null;
|
|
618
|
+
getTemplate(column: DataTableColumn, templateType: TemplateType): Observable<TemplateRef<any> | null>;
|
|
619
|
+
resolveFieldData(object: any, key: any): any;
|
|
620
|
+
getRowObjectFromMultiselectItem(value: MultiSelectItem, column: DataTableColumn): Record<string, string | undefined>;
|
|
621
|
+
rowTrackByFunction: (index: number, item: any) => any;
|
|
622
|
+
private filterActionsBasedOnPermissions;
|
|
623
|
+
onActionClick(action: DataAction, rowObject: any): Promise<void>;
|
|
624
|
+
private createMenuItemCommand;
|
|
625
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DataTableComponent, never>;
|
|
626
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DataTableComponent, "ocx-data-table", never, { "rows": { "alias": "rows"; "required": false; "isSignal": true; }; "selectedRows": { "alias": "selectedRows"; "required": false; "isSignal": true; }; "filters": { "alias": "filters"; "required": false; "isSignal": true; }; "sortDirection": { "alias": "sortDirection"; "required": false; "isSignal": true; }; "sortColumn": { "alias": "sortColumn"; "required": false; "isSignal": true; }; "columns": { "alias": "columns"; "required": false; "isSignal": true; }; "clientSideFiltering": { "alias": "clientSideFiltering"; "required": false; "isSignal": true; }; "clientSideSorting": { "alias": "clientSideSorting"; "required": false; "isSignal": true; }; "sortStates": { "alias": "sortStates"; "required": false; "isSignal": true; }; "pageSizes": { "alias": "pageSizes"; "required": false; "isSignal": true; }; "pageSize": { "alias": "pageSize"; "required": false; "isSignal": true; }; "emptyResultsMessage": { "alias": "emptyResultsMessage"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "deletePermission": { "alias": "deletePermission"; "required": false; "isSignal": true; }; "viewPermission": { "alias": "viewPermission"; "required": false; "isSignal": true; }; "editPermission": { "alias": "editPermission"; "required": false; "isSignal": true; }; "deleteActionVisibleField": { "alias": "deleteActionVisibleField"; "required": false; "isSignal": true; }; "deleteActionEnabledField": { "alias": "deleteActionEnabledField"; "required": false; "isSignal": true; }; "viewActionVisibleField": { "alias": "viewActionVisibleField"; "required": false; "isSignal": true; }; "viewActionEnabledField": { "alias": "viewActionEnabledField"; "required": false; "isSignal": true; }; "editActionVisibleField": { "alias": "editActionVisibleField"; "required": false; "isSignal": true; }; "editActionEnabledField": { "alias": "editActionEnabledField"; "required": false; "isSignal": true; }; "selectionEnabledField": { "alias": "selectionEnabledField"; "required": false; "isSignal": true; }; "allowSelectAll": { "alias": "allowSelectAll"; "required": false; "isSignal": true; }; "paginator": { "alias": "paginator"; "required": false; "isSignal": true; }; "page": { "alias": "page"; "required": false; "isSignal": true; }; "tableStyle": { "alias": "tableStyle"; "required": false; "isSignal": true; }; "totalRecordsOnServer": { "alias": "totalRecordsOnServer"; "required": false; "isSignal": true; }; "currentPageShowingKey": { "alias": "currentPageShowingKey"; "required": false; "isSignal": true; }; "currentPageShowingWithTotalOnServerKey": { "alias": "currentPageShowingWithTotalOnServerKey"; "required": false; "isSignal": true; }; "stringCellTemplate": { "alias": "stringCellTemplate"; "required": false; "isSignal": true; }; "numberCellTemplate": { "alias": "numberCellTemplate"; "required": false; "isSignal": true; }; "dateCellTemplate": { "alias": "dateCellTemplate"; "required": false; "isSignal": true; }; "relativeDateCellTemplate": { "alias": "relativeDateCellTemplate"; "required": false; "isSignal": true; }; "cellTemplate": { "alias": "cellTemplate"; "required": false; "isSignal": true; }; "translationKeyCellTemplate": { "alias": "translationKeyCellTemplate"; "required": false; "isSignal": true; }; "stringFilterCellTemplate": { "alias": "stringFilterCellTemplate"; "required": false; "isSignal": true; }; "numberFilterCellTemplate": { "alias": "numberFilterCellTemplate"; "required": false; "isSignal": true; }; "dateFilterCellTemplate": { "alias": "dateFilterCellTemplate"; "required": false; "isSignal": true; }; "relativeDateFilterCellTemplate": { "alias": "relativeDateFilterCellTemplate"; "required": false; "isSignal": true; }; "filterCellTemplate": { "alias": "filterCellTemplate"; "required": false; "isSignal": true; }; "translationKeyFilterCellTemplate": { "alias": "translationKeyFilterCellTemplate"; "required": false; "isSignal": true; }; "additionalActions": { "alias": "additionalActions"; "required": false; "isSignal": true; }; "frozenActionColumn": { "alias": "frozenActionColumn"; "required": false; "isSignal": true; }; "actionColumnPosition": { "alias": "actionColumnPosition"; "required": false; "isSignal": true; }; "parentTemplates": { "alias": "parentTemplates"; "required": false; "isSignal": true; }; }, { "rows": "rowsChange"; "selectedRows": "selectedRowsChange"; "filters": "filtersChange"; "sortDirection": "sortDirectionChange"; "sortColumn": "sortColumnChange"; "columns": "columnsChange"; "sortStates": "sortStatesChange"; "pageSizes": "pageSizesChange"; "pageSize": "pageSizeChange"; "name": "nameChange"; "page": "pageChange"; "additionalActions": "additionalActionsChange"; "filtered": "filtered"; "sorted": "sorted"; "viewTableRow": "viewTableRow"; "editTableRow": "editTableRow"; "deleteTableRow": "deleteTableRow"; "selectionChanged": "selectionChanged"; "pageChanged": "pageChanged"; "pageSizeChanged": "pageSizeChanged"; "componentStateChanged": "componentStateChanged"; "parentTemplates": "parentTemplatesChange"; }, ["stringCellChildTemplate", "numberCellChildTemplate", "dateCellChildTemplate", "relativeDateCellChildTemplate", "cellChildTemplate", "translationKeyCellChildTemplate", "stringFilterCellChildTemplate", "numberFilterCellChildTemplate", "dateFilterCellChildTemplate", "relativeDateFilterCellChildTemplate", "filterCellChildTemplate", "translationKeyFilterCellChildTemplate", "templates"], never, false, never>;
|
|
627
|
+
}
|
|
628
|
+
|
|
629
|
+
type RowListGridData$2 = ListGridData | Row;
|
|
630
|
+
declare class DataSortBase {
|
|
631
|
+
protected locale: string;
|
|
632
|
+
protected translateService: TranslateService;
|
|
633
|
+
constructor(locale: string, translateService: TranslateService);
|
|
634
|
+
translateItems(items: RowListGridData$2[], columns: DataTableColumn[], clientSideFiltering: boolean, clientSideSorting: boolean): Observable<Record<string, Record<string, string>>>;
|
|
635
|
+
filterItems([items, filters, translations]: [RowListGridData$2[], Filter$1[], Record<string, Record<string, string>>], clientSideFiltering: boolean): RowListGridData$2[];
|
|
636
|
+
sortItems([items, sortColumn, sortDirection, translations]: [
|
|
637
|
+
RowListGridData$2[],
|
|
638
|
+
string,
|
|
639
|
+
DataSortDirection,
|
|
640
|
+
Record<string, Record<string, string>>
|
|
641
|
+
], columns: DataTableColumn[], clientSideSorting: boolean): RowListGridData$2[];
|
|
642
|
+
flattenItems(items: RowListGridData$2[]): Pick<{
|
|
643
|
+
[x: string]: unknown;
|
|
644
|
+
}, string>[];
|
|
645
|
+
createCompareFunction(translatedColValues: Record<string, string>, sortColumn: string, sortDirection: DataSortDirection): (a: Record<string, any>, b: Record<string, any>) => number;
|
|
646
|
+
}
|
|
647
|
+
|
|
648
|
+
declare class ObservableOutputEmitterRef<T> extends OutputEmitterRef<T> {
|
|
649
|
+
observed: Signal<boolean>;
|
|
650
|
+
constructor();
|
|
651
|
+
}
|
|
652
|
+
declare function observableOutput<T>(): ObservableOutputEmitterRef<T>;
|
|
653
|
+
|
|
654
|
+
type ListGridData = {
|
|
655
|
+
id: string | number;
|
|
656
|
+
imagePath: string | number;
|
|
657
|
+
[columnId: string]: unknown;
|
|
658
|
+
};
|
|
659
|
+
type RowListGridData$1 = ListGridData & Row;
|
|
660
|
+
interface ListGridDataMenuItem extends MenuItem {
|
|
661
|
+
permission: string;
|
|
662
|
+
}
|
|
663
|
+
interface DataListGridComponentState {
|
|
664
|
+
activePage?: number;
|
|
665
|
+
pageSize?: number;
|
|
666
|
+
}
|
|
667
|
+
declare class DataListGridComponent extends DataSortBase implements OnInit {
|
|
668
|
+
private readonly userService;
|
|
669
|
+
private readonly router;
|
|
670
|
+
private readonly injector;
|
|
671
|
+
private readonly appStateService;
|
|
672
|
+
private readonly hasPermissionChecker;
|
|
673
|
+
private readonly liveAnnouncer;
|
|
674
|
+
titleLineId: _angular_core.InputSignal<string | undefined>;
|
|
675
|
+
subtitleLineIds: _angular_core.InputSignal<string[] | undefined>;
|
|
676
|
+
clientSideSorting: _angular_core.InputSignal<boolean>;
|
|
677
|
+
clientSideFiltering: _angular_core.InputSignal<boolean>;
|
|
678
|
+
sortStates: _angular_core.InputSignal<DataSortDirection[]>;
|
|
679
|
+
pageSize: _angular_core.ModelSignal<number | undefined>;
|
|
680
|
+
pageSizes: _angular_core.InputSignal<number[]>;
|
|
681
|
+
displayedPageSize: _angular_core.Signal<number>;
|
|
682
|
+
emptyResultsMessage: _angular_core.InputSignal<string | undefined>;
|
|
683
|
+
fallbackImage: _angular_core.InputSignal<string>;
|
|
684
|
+
layout: _angular_core.InputSignal<"grid" | "list">;
|
|
685
|
+
viewPermission: _angular_core.InputSignal<PermissionInput>;
|
|
686
|
+
editPermission: _angular_core.InputSignal<PermissionInput>;
|
|
687
|
+
deletePermission: _angular_core.InputSignal<PermissionInput>;
|
|
688
|
+
deleteActionVisibleField: _angular_core.InputSignal<string | undefined>;
|
|
689
|
+
deleteActionEnabledField: _angular_core.InputSignal<string | undefined>;
|
|
690
|
+
viewActionVisibleField: _angular_core.InputSignal<string | undefined>;
|
|
691
|
+
viewActionEnabledField: _angular_core.InputSignal<string | undefined>;
|
|
692
|
+
editActionVisibleField: _angular_core.InputSignal<string | undefined>;
|
|
693
|
+
editActionEnabledField: _angular_core.InputSignal<string | undefined>;
|
|
694
|
+
viewMenuItemKey: _angular_core.InputSignal<string | undefined>;
|
|
695
|
+
editMenuItemKey: _angular_core.InputSignal<string | undefined>;
|
|
696
|
+
deleteMenuItemKey: _angular_core.InputSignal<string | undefined>;
|
|
697
|
+
paginator: _angular_core.InputSignal<boolean>;
|
|
698
|
+
page: _angular_core.ModelSignal<number>;
|
|
699
|
+
columnTemplates$: Observable<Record<string, TemplateRef<any> | null>> | undefined;
|
|
700
|
+
columns: _angular_core.InputSignal<DataTableColumn[]>;
|
|
701
|
+
filteredColumns: _angular_core.Signal<DataTableColumn[]>;
|
|
702
|
+
name: _angular_core.ModelSignal<string | undefined>;
|
|
703
|
+
totalRecordsOnServer: _angular_core.InputSignal<number | undefined>;
|
|
704
|
+
currentPageShowingKey: _angular_core.InputSignal<string>;
|
|
705
|
+
currentPageShowingWithTotalOnServerKey: _angular_core.InputSignal<string>;
|
|
706
|
+
params: _angular_core.Signal<{
|
|
707
|
+
currentPage: string;
|
|
708
|
+
totalPages: string;
|
|
709
|
+
rows: string;
|
|
710
|
+
first: string;
|
|
711
|
+
last: string;
|
|
712
|
+
totalRecords: string;
|
|
713
|
+
totalRecordsOnServer: number | undefined;
|
|
714
|
+
}>;
|
|
715
|
+
data: _angular_core.InputSignal<RowListGridData$1[]>;
|
|
716
|
+
previousData: _angular_core.Signal<RowListGridData$1[]>;
|
|
717
|
+
filters: _angular_core.InputSignal<Filter$1[]>;
|
|
718
|
+
previousFilters: _angular_core.Signal<Filter$1[]>;
|
|
719
|
+
sortDirection: _angular_core.InputSignal<DataSortDirection>;
|
|
720
|
+
sortField: _angular_core.InputSignal<string>;
|
|
721
|
+
private readonly permissions$;
|
|
722
|
+
gridItemSubtitleLinesTemplate: _angular_core.InputSignal<TemplateRef<any> | undefined>;
|
|
723
|
+
gridItemSubtitleLinesChildTemplate: _angular_core.Signal<TemplateRef<any> | undefined>;
|
|
724
|
+
get gridItemSubtitleLines(): TemplateRef<any> | undefined;
|
|
725
|
+
listItemSubtitleLinesTemplate: _angular_core.InputSignal<TemplateRef<any> | undefined>;
|
|
726
|
+
listItemSubtitleLinesChildTemplate: _angular_core.Signal<TemplateRef<any> | undefined>;
|
|
727
|
+
get listItemSubtitleLines(): TemplateRef<any> | undefined;
|
|
728
|
+
listItemTemplate: _angular_core.InputSignal<TemplateRef<any> | undefined>;
|
|
729
|
+
listItemChildTemplate: _angular_core.Signal<TemplateRef<any> | undefined>;
|
|
730
|
+
get listItem(): TemplateRef<any> | undefined;
|
|
731
|
+
gridItemTemplate: _angular_core.InputSignal<TemplateRef<any> | undefined>;
|
|
732
|
+
gridItemChildTemplate: _angular_core.Signal<TemplateRef<any> | undefined>;
|
|
733
|
+
get gridItem(): TemplateRef<any> | undefined;
|
|
734
|
+
listValueTemplate: _angular_core.InputSignal<TemplateRef<any> | undefined>;
|
|
735
|
+
listValueChildTemplate: _angular_core.Signal<TemplateRef<any> | undefined>;
|
|
736
|
+
get listValue(): TemplateRef<any> | undefined;
|
|
737
|
+
translationKeyListValueTemplate: _angular_core.InputSignal<TemplateRef<any> | undefined>;
|
|
738
|
+
translationKeyListValueChildTemplate: _angular_core.Signal<TemplateRef<any> | undefined>;
|
|
739
|
+
get translationKeyListValue(): TemplateRef<any> | undefined;
|
|
740
|
+
numberListValueTemplate: _angular_core.InputSignal<TemplateRef<any> | undefined>;
|
|
741
|
+
numberListValueChildTemplate: _angular_core.Signal<TemplateRef<any> | undefined>;
|
|
742
|
+
get numberListValue(): TemplateRef<any> | undefined;
|
|
743
|
+
relativeDateListValueTemplate: _angular_core.InputSignal<TemplateRef<any> | undefined>;
|
|
744
|
+
relativeDateListValueChildTemplate: _angular_core.Signal<TemplateRef<any> | undefined>;
|
|
745
|
+
get relativeDateListValue(): TemplateRef<any> | undefined;
|
|
746
|
+
stringListValueTemplate: _angular_core.InputSignal<TemplateRef<any> | undefined>;
|
|
747
|
+
stringListValueChildTemplate: _angular_core.Signal<TemplateRef<any> | undefined>;
|
|
748
|
+
get stringListValue(): TemplateRef<any> | undefined;
|
|
749
|
+
dateListValueTemplate: _angular_core.InputSignal<TemplateRef<any> | undefined>;
|
|
750
|
+
dateListValueChildTemplate: _angular_core.Signal<TemplateRef<any> | undefined>;
|
|
751
|
+
get dateListValue(): TemplateRef<any> | undefined;
|
|
752
|
+
additionalActions: _angular_core.InputSignal<DataAction[]>;
|
|
753
|
+
inlineListActions: _angular_core.Signal<DataAction[]>;
|
|
754
|
+
overflowListActions: _angular_core.Signal<DataAction[]>;
|
|
755
|
+
overflowListActions$: Observable<DataAction[]>;
|
|
756
|
+
currentMenuRow: _angular_core.WritableSignal<Row | null>;
|
|
757
|
+
overflowListMenuItems$: Observable<{
|
|
758
|
+
label: any;
|
|
759
|
+
icon: string | undefined;
|
|
760
|
+
styleClass: string;
|
|
761
|
+
disabled: boolean;
|
|
762
|
+
visible: boolean;
|
|
763
|
+
command: () => void;
|
|
764
|
+
}[]>;
|
|
765
|
+
viewItem: ObservableOutputEmitterRef<ListGridData | undefined>;
|
|
766
|
+
editItem: ObservableOutputEmitterRef<ListGridData | undefined>;
|
|
767
|
+
deleteItem: ObservableOutputEmitterRef<ListGridData | undefined>;
|
|
768
|
+
pageChanged: _angular_core.OutputEmitterRef<number>;
|
|
769
|
+
pageSizeChanged: _angular_core.OutputEmitterRef<number>;
|
|
770
|
+
componentStateChanged: _angular_core.OutputEmitterRef<DataListGridComponentState>;
|
|
771
|
+
get viewItemObserved(): boolean;
|
|
772
|
+
get editItemObserved(): boolean;
|
|
773
|
+
get deleteItemObserved(): boolean;
|
|
774
|
+
observedOutputs: _angular_core.Signal<number>;
|
|
775
|
+
get sortDirectionNumber(): number;
|
|
776
|
+
selectedItem: _angular_core.WritableSignal<ListGridData | undefined>;
|
|
777
|
+
permittedAdditionalActions$: Observable<DataAction[]>;
|
|
778
|
+
gridMenuState$: Observable<{
|
|
779
|
+
permissions: string[];
|
|
780
|
+
additionalActions: DataAction[];
|
|
781
|
+
selectedItem: ListGridData | undefined;
|
|
782
|
+
viewMenuItemKey: string;
|
|
783
|
+
editMenuItemKey: string;
|
|
784
|
+
deleteMenuItemKey: string;
|
|
785
|
+
viewPermission: PermissionInput;
|
|
786
|
+
editPermission: PermissionInput;
|
|
787
|
+
deletePermission: PermissionInput;
|
|
788
|
+
viewActionEnabledField: string | undefined;
|
|
789
|
+
editActionEnabledField: string | undefined;
|
|
790
|
+
deleteActionEnabledField: string | undefined;
|
|
791
|
+
viewActionVisibleField: string | undefined;
|
|
792
|
+
editActionVisibleField: string | undefined;
|
|
793
|
+
deleteActionVisibleField: string | undefined;
|
|
794
|
+
}>;
|
|
795
|
+
gridMenuItems$: Observable<MenuItem[]>;
|
|
796
|
+
displayedItems$: Observable<(Row | ListGridData)[]>;
|
|
797
|
+
fallbackImagePath$: Observable<string>;
|
|
798
|
+
templates: _angular_core.Signal<readonly PrimeTemplate[]>;
|
|
799
|
+
templates$: Observable<readonly PrimeTemplate[]>;
|
|
800
|
+
viewTemplates: _angular_core.Signal<readonly PrimeTemplate[]>;
|
|
801
|
+
viewTemplates$: Observable<readonly PrimeTemplate[]>;
|
|
802
|
+
parentTemplates: _angular_core.ModelSignal<PrimeTemplate[] | null | undefined>;
|
|
803
|
+
parentTemplates$: Observable<PrimeTemplate[] | null | undefined>;
|
|
804
|
+
columnType: typeof ColumnType;
|
|
805
|
+
private templatesObservables;
|
|
806
|
+
hasViewPermission$: Observable<boolean>;
|
|
807
|
+
constructor();
|
|
808
|
+
ngOnInit(): void;
|
|
809
|
+
onDeleteRow(element: ListGridData): void;
|
|
810
|
+
onViewRow(element: ListGridData): void;
|
|
811
|
+
onEditRow(element: ListGridData): void;
|
|
812
|
+
imgError(item: ListGridData): void;
|
|
813
|
+
getFallbackImagePath(mfeInfo: MfeInfo): string;
|
|
814
|
+
setSelectedItem(item: ListGridData): void;
|
|
815
|
+
resolveFieldData(object: any, key: any): any;
|
|
816
|
+
emitComponentStateChanged(): void;
|
|
817
|
+
onPageChange(event: any): void;
|
|
818
|
+
fieldIsTruthy(object: any, key: any): boolean;
|
|
819
|
+
hasVisibleOverflowMenuItems(row: any): Observable<boolean>;
|
|
820
|
+
toggleOverflowMenu(event: MouseEvent, menu: Menu, row: Row): void;
|
|
821
|
+
findTemplate(templates: PrimeTemplate[], names: string[]): PrimeTemplate | undefined;
|
|
822
|
+
getTemplate(column: DataTableColumn): Observable<TemplateRef<any> | null>;
|
|
823
|
+
private mapGridMenuItems;
|
|
824
|
+
private getGridActionsTranslations;
|
|
825
|
+
private shouldDisplayAction;
|
|
826
|
+
private filterActionsBasedOnPermissions;
|
|
827
|
+
private getPermissions;
|
|
828
|
+
onActionClick(action: DataAction, item: any): Promise<void>;
|
|
829
|
+
private createMenuItemCommand;
|
|
830
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DataListGridComponent, never>;
|
|
831
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DataListGridComponent, "ocx-data-list-grid", never, { "titleLineId": { "alias": "titleLineId"; "required": false; "isSignal": true; }; "subtitleLineIds": { "alias": "subtitleLineIds"; "required": false; "isSignal": true; }; "clientSideSorting": { "alias": "clientSideSorting"; "required": false; "isSignal": true; }; "clientSideFiltering": { "alias": "clientSideFiltering"; "required": false; "isSignal": true; }; "sortStates": { "alias": "sortStates"; "required": false; "isSignal": true; }; "pageSize": { "alias": "pageSize"; "required": false; "isSignal": true; }; "pageSizes": { "alias": "pageSizes"; "required": false; "isSignal": true; }; "emptyResultsMessage": { "alias": "emptyResultsMessage"; "required": false; "isSignal": true; }; "fallbackImage": { "alias": "fallbackImage"; "required": false; "isSignal": true; }; "layout": { "alias": "layout"; "required": false; "isSignal": true; }; "viewPermission": { "alias": "viewPermission"; "required": false; "isSignal": true; }; "editPermission": { "alias": "editPermission"; "required": false; "isSignal": true; }; "deletePermission": { "alias": "deletePermission"; "required": false; "isSignal": true; }; "deleteActionVisibleField": { "alias": "deleteActionVisibleField"; "required": false; "isSignal": true; }; "deleteActionEnabledField": { "alias": "deleteActionEnabledField"; "required": false; "isSignal": true; }; "viewActionVisibleField": { "alias": "viewActionVisibleField"; "required": false; "isSignal": true; }; "viewActionEnabledField": { "alias": "viewActionEnabledField"; "required": false; "isSignal": true; }; "editActionVisibleField": { "alias": "editActionVisibleField"; "required": false; "isSignal": true; }; "editActionEnabledField": { "alias": "editActionEnabledField"; "required": false; "isSignal": true; }; "viewMenuItemKey": { "alias": "viewMenuItemKey"; "required": false; "isSignal": true; }; "editMenuItemKey": { "alias": "editMenuItemKey"; "required": false; "isSignal": true; }; "deleteMenuItemKey": { "alias": "deleteMenuItemKey"; "required": false; "isSignal": true; }; "paginator": { "alias": "paginator"; "required": false; "isSignal": true; }; "page": { "alias": "page"; "required": false; "isSignal": true; }; "columns": { "alias": "columns"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "totalRecordsOnServer": { "alias": "totalRecordsOnServer"; "required": false; "isSignal": true; }; "currentPageShowingKey": { "alias": "currentPageShowingKey"; "required": false; "isSignal": true; }; "currentPageShowingWithTotalOnServerKey": { "alias": "currentPageShowingWithTotalOnServerKey"; "required": false; "isSignal": true; }; "data": { "alias": "data"; "required": false; "isSignal": true; }; "filters": { "alias": "filters"; "required": false; "isSignal": true; }; "sortDirection": { "alias": "sortDirection"; "required": false; "isSignal": true; }; "sortField": { "alias": "sortField"; "required": false; "isSignal": true; }; "gridItemSubtitleLinesTemplate": { "alias": "gridItemSubtitleLinesTemplate"; "required": false; "isSignal": true; }; "listItemSubtitleLinesTemplate": { "alias": "listItemSubtitleLinesTemplate"; "required": false; "isSignal": true; }; "listItemTemplate": { "alias": "listItemTemplate"; "required": false; "isSignal": true; }; "gridItemTemplate": { "alias": "gridItemTemplate"; "required": false; "isSignal": true; }; "listValueTemplate": { "alias": "listValueTemplate"; "required": false; "isSignal": true; }; "translationKeyListValueTemplate": { "alias": "translationKeyListValueTemplate"; "required": false; "isSignal": true; }; "numberListValueTemplate": { "alias": "numberListValueTemplate"; "required": false; "isSignal": true; }; "relativeDateListValueTemplate": { "alias": "relativeDateListValueTemplate"; "required": false; "isSignal": true; }; "stringListValueTemplate": { "alias": "stringListValueTemplate"; "required": false; "isSignal": true; }; "dateListValueTemplate": { "alias": "dateListValueTemplate"; "required": false; "isSignal": true; }; "additionalActions": { "alias": "additionalActions"; "required": false; "isSignal": true; }; "parentTemplates": { "alias": "parentTemplates"; "required": false; "isSignal": true; }; }, { "pageSize": "pageSizeChange"; "page": "pageChange"; "name": "nameChange"; "viewItem": "viewItem"; "editItem": "editItem"; "deleteItem": "deleteItem"; "pageChanged": "pageChanged"; "pageSizeChanged": "pageSizeChanged"; "componentStateChanged": "componentStateChanged"; "parentTemplates": "parentTemplatesChange"; }, ["gridItemSubtitleLinesChildTemplate", "listItemSubtitleLinesChildTemplate", "listItemChildTemplate", "gridItemChildTemplate", "listValueChildTemplate", "translationKeyListValueChildTemplate", "numberListValueChildTemplate", "relativeDateListValueChildTemplate", "stringListValueChildTemplate", "dateListValueChildTemplate", "templates"], never, false, never>;
|
|
832
|
+
}
|
|
833
|
+
|
|
834
|
+
interface DataColumnNameId {
|
|
835
|
+
columnId: string;
|
|
836
|
+
columnName: string | number;
|
|
837
|
+
}
|
|
838
|
+
|
|
839
|
+
type ListGridSort = {
|
|
840
|
+
sortColumn: string;
|
|
841
|
+
sortDirection: DataSortDirection;
|
|
842
|
+
};
|
|
843
|
+
interface DataListGridSortingComponentState {
|
|
844
|
+
sorting?: ListGridSort;
|
|
845
|
+
}
|
|
846
|
+
declare class DataListGridSortingComponent {
|
|
847
|
+
readonly columns: _angular_core.InputSignal<DataTableColumn[]>;
|
|
848
|
+
readonly sortStates: _angular_core.InputSignal<DataSortDirection[]>;
|
|
849
|
+
readonly sortDirection: _angular_core.ModelSignal<DataSortDirection>;
|
|
850
|
+
readonly sortField: _angular_core.ModelSignal<string>;
|
|
851
|
+
readonly sortChange: _angular_core.OutputEmitterRef<string>;
|
|
852
|
+
readonly sortDirectionChange: _angular_core.OutputEmitterRef<DataSortDirection>;
|
|
853
|
+
readonly componentStateChanged: _angular_core.OutputEmitterRef<DataListGridSortingComponentState>;
|
|
854
|
+
readonly columnsChange: _angular_core.OutputEmitterRef<string[]>;
|
|
855
|
+
readonly dropdownOptions: _angular_core.Signal<DataColumnNameId[]>;
|
|
856
|
+
readonly selectedSortingOption: _angular_core.Signal<DataColumnNameId | undefined>;
|
|
857
|
+
constructor();
|
|
858
|
+
selectSorting(event: SelectChangeEvent): void;
|
|
859
|
+
sortDirectionChanged(): void;
|
|
860
|
+
nextSortDirection(): DataSortDirection;
|
|
861
|
+
sortIcon(): string;
|
|
862
|
+
sortIconTitle(): string;
|
|
863
|
+
sortDirectionToTitle(sortDirection: DataSortDirection): string;
|
|
864
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DataListGridSortingComponent, never>;
|
|
865
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DataListGridSortingComponent, "ocx-data-list-grid-sorting", never, { "columns": { "alias": "columns"; "required": false; "isSignal": true; }; "sortStates": { "alias": "sortStates"; "required": false; "isSignal": true; }; "sortDirection": { "alias": "sortDirection"; "required": false; "isSignal": true; }; "sortField": { "alias": "sortField"; "required": false; "isSignal": true; }; }, { "sortDirection": "sortDirectionChange"; "sortField": "sortFieldChange"; "sortChange": "sortChange"; "sortDirectionChange": "sortDirectionChange"; "componentStateChanged": "componentStateChanged"; "columnsChange": "columnsChange"; }, never, never, false, never>;
|
|
866
|
+
}
|
|
867
|
+
|
|
868
|
+
type RowListGridData = ListGridData & Row;
|
|
869
|
+
type DataViewComponentState = DataListGridComponentState & DataTableComponentState;
|
|
870
|
+
declare class DataViewComponent implements OnInit {
|
|
871
|
+
private readonly injector;
|
|
872
|
+
dataListGridComponent: _angular_core.Signal<DataListGridComponent | undefined>;
|
|
873
|
+
dataTableComponent: _angular_core.Signal<DataTableComponent | undefined>;
|
|
874
|
+
dataTableComponentState$: ReplaySubject<DataTableComponentState>;
|
|
875
|
+
dataListGridComponentState$: ReplaySubject<DataListGridComponentState>;
|
|
876
|
+
deletePermission: _angular_core.InputSignal<string | string[] | undefined>;
|
|
877
|
+
editPermission: _angular_core.InputSignal<string | string[] | undefined>;
|
|
878
|
+
viewPermission: _angular_core.InputSignal<string | string[] | undefined>;
|
|
879
|
+
deleteActionVisibleField: _angular_core.InputSignal<string | undefined>;
|
|
880
|
+
deleteActionEnabledField: _angular_core.InputSignal<string | undefined>;
|
|
881
|
+
viewActionVisibleField: _angular_core.InputSignal<string | undefined>;
|
|
882
|
+
viewActionEnabledField: _angular_core.InputSignal<string | undefined>;
|
|
883
|
+
editActionVisibleField: _angular_core.InputSignal<string | undefined>;
|
|
884
|
+
editActionEnabledField: _angular_core.InputSignal<string | undefined>;
|
|
885
|
+
tableSelectionEnabledField: _angular_core.InputSignal<string | undefined>;
|
|
886
|
+
tableAllowSelectAll: _angular_core.InputSignal<boolean>;
|
|
887
|
+
data: _angular_core.InputSignal<RowListGridData[]>;
|
|
888
|
+
name: _angular_core.InputSignal<string>;
|
|
889
|
+
titleLineId: _angular_core.InputSignal<string | undefined>;
|
|
890
|
+
subtitleLineIds: _angular_core.InputSignal<string[] | undefined>;
|
|
891
|
+
layout: _angular_core.InputSignal<any>;
|
|
892
|
+
columns: _angular_core.InputSignal<DataTableColumn[]>;
|
|
893
|
+
emptyResultsMessage: _angular_core.InputSignal<string | undefined>;
|
|
894
|
+
clientSideSorting: _angular_core.InputSignal<boolean>;
|
|
895
|
+
clientSideFiltering: _angular_core.InputSignal<boolean>;
|
|
896
|
+
fallbackImage: _angular_core.InputSignal<string | undefined>;
|
|
897
|
+
filters: _angular_core.ModelSignal<Filter$1[]>;
|
|
898
|
+
sortField: _angular_core.ModelSignal<any>;
|
|
899
|
+
sortDirection: _angular_core.ModelSignal<DataSortDirection>;
|
|
900
|
+
listGridPaginator: _angular_core.ModelSignal<boolean>;
|
|
901
|
+
tablePaginator: _angular_core.ModelSignal<boolean>;
|
|
902
|
+
get paginator(): boolean;
|
|
903
|
+
set paginator(value: boolean);
|
|
904
|
+
page: _angular_core.ModelSignal<number>;
|
|
905
|
+
totalRecordsOnServer: _angular_core.InputSignal<number | undefined>;
|
|
906
|
+
currentPageShowingKey: _angular_core.InputSignal<string>;
|
|
907
|
+
currentPageShowingWithTotalOnServerKey: _angular_core.InputSignal<string>;
|
|
908
|
+
selectedRows: _angular_core.InputSignal<Row[]>;
|
|
909
|
+
frozenActionColumn: _angular_core.InputSignal<boolean>;
|
|
910
|
+
actionColumnPosition: _angular_core.InputSignal<"right" | "left">;
|
|
911
|
+
sortStates: _angular_core.InputSignal<DataSortDirection[]>;
|
|
912
|
+
pageSizes: _angular_core.InputSignal<number[]>;
|
|
913
|
+
pageSize: _angular_core.ModelSignal<number | undefined>;
|
|
914
|
+
stringTableCellTemplate: _angular_core.InputSignal<TemplateRef<any> | undefined>;
|
|
915
|
+
stringTableCellChildTemplate: _angular_core.Signal<TemplateRef<any> | undefined>;
|
|
916
|
+
get stringTableCell(): TemplateRef<any> | undefined;
|
|
917
|
+
numberTableCellTemplate: _angular_core.InputSignal<TemplateRef<any> | undefined>;
|
|
918
|
+
numberTableCellChildTemplate: _angular_core.Signal<TemplateRef<any> | undefined>;
|
|
919
|
+
get numberTableCell(): TemplateRef<any> | undefined;
|
|
920
|
+
dateTableCellTemplate: _angular_core.InputSignal<TemplateRef<any> | undefined>;
|
|
921
|
+
dateTableCellChildTemplate: _angular_core.Signal<TemplateRef<any> | undefined>;
|
|
922
|
+
get dateTableCell(): TemplateRef<any> | undefined;
|
|
923
|
+
tableCellTemplate: _angular_core.InputSignal<TemplateRef<any> | undefined>;
|
|
924
|
+
tableCellChildTemplate: _angular_core.Signal<TemplateRef<any> | undefined>;
|
|
925
|
+
get tableCell(): TemplateRef<any> | undefined;
|
|
926
|
+
translationKeyTableCellTemplate: _angular_core.InputSignal<TemplateRef<any> | undefined>;
|
|
927
|
+
translationKeyTableCellChildTemplate: _angular_core.Signal<TemplateRef<any> | undefined>;
|
|
928
|
+
get translationKeyTableCell(): TemplateRef<any> | undefined;
|
|
929
|
+
gridItemSubtitleLinesTemplate: _angular_core.InputSignal<TemplateRef<any> | undefined>;
|
|
930
|
+
gridItemSubtitleLinesChildTemplate: _angular_core.Signal<TemplateRef<any> | undefined>;
|
|
931
|
+
get gridItemSubtitleLines(): TemplateRef<any> | undefined;
|
|
932
|
+
listItemSubtitleLinesTemplate: _angular_core.InputSignal<TemplateRef<any> | undefined>;
|
|
933
|
+
listItemSubtitleLinesChildTemplate: _angular_core.Signal<TemplateRef<any> | undefined>;
|
|
934
|
+
get listItemSubtitleLines(): TemplateRef<any> | undefined;
|
|
935
|
+
gridItemTemplate: _angular_core.InputSignal<TemplateRef<any> | undefined>;
|
|
936
|
+
gridItemChildTemplate: _angular_core.Signal<TemplateRef<any> | undefined>;
|
|
937
|
+
get gridItem(): TemplateRef<any> | undefined;
|
|
938
|
+
listItemTemplate: _angular_core.InputSignal<TemplateRef<any> | undefined>;
|
|
939
|
+
listItemChildTemplate: _angular_core.Signal<TemplateRef<any> | undefined>;
|
|
940
|
+
get listItem(): TemplateRef<any> | undefined;
|
|
941
|
+
relativeDateTableCellTemplate: _angular_core.InputSignal<TemplateRef<any> | undefined>;
|
|
942
|
+
relativeDateTableCellChildTemplate: _angular_core.Signal<TemplateRef<any> | undefined>;
|
|
943
|
+
get relativeDateTableCell(): TemplateRef<any> | undefined;
|
|
944
|
+
listValueTemplate: _angular_core.InputSignal<TemplateRef<any> | undefined>;
|
|
945
|
+
listValueChildTemplate: _angular_core.Signal<TemplateRef<any> | undefined>;
|
|
946
|
+
get listValue(): TemplateRef<any> | undefined;
|
|
947
|
+
translationKeyListValueTemplate: _angular_core.InputSignal<TemplateRef<any> | undefined>;
|
|
948
|
+
translationKeyListValueChildTemplate: _angular_core.Signal<TemplateRef<any> | undefined>;
|
|
949
|
+
get translationKeyListValue(): TemplateRef<any> | undefined;
|
|
950
|
+
numberListValueTemplate: _angular_core.InputSignal<TemplateRef<any> | undefined>;
|
|
951
|
+
numberListValueChildTemplate: _angular_core.Signal<TemplateRef<any> | undefined>;
|
|
952
|
+
get numberListValue(): TemplateRef<any> | undefined;
|
|
953
|
+
relativeDateListValueTemplate: _angular_core.InputSignal<TemplateRef<any> | undefined>;
|
|
954
|
+
relativeDateListValueChildTemplate: _angular_core.Signal<TemplateRef<any> | undefined>;
|
|
955
|
+
get relativeDateListValue(): TemplateRef<any> | undefined;
|
|
956
|
+
stringListValueTemplate: _angular_core.InputSignal<TemplateRef<any> | undefined>;
|
|
957
|
+
stringListValueChildTemplate: _angular_core.Signal<TemplateRef<any> | undefined>;
|
|
958
|
+
get stringListValue(): TemplateRef<any> | undefined;
|
|
959
|
+
dateListValueTemplate: _angular_core.InputSignal<TemplateRef<any> | undefined>;
|
|
960
|
+
dateListValueChildTemplate: _angular_core.Signal<TemplateRef<any> | undefined>;
|
|
961
|
+
get dateListValue(): TemplateRef<any> | undefined;
|
|
962
|
+
tableFilterCellTemplate: _angular_core.InputSignal<TemplateRef<any> | undefined>;
|
|
963
|
+
tableFilterCellChildTemplate: _angular_core.Signal<TemplateRef<any> | undefined>;
|
|
964
|
+
get tableFilterCell(): TemplateRef<any> | undefined;
|
|
965
|
+
dateTableFilterCellTemplate: _angular_core.InputSignal<TemplateRef<any> | undefined>;
|
|
966
|
+
dateTableFilterCellChildTemplate: _angular_core.Signal<TemplateRef<any> | undefined>;
|
|
967
|
+
get dateTableFilterCell(): TemplateRef<any> | undefined;
|
|
968
|
+
relativeDateTableFilterCellTemplate: _angular_core.InputSignal<TemplateRef<any> | undefined>;
|
|
969
|
+
relativeDateTableFilterCellChildTemplate: _angular_core.Signal<TemplateRef<any> | undefined>;
|
|
970
|
+
get relativeDateTableFilterCell(): TemplateRef<any> | undefined;
|
|
971
|
+
translationKeyTableFilterCellTemplate: _angular_core.InputSignal<TemplateRef<any> | undefined>;
|
|
972
|
+
translationKeyTableFilterCellChildTemplate: _angular_core.Signal<TemplateRef<any> | undefined>;
|
|
973
|
+
get translationKeyTableFilterCell(): TemplateRef<any> | undefined;
|
|
974
|
+
stringTableFilterCellTemplate: _angular_core.InputSignal<TemplateRef<any> | undefined>;
|
|
975
|
+
stringTableFilterCellChildTemplate: _angular_core.Signal<TemplateRef<any> | undefined>;
|
|
976
|
+
get stringTableFilterCell(): TemplateRef<any> | undefined;
|
|
977
|
+
numberTableFilterCellTemplate: _angular_core.InputSignal<TemplateRef<any> | undefined>;
|
|
978
|
+
numberTableFilterCellChildTemplate: _angular_core.Signal<TemplateRef<any> | undefined>;
|
|
979
|
+
get numberTableFilterCell(): TemplateRef<any> | undefined;
|
|
980
|
+
additionalActions: _angular_core.InputSignal<DataAction[]>;
|
|
981
|
+
filtered: _angular_core.OutputEmitterRef<Filter$1[]>;
|
|
982
|
+
sorted: _angular_core.OutputEmitterRef<Sort>;
|
|
983
|
+
deleteItem: _onecx_angular_accelerator.ObservableOutputEmitterRef<RowListGridData>;
|
|
984
|
+
viewItem: _onecx_angular_accelerator.ObservableOutputEmitterRef<RowListGridData>;
|
|
985
|
+
editItem: _onecx_angular_accelerator.ObservableOutputEmitterRef<RowListGridData>;
|
|
986
|
+
selectionChanged: _onecx_angular_accelerator.ObservableOutputEmitterRef<Row[]>;
|
|
987
|
+
pageChanged: _angular_core.OutputEmitterRef<number>;
|
|
988
|
+
pageSizeChanged: _angular_core.OutputEmitterRef<number>;
|
|
989
|
+
componentStateChanged: _angular_core.OutputEmitterRef<DataViewComponentState>;
|
|
990
|
+
firstColumnId: _angular_core.WritableSignal<string | undefined>;
|
|
991
|
+
parentTemplates: _angular_core.InputSignal<readonly PrimeTemplate[] | null | undefined>;
|
|
992
|
+
templates: _angular_core.Signal<readonly PrimeTemplate[]>;
|
|
993
|
+
templatesForChildren: _angular_core.Signal<PrimeTemplate[]>;
|
|
994
|
+
get viewItemObserved(): boolean;
|
|
995
|
+
get editItemObserved(): boolean;
|
|
996
|
+
get deleteItemObserved(): boolean;
|
|
997
|
+
get selectionChangedObserved(): boolean;
|
|
998
|
+
constructor();
|
|
999
|
+
ngOnInit(): void;
|
|
1000
|
+
registerEventListenerForListGrid(): void;
|
|
1001
|
+
registerEventListenerForDataTable(): void;
|
|
1002
|
+
filtering(event: any): void;
|
|
1003
|
+
sorting(event: any): void;
|
|
1004
|
+
deletingElement(event: any): void;
|
|
1005
|
+
viewingElement(event: any): void;
|
|
1006
|
+
editingElement(event: any): void;
|
|
1007
|
+
onRowSelectionChange(event: Row[]): void;
|
|
1008
|
+
onPageChange(event: number): void;
|
|
1009
|
+
onPageSizeChange(event: number): void;
|
|
1010
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DataViewComponent, never>;
|
|
1011
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DataViewComponent, "ocx-data-view", never, { "deletePermission": { "alias": "deletePermission"; "required": false; "isSignal": true; }; "editPermission": { "alias": "editPermission"; "required": false; "isSignal": true; }; "viewPermission": { "alias": "viewPermission"; "required": false; "isSignal": true; }; "deleteActionVisibleField": { "alias": "deleteActionVisibleField"; "required": false; "isSignal": true; }; "deleteActionEnabledField": { "alias": "deleteActionEnabledField"; "required": false; "isSignal": true; }; "viewActionVisibleField": { "alias": "viewActionVisibleField"; "required": false; "isSignal": true; }; "viewActionEnabledField": { "alias": "viewActionEnabledField"; "required": false; "isSignal": true; }; "editActionVisibleField": { "alias": "editActionVisibleField"; "required": false; "isSignal": true; }; "editActionEnabledField": { "alias": "editActionEnabledField"; "required": false; "isSignal": true; }; "tableSelectionEnabledField": { "alias": "tableSelectionEnabledField"; "required": false; "isSignal": true; }; "tableAllowSelectAll": { "alias": "tableAllowSelectAll"; "required": false; "isSignal": true; }; "data": { "alias": "data"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "titleLineId": { "alias": "titleLineId"; "required": false; "isSignal": true; }; "subtitleLineIds": { "alias": "subtitleLineIds"; "required": false; "isSignal": true; }; "layout": { "alias": "layout"; "required": false; "isSignal": true; }; "columns": { "alias": "columns"; "required": false; "isSignal": true; }; "emptyResultsMessage": { "alias": "emptyResultsMessage"; "required": false; "isSignal": true; }; "clientSideSorting": { "alias": "clientSideSorting"; "required": false; "isSignal": true; }; "clientSideFiltering": { "alias": "clientSideFiltering"; "required": false; "isSignal": true; }; "fallbackImage": { "alias": "fallbackImage"; "required": false; "isSignal": true; }; "filters": { "alias": "filters"; "required": false; "isSignal": true; }; "sortField": { "alias": "sortField"; "required": false; "isSignal": true; }; "sortDirection": { "alias": "sortDirection"; "required": false; "isSignal": true; }; "listGridPaginator": { "alias": "listGridPaginator"; "required": false; "isSignal": true; }; "tablePaginator": { "alias": "tablePaginator"; "required": false; "isSignal": true; }; "paginator": { "alias": "paginator"; "required": false; }; "page": { "alias": "page"; "required": false; "isSignal": true; }; "totalRecordsOnServer": { "alias": "totalRecordsOnServer"; "required": false; "isSignal": true; }; "currentPageShowingKey": { "alias": "currentPageShowingKey"; "required": false; "isSignal": true; }; "currentPageShowingWithTotalOnServerKey": { "alias": "currentPageShowingWithTotalOnServerKey"; "required": false; "isSignal": true; }; "selectedRows": { "alias": "selectedRows"; "required": false; "isSignal": true; }; "frozenActionColumn": { "alias": "frozenActionColumn"; "required": false; "isSignal": true; }; "actionColumnPosition": { "alias": "actionColumnPosition"; "required": false; "isSignal": true; }; "sortStates": { "alias": "sortStates"; "required": false; "isSignal": true; }; "pageSizes": { "alias": "pageSizes"; "required": false; "isSignal": true; }; "pageSize": { "alias": "pageSize"; "required": false; "isSignal": true; }; "stringTableCellTemplate": { "alias": "stringTableCellTemplate"; "required": false; "isSignal": true; }; "numberTableCellTemplate": { "alias": "numberTableCellTemplate"; "required": false; "isSignal": true; }; "dateTableCellTemplate": { "alias": "dateTableCellTemplate"; "required": false; "isSignal": true; }; "tableCellTemplate": { "alias": "tableCellTemplate"; "required": false; "isSignal": true; }; "translationKeyTableCellTemplate": { "alias": "translationKeyTableCellTemplate"; "required": false; "isSignal": true; }; "gridItemSubtitleLinesTemplate": { "alias": "gridItemSubtitleLinesTemplate"; "required": false; "isSignal": true; }; "listItemSubtitleLinesTemplate": { "alias": "listItemSubtitleLinesTemplate"; "required": false; "isSignal": true; }; "gridItemTemplate": { "alias": "gridItemTemplate"; "required": false; "isSignal": true; }; "listItemTemplate": { "alias": "listItemTemplate"; "required": false; "isSignal": true; }; "relativeDateTableCellTemplate": { "alias": "relativeDateTableCellTemplate"; "required": false; "isSignal": true; }; "listValueTemplate": { "alias": "listValueTemplate"; "required": false; "isSignal": true; }; "translationKeyListValueTemplate": { "alias": "translationKeyListValueTemplate"; "required": false; "isSignal": true; }; "numberListValueTemplate": { "alias": "numberListValueTemplate"; "required": false; "isSignal": true; }; "relativeDateListValueTemplate": { "alias": "relativeDateListValueTemplate"; "required": false; "isSignal": true; }; "stringListValueTemplate": { "alias": "stringListValueTemplate"; "required": false; "isSignal": true; }; "dateListValueTemplate": { "alias": "dateListValueTemplate"; "required": false; "isSignal": true; }; "tableFilterCellTemplate": { "alias": "tableFilterCellTemplate"; "required": false; "isSignal": true; }; "dateTableFilterCellTemplate": { "alias": "dateTableFilterCellTemplate"; "required": false; "isSignal": true; }; "relativeDateTableFilterCellTemplate": { "alias": "relativeDateTableFilterCellTemplate"; "required": false; "isSignal": true; }; "translationKeyTableFilterCellTemplate": { "alias": "translationKeyTableFilterCellTemplate"; "required": false; "isSignal": true; }; "stringTableFilterCellTemplate": { "alias": "stringTableFilterCellTemplate"; "required": false; "isSignal": true; }; "numberTableFilterCellTemplate": { "alias": "numberTableFilterCellTemplate"; "required": false; "isSignal": true; }; "additionalActions": { "alias": "additionalActions"; "required": false; "isSignal": true; }; "parentTemplates": { "alias": "parentTemplates"; "required": false; "isSignal": true; }; }, { "filters": "filtersChange"; "sortField": "sortFieldChange"; "sortDirection": "sortDirectionChange"; "listGridPaginator": "listGridPaginatorChange"; "tablePaginator": "tablePaginatorChange"; "page": "pageChange"; "pageSize": "pageSizeChange"; "filtered": "filtered"; "sorted": "sorted"; "deleteItem": "deleteItem"; "viewItem": "viewItem"; "editItem": "editItem"; "selectionChanged": "selectionChanged"; "pageChanged": "pageChanged"; "pageSizeChanged": "pageSizeChanged"; "componentStateChanged": "componentStateChanged"; }, ["stringTableCellChildTemplate", "numberTableCellChildTemplate", "dateTableCellChildTemplate", "tableCellChildTemplate", "translationKeyTableCellChildTemplate", "gridItemSubtitleLinesChildTemplate", "listItemSubtitleLinesChildTemplate", "gridItemChildTemplate", "listItemChildTemplate", "relativeDateTableCellChildTemplate", "listValueChildTemplate", "translationKeyListValueChildTemplate", "numberListValueChildTemplate", "relativeDateListValueChildTemplate", "stringListValueChildTemplate", "dateListValueChildTemplate", "tableFilterCellChildTemplate", "dateTableFilterCellChildTemplate", "relativeDateTableFilterCellChildTemplate", "translationKeyTableFilterCellChildTemplate", "stringTableFilterCellChildTemplate", "numberTableFilterCellChildTemplate", "templates"], never, false, never>;
|
|
1012
|
+
}
|
|
1013
|
+
|
|
1014
|
+
type DiagramData = {
|
|
1015
|
+
label: string;
|
|
1016
|
+
value: number;
|
|
1017
|
+
backgroundColor?: string;
|
|
1018
|
+
};
|
|
1019
|
+
|
|
1020
|
+
declare const enum DiagramType {
|
|
1021
|
+
PIE = "PIE",
|
|
1022
|
+
VERTICAL_BAR = "VERTICAL_BAR",
|
|
1023
|
+
HORIZONTAL_BAR = "HORIZONTAL_BAR"
|
|
1024
|
+
}
|
|
1025
|
+
|
|
1026
|
+
interface DiagramLayouts {
|
|
1027
|
+
id: string;
|
|
1028
|
+
icon: PrimeIcon;
|
|
1029
|
+
layout: DiagramType;
|
|
1030
|
+
tooltip?: string;
|
|
1031
|
+
tooltipKey: string;
|
|
1032
|
+
label?: string;
|
|
1033
|
+
labelKey: string;
|
|
1034
|
+
}
|
|
1035
|
+
interface DiagramComponentState {
|
|
1036
|
+
activeDiagramType?: DiagramType;
|
|
1037
|
+
}
|
|
1038
|
+
type ChartType = 'bar' | 'line' | 'scatter' | 'bubble' | 'pie' | 'doughnut' | 'polarArea' | 'radar';
|
|
1039
|
+
declare class DiagramComponent {
|
|
1040
|
+
data: _angular_core.InputSignal<DiagramData[] | undefined>;
|
|
1041
|
+
sumKey: _angular_core.InputSignal<string>;
|
|
1042
|
+
fullHeight: _angular_core.InputSignal<boolean>;
|
|
1043
|
+
/**
|
|
1044
|
+
* This property determines if diagram should generate the colors for the data that does not have any set.
|
|
1045
|
+
*
|
|
1046
|
+
* Setting this property to false will result in using the provided colors only if every data item has one. In the scenario where at least one item does not have a color set, diagram will generate all colors.
|
|
1047
|
+
*/
|
|
1048
|
+
fillMissingColors: _angular_core.InputSignal<boolean>;
|
|
1049
|
+
diagramType: _angular_core.ModelSignal<DiagramType>;
|
|
1050
|
+
supportedDiagramTypes: _angular_core.InputSignal<DiagramType[]>;
|
|
1051
|
+
selectedDiagramType: _angular_core.Signal<DiagramLayouts | undefined>;
|
|
1052
|
+
chartType: _angular_core.Signal<ChartType>;
|
|
1053
|
+
dataSelected: _angular_core.OutputEmitterRef<any>;
|
|
1054
|
+
diagramTypeChanged: _angular_core.OutputEmitterRef<DiagramType>;
|
|
1055
|
+
componentStateChanged: _angular_core.OutputEmitterRef<DiagramComponentState>;
|
|
1056
|
+
chartOptions: _angular_core.WritableSignal<node_modules_chart_js_dist_types_utils._DeepPartialObject<chart_js.CoreChartOptions<keyof chart_js.ChartTypeRegistry> & chart_js.ElementChartOptions<keyof chart_js.ChartTypeRegistry> & chart_js.PluginChartOptions<keyof chart_js.ChartTypeRegistry> & chart_js.DatasetChartOptions<keyof chart_js.ChartTypeRegistry> & chart_js.ScaleChartOptions<keyof chart_js.ChartTypeRegistry>>>;
|
|
1057
|
+
chartData: _angular_core.WritableSignal<ChartData<keyof chart_js.ChartTypeRegistry, (number | [number, number] | chart_js.Point | chart_js.BubbleDataPoint | null)[], unknown> | undefined>;
|
|
1058
|
+
amountOfData: _angular_core.WritableSignal<number | null | undefined>;
|
|
1059
|
+
shownDiagramTypes: _angular_core.Signal<DiagramLayouts[]>;
|
|
1060
|
+
useFullHeight: _angular_core.Signal<boolean>;
|
|
1061
|
+
private colorRangeInfo;
|
|
1062
|
+
private colorScale;
|
|
1063
|
+
constructor();
|
|
1064
|
+
generateChart(colorScale: any, colorRangeInfo: any): void;
|
|
1065
|
+
generateColors(data: DiagramData[], colorScale: any, colorRangeInfo: any): any;
|
|
1066
|
+
generateTotal(data: DiagramData[]): number;
|
|
1067
|
+
generateDiagramValueString(data: DiagramData[]): string;
|
|
1068
|
+
private diagramTypeToChartType;
|
|
1069
|
+
dataClicked(event: []): void;
|
|
1070
|
+
onDiagramTypeChanged(event: any): void;
|
|
1071
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DiagramComponent, never>;
|
|
1072
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DiagramComponent, "ocx-diagram", never, { "data": { "alias": "data"; "required": false; "isSignal": true; }; "sumKey": { "alias": "sumKey"; "required": false; "isSignal": true; }; "fullHeight": { "alias": "fullHeight"; "required": false; "isSignal": true; }; "fillMissingColors": { "alias": "fillMissingColors"; "required": false; "isSignal": true; }; "diagramType": { "alias": "diagramType"; "required": false; "isSignal": true; }; "supportedDiagramTypes": { "alias": "supportedDiagramTypes"; "required": false; "isSignal": true; }; }, { "diagramType": "diagramTypeChange"; "dataSelected": "dataSelected"; "diagramTypeChanged": "diagramTypeChanged"; "componentStateChanged": "componentStateChanged"; }, never, never, false, never>;
|
|
1073
|
+
}
|
|
1074
|
+
|
|
1075
|
+
type FilterViewDisplayMode = 'chips' | 'button';
|
|
1076
|
+
type FilterViewRowDisplayData = {
|
|
1077
|
+
id: string;
|
|
1078
|
+
column: string;
|
|
1079
|
+
value: unknown;
|
|
1080
|
+
};
|
|
1081
|
+
type FilterViewRowDetailData = FilterViewRowDisplayData & {
|
|
1082
|
+
valueColumnId: string;
|
|
1083
|
+
};
|
|
1084
|
+
interface FilterViewComponentState {
|
|
1085
|
+
filters?: Filter$1[];
|
|
1086
|
+
}
|
|
1087
|
+
declare class FilterViewComponent {
|
|
1088
|
+
ColumnType: typeof ColumnType;
|
|
1089
|
+
FilterType: typeof FilterType;
|
|
1090
|
+
readonly filters: _angular_core.ModelSignal<Filter$1[]>;
|
|
1091
|
+
readonly columns: _angular_core.ModelSignal<DataTableColumn[]>;
|
|
1092
|
+
readonly displayMode: _angular_core.InputSignal<FilterViewDisplayMode>;
|
|
1093
|
+
readonly selectDisplayedChips: _angular_core.InputSignal<(filters: Filter$1[], columns: DataTableColumn[]) => Filter$1[]>;
|
|
1094
|
+
readonly chipStyleClass: _angular_core.InputSignal<string>;
|
|
1095
|
+
readonly tableStyle: _angular_core.InputSignal<{
|
|
1096
|
+
[klass: string]: any;
|
|
1097
|
+
}>;
|
|
1098
|
+
readonly panelStyle: _angular_core.InputSignal<{
|
|
1099
|
+
[klass: string]: any;
|
|
1100
|
+
}>;
|
|
1101
|
+
readonly filtered: _angular_core.OutputEmitterRef<Filter$1[]>;
|
|
1102
|
+
readonly componentStateChanged: _angular_core.OutputEmitterRef<FilterViewComponentState>;
|
|
1103
|
+
readonly columnFilterTableColumns: _angular_core.WritableSignal<DataTableColumn[]>;
|
|
1104
|
+
readonly panel: _angular_core.Signal<Popover | undefined>;
|
|
1105
|
+
readonly manageButton: _angular_core.Signal<Button | undefined>;
|
|
1106
|
+
readonly defaultTemplates: _angular_core.Signal<readonly PrimeTemplate[]>;
|
|
1107
|
+
readonly defaultTemplates$: Observable<readonly PrimeTemplate[]>;
|
|
1108
|
+
readonly trigger: _angular_core.WritableSignal<HTMLElement | undefined>;
|
|
1109
|
+
readonly filterViewNoSelection: _angular_core.WritableSignal<TemplateRef<any> | undefined>;
|
|
1110
|
+
readonly filterViewChipContent: _angular_core.WritableSignal<TemplateRef<any> | undefined>;
|
|
1111
|
+
readonly filterViewShowMoreChip: _angular_core.WritableSignal<TemplateRef<any> | undefined>;
|
|
1112
|
+
readonly templates: _angular_core.InputSignal<readonly PrimeTemplate[] | null | undefined>;
|
|
1113
|
+
readonly templates$: Observable<readonly PrimeTemplate[] | null | undefined>;
|
|
1114
|
+
readonly columnFilterDataRows: _angular_core.Signal<FilterViewRowDetailData[]>;
|
|
1115
|
+
chipTemplates$: Observable<Record<string, TemplateRef<any> | null>> | undefined;
|
|
1116
|
+
tableTemplates$: Observable<Record<string, TemplateRef<any> | null>> | undefined;
|
|
1117
|
+
private readonly chipIdSuffix;
|
|
1118
|
+
private readonly chipTemplateNames;
|
|
1119
|
+
private readonly chipTemplates;
|
|
1120
|
+
private readonly tableIdSuffix;
|
|
1121
|
+
private readonly tableTemplateNames;
|
|
1122
|
+
private readonly tableTemplates;
|
|
1123
|
+
constructor();
|
|
1124
|
+
getTemplate(column: DataTableColumn, templateNames: Record<ColumnType, Array<string>>, templates: Record<string, Observable<TemplateRef<any> | null>>, idSuffix: Array<string>): Observable<TemplateRef<any> | null>;
|
|
1125
|
+
onResetFilersClick(): void;
|
|
1126
|
+
onChipRemove(filter: Filter$1): void;
|
|
1127
|
+
onFilterDelete(row: Row): void;
|
|
1128
|
+
focusTrigger(): void;
|
|
1129
|
+
showPanel(event: any): void;
|
|
1130
|
+
getColumnForFilter(filter: Filter$1, columns: DataTableColumn[]): DataTableColumn | undefined;
|
|
1131
|
+
getColumn(colId: string, columns: DataTableColumn[]): DataTableColumn | undefined;
|
|
1132
|
+
resolveFieldData(object: any, key: any): any;
|
|
1133
|
+
getRowObjectFromFiterData(filter: Filter$1): Record<string, unknown>;
|
|
1134
|
+
getRowForValueColumn(row: Row): Row;
|
|
1135
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FilterViewComponent, never>;
|
|
1136
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FilterViewComponent, "ocx-filter-view", never, { "filters": { "alias": "filters"; "required": false; "isSignal": true; }; "columns": { "alias": "columns"; "required": false; "isSignal": true; }; "displayMode": { "alias": "displayMode"; "required": false; "isSignal": true; }; "selectDisplayedChips": { "alias": "selectDisplayedChips"; "required": false; "isSignal": true; }; "chipStyleClass": { "alias": "chipStyleClass"; "required": false; "isSignal": true; }; "tableStyle": { "alias": "tableStyle"; "required": false; "isSignal": true; }; "panelStyle": { "alias": "panelStyle"; "required": false; "isSignal": true; }; "templates": { "alias": "templates"; "required": false; "isSignal": true; }; }, { "filters": "filtersChange"; "columns": "columnsChange"; "filtered": "filtered"; "componentStateChanged": "componentStateChanged"; }, never, never, false, never>;
|
|
1137
|
+
}
|
|
1138
|
+
|
|
1139
|
+
type DiagramColumn = {
|
|
1140
|
+
columnType: ColumnType;
|
|
1141
|
+
id: string;
|
|
1142
|
+
};
|
|
1143
|
+
|
|
1144
|
+
interface GroupByCountDiagramComponentState {
|
|
1145
|
+
activeDiagramType?: DiagramType;
|
|
1146
|
+
}
|
|
1147
|
+
declare class GroupByCountDiagramComponent {
|
|
1148
|
+
private translateService;
|
|
1149
|
+
sumKey: _angular_core.InputSignal<string>;
|
|
1150
|
+
diagramType: _angular_core.ModelSignal<DiagramType>;
|
|
1151
|
+
/**
|
|
1152
|
+
* This property determines if diagram should generate the colors for the data that does not have any set.
|
|
1153
|
+
*
|
|
1154
|
+
* Setting this property to false will result in using the provided colors only if every data item has one.
|
|
1155
|
+
* In the scenario where at least one item does not have a color set, diagram will generate all colors.
|
|
1156
|
+
*/
|
|
1157
|
+
fillMissingColors: _angular_core.InputSignal<boolean>;
|
|
1158
|
+
supportedDiagramTypes: _angular_core.InputSignal<DiagramType[]>;
|
|
1159
|
+
data: _angular_core.ModelSignal<unknown[]>;
|
|
1160
|
+
allLabelKeys: _angular_core.InputSignal<string[]>;
|
|
1161
|
+
showAllLabels: _angular_core.InputSignal<boolean>;
|
|
1162
|
+
columnType: _angular_core.ModelSignal<ColumnType>;
|
|
1163
|
+
columnField: _angular_core.ModelSignal<string>;
|
|
1164
|
+
column: _angular_core.InputSignal<DiagramColumn | undefined>;
|
|
1165
|
+
fullHeight: _angular_core.InputSignal<boolean>;
|
|
1166
|
+
colors: _angular_core.ModelSignal<Record<string, string>>;
|
|
1167
|
+
dataSelected: _angular_core.OutputEmitterRef<any>;
|
|
1168
|
+
diagramTypeChanged: _angular_core.OutputEmitterRef<DiagramType>;
|
|
1169
|
+
componentStateChanged: _angular_core.OutputEmitterRef<GroupByCountDiagramComponentState>;
|
|
1170
|
+
diagramData$: rxjs.Observable<DiagramData[] | {
|
|
1171
|
+
label: any;
|
|
1172
|
+
value: number;
|
|
1173
|
+
backgroundColor: string | undefined;
|
|
1174
|
+
}[]>;
|
|
1175
|
+
constructor();
|
|
1176
|
+
dataClicked(event: any): void;
|
|
1177
|
+
onDiagramTypeChanged(newDiagramType: DiagramType): void;
|
|
1178
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<GroupByCountDiagramComponent, never>;
|
|
1179
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<GroupByCountDiagramComponent, "ocx-group-by-count-diagram", never, { "sumKey": { "alias": "sumKey"; "required": false; "isSignal": true; }; "diagramType": { "alias": "diagramType"; "required": false; "isSignal": true; }; "fillMissingColors": { "alias": "fillMissingColors"; "required": false; "isSignal": true; }; "supportedDiagramTypes": { "alias": "supportedDiagramTypes"; "required": false; "isSignal": true; }; "data": { "alias": "data"; "required": false; "isSignal": true; }; "allLabelKeys": { "alias": "allLabelKeys"; "required": false; "isSignal": true; }; "showAllLabels": { "alias": "showAllLabels"; "required": false; "isSignal": true; }; "columnType": { "alias": "columnType"; "required": false; "isSignal": true; }; "columnField": { "alias": "columnField"; "required": false; "isSignal": true; }; "column": { "alias": "column"; "required": false; "isSignal": true; }; "fullHeight": { "alias": "fullHeight"; "required": false; "isSignal": true; }; "colors": { "alias": "colors"; "required": false; "isSignal": true; }; }, { "diagramType": "diagramTypeChange"; "data": "dataChange"; "columnType": "columnTypeChange"; "columnField": "columnFieldChange"; "colors": "colorsChange"; "dataSelected": "dataSelected"; "diagramTypeChanged": "diagramTypeChanged"; "componentStateChanged": "componentStateChanged"; }, never, never, false, never>;
|
|
1180
|
+
}
|
|
1181
|
+
|
|
1182
|
+
type ViewLayout = 'grid' | 'list' | 'table';
|
|
1183
|
+
type InteractiveDataViewComponentState = ColumnGroupSelectionComponentState & CustomGroupColumnSelectorComponentState & DataLayoutSelectionComponentState & DataListGridSortingComponentState & DataViewComponentState & FilterViewComponentState;
|
|
1184
|
+
interface ColumnGroupData {
|
|
1185
|
+
activeColumns: DataTableColumn[];
|
|
1186
|
+
groupKey: string;
|
|
1187
|
+
}
|
|
1188
|
+
declare class InteractiveDataViewComponent implements OnInit {
|
|
1189
|
+
private readonly slotService;
|
|
1190
|
+
private readonly destroyRef;
|
|
1191
|
+
dataViewComponent: Signal<DataViewComponent | undefined>;
|
|
1192
|
+
columnGroupSelectionComponentState$: ReplaySubject<ColumnGroupSelectionComponentState>;
|
|
1193
|
+
customGroupColumnSelectorComponentState$: ReplaySubject<CustomGroupColumnSelectorComponentState>;
|
|
1194
|
+
dataLayoutComponentState$: ReplaySubject<DataLayoutSelectionComponentState>;
|
|
1195
|
+
dataListGridSortingComponentState$: ReplaySubject<DataListGridSortingComponentState>;
|
|
1196
|
+
dataViewComponentState$: ReplaySubject<DataViewComponentState>;
|
|
1197
|
+
filterViewComponentState$: ReplaySubject<FilterViewComponentState>;
|
|
1198
|
+
searchConfigPermission: _angular_core.InputSignal<PermissionInput>;
|
|
1199
|
+
deletePermission: _angular_core.InputSignal<PermissionInput>;
|
|
1200
|
+
editPermission: _angular_core.InputSignal<PermissionInput>;
|
|
1201
|
+
viewPermission: _angular_core.InputSignal<PermissionInput>;
|
|
1202
|
+
deleteActionVisibleField: _angular_core.InputSignal<string | undefined>;
|
|
1203
|
+
deleteActionEnabledField: _angular_core.InputSignal<string | undefined>;
|
|
1204
|
+
viewActionVisibleField: _angular_core.InputSignal<string | undefined>;
|
|
1205
|
+
viewActionEnabledField: _angular_core.InputSignal<string | undefined>;
|
|
1206
|
+
editActionVisibleField: _angular_core.InputSignal<string | undefined>;
|
|
1207
|
+
editActionEnabledField: _angular_core.InputSignal<string | undefined>;
|
|
1208
|
+
tableSelectionEnabledField: _angular_core.InputSignal<string | undefined>;
|
|
1209
|
+
tableAllowSelectAll: _angular_core.InputSignal<boolean>;
|
|
1210
|
+
name: _angular_core.InputSignal<string>;
|
|
1211
|
+
titleLineId: _angular_core.InputSignal<string | undefined>;
|
|
1212
|
+
subtitleLineIds: _angular_core.InputSignal<string[] | undefined>;
|
|
1213
|
+
supportedViewLayouts: _angular_core.InputSignal<ViewLayout[]>;
|
|
1214
|
+
columns: _angular_core.InputSignal<DataTableColumn[]>;
|
|
1215
|
+
emptyResultsMessage: _angular_core.InputSignal<string | undefined>;
|
|
1216
|
+
clientSideSorting: _angular_core.InputSignal<boolean>;
|
|
1217
|
+
clientSideFiltering: _angular_core.InputSignal<boolean>;
|
|
1218
|
+
fallbackImage: _angular_core.InputSignal<string>;
|
|
1219
|
+
filters: _angular_core.ModelSignal<Filter$1[]>;
|
|
1220
|
+
sortDirection: _angular_core.ModelSignal<DataSortDirection>;
|
|
1221
|
+
sortField: _angular_core.ModelSignal<any>;
|
|
1222
|
+
sortStates: _angular_core.InputSignal<DataSortDirection[]>;
|
|
1223
|
+
pageSizes: _angular_core.InputSignal<number[]>;
|
|
1224
|
+
pageSize: _angular_core.ModelSignal<number | undefined>;
|
|
1225
|
+
totalRecordsOnServer: _angular_core.InputSignal<number | undefined>;
|
|
1226
|
+
layout: _angular_core.ModelSignal<ViewLayout>;
|
|
1227
|
+
defaultGroupKey: _angular_core.InputSignal<string>;
|
|
1228
|
+
customGroupKey: _angular_core.InputSignal<string>;
|
|
1229
|
+
groupSelectionNoGroupSelectedKey: _angular_core.InputSignal<string>;
|
|
1230
|
+
currentPageShowingKey: _angular_core.InputSignal<string>;
|
|
1231
|
+
currentPageShowingWithTotalOnServerKey: _angular_core.InputSignal<string>;
|
|
1232
|
+
additionalActions: _angular_core.InputSignal<DataAction[]>;
|
|
1233
|
+
listGridPaginator: _angular_core.ModelSignal<boolean>;
|
|
1234
|
+
tablePaginator: _angular_core.ModelSignal<boolean>;
|
|
1235
|
+
get paginator(): boolean;
|
|
1236
|
+
set paginator(value: boolean);
|
|
1237
|
+
disableFilterView: _angular_core.InputSignal<boolean>;
|
|
1238
|
+
filterViewDisplayMode: _angular_core.InputSignal<FilterViewDisplayMode>;
|
|
1239
|
+
filterViewChipStyleClass: _angular_core.InputSignal<string>;
|
|
1240
|
+
filterViewTableStyle: _angular_core.InputSignal<{
|
|
1241
|
+
[klass: string]: any;
|
|
1242
|
+
}>;
|
|
1243
|
+
filterViewPanelStyle: _angular_core.InputSignal<{
|
|
1244
|
+
[klass: string]: any;
|
|
1245
|
+
}>;
|
|
1246
|
+
selectDisplayedChips: _angular_core.InputSignal<(filters: Filter$1[], columns: DataTableColumn[]) => Filter$1[]>;
|
|
1247
|
+
page: _angular_core.ModelSignal<number>;
|
|
1248
|
+
selectedRows: _angular_core.InputSignal<Row[]>;
|
|
1249
|
+
displayedColumnKeys: _angular_core.ModelSignal<string[]>;
|
|
1250
|
+
displayedColumns: Signal<DataTableColumn[]>;
|
|
1251
|
+
frozenActionColumn: _angular_core.ModelSignal<boolean>;
|
|
1252
|
+
actionColumnPosition: _angular_core.ModelSignal<"right" | "left">;
|
|
1253
|
+
headerStyleClass: _angular_core.InputSignal<string | undefined>;
|
|
1254
|
+
contentStyleClass: _angular_core.InputSignal<string | undefined>;
|
|
1255
|
+
childTableCell: Signal<TemplateRef<any> | undefined>;
|
|
1256
|
+
primeNgTableCell: Signal<TemplateRef<any> | undefined>;
|
|
1257
|
+
_tableCell: Signal<TemplateRef<any> | undefined>;
|
|
1258
|
+
childDateTableCell: Signal<TemplateRef<any> | undefined>;
|
|
1259
|
+
primeNgDateTableCell: Signal<TemplateRef<any> | undefined>;
|
|
1260
|
+
_dateTableCell: Signal<TemplateRef<any> | undefined>;
|
|
1261
|
+
childRelativeDateTableCell: Signal<TemplateRef<any> | undefined>;
|
|
1262
|
+
primeNgRelativeDateTableCell: Signal<TemplateRef<any> | undefined>;
|
|
1263
|
+
_relativeDateTableCell: Signal<TemplateRef<any> | undefined>;
|
|
1264
|
+
childTranslationKeyTableCell: Signal<TemplateRef<any> | undefined>;
|
|
1265
|
+
primeNgTranslationKeyTableCell: Signal<TemplateRef<any> | undefined>;
|
|
1266
|
+
_translationKeyTableCell: Signal<TemplateRef<any> | undefined>;
|
|
1267
|
+
childGridItemSubtitleLines: Signal<TemplateRef<any> | undefined>;
|
|
1268
|
+
primeNgGridItemSubtitleLines: Signal<TemplateRef<any> | undefined>;
|
|
1269
|
+
_gridItemSubtitleLines: Signal<TemplateRef<any> | undefined>;
|
|
1270
|
+
childListItemSubtitleLines: Signal<TemplateRef<any> | undefined>;
|
|
1271
|
+
primeNgListItemSubtitleLines: Signal<TemplateRef<any> | undefined>;
|
|
1272
|
+
_listItemSubtitleLines: Signal<TemplateRef<any> | undefined>;
|
|
1273
|
+
childStringTableCell: Signal<TemplateRef<any> | undefined>;
|
|
1274
|
+
primeNgStringTableCell: Signal<TemplateRef<any> | undefined>;
|
|
1275
|
+
_stringTableCell: Signal<TemplateRef<any> | undefined>;
|
|
1276
|
+
childNumberTableCell: Signal<TemplateRef<any> | undefined>;
|
|
1277
|
+
primeNgNumberTableCell: Signal<TemplateRef<any> | undefined>;
|
|
1278
|
+
_numberTableCell: Signal<TemplateRef<any> | undefined>;
|
|
1279
|
+
childGridItem: Signal<TemplateRef<any> | undefined>;
|
|
1280
|
+
primeNgGridItem: Signal<TemplateRef<any> | undefined>;
|
|
1281
|
+
_gridItem: Signal<TemplateRef<any> | undefined>;
|
|
1282
|
+
childListItem: Signal<TemplateRef<any> | undefined>;
|
|
1283
|
+
primeNgListItem: Signal<TemplateRef<any> | undefined>;
|
|
1284
|
+
_listItem: Signal<TemplateRef<any> | undefined>;
|
|
1285
|
+
childTopCenter: Signal<TemplateRef<any> | undefined>;
|
|
1286
|
+
primeNgTopCenter: Signal<TemplateRef<any> | undefined>;
|
|
1287
|
+
_topCenter: Signal<TemplateRef<any> | undefined>;
|
|
1288
|
+
childListValue: Signal<TemplateRef<any> | undefined>;
|
|
1289
|
+
primeNgListValue: Signal<TemplateRef<any> | undefined>;
|
|
1290
|
+
_listValue: Signal<TemplateRef<any> | undefined>;
|
|
1291
|
+
childTranslationKeyListValue: Signal<TemplateRef<any> | undefined>;
|
|
1292
|
+
primeNgTranslationKeyListValue: Signal<TemplateRef<any> | undefined>;
|
|
1293
|
+
_translationKeyListValue: Signal<TemplateRef<any> | undefined>;
|
|
1294
|
+
childNumberListValue: Signal<TemplateRef<any> | undefined>;
|
|
1295
|
+
primeNgNumberListValue: Signal<TemplateRef<any> | undefined>;
|
|
1296
|
+
_numberListValue: Signal<TemplateRef<any> | undefined>;
|
|
1297
|
+
childRelativeDateListValue: Signal<TemplateRef<any> | undefined>;
|
|
1298
|
+
primeNgRelativeDateListValue: Signal<TemplateRef<any> | undefined>;
|
|
1299
|
+
_relativeDateListValue: Signal<TemplateRef<any> | undefined>;
|
|
1300
|
+
childStringListValue: Signal<TemplateRef<any> | undefined>;
|
|
1301
|
+
primeNgStringListValue: Signal<TemplateRef<any> | undefined>;
|
|
1302
|
+
_stringListValue: Signal<TemplateRef<any> | undefined>;
|
|
1303
|
+
childDateListValue: Signal<TemplateRef<any> | undefined>;
|
|
1304
|
+
primeNgDateListValue: Signal<TemplateRef<any> | undefined>;
|
|
1305
|
+
_dateListValue: Signal<TemplateRef<any> | undefined>;
|
|
1306
|
+
childTableFilterCell: Signal<TemplateRef<any> | undefined>;
|
|
1307
|
+
primeNgTableFilterCell: Signal<TemplateRef<any> | undefined>;
|
|
1308
|
+
_tableFilterCell: Signal<TemplateRef<any> | undefined>;
|
|
1309
|
+
childDateTableFilterCell: Signal<TemplateRef<any> | undefined>;
|
|
1310
|
+
primeNgDateTableFilterCell: Signal<TemplateRef<any> | undefined>;
|
|
1311
|
+
_dateTableFilterCell: Signal<TemplateRef<any> | undefined>;
|
|
1312
|
+
childRelativeDateTableFilterCell: Signal<TemplateRef<any> | undefined>;
|
|
1313
|
+
primeNgRelativeDateTableFilterCell: Signal<TemplateRef<any> | undefined>;
|
|
1314
|
+
_relativeDateTableFilterCell: Signal<TemplateRef<any> | undefined>;
|
|
1315
|
+
childTranslationKeyTableFilterCell: Signal<TemplateRef<any> | undefined>;
|
|
1316
|
+
primeNgTranslationKeyTableFilterCell: Signal<TemplateRef<any> | undefined>;
|
|
1317
|
+
_translationKeyTableFilterCell: Signal<TemplateRef<any> | undefined>;
|
|
1318
|
+
childStringTableFilterCell: Signal<TemplateRef<any> | undefined>;
|
|
1319
|
+
primeNgStringTableFilterCell: Signal<TemplateRef<any> | undefined>;
|
|
1320
|
+
_stringTableFilterCell: Signal<TemplateRef<any> | undefined>;
|
|
1321
|
+
childNumberTableFilterCell: Signal<TemplateRef<any> | undefined>;
|
|
1322
|
+
primeNgNumberTableFilterCell: Signal<TemplateRef<any> | undefined>;
|
|
1323
|
+
_numberTableFilterCell: Signal<TemplateRef<any> | undefined>;
|
|
1324
|
+
templates: Signal<readonly PrimeTemplate[]>;
|
|
1325
|
+
filtered: _angular_core.OutputEmitterRef<Filter$1[]>;
|
|
1326
|
+
sorted: _angular_core.OutputEmitterRef<Sort>;
|
|
1327
|
+
deleteItem: _onecx_angular_accelerator.ObservableOutputEmitterRef<RowListGridData>;
|
|
1328
|
+
viewItem: _onecx_angular_accelerator.ObservableOutputEmitterRef<RowListGridData>;
|
|
1329
|
+
editItem: _onecx_angular_accelerator.ObservableOutputEmitterRef<RowListGridData>;
|
|
1330
|
+
selectionChanged: _onecx_angular_accelerator.ObservableOutputEmitterRef<Row[]>;
|
|
1331
|
+
dataViewLayoutChange: _angular_core.OutputEmitterRef<"table" | "grid" | "list">;
|
|
1332
|
+
displayedColumnKeysChange: _angular_core.OutputEmitterRef<string[]>;
|
|
1333
|
+
pageChanged: _angular_core.OutputEmitterRef<number>;
|
|
1334
|
+
pageSizeChanged: _angular_core.OutputEmitterRef<number>;
|
|
1335
|
+
componentStateChanged: _angular_core.OutputEmitterRef<InteractiveDataViewComponentState>;
|
|
1336
|
+
selectedGroupKey: _angular_core.WritableSignal<string | undefined>;
|
|
1337
|
+
data: _angular_core.InputSignal<RowListGridData[]>;
|
|
1338
|
+
readonly columnGroupSlotName = "onecx-column-group-selection";
|
|
1339
|
+
isColumnGroupSelectionComponentDefined$: Observable<boolean>;
|
|
1340
|
+
isColumnGroupSelectionComponentDefined: Signal<boolean | undefined>;
|
|
1341
|
+
groupSelectionChangedSlotEmitter: _angular_core.OutputEmitterRef<ColumnGroupData | undefined>;
|
|
1342
|
+
readonly slotGroupSelectionChangeListener: EventEmitter<ColumnGroupData | undefined>;
|
|
1343
|
+
constructor();
|
|
1344
|
+
/**
|
|
1345
|
+
* Triggers the group selection changed logic. This method should be called
|
|
1346
|
+
* when the column group selection changes, either from the UI or programmatically.
|
|
1347
|
+
* It updates the displayed columns, selected group key, and emits the change event.
|
|
1348
|
+
*
|
|
1349
|
+
* @param event The column group data, or undefined to use current state
|
|
1350
|
+
*/
|
|
1351
|
+
triggerGroupSelectionChanged(event: ColumnGroupData | undefined): void;
|
|
1352
|
+
ngOnInit(): void;
|
|
1353
|
+
filtering(event: any): void;
|
|
1354
|
+
sorting(event: any): void;
|
|
1355
|
+
onDeleteElement(element: RowListGridData): void;
|
|
1356
|
+
onViewElement(element: RowListGridData): void;
|
|
1357
|
+
onEditElement(element: RowListGridData): void;
|
|
1358
|
+
onDataViewLayoutChange(layout: ViewLayout): void;
|
|
1359
|
+
onSortChange($event: any): void;
|
|
1360
|
+
onSortDirectionChange($event: any): void;
|
|
1361
|
+
onColumnGroupSelectionChange(event: GroupSelectionChangedEvent): void;
|
|
1362
|
+
registerEventListenerForDataView(): void;
|
|
1363
|
+
onColumnSelectionChange(event: ColumnSelectionChangedEvent): void;
|
|
1364
|
+
onActionColumnConfigChange(event: ActionColumnChangedEvent): void;
|
|
1365
|
+
onRowSelectionChange(event: Row[]): void;
|
|
1366
|
+
onPageChange(event: number): void;
|
|
1367
|
+
onPageSizeChange(event: number): void;
|
|
1368
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<InteractiveDataViewComponent, never>;
|
|
1369
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<InteractiveDataViewComponent, "ocx-interactive-data-view", never, { "searchConfigPermission": { "alias": "searchConfigPermission"; "required": false; "isSignal": true; }; "deletePermission": { "alias": "deletePermission"; "required": false; "isSignal": true; }; "editPermission": { "alias": "editPermission"; "required": false; "isSignal": true; }; "viewPermission": { "alias": "viewPermission"; "required": false; "isSignal": true; }; "deleteActionVisibleField": { "alias": "deleteActionVisibleField"; "required": false; "isSignal": true; }; "deleteActionEnabledField": { "alias": "deleteActionEnabledField"; "required": false; "isSignal": true; }; "viewActionVisibleField": { "alias": "viewActionVisibleField"; "required": false; "isSignal": true; }; "viewActionEnabledField": { "alias": "viewActionEnabledField"; "required": false; "isSignal": true; }; "editActionVisibleField": { "alias": "editActionVisibleField"; "required": false; "isSignal": true; }; "editActionEnabledField": { "alias": "editActionEnabledField"; "required": false; "isSignal": true; }; "tableSelectionEnabledField": { "alias": "tableSelectionEnabledField"; "required": false; "isSignal": true; }; "tableAllowSelectAll": { "alias": "tableAllowSelectAll"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "titleLineId": { "alias": "titleLineId"; "required": false; "isSignal": true; }; "subtitleLineIds": { "alias": "subtitleLineIds"; "required": false; "isSignal": true; }; "supportedViewLayouts": { "alias": "supportedViewLayouts"; "required": false; "isSignal": true; }; "columns": { "alias": "columns"; "required": false; "isSignal": true; }; "emptyResultsMessage": { "alias": "emptyResultsMessage"; "required": false; "isSignal": true; }; "clientSideSorting": { "alias": "clientSideSorting"; "required": false; "isSignal": true; }; "clientSideFiltering": { "alias": "clientSideFiltering"; "required": false; "isSignal": true; }; "fallbackImage": { "alias": "fallbackImage"; "required": false; "isSignal": true; }; "filters": { "alias": "filters"; "required": false; "isSignal": true; }; "sortDirection": { "alias": "sortDirection"; "required": false; "isSignal": true; }; "sortField": { "alias": "sortField"; "required": false; "isSignal": true; }; "sortStates": { "alias": "sortStates"; "required": false; "isSignal": true; }; "pageSizes": { "alias": "pageSizes"; "required": false; "isSignal": true; }; "pageSize": { "alias": "pageSize"; "required": false; "isSignal": true; }; "totalRecordsOnServer": { "alias": "totalRecordsOnServer"; "required": false; "isSignal": true; }; "layout": { "alias": "layout"; "required": false; "isSignal": true; }; "defaultGroupKey": { "alias": "defaultGroupKey"; "required": false; "isSignal": true; }; "customGroupKey": { "alias": "customGroupKey"; "required": false; "isSignal": true; }; "groupSelectionNoGroupSelectedKey": { "alias": "groupSelectionNoGroupSelectedKey"; "required": false; "isSignal": true; }; "currentPageShowingKey": { "alias": "currentPageShowingKey"; "required": false; "isSignal": true; }; "currentPageShowingWithTotalOnServerKey": { "alias": "currentPageShowingWithTotalOnServerKey"; "required": false; "isSignal": true; }; "additionalActions": { "alias": "additionalActions"; "required": false; "isSignal": true; }; "listGridPaginator": { "alias": "listGridPaginator"; "required": false; "isSignal": true; }; "tablePaginator": { "alias": "tablePaginator"; "required": false; "isSignal": true; }; "paginator": { "alias": "paginator"; "required": false; }; "disableFilterView": { "alias": "disableFilterView"; "required": false; "isSignal": true; }; "filterViewDisplayMode": { "alias": "filterViewDisplayMode"; "required": false; "isSignal": true; }; "filterViewChipStyleClass": { "alias": "filterViewChipStyleClass"; "required": false; "isSignal": true; }; "filterViewTableStyle": { "alias": "filterViewTableStyle"; "required": false; "isSignal": true; }; "filterViewPanelStyle": { "alias": "filterViewPanelStyle"; "required": false; "isSignal": true; }; "selectDisplayedChips": { "alias": "selectDisplayedChips"; "required": false; "isSignal": true; }; "page": { "alias": "page"; "required": false; "isSignal": true; }; "selectedRows": { "alias": "selectedRows"; "required": false; "isSignal": true; }; "displayedColumnKeys": { "alias": "displayedColumnKeys"; "required": false; "isSignal": true; }; "frozenActionColumn": { "alias": "frozenActionColumn"; "required": false; "isSignal": true; }; "actionColumnPosition": { "alias": "actionColumnPosition"; "required": false; "isSignal": true; }; "headerStyleClass": { "alias": "headerStyleClass"; "required": false; "isSignal": true; }; "contentStyleClass": { "alias": "contentStyleClass"; "required": false; "isSignal": true; }; "data": { "alias": "data"; "required": false; "isSignal": true; }; }, { "filters": "filtersChange"; "sortDirection": "sortDirectionChange"; "sortField": "sortFieldChange"; "pageSize": "pageSizeChange"; "layout": "layoutChange"; "listGridPaginator": "listGridPaginatorChange"; "tablePaginator": "tablePaginatorChange"; "page": "pageChange"; "displayedColumnKeys": "displayedColumnKeysChange"; "frozenActionColumn": "frozenActionColumnChange"; "actionColumnPosition": "actionColumnPositionChange"; "filtered": "filtered"; "sorted": "sorted"; "deleteItem": "deleteItem"; "viewItem": "viewItem"; "editItem": "editItem"; "selectionChanged": "selectionChanged"; "dataViewLayoutChange": "dataViewLayoutChange"; "displayedColumnKeysChange": "displayedColumnKeysChange"; "pageChanged": "pageChanged"; "pageSizeChanged": "pageSizeChanged"; "componentStateChanged": "componentStateChanged"; "groupSelectionChangedSlotEmitter": "groupSelectionChangedSlotEmitter"; }, ["childTableCell", "childDateTableCell", "childRelativeDateTableCell", "childTranslationKeyTableCell", "childGridItemSubtitleLines", "childListItemSubtitleLines", "childStringTableCell", "childNumberTableCell", "childGridItem", "childListItem", "childTopCenter", "childListValue", "childTranslationKeyListValue", "childNumberListValue", "childRelativeDateListValue", "childStringListValue", "childDateListValue", "childTableFilterCell", "childDateTableFilterCell", "childRelativeDateTableFilterCell", "childTranslationKeyTableFilterCell", "childStringTableFilterCell", "childNumberTableFilterCell", "templates"], never, false, never>;
|
|
1370
|
+
}
|
|
1371
|
+
|
|
1372
|
+
interface LifecycleStep {
|
|
1373
|
+
id: string;
|
|
1374
|
+
title: string;
|
|
1375
|
+
details?: string;
|
|
1376
|
+
}
|
|
1377
|
+
declare class LifecycleComponent {
|
|
1378
|
+
steps: _angular_core.InputSignal<LifecycleStep[]>;
|
|
1379
|
+
activeStepId: _angular_core.InputSignal<string | undefined>;
|
|
1380
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<LifecycleComponent, never>;
|
|
1381
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<LifecycleComponent, "ocx-lifecycle", never, { "steps": { "alias": "steps"; "required": false; "isSignal": true; }; "activeStepId": { "alias": "activeStepId"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
|
|
1382
|
+
}
|
|
1383
|
+
|
|
1384
|
+
/**
|
|
1385
|
+
* Payload emitted by {@link ConsentComponent.consentChanged}.
|
|
1386
|
+
*
|
|
1387
|
+
* Notes for GDPR/ePrivacy implementations:
|
|
1388
|
+
* - `hasConsent=true` indicates that the user has explicitly opted in for the given `url` (and optional `purpose`).
|
|
1389
|
+
* - `hasConsent=false` indicates that the previously stored consent was withdrawn via {@link ConsentComponent.resetConsent}.
|
|
1390
|
+
* - `purpose` is echoed back so consumers can handle multiple consent purposes (e.g. `maps`, `analytics`).
|
|
1391
|
+
*/
|
|
1392
|
+
type ConsentChangedEvent = {
|
|
1393
|
+
url: string;
|
|
1394
|
+
hasConsent: boolean;
|
|
1395
|
+
purpose?: string;
|
|
1396
|
+
};
|
|
1397
|
+
declare class ConsentComponent {
|
|
1398
|
+
protected readonly titleId: string;
|
|
1399
|
+
protected readonly messageId: string;
|
|
1400
|
+
/**
|
|
1401
|
+
* Target URL that the gated content will contact (e.g. the tile server URL).
|
|
1402
|
+
* Used for display and for consent matching.
|
|
1403
|
+
*/
|
|
1404
|
+
url: _angular_core.InputSignal<string>;
|
|
1405
|
+
/**
|
|
1406
|
+
* Optional purpose scope for consent (e.g. `maps`, `analytics`).
|
|
1407
|
+
* When set, consent is stored and matched as `<url>::<purpose>`.
|
|
1408
|
+
*/
|
|
1409
|
+
purpose: _angular_core.InputSignal<string | undefined>;
|
|
1410
|
+
/** Translation key for the consent dialog title. */
|
|
1411
|
+
titleKey: _angular_core.InputSignal<string>;
|
|
1412
|
+
/** Translation key for the consent dialog message (receives `{ url }`). */
|
|
1413
|
+
messageKey: _angular_core.InputSignal<string>;
|
|
1414
|
+
/** Translation key for the agree button. */
|
|
1415
|
+
agreeKey: _angular_core.InputSignal<string>;
|
|
1416
|
+
/** Translation key for the withdraw button. */
|
|
1417
|
+
withdrawKey: _angular_core.InputSignal<string>;
|
|
1418
|
+
/**
|
|
1419
|
+
* When enabled, shows a withdraw button that removes the stored consent.
|
|
1420
|
+
* This helps meeting the requirement that withdrawal should be as easy as opt-in.
|
|
1421
|
+
*/
|
|
1422
|
+
showWithdraw: _angular_core.InputSignal<boolean>;
|
|
1423
|
+
/**
|
|
1424
|
+
* Emits whenever consent is granted or withdrawn.
|
|
1425
|
+
* Consumers should only render/initialize third-party code after receiving `hasConsent=true`.
|
|
1426
|
+
*/
|
|
1427
|
+
consentChanged: _angular_core.OutputEmitterRef<ConsentChangedEvent>;
|
|
1428
|
+
localStorageUpdatedTimestamp: _angular_core.WritableSignal<number>;
|
|
1429
|
+
protected normalizedUrl: _angular_core.Signal<string>;
|
|
1430
|
+
protected hasConsent: _angular_core.Signal<boolean>;
|
|
1431
|
+
protected giveConsent(): void;
|
|
1432
|
+
protected resetConsent(): void;
|
|
1433
|
+
private safeJsonParse;
|
|
1434
|
+
private readConsents;
|
|
1435
|
+
private writeConsents;
|
|
1436
|
+
private hasStoredConsent;
|
|
1437
|
+
private toStorageEntry;
|
|
1438
|
+
private fromStorageEntry;
|
|
1439
|
+
private normalizeUrl;
|
|
1440
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ConsentComponent, never>;
|
|
1441
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ConsentComponent, "ocx-consent", never, { "url": { "alias": "url"; "required": true; "isSignal": true; }; "purpose": { "alias": "purpose"; "required": false; "isSignal": true; }; "titleKey": { "alias": "titleKey"; "required": false; "isSignal": true; }; "messageKey": { "alias": "messageKey"; "required": false; "isSignal": true; }; "agreeKey": { "alias": "agreeKey"; "required": false; "isSignal": true; }; "withdrawKey": { "alias": "withdrawKey"; "required": false; "isSignal": true; }; "showWithdraw": { "alias": "showWithdraw"; "required": false; "isSignal": true; }; }, { "consentChanged": "consentChanged"; }, never, ["*", "[ocx-consent-info]"], false, never>;
|
|
1442
|
+
}
|
|
1443
|
+
|
|
1444
|
+
interface BreadCrumbMenuItem {
|
|
1445
|
+
labelKey?: string;
|
|
1446
|
+
icon?: string;
|
|
1447
|
+
command?: (event?: any) => void;
|
|
1448
|
+
url?: string;
|
|
1449
|
+
items?: MenuItem[];
|
|
1450
|
+
expanded?: boolean;
|
|
1451
|
+
disabled?: boolean;
|
|
1452
|
+
visible?: boolean;
|
|
1453
|
+
target?: string;
|
|
1454
|
+
escape?: boolean;
|
|
1455
|
+
routerLinkActiveOptions?: any;
|
|
1456
|
+
separator?: boolean;
|
|
1457
|
+
badge?: string;
|
|
1458
|
+
tooltip?: string;
|
|
1459
|
+
tooltipPosition?: string;
|
|
1460
|
+
badgeStyleClass?: string;
|
|
1461
|
+
style?: any;
|
|
1462
|
+
styleClass?: string;
|
|
1463
|
+
titleKey?: string;
|
|
1464
|
+
id?: string;
|
|
1465
|
+
automationId?: any;
|
|
1466
|
+
tabindex?: string;
|
|
1467
|
+
routerLink?: any;
|
|
1468
|
+
queryParams?: {
|
|
1469
|
+
[k: string]: any;
|
|
1470
|
+
};
|
|
1471
|
+
fragment?: string;
|
|
1472
|
+
queryParamsHandling?: QueryParamsHandling;
|
|
1473
|
+
preserveFragment?: boolean;
|
|
1474
|
+
skipLocationChange?: boolean;
|
|
1475
|
+
replaceUrl?: boolean;
|
|
1476
|
+
iconStyle?: any;
|
|
1477
|
+
iconClass?: string;
|
|
1478
|
+
state?: {
|
|
1479
|
+
[k: string]: any;
|
|
1480
|
+
};
|
|
1481
|
+
tooltipOptions?: {
|
|
1482
|
+
tooltipLabel?: string;
|
|
1483
|
+
tooltipPosition?: 'right' | 'left' | 'top' | 'bottom';
|
|
1484
|
+
tooltipEvent?: 'hover' | 'focus';
|
|
1485
|
+
appendTo?: any;
|
|
1486
|
+
positionStyle?: string;
|
|
1487
|
+
tooltipStyleClass?: string;
|
|
1488
|
+
tooltipZIndex?: string;
|
|
1489
|
+
escape?: boolean;
|
|
1490
|
+
disabled?: boolean;
|
|
1491
|
+
positionTop?: number;
|
|
1492
|
+
positionLeft?: number;
|
|
1493
|
+
showDelay?: number;
|
|
1494
|
+
hideDelay?: number;
|
|
1495
|
+
life?: number;
|
|
1496
|
+
};
|
|
1497
|
+
}
|
|
1498
|
+
|
|
1499
|
+
declare class BreadcrumbService implements OnDestroy {
|
|
1500
|
+
private readonly router;
|
|
1501
|
+
private readonly activeRoute;
|
|
1502
|
+
private readonly translateService;
|
|
1503
|
+
private _itemSource$;
|
|
1504
|
+
private get itemsSource$();
|
|
1505
|
+
private set itemsSource$(value);
|
|
1506
|
+
generatedItemsSource: BehaviorSubject<MenuItem[]>;
|
|
1507
|
+
_itemsHandler: Observable<MenuItem[]> | undefined;
|
|
1508
|
+
get itemsHandler(): Observable<MenuItem[]>;
|
|
1509
|
+
constructor();
|
|
1510
|
+
ngOnDestroy(): void;
|
|
1511
|
+
private generateBreadcrumbs;
|
|
1512
|
+
private addBreadcrumb;
|
|
1513
|
+
private createBreadcrumb;
|
|
1514
|
+
private getLabel;
|
|
1515
|
+
setItems(items: BreadCrumbMenuItem[]): void;
|
|
1516
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BreadcrumbService, never>;
|
|
1517
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<BreadcrumbService>;
|
|
1518
|
+
}
|
|
1519
|
+
|
|
1520
|
+
/**
|
|
1521
|
+
* Object containing key for translation with parameters object for translation
|
|
1522
|
+
*
|
|
1523
|
+
* @example
|
|
1524
|
+
* ## Assume such translation is in the translation file
|
|
1525
|
+
* ```typescript
|
|
1526
|
+
* const translations = {
|
|
1527
|
+
* MY_KEY = 'text with parameter value = {{value}}',
|
|
1528
|
+
* }
|
|
1529
|
+
* ```
|
|
1530
|
+
*
|
|
1531
|
+
* ## TranslationKeyWithParameters declaration
|
|
1532
|
+
* ```
|
|
1533
|
+
* // will be translated into
|
|
1534
|
+
* // text with parameter value = hello
|
|
1535
|
+
* const myKey: TranslationKeyWithParameters = {
|
|
1536
|
+
* key: 'MY_KEY',
|
|
1537
|
+
* parameters: {
|
|
1538
|
+
* value: 'hello',
|
|
1539
|
+
* },
|
|
1540
|
+
* }
|
|
1541
|
+
* ```
|
|
1542
|
+
*/
|
|
1543
|
+
type TranslationKeyWithParameters = {
|
|
1544
|
+
key: string;
|
|
1545
|
+
parameters?: Record<string, unknown>;
|
|
1546
|
+
};
|
|
1547
|
+
/**
|
|
1548
|
+
* String with key to translation or {@link TranslationKeyWithParameters} object. If provided string cannot be translated it will be displayed as is.
|
|
1549
|
+
*/
|
|
1550
|
+
type TranslationKey = string | TranslationKeyWithParameters;
|
|
1551
|
+
|
|
1552
|
+
/**
|
|
1553
|
+
* Action definition.
|
|
1554
|
+
*/
|
|
1555
|
+
interface Action {
|
|
1556
|
+
id?: string;
|
|
1557
|
+
label?: string;
|
|
1558
|
+
labelKey?: string;
|
|
1559
|
+
icon?: string;
|
|
1560
|
+
iconPos?: 'left' | 'right' | 'top' | 'bottom';
|
|
1561
|
+
/**
|
|
1562
|
+
* Permission for this action. If the current user does not have this permission, the action will not be shown.
|
|
1563
|
+
*/
|
|
1564
|
+
permission?: string;
|
|
1565
|
+
title?: string;
|
|
1566
|
+
titleKey?: string;
|
|
1567
|
+
ariaLabel?: string;
|
|
1568
|
+
ariaLabelKey?: string;
|
|
1569
|
+
btnClass?: string;
|
|
1570
|
+
actionCallback(): void;
|
|
1571
|
+
routerLink?: RouterLink;
|
|
1572
|
+
loading?: boolean;
|
|
1573
|
+
disabled?: boolean;
|
|
1574
|
+
disabledTooltip?: string;
|
|
1575
|
+
disabledTooltipKey?: string;
|
|
1576
|
+
show?: 'always' | 'asOverflow';
|
|
1577
|
+
conditional?: boolean;
|
|
1578
|
+
showCondition?: boolean;
|
|
1579
|
+
}
|
|
1580
|
+
interface ObjectDetailItem {
|
|
1581
|
+
label: string;
|
|
1582
|
+
value?: string;
|
|
1583
|
+
icon?: PrimeIcon;
|
|
1584
|
+
iconStyleClass?: string;
|
|
1585
|
+
labelPipe?: Type<any>;
|
|
1586
|
+
valuePipe?: Type<any>;
|
|
1587
|
+
valuePipeArgs?: string;
|
|
1588
|
+
valueCssClass?: string;
|
|
1589
|
+
actionItemIcon?: PrimeIcon;
|
|
1590
|
+
actionItemCallback?: () => void;
|
|
1591
|
+
actionItemAriaLabel?: string;
|
|
1592
|
+
actionItemAriaLabelKey?: TranslationKey;
|
|
1593
|
+
actionItemTooltipKey?: TranslationKey;
|
|
1594
|
+
labelTooltipKey?: TranslationKey;
|
|
1595
|
+
valueTooltipKey?: TranslationKey;
|
|
1596
|
+
}
|
|
1597
|
+
interface HomeItem {
|
|
1598
|
+
menuItem: MenuItem;
|
|
1599
|
+
page?: string;
|
|
1600
|
+
}
|
|
1601
|
+
type GridColumnOptions = 1 | 2 | 3 | 4 | 6 | 12;
|
|
1602
|
+
declare class PageHeaderComponent implements OnInit {
|
|
1603
|
+
private readonly translateService;
|
|
1604
|
+
private readonly appStateService;
|
|
1605
|
+
private readonly userService;
|
|
1606
|
+
private readonly router;
|
|
1607
|
+
private readonly hasPermissionChecker;
|
|
1608
|
+
protected readonly breadcrumbs: BreadcrumbService;
|
|
1609
|
+
header: _angular_core.InputSignal<string | undefined>;
|
|
1610
|
+
loading: _angular_core.InputSignal<boolean>;
|
|
1611
|
+
figureBackground: _angular_core.InputSignal<boolean>;
|
|
1612
|
+
showFigure: _angular_core.InputSignal<boolean>;
|
|
1613
|
+
figureImage: _angular_core.InputSignal<string | undefined>;
|
|
1614
|
+
disableDefaultActions: _angular_core.InputSignal<boolean>;
|
|
1615
|
+
subheader: _angular_core.InputSignal<string | undefined>;
|
|
1616
|
+
actions: _angular_core.ModelSignal<Action[]>;
|
|
1617
|
+
objectDetails: _angular_core.InputSignal<ObjectDetailItem[] | undefined>;
|
|
1618
|
+
showBreadcrumbs: _angular_core.InputSignal<boolean>;
|
|
1619
|
+
manualBreadcrumbs: _angular_core.InputSignal<boolean>;
|
|
1620
|
+
enableGridView: _angular_core.InputSignal<boolean | undefined>;
|
|
1621
|
+
gridLayoutDesktopColumns: _angular_core.InputSignal<GridColumnOptions | undefined>;
|
|
1622
|
+
save: _angular_core.OutputEmitterRef<void>;
|
|
1623
|
+
_additionalToolbarContent: _angular_core.Signal<TemplateRef<any> | undefined>;
|
|
1624
|
+
_additionalToolbarContentLeft: _angular_core.Signal<TemplateRef<any> | undefined>;
|
|
1625
|
+
overflowActions$: Observable<MenuItem[]>;
|
|
1626
|
+
inlineActions$: Observable<Action[]>;
|
|
1627
|
+
breadcrumbs$: Observable<MenuItem[]>;
|
|
1628
|
+
home$: Observable<HomeItem>;
|
|
1629
|
+
figureImageLoadError: _angular_core.WritableSignal<boolean>;
|
|
1630
|
+
objectPanelGridLayoutClasses: _angular_core.WritableSignal<string>;
|
|
1631
|
+
objectPanelColumnLayoutClasses: _angular_core.WritableSignal<string>;
|
|
1632
|
+
objectPanelDefaultLayoutClasses: _angular_core.WritableSignal<string>;
|
|
1633
|
+
objectPanelLayoutClasses: _angular_core.Signal<string>;
|
|
1634
|
+
objectInfoGridLayoutClasses: _angular_core.WritableSignal<string>;
|
|
1635
|
+
objectInfoColumnLayoutClasses: _angular_core.WritableSignal<string>;
|
|
1636
|
+
objectInfoDefaultLayoutClasses: _angular_core.WritableSignal<string>;
|
|
1637
|
+
objectInfoLayoutClasses: _angular_core.Signal<string>;
|
|
1638
|
+
constructor();
|
|
1639
|
+
ngOnInit(): void;
|
|
1640
|
+
onAction(action: string): void;
|
|
1641
|
+
handleImageError(): void;
|
|
1642
|
+
generateItemStyle(item: ObjectDetailItem): string;
|
|
1643
|
+
private filterInlineActions;
|
|
1644
|
+
private filterOverflowActions;
|
|
1645
|
+
private filterActionsBasedOnPermissions;
|
|
1646
|
+
private getActionTranslationKeys;
|
|
1647
|
+
private mapOverflowActionsToMenuItems;
|
|
1648
|
+
onActionClick(action: Action): Promise<void>;
|
|
1649
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PageHeaderComponent, never>;
|
|
1650
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PageHeaderComponent, "ocx-page-header", never, { "header": { "alias": "header"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "figureBackground": { "alias": "figureBackground"; "required": false; "isSignal": true; }; "showFigure": { "alias": "showFigure"; "required": false; "isSignal": true; }; "figureImage": { "alias": "figureImage"; "required": false; "isSignal": true; }; "disableDefaultActions": { "alias": "disableDefaultActions"; "required": false; "isSignal": true; }; "subheader": { "alias": "subheader"; "required": false; "isSignal": true; }; "actions": { "alias": "actions"; "required": false; "isSignal": true; }; "objectDetails": { "alias": "objectDetails"; "required": false; "isSignal": true; }; "showBreadcrumbs": { "alias": "showBreadcrumbs"; "required": false; "isSignal": true; }; "manualBreadcrumbs": { "alias": "manualBreadcrumbs"; "required": false; "isSignal": true; }; "enableGridView": { "alias": "enableGridView"; "required": false; "isSignal": true; }; "gridLayoutDesktopColumns": { "alias": "gridLayoutDesktopColumns"; "required": false; "isSignal": true; }; }, { "actions": "actionsChange"; "save": "save"; }, ["_additionalToolbarContent", "_additionalToolbarContentLeft"], ["[figureImage]", "[toolbarItems]", "*"], false, never>;
|
|
1651
|
+
}
|
|
1652
|
+
|
|
1653
|
+
interface SearchHeaderComponentState {
|
|
1654
|
+
activeViewMode?: 'basic' | 'advanced';
|
|
1655
|
+
selectedSearchConfig?: string | null;
|
|
1656
|
+
}
|
|
1657
|
+
interface SearchConfigData {
|
|
1658
|
+
name: string | undefined;
|
|
1659
|
+
fieldValues: {
|
|
1660
|
+
[key: string]: string;
|
|
1661
|
+
};
|
|
1662
|
+
displayedColumnsIds: string[];
|
|
1663
|
+
viewMode: 'basic' | 'advanced';
|
|
1664
|
+
}
|
|
1665
|
+
/**
|
|
1666
|
+
* To trigger the search when Enter key is pressed inside a search parameter field,
|
|
1667
|
+
* an EventListener for keyup enter event is added for HTML elements which have an input.
|
|
1668
|
+
* Please add the EventListener yourself manually, if you want to have that functionality for some other elements
|
|
1669
|
+
* which do not have an input element.
|
|
1670
|
+
*/
|
|
1671
|
+
declare class SearchHeaderComponent {
|
|
1672
|
+
header: _angular_core.InputSignal<string>;
|
|
1673
|
+
subheader: _angular_core.InputSignal<string | undefined>;
|
|
1674
|
+
viewMode: _angular_core.ModelSignal<"basic" | "advanced">;
|
|
1675
|
+
manualBreadcrumbs: _angular_core.InputSignal<boolean>;
|
|
1676
|
+
actions: _angular_core.InputSignal<Action[]>;
|
|
1677
|
+
searchConfigPermission: _angular_core.InputSignal<PermissionInput>;
|
|
1678
|
+
searchButtonDisabled: _angular_core.InputSignal<boolean>;
|
|
1679
|
+
resetButtonDisabled: _angular_core.InputSignal<boolean>;
|
|
1680
|
+
pageName: _angular_core.InputSignal<string | undefined>;
|
|
1681
|
+
searched: _angular_core.OutputEmitterRef<void>;
|
|
1682
|
+
resetted: _onecx_angular_accelerator.ObservableOutputEmitterRef<void>;
|
|
1683
|
+
selectedSearchConfigChanged: _onecx_angular_accelerator.ObservableOutputEmitterRef<SearchConfigData | undefined>;
|
|
1684
|
+
viewModeChanged: _angular_core.OutputEmitterRef<"basic" | "advanced">;
|
|
1685
|
+
componentStateChanged: _angular_core.OutputEmitterRef<SearchHeaderComponentState>;
|
|
1686
|
+
_additionalToolbarContent: Signal<TemplateRef<any> | undefined>;
|
|
1687
|
+
_additionalToolbarContentLeft: Signal<TemplateRef<any> | undefined>;
|
|
1688
|
+
get searchConfigChangeObserved(): Signal<boolean>;
|
|
1689
|
+
formGroup: Signal<FormGroup<any> | undefined>;
|
|
1690
|
+
visibleFormControls: Signal<readonly FormControlName[]>;
|
|
1691
|
+
searchParameterFields: Signal<ElementRef<any> | undefined>;
|
|
1692
|
+
hasAdvanced: _angular_core.WritableSignal<boolean>;
|
|
1693
|
+
simpleAdvancedAction: _angular_core.WritableSignal<Action>;
|
|
1694
|
+
headerActions: _angular_core.WritableSignal<Action[]>;
|
|
1695
|
+
searchButtonsReversed$: Observable<boolean | null>;
|
|
1696
|
+
fieldValues$: Observable<{
|
|
1697
|
+
[key: string]: unknown;
|
|
1698
|
+
}> | undefined;
|
|
1699
|
+
searchConfigChangedSlotEmitter: EventEmitter<SearchConfigData | undefined>;
|
|
1700
|
+
constructor();
|
|
1701
|
+
toggleViewMode(): void;
|
|
1702
|
+
onResetClicked(): void;
|
|
1703
|
+
onSearchClicked(): void;
|
|
1704
|
+
updateHeaderActions(): void;
|
|
1705
|
+
addKeyUpEventListener(): void;
|
|
1706
|
+
onSearchKeyup(event: any): void;
|
|
1707
|
+
private isVisible;
|
|
1708
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SearchHeaderComponent, never>;
|
|
1709
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SearchHeaderComponent, "ocx-search-header", never, { "header": { "alias": "header"; "required": false; "isSignal": true; }; "subheader": { "alias": "subheader"; "required": false; "isSignal": true; }; "viewMode": { "alias": "viewMode"; "required": false; "isSignal": true; }; "manualBreadcrumbs": { "alias": "manualBreadcrumbs"; "required": false; "isSignal": true; }; "actions": { "alias": "actions"; "required": false; "isSignal": true; }; "searchConfigPermission": { "alias": "searchConfigPermission"; "required": false; "isSignal": true; }; "searchButtonDisabled": { "alias": "searchButtonDisabled"; "required": false; "isSignal": true; }; "resetButtonDisabled": { "alias": "resetButtonDisabled"; "required": false; "isSignal": true; }; "pageName": { "alias": "pageName"; "required": false; "isSignal": true; }; }, { "viewMode": "viewModeChange"; "searched": "searched"; "resetted": "resetted"; "selectedSearchConfigChanged": "selectedSearchConfigChanged"; "viewModeChanged": "viewModeChanged"; "componentStateChanged": "componentStateChanged"; }, ["_additionalToolbarContent", "_additionalToolbarContentLeft", "formGroup", "visibleFormControls"], ["*"], false, never>;
|
|
1710
|
+
}
|
|
1711
|
+
|
|
1712
|
+
declare class DialogMessageContentComponent {
|
|
1713
|
+
message: string;
|
|
1714
|
+
messageParameters: object;
|
|
1715
|
+
icon: string;
|
|
1716
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DialogMessageContentComponent, never>;
|
|
1717
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DialogMessageContentComponent, "ng-component", never, { "message": { "alias": "message"; "required": false; }; "messageParameters": { "alias": "messageParameters"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; }, {}, never, never, false, never>;
|
|
1718
|
+
}
|
|
1719
|
+
|
|
1720
|
+
declare class LoadingIndicatorComponent {
|
|
1721
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<LoadingIndicatorComponent, never>;
|
|
1722
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<LoadingIndicatorComponent, "ocx-loading-indicator", never, {}, {}, never, never, false, never>;
|
|
1723
|
+
}
|
|
1724
|
+
|
|
1725
|
+
/**
|
|
1726
|
+
* Object containing message of type {@link TranslationKey} and icon to be displayed along the message.
|
|
1727
|
+
*
|
|
1728
|
+
* @example
|
|
1729
|
+
* DialogMessage with TranslationKey will display 'text with parameter value = hello' and question mark icon
|
|
1730
|
+
*
|
|
1731
|
+
* ## Assume such translation is in the translation file
|
|
1732
|
+
* ```
|
|
1733
|
+
* const translations = {
|
|
1734
|
+
* MY_KEY = 'text with parameter value = {{value}}',
|
|
1735
|
+
* }
|
|
1736
|
+
* ```
|
|
1737
|
+
*
|
|
1738
|
+
* ## DialogMessage declaration
|
|
1739
|
+
* ```
|
|
1740
|
+
* const myDialogMessage: DialogMessage = {
|
|
1741
|
+
* message: {
|
|
1742
|
+
* key: 'MY_KEY',
|
|
1743
|
+
* parameters: {
|
|
1744
|
+
* value = 'hello',
|
|
1745
|
+
* },
|
|
1746
|
+
* },
|
|
1747
|
+
* icon: PrimeIcons.QUESTION
|
|
1748
|
+
* }
|
|
1749
|
+
* ```
|
|
1750
|
+
*/
|
|
1751
|
+
type DialogMessage = {
|
|
1752
|
+
message: TranslationKey;
|
|
1753
|
+
icon: PrimeIcon;
|
|
1754
|
+
};
|
|
1755
|
+
/**
|
|
1756
|
+
* Implement via component class to be displayed by {@link PortalDialogService.openDialog}
|
|
1757
|
+
*
|
|
1758
|
+
* Use if you want {@link PortalDialogService.openDialog} to return state of displayed component's current dialogResult value alongside the clicked button.
|
|
1759
|
+
*
|
|
1760
|
+
* @example
|
|
1761
|
+
* Display component implementing DialogResult<string> and react on the returned value
|
|
1762
|
+
*
|
|
1763
|
+
* ## Component declaration
|
|
1764
|
+
* ```
|
|
1765
|
+
* @Component({template: `<div>
|
|
1766
|
+
* <input (change)="onInputChange($event)">
|
|
1767
|
+
* </div>`})
|
|
1768
|
+
* export class MyInputComponent implements DialogResult<string> {
|
|
1769
|
+
* dialogResult: string = ''
|
|
1770
|
+
*
|
|
1771
|
+
* onInputChange(event: any) {
|
|
1772
|
+
* this.dialogResult = event.target.value
|
|
1773
|
+
* }
|
|
1774
|
+
* }
|
|
1775
|
+
* ```
|
|
1776
|
+
*
|
|
1777
|
+
* ## PortalDialogService call
|
|
1778
|
+
* ```
|
|
1779
|
+
* portalDialogService.openDialog(title, { type: MyInputComponent }, primaryButton, ...).subscribe((result: DialogState<string>) => {
|
|
1780
|
+
* // result.value === MyInputComponent.dialogResult (during button click)
|
|
1781
|
+
* // behavior when dialog closes
|
|
1782
|
+
* })
|
|
1783
|
+
* ```
|
|
1784
|
+
*
|
|
1785
|
+
*/
|
|
1786
|
+
interface DialogResult<T> {
|
|
1787
|
+
dialogResult: T;
|
|
1788
|
+
}
|
|
1789
|
+
/**
|
|
1790
|
+
* Implement via component class to be displayed by {@link PortalDialogService.openDialog}
|
|
1791
|
+
*
|
|
1792
|
+
* Use to control the state of the primary button (disabled or enabled). Whenever your component wants to disable/enable primary button it should emit boolean equal to whether primary button should be enabled.
|
|
1793
|
+
*
|
|
1794
|
+
* If you implement this interface then primary button will be disabled until the emitter emits true
|
|
1795
|
+
*/
|
|
1796
|
+
interface DialogPrimaryButtonDisabled {
|
|
1797
|
+
primaryButtonEnabled: Subject<boolean>;
|
|
1798
|
+
}
|
|
1799
|
+
/**
|
|
1800
|
+
* Implement via component class to be displayed by {@link PortalDialogService.openDialog}
|
|
1801
|
+
*
|
|
1802
|
+
* Use to control the state of the secondary button (disabled or enabled). Whenever your component wants to disable/enable secondary button it should emit boolean equal to whether secondary button should be enabled.
|
|
1803
|
+
*
|
|
1804
|
+
* If you implement this interface then secondary button will be disabled until the emitter emits true
|
|
1805
|
+
*/
|
|
1806
|
+
interface DialogSecondaryButtonDisabled {
|
|
1807
|
+
secondaryButtonEnabled: Subject<boolean>;
|
|
1808
|
+
}
|
|
1809
|
+
/**
|
|
1810
|
+
* Implement via component class to be displayed by {@link PortalDialogService.openDialog}
|
|
1811
|
+
*
|
|
1812
|
+
* Use to control the state of custom buttons (disabled or enabled). Whenever your component wants to disable/enable any custom button it should emit an object indicating which button should be disabled/enabled. This object should contain id property (string) related to previously defined button and enabled property (boolean) equal to whether custom button should be enabled.
|
|
1813
|
+
*
|
|
1814
|
+
* If you implement this interface then all custom buttons will be disabled until the emitter emits true
|
|
1815
|
+
*/
|
|
1816
|
+
interface DialogCustomButtonsDisabled {
|
|
1817
|
+
customButtonEnabled: Subject<{
|
|
1818
|
+
id: string;
|
|
1819
|
+
enabled: boolean;
|
|
1820
|
+
}>;
|
|
1821
|
+
}
|
|
1822
|
+
/**
|
|
1823
|
+
* Implement via component class to be displayed by {@link PortalDialogService.openDialog}
|
|
1824
|
+
*
|
|
1825
|
+
* Use to add behavior on button clicks. {@link DialogButtonClicked.ocxDialogButtonClicked} method will be called everytime any button is clicked and should return boolean value (or Observable<boolean> or Promise<boolean>) equal to whether dialog should be closed or not.
|
|
1826
|
+
*
|
|
1827
|
+
* {@link DialogButtonClicked.ocxDialogButtonClicked} will recieve object containing component's state captured on button click. It will have button property with value 'primary' or 'secondary' which determines which button was clicked.
|
|
1828
|
+
*
|
|
1829
|
+
* It will also have result property which by default will be undefined, however if you want to add any properties to the state please combine this interface with {@link DialogResult}. That way result will be equal to component's dialogResult property captured on button click.
|
|
1830
|
+
*
|
|
1831
|
+
* @example
|
|
1832
|
+
* Display component implementing DialogResult<string> and DialogButtonClicked which should not close dialog on clear click but should close when send clicked and api call was sucessful
|
|
1833
|
+
*
|
|
1834
|
+
* ## Component declaration
|
|
1835
|
+
* ```
|
|
1836
|
+
* @Component({template: `<div>
|
|
1837
|
+
* <input (change)="onInputChange($event)">
|
|
1838
|
+
* </div>`})
|
|
1839
|
+
* export class MyInputComponent implements DialogResult<string>, DialogButtonClicked {
|
|
1840
|
+
* dialogResult: string = ''
|
|
1841
|
+
*
|
|
1842
|
+
* onInputChange(event: any) {
|
|
1843
|
+
* this.dialogResult = event.target.value
|
|
1844
|
+
* }
|
|
1845
|
+
*
|
|
1846
|
+
* ocxDialogButtonClicked(state: DialogState<string>) {
|
|
1847
|
+
* // here you can do any operations you desire
|
|
1848
|
+
* // such as form validation
|
|
1849
|
+
* // api calls and so on
|
|
1850
|
+
* if (state.button === 'primary') {
|
|
1851
|
+
* // send form data to server
|
|
1852
|
+
* this.apiService.postInput(state.result, ...).pipe(
|
|
1853
|
+
* // map response to boolean meaning if call was successfull
|
|
1854
|
+
* )
|
|
1855
|
+
* return true // if dialog should be closed return true
|
|
1856
|
+
* } else {
|
|
1857
|
+
* // clear input
|
|
1858
|
+
* return false // don't want to close the dialog, only to clear it
|
|
1859
|
+
* }
|
|
1860
|
+
* }
|
|
1861
|
+
* }
|
|
1862
|
+
* ```
|
|
1863
|
+
*
|
|
1864
|
+
* ## PortalDialogService call
|
|
1865
|
+
* ```
|
|
1866
|
+
* portalDialogService.openDialog(title, { type: MyInputComponent }, "Send", "Clear").subscribe((result: DialogState<string>) => {
|
|
1867
|
+
* // behavior to be fired when dialog closes
|
|
1868
|
+
* })
|
|
1869
|
+
* ```
|
|
1870
|
+
*/
|
|
1871
|
+
interface DialogButtonClicked<T = unknown> {
|
|
1872
|
+
ocxDialogButtonClicked(state: DialogState<T>): Observable<boolean> | Promise<boolean> | boolean | undefined | void;
|
|
1873
|
+
}
|
|
1874
|
+
/**
|
|
1875
|
+
* Object containing component type to be displayed and inputs to populate the component.
|
|
1876
|
+
*
|
|
1877
|
+
* @example
|
|
1878
|
+
*
|
|
1879
|
+
* ```
|
|
1880
|
+
* @Component({template: `<h1>{{content}}</h1>`})
|
|
1881
|
+
* export class MyComponent {
|
|
1882
|
+
* @Input() content: string = ''
|
|
1883
|
+
* }
|
|
1884
|
+
* const myComponent = {
|
|
1885
|
+
* type: MyComponent,
|
|
1886
|
+
* inputs: {
|
|
1887
|
+
* content: 'My header content',
|
|
1888
|
+
* },
|
|
1889
|
+
* }
|
|
1890
|
+
* ```
|
|
1891
|
+
*/
|
|
1892
|
+
type Component<T extends unknown> = unknown extends T ? {
|
|
1893
|
+
type: Type<any>;
|
|
1894
|
+
inputs?: Record<string, unknown>;
|
|
1895
|
+
} : {
|
|
1896
|
+
type: Type<DialogResult<T>>;
|
|
1897
|
+
inputs?: Record<string, unknown>;
|
|
1898
|
+
};
|
|
1899
|
+
type DialogButton = 'primary' | 'secondary' | 'custom';
|
|
1900
|
+
type DialogStateButtonClicked = 'primary' | 'secondary' | 'custom';
|
|
1901
|
+
/**
|
|
1902
|
+
* Object containing information about clicked button ('primary' or 'secondary') and displayed component state captured on button click (only if component implements {@link DialogResult} interface)
|
|
1903
|
+
*/
|
|
1904
|
+
type DialogState<T> = {
|
|
1905
|
+
button: DialogStateButtonClicked;
|
|
1906
|
+
result: T | undefined;
|
|
1907
|
+
id?: string;
|
|
1908
|
+
};
|
|
1909
|
+
type PortalDialogConfig = {
|
|
1910
|
+
showXButton?: boolean;
|
|
1911
|
+
customButtons?: ButtonDialogCustomButtonDetails[];
|
|
1912
|
+
autoFocusButton?: DialogButton;
|
|
1913
|
+
autoFocusButtonCustomId?: string;
|
|
1914
|
+
ariaLabelledBy?: string;
|
|
1915
|
+
width?: string;
|
|
1916
|
+
height?: string;
|
|
1917
|
+
closeOnEscape?: boolean;
|
|
1918
|
+
focusOnShow?: boolean;
|
|
1919
|
+
focusTrap?: boolean;
|
|
1920
|
+
baseZIndex?: number;
|
|
1921
|
+
autoZIndex?: boolean;
|
|
1922
|
+
dismissableMask?: boolean;
|
|
1923
|
+
showHeader?: boolean;
|
|
1924
|
+
modal?: boolean;
|
|
1925
|
+
resizable?: boolean;
|
|
1926
|
+
draggable?: boolean;
|
|
1927
|
+
keepInViewport?: boolean;
|
|
1928
|
+
minX?: number;
|
|
1929
|
+
minY?: number;
|
|
1930
|
+
maximizable?: boolean;
|
|
1931
|
+
maximizeIcon?: string;
|
|
1932
|
+
minimizeIcon?: string;
|
|
1933
|
+
position?: string;
|
|
1934
|
+
closeAriaLabel?: string;
|
|
1935
|
+
};
|
|
1936
|
+
interface PortalDialogServiceData {
|
|
1937
|
+
primaryButtonEnabled$: Subject<boolean>;
|
|
1938
|
+
secondaryButtonEnabled$: Subject<boolean>;
|
|
1939
|
+
customButtonEnabled$: Subject<{
|
|
1940
|
+
id: string;
|
|
1941
|
+
enabled: boolean;
|
|
1942
|
+
}>;
|
|
1943
|
+
buttonClicked$: Subject<DialogState<unknown>>;
|
|
1944
|
+
}
|
|
1945
|
+
declare class PortalDialogService implements OnDestroy {
|
|
1946
|
+
private dialogService;
|
|
1947
|
+
private translateService;
|
|
1948
|
+
private router;
|
|
1949
|
+
private readonly logger;
|
|
1950
|
+
private _eventsTopic$;
|
|
1951
|
+
get eventsTopic(): EventsTopic;
|
|
1952
|
+
set eventsTopic(source: EventsTopic);
|
|
1953
|
+
private skipStyleScoping;
|
|
1954
|
+
private remoteComponentConfig;
|
|
1955
|
+
private appStateService;
|
|
1956
|
+
private capabilityService;
|
|
1957
|
+
constructor();
|
|
1958
|
+
ngOnDestroy(): void;
|
|
1959
|
+
/**
|
|
1960
|
+
* Opens dialog with a component or message to display and one or two buttons. This method allows you to customize the dialog using parameters and by implementic specific interfaces via component to be displayed. The dialog is only shown if if you subscribe to this function.
|
|
1961
|
+
*
|
|
1962
|
+
* Displaying component inisde the dialog can be achieved by providing the component class with optional inputs. By default the component will be shown without any interaction with the dialog, however you can implement the following interfaces by your component class to allow for some interactions:
|
|
1963
|
+
* - {@link DialogResult} - dialog state will contain dialogResult property
|
|
1964
|
+
*
|
|
1965
|
+
* - {@link DialogButtonClicked} - on button click ocxDialogButtonClicked function will be called with dialog state as a parameter. You should return true if you want dialog to be close or false if not and add any operations on your component.
|
|
1966
|
+
*
|
|
1967
|
+
* - {@link DialogPrimaryButtonDisabled} - dialog will use the Subject to determine if the primary button should be disabled
|
|
1968
|
+
*
|
|
1969
|
+
* - {@link DialogSecondaryButtonDisabled} - dialog will use the Subject to determine if the secondary button should be disabled
|
|
1970
|
+
*
|
|
1971
|
+
* - {@link DialogCustomButtonsDisabled} - dialog will use the Subject to determine if the custom buttons should be disabled
|
|
1972
|
+
*
|
|
1973
|
+
* @param title Translation key for dialog title
|
|
1974
|
+
* @param componentOrMessage Either a component or a translation key of a message with optional parameters and icon to be displayed next to the message
|
|
1975
|
+
* @param primaryButtonTranslationKeyOrDetails Translation key with optional parameters and icon to be displayed next to the text of the button
|
|
1976
|
+
* @param secondaryButtonTranslationKeyOrDetails Translation key with optional parameters and icon to be displayed next to the text of the button
|
|
1977
|
+
* @param extras Configuration object allowing for customization of the dialog behavior and visual aspects
|
|
1978
|
+
* @returns Observable containing dialog state on close
|
|
1979
|
+
*
|
|
1980
|
+
*
|
|
1981
|
+
* @example
|
|
1982
|
+
* Display dialog with message and two buttons using translation keys
|
|
1983
|
+
*
|
|
1984
|
+
* ```
|
|
1985
|
+
* // assume 'TITLE_KEY', 'WELCOME_MESSAGE', 'OK_BUTTON' and 'REFRESH_BUTTON' are translation keys
|
|
1986
|
+
* this.portalDialogService.openDialog('TITLE_KEY', 'WELCOME_MESSAGE', 'OK_BUTTON', 'REFRESH_BUTTON').subscribe((stateOnClose) => {
|
|
1987
|
+
* // operations when dialog has been closed
|
|
1988
|
+
* })
|
|
1989
|
+
* ```
|
|
1990
|
+
*
|
|
1991
|
+
* @example
|
|
1992
|
+
* Display dialog message with icon and single button
|
|
1993
|
+
*
|
|
1994
|
+
* ```
|
|
1995
|
+
* // Welcome message with question mark icon
|
|
1996
|
+
* const dialogMessage = {
|
|
1997
|
+
* key: 'WELCOME_MESSAGE',
|
|
1998
|
+
* icon: PrimeIcons.QUESTION
|
|
1999
|
+
* }
|
|
2000
|
+
* this.portalDialogService.openDialog('TITLE_KEY', dialogMessage, 'OK_BUTTON').subscribe((stateOnClose) => {
|
|
2001
|
+
* // operations when dialog has been closed
|
|
2002
|
+
* })
|
|
2003
|
+
* ```
|
|
2004
|
+
*
|
|
2005
|
+
* @example
|
|
2006
|
+
* Display dialog message with two customized buttons
|
|
2007
|
+
*
|
|
2008
|
+
* ```
|
|
2009
|
+
* // Ok button with check icon
|
|
2010
|
+
* const primaryButton = {
|
|
2011
|
+
* key: 'OK_BUTTON',
|
|
2012
|
+
* icon: PrimeIcons.CHECK
|
|
2013
|
+
* tooltipKey: 'OK_TOOLTIP',
|
|
2014
|
+
* tooltipPosition: 'bottom'
|
|
2015
|
+
* }
|
|
2016
|
+
*
|
|
2017
|
+
* // Refresh button with refresh icon
|
|
2018
|
+
* const secondaryButton = {
|
|
2019
|
+
* key: 'REFRESH_BUTTON',
|
|
2020
|
+
* icon: PrimeIcons.REFRESH
|
|
2021
|
+
* tooltipKey: 'REFRESH_TOOLTIP',
|
|
2022
|
+
* tooltipPosition: 'right'
|
|
2023
|
+
* }
|
|
2024
|
+
*
|
|
2025
|
+
* this.portalDialogService.openDialog('TITLE_KEY', 'WELCOME_MESSAGE', primaryButton, secondaryButton).subscribe((stateOnClose) => {
|
|
2026
|
+
* // operations when dialog has been closed
|
|
2027
|
+
* })
|
|
2028
|
+
* ```
|
|
2029
|
+
*
|
|
2030
|
+
* @example
|
|
2031
|
+
* Display dialog message without X button in top right corner
|
|
2032
|
+
*
|
|
2033
|
+
* ```
|
|
2034
|
+
* this.portalDialogService.openDialog('TITLE_KEY', 'WELCOME_MESSAGE', 'OK_BUTTON', 'REFRESH_BUTTON', false).subscribe((stateOnClose) => {
|
|
2035
|
+
* // operations when dialog has been closed
|
|
2036
|
+
* })
|
|
2037
|
+
* ```
|
|
2038
|
+
*
|
|
2039
|
+
* @example
|
|
2040
|
+
* React on dialog closing
|
|
2041
|
+
*
|
|
2042
|
+
* ```
|
|
2043
|
+
* this.portalDialogService.openDialog('TITLE_KEY', 'WELCOME_MESSAGE', 'OK_BUTTON', 'REFRESH_BUTTON').subscribe((stateOnClose) => {
|
|
2044
|
+
* // operations when dialog has been closed
|
|
2045
|
+
* })
|
|
2046
|
+
* ```
|
|
2047
|
+
*
|
|
2048
|
+
* @example
|
|
2049
|
+
* Display dialog with component
|
|
2050
|
+
*
|
|
2051
|
+
* ## Component declaration
|
|
2052
|
+
* ```
|
|
2053
|
+
* @Component({template: `<div>
|
|
2054
|
+
* <h1>{{header | translate}}</h1>
|
|
2055
|
+
* <input (change)="onInputChange($event)">
|
|
2056
|
+
* </div>`})
|
|
2057
|
+
* export class MyInputComponent implements DialogResult<string>, DialogButtonClicked, DialogPrimaryButtonDisabled, DialogSecondaryButtonDisabled {
|
|
2058
|
+
* @Input() header: string = ''
|
|
2059
|
+
* // change value to manipulate component state visible by dialog
|
|
2060
|
+
* dialogResult: string = ''
|
|
2061
|
+
* // emit true/false to disable primary button
|
|
2062
|
+
* @Output() primaryButtonEnabled: Subject<boolean> = new Subject()
|
|
2063
|
+
* // emit true/false to disable secondary button
|
|
2064
|
+
* @Output() secondaryButtonEnabled: Subject<boolean> = new Subject()
|
|
2065
|
+
*
|
|
2066
|
+
* // implement operations to be done on button clicks and return if the dialog should be closed
|
|
2067
|
+
* ocxDialogButtonClicked(state: DialogState<string>) {
|
|
2068
|
+
* return true
|
|
2069
|
+
* }
|
|
2070
|
+
*
|
|
2071
|
+
* onInputChange(event: any) {
|
|
2072
|
+
* this.dialogResult = event.target.value
|
|
2073
|
+
* }
|
|
2074
|
+
* }
|
|
2075
|
+
* ```
|
|
2076
|
+
*
|
|
2077
|
+
* ## PortalDialogService call
|
|
2078
|
+
* ```
|
|
2079
|
+
* const myComponent = {
|
|
2080
|
+
* type: MyInputComponent,
|
|
2081
|
+
* inputs: {
|
|
2082
|
+
* header: 'DIALOG_HEADER'
|
|
2083
|
+
* }
|
|
2084
|
+
* }
|
|
2085
|
+
* this.portalDialogService.openDialog('TITLE_KEY', myComponent, 'OK_BUTTON', 'REFRESH_BUTTON').subscribe((stateOnClose) => {
|
|
2086
|
+
* // operations when dialog has been closed
|
|
2087
|
+
* })
|
|
2088
|
+
* ```
|
|
2089
|
+
*
|
|
2090
|
+
* @example
|
|
2091
|
+
* Display dialog with component without passing inputs
|
|
2092
|
+
*
|
|
2093
|
+
* ## PortalDialogService call
|
|
2094
|
+
* ```
|
|
2095
|
+
* this.portalDialogService.openDialog('TITLE_KEY', MyInputComponent, 'OK_BUTTON', 'REFRESH_BUTTON').subscribe((stateOnClose) => {
|
|
2096
|
+
* // operations when dialog has been closed
|
|
2097
|
+
* })
|
|
2098
|
+
* ```
|
|
2099
|
+
*/
|
|
2100
|
+
openDialog<T>(title: TranslationKey | null, componentOrMessage: Type<any> | Type<DialogResult<T>> | Component<T> | TranslationKey | DialogMessage, primaryButtonTranslationKeyOrDetails: TranslationKey | ButtonDialogButtonDetails, secondaryButtonTranslationKeyOrDetails?: TranslationKey | ButtonDialogButtonDetails, extras?: PortalDialogConfig): Observable<DialogState<T> | null>;
|
|
2101
|
+
private cleanupAndCloseDialog;
|
|
2102
|
+
private removeDialogFromHtml;
|
|
2103
|
+
private setScopeIdentifier;
|
|
2104
|
+
private findDialogComponentBodyChild;
|
|
2105
|
+
private findBodyChild;
|
|
2106
|
+
private prepareTitleForTranslation;
|
|
2107
|
+
private buttonDetailsOrTranslationKey;
|
|
2108
|
+
private getComponentToRender;
|
|
2109
|
+
private isTranslationKey;
|
|
2110
|
+
private isString;
|
|
2111
|
+
private isDialogMessage;
|
|
2112
|
+
private isType;
|
|
2113
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PortalDialogService, never>;
|
|
2114
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<PortalDialogService>;
|
|
2115
|
+
}
|
|
2116
|
+
declare function providePortalDialogService(): (typeof PortalDialogService | typeof DialogService)[];
|
|
2117
|
+
|
|
2118
|
+
/**
|
|
2119
|
+
* Object describing details for button rendering containing key for translation, optional icon and optional parameters for translation
|
|
2120
|
+
*
|
|
2121
|
+
* @example
|
|
2122
|
+
* "Cancel meeting" button with X icon
|
|
2123
|
+
* ```
|
|
2124
|
+
* // assume such translation is in the translation file
|
|
2125
|
+
* const translations = {
|
|
2126
|
+
* MY_KEY = 'Cancel {{value}}'
|
|
2127
|
+
* }
|
|
2128
|
+
* const buttonDetails: ButtonDialogButtonDetails = {
|
|
2129
|
+
* key: 'MY_KEY',
|
|
2130
|
+
* icon: PrimeIcons.TIMES,
|
|
2131
|
+
* parameters: {
|
|
2132
|
+
* value: 'meeting'
|
|
2133
|
+
* }
|
|
2134
|
+
* }
|
|
2135
|
+
* ```
|
|
2136
|
+
*/
|
|
2137
|
+
interface ButtonDialogButtonDetails {
|
|
2138
|
+
key: string;
|
|
2139
|
+
id?: string;
|
|
2140
|
+
icon?: PrimeIcon;
|
|
2141
|
+
parameters?: Record<string, unknown>;
|
|
2142
|
+
tooltipKey?: string;
|
|
2143
|
+
tooltipPosition?: 'right' | 'left' | 'top' | 'bottom' | string | undefined;
|
|
2144
|
+
}
|
|
2145
|
+
interface ButtonDialogCustomButtonDetails extends ButtonDialogButtonDetails {
|
|
2146
|
+
id: string;
|
|
2147
|
+
alignment: 'right' | 'left';
|
|
2148
|
+
}
|
|
2149
|
+
interface ButtonDialogConfig {
|
|
2150
|
+
primaryButtonDetails?: ButtonDialogButtonDetails;
|
|
2151
|
+
secondaryButtonIncluded?: boolean;
|
|
2152
|
+
secondaryButtonDetails?: ButtonDialogButtonDetails;
|
|
2153
|
+
customButtons?: ButtonDialogCustomButtonDetails[];
|
|
2154
|
+
autoFocusButton?: DialogButton;
|
|
2155
|
+
autoFocusButtonCustomId?: string;
|
|
2156
|
+
}
|
|
2157
|
+
interface ButtonDialogData {
|
|
2158
|
+
config: ButtonDialogConfig;
|
|
2159
|
+
component?: Type<any>;
|
|
2160
|
+
componentData: any;
|
|
2161
|
+
}
|
|
2162
|
+
|
|
2163
|
+
declare class DialogContentComponent implements OnInit, OnDestroy {
|
|
2164
|
+
dynamicDialogConfig: DynamicDialogConfig<any, any>;
|
|
2165
|
+
dynamicDialogRef: DynamicDialogRef<any>;
|
|
2166
|
+
defaultDialogData: ButtonDialogData;
|
|
2167
|
+
dialogHost: _angular_core.Signal<ViewContainerRef | undefined>;
|
|
2168
|
+
dialogData: ButtonDialogData;
|
|
2169
|
+
componentRef: ComponentRef<any>;
|
|
2170
|
+
primaryButtonEnabledSub?: Subscription;
|
|
2171
|
+
secondaryButtonEnabledSub?: Subscription;
|
|
2172
|
+
customButtonEnabledSub?: Subscription;
|
|
2173
|
+
buttonClickedSub?: Subscription;
|
|
2174
|
+
ngOnInit(): void;
|
|
2175
|
+
ngOnDestroy(): void;
|
|
2176
|
+
loadComponent(): void;
|
|
2177
|
+
setUpDialogDataForDynamicConfig(): void;
|
|
2178
|
+
private toObservable;
|
|
2179
|
+
private isDialogResultImplemented;
|
|
2180
|
+
private isDialogButtonClickedImplemented;
|
|
2181
|
+
private isDialogPrimaryButtonDisabledImplemented;
|
|
2182
|
+
private isDialogSecondaryButtonDisabledImplemented;
|
|
2183
|
+
private isDialogCustomButtonDisabledImplemented;
|
|
2184
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DialogContentComponent, never>;
|
|
2185
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DialogContentComponent, "ocx-dialog-content", never, {}, {}, never, ["*"], false, never>;
|
|
2186
|
+
}
|
|
2187
|
+
|
|
2188
|
+
declare class DialogInlineComponent {
|
|
2189
|
+
config: _angular_core.InputSignal<ButtonDialogConfig>;
|
|
2190
|
+
resultEmitter: _angular_core.OutputEmitterRef<unknown>;
|
|
2191
|
+
buttonClicked(event: DialogState<unknown>): void;
|
|
2192
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DialogInlineComponent, never>;
|
|
2193
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DialogInlineComponent, "ocx-dialog-inline", never, { "config": { "alias": "config"; "required": false; "isSignal": true; }; }, { "resultEmitter": "resultEmitter"; }, never, ["*"], false, never>;
|
|
2194
|
+
}
|
|
2195
|
+
|
|
2196
|
+
declare const defaultPrimaryButtonDetails: ButtonDialogButtonDetails;
|
|
2197
|
+
declare const defaultSecondaryButtonDetails: ButtonDialogButtonDetails;
|
|
2198
|
+
declare const defaultDialogData: ButtonDialogData;
|
|
2199
|
+
declare class DialogFooterComponent implements OnInit {
|
|
2200
|
+
dynamicDialogConfig: DynamicDialogConfig<any, any>;
|
|
2201
|
+
dynamicDialogRef: DynamicDialogRef<any>;
|
|
2202
|
+
config: _angular_core.InputSignal<ButtonDialogConfig | undefined>;
|
|
2203
|
+
dialogData: _angular_core.WritableSignal<ButtonDialogData>;
|
|
2204
|
+
primaryButtonDisabled$: Observable<boolean | undefined> | undefined;
|
|
2205
|
+
secondaryButtonDisabled$: Observable<boolean | undefined> | undefined;
|
|
2206
|
+
customButtonsDisabled$: BehaviorSubject<Record<string, boolean>>;
|
|
2207
|
+
leftCustomButtons: _angular_core.WritableSignal<ButtonDialogCustomButtonDetails[]>;
|
|
2208
|
+
rightCustomButtons: _angular_core.WritableSignal<ButtonDialogCustomButtonDetails[]>;
|
|
2209
|
+
buttonClickedEmitter: _angular_core.OutputEmitterRef<DialogState<unknown>>;
|
|
2210
|
+
primaryButton: _angular_core.Signal<ElementRef<any> | undefined>;
|
|
2211
|
+
secondaryButton: _angular_core.Signal<ElementRef<any> | undefined>;
|
|
2212
|
+
customButtons: _angular_core.Signal<readonly ElementRef<any>[]>;
|
|
2213
|
+
constructor();
|
|
2214
|
+
ngOnInit(): void;
|
|
2215
|
+
primaryButtonAction(): void;
|
|
2216
|
+
secondaryButtonAction(): void;
|
|
2217
|
+
customButtonAction(button: ButtonDialogCustomButtonDetails): void;
|
|
2218
|
+
resolveCustomButtonDisabled(customButtonsDisabled: Record<string, boolean>, buttonId: string): boolean;
|
|
2219
|
+
loadComponent(): void;
|
|
2220
|
+
setUpDialogDataForDynamicConfig(): void;
|
|
2221
|
+
private buttonAction;
|
|
2222
|
+
private setupCustomButtons;
|
|
2223
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DialogFooterComponent, never>;
|
|
2224
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DialogFooterComponent, "ocx-dialog-footer", never, { "config": { "alias": "config"; "required": false; "isSignal": true; }; }, { "buttonClickedEmitter": "buttonClickedEmitter"; }, never, never, false, never>;
|
|
2225
|
+
}
|
|
2226
|
+
|
|
2227
|
+
declare class GlobalErrorComponent {
|
|
2228
|
+
private router;
|
|
2229
|
+
private route;
|
|
2230
|
+
errCode: _angular_core.ModelSignal<string | undefined>;
|
|
2231
|
+
backUrl: _angular_core.WritableSignal<string | undefined>;
|
|
2232
|
+
constructor();
|
|
2233
|
+
onGoBack(): void;
|
|
2234
|
+
reload(): void;
|
|
2235
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<GlobalErrorComponent, never>;
|
|
2236
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<GlobalErrorComponent, "ocx-error", never, { "errCode": { "alias": "errCode"; "required": false; "isSignal": true; }; }, { "errCode": "errCodeChange"; }, never, never, false, never>;
|
|
2237
|
+
}
|
|
2238
|
+
|
|
2239
|
+
declare class ExportDataService {
|
|
2240
|
+
private readonly dateUtils;
|
|
2241
|
+
private readonly translateService;
|
|
2242
|
+
private readonly locale;
|
|
2243
|
+
exportCsv<T extends string | number | symbol>(columns: {
|
|
2244
|
+
id: string;
|
|
2245
|
+
nameKey: string;
|
|
2246
|
+
columnType: ColumnType;
|
|
2247
|
+
}[], data: Partial<Record<T, unknown | undefined>>[], fileName: string): Promise<void>;
|
|
2248
|
+
private translateColumnNames;
|
|
2249
|
+
private formatData;
|
|
2250
|
+
private translateData;
|
|
2251
|
+
private escapeDelimiterAndLineBreaks;
|
|
2252
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ExportDataService, never>;
|
|
2253
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<ExportDataService>;
|
|
2254
|
+
}
|
|
2255
|
+
|
|
2256
|
+
declare class DynamicPipe implements PipeTransform {
|
|
2257
|
+
private injector;
|
|
2258
|
+
knownPipes: {
|
|
2259
|
+
[name: string]: PipeTransform;
|
|
2260
|
+
};
|
|
2261
|
+
constructor();
|
|
2262
|
+
transform(value: any, requiredPipe?: Type<any>, pipeArgs?: any): any;
|
|
2263
|
+
transform2(value: any, pipeToken: any, ...pipeArgs: any[]): any;
|
|
2264
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DynamicPipe, never>;
|
|
2265
|
+
static ɵpipe: _angular_core.ɵɵPipeDeclaration<DynamicPipe, "dynamicPipe", false>;
|
|
2266
|
+
}
|
|
2267
|
+
|
|
2268
|
+
declare class OcxTimeAgoPipe extends TranslatePipe implements OnDestroy, PipeTransform {
|
|
2269
|
+
private readonly changeDetectorRef;
|
|
2270
|
+
private readonly ngZone;
|
|
2271
|
+
private timer;
|
|
2272
|
+
constructor();
|
|
2273
|
+
transform(value: string): any;
|
|
2274
|
+
ngOnDestroy(): void;
|
|
2275
|
+
private removeTimer;
|
|
2276
|
+
private getSecondsUntilUpdate;
|
|
2277
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<OcxTimeAgoPipe, never>;
|
|
2278
|
+
static ɵpipe: _angular_core.ɵɵPipeDeclaration<OcxTimeAgoPipe, "timeago", false>;
|
|
2279
|
+
}
|
|
2280
|
+
|
|
2281
|
+
declare class RelativeDatePipe implements PipeTransform {
|
|
2282
|
+
private readonly translateService;
|
|
2283
|
+
rtf: Intl.RelativeTimeFormat;
|
|
2284
|
+
constructor();
|
|
2285
|
+
transform(value: any): any;
|
|
2286
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<RelativeDatePipe, never>;
|
|
2287
|
+
static ɵpipe: _angular_core.ɵɵPipeDeclaration<RelativeDatePipe, "relativeDate", false>;
|
|
2288
|
+
}
|
|
2289
|
+
|
|
2290
|
+
declare class AngularAcceleratorPrimeNgModule {
|
|
2291
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AngularAcceleratorPrimeNgModule, never>;
|
|
2292
|
+
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<AngularAcceleratorPrimeNgModule, never, [typeof i1.BreadcrumbModule, typeof i2.ChipModule, typeof i3.CheckboxModule, typeof i4.SelectModule, typeof i5.ButtonModule, typeof i6.DialogModule, typeof i7.PickListModule, typeof i8.SelectButtonModule, typeof i9.DataViewModule, typeof i10.TableModule, typeof i11.MenuModule, typeof i12.ChartModule, typeof i13.MultiSelectModule, typeof i14.SkeletonModule, typeof i15.MessageModule, typeof i16.FloatLabelModule, typeof i17.PopoverModule, typeof i18.FocusTrapModule, typeof i19.TooltipModule, typeof i20.TimelineModule, typeof i21.RippleModule, typeof i8.SelectButtonModule, typeof i22.SharedModule], [typeof i1.BreadcrumbModule, typeof i2.ChipModule, typeof i3.CheckboxModule, typeof i4.SelectModule, typeof i5.ButtonModule, typeof i6.DialogModule, typeof i7.PickListModule, typeof i8.SelectButtonModule, typeof i9.DataViewModule, typeof i10.TableModule, typeof i11.MenuModule, typeof i12.ChartModule, typeof i13.MultiSelectModule, typeof i14.SkeletonModule, typeof i15.MessageModule, typeof i16.FloatLabelModule, typeof i17.PopoverModule, typeof i18.FocusTrapModule, typeof i19.TooltipModule, typeof i20.TimelineModule, typeof i21.RippleModule, typeof i8.SelectButtonModule, typeof i22.SharedModule]>;
|
|
2293
|
+
static ɵinj: _angular_core.ɵɵInjectorDeclaration<AngularAcceleratorPrimeNgModule>;
|
|
2294
|
+
}
|
|
2295
|
+
|
|
2296
|
+
declare class AngularAcceleratorMissingTranslationHandler extends MultiLanguageMissingTranslationHandler {
|
|
2297
|
+
}
|
|
2298
|
+
declare class AngularAcceleratorModule {
|
|
2299
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AngularAcceleratorModule, never>;
|
|
2300
|
+
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<AngularAcceleratorModule, [typeof ColumnGroupSelectionComponent, typeof CustomGroupColumnSelectorComponent, typeof DataLayoutSelectionComponent, typeof DataListGridSortingComponent, typeof DataListGridComponent, typeof DataTableComponent, typeof DataViewComponent, typeof InteractiveDataViewComponent, typeof LifecycleComponent, typeof PageHeaderComponent, typeof DynamicPipe, typeof SearchHeaderComponent, typeof DiagramComponent, typeof GroupByCountDiagramComponent, typeof OcxContentComponent, typeof OcxContentContainerComponent, typeof IfPermissionDirective, typeof IfBreakpointDirective, typeof SrcDirective, typeof OcxTimeAgoPipe, typeof AdvancedDirective, typeof TooltipOnOverflowDirective, typeof FilterViewComponent, typeof TemplateDirective, typeof OcxContentDirective, typeof OcxContentContainerDirective, typeof GlobalErrorComponent, typeof LoadingIndicatorComponent, typeof LoadingIndicatorDirective, typeof BasicDirective, typeof DialogFooterComponent, typeof DialogContentComponent, typeof DialogInlineComponent, typeof DialogMessageContentComponent, typeof ConsentComponent], [typeof i36.CommonModule, typeof AngularAcceleratorPrimeNgModule, typeof i38.AngularRemoteComponentsModule, typeof i39.TranslateModule, typeof i40.FormsModule, typeof i41.RouterModule, typeof i40.ReactiveFormsModule], [typeof i38.AngularRemoteComponentsModule, typeof ColumnGroupSelectionComponent, typeof CustomGroupColumnSelectorComponent, typeof DataLayoutSelectionComponent, typeof DataListGridComponent, typeof DataTableComponent, typeof DataViewComponent, typeof InteractiveDataViewComponent, typeof LifecycleComponent, typeof PageHeaderComponent, typeof SearchHeaderComponent, typeof DiagramComponent, typeof GroupByCountDiagramComponent, typeof OcxContentComponent, typeof OcxContentContainerComponent, typeof IfPermissionDirective, typeof IfBreakpointDirective, typeof SrcDirective, typeof OcxTimeAgoPipe, typeof AdvancedDirective, typeof TooltipOnOverflowDirective, typeof FilterViewComponent, typeof TemplateDirective, typeof OcxContentDirective, typeof OcxContentContainerDirective, typeof GlobalErrorComponent, typeof LoadingIndicatorComponent, typeof LoadingIndicatorDirective, typeof BasicDirective, typeof DialogFooterComponent, typeof DialogContentComponent, typeof DialogInlineComponent, typeof DialogMessageContentComponent, typeof ConsentComponent]>;
|
|
2301
|
+
static ɵinj: _angular_core.ɵɵInjectorDeclaration<AngularAcceleratorModule>;
|
|
2302
|
+
}
|
|
2303
|
+
|
|
2304
|
+
type Extend<TObj extends Record<string, unknown>, K extends string> = {
|
|
2305
|
+
[TKey in keyof TObj & string as `${K}${TKey}`]: TObj[TKey] extends Record<string, unknown> ? Extend<TObj[TKey], `${K}${TKey}.`> : TObj[TKey];
|
|
2306
|
+
};
|
|
2307
|
+
type NonObjectKeysOf<T> = {
|
|
2308
|
+
[K in keyof T]: T[K] extends Array<any> ? K : T[K] extends object ? (T[K] extends Date ? K : never) : K;
|
|
2309
|
+
}[keyof T];
|
|
2310
|
+
type ObjectKeysOf<T> = {
|
|
2311
|
+
[K in keyof T]: T[K] extends Array<any> ? never : T[K] extends object ? K : never;
|
|
2312
|
+
}[keyof T];
|
|
2313
|
+
type Filter<TObj extends object, TKey = keyof TObj> = TKey extends keyof TObj ? TObj[TKey] extends Array<any> ? TObj : TObj[TKey] extends object ? Filter<TObj[TKey]> : Pick<TObj, NonObjectKeysOf<TObj>> | Filter<Pick<TObj, ObjectKeysOf<TObj>>> : never;
|
|
2314
|
+
type UnionToIntersection<U> = (U extends any ? (k: U) => void : never) extends (k: infer I) => void ? I : never;
|
|
2315
|
+
type Result<TObj extends Record<string, unknown>> = UnionToIntersection<Filter<Extend<TObj, ''>>>;
|
|
2316
|
+
declare function flattenObject<O extends Record<string, unknown>>(ob: O): Result<O>;
|
|
2317
|
+
|
|
2318
|
+
declare const atLeastOneFieldFilledValidator: ValidatorFn;
|
|
2319
|
+
|
|
2320
|
+
declare class ColorUtils {
|
|
2321
|
+
static calculatePoint(i: number, intervalSize: number, colorRangeInfo: {
|
|
2322
|
+
colorStart: any;
|
|
2323
|
+
colorEnd: any;
|
|
2324
|
+
useEndAsStart: any;
|
|
2325
|
+
}): any;
|
|
2326
|
+
static interpolateColors(dataLength: number, colorScale: (arg0: any) => any, colorRangeInfo: {
|
|
2327
|
+
colorStart: any;
|
|
2328
|
+
colorEnd: any;
|
|
2329
|
+
useEndAsStart: any;
|
|
2330
|
+
}): any;
|
|
2331
|
+
}
|
|
2332
|
+
|
|
2333
|
+
declare abstract class DataOperationStrategy {
|
|
2334
|
+
endsWith(column: DataTableColumn, value: unknown, target: unknown): boolean;
|
|
2335
|
+
startsWith(column: DataTableColumn, value: unknown, target: unknown): boolean;
|
|
2336
|
+
contains(column: DataTableColumn, value: unknown, target: unknown): boolean;
|
|
2337
|
+
notContains(column: DataTableColumn, value: unknown, target: unknown): boolean;
|
|
2338
|
+
equals(column: DataTableColumn, value: unknown, target: unknown): boolean;
|
|
2339
|
+
notEquals(column: DataTableColumn, value: unknown, target: unknown): boolean;
|
|
2340
|
+
lessThan(column: DataTableColumn, value: unknown, target: unknown): boolean;
|
|
2341
|
+
greaterThan(column: DataTableColumn, value: unknown, target: unknown): boolean;
|
|
2342
|
+
lessThanOrEqual(column: DataTableColumn, value: unknown, target: unknown): boolean;
|
|
2343
|
+
greaterThanOrEqual(column: DataTableColumn, value: unknown, target: unknown): boolean;
|
|
2344
|
+
isEmpty(column: DataTableColumn, value: unknown): boolean;
|
|
2345
|
+
isNotEmpty(column: DataTableColumn, value: unknown): boolean;
|
|
2346
|
+
compare(a: unknown, b: unknown, column: DataTableColumn): number;
|
|
2347
|
+
filterOptions(hayStack: unknown[], filterObject: FilterObject, columns: DataTableColumn[]): unknown[];
|
|
2348
|
+
filter(hayStack: unknown[], filter: Filter$1, columns: DataTableColumn[]): unknown[];
|
|
2349
|
+
mapHaystackItemToValue(item: unknown, filter: Filter$1 | FilterObject): any;
|
|
2350
|
+
}
|
|
2351
|
+
|
|
2352
|
+
declare class DateUtils {
|
|
2353
|
+
protected locale: string;
|
|
2354
|
+
options: Intl.DateTimeFormatOptions;
|
|
2355
|
+
localizedDate(date: string | number | Date | undefined): string;
|
|
2356
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DateUtils, never>;
|
|
2357
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<DateUtils>;
|
|
2358
|
+
}
|
|
2359
|
+
|
|
2360
|
+
declare class ObjectUtils {
|
|
2361
|
+
static resolveFieldData(data: any, field: any): any;
|
|
2362
|
+
static isFunction(obj: any): boolean;
|
|
2363
|
+
}
|
|
2364
|
+
|
|
2365
|
+
declare function enumToDropdownOptions<T extends object>(translateService: TranslateService, enumType: T, translationKeyPrefix: string): Observable<{
|
|
2366
|
+
label: string;
|
|
2367
|
+
value: T;
|
|
2368
|
+
}[]>;
|
|
2369
|
+
|
|
2370
|
+
type hasShowTimeFunction = (key: string) => boolean;
|
|
2371
|
+
/**
|
|
2372
|
+
* removeNullValues: whether to remove entries from the search criteria where the value is null
|
|
2373
|
+
*/
|
|
2374
|
+
interface BuildSearchCriteriaParameters {
|
|
2375
|
+
removeNullValues: boolean;
|
|
2376
|
+
}
|
|
2377
|
+
/**
|
|
2378
|
+
* Safely builds the search criteria based on form values
|
|
2379
|
+
* @param formRawValue the raw value of the form to use
|
|
2380
|
+
* @param datePickers a list of primeng datePickers of the form (use `@ViewChildren(DatePicker) datePickers!: QueryList<DatePicker>;`)
|
|
2381
|
+
* @param parameters {@link BuildSearchCriteriaParameters} to use when building the search criteria
|
|
2382
|
+
* @returns the search criteria as a partial of T (T = type of the search criteria)
|
|
2383
|
+
*/
|
|
2384
|
+
declare function buildSearchCriteria<T>(formRawValue: any, datePickers: QueryList<DatePicker>, { removeNullValues }: BuildSearchCriteriaParameters): Partial<T>;
|
|
2385
|
+
|
|
2386
|
+
declare function findEntryWithKeyword(array: string[] | undefined, keyword: string): string | null;
|
|
2387
|
+
declare function removeKeyword(input: string, keyword: string): string;
|
|
2388
|
+
declare function searchPrefixWithSpecialChars(strings: string[], prefix: string): string | null;
|
|
2389
|
+
|
|
2390
|
+
declare function findTemplate(templates: PrimeTemplate[], names: string[]): PrimeTemplate | undefined;
|
|
2391
|
+
|
|
2392
|
+
declare function limit(columnFilterData: Filter$1[], amount: number, options: ColumnFilterDataSelectOptions): Filter$1[];
|
|
2393
|
+
|
|
2394
|
+
declare class ImageLogoUrlUtils {
|
|
2395
|
+
static createLogoUrl(apiPrefix: string, url?: string): string | undefined;
|
|
2396
|
+
}
|
|
2397
|
+
|
|
2398
|
+
/**
|
|
2399
|
+
* Resolves a router link to a string, handling string, function, and Promise types
|
|
2400
|
+
*/
|
|
2401
|
+
declare function resolveRouterLink(routerLink: RouterLink): Promise<string>;
|
|
2402
|
+
/**
|
|
2403
|
+
* Base action handler that can be used directly or extended by components
|
|
2404
|
+
*/
|
|
2405
|
+
declare function handleAction(router: Router, action: Action | DataAction, data?: any): Promise<void>;
|
|
2406
|
+
/**
|
|
2407
|
+
* Synchronous wrapper for use in template event handlers where Promise return is not expected
|
|
2408
|
+
*/
|
|
2409
|
+
declare function handleActionSync(router: Router, action: Action | DataAction, data?: any): void;
|
|
2410
|
+
|
|
2411
|
+
export { AdvancedDirective, AngularAcceleratorMissingTranslationHandler, AngularAcceleratorModule, AngularAcceleratorPrimeNgModule, BasicDirective, BreadcrumbService, ColorUtils, ColumnGroupSelectionComponent, ColumnType, ConsentComponent, CustomGroupColumnSelectorComponent, DataLayoutSelectionComponent, DataListGridComponent, DataListGridSortingComponent, DataOperationStrategy, DataSortDirection, DataTableComponent, DataViewComponent, DateUtils, DiagramComponent, DiagramType, DialogContentComponent, DialogFooterComponent, DialogInlineComponent, DialogMessageContentComponent, DynamicPipe, ExportDataService, FilterType, FilterViewComponent, GlobalErrorComponent, GroupByCountDiagramComponent, IfBreakpointDirective, IfPermissionDirective, ImageLogoUrlUtils, InteractiveDataViewComponent, LifecycleComponent, LoadingIndicatorComponent, LoadingIndicatorDirective, ObjectUtils, ObservableOutputEmitterRef, OcxContentComponent, OcxContentContainerComponent, OcxContentContainerDirective, OcxContentDirective, OcxTimeAgoPipe, PageHeaderComponent, PortalDialogService, RelativeDatePipe, SearchHeaderComponent, SrcDirective, TemplateDirective, TemplateType, TooltipOnOverflowDirective, atLeastOneFieldFilledValidator, buildSearchCriteria, defaultDialogData, defaultPrimaryButtonDetails, defaultSecondaryButtonDetails, enumToDropdownOptions, findEntryWithKeyword, findTemplate, flattenObject, handleAction, handleActionSync, limit, observableOutput, providePortalDialogService, removeKeyword, resolveRouterLink, searchPrefixWithSpecialChars };
|
|
2412
|
+
export type { Action, ActionColumnChangedEvent, BreadCrumbMenuItem, BuildSearchCriteriaParameters, ButtonDialogButtonDetails, ButtonDialogConfig, ButtonDialogCustomButtonDetails, ButtonDialogData, ChartType, ColumnFilterDataSelectOptions, ColumnGroupData, ColumnGroupSelectionComponentState, ColumnSelectionChangedEvent, ConsentChangedEvent, CustomGroupColumnSelectorComponentState, DataAction, DataLayoutSelectionComponentState, DataListGridComponentState, DataListGridSortingComponentState, DataTableColumn, DataTableComponentState, DataViewComponentState, DiagramColumn, DiagramComponentState, DiagramLayouts, DialogButton, DialogButtonClicked, DialogCustomButtonsDisabled, DialogPrimaryButtonDisabled, DialogResult, DialogSecondaryButtonDisabled, DialogState, DialogStateButtonClicked, Filter$1 as Filter, FilterObject, FilterViewComponentState, FilterViewDisplayMode, FilterViewRowDetailData, FilterViewRowDisplayData, GridColumnOptions, GroupByCountDiagramComponentState, GroupSelectionChangedEvent, HomeItem, InteractiveDataViewComponentState, LifecycleStep, ListGridData, ListGridDataMenuItem, ListGridSort, ObjectDetailItem, OnMissingPermission, PermissionInput, PortalDialogConfig, PortalDialogServiceData, PrimeIcon, Primitive, Result, RouterLink, Row, RowListGridData, SearchConfigData, SearchHeaderComponentState, Sort, TranslationKey, TranslationKeyWithParameters, ViewLayout, hasShowTimeFunction };
|