@onecx/angular-accelerator 4.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -0
- package/assets/i18n/de.json +130 -0
- package/assets/i18n/en.json +130 -0
- package/assets/images/placeholder.png +0 -0
- package/assets/styles.scss +8 -0
- package/esm2020/index.mjs +49 -0
- package/esm2020/lib/angular-accelerator-primeng.module.mjs +83 -0
- package/esm2020/lib/angular-accelerator.module.mjs +209 -0
- package/esm2020/lib/components/column-group-selection/column-group-selection.component.mjs +72 -0
- package/esm2020/lib/components/custom-group-column-selector/custom-group-column-selector.component.mjs +108 -0
- package/esm2020/lib/components/data-layout-selection/data-layout-selection.component.mjs +45 -0
- package/esm2020/lib/components/data-list-grid/data-list-grid.component.mjs +358 -0
- package/esm2020/lib/components/data-list-grid-sorting/data-list-grid-sorting.component.mjs +92 -0
- package/esm2020/lib/components/data-sort-base/data-sort-base.mjs +110 -0
- package/esm2020/lib/components/data-table/data-table.component.mjs +350 -0
- package/esm2020/lib/components/data-view/data-view.component.mjs +355 -0
- package/esm2020/lib/components/diagram/diagram.component.mjs +136 -0
- package/esm2020/lib/components/group-by-count-diagram/group-by-count-diagram.component.mjs +109 -0
- package/esm2020/lib/components/interactive-data-view/interactive-data-view.component.mjs +342 -0
- package/esm2020/lib/components/page-header/page-header.component.mjs +189 -0
- package/esm2020/lib/components/search-config/search-config.component.mjs +34 -0
- package/esm2020/lib/components/search-header/search-header.component.mjs +136 -0
- package/esm2020/lib/directives/if-breakpoint.directive.mjs +39 -0
- package/esm2020/lib/directives/if-permission.directive.mjs +53 -0
- package/esm2020/lib/functions/flatten-object.mjs +20 -0
- package/esm2020/lib/model/breadcrumb-menu-item.model.mjs +2 -0
- package/esm2020/lib/model/column-type.model.mjs +9 -0
- package/esm2020/lib/model/data-action.mjs +2 -0
- package/esm2020/lib/model/data-column-name-id.model.mjs +2 -0
- package/esm2020/lib/model/data-sort-direction.mjs +2 -0
- package/esm2020/lib/model/data-table-column.model.mjs +2 -0
- package/esm2020/lib/model/diagram-column.mjs +2 -0
- package/esm2020/lib/model/diagram-data.mjs +2 -0
- package/esm2020/lib/model/diagram-type.mjs +2 -0
- package/esm2020/lib/model/search-config-info.mjs +2 -0
- package/esm2020/lib/pipes/dynamic.pipe.mjs +58 -0
- package/esm2020/lib/pipes/ocxtimeago.pipe.mjs +15 -0
- package/esm2020/lib/services/breadcrumb.service.mjs +79 -0
- package/esm2020/lib/services/translation-cache.service.mjs +54 -0
- package/esm2020/lib/utils/async-translate-loader.utils.mjs +12 -0
- package/esm2020/lib/utils/caching-translate-loader.utils.mjs +15 -0
- package/esm2020/lib/utils/colorutils.mjs +19 -0
- package/esm2020/lib/utils/create-translate-loader.utils.mjs +23 -0
- package/esm2020/lib/utils/dateutils.mjs +32 -0
- package/esm2020/lib/utils/objectutils.mjs +30 -0
- package/esm2020/lib/utils/ocxtimeagointl.utils.mjs +34 -0
- package/esm2020/lib/utils/primeicon.utils.mjs +2 -0
- package/esm2020/lib/utils/translate.combined.loader.mjs +36 -0
- package/esm2020/onecx-angular-accelerator.mjs +5 -0
- package/esm2020/testing/column-group-selection.harness.mjs +10 -0
- package/esm2020/testing/custom-group-column-selector.harness.mjs +31 -0
- package/esm2020/testing/data-layout-selection.harness.mjs +33 -0
- package/esm2020/testing/data-list-grid.harness.mjs +47 -0
- package/esm2020/testing/data-table.harness.mjs +57 -0
- package/esm2020/testing/data-view.harness.mjs +12 -0
- package/esm2020/testing/default-grid-item.harness.mjs +24 -0
- package/esm2020/testing/default-list-item.harness.mjs +24 -0
- package/esm2020/testing/diagram.harness.mjs +22 -0
- package/esm2020/testing/index.mjs +17 -0
- package/esm2020/testing/interactive-data-view.harness.mjs +19 -0
- package/esm2020/testing/more-actions-menu-button.harness.mjs +35 -0
- package/esm2020/testing/onecx-angular-accelerator-testing.mjs +5 -0
- package/esm2020/testing/page-header.harness.mjs +36 -0
- package/esm2020/testing/search-config.harness.mjs +10 -0
- package/fesm2015/onecx-angular-accelerator-testing.mjs +430 -0
- package/fesm2015/onecx-angular-accelerator-testing.mjs.map +1 -0
- package/fesm2015/onecx-angular-accelerator.mjs +3118 -0
- package/fesm2015/onecx-angular-accelerator.mjs.map +1 -0
- package/fesm2020/onecx-angular-accelerator-testing.mjs +338 -0
- package/fesm2020/onecx-angular-accelerator-testing.mjs.map +1 -0
- package/fesm2020/onecx-angular-accelerator.mjs +3085 -0
- package/fesm2020/onecx-angular-accelerator.mjs.map +1 -0
- package/index.d.ts +38 -0
- package/lib/angular-accelerator-primeng.module.d.ts +16 -0
- package/lib/angular-accelerator.module.d.ts +32 -0
- package/lib/components/column-group-selection/column-group-selection.component.d.ts +28 -0
- package/lib/components/custom-group-column-selector/custom-group-column-selector.component.d.ts +45 -0
- package/lib/components/data-layout-selection/data-layout-selection.component.d.ts +25 -0
- package/lib/components/data-list-grid/data-list-grid.component.d.ts +120 -0
- package/lib/components/data-list-grid-sorting/data-list-grid-sorting.component.d.ts +30 -0
- package/lib/components/data-sort-base/data-sort-base.d.ts +32 -0
- package/lib/components/data-table/data-table.component.d.ts +124 -0
- package/lib/components/data-view/data-view.component.d.ts +112 -0
- package/lib/components/diagram/diagram.component.d.ts +43 -0
- package/lib/components/group-by-count-diagram/group-by-count-diagram.component.d.ts +39 -0
- package/lib/components/interactive-data-view/interactive-data-view.component.d.ts +108 -0
- package/lib/components/page-header/page-header.component.d.ts +90 -0
- package/lib/components/search-config/search-config.component.d.ts +16 -0
- package/lib/components/search-header/search-header.component.d.ts +46 -0
- package/lib/directives/if-breakpoint.directive.d.ts +12 -0
- package/lib/directives/if-permission.directive.d.ts +18 -0
- package/lib/functions/flatten-object.d.ts +14 -0
- package/lib/model/breadcrumb-menu-item.model.d.ts +60 -0
- package/lib/model/column-type.model.d.ts +7 -0
- package/lib/model/data-action.d.ts +9 -0
- package/lib/model/data-column-name-id.model.d.ts +4 -0
- package/lib/model/data-sort-direction.d.ts +5 -0
- package/lib/model/data-table-column.model.d.ts +9 -0
- package/lib/model/diagram-column.d.ts +5 -0
- package/lib/model/diagram-data.d.ts +4 -0
- package/lib/model/diagram-type.d.ts +5 -0
- package/lib/model/search-config-info.d.ts +4 -0
- package/lib/pipes/dynamic.pipe.d.ts +13 -0
- package/lib/pipes/ocxtimeago.pipe.d.ts +6 -0
- package/lib/services/breadcrumb.service.d.ts +20 -0
- package/lib/services/translation-cache.service.d.ts +12 -0
- package/lib/utils/async-translate-loader.utils.d.ts +9 -0
- package/lib/utils/caching-translate-loader.utils.d.ts +13 -0
- package/lib/utils/colorutils.d.ts +12 -0
- package/lib/utils/create-translate-loader.utils.d.ts +5 -0
- package/lib/utils/dateutils.d.ts +9 -0
- package/lib/utils/objectutils.d.ts +4 -0
- package/lib/utils/ocxtimeagointl.utils.d.ts +9 -0
- package/lib/utils/primeicon.utils.d.ts +5 -0
- package/lib/utils/translate.combined.loader.d.ts +9 -0
- package/package.json +55 -0
- package/testing/column-group-selection.harness.d.ts +6 -0
- package/testing/custom-group-column-selector.harness.d.ts +14 -0
- package/testing/data-layout-selection.harness.d.ts +11 -0
- package/testing/data-list-grid.harness.d.ts +15 -0
- package/testing/data-table.harness.d.ts +17 -0
- package/testing/data-view.harness.d.ts +8 -0
- package/testing/default-grid-item.harness.d.ts +11 -0
- package/testing/default-list-item.harness.d.ts +12 -0
- package/testing/diagram.harness.d.ts +10 -0
- package/testing/index.d.ts +16 -0
- package/testing/interactive-data-view.harness.d.ts +15 -0
- package/testing/more-actions-menu-button.harness.d.ts +10 -0
- package/testing/page-header.harness.d.ts +13 -0
- package/testing/search-config.harness.d.ts +6 -0
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { EventEmitter, OnChanges, OnInit } from '@angular/core';
|
|
2
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
3
|
+
import { ChartData, ChartOptions } from 'chart.js';
|
|
4
|
+
import { DiagramData } from '../../model/diagram-data';
|
|
5
|
+
import { DiagramType } from '../../model/diagram-type';
|
|
6
|
+
import { PrimeIcon } from '../../utils/primeicon.utils';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export interface DiagramLayouts {
|
|
9
|
+
icon: PrimeIcon;
|
|
10
|
+
layout: DiagramType;
|
|
11
|
+
title?: string;
|
|
12
|
+
titleKey: string;
|
|
13
|
+
}
|
|
14
|
+
export declare class DiagramComponent implements OnInit, OnChanges {
|
|
15
|
+
private translateService;
|
|
16
|
+
data: DiagramData[] | undefined;
|
|
17
|
+
sumKey: string;
|
|
18
|
+
private _diagramType;
|
|
19
|
+
selectedDiagramType: DiagramLayouts | undefined;
|
|
20
|
+
chartType: string;
|
|
21
|
+
get diagramType(): DiagramType;
|
|
22
|
+
set diagramType(value: DiagramType);
|
|
23
|
+
private _supportedDiagramTypes;
|
|
24
|
+
get supportedDiagramTypes(): DiagramType[];
|
|
25
|
+
set supportedDiagramTypes(value: DiagramType[]);
|
|
26
|
+
dataSelected: EventEmitter<any>;
|
|
27
|
+
diagramTypeChanged: EventEmitter<DiagramType>;
|
|
28
|
+
chartOptions: ChartOptions | undefined;
|
|
29
|
+
chartData: ChartData | undefined;
|
|
30
|
+
amountOfData: number | undefined | null;
|
|
31
|
+
shownDiagramTypes: DiagramLayouts[];
|
|
32
|
+
private colorRangeInfo;
|
|
33
|
+
private colorScale;
|
|
34
|
+
constructor(translateService: TranslateService);
|
|
35
|
+
ngOnChanges(): void;
|
|
36
|
+
ngOnInit(): void;
|
|
37
|
+
generateChart(colorScale: any, colorRangeInfo: any): void;
|
|
38
|
+
private diagramTypeToChartType;
|
|
39
|
+
dataClicked(event: []): void;
|
|
40
|
+
onDiagramTypeChanged(event: any): void;
|
|
41
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DiagramComponent, never>;
|
|
42
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DiagramComponent, "ocx-diagram", never, { "data": "data"; "sumKey": "sumKey"; "diagramType": "diagramType"; "supportedDiagramTypes": "supportedDiagramTypes"; }, { "dataSelected": "dataSelected"; "diagramTypeChanged": "diagramTypeChanged"; }, never, never, false, never>;
|
|
43
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
import { ColumnType } from '../../model/column-type.model';
|
|
5
|
+
import { DiagramColumn } from '../../model/diagram-column';
|
|
6
|
+
import { DiagramData } from '../../model/diagram-data';
|
|
7
|
+
import { DiagramType } from '../../model/diagram-type';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class GroupByCountDiagramComponent implements OnInit {
|
|
10
|
+
private translateService;
|
|
11
|
+
sumKey: string;
|
|
12
|
+
diagramType: DiagramType;
|
|
13
|
+
/**
|
|
14
|
+
* @deprecated Will be replaced by diagramType
|
|
15
|
+
*/
|
|
16
|
+
get type(): DiagramType;
|
|
17
|
+
set type(value: DiagramType);
|
|
18
|
+
supportedDiagramTypes: DiagramType[];
|
|
19
|
+
private _data$;
|
|
20
|
+
get data(): unknown[];
|
|
21
|
+
set data(value: unknown[]);
|
|
22
|
+
diagramData$: Observable<DiagramData[]> | undefined;
|
|
23
|
+
private _columnType$;
|
|
24
|
+
get columnType(): ColumnType;
|
|
25
|
+
set columnType(value: ColumnType);
|
|
26
|
+
private _columnField$;
|
|
27
|
+
get columnField(): string;
|
|
28
|
+
set columnField(value: string);
|
|
29
|
+
get column(): DiagramColumn;
|
|
30
|
+
set column(value: DiagramColumn);
|
|
31
|
+
dataSelected: EventEmitter<any>;
|
|
32
|
+
diagramTypeChanged: EventEmitter<DiagramType>;
|
|
33
|
+
constructor(translateService: TranslateService);
|
|
34
|
+
ngOnInit(): void;
|
|
35
|
+
dataClicked(event: any): void;
|
|
36
|
+
onDiagramTypeChanged(newDiagramType: DiagramType): void;
|
|
37
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GroupByCountDiagramComponent, never>;
|
|
38
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GroupByCountDiagramComponent, "ocx-group-by-count-diagram", never, { "sumKey": "sumKey"; "diagramType": "diagramType"; "type": "type"; "supportedDiagramTypes": "supportedDiagramTypes"; "data": "data"; "columnType": "columnType"; "columnField": "columnField"; "column": "column"; }, { "dataSelected": "dataSelected"; "diagramTypeChanged": "diagramTypeChanged"; }, never, never, false, never>;
|
|
39
|
+
}
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import { EventEmitter, OnInit, TemplateRef } from '@angular/core';
|
|
2
|
+
import { DataTableColumn } from '../../model/data-table-column.model';
|
|
3
|
+
import { DataSortDirection } from '../../model/data-sort-direction';
|
|
4
|
+
import { Filter, Row, Sort } from '../data-table/data-table.component';
|
|
5
|
+
import { DataViewComponent, RowListGridData } from '../data-view/data-view.component';
|
|
6
|
+
import { GroupSelectionChangedEvent } from '../column-group-selection/column-group-selection.component';
|
|
7
|
+
import { ActionColumnChangedEvent, ColumnSelectionChangedEvent } from '../custom-group-column-selector/custom-group-column-selector.component';
|
|
8
|
+
import { DataAction } from '../../model/data-action';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
export declare class InteractiveDataViewComponent implements OnInit {
|
|
11
|
+
_dataViewComponent: DataViewComponent | undefined;
|
|
12
|
+
set dataView(ref: DataViewComponent | undefined);
|
|
13
|
+
get dataView(): DataViewComponent | undefined;
|
|
14
|
+
deletePermission: string | undefined;
|
|
15
|
+
editPermission: string | undefined;
|
|
16
|
+
viewPermission: string | undefined;
|
|
17
|
+
deleteActionVisibleField: string | undefined;
|
|
18
|
+
deleteActionEnabledField: string | undefined;
|
|
19
|
+
viewActionVisibleField: string | undefined;
|
|
20
|
+
viewActionEnabledField: string | undefined;
|
|
21
|
+
editActionVisibleField: string | undefined;
|
|
22
|
+
editActionEnabledField: string | undefined;
|
|
23
|
+
name: string;
|
|
24
|
+
titleLineId: string | undefined;
|
|
25
|
+
subtitleLineIds: string[];
|
|
26
|
+
supportedViewLayouts: ('grid' | 'list' | 'table')[];
|
|
27
|
+
columns: DataTableColumn[];
|
|
28
|
+
emptyResultsMessage: string | undefined;
|
|
29
|
+
clientSideFiltering: boolean;
|
|
30
|
+
fallbackImage: string;
|
|
31
|
+
filters: Filter[];
|
|
32
|
+
sortDirection: DataSortDirection;
|
|
33
|
+
sortField: any;
|
|
34
|
+
sortStates: DataSortDirection[];
|
|
35
|
+
pageSizes: number[];
|
|
36
|
+
pageSize: number;
|
|
37
|
+
totalRecordsOnServer: number | undefined;
|
|
38
|
+
layout: 'grid' | 'list' | 'table';
|
|
39
|
+
defaultGroupKey: string;
|
|
40
|
+
customGroupKey: string;
|
|
41
|
+
groupSelectionNoGroupSelectedKey: string;
|
|
42
|
+
currentPageShowingKey: string;
|
|
43
|
+
currentPageShowingWithTotalOnServerKey: string;
|
|
44
|
+
additionalActions: DataAction[];
|
|
45
|
+
listGridPaginator: boolean;
|
|
46
|
+
tablePaginator: boolean;
|
|
47
|
+
page: number;
|
|
48
|
+
selectedRows: Row[];
|
|
49
|
+
displayedColumns: DataTableColumn[];
|
|
50
|
+
tableCell: TemplateRef<any> | undefined;
|
|
51
|
+
tableDateCell: TemplateRef<any> | undefined;
|
|
52
|
+
tableRelativeDateCell: TemplateRef<any> | undefined;
|
|
53
|
+
tableTranslationKeyCell: TemplateRef<any> | undefined;
|
|
54
|
+
gridItemSubtitleLines: TemplateRef<any> | undefined;
|
|
55
|
+
listItemSubtitleLines: TemplateRef<any> | undefined;
|
|
56
|
+
stringTableCell: TemplateRef<any> | undefined;
|
|
57
|
+
numberTableCell: TemplateRef<any> | undefined;
|
|
58
|
+
gridItem: TemplateRef<any> | undefined;
|
|
59
|
+
listItem: TemplateRef<any> | undefined;
|
|
60
|
+
filtered: EventEmitter<Filter[]>;
|
|
61
|
+
sorted: EventEmitter<Sort>;
|
|
62
|
+
deleteItem: EventEmitter<RowListGridData>;
|
|
63
|
+
viewItem: EventEmitter<RowListGridData>;
|
|
64
|
+
editItem: EventEmitter<RowListGridData>;
|
|
65
|
+
dataViewLayoutChange: EventEmitter<"grid" | "list" | "table">;
|
|
66
|
+
displayedColumnsChange: EventEmitter<DataTableColumn[]>;
|
|
67
|
+
selectionChanged: EventEmitter<Row[]>;
|
|
68
|
+
pageChanged: EventEmitter<number>;
|
|
69
|
+
selectedGroupKey: string;
|
|
70
|
+
isDeleteItemObserved: boolean | undefined;
|
|
71
|
+
isViewItemObserved: boolean | undefined;
|
|
72
|
+
isEditItemObserved: boolean | undefined;
|
|
73
|
+
firstColumnId: string | undefined;
|
|
74
|
+
frozenActionColumn: boolean;
|
|
75
|
+
actionColumnPosition: 'left' | 'right';
|
|
76
|
+
get paginator(): boolean;
|
|
77
|
+
set paginator(value: boolean);
|
|
78
|
+
get _gridItemSubtitleLines(): TemplateRef<any> | undefined;
|
|
79
|
+
get _listItemSubtitleLines(): TemplateRef<any> | undefined;
|
|
80
|
+
get _tableCell(): TemplateRef<any> | undefined;
|
|
81
|
+
get _stringTableCell(): TemplateRef<any> | undefined;
|
|
82
|
+
get _numberTableCell(): TemplateRef<any> | undefined;
|
|
83
|
+
get _tableDateCell(): TemplateRef<any> | undefined;
|
|
84
|
+
get _tableRelativeDateCell(): TemplateRef<any> | undefined;
|
|
85
|
+
get _tableTranslationKeyCell(): TemplateRef<any> | undefined;
|
|
86
|
+
get _gridItem(): TemplateRef<any> | undefined;
|
|
87
|
+
get _listItem(): TemplateRef<any> | undefined;
|
|
88
|
+
_data: RowListGridData[];
|
|
89
|
+
get data(): RowListGridData[];
|
|
90
|
+
set data(value: RowListGridData[]);
|
|
91
|
+
ngOnInit(): void;
|
|
92
|
+
filtering(event: any): void;
|
|
93
|
+
sorting(event: any): void;
|
|
94
|
+
onDeleteElement(element: RowListGridData): void;
|
|
95
|
+
onViewElement(element: RowListGridData): void;
|
|
96
|
+
onEditElement(element: RowListGridData): void;
|
|
97
|
+
onDataViewLayoutChange(layout: 'grid' | 'list' | 'table'): void;
|
|
98
|
+
onSortChange($event: any): void;
|
|
99
|
+
onSortDirectionChange($event: any): void;
|
|
100
|
+
onColumnGroupSelectionChange(event: GroupSelectionChangedEvent): void;
|
|
101
|
+
registerEventListenerForDataView(): void;
|
|
102
|
+
onColumnSelectionChange(event: ColumnSelectionChangedEvent): void;
|
|
103
|
+
onActionColumnConfigChange(event: ActionColumnChangedEvent): void;
|
|
104
|
+
onRowSelectionChange(event: Row[]): void;
|
|
105
|
+
onPageChange(event: number): void;
|
|
106
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InteractiveDataViewComponent, never>;
|
|
107
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InteractiveDataViewComponent, "ocx-interactive-data-view", never, { "deletePermission": "deletePermission"; "editPermission": "editPermission"; "viewPermission": "viewPermission"; "deleteActionVisibleField": "deleteActionVisibleField"; "deleteActionEnabledField": "deleteActionEnabledField"; "viewActionVisibleField": "viewActionVisibleField"; "viewActionEnabledField": "viewActionEnabledField"; "editActionVisibleField": "editActionVisibleField"; "editActionEnabledField": "editActionEnabledField"; "name": "name"; "titleLineId": "titleLineId"; "subtitleLineIds": "subtitleLineIds"; "supportedViewLayouts": "supportedViewLayouts"; "columns": "columns"; "emptyResultsMessage": "emptyResultsMessage"; "clientSideFiltering": "clientSideFiltering"; "fallbackImage": "fallbackImage"; "filters": "filters"; "sortDirection": "sortDirection"; "sortField": "sortField"; "sortStates": "sortStates"; "pageSizes": "pageSizes"; "pageSize": "pageSize"; "totalRecordsOnServer": "totalRecordsOnServer"; "layout": "layout"; "defaultGroupKey": "defaultGroupKey"; "customGroupKey": "customGroupKey"; "groupSelectionNoGroupSelectedKey": "groupSelectionNoGroupSelectedKey"; "currentPageShowingKey": "currentPageShowingKey"; "currentPageShowingWithTotalOnServerKey": "currentPageShowingWithTotalOnServerKey"; "additionalActions": "additionalActions"; "listGridPaginator": "listGridPaginator"; "tablePaginator": "tablePaginator"; "page": "page"; "selectedRows": "selectedRows"; "displayedColumns": "displayedColumns"; "paginator": "paginator"; "data": "data"; }, { "filtered": "filtered"; "sorted": "sorted"; "deleteItem": "deleteItem"; "viewItem": "viewItem"; "editItem": "editItem"; "dataViewLayoutChange": "dataViewLayoutChange"; "displayedColumnsChange": "displayedColumnsChange"; "selectionChanged": "selectionChanged"; "pageChanged": "pageChanged"; }, ["tableCell", "tableDateCell", "tableRelativeDateCell", "tableTranslationKeyCell", "gridItemSubtitleLines", "listItemSubtitleLines", "stringTableCell", "numberTableCell", "gridItem", "listItem"], never, false, never>;
|
|
108
|
+
}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import { EventEmitter, OnChanges, OnInit, SimpleChanges, TemplateRef, Type } from '@angular/core';
|
|
2
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
3
|
+
import { MenuItem } from 'primeng/api';
|
|
4
|
+
import { Observable } from 'rxjs';
|
|
5
|
+
import { AppStateService } from '@onecx/angular-integration-interface';
|
|
6
|
+
import { UserService } from '@onecx/angular-integration-interface';
|
|
7
|
+
import { BreadcrumbService } from '../../services/breadcrumb.service';
|
|
8
|
+
import { PrimeIcon } from '../../utils/primeicon.utils';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
/**
|
|
11
|
+
* Action definition.
|
|
12
|
+
*/
|
|
13
|
+
export interface Action {
|
|
14
|
+
id?: string;
|
|
15
|
+
label?: string;
|
|
16
|
+
labelKey?: string;
|
|
17
|
+
icon?: string;
|
|
18
|
+
/**
|
|
19
|
+
* Permission for this action. If the current user does not have this permission, the action will not be shown.
|
|
20
|
+
*/
|
|
21
|
+
permission?: string;
|
|
22
|
+
title?: string;
|
|
23
|
+
titleKey?: string;
|
|
24
|
+
btnClass?: string;
|
|
25
|
+
actionCallback(): void;
|
|
26
|
+
disabled?: boolean;
|
|
27
|
+
show?: 'always' | 'asOverflow';
|
|
28
|
+
conditional?: boolean;
|
|
29
|
+
showCondition?: boolean;
|
|
30
|
+
}
|
|
31
|
+
export interface ObjectDetailItem {
|
|
32
|
+
label: string;
|
|
33
|
+
value?: string;
|
|
34
|
+
tooltip?: string;
|
|
35
|
+
icon?: PrimeIcon;
|
|
36
|
+
labelPipe?: Type<any>;
|
|
37
|
+
valuePipe?: Type<any>;
|
|
38
|
+
valuePipeArgs?: string;
|
|
39
|
+
}
|
|
40
|
+
export interface HomeItem {
|
|
41
|
+
menuItem: MenuItem;
|
|
42
|
+
page?: string;
|
|
43
|
+
}
|
|
44
|
+
export declare class PageHeaderComponent implements OnInit, OnChanges {
|
|
45
|
+
private translateService;
|
|
46
|
+
private appStateService;
|
|
47
|
+
private userService;
|
|
48
|
+
header: string | undefined;
|
|
49
|
+
loading: boolean;
|
|
50
|
+
figureBackground: boolean;
|
|
51
|
+
showFigure: boolean;
|
|
52
|
+
figureImage: string | undefined;
|
|
53
|
+
disableDefaultActions: boolean;
|
|
54
|
+
subheader: string | undefined;
|
|
55
|
+
_actions: Action[] | undefined;
|
|
56
|
+
get actions(): Action[] | undefined;
|
|
57
|
+
set actions(value: Action[] | undefined);
|
|
58
|
+
objectDetails: ObjectDetailItem[] | undefined;
|
|
59
|
+
showBreadcrumbs: boolean;
|
|
60
|
+
manualBreadcrumbs: boolean;
|
|
61
|
+
save: EventEmitter<any>;
|
|
62
|
+
additionalToolbarContent: TemplateRef<any> | undefined;
|
|
63
|
+
additionalToolbarContentLeft: TemplateRef<any> | undefined;
|
|
64
|
+
overflowActions: MenuItem[];
|
|
65
|
+
inlineActions: Action[] | undefined;
|
|
66
|
+
dd: Date;
|
|
67
|
+
breadcrumbs$: Observable<MenuItem[]>;
|
|
68
|
+
home$: Observable<HomeItem>;
|
|
69
|
+
protected breadcrumbs: BreadcrumbService;
|
|
70
|
+
constructor(breadcrumbs: BreadcrumbService, translateService: TranslateService, appStateService: AppStateService, userService: UserService);
|
|
71
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
72
|
+
ngOnInit(): void;
|
|
73
|
+
onAction(action: string): void;
|
|
74
|
+
/**
|
|
75
|
+
* Generates a list of actions that should be rendered in an overflow menu
|
|
76
|
+
*/
|
|
77
|
+
private generateOverflowActions;
|
|
78
|
+
/**
|
|
79
|
+
* Generates a list of actions that should be rendered as inline buttons
|
|
80
|
+
*/
|
|
81
|
+
private generateInlineActions;
|
|
82
|
+
/**
|
|
83
|
+
* Adds a given action to a given array if the current user is allowed to see it
|
|
84
|
+
* @param allowedActions Array that the action should be added to if the current user is allowed to see it
|
|
85
|
+
* @param action Action for which a permission check should be executed
|
|
86
|
+
*/
|
|
87
|
+
private checkActionPermission;
|
|
88
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PageHeaderComponent, never>;
|
|
89
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PageHeaderComponent, "ocx-page-header", never, { "header": "header"; "loading": "loading"; "figureBackground": "figureBackground"; "showFigure": "showFigure"; "figureImage": "figureImage"; "disableDefaultActions": "disableDefaultActions"; "subheader": "subheader"; "actions": "actions"; "objectDetails": "objectDetails"; "showBreadcrumbs": "showBreadcrumbs"; "manualBreadcrumbs": "manualBreadcrumbs"; }, { "save": "save"; }, ["additionalToolbarContent", "additionalToolbarContentLeft"], ["[figureImage]", "[toolbarItems]", "*"], false, never>;
|
|
90
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { FormGroup } from '@angular/forms';
|
|
3
|
+
import { SearchConfigInfo } from '../../model/search-config-info';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class SearchConfigComponent implements OnInit {
|
|
6
|
+
searchConfigs: SearchConfigInfo[] | [] | undefined;
|
|
7
|
+
placeholderKey: string;
|
|
8
|
+
selectedSearchConfigChanged: EventEmitter<SearchConfigInfo>;
|
|
9
|
+
formGroup: FormGroup | undefined;
|
|
10
|
+
ngOnInit(): void;
|
|
11
|
+
onSearchConfigChange(event: {
|
|
12
|
+
value: SearchConfigInfo;
|
|
13
|
+
}): void;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SearchConfigComponent, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SearchConfigComponent, "ocx-search-config", never, { "searchConfigs": "searchConfigs"; "placeholderKey": "placeholderKey"; }, { "selectedSearchConfigChanged": "selectedSearchConfigChanged"; }, never, never, false, never>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { AfterViewInit, ElementRef, EventEmitter, TemplateRef } from '@angular/core';
|
|
2
|
+
import { Action } from '../page-header/page-header.component';
|
|
3
|
+
import { SearchConfigInfo } from '../../model/search-config-info';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
/**
|
|
6
|
+
* To trigger the search when Enter key is pressed inside a search parameter field,
|
|
7
|
+
* an EventListener for keyup enter event is added for HTML elements which have an input.
|
|
8
|
+
* Please add the EventListener yourself manually, if you want to have that functionality for some other elements
|
|
9
|
+
* which do not have an input element.
|
|
10
|
+
*/
|
|
11
|
+
export declare class SearchHeaderComponent implements AfterViewInit {
|
|
12
|
+
searchConfigs: SearchConfigInfo[] | undefined;
|
|
13
|
+
header: string;
|
|
14
|
+
/**
|
|
15
|
+
* @deprecated Will be replaced by header
|
|
16
|
+
*/
|
|
17
|
+
get headline(): string;
|
|
18
|
+
set headline(value: string);
|
|
19
|
+
subheader: string | undefined;
|
|
20
|
+
viewMode: 'basic' | 'advanced';
|
|
21
|
+
manualBreadcrumbs: boolean;
|
|
22
|
+
_actions: Action[];
|
|
23
|
+
get actions(): Action[];
|
|
24
|
+
set actions(value: Action[]);
|
|
25
|
+
searched: EventEmitter<any>;
|
|
26
|
+
resetted: EventEmitter<any>;
|
|
27
|
+
selectedSearchConfigChanged: EventEmitter<SearchConfigInfo>;
|
|
28
|
+
viewModeChanged: EventEmitter<'basic' | 'advanced'>;
|
|
29
|
+
additionalToolbarContent: TemplateRef<any> | undefined;
|
|
30
|
+
get _additionalToolbarContent(): TemplateRef<any> | undefined;
|
|
31
|
+
additionalToolbarContentLeft: TemplateRef<any> | undefined;
|
|
32
|
+
get _additionalToolbarContentLeft(): TemplateRef<any> | undefined;
|
|
33
|
+
searchParameterFields: ElementRef | undefined;
|
|
34
|
+
hasAdvanced: boolean;
|
|
35
|
+
headerActions: Action[];
|
|
36
|
+
ngAfterViewInit(): void;
|
|
37
|
+
toggleViewMode(): void;
|
|
38
|
+
onResetClicked(): void;
|
|
39
|
+
onSearchClicked(): void;
|
|
40
|
+
updateHeaderActions(): void;
|
|
41
|
+
addKeyUpEventListener(): void;
|
|
42
|
+
onSearchKeyup(event: any): void;
|
|
43
|
+
confirmSearchConfig(searchConfig: SearchConfigInfo): void;
|
|
44
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SearchHeaderComponent, never>;
|
|
45
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SearchHeaderComponent, "ocx-search-header", never, { "searchConfigs": "searchConfigs"; "header": "header"; "headline": "headline"; "subheader": "subheader"; "viewMode": "viewMode"; "manualBreadcrumbs": "manualBreadcrumbs"; "actions": "actions"; }, { "searched": "searched"; "resetted": "resetted"; "selectedSearchConfigChanged": "selectedSearchConfigChanged"; "viewModeChanged": "viewModeChanged"; }, ["additionalToolbarContent", "additionalToolbarContentLeft"], ["*"], false, never>;
|
|
46
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { OnInit, TemplateRef, ViewContainerRef } 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
|
+
constructor(viewContainer: ViewContainerRef, templateRef?: TemplateRef<unknown> | undefined);
|
|
8
|
+
ngOnInit(): void;
|
|
9
|
+
onResize(): void;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IfBreakpointDirective, [null, { optional: true; }]>;
|
|
11
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<IfBreakpointDirective, "[ocxIfBreakpoint]", never, { "breakpoint": "ocxIfBreakpoint"; }, {}, never, never, false, never>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { ElementRef, OnInit, Renderer2, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
2
|
+
import { UserService } from '@onecx/angular-integration-interface';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class IfPermissionDirective implements OnInit {
|
|
5
|
+
private renderer;
|
|
6
|
+
private el;
|
|
7
|
+
private viewContainer;
|
|
8
|
+
private userService;
|
|
9
|
+
private templateRef?;
|
|
10
|
+
permission: string | undefined;
|
|
11
|
+
set notPermission(value: string | undefined);
|
|
12
|
+
onMissingPermission: 'hide' | 'disable';
|
|
13
|
+
negate: boolean;
|
|
14
|
+
constructor(renderer: Renderer2, el: ElementRef, viewContainer: ViewContainerRef, userService: UserService, templateRef?: TemplateRef<any> | undefined);
|
|
15
|
+
ngOnInit(): void;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IfPermissionDirective, [null, null, null, null, { optional: true; }]>;
|
|
17
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<IfPermissionDirective, "[ocxIfPermission], [ocxIfNotPermission]", never, { "permission": "ocxIfPermission"; "notPermission": "ocxIfNotPermission"; "onMissingPermission": "onMissingPermission"; }, {}, never, never, false, never>;
|
|
18
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
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 {};
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { QueryParamsHandling } from '@angular/router';
|
|
2
|
+
import { MenuItem } from 'primeng/api';
|
|
3
|
+
export interface BreadCrumbMenuItem {
|
|
4
|
+
/** @deprecated use labelKey instead */
|
|
5
|
+
label?: string;
|
|
6
|
+
labelKey?: string;
|
|
7
|
+
icon?: string;
|
|
8
|
+
command?: (event?: any) => void;
|
|
9
|
+
url?: string;
|
|
10
|
+
items?: MenuItem[];
|
|
11
|
+
expanded?: boolean;
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
visible?: boolean;
|
|
14
|
+
target?: string;
|
|
15
|
+
escape?: boolean;
|
|
16
|
+
routerLinkActiveOptions?: any;
|
|
17
|
+
separator?: boolean;
|
|
18
|
+
badge?: string;
|
|
19
|
+
tooltip?: string;
|
|
20
|
+
tooltipPosition?: string;
|
|
21
|
+
badgeStyleClass?: string;
|
|
22
|
+
style?: any;
|
|
23
|
+
styleClass?: string;
|
|
24
|
+
/** @deprecated use titleKey instead */
|
|
25
|
+
title?: string;
|
|
26
|
+
titleKey?: string;
|
|
27
|
+
id?: string;
|
|
28
|
+
automationId?: any;
|
|
29
|
+
tabindex?: string;
|
|
30
|
+
routerLink?: any;
|
|
31
|
+
queryParams?: {
|
|
32
|
+
[k: string]: any;
|
|
33
|
+
};
|
|
34
|
+
fragment?: string;
|
|
35
|
+
queryParamsHandling?: QueryParamsHandling;
|
|
36
|
+
preserveFragment?: boolean;
|
|
37
|
+
skipLocationChange?: boolean;
|
|
38
|
+
replaceUrl?: boolean;
|
|
39
|
+
iconStyle?: any;
|
|
40
|
+
iconClass?: string;
|
|
41
|
+
state?: {
|
|
42
|
+
[k: string]: any;
|
|
43
|
+
};
|
|
44
|
+
tooltipOptions?: {
|
|
45
|
+
tooltipLabel?: string;
|
|
46
|
+
tooltipPosition?: string;
|
|
47
|
+
tooltipEvent?: string;
|
|
48
|
+
appendTo?: any;
|
|
49
|
+
positionStyle?: string;
|
|
50
|
+
tooltipStyleClass?: string;
|
|
51
|
+
tooltipZIndex?: string;
|
|
52
|
+
escape?: boolean;
|
|
53
|
+
disabled?: boolean;
|
|
54
|
+
positionTop?: number;
|
|
55
|
+
positionLeft?: number;
|
|
56
|
+
showDelay?: number;
|
|
57
|
+
hideDelay?: number;
|
|
58
|
+
life?: number;
|
|
59
|
+
};
|
|
60
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Injector, PipeTransform, Type } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class DynamicPipe implements PipeTransform {
|
|
4
|
+
private injector;
|
|
5
|
+
knownPipes: {
|
|
6
|
+
[name: string]: PipeTransform;
|
|
7
|
+
};
|
|
8
|
+
constructor(locale: string, injector: Injector);
|
|
9
|
+
transform(value: any, requiredPipe?: Type<any>, pipeArgs?: any): any;
|
|
10
|
+
transform2(value: any, pipeToken: any, ...pipeArgs: any[]): any;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DynamicPipe, never>;
|
|
12
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<DynamicPipe, "dynamicPipe", false>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { TimeagoPipe } from 'ngx-timeago';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class OcxTimeAgoPipe extends TimeagoPipe {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OcxTimeAgoPipe, never>;
|
|
5
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<OcxTimeAgoPipe, "timeago", false>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { ActivatedRoute, Router } from '@angular/router';
|
|
2
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
3
|
+
import { BehaviorSubject } from 'rxjs';
|
|
4
|
+
import { MenuItem } from 'primeng/api';
|
|
5
|
+
import { BreadCrumbMenuItem } from '../model/breadcrumb-menu-item.model';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class BreadcrumbService {
|
|
8
|
+
private router;
|
|
9
|
+
private activeRoute;
|
|
10
|
+
private translateService;
|
|
11
|
+
private itemsSource;
|
|
12
|
+
generatedItemsSource: BehaviorSubject<MenuItem[]>;
|
|
13
|
+
itemsHandler: import("rxjs").Observable<MenuItem[]>;
|
|
14
|
+
constructor(router: Router, activeRoute: ActivatedRoute, translateService: TranslateService);
|
|
15
|
+
private addBreadcrumb;
|
|
16
|
+
private getLabel;
|
|
17
|
+
setItems(items: BreadCrumbMenuItem[]): void;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BreadcrumbService, never>;
|
|
19
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<BreadcrumbService>;
|
|
20
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { OnDestroy } from '@angular/core';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class TranslationCacheService implements OnDestroy {
|
|
5
|
+
private translationTopic$;
|
|
6
|
+
private translations$;
|
|
7
|
+
constructor();
|
|
8
|
+
ngOnDestroy(): void;
|
|
9
|
+
getTranslationFile(url: string, cacheMissFunction: () => Observable<any>): Observable<any>;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TranslationCacheService, never>;
|
|
11
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TranslationCacheService>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { TranslateLoader } from '@ngx-translate/core';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
export declare class AsyncTranslateLoader implements TranslateLoader {
|
|
4
|
+
private translateLoader$;
|
|
5
|
+
static lastTimerId: number;
|
|
6
|
+
timerId: number;
|
|
7
|
+
constructor(translateLoader$: Observable<TranslateLoader>);
|
|
8
|
+
getTranslation(lang: string): Observable<any>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { TranslateLoader } from '@ngx-translate/core';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
import { TranslationCacheService } from '../services/translation-cache.service';
|
|
5
|
+
export declare class CachingTranslateLoader implements TranslateLoader {
|
|
6
|
+
private translationCache;
|
|
7
|
+
private http;
|
|
8
|
+
private prefix?;
|
|
9
|
+
private suffix?;
|
|
10
|
+
private translateLoader;
|
|
11
|
+
constructor(translationCache: TranslationCacheService, http: HttpClient, prefix?: string | undefined, suffix?: string | undefined);
|
|
12
|
+
getTranslation(lang: string): Observable<any>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare class ColorUtils {
|
|
2
|
+
static calculatePoint(i: number, intervalSize: number, colorRangeInfo: {
|
|
3
|
+
colorStart: any;
|
|
4
|
+
colorEnd: any;
|
|
5
|
+
useEndAsStart: any;
|
|
6
|
+
}): any;
|
|
7
|
+
static interpolateColors(dataLength: number, colorScale: (arg0: any) => any, colorRangeInfo: {
|
|
8
|
+
colorStart: any;
|
|
9
|
+
colorEnd: any;
|
|
10
|
+
useEndAsStart: any;
|
|
11
|
+
}): any;
|
|
12
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { TranslateLoader } from '@ngx-translate/core';
|
|
3
|
+
import { AppStateService } from '@onecx/angular-integration-interface';
|
|
4
|
+
import { TranslationCacheService } from '../services/translation-cache.service';
|
|
5
|
+
export declare function createTranslateLoader(http: HttpClient, appStateService: AppStateService, translationCacheService?: TranslationCacheService): TranslateLoader;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class DateUtils {
|
|
3
|
+
protected locale: string;
|
|
4
|
+
constructor(locale: string);
|
|
5
|
+
options: Intl.DateTimeFormatOptions;
|
|
6
|
+
localizedDate(date: string | number | Date | undefined): string;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DateUtils, never>;
|
|
8
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<DateUtils>;
|
|
9
|
+
}
|