@eo-sdk/client 8.16.0-rc.2 → 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.
Files changed (35) hide show
  1. package/app/eo-framework/app-shell/app-bar/app-process/app-process.component.d.ts +7 -1
  2. package/app/eo-framework/prepare-details/prepare-details.component.d.ts +4 -2
  3. package/app/eo-framework/process-form/process-form.component.d.ts +2 -0
  4. package/assets/_default/i18n/de.json +2 -2
  5. package/assets/_default/i18n/en.json +2 -2
  6. package/bundles/eo-sdk-client-projects-eo-sdk-core.umd.js +1 -0
  7. package/bundles/eo-sdk-client-projects-eo-sdk-core.umd.js.map +1 -1
  8. package/bundles/eo-sdk-client-projects-eo-sdk-core.umd.min.js +1 -1
  9. package/bundles/eo-sdk-client-projects-eo-sdk-core.umd.min.js.map +1 -1
  10. package/bundles/eo-sdk-client.umd.js +50 -19
  11. package/bundles/eo-sdk-client.umd.js.map +1 -1
  12. package/bundles/eo-sdk-client.umd.min.js +1 -1
  13. package/bundles/eo-sdk-client.umd.min.js.map +1 -1
  14. package/eo-sdk-client.d.ts +3 -3
  15. package/eo-sdk-client.metadata.json +1 -1
  16. package/esm2015/app/eo-client/about-state/about-state.component.js +3 -3
  17. package/esm2015/app/eo-framework/actions/actions/add-resubmission-action/add-resubmission-action.js +2 -2
  18. package/esm2015/app/eo-framework/actions/actions/add-subscription-action/add-subscription-action.js +2 -2
  19. package/esm2015/app/eo-framework/app-shell/app-bar/app-process/app-process.component.js +26 -4
  20. package/esm2015/app/eo-framework/form-elements/datetime/datepicker/datepicker.component.js +2 -2
  21. package/esm2015/app/eo-framework/media/media.component.js +4 -3
  22. package/esm2015/app/eo-framework/prepare-details/prepare-details.component.js +10 -5
  23. package/esm2015/app/eo-framework/process-form/process-form.component.js +5 -2
  24. package/esm2015/app/eo-framework/ui/eo-dialog/eo-dialog.component.js +2 -2
  25. package/esm2015/app/eo-framework/ui/outside-click/outside-click.directive.js +3 -2
  26. package/esm2015/eo-sdk-client.js +4 -4
  27. package/esm2015/projects/eo-sdk/core/lib/service/capabilities/capabilities.model.js +1 -1
  28. package/esm2015/projects/eo-sdk/core/lib/service/capabilities/capabilities.service.js +2 -1
  29. package/fesm2015/eo-sdk-client-projects-eo-sdk-core.js +1 -0
  30. package/fesm2015/eo-sdk-client-projects-eo-sdk-core.js.map +1 -1
  31. package/fesm2015/eo-sdk-client.js +48 -17
  32. package/fesm2015/eo-sdk-client.js.map +1 -1
  33. package/package.json +2 -2
  34. package/projects/eo-sdk/core/lib/service/capabilities/capabilities.model.d.ts +4 -0
  35. package/projects/eo-sdk/core/package.json +1 -1
@@ -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
- constructor(router: Router, toaster: NotificationsService, translate: TranslateService, bpmService: BpmService);
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,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;
@@ -269,8 +269,8 @@
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": "Mindestens ein Dienst ist aktuell nicht verfügbar.",
273
- "eo.error.connection.interrupted.title": "Dienst nicht verfügbar",
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": "At least one service is not currently available.",
275
- "eo.error.connection.interrupted.title": "Service not available",
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;