@eo-sdk/client 9.4.0 → 9.5.0-rc.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (54) hide show
  1. package/app/eo-client/recyclebin-state/recyclebin-state.component.d.ts +43 -0
  2. package/app/eo-framework/actions/action.module.d.ts +3 -1
  3. package/app/eo-framework/actions/actions/cancel-signing-action/cancel-signing/cancel-signing.component.d.ts +30 -0
  4. package/app/eo-framework/actions/actions/cancel-signing-action/cancel-signing-action.d.ts +22 -0
  5. package/app/eo-framework/actions/actions/signature-action/signature/signature.component.d.ts +4 -2
  6. package/app/eo-framework/object-details/object-details.component.d.ts +1 -0
  7. package/assets/_default/config/main.json +1 -1
  8. package/assets/_default/i18n/de.json +15 -1
  9. package/assets/_default/i18n/en.json +16 -2
  10. package/bundles/eo-sdk-client-projects-eo-sdk-core.umd.js +66 -12
  11. package/bundles/eo-sdk-client-projects-eo-sdk-core.umd.js.map +1 -1
  12. package/bundles/eo-sdk-client-projects-eo-sdk-core.umd.min.js +2 -2
  13. package/bundles/eo-sdk-client-projects-eo-sdk-core.umd.min.js.map +1 -1
  14. package/bundles/eo-sdk-client.umd.js +298 -34
  15. package/bundles/eo-sdk-client.umd.js.map +1 -1
  16. package/bundles/eo-sdk-client.umd.min.js +1 -1
  17. package/bundles/eo-sdk-client.umd.min.js.map +1 -1
  18. package/eo-sdk-client.d.ts +13 -10
  19. package/eo-sdk-client.metadata.json +1 -1
  20. package/esm2015/app/eo-client/about-state/about-state.component.js +3 -3
  21. package/esm2015/app/eo-client/eo-client-routing.module.js +3 -1
  22. package/esm2015/app/eo-client/eo-client.module.js +4 -2
  23. package/esm2015/app/eo-client/recyclebin-state/recyclebin-state.component.js +134 -0
  24. package/esm2015/app/eo-framework/actions/action.module.js +9 -3
  25. package/esm2015/app/eo-framework/actions/actions/cancel-signing-action/cancel-signing/cancel-signing.component.js +80 -0
  26. package/esm2015/app/eo-framework/actions/actions/cancel-signing-action/cancel-signing-action.js +42 -0
  27. package/esm2015/app/eo-framework/actions/actions/signature-action/signature/signature.component.js +12 -5
  28. package/esm2015/app/eo-framework/actions/actions/signature-action/signature-action.component.js +3 -3
  29. package/esm2015/app/eo-framework/app-shell/app-bar/side-bar/side-bar.component.js +2 -2
  30. package/esm2015/app/eo-framework/form-elements/id-reference/id-reference.component.js +3 -3
  31. package/esm2015/app/eo-framework/media/media.component.js +3 -3
  32. package/esm2015/app/eo-framework/object-details/object-details.component.js +5 -3
  33. package/esm2015/app/eo-framework/object-details/object-history/object-history.component.js +3 -3
  34. package/esm2015/app/eo-framework/object-form/object-form/form-element-table/form-element-table.component.js +2 -2
  35. package/esm2015/app/eo-framework/prepare-details/prepare-details.component.js +11 -2
  36. package/esm2015/app/eo-framework/stored-query/stored-query-details/stored-query-details.component.js +2 -2
  37. package/esm2015/app/eo-framework/ui/indexdata-summary/indexdata-summary.component.js +2 -2
  38. package/esm2015/app/eo-framework/ui/signature-tab/signature-tab.component.js +1 -1
  39. package/esm2015/eo-sdk-client.js +14 -11
  40. package/esm2015/projects/eo-sdk/core/lib/config/translate-json-loader.js +23 -2
  41. package/esm2015/projects/eo-sdk/core/lib/service/config/config.service.js +2 -2
  42. package/esm2015/projects/eo-sdk/core/lib/service/dms/dms.service.js +9 -6
  43. package/esm2015/projects/eo-sdk/core/lib/service/signing/signing.service.js +15 -2
  44. package/esm2015/projects/eo-sdk/core/lib/service/user/user.service.js +17 -1
  45. package/fesm2015/eo-sdk-client-projects-eo-sdk-core.js +61 -8
  46. package/fesm2015/eo-sdk-client-projects-eo-sdk-core.js.map +1 -1
  47. package/fesm2015/eo-sdk-client.js +281 -25
  48. package/fesm2015/eo-sdk-client.js.map +1 -1
  49. package/package.json +2 -2
  50. package/projects/eo-sdk/core/eo-sdk-client-projects-eo-sdk-core.metadata.json +1 -1
  51. package/projects/eo-sdk/core/lib/service/dms/dms.service.d.ts +5 -3
  52. package/projects/eo-sdk/core/lib/service/signing/signing.service.d.ts +8 -0
  53. package/projects/eo-sdk/core/lib/service/user/user.service.d.ts +11 -0
  54. package/projects/eo-sdk/core/package.json +1 -1
