@eo-sdk/client 9.0.0-rc.3 → 9.0.0-rc.5

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 (48) hide show
  1. package/README.md +3 -0
  2. package/app/eo-framework/app-shell/app-bar/app-process/app-process.component.d.ts +1 -1
  3. package/app/eo-framework/grid/column-configurator/column-configurator.component.d.ts +2 -0
  4. package/app/eo-framework/grid/extensions/filter/setFilters/set-filter.component.d.ts +1 -0
  5. package/app/eo-framework/ui/eo-dialog/eo-dialog.component.d.ts +1 -1
  6. package/app/eo-framework-core/api/grid.service.d.ts +10 -2
  7. package/assets/_default/i18n/de.json +7 -6
  8. package/assets/_default/i18n/en.json +7 -6
  9. package/bundles/eo-sdk-client-projects-eo-sdk-core.umd.js +4 -2
  10. package/bundles/eo-sdk-client-projects-eo-sdk-core.umd.js.map +1 -1
  11. package/bundles/eo-sdk-client-projects-eo-sdk-core.umd.min.js +2 -2
  12. package/bundles/eo-sdk-client-projects-eo-sdk-core.umd.min.js.map +1 -1
  13. package/bundles/eo-sdk-client.umd.js +173 -120
  14. package/bundles/eo-sdk-client.umd.js.map +1 -1
  15. package/bundles/eo-sdk-client.umd.min.js +1 -1
  16. package/bundles/eo-sdk-client.umd.min.js.map +1 -1
  17. package/eo-sdk-client.d.ts +67 -69
  18. package/eo-sdk-client.metadata.json +1 -1
  19. package/esm2015/app/eo-client/about-state/about-state.component.js +3 -3
  20. package/esm2015/app/eo-framework/app-shell/app-bar/app-process/app-process.component.js +3 -3
  21. package/esm2015/app/eo-framework/form-elements/codesystem/codesystem.component.js +8 -2
  22. package/esm2015/app/eo-framework/form-elements/number-range/number-range.component.js +2 -2
  23. package/esm2015/app/eo-framework/form-elements/string/string.component.js +2 -2
  24. package/esm2015/app/eo-framework/grid/column-configurator/column-configurator.component.js +31 -6
  25. package/esm2015/app/eo-framework/grid/extensions/filter/setFilters/set-filter.component.js +4 -2
  26. package/esm2015/app/eo-framework/grid/extensions/filter/text/text-filter.component.js +2 -3
  27. package/esm2015/app/eo-framework/grid/filters/list-filter.component.js +2 -2
  28. package/esm2015/app/eo-framework/inbox-details/inbox-details.component.js +7 -2
  29. package/esm2015/app/eo-framework/object-details/object-history/object-history.component.js +4 -3
  30. package/esm2015/app/eo-framework/object-form/object-form/form-element/form-element.component.js +4 -1
  31. package/esm2015/app/eo-framework/object-form/object-form/form-element-table/form-element-table.component.js +6 -5
  32. package/esm2015/app/eo-framework/object-form/object-form.module.js +2 -2
  33. package/esm2015/app/eo-framework/result-list/result-list.component.js +3 -3
  34. package/esm2015/app/eo-framework/ui/eo-dialog/eo-dialog.component.js +2 -2
  35. package/esm2015/app/eo-framework-core/api/grid.service.js +40 -29
  36. package/esm2015/eo-sdk-client.js +68 -70
  37. package/esm2015/projects/eo-sdk/core/lib/service/search/search-query.model.js +3 -2
  38. package/esm2015/projects/eo-sdk/core/lib/service/search/search.service.js +2 -2
  39. package/fesm2015/eo-sdk-client-projects-eo-sdk-core.js +3 -2
  40. package/fesm2015/eo-sdk-client-projects-eo-sdk-core.js.map +1 -1
  41. package/fesm2015/eo-sdk-client.js +105 -52
  42. package/fesm2015/eo-sdk-client.js.map +1 -1
  43. package/package.json +2 -2
  44. package/projects/eo-sdk/core/eo-sdk-client-projects-eo-sdk-core.metadata.json +1 -1
  45. package/projects/eo-sdk/core/lib/service/search/search-query.model.d.ts +8 -1
  46. package/projects/eo-sdk/core/package.json +1 -1
  47. package/scss/_form.scss +2 -2
  48. package/styles.css +1 -1
