@onecx/angular-accelerator 6.0.0-rc.2 → 6.0.0-rc.20
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/assets/i18n/de.json +3 -3
- package/assets/i18n/en.json +3 -3
- package/assets/i18n/primeng/de.json +4 -1
- package/assets/i18n/primeng/en.json +4 -1
- package/assets/styles.scss +0 -4
- package/fesm2022/onecx-angular-accelerator-testing.mjs +160 -33
- package/fesm2022/onecx-angular-accelerator-testing.mjs.map +1 -1
- package/fesm2022/onecx-angular-accelerator.mjs +1780 -989
- package/fesm2022/onecx-angular-accelerator.mjs.map +1 -1
- package/index.d.ts +20 -8
- package/lib/angular-accelerator-primeng.module.d.ts +6 -4
- package/lib/angular-accelerator.module.d.ts +33 -20
- package/lib/components/content/content.component.d.ts +13 -0
- package/lib/components/content-container/content-container.component.d.ts +19 -0
- package/lib/components/custom-group-column-selector/custom-group-column-selector.component.d.ts +0 -2
- package/lib/components/data-list-grid/data-list-grid.component.d.ts +8 -35
- package/lib/components/data-list-grid-sorting/data-list-grid-sorting.component.d.ts +2 -2
- package/lib/components/data-table/data-table.component.d.ts +16 -55
- package/lib/components/data-view/data-view.component.d.ts +9 -77
- package/lib/components/diagram/diagram.component.d.ts +0 -2
- package/lib/components/dialog/dialog-content/dialog-content.component.d.ts +29 -0
- package/lib/components/dialog/dialog-footer/dialog-footer.component.d.ts +39 -0
- package/lib/components/dialog/dialog-inline/dialog-inline.component.d.ts +11 -0
- package/lib/components/dialog/dialog-message-content/dialog-message-content.component.d.ts +8 -0
- package/lib/components/error-component/global-error.component.d.ts +12 -0
- package/lib/components/filter-view/filter-view.component.d.ts +3 -5
- package/lib/components/group-by-count-diagram/group-by-count-diagram.component.d.ts +1 -8
- package/lib/components/interactive-data-view/interactive-data-view.component.d.ts +33 -51
- package/lib/components/lifecycle/lifecycle.component.d.ts +12 -0
- package/lib/components/loading-indicator/loading-indicator.component.d.ts +5 -0
- package/lib/components/page-header/page-header.component.d.ts +2 -8
- package/lib/components/search-header/search-header.component.d.ts +4 -10
- package/lib/directives/advanced.directive.d.ts +5 -6
- package/lib/directives/basic.directive.d.ts +11 -0
- package/lib/directives/content-container.directive.d.ts +23 -0
- package/lib/directives/content.directive.d.ts +21 -0
- package/lib/directives/if-breakpoint.directive.d.ts +3 -4
- package/lib/directives/if-permission.directive.d.ts +7 -18
- package/lib/directives/loading-indicator.directive.d.ts +16 -0
- package/lib/directives/src.directive.d.ts +2 -3
- package/lib/directives/template.directive.d.ts +9 -0
- package/lib/directives/tooltipOnOverflow.directive.d.ts +2 -3
- package/lib/model/breadcrumb-menu-item.model.d.ts +0 -4
- package/lib/model/button-dialog.d.ts +47 -0
- package/lib/model/column-type.model.d.ts +1 -8
- package/lib/model/filter.model.d.ts +16 -4
- package/lib/pipes/dynamic.pipe.d.ts +2 -2
- package/lib/pipes/ocxtimeago.pipe.d.ts +3 -3
- package/lib/pipes/relative-date.pipe.d.ts +10 -0
- package/lib/services/breadcrumb.service.d.ts +2 -4
- package/lib/services/export-data.service.d.ts +18 -0
- package/lib/services/portal-dialog.service.d.ts +427 -0
- package/lib/utils/criteria.utils.d.ts +3 -3
- package/lib/utils/data-operation-strategy.d.ts +20 -0
- package/lib/utils/dateutils.d.ts +0 -5
- package/lib/utils/image-logo-url.utils.d.ts +3 -0
- package/migrations.json +34 -0
- package/package.json +23 -17
- package/testing/column-group-selection.harness.d.ts +2 -2
- package/testing/content-container.harness.d.ts +7 -0
- package/testing/content.harness.d.ts +10 -0
- package/testing/custom-group-column-selector.harness.d.ts +6 -6
- package/testing/data-layout-selection.harness.d.ts +7 -6
- package/testing/data-list-grid.harness.d.ts +3 -3
- package/testing/data-table.harness.d.ts +3 -3
- package/testing/data-view.harness.d.ts +2 -2
- package/testing/default-grid-item.harness.d.ts +1 -1
- package/testing/default-list-item.harness.d.ts +4 -4
- package/testing/diagram.harness.d.ts +1 -1
- package/testing/dialog-content.harness.d.ts +6 -0
- package/testing/dialog-footer.harness.d.ts +14 -0
- package/testing/dialog-inline.harness.d.ts +8 -0
- package/testing/dialog-message-content.harness.d.ts +8 -0
- package/testing/filter-view.harness.d.ts +6 -6
- package/testing/group-by-count-diagram.harness.d.ts +1 -1
- package/testing/index.d.ts +7 -0
- package/testing/interactive-data-view.harness.d.ts +11 -9
- package/testing/lifecycle.harness.d.ts +6 -0
- package/testing/page-header.harness.d.ts +6 -6
- package/testing/search-header.harness.d.ts +5 -5
- package/esm2022/index.mjs +0 -61
- package/esm2022/lib/angular-accelerator-primeng.module.mjs +0 -146
- package/esm2022/lib/angular-accelerator.module.mjs +0 -194
- package/esm2022/lib/components/column-group-selection/column-group-selection.component.mjs +0 -90
- package/esm2022/lib/components/custom-group-column-selector/custom-group-column-selector.component.mjs +0 -184
- package/esm2022/lib/components/data-layout-selection/data-layout-selection.component.mjs +0 -73
- package/esm2022/lib/components/data-list-grid/data-list-grid.component.mjs +0 -615
- package/esm2022/lib/components/data-list-grid-sorting/data-list-grid-sorting.component.mjs +0 -107
- package/esm2022/lib/components/data-loading-error/data-loading-error.component.mjs +0 -28
- package/esm2022/lib/components/data-sort-base/data-sort-base.mjs +0 -134
- package/esm2022/lib/components/data-table/data-table.component.mjs +0 -828
- package/esm2022/lib/components/data-view/data-view.component.mjs +0 -672
- package/esm2022/lib/components/diagram/diagram.component.mjs +0 -183
- package/esm2022/lib/components/filter-view/filter-view.component.mjs +0 -263
- package/esm2022/lib/components/group-by-count-diagram/group-by-count-diagram.component.mjs +0 -133
- package/esm2022/lib/components/interactive-data-view/interactive-data-view.component.mjs +0 -724
- package/esm2022/lib/components/page-header/page-header.component.mjs +0 -238
- package/esm2022/lib/components/search-header/search-header.component.mjs +0 -199
- package/esm2022/lib/directives/advanced.directive.mjs +0 -36
- package/esm2022/lib/directives/if-breakpoint.directive.mjs +0 -47
- package/esm2022/lib/directives/if-permission.directive.mjs +0 -103
- package/esm2022/lib/directives/src.directive.mjs +0 -65
- package/esm2022/lib/directives/tooltipOnOverflow.directive.mjs +0 -48
- package/esm2022/lib/functions/at-least-one-field-filled-validator.mjs +0 -7
- package/esm2022/lib/functions/flatten-object.mjs +0 -20
- package/esm2022/lib/model/breadcrumb-menu-item.model.mjs +0 -2
- package/esm2022/lib/model/column-type.model.mjs +0 -16
- package/esm2022/lib/model/data-action.mjs +0 -2
- package/esm2022/lib/model/data-column-name-id.model.mjs +0 -2
- package/esm2022/lib/model/data-sort-direction.mjs +0 -2
- package/esm2022/lib/model/data-table-column.model.mjs +0 -2
- package/esm2022/lib/model/diagram-column.mjs +0 -2
- package/esm2022/lib/model/diagram-data.mjs +0 -2
- package/esm2022/lib/model/diagram-type.mjs +0 -2
- package/esm2022/lib/model/filter.model.mjs +0 -6
- package/esm2022/lib/pipes/dynamic.pipe.mjs +0 -58
- package/esm2022/lib/pipes/ocxtimeago.pipe.mjs +0 -107
- package/esm2022/lib/services/breadcrumb.service.mjs +0 -128
- package/esm2022/lib/services/translation-cache.service.mjs +0 -41
- package/esm2022/lib/utils/async-translate-loader.utils.mjs +0 -12
- package/esm2022/lib/utils/caching-translate-loader.utils.mjs +0 -15
- package/esm2022/lib/utils/colorutils.mjs +0 -19
- package/esm2022/lib/utils/create-remote-component-and-mfe-translate-loader.utils.mjs +0 -12
- package/esm2022/lib/utils/create-remote-component-translate-loader.utils.mjs +0 -25
- package/esm2022/lib/utils/create-translate-loader.utils.mjs +0 -27
- package/esm2022/lib/utils/criteria.utils.mjs +0 -28
- package/esm2022/lib/utils/dateutils.mjs +0 -38
- package/esm2022/lib/utils/dynamic-locale-id.mjs +0 -21
- package/esm2022/lib/utils/enum-to-dropdown-options.utils.mjs +0 -8
- package/esm2022/lib/utils/filter.utils.mjs +0 -6
- package/esm2022/lib/utils/objectutils.mjs +0 -30
- package/esm2022/lib/utils/primeicon.utils.mjs +0 -2
- package/esm2022/lib/utils/rxjs-utils.mjs +0 -13
- package/esm2022/lib/utils/string-and-array-helper-functions.utils.mjs +0 -22
- package/esm2022/lib/utils/template.utils.mjs +0 -11
- package/esm2022/lib/utils/translate.combined.loader.mjs +0 -39
- package/esm2022/onecx-angular-accelerator.mjs +0 -5
- package/esm2022/testing/column-group-selection.harness.mjs +0 -10
- package/esm2022/testing/custom-group-column-selector.harness.mjs +0 -31
- package/esm2022/testing/data-layout-selection.harness.mjs +0 -32
- package/esm2022/testing/data-list-grid.harness.mjs +0 -51
- package/esm2022/testing/data-table.harness.mjs +0 -69
- package/esm2022/testing/data-view.harness.mjs +0 -12
- package/esm2022/testing/default-grid-item.harness.mjs +0 -24
- package/esm2022/testing/default-list-item.harness.mjs +0 -26
- package/esm2022/testing/diagram.harness.mjs +0 -22
- package/esm2022/testing/filter-view.harness.mjs +0 -18
- package/esm2022/testing/group-by-count-diagram.harness.mjs +0 -10
- package/esm2022/testing/index.mjs +0 -23
- package/esm2022/testing/interactive-data-view.harness.mjs +0 -21
- package/esm2022/testing/more-actions-menu-button.harness.mjs +0 -35
- package/esm2022/testing/onecx-angular-accelerator-testing.mjs +0 -5
- package/esm2022/testing/page-header.harness.mjs +0 -81
- package/esm2022/testing/search-header.harness.mjs +0 -36
- package/esm2022/testing/slot.harness.mjs +0 -5
- package/lib/components/data-loading-error/data-loading-error.component.d.ts +0 -8
- package/lib/services/translation-cache.service.d.ts +0 -16
- package/lib/utils/async-translate-loader.utils.d.ts +0 -9
- package/lib/utils/caching-translate-loader.utils.d.ts +0 -13
- package/lib/utils/create-remote-component-and-mfe-translate-loader.utils.d.ts +0 -6
- package/lib/utils/create-remote-component-translate-loader.utils.d.ts +0 -5
- package/lib/utils/create-translate-loader.utils.d.ts +0 -5
- package/lib/utils/translate.combined.loader.d.ts +0 -9
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { AfterContentInit, DoCheck, EventEmitter,
|
|
2
|
-
import { DataListGridComponent, DataListGridComponentState, ListGridData } from '../data-list-grid/data-list-grid.component';
|
|
3
|
-
import { Row, Sort, DataTableComponent, DataTableComponentState } from '../data-table/data-table.component';
|
|
4
|
-
import { DataTableColumn } from '../../model/data-table-column.model';
|
|
5
|
-
import { DataSortDirection } from '../../model/data-sort-direction';
|
|
6
|
-
import { DataAction } from '../../model/data-action';
|
|
7
|
-
import { BehaviorSubject, ReplaySubject, Observable } from 'rxjs';
|
|
1
|
+
import { AfterContentInit, DoCheck, EventEmitter, OnInit, QueryList, TemplateRef } from '@angular/core';
|
|
8
2
|
import { PrimeTemplate } from 'primeng/api';
|
|
3
|
+
import { BehaviorSubject, Observable, ReplaySubject } from 'rxjs';
|
|
4
|
+
import { DataAction } from '../../model/data-action';
|
|
5
|
+
import { DataSortDirection } from '../../model/data-sort-direction';
|
|
6
|
+
import { DataTableColumn } from '../../model/data-table-column.model';
|
|
9
7
|
import { Filter } from '../../model/filter.model';
|
|
8
|
+
import { DataListGridComponent, DataListGridComponentState, ListGridData } from '../data-list-grid/data-list-grid.component';
|
|
9
|
+
import { DataTableComponent, DataTableComponentState, Row, Sort } from '../data-table/data-table.component';
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
11
11
|
export type RowListGridData = ListGridData & Row;
|
|
12
12
|
export type DataViewComponentState = DataListGridComponentState & DataTableComponentState;
|
|
13
13
|
export declare class DataViewComponent implements DoCheck, OnInit, AfterContentInit {
|
|
14
|
-
private injector;
|
|
14
|
+
private readonly injector;
|
|
15
15
|
_dataListGridComponent: DataListGridComponent | undefined;
|
|
16
16
|
set listGrid(ref: DataListGridComponent | undefined);
|
|
17
17
|
get listGrid(): DataListGridComponent | undefined;
|
|
@@ -58,51 +58,19 @@ export declare class DataViewComponent implements DoCheck, OnInit, AfterContentI
|
|
|
58
58
|
sortStates: DataSortDirection[];
|
|
59
59
|
pageSizes: number[];
|
|
60
60
|
pageSize: number | undefined;
|
|
61
|
-
showAllOption: boolean;
|
|
62
61
|
stringTableCellTemplate: TemplateRef<any> | undefined;
|
|
63
62
|
stringTableCellChildTemplate: TemplateRef<any> | undefined;
|
|
64
63
|
get _stringTableCell(): TemplateRef<any> | undefined;
|
|
65
64
|
numberTableCellTemplate: TemplateRef<any> | undefined;
|
|
66
65
|
numberTableCellChildTemplate: TemplateRef<any> | undefined;
|
|
67
66
|
get _numberTableCell(): TemplateRef<any> | undefined;
|
|
68
|
-
/**
|
|
69
|
-
* @deprecated Will be removed and instead to change the template of a specific column
|
|
70
|
-
* use the new approach instead by following the naming convention column id + IdTableCell
|
|
71
|
-
* e.g. for a column with the id 'status' in DataTable use pTemplate="statusIdTableCell"
|
|
72
|
-
*/
|
|
73
|
-
customTableCellTemplate: TemplateRef<any> | undefined;
|
|
74
|
-
/**
|
|
75
|
-
* @deprecated Will be removed and instead to change the template of a specific column
|
|
76
|
-
* use the new approach instead by following the naming convention column id + IdTableCell
|
|
77
|
-
* e.g. for a column with the id 'status' in DataTable use pTemplate="statusIdTableCell"
|
|
78
|
-
*/
|
|
79
|
-
customTableCellChildTemplate: TemplateRef<any> | undefined;
|
|
80
|
-
get _customTableCell(): TemplateRef<any> | undefined;
|
|
81
67
|
dateTableCellTemplate: TemplateRef<any> | undefined;
|
|
82
|
-
/**
|
|
83
|
-
* @deprecated Will be replaced by dateTableCellTemplate
|
|
84
|
-
*/
|
|
85
|
-
get tableDateCellTemplate(): TemplateRef<any> | undefined;
|
|
86
|
-
set tableDateCellTemplate(value: TemplateRef<any> | undefined);
|
|
87
|
-
/**
|
|
88
|
-
* @deprecated Will be replaced by dateTableCellChildTemplate
|
|
89
|
-
*/
|
|
90
|
-
tableDateCellChildTemplate: TemplateRef<any> | undefined;
|
|
91
68
|
dateTableCellChildTemplate: TemplateRef<any> | undefined;
|
|
92
69
|
get _dateTableCell(): TemplateRef<any> | undefined;
|
|
93
70
|
tableCellTemplate: TemplateRef<any> | undefined;
|
|
94
71
|
tableCellChildTemplate: TemplateRef<any> | undefined;
|
|
95
72
|
get _tableCell(): TemplateRef<any> | undefined;
|
|
96
73
|
translationKeyTableCellTemplate: TemplateRef<any> | undefined;
|
|
97
|
-
/**
|
|
98
|
-
* @deprecated Will be replaced by translationKeyTableCellTemplate
|
|
99
|
-
*/
|
|
100
|
-
get tableTranslationKeyCellTemplate(): TemplateRef<any> | undefined;
|
|
101
|
-
set tableTranslationKeyCellTemplate(value: TemplateRef<any> | undefined);
|
|
102
|
-
/**
|
|
103
|
-
* @deprecated Will be replaced by translationKeyTableCellChildTemplate
|
|
104
|
-
*/
|
|
105
|
-
tableTranslationKeyCellChildTemplate: TemplateRef<any> | undefined;
|
|
106
74
|
translationKeyTableCellChildTemplate: TemplateRef<any> | undefined;
|
|
107
75
|
get _translationKeyTableCell(): TemplateRef<any> | undefined;
|
|
108
76
|
gridItemSubtitleLinesTemplate: TemplateRef<any> | undefined;
|
|
@@ -118,15 +86,6 @@ export declare class DataViewComponent implements DoCheck, OnInit, AfterContentI
|
|
|
118
86
|
listItemChildTemplate: TemplateRef<any> | undefined;
|
|
119
87
|
get _listItem(): TemplateRef<any> | undefined;
|
|
120
88
|
relativeDateTableCellTemplate: TemplateRef<any> | undefined;
|
|
121
|
-
/**
|
|
122
|
-
* @deprecated Will be replaced by relativeDateTableCellTemplate
|
|
123
|
-
*/
|
|
124
|
-
get tableRelativeDateCellTemplate(): TemplateRef<any> | undefined;
|
|
125
|
-
set tableRelativeDateCellTemplate(value: TemplateRef<any> | undefined);
|
|
126
|
-
/**
|
|
127
|
-
* @deprecated Will be replace by relativeDateTableCellChildTemplate
|
|
128
|
-
*/
|
|
129
|
-
tableRelativeDateCellChildTemplate: TemplateRef<any> | undefined;
|
|
130
89
|
relativeDateTableCellChildTemplate: TemplateRef<any> | undefined;
|
|
131
90
|
get _relativeDateTableCell(): TemplateRef<any> | undefined;
|
|
132
91
|
listValueTemplate: TemplateRef<any> | undefined;
|
|
@@ -141,19 +100,6 @@ export declare class DataViewComponent implements DoCheck, OnInit, AfterContentI
|
|
|
141
100
|
relativeDateListValueTemplate: TemplateRef<any> | undefined;
|
|
142
101
|
relativeDateListValueChildTemplate: TemplateRef<any> | undefined;
|
|
143
102
|
get _relativeDateListValue(): TemplateRef<any> | undefined;
|
|
144
|
-
/**
|
|
145
|
-
* @deprecated Will be removed and instead to change the template of a specific column
|
|
146
|
-
* use the new approach instead by following the naming convention column id + IdListValue
|
|
147
|
-
* e.g. for a column with the id 'status' in DataListGrid use pTemplate="statusIdListValue"
|
|
148
|
-
*/
|
|
149
|
-
customListValueTemplate: TemplateRef<any> | undefined;
|
|
150
|
-
/**
|
|
151
|
-
* @deprecated Will be removed and instead to change the template of a specific column
|
|
152
|
-
* use the new approach instead by following the naming convention column id + IdListValue
|
|
153
|
-
* e.g. for a column with the id 'status' DataListGrid use pTemplate="statusIdListValue"
|
|
154
|
-
*/
|
|
155
|
-
customListValueChildTemplate: TemplateRef<any> | undefined;
|
|
156
|
-
get _customListValue(): TemplateRef<any> | undefined;
|
|
157
103
|
stringListValueTemplate: TemplateRef<any> | undefined;
|
|
158
104
|
stringListValueChildTemplate: TemplateRef<any> | undefined;
|
|
159
105
|
get _stringListValue(): TemplateRef<any> | undefined;
|
|
@@ -178,19 +124,6 @@ export declare class DataViewComponent implements DoCheck, OnInit, AfterContentI
|
|
|
178
124
|
numberTableFilterCellTemplate: TemplateRef<any> | undefined;
|
|
179
125
|
numberTableFilterCellChildTemplate: TemplateRef<any> | undefined;
|
|
180
126
|
get _numberTableFilterCell(): TemplateRef<any> | undefined;
|
|
181
|
-
/**
|
|
182
|
-
* @deprecated Will be removed and instead to change the template of a specific column filter
|
|
183
|
-
* use the new approach instead by following the naming convention column id + IdTableFilterCell
|
|
184
|
-
* e.g. for a column with the id 'status' in DataTable use pTemplate="statusIdTableFilterCell"
|
|
185
|
-
*/
|
|
186
|
-
customTableFilterCellTemplate: TemplateRef<any> | undefined;
|
|
187
|
-
/**
|
|
188
|
-
* @deprecated Will be removed and instead to change the template of a specific column filter
|
|
189
|
-
* use the new approach instead by following the naming convention column id + IdTableFilterCell
|
|
190
|
-
* e.g. for a column with the id 'status' in DataTable use pTemplate="statusIdTableFilterCell"
|
|
191
|
-
*/
|
|
192
|
-
customTableFilterCellChildTemplate: TemplateRef<any> | undefined;
|
|
193
|
-
get _customTableFilterCell(): TemplateRef<any> | undefined;
|
|
194
127
|
additionalActions: DataAction[];
|
|
195
128
|
filtered: EventEmitter<Filter[]>;
|
|
196
129
|
sorted: EventEmitter<Sort>;
|
|
@@ -214,7 +147,6 @@ export declare class DataViewComponent implements DoCheck, OnInit, AfterContentI
|
|
|
214
147
|
get editItemObserved(): boolean;
|
|
215
148
|
get deleteItemObserved(): boolean;
|
|
216
149
|
get selectionChangedObserved(): boolean;
|
|
217
|
-
constructor(injector: Injector);
|
|
218
150
|
ngOnInit(): void;
|
|
219
151
|
ngAfterContentInit(): void;
|
|
220
152
|
ngDoCheck(): void;
|
|
@@ -229,5 +161,5 @@ export declare class DataViewComponent implements DoCheck, OnInit, AfterContentI
|
|
|
229
161
|
onPageChange(event: number): void;
|
|
230
162
|
onPageSizeChange(event: number): void;
|
|
231
163
|
static ɵfac: i0.ɵɵFactoryDeclaration<DataViewComponent, never>;
|
|
232
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DataViewComponent, "ocx-data-view", never, { "deletePermission": { "alias": "deletePermission"; "required": false; }; "editPermission": { "alias": "editPermission"; "required": false; }; "viewPermission": { "alias": "viewPermission"; "required": false; }; "deleteActionVisibleField": { "alias": "deleteActionVisibleField"; "required": false; }; "deleteActionEnabledField": { "alias": "deleteActionEnabledField"; "required": false; }; "viewActionVisibleField": { "alias": "viewActionVisibleField"; "required": false; }; "viewActionEnabledField": { "alias": "viewActionEnabledField"; "required": false; }; "editActionVisibleField": { "alias": "editActionVisibleField"; "required": false; }; "editActionEnabledField": { "alias": "editActionEnabledField"; "required": false; }; "tableSelectionEnabledField": { "alias": "tableSelectionEnabledField"; "required": false; }; "tableAllowSelectAll": { "alias": "tableAllowSelectAll"; "required": false; }; "data": { "alias": "data"; "required": false; }; "name": { "alias": "name"; "required": false; }; "titleLineId": { "alias": "titleLineId"; "required": false; }; "subtitleLineIds": { "alias": "subtitleLineIds"; "required": false; }; "layout": { "alias": "layout"; "required": false; }; "columns": { "alias": "columns"; "required": false; }; "emptyResultsMessage": { "alias": "emptyResultsMessage"; "required": false; }; "clientSideSorting": { "alias": "clientSideSorting"; "required": false; }; "clientSideFiltering": { "alias": "clientSideFiltering"; "required": false; }; "fallbackImage": { "alias": "fallbackImage"; "required": false; }; "filters": { "alias": "filters"; "required": false; }; "sortField": { "alias": "sortField"; "required": false; }; "sortDirection": { "alias": "sortDirection"; "required": false; }; "listGridPaginator": { "alias": "listGridPaginator"; "required": false; }; "tablePaginator": { "alias": "tablePaginator"; "required": false; }; "page": { "alias": "page"; "required": false; }; "totalRecordsOnServer": { "alias": "totalRecordsOnServer"; "required": false; }; "currentPageShowingKey": { "alias": "currentPageShowingKey"; "required": false; }; "currentPageShowingWithTotalOnServerKey": { "alias": "currentPageShowingWithTotalOnServerKey"; "required": false; }; "selectedRows": { "alias": "selectedRows"; "required": false; }; "frozenActionColumn": { "alias": "frozenActionColumn"; "required": false; }; "actionColumnPosition": { "alias": "actionColumnPosition"; "required": false; }; "paginator": { "alias": "paginator"; "required": false; }; "sortStates": { "alias": "sortStates"; "required": false; }; "pageSizes": { "alias": "pageSizes"; "required": false; }; "pageSize": { "alias": "pageSize"; "required": false; }; "
|
|
164
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DataViewComponent, "ocx-data-view", never, { "deletePermission": { "alias": "deletePermission"; "required": false; }; "editPermission": { "alias": "editPermission"; "required": false; }; "viewPermission": { "alias": "viewPermission"; "required": false; }; "deleteActionVisibleField": { "alias": "deleteActionVisibleField"; "required": false; }; "deleteActionEnabledField": { "alias": "deleteActionEnabledField"; "required": false; }; "viewActionVisibleField": { "alias": "viewActionVisibleField"; "required": false; }; "viewActionEnabledField": { "alias": "viewActionEnabledField"; "required": false; }; "editActionVisibleField": { "alias": "editActionVisibleField"; "required": false; }; "editActionEnabledField": { "alias": "editActionEnabledField"; "required": false; }; "tableSelectionEnabledField": { "alias": "tableSelectionEnabledField"; "required": false; }; "tableAllowSelectAll": { "alias": "tableAllowSelectAll"; "required": false; }; "data": { "alias": "data"; "required": false; }; "name": { "alias": "name"; "required": false; }; "titleLineId": { "alias": "titleLineId"; "required": false; }; "subtitleLineIds": { "alias": "subtitleLineIds"; "required": false; }; "layout": { "alias": "layout"; "required": false; }; "columns": { "alias": "columns"; "required": false; }; "emptyResultsMessage": { "alias": "emptyResultsMessage"; "required": false; }; "clientSideSorting": { "alias": "clientSideSorting"; "required": false; }; "clientSideFiltering": { "alias": "clientSideFiltering"; "required": false; }; "fallbackImage": { "alias": "fallbackImage"; "required": false; }; "filters": { "alias": "filters"; "required": false; }; "sortField": { "alias": "sortField"; "required": false; }; "sortDirection": { "alias": "sortDirection"; "required": false; }; "listGridPaginator": { "alias": "listGridPaginator"; "required": false; }; "tablePaginator": { "alias": "tablePaginator"; "required": false; }; "page": { "alias": "page"; "required": false; }; "totalRecordsOnServer": { "alias": "totalRecordsOnServer"; "required": false; }; "currentPageShowingKey": { "alias": "currentPageShowingKey"; "required": false; }; "currentPageShowingWithTotalOnServerKey": { "alias": "currentPageShowingWithTotalOnServerKey"; "required": false; }; "selectedRows": { "alias": "selectedRows"; "required": false; }; "frozenActionColumn": { "alias": "frozenActionColumn"; "required": false; }; "actionColumnPosition": { "alias": "actionColumnPosition"; "required": false; }; "paginator": { "alias": "paginator"; "required": false; }; "sortStates": { "alias": "sortStates"; "required": false; }; "pageSizes": { "alias": "pageSizes"; "required": false; }; "pageSize": { "alias": "pageSize"; "required": false; }; "stringTableCellTemplate": { "alias": "stringTableCellTemplate"; "required": false; }; "numberTableCellTemplate": { "alias": "numberTableCellTemplate"; "required": false; }; "dateTableCellTemplate": { "alias": "dateTableCellTemplate"; "required": false; }; "tableCellTemplate": { "alias": "tableCellTemplate"; "required": false; }; "translationKeyTableCellTemplate": { "alias": "translationKeyTableCellTemplate"; "required": false; }; "gridItemSubtitleLinesTemplate": { "alias": "gridItemSubtitleLinesTemplate"; "required": false; }; "listItemSubtitleLinesTemplate": { "alias": "listItemSubtitleLinesTemplate"; "required": false; }; "gridItemTemplate": { "alias": "gridItemTemplate"; "required": false; }; "listItemTemplate": { "alias": "listItemTemplate"; "required": false; }; "relativeDateTableCellTemplate": { "alias": "relativeDateTableCellTemplate"; "required": false; }; "listValueTemplate": { "alias": "listValueTemplate"; "required": false; }; "translationKeyListValueTemplate": { "alias": "translationKeyListValueTemplate"; "required": false; }; "numberListValueTemplate": { "alias": "numberListValueTemplate"; "required": false; }; "relativeDateListValueTemplate": { "alias": "relativeDateListValueTemplate"; "required": false; }; "stringListValueTemplate": { "alias": "stringListValueTemplate"; "required": false; }; "dateListValueTemplate": { "alias": "dateListValueTemplate"; "required": false; }; "tableFilterCellTemplate": { "alias": "tableFilterCellTemplate"; "required": false; }; "dateTableFilterCellTemplate": { "alias": "dateTableFilterCellTemplate"; "required": false; }; "relativeDateTableFilterCellTemplate": { "alias": "relativeDateTableFilterCellTemplate"; "required": false; }; "translationKeyTableFilterCellTemplate": { "alias": "translationKeyTableFilterCellTemplate"; "required": false; }; "stringTableFilterCellTemplate": { "alias": "stringTableFilterCellTemplate"; "required": false; }; "numberTableFilterCellTemplate": { "alias": "numberTableFilterCellTemplate"; "required": false; }; "additionalActions": { "alias": "additionalActions"; "required": false; }; "parentTemplates": { "alias": "parentTemplates"; "required": false; }; }, { "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>;
|
|
233
165
|
}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { EventEmitter, OnChanges, OnInit } from '@angular/core';
|
|
2
|
-
import { TranslateService } from '@ngx-translate/core';
|
|
3
2
|
import { ChartData, ChartOptions } from 'chart.js';
|
|
4
3
|
import { DiagramData } from '../../model/diagram-data';
|
|
5
4
|
import { DiagramType } from '../../model/diagram-type';
|
|
@@ -44,7 +43,6 @@ export declare class DiagramComponent implements OnInit, OnChanges {
|
|
|
44
43
|
shownDiagramTypes: DiagramLayouts[];
|
|
45
44
|
private colorRangeInfo;
|
|
46
45
|
private colorScale;
|
|
47
|
-
constructor(translateService: TranslateService);
|
|
48
46
|
ngOnChanges(): void;
|
|
49
47
|
ngOnInit(): void;
|
|
50
48
|
generateChart(colorScale: any, colorRangeInfo: any): void;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { ComponentRef, OnDestroy, OnInit, ViewContainerRef } from '@angular/core';
|
|
2
|
+
import { Subscription } from 'rxjs';
|
|
3
|
+
import { DynamicDialogConfig, DynamicDialogRef } from 'primeng/dynamicdialog';
|
|
4
|
+
import { ButtonDialogData } from '../../../model/button-dialog';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class DialogContentComponent implements OnInit, OnDestroy {
|
|
7
|
+
dynamicDialogConfig: DynamicDialogConfig<any, any>;
|
|
8
|
+
dynamicDialogRef: DynamicDialogRef<any>;
|
|
9
|
+
defaultDialogData: ButtonDialogData;
|
|
10
|
+
dialogHost: ViewContainerRef;
|
|
11
|
+
dialogData: ButtonDialogData;
|
|
12
|
+
componentRef: ComponentRef<any>;
|
|
13
|
+
primaryButtonEnabledSub?: Subscription;
|
|
14
|
+
secondaryButtonEnabledSub?: Subscription;
|
|
15
|
+
customButtonEnabledSub?: Subscription;
|
|
16
|
+
buttonClickedSub?: Subscription;
|
|
17
|
+
ngOnInit(): void;
|
|
18
|
+
ngOnDestroy(): void;
|
|
19
|
+
loadComponent(): void;
|
|
20
|
+
setUpDialogDataForDynamicConfig(): void;
|
|
21
|
+
private toObservable;
|
|
22
|
+
private isDialogResultImplemented;
|
|
23
|
+
private isDialogButtonClickedImplemented;
|
|
24
|
+
private isDialogPrimaryButtonDisabledImplemented;
|
|
25
|
+
private isDialogSecondaryButtonDisabledImplemented;
|
|
26
|
+
private isDialogCustomButtonDisabledImplemented;
|
|
27
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DialogContentComponent, never>;
|
|
28
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DialogContentComponent, "ocx-dialog-content", never, {}, {}, never, ["*"], false, never>;
|
|
29
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { AfterViewInit, ElementRef, EventEmitter, OnInit, QueryList, ViewContainerRef } from '@angular/core';
|
|
2
|
+
import { DynamicDialogConfig, DynamicDialogRef } from 'primeng/dynamicdialog';
|
|
3
|
+
import { BehaviorSubject, Observable } from 'rxjs';
|
|
4
|
+
import { ButtonDialogButtonDetails, ButtonDialogConfig, ButtonDialogCustomButtonDetails, ButtonDialogData } from '../../../model/button-dialog';
|
|
5
|
+
import { DialogState } from '../../../services/portal-dialog.service';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class DialogFooterComponent implements OnInit, AfterViewInit {
|
|
8
|
+
dynamicDialogConfig: DynamicDialogConfig<any, any>;
|
|
9
|
+
dynamicDialogRef: DynamicDialogRef<any>;
|
|
10
|
+
defaultPrimaryButtonDetails: ButtonDialogButtonDetails;
|
|
11
|
+
defaultSecondaryButtonDetails: ButtonDialogButtonDetails;
|
|
12
|
+
defaultDialogData: ButtonDialogData;
|
|
13
|
+
config: ButtonDialogConfig;
|
|
14
|
+
dialogData: ButtonDialogData;
|
|
15
|
+
primaryButtonDisabled$: Observable<boolean | undefined> | undefined;
|
|
16
|
+
secondaryButtonDisabled$: Observable<boolean | undefined> | undefined;
|
|
17
|
+
customButtonsDisabled$: BehaviorSubject<Record<string, boolean>>;
|
|
18
|
+
leftCustomButtons: ButtonDialogCustomButtonDetails[];
|
|
19
|
+
rightCustomButtons: ButtonDialogCustomButtonDetails[];
|
|
20
|
+
buttonClickedEmitter: EventEmitter<DialogState<unknown>>;
|
|
21
|
+
primaryButton: ViewContainerRef;
|
|
22
|
+
_secondaryButton: ViewContainerRef;
|
|
23
|
+
set secondaryButton(content: ViewContainerRef);
|
|
24
|
+
get secondaryButton(): ViewContainerRef;
|
|
25
|
+
customButtons: QueryList<ElementRef>;
|
|
26
|
+
ngAfterViewInit(): void;
|
|
27
|
+
ngOnInit(): void;
|
|
28
|
+
primaryButtonAction(): void;
|
|
29
|
+
secondaryButtonAction(): void;
|
|
30
|
+
customButtonAction(button: ButtonDialogCustomButtonDetails): void;
|
|
31
|
+
resolveCustomButtonDisabled(customButtonsDisabled: Record<string, boolean>, buttonId: string): boolean;
|
|
32
|
+
loadComponent(): void;
|
|
33
|
+
setUpDialogDataForInput(): void;
|
|
34
|
+
setUpDialogDataForDynamicConfig(): void;
|
|
35
|
+
private buttonAction;
|
|
36
|
+
private setupCustomButtons;
|
|
37
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DialogFooterComponent, never>;
|
|
38
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DialogFooterComponent, "ocx-dialog-footer", never, { "config": { "alias": "config"; "required": false; }; }, { "buttonClickedEmitter": "buttonClickedEmitter"; }, never, never, false, never>;
|
|
39
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { ButtonDialogConfig } from '../../../model/button-dialog';
|
|
3
|
+
import { DialogState } from '../../../services/portal-dialog.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class DialogInlineComponent {
|
|
6
|
+
config: ButtonDialogConfig;
|
|
7
|
+
resultEmitter: EventEmitter<any>;
|
|
8
|
+
buttonClicked(event: DialogState<unknown>): void;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DialogInlineComponent, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DialogInlineComponent, "ocx-dialog-inline", never, { "config": { "alias": "config"; "required": false; }; }, { "resultEmitter": "resultEmitter"; }, never, ["*"], false, never>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class DialogMessageContentComponent {
|
|
3
|
+
message: string;
|
|
4
|
+
messageParameters: object;
|
|
5
|
+
icon: string;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DialogMessageContentComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DialogMessageContentComponent, "ng-component", never, { "message": { "alias": "message"; "required": false; }; "messageParameters": { "alias": "messageParameters"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; }, {}, never, never, false, never>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class GlobalErrorComponent {
|
|
3
|
+
private router;
|
|
4
|
+
private route;
|
|
5
|
+
errCode: string | undefined;
|
|
6
|
+
backUrl: string;
|
|
7
|
+
constructor();
|
|
8
|
+
onGoBack(): void;
|
|
9
|
+
reload(): void;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GlobalErrorComponent, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GlobalErrorComponent, "ocx-error", never, { "errCode": { "alias": "errCode"; "required": false; }; }, {}, never, never, false, never>;
|
|
12
|
+
}
|
|
@@ -4,7 +4,7 @@ import { DataTableColumn } from '../../model/data-table-column.model';
|
|
|
4
4
|
import { BehaviorSubject, Observable } from 'rxjs';
|
|
5
5
|
import { ColumnType } from '../../model/column-type.model';
|
|
6
6
|
import { PrimeTemplate } from 'primeng/api';
|
|
7
|
-
import {
|
|
7
|
+
import { Popover } from 'primeng/popover';
|
|
8
8
|
import { Row } from '../data-table/data-table.component';
|
|
9
9
|
import { Button } from 'primeng/button';
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
@@ -43,7 +43,7 @@ export declare class FilterViewComponent implements OnInit {
|
|
|
43
43
|
componentStateChanged: EventEmitter<FilterViewComponentState>;
|
|
44
44
|
columnFilterTableColumns: DataTableColumn[];
|
|
45
45
|
ngOnInit(): void;
|
|
46
|
-
panel:
|
|
46
|
+
panel: Popover;
|
|
47
47
|
manageButton: Button;
|
|
48
48
|
trigger: HTMLElement | undefined;
|
|
49
49
|
fitlerViewNoSelection: TemplateRef<any> | undefined;
|
|
@@ -73,9 +73,7 @@ export declare class FilterViewComponent implements OnInit {
|
|
|
73
73
|
getColumnForFilter(filter: Filter, columns: DataTableColumn[]): DataTableColumn | undefined;
|
|
74
74
|
getColumn(colId: string, columns: DataTableColumn[]): DataTableColumn | undefined;
|
|
75
75
|
resolveFieldData(object: any, key: any): any;
|
|
76
|
-
getRowObjectFromFiterData(filter: Filter):
|
|
77
|
-
[x: string]: unknown;
|
|
78
|
-
};
|
|
76
|
+
getRowObjectFromFiterData(filter: Filter): Record<string, unknown>;
|
|
79
77
|
getRowForValueColumn(row: Row): Row;
|
|
80
78
|
static ɵfac: i0.ɵɵFactoryDeclaration<FilterViewComponent, never>;
|
|
81
79
|
static ɵcmp: i0.ɵɵComponentDeclaration<FilterViewComponent, "ocx-filter-view", never, { "filters": { "alias": "filters"; "required": false; }; "columns": { "alias": "columns"; "required": false; }; "displayMode": { "alias": "displayMode"; "required": false; }; "selectDisplayedChips": { "alias": "selectDisplayedChips"; "required": false; }; "chipStyleClass": { "alias": "chipStyleClass"; "required": false; }; "tableStyle": { "alias": "tableStyle"; "required": false; }; "panelStyle": { "alias": "panelStyle"; "required": false; }; "templates": { "alias": "templates"; "required": false; }; }, { "filtered": "filtered"; "componentStateChanged": "componentStateChanged"; }, never, never, false, never>;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import { TranslateService } from '@ngx-translate/core';
|
|
3
2
|
import { Observable } from 'rxjs';
|
|
4
3
|
import { ColumnType } from '../../model/column-type.model';
|
|
5
4
|
import { DiagramColumn } from '../../model/diagram-column';
|
|
@@ -19,11 +18,6 @@ export declare class GroupByCountDiagramComponent implements OnInit {
|
|
|
19
18
|
* 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.
|
|
20
19
|
*/
|
|
21
20
|
fillMissingColors: boolean;
|
|
22
|
-
/**
|
|
23
|
-
* @deprecated Will be replaced by diagramType
|
|
24
|
-
*/
|
|
25
|
-
get type(): DiagramType;
|
|
26
|
-
set type(value: DiagramType);
|
|
27
21
|
supportedDiagramTypes: DiagramType[];
|
|
28
22
|
private _data$;
|
|
29
23
|
get data(): unknown[];
|
|
@@ -43,10 +37,9 @@ export declare class GroupByCountDiagramComponent implements OnInit {
|
|
|
43
37
|
dataSelected: EventEmitter<any>;
|
|
44
38
|
diagramTypeChanged: EventEmitter<DiagramType>;
|
|
45
39
|
componentStateChanged: EventEmitter<GroupByCountDiagramComponentState>;
|
|
46
|
-
constructor(translateService: TranslateService);
|
|
47
40
|
ngOnInit(): void;
|
|
48
41
|
dataClicked(event: any): void;
|
|
49
42
|
onDiagramTypeChanged(newDiagramType: DiagramType): void;
|
|
50
43
|
static ɵfac: i0.ɵɵFactoryDeclaration<GroupByCountDiagramComponent, never>;
|
|
51
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GroupByCountDiagramComponent, "ocx-group-by-count-diagram", never, { "sumKey": { "alias": "sumKey"; "required": false; }; "diagramType": { "alias": "diagramType"; "required": false; }; "fillMissingColors": { "alias": "fillMissingColors"; "required": false; }; "
|
|
44
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GroupByCountDiagramComponent, "ocx-group-by-count-diagram", never, { "sumKey": { "alias": "sumKey"; "required": false; }; "diagramType": { "alias": "diagramType"; "required": false; }; "fillMissingColors": { "alias": "fillMissingColors"; "required": false; }; "supportedDiagramTypes": { "alias": "supportedDiagramTypes"; "required": false; }; "data": { "alias": "data"; "required": false; }; "columnType": { "alias": "columnType"; "required": false; }; "columnField": { "alias": "columnField"; "required": false; }; "column": { "alias": "column"; "required": false; }; "colors": { "alias": "colors"; "required": false; }; }, { "dataSelected": "dataSelected"; "diagramTypeChanged": "diagramTypeChanged"; "componentStateChanged": "componentStateChanged"; }, never, never, false, never>;
|
|
52
45
|
}
|
|
@@ -1,17 +1,16 @@
|
|
|
1
1
|
import { AfterContentInit, EventEmitter, OnInit, QueryList, TemplateRef } from '@angular/core';
|
|
2
|
+
import { PrimeTemplate } from 'primeng/api';
|
|
2
3
|
import { BehaviorSubject, Observable, ReplaySubject } from 'rxjs';
|
|
3
4
|
import { DataAction } from '../../model/data-action';
|
|
4
5
|
import { DataSortDirection } from '../../model/data-sort-direction';
|
|
5
6
|
import { DataTableColumn } from '../../model/data-table-column.model';
|
|
7
|
+
import { Filter } from '../../model/filter.model';
|
|
6
8
|
import { ColumnGroupSelectionComponentState, GroupSelectionChangedEvent } from '../column-group-selection/column-group-selection.component';
|
|
7
|
-
import { PrimeTemplate } from 'primeng/api';
|
|
8
9
|
import { ActionColumnChangedEvent, ColumnSelectionChangedEvent, CustomGroupColumnSelectorComponentState } from '../custom-group-column-selector/custom-group-column-selector.component';
|
|
9
|
-
import { SlotService } from '@onecx/angular-remote-components';
|
|
10
10
|
import { DataLayoutSelectionComponentState } from '../data-layout-selection/data-layout-selection.component';
|
|
11
11
|
import { DataListGridSortingComponentState } from '../data-list-grid-sorting/data-list-grid-sorting.component';
|
|
12
12
|
import { Row, Sort } from '../data-table/data-table.component';
|
|
13
13
|
import { DataViewComponent, DataViewComponentState, RowListGridData } from '../data-view/data-view.component';
|
|
14
|
-
import { Filter } from '../../model/filter.model';
|
|
15
14
|
import { FilterViewComponentState, FilterViewDisplayMode } from '../filter-view/filter-view.component';
|
|
16
15
|
import * as i0 from "@angular/core";
|
|
17
16
|
export type InteractiveDataViewComponentState = ColumnGroupSelectionComponentState & CustomGroupColumnSelectorComponentState & DataLayoutSelectionComponentState & DataListGridSortingComponentState & DataViewComponentState & FilterViewComponentState;
|
|
@@ -20,7 +19,7 @@ export interface ColumnGroupData {
|
|
|
20
19
|
groupKey: string;
|
|
21
20
|
}
|
|
22
21
|
export declare class InteractiveDataViewComponent implements OnInit, AfterContentInit {
|
|
23
|
-
private slotService;
|
|
22
|
+
private readonly slotService;
|
|
24
23
|
_dataViewComponent: DataViewComponent | undefined;
|
|
25
24
|
set dataView(ref: DataViewComponent | undefined);
|
|
26
25
|
get dataView(): DataViewComponent | undefined;
|
|
@@ -31,7 +30,7 @@ export declare class InteractiveDataViewComponent implements OnInit, AfterConten
|
|
|
31
30
|
dataViewComponentState$: ReplaySubject<DataViewComponentState>;
|
|
32
31
|
filterViewComponentState$: ReplaySubject<FilterViewComponentState>;
|
|
33
32
|
searchConfigPermission: string | string[] | undefined;
|
|
34
|
-
deletePermission: string | string[] |
|
|
33
|
+
deletePermission: string | string[] | undefined;
|
|
35
34
|
editPermission: string | string[] | undefined;
|
|
36
35
|
viewPermission: string | string[] | undefined;
|
|
37
36
|
deleteActionVisibleField: string | undefined;
|
|
@@ -57,7 +56,6 @@ export declare class InteractiveDataViewComponent implements OnInit, AfterConten
|
|
|
57
56
|
sortStates: DataSortDirection[];
|
|
58
57
|
pageSizes: number[];
|
|
59
58
|
pageSize: number | undefined;
|
|
60
|
-
showAllOption: boolean;
|
|
61
59
|
totalRecordsOnServer: number | undefined;
|
|
62
60
|
layout: 'grid' | 'list' | 'table';
|
|
63
61
|
defaultGroupKey: string;
|
|
@@ -84,66 +82,56 @@ export declare class InteractiveDataViewComponent implements OnInit, AfterConten
|
|
|
84
82
|
displayedColumns$: Observable<DataTableColumn[]> | undefined;
|
|
85
83
|
get displayedColumnKeys(): string[];
|
|
86
84
|
set displayedColumnKeys(value: string[]);
|
|
87
|
-
/**
|
|
88
|
-
* @deprecated Use `displayedColumnKeys` and pass in column ids instead of `DataTableColumn` objects
|
|
89
|
-
*/
|
|
90
|
-
get displayedColumns(): DataTableColumn[];
|
|
91
|
-
set displayedColumns(value: DataTableColumn[]);
|
|
92
85
|
frozenActionColumn: boolean;
|
|
93
86
|
actionColumnPosition: 'left' | 'right';
|
|
87
|
+
headerStyleClass: string | undefined;
|
|
88
|
+
contentStyleClass: string | undefined;
|
|
94
89
|
tableCell: TemplateRef<any> | undefined;
|
|
95
|
-
|
|
96
|
-
* @deprecated Will be replaced by dateTableCell
|
|
97
|
-
*/
|
|
98
|
-
tableDateCell: TemplateRef<any> | undefined;
|
|
90
|
+
primeNgTableCell: TemplateRef<any> | undefined;
|
|
99
91
|
dateTableCell: TemplateRef<any> | undefined;
|
|
100
|
-
|
|
101
|
-
* @deprecated Will be replaced by relativeDateTableCell
|
|
102
|
-
*/
|
|
103
|
-
tableRelativeDateCell: TemplateRef<any> | undefined;
|
|
92
|
+
primeNgDateTableCell: TemplateRef<any> | undefined;
|
|
104
93
|
relativeDateTableCell: TemplateRef<any> | undefined;
|
|
105
|
-
|
|
106
|
-
* @deprecated Will be replaced by translationKeyTableCell
|
|
107
|
-
*/
|
|
108
|
-
tableTranslationKeyCell: TemplateRef<any> | undefined;
|
|
94
|
+
primeNgRelativeDateTableCell: TemplateRef<any> | undefined;
|
|
109
95
|
translationKeyTableCell: TemplateRef<any> | undefined;
|
|
96
|
+
primeNgTranslationKeyTableCell: TemplateRef<any> | undefined;
|
|
110
97
|
gridItemSubtitleLines: TemplateRef<any> | undefined;
|
|
98
|
+
primeNgGridItemSubtitleLines: TemplateRef<any> | undefined;
|
|
111
99
|
listItemSubtitleLines: TemplateRef<any> | undefined;
|
|
100
|
+
primeNgListItemSubtitleLines: TemplateRef<any> | undefined;
|
|
112
101
|
stringTableCell: TemplateRef<any> | undefined;
|
|
102
|
+
primeNgStringTableCell: TemplateRef<any> | undefined;
|
|
113
103
|
numberTableCell: TemplateRef<any> | undefined;
|
|
114
|
-
|
|
115
|
-
* @deprecated Will be removed and instead to change the template of a specific column
|
|
116
|
-
* use the new approach instead by following the naming convention column id + IdTableCell
|
|
117
|
-
* e.g. for a column with the id 'status' in DataTable use pTemplate="statusIdTableCell"
|
|
118
|
-
*/
|
|
119
|
-
customTableCell: TemplateRef<any> | undefined;
|
|
104
|
+
primeNgNumberTableCell: TemplateRef<any> | undefined;
|
|
120
105
|
gridItem: TemplateRef<any> | undefined;
|
|
106
|
+
primeNgGridItem: TemplateRef<any> | undefined;
|
|
121
107
|
listItem: TemplateRef<any> | undefined;
|
|
108
|
+
primeNgListItem: TemplateRef<any> | undefined;
|
|
122
109
|
topCenter: TemplateRef<any> | undefined;
|
|
110
|
+
primeNgTopCenter: TemplateRef<any> | undefined;
|
|
123
111
|
listValue: TemplateRef<any> | undefined;
|
|
112
|
+
primeNgListValue: TemplateRef<any> | undefined;
|
|
124
113
|
translationKeyListValue: TemplateRef<any> | undefined;
|
|
114
|
+
primeNgTranslationKeyListValue: TemplateRef<any> | undefined;
|
|
125
115
|
numberListValue: TemplateRef<any> | undefined;
|
|
116
|
+
primeNgNumberListValue: TemplateRef<any> | undefined;
|
|
126
117
|
relativeDateListValue: TemplateRef<any> | undefined;
|
|
127
|
-
|
|
128
|
-
* @deprecated Will be removed and instead to change the template of a specific column
|
|
129
|
-
* use the new approach instead by following the naming convention column id + IdListValue
|
|
130
|
-
* e.g. for a column with the id 'status' DataListGrid use pTemplate="statusIdListValue"
|
|
131
|
-
*/
|
|
132
|
-
customListValue: TemplateRef<any> | undefined;
|
|
118
|
+
primeNgRelativeDateListValue: TemplateRef<any> | undefined;
|
|
133
119
|
stringListValue: TemplateRef<any> | undefined;
|
|
120
|
+
primeNgStringListValue: TemplateRef<any> | undefined;
|
|
134
121
|
dateListValue: TemplateRef<any> | undefined;
|
|
122
|
+
primeNgDateListValue: TemplateRef<any> | undefined;
|
|
135
123
|
tableFilterCell: TemplateRef<any> | undefined;
|
|
124
|
+
primeNgTableFilterCell: TemplateRef<any> | undefined;
|
|
136
125
|
dateTableFilterCell: TemplateRef<any> | undefined;
|
|
126
|
+
primeNgDateTableFilterCell: TemplateRef<any> | undefined;
|
|
137
127
|
relativeDateTableFilterCell: TemplateRef<any> | undefined;
|
|
128
|
+
primeNgRelativeDateTableFilterCell: TemplateRef<any> | undefined;
|
|
138
129
|
translationKeyTableFilterCell: TemplateRef<any> | undefined;
|
|
130
|
+
primeNgTranslationKeyTableFilterCell: TemplateRef<any> | undefined;
|
|
139
131
|
stringTableFilterCell: TemplateRef<any> | undefined;
|
|
132
|
+
primeNgStringTableFilterCell: TemplateRef<any> | undefined;
|
|
140
133
|
numberTableFilterCell: TemplateRef<any> | undefined;
|
|
141
|
-
|
|
142
|
-
* @deprecated Will be removed and instead to change the template of a specific column filter
|
|
143
|
-
* use the new approach instead by following the naming convention column id + IdTableFilterCell
|
|
144
|
-
* e.g. for a column with the id 'status' in DataTable use pTemplate="statusIdTableFilterCell"
|
|
145
|
-
*/
|
|
146
|
-
customTableFilterCell: TemplateRef<any> | undefined;
|
|
134
|
+
primeNgNumberTableFilterCell: TemplateRef<any> | undefined;
|
|
147
135
|
templates$: BehaviorSubject<QueryList<PrimeTemplate> | undefined>;
|
|
148
136
|
set templates(value: QueryList<PrimeTemplate> | undefined);
|
|
149
137
|
filtered: EventEmitter<Filter[]>;
|
|
@@ -151,8 +139,7 @@ export declare class InteractiveDataViewComponent implements OnInit, AfterConten
|
|
|
151
139
|
deleteItem: EventEmitter<RowListGridData>;
|
|
152
140
|
viewItem: EventEmitter<RowListGridData>;
|
|
153
141
|
editItem: EventEmitter<RowListGridData>;
|
|
154
|
-
dataViewLayoutChange: EventEmitter<"
|
|
155
|
-
displayedColumnsChange: EventEmitter<DataTableColumn[]>;
|
|
142
|
+
dataViewLayoutChange: EventEmitter<"table" | "grid" | "list">;
|
|
156
143
|
displayedColumnKeysChange: EventEmitter<string[]>;
|
|
157
144
|
selectionChanged: EventEmitter<Row[]>;
|
|
158
145
|
pageChanged: EventEmitter<number>;
|
|
@@ -172,12 +159,8 @@ export declare class InteractiveDataViewComponent implements OnInit, AfterConten
|
|
|
172
159
|
get _tableCell(): TemplateRef<any> | undefined;
|
|
173
160
|
get _stringTableCell(): TemplateRef<any> | undefined;
|
|
174
161
|
get _numberTableCell(): TemplateRef<any> | undefined;
|
|
175
|
-
get _customTableCell(): TemplateRef<any> | undefined;
|
|
176
|
-
get _tableDateCell(): TemplateRef<any> | undefined;
|
|
177
162
|
get _dateTableCell(): TemplateRef<any> | undefined;
|
|
178
|
-
get _tableRelativeDateCell(): TemplateRef<any> | undefined;
|
|
179
163
|
get _relativeDateTableCell(): TemplateRef<any> | undefined;
|
|
180
|
-
get _tableTranslationKeyCell(): TemplateRef<any> | undefined;
|
|
181
164
|
get _translationKeyTableCell(): TemplateRef<any> | undefined;
|
|
182
165
|
get _gridItem(): TemplateRef<any> | undefined;
|
|
183
166
|
get _listItem(): TemplateRef<any> | undefined;
|
|
@@ -185,7 +168,6 @@ export declare class InteractiveDataViewComponent implements OnInit, AfterConten
|
|
|
185
168
|
get _translationKeyListValue(): TemplateRef<any> | undefined;
|
|
186
169
|
get _numberListValue(): TemplateRef<any> | undefined;
|
|
187
170
|
get _relativeDateListValue(): TemplateRef<any> | undefined;
|
|
188
|
-
get _customListValue(): TemplateRef<any> | undefined;
|
|
189
171
|
get _stringListValue(): TemplateRef<any> | undefined;
|
|
190
172
|
get _dateListValue(): TemplateRef<any> | undefined;
|
|
191
173
|
get _tableFilterCell(): TemplateRef<any> | undefined;
|
|
@@ -194,14 +176,13 @@ export declare class InteractiveDataViewComponent implements OnInit, AfterConten
|
|
|
194
176
|
get _translationKeyTableFilterCell(): TemplateRef<any> | undefined;
|
|
195
177
|
get _stringTableFilterCell(): TemplateRef<any> | undefined;
|
|
196
178
|
get _numberTableFilterCell(): TemplateRef<any> | undefined;
|
|
197
|
-
get _customTableFilterCell(): TemplateRef<any> | undefined;
|
|
198
179
|
_data: RowListGridData[];
|
|
199
180
|
get data(): RowListGridData[];
|
|
200
181
|
set data(value: RowListGridData[]);
|
|
201
182
|
columnGroupSlotName: string;
|
|
202
183
|
isColumnGroupSelectionComponentDefined$: Observable<boolean>;
|
|
203
184
|
groupSelectionChangedSlotEmitter: EventEmitter<ColumnGroupData | undefined>;
|
|
204
|
-
constructor(
|
|
185
|
+
constructor();
|
|
205
186
|
ngOnInit(): void;
|
|
206
187
|
ngAfterContentInit(): void;
|
|
207
188
|
filtering(event: any): void;
|
|
@@ -219,6 +200,7 @@ export declare class InteractiveDataViewComponent implements OnInit, AfterConten
|
|
|
219
200
|
onRowSelectionChange(event: Row[]): void;
|
|
220
201
|
onPageChange(event: number): void;
|
|
221
202
|
onPageSizeChange(event: number): void;
|
|
203
|
+
getDisplayedColumns(): DataTableColumn[];
|
|
222
204
|
static ɵfac: i0.ɵɵFactoryDeclaration<InteractiveDataViewComponent, never>;
|
|
223
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<InteractiveDataViewComponent, "ocx-interactive-data-view", never, { "searchConfigPermission": { "alias": "searchConfigPermission"; "required": false; }; "deletePermission": { "alias": "deletePermission"; "required": false; }; "editPermission": { "alias": "editPermission"; "required": false; }; "viewPermission": { "alias": "viewPermission"; "required": false; }; "deleteActionVisibleField": { "alias": "deleteActionVisibleField"; "required": false; }; "deleteActionEnabledField": { "alias": "deleteActionEnabledField"; "required": false; }; "viewActionVisibleField": { "alias": "viewActionVisibleField"; "required": false; }; "viewActionEnabledField": { "alias": "viewActionEnabledField"; "required": false; }; "editActionVisibleField": { "alias": "editActionVisibleField"; "required": false; }; "editActionEnabledField": { "alias": "editActionEnabledField"; "required": false; }; "tableSelectionEnabledField": { "alias": "tableSelectionEnabledField"; "required": false; }; "tableAllowSelectAll": { "alias": "tableAllowSelectAll"; "required": false; }; "name": { "alias": "name"; "required": false; }; "titleLineId": { "alias": "titleLineId"; "required": false; }; "subtitleLineIds": { "alias": "subtitleLineIds"; "required": false; }; "supportedViewLayouts": { "alias": "supportedViewLayouts"; "required": false; }; "columns": { "alias": "columns"; "required": false; }; "emptyResultsMessage": { "alias": "emptyResultsMessage"; "required": false; }; "clientSideSorting": { "alias": "clientSideSorting"; "required": false; }; "clientSideFiltering": { "alias": "clientSideFiltering"; "required": false; }; "fallbackImage": { "alias": "fallbackImage"; "required": false; }; "filters": { "alias": "filters"; "required": false; }; "sortDirection": { "alias": "sortDirection"; "required": false; }; "sortField": { "alias": "sortField"; "required": false; }; "sortStates": { "alias": "sortStates"; "required": false; }; "pageSizes": { "alias": "pageSizes"; "required": false; }; "pageSize": { "alias": "pageSize"; "required": false; }; "
|
|
205
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InteractiveDataViewComponent, "ocx-interactive-data-view", never, { "searchConfigPermission": { "alias": "searchConfigPermission"; "required": false; }; "deletePermission": { "alias": "deletePermission"; "required": false; }; "editPermission": { "alias": "editPermission"; "required": false; }; "viewPermission": { "alias": "viewPermission"; "required": false; }; "deleteActionVisibleField": { "alias": "deleteActionVisibleField"; "required": false; }; "deleteActionEnabledField": { "alias": "deleteActionEnabledField"; "required": false; }; "viewActionVisibleField": { "alias": "viewActionVisibleField"; "required": false; }; "viewActionEnabledField": { "alias": "viewActionEnabledField"; "required": false; }; "editActionVisibleField": { "alias": "editActionVisibleField"; "required": false; }; "editActionEnabledField": { "alias": "editActionEnabledField"; "required": false; }; "tableSelectionEnabledField": { "alias": "tableSelectionEnabledField"; "required": false; }; "tableAllowSelectAll": { "alias": "tableAllowSelectAll"; "required": false; }; "name": { "alias": "name"; "required": false; }; "titleLineId": { "alias": "titleLineId"; "required": false; }; "subtitleLineIds": { "alias": "subtitleLineIds"; "required": false; }; "supportedViewLayouts": { "alias": "supportedViewLayouts"; "required": false; }; "columns": { "alias": "columns"; "required": false; }; "emptyResultsMessage": { "alias": "emptyResultsMessage"; "required": false; }; "clientSideSorting": { "alias": "clientSideSorting"; "required": false; }; "clientSideFiltering": { "alias": "clientSideFiltering"; "required": false; }; "fallbackImage": { "alias": "fallbackImage"; "required": false; }; "filters": { "alias": "filters"; "required": false; }; "sortDirection": { "alias": "sortDirection"; "required": false; }; "sortField": { "alias": "sortField"; "required": false; }; "sortStates": { "alias": "sortStates"; "required": false; }; "pageSizes": { "alias": "pageSizes"; "required": false; }; "pageSize": { "alias": "pageSize"; "required": false; }; "totalRecordsOnServer": { "alias": "totalRecordsOnServer"; "required": false; }; "layout": { "alias": "layout"; "required": false; }; "defaultGroupKey": { "alias": "defaultGroupKey"; "required": false; }; "customGroupKey": { "alias": "customGroupKey"; "required": false; }; "groupSelectionNoGroupSelectedKey": { "alias": "groupSelectionNoGroupSelectedKey"; "required": false; }; "currentPageShowingKey": { "alias": "currentPageShowingKey"; "required": false; }; "currentPageShowingWithTotalOnServerKey": { "alias": "currentPageShowingWithTotalOnServerKey"; "required": false; }; "additionalActions": { "alias": "additionalActions"; "required": false; }; "listGridPaginator": { "alias": "listGridPaginator"; "required": false; }; "tablePaginator": { "alias": "tablePaginator"; "required": false; }; "disableFilterView": { "alias": "disableFilterView"; "required": false; }; "filterViewDisplayMode": { "alias": "filterViewDisplayMode"; "required": false; }; "filterViewChipStyleClass": { "alias": "filterViewChipStyleClass"; "required": false; }; "filterViewTableStyle": { "alias": "filterViewTableStyle"; "required": false; }; "filterViewPanelStyle": { "alias": "filterViewPanelStyle"; "required": false; }; "selectDisplayedChips": { "alias": "selectDisplayedChips"; "required": false; }; "page": { "alias": "page"; "required": false; }; "selectedRows": { "alias": "selectedRows"; "required": false; }; "displayedColumnKeys": { "alias": "displayedColumnKeys"; "required": false; }; "frozenActionColumn": { "alias": "frozenActionColumn"; "required": false; }; "actionColumnPosition": { "alias": "actionColumnPosition"; "required": false; }; "headerStyleClass": { "alias": "headerStyleClass"; "required": false; }; "contentStyleClass": { "alias": "contentStyleClass"; "required": false; }; "paginator": { "alias": "paginator"; "required": false; }; "data": { "alias": "data"; "required": false; }; }, { "filtered": "filtered"; "sorted": "sorted"; "deleteItem": "deleteItem"; "viewItem": "viewItem"; "editItem": "editItem"; "dataViewLayoutChange": "dataViewLayoutChange"; "displayedColumnKeysChange": "displayedColumnKeysChange"; "selectionChanged": "selectionChanged"; "pageChanged": "pageChanged"; "pageSizeChanged": "pageSizeChanged"; "componentStateChanged": "componentStateChanged"; }, ["tableCell", "dateTableCell", "relativeDateTableCell", "translationKeyTableCell", "gridItemSubtitleLines", "listItemSubtitleLines", "stringTableCell", "numberTableCell", "gridItem", "listItem", "topCenter", "listValue", "translationKeyListValue", "numberListValue", "relativeDateListValue", "stringListValue", "dateListValue", "tableFilterCell", "dateTableFilterCell", "relativeDateTableFilterCell", "translationKeyTableFilterCell", "stringTableFilterCell", "numberTableFilterCell", "templates"], never, false, never>;
|
|
224
206
|
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export interface LifecycleStep {
|
|
3
|
+
id: string;
|
|
4
|
+
title: string;
|
|
5
|
+
details?: string;
|
|
6
|
+
}
|
|
7
|
+
export declare class LifecycleComponent {
|
|
8
|
+
steps: LifecycleStep[];
|
|
9
|
+
activeStepId: string | undefined;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LifecycleComponent, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LifecycleComponent, "ocx-lifecycle", never, { "steps": { "alias": "steps"; "required": false; }; "activeStepId": { "alias": "activeStepId"; "required": false; }; }, {}, never, never, false, never>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class LoadingIndicatorComponent {
|
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LoadingIndicatorComponent, never>;
|
|
4
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LoadingIndicatorComponent, "ocx-loading-indicator", never, {}, {}, never, never, false, never>;
|
|
5
|
+
}
|