@eo-sdk/client 8.13.0-rc.1 → 8.14.0-rc.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/app/eo-framework/actions/actions/workflow-action/workflow/workflow.component.d.ts +1 -1
- package/app/eo-framework/form-elements/id-reference/reference-finder-entry/reference-finder-entry.component.d.ts +0 -1
- package/assets/_default/i18n/de.json +1 -0
- package/assets/_default/i18n/en.json +1 -0
- package/bundles/eo-sdk-client-projects-eo-sdk-core.umd.js +42 -8
- 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 +45 -60
- 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-client/settings/settings.component.js +7 -2
- package/esm2015/app/eo-framework/actions/actions/workflow-action/workflow/workflow.component.js +8 -5
- package/esm2015/app/eo-framework/app-shell/app-bar/app-process/app-process.component.js +17 -14
- package/esm2015/app/eo-framework/app-shell/app-bar/app-search/app-search.component.js +2 -2
- package/esm2015/app/eo-framework/app-shell/app-bar/side-bar/side-bar.component.js +1 -1
- package/esm2015/app/eo-framework/form-elements/dynamic-list/dynamic-list.component.js +4 -23
- package/esm2015/app/eo-framework/form-elements/id-reference/id-reference.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/app/eo-framework/form-elements/organization/organization.component.js +1 -1
- package/esm2015/app/eo-framework/grid/filters/organization-filter.component.js +1 -1
- package/esm2015/projects/eo-sdk/core/lib/service/bpm/bpm.service.js +34 -8
- package/esm2015/projects/eo-sdk/core/lib/service/config/config.service.js +9 -1
- package/fesm2015/eo-sdk-client-projects-eo-sdk-core.js +41 -7
- package/fesm2015/eo-sdk-client-projects-eo-sdk-core.js.map +1 -1
- package/fesm2015/eo-sdk-client.js +42 -53
- package/fesm2015/eo-sdk-client.js.map +1 -1
- package/package.json +2 -2
- package/projects/eo-sdk/core/eo-sdk-client-projects-eo-sdk-core.metadata.json +1 -1
- package/projects/eo-sdk/core/lib/service/bpm/bpm.service.d.ts +6 -1
- package/projects/eo-sdk/core/lib/service/config/config.service.d.ts +5 -0
- package/projects/eo-sdk/core/package.json +1 -1
- package/scss/_form.scss +1 -0
- package/styles.css +6 -0
|
@@ -286,6 +286,7 @@
|
|
|
286
286
|
"eo.state.settings.language": "Sprache",
|
|
287
287
|
"eo.state.settings.language.client": "Anwendung",
|
|
288
288
|
"eo.state.settings.language.schema": "Definitionen",
|
|
289
|
+
"eo.state.settings.language.error": "Die ausgewählte Sprache wird nicht unterstützt.",
|
|
289
290
|
"eo.state.settings.roles": "Rollen",
|
|
290
291
|
"eo.state.settings.agent": "Agent",
|
|
291
292
|
"eo.state.settings.agent.use": "Installierten Agent nutzen",
|
|
@@ -288,6 +288,7 @@
|
|
|
288
288
|
"eo.state.settings.language": "Language",
|
|
289
289
|
"eo.state.settings.language.client": "Application",
|
|
290
290
|
"eo.state.settings.language.schema": "Definitions",
|
|
291
|
+
"eo.state.settings.language.error": "The selected language is not supported.",
|
|
291
292
|
"eo.state.settings.roles": "Roles",
|
|
292
293
|
"eo.state.settings.agent": "Agent",
|
|
293
294
|
"eo.state.settings.agent.use": "Use installed agent",
|
|
@@ -656,6 +656,14 @@
|
|
|
656
656
|
Config.prototype.getClientLocales = function () {
|
|
657
657
|
return this.cfg['languages'];
|
|
658
658
|
};
|
|
659
|
+
/**
|
|
660
|
+
* Getter for the supported client locales
|
|
661
|
+
* @returns supported client locales
|
|
662
|
+
*/
|
|
663
|
+
Config.prototype.getSupportedClientLocales = function () {
|
|
664
|
+
return ['en', 'de', 'ar', 'es', 'pt', 'fr', 'zh', 'lv', 'ru', 'it', 'nl', 'sk', 'pl', 'uk', 'ja', 'ko', 'hi', 'bn', 'de-CH', 'zh-Hant',
|
|
665
|
+
'th', 'vi', 'en-GB', 'he'];
|
|
666
|
+
};
|
|
659
667
|
/**
|
|
660
668
|
* Get the dashboards background image
|
|
661
669
|
* @returns background image uri for the dashboards background image
|
|
@@ -3217,11 +3225,14 @@
|
|
|
3217
3225
|
* Getter for the executable Processes. If types are provided, you'll get
|
|
3218
3226
|
* only the processes that are executable for all of them
|
|
3219
3227
|
* @param types List of dms object types to fetch executable processes for
|
|
3228
|
+
* @param useCached If the cached data should be returned rather than requesting again
|
|
3229
|
+
* @param additionalData If the additional form data should be also included
|
|
3230
|
+
* @param modelid The process model ID to only return the data for one process
|
|
3220
3231
|
* @returns List of executable processes
|
|
3221
3232
|
*/
|
|
3222
|
-
BpmService.prototype.getExecutableProcesses = function (types, useCached) {
|
|
3233
|
+
BpmService.prototype.getExecutableProcesses = function (types, useCached, additionalData, modelid) {
|
|
3223
3234
|
if (this.capabilities.hasCapability('bpm')) {
|
|
3224
|
-
return (!!this.executableProcesses && useCached) ? rxjs.of(this.executableProcesses) : this.fetchExecutableProcesses(types);
|
|
3235
|
+
return (!!this.executableProcesses && useCached) ? rxjs.of(this.executableProcesses) : this.fetchExecutableProcesses(types, additionalData, modelid);
|
|
3225
3236
|
}
|
|
3226
3237
|
else {
|
|
3227
3238
|
return rxjs.of([]);
|
|
@@ -3239,20 +3250,43 @@
|
|
|
3239
3250
|
* @returns List of executable processes
|
|
3240
3251
|
*/
|
|
3241
3252
|
BpmService.prototype.getExecutableProcessesForDmsObjects = function (dmsObjects) {
|
|
3242
|
-
return this.getExecutableProcesses(dmsObjects.map(function (o) { return o.typeName; }));
|
|
3253
|
+
return this.getExecutableProcesses(dmsObjects.map(function (o) { return o.typeName; }), false, true);
|
|
3243
3254
|
};
|
|
3244
3255
|
/**
|
|
3245
3256
|
* Fetches executable Processes from the backend.
|
|
3246
3257
|
* @param types List of dms object types to fetch executable processes for
|
|
3258
|
+
* @param additionalData If the additional form data should be also included
|
|
3259
|
+
* @param modelid The process model ID to only return the data for one process
|
|
3247
3260
|
* @returns List of executable processes
|
|
3248
3261
|
*/
|
|
3249
|
-
BpmService.prototype.fetchExecutableProcesses = function (types) {
|
|
3262
|
+
BpmService.prototype.fetchExecutableProcesses = function (types, additionalData, modelid) {
|
|
3250
3263
|
var _this = this;
|
|
3251
|
-
var uri = '/bpm/process/executable
|
|
3252
|
-
if (
|
|
3253
|
-
uri +=
|
|
3264
|
+
var uri = '/bpm/process/executable';
|
|
3265
|
+
if (additionalData) {
|
|
3266
|
+
uri += '?form=true&fields=true';
|
|
3254
3267
|
}
|
|
3255
|
-
|
|
3268
|
+
if (types) {
|
|
3269
|
+
uri += (additionalData ? '&' : '?') + ("type=" + types.join(','));
|
|
3270
|
+
}
|
|
3271
|
+
if (modelid) {
|
|
3272
|
+
uri += (additionalData || types ? '&' : '?') + ("modelid=" + modelid);
|
|
3273
|
+
}
|
|
3274
|
+
return this.backend.get(uri).pipe(operators.map(function (res) { return res; }), operators.tap(function (res) {
|
|
3275
|
+
// Extend existing processes with additional data, instead of overwriting all processes
|
|
3276
|
+
if (additionalData) {
|
|
3277
|
+
if (!_this.executableProcesses)
|
|
3278
|
+
_this.executableProcesses = [];
|
|
3279
|
+
res.forEach(function (proc) {
|
|
3280
|
+
var existingProcIndex = _this.executableProcesses.findIndex(function (item) { return item.id == proc.id; });
|
|
3281
|
+
if (existingProcIndex == -1)
|
|
3282
|
+
_this.executableProcesses.push(proc);
|
|
3283
|
+
else
|
|
3284
|
+
_this.executableProcesses[existingProcIndex] = proc;
|
|
3285
|
+
});
|
|
3286
|
+
}
|
|
3287
|
+
else
|
|
3288
|
+
_this.executableProcesses = res;
|
|
3289
|
+
}));
|
|
3256
3290
|
};
|
|
3257
3291
|
/**
|
|
3258
3292
|
* Getter for a processes file. The file of a process contains
|