@eo-sdk/client 9.0.0-rc.4 → 9.0.0-rc.5
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/grid/column-configurator/column-configurator.component.d.ts +2 -0
- package/app/eo-framework/grid/extensions/filter/setFilters/set-filter.component.d.ts +1 -0
- package/app/eo-framework-core/api/grid.service.d.ts +8 -2
- package/assets/_default/i18n/de.json +7 -6
- package/assets/_default/i18n/en.json +7 -6
- package/bundles/eo-sdk-client-projects-eo-sdk-core.umd.js +4 -2
- 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 +54 -19
- 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/grid/column-configurator/column-configurator.component.js +31 -6
- package/esm2015/app/eo-framework/grid/extensions/filter/setFilters/set-filter.component.js +4 -2
- package/esm2015/app/eo-framework/grid/extensions/filter/text/text-filter.component.js +2 -3
- package/esm2015/app/eo-framework/grid/filters/list-filter.component.js +2 -2
- package/esm2015/app/eo-framework/object-details/object-history/object-history.component.js +4 -3
- package/esm2015/app/eo-framework/result-list/result-list.component.js +3 -3
- package/esm2015/app/eo-framework-core/api/grid.service.js +11 -5
- package/esm2015/projects/eo-sdk/core/lib/service/search/search-query.model.js +3 -2
- package/esm2015/projects/eo-sdk/core/lib/service/search/search.service.js +2 -2
- package/fesm2015/eo-sdk-client-projects-eo-sdk-core.js +3 -2
- package/fesm2015/eo-sdk-client-projects-eo-sdk-core.js.map +1 -1
- package/fesm2015/eo-sdk-client.js +52 -19
- 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 +8 -1
- package/projects/eo-sdk/core/package.json +1 -1
- package/scss/_form.scss +2 -2
- package/styles.css +1 -1
|
@@ -1447,8 +1447,8 @@ class GridService {
|
|
|
1447
1447
|
updateContext(typeOpts, options = {}) {
|
|
1448
1448
|
Object.assign(this.context, { typeOpts: (typeOpts && typeOpts.length ? typeOpts : this.system.getObjectTypes().map(o => o.qname)) }, options);
|
|
1449
1449
|
}
|
|
1450
|
-
getColumnDefs(elements, sortorder = [], grouporder = [], pinned = [], enableRowGroup = true, cachedColumns = [], mode) {
|
|
1451
|
-
return elements.map(f => this.getColumnDefinition(f, sortorder, grouporder, pinned, enableRowGroup, cachedColumns, mode));
|
|
1450
|
+
getColumnDefs(elements, sortorder = [], grouporder = [], pinned = [], alignmentx = [], enableRowGroup = true, cachedColumns = [], mode) {
|
|
1451
|
+
return elements.map(f => this.getColumnDefinition(f, sortorder, grouporder, pinned, alignmentx, enableRowGroup, cachedColumns, mode));
|
|
1452
1452
|
}
|
|
1453
1453
|
/**
|
|
1454
1454
|
* Renders the visual output of form elements based on its type etc. (see IndexdataSummaryComponent for usage details)
|
|
@@ -1498,7 +1498,7 @@ class GridService {
|
|
|
1498
1498
|
*
|
|
1499
1499
|
* @param sortFields - Array of fields to be sorted
|
|
1500
1500
|
*/
|
|
1501
|
-
getColumnDefinition(resultField, sortFields = [], groupFields = [], pinnedFields = [], enableRowGroup = false, cachedColumns = [], mode) {
|
|
1501
|
+
getColumnDefinition(resultField, sortFields = [], groupFields = [], pinnedFields = [], alignmentFields = [], enableRowGroup = false, cachedColumns = [], mode) {
|
|
1502
1502
|
let colDef = {};
|
|
1503
1503
|
colDef.headerName = resultField.label;
|
|
1504
1504
|
colDef.field = resultField.hitname || resultField.name;
|
|
@@ -1510,7 +1510,6 @@ class GridService {
|
|
|
1510
1510
|
return params.node.group || !params.data ? '' : params.data[colDef.field];
|
|
1511
1511
|
};
|
|
1512
1512
|
colDef.refData = { qname: resultField.qname || '' };
|
|
1513
|
-
colDef.cellStyle = { 'justify-content': resultField.alignmentx ? resultField.alignmentx : 'unset' };
|
|
1514
1513
|
/**
|
|
1515
1514
|
* headerClass
|
|
1516
1515
|
* add special header class for fields from the contextfolder
|
|
@@ -1578,6 +1577,13 @@ class GridService {
|
|
|
1578
1577
|
if (cachedColumn) {
|
|
1579
1578
|
colDef.width = cachedColumn.width;
|
|
1580
1579
|
}
|
|
1580
|
+
let alignmentField = alignmentFields.find(f => f.qname === resultField.qname);
|
|
1581
|
+
if (alignmentField && alignmentField.value) {
|
|
1582
|
+
colDef.cellStyle = { 'justify-content': alignmentField.value };
|
|
1583
|
+
}
|
|
1584
|
+
else {
|
|
1585
|
+
colDef.cellStyle = { 'justify-content': resultField.alignmentx ? resultField.alignmentx : '' };
|
|
1586
|
+
}
|
|
1581
1587
|
return colDef;
|
|
1582
1588
|
}
|
|
1583
1589
|
/**
|
|
@@ -12074,10 +12080,12 @@ class SetFilterComponent extends AbstractFilterComponent {
|
|
|
12074
12080
|
this.title = '';
|
|
12075
12081
|
this.searchLimit = 10;
|
|
12076
12082
|
this.operator = 'OR'; // AND | OR
|
|
12083
|
+
this.selectedAllFilters = false;
|
|
12077
12084
|
this.id = '#set';
|
|
12078
12085
|
}
|
|
12079
12086
|
set options(opts) {
|
|
12080
12087
|
this._options = this.defaultValue ? opts || [] : this.settingsService.setupSettings(this.id, opts);
|
|
12088
|
+
this.selectedAllFilters = this.options.every(opt => opt.value);
|
|
12081
12089
|
if (this.options && this.params && this.isFilterActive()) {
|
|
12082
12090
|
setTimeout(() => this.params.filterChangedCallback(), 0);
|
|
12083
12091
|
}
|
|
@@ -12123,7 +12131,7 @@ class SetFilterComponent extends AbstractFilterComponent {
|
|
|
12123
12131
|
SetFilterComponent.decorators = [
|
|
12124
12132
|
{ type: Component, args: [{
|
|
12125
12133
|
selector: 'eo-set-filter',
|
|
12126
|
-
template: "<header class=\"filter__header\">\n <h3 class=\"filter__title title\" *ngIf=\"title\">{{title}}</h3>\n <input *ngIf=\"options?.length > searchLimit\" #input (ngModelChange)=\"onSearchChange($event)\" [ngModel]=\"''\"\n class=\"form-control\" placeholder=\"{{ 'eo.resultlist.grid.searchOoo' | translate}}\">\n <div class=\"option flex-row\">\n <eo-checkbox (ngModelChange)=\"onChange($event)\" [ngModel]=\"
|
|
12134
|
+
template: "<header class=\"filter__header\">\n <h3 class=\"filter__title title\" *ngIf=\"title\">{{title}}</h3>\n <input *ngIf=\"options?.length > searchLimit\" #input (ngModelChange)=\"onSearchChange($event)\" [ngModel]=\"''\"\n class=\"form-control\" placeholder=\"{{ 'eo.resultlist.grid.searchOoo' | translate}}\">\n <div class=\"option flex-row\">\n <eo-checkbox (ngModelChange)=\"onChange($event)\" [ngModel]=\"selectedAllFilters\" [tristate]=\"false\"></eo-checkbox>\n <label>({{'eo.resultlist.grid.selectAll' | translate}})</label>\n </div>\n</header>\n<div class=\"option flex-row\" *ngFor=\"let item of options\" [hidden]=\"item.hidden\">\n <eo-checkbox (ngModelChange)=\"onChange($event, item)\" [ngModel]=\"item.value\" [tristate]=\"false\"></eo-checkbox>\n <label [innerHTML]=\"item.label | safeHtml\"></label>\n</div>\n",
|
|
12127
12135
|
styles: [".title{font-weight:700;margin-top:.5em}.option{margin:.5em 0}label{padding:0 .5em}input{border:none}"]
|
|
12128
12136
|
},] }
|
|
12129
12137
|
];
|
|
@@ -12179,7 +12187,7 @@ class ListFilterComponent extends SetFilterComponent {
|
|
|
12179
12187
|
ListFilterComponent.decorators = [
|
|
12180
12188
|
{ type: Component, args: [{
|
|
12181
12189
|
selector: 'eo-list-filter',
|
|
12182
|
-
template: "<header class=\"filter__header\">\n <h3 class=\"filter__title title\" *ngIf=\"title\">{{title}}</h3>\n <input *ngIf=\"options?.length > searchLimit\" #input (ngModelChange)=\"onSearchChange($event)\" [ngModel]=\"''\"\n class=\"form-control\" placeholder=\"{{ 'eo.resultlist.grid.searchOoo' | translate}}\">\n <div class=\"option flex-row\">\n <eo-checkbox (ngModelChange)=\"onChange($event)\" [ngModel]=\"
|
|
12190
|
+
template: "<header class=\"filter__header\">\n <h3 class=\"filter__title title\" *ngIf=\"title\">{{title}}</h3>\n <input *ngIf=\"options?.length > searchLimit\" #input (ngModelChange)=\"onSearchChange($event)\" [ngModel]=\"''\"\n class=\"form-control\" placeholder=\"{{ 'eo.resultlist.grid.searchOoo' | translate}}\">\n <div class=\"option flex-row\">\n <eo-checkbox (ngModelChange)=\"onChange($event)\" [ngModel]=\"selectedAllFilters\" [tristate]=\"false\"></eo-checkbox>\n <label>({{'eo.resultlist.grid.selectAll' | translate}})</label>\n </div>\n</header>\n<div class=\"option flex-row\" *ngFor=\"let item of options\" [hidden]=\"item.hidden\">\n <eo-checkbox (ngModelChange)=\"onChange($event, item)\" [ngModel]=\"item.value\" [tristate]=\"false\"></eo-checkbox>\n <label [innerHTML]=\"item.label | safeHtml\"></label>\n</div>\n",
|
|
12183
12191
|
styles: [".title{font-weight:700;margin-top:.5em}.option{margin:.5em 0}label{padding:0 .5em}input{border:none}"]
|
|
12184
12192
|
},] }
|
|
12185
12193
|
];
|
|
@@ -12577,6 +12585,7 @@ class ColumnConfiguratorComponent {
|
|
|
12577
12585
|
this.hasPrivilege = false;
|
|
12578
12586
|
this.onConfigChanged = new EventEmitter();
|
|
12579
12587
|
this.visible = false;
|
|
12588
|
+
this.alignmentValue = 'Automatic';
|
|
12580
12589
|
this.userService
|
|
12581
12590
|
.user$
|
|
12582
12591
|
.subscribe((user) => {
|
|
@@ -12594,7 +12603,7 @@ class ColumnConfiguratorComponent {
|
|
|
12594
12603
|
* @param boolean asDefault
|
|
12595
12604
|
*/
|
|
12596
12605
|
saveConfig(asDefault = false) {
|
|
12597
|
-
let data = new FieldDefinition([], [], [], []);
|
|
12606
|
+
let data = new FieldDefinition([], [], [], [], []);
|
|
12598
12607
|
data.elements = this.currentFields.map(col => {
|
|
12599
12608
|
if (col.confmeta.sort) {
|
|
12600
12609
|
data.sortorder.push({
|
|
@@ -12612,6 +12621,12 @@ class ColumnConfiguratorComponent {
|
|
|
12612
12621
|
qname: col.qname
|
|
12613
12622
|
});
|
|
12614
12623
|
}
|
|
12624
|
+
if (col.confmeta.alignmentx) {
|
|
12625
|
+
data.alignmentx.push({
|
|
12626
|
+
qname: col.qname,
|
|
12627
|
+
value: col.confmeta.alignmentx
|
|
12628
|
+
});
|
|
12629
|
+
}
|
|
12615
12630
|
return {
|
|
12616
12631
|
qname: col.qname
|
|
12617
12632
|
};
|
|
@@ -12635,18 +12650,21 @@ class ColumnConfiguratorComponent {
|
|
|
12635
12650
|
let sortEntry = res.current.sortorder.find((a) => el.qname === a.qname);
|
|
12636
12651
|
// let groupEntry = res.current.grouporder.find((a: any) => el.qname === a.qname);
|
|
12637
12652
|
let pinnedEntry = res.current.pinned.find((a) => el.qname === a.qname);
|
|
12653
|
+
let alignmentEntry = res.current.alignmentx.find((a) => el.qname === a.qname);
|
|
12638
12654
|
el.confmeta = {
|
|
12639
12655
|
sort: sortEntry ? (sortEntry.direction || '').toLowerCase() : null,
|
|
12640
12656
|
// group: !!groupEntry,
|
|
12641
12657
|
pinned: !!pinnedEntry,
|
|
12642
|
-
modified: false
|
|
12658
|
+
modified: false,
|
|
12659
|
+
alignmentx: alignmentEntry ? alignmentEntry.value : null
|
|
12643
12660
|
};
|
|
12644
12661
|
});
|
|
12645
12662
|
this.isDefaultConfig = res.current.mode !== 'USER';
|
|
12646
12663
|
this.originalFields = res.current.elements;
|
|
12647
12664
|
this.currentFields = this.eoGrid.columns.filter(column => column.isVisible()).map(({ colDef, sort, pinned }, index) => {
|
|
12648
12665
|
const i = this.originalFields.findIndex(f => GridService.qnameMatch(f.qname, colDef.refData.qname)), field = this.originalFields[i];
|
|
12649
|
-
return Object.assign(Object.assign({}, field), { confmeta: { sort, pinned,
|
|
12666
|
+
return Object.assign(Object.assign({}, field), { confmeta: { sort, pinned, alignmentx: field.confmeta.alignmentx,
|
|
12667
|
+
modified: i !== index || (field.confmeta.sort || '') !== (sort || '') || !!field.confmeta.alignmentx } });
|
|
12650
12668
|
});
|
|
12651
12669
|
this.availableFields = res.available.elements.filter((col) => {
|
|
12652
12670
|
return !this.currentFields.find((c) => c.qname === col.qname);
|
|
@@ -12708,6 +12726,21 @@ class ColumnConfiguratorComponent {
|
|
|
12708
12726
|
item.confmeta.sort = null;
|
|
12709
12727
|
}
|
|
12710
12728
|
}
|
|
12729
|
+
toggleAlignment(item, $event) {
|
|
12730
|
+
this.togglePrevent(item, $event);
|
|
12731
|
+
if (!item.confmeta.alignmentx) {
|
|
12732
|
+
item.confmeta.alignmentx = 'right';
|
|
12733
|
+
}
|
|
12734
|
+
else if (item.confmeta.alignmentx === 'right') {
|
|
12735
|
+
item.confmeta.alignmentx = 'center';
|
|
12736
|
+
}
|
|
12737
|
+
else if (item.confmeta.alignmentx === 'center') {
|
|
12738
|
+
item.confmeta.alignmentx = 'left';
|
|
12739
|
+
}
|
|
12740
|
+
else if (item.confmeta.alignmentx === 'left') {
|
|
12741
|
+
item.confmeta.alignmentx = null;
|
|
12742
|
+
}
|
|
12743
|
+
}
|
|
12711
12744
|
// toggleGroup(item, $event) {
|
|
12712
12745
|
// this.togglePrevent(item, $event);
|
|
12713
12746
|
// item.confmeta.group = !item.confmeta.group;
|
|
@@ -12727,8 +12760,8 @@ class ColumnConfiguratorComponent {
|
|
|
12727
12760
|
ColumnConfiguratorComponent.decorators = [
|
|
12728
12761
|
{ type: Component, args: [{
|
|
12729
12762
|
selector: 'eo-column-configurator',
|
|
12730
|
-
template: "<div class=\"configurator\">\n\n <div class=\"bar\">\n <div class=\"title\" translate>eo.column.config.title</div>\n <button (click)=\"resetDefault()\" *ngIf=\"!isDefaultConfig\" translate>eo.column.config.action.resetdefault</button>\n <button (click)=\"toggleConfigMode()\" translate>eo.column.config.action.close</button>\n <button (click)=\"saveConfig(true)\" class=\"primary\" [disabled]=\"!currentFields?.length\" *ngIf=\"hasPrivilege\" translate>eo.column.config.action.save.default</button>\n <button (click)=\"saveConfig()\" class=\"primary\" [disabled]=\"!currentFields?.length\" translate>eo.column.config.action.save</button>\n </div>\n\n <div class=\"info\" *ngIf=\"info\">{{info}}</div>\n\n <div class=\"column-config\" cdkDropListGroup>\n\n <div class=\"scroller current\">\n <div class=\"headline\" translate>eo.column.config.headline.current</div>\n <div class=\"items\" cdkDropList (cdkDropListDropped)=\"drop($event, 'current')\" [cdkDropListData]=\"currentFields\">\n <div class=\"item\" cdkDragHandle cdkDrag [cdkDragData]=\"field\" *ngFor=\"let field of currentFields; index as i\">\n <div class=\"entry\" [ngClass]=\"{modified: field.confmeta.modified, sfe: field.selectedforenrichment}\">\n <div class=\"label\" [ngClass]=\"{baseparam: field.baseparameter}\">{{field.label}}</div>\n <div class=\"group\" [ngClass]=\"{on: field.confmeta.pinned}\" (click)=\"togglePinned(field, $event)\" translate>eo.column.config.pinned</div>\n <!--<div class=\"group\" [ngClass]=\"{on: field.confmeta.group}\" (click)=\"toggleGroup(field, $event)\" translate>eo.column.config.group</div>-->\n <div class=\"sort\" [ngClass]=\"{on: field.confmeta.sort, asc: field.confmeta.sort === 'asc', desc: field.confmeta.sort === 'desc', disabled: !field.sortable}\"
|
|
12731
|
-
styles: [".cdk-drag-preview{display:none}.cdk-drag-placeholder .entry{border-style:dashed!important;opacity:.9}.cdk-drop-list-dragging .cdk-drag{transition:transform .25s cubic-bezier(0,0,.2,1)}.cdk-drag-animating{transition:transform .3s cubic-bezier(0,0,.2,1)}:host{-webkit-animation:eoFadeIn var(--app-default-transition-duration) 1 ease-in-out;animation:eoFadeIn var(--app-default-transition-duration) 1 ease-in-out;background:var(--color-white);bottom:0;display:flex;display:none;flex:1;flex-direction:column;height:100%;left:0;min-height:0;min-width:0;position:absolute;right:0;top:0;width:100%;z-index:10}:host.visible{display:block;overflow-x:auto}:host .configurator{flex:1;flex-direction:column;height:100%}:host .bar,:host .configurator{display:flex;min-height:0;min-width:0}:host .bar{align-items:center;background:var(--color-accent);color:var(--color-white);flex:none;flex-direction:row;min-width:560px;padding:calc(var(--app-pane-padding)/2) var(--app-pane-padding)}:host .bar .title{flex:1 1 auto;font-size:var(--font-subhead)}:host .bar button{color:rgba(var(--color-white-rgb),.87);margin:4px}:host .bar button.primary,:host .bar button:hover{background:rgba(var(--color-white-rgb),.1)}:host .bar button.primary{border:1px solid var(--color-white);color:var(--color-white);white-space:nowrap}:host .bar button.primary:hover{background:rgba(var(--color-white-rgb),.3)}:host .info{color:var(--color-accent);font-size:var(--font-title);font-weight:var(--font-weight-light);line-height:1em;margin:var(--app-pane-padding)}:host .column-config{--cc-border-color:rgba(var(--color-black-rgb),0.15);display:flex;flex:1;flex-direction:row;margin:var(--app-pane-padding);min-height:0;min-width:0}:host .column-config .scroller{background:var(--panel-background-lightgrey);border:1px solid var(--cc-border-color);display:flex;flex:2;flex-direction:column;min-height:0;min-width:0;min-width:300px}:host .column-config .scroller:last-child{flex:1;min-width:200px}[dir=ltr] :host .column-config .scroller:last-child{margin-left:var(--app-pane-padding)}[dir=rtl] :host .column-config .scroller:last-child{margin-right:var(--app-pane-padding)}:host .column-config .scroller .headline{border-bottom:1px solid var(--cc-border-color);color:var(--text-color-caption);padding:calc(var(--app-pane-padding)/2)}:host .column-config .scroller .items{display:flex;flex:1;flex-direction:column;min-height:0;min-width:0;overflow-y:auto;padding:calc(var(--app-pane-padding)/2)}:host .column-config .scroller .items .entry{-khtml-user-select:none;-moz-transition:all var(--app-default-transition-duration) ease-in-out;-moz-user-select:none;-ms-user-select:none;-o-transition:all var(--app-default-transition-duration) ease-in-out;-webkit-touch-callout:none;-webkit-transition:all var(--app-default-transition-duration) ease-in-out;-webkit-user-select:none;background:var(--color-white);border:1px solid var(--cc-border-color);cursor:default;cursor:move;display:flex;flex:1;flex-direction:row;margin:4px 0;min-height:0;min-width:0;overflow:hidden;padding:calc(var(--app-pane-padding)/2);transition:all var(--app-default-transition-duration) ease-in-out;user-select:none}:host .column-config .scroller .items .entry:before{background:rgba(var(--color-black-rgb),.06);content:\" \";height:1.5em;width:calc(var(--app-pane-padding)/2)}[dir=ltr] :host .column-config .scroller .items .entry:before{margin-right:calc(var(--app-pane-padding)/2)}[dir=rtl] :host .column-config .scroller .items .entry:before{margin-left:calc(var(--app-pane-padding)/2)}:host .column-config .scroller .items .entry.sfe:before{background:rgba(var(--color-black-rgb),.26);color:var(--color-white);content:\"*\";text-align:center}:host .column-config .scroller .items .entry.modified:before{background:var(--color-accent)}:host .column-config .scroller .items .entry .label{flex:1 1 auto}:host .column-config .scroller .items .entry .label.baseparam{font-style:italic}:host .column-config .scroller .items .entry .sort:after{-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;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAAGFBMVEUAAAD///8AAAAAAAAAAAAAAAAAAAAAAAB5sPD/AAAACHRSTlMAAAEnK2xwihv2e6MAAAAkSURBVAgdBcGBAQAgDMMgmvn/zcIGMO6xUBHXIqLkYkmQDfABCHAAOCt/xSYAAAAASUVORK5CYII=);content:\"\";display:inline-block;height:8px;opacity:0;transition:all var(--app-default-transition-duration) ease-in-out;width:8px}[dir=ltr] :host .column-config .scroller .items .entry .sort:after{margin-left:4px}[dir=rtl] :host .column-config .scroller .items .entry .sort:after{margin-right:4px}:host .column-config .scroller .items .entry .sort.asc:after{opacity:1}:host .column-config .scroller .items .entry .sort.desc:after{opacity:1;transform:rotate(180deg)}:host .column-config .scroller .items .entry .group,:host .column-config .scroller .items .entry .sort{-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;background:rgba(var(--color-black-rgb),.06);border:1px solid rgba(var(--color-black-rgb),0);border-radius:2px;color:rgba(var(--color-black-rgb),.33);font-size:var(--font-hint);margin:0 4px;padding:0 4px;transition:all var(--app-default-transition-duration) ease-in-out;white-space:nowrap}:host .column-config .scroller .items .entry .group:hover,:host .column-config .scroller .items .entry .sort:hover{border-color:rgba(var(--color-black-rgb),.22);color:var(--text-color-caption)}:host .column-config .scroller .items .entry .group.on,:host .column-config .scroller .items .entry .sort.on{border-color:var(--color-accent-light);color:var(--color-accent-light)}:host .column-config .scroller .items .entry .group.disabled,:host .column-config .scroller .items .entry .sort.disabled{border:1px solid rgba(var(--color-black-rgb),0);color:rgba(var(--color-black-rgb),.33);cursor:default;text-decoration:line-through}"]
|
|
12763
|
+
template: "<div class=\"configurator\">\n\n <div class=\"bar\">\n <div class=\"title\" translate>eo.column.config.title</div>\n <button (click)=\"resetDefault()\" *ngIf=\"!isDefaultConfig\" translate>eo.column.config.action.resetdefault</button>\n <button (click)=\"toggleConfigMode()\" translate>eo.column.config.action.close</button>\n <button (click)=\"saveConfig(true)\" class=\"primary\" [disabled]=\"!currentFields?.length\" *ngIf=\"hasPrivilege\" translate>eo.column.config.action.save.default</button>\n <button (click)=\"saveConfig()\" class=\"primary\" [disabled]=\"!currentFields?.length\" translate>eo.column.config.action.save</button>\n </div>\n\n <div class=\"info\" *ngIf=\"info\">{{info}}</div>\n\n <div class=\"column-config\" cdkDropListGroup>\n\n <div class=\"scroller current\">\n <div class=\"headline\" translate>eo.column.config.headline.current</div>\n <div class=\"items\" cdkDropList (cdkDropListDropped)=\"drop($event, 'current')\" [cdkDropListData]=\"currentFields\">\n <div class=\"item\" cdkDragHandle cdkDrag [cdkDragData]=\"field\" *ngFor=\"let field of currentFields; index as i\">\n <div class=\"entry\" [ngClass]=\"{modified: field.confmeta.modified, sfe: field.selectedforenrichment}\">\n <div class=\"label\" [ngClass]=\"{baseparam: field.baseparameter}\">{{field.label}}</div>\n <div class=\"group\" [ngClass]=\"{on: field.confmeta.pinned}\" (click)=\"togglePinned(field, $event)\" translate>\n <span class=\"config-label\" translate>eo.column.config.pinned</span>\n </div>\n <!--<div class=\"group\" [ngClass]=\"{on: field.confmeta.group}\" (click)=\"toggleGroup(field, $event)\" translate>eo.column.config.group</div>-->\n <div class=\"sort\" [ngClass]=\"{on: field.confmeta.sort, asc: field.confmeta.sort === 'asc', desc: field.confmeta.sort === 'desc', disabled: !field.sortable}\"\n (click)=\"field.sortable && toggleSort(field, $event)\"><span class=\"config-label\" translate>eo.column.config.sort</span></div>\n <div class=\"alignment\" [ngClass]=\"{on: field.confmeta.alignmentx, left: field.confmeta.alignmentx === 'left',\n right: field.confmeta.alignmentx === 'right', center: field.confmeta.alignmentx === 'center'}\"\n (click)=\"toggleAlignment(field, $event)\"><span class=\"config-label\" translate>eo.column.config.alignment</span>\n <img *ngIf=\"field.confmeta.alignmentx === 'center'\" class=\"center-second\" src=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAAGFBMVEUAAAD///8AAAAAAAAAAAAAAAAAAAAAAAB5sPD/AAAACHRSTlMAAAEnK2xwihv2e6MAAAAkSURBVAgdBcGBAQAgDMMgmvn/zcIGMO6xUBHXIqLkYkmQDfABCHAAOCt/xSYAAAAASUVORK5CYII=\">\n </div>\n </div>\n </div>\n\n </div>\n </div>\n\n <div class=\"scroller available\">\n <div class=\"headline\" translate>eo.column.config.headline.available</div>\n <div class=\"items\" cdkDropList (cdkDropListDropped)=\"drop($event, 'available')\" [cdkDropListData]=\"availableFields\">\n <div class=\"item\" cdkDragHandle cdkDrag [cdkDragData]=\"field\" *ngFor=\"let field of availableFields; index as i\">\n <div class=\"entry\" [ngClass]=\"{modified: field.confmeta.modified, sfe: field.selectedforenrichment}\">\n <div class=\"label\" [ngClass]=\"{baseparam: field.baseparameter}\">{{field.label}}</div>\n </div>\n </div>\n </div>\n </div>\n\n </div>\n\n</div>\n",
|
|
12764
|
+
styles: [".cdk-drag-preview{display:none}.cdk-drag-placeholder .entry{border-style:dashed!important;opacity:.9}.cdk-drop-list-dragging .cdk-drag{transition:transform .25s cubic-bezier(0,0,.2,1)}.cdk-drag-animating{transition:transform .3s cubic-bezier(0,0,.2,1)}:host{-webkit-animation:eoFadeIn var(--app-default-transition-duration) 1 ease-in-out;animation:eoFadeIn var(--app-default-transition-duration) 1 ease-in-out;background:var(--color-white);bottom:0;display:flex;display:none;flex:1;flex-direction:column;height:100%;left:0;min-height:0;min-width:0;position:absolute;right:0;top:0;width:100%;z-index:10}:host.visible{display:block;overflow-x:auto}:host .configurator{flex:1;flex-direction:column;height:100%}:host .bar,:host .configurator{display:flex;min-height:0;min-width:0}:host .bar{align-items:center;background:var(--color-accent);color:var(--color-white);flex:none;flex-direction:row;min-width:560px;padding:calc(var(--app-pane-padding)/2) var(--app-pane-padding)}:host .bar .title{flex:1 1 auto;font-size:var(--font-subhead)}:host .bar button{color:rgba(var(--color-white-rgb),.87);margin:4px}:host .bar button.primary,:host .bar button:hover{background:rgba(var(--color-white-rgb),.1)}:host .bar button.primary{border:1px solid var(--color-white);color:var(--color-white);white-space:nowrap}:host .bar button.primary:hover{background:rgba(var(--color-white-rgb),.3)}:host .info{color:var(--color-accent);font-size:var(--font-title);font-weight:var(--font-weight-light);line-height:1em;margin:var(--app-pane-padding)}:host .column-config{--cc-border-color:rgba(var(--color-black-rgb),0.15);display:flex;flex:1;flex-direction:row;margin:var(--app-pane-padding);min-height:0;min-width:0}:host .column-config .scroller{background:var(--panel-background-lightgrey);border:1px solid var(--cc-border-color);display:flex;flex:2;flex-direction:column;min-height:0;min-width:0;min-width:300px}:host .column-config .scroller:last-child{flex:1;min-width:200px}[dir=ltr] :host .column-config .scroller:last-child{margin-left:var(--app-pane-padding)}[dir=rtl] :host .column-config .scroller:last-child{margin-right:var(--app-pane-padding)}:host .column-config .scroller .headline{border-bottom:1px solid var(--cc-border-color);color:var(--text-color-caption);padding:calc(var(--app-pane-padding)/2)}:host .column-config .scroller .items{display:flex;flex:1;flex-direction:column;min-height:0;min-width:0;overflow-y:auto;padding:calc(var(--app-pane-padding)/2)}:host .column-config .scroller .items .entry{-khtml-user-select:none;-moz-transition:all var(--app-default-transition-duration) ease-in-out;-moz-user-select:none;-ms-user-select:none;-o-transition:all var(--app-default-transition-duration) ease-in-out;-webkit-touch-callout:none;-webkit-transition:all var(--app-default-transition-duration) ease-in-out;-webkit-user-select:none;background:var(--color-white);border:1px solid var(--cc-border-color);cursor:default;cursor:move;display:flex;flex:1;flex-direction:row;margin:4px 0;min-height:0;min-width:0;overflow:hidden;padding:calc(var(--app-pane-padding)/2);transition:all var(--app-default-transition-duration) ease-in-out;user-select:none}:host .column-config .scroller .items .entry:before{background:rgba(var(--color-black-rgb),.06);content:\" \";height:1.5em;width:calc(var(--app-pane-padding)/2)}[dir=ltr] :host .column-config .scroller .items .entry:before{margin-right:calc(var(--app-pane-padding)/2)}[dir=rtl] :host .column-config .scroller .items .entry:before{margin-left:calc(var(--app-pane-padding)/2)}:host .column-config .scroller .items .entry.sfe:before{background:rgba(var(--color-black-rgb),.26);color:var(--color-white);content:\"*\";text-align:center}:host .column-config .scroller .items .entry.modified:before{background:var(--color-accent)}:host .column-config .scroller .items .entry .label{flex:1 1 auto}:host .column-config .scroller .items .entry .label.baseparam{font-style:italic}:host .column-config .scroller .items .entry .sort:after{-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;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAAGFBMVEUAAAD///8AAAAAAAAAAAAAAAAAAAAAAAB5sPD/AAAACHRSTlMAAAEnK2xwihv2e6MAAAAkSURBVAgdBcGBAQAgDMMgmvn/zcIGMO6xUBHXIqLkYkmQDfABCHAAOCt/xSYAAAAASUVORK5CYII=);content:\"\";display:inline-block;height:8px;opacity:0;position:relative;top:2px;transition:all var(--app-default-transition-duration) ease-in-out;width:8px}[dir=ltr] :host .column-config .scroller .items .entry .sort:after{margin-left:4px}[dir=rtl] :host .column-config .scroller .items .entry .sort:after{margin-right:4px}:host .column-config .scroller .items .entry .sort.asc:after{opacity:1}:host .column-config .scroller .items .entry .sort.desc:after{opacity:1;transform:rotate(180deg)}:host .column-config .scroller .items .entry .alignment:after{-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;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAAGFBMVEUAAAD///8AAAAAAAAAAAAAAAAAAAAAAAB5sPD/AAAACHRSTlMAAAEnK2xwihv2e6MAAAAkSURBVAgdBcGBAQAgDMMgmvn/zcIGMO6xUBHXIqLkYkmQDfABCHAAOCt/xSYAAAAASUVORK5CYII=);content:\"\";display:inline-block;height:8px;opacity:0;position:relative;top:2px;transform:rotate(270deg);transition:all var(--app-default-transition-duration) ease-in-out;width:8px}[dir=ltr] :host .column-config .scroller .items .entry .alignment:after{margin-left:4px}[dir=rtl] :host .column-config .scroller .items .entry .alignment:after{margin-right:4px}:host .column-config .scroller .items .entry .alignment.center:after,:host .column-config .scroller .items .entry .alignment.left:after{opacity:1}:host .column-config .scroller .items .entry .alignment.right:after{opacity:1;transform:rotate(90deg)}:host .column-config .scroller .items .entry .alignment .center-second{margin-left:2px;position:relative;top:2px;transform:rotate(90deg)}:host .column-config .scroller .items .entry .alignment,:host .column-config .scroller .items .entry .group,:host .column-config .scroller .items .entry .sort{-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;background:rgba(var(--color-black-rgb),.06);border:1px solid rgba(var(--color-black-rgb),0);border-radius:2px;color:rgba(var(--color-black-rgb),.33);font-size:var(--font-hint);margin:0 4px;padding:0 4px;transition:all var(--app-default-transition-duration) ease-in-out;white-space:nowrap}:host .column-config .scroller .items .entry .alignment:hover,:host .column-config .scroller .items .entry .group:hover,:host .column-config .scroller .items .entry .sort:hover{border-color:rgba(var(--color-black-rgb),.22);color:var(--text-color-caption)}:host .column-config .scroller .items .entry .alignment.on,:host .column-config .scroller .items .entry .group.on,:host .column-config .scroller .items .entry .sort.on{border-color:var(--color-accent-light);color:var(--color-accent-light)}:host .column-config .scroller .items .entry .alignment.disabled,:host .column-config .scroller .items .entry .group.disabled,:host .column-config .scroller .items .entry .sort.disabled{border:1px solid rgba(var(--color-black-rgb),0);color:rgba(var(--color-black-rgb),.33);cursor:default;text-decoration:line-through}:host .column-config .scroller .items .entry .alignment .config-label,:host .column-config .scroller .items .entry .group .config-label,:host .column-config .scroller .items .entry .sort .config-label{position:relative;top:2px}"]
|
|
12732
12765
|
},] }
|
|
12733
12766
|
];
|
|
12734
12767
|
ColumnConfiguratorComponent.ctorParameters = () => [
|
|
@@ -12908,7 +12941,7 @@ class TextFilterComponent extends AbstractFilterComponent {
|
|
|
12908
12941
|
}
|
|
12909
12942
|
focusout() {
|
|
12910
12943
|
this.focused = false;
|
|
12911
|
-
if (!this.autocompleteRes.includes(this.value) && this.value !== '' && this.value.trim() !== '') {
|
|
12944
|
+
if (this.value && !this.autocompleteRes.includes(this.value) && this.value !== '' && this.value.trim() !== '') {
|
|
12912
12945
|
if (this.autocompleteRes.length === 5) {
|
|
12913
12946
|
this.autocompleteRes.shift();
|
|
12914
12947
|
}
|
|
@@ -12925,7 +12958,6 @@ class TextFilterComponent extends AbstractFilterComponent {
|
|
|
12925
12958
|
}
|
|
12926
12959
|
autocompleteFn(evt) {
|
|
12927
12960
|
this.autocompleteRes = this.storageService.getItem('eo.inbox.filter.suggestions') || [];
|
|
12928
|
-
this.autocompleteRes.reverse();
|
|
12929
12961
|
}
|
|
12930
12962
|
}
|
|
12931
12963
|
TextFilterComponent.decorators = [
|
|
@@ -16968,9 +17000,9 @@ class ResultListComponent extends UnsubscribeOnDestroy {
|
|
|
16968
17000
|
const searchMode = result.fields.mode ? result.fields.mode : null;
|
|
16969
17001
|
this.settings = this.limitedList && this.query ? { total: this.totalHits, size: this.VIRTUAL_LIST_CHUNK_SIZE, relation: result.count.relation } : null;
|
|
16970
17002
|
gridOptions.rowData = result.hits;
|
|
16971
|
-
const { elements, sortorder, grouporder, pinned } = result.fields;
|
|
17003
|
+
const { elements, sortorder, grouporder, pinned, alignmentx } = result.fields;
|
|
16972
17004
|
gridOptions.context.count = result.count;
|
|
16973
|
-
gridOptions.columnDefs = this.gridApi.getColumnDefs(elements, sortorder, grouporder, pinned, false, this._cachedColumns, searchMode);
|
|
17005
|
+
gridOptions.columnDefs = this.gridApi.getColumnDefs(elements, sortorder, grouporder, pinned, alignmentx, false, this._cachedColumns, searchMode);
|
|
16974
17006
|
const refreshGrid = this.hasGridOptions;
|
|
16975
17007
|
Object.assign(this.resultGridOptions, gridOptions, this.gridOptions);
|
|
16976
17008
|
if (refreshGrid) {
|
|
@@ -18671,8 +18703,9 @@ class ObjectHistoryComponent extends UnsubscribeOnDestroy {
|
|
|
18671
18703
|
this.dmsService
|
|
18672
18704
|
.getHistory(id, type)
|
|
18673
18705
|
.pipe(map((res) => {
|
|
18674
|
-
|
|
18675
|
-
this.
|
|
18706
|
+
const reversedRes = res.reverse();
|
|
18707
|
+
this.completeHistory = reversedRes;
|
|
18708
|
+
this.history = reversedRes;
|
|
18676
18709
|
this.toggleFilter(['INFORMATIONAL', true]);
|
|
18677
18710
|
this.cd.markForCheck();
|
|
18678
18711
|
}))
|
|
@@ -22457,10 +22490,10 @@ class AboutStateComponent {
|
|
|
22457
22490
|
this.http = http;
|
|
22458
22491
|
this.userService = userService;
|
|
22459
22492
|
this.config = config;
|
|
22460
|
-
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.
|
|
22493
|
+
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.5", "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" }];
|
|
22461
22494
|
this.ctrl = {
|
|
22462
22495
|
productName: 'yuuvis® RAD client',
|
|
22463
|
-
clientVersion: '9.0.0-rc.
|
|
22496
|
+
clientVersion: '9.0.0-rc.5'
|
|
22464
22497
|
};
|
|
22465
22498
|
this.licenses = {
|
|
22466
22499
|
'MIT': {
|