package/README.md CHANGED
@@ -26,6 +26,9 @@ The documentation for the [developers](http://developer.enaio.org).
26
26
 
27
27
  This library is is extension of [@eo-sdk/core](https://www.npmjs.com/package/@eo-sdk/core) library and provides extra services, components and states.
28
28
 
29
+ ## Translations
30
+
31
+ This guide helps when translating the user interface labels: [Translation Guide](https://help.optimal-systems.com/translation/Translation_StyleGuide_UI_EN_2.4.pdf)
29
32
 
30
33
  ## License
31
34
 
@@ -2,7 +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
+ import { PendingChangesService } from '../../../../eo-framework-core/pending-changes/pending-changes.service';
6
6
  /**
7
7
  * Component rendering the app-bar action of starting executable processes.
8
8
  */
@@ -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);
@@ -2,8 +2,8 @@ import { Overlay } from '@angular/cdk/overlay';
2
2
  import { CdkPortalOutlet } from '@angular/cdk/portal';
3
3
  import { EventEmitter, OnDestroy, Renderer2, TemplateRef, AfterViewInit, ViewContainerRef } from '@angular/core';
4
4
  import { EventService } from '@eo-sdk/core';
5
- import { PendingChangesService } from '../../../eo-framework-core';
6
5
  import { UnsubscribeOnDestroy } from '../../util';
6
+ import { PendingChangesService } from '../../../eo-framework-core/pending-changes/pending-changes.service';
7
7
  export declare class EoDialogComponent extends UnsubscribeOnDestroy implements OnDestroy, AfterViewInit {
8
8
  private eventService;
9
9
  private pendingChanges;
@@ -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[], enableRowGroup?: boolean, cachedColumns?: any[], mode?: any): ColDef[];
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[], enableRowGroup?: boolean, cachedColumns?: any[], mode?: any): ColDef;
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
  *
@@ -67,6 +73,7 @@ export declare class GridService {
67
73
  };
68
74
  }
