@eo-sdk/client 9.0.0-rc.3 → 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/README.md +3 -0
- package/app/eo-framework/app-shell/app-bar/app-process/app-process.component.d.ts +1 -1
- 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/ui/eo-dialog/eo-dialog.component.d.ts +1 -1
- package/app/eo-framework-core/api/grid.service.d.ts +10 -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 +173 -120
- 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.d.ts +67 -69
- 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/app-shell/app-bar/app-process/app-process.component.js +3 -3
- package/esm2015/app/eo-framework/form-elements/codesystem/codesystem.component.js +8 -2
- package/esm2015/app/eo-framework/form-elements/number-range/number-range.component.js +2 -2
- package/esm2015/app/eo-framework/form-elements/string/string.component.js +2 -2
- 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/inbox-details/inbox-details.component.js +7 -2
- package/esm2015/app/eo-framework/object-details/object-history/object-history.component.js +4 -3
- package/esm2015/app/eo-framework/object-form/object-form/form-element/form-element.component.js +4 -1
- package/esm2015/app/eo-framework/object-form/object-form/form-element-table/form-element-table.component.js +6 -5
- package/esm2015/app/eo-framework/object-form/object-form.module.js +2 -2
- package/esm2015/app/eo-framework/result-list/result-list.component.js +3 -3
- package/esm2015/app/eo-framework/ui/eo-dialog/eo-dialog.component.js +2 -2
- package/esm2015/app/eo-framework-core/api/grid.service.js +40 -29
- package/esm2015/eo-sdk-client.js +68 -70
- 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 +105 -52
- 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
|
@@ -1904,14 +1904,15 @@
|
|
|
1904
1904
|
if (options === void 0) { options = {}; }
|
|
1905
1905
|
Object.assign(this.context, { typeOpts: (typeOpts && typeOpts.length ? typeOpts : this.system.getObjectTypes().map(function (o) { return o.qname; })) }, options);
|
|
1906
1906
|
};
|
|
1907
|
-
GridService.prototype.getColumnDefs = function (elements, sortorder, grouporder, pinned, enableRowGroup, cachedColumns, mode) {
|
|
1907
|
+
GridService.prototype.getColumnDefs = function (elements, sortorder, grouporder, pinned, alignmentx, enableRowGroup, cachedColumns, mode) {
|
|
1908
1908
|
var _this = this;
|
|
1909
1909
|
if (sortorder === void 0) { sortorder = []; }
|
|
1910
1910
|
if (grouporder === void 0) { grouporder = []; }
|
|
1911
1911
|
if (pinned === void 0) { pinned = []; }
|
|
1912
|
+
if (alignmentx === void 0) { alignmentx = []; }
|
|
1912
1913
|
if (enableRowGroup === void 0) { enableRowGroup = true; }
|
|
1913
1914
|
if (cachedColumns === void 0) { cachedColumns = []; }
|
|
1914
|
-
return elements.map(function (f) { return _this.getColumnDefinition(f, sortorder, grouporder, pinned, enableRowGroup, cachedColumns, mode); });
|
|
1915
|
+
return elements.map(function (f) { return _this.getColumnDefinition(f, sortorder, grouporder, pinned, alignmentx, enableRowGroup, cachedColumns, mode); });
|
|
1915
1916
|
};
|
|
1916
1917
|
/**
|
|
1917
1918
|
* Renders the visual output of form elements based on its type etc. (see IndexdataSummaryComponent for usage details)
|
|
@@ -1962,10 +1963,11 @@
|
|
|
1962
1963
|
*
|
|
1963
1964
|
* @param sortFields - Array of fields to be sorted
|
|
1964
1965
|
*/
|
|
1965
|
-
GridService.prototype.getColumnDefinition = function (resultField, sortFields, groupFields, pinnedFields, enableRowGroup, cachedColumns, mode) {
|
|
1966
|
+
GridService.prototype.getColumnDefinition = function (resultField, sortFields, groupFields, pinnedFields, alignmentFields, enableRowGroup, cachedColumns, mode) {
|
|
1966
1967
|
if (sortFields === void 0) { sortFields = []; }
|
|
1967
1968
|
if (groupFields === void 0) { groupFields = []; }
|
|
1968
1969
|
if (pinnedFields === void 0) { pinnedFields = []; }
|
|
1970
|
+
if (alignmentFields === void 0) { alignmentFields = []; }
|
|
1969
1971
|
if (enableRowGroup === void 0) { enableRowGroup = false; }
|
|
1970
1972
|
if (cachedColumns === void 0) { cachedColumns = []; }
|
|
1971
1973
|
var colDef = {};
|
|
@@ -2046,6 +2048,13 @@
|
|
|
2046
2048
|
if (cachedColumn) {
|
|
2047
2049
|
colDef.width = cachedColumn.width;
|
|
2048
2050
|
}
|
|
2051
|
+
var alignmentField = alignmentFields.find(function (f) { return f.qname === resultField.qname; });
|
|
2052
|
+
if (alignmentField && alignmentField.value) {
|
|
2053
|
+
colDef.cellStyle = { 'justify-content': alignmentField.value };
|
|
2054
|
+
}
|
|
2055
|
+
else {
|
|
2056
|
+
colDef.cellStyle = { 'justify-content': resultField.alignmentx ? resultField.alignmentx : '' };
|
|
2057
|
+
}
|
|
2049
2058
|
return colDef;
|
|
2050
2059
|
};
|
|
2051
2060
|
/**
|
|
@@ -2288,14 +2297,14 @@
|
|
|
2288
2297
|
return CellRenderer[type + 'CellRenderer'](Object.assign({}, param, newParam));
|
|
2289
2298
|
};
|
|
2290
2299
|
CellRenderer.filesizeCellRenderer = function (param) {
|
|
2291
|
-
if (param.value === null) {
|
|
2292
|
-
return
|
|
2300
|
+
if (param.value === null && CellRenderer.situation === 'SEARCH') {
|
|
2301
|
+
return this.noValueRenderer(param);
|
|
2293
2302
|
}
|
|
2294
2303
|
return param.value ? param.context.fileSizePipe.transform(param.value) : '';
|
|
2295
2304
|
};
|
|
2296
2305
|
CellRenderer.numberCellRenderer = function (param) {
|
|
2297
|
-
if (param.value === null) {
|
|
2298
|
-
return
|
|
2306
|
+
if (param.value === null && CellRenderer.situation === 'SEARCH') {
|
|
2307
|
+
return this.noValueRenderer(param);
|
|
2299
2308
|
}
|
|
2300
2309
|
if (param.value || param.value === 0) {
|
|
2301
2310
|
if (param.value.operator) {
|
|
@@ -2323,14 +2332,14 @@
|
|
|
2323
2332
|
return context.numberPipe.transform(value, grouping, pattern, scale);
|
|
2324
2333
|
};
|
|
2325
2334
|
CellRenderer.stringCellrenderer = function (param) {
|
|
2326
|
-
if (param.value === null) {
|
|
2327
|
-
return
|
|
2335
|
+
if (param.value === null && CellRenderer.situation === 'SEARCH') {
|
|
2336
|
+
return this.noValueRenderer(param);
|
|
2328
2337
|
}
|
|
2329
2338
|
return GridService.escapeHtml(param.value);
|
|
2330
2339
|
};
|
|
2331
2340
|
CellRenderer.typeCellRenderer = function (param) {
|
|
2332
|
-
if (param.value === null) {
|
|
2333
|
-
return
|
|
2341
|
+
if (param.value === null && CellRenderer.situation === 'SEARCH') {
|
|
2342
|
+
return this.noValueRenderer(param);
|
|
2334
2343
|
}
|
|
2335
2344
|
var val = '';
|
|
2336
2345
|
if (param.value) {
|
|
@@ -2343,8 +2352,8 @@
|
|
|
2343
2352
|
return val;
|
|
2344
2353
|
};
|
|
2345
2354
|
CellRenderer.iconCellRenderer = function (param) {
|
|
2346
|
-
if (param.value === null) {
|
|
2347
|
-
return
|
|
2355
|
+
if (param.value === null && CellRenderer.situation === 'SEARCH') {
|
|
2356
|
+
return this.noValueRenderer(param);
|
|
2348
2357
|
}
|
|
2349
2358
|
var val = '';
|
|
2350
2359
|
if (param.value && (param.value.url || param.value.iconId)) {
|
|
@@ -2360,24 +2369,24 @@
|
|
|
2360
2369
|
return val;
|
|
2361
2370
|
};
|
|
2362
2371
|
CellRenderer.emailCellRenderer = function (param) {
|
|
2363
|
-
if (param.value === null) {
|
|
2364
|
-
return
|
|
2372
|
+
if (param.value === null && CellRenderer.situation === 'SEARCH') {
|
|
2373
|
+
return this.noValueRenderer(param);
|
|
2365
2374
|
}
|
|
2366
2375
|
return param.value
|
|
2367
2376
|
? "<a href=\"mailto:" + param.value + "\">" + GridService.escapeHtml(param.value) + "</a>"
|
|
2368
2377
|
: '';
|
|
2369
2378
|
};
|
|
2370
2379
|
CellRenderer.urlCellRenderer = function (param) {
|
|
2371
|
-
if (param.value === null) {
|
|
2372
|
-
return
|
|
2380
|
+
if (param.value === null && CellRenderer.situation === 'SEARCH') {
|
|
2381
|
+
return this.noValueRenderer(param);
|
|
2373
2382
|
}
|
|
2374
2383
|
return param.value
|
|
2375
2384
|
? "<a target=\"_blank \" href=\"" + param.value + "\">" + GridService.escapeHtml(param.value) + "</a>"
|
|
2376
2385
|
: '';
|
|
2377
2386
|
};
|
|
2378
2387
|
CellRenderer.dateTimeCellRenderer = function (param) {
|
|
2379
|
-
if (param.value === null) {
|
|
2380
|
-
return
|
|
2388
|
+
if (param.value === null && CellRenderer.situation === 'SEARCH') {
|
|
2389
|
+
return this.noValueRenderer(param);
|
|
2381
2390
|
}
|
|
2382
2391
|
if (param.value) {
|
|
2383
2392
|
if (param.value.operator) {
|
|
@@ -2402,14 +2411,14 @@
|
|
|
2402
2411
|
}
|
|
2403
2412
|
};
|
|
2404
2413
|
CellRenderer.dateTimeCellRendererTemplate = function (value, context, pattern) {
|
|
2405
|
-
if (value === null) {
|
|
2414
|
+
if (value === null && CellRenderer.situation === 'SEARCH') {
|
|
2406
2415
|
return "<span class=\"no-value\">" + context.translate.instant('eo.form.input.null') + "</span>";
|
|
2407
2416
|
}
|
|
2408
2417
|
return "<span date=\"" + value + "\">" + context.datePipe.transform(value, pattern) + "</span>";
|
|
2409
2418
|
};
|
|
2410
2419
|
CellRenderer.booleanCellRenderer = function (param) {
|
|
2411
|
-
if (param.value === null) {
|
|
2412
|
-
return
|
|
2420
|
+
if (param.value === null && CellRenderer.situation === 'SEARCH') {
|
|
2421
|
+
return this.noValueRenderer(param);
|
|
2413
2422
|
}
|
|
2414
2423
|
var val = "<path class=\"background\" d=\"M19,3H5C3.9,3,3,3.9,3,5v14c0,1.1,0.9,2,2,2h14c1.1,0,2-0.9,2-2V5C21,3.9,20.1,3,19,3z\"/>";
|
|
2415
2424
|
if (param.value === true || param.value === 'true') {
|
|
@@ -2421,8 +2430,8 @@
|
|
|
2421
2430
|
return "<svg class=\"checkbox\" height=\"24\" viewBox=\"0 0 24 24\" width=\"24\" xmlns=\"http://www.w3.org/2000/svg\">" + val + "</svg>";
|
|
2422
2431
|
};
|
|
2423
2432
|
CellRenderer.multiSelectCellRenderer = function (param) {
|
|
2424
|
-
if (param.value === null) {
|
|
2425
|
-
return
|
|
2433
|
+
if (param.value === null && CellRenderer.situation === 'SEARCH') {
|
|
2434
|
+
return this.noValueRenderer(param);
|
|
2426
2435
|
}
|
|
2427
2436
|
var val = '';
|
|
2428
2437
|
if (param.value) {
|
|
@@ -2433,8 +2442,8 @@
|
|
|
2433
2442
|
return val;
|
|
2434
2443
|
};
|
|
2435
2444
|
CellRenderer.linkCellRenderer = function (param) {
|
|
2436
|
-
if (param.value === null) {
|
|
2437
|
-
return
|
|
2445
|
+
if (param.value === null && CellRenderer.situation === 'SEARCH') {
|
|
2446
|
+
return this.noValueRenderer(param);
|
|
2438
2447
|
}
|
|
2439
2448
|
var val = '';
|
|
2440
2449
|
if (param.value) {
|
|
@@ -2456,8 +2465,8 @@
|
|
|
2456
2465
|
return val;
|
|
2457
2466
|
};
|
|
2458
2467
|
CellRenderer.referenceCellRenderer = function (param) {
|
|
2459
|
-
if (param.value === null) {
|
|
2460
|
-
return
|
|
2468
|
+
if (param.value === null && CellRenderer.situation === 'SEARCH') {
|
|
2469
|
+
return this.noValueRenderer(param);
|
|
2461
2470
|
}
|
|
2462
2471
|
var text = '';
|
|
2463
2472
|
var value = param.data ? param.data[param.colDef.field] : '';
|
|
@@ -2480,8 +2489,12 @@
|
|
|
2480
2489
|
}
|
|
2481
2490
|
return text || param.value;
|
|
2482
2491
|
};
|
|
2492
|
+
CellRenderer.noValueRenderer = function (param) {
|
|
2493
|
+
return "<span class=\"no-value\">" + param.context.translate.instant('eo.form.input.null') + "</span>";
|
|
2494
|
+
};
|
|
2483
2495
|
return CellRenderer;
|
|
2484
2496
|
}());
|
|
2497
|
+
CellRenderer.situation = '';
|
|
2485
2498
|
|
|
2486
2499
|
/**
|
|
2487
2500
|
* EditingObserver service is used to track changes made inside the application, that should prevent
|
|
@@ -5635,7 +5648,7 @@
|
|
|
5635
5648
|
AppProcessComponent.decorators = [
|
|
5636
5649
|
{ type: i0.Component, args: [{
|
|
5637
5650
|
selector: 'eo-app-process',
|
|
5638
|
-
template: "<eo-dialog [title]=\"'eo.bar.button.execute.actions.tooltip' | translate\"\n [visible]=\"true\"\n [minWidth]=\"400\"\n [styleClass]=\"'more-actions'\"\n (hide)=\"close($event)\">\n\n <section *ngIf=\"processes?.length; else loading\">\n\n <div class=\"process-item\" *ngFor=\"let process of processes\" (click)=\"selectProcess(process)\">\n <eo-icon [iconId]=\"process.iconid\" *ngIf=\"process.iconid; else defaulticon\"></eo-icon>\n <ng-template #defaulticon><eo-icon [iconSrc]=\"'assets/_default/svg/ic_bpm.svg'\"></eo-icon></ng-template>\n <div class=\"pi-content\">\n <div class=\"title\">{{process.title}}</div>\n <div class=\"description\">{{process.description}}</div>\n </div>\n </div>\n\n </section>\n\n <ng-container *ngIf=\"!processForm; else tplProcessForm\" class=\"select-process\"></ng-container>\n\n <ng-template #loading>\n <eo-loading-spinner [size]=\"'medium'\"></eo-loading-spinner>\n </ng-template>\n\n\n <ng-template #tplProcessForm>\n\n <eo-dialog [title]=\"selectedProcess?.title\"\n [subtitle]=\"selectedProcess?.description\"\n [visible]=\"true\"\n [dirtyCheck]=\"pendingTaskIds\"\n [minWidth]=\"1000\"\n [
|
|
5651
|
+
template: "<eo-dialog [title]=\"'eo.bar.button.execute.actions.tooltip' | translate\"\n [visible]=\"true\"\n [minWidth]=\"400\"\n [styleClass]=\"'more-actions'\"\n (hide)=\"close($event)\">\n\n <section *ngIf=\"processes?.length; else loading\">\n\n <div class=\"process-item\" *ngFor=\"let process of processes\" (click)=\"selectProcess(process)\">\n <eo-icon [iconId]=\"process.iconid\" *ngIf=\"process.iconid; else defaulticon\"></eo-icon>\n <ng-template #defaulticon><eo-icon [iconSrc]=\"'assets/_default/svg/ic_bpm.svg'\"></eo-icon></ng-template>\n <div class=\"pi-content\">\n <div class=\"title\">{{process.title}}</div>\n <div class=\"description\">{{process.description}}</div>\n </div>\n </div>\n\n </section>\n\n <ng-container *ngIf=\"!processForm; else tplProcessForm\" class=\"select-process\"></ng-container>\n\n <ng-template #loading>\n <eo-loading-spinner [size]=\"'medium'\"></eo-loading-spinner>\n </ng-template>\n\n\n <ng-template #tplProcessForm>\n\n <eo-dialog [title]=\"selectedProcess?.title\"\n [subtitle]=\"selectedProcess?.description\"\n [visible]=\"true\"\n [dirtyCheck]=\"pendingTaskIds\"\n [minWidth]=\"1000\"\n [styleClass]=\"'process-form-dialog'\"\n (hide)=\"cancelDialog()\" #dialog>\n\n <eo-process-form [formOptions]=\"processForm\"\n (onResetForm)=\"formReset($event)\"\n (onCancel)=\"(dialog.visible = false)\"\n (onSaveForm)=\"startProcessWithFormData($event)\"\n (statusChanged)=\"onIndexDataChanged($event)\">\n </eo-process-form>\n </eo-dialog>\n </ng-template>\n\n</eo-dialog>\n",
|
|
5639
5652
|
styles: [".process-item{align-items:center;border-bottom:1px solid var(--list-item-border-color);cursor:pointer;display:flex;padding:var(--app-pane-padding)}.process-item:hover{background-color:var(--list-item-hover-background)}.process-item eo-icon{opacity:.7}.process-item .pi-content{padding:0 var(--app-pane-padding)}.process-item .pi-content .description{color:var(--text-color-caption)}eo-loading-spinner{display:flex;justify-content:center;padding:var(--app-pane-padding)}"]
|
|
5640
5653
|
},] }
|
|
5641
5654
|
];
|
|
@@ -6436,7 +6449,13 @@
|
|
|
6436
6449
|
CodesystemComponent.prototype.onAutoCompleteBlur = function (e) {
|
|
6437
6450
|
if (!this.multiselect && !this.readonly) {
|
|
6438
6451
|
var existingNode = this.autocompleteValues.find(function (tNode) { return tNode.name === e.target.value; });
|
|
6439
|
-
|
|
6452
|
+
if (existingNode) {
|
|
6453
|
+
this.selectedNodes = existingNode;
|
|
6454
|
+
}
|
|
6455
|
+
else {
|
|
6456
|
+
this.selectedNodes = null;
|
|
6457
|
+
e.target.value = null;
|
|
6458
|
+
}
|
|
6440
6459
|
this.setFormControlValue();
|
|
6441
6460
|
}
|
|
6442
6461
|
};
|
|
@@ -8395,7 +8414,7 @@
|
|
|
8395
8414
|
this.value = !this.isValid ? null : new i1.RangeValue(this.searchOption, this.rangeForm.get('numberValueFrom').value, this.rangeForm.get('numberValue').value);
|
|
8396
8415
|
}
|
|
8397
8416
|
else {
|
|
8398
|
-
this.value = !this.isValid ||
|
|
8417
|
+
this.value = !this.isValid || this.rangeForm.get('numberValue').value === null ? null : new i1.RangeValue(this.searchOption, this.rangeForm.get('numberValue').value);
|
|
8399
8418
|
}
|
|
8400
8419
|
this.propagateChange(this.value);
|
|
8401
8420
|
};
|
|
@@ -9261,7 +9280,7 @@
|
|
|
9261
9280
|
StringComponent.decorators = [
|
|
9262
9281
|
{ type: i0.Component, args: [{
|
|
9263
9282
|
selector: 'eo-string',
|
|
9264
|
-
template: "<div class=\"eo-form-string\">\n\n <input *ngIf=\"!multiline && !multiselect && !autocomplete\"\n type=\"text\"\n pInputText\n (blur)=\"onBlur()\"\n [readonly]=\"readonly\"\n [(ngModel)]=\"value\"\n (ngModelChange)=\"onValueChange($event)\"/>\n\n <!-- single line input with autocomplete -->\n <p-autoComplete *ngIf=\"!multiline && !multiselect && autocomplete\"\n #autocomplete\n [(ngModel)]=\"value\"\n [minLength]=\"3\"\n [delay]=\"500\"\n [readonly]=\"readonly\"\n [disabled]=\"readonly\"\n [suggestions]=\"autocompleteRes\"\n (onBlur)=\"onBlur()\"\n (onSelect)=\"onValueChange($event)\"\n (ngModelChange)=\"onValueChange($event)\"\n (completeMethod)=\"autocompleteFn($event)\">\n </p-autoComplete>\n\n <!-- single line input with multiselect-->\n <p-chips *ngIf=\"!multiline && multiselect && !autocomplete\"\n [(ngModel)]=\"value\"\n [disabled]=\"readonly\"\n (onBlur)=\"onBlur()\"\n (ngModelChange)=\"onValueChange($event)\">\n </p-chips>\n\n <p-autoComplete *ngIf=\"!multiline && multiselect && autocomplete\"\n [(ngModel)]=\"value\"\n [suggestions]=\"autocompleteRes\"\n [minLength]=\"1\"\n [multiple]=\"true\"\n [minLength]=\"3\"\n [delay]=\"500\"\n [readonly]=\"readonly\"\n [disabled]=\"readonly\"\n (onBlur)=\"onBlur()\"\n (ngModelChange)=\"onValueChange($event)\"\n (completeMethod)=\"autocompleteFn($event)\"\n (keyup.enter)=\"onKeyUpEnter($event)\">\n </p-autoComplete>\n\n <!-- multi line text inputs -->\n <textarea class=\"input-textarea size-{{size}}\" pInputTextarea\n *ngIf=\"multiline\"\n (blur)=\"onBlur()\"\n [(ngModel)]=\"value\"\n [readonly]=\"readonly\"\n (ngModelChange)=\"onValueChange($event)\"></textarea>\n\n <div class=\"classify\" [ngClass]=\"{empty: !value || situation === 'SEARCH'}\">\n <a href=\"mailto:{{formatedValue}}\" *ngIf=\"classification === 'email' && valid\">\n <i class=\"fa fa-envelope-o\"></i>\n </a>\n <a target=\"_blank\" href=\"{{value}}\" *ngIf=\"classification === 'url' && valid\">\n <i class=\"fa fa-globe\"></i>\n </a>\n </div>\n\n</div>\n",
|
|
9283
|
+
template: "<div class=\"eo-form-string\">\n\n <input *ngIf=\"!multiline && !multiselect && !autocomplete\"\n type=\"text\"\n pInputText\n (blur)=\"onBlur()\"\n [readonly]=\"readonly\"\n [disabled]=\"readonly\"\n [(ngModel)]=\"value\"\n (ngModelChange)=\"onValueChange($event)\"/>\n\n <!-- single line input with autocomplete -->\n <p-autoComplete *ngIf=\"!multiline && !multiselect && autocomplete\"\n #autocomplete\n [(ngModel)]=\"value\"\n [minLength]=\"3\"\n [delay]=\"500\"\n [readonly]=\"readonly\"\n [disabled]=\"readonly\"\n [suggestions]=\"autocompleteRes\"\n (onBlur)=\"onBlur()\"\n (onSelect)=\"onValueChange($event)\"\n (ngModelChange)=\"onValueChange($event)\"\n (completeMethod)=\"autocompleteFn($event)\">\n </p-autoComplete>\n\n <!-- single line input with multiselect-->\n <p-chips *ngIf=\"!multiline && multiselect && !autocomplete\"\n [(ngModel)]=\"value\"\n [disabled]=\"readonly\"\n (onBlur)=\"onBlur()\"\n (ngModelChange)=\"onValueChange($event)\">\n </p-chips>\n\n <p-autoComplete *ngIf=\"!multiline && multiselect && autocomplete\"\n [(ngModel)]=\"value\"\n [suggestions]=\"autocompleteRes\"\n [minLength]=\"1\"\n [multiple]=\"true\"\n [minLength]=\"3\"\n [delay]=\"500\"\n [readonly]=\"readonly\"\n [disabled]=\"readonly\"\n (onBlur)=\"onBlur()\"\n (ngModelChange)=\"onValueChange($event)\"\n (completeMethod)=\"autocompleteFn($event)\"\n (keyup.enter)=\"onKeyUpEnter($event)\">\n </p-autoComplete>\n\n <!-- multi line text inputs -->\n <textarea class=\"input-textarea size-{{size}}\" pInputTextarea\n *ngIf=\"multiline\"\n (blur)=\"onBlur()\"\n [(ngModel)]=\"value\"\n [readonly]=\"readonly\"\n [disabled]=\"readonly\"\n (ngModelChange)=\"onValueChange($event)\"></textarea>\n\n <div class=\"classify\" [ngClass]=\"{empty: !value || situation === 'SEARCH'}\">\n <a href=\"mailto:{{formatedValue}}\" *ngIf=\"classification === 'email' && valid\">\n <i class=\"fa fa-envelope-o\"></i>\n </a>\n <a target=\"_blank\" href=\"{{value}}\" *ngIf=\"classification === 'url' && valid\">\n <i class=\"fa fa-globe\"></i>\n </a>\n </div>\n\n</div>\n",
|
|
9265
9284
|
providers: [
|
|
9266
9285
|
{
|
|
9267
9286
|
provide: forms.NG_VALUE_ACCESSOR,
|
|
@@ -11083,6 +11102,9 @@
|
|
|
11083
11102
|
this.formElementRef._eoFormElement.maxlen = 32;
|
|
11084
11103
|
}
|
|
11085
11104
|
this.fetchTags();
|
|
11105
|
+
if (this.formElementRef._eoFormElement.readonly && this.formElementRef._eoFormElement.required) {
|
|
11106
|
+
this.formElementRef._eoFormElement.required = false;
|
|
11107
|
+
}
|
|
11086
11108
|
}
|
|
11087
11109
|
},
|
|
11088
11110
|
enumerable: false,
|
|
@@ -11223,7 +11245,7 @@
|
|
|
11223
11245
|
});
|
|
11224
11246
|
_this._cachedColumns = _this.storageService.getItem(FormElementTableComponent.COLUMNS_DEFINITION) || [];
|
|
11225
11247
|
_this._cachedColumnsOverlay = _this.storageService.getItem(FormElementTableComponent.COLUMNS_DEFINITION_OVERLAY) || [];
|
|
11226
|
-
_this.showPreview = !!_this.storageService.getItem('showPreview');
|
|
11248
|
+
_this.showPreview = !!_this.storageService.getItem('eo.table.showPreview');
|
|
11227
11249
|
return _this;
|
|
11228
11250
|
}
|
|
11229
11251
|
Object.defineProperty(FormElementTableComponent.prototype, "params", {
|
|
@@ -11233,6 +11255,7 @@
|
|
|
11233
11255
|
set: function (p) {
|
|
11234
11256
|
if (p) {
|
|
11235
11257
|
this._params = p;
|
|
11258
|
+
CellRenderer.situation = this._params.situation;
|
|
11236
11259
|
if (this._params.situation === 'SEARCH') {
|
|
11237
11260
|
this._params.size = 'supersmall';
|
|
11238
11261
|
}
|
|
@@ -11563,7 +11586,7 @@
|
|
|
11563
11586
|
};
|
|
11564
11587
|
FormElementTableComponent.prototype.togglePreview = function () {
|
|
11565
11588
|
this.showPreview = !this.showPreview;
|
|
11566
|
-
this.storageService.setItem('showPreview', this.showPreview);
|
|
11589
|
+
this.storageService.setItem('eo.table.showPreview', this.showPreview);
|
|
11567
11590
|
};
|
|
11568
11591
|
return FormElementTableComponent;
|
|
11569
11592
|
}(UnsubscribeOnDestroy));
|
|
@@ -11572,7 +11595,7 @@
|
|
|
11572
11595
|
FormElementTableComponent.decorators = [
|
|
11573
11596
|
{ type: i0.Component, args: [{
|
|
11574
11597
|
selector: 'eo-table',
|
|
11575
|
-
template: "<div class=\"object-form-table\" [ngClass]=\"{medium: _params.size === 'medium', large: _params.size === 'large'}\">\n <div class=\"label\">\n <span>{{_params.element.label}}</span>\n <ng-container *ngIf=\"_params.situation !== 'SEARCH'\">\n\n <eo-icon class=\"stf\" [iconSrc]=\"'assets/_default/svg/ic_expand.svg'\" [iconTitle]=\"('eo.form.table.options.btn.open'| translate)\" (click)=\"openDialog()\"></eo-icon>\n <eo-icon class=\"stf\" [iconSrc]=\"'assets/_default/svg/ic_size_to_fit.svg'\" [iconTitle]=\"('eo.form.table.options.btn.fit'| translate)\" (click)=\"sizeToFit()\"></eo-icon>\n <eo-icon class=\"stf\" *ngIf=\"gridOptions.rowData.length\" [iconSrc]=\"'assets/_default/svg/ic_content-download.svg'\" [iconTitle]=\"('eo.form.table.options.btn.csv'| translate)\" (click)=\"exportCSV()\"></eo-icon>\n <eo-icon class=\"stf add-row\" *ngIf=\"!_params.element.readonly\" [iconSrc]=\"'assets/_default/svg/ic_add.svg'\" [iconTitle]=\"('eo.form.table.options.btn.add'| translate)\" (click)=\"addRow()\"></eo-icon>\n\n </ng-container>\n </div>\n <div class=\"grid-body size-{{ params.size }}\">\n <ag-grid-angular #agGrid *ngIf=\"gridReady\" class=\"ag-theme-balham\" [modules]=\"modules\"\n [gridOptions]=\"gridOptions\"\n (rowDoubleClicked)=\"editRow($event)\"\n (cellClicked)=\"onCellClicked($event)\"\n (sortChanged)=\"onSortChanged()\"\n (cellValueChanged)=\"onEditComplete($event)\"\n (columnResized)=\"onColumnResized($event.column)\">\n </ag-grid-angular>\n </div>\n</div>\n\n\n<eo-dialog\n[title]=\"params.element.label\"\n[visible]=\"showDialog\"\n[dirtyCheck]=\"rowEdit?.pendingTaskId\"\n[minWidth]=\"_params.situation !== 'SEARCH' ? '97vw' : 200\"\n[styleClass]=\"'object-form-table-dialog'\"\n(hide)=\"onClose()\"\n[isFormTable]=\"true\"\n[hasPreviewFile]=\"!!params.object?.content\"\n[showPreview]=\"showPreview\"\n(onTogglePreview)=\"togglePreview()\">\n\n <div class=\"body\">\n\n <eo-split [gutterSize]=\"16\" [switchable]=\"true\">\n\n <eo-split-area *ngIf=\"_params.situation !== 'SEARCH'\" class=\"table-area\" [size]=\"
|
|
11598
|
+
template: "<div class=\"object-form-table\" [ngClass]=\"{medium: _params.size === 'medium', large: _params.size === 'large'}\">\n <div class=\"label\">\n <span>{{_params.element.label}}</span>\n <ng-container *ngIf=\"_params.situation !== 'SEARCH'\">\n\n <eo-icon class=\"stf\" [iconSrc]=\"'assets/_default/svg/ic_expand.svg'\" [iconTitle]=\"('eo.form.table.options.btn.open'| translate)\" (click)=\"openDialog()\"></eo-icon>\n <eo-icon class=\"stf\" [iconSrc]=\"'assets/_default/svg/ic_size_to_fit.svg'\" [iconTitle]=\"('eo.form.table.options.btn.fit'| translate)\" (click)=\"sizeToFit()\"></eo-icon>\n <eo-icon class=\"stf\" *ngIf=\"gridOptions.rowData.length\" [iconSrc]=\"'assets/_default/svg/ic_content-download.svg'\" [iconTitle]=\"('eo.form.table.options.btn.csv'| translate)\" (click)=\"exportCSV()\"></eo-icon>\n <eo-icon class=\"stf add-row\" *ngIf=\"!_params.element.readonly\" [iconSrc]=\"'assets/_default/svg/ic_add.svg'\" [iconTitle]=\"('eo.form.table.options.btn.add'| translate)\" (click)=\"addRow()\"></eo-icon>\n\n </ng-container>\n </div>\n <div class=\"grid-body size-{{ params.size }}\">\n <ag-grid-angular #agGrid *ngIf=\"gridReady\" class=\"ag-theme-balham\" [modules]=\"modules\"\n [gridOptions]=\"gridOptions\"\n (rowDoubleClicked)=\"editRow($event)\"\n (cellClicked)=\"onCellClicked($event)\"\n (sortChanged)=\"onSortChanged()\"\n (cellValueChanged)=\"onEditComplete($event)\"\n (columnResized)=\"onColumnResized($event.column)\">\n </ag-grid-angular>\n </div>\n</div>\n\n\n<eo-dialog\n[title]=\"params.element.label\"\n[visible]=\"showDialog\"\n[dirtyCheck]=\"rowEdit?.pendingTaskId\"\n[minWidth]=\"_params.situation !== 'SEARCH' ? '97vw' : 200\"\n[styleClass]=\"'object-form-table-dialog'\"\n(hide)=\"onClose()\"\n[isFormTable]=\"true\"\n[hasPreviewFile]=\"!!params.object?.content\"\n[showPreview]=\"showPreview\"\n(onTogglePreview)=\"togglePreview()\">\n\n <div class=\"body\">\n\n <eo-split [gutterSize]=\"16\" [switchable]=\"true\" [cacheLayout]=\"'table.state'\">\n\n <eo-split-area *ngIf=\"_params.situation !== 'SEARCH'\" class=\"table-area\" [size]=\"40\" [minSizePixel]=\"100\" [order]=\"1\">\n <div class=\"table-body\">\n <div class=\"object-form-table\">\n <div class=\"label\">\n <span></span>\n <ng-container>\n <eo-icon class=\"stf\" [iconSrc]=\"'assets/_default/svg/ic_size_to_fit.svg'\" [iconTitle]=\"('eo.form.table.options.btn.fit'| translate)\" (click)=\"sizeToFit(true)\"></eo-icon>\n <eo-icon class=\"stf\" *ngIf=\"gridOptions.rowData.length\" [iconSrc]=\"'assets/_default/svg/ic_content-download.svg'\" [iconTitle]=\"('eo.form.table.options.btn.csv'| translate)\" (click)=\"exportCSV()\"></eo-icon>\n <eo-icon class=\"stf add-row\" *ngIf=\"!_params.element.readonly\" [iconSrc]=\"'assets/_default/svg/ic_add.svg'\" [iconTitle]=\"('eo.form.table.options.btn.add'| translate)\" (click)=\"addRow()\"></eo-icon>\n </ng-container>\n </div>\n <div class=\"grid-body\">\n <ag-grid-angular #agGrid2 *ngIf=\"gridReady\" class=\"ag-theme-balham\" [modules]=\"modules\"\n [gridOptions]=\"overlayGridOptions\"\n (cellClicked)=\"onCellClicked($event);editRow($event)\"\n (mousedown)=\"onMouseDown($event)\"\n (sortChanged)=\"onSortChanged()\"\n (cellValueChanged)=\"onEditComplete($event)\"\n (columnResized)=\"onColumnResized($event.column, true)\">\n </ag-grid-angular>\n </div>\n </div>\n </div>\n </eo-split-area>\n\n <eo-split-area [size]=\"20\" [minSizePixel]=\"300\" *ngIf=\"editingRow\" [order]=\"2\">\n <div class=\"edit-body\">\n <eo-row-edit [row]=\"editingRow\" #rowEdit\n (onSave)=\"updateRow($event)\"\n (onSaveCopy)=\"copyRow($event)\"\n (onDelete)=\"deleteRow($event)\"\n (onCancel)=\"cancelRowEdit()\"></eo-row-edit>\n </div>\n </eo-split-area>\n\n <eo-split-area *ngIf=\"showPreview && !!params.object?.content\" [size]=\"40\" [minSizePixel]=\"150\" [order]=\"3\">\n <eo-media [dmsObject]=\"params.object\" [undockDisabled]=\"true\"\n [useVersion]=\"params.object.id === params.object.content?.id\"></eo-media>\n </eo-split-area>\n </eo-split>\n </div>\n</eo-dialog>\n\n",
|
|
11576
11599
|
providers: [
|
|
11577
11600
|
{
|
|
11578
11601
|
provide: forms.NG_VALUE_ACCESSOR,
|
|
@@ -13385,6 +13408,7 @@
|
|
|
13385
13408
|
_this.title = '';
|
|
13386
13409
|
_this.searchLimit = 10;
|
|
13387
13410
|
_this.operator = 'OR'; // AND | OR
|
|
13411
|
+
_this.selectedAllFilters = false;
|
|
13388
13412
|
_this.id = '#set';
|
|
13389
13413
|
return _this;
|
|
13390
13414
|
}
|
|
@@ -13395,6 +13419,7 @@
|
|
|
13395
13419
|
set: function (opts) {
|
|
13396
13420
|
var _this = this;
|
|
13397
13421
|
this._options = this.defaultValue ? opts || [] : this.settingsService.setupSettings(this.id, opts);
|
|
13422
|
+
this.selectedAllFilters = this.options.every(function (opt) { return opt.value; });
|
|
13398
13423
|
if (this.options && this.params && this.isFilterActive()) {
|
|
13399
13424
|
setTimeout(function () { return _this.params.filterChangedCallback(); }, 0);
|
|
13400
13425
|
}
|
|
@@ -13443,7 +13468,7 @@
|
|
|
13443
13468
|
SetFilterComponent.decorators = [
|
|
13444
13469
|
{ type: i0.Component, args: [{
|
|
13445
13470
|
selector: 'eo-set-filter',
|
|
13446
|
-
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]=\"
|
|
13471
|
+
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",
|
|
13447
13472
|
styles: [".title{font-weight:700;margin-top:.5em}.option{margin:.5em 0}label{padding:0 .5em}input{border:none}"]
|
|
13448
13473
|
},] }
|
|
13449
13474
|
];
|
|
@@ -13504,7 +13529,7 @@
|
|
|
13504
13529
|
ListFilterComponent.decorators = [
|
|
13505
13530
|
{ type: i0.Component, args: [{
|
|
13506
13531
|
selector: 'eo-list-filter',
|
|
13507
|
-
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]=\"
|
|
13532
|
+
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",
|
|
13508
13533
|
styles: [".title{font-weight:700;margin-top:.5em}.option{margin:.5em 0}label{padding:0 .5em}input{border:none}"]
|
|
13509
13534
|
},] }
|
|
13510
13535
|
];
|
|
@@ -13957,6 +13982,7 @@
|
|
|
13957
13982
|
this.hasPrivilege = false;
|
|
13958
13983
|
this.onConfigChanged = new i0.EventEmitter();
|
|
13959
13984
|
this.visible = false;
|
|
13985
|
+
this.alignmentValue = 'Automatic';
|
|
13960
13986
|
this.userService
|
|
13961
13987
|
.user$
|
|
13962
13988
|
.subscribe(function (user) {
|
|
@@ -13977,7 +14003,7 @@
|
|
|
13977
14003
|
ColumnConfiguratorComponent.prototype.saveConfig = function (asDefault) {
|
|
13978
14004
|
var _this = this;
|
|
13979
14005
|
if (asDefault === void 0) { asDefault = false; }
|
|
13980
|
-
var data = new i1.FieldDefinition([], [], [], []);
|
|
14006
|
+
var data = new i1.FieldDefinition([], [], [], [], []);
|
|
13981
14007
|
data.elements = this.currentFields.map(function (col) {
|
|
13982
14008
|
if (col.confmeta.sort) {
|
|
13983
14009
|
data.sortorder.push({
|
|
@@ -13995,6 +14021,12 @@
|
|
|
13995
14021
|
qname: col.qname
|
|
13996
14022
|
});
|
|
13997
14023
|
}
|
|
14024
|
+
if (col.confmeta.alignmentx) {
|
|
14025
|
+
data.alignmentx.push({
|
|
14026
|
+
qname: col.qname,
|
|
14027
|
+
value: col.confmeta.alignmentx
|
|
14028
|
+
});
|
|
14029
|
+
}
|
|
13998
14030
|
return {
|
|
13999
14031
|
qname: col.qname
|
|
14000
14032
|
};
|
|
@@ -14019,11 +14051,13 @@
|
|
|
14019
14051
|
var sortEntry = res.current.sortorder.find(function (a) { return el.qname === a.qname; });
|
|
14020
14052
|
// let groupEntry = res.current.grouporder.find((a: any) => el.qname === a.qname);
|
|
14021
14053
|
var pinnedEntry = res.current.pinned.find(function (a) { return el.qname === a.qname; });
|
|
14054
|
+
var alignmentEntry = res.current.alignmentx.find(function (a) { return el.qname === a.qname; });
|
|
14022
14055
|
el.confmeta = {
|
|
14023
14056
|
sort: sortEntry ? (sortEntry.direction || '').toLowerCase() : null,
|
|
14024
14057
|
// group: !!groupEntry,
|
|
14025
14058
|
pinned: !!pinnedEntry,
|
|
14026
|
-
modified: false
|
|
14059
|
+
modified: false,
|
|
14060
|
+
alignmentx: alignmentEntry ? alignmentEntry.value : null
|
|
14027
14061
|
};
|
|
14028
14062
|
});
|
|
14029
14063
|
_this.isDefaultConfig = res.current.mode !== 'USER';
|
|
@@ -14031,7 +14065,8 @@
|
|
|
14031
14065
|
_this.currentFields = _this.eoGrid.columns.filter(function (column) { return column.isVisible(); }).map(function (_a, index) {
|
|
14032
14066
|
var colDef = _a.colDef, sort = _a.sort, pinned = _a.pinned;
|
|
14033
14067
|
var i = _this.originalFields.findIndex(function (f) { return GridService.qnameMatch(f.qname, colDef.refData.qname); }), field = _this.originalFields[i];
|
|
14034
|
-
return Object.assign(Object.assign({}, field), { confmeta: { sort: sort, pinned: pinned,
|
|
14068
|
+
return Object.assign(Object.assign({}, field), { confmeta: { sort: sort, pinned: pinned, alignmentx: field.confmeta.alignmentx,
|
|
14069
|
+
modified: i !== index || (field.confmeta.sort || '') !== (sort || '') || !!field.confmeta.alignmentx } });
|
|
14035
14070
|
});
|
|
14036
14071
|
_this.availableFields = res.available.elements.filter(function (col) {
|
|
14037
14072
|
return !_this.currentFields.find(function (c) { return c.qname === col.qname; });
|
|
@@ -14095,6 +14130,21 @@
|
|
|
14095
14130
|
item.confmeta.sort = null;
|
|
14096
14131
|
}
|
|
14097
14132
|
};
|
|
14133
|
+
ColumnConfiguratorComponent.prototype.toggleAlignment = function (item, $event) {
|
|
14134
|
+
this.togglePrevent(item, $event);
|
|
14135
|
+
if (!item.confmeta.alignmentx) {
|
|
14136
|
+
item.confmeta.alignmentx = 'right';
|
|
14137
|
+
}
|
|
14138
|
+
else if (item.confmeta.alignmentx === 'right') {
|
|
14139
|
+
item.confmeta.alignmentx = 'center';
|
|
14140
|
+
}
|
|
14141
|
+
else if (item.confmeta.alignmentx === 'center') {
|
|
14142
|
+
item.confmeta.alignmentx = 'left';
|
|
14143
|
+
}
|
|
14144
|
+
else if (item.confmeta.alignmentx === 'left') {
|
|
14145
|
+
item.confmeta.alignmentx = null;
|
|
14146
|
+
}
|
|
14147
|
+
};
|
|
14098
14148
|
// toggleGroup(item, $event) {
|
|
14099
14149
|
// this.togglePrevent(item, $event);
|
|
14100
14150
|
// item.confmeta.group = !item.confmeta.group;
|
|
@@ -14115,8 +14165,8 @@
|
|
|
14115
14165
|
ColumnConfiguratorComponent.decorators = [
|
|
14116
14166
|
{ type: i0.Component, args: [{
|
|
14117
14167
|
selector: 'eo-column-configurator',
|
|
14118
|
-
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}\"
|
|
14119
|
-
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}"]
|
|
14168
|
+
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",
|
|
14169
|
+
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}"]
|
|
14120
14170
|
},] }
|
|
14121
14171
|
];
|
|
14122
14172
|
ColumnConfiguratorComponent.ctorParameters = function () { return [
|
|
@@ -14303,7 +14353,7 @@
|
|
|
14303
14353
|
};
|
|
14304
14354
|
TextFilterComponent.prototype.focusout = function () {
|
|
14305
14355
|
this.focused = false;
|
|
14306
|
-
if (!this.autocompleteRes.includes(this.value) && this.value !== '') {
|
|
14356
|
+
if (this.value && !this.autocompleteRes.includes(this.value) && this.value !== '' && this.value.trim() !== '') {
|
|
14307
14357
|
if (this.autocompleteRes.length === 5) {
|
|
14308
14358
|
this.autocompleteRes.shift();
|
|
14309
14359
|
}
|
|
@@ -14320,7 +14370,6 @@
|
|
|
14320
14370
|
};
|
|
14321
14371
|
TextFilterComponent.prototype.autocompleteFn = function (evt) {
|
|
14322
14372
|
this.autocompleteRes = this.storageService.getItem('eo.inbox.filter.suggestions') || [];
|
|
14323
|
-
this.autocompleteRes.reverse();
|
|
14324
14373
|
};
|
|
14325
14374
|
return TextFilterComponent;
|
|
14326
14375
|
}(AbstractFilterComponent));
|
|
@@ -18731,9 +18780,9 @@
|
|
|
18731
18780
|
var searchMode = result.fields.mode ? result.fields.mode : null;
|
|
18732
18781
|
this.settings = this.limitedList && this.query ? { total: this.totalHits, size: this.VIRTUAL_LIST_CHUNK_SIZE, relation: result.count.relation } : null;
|
|
18733
18782
|
gridOptions.rowData = result.hits;
|
|
18734
|
-
var _a = result.fields, elements = _a.elements, sortorder = _a.sortorder, grouporder = _a.grouporder, pinned = _a.pinned;
|
|
18783
|
+
var _a = result.fields, elements = _a.elements, sortorder = _a.sortorder, grouporder = _a.grouporder, pinned = _a.pinned, alignmentx = _a.alignmentx;
|
|
18735
18784
|
gridOptions.context.count = result.count;
|
|
18736
|
-
gridOptions.columnDefs = this.gridApi.getColumnDefs(elements, sortorder, grouporder, pinned, false, this._cachedColumns, searchMode);
|
|
18785
|
+
gridOptions.columnDefs = this.gridApi.getColumnDefs(elements, sortorder, grouporder, pinned, alignmentx, false, this._cachedColumns, searchMode);
|
|
18737
18786
|
var refreshGrid = this.hasGridOptions;
|
|
18738
18787
|
Object.assign(this.resultGridOptions, gridOptions, this.gridOptions);
|
|
18739
18788
|
if (refreshGrid) {
|
|
@@ -20589,8 +20638,9 @@
|
|
|
20589
20638
|
this.dmsService
|
|
20590
20639
|
.getHistory(id, type)
|
|
20591
20640
|
.pipe(operators.map(function (res) {
|
|
20592
|
-
|
|
20593
|
-
_this.
|
|
20641
|
+
var reversedRes = res.reverse();
|
|
20642
|
+
_this.completeHistory = reversedRes;
|
|
20643
|
+
_this.history = reversedRes;
|
|
20594
20644
|
_this.toggleFilter(['INFORMATIONAL', true]);
|
|
20595
20645
|
_this.cd.markForCheck();
|
|
20596
20646
|
}))
|
|
@@ -22882,11 +22932,16 @@
|
|
|
22882
22932
|
*/
|
|
22883
22933
|
InboxDetailsComponent.prototype.confirmInboxItem = function () {
|
|
22884
22934
|
var _this = this;
|
|
22935
|
+
this.preventClickThrough = true;
|
|
22936
|
+
setTimeout(function () {
|
|
22937
|
+
_this.preventClickThrough = false;
|
|
22938
|
+
}, 1000);
|
|
22885
22939
|
this.actionProcessing = this.inboxService
|
|
22886
22940
|
.removeItem(this.item)
|
|
22887
22941
|
.subscribe(function () {
|
|
22888
22942
|
_this.notify.success(_this.translate.instant('eo.inbox.activity.confirm.success'));
|
|
22889
22943
|
_this.eventService.trigger(i1.EnaioEvent.INBOX_ITEM_CONFIRMED, _this.item);
|
|
22944
|
+
_this.item = undefined;
|
|
22890
22945
|
_this.inboxService.refreshInboxState();
|
|
22891
22946
|
}, i1.Utils.catch(null, this.translate.instant('eo.process.item.remove.fail')));
|
|
22892
22947
|
};
|
|
@@ -22955,7 +23010,7 @@
|
|
|
22955
23010
|
InboxDetailsComponent.decorators = [
|
|
22956
23011
|
{ type: i0.Component, args: [{
|
|
22957
23012
|
selector: 'eo-inbox-details',
|
|
22958
|
-
template: "<div class=\"inbox-details\" *ngIf=\"item; else noItem\" [ngClass]=\"{bpm: item.type === 'BPM'}\">\n\n <div class=\"eo-head\">\n <header class=\"eo-header\">\n <eo-icon class=\"eo-header-icon\" *ngIf=\"!item.iconId\" title=\"{{item?.type}}\" [iconSrc]=\"'assets/_default/svg/ic_loop.svg'\"></eo-icon>\n <eo-icon class=\"eo-header-icon\" *ngIf=\"item.iconId\" title=\"{{item?.type}}\" [iconId]=\"item.iconId\"></eo-icon>\n <div class=\"eo-header-info\">\n <h2 class=\"eo-header-title\">{{item.title}}</h2>\n <h3 *ngIf=\"item.description\" class=\"eo-header-subtitle\">{{item.description}}</h3>\n <h3 *ngIf=\"workItem && !item.description\" class=\"eo-header-subtitle\">{{workItem.qmodelname}}</h3>\n </div>\n <div class=\"eo-header-actions\">\n <eo-icon class=\"button primary refresh-button\" *ngIf=\"initializing.closed\"\n (click)=\"refresh()\"\n [iconSrc]=\"'assets/_default/svg/ic_refresh.svg'\"\n [iconTitle]=\"('eo.list.refresh' | translate)\"></eo-icon>\n </div>\n </header>\n </div>\n\n <div class=\"eo-body\" *ngIf=\"initializing.closed\">\n\n <div class=\"load-error\" *ngIf=\"loadError\">\n <eo-error-message></eo-error-message>\n </div>\n\n <!-- details for BPM items -->\n <eo-tab-container *ngIf=\"item.type === 'BPM'; else dmsTask\"\n [pluginPanels]=\"externalPanels\"\n [enableSlave]=\"false\"\n [cacheLayout]=\"'inbox-details'\">\n\n <!-- TASK PANEL -->\n <eo-tab-panel [id]=\"'task'\" header=\"{{'eo.process.details.tab.task' | translate}}\">\n\n <div class=\"tab-panel\">\n <div class=\"panel\">\n\n <div class=\"process-description\" *ngIf=\"workItem?.description\">\n <h3 translate>eo.process.details.tab.task.description</h3>\n <div>{{workItem.description}}</div>\n </div>\n\n <!-- show info when we have an overdue -->\n <eo-duetimeInfo *ngIf=\"item?.duetime\" [item]=\"item\"></eo-duetimeInfo>\n\n <!-- list of users that you got the inbox entry for (in substitute of / deputies) -->\n <div class=\"process-performer\" *ngIf=\"workItem?.inSubstituteOf?.length\">\n <div class=\"head\" [ngClass]=\"{performerShow: substituteShow}\">\n <div class=\"label\" translate>eo.process.substitute</div>\n <div class=\"action\" (click)=\"substituteShow = !substituteShow\">\n <div class=\"count\">{{workItem.inSubstituteOf.length}}</div>\n <eo-icon [iconSrc]=\"'assets/_default/svg/ic_arrow_down.svg'\"></eo-icon>\n </div>\n </div>\n <div class=\"body\" *ngIf=\"substituteShow\">\n <div class=\"performer\" *ngFor=\"let u of workItem.inSubstituteOf\">\n <div class=\"icon-wrap\">\n <eo-icon [iconSrc]=\"'assets/_default/svg/ic_orga_user.svg'\"></eo-icon>\n </div>\n <div class=\"name\">{{u.firstname}} {{u.lastname}} <span class=\"qname\">{{u.name}}</span></div>\n </div>\n </div>\n </div>\n\n <!-- contents to show when the user has locked the work item -->\n <ng-container *ngIf=\"locked; else unlocked\">\n\n <!-- work item form -->\n <div class=\"process-form\">\n <eo-object-form [formOptions]=\"formOptions\" *ngIf=\"workItem?.form\"\n (statusChanged)=\"onFormStatusChanged($event)\" #bpmForm></eo-object-form>\n </div>\n </ng-container>\n\n <!-- contents to show when work item isn't locked -->\n <ng-template #unlocked>\n\n <div class=\"notice\" translate>eo.process.task.continue</div>\n\n <!-- list of recipients -->\n <div class=\"process-performer\" *ngIf=\"workItem\">\n <div class=\"head\" [ngClass]=\"{performerShow: performerShow}\">\n <div class=\"label\" translate>eo.process.recipients</div>\n <div class=\"action\" (click)=\"performerShow = !performerShow\">\n <div class=\"count\">{{workItem.performer.users.length + workItem.performer.roles.length + workItem.performer.groups.length}}</div>\n <eo-icon [iconSrc]=\"'assets/_default/svg/ic_arrow_down.svg'\"></eo-icon>\n </div>\n </div>\n <div class=\"body\" *ngIf=\"performerShow\">\n\n <!-- groups -->\n <div class=\"performer\" *ngFor=\"let g of workItem.performer.groups\">\n <div class=\"icon-wrap\">\n <eo-icon [iconSrc]=\"'assets/_default/svg/ic_orga_group.svg'\"></eo-icon>\n </div>\n <div class=\"name\">{{g.name}}</div>\n </div>\n\n <!-- roles -->\n <div class=\"performer\" *ngFor=\"let r of workItem.performer.roles\">\n <div class=\"icon-wrap\">\n <eo-icon [iconSrc]=\"'assets/_default/svg/ic_orga_role.svg'\"></eo-icon>\n </div>\n <div class=\"name\">{{r.name}}</div>\n </div>\n\n <!-- users -->\n <div class=\"performer\" *ngFor=\"let u of workItem.performer.users\">\n <div class=\"icon-wrap\">\n <eo-icon [iconSrc]=\"'assets/_default/svg/ic_orga_user.svg'\"></eo-icon>\n </div>\n <div class=\"name\">{{u.firstname}} {{u.lastname}} <span class=\"qname\">{{u.name}}</span></div>\n </div>\n </div>\n </div>\n\n <!-- summary of workflows indexdata -->\n <div class=\"indexdata\" *ngIf=\"workItemIndexdata?.data\">\n <h3 translate>eo.process.details.tab.task.indexdata</h3>\n <eo-indexdata-summary [indexdata]=\"workItemIndexdata\"></eo-indexdata-summary>\n </div>\n\n </ng-template>\n </div>\n\n <!-- actions for bpm items -->\n <ng-container *ngIf=\"locked; else unlockedActions\">\n <div class=\"process-actions\" [ngClass]=\"{disabled: !actionProcessing.closed}\">\n\n <div class=\"secondary\">\n <!-- de-personalize the work item -->\n <button class=\"btn-unlock\" (click)=\"unlockWorkItem()\" translate>eo.process.depersonalize</button>\n <!-- save form data -->\n <button class=\"btn-save\" (click)=\"saveWorkItemData()\" *ngIf=\"workItem?.form && !formState?.invalid && formState?.dirty\"\n translate>eo.object.indexdata.save</button>\n </div>\n\n <div class=\"primary\" [ngClass]=\"{disabled: preventClickThrough}\">\n <!-- process actions -->\n <button class=\"primary btn-execute\"\n *ngFor=\"let action of workItem.actions; trackBy: trackByCode\"\n (click)=\"executeWorkItemAction(action)\"\n [ngClass]=\"{ext: action.url}\"\n [disabled]=\"(!!formState && formState?.invalid) || !action.feasible\">{{action.title}}</button>\n </div>\n </div>\n </ng-container>\n\n <!-- actions to show up, when the user has not personalized the work item -->\n <ng-template #unlockedActions>\n <div class=\"process-actions\" [ngClass]=\"{disabled: !actionProcessing.closed || !workItem}\">\n <div class=\"primary\">\n <!-- personalize the work item -->\n <button class=\"primary btn-lock\" (click)=\"lockWorkItem()\" translate>eo.process.personalize</button>\n </div>\n </div>\n </ng-template>\n\n </div>\n </eo-tab-panel>\n\n <!-- HISTORY PANEL -->\n <eo-tab-panel [id]=\"'history'\" header=\"{{'eo.process.details.tab.progress' | translate}}\">\n\n <div class=\"tab-panel\">\n <div class=\"panel process-history\">\n <eo-process-history [history]=\"history\"></eo-process-history>\n </div>\n </div>\n </eo-tab-panel>\n\n <!-- FILE PANEL -->\n <eo-tab-panel [id]=\"'file'\" header=\"{{'eo.process.details.tab.attachments' | translate}}\">\n <div class=\"tab-panel\">\n <!-- list content attached to the work item -->\n <div class=\"panel process-files\">\n <eo-process-file [processFile]=\"workItem?.file\"\n [permissions]=\"workItem?.fileEntryPermissions\"\n [isDisabled]=\"!filesAdding.closed\"\n [clipboard]=\"clipboard\"\n [editable]=\"true\"\n [selectedContentFileId]=\"selectedContentFileId\"\n (onOpenWorkItemContentInContext)=\"openWorkItemContentInContext($event)\"\n (onOpenWorkItemContent)=\"openWorkItemContent($event)\"\n (onRemoveWorkItemContent)=\"removeWorkItemContent($event)\"\n (onPasteProcessFile)=\"addFromClipboard()\">\n </eo-process-file>\n </div>\n </div>\n </eo-tab-panel>\n\n <ng-content></ng-content>\n\n </eo-tab-container>\n\n <!-- body when we have a subscription or a resubmission -->\n <ng-template #dmsTask>\n <div class=\"tab-panel\">\n <div class=\"panel\">\n <div class=\"process-description\">\n <h3 translate>eo.process.details.tab.task.description</h3>\n <div>{{settings?.description}}</div>\n </div>\n </div>\n\n <!-- actions for the current process item -->\n <div class=\"process-actions\" [ngClass]=\"{disabled: !actionProcessing.closed}\">\n <div class=\"primary\">\n <button class=\"primary btn-confirm\" (click)=\"confirmInboxItem()\">{{settings?.actionTitle}}</button>\n </div>\n </div>\n\n </div>\n </ng-template>\n\n </div>\n</div>\n<ng-template #noItem>\n <eo-error-message [emptyState]=\"{icon: emptyState.icon, text: emptyState.text, className: emptyState.className}\">\n <ng-content select=\".error\"></ng-content>\n </eo-error-message>\n</ng-template>\n",
|
|
23013
|
+
template: "<div class=\"inbox-details\" *ngIf=\"item; else noItem\" [ngClass]=\"{bpm: item.type === 'BPM'}\">\n\n <div class=\"eo-head\">\n <header class=\"eo-header\">\n <eo-icon class=\"eo-header-icon\" *ngIf=\"!item.iconId\" title=\"{{item?.type}}\" [iconSrc]=\"'assets/_default/svg/ic_loop.svg'\"></eo-icon>\n <eo-icon class=\"eo-header-icon\" *ngIf=\"item.iconId\" title=\"{{item?.type}}\" [iconId]=\"item.iconId\"></eo-icon>\n <div class=\"eo-header-info\">\n <h2 class=\"eo-header-title\">{{item.title}}</h2>\n <h3 *ngIf=\"item.description\" class=\"eo-header-subtitle\">{{item.description}}</h3>\n <h3 *ngIf=\"workItem && !item.description\" class=\"eo-header-subtitle\">{{workItem.qmodelname}}</h3>\n </div>\n <div class=\"eo-header-actions\">\n <eo-icon class=\"button primary refresh-button\" *ngIf=\"initializing.closed\"\n (click)=\"refresh()\"\n [iconSrc]=\"'assets/_default/svg/ic_refresh.svg'\"\n [iconTitle]=\"('eo.list.refresh' | translate)\"></eo-icon>\n </div>\n </header>\n </div>\n\n <div class=\"eo-body\" *ngIf=\"initializing.closed\">\n\n <div class=\"load-error\" *ngIf=\"loadError\">\n <eo-error-message></eo-error-message>\n </div>\n\n <!-- details for BPM items -->\n <eo-tab-container *ngIf=\"item.type === 'BPM'; else dmsTask\"\n [pluginPanels]=\"externalPanels\"\n [enableSlave]=\"false\"\n [cacheLayout]=\"'inbox-details'\">\n\n <!-- TASK PANEL -->\n <eo-tab-panel [id]=\"'task'\" header=\"{{'eo.process.details.tab.task' | translate}}\">\n\n <div class=\"tab-panel\">\n <div class=\"panel\">\n\n <div class=\"process-description\" *ngIf=\"workItem?.description\">\n <h3 translate>eo.process.details.tab.task.description</h3>\n <div>{{workItem.description}}</div>\n </div>\n\n <!-- show info when we have an overdue -->\n <eo-duetimeInfo *ngIf=\"item?.duetime\" [item]=\"item\"></eo-duetimeInfo>\n\n <!-- list of users that you got the inbox entry for (in substitute of / deputies) -->\n <div class=\"process-performer\" *ngIf=\"workItem?.inSubstituteOf?.length\">\n <div class=\"head\" [ngClass]=\"{performerShow: substituteShow}\">\n <div class=\"label\" translate>eo.process.substitute</div>\n <div class=\"action\" (click)=\"substituteShow = !substituteShow\">\n <div class=\"count\">{{workItem.inSubstituteOf.length}}</div>\n <eo-icon [iconSrc]=\"'assets/_default/svg/ic_arrow_down.svg'\"></eo-icon>\n </div>\n </div>\n <div class=\"body\" *ngIf=\"substituteShow\">\n <div class=\"performer\" *ngFor=\"let u of workItem.inSubstituteOf\">\n <div class=\"icon-wrap\">\n <eo-icon [iconSrc]=\"'assets/_default/svg/ic_orga_user.svg'\"></eo-icon>\n </div>\n <div class=\"name\">{{u.firstname}} {{u.lastname}} <span class=\"qname\">{{u.name}}</span></div>\n </div>\n </div>\n </div>\n\n <!-- contents to show when the user has locked the work item -->\n <ng-container *ngIf=\"locked; else unlocked\">\n\n <!-- work item form -->\n <div class=\"process-form\">\n <eo-object-form [formOptions]=\"formOptions\" *ngIf=\"workItem?.form\"\n (statusChanged)=\"onFormStatusChanged($event)\" #bpmForm></eo-object-form>\n </div>\n </ng-container>\n\n <!-- contents to show when work item isn't locked -->\n <ng-template #unlocked>\n\n <div class=\"notice\" translate>eo.process.task.continue</div>\n\n <!-- list of recipients -->\n <div class=\"process-performer\" *ngIf=\"workItem\">\n <div class=\"head\" [ngClass]=\"{performerShow: performerShow}\">\n <div class=\"label\" translate>eo.process.recipients</div>\n <div class=\"action\" (click)=\"performerShow = !performerShow\">\n <div class=\"count\">{{workItem.performer.users.length + workItem.performer.roles.length + workItem.performer.groups.length}}</div>\n <eo-icon [iconSrc]=\"'assets/_default/svg/ic_arrow_down.svg'\"></eo-icon>\n </div>\n </div>\n <div class=\"body\" *ngIf=\"performerShow\">\n\n <!-- groups -->\n <div class=\"performer\" *ngFor=\"let g of workItem.performer.groups\">\n <div class=\"icon-wrap\">\n <eo-icon [iconSrc]=\"'assets/_default/svg/ic_orga_group.svg'\"></eo-icon>\n </div>\n <div class=\"name\">{{g.name}}</div>\n </div>\n\n <!-- roles -->\n <div class=\"performer\" *ngFor=\"let r of workItem.performer.roles\">\n <div class=\"icon-wrap\">\n <eo-icon [iconSrc]=\"'assets/_default/svg/ic_orga_role.svg'\"></eo-icon>\n </div>\n <div class=\"name\">{{r.name}}</div>\n </div>\n\n <!-- users -->\n <div class=\"performer\" *ngFor=\"let u of workItem.performer.users\">\n <div class=\"icon-wrap\">\n <eo-icon [iconSrc]=\"'assets/_default/svg/ic_orga_user.svg'\"></eo-icon>\n </div>\n <div class=\"name\">{{u.firstname}} {{u.lastname}} <span class=\"qname\">{{u.name}}</span></div>\n </div>\n </div>\n </div>\n\n <!-- summary of workflows indexdata -->\n <div class=\"indexdata\" *ngIf=\"workItemIndexdata?.data\">\n <h3 translate>eo.process.details.tab.task.indexdata</h3>\n <eo-indexdata-summary [indexdata]=\"workItemIndexdata\"></eo-indexdata-summary>\n </div>\n\n </ng-template>\n </div>\n\n <!-- actions for bpm items -->\n <ng-container *ngIf=\"locked; else unlockedActions\">\n <div class=\"process-actions\" [ngClass]=\"{disabled: !actionProcessing.closed}\">\n\n <div class=\"secondary\">\n <!-- de-personalize the work item -->\n <button class=\"btn-unlock\" (click)=\"unlockWorkItem()\" translate>eo.process.depersonalize</button>\n <!-- save form data -->\n <button class=\"btn-save\" (click)=\"saveWorkItemData()\" *ngIf=\"workItem?.form && !formState?.invalid && formState?.dirty\"\n translate>eo.object.indexdata.save</button>\n </div>\n\n <div class=\"primary\" [ngClass]=\"{disabled: preventClickThrough}\">\n <!-- process actions -->\n <button class=\"primary btn-execute\"\n *ngFor=\"let action of workItem.actions; trackBy: trackByCode\"\n (click)=\"executeWorkItemAction(action)\"\n [ngClass]=\"{ext: action.url}\"\n [disabled]=\"(!!formState && formState?.invalid) || !action.feasible\">{{action.title}}</button>\n </div>\n </div>\n </ng-container>\n\n <!-- actions to show up, when the user has not personalized the work item -->\n <ng-template #unlockedActions>\n <div class=\"process-actions\" [ngClass]=\"{disabled: !actionProcessing.closed || !workItem}\">\n <div class=\"primary\">\n <!-- personalize the work item -->\n <button class=\"primary btn-lock\" (click)=\"lockWorkItem()\" translate>eo.process.personalize</button>\n </div>\n </div>\n </ng-template>\n\n </div>\n </eo-tab-panel>\n\n <!-- HISTORY PANEL -->\n <eo-tab-panel [id]=\"'history'\" header=\"{{'eo.process.details.tab.progress' | translate}}\">\n\n <div class=\"tab-panel\">\n <div class=\"panel process-history\">\n <eo-process-history [history]=\"history\"></eo-process-history>\n </div>\n </div>\n </eo-tab-panel>\n\n <!-- FILE PANEL -->\n <eo-tab-panel [id]=\"'file'\" header=\"{{'eo.process.details.tab.attachments' | translate}}\">\n <div class=\"tab-panel\">\n <!-- list content attached to the work item -->\n <div class=\"panel process-files\">\n <eo-process-file [processFile]=\"workItem?.file\"\n [permissions]=\"workItem?.fileEntryPermissions\"\n [isDisabled]=\"!filesAdding.closed\"\n [clipboard]=\"clipboard\"\n [editable]=\"true\"\n [selectedContentFileId]=\"selectedContentFileId\"\n (onOpenWorkItemContentInContext)=\"openWorkItemContentInContext($event)\"\n (onOpenWorkItemContent)=\"openWorkItemContent($event)\"\n (onRemoveWorkItemContent)=\"removeWorkItemContent($event)\"\n (onPasteProcessFile)=\"addFromClipboard()\">\n </eo-process-file>\n </div>\n </div>\n </eo-tab-panel>\n\n <ng-content></ng-content>\n\n </eo-tab-container>\n\n <!-- body when we have a subscription or a resubmission -->\n <ng-template #dmsTask>\n <div class=\"tab-panel\">\n <div class=\"panel\">\n <div class=\"process-description\">\n <h3 translate>eo.process.details.tab.task.description</h3>\n <div>{{settings?.description}}</div>\n </div>\n </div>\n\n <!-- actions for the current process item -->\n <div class=\"process-actions\" [ngClass]=\"{disabled: !actionProcessing.closed}\">\n <div class=\"primary\">\n <button class=\"primary btn-confirm\" [disabled]=\"preventClickThrough\" (click)=\"confirmInboxItem()\">{{settings?.actionTitle}}</button>\n </div>\n </div>\n\n </div>\n </ng-template>\n\n </div>\n</div>\n<ng-template #noItem>\n <eo-error-message [emptyState]=\"{icon: emptyState.icon, text: emptyState.text, className: emptyState.className}\">\n <ng-content select=\".error\"></ng-content>\n </eo-error-message>\n</ng-template>\n",
|
|
22959
23014
|
styles: [".inbox-details{background-color:var(--panel-background-grey);height:100%;position:relative}.inbox-details:not(.bpm) .eo-head{border-bottom:1px solid var(--panel-header-border-bottom-color);height:var(--app-pane-header-height)}.inbox-details:not(.bpm) .eo-body{top:var(--app-pane-header-height)}.inbox-details .eo-head{background-color:var(--color-white);height:calc(var(--app-pane-header-height) - 30px)}.inbox-details .eo-body{bottom:0;left:0;position:absolute;right:0;top:calc(var(--app-pane-header-height) - 30px)}.inbox-details .eo-body .load-error{align-items:center;background-color:var(--panel-background-grey);bottom:0;display:flex;flex-flow:column;justify-content:center;left:0;position:absolute;right:0;top:0;z-index:5}.inbox-details .eo-body .load-error eo-icon{color:var(--text-color-hint);opacity:.5;width:20%}.inbox-details .eo-body .tab-panel{display:flex;flex:1;flex-direction:column;height:100%;min-height:0;min-width:0}.inbox-details .eo-body .tab-panel .panel:not(.process-history){display:flex;flex:1;flex-direction:column;min-height:0;min-width:0;overflow-y:auto;padding:var(--app-pane-padding)}.inbox-details .eo-body .tab-panel .panel.process-files,.inbox-details .eo-body .tab-panel .panel.process-history{height:100%}.inbox-details .eo-body .tab-panel .process-actions{display:flex;flex:none;flex-direction:row;flex-wrap:wrap;justify-content:space-between;min-height:0;min-width:0;padding:0 calc(var(--app-pane-padding)*0.75) 0!important}.inbox-details .eo-body .tab-panel .process-actions button{margin:calc(var(--app-pane-padding)/8)}.inbox-details .eo-body .tab-panel .process-actions button.ext{position:relative}.inbox-details .eo-body .tab-panel .process-actions button.ext:after{border-color:rgba(var(--color-white-rgb),.7);border-style:solid;border-width:2px 2px 0 0;box-sizing:border-box;content:\"\";height:calc(var(--app-pane-padding)*0.5);position:absolute;right:calc(var(--app-pane-padding)/8);top:calc(var(--app-pane-padding)/8);width:calc(var(--app-pane-padding)*0.5)}.inbox-details .eo-body .tab-panel .process-actions div.primary{display:flex;flex:none;flex:1 1 auto;flex-direction:row;flex-wrap:wrap;justify-content:flex-end;min-height:0;min-width:0;padding:var(--app-pane-padding) 0}.inbox-details .eo-body .tab-panel .process-actions div.primary.disabled{opacity:.2;pointer-events:none}.inbox-details .eo-body .tab-panel .process-actions div.secondary{display:flex;flex:none;flex-direction:row;min-height:0;min-width:0;padding:var(--app-pane-padding) 0}.inbox-details .eo-body .tab-panel .process-actions.disabled{opacity:.5}.inbox-details .eo-body .tab-panel .process-actions.disabled button{cursor:default;pointer-events:none}.inbox-details .eo-body h3{border-bottom:1px solid rgba(var(--color-black-rgb),.1);color:var(--text-color-caption);font-size:var(--font-subhead);font-weight:var(--font-weight-normal);margin:0 0 calc(var(--app-pane-padding)/2) 0;padding:0 0 calc(var(--app-pane-padding)/4) 0}.inbox-details .eo-body .notice{background-color:rgba(var(--color-black-rgb),.06);border-radius:2px;margin-bottom:var(--app-pane-padding);padding:calc(var(--app-pane-padding)/4) calc(var(--app-pane-padding)/2)}.inbox-details .eo-body .indexdata{margin-top:calc(var(--app-pane-padding)/2)}.inbox-details .eo-body .process-description{margin-bottom:var(--app-pane-padding)}.inbox-details .eo-body .process-performer{margin:calc(var(--app-pane-padding)/4) 0}.inbox-details .eo-body .process-performer .head{align-items:center;display:flex;flex-flow:row nowrap}.inbox-details .eo-body .process-performer .head .label{flex:1 1 auto}.inbox-details .eo-body .process-performer .head .action{-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;border:1px solid rgba(var(--color-black-rgb),.1);border-radius:2px;cursor:pointer;display:flex;flex-flow:row nowrap;overflow:hidden;padding:0 0 0 calc(var(--app-pane-padding)/2);transition:all var(--app-default-transition-duration) ease-in-out}.inbox-details .eo-body .process-performer .head .action .count{color:var(--text-color-caption);line-height:1em}.inbox-details .eo-body .process-performer .head .action eo-icon{-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;color:var(--text-color-hint);transition:all var(--app-default-transition-duration) ease-in-out}.inbox-details .eo-body .process-performer .head .action:hover{background:rgba(var(--color-black-rgb),.1)}.inbox-details .eo-body .process-performer .head.performerShow .action eo-icon{transform:rotate(180deg)}.inbox-details .eo-body .process-performer .body{padding:calc(var(--app-pane-padding)/2) 0}.inbox-details .eo-body .process-performer .body .performer{-moz-user-select:none;-webkit-animation:eoFadeInDown var(--app-default-transition-duration);-webkit-user-select:none;align-items:center;animation:eoFadeInDown var(--app-default-transition-duration);background-color:var(--color-white);border-radius:2px;display:flex;flex-flow:row nowrap;margin-bottom:2px;padding:2px;user-select:none}.inbox-details .eo-body .process-performer .body .performer .icon-wrap{background-color:var(--color-primary-3);border-radius:2px;color:var(--color-white);flex:0 0 auto;padding:2px}.inbox-details .eo-body .process-performer .body .performer .name{flex:1 1 auto;padding:0 var(--app-pane-padding)}.inbox-details .eo-body .process-performer .body .performer .name .qname{background-color:rgba(var(--color-black-rgb),.08);border-radius:2px;color:var(--text-color-caption);display:inline-block;font-size:var(--font-hint);margin:0 calc(var(--app-pane-padding)/2);padding:2px calc(var(--app-pane-padding)/2)}.inbox-details .eo-body .no-files{padding:var(--app-pane-padding)}"]
|
|
22960
23015
|
},] }
|
|
22961
23016
|
];
|
|
@@ -24603,10 +24658,10 @@
|
|
|
24603
24658
|
this.http = http;
|
|
24604
24659
|
this.userService = userService;
|
|
24605
24660
|
this.config = config;
|
|
24606
|
-
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.
|
|
24661
|
+
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" }];
|
|
24607
24662
|
this.ctrl = {
|
|
24608
24663
|
productName: 'yuuvis® RAD client',
|
|
24609
|
-
clientVersion: '9.0.0-rc.
|
|
24664
|
+
clientVersion: '9.0.0-rc.5'
|
|
24610
24665
|
};
|
|
24611
24666
|
this.licenses = {
|
|
24612
24667
|
'MIT': {
|
|
@@ -26671,77 +26726,75 @@
|
|
|
26671
26726
|
exports.ɵ1 = ɵ1;
|
|
26672
26727
|
exports.ɵa = PendingChangesGuard;
|
|
26673
26728
|
exports.ɵb = UploadOverlayGuard;
|
|
26674
|
-
exports.ɵba =
|
|
26675
|
-
exports.ɵbb =
|
|
26676
|
-
exports.ɵbc =
|
|
26677
|
-
exports.ɵbd =
|
|
26678
|
-
exports.ɵbe =
|
|
26679
|
-
exports.ɵbf =
|
|
26680
|
-
exports.ɵbg =
|
|
26681
|
-
exports.ɵbh =
|
|
26682
|
-
exports.ɵbi =
|
|
26683
|
-
exports.ɵbj =
|
|
26684
|
-
exports.ɵbk =
|
|
26685
|
-
exports.ɵbl =
|
|
26686
|
-
exports.ɵbm =
|
|
26687
|
-
exports.ɵbn =
|
|
26688
|
-
exports.ɵbo =
|
|
26689
|
-
exports.ɵbp =
|
|
26690
|
-
exports.ɵbq =
|
|
26691
|
-
exports.ɵbr =
|
|
26692
|
-
exports.ɵbs =
|
|
26693
|
-
exports.ɵbt =
|
|
26694
|
-
exports.ɵbu =
|
|
26695
|
-
exports.ɵbv =
|
|
26696
|
-
exports.ɵbw =
|
|
26697
|
-
exports.ɵbx =
|
|
26698
|
-
exports.ɵby =
|
|
26699
|
-
exports.ɵbz =
|
|
26729
|
+
exports.ɵba = DownloadOriginalActionComponent;
|
|
26730
|
+
exports.ɵbb = DownloadPdfActionComponent;
|
|
26731
|
+
exports.ɵbc = OpenDocumentActionComponent;
|
|
26732
|
+
exports.ɵbd = EmailActionComponent;
|
|
26733
|
+
exports.ɵbe = EmailLinkActionComponent;
|
|
26734
|
+
exports.ɵbf = EmailOriginalActionComponent;
|
|
26735
|
+
exports.ɵbg = EmailPdfActionComponent;
|
|
26736
|
+
exports.ɵbh = ClipboardActionComponent;
|
|
26737
|
+
exports.ɵbi = ClipboardLinkActionComponent;
|
|
26738
|
+
exports.ɵbj = ClipboardOriginalActionComponent;
|
|
26739
|
+
exports.ɵbk = ClipboardPdfActionComponent;
|
|
26740
|
+
exports.ɵbl = FavoriteActionComponent;
|
|
26741
|
+
exports.ɵbm = DeleteActionComponent;
|
|
26742
|
+
exports.ɵbn = DeleteComponent;
|
|
26743
|
+
exports.ɵbo = OpenVersionsActionComponent;
|
|
26744
|
+
exports.ɵbp = RestoreVersionActionComponent;
|
|
26745
|
+
exports.ɵbq = DeletePreparedActionComponent;
|
|
26746
|
+
exports.ɵbr = AddSubscriptionActionComponent;
|
|
26747
|
+
exports.ɵbs = AddSubscriptionComponent;
|
|
26748
|
+
exports.ɵbt = RemoveSubscriptionActionComponent;
|
|
26749
|
+
exports.ɵbu = WorkflowActionComponent;
|
|
26750
|
+
exports.ɵbv = WorkflowComponent;
|
|
26751
|
+
exports.ɵbw = CustomActionsComponent;
|
|
26752
|
+
exports.ɵbx = AddResubmissionActionComponent;
|
|
26753
|
+
exports.ɵby = AddResubmissionComponent;
|
|
26754
|
+
exports.ɵbz = UpdateResubmissionActionComponent;
|
|
26700
26755
|
exports.ɵc = AppShellRoutingModule;
|
|
26701
|
-
exports.ɵca =
|
|
26702
|
-
exports.ɵcb =
|
|
26703
|
-
exports.ɵcc =
|
|
26704
|
-
exports.ɵcd =
|
|
26705
|
-
exports.ɵce =
|
|
26706
|
-
exports.ɵcf =
|
|
26707
|
-
exports.ɵcg =
|
|
26708
|
-
exports.ɵch =
|
|
26709
|
-
exports.ɵci =
|
|
26710
|
-
exports.ɵcj =
|
|
26711
|
-
exports.ɵck =
|
|
26712
|
-
exports.ɵcl =
|
|
26713
|
-
exports.ɵcm =
|
|
26714
|
-
exports.ɵcn =
|
|
26715
|
-
exports.ɵco =
|
|
26716
|
-
exports.ɵcp =
|
|
26717
|
-
exports.ɵcq =
|
|
26718
|
-
exports.ɵcr =
|
|
26719
|
-
exports.ɵcs =
|
|
26720
|
-
exports.ɵct = EoClientRoutingModule;
|
|
26721
|
-
exports.ɵcu = ProcessStateComponent;
|
|
26756
|
+
exports.ɵca = ShareObjectActionComponent;
|
|
26757
|
+
exports.ɵcb = ShareObjectComponent;
|
|
26758
|
+
exports.ɵcc = CutActionComponent;
|
|
26759
|
+
exports.ɵcd = FinalizeActionComponent;
|
|
26760
|
+
exports.ɵce = DefinalizeActionComponent;
|
|
26761
|
+
exports.ɵcf = DeleteContentActionComponent;
|
|
26762
|
+
exports.ɵcg = UnlockActionComponent;
|
|
26763
|
+
exports.ɵch = SimpleWorkflowActionComponent;
|
|
26764
|
+
exports.ɵci = PreventDoubleClickDirective;
|
|
26765
|
+
exports.ɵcj = TrapFocusDirective;
|
|
26766
|
+
exports.ɵck = EditIconComponent;
|
|
26767
|
+
exports.ɵcl = DuetimeInfoComponent;
|
|
26768
|
+
exports.ɵcm = PrepareContentExistsInfoComponent;
|
|
26769
|
+
exports.ɵcn = StoredQueryModule;
|
|
26770
|
+
exports.ɵco = ObjectStateRoutingModule;
|
|
26771
|
+
exports.ɵcp = InboxStateRoutingModule;
|
|
26772
|
+
exports.ɵcq = PrepareStateRoutingModule;
|
|
26773
|
+
exports.ɵcr = EoClientRoutingModule;
|
|
26774
|
+
exports.ɵcs = ProcessStateComponent;
|
|
26722
26775
|
exports.ɵd = AppProcessComponent;
|
|
26723
|
-
exports.ɵe =
|
|
26724
|
-
exports.ɵf =
|
|
26725
|
-
exports.ɵg =
|
|
26726
|
-
exports.ɵh =
|
|
26727
|
-
exports.ɵi =
|
|
26728
|
-
exports.ɵj =
|
|
26729
|
-
exports.ɵk =
|
|
26730
|
-
exports.ɵl =
|
|
26731
|
-
exports.ɵm =
|
|
26732
|
-
exports.ɵn =
|
|
26733
|
-
exports.ɵo =
|
|
26734
|
-
exports.ɵp =
|
|
26735
|
-
exports.ɵq =
|
|
26736
|
-
exports.ɵr =
|
|
26737
|
-
exports.ɵs =
|
|
26738
|
-
exports.ɵt =
|
|
26739
|
-
exports.ɵu =
|
|
26740
|
-
exports.ɵv =
|
|
26741
|
-
exports.ɵw =
|
|
26742
|
-
exports.ɵx =
|
|
26743
|
-
exports.ɵy =
|
|
26744
|
-
exports.ɵz =
|
|
26776
|
+
exports.ɵe = PipesModule;
|
|
26777
|
+
exports.ɵf = UnsubscribeOnDestroy;
|
|
26778
|
+
exports.ɵg = QueryScopeSelectComponent;
|
|
26779
|
+
exports.ɵh = IndexdataSummaryEntryComponent;
|
|
26780
|
+
exports.ɵi = OrderByPipe;
|
|
26781
|
+
exports.ɵj = TreeNodeComponent;
|
|
26782
|
+
exports.ɵk = DatepickerService;
|
|
26783
|
+
exports.ɵl = YearRangeDirective;
|
|
26784
|
+
exports.ɵm = ReferenceFinderComponent;
|
|
26785
|
+
exports.ɵn = fadeInOut;
|
|
26786
|
+
exports.ɵo = ReferenceFinderService;
|
|
26787
|
+
exports.ɵp = ReferenceFinderEntryComponent;
|
|
26788
|
+
exports.ɵq = DynamicListFilterComponent;
|
|
26789
|
+
exports.ɵr = ListFilterComponent;
|
|
26790
|
+
exports.ɵs = PaginationComponent;
|
|
26791
|
+
exports.ɵt = ProcessFormModule;
|
|
26792
|
+
exports.ɵu = ProcessFormComponent;
|
|
26793
|
+
exports.ɵv = ActionComponentAnchorDirective;
|
|
26794
|
+
exports.ɵw = OpenDocumentComponent;
|
|
26795
|
+
exports.ɵx = CopyActionComponent;
|
|
26796
|
+
exports.ɵy = OpenContextActionComponent;
|
|
26797
|
+
exports.ɵz = DownloadActionComponent;
|
|
26745
26798
|
|
|
26746
26799
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
26747
26800
|
|