@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
|
@@ -4061,21 +4061,26 @@
|
|
|
4061
4061
|
};
|
|
4062
4062
|
|
|
4063
4063
|
var UserAvatarComponent = /** @class */ (function () {
|
|
4064
|
-
function UserAvatarComponent(userService) {
|
|
4064
|
+
function UserAvatarComponent(userService, eventService) {
|
|
4065
|
+
var _this = this;
|
|
4065
4066
|
this.userService = userService;
|
|
4067
|
+
this.eventService = eventService;
|
|
4066
4068
|
// tslint:disable-next-line:max-line-length
|
|
4067
4069
|
this.defImg = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALQAAAC0CAYAAAA9zQYyAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTM4IDc5LjE1OTgyNCwgMjAxNi8wOS8xNC0wMTowOTowMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIw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aAKEBquKnAAMAnMDZVSbpyVsAAAAASUVORK5CYII=';
|
|
4068
4070
|
this.backgroundImage = 'initial';
|
|
4069
|
-
this.createUserBackground();
|
|
4070
|
-
}
|
|
4071
|
-
UserAvatarComponent.prototype.createUserBackground = function () {
|
|
4072
|
-
var _this = this;
|
|
4073
4071
|
this.subscription = this.userService.user$
|
|
4074
4072
|
.subscribe(function (u) {
|
|
4073
|
+
_this.userId = u.id;
|
|
4075
4074
|
_this.present = u.present;
|
|
4076
|
-
|
|
4077
|
-
_this.backgroundImage = "url(" + (_this.userService.getUserImageUri(u.id) + '#' + timestamp) + "), url(" + _this.defImg + ")";
|
|
4075
|
+
_this.refreshUserImage();
|
|
4078
4076
|
});
|
|
4077
|
+
this.eventService.on(i1.EnaioEvent.SYSTEM_STATUS_IMAGE_CHANGE).subscribe(function () {
|
|
4078
|
+
_this.refreshUserImage();
|
|
4079
|
+
});
|
|
4080
|
+
}
|
|
4081
|
+
UserAvatarComponent.prototype.refreshUserImage = function () {
|
|
4082
|
+
var timestamp = new Date().getTime().toString();
|
|
4083
|
+
this.backgroundImage = "url(" + (this.userService.getUserImageUri(this.userId) + '&t=' + timestamp) + "), url(" + this.defImg + ")";
|
|
4079
4084
|
};
|
|
4080
4085
|
UserAvatarComponent.prototype.ngOnDestroy = function () {
|
|
4081
4086
|
this.subscription.unsubscribe();
|
|
@@ -4090,7 +4095,8 @@
|
|
|
4090
4095
|
},] }
|
|
4091
4096
|
];
|
|
4092
4097
|
UserAvatarComponent.ctorParameters = function () { return [
|
|
4093
|
-
{ type: i1.UserService }
|
|
4098
|
+
{ type: i1.UserService },
|
|
4099
|
+
{ type: i1.EventService }
|
|
4094
4100
|
]; };
|
|
4095
4101
|
UserAvatarComponent.propDecorators = {
|
|
4096
4102
|
backgroundImage: [{ type: i0.HostBinding, args: ['style.background-image',] }],
|
|
@@ -4680,7 +4686,6 @@
|
|
|
4680
4686
|
document.addEventListener('visibilitychange', function () { return _this.pageVisible = !_this.pageVisible; });
|
|
4681
4687
|
};
|
|
4682
4688
|
AppBarComponent.prototype.ngOnInit = function () {
|
|
4683
|
-
var _this = this;
|
|
4684
4689
|
this.updateOnSchemaChange();
|
|
4685
4690
|
this.setIconTitles();
|
|
4686
4691
|
this.exeActions = this.bpmService.hasMainExecutableProcesses;
|
|
@@ -4690,11 +4695,6 @@
|
|
|
4690
4695
|
// this.exeActions = !!res.length;
|
|
4691
4696
|
// });
|
|
4692
4697
|
this.initVisibilityChangeListener();
|
|
4693
|
-
this.eventService.on(i1.EnaioEvent.SYSTEM_STATUS_IMAGE_CHANGE).subscribe(function () {
|
|
4694
|
-
_this.avatarComponents.forEach(function (avatar) {
|
|
4695
|
-
avatar.createUserBackground();
|
|
4696
|
-
});
|
|
4697
|
-
});
|
|
4698
4698
|
};
|
|
4699
4699
|
return AppBarComponent;
|
|
4700
4700
|
}(UnsubscribeOnDestroy));
|
|
@@ -7930,9 +7930,8 @@
|
|
|
7930
7930
|
fields: ['title', 'description', 'type'],
|
|
7931
7931
|
types: [this.referenceType.name],
|
|
7932
7932
|
term: evt.query,
|
|
7933
|
-
highlighting: true,
|
|
7934
7933
|
filters: this.queryFilters,
|
|
7935
|
-
options: {
|
|
7934
|
+
options: { withcontext: true, highlighting: false }
|
|
7936
7935
|
};
|
|
7937
7936
|
if (this.objectTypesFilter) {
|
|
7938
7937
|
q.types = this.objectTypesFilter;
|
|
@@ -8064,9 +8063,8 @@
|
|
|
8064
8063
|
fields: ['title', 'description', 'type'],
|
|
8065
8064
|
types: types,
|
|
8066
8065
|
term: searchText,
|
|
8067
|
-
highlighting: true,
|
|
8068
8066
|
filters: queryFilters,
|
|
8069
|
-
options: {
|
|
8067
|
+
options: { withcontext: true, highlighting: false }
|
|
8070
8068
|
};
|
|
8071
8069
|
if (contextId) {
|
|
8072
8070
|
if (q.filters) {
|
|
@@ -18681,6 +18679,7 @@
|
|
|
18681
18679
|
_this.settings = {};
|
|
18682
18680
|
_this.querySubtitle = '';
|
|
18683
18681
|
_this.savedSearchClicked = false;
|
|
18682
|
+
_this.showWarnExportCSVThresholdDialog = false;
|
|
18684
18683
|
_this.title = '';
|
|
18685
18684
|
_this.emptyMessage = '';
|
|
18686
18685
|
_this.selectFirst = true;
|
|
@@ -18695,6 +18694,8 @@
|
|
|
18695
18694
|
_this.onResult = new i0.EventEmitter();
|
|
18696
18695
|
_this.onQueryInvalid = new i0.EventEmitter();
|
|
18697
18696
|
_this.VIRTUAL_LIST_CHUNK_SIZE = _this.config.getRaw('search.limit');
|
|
18697
|
+
_this.resolveReferencesCsv = _this.config.getRaw('search.resolveReferencesCSV') || false;
|
|
18698
|
+
_this.resolveReferencesCsvThreshold = _this.config.getRaw('search.resolveReferencesCSVThreshold') || 10000;
|
|
18698
18699
|
_this._cachedColumns = _this.storageService.getItem(ResultListComponent.COLUMNS_DEFINITION) || [];
|
|
18699
18700
|
return _this;
|
|
18700
18701
|
}
|
|
@@ -18899,11 +18900,20 @@
|
|
|
18899
18900
|
ResultListComponent.prototype.executeSuggestSearch = function () {
|
|
18900
18901
|
// todo: implement
|
|
18901
18902
|
};
|
|
18902
|
-
ResultListComponent.prototype.
|
|
18903
|
+
ResultListComponent.prototype.resultHasReferences = function () {
|
|
18904
|
+
return this._result.fields.elements.some(function (element) { return element.type === 'ORGANISATION' || element.type === 'REFERENCE'; });
|
|
18905
|
+
};
|
|
18906
|
+
ResultListComponent.prototype.exportCSV = function (ignoreThreshold) {
|
|
18903
18907
|
var _this = this;
|
|
18908
|
+
if (ignoreThreshold === void 0) { ignoreThreshold = false; }
|
|
18909
|
+
if (!ignoreThreshold && this.resolveReferencesCsv && this.list.gridCount.totalCount > this.resolveReferencesCsvThreshold && this.resultHasReferences()) {
|
|
18910
|
+
this.showWarnExportCSVThresholdDialog = true;
|
|
18911
|
+
return;
|
|
18912
|
+
}
|
|
18904
18913
|
this.csvLoadingSpinnerVisibility = true;
|
|
18905
18914
|
this.updateQuery({});
|
|
18906
|
-
this.
|
|
18915
|
+
this.showWarnExportCSVThresholdDialog = false;
|
|
18916
|
+
this.searchService.downloadCsvFromQuery(this.query.getQueryJson(this.resolveReferencesCsv)).subscribe(function () {
|
|
18907
18917
|
_this.csvLoadingSpinnerVisibility = false;
|
|
18908
18918
|
});
|
|
18909
18919
|
};
|
|
@@ -18933,8 +18943,8 @@
|
|
|
18933
18943
|
ResultListComponent.decorators = [
|
|
18934
18944
|
{ type: i0.Component, args: [{
|
|
18935
18945
|
selector: 'eo-result-list',
|
|
18936
|
-
template: "<div class=\"loader-overlay__mask\" *ngIf=\"showLoader\">\n <eo-loading-spinner class=\"result-list__loader\" [size]=\"'medium'\"></eo-loading-spinner>\n</div>\n<eo-column-configurator *ngIf=\"visibleConfig\" [visible]=\"visibleConfig\"\n [configType]=\"configType\" [configContext]=\"configContext\" [eoGrid]=\"grid\"\n (onConfigChanged)=\"visibleConfig = false; onConfigChanged($event)\" ></eo-column-configurator>\n\n<eo-list-container #eoList [applySelection]=\"{}\" [loading]=\"false\" [parseDmsParams]=\"parseDmsParams\">\n <div class=\"eo-header\">\n <eo-icon class=\"eo-header-icon\" *ngIf=\"hasIcon\" [iconSrc]=\"'assets/_default/svg/ic_search.svg'\"></eo-icon>\n <div class=\"eo-header-info\">\n <div class=\"eo-header-title\">{{title || ('eo.search.title' | translate)}}</div>\n <div class=\"eo-header-subtitle\">\n <span *ngIf=\"!storedQuery; else storedQueryText\" class=\"eo-header-subtitle__label\" [title]=\"querySubtitle\">{{querySubtitle}}</span>\n <ng-template #storedQueryText>\n <ng-container *ngIf=\"storedQuery.parameter.length === 0; else storedQueryDialog\">\n <span class=\"eo-header-subtitle__label\" [title]=\"('eo.search.aside.summary.storedquery' | translate) + ': ' + storedQuery.name\">\n {{'eo.search.aside.summary.storedquery' | translate}}: {{storedQuery.name}}\n </span>\n </ng-container>\n </ng-template>\n <ng-template #storedQueryDialog>\n <div class=\"stored-query\">\n <span>\n {{'eo.search.aside.summary.storedquery' | translate}}:\n </span>\n <button class=\"sq\" (click)=\"savedSearchClicked = true\" (keyup.enter)=\"savedSearchClicked = true\" tabindex=\"0\">\n <eo-icon [iconSrc]=\"'assets/_default/svg/ic_stored_query.svg'\"></eo-icon>\n <span>{{storedQuery.name}}</span>\n </button>\n </div>\n </ng-template>\n <span *ngIf=\"query?.contextFolderTypes.length === 1\" translate\n [translateParams]=\"{type: query.contextFolderTypes[0].label}\">eo.search.objecttype.form.context</span>\n <span class=\"term\" *ngIf=\"!storedQuery && query?.term && !clearAfterExecute\" [title]=\"('eo.search.result.term' | translate) + ': ' + query.term\">{{'eo.search.result.term' | translate}} : \"{{query.term}}\"</span>\n <div class=\"suggest\" *ngIf=\"searchResult?.suggests\">{{'eo.search.suggest' | translate}}<a href=\"javascript:void(0)\" (click)=\"executeSuggestSearch()\">{{searchResult.suggests[0]}}</a> ?\n </div>\n </div>\n </div>\n <div class=\"eo-header-actions\">\n <eo-icon class=\"button refresh-button\" [iconSrc]=\"'assets/_default/svg/ic_refresh.svg'\" (click)=\"refreshGrid()\"\n [iconTitle]=\"('eo.list.refresh' | translate)\"></eo-icon>\n <eo-icon class=\"button export-button\" [hidden]=\"!query\" [iconSrc]=\"'assets/_default/svg/ic_content-download.svg'\" [iconTitle]=\"('eo.resultlist.export.csv' | translate)\"\n (click)=\"exportCSV()\" *ngIf=\"!csvLoadingSpinnerVisibility\"></eo-icon>\n <eo-loading-spinner [size]=\"'small'\" *ngIf=\"csvLoadingSpinnerVisibility\" class=\"spinner\"></eo-loading-spinner>\n <eo-icon class=\"button config-button\" [iconSrc]=\"'assets/_default/svg/ic_settings.svg'\" [iconTitle]=\"('eo.column.config.title' | translate)\"\n (click)=\"visibleConfig = !visibleConfig\"></eo-icon>\n <eo-icon class=\"button actions-button\" (click)=\"eoList.showActions()\" [iconTitle]=\"('eo.object.actions.title' | translate)\"\n [iconSrc]=\"'assets/_default/svg/ic_more.svg'\" *ngIf=\"!reference\"></eo-icon>\n </div>\n </div>\n <div class=\"eo-body\">\n <eo-grid #eoGrid [gridOptions]=\"resultGridOptions\" *ngIf=\"hasGridOptions; else error\"\n [showFooter]=\"true\" (eoGridColumnResized)=\"onColumnResized($event)\" [selectFirst]=\"selectFirst\"\n (eoGridCountChanged)=\"eoList.onCountChanged($event);onCountChanged.emit($event);\"\n (eoGridContextMenuClick)=\"eoList.onContextMenu($event);onContextMenu.emit($event)\"\n (eoGridSelectionChanged)=\"eoList.onSelectionChanged($event);onSelectionChanged.emit($event)\"\n (eoGridDoubleClick)=\"eoList.onDoubleClick($event);onDoubleClick.emit($event)\"\n (eoGridFocusChanged)=\"eoList.onFocusChanged($event);onFocusChanged.emit($event)\">\n\n <div class=\"footer\">\n <eo-total-count [gridCount]=\"eoList.gridCount\" [outsideGrid]=\"false\" class=\"flex-row\"></eo-total-count>\n <!--<eo-quick-filter [eoGrid]=\"eoGrid\"></eo-quick-filter>-->\n <eo-pagination [settings]=\"settings\" (pageChanged)=\"onPageChanged($event)\"></eo-pagination>\n </div>\n\n <div class=\"empty\">\n <eo-error-message [emptyState]=\"{text: emptyMessage || 'eo.search.result.expired'}\"></eo-error-message>\n </div>\n </eo-grid>\n </div>\n <ng-template #error>\n\n <eo-error-message *ngIf=\"hasGridOptions\" [emptyState]=\"{text:'eo.search.mode.expert.result.empty'}\">\n </eo-error-message>\n\n </ng-template>\n</eo-list-container>\n\n<eo-dialog [visible]=\"savedSearchClicked\" (hide)=\"savedSearchClicked = false\" [title]=\"'eo.search.aside.summary.storedquery' | translate\">\n <eo-stored-query [query]=\"storedQuery\"\n (onQueryLoaded)=\"onStoredQueryLoaded()\"\n (onQueryExecute)=\"onStoredQueryExecute($event)\"></eo-stored-query>\n</eo-dialog>\n\n",
|
|
18937
|
-
styles: [":host{background:var(--panel-background);display:flex;flex:1;flex-direction:column;height:100%;min-height:0;min-width:0}:host .spinner{padding:calc(var(--app-pane-padding)/4)}:host .result-head{display:flex;flex:1;flex-direction:row;min-height:0;min-width:0}:host .result-head .header-info{flex:1}:host .result-head .header-info .header-sub-title .term{margin:0 var(--app-pane-padding)}:host .result-head .header-info .header-title{-moz-user-select:none;-webkit-user-select:none;font-size:20px;padding-bottom:calc(var(--app-pane-padding)/4);user-select:none}:host .result-head .header-info .status{display:flex}:host .result-head .header-info .status .term{flex:1}:host .result-head .actions eo-icon{cursor:pointer;padding:calc(var(--app-pane-padding)/4)}:host .loader-overlay__mask{-webkit-animation:eoFadeIn .5s;animation:eoFadeIn .5s;background:rgba(var(--color-white-rgb),.8);display:flex;height:100%;position:absolute;width:100%;z-index:11}:host .loader-overlay__mask .result-list__loader{margin:auto}:host .stored-query{display:flex;max-height:45vh}:host .stored-query span{padding-right:calc(var(--app-pane-padding)/2)}:host .stored-query>div{background-color:var(--color-white);border-radius:2px 0 0 2px;margin:0 1px;padding:calc(var(--app-pane-padding)/2)}:host .stored-query>div eo-icon{color:var(--text-color-caption);padding:calc(var(--app-pane-padding)/4)}:host .stored-query .sq{-moz-transition:all var(--app-default-transition-duration) ease-in-out;-o-transition:all var(--app-default-transition-duration) ease-in-out;-webkit-transition:all var(--app-default-transition-duration) ease-in-out;align-items:center;background-color:var(--color-white);background-color:var(--list-item-hover-background);border-radius:2px;color:var(--text-color-caption);cursor:pointer;display:flex;flex-flow:row;overflow:hidden;padding:calc(var(--app-pane-padding)/100);text-decoration:none;transition:all var(--app-default-transition-duration) ease-in-out}:host .stored-query .sq>eo-icon{color:var(--text-color-hint);flex-shrink:0}:host .stored-query .sq>span{overflow:hidden;padding:0 calc(var(--app-pane-padding)/2);text-overflow:ellipsis}eo-stored-query{background-color:var(--color-white);border-radius:0 2px 2px 0;overflow-y:auto;padding:var(--app-pane-padding)}"]
|
|
18946
|
+
template: "<div class=\"loader-overlay__mask\" *ngIf=\"showLoader\">\n <eo-loading-spinner class=\"result-list__loader\" [size]=\"'medium'\"></eo-loading-spinner>\n</div>\n<eo-column-configurator *ngIf=\"visibleConfig\" [visible]=\"visibleConfig\"\n [configType]=\"configType\" [configContext]=\"configContext\" [eoGrid]=\"grid\"\n (onConfigChanged)=\"visibleConfig = false; onConfigChanged($event)\" ></eo-column-configurator>\n\n<eo-list-container #eoList [applySelection]=\"{}\" [loading]=\"false\" [parseDmsParams]=\"parseDmsParams\">\n <div class=\"eo-header\">\n <eo-icon class=\"eo-header-icon\" *ngIf=\"hasIcon\" [iconSrc]=\"'assets/_default/svg/ic_search.svg'\"></eo-icon>\n <div class=\"eo-header-info\">\n <div class=\"eo-header-title\">{{title || ('eo.search.title' | translate)}}</div>\n <div class=\"eo-header-subtitle\">\n <span *ngIf=\"!storedQuery; else storedQueryText\" class=\"eo-header-subtitle__label\" [title]=\"querySubtitle\">{{querySubtitle}}</span>\n <ng-template #storedQueryText>\n <ng-container *ngIf=\"storedQuery.parameter.length === 0; else storedQueryDialog\">\n <span class=\"eo-header-subtitle__label\" [title]=\"('eo.search.aside.summary.storedquery' | translate) + ': ' + storedQuery.name\">\n {{'eo.search.aside.summary.storedquery' | translate}}: {{storedQuery.name}}\n </span>\n </ng-container>\n </ng-template>\n <ng-template #storedQueryDialog>\n <div class=\"stored-query\">\n <span>\n {{'eo.search.aside.summary.storedquery' | translate}}:\n </span>\n <button class=\"sq\" (click)=\"savedSearchClicked = true\" (keyup.enter)=\"savedSearchClicked = true\" tabindex=\"0\">\n <eo-icon [iconSrc]=\"'assets/_default/svg/ic_stored_query.svg'\"></eo-icon>\n <span>{{storedQuery.name}}</span>\n </button>\n </div>\n </ng-template>\n <span *ngIf=\"query?.contextFolderTypes.length === 1\" translate\n [translateParams]=\"{type: query.contextFolderTypes[0].label}\">eo.search.objecttype.form.context</span>\n <span class=\"term\" *ngIf=\"!storedQuery && query?.term && !clearAfterExecute\" [title]=\"('eo.search.result.term' | translate) + ': ' + query.term\">{{'eo.search.result.term' | translate}} : \"{{query.term}}\"</span>\n <div class=\"suggest\" *ngIf=\"searchResult?.suggests\">{{'eo.search.suggest' | translate}}<a href=\"javascript:void(0)\" (click)=\"executeSuggestSearch()\">{{searchResult.suggests[0]}}</a> ?\n </div>\n </div>\n </div>\n <div class=\"eo-header-actions\">\n <eo-icon class=\"button refresh-button\" [iconSrc]=\"'assets/_default/svg/ic_refresh.svg'\" (click)=\"refreshGrid()\"\n [iconTitle]=\"('eo.list.refresh' | translate)\"></eo-icon>\n <eo-icon class=\"button export-button\" [hidden]=\"!query\" [iconSrc]=\"'assets/_default/svg/ic_content-download.svg'\" [iconTitle]=\"('eo.resultlist.export.csv' | translate)\"\n (click)=\"exportCSV()\" *ngIf=\"!csvLoadingSpinnerVisibility\"></eo-icon>\n <eo-loading-spinner [size]=\"'small'\" *ngIf=\"csvLoadingSpinnerVisibility\" class=\"spinner\"></eo-loading-spinner>\n <eo-icon class=\"button config-button\" [iconSrc]=\"'assets/_default/svg/ic_settings.svg'\" [iconTitle]=\"('eo.column.config.title' | translate)\"\n (click)=\"visibleConfig = !visibleConfig\"></eo-icon>\n <eo-icon class=\"button actions-button\" (click)=\"eoList.showActions()\" [iconTitle]=\"('eo.object.actions.title' | translate)\"\n [iconSrc]=\"'assets/_default/svg/ic_more.svg'\" *ngIf=\"!reference\"></eo-icon>\n </div>\n </div>\n <div class=\"eo-body\">\n <eo-grid #eoGrid [gridOptions]=\"resultGridOptions\" *ngIf=\"hasGridOptions; else error\"\n [showFooter]=\"true\" (eoGridColumnResized)=\"onColumnResized($event)\" [selectFirst]=\"selectFirst\"\n (eoGridCountChanged)=\"eoList.onCountChanged($event);onCountChanged.emit($event);\"\n (eoGridContextMenuClick)=\"eoList.onContextMenu($event);onContextMenu.emit($event)\"\n (eoGridSelectionChanged)=\"eoList.onSelectionChanged($event);onSelectionChanged.emit($event)\"\n (eoGridDoubleClick)=\"eoList.onDoubleClick($event);onDoubleClick.emit($event)\"\n (eoGridFocusChanged)=\"eoList.onFocusChanged($event);onFocusChanged.emit($event)\">\n\n <div class=\"footer\">\n <eo-total-count [gridCount]=\"eoList.gridCount\" [outsideGrid]=\"false\" class=\"flex-row\"></eo-total-count>\n <!--<eo-quick-filter [eoGrid]=\"eoGrid\"></eo-quick-filter>-->\n <eo-pagination [settings]=\"settings\" (pageChanged)=\"onPageChanged($event)\"></eo-pagination>\n </div>\n\n <div class=\"empty\">\n <eo-error-message [emptyState]=\"{text: emptyMessage || 'eo.search.result.expired'}\"></eo-error-message>\n </div>\n </eo-grid>\n </div>\n <ng-template #error>\n\n <eo-error-message *ngIf=\"hasGridOptions\" [emptyState]=\"{text:'eo.search.mode.expert.result.empty'}\">\n </eo-error-message>\n\n </ng-template>\n</eo-list-container>\n\n<eo-dialog [visible]=\"savedSearchClicked\" (hide)=\"savedSearchClicked = false\" [title]=\"'eo.search.aside.summary.storedquery' | translate\">\n <eo-stored-query [query]=\"storedQuery\"\n (onQueryLoaded)=\"onStoredQueryLoaded()\"\n (onQueryExecute)=\"onStoredQueryExecute($event)\"></eo-stored-query>\n</eo-dialog>\n\n<eo-dialog [title]=\"'eo.resultlist.export.csv.threshold.dialog.title' | translate\"\n [(visible)]=\"showWarnExportCSVThresholdDialog\" [focusOnShow]=\"false\" [minWidth]=\"400\" [styleClass]=\"'threshold__dialog'\">\n\n <div>{{'eo.resultlist.export.csv.threshold.dialog.message' | translate}}</div>\n\n <div class=\"action-buttons flex-row\">\n <button type=\"button\" class=\"button cancel\" (click)=\"showWarnExportCSVThresholdDialog = false\"\n translate>eo.resultlist.export.csv.threshold.dialog.cancel</button>\n <button type=\"button\" cdkFocusInitial (click)=\"exportCSV(true)\" class=\"button primary\"\n translate>eo.resultlist.export.csv.threshold.dialog.export</button>\n </div>\n</eo-dialog>\n\n",
|
|
18947
|
+
styles: [":host{background:var(--panel-background);display:flex;flex:1;flex-direction:column;height:100%;min-height:0;min-width:0}:host .spinner{padding:calc(var(--app-pane-padding)/4)}:host .result-head{display:flex;flex:1;flex-direction:row;min-height:0;min-width:0}:host .result-head .header-info{flex:1}:host .result-head .header-info .header-sub-title .term{margin:0 var(--app-pane-padding)}:host .result-head .header-info .header-title{-moz-user-select:none;-webkit-user-select:none;font-size:20px;padding-bottom:calc(var(--app-pane-padding)/4);user-select:none}:host .result-head .header-info .status{display:flex}:host .result-head .header-info .status .term{flex:1}:host .result-head .actions eo-icon{cursor:pointer;padding:calc(var(--app-pane-padding)/4)}:host .loader-overlay__mask{-webkit-animation:eoFadeIn .5s;animation:eoFadeIn .5s;background:rgba(var(--color-white-rgb),.8);display:flex;height:100%;position:absolute;width:100%;z-index:11}:host .loader-overlay__mask .result-list__loader{margin:auto}:host .stored-query{display:flex;max-height:45vh}:host .stored-query span{padding-right:calc(var(--app-pane-padding)/2)}:host .stored-query>div{background-color:var(--color-white);border-radius:2px 0 0 2px;margin:0 1px;padding:calc(var(--app-pane-padding)/2)}:host .stored-query>div eo-icon{color:var(--text-color-caption);padding:calc(var(--app-pane-padding)/4)}:host .stored-query .sq{-moz-transition:all var(--app-default-transition-duration) ease-in-out;-o-transition:all var(--app-default-transition-duration) ease-in-out;-webkit-transition:all var(--app-default-transition-duration) ease-in-out;align-items:center;background-color:var(--color-white);background-color:var(--list-item-hover-background);border-radius:2px;color:var(--text-color-caption);cursor:pointer;display:flex;flex-flow:row;overflow:hidden;padding:calc(var(--app-pane-padding)/100);text-decoration:none;transition:all var(--app-default-transition-duration) ease-in-out}:host .stored-query .sq>eo-icon{color:var(--text-color-hint);flex-shrink:0}:host .stored-query .sq>span{overflow:hidden;padding:0 calc(var(--app-pane-padding)/2);text-overflow:ellipsis}eo-stored-query{background-color:var(--color-white);border-radius:0 2px 2px 0;overflow-y:auto;padding:var(--app-pane-padding)}::ng-deep .threshold__dialog{min-height:unset!important;padding:8px}::ng-deep .threshold__dialog--header{background:#fff!important;color:rgba(var(--color-black-rgb),.54)!important;font-size:1.17em!important;font-weight:400!important;margin:0;padding:0 0 1em!important}"]
|
|
18938
18948
|
},] }
|
|
18939
18949
|
];
|
|
18940
18950
|
ResultListComponent.ctorParameters = function () { return [
|
|
@@ -18951,6 +18961,7 @@
|
|
|
18951
18961
|
]; };
|
|
18952
18962
|
ResultListComponent.propDecorators = {
|
|
18953
18963
|
grid: [{ type: i0.ViewChild, args: ['eoGrid',] }],
|
|
18964
|
+
list: [{ type: i0.ViewChild, args: ['eoList',] }],
|
|
18954
18965
|
title: [{ type: i0.Input }],
|
|
18955
18966
|
configType: [{ type: i0.Input }],
|
|
18956
18967
|
configContext: [{ type: i0.Input }],
|
|
@@ -24357,7 +24368,7 @@
|
|
|
24357
24368
|
this.user$.subscribe(function (user) {
|
|
24358
24369
|
_this.userId = user.id;
|
|
24359
24370
|
_this.userImageUri = _this.userService.getUserImageUri(_this.userId);
|
|
24360
|
-
_this.
|
|
24371
|
+
_this.refreshUserImageHeaderBackground(_this.userImageUri);
|
|
24361
24372
|
_this.showDeleteIconTrash = !!user.imageUri;
|
|
24362
24373
|
});
|
|
24363
24374
|
};
|
|
@@ -24376,9 +24387,8 @@
|
|
|
24376
24387
|
this.userService
|
|
24377
24388
|
.delUserImage(uploadURI).subscribe({
|
|
24378
24389
|
next: function () {
|
|
24379
|
-
_this.
|
|
24390
|
+
_this.refreshUserImageHeaderBackground(_this.userImageUri);
|
|
24380
24391
|
_this.eventService.trigger(i1.EnaioEvent.SYSTEM_STATUS_IMAGE_CHANGE);
|
|
24381
|
-
_this.userAvatar.createUserBackground();
|
|
24382
24392
|
_this.showDeleteDialog = false;
|
|
24383
24393
|
_this.showDeleteIconTrash = false;
|
|
24384
24394
|
},
|
|
@@ -24422,9 +24432,8 @@
|
|
|
24422
24432
|
.setUserImage(this.file).subscribe({
|
|
24423
24433
|
next: function () {
|
|
24424
24434
|
_this.profileImageOverlay.nativeElement.focus();
|
|
24425
|
-
_this.
|
|
24435
|
+
_this.refreshUserImageHeaderBackground(_this.userImageUri);
|
|
24426
24436
|
_this.eventService.trigger(i1.EnaioEvent.SYSTEM_STATUS_IMAGE_CHANGE);
|
|
24427
|
-
_this.userAvatar.createUserBackground();
|
|
24428
24437
|
_this.closePreviewDialog();
|
|
24429
24438
|
_this.showDeleteIconTrash = true;
|
|
24430
24439
|
},
|
|
@@ -24449,10 +24458,10 @@
|
|
|
24449
24458
|
SettingsComponent.prototype.trashIconClick = function () {
|
|
24450
24459
|
this.showDeleteDialog = true;
|
|
24451
24460
|
};
|
|
24452
|
-
SettingsComponent.prototype.
|
|
24461
|
+
SettingsComponent.prototype.refreshUserImageHeaderBackground = function (imageUri) {
|
|
24453
24462
|
if (imageUri) {
|
|
24454
24463
|
var timestamp = new Date().getTime().toString();
|
|
24455
|
-
this.renderer.setStyle(this.headerBg.nativeElement, 'background-image', "url(" + (imageUri + '
|
|
24464
|
+
this.renderer.setStyle(this.headerBg.nativeElement, 'background-image', "url(" + (imageUri + '&t=' + timestamp) + ")");
|
|
24456
24465
|
}
|
|
24457
24466
|
};
|
|
24458
24467
|
SettingsComponent.prototype.clearCache = function () {
|
|
@@ -24788,10 +24797,10 @@
|
|
|
24788
24797
|
this.http = http;
|
|
24789
24798
|
this.userService = userService;
|
|
24790
24799
|
this.config = config;
|
|
24791
|
-
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": "9.0.0-rc.
|
|
24800
|
+
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": "9.0.0-rc.7", "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": "7.0.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" }];
|
|
24792
24801
|
this.ctrl = {
|
|
24793
24802
|
productName: 'yuuvis® RAD client',
|
|
24794
|
-
clientVersion: '9.0.0-rc.
|
|
24803
|
+
clientVersion: '9.0.0-rc.7'
|
|
24795
24804
|
};
|
|
24796
24805
|
this.licenses = {
|
|
24797
24806
|
'MIT': {
|