69
75
  export declare class CellRenderer {
76
+ static situation: string;
70
77
  static windowURI(uri: any): any;
71
78
  static render(type: string, param: any, newParam?: any): any;
72
79
  static filesizeCellRenderer(param: any): any;
@@ -83,4 +90,5 @@ export declare class CellRenderer {
83
90
  static multiSelectCellRenderer(param: any): string;
84
91
  static linkCellRenderer(param: any): string;
85
92
  static referenceCellRenderer(param: any): any;
93
+ static noValueRenderer(param: any): string;
86
94
  }
@@ -327,6 +327,7 @@
327
327
  "eo.column.config.sort": "sortieren",
328
328
  "eo.column.config.group": "gruppieren",
329
329
  "eo.column.config.pinned": "fixieren",
330
+ "eo.column.config.alignment": "ausrichten",
330
331
  "eo.column.config.info.type": "Konfiguration für Ergebnistyp '{{type}}'",
331
332
  "eo.column.config.info.type.context": "Konfiguration für Ergebnistyp '{{type}}' im Ordner '{{context}}'",
332
333
  "eo.column.config.info.fulltext": "Konfiguration für gemischte Ergebnistypen",
@@ -623,18 +624,18 @@
623
624
  "eo.process.details.history.entry.type.USERDEFINED.title": "Individueller Historieneintrag.",
624
625
  "eo.process.details.history.entry.type.WORKITEM_CANCELEVENT_END.title": "Das Skript zum Ereignis 'WorkitemCanceled' wurde beendet.",
625
626
  "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 abgebrochen.",
627
- "eo.process.details.history.entry.type.WORKITEM_CANCEL_DEADLINE.title": "Die Aufgabe wurde aufgrund der Fristüberschreitung abgebrochen.",
628
- "eo.process.details.history.entry.type.WORKITEM_CANCEL_SUBSTITUTE.title": "Die Aufgabe wurde vom Stellvertreter abgebrochen.",
629
- "eo.process.details.history.entry.type.WORKITEM_CANCEL_USER.title": "Die Aufgabe wurde vom Bearbeiter zurückgegeben.",
627
+ "eo.process.details.history.entry.type.WORKITEM_CANCEL_ADMIN.title": "Die Aufgabe wurde durch den Administrator zurückgegeben.",
628
+ "eo.process.details.history.entry.type.WORKITEM_CANCEL_DEADLINE.title": "Die Aufgabe wurde aufgrund der Fristüberschreitung zurückgegeben.",
629
+ "eo.process.details.history.entry.type.WORKITEM_CANCEL_SUBSTITUTE.title": "Die Aufgabe wurde vom Stellvertreter zurückgegeben.",
630
+ "eo.process.details.history.entry.type.WORKITEM_CANCEL_USER.title": "Die Aufgabe wurde zurückgegeben.",
630
631
  "eo.process.details.history.entry.type.WORKITEM_COMPLETE.title": "Die Aufgabe wurde weitergeleitet.",
631
632
  "eo.process.details.history.entry.type.WORKITEM_COMPLETE_DEADLINE.title": "Die Frist der Aufgabe wurde erreicht.",
632
633
  "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 durch den Bearbeiter übernommen.",
634
+ "eo.process.details.history.entry.type.WORKITEM_PERSONALIZE.title": "Die Aufgabe wurde übernommen.",
634
635
  "eo.process.details.history.entry.type.WORKITEM_PERSONALIZEEVENT_END.title": "Das Skript zum Ereignis 'Personalization' wurde beendet.",
635
636
  "eo.process.details.history.entry.type.WORKITEM_PERSONALIZEEVENT_START.title": "Das Skript zum Ereignis 'Personalization' wurde gestartet.",
636
637
  "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 vom Bearbeiter gespeichert.",
638
+ "eo.process.details.history.entry.type.WORKITEM_SAVE.title": "Die Aufgabe wurde gespeichert.",
638
639
  "eo.process.details.history.entry.type.WORKITEM_SAVEEVENT_END.title": "Das Skript zum Ereignis 'ActivitySave' wurde beendet.",
639
640
  "eo.process.details.history.entry.type.WORKITEM_SAVEEVENT_START.title": "Das Skript zum Ereignis 'WorkitemSaved' wurde gestartet.",
640
641
  "eo.process.details.history.entry.type.WORKITEM_SAVE_SUBSTITUTE.title": "Die Aufgabe wurde vom Stellvertreter gespeichert.",
@@ -329,6 +329,7 @@
329
329
  "eo.column.config.sort": "sort",
330
330
  "eo.column.config.group": "group",
331
331
  "eo.column.config.pinned": "pin",
332
+ "eo.column.config.alignment": "align",
332
333
  "eo.column.config.info.type": "Configuration for result type '{{type}}'",
333
334
  "eo.column.config.info.type.context": "Configuration for result type '{{type}}' in folder '{{context}}'",
334
335
  "eo.column.config.info.fulltext": "Configuration for mixed result types",
@@ -624,18 +625,18 @@
624
625
  "eo.process.details.history.entry.type.USERDEFINED.title": "Individual history entry.",
625
626
  "eo.process.details.history.entry.type.WORKITEM_CANCELEVENT_END.title": "The script for the 'WorkitemCanceled' event was completed.",
626
627
  "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 canceled by the administrator.",
628
- "eo.process.details.history.entry.type.WORKITEM_CANCEL_DEADLINE.title": "The task was canceled due to a missed deadline.",
629
- "eo.process.details.history.entry.type.WORKITEM_CANCEL_SUBSTITUTE.title": "The task was canceled by the substitute.",
630
- "eo.process.details.history.entry.type.WORKITEM_CANCEL_USER.title": "The task was returned by the editor.",
628
+ "eo.process.details.history.entry.type.WORKITEM_CANCEL_ADMIN.title": "The task was returned by the administrator.",
629
+ "eo.process.details.history.entry.type.WORKITEM_CANCEL_DEADLINE.title": "The task was returned due to a missed deadline.",
630
+ "eo.process.details.history.entry.type.WORKITEM_CANCEL_SUBSTITUTE.title": "The task was returned by the substitute.",
631
+ "eo.process.details.history.entry.type.WORKITEM_CANCEL_USER.title": "The task was returned.",
631
632
  "eo.process.details.history.entry.type.WORKITEM_COMPLETE.title": "The task was forwarded.",
632
633
  "eo.process.details.history.entry.type.WORKITEM_COMPLETE_DEADLINE.title": "The deadline of the task has been reached.",
633
634
  "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 by the editor.",
635
+ "eo.process.details.history.entry.type.WORKITEM_PERSONALIZE.title": "The task was accepted.",
635
636
  "eo.process.details.history.entry.type.WORKITEM_PERSONALIZEEVENT_END.title": "The script for the 'Personalization' event was completed.",
636
637
  "eo.process.details.history.entry.type.WORKITEM_PERSONALIZEEVENT_START.title": "The script for the 'Personalization' event was launched.",
637
638
  "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 filed by the editor.",
639
+ "eo.process.details.history.entry.type.WORKITEM_SAVE.title": "The task was filed.",
639
640
  "eo.process.details.history.entry.type.WORKITEM_SAVEEVENT_END.title": "The script for the 'ActivitySave' event was completed.",
640
641
  "eo.process.details.history.entry.type.WORKITEM_SAVEEVENT_START.title": "The script for the 'WorkitemSaved' event was launched.",
641
642
  "eo.process.details.history.entry.type.WORKITEM_SAVE_SUBSTITUTE.title": "The task was saved by the substitute.",
@@ -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;
@@ -5767,7 +5769,7 @@
5767
5769
  });
5768
5770
  return this.backend
5769
5771
  .getJson(url)
5770
- .pipe(operators.map(function (res) { return new FieldDefinition(res.elements, res.sortorder, res.grouporder, res.pinned, res.mode); }));
5772
+ .pipe(operators.map(function (res) { return new FieldDefinition(res.elements, res.sortorder, res.grouporder, res.pinned, res.alignmentx, res.mode); }));
5771
5773
  };
5772
5774
  /**
5773
5775
  * Saves a column definition as result or common result.