@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.
- package/app/eo-framework/form-elements/id-reference/reference-finder-entry/reference-finder-entry.component.d.ts +0 -1
- package/bundles/eo-sdk-client-projects-eo-sdk-core.umd.js +16 -1
- 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 +4 -7
- 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-framework/form-elements/id-reference/reference-finder-entry/reference-finder-entry.component.js +2 -5
- package/esm2015/app/eo-framework/form-elements/id-reference/service/reference-finder.service.js +2 -2
- package/esm2015/projects/eo-sdk/core/lib/service/bpm/bpm.service.js +17 -2
- package/fesm2015/eo-sdk-client-projects-eo-sdk-core.js +16 -1
- package/fesm2015/eo-sdk-client-projects-eo-sdk-core.js.map +1 -1
- package/fesm2015/eo-sdk-client.js +4 -7
- package/fesm2015/eo-sdk-client.js.map +1 -1
- package/package.json +2 -2
- package/projects/eo-sdk/core/package.json +1 -1
|
@@ -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) {
|
|
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
|