@eo-sdk/client 8.16.0-rc.1 → 8.16.0-rc.2
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/inbox-details/inbox-details.component.d.ts +6 -5
- package/assets/_default/i18n/de.json +1 -1
- package/bundles/eo-sdk-client-projects-eo-sdk-core.umd.js +5 -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 +26 -16
- 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.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/inbox-details/inbox-details.component.js +13 -11
- package/esm2015/projects/eo-sdk/core/lib/service/dms/dms.service.js +5 -6
- package/fesm2015/eo-sdk-client-projects-eo-sdk-core.js +4 -5
- package/fesm2015/eo-sdk-client-projects-eo-sdk-core.js.map +1 -1
- package/fesm2015/eo-sdk-client.js +26 -16
- package/fesm2015/eo-sdk-client.js.map +1 -1
- package/package.json +2 -2
- 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;
|
|
@@ -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;
|
|
@@ -262,7 +262,7 @@
|
|
|
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.",
|
|
@@ -5147,19 +5147,18 @@
|
|
|
5147
5147
|
*
|
|
5148
5148
|
* @param DmsObject[] dmsObjects
|
|
5149
5149
|
* @param string[] orgaNames
|
|
5150
|
-
* @param boolean
|
|
5150
|
+
* @param boolean shareChildren
|
|
5151
5151
|
* @returns Observable<any>
|
|
5152
5152
|
*/
|
|
5153
|
-
DmsService.prototype.setOrganizationObjectsWithReadRights = function (dmsObjects, orgaNames,
|
|
5154
|
-
if (
|
|
5155
|
-
var url =
|
|
5153
|
+
DmsService.prototype.setOrganizationObjectsWithReadRights = function (dmsObjects, orgaNames, shareChildren) {
|
|
5154
|
+
if (shareChildren === void 0) { shareChildren = true; }
|
|
5155
|
+
var url = "/dms/batch/putadditionalvisibility?sharechildren=" + shareChildren;
|
|
5156
5156
|
var data = {
|
|
5157
5157
|
organizationobjects: orgaNames,
|
|
5158
5158
|
objects: dmsObjects.map(function (o) { return ({
|
|
5159
5159
|
itemid: o.id,
|
|
5160
5160
|
type: o.type.name
|
|
5161
|
-
}); })
|
|
5162
|
-
withChildren: withChildren
|
|
5161
|
+
}); })
|
|
5163
5162
|
};
|
|
5164
5163
|
return this.triggerUpdate(dmsObjects[0], this.backend.put(url, data));
|
|
5165
5164
|
};
|