@@ -0,0 +1,43 @@
1
+ import { ColDef, GridOptions } from '@ag-grid-community/core';
2
+ import { OnDestroy, OnInit } from '@angular/core';
3
+ import { EmptyState } from '../../eo-framework-core/empty-state/empty-state.interface';
4
+ import { DmsParams, SystemService, UserService } from '@eo-sdk/core';
5
+ import { TranslateService } from '@ngx-translate/core';
6
+ import { PendingChangesComponent } from '../../eo-framework-core/pending-changes/pending-changes-component.interface';
7
+ import { ISetFilter } from '../../eo-framework/grid/extensions/filter/setFilters/set-filters.interface';
8
+ import { GridComponent } from '../../eo-framework/grid/grid.component';
9
+ import { PendingChangesService } from '../../eo-framework-core/pending-changes/pending-changes.service';
10
+ import { EmptyStateService } from '../../eo-framework-core/empty-state/empty-state.service';
11
+ import { SelectionService } from '../../eo-framework-core/selection/selection.service';
12
+ import { UnsubscribeOnDestroy } from '../../eo-framework/util/unsubscribe/unsubscribe.component';
13
+ import { PageTitleService } from '../../eo-framework-core/title/page-title.service';
14
+ export declare class RecyclebinStateComponent extends UnsubscribeOnDestroy implements OnInit, PendingChangesComponent, OnDestroy {
15
+ selection: SelectionService;
16
+ translate: TranslateService;
17
+ private system;
18
+ private empty;
19
+ private pendingChanges;
20
+ private titleService;
21
+ private userService;
22
+ gridOptions: GridOptions;
23
+ sortFields: ColDef[];
24
+ typeFilterFields: ISetFilter[];
25
+ gridData: any;
26
+ inboxDmsObjectSelectionId: string;
27
+ emptyState: EmptyState;
28
+ showActionsMenu: boolean;
29
+ textFilterParams: any;
30
+ eoGrid: GridComponent;
31
+ constructor(selection: SelectionService, translate: TranslateService, system: SystemService, empty: EmptyStateService, pendingChanges: PendingChangesService, titleService: PageTitleService, userService: UserService);
32
+ set hasContent(hasContent: boolean);
33
+ get hasContent(): boolean;
34
+ hasPendingChanges(): boolean;
35
+ refreshGrid(): void;
36
+ parseDmsParams(data: any): DmsParams;
37
+ typeFilters(): void;
38
+ resetFilters(): void;
39
+ updateGrid(data: any): void;
40
+ cellRenderer(params: any): string;
41
+ ngOnInit(): void;
42
+ ngOnDestroy(): void;
43
+ }
@@ -40,7 +40,9 @@ import { FinalizeObjectActionComponent } from './actions/finalize/finalize-objec
40
40
  import { DeleteContentComponent } from './actions/delete-content-action/delete-content/delete-content.component';
41
41
  import { SignatureActionComponent } from './actions/signature-action/signature-action.component';
42
42
  import { SignatureComponent } from './actions/signature-action/signature/signature.component';
