@onecx/angular-accelerator 7.0.0-rc.8 → 7.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (103) hide show
  1. package/assets/i18n/de.json +10 -6
  2. package/assets/i18n/en.json +10 -6
  3. package/assets/i18n/primeng/de.json +5 -2
  4. package/assets/i18n/primeng/en.json +4 -1
  5. package/assets/i18n/storybook-translations/page-header/de.json +13 -0
  6. package/assets/i18n/storybook-translations/page-header/en.json +13 -0
  7. package/fesm2022/onecx-angular-accelerator-testing.mjs +33 -5
  8. package/fesm2022/onecx-angular-accelerator-testing.mjs.map +1 -1
  9. package/fesm2022/onecx-angular-accelerator.mjs +213 -157
  10. package/fesm2022/onecx-angular-accelerator.mjs.map +1 -1
  11. package/index.d.ts +2370 -62
  12. package/package.json +21 -19
  13. package/testing/index.d.ts +261 -24
  14. package/lib/angular-accelerator-primeng.module.d.ts +0 -27
  15. package/lib/angular-accelerator.module.d.ts +0 -49
  16. package/lib/components/column-group-selection/column-group-selection.component.d.ts +0 -32
  17. package/lib/components/content/content.component.d.ts +0 -13
  18. package/lib/components/content-container/content-container.component.d.ts +0 -19
  19. package/lib/components/custom-group-column-selector/custom-group-column-selector.component.d.ts +0 -68
  20. package/lib/components/data-layout-selection/data-layout-selection.component.d.ts +0 -32
  21. package/lib/components/data-list-grid/data-list-grid.component.d.ts +0 -179
  22. package/lib/components/data-list-grid-sorting/data-list-grid-sorting.component.d.ts +0 -40
  23. package/lib/components/data-sort-base/data-sort-base.d.ts +0 -33
  24. package/lib/components/data-table/data-table.component.d.ts +0 -224
  25. package/lib/components/data-view/data-view.component.d.ts +0 -165
  26. package/lib/components/diagram/diagram.component.d.ts +0 -57
  27. package/lib/components/dialog/dialog-content/dialog-content.component.d.ts +0 -29
  28. package/lib/components/dialog/dialog-footer/dialog-footer.component.d.ts +0 -39
  29. package/lib/components/dialog/dialog-inline/dialog-inline.component.d.ts +0 -11
  30. package/lib/components/dialog/dialog-message-content/dialog-message-content.component.d.ts +0 -8
  31. package/lib/components/error-component/global-error.component.d.ts +0 -12
  32. package/lib/components/filter-view/filter-view.component.d.ts +0 -80
  33. package/lib/components/group-by-count-diagram/group-by-count-diagram.component.d.ts +0 -45
  34. package/lib/components/interactive-data-view/interactive-data-view.component.d.ts +0 -206
  35. package/lib/components/lifecycle/lifecycle.component.d.ts +0 -12
  36. package/lib/components/loading-indicator/loading-indicator.component.d.ts +0 -5
  37. package/lib/components/page-header/page-header.component.d.ts +0 -105
  38. package/lib/components/search-header/search-header.component.d.ts +0 -71
  39. package/lib/directives/advanced.directive.d.ts +0 -11
  40. package/lib/directives/basic.directive.d.ts +0 -11
  41. package/lib/directives/content-container.directive.d.ts +0 -23
  42. package/lib/directives/content.directive.d.ts +0 -21
  43. package/lib/directives/if-breakpoint.directive.d.ts +0 -13
  44. package/lib/directives/if-permission.directive.d.ts +0 -33
  45. package/lib/directives/loading-indicator.directive.d.ts +0 -16
  46. package/lib/directives/src.directive.d.ts +0 -13
  47. package/lib/directives/template.directive.d.ts +0 -9
  48. package/lib/directives/tooltipOnOverflow.directive.d.ts +0 -13
  49. package/lib/functions/at-least-one-field-filled-validator.d.ts +0 -2
  50. package/lib/functions/flatten-object.d.ts +0 -14
  51. package/lib/model/breadcrumb-menu-item.model.d.ts +0 -56
  52. package/lib/model/button-dialog.d.ts +0 -47
  53. package/lib/model/column-type.model.d.ts +0 -7
  54. package/lib/model/data-action.d.ts +0 -12
  55. package/lib/model/data-column-name-id.model.d.ts +0 -4
  56. package/lib/model/data-sort-direction.d.ts +0 -5
  57. package/lib/model/data-table-column.model.d.ts +0 -12
  58. package/lib/model/diagram-column.d.ts +0 -5
  59. package/lib/model/diagram-data.d.ts +0 -5
  60. package/lib/model/diagram-type.d.ts +0 -5
  61. package/lib/model/filter.model.d.ts +0 -24
  62. package/lib/pipes/dynamic.pipe.d.ts +0 -13
  63. package/lib/pipes/ocxtimeago.pipe.d.ts +0 -16
  64. package/lib/pipes/relative-date.pipe.d.ts +0 -10
  65. package/lib/services/breadcrumb.service.d.ts +0 -20
  66. package/lib/services/export-data.service.d.ts +0 -18
  67. package/lib/services/portal-dialog.service.d.ts +0 -427
  68. package/lib/utils/colorutils.d.ts +0 -12
  69. package/lib/utils/criteria.utils.d.ts +0 -17
  70. package/lib/utils/data-operation-strategy.d.ts +0 -20
  71. package/lib/utils/dateutils.d.ts +0 -8
  72. package/lib/utils/dynamic-locale-id.d.ts +0 -10
  73. package/lib/utils/enum-to-dropdown-options.utils.d.ts +0 -6
  74. package/lib/utils/filter.utils.d.ts +0 -2
  75. package/lib/utils/image-logo-url.utils.d.ts +0 -3
  76. package/lib/utils/objectutils.d.ts +0 -4
  77. package/lib/utils/primeicon.utils.d.ts +0 -5
  78. package/lib/utils/rxjs-utils.d.ts +0 -3
  79. package/lib/utils/string-and-array-helper-functions.utils.d.ts +0 -3
  80. package/lib/utils/template.utils.d.ts +0 -2
  81. package/testing/column-group-selection.harness.d.ts +0 -6
  82. package/testing/content-container.harness.d.ts +0 -7
  83. package/testing/content.harness.d.ts +0 -10
  84. package/testing/custom-group-column-selector.harness.d.ts +0 -14
  85. package/testing/data-layout-selection.harness.d.ts +0 -12
  86. package/testing/data-list-grid.harness.d.ts +0 -18
  87. package/testing/data-table.harness.d.ts +0 -26
  88. package/testing/data-view.harness.d.ts +0 -8
  89. package/testing/default-grid-item.harness.d.ts +0 -11
  90. package/testing/default-list-item.harness.d.ts +0 -12
  91. package/testing/diagram.harness.d.ts +0 -10
  92. package/testing/dialog-content.harness.d.ts +0 -6
  93. package/testing/dialog-footer.harness.d.ts +0 -14
  94. package/testing/dialog-inline.harness.d.ts +0 -8
  95. package/testing/dialog-message-content.harness.d.ts +0 -8
  96. package/testing/filter-view.harness.d.ts +0 -12
  97. package/testing/group-by-count-diagram.harness.d.ts +0 -6
  98. package/testing/interactive-data-view.harness.d.ts +0 -19
  99. package/testing/lifecycle.harness.d.ts +0 -6
  100. package/testing/more-actions-menu-button.harness.d.ts +0 -10
  101. package/testing/page-header.harness.d.ts +0 -36
  102. package/testing/search-header.harness.d.ts +0 -15
  103. package/testing/slot.harness.d.ts +0 -7
