@eo-sdk/client 9.0.0-rc.4 → 9.0.0-rc.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/app/eo-client/settings/settings.component.d.ts +34 -4
- package/app/eo-framework/app-shell/app-bar/app-bar.component.d.ts +3 -1
- package/app/eo-framework/form-elements/form-input/input-focus/input-focus.directive.d.ts +1 -0
- package/app/eo-framework/grid/column-configurator/column-configurator.component.d.ts +2 -0
- package/app/eo-framework/grid/extensions/filter/setFilters/set-filter.component.d.ts +1 -0
- package/app/eo-framework-core/api/grid.service.d.ts +8 -2
- package/assets/_default/config/main.json +1 -7
- package/assets/_default/i18n/de.json +17 -6
- package/assets/_default/i18n/en.json +17 -6
- package/bundles/eo-sdk-client-projects-eo-sdk-core.umd.js +73 -28
- package/bundles/eo-sdk-client-projects-eo-sdk-core.umd.js.map +1 -1
- package/bundles/eo-sdk-client-projects-eo-sdk-core.umd.min.js +2 -2
- package/bundles/eo-sdk-client-projects-eo-sdk-core.umd.min.js.map +1 -1
- package/bundles/eo-sdk-client.umd.js +260 -94
- package/bundles/eo-sdk-client.umd.js.map +1 -1
- package/bundles/eo-sdk-client.umd.min.js +1 -1
- package/bundles/eo-sdk-client.umd.min.js.map +1 -1
- package/eo-sdk-client.d.ts +11 -10
- package/eo-sdk-client.metadata.json +1 -1
- package/esm2015/app/eo-client/about-state/about-state.component.js +3 -3
- package/esm2015/app/eo-client/settings/settings.component.js +118 -10
- package/esm2015/app/eo-framework/app-shell/app-bar/app-bar.component.js +11 -4
- package/esm2015/app/eo-framework/form-elements/form-input/form-input.component.js +2 -2
- package/esm2015/app/eo-framework/form-elements/form-input/input-focus/input-focus.directive.js +7 -3
- package/esm2015/app/eo-framework/grid/column-configurator/column-configurator.component.js +31 -6
- package/esm2015/app/eo-framework/grid/extensions/filter/setFilters/set-filter.component.js +4 -2
- package/esm2015/app/eo-framework/grid/extensions/filter/text/text-filter.component.js +2 -3
- package/esm2015/app/eo-framework/grid/filters/list-filter.component.js +2 -2
- package/esm2015/app/eo-framework/inbox-details/inbox-details.component.js +5 -1
- package/esm2015/app/eo-framework/object-details/object-history/object-history.component.js +4 -3
- package/esm2015/app/eo-framework/object-form/object-form/form-element/form-element.component.js +2 -2
- package/esm2015/app/eo-framework/result-list/result-list.component.js +3 -3
- package/esm2015/app/eo-framework/ui/eo-dialog/eo-dialog.component.js +2 -2
- package/esm2015/app/eo-framework/ui/ui.module.js +4 -2
- package/esm2015/app/eo-framework/ui/user-avatar/user-avatar.component.js +3 -2
- package/esm2015/app/eo-framework-core/api/grid.service.js +11 -5
- package/esm2015/app/eo-framework-core/api/plugins.service.js +2 -1
- package/esm2015/eo-sdk-client.js +12 -11
- package/esm2015/projects/eo-sdk/core/lib/service/auth/auth.service.js +5 -5
- package/esm2015/projects/eo-sdk/core/lib/service/backend/backend.service.js +21 -14
- package/esm2015/projects/eo-sdk/core/lib/service/config/config.service.js +22 -4
- package/esm2015/projects/eo-sdk/core/lib/service/events/events.js +3 -2
- package/esm2015/projects/eo-sdk/core/lib/service/search/search-query.model.js +5 -4
- package/esm2015/projects/eo-sdk/core/lib/service/search/search.service.js +7 -3
- package/esm2015/projects/eo-sdk/core/lib/service/user/user.service.js +17 -3
- package/fesm2015/eo-sdk-client-projects-eo-sdk-core.js +72 -28
- package/fesm2015/eo-sdk-client-projects-eo-sdk-core.js.map +1 -1
- package/fesm2015/eo-sdk-client.js +239 -80
- package/fesm2015/eo-sdk-client.js.map +1 -1
- package/package.json +2 -2
- package/projects/eo-sdk/core/eo-sdk-client-projects-eo-sdk-core.metadata.json +1 -1
- package/projects/eo-sdk/core/lib/service/backend/backend.service.d.ts +2 -0
- package/projects/eo-sdk/core/lib/service/config/config.service.d.ts +5 -0
- package/projects/eo-sdk/core/lib/service/events/events.d.ts +1 -0
- package/projects/eo-sdk/core/lib/service/search/search-query.model.d.ts +8 -1
- package/projects/eo-sdk/core/lib/service/user/user.service.d.ts +10 -1
- package/projects/eo-sdk/core/package.json +1 -1
- package/scss/_form.scss +2 -2
- package/styles.css +1 -1
|
@@ -1,18 +1,20 @@
|
|
|
1
1
|
import { ListSettingsService } from './../../eo-framework/grid/extensions/services/list-settings.service';
|
|
2
|
-
import { AfterViewInit, Renderer2, OnDestroy } from '@angular/core';
|
|
2
|
+
import { AfterViewInit, Renderer2, OnDestroy, ElementRef } from '@angular/core';
|
|
3
3
|
import { NgForm, FormBuilder, FormControl } from '@angular/forms';
|
|
4
4
|
import { AgentService } from '../../eo-framework-core/agent/agent.service';
|
|
5
5
|
import { PageTitleService } from '../../eo-framework-core/title/page-title.service';
|
|
6
6
|
import { UnsubscribeOnDestroy } from '../../eo-framework/util/unsubscribe/unsubscribe.component';
|
|
7
|
-
import { TranslateService, EnvironmentService, NotificationsService, Capabilities, CapabilitiesService, EoUser, UserService, Config, SystemService, AppCacheService, LocalStorageService } from '@eo-sdk/core';
|
|
7
|
+
import { TranslateService, EnvironmentService, NotificationsService, Capabilities, CapabilitiesService, EoUser, UserService, Config, SystemService, AppCacheService, LocalStorageService, EventService } from '@eo-sdk/core';
|
|
8
8
|
import { Observable } from 'rxjs';
|
|
9
9
|
import { LockSettings } from './agent-lock-settings.enum';
|
|
10
|
+
import { UserAvatarComponent } from '../../eo-framework';
|
|
10
11
|
export declare class SettingsComponent extends UnsubscribeOnDestroy implements AfterViewInit, OnDestroy {
|
|
11
12
|
private renderer;
|
|
12
13
|
userService: UserService;
|
|
13
14
|
config: Config;
|
|
14
15
|
private notify;
|
|
15
16
|
private systemService;
|
|
17
|
+
private eventService;
|
|
16
18
|
private capabilitiesService;
|
|
17
19
|
private envService;
|
|
18
20
|
private titleService;
|
|
@@ -22,6 +24,7 @@ export declare class SettingsComponent extends UnsubscribeOnDestroy implements A
|
|
|
22
24
|
private listSettingsService;
|
|
23
25
|
private storageService;
|
|
24
26
|
translate: TranslateService;
|
|
27
|
+
private notification;
|
|
25
28
|
user: EoUser;
|
|
26
29
|
capabilities: Capabilities;
|
|
27
30
|
deputies: {
|
|
@@ -36,14 +39,32 @@ export declare class SettingsComponent extends UnsubscribeOnDestroy implements A
|
|
|
36
39
|
useAgentControl: FormControl;
|
|
37
40
|
showAgentConfig: boolean;
|
|
38
41
|
defaultLockSetting: boolean;
|
|
42
|
+
user$: Observable<any>;
|
|
43
|
+
errorMessage: string;
|
|
44
|
+
userId: string;
|
|
45
|
+
showDeleteIconTrash: boolean;
|
|
46
|
+
userImageUri: string;
|
|
47
|
+
preview: string;
|
|
48
|
+
file: any;
|
|
49
|
+
hoverSelector: boolean;
|
|
50
|
+
showPreviewDialog: boolean;
|
|
51
|
+
showDeleteDialog: boolean;
|
|
52
|
+
showErrorDialog: boolean;
|
|
53
|
+
MAX_FILE_SIZE: number;
|
|
54
|
+
viewMode: string;
|
|
55
|
+
fileName: string;
|
|
39
56
|
cache: {
|
|
40
57
|
system: boolean;
|
|
41
58
|
history: boolean;
|
|
42
59
|
layout: boolean;
|
|
43
60
|
};
|
|
44
|
-
|
|
61
|
+
files: ElementRef;
|
|
62
|
+
headerBg: any;
|
|
63
|
+
userAvatar: UserAvatarComponent;
|
|
64
|
+
confirmDeleteBtn: ElementRef;
|
|
65
|
+
profileImageOverlay: ElementRef;
|
|
45
66
|
deputiesForm: NgForm;
|
|
46
|
-
constructor(renderer: Renderer2, userService: UserService, config: Config, notify: NotificationsService, systemService: SystemService, capabilitiesService: CapabilitiesService, envService: EnvironmentService, titleService: PageTitleService, agentService: AgentService, fb: FormBuilder, cacheService: AppCacheService, listSettingsService: ListSettingsService, storageService: LocalStorageService, translate: TranslateService);
|
|
67
|
+
constructor(renderer: Renderer2, userService: UserService, config: Config, notify: NotificationsService, systemService: SystemService, eventService: EventService, capabilitiesService: CapabilitiesService, envService: EnvironmentService, titleService: PageTitleService, agentService: AgentService, fb: FormBuilder, cacheService: AppCacheService, listSettingsService: ListSettingsService, storageService: LocalStorageService, translate: TranslateService, notification: NotificationsService);
|
|
47
68
|
get isSSO(): boolean;
|
|
48
69
|
get agentStatus(): Observable<boolean>;
|
|
49
70
|
get isCloud(): boolean;
|
|
@@ -59,5 +80,14 @@ export declare class SettingsComponent extends UnsubscribeOnDestroy implements A
|
|
|
59
80
|
changeSchemaLocale(iso: string): void;
|
|
60
81
|
ngAfterViewInit(): void;
|
|
61
82
|
setPresence(b: boolean): void;
|
|
83
|
+
closePreviewDialog(): void;
|
|
84
|
+
deleteUserImage(): void;
|
|
85
|
+
selectImage(event: any): void;
|
|
86
|
+
uploadNewUserImage(): void;
|
|
87
|
+
tabAction(input: HTMLInputElement): void;
|
|
88
|
+
mouseEnter(): void;
|
|
89
|
+
mouseLeave(): void;
|
|
90
|
+
trashIconClick(): void;
|
|
91
|
+
setUserImage(imageUri: string): void;
|
|
62
92
|
clearCache(): boolean;
|
|
63
93
|
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { Renderer2, OnInit } from '@angular/core';
|
|
1
|
+
import { Renderer2, OnInit, QueryList } from '@angular/core';
|
|
2
2
|
import { Router } from '@angular/router';
|
|
3
3
|
import { UnsubscribeOnDestroy } from '../../util/unsubscribe/unsubscribe.component';
|
|
4
4
|
import { EventService, BpmService, UserService, EoUser, CapabilitiesService, Capabilities, InboxService, InboxState, ClipboardService, PrepareService, TranslateService, Config } from '@eo-sdk/core';
|
|
5
|
+
import { UserAvatarComponent } from '../../ui';
|
|
5
6
|
export declare class AppBarComponent extends UnsubscribeOnDestroy implements OnInit {
|
|
6
7
|
private userService;
|
|
7
8
|
private capabilityService;
|
|
@@ -25,6 +26,7 @@ export declare class AppBarComponent extends UnsubscribeOnDestroy implements OnI
|
|
|
25
26
|
iconTitles: any;
|
|
26
27
|
logo: string;
|
|
27
28
|
pageVisible: boolean;
|
|
29
|
+
avatarComponents: QueryList<UserAvatarComponent>;
|
|
28
30
|
constructor(userService: UserService, capabilityService: CapabilitiesService, translate: TranslateService, inboxService: InboxService, prepareService: PrepareService, clipboard: ClipboardService, renderer: Renderer2, router: Router, bpmService: BpmService, eventService: EventService, config: Config);
|
|
29
31
|
openDashboard(openInNewWindow: boolean): void;
|
|
30
32
|
updateOnSchemaChange(): void;
|
|
@@ -18,6 +18,7 @@ export declare class ColumnConfiguratorComponent implements OnInit, OnChanges {
|
|
|
18
18
|
visible: boolean;
|
|
19
19
|
eoGrid: GridComponent;
|
|
20
20
|
private originalFields;
|
|
21
|
+
alignmentValue: string;
|
|
21
22
|
constructor(searchService: SearchService, userService: UserService, translate: TranslateService);
|
|
22
23
|
resetDefault(): void;
|
|
23
24
|
/**
|
|
@@ -46,6 +47,7 @@ export declare class ColumnConfiguratorComponent implements OnInit, OnChanges {
|
|
|
46
47
|
toggleConfigMode(refresh?: boolean): void;
|
|
47
48
|
togglePrevent(item: any, $event: any): void;
|
|
48
49
|
toggleSort(item: any, $event: any): void;
|
|
50
|
+
toggleAlignment(item: any, $event: any): void;
|
|
49
51
|
togglePinned(item: any, $event: any): void;
|
|
50
52
|
ngOnInit(): void;
|
|
51
53
|
ngOnChanges(changes: SimpleChanges): void;
|
|
@@ -7,6 +7,7 @@ export declare class SetFilterComponent extends AbstractFilterComponent {
|
|
|
7
7
|
title: string;
|
|
8
8
|
searchLimit: number;
|
|
9
9
|
operator: string;
|
|
10
|
+
selectedAllFilters: boolean;
|
|
10
11
|
set options(opts: any[]);
|
|
11
12
|
get options(): any[];
|
|
12
13
|
constructor(settingsService: ListSettingsService);
|
|
@@ -23,7 +23,10 @@ export declare class GridService {
|
|
|
23
23
|
openRouterLink(event: MouseEvent, parentClass: string): void;
|
|
24
24
|
getContext(): any;
|
|
25
25
|
updateContext(typeOpts: string[], options?: {}): void;
|
|
26
|
-
getColumnDefs(elements: any[], sortorder?: any[], grouporder?: any[], pinned?: any[],
|
|
26
|
+
getColumnDefs(elements: any[], sortorder?: any[], grouporder?: any[], pinned?: any[], alignmentx?: {
|
|
27
|
+
qname: string;
|
|
28
|
+
value: string;
|
|
29
|
+
}[], enableRowGroup?: boolean, cachedColumns?: any[], mode?: any): ColDef[];
|
|
27
30
|
/**
|
|
28
31
|
* Renders the visual output of form elements based on its type etc. (see IndexdataSummaryComponent for usage details)
|
|
29
32
|
* @param elements - The form elements to be rendered
|
|
@@ -38,7 +41,10 @@ export declare class GridService {
|
|
|
38
41
|
*
|
|
39
42
|
* @param sortFields - Array of fields to be sorted
|
|
40
43
|
*/
|
|
41
|
-
getColumnDefinition(resultField: any, sortFields?: any[], groupFields?: any[], pinnedFields?: any[],
|
|
44
|
+
getColumnDefinition(resultField: any, sortFields?: any[], groupFields?: any[], pinnedFields?: any[], alignmentFields?: {
|
|
45
|
+
qname: string;
|
|
46
|
+
value: string;
|
|
47
|
+
}[], enableRowGroup?: boolean, cachedColumns?: any[], mode?: any): ColDef;
|
|
42
48
|
/**
|
|
43
49
|
* add type specific column definition attributes
|
|
44
50
|
*
|
|
@@ -1,13 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"uri": {
|
|
3
3
|
"serviceBase": "/rest-ws/service",
|
|
4
|
-
"
|
|
5
|
-
"contextBase": "/structure",
|
|
6
|
-
"inboxBase": "/inboxservice",
|
|
7
|
-
"bpmBase": "/bpm",
|
|
8
|
-
"agentBase": "/agent",
|
|
9
|
-
"statusBase": "/status",
|
|
10
|
-
"loginBase": "/"
|
|
4
|
+
"contextPath": "/"
|
|
11
5
|
},
|
|
12
6
|
"search": {
|
|
13
7
|
"searchMode": "idxs",
|
|
@@ -296,6 +296,16 @@
|
|
|
296
296
|
"eo.state.settings.presence.absent": "Abwesend",
|
|
297
297
|
"eo.state.settings.presence.error.title": "Ooops...",
|
|
298
298
|
"eo.state.settings.presence.error.description": "Das hat wohl nicht geklappt. Bitte versuchen Sie es nochmal.",
|
|
299
|
+
"eo.state.settings.details.upload.dialog.title": "Profilbild hochladen",
|
|
300
|
+
"eo.state.settings.details.upload.dialog.back":"Zurück",
|
|
301
|
+
"eo.state.settings.details.upload.dialog.error.title": "Fehler",
|
|
302
|
+
"eo.state.settings.details.upload.dialog.sizeError": "Die Datei ist zu groß. Die maximale Größe ist 512 KB.",
|
|
303
|
+
"eo.state.settings.details.upload.dialog.fileError": "Es sind nur Dateien vom Format jpg und png erlaubt.",
|
|
304
|
+
"eo.state.settings.details.delete.dialog.title": "Profilbild löschen",
|
|
305
|
+
"eo.state.settings.details.delete.dialog.message": "Sind Sie sicher, dass das Profilbild gelöscht werden soll?",
|
|
306
|
+
"eo.state.settings.details.delete.dialog.cancel": "Abbrechen",
|
|
307
|
+
"eo.state.settings.details.delete.dialog.ok": "Löschen",
|
|
308
|
+
"eo.state.settings.details.dialog.save": "Speichern",
|
|
299
309
|
"eo.state.settings.deputies": "Stellvertreter",
|
|
300
310
|
"eo.state.settings.lock": "Dokument beim Öffnen sperren",
|
|
301
311
|
"eo.state.settings.lock.enable": "Aktiviert",
|
|
@@ -327,6 +337,7 @@
|
|
|
327
337
|
"eo.column.config.sort": "sortieren",
|
|
328
338
|
"eo.column.config.group": "gruppieren",
|
|
329
339
|
"eo.column.config.pinned": "fixieren",
|
|
340
|
+
"eo.column.config.alignment": "ausrichten",
|
|
330
341
|
"eo.column.config.info.type": "Konfiguration für Ergebnistyp '{{type}}'",
|
|
331
342
|
"eo.column.config.info.type.context": "Konfiguration für Ergebnistyp '{{type}}' im Ordner '{{context}}'",
|
|
332
343
|
"eo.column.config.info.fulltext": "Konfiguration für gemischte Ergebnistypen",
|
|
@@ -623,18 +634,18 @@
|
|
|
623
634
|
"eo.process.details.history.entry.type.USERDEFINED.title": "Individueller Historieneintrag.",
|
|
624
635
|
"eo.process.details.history.entry.type.WORKITEM_CANCELEVENT_END.title": "Das Skript zum Ereignis 'WorkitemCanceled' wurde beendet.",
|
|
625
636
|
"eo.process.details.history.entry.type.WORKITEM_CANCELEVENT_START.title": "Das Skript zum Ereingis 'ActivityCancel' wird ausgeführt.",
|
|
626
|
-
"eo.process.details.history.entry.type.WORKITEM_CANCEL_ADMIN.title": "Die Aufgabe wurde durch den Administrator
|
|
627
|
-
"eo.process.details.history.entry.type.WORKITEM_CANCEL_DEADLINE.title": "Die Aufgabe wurde aufgrund der Fristüberschreitung
|
|
628
|
-
"eo.process.details.history.entry.type.WORKITEM_CANCEL_SUBSTITUTE.title": "Die Aufgabe wurde vom Stellvertreter
|
|
629
|
-
"eo.process.details.history.entry.type.WORKITEM_CANCEL_USER.title": "Die Aufgabe wurde
|
|
637
|
+
"eo.process.details.history.entry.type.WORKITEM_CANCEL_ADMIN.title": "Die Aufgabe wurde durch den Administrator zurückgegeben.",
|
|
638
|
+
"eo.process.details.history.entry.type.WORKITEM_CANCEL_DEADLINE.title": "Die Aufgabe wurde aufgrund der Fristüberschreitung zurückgegeben.",
|
|
639
|
+
"eo.process.details.history.entry.type.WORKITEM_CANCEL_SUBSTITUTE.title": "Die Aufgabe wurde vom Stellvertreter zurückgegeben.",
|
|
640
|
+
"eo.process.details.history.entry.type.WORKITEM_CANCEL_USER.title": "Die Aufgabe wurde zurückgegeben.",
|
|
630
641
|
"eo.process.details.history.entry.type.WORKITEM_COMPLETE.title": "Die Aufgabe wurde weitergeleitet.",
|
|
631
642
|
"eo.process.details.history.entry.type.WORKITEM_COMPLETE_DEADLINE.title": "Die Frist der Aufgabe wurde erreicht.",
|
|
632
643
|
"eo.process.details.history.entry.type.WORKITEM_COMPLETE_SUBSTITUTE.title": "Die Aufgabe wurde vom Stellvertreter weitergeleitet.",
|
|
633
|
-
"eo.process.details.history.entry.type.WORKITEM_PERSONALIZE.title": "Die Aufgabe wurde
|
|
644
|
+
"eo.process.details.history.entry.type.WORKITEM_PERSONALIZE.title": "Die Aufgabe wurde übernommen.",
|
|
634
645
|
"eo.process.details.history.entry.type.WORKITEM_PERSONALIZEEVENT_END.title": "Das Skript zum Ereignis 'Personalization' wurde beendet.",
|
|
635
646
|
"eo.process.details.history.entry.type.WORKITEM_PERSONALIZEEVENT_START.title": "Das Skript zum Ereignis 'Personalization' wurde gestartet.",
|
|
636
647
|
"eo.process.details.history.entry.type.WORKITEM_PERSONALIZE_SUBSTITUTE.title": "Die Aufgabe wurde durch den Stellvertreter übernommen.",
|
|
637
|
-
"eo.process.details.history.entry.type.WORKITEM_SAVE.title": "Die Aufgabe wurde
|
|
648
|
+
"eo.process.details.history.entry.type.WORKITEM_SAVE.title": "Die Aufgabe wurde gespeichert.",
|
|
638
649
|
"eo.process.details.history.entry.type.WORKITEM_SAVEEVENT_END.title": "Das Skript zum Ereignis 'ActivitySave' wurde beendet.",
|
|
639
650
|
"eo.process.details.history.entry.type.WORKITEM_SAVEEVENT_START.title": "Das Skript zum Ereignis 'WorkitemSaved' wurde gestartet.",
|
|
640
651
|
"eo.process.details.history.entry.type.WORKITEM_SAVE_SUBSTITUTE.title": "Die Aufgabe wurde vom Stellvertreter gespeichert.",
|
|
@@ -298,6 +298,16 @@
|
|
|
298
298
|
"eo.state.settings.presence.absent": "Out of office",
|
|
299
299
|
"eo.state.settings.presence.error.title": "Oops...",
|
|
300
300
|
"eo.state.settings.presence.error.description": "That didn't work. Please try again.",
|
|
301
|
+
"eo.state.settings.details.upload.dialog.title": "Profile image upload",
|
|
302
|
+
"eo.state.settings.details.upload.dialog.back":"Back",
|
|
303
|
+
"eo.state.settings.details.upload.dialog.error.title": "Error",
|
|
304
|
+
"eo.state.settings.details.upload.dialog.sizeError": "The file size is too large. The maximum size is 512 KByte.",
|
|
305
|
+
"eo.state.settings.details.upload.dialog.fileError": "Only images of type jpg or png are allowed",
|
|
306
|
+
"eo.state.settings.details.delete.dialog.title": "Delete profile image",
|
|
307
|
+
"eo.state.settings.details.delete.dialog.message": "Are you sure you want to delete your image?",
|
|
308
|
+
"eo.state.settings.details.delete.dialog.cancel": "Cancel",
|
|
309
|
+
"eo.state.settings.details.delete.dialog.ok": "Delete",
|
|
310
|
+
"eo.state.settings.details.dialog.save": "Save",
|
|
301
311
|
"eo.state.settings.deputies": "Substitutes",
|
|
302
312
|
"eo.state.settings.lock": "Lock document on open",
|
|
303
313
|
"eo.state.settings.lock.enable": "Enabled",
|
|
@@ -329,6 +339,7 @@
|
|
|
329
339
|
"eo.column.config.sort": "sort",
|
|
330
340
|
"eo.column.config.group": "group",
|
|
331
341
|
"eo.column.config.pinned": "pin",
|
|
342
|
+
"eo.column.config.alignment": "align",
|
|
332
343
|
"eo.column.config.info.type": "Configuration for result type '{{type}}'",
|
|
333
344
|
"eo.column.config.info.type.context": "Configuration for result type '{{type}}' in folder '{{context}}'",
|
|
334
345
|
"eo.column.config.info.fulltext": "Configuration for mixed result types",
|
|
@@ -624,18 +635,18 @@
|
|
|
624
635
|
"eo.process.details.history.entry.type.USERDEFINED.title": "Individual history entry.",
|
|
625
636
|
"eo.process.details.history.entry.type.WORKITEM_CANCELEVENT_END.title": "The script for the 'WorkitemCanceled' event was completed.",
|
|
626
637
|
"eo.process.details.history.entry.type.WORKITEM_CANCELEVENT_START.title": "The script for the 'ActivityCancel' event is being executed.",
|
|
627
|
-
"eo.process.details.history.entry.type.WORKITEM_CANCEL_ADMIN.title": "The task was
|
|
628
|
-
"eo.process.details.history.entry.type.WORKITEM_CANCEL_DEADLINE.title": "The task was
|
|
629
|
-
"eo.process.details.history.entry.type.WORKITEM_CANCEL_SUBSTITUTE.title": "The task was
|
|
630
|
-
"eo.process.details.history.entry.type.WORKITEM_CANCEL_USER.title": "The task was returned
|
|
638
|
+
"eo.process.details.history.entry.type.WORKITEM_CANCEL_ADMIN.title": "The task was returned by the administrator.",
|
|
639
|
+
"eo.process.details.history.entry.type.WORKITEM_CANCEL_DEADLINE.title": "The task was returned due to a missed deadline.",
|
|
640
|
+
"eo.process.details.history.entry.type.WORKITEM_CANCEL_SUBSTITUTE.title": "The task was returned by the substitute.",
|
|
641
|
+
"eo.process.details.history.entry.type.WORKITEM_CANCEL_USER.title": "The task was returned.",
|
|
631
642
|
"eo.process.details.history.entry.type.WORKITEM_COMPLETE.title": "The task was forwarded.",
|
|
632
643
|
"eo.process.details.history.entry.type.WORKITEM_COMPLETE_DEADLINE.title": "The deadline of the task has been reached.",
|
|
633
644
|
"eo.process.details.history.entry.type.WORKITEM_COMPLETE_SUBSTITUTE.title": "The task was forwarded by the substitute.",
|
|
634
|
-
"eo.process.details.history.entry.type.WORKITEM_PERSONALIZE.title": "The task was accepted
|
|
645
|
+
"eo.process.details.history.entry.type.WORKITEM_PERSONALIZE.title": "The task was accepted.",
|
|
635
646
|
"eo.process.details.history.entry.type.WORKITEM_PERSONALIZEEVENT_END.title": "The script for the 'Personalization' event was completed.",
|
|
636
647
|
"eo.process.details.history.entry.type.WORKITEM_PERSONALIZEEVENT_START.title": "The script for the 'Personalization' event was launched.",
|
|
637
648
|
"eo.process.details.history.entry.type.WORKITEM_PERSONALIZE_SUBSTITUTE.title": "The task was accepted by the substitute.",
|
|
638
|
-
"eo.process.details.history.entry.type.WORKITEM_SAVE.title": "The task was
|
|
649
|
+
"eo.process.details.history.entry.type.WORKITEM_SAVE.title": "The task was saved.",
|
|
639
650
|
"eo.process.details.history.entry.type.WORKITEM_SAVEEVENT_END.title": "The script for the 'ActivitySave' event was completed.",
|
|
640
651
|
"eo.process.details.history.entry.type.WORKITEM_SAVEEVENT_START.title": "The script for the 'WorkitemSaved' event was launched.",
|
|
641
652
|
"eo.process.details.history.entry.type.WORKITEM_SAVE_SUBSTITUTE.title": "The task was saved by the substitute.",
|
|
@@ -448,7 +448,7 @@
|
|
|
448
448
|
queryJson.options.expertmode = true;
|
|
449
449
|
}
|
|
450
450
|
if (this.resolveReference) {
|
|
451
|
-
queryJson.options.
|
|
451
|
+
queryJson.options.resolvereference = true;
|
|
452
452
|
}
|
|
453
453
|
if (this.searchMode !== SearchQuery.DEFAULT_SEARCH_MODE) {
|
|
454
454
|
queryJson.options.searchmode = this.searchMode;
|
|
@@ -465,7 +465,7 @@
|
|
|
465
465
|
queryJson.options.highlighting = this.highlighting;
|
|
466
466
|
}
|
|
467
467
|
if (this.withContext) {
|
|
468
|
-
queryJson.options.
|
|
468
|
+
queryJson.options.withcontext = this.withContext;
|
|
469
469
|
}
|
|
470
470
|
}
|
|
471
471
|
return queryJson;
|
|
@@ -571,15 +571,17 @@
|
|
|
571
571
|
* Creates the Model of Field Definitions
|
|
572
572
|
*/
|
|
573
573
|
var FieldDefinition = /** @class */ (function () {
|
|
574
|
-
function FieldDefinition(elements, sortorder, grouporder, pinned, mode) {
|
|
574
|
+
function FieldDefinition(elements, sortorder, grouporder, pinned, alignmentx, mode) {
|
|
575
575
|
if (elements === void 0) { elements = []; }
|
|
576
576
|
if (sortorder === void 0) { sortorder = []; }
|
|
577
577
|
if (grouporder === void 0) { grouporder = []; }
|
|
578
578
|
if (pinned === void 0) { pinned = []; }
|
|
579
|
+
if (alignmentx === void 0) { alignmentx = []; }
|
|
579
580
|
this.elements = elements;
|
|
580
581
|
this.sortorder = sortorder;
|
|
581
582
|
this.grouporder = grouporder;
|
|
582
583
|
this.pinned = pinned;
|
|
584
|
+
this.alignmentx = alignmentx;
|
|
583
585
|
this.mode = mode;
|
|
584
586
|
}
|
|
585
587
|
return FieldDefinition;
|
|
@@ -1183,7 +1185,8 @@
|
|
|
1183
1185
|
SYSTEM_STATUS_SEC_CHANGED: 'eo.status.sec',
|
|
1184
1186
|
SYSTEM_STATUS_ACL_CHANGED: 'eo.status.acl',
|
|
1185
1187
|
SYSTEM_STATUS_INBOX_CHANGED: 'eo.status.inbox',
|
|
1186
|
-
EO_LICENSE_GRID: 'eo_license_grid'
|
|
1188
|
+
EO_LICENSE_GRID: 'eo_license_grid',
|
|
1189
|
+
SYSTEM_STATUS_IMAGE_CHANGE: 'eo.status.image'
|
|
1187
1190
|
};
|
|
1188
1191
|
|
|
1189
1192
|
/**
|
|
@@ -1197,6 +1200,7 @@
|
|
|
1197
1200
|
this.translate = translate;
|
|
1198
1201
|
this.event = event;
|
|
1199
1202
|
this.cfg = null;
|
|
1203
|
+
this.fixServiceUris = null;
|
|
1200
1204
|
}
|
|
1201
1205
|
/**
|
|
1202
1206
|
* @ignore
|
|
@@ -1210,14 +1214,31 @@
|
|
|
1210
1214
|
*/
|
|
1211
1215
|
Config.prototype.set = function (cfg) {
|
|
1212
1216
|
this.cfg = cfg;
|
|
1217
|
+
this.fixServiceUris = new Map([
|
|
1218
|
+
['serviceBase', '/rest-ws/service'],
|
|
1219
|
+
['searchBase', '/search'],
|
|
1220
|
+
['contextBase', '/structure'],
|
|
1221
|
+
['inboxBase', '/inboxservice'],
|
|
1222
|
+
['bpmBase', '/bpm'],
|
|
1223
|
+
['agentBase', '/agent'],
|
|
1224
|
+
['statusBase', '/status']
|
|
1225
|
+
]);
|
|
1213
1226
|
var languages = this.getClientLocales().map(function (lang) { return lang.iso; });
|
|
1214
1227
|
this.translate.addLangs(languages);
|
|
1215
1228
|
this.translate.setDefaultLang(this.getDefaultClientLocale());
|
|
1216
1229
|
this.initializeGrid();
|
|
1217
1230
|
};
|
|
1231
|
+
/**
|
|
1232
|
+
* @Deprecated replaced by getContextPath
|
|
1233
|
+
*/
|
|
1218
1234
|
Config.prototype.getLoginBase = function () {
|
|
1219
|
-
|
|
1220
|
-
|
|
1235
|
+
return this.getContextPath();
|
|
1236
|
+
};
|
|
1237
|
+
Config.prototype.getContextPath = function () {
|
|
1238
|
+
var cp = this.getUri('contextPath')
|
|
1239
|
+
// TODO: remove when not supported anymore
|
|
1240
|
+
|| this.getUri('loginBase');
|
|
1241
|
+
return (cp && cp !== '/') ? cp : '';
|
|
1221
1242
|
};
|
|
1222
1243
|
/**
|
|
1223
1244
|
* Returns nested property of config | complete config by default
|
|
@@ -1232,7 +1253,7 @@
|
|
|
1232
1253
|
* @returns value of the property from the URI-Section of the config
|
|
1233
1254
|
*/
|
|
1234
1255
|
Config.prototype.getUri = function (property) {
|
|
1235
|
-
return this.cfg['uri'][property];
|
|
1256
|
+
return (this.cfg['uri'] && this.cfg['uri'][property]) || this.fixServiceUris.get(property);
|
|
1236
1257
|
};
|
|
1237
1258
|
/**
|
|
1238
1259
|
* Getter for the available client locales
|
|
@@ -1572,6 +1593,7 @@
|
|
|
1572
1593
|
{ type: i0.Injectable }
|
|
1573
1594
|
];
|
|
1574
1595
|
|
|
1596
|
+
// @ts-ignore
|
|
1575
1597
|
/**
|
|
1576
1598
|
* `BackendService` encapsulates the communication with the yuuvis<sup>®</sup> RAD REST endpoints.
|
|
1577
1599
|
*
|
|
@@ -1640,49 +1662,49 @@
|
|
|
1640
1662
|
* @returns Base URI
|
|
1641
1663
|
*/
|
|
1642
1664
|
BackendService.prototype.getServiceBase = function () {
|
|
1643
|
-
return this.
|
|
1665
|
+
return this.config.getUri('serviceBase');
|
|
1644
1666
|
};
|
|
1645
1667
|
/**
|
|
1646
1668
|
* Gets the base URI for the Search-Service endpoint
|
|
1647
1669
|
* @returns Base URI
|
|
1648
1670
|
*/
|
|
1649
1671
|
BackendService.prototype.getSearchBase = function () {
|
|
1650
|
-
return this.
|
|
1672
|
+
return this.config.getUri('searchBase');
|
|
1651
1673
|
};
|
|
1652
1674
|
/**
|
|
1653
1675
|
* Gets the base URI for the Context-Service endpoint
|
|
1654
1676
|
* @returns Base URI
|
|
1655
1677
|
*/
|
|
1656
1678
|
BackendService.prototype.getContextBase = function () {
|
|
1657
|
-
return this.
|
|
1679
|
+
return this.config.getUri('contextBase');
|
|
1658
1680
|
};
|
|
1659
1681
|
/**
|
|
1660
1682
|
* Gets the base URI for the Inbox-Service endpoint
|
|
1661
1683
|
* @returns Base URI
|
|
1662
1684
|
*/
|
|
1663
1685
|
BackendService.prototype.getInboxBase = function () {
|
|
1664
|
-
return this.
|
|
1686
|
+
return this.config.getUri('inboxBase');
|
|
1665
1687
|
};
|
|
1666
1688
|
/**
|
|
1667
1689
|
* Gets the base URI for the BPM-Service endpoint
|
|
1668
1690
|
* @returns Base URI
|
|
1669
1691
|
*/
|
|
1670
1692
|
BackendService.prototype.getBpmBase = function () {
|
|
1671
|
-
return this.
|
|
1693
|
+
return this.config.getUri('bpmBase');
|
|
1672
1694
|
};
|
|
1673
1695
|
/**
|
|
1674
1696
|
* Gets the base URI for the Agent-Service endpoint
|
|
1675
1697
|
* @returns Base URI
|
|
1676
1698
|
*/
|
|
1677
1699
|
BackendService.prototype.getAgentBase = function () {
|
|
1678
|
-
return this.
|
|
1700
|
+
return this.config.getUri('agentBase');
|
|
1679
1701
|
};
|
|
1680
1702
|
/**
|
|
1681
1703
|
* Gets the base URI for the Status-Service endpoint
|
|
1682
1704
|
* @returns Base URI
|
|
1683
1705
|
*/
|
|
1684
1706
|
BackendService.prototype.getStatusBase = function () {
|
|
1685
|
-
return this.
|
|
1707
|
+
return this.config.getUri('statusBase');
|
|
1686
1708
|
};
|
|
1687
1709
|
/**
|
|
1688
1710
|
* @ignore
|
|
@@ -1697,6 +1719,12 @@
|
|
|
1697
1719
|
BackendService.prototype.getHost = function () {
|
|
1698
1720
|
return this.authProfile.host || '';
|
|
1699
1721
|
};
|
|
1722
|
+
BackendService.prototype.getBaseWithContext = function (base) {
|
|
1723
|
+
return (base === null || base === void 0 ? void 0 : base.startsWith('/')) ? this.config.getContextPath() + base : base;
|
|
1724
|
+
};
|
|
1725
|
+
BackendService.prototype.getContextPath = function (base) {
|
|
1726
|
+
return this.getHost() + (this.getBaseWithContext(base || this.getServiceBase()));
|
|
1727
|
+
};
|
|
1700
1728
|
/**
|
|
1701
1729
|
* Wrapped HTTP GET method
|
|
1702
1730
|
* @param uri The REST URI to be queried
|
|
@@ -1705,7 +1733,7 @@
|
|
|
1705
1733
|
* @returns The data retrieved from the given endpoint
|
|
1706
1734
|
*/
|
|
1707
1735
|
BackendService.prototype.get = function (uri, base, requestOptions) {
|
|
1708
|
-
return this.http.get(
|
|
1736
|
+
return this.http.get(this.getContextPath(base) + uri, this.getHttpOptions(requestOptions));
|
|
1709
1737
|
};
|
|
1710
1738
|
/**
|
|
1711
1739
|
* Wrapped HTTP PUT method
|
|
@@ -1716,13 +1744,13 @@
|
|
|
1716
1744
|
* @returns The return value of the target PUT endpoint
|
|
1717
1745
|
*/
|
|
1718
1746
|
BackendService.prototype.put = function (uri, data, base, requestOptions) {
|
|
1719
|
-
return this.http.put(
|
|
1747
|
+
return this.http.put(this.getContextPath(base) + uri, data, this.getHttpOptions(requestOptions));
|
|
1720
1748
|
};
|
|
1721
1749
|
/**
|
|
1722
1750
|
* @ignore
|
|
1723
1751
|
*/
|
|
1724
1752
|
BackendService.prototype.getJson = function (uri, base) {
|
|
1725
|
-
return this.get(uri,
|
|
1753
|
+
return this.http.get(this.getContextPath(base) + uri, this.getHttpOptions({ responseType: 'json' }));
|
|
1726
1754
|
};
|
|
1727
1755
|
/**
|
|
1728
1756
|
* Wrapped HTTP POST method
|
|
@@ -1733,7 +1761,7 @@
|
|
|
1733
1761
|
* @returns The return value of the target POST endpoint
|
|
1734
1762
|
*/
|
|
1735
1763
|
BackendService.prototype.post = function (uri, data, base, requestOptions) {
|
|
1736
|
-
var baseUri =
|
|
1764
|
+
var baseUri = this.getContextPath(base);
|
|
1737
1765
|
var payload = data ? JSON.stringify(data) : '';
|
|
1738
1766
|
return this.http.post("" + baseUri + uri, payload, this.getHttpOptions(requestOptions));
|
|
1739
1767
|
};
|
|
@@ -1746,7 +1774,7 @@
|
|
|
1746
1774
|
* @returns The return value of the target POST endpoint
|
|
1747
1775
|
*/
|
|
1748
1776
|
BackendService.prototype.postMultiPart = function (uri, formData, base, requestOptions) {
|
|
1749
|
-
var baseUri =
|
|
1777
|
+
var baseUri = this.getContextPath(base);
|
|
1750
1778
|
var headers = this.getHeaders();
|
|
1751
1779
|
headers.delete('Content-Type');
|
|
1752
1780
|
var reqOptions = Object.assign({ headers: headers, withCredentials: this.coreConfig.withCredentials }, requestOptions);
|
|
@@ -1760,7 +1788,7 @@
|
|
|
1760
1788
|
* @returns The return value of the target DELETE endpoint
|
|
1761
1789
|
*/
|
|
1762
1790
|
BackendService.prototype.del = function (uri, base, requestOptions) {
|
|
1763
|
-
return this.http.delete(
|
|
1791
|
+
return this.http.delete(this.getContextPath(base) + uri, this.getHttpOptions(requestOptions));
|
|
1764
1792
|
};
|
|
1765
1793
|
/**
|
|
1766
1794
|
* @ignore
|
|
@@ -2299,12 +2327,13 @@
|
|
|
2299
2327
|
/**
|
|
2300
2328
|
* @ignore
|
|
2301
2329
|
*/
|
|
2302
|
-
function UserService(backend, translate, logger, eventService, system, config) {
|
|
2330
|
+
function UserService(backend, translate, logger, eventService, system, http, config) {
|
|
2303
2331
|
this.backend = backend;
|
|
2304
2332
|
this.translate = translate;
|
|
2305
2333
|
this.logger = logger;
|
|
2306
2334
|
this.eventService = eventService;
|
|
2307
2335
|
this.system = system;
|
|
2336
|
+
this.http = http;
|
|
2308
2337
|
this.config = config;
|
|
2309
2338
|
this.USER_FETCH_URI = '/user?favorites=true&privileges=true&roles=true&deputies=true&substitutesOf=true';
|
|
2310
2339
|
this.user = null;
|
|
@@ -2352,6 +2381,17 @@
|
|
|
2352
2381
|
return rxjs.of(null);
|
|
2353
2382
|
}
|
|
2354
2383
|
};
|
|
2384
|
+
/**
|
|
2385
|
+
*
|
|
2386
|
+
* @param uri
|
|
2387
|
+
* @returns
|
|
2388
|
+
*/
|
|
2389
|
+
UserService.prototype.delUserImage = function (uri) {
|
|
2390
|
+
return this.http.put(uri, null);
|
|
2391
|
+
};
|
|
2392
|
+
UserService.prototype.setUserImage = function (file) {
|
|
2393
|
+
return this.backend.put("/user/image", file);
|
|
2394
|
+
};
|
|
2355
2395
|
/**
|
|
2356
2396
|
* Sets the deputies for the current user
|
|
2357
2397
|
* @param deputiesNames Names of the users to be set as deputies
|
|
@@ -2515,7 +2555,7 @@
|
|
|
2515
2555
|
* @returns URI to the user image
|
|
2516
2556
|
*/
|
|
2517
2557
|
UserService.prototype.getUserImageUri = function (userId) {
|
|
2518
|
-
return this.backend.getServiceBase() + "/organization/image/" + userId;
|
|
2558
|
+
return this.backend.getServiceBase() + "/organization/image/" + userId + "?usedefault=false";
|
|
2519
2559
|
};
|
|
2520
2560
|
/**
|
|
2521
2561
|
* Removes a favorite item
|
|
@@ -2598,6 +2638,7 @@
|
|
|
2598
2638
|
{ type: Logger },
|
|
2599
2639
|
{ type: EventService },
|
|
2600
2640
|
{ type: SystemService },
|
|
2641
|
+
{ type: http.HttpClient },
|
|
2601
2642
|
{ type: Config }
|
|
2602
2643
|
]; };
|
|
2603
2644
|
|
|
@@ -4280,7 +4321,7 @@
|
|
|
4280
4321
|
var loginHeader = new http.HttpHeaders({
|
|
4281
4322
|
'Content-Type': 'application/x-www-form-urlencoded'
|
|
4282
4323
|
});
|
|
4283
|
-
return this.http.post(host + this.config.
|
|
4324
|
+
return this.http.post(host + this.config.getContextPath() + '/login', "username=" + encodeURIComponent(username) + "&password=" + encodeURIComponent(password), {
|
|
4284
4325
|
headers: loginHeader,
|
|
4285
4326
|
responseType: 'text',
|
|
4286
4327
|
withCredentials: this.coreConfig.withCredentials
|
|
@@ -4417,7 +4458,7 @@
|
|
|
4417
4458
|
'Content-Type': 'application/json'
|
|
4418
4459
|
});
|
|
4419
4460
|
return this.http
|
|
4420
|
-
.get("" + (host || '') + this.config.
|
|
4461
|
+
.get("" + (host || '') + this.config.getContextPath() + "/auth/info", { headers: headers, withCredentials: this.coreConfig.withCredentials })
|
|
4421
4462
|
.pipe(operators.switchMap(function (info) {
|
|
4422
4463
|
_this.gatewayInfo = info;
|
|
4423
4464
|
_this.envService.cloudEnvironment = (_this.gatewayInfo && _this.gatewayInfo.oauth2);
|
|
@@ -4480,14 +4521,14 @@
|
|
|
4480
4521
|
// remove stored access data
|
|
4481
4522
|
this.storage.removeItem(this.TOKEN_STORAGE_KEY).subscribe();
|
|
4482
4523
|
if (this.coreConfig.environment.production && EnvironmentEnaio.isWebEnvironment()) {
|
|
4483
|
-
window.location.href = this.config.
|
|
4524
|
+
window.location.href = this.config.getContextPath() + '/logout';
|
|
4484
4525
|
return;
|
|
4485
4526
|
}
|
|
4486
4527
|
}
|
|
4487
4528
|
if (gatewayLogout) {
|
|
4488
4529
|
// by default we are just resetting internal state to 'logged out' and in
|
|
4489
4530
|
// some cases call gateways logout endpoint to do logout stuff there silently
|
|
4490
|
-
this.http.get("" + (this.profile.host || '') + this.config.
|
|
4531
|
+
this.http.get("" + (this.profile.host || '') + this.config.getContextPath() + "/logout", { withCredentials: this.coreConfig.withCredentials }).subscribe();
|
|
4491
4532
|
}
|
|
4492
4533
|
this.backend.setAuthProfile(this.profile);
|
|
4493
4534
|
this.eventService.trigger(EnaioEvent.LOGOUT);
|
|
@@ -5491,7 +5532,11 @@
|
|
|
5491
5532
|
q.suggest = qObj_1.options.suggest || false;
|
|
5492
5533
|
q.expertMode = qObj_1.options.expertmode || false;
|
|
5493
5534
|
q.scope = qObj_1.options.scope;
|
|
5494
|
-
|
|
5535
|
+
// "||" does not work for recognizing "false" with priority over "default true"
|
|
5536
|
+
q.resolveReference = (qObj_1.options.resolvereference !== null) ? qObj_1.options.resolvereference :
|
|
5537
|
+
(qObj_1.options.resolveReference !== null ? qObj_1.options.resolveReference : true);
|
|
5538
|
+
// withContext was old and "wrong" name of parameter
|
|
5539
|
+
q.withContext = qObj_1.options.withcontext || qObj_1.options.withContext || false;
|
|
5495
5540
|
q.searchMode =
|
|
5496
5541
|
qObj_1.options.searchmode || SearchQuery.DEFAULT_SEARCH_MODE;
|
|
5497
5542
|
}
|
|
@@ -5767,7 +5812,7 @@
|
|
|
5767
5812
|
});
|
|
5768
5813
|
return this.backend
|
|
5769
5814
|
.getJson(url)
|
|
5770
|
-
.pipe(operators.map(function (res) { return new FieldDefinition(res.elements, res.sortorder, res.grouporder, res.pinned, res.mode); }));
|
|
5815
|
+
.pipe(operators.map(function (res) { return new FieldDefinition(res.elements, res.sortorder, res.grouporder, res.pinned, res.alignmentx, res.mode); }));
|
|
5771
5816
|
};
|
|
5772
5817
|
/**
|
|
5773
5818
|
* Saves a column definition as result or common result.
|