43
- export declare const entryComponents: (typeof WorkflowComponent | typeof WorkflowActionComponent | typeof CustomActionsComponent | typeof SimpleWorkflowActionComponent | typeof CopyActionComponent | typeof OpenContextActionComponent | typeof DownloadOriginalActionComponent | typeof DownloadPdfActionComponent | typeof DownloadActionComponent | typeof OpenDocumentComponent | typeof OpenDocumentActionComponent | typeof EmailLinkActionComponent | typeof EmailOriginalActionComponent | typeof EmailPdfActionComponent | typeof EmailActionComponent | typeof ClipboardLinkActionComponent | typeof ClipboardOriginalActionComponent | typeof ClipboardPdfActionComponent | typeof ClipboardActionComponent | typeof DeleteComponent | typeof DeleteActionComponent | typeof OpenVersionsActionComponent | typeof RestoreVersionActionComponent | typeof DeletePreparedActionComponent | typeof AddSubscriptionComponent | typeof AddSubscriptionActionComponent | typeof AddResubmissionComponent | typeof AddResubmissionActionComponent | typeof RemoveSubscriptionActionComponent | typeof UpdateResubmissionActionComponent | typeof ShareObjectComponent | typeof ShareObjectActionComponent | typeof CutActionComponent | typeof FinalizeObjectActionComponent | typeof FinalizeActionComponent | typeof DefinalizeActionComponent | typeof DeleteContentComponent | typeof DeleteContentActionComponent | typeof UnlockActionComponent | typeof SignatureComponent | typeof SignatureActionComponent)[];
43
+ import { CancelSigningActionComponent } from './actions/cancel-signing-action/cancel-signing-action';
44
+ import { CancelSigningComponent } from './actions/cancel-signing-action/cancel-signing/cancel-signing.component';
45
+ export declare const entryComponents: (typeof WorkflowComponent | typeof WorkflowActionComponent | typeof CustomActionsComponent | typeof SimpleWorkflowActionComponent | typeof CopyActionComponent | typeof OpenContextActionComponent | typeof DownloadOriginalActionComponent | typeof DownloadPdfActionComponent | typeof DownloadActionComponent | typeof OpenDocumentComponent | typeof OpenDocumentActionComponent | typeof EmailLinkActionComponent | typeof EmailOriginalActionComponent | typeof EmailPdfActionComponent | typeof EmailActionComponent | typeof ClipboardLinkActionComponent | typeof ClipboardOriginalActionComponent | typeof ClipboardPdfActionComponent | typeof ClipboardActionComponent | typeof DeleteComponent | typeof DeleteActionComponent | typeof OpenVersionsActionComponent | typeof RestoreVersionActionComponent | typeof DeletePreparedActionComponent | typeof AddSubscriptionComponent | typeof AddSubscriptionActionComponent | typeof AddResubmissionComponent | typeof AddResubmissionActionComponent | typeof RemoveSubscriptionActionComponent | typeof UpdateResubmissionActionComponent | typeof ShareObjectComponent | typeof ShareObjectActionComponent | typeof CutActionComponent | typeof FinalizeObjectActionComponent | typeof FinalizeActionComponent | typeof DefinalizeActionComponent | typeof DeleteContentComponent | typeof DeleteContentActionComponent | typeof UnlockActionComponent | typeof SignatureComponent | typeof SignatureActionComponent | typeof CancelSigningComponent | typeof CancelSigningActionComponent)[];
44
46
  /**
45
47
  * @module
46
48
  * @description
@@ -0,0 +1,30 @@
1
+ import { AfterViewInit, ElementRef, EventEmitter } from '@angular/core';
2
+ import { ActionComponent } from '../../../interfaces/action-component.interface';
3
+ import { DmsObject, CapabilitiesService, TranslateService, SigningService, EventService, DmsService } from '@eo-sdk/core';
4
+ import { Router } from '@angular/router';
5
+ import { BackendService, NotificationsService } from '@eo-sdk/core';
6
+ import { FormControl, FormGroup } from '@angular/forms';
7
+ export declare class CancelSigningComponent implements AfterViewInit, ActionComponent {
8
+ private translate;
9
+ private backend;
10
+ private toast;
11
+ private router;
12
+ private capabilitiesService;
13
+ private signingService;
14
+ private elemRef;
15
+ private eventService;
16
+ private dmsService;
17
+ cancelling: boolean;
18
+ commentLabel: string;
19
+ cancelSigningForm: FormGroup;
20
+ commentField: FormControl;
21
+ selection: DmsObject[];
22
+ finished: EventEmitter<any>;
23
+ canceled: EventEmitter<any>;
24
+ constructor(translate: TranslateService, backend: BackendService, toast: NotificationsService, router: Router, capabilitiesService: CapabilitiesService, signingService: SigningService, elemRef: ElementRef, eventService: EventService, dmsService: DmsService);
25
+ get commentValidity(): boolean;
26
+ cancelSigning(id: string, comment: string): void;
27
+ run(): void;
28
+ cancel(): void;
29
+ ngAfterViewInit(): void;
30
+ }
@@ -0,0 +1,22 @@
1
+ import { Observable } from 'rxjs';
2
+ import { DmsObjectTarget } from '../../action-target';
3
+ import { SelectionRange } from '../../selection-range.enum';
4
+ import { TranslateService, DmsObject, SigningService } from '@eo-sdk/core';
5
+ import { ComponentAction } from '../../interfaces/action.interface';
6
+ import { CancelSigningComponent } from './cancel-signing/cancel-signing.component';
7
+ export declare class CancelSigningActionComponent extends DmsObjectTarget implements ComponentAction {
8
+ private translate;
9
+ private signingService;
10
+ header: string;
11
+ label: string;
12
+ description: string;
13
+ priority: number;
14
+ iconSrc: string;
15
+ group: string;
16
+ range: SelectionRange;
17
+ component: typeof CancelSigningComponent;
18
+ constructor(translate: TranslateService, signingService: SigningService);
19
+ isExecutable(element: DmsObject): Observable<boolean>;
20
+ hasEditRights(item: DmsObject): boolean;
21
+ isFinalized(item: DmsObject): boolean;
22
+ }
@@ -1,5 +1,5 @@
1
1
  import { EventEmitter, OnDestroy } from '@angular/core';
2
- import { BpmService, NotificationsService, TranslateService, SigningService, Config } from '@eo-sdk/core';
2
+ import { BpmService, NotificationsService, TranslateService, SigningService, Config, EventService, DmsService } from '@eo-sdk/core';
3
3
  import { EoDialogComponent } from '../../../../ui/eo-dialog/eo-dialog.component';
4
4
  import { ActionComponent } from '../../../interfaces/action-component.interface';
5
5
  import { PendingChangesService } from '../../../../../eo-framework-core/pending-changes/pending-changes.service';
@@ -13,6 +13,8 @@ export declare class SignatureComponent implements ActionComponent, OnDestroy {
13
13
  private toaster;
14
14
  private signingService;
15
15
  private config;
16
+ private eventService;
17
+ private dmsService;
16
18
  selection: any[];
17
19
  finished: EventEmitter<any>;
18
20
  canceled: EventEmitter<any>;
@@ -33,7 +35,7 @@ export declare class SignatureComponent implements ActionComponent, OnDestroy {
33
35
  signingForm: FormGroup;
34
36
  maxSigners: number;
35
37
  signingFormListener: Subscription;
36
- constructor(bpmService: BpmService, pendingChanges: PendingChangesService, translate: TranslateService, toaster: NotificationsService, signingService: SigningService, config: Config);
38
+ constructor(bpmService: BpmService, pendingChanges: PendingChangesService, translate: TranslateService, toaster: NotificationsService, signingService: SigningService, config: Config, eventService: EventService, dmsService: DmsService);
37
39
  saveForm(): void;
38
40
  finish(): void;
39
41
  cancel(): void;
@@ -48,6 +48,7 @@ export declare class ObjectDetailsComponent extends UnsubscribeOnDestroy impleme
48
48
  set reference(isRef: boolean);
49
49
  searchTerm: string;
50
50
  enableCompare: boolean;
51
+ recyclebinTabs: boolean;
51
52
  enableDiff: boolean;
52
53
  enableSync: boolean;
53
54
  cacheLayout: any;
@@ -29,7 +29,7 @@
29
29
  },
30
30
  "about": {
31
31
  "docu": {
32
- "link": "https://help.optimal-systems.com/yuuvisRAD/v90/user/client/###userLang###/index.html",
32
+ "link": "https://help.optimal-systems.com/yuuvisRAD/v80/user/client/###userLang###/index.html",
33
33
  "label": "eo.sidebar.help.manual"
34
34
  }
35
35
  },
@@ -123,7 +123,7 @@
123
123
  "eo.object.signature-tab.label.subject": "E-Mail-Betreff",
124
124
  "eo.object.signature-tab.label.body": "E-Mail-Nachricht",
125
125
  "eo.object.signature-tab.label.status": "Status",
126
- "eo.object.signature-tab.label.error": "Fehlermeldung",
126
+ "eo.object.signature-tab.label.error": "Hinweis",
127
127
  "eo.object.signature-tab.label.signingPlatform": "Signaturplattform",
128
128
  "eo.object.signature-tab.label.signingPlatformId": "Signaturplattform-ID",
129
129
  "eo.object.signature-tab.order.tooltip": "Unterschriftenfolge",
@@ -137,6 +137,15 @@
137
137
  "eo.action.signature.cancel": "Abbrechen",
138
138
  "eo.action.signature.reset": "Zurücksetzen",
139
139
  "eo.action.signature.request.success": "Unterschriften wurden angefragt.",
140
+ "eo.action.cancel.signing.label": "Unterschreiben abbrechen",
141
+ "eo.action.cancel.signing.description": "Bricht das Unterschreiben für das Objekt ab.",
142
+ "eo.action.cancel.signing.reason": "Grund",
143
+ "eo.action.cancel.signing.cancel": "Abbrechen",
144
+ "eo.action.cancel.signing.cancelSigning": "Unterschreiben abbrechen",
145
+ "eo.action.cancel.signing.success.message": "Das Unterschreiben wurde abgebrochen.",
146
+ "eo.action.cancel.signing.error.message": "Das Unterschreiben konnte nicht abgebrochen werden.",
147
+ "eo.object.signature.tooltip.inprocess": "Unterschriften wurden angefragt",
148
+ "eo.object.signature.tooltip.signed": "Das Dokument ist unterschrieben",
140
149
  "eo.object.signature-tab.no-signatures": "Es sind keine Unterschriften vorhanden.",
141
150
  "eo.form.property.dynamic.list.empty": "Es sind keine Einträge vorhanden oder in diesem Kontext nicht verfügbar.",
142
151
  "eo.process.task.due": "Fällig am {{date}}",
@@ -521,6 +530,7 @@
521
530
  "eo.object.indexdata.form.invalid": "Das Formular enthält Fehler. Korrigieren Sie die Fehler, um die Eingaben speichern zu können.",
522
531
  "eo.references.not.available": "Nicht verfügbar",
523
532
  "eo.references.deleted": "gelöschte Referenz",
533
+ "eo.references.noAccess": "kein Zugriff",
524
534
  "eo.references.object.notfound": "Es wurden keine Referenzen gefunden.",
525
535
  "eo.references.to.label": "Auf dieses Objekt",
526
536
  "eo.references.from.label": "Auf andere Objekte",
@@ -782,6 +792,10 @@
782
792
  "eo.view.navigation.inbox": "Eingangskorb",
783
793
  "eo.view.navigation.process": "Meine Prozesse",
784
794
  "eo.view.navigation.storedqueries": "Gespeicherte Suchen",
795
+ "eo.view.navigation.recyclebin": "Papierkorb",
796
+ "eo.recyclebin.list.title": "Papierkorb",
797
+ "eo.recyclebin.filter.title": "Papierkorb filtern",
798
+ "eo.recyclebin.list.empty": "Sie haben noch keine gelöschten Dateien",
785
799
  "eo.view.navigation.title": "Navigation",
786
800
  "eo.sidebar.navigation.favorites.tooltip": "Favoriten öffnen",
787
801
  "eo.sidebar.navigation.inbox.tooltip": "Eingangskorb öffnen",
@@ -126,7 +126,7 @@
126
126
  "eo.object.signature-tab.label.subject": "E-mail subject",
127
127
  "eo.object.signature-tab.label.body": "E-mail message",
128
128
  "eo.object.signature-tab.label.status": "Status",
129
- "eo.object.signature-tab.label.error": "Error message",
129
+ "eo.object.signature-tab.label.error": "Notice",
130
130
  "eo.object.signature-tab.label.signingPlatform": "Signature platform",
131
131
  "eo.object.signature-tab.label.signingPlatformId": "Signature platform ID",
132
132
  "eo.object.signature-tab.order.tooltip": "Signature sequence",
@@ -140,6 +140,15 @@
140
140
  "eo.action.signature.cancel": "Cancel",
141
141
  "eo.action.signature.reset": "Reset",
142
142
  "eo.action.signature.request.success": "Signature was requested.",
143
+ "eo.action.cancel.signing.label": "Cancel signing",
144
+ "eo.action.cancel.signing.description": "Cancels the signing for the object.",
145
+ "eo.action.cancel.signing.reason": "Reason",
146
+ "eo.action.cancel.signing.cancel": "Cancel",
147
+ "eo.action.cancel.signing.cancelSigning": "Cancel signing",
148
+ "eo.action.cancel.signing.success.message": "The signing has been cancelled.",
149
+ "eo.action.cancel.signing.error.message": "The signing could not be cancelled.",
150
+ "eo.object.signature.tooltip.inprocess": "Signatures were requested",
151
+ "eo.object.signature.tooltip.signed": "The document is signed",
143
152
  "eo.object.signature-tab.no-signatures": "There are no signatures.",
144
153
  "eo.form.property.dynamic.list.empty": "No entries available or entries not available in this context.",
145
154
  "eo.process.task.due": "Due on {{date}}",
@@ -525,7 +534,8 @@
525
534
  "eo.object.indexdata.save.browsernav": "You are currently editing the metadata of a form that has not been saved. Unsaved data will be lost.",
526
535
  "eo.object.indexdata.form.invalid": "The form contains errors. Correct the errors in order to be able to save the entries.",
527
536
  "eo.references.not.available": "Not available",
528
- "eo.references.deleted": "Deleted reference",
537
+ "eo.references.deleted": "deleted reference",
538
+ "eo.references.noAccess": "no access",
529
539
  "eo.references.object.notfound": "No references found.",
530
540
  "eo.references.to.label": "To this object",
531
541
  "eo.references.from.label": "To other objects",
@@ -788,6 +798,10 @@
788
798
  "eo.view.navigation.favorites": "Favorites",
789
799
  "eo.view.navigation.inbox": "Inbox",
790
800
  "eo.view.navigation.process": "My processes",
801
+ "eo.view.navigation.recyclebin": "Recycle bin",
802
+ "eo.recyclebin.list.title": "Recycle bin",
803
+ "eo.recyclebin.filter.title": "Filter Recycle bin",
804
+ "eo.recyclebin.list.empty": "You don't have any deleted files yet",
791
805
  "eo.view.navigation.title": "Navigation",
792
806
  "eo.sidebar.navigation.favorites.tooltip": "Open favorites",
793
807
  "eo.sidebar.navigation.inbox.tooltip": "Open inbox",
@@ -1,8 +1,8 @@
1
1
  (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@ngx-translate/core'), require('@angular/core'), require('@angular/common/http'), require('rxjs'), require('rxjs/operators'), require('@angular/common'), require('@angular/common/locales/de-CH'), require('@angular/common/locales/extra/de-CH'), require('@angular/common/locales/de'), require('@angular/common/locales/extra/de'), require('@angular/common/locales/ar'), require('@angular/common/locales/extra/ar'), require('@angular/common/locales/es'), require('@angular/common/locales/extra/es'), require('@angular/common/locales/pt'), require('@angular/common/locales/extra/pt'), require('@angular/common/locales/fr'), require('@angular/common/locales/extra/fr'), require('@angular/common/locales/zh'), require('@angular/common/locales/extra/zh'), require('@angular/common/locales/zh-Hant'), require('@angular/common/locales/extra/zh-Hant'), require('@angular/common/locales/lv'), require('@angular/common/locales/extra/lv'), require('@angular/common/locales/ru'), require('@angular/common/locales/extra/ru'), require('@angular/common/locales/it'), require('@angular/common/locales/extra/it'), require('@angular/common/locales/nl'), require('@angular/common/locales/extra/nl'), require('@angular/common/locales/sk'), require('@angular/common/locales/extra/sk'), require('@angular/common/locales/pl'), require('@angular/common/locales/extra/pl'), require('@angular/common/locales/uk'), require('@angular/common/locales/extra/uk'), require('@angular/common/locales/ja'), require('@angular/common/locales/extra/ja'), require('@angular/common/locales/ko'), require('@angular/common/locales/extra/ko'), require('@angular/common/locales/hi'), require('@angular/common/locales/extra/hi'), require('@angular/common/locales/bn'), require('@angular/common/locales/extra/bn'), require('@angular/common/locales/vi'), require('@angular/common/locales/extra/vi'), require('@angular/common/locales/th'), require('@angular/common/locales/extra/th'), require('@angular/common/locales/en-GB'), require('@angular/common/locales/extra/en-GB'), require('@angular/common/locales/he'), require('@angular/common/locales/extra/he'), require('moment'), require('@ngx-pwa/local-storage'), require('file-saver'), require('lodash'), require('ngx-toastr')) :
3
- typeof define === 'function' && define.amd ? define('@eo-sdk/client/projects/eo-sdk/core', ['exports', '@ngx-translate/core', '@angular/core', '@angular/common/http', 'rxjs', 'rxjs/operators', '@angular/common', '@angular/common/locales/de-CH', '@angular/common/locales/extra/de-CH', '@angular/common/locales/de', '@angular/common/locales/extra/de', '@angular/common/locales/ar', '@angular/common/locales/extra/ar', '@angular/common/locales/es', '@angular/common/locales/extra/es', '@angular/common/locales/pt', '@angular/common/locales/extra/pt', '@angular/common/locales/fr', '@angular/common/locales/extra/fr', '@angular/common/locales/zh', '@angular/common/locales/extra/zh', '@angular/common/locales/zh-Hant', '@angular/common/locales/extra/zh-Hant', '@angular/common/locales/lv', '@angular/common/locales/extra/lv', '@angular/common/locales/ru', '@angular/common/locales/extra/ru', '@angular/common/locales/it', '@angular/common/locales/extra/it', '@angular/common/locales/nl', '@angular/common/locales/extra/nl', '@angular/common/locales/sk', '@angular/common/locales/extra/sk', '@angular/common/locales/pl', '@angular/common/locales/extra/pl', '@angular/common/locales/uk', '@angular/common/locales/extra/uk', '@angular/common/locales/ja', '@angular/common/locales/extra/ja', '@angular/common/locales/ko', '@angular/common/locales/extra/ko', '@angular/common/locales/hi', '@angular/common/locales/extra/hi', '@angular/common/locales/bn', '@angular/common/locales/extra/bn', '@angular/common/locales/vi', '@angular/common/locales/extra/vi', '@angular/common/locales/th', '@angular/common/locales/extra/th', '@angular/common/locales/en-GB', '@angular/common/locales/extra/en-GB', '@angular/common/locales/he', '@angular/common/locales/extra/he', 'moment', '@ngx-pwa/local-storage', 'file-saver', 'lodash', 'ngx-toastr'], factory) :
4
- (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global['eo-sdk'] = global['eo-sdk'] || {}, global['eo-sdk'].client = global['eo-sdk'].client || {}, global['eo-sdk'].client.projects = global['eo-sdk'].client.projects || {}, global['eo-sdk'].client.projects['eo-sdk'] = global['eo-sdk'].client.projects['eo-sdk'] || {}, global['eo-sdk'].client.projects['eo-sdk'].core = {}), global.core, global.ng.core, global.ng.common.http, global.rxjs, global.rxjs.operators, global.ng.common, global.ng.common.locales.deCH, global.ng.common.locales.extra.deCH, global.ng.common.locales.de, global.ng.common.locales.extra.de, global.ng.common.locales.ar, global.ng.common.locales.extra.ar, global.ng.common.locales.es, global.ng.common.locales.extra.es, global.ng.common.locales.pt, global.ng.common.locales.extra.pt, global.ng.common.locales.fr, global.ng.common.locales.extra.fr, global.ng.common.locales.zh, global.ng.common.locales.extra.zh, global.ng.common.locales.zhHant, global.ng.common.locales.extra.zhHant, global.ng.common.locales.lv, global.ng.common.locales.extra.lv, global.ng.common.locales.ru, global.ng.common.locales.extra.ru, global.ng.common.locales.it, global.ng.common.locales.extra.it, global.ng.common.locales.nl, global.ng.common.locales.extra.nl, global.ng.common.locales.sk, global.ng.common.locales.extra.sk, global.ng.common.locales.pl, global.ng.common.locales.extra.pl, global.ng.common.locales.uk, global.ng.common.locales.extra.uk, global.ng.common.locales.ja, global.ng.common.locales.extra.ja, global.ng.common.locales.ko, global.ng.common.locales.extra.ko, global.ng.common.locales.hi, global.ng.common.locales.extra.hi, global.ng.common.locales.bn, global.ng.common.locales.extra.bn, global.ng.common.locales.vi, global.ng.common.locales.extra.vi, global.ng.common.locales.th, global.ng.common.locales.extra.th, global.ng.common.locales.enGB, global.ng.common.locales.extra.enGB, global.ng.common.locales.he, global.ng.common.locales.extra.he, global.momentImported, global.localStorage, global.FileSaver, global._, global.ngxToastr));
5
- }(this, (function (exports, core, i0, http, rxjs, operators, common, localeDeCh, localeExtraDeCh, localeDe, localeExtraDe, localeAr, localeExtraAr, localeEs, localeExtraEs, localePt, localeExtraPt, localeFr, localeExtraFr, localeZh, localeExtraZh, localeZhHant, localeExtraZhHant, localeLv, localeExtraLv, localeRu, localeExtraRu, localeIt, localeExtraIt, localeNl, localeExtraNl, localeSk, localeExtraSk, localePl, localeExtraPl, localeUk, localeExtraUk, localeJa, localeExtraJa, localeKo, localeExtraKo, localeHi, localeExtraHi, localeBn, localeExtraBn, localeVi, localeExtraVi, localeTh, localeExtraTh, localeEnGb, localeExtraEnGb, localeHe, localeExtraHe, momentImported, localStorage, FileSaver, _, ngxToastr) { 'use strict';
2
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@ngx-translate/core'), require('@angular/core'), require('@angular/common/http'), require('rxjs'), require('rxjs/operators'), require('@angular/common'), require('@angular/common/locales/de-CH'), require('@angular/common/locales/extra/de-CH'), require('@angular/common/locales/de'), require('@angular/common/locales/extra/de'), require('@angular/common/locales/ar'), require('@angular/common/locales/extra/ar'), require('@angular/common/locales/es'), require('@angular/common/locales/extra/es'), require('@angular/common/locales/pt'), require('@angular/common/locales/extra/pt'), require('@angular/common/locales/fr'), require('@angular/common/locales/extra/fr'), require('@angular/common/locales/zh'), require('@angular/common/locales/extra/zh'), require('@angular/common/locales/zh-Hant'), require('@angular/common/locales/extra/zh-Hant'), require('@angular/common/locales/lv'), require('@angular/common/locales/extra/lv'), require('@angular/common/locales/ru'), require('@angular/common/locales/extra/ru'), require('@angular/common/locales/it'), require('@angular/common/locales/extra/it'), require('@angular/common/locales/nl'), require('@angular/common/locales/extra/nl'), require('@angular/common/locales/sk'), require('@angular/common/locales/extra/sk'), require('@angular/common/locales/pl'), require('@angular/common/locales/extra/pl'), require('@angular/common/locales/uk'), require('@angular/common/locales/extra/uk'), require('@angular/common/locales/ja'), require('@angular/common/locales/extra/ja'), require('@angular/common/locales/ko'), require('@angular/common/locales/extra/ko'), require('@angular/common/locales/hi'), require('@angular/common/locales/extra/hi'), require('@angular/common/locales/bn'), require('@angular/common/locales/extra/bn'), require('@angular/common/locales/vi'), require('@angular/common/locales/extra/vi'), require('@angular/common/locales/th'), require('@angular/common/locales/extra/th'), require('@angular/common/locales/en-GB'), require('@angular/common/locales/extra/en-GB'), require('@angular/common/locales/he'), require('@angular/common/locales/extra/he'), require('@angular/common/locales/fi'), require('@angular/common/locales/extra/fi'), require('@angular/common/locales/da'), require('@angular/common/locales/extra/da'), require('@angular/common/locales/se'), require('@angular/common/locales/extra/se'), require('@angular/common/locales/nb'), require('@angular/common/locales/extra/nb'), require('@angular/common/locales/nn'), require('@angular/common/locales/extra/nn'), require('@angular/common/locales/id'), require('@angular/common/locales/extra/id'), require('@angular/common/locales/ms'), require('@angular/common/locales/extra/ms'), require('moment'), require('@ngx-pwa/local-storage'), require('file-saver'), require('lodash'), require('ngx-toastr')) :
3
+ typeof define === 'function' && define.amd ? define('@eo-sdk/client/projects/eo-sdk/core', ['exports', '@ngx-translate/core', '@angular/core', '@angular/common/http', 'rxjs', 'rxjs/operators', '@angular/common', '@angular/common/locales/de-CH', '@angular/common/locales/extra/de-CH', '@angular/common/locales/de', '@angular/common/locales/extra/de', '@angular/common/locales/ar', '@angular/common/locales/extra/ar', '@angular/common/locales/es', '@angular/common/locales/extra/es', '@angular/common/locales/pt', '@angular/common/locales/extra/pt', '@angular/common/locales/fr', '@angular/common/locales/extra/fr', '@angular/common/locales/zh', '@angular/common/locales/extra/zh', '@angular/common/locales/zh-Hant', '@angular/common/locales/extra/zh-Hant', '@angular/common/locales/lv', '@angular/common/locales/extra/lv', '@angular/common/locales/ru', '@angular/common/locales/extra/ru', '@angular/common/locales/it', '@angular/common/locales/extra/it', '@angular/common/locales/nl', '@angular/common/locales/extra/nl', '@angular/common/locales/sk', '@angular/common/locales/extra/sk', '@angular/common/locales/pl', '@angular/common/locales/extra/pl', '@angular/common/locales/uk', '@angular/common/locales/extra/uk', '@angular/common/locales/ja', '@angular/common/locales/extra/ja', '@angular/common/locales/ko', '@angular/common/locales/extra/ko', '@angular/common/locales/hi', '@angular/common/locales/extra/hi', '@angular/common/locales/bn', '@angular/common/locales/extra/bn', '@angular/common/locales/vi', '@angular/common/locales/extra/vi', '@angular/common/locales/th', '@angular/common/locales/extra/th', '@angular/common/locales/en-GB', '@angular/common/locales/extra/en-GB', '@angular/common/locales/he', '@angular/common/locales/extra/he', '@angular/common/locales/fi', '@angular/common/locales/extra/fi', '@angular/common/locales/da', '@angular/common/locales/extra/da', '@angular/common/locales/se', '@angular/common/locales/extra/se', '@angular/common/locales/nb', '@angular/common/locales/extra/nb', '@angular/common/locales/nn', '@angular/common/locales/extra/nn', '@angular/common/locales/id', '@angular/common/locales/extra/id', '@angular/common/locales/ms', '@angular/common/locales/extra/ms', 'moment', '@ngx-pwa/local-storage', 'file-saver', 'lodash', 'ngx-toastr'], factory) :
4
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global['eo-sdk'] = global['eo-sdk'] || {}, global['eo-sdk'].client = global['eo-sdk'].client || {}, global['eo-sdk'].client.projects = global['eo-sdk'].client.projects || {}, global['eo-sdk'].client.projects['eo-sdk'] = global['eo-sdk'].client.projects['eo-sdk'] || {}, global['eo-sdk'].client.projects['eo-sdk'].core = {}), global.core, global.ng.core, global.ng.common.http, global.rxjs, global.rxjs.operators, global.ng.common, global.ng.common.locales.deCH, global.ng.common.locales.extra.deCH, global.ng.common.locales.de, global.ng.common.locales.extra.de, global.ng.common.locales.ar, global.ng.common.locales.extra.ar, global.ng.common.locales.es, global.ng.common.locales.extra.es, global.ng.common.locales.pt, global.ng.common.locales.extra.pt, global.ng.common.locales.fr, global.ng.common.locales.extra.fr, global.ng.common.locales.zh, global.ng.common.locales.extra.zh, global.ng.common.locales.zhHant, global.ng.common.locales.extra.zhHant, global.ng.common.locales.lv, global.ng.common.locales.extra.lv, global.ng.common.locales.ru, global.ng.common.locales.extra.ru, global.ng.common.locales.it, global.ng.common.locales.extra.it, global.ng.common.locales.nl, global.ng.common.locales.extra.nl, global.ng.common.locales.sk, global.ng.common.locales.extra.sk, global.ng.common.locales.pl, global.ng.common.locales.extra.pl, global.ng.common.locales.uk, global.ng.common.locales.extra.uk, global.ng.common.locales.ja, global.ng.common.locales.extra.ja, global.ng.common.locales.ko, global.ng.common.locales.extra.ko, global.ng.common.locales.hi, global.ng.common.locales.extra.hi, global.ng.common.locales.bn, global.ng.common.locales.extra.bn, global.ng.common.locales.vi, global.ng.common.locales.extra.vi, global.ng.common.locales.th, global.ng.common.locales.extra.th, global.ng.common.locales.enGB, global.ng.common.locales.extra.enGB, global.ng.common.locales.he, global.ng.common.locales.extra.he, global.ng.common.locales.fi, global.ng.common.locales.extra.fi, global.ng.common.locales.da, global.ng.common.locales.extra.da, global.ng.common.locales.se, global.ng.common.locales.extra.se, global.ng.common.locales.nb, global.ng.common.locales.extra.nb, global.ng.common.locales.nn, global.ng.common.locales.extra.nn, global.ng.common.locales.id, global.ng.common.locales.extra.id, global.ng.common.locales.ms, global.ng.common.locales.extra.ms, global.momentImported, global.localStorage, global.FileSaver, global._, global.ngxToastr));
5
+ }(this, (function (exports, core, i0, http, rxjs, operators, common, localeDeCh, localeExtraDeCh, localeDe, localeExtraDe, localeAr, localeExtraAr, localeEs, localeExtraEs, localePt, localeExtraPt, localeFr, localeExtraFr, localeZh, localeExtraZh, localeZhHant, localeExtraZhHant, localeLv, localeExtraLv, localeRu, localeExtraRu, localeIt, localeExtraIt, localeNl, localeExtraNl, localeSk, localeExtraSk, localePl, localeExtraPl, localeUk, localeExtraUk, localeJa, localeExtraJa, localeKo, localeExtraKo, localeHi, localeExtraHi, localeBn, localeExtraBn, localeVi, localeExtraVi, localeTh, localeExtraTh, localeEnGb, localeExtraEnGb, localeHe, localeExtraHe, localeFi, localeExtraFi, localeDa, localeExtraDa, localeSe, localeExtraSe, localeNb, localeExtraNb, localeNn, localeExtraNn, localeId, localeExtraId, localeMs, localeExtraMs, momentImported, localStorage, FileSaver, _, ngxToastr) { 'use strict';
6
6
 
7
7
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
8
8
 
@@ -72,6 +72,20 @@
72
72
  var localeExtraEnGb__default = /*#__PURE__*/_interopDefaultLegacy(localeExtraEnGb);
