@eo-sdk/client 8.12.1 → 8.12.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.
@@ -7,6 +7,5 @@ export declare class ReferenceFinderEntryComponent {
7
7
  selectReference: EventEmitter<any>;
8
8
  get link(): string;
9
9
  constructor();
10
- linkClick(): Window;
11
10
  select(item: ReferenceItem, add?: boolean, selectedAble?: boolean): void;
12
11
  }
@@ -3260,7 +3260,22 @@
3260
3260
  if (modelid) {
3261
3261
  uri += (additionalData || types ? '&' : '?') + ("modelid=" + modelid);
3262
3262
  }
3263
- return this.backend.get(uri).pipe(operators.map(function (res) { return res; }), operators.tap(function (res) { return _this.executableProcesses = res; }));
3263
+ return this.backend.get(uri).pipe(operators.map(function (res) { return res; }), operators.tap(function (res) {
3264
+ // Extend existing processes with additional data, instead of overwriting all processes
3265
+ if (additionalData) {
3266
+ if (!_this.executableProcesses)
3267
+ _this.executableProcesses = [];
3268
+ res.forEach(function (proc) {
3269
+ var existingProcIndex = _this.executableProcesses.findIndex(function (item) { return item.id == proc.id; });
3270
+ if (existingProcIndex == -1)
3271
+ _this.executableProcesses.push(proc);
3272
+ else
3273
+ _this.executableProcesses[existingProcIndex] = proc;
3274
+ });
3275
+ }
3276
+ else
3277
+ _this.executableProcesses = res;
3278
+ }));
3264
3279
  };
3265
3280
  /**
3266
3281
  * Getter for a processes file. The file of a process contains