@eo-sdk/client 8.16.25 → 8.16.29
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/object-form/object-form/form-element-table/form-element-table.component.d.ts +15 -10
- package/app/eo-framework/split/split/split.component.d.ts +1 -1
- package/bundles/eo-sdk-client-projects-eo-sdk-core.umd.js +5 -5
- 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 +40 -27
- 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/object-details/object-details.component.js +2 -2
- package/esm2015/app/eo-framework/object-details/object-links/object-links.component.js +2 -2
- package/esm2015/app/eo-framework/object-form/object-form/form-element/form-element.component.js +2 -2
- package/esm2015/app/eo-framework/object-form/object-form/form-element-table/form-element-table.component.js +33 -21
- package/esm2015/app/eo-framework/split/split/split.component.js +6 -6
- package/esm2015/app/eo-framework/split/split-area/split-area.component.js +1 -1
- package/esm2015/app/eo-framework-core/api/grid.service.js +3 -3
- package/esm2015/projects/eo-sdk/core/lib/service/auth/auth.service.js +3 -3
- package/esm2015/projects/eo-sdk/core/lib/service/backend/backend.service.js +4 -4
- package/esm2015/projects/eo-sdk/core/lib/service/user/user.service.js +2 -2
- package/fesm2015/eo-sdk-client-projects-eo-sdk-core.js +6 -6
- package/fesm2015/eo-sdk-client-projects-eo-sdk-core.js.map +1 -1
- package/fesm2015/eo-sdk-client.js +39 -27
- package/fesm2015/eo-sdk-client.js.map +1 -1
- package/package.json +2 -2
- package/projects/eo-sdk/core/lib/service/backend/backend.service.d.ts +1 -1
- package/projects/eo-sdk/core/package.json +1 -1
|
@@ -1,11 +1,13 @@
|
|
|
1
|
-
import { PendingChangesService } from './../../../../eo-framework-core/pending-changes/pending-changes.service';
|
|
2
|
-
import { ControlValueAccessor, Validator, FormControl } from '@angular/forms';
|
|
3
|
-
import { ObjectFormOptions } from '../../object-form-options.interface';
|
|
4
1
|
import { GridOptions, Module } from '@ag-grid-community/core';
|
|
2
|
+
import { AfterViewInit } from '@angular/core';
|
|
3
|
+
import { ControlValueAccessor, FormControl, Validator } from '@angular/forms';
|
|
4
|
+
import { DmsObject, LocalStorageService, SystemService } from '@eo-sdk/core';
|
|
5
5
|
import { GridService } from '../../../../eo-framework-core/api/grid.service';
|
|
6
|
-
import {
|
|
7
|
-
import { RowEditComponent } from './row-edit/row-edit.component';
|
|
6
|
+
import { SplitComponent } from '../../../split/split/split.component';
|
|
8
7
|
import { UnsubscribeOnDestroy } from '../../../util/unsubscribe/unsubscribe.component';
|
|
8
|
+
import { ObjectFormOptions } from '../../object-form-options.interface';
|
|
9
|
+
import { PendingChangesService } from './../../../../eo-framework-core/pending-changes/pending-changes.service';
|
|
10
|
+
import { RowEditComponent } from './row-edit/row-edit.component';
|
|
9
11
|
export interface TableComponentParams {
|
|
10
12
|
situation: string;
|
|
11
13
|
size: string;
|
|
@@ -23,19 +25,20 @@ export interface EditRowResult {
|
|
|
23
25
|
rowData: any;
|
|
24
26
|
createNewRow: boolean;
|
|
25
27
|
}
|
|
26
|
-
export declare class FormElementTableComponent extends UnsubscribeOnDestroy implements ControlValueAccessor, Validator {
|
|
28
|
+
export declare class FormElementTableComponent extends UnsubscribeOnDestroy implements ControlValueAccessor, Validator, AfterViewInit {
|
|
29
|
+
private storageService;
|
|
27
30
|
private systemService;
|
|
28
31
|
private pendingChanges;
|
|
29
32
|
gridApi: GridService;
|
|
30
|
-
private translate;
|
|
31
|
-
private storageService;
|
|
32
|
-
private eventService;
|
|
33
33
|
private _cachedColumns;
|
|
34
34
|
private _cachedColumnsOverlay;
|
|
35
35
|
static COLUMNS_DEFINITION: string;
|
|
36
36
|
static COLUMNS_DEFINITION_OVERLAY: string;
|
|
37
37
|
modules: Module[];
|
|
38
|
+
BASE_CACHE_LAYOUT_KEY: string;
|
|
39
|
+
cacheLayoutKey: string;
|
|
38
40
|
rowEdit: RowEditComponent;
|
|
41
|
+
splitView: SplitComponent;
|
|
39
42
|
set params(p: TableComponentParams);
|
|
40
43
|
get params(): TableComponentParams;
|
|
41
44
|
_params: TableComponentParams;
|
|
@@ -49,7 +52,7 @@ export declare class FormElementTableComponent extends UnsubscribeOnDestroy impl
|
|
|
49
52
|
showDialog: boolean;
|
|
50
53
|
showPreview: boolean;
|
|
51
54
|
copyCellHandler(event: KeyboardEvent): void;
|
|
52
|
-
constructor(systemService: SystemService, pendingChanges: PendingChangesService, gridApi: GridService
|
|
55
|
+
constructor(storageService: LocalStorageService, systemService: SystemService, pendingChanges: PendingChangesService, gridApi: GridService);
|
|
53
56
|
actionsCellRenderer(params: any): HTMLDivElement;
|
|
54
57
|
propagateChange: (_: any) => void;
|
|
55
58
|
writeValue(value: any[]): void;
|
|
@@ -86,5 +89,7 @@ export declare class FormElementTableComponent extends UnsubscribeOnDestroy impl
|
|
|
86
89
|
onSortChanged(): void;
|
|
87
90
|
onCellClicked($event: any): void;
|
|
88
91
|
onColumnResized(column: any, overlay?: boolean): void;
|
|
92
|
+
private _updateSplitViewLayoutCache;
|
|
89
93
|
togglePreview(): void;
|
|
94
|
+
ngAfterViewInit(): void;
|
|
90
95
|
}
|
|
@@ -2036,7 +2036,7 @@
|
|
|
2036
2036
|
*/
|
|
2037
2037
|
BackendService.prototype.getIconBase = function (id) {
|
|
2038
2038
|
if (id === void 0) { id = ''; }
|
|
2039
|
-
return this.
|
|
2039
|
+
return this.getBaseWithContext(this.getServiceBase()) + '/ui/icon/' + id;
|
|
2040
2040
|
};
|
|
2041
2041
|
/**
|
|
2042
2042
|
* @ignore
|
|
@@ -2207,7 +2207,7 @@
|
|
|
2207
2207
|
BackendService.prototype.getDownloadObservable = function (uri, version) {
|
|
2208
2208
|
var _this = this;
|
|
2209
2209
|
return this.http.get(uri, { observe: 'response', responseType: 'blob', withCredentials: this.coreConfig.withCredentials })
|
|
2210
|
-
.pipe(operators.tap(function (res) {
|
|
2210
|
+
.pipe(operators.delay(200), operators.tap(function (res) {
|
|
2211
2211
|
FileSaver.saveAs(res.body, _this.getFileNameFromHttpResponse(res, version));
|
|
2212
2212
|
}));
|
|
2213
2213
|
};
|
|
@@ -2877,7 +2877,7 @@
|
|
|
2877
2877
|
* @returns URI to the user image
|
|
2878
2878
|
*/
|
|
2879
2879
|
UserService.prototype.getUserImageUri = function (userId) {
|
|
2880
|
-
return this.backend.
|
|
2880
|
+
return this.backend.getBaseWithContext(this.backend.getServiceBase()) + "/organization/image/" + userId + "?usedefault=true";
|
|
2881
2881
|
};
|
|
2882
2882
|
/**
|
|
2883
2883
|
* Removes a favorite item
|
|
@@ -4508,8 +4508,8 @@
|
|
|
4508
4508
|
var headers = new http.HttpHeaders({
|
|
4509
4509
|
'Content-Type': 'application/json'
|
|
4510
4510
|
});
|
|
4511
|
-
return this.
|
|
4512
|
-
.get(
|
|
4511
|
+
return this.backend
|
|
4512
|
+
.get(this.userProfileUri, '', { headers: headers, withCredentials: this.coreConfig.withCredentials })
|
|
4513
4513
|
.pipe(operators.switchMap(function (user) {
|
|
4514
4514
|
_this.profile = {
|
|
4515
4515
|
host: host || '',
|