73
73
  var localeHe__default = /*#__PURE__*/_interopDefaultLegacy(localeHe);
74
74
  var localeExtraHe__default = /*#__PURE__*/_interopDefaultLegacy(localeExtraHe);
75
+ var localeFi__default = /*#__PURE__*/_interopDefaultLegacy(localeFi);
76
+ var localeExtraFi__default = /*#__PURE__*/_interopDefaultLegacy(localeExtraFi);
77
+ var localeDa__default = /*#__PURE__*/_interopDefaultLegacy(localeDa);
78
+ var localeExtraDa__default = /*#__PURE__*/_interopDefaultLegacy(localeExtraDa);
79
+ var localeSe__default = /*#__PURE__*/_interopDefaultLegacy(localeSe);
80
+ var localeExtraSe__default = /*#__PURE__*/_interopDefaultLegacy(localeExtraSe);
81
+ var localeNb__default = /*#__PURE__*/_interopDefaultLegacy(localeNb);
82
+ var localeExtraNb__default = /*#__PURE__*/_interopDefaultLegacy(localeExtraNb);
83
+ var localeNn__default = /*#__PURE__*/_interopDefaultLegacy(localeNn);
84
+ var localeExtraNn__default = /*#__PURE__*/_interopDefaultLegacy(localeExtraNn);
85
+ var localeId__default = /*#__PURE__*/_interopDefaultLegacy(localeId);
86
+ var localeExtraId__default = /*#__PURE__*/_interopDefaultLegacy(localeExtraId);
87
+ var localeMs__default = /*#__PURE__*/_interopDefaultLegacy(localeMs);
88
+ var localeExtraMs__default = /*#__PURE__*/_interopDefaultLegacy(localeExtraMs);
75
89
  var momentImported__namespace = /*#__PURE__*/_interopNamespace(momentImported);
