@eo-sdk/client 9.0.0-rc.6 → 9.0.0-rc.7
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-client/settings/settings.component.d.ts +1 -1
- package/app/eo-framework/result-list/result-list.component.d.ts +7 -1
- package/app/eo-framework/ui/user-avatar/user-avatar.component.d.ts +5 -3
- package/assets/_default/i18n/de.json +6 -2
- package/assets/_default/i18n/en.json +4 -0
- package/bundles/eo-sdk-client-projects-eo-sdk-core.umd.js +4 -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 +1 -1
- package/bundles/eo-sdk-client-projects-eo-sdk-core.umd.min.js.map +1 -1
- package/bundles/eo-sdk-client.umd.js +40 -31
- 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 +6 -8
- package/esm2015/app/eo-framework/app-shell/app-bar/app-bar.component.js +1 -6
- package/esm2015/app/eo-framework/form-elements/id-reference/id-reference.component.js +2 -3
- package/esm2015/app/eo-framework/form-elements/id-reference/service/reference-finder.service.js +2 -3
- package/esm2015/app/eo-framework/result-list/result-list.component.js +17 -5
- package/esm2015/app/eo-framework/ui/user-avatar/user-avatar.component.js +15 -9
- package/esm2015/projects/eo-sdk/core/lib/service/search/search-query.model.js +5 -5
- 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 +38 -29
- 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/search/search-query.model.d.ts +3 -1
- package/projects/eo-sdk/core/package.json +1 -1
|
@@ -88,6 +88,6 @@ export declare class SettingsComponent extends UnsubscribeOnDestroy implements A
|
|
|
88
88
|
mouseEnter(): void;
|
|
89
89
|
mouseLeave(): void;
|
|
90
90
|
trashIconClick(): void;
|
|
91
|
-
|
|
91
|
+
refreshUserImageHeaderBackground(imageUri: string): void;
|
|
92
92
|
clearCache(): boolean;
|
|
93
93
|
}
|
|
@@ -6,6 +6,7 @@ import { AppSearchService } from '../../eo-framework-core/search/app-search.serv
|
|
|
6
6
|
import { UnsubscribeOnDestroy } from '../util/unsubscribe/unsubscribe.component';
|
|
7
7
|
import { SearchResult, Config, SearchService, EventService, BackendService, LocalStorageService, TranslateService, ObjectType, StoredQueriesService, StoredQuery } from '@eo-sdk/core';
|
|
8
8
|
import { Router } from '@angular/router';
|
|
9
|
+
import { ListContainerComponent } from '../list-container';
|
|
9
10
|
export declare class ResultListComponent extends UnsubscribeOnDestroy implements OnInit {
|
|
10
11
|
private config;
|
|
11
12
|
translate: TranslateService;
|
|
@@ -18,7 +19,10 @@ export declare class ResultListComponent extends UnsubscribeOnDestroy implements
|
|
|
18
19
|
private storedQueriesService;
|
|
19
20
|
private router;
|
|
20
21
|
grid: GridComponent;
|
|
22
|
+
list: ListContainerComponent;
|
|
21
23
|
private VIRTUAL_LIST_CHUNK_SIZE;
|
|
24
|
+
resolveReferencesCsv: boolean;
|
|
25
|
+
resolveReferencesCsvThreshold: number;
|
|
22
26
|
static COLUMNS_DEFINITION: string;
|
|
23
27
|
private _result;
|
|
24
28
|
private _query;
|
|
@@ -34,6 +38,7 @@ export declare class ResultListComponent extends UnsubscribeOnDestroy implements
|
|
|
34
38
|
querySubtitle: string;
|
|
35
39
|
savedSearchClicked: boolean;
|
|
36
40
|
storedQuery: StoredQuery;
|
|
41
|
+
showWarnExportCSVThresholdDialog: boolean;
|
|
37
42
|
title: string;
|
|
38
43
|
configType: ObjectType | null;
|
|
39
44
|
configContext: ObjectType | null;
|
|
@@ -81,7 +86,8 @@ export declare class ResultListComponent extends UnsubscribeOnDestroy implements
|
|
|
81
86
|
private fetchRowData;
|
|
82
87
|
private updateQuery;
|
|
83
88
|
executeSuggestSearch(): void;
|
|
84
|
-
|
|
89
|
+
private resultHasReferences;
|
|
90
|
+
exportCSV(ignoreThreshold?: boolean): void;
|
|
85
91
|
parseDmsParams(data: any): {
|
|
86
92
|
id: any;
|
|
87
93
|
type: any;
|
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
import { OnDestroy } from '@angular/core';
|
|
2
|
-
import { UserService } from '@eo-sdk/core';
|
|
2
|
+
import { EventService, UserService } from '@eo-sdk/core';
|
|
3
3
|
export declare class UserAvatarComponent implements OnDestroy {
|
|
4
4
|
private userService;
|
|
5
|
+
private eventService;
|
|
5
6
|
private subscription;
|
|
6
7
|
private defImg;
|
|
7
8
|
present: boolean;
|
|
9
|
+
userId: string;
|
|
8
10
|
backgroundImage: string;
|
|
9
11
|
showPresence: boolean;
|
|
10
|
-
constructor(userService: UserService);
|
|
11
|
-
|
|
12
|
+
constructor(userService: UserService, eventService: EventService);
|
|
13
|
+
refreshUserImage(): void;
|
|
12
14
|
ngOnDestroy(): void;
|
|
13
15
|
}
|
|
@@ -299,10 +299,10 @@
|
|
|
299
299
|
"eo.state.settings.details.upload.dialog.title": "Profilbild hochladen",
|
|
300
300
|
"eo.state.settings.details.upload.dialog.back":"Zurück",
|
|
301
301
|
"eo.state.settings.details.upload.dialog.error.title": "Fehler",
|
|
302
|
-
"eo.state.settings.details.upload.dialog.sizeError": "Die Datei ist zu groß. Die maximale Größe
|
|
302
|
+
"eo.state.settings.details.upload.dialog.sizeError": "Die Datei ist zu groß. Die maximale Größe beträgt 512 KB.",
|
|
303
303
|
"eo.state.settings.details.upload.dialog.fileError": "Es sind nur Dateien vom Format jpg und png erlaubt.",
|
|
304
304
|
"eo.state.settings.details.delete.dialog.title": "Profilbild löschen",
|
|
305
|
-
"eo.state.settings.details.delete.dialog.message": "Sind Sie sicher, dass das Profilbild
|
|
305
|
+
"eo.state.settings.details.delete.dialog.message": "Sind Sie sicher, dass Sie das Profilbild löschen möchten?",
|
|
306
306
|
"eo.state.settings.details.delete.dialog.cancel": "Abbrechen",
|
|
307
307
|
"eo.state.settings.details.delete.dialog.ok": "Löschen",
|
|
308
308
|
"eo.state.settings.details.dialog.save": "Speichern",
|
|
@@ -887,6 +887,10 @@
|
|
|
887
887
|
"eo.resultlist.grid.lessThanOrEqual": "Kleiner als oder gleich",
|
|
888
888
|
"eo.resultlist.grid.greaterThanOrEqual": "Größer als oder gleich",
|
|
889
889
|
"eo.resultlist.export.csv": "Exportieren als CSV-Datei",
|
|
890
|
+
"eo.resultlist.export.csv.threshold.dialog.title": "CSV-Export",
|
|
891
|
+
"eo.resultlist.export.csv.threshold.dialog.message": "Der Export dieser Datenmenge wird länger dauern. Dennoch exportieren und auf das Ergebnis warten?",
|
|
892
|
+
"eo.resultlist.export.csv.threshold.dialog.cancel": "Abbrechen",
|
|
893
|
+
"eo.resultlist.export.csv.threshold.dialog.export": "Exportieren",
|
|
890
894
|
"eo.clipboard.paste.label": "Einfügen",
|
|
891
895
|
"eo.clipboard.paste.resultlist.headline": "Eingefügt",
|
|
892
896
|
"eo.clipboard.paste.as.contentlink.label": "Als Verweisdokument",
|
|
@@ -887,6 +887,10 @@
|
|
|
887
887
|
"eo.resultlist.grid.lessThanOrEqual": "Less than or equal to",
|
|
888
888
|
"eo.resultlist.grid.greaterThanOrEqual": "Greater than or equal to",
|
|
889
889
|
"eo.resultlist.export.csv": "Export as CSV file",
|
|
890
|
+
"eo.resultlist.export.csv.threshold.dialog.title": "CSV Export",
|
|
891
|
+
"eo.resultlist.export.csv.threshold.dialog.message": "Exporting this amount of data will take longer. Export anyway and wait for the result?",
|
|
892
|
+
"eo.resultlist.export.csv.threshold.dialog.cancel": "Cancel",
|
|
893
|
+
"eo.resultlist.export.csv.threshold.dialog.export": "Export",
|
|
890
894
|
"eo.clipboard.paste.label": "Paste",
|
|
891
895
|
"eo.clipboard.paste.resultlist.headline": "Pasted",
|
|
892
896
|
"eo.clipboard.paste.as.contentlink.label": "As link document",
|
|
@@ -407,8 +407,10 @@
|
|
|
407
407
|
};
|
|
408
408
|
/**
|
|
409
409
|
* Generate a query JSON from the current SearchQuery that can be send to the search service.
|
|
410
|
+
*
|
|
411
|
+
* @param resolveReference in case of csv export the resolving of references is set by configuration
|
|
410
412
|
*/
|
|
411
|
-
SearchQuery.prototype.getQueryJson = function () {
|
|
413
|
+
SearchQuery.prototype.getQueryJson = function (resolveReference) {
|
|
412
414
|
// Convert the current query object to a query JSON that can be consumed by the search service backend.
|
|
413
415
|
// To keep it short, we'll only add properties that are set and differ from default values
|
|
414
416
|
var queryJson = {};
|
|
@@ -447,9 +449,7 @@
|
|
|
447
449
|
if (this.expertMode) {
|
|
448
450
|
queryJson.options.expertmode = true;
|
|
449
451
|
}
|
|
450
|
-
|
|
451
|
-
queryJson.options.resolvereference = true;
|
|
452
|
-
}
|
|
452
|
+
queryJson.options.resolvereference = resolveReference !== undefined ? resolveReference : true;
|
|
453
453
|
if (this.searchMode !== SearchQuery.DEFAULT_SEARCH_MODE) {
|
|
454
454
|
queryJson.options.searchmode = this.searchMode;
|
|
455
455
|
}
|