@eo-sdk/client 8.16.0-rc.1 → 8.16.0-rc.3
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/inbox-state/inbox-state/inbox-state.component.d.ts +4 -5
- package/app/eo-framework/app-shell/app-bar/app-process/app-process.component.d.ts +7 -1
- package/app/eo-framework/inbox-details/inbox-details.component.d.ts +6 -5
- package/app/eo-framework/prepare-details/prepare-details.component.d.ts +4 -2
- package/app/eo-framework/process-form/process-form.component.d.ts +2 -0
- package/assets/_default/i18n/de.json +3 -3
- package/assets/_default/i18n/en.json +2 -2
- package/bundles/eo-sdk-client-projects-eo-sdk-core.umd.js +6 -6
- 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 +1 -1
- package/bundles/eo-sdk-client-projects-eo-sdk-core.umd.min.js.map +1 -1
- package/bundles/eo-sdk-client.umd.js +74 -33
- 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 +3 -3
- 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/inbox-state/inbox-state/inbox-state.component.js +16 -8
- package/esm2015/app/eo-framework/actions/actions/add-resubmission-action/add-resubmission-action.js +2 -2
- package/esm2015/app/eo-framework/actions/actions/add-subscription-action/add-subscription-action.js +2 -2
- package/esm2015/app/eo-framework/app-shell/app-bar/app-process/app-process.component.js +26 -4
- package/esm2015/app/eo-framework/form-elements/datetime/datepicker/datepicker.component.js +2 -2
- package/esm2015/app/eo-framework/inbox-details/inbox-details.component.js +13 -11
- package/esm2015/app/eo-framework/media/media.component.js +4 -3
- package/esm2015/app/eo-framework/prepare-details/prepare-details.component.js +10 -5
- package/esm2015/app/eo-framework/process-form/process-form.component.js +5 -2
- package/esm2015/app/eo-framework/ui/eo-dialog/eo-dialog.component.js +2 -2
- package/esm2015/app/eo-framework/ui/outside-click/outside-click.directive.js +3 -2
- package/esm2015/eo-sdk-client.js +4 -4
- package/esm2015/projects/eo-sdk/core/lib/service/capabilities/capabilities.model.js +1 -1
- package/esm2015/projects/eo-sdk/core/lib/service/capabilities/capabilities.service.js +2 -1
- package/esm2015/projects/eo-sdk/core/lib/service/dms/dms.service.js +5 -6
- package/fesm2015/eo-sdk-client-projects-eo-sdk-core.js +5 -5
- package/fesm2015/eo-sdk-client-projects-eo-sdk-core.js.map +1 -1
- package/fesm2015/eo-sdk-client.js +72 -31
- package/fesm2015/eo-sdk-client.js.map +1 -1
- package/package.json +2 -2
- package/projects/eo-sdk/core/lib/service/capabilities/capabilities.model.d.ts +4 -0
- package/projects/eo-sdk/core/lib/service/dms/dms.service.d.ts +2 -2
- package/projects/eo-sdk/core/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { EventService, TranslateService } from '@eo-sdk/core';
|
|
2
|
+
import { EventService, LocalStorageService, TranslateService } from '@eo-sdk/core';
|
|
3
3
|
import { ColDef, GridOptions } from '@ag-grid-community/core';
|
|
4
4
|
import { InboxItem, InboxService } from '@eo-sdk/core';
|
|
5
5
|
import { ActivatedRoute } from '@angular/router';
|
|
@@ -21,6 +21,7 @@ export declare class InboxStateComponent extends UnsubscribeOnDestroy implements
|
|
|
21
21
|
private empty;
|
|
22
22
|
private eventService;
|
|
23
23
|
private route;
|
|
24
|
+
private storageService;
|
|
24
25
|
gridOptions: GridOptions;
|
|
25
26
|
sortFields: ColDef[];
|
|
26
27
|
inboxFilterFields: ISetFilter[];
|
|
@@ -28,19 +29,17 @@ export declare class InboxStateComponent extends UnsubscribeOnDestroy implements
|
|
|
28
29
|
inboxSelectionId: string;
|
|
29
30
|
inboxDmsObjectSelectionId: string;
|
|
30
31
|
inboxSelection: SelectionService;
|
|
31
|
-
selectedItem: any;
|
|
32
|
-
selectedDmsParams: any;
|
|
33
32
|
selectFirst: boolean;
|
|
34
33
|
idMatch: boolean;
|
|
35
34
|
gridData: any;
|
|
36
35
|
defaultFilterParams: any;
|
|
37
36
|
emptyState: EmptyState;
|
|
38
37
|
inboxChanged: boolean;
|
|
38
|
+
storageKeyLastItemID: string;
|
|
39
39
|
eoGrid: GridComponent;
|
|
40
|
-
constructor(translate: TranslateService, selection: SelectionService, titleService: PageTitleService, inboxService: InboxService, pendingChanges: PendingChangesService, empty: EmptyStateService, eventService: EventService, route: ActivatedRoute);
|
|
40
|
+
constructor(translate: TranslateService, selection: SelectionService, titleService: PageTitleService, inboxService: InboxService, pendingChanges: PendingChangesService, empty: EmptyStateService, eventService: EventService, route: ActivatedRoute, storageService: LocalStorageService);
|
|
41
41
|
onCountChanged(evt: any): void;
|
|
42
42
|
hasPendingChanges(): boolean;
|
|
43
|
-
onDmsItemSelected(data: any): void;
|
|
44
43
|
refreshGrid(): void;
|
|
45
44
|
itemFilterFields(node: any, item: any): any;
|
|
46
45
|
fieldFilters(): void;
|
|
@@ -2,6 +2,7 @@ import { OnInit } from '@angular/core';
|
|
|
2
2
|
import { BpmService, ExecutableProcess, NotificationsService, TranslateService } from '@eo-sdk/core';
|
|
3
3
|
import { Router } from '@angular/router';
|
|
4
4
|
import { ObjectFormOptions } from '../../../object-form';
|
|
5
|
+
import { PendingChangesService } from '../../../../eo-framework-core';
|
|
5
6
|
/**
|
|
6
7
|
* Component rendering the app-bar action of starting executable processes.
|
|
7
8
|
*/
|
|
@@ -10,12 +11,14 @@ export declare class AppProcessComponent implements OnInit {
|
|
|
10
11
|
private toaster;
|
|
11
12
|
private translate;
|
|
12
13
|
private bpmService;
|
|
14
|
+
private pendingChanges;
|
|
13
15
|
processes: ExecutableProcess[];
|
|
14
16
|
selectedProcess: ExecutableProcess;
|
|
15
17
|
processForm: ObjectFormOptions;
|
|
16
18
|
title: string;
|
|
17
19
|
subtitle: string;
|
|
18
|
-
|
|
20
|
+
pendingTaskIds: string[];
|
|
21
|
+
constructor(router: Router, toaster: NotificationsService, translate: TranslateService, bpmService: BpmService, pendingChanges: PendingChangesService);
|
|
19
22
|
close(evt?: any): void;
|
|
20
23
|
/**
|
|
21
24
|
* Select an executable process from the current list of processes.
|
|
@@ -33,5 +36,8 @@ export declare class AppProcessComponent implements OnInit {
|
|
|
33
36
|
private executeProcess;
|
|
34
37
|
formReset(event: any): void;
|
|
35
38
|
cancelDialog(): void;
|
|
39
|
+
private startPending;
|
|
40
|
+
private finishPending;
|
|
41
|
+
onIndexDataChanged(event: any): void;
|
|
36
42
|
ngOnInit(): void;
|
|
37
43
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { AfterViewInit,
|
|
1
|
+
import { AfterViewInit, OnInit, QueryList } from '@angular/core';
|
|
2
2
|
import { Router } from '@angular/router';
|
|
3
|
-
import { BpmService, Clipboard, ClipboardService,
|
|
3
|
+
import { BpmService, Clipboard, ClipboardService, EventService, FileEntry, InboxItem, InboxService, LocalStorageService, NotificationsService, TranslateService, UserService, WorkItem, WorkItemAction, WorkItemHistoryEntry } from '@eo-sdk/core';
|
|
4
4
|
import { Subscription } from 'rxjs';
|
|
5
5
|
import { EmptyState } from '../../eo-framework-core/empty-state/empty-state.interface';
|
|
6
6
|
import { PendingChangesService } from '../../eo-framework-core/pending-changes/pending-changes.service';
|
|
@@ -23,6 +23,7 @@ export declare class InboxDetailsComponent extends UnsubscribeOnDestroy implemen
|
|
|
23
23
|
private translate;
|
|
24
24
|
private pendingChanges;
|
|
25
25
|
private notify;
|
|
26
|
+
private storageService;
|
|
26
27
|
bpmFormEl: ObjectFormComponent;
|
|
27
28
|
private defaultWorkItemAction;
|
|
28
29
|
private pendingTaskId;
|
|
@@ -46,6 +47,7 @@ export declare class InboxDetailsComponent extends UnsubscribeOnDestroy implemen
|
|
|
46
47
|
initializing: Subscription | any;
|
|
47
48
|
filesAdding: Subscription | any;
|
|
48
49
|
loadError: boolean;
|
|
50
|
+
storageKeyLastItemID: string;
|
|
49
51
|
externalPanels: QueryList<TabPanelComponent>;
|
|
50
52
|
tabPanels: QueryList<TabPanelComponent>;
|
|
51
53
|
tabPlugins: QueryList<TabPluginComponent>;
|
|
@@ -53,9 +55,8 @@ export declare class InboxDetailsComponent extends UnsubscribeOnDestroy implemen
|
|
|
53
55
|
applySelection: SelectionConfig;
|
|
54
56
|
set item(i: InboxItem);
|
|
55
57
|
get item(): InboxItem;
|
|
56
|
-
onDmsItemSelected: EventEmitter<DmsParams>;
|
|
57
58
|
get dataType(): string;
|
|
58
|
-
constructor(bpmService: BpmService, userService: UserService, inboxService: InboxService, selection: SelectionService, router: Router, eventService: EventService, clipboardService: ClipboardService, translate: TranslateService, pendingChanges: PendingChangesService, notify: NotificationsService);
|
|
59
|
+
constructor(bpmService: BpmService, userService: UserService, inboxService: InboxService, selection: SelectionService, router: Router, eventService: EventService, clipboardService: ClipboardService, translate: TranslateService, pendingChanges: PendingChangesService, notify: NotificationsService, storageService: LocalStorageService);
|
|
59
60
|
refresh(): void;
|
|
60
61
|
onFormStatusChanged(evt: FormStatusChangedEvent): void;
|
|
61
62
|
private startPending;
|
|
@@ -82,7 +83,7 @@ export declare class InboxDetailsComponent extends UnsubscribeOnDestroy implemen
|
|
|
82
83
|
executeWorkItemAction(action: WorkItemAction): void;
|
|
83
84
|
private openActionUrl;
|
|
84
85
|
/**
|
|
85
|
-
* Selects a work items file entry
|
|
86
|
+
* Selects a work items file entry.
|
|
86
87
|
* @param file FileEntry element to be selected
|
|
87
88
|
*/
|
|
88
89
|
openWorkItemContent(file?: FileEntry): void;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { OnInit, EventEmitter, ElementRef } from '@angular/core';
|
|
2
2
|
import { Router } from '@angular/router';
|
|
3
3
|
import { ColDef, GridOptions } from '@ag-grid-community/core';
|
|
4
|
-
import { TranslateService, PreparedItem, PreparedItemTemplate, PreparedItemType, PrepareService, SystemService, NotificationsService, BackendService } from '@eo-sdk/core';
|
|
4
|
+
import { TranslateService, PreparedItem, PreparedItemTemplate, PreparedItemType, PrepareService, SystemService, NotificationsService, BackendService, CapabilitiesService } from '@eo-sdk/core';
|
|
5
5
|
import { FormStatusChangedEvent } from '../object-form/form-status-changed-event.interface';
|
|
6
6
|
import { ObjectFormComponent } from '../object-form/object-form/object-form.component';
|
|
7
7
|
import { SelectionConfig, SelectionService } from '../../eo-framework-core/selection/selection.service';
|
|
@@ -28,6 +28,7 @@ export declare class PrepareDetailsComponent extends UnsubscribeOnDestroy implem
|
|
|
28
28
|
private systemService;
|
|
29
29
|
private selection;
|
|
30
30
|
private backend;
|
|
31
|
+
private capabilites;
|
|
31
32
|
gridOptions: GridOptions;
|
|
32
33
|
private pendingTaskId;
|
|
33
34
|
private selectedTypeObject;
|
|
@@ -77,7 +78,7 @@ export declare class PrepareDetailsComponent extends UnsubscribeOnDestroy implem
|
|
|
77
78
|
get showDeleteDialog(): boolean;
|
|
78
79
|
set showContentDeleteDialog(val: boolean);
|
|
79
80
|
get showContentDeleteDialog(): boolean;
|
|
80
|
-
constructor(prepareService: PrepareService, router: Router, pendingChanges: PendingChangesService, translate: TranslateService, notification: NotificationsService, systemService: SystemService, selection: SelectionService, backend: BackendService);
|
|
81
|
+
constructor(prepareService: PrepareService, router: Router, pendingChanges: PendingChangesService, translate: TranslateService, notification: NotificationsService, systemService: SystemService, selection: SelectionService, backend: BackendService, capabilites: CapabilitiesService);
|
|
81
82
|
cellRenderer(params: any): string;
|
|
82
83
|
private startPending;
|
|
83
84
|
private finishPending;
|
|
@@ -131,6 +132,7 @@ export declare class PrepareDetailsComponent extends UnsubscribeOnDestroy implem
|
|
|
131
132
|
private setupTitle;
|
|
132
133
|
showTemplateSelector(show: boolean): void;
|
|
133
134
|
download(): void;
|
|
135
|
+
hasTemplateCapability(): boolean;
|
|
134
136
|
trackByIdFn(index: any, item: any): any;
|
|
135
137
|
trackByIndexFn(index: any, item: any): any;
|
|
136
138
|
ngOnInit(): void;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
2
|
import { ObjectFormComponent } from '../object-form/object-form/object-form.component';
|
|
3
3
|
import { ObjectFormOptions } from '../object-form/object-form-options.interface';
|
|
4
|
+
import { FormStatusChangedEvent } from '../object-form';
|
|
4
5
|
export declare class ProcessFormComponent {
|
|
5
6
|
bpmForm: ObjectFormComponent;
|
|
6
7
|
formData: any;
|
|
@@ -9,6 +10,7 @@ export declare class ProcessFormComponent {
|
|
|
9
10
|
onSaveForm: EventEmitter<any>;
|
|
10
11
|
onResetForm: EventEmitter<any>;
|
|
11
12
|
onCancel: EventEmitter<any>;
|
|
13
|
+
statusChanged: EventEmitter<FormStatusChangedEvent>;
|
|
12
14
|
saveForm(): void;
|
|
13
15
|
cancel(): void;
|
|
14
16
|
onIndexDataChanged(event: any): void;
|
|
@@ -262,15 +262,15 @@
|
|
|
262
262
|
"eo.action.download.dms.object.content.label": "Dokumentdatei herunterladen",
|
|
263
263
|
"eo.action.download.dms.object.content.description": "Lädt die Dokumentdatei des Objekts herunter.",
|
|
264
264
|
"eo.action.manage.rights.read.label": "Teilen",
|
|
265
|
-
"eo.action.manage.rights.read.description": "Erlaubt dem
|
|
265
|
+
"eo.action.manage.rights.read.description": "Erlaubt dem Benutzer die Leserechte für dieses Objekt zu teilen.",
|
|
266
266
|
"eo.action.delete.content.label": "Dokumentdatei entfernen",
|
|
267
267
|
"eo.action.delete.content.description": "Entfernt die Dokumentdatei des Objekts.",
|
|
268
268
|
"eo.action.delete.content.success": "Dokumentdatei wurde erfolgreich entfernt.",
|
|
269
269
|
"eo.action.delete.content.error": "Dokumentdatei konnte nicht entfernt werden.",
|
|
270
270
|
"eo.action.unlock.label": "Sperre aufheben",
|
|
271
271
|
"eo.action.unlock.description": "Hebt die Sperre zum Schutz vor Änderung durch andere Benutzer auf.",
|
|
272
|
-
"eo.error.connection.interrupted.text": "
|
|
273
|
-
"eo.error.connection.interrupted.title": "
|
|
272
|
+
"eo.error.connection.interrupted.text": "Bitte kontaktieren Sie Ihren Administrator.",
|
|
273
|
+
"eo.error.connection.interrupted.title": "Ein schwerwiegender Fehler ist aufgetreten",
|
|
274
274
|
"eo.error.attachments.title": "Die Vorschau kann nicht angezeigt werden.",
|
|
275
275
|
"eo.error.structure.tree.not.available": "Der Strukturbaum ist momentan nicht verfügbar.",
|
|
276
276
|
"eo.object.indexdata.save.success": "Das Dokument wurde gespeichert.",
|
|
@@ -271,8 +271,8 @@
|
|
|
271
271
|
"eo.action.delete.content.error": "Unable to remove document file.",
|
|
272
272
|
"eo.action.unlock.label": "Release lock",
|
|
273
273
|
"eo.action.unlock.description": "Releases the lock preventing changes by other users.",
|
|
274
|
-
"eo.error.connection.interrupted.text": "
|
|
275
|
-
"eo.error.connection.interrupted.title": "
|
|
274
|
+
"eo.error.connection.interrupted.text": "Please contact your administrator.",
|
|
275
|
+
"eo.error.connection.interrupted.title": "Fatal error occured",
|
|
276
276
|
"eo.error.attachments.title": "Unable to display preview.",
|
|
277
277
|
"eo.error.structure.tree.not.available": "The structure tree is not available currently.",
|
|
278
278
|
"eo.object.indexdata.save.success": "The document was saved.",
|
|
@@ -3507,6 +3507,7 @@
|
|
|
3507
3507
|
recyclebin: userCapabilities.recyclebin,
|
|
3508
3508
|
inbox: userCapabilities.bpm || userCapabilities.followup || userCapabilities.subscription,
|
|
3509
3509
|
notifications: userCapabilities.followup || userCapabilities.subscription,
|
|
3510
|
+
template: userCapabilities.template,
|
|
3510
3511
|
sso: useSingleSingOn || false
|
|
3511
3512
|
};
|
|
3512
3513
|
return this.capabilities;
|
|
@@ -5147,19 +5148,18 @@
|
|
|
5147
5148
|
*
|
|
5148
5149
|
* @param DmsObject[] dmsObjects
|
|
5149
5150
|
* @param string[] orgaNames
|
|
5150
|
-
* @param boolean
|
|
5151
|
+
* @param boolean shareChildren
|
|
5151
5152
|
* @returns Observable<any>
|
|
5152
5153
|
*/
|
|
5153
|
-
DmsService.prototype.setOrganizationObjectsWithReadRights = function (dmsObjects, orgaNames,
|
|
5154
|
-
if (
|
|
5155
|
-
var url =
|
|
5154
|
+
DmsService.prototype.setOrganizationObjectsWithReadRights = function (dmsObjects, orgaNames, shareChildren) {
|
|
5155
|
+
if (shareChildren === void 0) { shareChildren = true; }
|
|
5156
|
+
var url = "/dms/batch/putadditionalvisibility?sharechildren=" + shareChildren;
|
|
5156
5157
|
var data = {
|
|
5157
5158
|
organizationobjects: orgaNames,
|
|
5158
5159
|
objects: dmsObjects.map(function (o) { return ({
|
|
5159
5160
|
itemid: o.id,
|
|
5160
5161
|
type: o.type.name
|
|
5161
|
-
}); })
|
|
5162
|
-
withChildren: withChildren
|
|
5162
|
+
}); })
|
|
5163
5163
|
};
|
|
5164
5164
|
return this.triggerUpdate(dmsObjects[0], this.backend.put(url, data));
|
|
5165
5165
|
};
|