@eo-sdk/client 7.16.19 → 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.
- package/app/eo-framework-core/agent/agent.service.d.ts +3 -2
- package/bundles/eo-sdk-client-projects-eo-sdk-core.umd.js +4199 -4167
- 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 +11 -9
- 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/result-state/result-state.component.js +3 -3
- package/esm2015/app/eo-framework/app-shell/app-bar/app-search/app-search.component.js +2 -2
- package/esm2015/app/eo-framework/object-form/object-form/form-element-table/form-element-table.component.js +3 -3
- package/esm2015/app/eo-framework/object-form/object-form/object-form.component.js +4 -4
- package/esm2015/app/eo-framework-core/agent/agent.service.js +7 -5
- package/esm2015/projects/eo-sdk/core/lib/config/core-config.js +3 -1
- package/esm2015/projects/eo-sdk/core/lib/config/core-init.service.js +4 -2
- package/esm2015/projects/eo-sdk/core/lib/service/auth/auth.service.js +4 -3
- package/esm2015/projects/eo-sdk/core/lib/service/backend/backend.service.js +11 -7
- package/esm2015/projects/eo-sdk/core/lib/service/upload/upload.service.js +8 -4
- package/esm2015/projects/eo-sdk/core/lib/util/utils.js +25 -1
- package/fesm2015/eo-sdk-client-projects-eo-sdk-core.js +3703 -3671
- package/fesm2015/eo-sdk-client-projects-eo-sdk-core.js.map +1 -1
- package/fesm2015/eo-sdk-client.js +13 -11
- 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/config/core-config.d.ts +1 -0
- package/projects/eo-sdk/core/lib/service/backend/backend.service.d.ts +3 -1
- package/projects/eo-sdk/core/lib/service/upload/upload.service.d.ts +3 -1
- package/projects/eo-sdk/core/lib/util/utils.d.ts +3 -0
- package/projects/eo-sdk/core/package.json +1 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { Injectable, ApplicationRef, NgZone, Pipe, NgModule, EventEmitter, Injector, ɵɵdefineInjectable, ɵɵinject, ErrorHandler, Optional, SkipSelf, Component, Input, Output, ViewEncapsulation, ElementRef, Renderer2, Directive, HostListener, ChangeDetectionStrategy, ChangeDetectorRef, ViewChild, HostBinding, forwardRef, ViewChildren, ViewContainerRef, ContentChildren, ANALYZE_FOR_ENTRY_COMPONENTS, InjectionToken,
|
|
1
|
+
import { Injectable, Inject, ApplicationRef, NgZone, Pipe, NgModule, EventEmitter, Injector, ɵɵdefineInjectable, ɵɵinject, ErrorHandler, Optional, SkipSelf, Component, Input, Output, ViewEncapsulation, ElementRef, Renderer2, Directive, HostListener, ChangeDetectionStrategy, ChangeDetectorRef, ViewChild, HostBinding, forwardRef, ViewChildren, ViewContainerRef, ContentChildren, ANALYZE_FOR_ENTRY_COMPONENTS, InjectionToken, ComponentFactoryResolver, ContentChild, QueryList } from '@angular/core';
|
|
2
2
|
import { DecimalPipe, PercentPipe, CurrencyPipe, DatePipe, getLocaleDateTimeFormat, FormatWidth, getLocaleTimeFormat, getLocaleDateFormat, CommonModule, Location, PlatformLocation } from '@angular/common';
|
|
3
3
|
import { HttpClient, HttpResponse, HttpErrorResponse, HttpClientModule, HTTP_INTERCEPTORS, HttpHeaders } from '@angular/common/http';
|
|
4
4
|
import { ReplaySubject, BehaviorSubject, from, forkJoin, of, Subject, fromEvent, AsyncSubject, Observable } from 'rxjs';
|
|
5
5
|
import { groupBy, mergeMap, reduce, tap, catchError, map, debounceTime, takeUntil, filter, switchMap, pluck, finalize, combineLatest, throttleTime, take, takeWhile, withLatestFrom, first } from 'rxjs/operators';
|
|
6
|
-
import { SearchQuery, SearchState, EnaioEvent, Utils, SearchService, EventService, SystemService, Logger, BackendService, UserService, TranslateService, NotificationsService, AppCacheService, UploadTarget, UploadRegistryService, DmsObject, ClipboardService, DmsService, EnvironmentEnaio, SearchFilter, RangeValue, AuthService, EoError, CapabilitiesService, Config, ClipboardAction, PrepareService, QueryScope, EoSharedModule, InboxService, BpmService, StoredQuery, StoredQueriesService, EnvironmentService, LocalStorageService, FieldDefinition, SortOption, InboxItem, Process, PreparedItem, WorkItem, SubscriptionMode, TranslateModule, UploadFileItem, SearchResult } from '@eo-sdk/core';
|
|
6
|
+
import { SearchQuery, SearchState, EnaioEvent, Utils, SearchService, EventService, SystemService, CoreConfig, CORE_CONFIG, Logger, BackendService, UserService, TranslateService, NotificationsService, AppCacheService, UploadTarget, UploadRegistryService, DmsObject, ClipboardService, DmsService, EnvironmentEnaio, SearchFilter, RangeValue, AuthService, EoError, CapabilitiesService, Config, ClipboardAction, PrepareService, QueryScope, EoSharedModule, InboxService, BpmService, StoredQuery, StoredQueriesService, EnvironmentService, LocalStorageService, FieldDefinition, SortOption, InboxItem, Process, PreparedItem, WorkItem, SubscriptionMode, TranslateModule, UploadFileItem, SearchResult } from '@eo-sdk/core';
|
|
7
7
|
import { Router, NavigationStart, RouterModule, ActivatedRoute, NavigationEnd } from '@angular/router';
|
|
8
8
|
import { NumberFilter, Utils as Utils$1, SimpleFilter, NumberSequence, _ as _$1, RowNode, Autowired, PostConstruct, Bean, ModuleNames, DateFilter } from '@ag-grid-community/core';
|
|
9
9
|
import { Title, DomSanitizer } from '@angular/platform-browser';
|
|
@@ -398,7 +398,8 @@ var agentConfigKeys;
|
|
|
398
398
|
agentConfigKeys["LOCKSETTINGS"] = "locksettings";
|
|
399
399
|
})(agentConfigKeys || (agentConfigKeys = {}));
|
|
400
400
|
class AgentService {
|
|
401
|
-
constructor(logger, http, systemService, backendService, userService, translate, notifications, appCacheService) {
|
|
401
|
+
constructor(coreConfig, logger, http, systemService, backendService, userService, translate, notifications, appCacheService) {
|
|
402
|
+
this.coreConfig = coreConfig;
|
|
402
403
|
this.logger = logger;
|
|
403
404
|
this.http = http;
|
|
404
405
|
this.systemService = systemService;
|
|
@@ -425,7 +426,7 @@ class AgentService {
|
|
|
425
426
|
.pipe(tap(([storage, config]) => this.isConnected = (config && config.hasOwnProperty(agentConfigKeys.AUTOCONNECT) ? config.autoconnect : storage !== null ? storage : null))).subscribe();
|
|
426
427
|
}
|
|
427
428
|
getAgentConfig() {
|
|
428
|
-
return this.http.get('assets/_default/config/extend.json').pipe(catchError(() => of(null)), tap((config) => this.agentConfig.next(Object.assign({}, config === null || config === void 0 ? void 0 : config.agent))), map((config) => config === null || config === void 0 ? void 0 : config.agent));
|
|
429
|
+
return this.http.get('assets/_default/config/extend.json', { withCredentials: this.coreConfig.withCredentials }).pipe(catchError(() => of(null)), tap((config) => this.agentConfig.next(Object.assign({}, config === null || config === void 0 ? void 0 : config.agent))), map((config) => config === null || config === void 0 ? void 0 : config.agent));
|
|
429
430
|
}
|
|
430
431
|
set isConnected(isConnected) {
|
|
431
432
|
this._isConnected = isConnected;
|
|
@@ -557,6 +558,7 @@ AgentService.decorators = [
|
|
|
557
558
|
{ type: Injectable }
|
|
558
559
|
];
|
|
559
560
|
AgentService.ctorParameters = () => [
|
|
561
|
+
{ type: CoreConfig, decorators: [{ type: Inject, args: [CORE_CONFIG,] }] },
|
|
560
562
|
{ type: Logger },
|
|
561
563
|
{ type: HttpClient },
|
|
562
564
|
{ type: SystemService },
|
|
@@ -4532,7 +4534,7 @@ class AppSearchComponent {
|
|
|
4532
4534
|
// query and display the results
|
|
4533
4535
|
triggerSearch() {
|
|
4534
4536
|
this.query.resolveReference = true;
|
|
4535
|
-
const uriParam = encodeURIComponent(
|
|
4537
|
+
const uriParam = encodeURIComponent(Utils.formDataStringify(this.query.getQueryJson()));
|
|
4536
4538
|
this.router.navigate([{ outlets: { modal: null } }]).then(() => {
|
|
4537
4539
|
const uriParamQuery = { queryParams: { query: uriParam } };
|
|
4538
4540
|
this.router.navigate(['/result'], uriParamQuery);
|
|
@@ -9098,7 +9100,7 @@ class ObjectFormComponent extends UnsubscribeOnDestroy {
|
|
|
9098
9100
|
// check if indexdata has been changed
|
|
9099
9101
|
let currentFormData = this.getFormData();
|
|
9100
9102
|
let idxChange = compare ? JSON.stringify(this.formData) !== JSON.stringify(currentFormData) : false;
|
|
9101
|
-
this.formData =
|
|
9103
|
+
this.formData = Utils.formDataParse(Utils.formDataStringify(currentFormData));
|
|
9102
9104
|
if (this.form) {
|
|
9103
9105
|
this.statusChanged.emit({
|
|
9104
9106
|
invalid: this.form.invalid,
|
|
@@ -9231,7 +9233,7 @@ class ObjectFormComponent extends UnsubscribeOnDestroy {
|
|
|
9231
9233
|
// copy by value for arrays of objects (e.g. table data)
|
|
9232
9234
|
value = [];
|
|
9233
9235
|
formElement.value.forEach((o) => {
|
|
9234
|
-
value.push(
|
|
9236
|
+
value.push(Utils.formDataParse(Utils.formDataStringify(o)));
|
|
9235
9237
|
});
|
|
9236
9238
|
}
|
|
9237
9239
|
else {
|
|
@@ -9884,7 +9886,7 @@ class FormElementTableComponent extends UnsubscribeOnDestroy {
|
|
|
9884
9886
|
}
|
|
9885
9887
|
this.value = value instanceof Array ? value : [];
|
|
9886
9888
|
// create a clone of the actual value for internal usage
|
|
9887
|
-
this.innerValue =
|
|
9889
|
+
this.innerValue = Utils.formDataParse(Utils.formDataStringify(this.value));
|
|
9888
9890
|
if (this.gridOptions.api) {
|
|
9889
9891
|
this.gridOptions.api.setRowData(this.innerValue);
|
|
9890
9892
|
}
|
|
@@ -21827,7 +21829,7 @@ class ResultStateComponent extends UnsubscribeOnDestroy {
|
|
|
21827
21829
|
if (params.query) {
|
|
21828
21830
|
if (!!this.pendingChanges.check())
|
|
21829
21831
|
return;
|
|
21830
|
-
this.query =
|
|
21832
|
+
this.query = Utils.formDataParse(decodeURIComponent(params.query));
|
|
21831
21833
|
this.typeName = this.query.types && this.query.types.length === 1 ? this.query.types[0] : 'default';
|
|
21832
21834
|
this.clearAfterExecute = params.silent;
|
|
21833
21835
|
this.searchTerm = this.query.term;
|
|
@@ -22006,10 +22008,10 @@ class AboutStateComponent {
|
|
|
22006
22008
|
this.http = http;
|
|
22007
22009
|
this.userService = userService;
|
|
22008
22010
|
this.config = config;
|
|
22009
|
-
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.
|
|
22011
|
+
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" }];
|
|
22010
22012
|
this.ctrl = {
|
|
22011
22013
|
productName: 'yuuvis® RAD client',
|
|
22012
|
-
clientVersion: '7.16.
|
|
22014
|
+
clientVersion: '7.16.20'
|
|
22013
22015
|
};
|
|
22014
22016
|
this.licenses = {
|
|
22015
22017
|
'MIT': {
|