@@ -1,206 +0,0 @@
1
- import { AfterContentInit, EventEmitter, OnInit, QueryList, TemplateRef } from '@angular/core';
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';
7
- import { Filter } from '../../model/filter.model';
8
- import { ColumnGroupSelectionComponentState, GroupSelectionChangedEvent } from '../column-group-selection/column-group-selection.component';
9
- import { ActionColumnChangedEvent, ColumnSelectionChangedEvent, CustomGroupColumnSelectorComponentState } from '../custom-group-column-selector/custom-group-column-selector.component';
10
- import { DataLayoutSelectionComponentState } from '../data-layout-selection/data-layout-selection.component';
11
- import { DataListGridSortingComponentState } from '../data-list-grid-sorting/data-list-grid-sorting.component';
12
- import { Row, Sort } from '../data-table/data-table.component';
13
- import { DataViewComponent, DataViewComponentState, RowListGridData } from '../data-view/data-view.component';
14
- import { FilterViewComponentState, FilterViewDisplayMode } from '../filter-view/filter-view.component';
15
- import * as i0 from "@angular/core";
16
- export type InteractiveDataViewComponentState = ColumnGroupSelectionComponentState & CustomGroupColumnSelectorComponentState & DataLayoutSelectionComponentState & DataListGridSortingComponentState & DataViewComponentState & FilterViewComponentState;
17
- export interface ColumnGroupData {
18
- activeColumns: DataTableColumn[];
19
- groupKey: string;
20
- }
21
- export declare class InteractiveDataViewComponent implements OnInit, AfterContentInit {
22
- private readonly slotService;
23
- _dataViewComponent: DataViewComponent | undefined;
24
- set dataView(ref: DataViewComponent | undefined);
25
- get dataView(): DataViewComponent | undefined;
26
- columnGroupSelectionComponentState$: ReplaySubject<ColumnGroupSelectionComponentState>;
27
- customGroupColumnSelectorComponentState$: ReplaySubject<CustomGroupColumnSelectorComponentState>;
28
- dataLayoutComponentState$: ReplaySubject<DataLayoutSelectionComponentState>;
29
- dataListGridSortingComponentState$: ReplaySubject<DataListGridSortingComponentState>;
30
- dataViewComponentState$: ReplaySubject<DataViewComponentState>;
31
- filterViewComponentState$: ReplaySubject<FilterViewComponentState>;
32
- searchConfigPermission: string | string[] | undefined;
33
- deletePermission: string | string[] | undefined;
34
- editPermission: string | string[] | undefined;
35
- viewPermission: string | string[] | undefined;
36
- deleteActionVisibleField: string | undefined;
37
- deleteActionEnabledField: string | undefined;
38
- viewActionVisibleField: string | undefined;
39
- viewActionEnabledField: string | undefined;
40
- editActionVisibleField: string | undefined;
41
- editActionEnabledField: string | undefined;
42
- tableSelectionEnabledField: string | undefined;
43
- tableAllowSelectAll: boolean;
44
- name: string;
45
- titleLineId: string | undefined;
46
- subtitleLineIds: string[];
47
- supportedViewLayouts: ('grid' | 'list' | 'table')[];
48
- columns: DataTableColumn[];
49
- emptyResultsMessage: string | undefined;
50
- clientSideSorting: boolean;
51
- clientSideFiltering: boolean;
52
- fallbackImage: string;
53
- filters: Filter[];
54
- sortDirection: DataSortDirection;
55
- sortField: any;
56
- sortStates: DataSortDirection[];
57
- pageSizes: number[];
58
- pageSize: number | undefined;
59
- totalRecordsOnServer: number | undefined;
60
- layout: 'grid' | 'list' | 'table';
61
- defaultGroupKey: string;
62
- customGroupKey: string;
63
- groupSelectionNoGroupSelectedKey: string;
64
- currentPageShowingKey: string;
65
- currentPageShowingWithTotalOnServerKey: string;
66
- additionalActions: DataAction[];
67
- listGridPaginator: boolean;
68
- tablePaginator: boolean;
69
- disableFilterView: boolean;
70
- filterViewDisplayMode: FilterViewDisplayMode;
71
- filterViewChipStyleClass: string;
72
- filterViewTableStyle: {
73
- [klass: string]: any;
74
- };
75
- filterViewPanelStyle: {
76
- [klass: string]: any;
77
- };
78
- selectDisplayedChips: (filters: Filter[], columns: DataTableColumn[]) => Filter[];
79
- page: number;
80
- selectedRows: Row[];
81
- displayedColumnKeys$: BehaviorSubject<string[]>;
82
- displayedColumns$: Observable<DataTableColumn[]> | undefined;
83
- get displayedColumnKeys(): string[];
84
- set displayedColumnKeys(value: string[]);
85
- frozenActionColumn: boolean;
86
- actionColumnPosition: 'left' | 'right';
87
- headerStyleClass: string | undefined;
88
- contentStyleClass: string | undefined;
89
- tableCell: TemplateRef<any> | undefined;
90
- primeNgTableCell: TemplateRef<any> | undefined;
91
- dateTableCell: TemplateRef<any> | undefined;
92
- primeNgDateTableCell: TemplateRef<any> | undefined;
93
- relativeDateTableCell: TemplateRef<any> | undefined;
94
- primeNgRelativeDateTableCell: TemplateRef<any> | undefined;
95
- translationKeyTableCell: TemplateRef<any> | undefined;
96
- primeNgTranslationKeyTableCell: TemplateRef<any> | undefined;
97
- gridItemSubtitleLines: TemplateRef<any> | undefined;
98
- primeNgGridItemSubtitleLines: TemplateRef<any> | undefined;
99
- listItemSubtitleLines: TemplateRef<any> | undefined;
100
- primeNgListItemSubtitleLines: TemplateRef<any> | undefined;
101
- stringTableCell: TemplateRef<any> | undefined;
102
- primeNgStringTableCell: TemplateRef<any> | undefined;
103
- numberTableCell: TemplateRef<any> | undefined;
104
- primeNgNumberTableCell: TemplateRef<any> | undefined;
105
- gridItem: TemplateRef<any> | undefined;
106
- primeNgGridItem: TemplateRef<any> | undefined;
107
- listItem: TemplateRef<any> | undefined;
108
- primeNgListItem: TemplateRef<any> | undefined;
109
- topCenter: TemplateRef<any> | undefined;
110
- primeNgTopCenter: TemplateRef<any> | undefined;
111
- listValue: TemplateRef<any> | undefined;
112
- primeNgListValue: TemplateRef<any> | undefined;
113
- translationKeyListValue: TemplateRef<any> | undefined;
114
- primeNgTranslationKeyListValue: TemplateRef<any> | undefined;
115
- numberListValue: TemplateRef<any> | undefined;
116
- primeNgNumberListValue: TemplateRef<any> | undefined;
117
- relativeDateListValue: TemplateRef<any> | undefined;
118
- primeNgRelativeDateListValue: TemplateRef<any> | undefined;
119
- stringListValue: TemplateRef<any> | undefined;
120
- primeNgStringListValue: TemplateRef<any> | undefined;
121
- dateListValue: TemplateRef<any> | undefined;
122
- primeNgDateListValue: TemplateRef<any> | undefined;
123
- tableFilterCell: TemplateRef<any> | undefined;
124
- primeNgTableFilterCell: TemplateRef<any> | undefined;
125
- dateTableFilterCell: TemplateRef<any> | undefined;
126
- primeNgDateTableFilterCell: TemplateRef<any> | undefined;
127
- relativeDateTableFilterCell: TemplateRef<any> | undefined;
128
- primeNgRelativeDateTableFilterCell: TemplateRef<any> | undefined;
129
- translationKeyTableFilterCell: TemplateRef<any> | undefined;
130
- primeNgTranslationKeyTableFilterCell: TemplateRef<any> | undefined;
131
- stringTableFilterCell: TemplateRef<any> | undefined;
132
- primeNgStringTableFilterCell: TemplateRef<any> | undefined;
133
- numberTableFilterCell: TemplateRef<any> | undefined;
134
- primeNgNumberTableFilterCell: TemplateRef<any> | undefined;
135
- templates$: BehaviorSubject<QueryList<PrimeTemplate> | undefined>;
136
- set templates(value: QueryList<PrimeTemplate> | undefined);
137
- filtered: EventEmitter<Filter[]>;
138
- sorted: EventEmitter<Sort>;
139
- deleteItem: EventEmitter<RowListGridData>;
140
- viewItem: EventEmitter<RowListGridData>;
141
- editItem: EventEmitter<RowListGridData>;
142
- dataViewLayoutChange: EventEmitter<"table" | "grid" | "list">;
143
- displayedColumnKeysChange: EventEmitter<string[]>;
144
- selectionChanged: EventEmitter<Row[]>;
145
- pageChanged: EventEmitter<number>;
146
- pageSizeChanged: EventEmitter<number>;
147
- componentStateChanged: EventEmitter<InteractiveDataViewComponentState>;
148
- selectedGroupKey$: BehaviorSubject<string | undefined>;
149
- get selectedGroupKey(): string | undefined;
150
- set selectedGroupKey(value: string | undefined);
151
- isDeleteItemObserved: boolean | undefined;
152
- isViewItemObserved: boolean | undefined;
153
- isEditItemObserved: boolean | undefined;
154
- firstColumnId: string | undefined;
155
- get paginator(): boolean;
156
- set paginator(value: boolean);
157
- get _gridItemSubtitleLines(): TemplateRef<any> | undefined;
158
- get _listItemSubtitleLines(): TemplateRef<any> | undefined;
159
- get _tableCell(): TemplateRef<any> | undefined;
160
- get _stringTableCell(): TemplateRef<any> | undefined;
161
- get _numberTableCell(): TemplateRef<any> | undefined;
162
- get _dateTableCell(): TemplateRef<any> | undefined;
163
- get _relativeDateTableCell(): TemplateRef<any> | undefined;
164
- get _translationKeyTableCell(): TemplateRef<any> | undefined;
165
- get _gridItem(): TemplateRef<any> | undefined;
166
- get _listItem(): TemplateRef<any> | undefined;
167
- get _listValue(): TemplateRef<any> | undefined;
168
- get _translationKeyListValue(): TemplateRef<any> | undefined;
169
- get _numberListValue(): TemplateRef<any> | undefined;
170
- get _relativeDateListValue(): TemplateRef<any> | undefined;
171
- get _stringListValue(): TemplateRef<any> | undefined;
172
- get _dateListValue(): TemplateRef<any> | undefined;
173
- get _tableFilterCell(): TemplateRef<any> | undefined;
174
- get _dateTableFilterCell(): TemplateRef<any> | undefined;
175
- get _relativeDateTableFilterCell(): TemplateRef<any> | undefined;
176
- get _translationKeyTableFilterCell(): TemplateRef<any> | undefined;
177
- get _stringTableFilterCell(): TemplateRef<any> | undefined;
178
- get _numberTableFilterCell(): TemplateRef<any> | undefined;
179
- _data: RowListGridData[];
180
- get data(): RowListGridData[];
181
- set data(value: RowListGridData[]);
182
- columnGroupSlotName: string;
183
- isColumnGroupSelectionComponentDefined$: Observable<boolean>;
184
- groupSelectionChangedSlotEmitter: EventEmitter<ColumnGroupData | undefined>;
185
- constructor();
186
- ngOnInit(): void;
187
- ngAfterContentInit(): void;
188
- filtering(event: any): void;
189
- sorting(event: any): void;
190
- onDeleteElement(element: RowListGridData): void;
191
- onViewElement(element: RowListGridData): void;
192
- onEditElement(element: RowListGridData): void;
193
- onDataViewLayoutChange(layout: 'grid' | 'list' | 'table'): void;
194
- onSortChange($event: any): void;
195
- onSortDirectionChange($event: any): void;
196
- onColumnGroupSelectionChange(event: GroupSelectionChangedEvent): void;
197
- registerEventListenerForDataView(): void;
198
- onColumnSelectionChange(event: ColumnSelectionChangedEvent): void;
199
- onActionColumnConfigChange(event: ActionColumnChangedEvent): void;
200
- onRowSelectionChange(event: Row[]): void;
201
- onPageChange(event: number): void;
202
- onPageSizeChange(event: number): void;
203
- getDisplayedColumns(): DataTableColumn[];
204
- static ɵfac: i0.ɵɵFactoryDeclaration<InteractiveDataViewComponent, 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>;
206
- }
@@ -1,12 +0,0 @@
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
- }
@@ -1,5 +0,0 @@
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
- }
@@ -1,105 +0,0 @@
1
- import { EventEmitter, OnInit, TemplateRef, Type } from '@angular/core';
2
- import { MenuItem } from 'primeng/api';
3
- import { BehaviorSubject, Observable } from 'rxjs';
4
- import { BreadcrumbService } from '../../services/breadcrumb.service';
5
- import { PrimeIcon } from '../../utils/primeicon.utils';
6
- import * as i0 from "@angular/core";
7
- /**
8
- * Action definition.
9
- */
10
- export interface Action {
11
- id?: string;
12
- label?: string;
13
- labelKey?: string;
14
- icon?: string;
15
- iconPos?: 'left' | 'right' | 'top' | 'bottom';
16
- /**
17
- * Permission for this action. If the current user does not have this permission, the action will not be shown.
18
- */
19
- permission?: string;
20
- title?: string;
21
- titleKey?: string;
22
- ariaLabel?: string;
23
- ariaLabelKey?: string;
24
- btnClass?: string;
25
- actionCallback(): void;
26
- disabled?: boolean;
27
- disabledTooltip?: string;
28
- disabledTooltipKey?: string;
29
- show?: 'always' | 'asOverflow';
30
- conditional?: boolean;
31
- showCondition?: boolean;
32
- }
33
- export interface ObjectDetailItem {
34
- label: string;
35
- value?: string;
36
- labelTooltip?: string;
37
- valueTooltip?: string;
38
- icon?: PrimeIcon;
39
- iconStyleClass?: string;
40
- labelPipe?: Type<any>;
41
- valuePipe?: Type<any>;
42
- valuePipeArgs?: string;
43
- valueCssClass?: string;
44
- actionItemIcon?: PrimeIcon;
45
- actionItemCallback?: () => void;
46
- actionItemTooltip?: string;
47
- actionItemAriaLabelKey?: string;
48
- actionItemAriaLabel?: string;
49
- }
50
- export interface HomeItem {
51
- menuItem: MenuItem;
52
- page?: string;
53
- }
54
- export type GridColumnOptions = 1 | 2 | 3 | 4 | 6 | 12;
55
- export declare class PageHeaderComponent implements OnInit {
56
- private translateService;
57
- private appStateService;
58
- private userService;
59
- private readonly hasPermissionChecker;
60
- header: string | undefined;
61
- loading: boolean;
62
- figureBackground: boolean;
63
- showFigure: boolean;
64
- figureImage: string | undefined;
65
- disableDefaultActions: boolean;
66
- subheader: string | undefined;
67
- _actions: BehaviorSubject<Action[]>;
68
- get actions(): Action[];
69
- set actions(value: Action[]);
70
- objectDetails: ObjectDetailItem[] | undefined;
71
- showBreadcrumbs: boolean;
72
- manualBreadcrumbs: boolean;
73
- enableGridView: undefined | boolean;
74
- gridLayoutDesktopColumns: undefined | GridColumnOptions;
75
- save: EventEmitter<any>;
76
- additionalToolbarContent: TemplateRef<any> | undefined;
77
- additionalToolbarContentLeft: TemplateRef<any> | undefined;
78
- overflowActions$: BehaviorSubject<MenuItem[]>;
79
- inlineActions$: BehaviorSubject<Action[]>;
80
- dd: Date;
81
- breadcrumbs$: Observable<MenuItem[]>;
82
- home$: Observable<HomeItem>;
83
- figureImageLoadError: boolean;
84
- objectPanelGridLayoutClasses: string;
85
- objectPanelColumnLayoutClasses: string;
86
- objectPanelDefaultLayoutClasses: string;
87
- objectInfoGridLayoutClasses: string;
88
- objectInfoColumnLayoutClasses: string;
89
- objectInfoDefaultLayoutClasses: string;
90
- protected breadcrumbs: BreadcrumbService;
91
- constructor();
92
- ngOnInit(): void;
93
- onAction(action: string): void;
94
- handleImageError(): void;
95
- generateItemStyle(item: ObjectDetailItem): string;
96
- getObjectPanelLayoutClasses(): string;
97
- getObjectInfoLayoutClasses(): string;
98
- private filterInlineActions;
99
- private filterOverflowActions;
100
- private filterActionsBasedOnPermissions;
101
- private getActionTranslationKeys;
102
- private mapOverflowActionsToMenuItems;
103
- static ɵfac: i0.ɵɵFactoryDeclaration<PageHeaderComponent, never>;
104
- static ɵcmp: i0.ɵɵComponentDeclaration<PageHeaderComponent, "ocx-page-header", never, { "header": { "alias": "header"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "figureBackground": { "alias": "figureBackground"; "required": false; }; "showFigure": { "alias": "showFigure"; "required": false; }; "figureImage": { "alias": "figureImage"; "required": false; }; "disableDefaultActions": { "alias": "disableDefaultActions"; "required": false; }; "subheader": { "alias": "subheader"; "required": false; }; "actions": { "alias": "actions"; "required": false; }; "objectDetails": { "alias": "objectDetails"; "required": false; }; "showBreadcrumbs": { "alias": "showBreadcrumbs"; "required": false; }; "manualBreadcrumbs": { "alias": "manualBreadcrumbs"; "required": false; }; "enableGridView": { "alias": "enableGridView"; "required": false; }; "gridLayoutDesktopColumns": { "alias": "gridLayoutDesktopColumns"; "required": false; }; }, { "save": "save"; }, ["additionalToolbarContent", "additionalToolbarContentLeft"], ["[figureImage]", "[toolbarItems]", "*"], false, never>;
105
- }
@@ -1,71 +0,0 @@
1
- import { AfterContentInit, AfterViewInit, ElementRef, EventEmitter, QueryList, TemplateRef } from '@angular/core';
2
- import { FormControlName, FormGroup } from '@angular/forms';
3
- import { Observable } from 'rxjs';
4
- import { Action } from '../page-header/page-header.component';
5
- import * as i0 from "@angular/core";
6
- export interface SearchHeaderComponentState {
7
- activeViewMode?: 'basic' | 'advanced';
8
- selectedSearchConfig?: string | null;
9
- }
10
- export interface SearchConfigData {
11
- name: string | undefined;
12
- fieldValues: {
13
- [key: string]: string;
14
- };
15
- displayedColumnsIds: string[];
16
- viewMode: 'basic' | 'advanced';
17
- }
18
- /**
19
- * To trigger the search when Enter key is pressed inside a search parameter field,
20
- * an EventListener for keyup enter event is added for HTML elements which have an input.
21
- * Please add the EventListener yourself manually, if you want to have that functionality for some other elements
22
- * which do not have an input element.
23
- */
24
- export declare class SearchHeaderComponent implements AfterContentInit, AfterViewInit {
25
- header: string;
26
- subheader: string | undefined;
27
- _viewMode: 'basic' | 'advanced';
28
- get viewMode(): 'basic' | 'advanced';
29
- set viewMode(viewMode: 'basic' | 'advanced');
30
- manualBreadcrumbs: boolean;
31
- _actions: Action[];
32
- get actions(): Action[];
33
- set actions(value: Action[]);
34
- searchConfigPermission: string | string[] | undefined;
35
- searchButtonDisabled: boolean;
36
- resetButtonDisabled: boolean;
37
- pageName: string | undefined;
38
- searched: EventEmitter<any>;
39
- resetted: EventEmitter<any>;
40
- selectedSearchConfigChanged: EventEmitter<SearchConfigData | undefined>;
41
- viewModeChanged: EventEmitter<'basic' | 'advanced'>;
42
- componentStateChanged: EventEmitter<SearchHeaderComponentState>;
43
- additionalToolbarContent: TemplateRef<any> | undefined;
44
- get _additionalToolbarContent(): TemplateRef<any> | undefined;
45
- additionalToolbarContentLeft: TemplateRef<any> | undefined;
46
- get _additionalToolbarContentLeft(): TemplateRef<any> | undefined;
47
- get searchConfigChangeObserved(): boolean;
48
- formGroup: FormGroup | undefined;
49
- visibleFormControls: QueryList<FormControlName>;
50
- searchParameterFields: ElementRef | undefined;
51
- hasAdvanced: boolean;
52
- simpleAdvancedAction: Action;
53
- headerActions: Action[];
54
- searchButtonsReversed$: Observable<boolean>;
55
- fieldValues$: Observable<{
56
- [key: string]: unknown;
57
- }> | undefined;
58
- searchConfigChangedSlotEmitter: EventEmitter<SearchConfigData | undefined>;
59
- constructor();
60
- ngAfterContentInit(): void;
61
- ngAfterViewInit(): void;
62
- toggleViewMode(): void;
63
- onResetClicked(): void;
64
- onSearchClicked(): void;
65
- updateHeaderActions(): void;
66
- addKeyUpEventListener(): void;
67
- onSearchKeyup(event: any): void;
68
- private isVisible;
69
- static ɵfac: i0.ɵɵFactoryDeclaration<SearchHeaderComponent, 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>;
71
- }
@@ -1,11 +0,0 @@
1
- import { DoCheck } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class AdvancedDirective implements DoCheck {
4
- private viewContainer;
5
- private templateRef;
6
- private searchHeader;
7
- constructor();
8
- ngDoCheck(): void;
9
- static ɵfac: i0.ɵɵFactoryDeclaration<AdvancedDirective, never>;
10
- static ɵdir: i0.ɵɵDirectiveDeclaration<AdvancedDirective, "[ocxAdvanced]", never, {}, {}, never, never, false, never>;
11
- }
@@ -1,11 +0,0 @@
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
- }
@@ -1,23 +0,0 @@
1
- import { OnChanges, OnInit } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class OcxContentContainerDirective implements OnInit, OnChanges {
4
- private el;
5
- /**
6
- * Used for passing the direction, in which the content inside the container should be rendered.
7
- * Default: horizontal
8
- * @example [ocxContentContainer]="horizontal"
9
- * @example [ocxContentContainer]="vertical"
10
- */
11
- layout: 'horizontal' | 'vertical';
12
- /**
13
- * Used for passing in the breakpoint below which a horizontal layout should switch to a vertical layout.
14
- * Only necessary if horizontal layout is used
15
- * Default: md
16
- */
17
- breakpoint: 'sm' | 'md' | 'lg' | 'xl';
18
- ngOnInit(): void;
19
- ngOnChanges(): void;
20
- private addContainerStyles;
21
- static ɵfac: i0.ɵɵFactoryDeclaration<OcxContentContainerDirective, never>;
22
- static ɵdir: i0.ɵɵDirectiveDeclaration<OcxContentContainerDirective, "[ocxContentContainer]", never, { "layout": { "alias": "layout"; "required": false; }; "breakpoint": { "alias": "breakpoint"; "required": false; }; }, {}, never, never, false, never>;
23
- }
@@ -1,21 +0,0 @@
1
- import { OnChanges, OnInit } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class OcxContentDirective implements OnInit, OnChanges {
4
- private el;
5
- /**
6
- * Used for passing a title text which should be rendered in the upper left corner of the content area.
7
- * @example [ocxContent]="My Cool Title"
8
- */
9
- ocxContent: string;
10
- private baseId;
11
- private titleElementId;
12
- ngOnInit(): void;
13
- ngOnChanges(): void;
14
- private init;
15
- private addContentStyles;
16
- private prependTitle;
17
- private getUniqueTitleID;
18
- private removeTitle;
19
- static ɵfac: i0.ɵɵFactoryDeclaration<OcxContentDirective, never>;
20
- static ɵdir: i0.ɵɵDirectiveDeclaration<OcxContentDirective, "[ocxContent]", never, { "ocxContent": { "alias": "ocxContent"; "required": false; }; }, {}, never, never, false, never>;
21
- }
@@ -1,13 +0,0 @@
1
- import { OnInit, TemplateRef } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class IfBreakpointDirective implements OnInit {
4
- private viewContainer;
5
- private templateRef;
6
- breakpoint: 'mobile' | 'desktop' | undefined;
7
- ocxIfBreakpointElseTemplate: TemplateRef<any> | undefined;
8
- state: 'mobile' | 'desktop' | undefined;
9
- ngOnInit(): void;
10
- onResize(): void;
11
- static ɵfac: i0.ɵɵFactoryDeclaration<IfBreakpointDirective, never>;
12
- static ɵdir: i0.ɵɵDirectiveDeclaration<IfBreakpointDirective, "[ocxIfBreakpoint]", never, { "breakpoint": { "alias": "ocxIfBreakpoint"; "required": false; }; "ocxIfBreakpointElseTemplate": { "alias": "ocxIfBreakpointElseTemplate"; "required": false; }; }, {}, never, never, false, never>;
13
- }
@@ -1,33 +0,0 @@
1
- import { OnInit, TemplateRef } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class IfPermissionDirective implements OnInit {
4
- private renderer;
5
- private el;
6
- private viewContainer;
7
- private hasPermissionChecker;
8
- private templateRef;
9
- private userService;
10
- set permission(value: string | string[] | undefined);
11
- set notPermission(value: string | string[] | undefined);
12
- ocxIfPermissionOnMissingPermission: 'hide' | 'disable';
13
- set ocxIfNotPermissionOnMissingPermission(value: 'hide' | 'disable');
14
- onMissingPermission: 'hide' | 'disable';
15
- ocxIfPermissionPermissions: string[] | undefined;
16
- set ocxIfNotPermissionPermissions(value: string[] | undefined);
17
- ocxIfPermissionElseTemplate: TemplateRef<any> | undefined;
18
- set ocxIfNotPermissionElseTemplate(value: TemplateRef<any> | undefined);
19
- private permissionChecker;
20
- private permissionSubject$;
21
- private isDisabled;
22
- private directiveContentRef;
23
- negate: boolean;
24
- constructor();
25
- ngOnInit(): void;
26
- private hasPermission;
27
- private showTemplateOrClear;
28
- private showElseTemplateOrDefaultView;
29
- private resetView;
30
- private getElement;
31
- static ɵfac: i0.ɵɵFactoryDeclaration<IfPermissionDirective, never>;
32
- static ɵdir: i0.ɵɵDirectiveDeclaration<IfPermissionDirective, "[ocxIfPermission], [ocxIfNotPermission]", never, { "permission": { "alias": "ocxIfPermission"; "required": false; }; "notPermission": { "alias": "ocxIfNotPermission"; "required": false; }; "ocxIfPermissionOnMissingPermission": { "alias": "ocxIfPermissionOnMissingPermission"; "required": false; }; "ocxIfNotPermissionOnMissingPermission": { "alias": "ocxIfNotPermissionOnMissingPermission"; "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>;
33
- }
@@ -1,16 +0,0 @@
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,13 +0,0 @@
1
- import { EventEmitter } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class SrcDirective {
4
- private el;
5
- private httpClient;
6
- private _src;
7
- error: EventEmitter<void>;
8
- get ocxSrc(): string | undefined;
9
- set ocxSrc(value: string | undefined);
10
- constructor();
11
- static ɵfac: i0.ɵɵFactoryDeclaration<SrcDirective, never>;
12
- static ɵdir: i0.ɵɵDirectiveDeclaration<SrcDirective, "[ocxSrc]", never, { "ocxSrc": { "alias": "ocxSrc"; "required": false; }; }, { "error": "error"; }, never, never, false, never>;
13
- }
@@ -1,9 +0,0 @@
1
- import { TemplateRef } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class TemplateDirective {
4
- template: TemplateRef<any>;
5
- name: string;
6
- getType(): string;
7
- static ɵfac: i0.ɵɵFactoryDeclaration<TemplateDirective, never>;
8
- static ɵdir: i0.ɵɵDirectiveDeclaration<TemplateDirective, "[ocxTemplate]", never, { "name": { "alias": "ocxTemplate"; "required": true; }; }, {}, never, never, false, never>;
9
- }
@@ -1,13 +0,0 @@
1
- import { AfterViewInit, OnDestroy, TemplateRef } from '@angular/core';
2
- import { Tooltip } from 'primeng/tooltip';
3
- import * as i0 from "@angular/core";
4
- export declare class TooltipOnOverflowDirective extends Tooltip implements OnDestroy, AfterViewInit {
5
- mutationObserver: MutationObserver;
6
- get ocxTooltipOnOverflow(): string | TemplateRef<HTMLElement> | undefined;
7
- set ocxTooltipOnOverflow(value: string | TemplateRef<HTMLElement> | undefined);
8
- ngOnDestroy(): void;
9
- ngAfterViewInit(): void;
10
- constructor();
11
- static ɵfac: i0.ɵɵFactoryDeclaration<TooltipOnOverflowDirective, never>;
12
- static ɵdir: i0.ɵɵDirectiveDeclaration<TooltipOnOverflowDirective, "[ocxTooltipOnOverflow]", never, { "ocxTooltipOnOverflow": { "alias": "ocxTooltipOnOverflow"; "required": false; }; }, {}, never, never, false, never>;
13
- }
@@ -1,2 +0,0 @@
1
- import { ValidatorFn } from '@angular/forms';
2
- export declare const atLeastOneFieldFilledValidator: ValidatorFn;
@@ -1,14 +0,0 @@
1
- type Extend<TObj extends Record<string, unknown>, K extends string> = {
2
- [TKey in keyof TObj & string as `${K}${TKey}`]: TObj[TKey] extends Record<string, unknown> ? Extend<TObj[TKey], `${K}${TKey}.`> : TObj[TKey];
3
- };
4
- type NonObjectKeysOf<T> = {
5
- [K in keyof T]: T[K] extends Array<any> ? K : T[K] extends object ? (T[K] extends Date ? K : never) : K;
6
- }[keyof T];
7
- type ObjectKeysOf<T> = {
8
- [K in keyof T]: T[K] extends Array<any> ? never : T[K] extends object ? K : never;
9
- }[keyof T];
10
- type Filter<TObj extends object, TKey = keyof TObj> = TKey extends keyof TObj ? TObj[TKey] extends Array<any> ? TObj : TObj[TKey] extends object ? Filter<TObj[TKey]> : Pick<TObj, NonObjectKeysOf<TObj>> | Filter<Pick<TObj, ObjectKeysOf<TObj>>> : never;
11
- type UnionToIntersection<U> = (U extends any ? (k: U) => void : never) extends (k: infer I) => void ? I : never;
12
- export type Result<TObj extends Record<string, unknown>> = UnionToIntersection<Filter<Extend<TObj, ''>>>;
13
- export declare function flattenObject<O extends Record<string, unknown>>(ob: O): Result<O>;
14
- export {};