@eo-sdk/client 7.16.18 → 7.16.20

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 (34) hide show
  1. package/app/eo-framework-core/agent/agent.service.d.ts +3 -2
  2. package/bundles/eo-sdk-client-projects-eo-sdk-core.umd.js +4199 -4167
  3. package/bundles/eo-sdk-client-projects-eo-sdk-core.umd.js.map +1 -1
  4. package/bundles/eo-sdk-client-projects-eo-sdk-core.umd.min.js +2 -2
  5. package/bundles/eo-sdk-client-projects-eo-sdk-core.umd.min.js.map +1 -1
  6. package/bundles/eo-sdk-client.umd.js +12 -11
  7. package/bundles/eo-sdk-client.umd.js.map +1 -1
  8. package/bundles/eo-sdk-client.umd.min.js +1 -1
  9. package/bundles/eo-sdk-client.umd.min.js.map +1 -1
  10. package/eo-sdk-client.metadata.json +1 -1
  11. package/esm2015/app/eo-client/about-state/about-state.component.js +3 -3
  12. package/esm2015/app/eo-client/result-state/result-state.component.js +3 -3
  13. package/esm2015/app/eo-framework/actions/actions/delete-content-action/delete-content-action.js +2 -3
  14. package/esm2015/app/eo-framework/app-shell/app-bar/app-search/app-search.component.js +2 -2
  15. package/esm2015/app/eo-framework/object-form/object-form/form-element-table/form-element-table.component.js +3 -3
  16. package/esm2015/app/eo-framework/object-form/object-form/object-form.component.js +4 -4
  17. package/esm2015/app/eo-framework-core/agent/agent.service.js +7 -5
  18. package/esm2015/projects/eo-sdk/core/lib/config/core-config.js +3 -1
  19. package/esm2015/projects/eo-sdk/core/lib/config/core-init.service.js +4 -2
  20. package/esm2015/projects/eo-sdk/core/lib/service/auth/auth.service.js +4 -3
  21. package/esm2015/projects/eo-sdk/core/lib/service/backend/backend.service.js +11 -7
  22. package/esm2015/projects/eo-sdk/core/lib/service/upload/upload.service.js +8 -4
  23. package/esm2015/projects/eo-sdk/core/lib/util/utils.js +25 -1
  24. package/fesm2015/eo-sdk-client-projects-eo-sdk-core.js +3703 -3671
  25. package/fesm2015/eo-sdk-client-projects-eo-sdk-core.js.map +1 -1
  26. package/fesm2015/eo-sdk-client.js +14 -13
  27. package/fesm2015/eo-sdk-client.js.map +1 -1
  28. package/package.json +2 -2
  29. package/projects/eo-sdk/core/eo-sdk-client-projects-eo-sdk-core.metadata.json +1 -1
  30. package/projects/eo-sdk/core/lib/config/core-config.d.ts +1 -0
  31. package/projects/eo-sdk/core/lib/service/backend/backend.service.d.ts +3 -1
  32. package/projects/eo-sdk/core/lib/service/upload/upload.service.d.ts +3 -1
  33. package/projects/eo-sdk/core/lib/util/utils.d.ts +3 -0
  34. package/projects/eo-sdk/core/package.json +1 -1
@@ -761,7 +761,8 @@
761
761
  agentConfigKeys["LOCKSETTINGS"] = "locksettings";
762
762
  })(exports.agentConfigKeys || (exports.agentConfigKeys = {}));
