@onecx/angular-accelerator 6.0.0-rc.9 → 6.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (67) hide show
  1. package/assets/i18n/primeng/de.json +1 -1
  2. package/assets/i18n/primeng/en.json +1 -1
  3. package/fesm2022/onecx-angular-accelerator-testing.mjs +71 -6
  4. package/fesm2022/onecx-angular-accelerator-testing.mjs.map +1 -1
  5. package/fesm2022/onecx-angular-accelerator.mjs +1184 -802
  6. package/fesm2022/onecx-angular-accelerator.mjs.map +1 -1
  7. package/index.d.ts +13 -10
  8. package/lib/angular-accelerator-primeng.module.d.ts +1 -1
  9. package/lib/angular-accelerator.module.d.ts +27 -20
  10. package/lib/components/data-list-grid/data-list-grid.component.d.ts +2 -19
  11. package/lib/components/data-table/data-table.component.d.ts +9 -38
  12. package/lib/components/data-view/data-view.component.d.ts +2 -72
  13. package/lib/components/dialog/dialog-content/dialog-content.component.d.ts +29 -0
  14. package/lib/components/dialog/dialog-footer/dialog-footer.component.d.ts +39 -0
  15. package/lib/components/dialog/dialog-inline/dialog-inline.component.d.ts +11 -0
  16. package/lib/components/dialog/dialog-message-content/dialog-message-content.component.d.ts +8 -0
  17. package/lib/components/error-component/global-error.component.d.ts +12 -0
  18. package/lib/components/filter-view/filter-view.component.d.ts +1 -3
  19. package/lib/components/group-by-count-diagram/group-by-count-diagram.component.d.ts +1 -6
  20. package/lib/components/interactive-data-view/interactive-data-view.component.d.ts +27 -49
  21. package/lib/components/loading-indicator/loading-indicator.component.d.ts +5 -0
  22. package/lib/components/page-header/page-header.component.d.ts +0 -4
  23. package/lib/components/search-header/search-header.component.d.ts +1 -6
  24. package/lib/directives/basic.directive.d.ts +11 -0
  25. package/lib/directives/if-permission.directive.d.ts +1 -1
  26. package/lib/directives/loading-indicator.directive.d.ts +16 -0
  27. package/lib/model/breadcrumb-menu-item.model.d.ts +0 -4
  28. package/lib/model/button-dialog.d.ts +47 -0
  29. package/lib/model/column-type.model.d.ts +1 -8
  30. package/lib/pipes/relative-date.pipe.d.ts +10 -0
  31. package/lib/services/export-data.service.d.ts +18 -0
  32. package/lib/services/portal-dialog.service.d.ts +427 -0
  33. package/lib/utils/dateutils.d.ts +0 -4
  34. package/lib/utils/image-logo-url.utils.d.ts +3 -0
  35. package/migrations.json +9 -1
  36. package/package.json +9 -8
  37. package/testing/column-group-selection.harness.d.ts +1 -1
  38. package/testing/custom-group-column-selector.harness.d.ts +6 -6
  39. package/testing/data-layout-selection.harness.d.ts +3 -3
  40. package/testing/data-list-grid.harness.d.ts +3 -3
  41. package/testing/data-table.harness.d.ts +3 -3
  42. package/testing/data-view.harness.d.ts +2 -2
  43. package/testing/default-grid-item.harness.d.ts +1 -1
  44. package/testing/default-list-item.harness.d.ts +4 -4
  45. package/testing/diagram.harness.d.ts +1 -1
  46. package/testing/dialog-content.harness.d.ts +6 -0
  47. package/testing/dialog-footer.harness.d.ts +14 -0
  48. package/testing/dialog-inline.harness.d.ts +8 -0
  49. package/testing/dialog-message-content.harness.d.ts +8 -0
  50. package/testing/filter-view.harness.d.ts +6 -6
  51. package/testing/group-by-count-diagram.harness.d.ts +1 -1
  52. package/testing/index.d.ts +4 -0
  53. package/testing/interactive-data-view.harness.d.ts +8 -8
  54. package/testing/lifecycle.harness.d.ts +2 -2
  55. package/testing/page-header.harness.d.ts +6 -6
  56. package/testing/search-header.harness.d.ts +5 -5
  57. package/lib/components/data-loading-error/data-loading-error.component.d.ts +0 -8
  58. package/lib/injection-tokens/has-permission-checker.d.ts +0 -13
  59. package/lib/services/translation-cache.service.d.ts +0 -19
  60. package/lib/services/translation-connection.service.d.ts +0 -10
  61. package/lib/utils/async-translate-loader.utils.d.ts +0 -12
  62. package/lib/utils/caching-translate-loader.utils.d.ts +0 -16
  63. package/lib/utils/create-remote-component-and-mfe-translate-loader.utils.d.ts +0 -6
  64. package/lib/utils/create-remote-component-translate-loader.utils.d.ts +0 -5
  65. package/lib/utils/create-translate-loader.utils.d.ts +0 -8
  66. package/lib/utils/provide-connection-service.d.ts +0 -6
  67. package/lib/utils/translate.combined.loader.d.ts +0 -12