76
90
 
77
91
  // @see: http://stackoverflow.com/questions/37611549/how-to-pass-parameters-rendered-from-backend-to-angular2-bootstrap-method#answer-40379803
@@ -160,7 +174,14 @@
160
174
  common.registerLocaleData(localeTh__default['default'], 'th', localeExtraTh__default['default']); // Thai
161
175
  common.registerLocaleData(localeVi__default['default'], 'vi', localeExtraVi__default['default']); // Vietnamese
162
176
  common.registerLocaleData(localeEnGb__default['default'], 'en-GB', localeExtraEnGb__default['default']); // English (Great-Britain)
163
- common.registerLocaleData(localeHe__default['default'], 'he', localeExtraHe__default['default']);
177
+ common.registerLocaleData(localeHe__default['default'], 'he', localeExtraHe__default['default']); // Hebrew
178
+ common.registerLocaleData(localeFi__default['default'], 'fi', localeExtraFi__default['default']); // Finish
179
+ common.registerLocaleData(localeDa__default['default'], 'da', localeExtraDa__default['default']); // Danish
180
+ common.registerLocaleData(localeSe__default['default'], 'se', localeExtraSe__default['default']); // Swedish
181
+ common.registerLocaleData(localeNb__default['default'], 'nb', localeExtraNb__default['default']); // Norwegian Bokmål
182
+ common.registerLocaleData(localeNn__default['default'], 'nn', localeExtraNn__default['default']); // Norwegian Nynorsk
183
+ common.registerLocaleData(localeId__default['default'], 'id', localeExtraId__default['default']); // Indonesian
184
+ common.registerLocaleData(localeMs__default['default'], 'ms', localeExtraMs__default['default']); // Malay
164
185
  }