763
763
  var AgentService = /** @class */ (function () {
764
- function AgentService(logger, http, systemService, backendService, userService, translate, notifications, appCacheService) {
764
+ function AgentService(coreConfig, logger, http, systemService, backendService, userService, translate, notifications, appCacheService) {
765
+ this.coreConfig = coreConfig;
765
766
  this.logger = logger;
766
767
  this.http = http;
767
768
  this.systemService = systemService;
@@ -793,7 +794,7 @@
793
794
  };
794
795
  AgentService.prototype.getAgentConfig = function () {
795
796
  var _this = this;
796
- return this.http.get('assets/_default/config/extend.json').pipe(operators.catchError(function () { return rxjs.of(null); }), operators.tap(function (config) { return _this.agentConfig.next(Object.assign({}, config === null || config === void 0 ? void 0 : config.agent)); }), operators.map(function (config) { return config === null || config === void 0 ? void 0 : config.agent; }));
797
+ return this.http.get('assets/_default/config/extend.json', { withCredentials: this.coreConfig.withCredentials }).pipe(operators.catchError(function () { return rxjs.of(null); }), operators.tap(function (config) { return _this.agentConfig.next(Object.assign({}, config === null || config === void 0 ? void 0 : config.agent)); }), operators.map(function (config) { return config === null || config === void 0 ? void 0 : config.agent; }));
797
798
  };
798
799
  Object.defineProperty(AgentService.prototype, "isConnected", {
799
800
  get: function () {
@@ -932,6 +933,7 @@
932
933
  { type: i0.Injectable }
933
934
  ];
934
935
  AgentService.ctorParameters = function () { return [
936
+ { type: i1.CoreConfig, decorators: [{ type: i0.Inject, args: [i1.CORE_CONFIG,] }] },
935
937
  { type: i1.Logger },
936
938
  { type: http.HttpClient },
937
939
  { type: i1.SystemService },
@@ -5180,7 +5182,7 @@
5180
5182
  AppSearchComponent.prototype.triggerSearch = function () {
5181
5183
  var _this = this;
5182
5184
  this.query.resolveReference = true;
5183
- var uriParam = encodeURIComponent(JSON.stringify(this.query.getQueryJson()));
5185
+ var uriParam = encodeURIComponent(i1.Utils.formDataStringify(this.query.getQueryJson()));
5184
5186
  this.router.navigate([{ outlets: { modal: null } }]).then(function () {
5185
5187
  var uriParamQuery = { queryParams: { query: uriParam } };
5186
5188
  _this.router.navigate(['/result'], uriParamQuery);
@@ -10237,7 +10239,7 @@
10237
10239
  // check if indexdata has been changed
10238
10240
  var currentFormData = this.getFormData();
10239
10241
  var idxChange = compare ? JSON.stringify(this.formData) !== JSON.stringify(currentFormData) : false;
10240
- this.formData = JSON.parse(JSON.stringify(currentFormData));
10242
+ this.formData = i1.Utils.formDataParse(i1.Utils.formDataStringify(currentFormData));
10241
10243
  if (this.form) {
10242
10244
  this.statusChanged.emit({
10243
10245
  invalid: this.form.invalid,
@@ -10383,7 +10385,7 @@
10383
10385
  // copy by value for arrays of objects (e.g. table data)
10384
10386
  value_1 = [];
10385
10387
  formElement.value.forEach(function (o) {
10386
- value_1.push(JSON.parse(JSON.stringify(o)));
10388
+ value_1.push(i1.Utils.formDataParse(i1.Utils.formDataStringify(o)));
10387
10389
  });
10388
10390
  }
10389
10391
  else {
@@ -11051,7 +11053,7 @@
11051
11053
  }
11052
11054
  this.value = value instanceof Array ? value : [];
11053
11055
  // create a clone of the actual value for internal usage
11054
- this.innerValue = JSON.parse(JSON.stringify(this.value));
11056
+ this.innerValue = i1.Utils.formDataParse(i1.Utils.formDataStringify(this.value));
11055
11057
  if (this.gridOptions.api) {
11056
11058
  this.gridOptions.api.setRowData(this.innerValue);
11057
11059
  }
@@ -17480,9 +17482,8 @@
17480
17482
  DeleteContentActionComponent.prototype.isExecutable = function (item) {
17481
17483
  var isLocked = item.lock && item.lock.by.other;
17482
17484
  var hasContent = item.content && item.content.id === item.id;
17483
- return rxjs.of(this.isAllowedState() && !item.isFinalized && hasContent && item.rights.edit && !isLocked);
17485
+ return rxjs.of(this.isAllowedState() && !item.isFinalized && hasContent && item.rights.edit && !isLocked && item.type.minFiles === 0);
17484
17486
  };
17485
- ;
17486
17487
  DeleteContentActionComponent.prototype.run = function (selection) {
17487
17488
  var _this = this;
17488
17489
  selection.forEach(function (item) {
@@ -23982,7 +23983,7 @@
23982
23983
  if (params.query) {
23983
23984
  if (!!_this.pendingChanges.check())
23984
23985
  return;
23985
- _this.query = JSON.parse(decodeURIComponent(params.query));
23986
+ _this.query = i1.Utils.formDataParse(decodeURIComponent(params.query));
23986
23987
  _this.typeName = _this.query.types && _this.query.types.length === 1 ? _this.query.types[0] : 'default';
23987
23988
  _this.clearAfterExecute = params.silent;
23988
23989
  _this.searchTerm = _this.query.term;
@@ -24160,10 +24161,10 @@
24160
24161
  this.http = http;
24161
24162
  this.userService = userService;
24162
24163
  this.config = config;
24163
- this.__libraries__ = [{ "name": "@ag-grid-community/angular", "version": "22.1.2", "license": "MIT" }, { "name": "@ag-grid-community/client-side-row-model", "version": "22.1.1", "license": "MIT" }, { "name": "@ag-grid-community/core", "version": "22.1.1", "license": "MIT" }, { "name": "@ag-grid-community/csv-export", "version": "22.1.1", "license": "MIT" }, { "name": "@angular/animations", "version": "11.2.0", "license": "MIT" }, { "name": "@angular/cdk", "version": "11.2.0", "license": "MIT" }, { "name": "@angular/common", "version": "11.2.0", "license": "MIT" }, { "name": "@angular/compiler", "version": "11.2.0", "license": "MIT" }, { "name": "@angular/core", "version": "11.2.0", "license": "MIT" }, { "name": "@angular/forms", "version": "11.2.0", "license": "MIT" }, { "name": "@angular/platform-browser", "version": "11.2.0", "license": "MIT" }, { "name": "@angular/platform-browser-dynamic", "version": "11.2.0", "license": "MIT" }, { "name": "@angular/router", "version": "11.2.0", "license": "MIT" }, { "name": "@eo-sdk/core", "version": "7.16.18", "license": "MIT" }, { "name": "@ngx-pwa/local-storage", "version": "11.1.0", "license": "MIT" }, { "name": "@ngx-translate/core", "version": "13.0.0", "license": "MIT" }, { "name": "@types/lodash", "version": "4.14.88", "license": "MIT" }, { "name": "core-js", "version": "2.5.7", "license": "MIT" }, { "name": "file-saver", "version": "2.0.5", "license": "MIT" }, { "name": "font-awesome", "version": "4.7.0", "license": "(OFL-1.1 AND MIT)" }, { "name": "keyboardevent-key-polyfill", "version": "1.1.0", "license": "CC0-1.0" }, { "name": "keycode-js", "version": "0.0.4", "license": "MIT" }, { "name": "mobile-drag-drop", "version": "2.2.0", "license": "MIT" }, { "name": "moment", "version": "2.22.2", "license": "MIT" }, { "name": "ngx-toastr", "version": "13.2.0", "license": "MIT" }, { "name": "primeicons", "version": "1.0.0-beta.6", "license": "MIT" }, { "name": "primeng", "version": "6.0.0-beta.1", "license": "MIT" }, { "name": "reflect-metadata", "version": "0.1.10", "license": "Apache-2.0" }, { "name": "rxjs", "version": "6.6.3", "license": "Apache-2.0" }, { "name": "tslib", "version": "2.1.0", "license": "0BSD" }, { "name": "zone.js", "version": "0.10.3", "license": "MIT" }];
24164
+ this.__libraries__ = [{ "name": "@ag-grid-community/angular", "version": "22.1.2", "license": "MIT" }, { "name": "@ag-grid-community/client-side-row-model", "version": "22.1.1", "license": "MIT" }, { "name": "@ag-grid-community/core", "version": "22.1.1", "license": "MIT" }, { "name": "@ag-grid-community/csv-export", "version": "22.1.1", "license": "MIT" }, { "name": "@angular/animations", "version": "11.2.0", "license": "MIT" }, { "name": "@angular/cdk", "version": "11.2.0", "license": "MIT" }, { "name": "@angular/common", "version": "11.2.0", "license": "MIT" }, { "name": "@angular/compiler", "version": "11.2.0", "license": "MIT" }, { "name": "@angular/core", "version": "11.2.0", "license": "MIT" }, { "name": "@angular/forms", "version": "11.2.0", "license": "MIT" }, { "name": "@angular/platform-browser", "version": "11.2.0", "license": "MIT" }, { "name": "@angular/platform-browser-dynamic", "version": "11.2.0", "license": "MIT" }, { "name": "@angular/router", "version": "11.2.0", "license": "MIT" }, { "name": "@eo-sdk/core", "version": "7.16.20", "license": "MIT" }, { "name": "@ngx-pwa/local-storage", "version": "11.1.0", "license": "MIT" }, { "name": "@ngx-translate/core", "version": "13.0.0", "license": "MIT" }, { "name": "@types/lodash", "version": "4.14.88", "license": "MIT" }, { "name": "core-js", "version": "2.5.7", "license": "MIT" }, { "name": "file-saver", "version": "2.0.5", "license": "MIT" }, { "name": "font-awesome", "version": "4.7.0", "license": "(OFL-1.1 AND MIT)" }, { "name": "keyboardevent-key-polyfill", "version": "1.1.0", "license": "CC0-1.0" }, { "name": "keycode-js", "version": "0.0.4", "license": "MIT" }, { "name": "mobile-drag-drop", "version": "2.2.0", "license": "MIT" }, { "name": "moment", "version": "2.22.2", "license": "MIT" }, { "name": "ngx-toastr", "version": "13.2.0", "license": "MIT" }, { "name": "primeicons", "version": "1.0.0-beta.6", "license": "MIT" }, { "name": "primeng", "version": "6.0.0-beta.1", "license": "MIT" }, { "name": "reflect-metadata", "version": "0.1.10", "license": "Apache-2.0" }, { "name": "rxjs", "version": "6.6.3", "license": "Apache-2.0" }, { "name": "tslib", "version": "2.1.0", "license": "0BSD" }, { "name": "zone.js", "version": "0.10.3", "license": "MIT" }];
24164
24165
  this.ctrl = {
24165
24166
  productName: 'yuuvis® RAD client',
24166
- clientVersion: '7.16.18'
24167
+ clientVersion: '7.16.20'
24167
24168
  };
24168
24169
  this.licenses = {
24169
24170
  'MIT': {