@eo-sdk/client 8.10.0-rc.1 → 8.10.2
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/bundles/eo-sdk-client-projects-eo-sdk-core.umd.js +5 -4
- 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 +2 -2
- package/bundles/eo-sdk-client-projects-eo-sdk-core.umd.min.js.map +1 -1
- package/bundles/eo-sdk-client.umd.js +9 -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/app-shell/app-bar/app-bar.component.js +2 -2
- package/esm2015/app/eo-framework/app-shell/app-bar/app-process/app-process.component.js +2 -2
- package/esm2015/app/eo-framework/app-shell/app-bar/app-search/app-search.component.js +2 -1
- package/esm2015/app/eo-framework/form-elements/id-reference/id-reference.component.js +5 -4
- package/esm2015/projects/eo-sdk/core/lib/service/bpm/bpm.service.js +4 -4
- package/esm2015/projects/eo-sdk/core/lib/service/system/system.service.js +2 -2
- package/fesm2015/eo-sdk-client-projects-eo-sdk-core.js +4 -4
- package/fesm2015/eo-sdk-client-projects-eo-sdk-core.js.map +1 -1
- package/fesm2015/eo-sdk-client.js +9 -7
- package/fesm2015/eo-sdk-client.js.map +1 -1
- package/package.json +2 -2
- package/projects/eo-sdk/core/lib/service/bpm/bpm.service.d.ts +2 -1
- package/projects/eo-sdk/core/package.json +1 -1
|
@@ -1581,7 +1581,7 @@
|
|
|
1581
1581
|
SystemService.prototype.fetchSystemDefinition = function (user) {
|
|
1582
1582
|
var _this = this;
|
|
1583
1583
|
var fetches = [
|
|
1584
|
-
this.backend.getJson('/system/type/list?elements=true'),
|
|
1584
|
+
this.backend.getJson('/system/type/list?elements=true&basetypes=true'),
|
|
1585
1585
|
this.backend.getJson('/system/cs/list?elements=true')
|
|
1586
1586
|
];
|
|
1587
1587
|
return rxjs.forkJoin(fetches)
|
|
@@ -3216,9 +3216,9 @@
|
|
|
3216
3216
|
* @param types List of dms object types to fetch executable processes for
|
|
3217
3217
|
* @returns List of executable processes
|
|
3218
3218
|
*/
|
|
3219
|
-
BpmService.prototype.getExecutableProcesses = function (types) {
|
|
3219
|
+
BpmService.prototype.getExecutableProcesses = function (types, useCached) {
|
|
3220
3220
|
if (this.capabilities.hasCapability('bpm')) {
|
|
3221
|
-
return this.fetchExecutableProcesses(types);
|
|
3221
|
+
return (!!this.executableProcesses && useCached) ? rxjs.of(this.executableProcesses) : this.fetchExecutableProcesses(types);
|
|
3222
3222
|
}
|
|
3223
3223
|
else {
|
|
3224
3224
|
return rxjs.of([]);
|
|
@@ -3239,11 +3239,12 @@
|
|
|
3239
3239
|
* @returns List of executable processes
|
|
3240
3240
|
*/
|
|
3241
3241
|
BpmService.prototype.fetchExecutableProcesses = function (types) {
|
|
3242
|
+
var _this = this;
|
|
3242
3243
|
var uri = '/bpm/process/executable?form=true&fields=true';
|
|
3243
3244
|
if (types) {
|
|
3244
3245
|
uri += "&type=" + types.join(',');
|
|
3245
3246
|
}
|
|
3246
|
-
return this.backend.get(uri).pipe(operators.map(function (res) { return res; }));
|
|
3247
|
+
return this.backend.get(uri).pipe(operators.map(function (res) { return res; }), operators.tap(function (res) { return _this.executableProcesses = res; }));
|
|
3247
3248
|
};
|
|
3248
3249
|
/**
|
|
3249
3250
|
* Getter for a processes file. The file of a process contains
|