165
186
  /**
166
187
  *
@@ -1270,7 +1291,7 @@
1270
1291
  */
1271
1292
  Config.prototype.getSupportedClientLocales = function () {
1272
1293
  return ['en', 'de', 'ar', 'es', 'pt', 'fr', 'zh', 'lv', 'ru', 'it', 'nl', 'sk', 'pl', 'uk', 'ja', 'ko', 'hi', 'bn', 'de-CH', 'zh-Hant',
1273
- 'th', 'vi', 'en-GB', 'he'];
1294
+ 'th', 'vi', 'en-GB', 'he', 'fi', 'se', 'da', 'nb', 'nn', 'id', 'ms'];
1274
1295
  };
1275
1296
  /**
1276
1297
  * Get the dashboards background image
@@ -2688,6 +2709,13 @@
2688
2709
  this.favorites$ = this.favoritesGridData$.pipe(this.backend.gridDataFilter);
2689
2710
  this.notifications = null;
2690
2711
  this.notificationsSource = new rxjs.BehaviorSubject(this.notifications);
2712
+ /**
2713
+ * Observable emitting current users recyclebin
2714
+ */
2715
+ this.recycles = null;
2716
+ this.recyclesSource = new rxjs.BehaviorSubject(this.recycles);
2717
+ this.recyclesGridData$ = this.recyclesSource.asObservable().pipe(operators.debounceTime(100), operators.filter(function (v) { return v; }));
2718
+ this.recycles$ = this.recyclesGridData$.pipe(this.backend.gridDataFilter);
2691
2719
  /**
2692
2720
  * Observable emitting current users notifications
2693
2721
  */