@@ -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>;
@@ -18,11 +18,6 @@ export declare class GroupByCountDiagramComponent implements OnInit {
18
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.
19
19
  */
20
20
  fillMissingColors: boolean;
21
- /**
22
- * @deprecated Will be replaced by diagramType
23
- */
24
- get type(): DiagramType;
25
- set type(value: DiagramType);
26
21
  supportedDiagramTypes: DiagramType[];
27
22
  private _data$;
28
23
  get data(): unknown[];
@@ -46,5 +41,5 @@ export declare class GroupByCountDiagramComponent implements OnInit {
46
41
  dataClicked(event: any): void;
47
42
  onDiagramTypeChanged(newDiagramType: DiagramType): void;
48
43
  static ɵfac: i0.ɵɵFactoryDeclaration<GroupByCountDiagramComponent, never>;
49
- 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; }; "type": { "alias": "type"; "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>;
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>;
50
45
  }
@@ -19,7 +19,7 @@ export interface ColumnGroupData {
19
19
  groupKey: string;
20
20
  }
21
21
  export declare class InteractiveDataViewComponent implements OnInit, AfterContentInit {
22
- private slotService;
22
+ private readonly slotService;
23
23
  _dataViewComponent: DataViewComponent | undefined;
24
24
  set dataView(ref: DataViewComponent | undefined);
25
25
  get dataView(): DataViewComponent | undefined;
@@ -30,7 +30,7 @@ export declare class InteractiveDataViewComponent implements OnInit, AfterConten
30
30
  dataViewComponentState$: ReplaySubject<DataViewComponentState>;
31
31
  filterViewComponentState$: ReplaySubject<FilterViewComponentState>;
32
32
  searchConfigPermission: string | string[] | undefined;
33
- deletePermission: string | string[] | string[] | undefined;
33
+ deletePermission: string | string[] | undefined;
34
34
  editPermission: string | string[] | undefined;
35
35
  viewPermission: string | string[] | undefined;
36
36
  deleteActionVisibleField: string | undefined;
@@ -56,10 +56,6 @@ export declare class InteractiveDataViewComponent implements OnInit, AfterConten
56
56
  sortStates: DataSortDirection[];
57
57
  pageSizes: number[];
58
58
  pageSize: number | undefined;
59
- /**
60
- * @deprecated
61
- */
62
- showAllOption: boolean;
63
59
  totalRecordsOnServer: number | undefined;
64
60
  layout: 'grid' | 'list' | 'table';
65
61
  defaultGroupKey: string;
@@ -86,68 +82,56 @@ export declare class InteractiveDataViewComponent implements OnInit, AfterConten
86
82
  displayedColumns$: Observable<DataTableColumn[]> | undefined;
87
83
  get displayedColumnKeys(): string[];
88
84
  set displayedColumnKeys(value: string[]);
89
- /**
90
- * @deprecated Use `displayedColumnKeys` and pass in column ids instead of `DataTableColumn` objects
91
- */
92
- get displayedColumns(): DataTableColumn[];
93
- set displayedColumns(value: DataTableColumn[]);
94
85
  frozenActionColumn: boolean;
95
86
  actionColumnPosition: 'left' | 'right';
96
87
  headerStyleClass: string | undefined;
97
88
  contentStyleClass: string | undefined;
98
89
  tableCell: TemplateRef<any> | undefined;
99
- /**
100
- * @deprecated Will be replaced by dateTableCell
101
- */
102
- tableDateCell: TemplateRef<any> | undefined;
90
+ primeNgTableCell: TemplateRef<any> | undefined;
103
91
  dateTableCell: TemplateRef<any> | undefined;
104
- /**
105
- * @deprecated Will be replaced by relativeDateTableCell
106
- */
107
- tableRelativeDateCell: TemplateRef<any> | undefined;
92
+ primeNgDateTableCell: TemplateRef<any> | undefined;
108
93
  relativeDateTableCell: TemplateRef<any> | undefined;
109
- /**
110
- * @deprecated Will be replaced by translationKeyTableCell
111
- */
112
- tableTranslationKeyCell: TemplateRef<any> | undefined;
94
+ primeNgRelativeDateTableCell: TemplateRef<any> | undefined;
113
95
  translationKeyTableCell: TemplateRef<any> | undefined;
96
+ primeNgTranslationKeyTableCell: TemplateRef<any> | undefined;
114
97
  gridItemSubtitleLines: TemplateRef<any> | undefined;
98
+ primeNgGridItemSubtitleLines: TemplateRef<any> | undefined;
115
99
  listItemSubtitleLines: TemplateRef<any> | undefined;
100
+ primeNgListItemSubtitleLines: TemplateRef<any> | undefined;
116
101
  stringTableCell: TemplateRef<any> | undefined;
102
+ primeNgStringTableCell: TemplateRef<any> | undefined;
117
103
  numberTableCell: TemplateRef<any> | undefined;
118
- /**
119
- * @deprecated Will be removed and instead to change the template of a specific column
120
- * use the new approach instead by following the naming convention column id + IdTableCell
121
- * e.g. for a column with the id 'status' in DataTable use pTemplate="statusIdTableCell"
122
- */
123
- customTableCell: TemplateRef<any> | undefined;
104
+ primeNgNumberTableCell: TemplateRef<any> | undefined;
124
105
  gridItem: TemplateRef<any> | undefined;
106
+ primeNgGridItem: TemplateRef<any> | undefined;
125
107
  listItem: TemplateRef<any> | undefined;
108
+ primeNgListItem: TemplateRef<any> | undefined;
126
109
  topCenter: TemplateRef<any> | undefined;
110
+ primeNgTopCenter: TemplateRef<any> | undefined;
127
111
  listValue: TemplateRef<any> | undefined;
112
+ primeNgListValue: TemplateRef<any> | undefined;
128
113
  translationKeyListValue: TemplateRef<any> | undefined;
114
+ primeNgTranslationKeyListValue: TemplateRef<any> | undefined;
129
115
  numberListValue: TemplateRef<any> | undefined;
116
+ primeNgNumberListValue: TemplateRef<any> | undefined;
130
117
  relativeDateListValue: TemplateRef<any> | undefined;
131
- /**
132
- * @deprecated Will be removed and instead to change the template of a specific column
133
- * use the new approach instead by following the naming convention column id + IdListValue
134
- * e.g. for a column with the id 'status' DataListGrid use pTemplate="statusIdListValue"
135
- */
136
- customListValue: TemplateRef<any> | undefined;
118
+ primeNgRelativeDateListValue: TemplateRef<any> | undefined;
137
119
  stringListValue: TemplateRef<any> | undefined;
120
+ primeNgStringListValue: TemplateRef<any> | undefined;
138
121
  dateListValue: TemplateRef<any> | undefined;
122
+ primeNgDateListValue: TemplateRef<any> | undefined;
139
123
  tableFilterCell: TemplateRef<any> | undefined;
124
+ primeNgTableFilterCell: TemplateRef<any> | undefined;
140
125
  dateTableFilterCell: TemplateRef<any> | undefined;
126
+ primeNgDateTableFilterCell: TemplateRef<any> | undefined;
141
127
  relativeDateTableFilterCell: TemplateRef<any> | undefined;
128
+ primeNgRelativeDateTableFilterCell: TemplateRef<any> | undefined;
142
129
  translationKeyTableFilterCell: TemplateRef<any> | undefined;
130
+ primeNgTranslationKeyTableFilterCell: TemplateRef<any> | undefined;
143
131
  stringTableFilterCell: TemplateRef<any> | undefined;
132
+ primeNgStringTableFilterCell: TemplateRef<any> | undefined;
144
133
  numberTableFilterCell: TemplateRef<any> | undefined;
145
- /**
146
- * @deprecated Will be removed and instead to change the template of a specific column filter
147
- * use the new approach instead by following the naming convention column id + IdTableFilterCell
148
- * e.g. for a column with the id 'status' in DataTable use pTemplate="statusIdTableFilterCell"
149
- */
150
- customTableFilterCell: TemplateRef<any> | undefined;
134
+ primeNgNumberTableFilterCell: TemplateRef<any> | undefined;
151
135
  templates$: BehaviorSubject<QueryList<PrimeTemplate> | undefined>;
152
136
  set templates(value: QueryList<PrimeTemplate> | undefined);
153
137
  filtered: EventEmitter<Filter[]>;
@@ -156,7 +140,6 @@ export declare class InteractiveDataViewComponent implements OnInit, AfterConten
156
140
  viewItem: EventEmitter<RowListGridData>;
157
141
  editItem: EventEmitter<RowListGridData>;
158
142
  dataViewLayoutChange: EventEmitter<"table" | "grid" | "list">;
159
- displayedColumnsChange: EventEmitter<DataTableColumn[]>;
160
143
  displayedColumnKeysChange: EventEmitter<string[]>;
161
144
  selectionChanged: EventEmitter<Row[]>;
162
145
  pageChanged: EventEmitter<number>;
@@ -176,12 +159,8 @@ export declare class InteractiveDataViewComponent implements OnInit, AfterConten
176
159
  get _tableCell(): TemplateRef<any> | undefined;
177
160
  get _stringTableCell(): TemplateRef<any> | undefined;
178
161
  get _numberTableCell(): TemplateRef<any> | undefined;
179
- get _customTableCell(): TemplateRef<any> | undefined;
180
- get _tableDateCell(): TemplateRef<any> | undefined;
181
162
  get _dateTableCell(): TemplateRef<any> | undefined;
182
- get _tableRelativeDateCell(): TemplateRef<any> | undefined;
183
163
  get _relativeDateTableCell(): TemplateRef<any> | undefined;
184
- get _tableTranslationKeyCell(): TemplateRef<any> | undefined;
185
164
  get _translationKeyTableCell(): TemplateRef<any> | undefined;
186
165
  get _gridItem(): TemplateRef<any> | undefined;
187
166
  get _listItem(): TemplateRef<any> | undefined;
@@ -189,7 +168,6 @@ export declare class InteractiveDataViewComponent implements OnInit, AfterConten
189
168
  get _translationKeyListValue(): TemplateRef<any> | undefined;
190
169
  get _numberListValue(): TemplateRef<any> | undefined;
191
170
  get _relativeDateListValue(): TemplateRef<any> | undefined;
192
- get _customListValue(): TemplateRef<any> | undefined;
193
171
  get _stringListValue(): TemplateRef<any> | undefined;
194
172
  get _dateListValue(): TemplateRef<any> | undefined;
195
173
  get _tableFilterCell(): TemplateRef<any> | undefined;
@@ -198,7 +176,6 @@ export declare class InteractiveDataViewComponent implements OnInit, AfterConten
198
176
  get _translationKeyTableFilterCell(): TemplateRef<any> | undefined;
199
177
  get _stringTableFilterCell(): TemplateRef<any> | undefined;
200
178
  get _numberTableFilterCell(): TemplateRef<any> | undefined;
201
- get _customTableFilterCell(): TemplateRef<any> | undefined;
202
179
  _data: RowListGridData[];
203
180
  get data(): RowListGridData[];
204
181
  set data(value: RowListGridData[]);
@@ -223,6 +200,7 @@ export declare class InteractiveDataViewComponent implements OnInit, AfterConten
223
200
  onRowSelectionChange(event: Row[]): void;
224
201
  onPageChange(event: number): void;
225
202
  onPageSizeChange(event: number): void;
203
+ getDisplayedColumns(): DataTableColumn[];
226
204
  static ɵfac: i0.ɵɵFactoryDeclaration<InteractiveDataViewComponent, never>;
227
- 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; }; "showAllOption": { "alias": "showAllOption"; "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; }; "displayedColumns": { "alias": "displayedColumns"; "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"; "displayedColumnsChange": "displayedColumnsChange"; "displayedColumnKeysChange": "displayedColumnKeysChange"; "selectionChanged": "selectionChanged"; "pageChanged": "pageChanged"; "pageSizeChanged": "pageSizeChanged"; "componentStateChanged": "componentStateChanged"; }, ["tableCell", "tableDateCell", "dateTableCell", "tableRelativeDateCell", "relativeDateTableCell", "tableTranslationKeyCell", "translationKeyTableCell", "gridItemSubtitleLines", "listItemSubtitleLines", "stringTableCell", "numberTableCell", "customTableCell", "gridItem", "listItem", "topCenter", "listValue", "translationKeyListValue", "numberListValue", "relativeDateListValue", "customListValue", "stringListValue", "dateListValue", "tableFilterCell", "dateTableFilterCell", "relativeDateTableFilterCell", "translationKeyTableFilterCell", "stringTableFilterCell", "numberTableFilterCell", "customTableFilterCell", "templates"], never, false, never>;
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>;
228
206
  }
@@ -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
+ }
@@ -33,10 +33,6 @@ export interface Action {
33
33
  export interface ObjectDetailItem {
34
34
  label: string;
35
35
  value?: string;
36
- /**
37
- * @deprecated Use `valueTooltip` instead
38
- */
39
- tooltip?: string;
40
36
  labelTooltip?: string;
41
37
  valueTooltip?: string;
42
38
  icon?: PrimeIcon;
@@ -23,11 +23,6 @@ export interface SearchConfigData {
23
23
  */
24
24
  export declare class SearchHeaderComponent implements AfterContentInit, AfterViewInit {
25
25
  header: string;
26
- /**
27
- * @deprecated Will be replaced by header
28
- */
29
- get headline(): string;
30
- set headline(value: string);
31
26
  subheader: string | undefined;
32
27
  _viewMode: 'basic' | 'advanced';
33
28
  get viewMode(): 'basic' | 'advanced';
@@ -72,5 +67,5 @@ export declare class SearchHeaderComponent implements AfterContentInit, AfterVie
72
67
  onSearchKeyup(event: any): void;
73
68
  private isVisible;
74
69
  static ɵfac: i0.ɵɵFactoryDeclaration<SearchHeaderComponent, never>;
75
- static ɵcmp: i0.ɵɵComponentDeclaration<SearchHeaderComponent, "ocx-search-header", never, { "header": { "alias": "header"; "required": false; }; "headline": { "alias": "headline"; "required": false; }; "subheader": { "alias": "subheader"; "required": false; }; "viewMode": { "alias": "viewMode"; "required": false; }; "manualBreadcrumbs": { "alias": "manualBreadcrumbs"; "required": false; }; "actions": { "alias": "actions"; "required": false; }; "searchConfigPermission": { "alias": "searchConfigPermission"; "required": false; }; "searchButtonDisabled": { "alias": "searchButtonDisabled"; "required": false; }; "resetButtonDisabled": { "alias": "resetButtonDisabled"; "required": false; }; "pageName": { "alias": "pageName"; "required": false; }; }, { "searched": "searched"; "resetted": "resetted"; "selectedSearchConfigChanged": "selectedSearchConfigChanged"; "viewModeChanged": "viewModeChanged"; "componentStateChanged": "componentStateChanged"; }, ["additionalToolbarContent", "additionalToolbarContentLeft", "formGroup", "visibleFormControls"], ["*"], false, never>;
70
+ static ɵcmp: i0.ɵɵComponentDeclaration<SearchHeaderComponent, "ocx-search-header", never, { "header": { "alias": "header"; "required": false; }; "subheader": { "alias": "subheader"; "required": false; }; "viewMode": { "alias": "viewMode"; "required": false; }; "manualBreadcrumbs": { "alias": "manualBreadcrumbs"; "required": false; }; "actions": { "alias": "actions"; "required": false; }; "searchConfigPermission": { "alias": "searchConfigPermission"; "required": false; }; "searchButtonDisabled": { "alias": "searchButtonDisabled"; "required": false; }; "resetButtonDisabled": { "alias": "resetButtonDisabled"; "required": false; }; "pageName": { "alias": "pageName"; "required": false; }; }, { "searched": "searched"; "resetted": "resetted"; "selectedSearchConfigChanged": "selectedSearchConfigChanged"; "viewModeChanged": "viewModeChanged"; "componentStateChanged": "componentStateChanged"; }, ["additionalToolbarContent", "additionalToolbarContentLeft", "formGroup", "visibleFormControls"], ["*"], false, never>;
76
71
  }
@@ -0,0 +1,11 @@
1
+ import { DoCheck } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class BasicDirective implements DoCheck {
4
+ private viewContainer;
5
+ private templateRef;
6
+ private searchHeader;
7
+ constructor();
8
+ ngDoCheck(): void;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<BasicDirective, never>;
10
+ static ɵdir: i0.ɵɵDirectiveDeclaration<BasicDirective, "[ocxBasic]", never, {}, {}, never, never, false, never>;
11
+ }
@@ -18,7 +18,7 @@ export declare class IfPermissionDirective implements OnInit {
18
18
  negate: boolean;
19
19
  constructor();
20
20
  ngOnInit(): void;
21
- hasPermission(permission: string[]): boolean;
21
+ hasPermission(permission: string[]): Promise<boolean>;
22
22
  static ɵfac: i0.ɵɵFactoryDeclaration<IfPermissionDirective, never>;
23
23
  static ɵdir: i0.ɵɵDirectiveDeclaration<IfPermissionDirective, "[ocxIfPermission], [ocxIfNotPermission]", never, { "permission": { "alias": "ocxIfPermission"; "required": false; }; "notPermission": { "alias": "ocxIfNotPermission"; "required": false; }; "onMissingPermission": { "alias": "onMissingPermission"; "required": false; }; "ocxIfPermissionPermissions": { "alias": "ocxIfPermissionPermissions"; "required": false; }; "ocxIfNotPermissionPermissions": { "alias": "ocxIfNotPermissionPermissions"; "required": false; }; "ocxIfPermissionElseTemplate": { "alias": "ocxIfPermissionElseTemplate"; "required": false; }; "ocxIfNotPermissionElseTemplate": { "alias": "ocxIfNotPermissionElseTemplate"; "required": false; }; }, {}, never, never, false, never>;
24
24
  }
@@ -0,0 +1,16 @@
1
+ import { OnChanges, SimpleChanges } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class LoadingIndicatorDirective implements OnChanges {
4
+ private viewContainerRef;
5
+ private el;
6
+ private renderer;
7
+ ocxLoadingIndicator: boolean;
8
+ overlayFullPage: boolean;
9
+ isLoaderSmall?: boolean | undefined;
10
+ private componentRef;
11
+ ngOnChanges(changes: SimpleChanges): void;
12
+ private elementLoader;
13
+ private toggleLoadingIndicator;
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<LoadingIndicatorDirective, never>;
15
+ static ɵdir: i0.ɵɵDirectiveDeclaration<LoadingIndicatorDirective, "[ocxLoadingIndicator]", never, { "ocxLoadingIndicator": { "alias": "ocxLoadingIndicator"; "required": false; }; "overlayFullPage": { "alias": "overlayFullPage"; "required": false; }; "isLoaderSmall": { "alias": "isLoaderSmall"; "required": false; }; }, {}, never, never, false, never>;
16
+ }
@@ -1,8 +1,6 @@
1
1
  import { QueryParamsHandling } from '@angular/router';
2
2
  import { MenuItem } from 'primeng/api';
3
3
  export interface BreadCrumbMenuItem {
4
- /** @deprecated use labelKey instead */
5
- label?: string;
6
4
  labelKey?: string;
7
5
  icon?: string;
8
6
  command?: (event?: any) => void;
@@ -21,8 +19,6 @@ export interface BreadCrumbMenuItem {
21
19
  badgeStyleClass?: string;
22
20
  style?: any;
23
21
  styleClass?: string;
24
- /** @deprecated use titleKey instead */
25
- title?: string;
26
22
  titleKey?: string;
27
23
  id?: string;
28
24
  automationId?: any;
@@ -0,0 +1,47 @@
1
+ import { Type } from '@angular/core';
2
+ import { DialogButton } from '../services/portal-dialog.service';
3
+ import { PrimeIcon } from '../utils/primeicon.utils';
4
+ /**
5
+ * Object describing details for button rendering containing key for translation, optional icon and optional parameters for translation
6
+ *
7
+ * @example
8
+ * "Cancel meeting" button with X icon
9
+ * ```
10
+ * // assume such translation is in the translation file
11
+ * const translations = {
12
+ * MY_KEY = 'Cancel {{value}}'
13
+ * }
14
+ * const buttonDetails: ButtonDialogButtonDetails = {
15
+ * key: 'MY_KEY',
16
+ * icon: PrimeIcons.TIMES,
17
+ * parameters: {
18
+ * value: 'meeting'
19
+ * }
20
+ * }
21
+ * ```
22
+ */
23
+ export interface ButtonDialogButtonDetails {
24
+ key: string;
25
+ id?: string;
26
+ icon?: PrimeIcon;
27
+ parameters?: Record<string, unknown>;
28
+ tooltipKey?: string;
29
+ tooltipPosition?: 'right' | 'left' | 'top' | 'bottom' | string | undefined;
30
+ }
31
+ export interface ButtonDialogCustomButtonDetails extends ButtonDialogButtonDetails {
32
+ id: string;
33
+ alignment: 'right' | 'left';
34
+ }
35
+ export interface ButtonDialogConfig {
36
+ primaryButtonDetails?: ButtonDialogButtonDetails;
37
+ secondaryButtonIncluded?: boolean;
38
+ secondaryButtonDetails?: ButtonDialogButtonDetails;
39
+ customButtons?: ButtonDialogCustomButtonDetails[];
40
+ autoFocusButton?: DialogButton;
41
+ autoFocusButtonCustomId?: string;
42
+ }
43
+ export interface ButtonDialogData {
44
+ config: ButtonDialogConfig;
45
+ component?: Type<any>;
46
+ componentData: any;
47
+ }
@@ -3,12 +3,5 @@ export declare enum ColumnType {
3
3
  NUMBER = "NUMBER",
4
4
  DATE = "DATE",
5
5
  RELATIVE_DATE = "RELATIVE_DATE",
6
- TRANSLATION_KEY = "TRANSLATION_KEY",
7
- /**
8
- * @deprecated Will be removed with the next major v6 upgrade.
9
- * Please use pTemplate="column id + IdCell" in DataTable or
10
- * pTemplate="column id + IdTableCell" in DataView and InteractiveDataView
11
- * e.g. for a column with the id 'status' in DataTable use pTemplate="statusIdCell"
12
- */
13
- CUSTOM = "CUSTOM"
6
+ TRANSLATION_KEY = "TRANSLATION_KEY"
14
7
  }
@@ -0,0 +1,10 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class RelativeDatePipe implements PipeTransform {
4
+ private readonly translateService;
5
+ rtf: Intl.RelativeTimeFormat;
6
+ constructor();
7
+ transform(value: any): any;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<RelativeDatePipe, never>;
9
+ static ɵpipe: i0.ɵɵPipeDeclaration<RelativeDatePipe, "relativeDate", false>;
10
+ }
@@ -0,0 +1,18 @@
1
+ import { ColumnType } from '../model/column-type.model';
2
+ import * as i0 from "@angular/core";
3
+ export declare class ExportDataService {
4
+ private readonly dateUtils;
5
+ private readonly translateService;
6
+ private readonly locale;
7
+ exportCsv<T extends string | number | symbol>(columns: {
8
+ id: string;
9
+ nameKey: string;
10
+ columnType: ColumnType;
11
+ }[], data: Partial<Record<T, unknown | undefined>>[], fileName: string): Promise<void>;
12
+ private translateColumnNames;
13
+ private formatData;
14
+ private translateData;
15
+ private escapeDelimiter;
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<ExportDataService, never>;
17
+ static ɵprov: i0.ɵɵInjectableDeclaration<ExportDataService>;
18
+ }