@@ -2925,6 +2953,16 @@
2925
2953
  _this.updateFavorites(null, null, toRemove);
2926
2954
  }));
2927
2955
  };
2956
+ /**
2957
+ * Gets the users recyclebin
2958
+ */
2959
+ UserService.prototype.getRecycleBin = function () {
2960
+ var _this = this;
2961
+ return this.backend.getJson("/user/recyclebin").pipe(operators.tap(function (response) {
2962
+ _this.recycles = response;
2963
+ _this.recyclesSource.next(_this.recycles);
2964
+ }));
2965
+ };
2928
2966
  /**
2929
2967
  * Changes the users preferred lock mode and persists it on the server
2930
2968
  * @param lock The value to set the lock settings to
@@ -5059,16 +5097,18 @@
5059
5097
  * Generates the URI for getting a DmsObjects preview (PDF rendition).
5060
5098
  *
5061
5099
  * @param id Objects id
5062
- * @param type] Objects type name, will improve load time if provided
5100
+ * @param type Objects type name, will improve load time if provided
5063
5101
  * @param version Target version
5064
5102
  * @param rendition Target rendition (PDF)
5103
+ * @param recyclebin If true, objects from recyclebin are included
5065
5104
  * @returns string
5066
5105
  */
5067
- DmsService.prototype.getPreview = function (id, type, version, rendition) {
5106
+ DmsService.prototype.getPreview = function (id, type, version, rendition, recyclebin) {
5068
5107
  return Utils.buildUri(this.backend.getServiceBase() + '/dms/' + id + '/content', {
5069
5108
  rendition: rendition,
5070
5109
  type: type,
5071
- version: version
5110
+ version: version,
5111
+ recyclebin: recyclebin
5072
5112
  });
5073
5113
  };
5074
5114
  /**
@@ -5090,11 +5130,12 @@
5090
5130
  *
5091
5131
  * @param id ID of the dms object to fetch history for
5092
5132
  * @param type Type of the dms object to fetch history for
5133
+ * @param recyclebin If true, objects from recyclebin are included
5093
5134
  * @returns Observable<DmsObjectHistoryEntry[]> The history of the dms object
5094
5135
  */
5095
- DmsService.prototype.getHistory = function (id, type) {
5136
+ DmsService.prototype.getHistory = function (id, type, recyclebin) {
5096
5137
  var uri = "/dms/" + id + "/audit";
5097
- return this.backend.getJson(Utils.buildUri(uri, { type: type })).pipe(operators.map(function (res) { return res.audit.map(function (auditEntry) { return new DmsObjectHistoryEntry(auditEntry); }); }));
5138
+ return this.backend.getJson(Utils.buildUri(uri, { type: type, recyclebin: recyclebin })).pipe(operators.map(function (res) { return res.audit.map(function (auditEntry) { return new DmsObjectHistoryEntry(auditEntry); }); }));
5098
5139
  };
5099
5140
  /**
5100
5141
  * Restores an earlier version of the selected DmsObject by adding the earlier version
@@ -6574,6 +6615,16 @@
6574
6615
  var uri = "/request/" + id;
6575
6616
  return this.backend.post(uri, signingData, '/signing');
6576
6617
  };
6618
+ /**
6619
+ * Cancels the signing process of a DMS Object
6620
+ * @param id the id of the dms object
6621
+ * @param comment the reason for cancelling
6622
+ * @returns Observable<any>
6623
+ */
6624
+ SigningService.prototype.cancelSigning = function (id, comment) {
6625
+ var uri = "/cancel/" + id + "?comment=" + comment;
6626
+ return this.backend.put(uri, null, '/signing');
6627
+ };
6577
6628
  SigningService.prototype.getLocalizedSigningForm = function () {
6578
6629
  return {
6579
6630
  'size': 'small',
@@ -6642,9 +6693,12 @@
6642
6693
  ]
6643
6694
  };
6644
6695
  };
6645
- SigningService.prototype.signingInProcess = function (item) {
6696
+ SigningService.prototype.signatureRequested = function (item) {
6646
6697
  return !!item.data.yuvsigstatus;
6647
6698
  };
6699
+ SigningService.prototype.signingInProcess = function (item) {
6700
+ return item.data.yuvsigstatus === 'inprocess';
6701
+ };
6648
6702
  return SigningService;
6649
6703
  }());
6650
6704
  SigningService.decorators = [