@eo-sdk/client 9.0.0-rc.2 → 9.0.0-rc.4
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/extensions/filter/text/text-filter.component.d.ts +5 -1
- package/app/eo-framework/ui/eo-dialog/eo-dialog.component.d.ts +1 -1
- package/app/eo-framework-core/api/grid.service.d.ts +2 -0
- package/assets/_default/i18n/de.json +1 -0
- package/assets/_default/i18n/en.json +1 -0
- package/bundles/eo-sdk-client.umd.js +142 -109
- 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/extensions/filter/text/text-filter.component.js +19 -5
- package/esm2015/app/eo-framework/inbox-details/inbox-details.component.js +7 -2
- package/esm2015/app/eo-framework/object-details/object-details.component.js +3 -2
- 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/ui/eo-dialog/eo-dialog.component.js +2 -2
- package/esm2015/app/eo-framework/ui/indexdata-summary/indexdata-summary.component.js +2 -2
- package/esm2015/app/eo-framework-core/api/grid.service.js +31 -26
- package/esm2015/eo-sdk-client.js +68 -70
- package/esm2015/projects/eo-sdk/core/lib/model/baseparams.model.js +1 -1
- package/fesm2015/eo-sdk-client.js +76 -41
- package/fesm2015/eo-sdk-client.js.map +1 -1
- package/package.json +2 -2
- package/projects/eo-sdk/core/lib/model/baseparams.model.d.ts +4 -0
- package/projects/eo-sdk/core/package.json +1 -1
|
@@ -1979,6 +1979,7 @@
|
|
|
1979
1979
|
return params.node.group || !params.data ? '' : params.data[colDef.field];
|
|
1980
1980
|
};
|
|
1981
1981
|
colDef.refData = { qname: resultField.qname || '' };
|
|
1982
|
+
colDef.cellStyle = { 'justify-content': resultField.alignmentx ? resultField.alignmentx : 'unset' };
|
|
1982
1983
|
/**
|
|
1983
1984
|
* headerClass
|
|
1984
1985
|
* add special header class for fields from the contextfolder
|
|
@@ -2288,14 +2289,14 @@
|
|
|
2288
2289
|
return CellRenderer[type + 'CellRenderer'](Object.assign({}, param, newParam));
|
|
2289
2290
|
};
|
|
2290
2291
|
CellRenderer.filesizeCellRenderer = function (param) {
|
|
2291
|
-
if (param.value === null) {
|
|
2292
|
-
return
|
|
2292
|
+
if (param.value === null && CellRenderer.situation === 'SEARCH') {
|
|
2293
|
+
return this.noValueRenderer(param);
|
|
2293
2294
|
}
|
|
2294
2295
|
return param.value ? param.context.fileSizePipe.transform(param.value) : '';
|
|
2295
2296
|
};
|
|
2296
2297
|
CellRenderer.numberCellRenderer = function (param) {
|
|
2297
|
-
if (param.value === null) {
|
|
2298
|
-
return
|
|
2298
|
+
if (param.value === null && CellRenderer.situation === 'SEARCH') {
|
|
2299
|
+
return this.noValueRenderer(param);
|
|
2299
2300
|
}
|
|
2300
2301
|
if (param.value || param.value === 0) {
|
|
2301
2302
|
if (param.value.operator) {
|
|
@@ -2323,14 +2324,14 @@
|
|
|
2323
2324
|
return context.numberPipe.transform(value, grouping, pattern, scale);
|
|
2324
2325
|
};
|
|
2325
2326
|
CellRenderer.stringCellrenderer = function (param) {
|
|
2326
|
-
if (param.value === null) {
|
|
2327
|
-
return
|
|
2327
|
+
if (param.value === null && CellRenderer.situation === 'SEARCH') {
|
|
2328
|
+
return this.noValueRenderer(param);
|
|
2328
2329
|
}
|
|
2329
2330
|
return GridService.escapeHtml(param.value);
|
|
2330
2331
|
};
|
|
2331
2332
|
CellRenderer.typeCellRenderer = function (param) {
|
|
2332
|
-
if (param.value === null) {
|
|
2333
|
-
return
|
|
2333
|
+
if (param.value === null && CellRenderer.situation === 'SEARCH') {
|
|
2334
|
+
return this.noValueRenderer(param);
|
|
2334
2335
|
}
|
|
2335
2336
|
var val = '';
|
|
2336
2337
|
if (param.value) {
|
|
@@ -2343,8 +2344,8 @@
|
|
|
2343
2344
|
return val;
|
|
2344
2345
|
};
|
|
2345
2346
|
CellRenderer.iconCellRenderer = function (param) {
|
|
2346
|
-
if (param.value === null) {
|
|
2347
|
-
return
|
|
2347
|
+
if (param.value === null && CellRenderer.situation === 'SEARCH') {
|
|
2348
|
+
return this.noValueRenderer(param);
|
|
2348
2349
|
}
|
|
2349
2350
|
var val = '';
|
|
2350
2351
|
if (param.value && (param.value.url || param.value.iconId)) {
|
|
@@ -2360,24 +2361,24 @@
|
|
|
2360
2361
|
return val;
|
|
2361
2362
|
};
|
|
2362
2363
|
CellRenderer.emailCellRenderer = function (param) {
|
|
2363
|
-
if (param.value === null) {
|
|
2364
|
-
return
|
|
2364
|
+
if (param.value === null && CellRenderer.situation === 'SEARCH') {
|
|
2365
|
+
return this.noValueRenderer(param);
|
|
2365
2366
|
}
|
|
2366
2367
|
return param.value
|
|
2367
2368
|
? "<a href=\"mailto:" + param.value + "\">" + GridService.escapeHtml(param.value) + "</a>"
|
|
2368
2369
|
: '';
|
|
2369
2370
|
};
|
|
2370
2371
|
CellRenderer.urlCellRenderer = function (param) {
|
|
2371
|
-
if (param.value === null) {
|
|
2372
|
-
return
|
|
2372
|
+
if (param.value === null && CellRenderer.situation === 'SEARCH') {
|
|
2373
|
+
return this.noValueRenderer(param);
|
|
2373
2374
|
}
|
|
2374
2375
|
return param.value
|
|
2375
2376
|
? "<a target=\"_blank \" href=\"" + param.value + "\">" + GridService.escapeHtml(param.value) + "</a>"
|
|
2376
2377
|
: '';
|
|
2377
2378
|
};
|
|
2378
2379
|
CellRenderer.dateTimeCellRenderer = function (param) {
|
|
2379
|
-
if (param.value === null) {
|
|
2380
|
-
return
|
|
2380
|
+
if (param.value === null && CellRenderer.situation === 'SEARCH') {
|
|
2381
|
+
return this.noValueRenderer(param);
|
|
2381
2382
|
}
|
|
2382
2383
|
if (param.value) {
|
|
2383
2384
|
if (param.value.operator) {
|
|
@@ -2402,14 +2403,14 @@
|
|
|
2402
2403
|
}
|
|
2403
2404
|
};
|
|
2404
2405
|
CellRenderer.dateTimeCellRendererTemplate = function (value, context, pattern) {
|
|
2405
|
-
if (value === null) {
|
|
2406
|
+
if (value === null && CellRenderer.situation === 'SEARCH') {
|
|
2406
2407
|
return "<span class=\"no-value\">" + context.translate.instant('eo.form.input.null') + "</span>";
|
|
2407
2408
|
}
|
|
2408
2409
|
return "<span date=\"" + value + "\">" + context.datePipe.transform(value, pattern) + "</span>";
|
|
2409
2410
|
};
|
|
2410
2411
|
CellRenderer.booleanCellRenderer = function (param) {
|
|
2411
|
-
if (param.value === null) {
|
|
2412
|
-
return
|
|
2412
|
+
if (param.value === null && CellRenderer.situation === 'SEARCH') {
|
|
2413
|
+
return this.noValueRenderer(param);
|
|
2413
2414
|
}
|
|
2414
2415
|
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
2416
|
if (param.value === true || param.value === 'true') {
|
|
@@ -2421,8 +2422,8 @@
|
|
|
2421
2422
|
return "<svg class=\"checkbox\" height=\"24\" viewBox=\"0 0 24 24\" width=\"24\" xmlns=\"http://www.w3.org/2000/svg\">" + val + "</svg>";
|
|
2422
2423
|
};
|
|
2423
2424
|
CellRenderer.multiSelectCellRenderer = function (param) {
|
|
2424
|
-
if (param.value === null) {
|
|
2425
|
-
return
|
|
2425
|
+
if (param.value === null && CellRenderer.situation === 'SEARCH') {
|
|
2426
|
+
return this.noValueRenderer(param);
|
|
2426
2427
|
}
|
|
2427
2428
|
var val = '';
|
|
2428
2429
|
if (param.value) {
|
|
@@ -2433,8 +2434,8 @@
|
|
|
2433
2434
|
return val;
|
|
2434
2435
|
};
|
|
2435
2436
|
CellRenderer.linkCellRenderer = function (param) {
|
|
2436
|
-
if (param.value === null) {
|
|
2437
|
-
return
|
|
2437
|
+
if (param.value === null && CellRenderer.situation === 'SEARCH') {
|
|
2438
|
+
return this.noValueRenderer(param);
|
|
2438
2439
|
}
|
|
2439
2440
|
var val = '';
|
|
2440
2441
|
if (param.value) {
|
|
@@ -2456,8 +2457,8 @@
|
|
|
2456
2457
|
return val;
|
|
2457
2458
|
};
|
|
2458
2459
|
CellRenderer.referenceCellRenderer = function (param) {
|
|
2459
|
-
if (param.value === null) {
|
|
2460
|
-
return
|
|
2460
|
+
if (param.value === null && CellRenderer.situation === 'SEARCH') {
|
|
2461
|
+
return this.noValueRenderer(param);
|
|
2461
2462
|
}
|
|
2462
2463
|
var text = '';
|
|
2463
2464
|
var value = param.data ? param.data[param.colDef.field] : '';
|
|
@@ -2480,8 +2481,12 @@
|
|
|
2480
2481
|
}
|
|
2481
2482
|
return text || param.value;
|
|
2482
2483
|
};
|
|
2484
|
+
CellRenderer.noValueRenderer = function (param) {
|
|
2485
|
+
return "<span class=\"no-value\">" + param.context.translate.instant('eo.form.input.null') + "</span>";
|
|
2486
|
+
};
|
|
2483
2487
|
return CellRenderer;
|
|
2484
2488
|
}());
|
|
2489
|
+
CellRenderer.situation = '';
|
|
2485
2490
|
|
|
2486
2491
|
/**
|
|
2487
2492
|
* EditingObserver service is used to track changes made inside the application, that should prevent
|
|
@@ -4025,7 +4030,7 @@
|
|
|
4025
4030
|
IndexdataSummaryComponent.decorators = [
|
|
4026
4031
|
{ type: i0.Component, args: [{
|
|
4027
4032
|
selector: 'eo-indexdata-summary',
|
|
4028
|
-
template: "<div class=\"empty-container\" *ngIf=\"emptyState\">{{'eo.indexdata.summary.no.change' | translate}}</div>\n<div class=\"indexdata-summary\">\n\n <div class=\"core-section\" *ngIf=\"coreValues?.length\">\n\n <eo-indexdata-summary-entry *ngFor=\"let item of coreValues\"\n [label]=\"item.label\"\n [value]=\"item._value\"\n (onValueClicked)=\"onValueClick($event, item)\">\n </eo-indexdata-summary-entry>\n\n </div>\n <div class=\"data-section\" *ngIf=\"dataValues && dataValues.length\">\n <eo-simple-accordion #dataAccordion\n [header]=\"('eo.indexdata.summary.more' | translate)\"\n [selected]=\"moreInfoAcc\"\n (onOpen)=\"onMoreInfoToggle($event)\">\n <div class=\"data\">\n\n <eo-indexdata-summary-entry *ngFor=\"let item of dataValues\"\n [label]=\"item.label\"\n [value]=\"item._value\"\n (onValueClicked)=\"onValueClick($event, item)\">\n </eo-indexdata-summary-entry>\n </div>\n </eo-simple-accordion>\n </div>\n\n <div class=\"baseparams-section\" *ngIf=\"baseparams\">\n\n <eo-indexdata-summary-entry *ngIf=\"baseparams.modifiedOn && !diffActive\"\n [className]=\"'baseparams-section'\"\n [label]=\"'eo.global.baseparam.modified' | translate\"\n [value]=\"baseparams.modifiedOn | localeDate\">\n </eo-indexdata-summary-entry>\n\n <eo-indexdata-summary-entry *ngIf=\"!diffActive\"\n [className]=\"'baseparams-section'\"\n [label]=\"'eo.global.baseparam.modifier' | translate\"\n [value]=\"baseparams.modifiedBy\">\n </eo-indexdata-summary-entry>\n\n <eo-indexdata-summary-entry *ngIf=\"baseparams.createdOn && !diffActive\"\n [className]=\"'baseparams-section'\"\n [label]=\"'eo.global.baseparam.created' | translate\"\n [value]=\"baseparams.createdOn | localeDate\">\n </eo-indexdata-summary-entry>\n\n <eo-indexdata-summary-entry *ngIf=\"!diffActive\"\n [className]=\"'baseparams-section'\"\n [label]=\"'eo.global.baseparam.creator' | translate\"\n [value]=\"baseparams.createdBy\">\n </eo-indexdata-summary-entry>\n\n <eo-indexdata-summary-entry *ngIf=\"!diffActive\"\n [className]=\"'baseparams-section'\"\n [label]=\"'eo.object.summary.version' | translate\"\n [value]=\"getVersionLink(baseparams.version)\"\n (onValueClicked)=\"onValueClick($event, {version: baseparams.version})\">\n </eo-indexdata-summary-entry>\n\n\n <eo-indexdata-summary-entry [className]=\"'baseparams-section'\"\n [label]=\"'eo.global.baseparam.filename' | translate\"\n [value]=\"baseparams.contentFileName\">\n </eo-indexdata-summary-entry>\n\n <eo-indexdata-summary-entry *ngIf=\"baseparams.contentFileSize\"\n [className]=\"'baseparams-section'\"\n [label]=\"'eo.global.baseparam.filesize' | translate\"\n [value]=\"diffActive ? {val1: baseparams.contentFileSize['val1'] | fileSize, val2: baseparams.contentFileSize['val2'] | fileSize} : (baseparams.contentFileSize | fileSize)\">\n </eo-indexdata-summary-entry>\n\n <eo-indexdata-summary-entry [className]=\"'baseparams-section'\"\n [label]=\"'eo.global.baseparam.mimegroup' | translate\"\n [value]=\"baseparams.mimeGroup\">\n </eo-indexdata-summary-entry>\n\n <eo-indexdata-summary-entry *ngIf=\"!diffActive\"\n [className]=\"'baseparams-section'\"\n [label]=\"'eo.global.baseparam.id' | translate\"\n [value]=\"baseparams.id\">\n </eo-indexdata-summary-entry>\n\n <eo-indexdata-summary-entry *ngIf=\"baseparams.contentId !== baseparams.id && !diffActive\"\n [className]=\"'baseparams-section'\"\n [label]=\"'eo.global.baseparam.contentId' | translate\"\n [value]=\"baseparams.contentId\">\n </eo-indexdata-summary-entry>\n </div>\n\n <div class=\"storageinfo\" *ngIf=\"item?.content && isUserAllowedToShowStorageSection && !diffActive\">\n <eo-simple-accordion #storageAccordion\n [header]=\"('eo.state.settings.storageinfo' | translate)\"\n [selected]=\"dataInfoAcc\"\n (onOpen)=\"onStorageInfoToggle($event)\">\n\n <div class=\"storageinfo-entry baseparams-section\" *ngIf=\"baseparams\">\n <eo-indexdata-summary-entry [className]=\"'storageinfo-subentry'\"\n [label]=\"'eo.global.baseparam.digest' | translate\"\n [value]=\"baseparams.digest\">\n </eo-indexdata-summary-entry>\n </div>\n\n <div class=\"storageinfo-entry baseparams-section\" *ngFor=\"let stInfo of storageInfos; trackBy: trackByIndex\">\n <eo-indexdata-summary-entry [className]=\"'storageinfo-subentry'\"\n [label]=\"'eo.object.storageinfo.retention' | translate\"\n [value]=\"stInfo.retention | localeDate : 'eoShortDate'\">\n </eo-indexdata-summary-entry>\n\n <eo-indexdata-summary-entry [className]=\"'storageinfo-subentry'\"\n [label]=\"'eo.object.storageinfo.permanence' | translate\"\n [value]=\"stInfo.permanence\">\n </eo-indexdata-summary-entry>\n\n <eo-indexdata-summary-entry [className]=\"'storageinfo-subentry'\"\n [label]=\"'eo.object.storageinfo.setname' | translate\"\n [value]=\"stInfo.setname\">\n </eo-indexdata-summary-entry>\n\n <eo-indexdata-summary-entry [className]=\"'storageinfo-subentry'\"\n [label]=\"'eo.object.storageinfo.storagename' | translate\"\n [value]=\"stInfo.storagename\">\n </eo-indexdata-summary-entry>\n\n <eo-indexdata-summary-entry [className]=\"'storageinfo-subentry'\"\n [label]=\"'eo.object.storageinfo.location' | translate\"\n [value]=\"stInfo.location\">\n </eo-indexdata-summary-entry>\n </div>\n </eo-simple-accordion>\n </div>\n\n</div>\n",
|
|
4033
|
+
template: "<div class=\"empty-container\" *ngIf=\"emptyState\">{{'eo.indexdata.summary.no.change' | translate}}</div>\n<div class=\"indexdata-summary\">\n\n <div class=\"core-section\" *ngIf=\"coreValues?.length\">\n\n <eo-indexdata-summary-entry *ngFor=\"let item of coreValues\"\n [label]=\"item.label\"\n [value]=\"item._value\"\n (onValueClicked)=\"onValueClick($event, item)\">\n </eo-indexdata-summary-entry>\n\n </div>\n <div class=\"data-section\" *ngIf=\"dataValues && dataValues.length\">\n <eo-simple-accordion #dataAccordion\n [header]=\"('eo.indexdata.summary.more' | translate)\"\n [selected]=\"moreInfoAcc\"\n (onOpen)=\"onMoreInfoToggle($event)\">\n <div class=\"data\">\n\n <eo-indexdata-summary-entry *ngFor=\"let item of dataValues\"\n [label]=\"item.label\"\n [value]=\"item._value\"\n (onValueClicked)=\"onValueClick($event, item)\">\n </eo-indexdata-summary-entry>\n </div>\n </eo-simple-accordion>\n </div>\n\n <div class=\"baseparams-section\" *ngIf=\"baseparams\">\n\n <eo-indexdata-summary-entry *ngIf=\"baseparams.modifiedOn && !diffActive\"\n [className]=\"'baseparams-section'\"\n [label]=\"'eo.global.baseparam.modified' | translate\"\n [value]=\"baseparams.modifiedOn | localeDate\">\n </eo-indexdata-summary-entry>\n\n <eo-indexdata-summary-entry *ngIf=\"!diffActive\"\n [className]=\"'baseparams-section'\"\n [label]=\"'eo.global.baseparam.modifier' | translate\"\n [value]=\"baseparams.modifiedBy\">\n </eo-indexdata-summary-entry>\n\n <eo-indexdata-summary-entry *ngIf=\"baseparams.createdOn && !diffActive\"\n [className]=\"'baseparams-section'\"\n [label]=\"'eo.global.baseparam.created' | translate\"\n [value]=\"baseparams.createdOn | localeDate\">\n </eo-indexdata-summary-entry>\n\n <eo-indexdata-summary-entry *ngIf=\"!diffActive\"\n [className]=\"'baseparams-section'\"\n [label]=\"'eo.global.baseparam.creator' | translate\"\n [value]=\"baseparams.createdBy\">\n </eo-indexdata-summary-entry>\n\n <eo-indexdata-summary-entry *ngIf=\"!diffActive\"\n [className]=\"'baseparams-section'\"\n [label]=\"'eo.object.summary.version' | translate\"\n [value]=\"getVersionLink(baseparams.version)\"\n (onValueClicked)=\"onValueClick($event, {version: baseparams.version})\">\n </eo-indexdata-summary-entry>\n\n\n <eo-indexdata-summary-entry [className]=\"'baseparams-section'\"\n [label]=\"'eo.global.baseparam.filename' | translate\"\n [value]=\"baseparams.contentFileName\">\n </eo-indexdata-summary-entry>\n\n <eo-indexdata-summary-entry *ngIf=\"baseparams.contentFileSize\"\n [className]=\"'baseparams-section'\"\n [label]=\"'eo.global.baseparam.filesize' | translate\"\n [value]=\"diffActive ? {val1: baseparams.contentFileSize['val1'] | fileSize, val2: baseparams.contentFileSize['val2'] | fileSize} : (baseparams.contentFileSize | fileSize)\">\n </eo-indexdata-summary-entry>\n\n <eo-indexdata-summary-entry [className]=\"'baseparams-section'\"\n [label]=\"'eo.global.baseparam.mimegroup' | translate\"\n [value]=\"baseparams.mimeGroup\">\n </eo-indexdata-summary-entry>\n\n <eo-indexdata-summary-entry [className]=\"'baseparams-section'\"\n [label]=\"'eo.global.baseparam.mimetype' | translate\"\n [value]=\"baseparams.mimeType\">\n </eo-indexdata-summary-entry>\n\n <eo-indexdata-summary-entry *ngIf=\"!diffActive\"\n [className]=\"'baseparams-section'\"\n [label]=\"'eo.global.baseparam.id' | translate\"\n [value]=\"baseparams.id\">\n </eo-indexdata-summary-entry>\n\n <eo-indexdata-summary-entry *ngIf=\"baseparams.contentId !== baseparams.id && !diffActive\"\n [className]=\"'baseparams-section'\"\n [label]=\"'eo.global.baseparam.contentId' | translate\"\n [value]=\"baseparams.contentId\">\n </eo-indexdata-summary-entry>\n </div>\n\n <div class=\"storageinfo\" *ngIf=\"item?.content && isUserAllowedToShowStorageSection && !diffActive\">\n <eo-simple-accordion #storageAccordion\n [header]=\"('eo.state.settings.storageinfo' | translate)\"\n [selected]=\"dataInfoAcc\"\n (onOpen)=\"onStorageInfoToggle($event)\">\n\n <div class=\"storageinfo-entry baseparams-section\" *ngIf=\"baseparams\">\n <eo-indexdata-summary-entry [className]=\"'storageinfo-subentry'\"\n [label]=\"'eo.global.baseparam.digest' | translate\"\n [value]=\"baseparams.digest\">\n </eo-indexdata-summary-entry>\n </div>\n\n <div class=\"storageinfo-entry baseparams-section\" *ngFor=\"let stInfo of storageInfos; trackBy: trackByIndex\">\n <eo-indexdata-summary-entry [className]=\"'storageinfo-subentry'\"\n [label]=\"'eo.object.storageinfo.retention' | translate\"\n [value]=\"stInfo.retention | localeDate : 'eoShortDate'\">\n </eo-indexdata-summary-entry>\n\n <eo-indexdata-summary-entry [className]=\"'storageinfo-subentry'\"\n [label]=\"'eo.object.storageinfo.permanence' | translate\"\n [value]=\"stInfo.permanence\">\n </eo-indexdata-summary-entry>\n\n <eo-indexdata-summary-entry [className]=\"'storageinfo-subentry'\"\n [label]=\"'eo.object.storageinfo.setname' | translate\"\n [value]=\"stInfo.setname\">\n </eo-indexdata-summary-entry>\n\n <eo-indexdata-summary-entry [className]=\"'storageinfo-subentry'\"\n [label]=\"'eo.object.storageinfo.storagename' | translate\"\n [value]=\"stInfo.storagename\">\n </eo-indexdata-summary-entry>\n\n <eo-indexdata-summary-entry [className]=\"'storageinfo-subentry'\"\n [label]=\"'eo.object.storageinfo.location' | translate\"\n [value]=\"stInfo.location\">\n </eo-indexdata-summary-entry>\n </div>\n </eo-simple-accordion>\n </div>\n\n</div>\n",
|
|
4029
4034
|
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
4030
4035
|
styles: [":host{display:block}:host .baseparams-section,:host .core-section,:host .data-section{line-height:1.5em;list-style:none;margin:0}:host .core-section,:host .data-section{margin-bottom:calc(var(--app-pane-padding)/2)}:host .data-section .data{margin-bottom:var(--app-pane-padding);margin-top:calc(var(--app-pane-padding)/2)}:host::ng-deep .ui-accordion .ui-accordion-content{padding:0}:host .storageinfo,:host .storageinfo .storageinfo-entry{margin-top:var(--app-pane-padding)}:host .empty-container{align-items:center;bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0}"]
|
|
4031
4036
|
},] }
|
|
@@ -5635,7 +5640,7 @@
|
|
|
5635
5640
|
AppProcessComponent.decorators = [
|
|
5636
5641
|
{ type: i0.Component, args: [{
|
|
5637
5642
|
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 [
|
|
5643
|
+
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
5644
|
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
5645
|
},] }
|
|
5641
5646
|
];
|
|
@@ -6436,7 +6441,13 @@
|
|
|
6436
6441
|
CodesystemComponent.prototype.onAutoCompleteBlur = function (e) {
|
|
6437
6442
|
if (!this.multiselect && !this.readonly) {
|
|
6438
6443
|
var existingNode = this.autocompleteValues.find(function (tNode) { return tNode.name === e.target.value; });
|
|
6439
|
-
|
|
6444
|
+
if (existingNode) {
|
|
6445
|
+
this.selectedNodes = existingNode;
|
|
6446
|
+
}
|
|
6447
|
+
else {
|
|
6448
|
+
this.selectedNodes = null;
|
|
6449
|
+
e.target.value = null;
|
|
6450
|
+
}
|
|
6440
6451
|
this.setFormControlValue();
|
|
6441
6452
|
}
|
|
6442
6453
|
};
|
|
@@ -8395,7 +8406,7 @@
|
|
|
8395
8406
|
this.value = !this.isValid ? null : new i1.RangeValue(this.searchOption, this.rangeForm.get('numberValueFrom').value, this.rangeForm.get('numberValue').value);
|
|
8396
8407
|
}
|
|
8397
8408
|
else {
|
|
8398
|
-
this.value = !this.isValid ||
|
|
8409
|
+
this.value = !this.isValid || this.rangeForm.get('numberValue').value === null ? null : new i1.RangeValue(this.searchOption, this.rangeForm.get('numberValue').value);
|
|
8399
8410
|
}
|
|
8400
8411
|
this.propagateChange(this.value);
|
|
8401
8412
|
};
|
|
@@ -9261,7 +9272,7 @@
|
|
|
9261
9272
|
StringComponent.decorators = [
|
|
9262
9273
|
{ type: i0.Component, args: [{
|
|
9263
9274
|
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",
|
|
9275
|
+
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
9276
|
providers: [
|
|
9266
9277
|
{
|
|
9267
9278
|
provide: forms.NG_VALUE_ACCESSOR,
|
|
@@ -11083,6 +11094,9 @@
|
|
|
11083
11094
|
this.formElementRef._eoFormElement.maxlen = 32;
|
|
11084
11095
|
}
|
|
11085
11096
|
this.fetchTags();
|
|
11097
|
+
if (this.formElementRef._eoFormElement.readonly && this.formElementRef._eoFormElement.required) {
|
|
11098
|
+
this.formElementRef._eoFormElement.required = false;
|
|
11099
|
+
}
|
|
11086
11100
|
}
|
|
11087
11101
|
},
|
|
11088
11102
|
enumerable: false,
|
|
@@ -11223,7 +11237,7 @@
|
|
|
11223
11237
|
});
|
|
11224
11238
|
_this._cachedColumns = _this.storageService.getItem(FormElementTableComponent.COLUMNS_DEFINITION) || [];
|
|
11225
11239
|
_this._cachedColumnsOverlay = _this.storageService.getItem(FormElementTableComponent.COLUMNS_DEFINITION_OVERLAY) || [];
|
|
11226
|
-
_this.showPreview = !!_this.storageService.getItem('showPreview');
|
|
11240
|
+
_this.showPreview = !!_this.storageService.getItem('eo.table.showPreview');
|
|
11227
11241
|
return _this;
|
|
11228
11242
|
}
|
|
11229
11243
|
Object.defineProperty(FormElementTableComponent.prototype, "params", {
|
|
@@ -11233,6 +11247,7 @@
|
|
|
11233
11247
|
set: function (p) {
|
|
11234
11248
|
if (p) {
|
|
11235
11249
|
this._params = p;
|
|
11250
|
+
CellRenderer.situation = this._params.situation;
|
|
11236
11251
|
if (this._params.situation === 'SEARCH') {
|
|
11237
11252
|
this._params.size = 'supersmall';
|
|
11238
11253
|
}
|
|
@@ -11563,7 +11578,7 @@
|
|
|
11563
11578
|
};
|
|
11564
11579
|
FormElementTableComponent.prototype.togglePreview = function () {
|
|
11565
11580
|
this.showPreview = !this.showPreview;
|
|
11566
|
-
this.storageService.setItem('showPreview', this.showPreview);
|
|
11581
|
+
this.storageService.setItem('eo.table.showPreview', this.showPreview);
|
|
11567
11582
|
};
|
|
11568
11583
|
return FormElementTableComponent;
|
|
11569
11584
|
}(UnsubscribeOnDestroy));
|
|
@@ -11572,7 +11587,7 @@
|
|
|
11572
11587
|
FormElementTableComponent.decorators = [
|
|
11573
11588
|
{ type: i0.Component, args: [{
|
|
11574
11589
|
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]=\"
|
|
11590
|
+
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
11591
|
providers: [
|
|
11577
11592
|
{
|
|
11578
11593
|
provide: forms.NG_VALUE_ACCESSOR,
|
|
@@ -14261,12 +14276,14 @@
|
|
|
14261
14276
|
|
|
14262
14277
|
var TextFilterComponent = /** @class */ (function (_super) {
|
|
14263
14278
|
__extends(TextFilterComponent, _super);
|
|
14264
|
-
function TextFilterComponent(settingsService) {
|
|
14279
|
+
function TextFilterComponent(settingsService, storageService) {
|
|
14265
14280
|
var _this = _super.call(this) || this;
|
|
14266
14281
|
_this.settingsService = settingsService;
|
|
14282
|
+
_this.storageService = storageService;
|
|
14267
14283
|
_this.title = '';
|
|
14268
14284
|
_this.placeholder = 'eo.resultlist.grid.filterOoo';
|
|
14269
14285
|
_this.focused = false;
|
|
14286
|
+
_this.autocompleteRes = [];
|
|
14270
14287
|
_this.id = '#text';
|
|
14271
14288
|
return _this;
|
|
14272
14289
|
}
|
|
@@ -14301,6 +14318,13 @@
|
|
|
14301
14318
|
};
|
|
14302
14319
|
TextFilterComponent.prototype.focusout = function () {
|
|
14303
14320
|
this.focused = false;
|
|
14321
|
+
if (!this.autocompleteRes.includes(this.value) && this.value !== '' && this.value.trim() !== '') {
|
|
14322
|
+
if (this.autocompleteRes.length === 5) {
|
|
14323
|
+
this.autocompleteRes.shift();
|
|
14324
|
+
}
|
|
14325
|
+
this.autocompleteRes.push(this.value);
|
|
14326
|
+
this.storageService.setItem('eo.inbox.filter.suggestions', this.autocompleteRes);
|
|
14327
|
+
}
|
|
14304
14328
|
};
|
|
14305
14329
|
TextFilterComponent.prototype.focus = function () {
|
|
14306
14330
|
if (!this.focused) {
|
|
@@ -14309,17 +14333,22 @@
|
|
|
14309
14333
|
setTimeout(function () { document.execCommand('selectall', false, null); });
|
|
14310
14334
|
}
|
|
14311
14335
|
};
|
|
14336
|
+
TextFilterComponent.prototype.autocompleteFn = function (evt) {
|
|
14337
|
+
this.autocompleteRes = this.storageService.getItem('eo.inbox.filter.suggestions') || [];
|
|
14338
|
+
this.autocompleteRes.reverse();
|
|
14339
|
+
};
|
|
14312
14340
|
return TextFilterComponent;
|
|
14313
14341
|
}(AbstractFilterComponent));
|
|
14314
14342
|
TextFilterComponent.decorators = [
|
|
14315
14343
|
{ type: i0.Component, args: [{
|
|
14316
14344
|
selector: 'eo-text-filter',
|
|
14317
|
-
template: "<header class=\"filter__header\">\n <h3 class=\"filter__title title\" *ngIf=\"title\">{{title}}</h3>\n</header>\n<eo-form-input>\n <
|
|
14345
|
+
template: "<header class=\"filter__header\">\n <h3 class=\"filter__title title\" *ngIf=\"title\">{{title}}</h3>\n</header>\n<eo-form-input>\n <p-autoComplete #input (ngModelChange)=\"onChange($event)\" [ngModel]=\"value\" class=\"form-control\"\n placeholder=\"{{ placeholder | translate}}\" (focus)=\"focus()\" (focusout)=\"focusout()\" (completeMethod)=\"autocompleteFn($event)\" [suggestions]=\"autocompleteRes\"></p-autoComplete>\n</eo-form-input>\n",
|
|
14318
14346
|
styles: [".title{font-weight:700;margin-top:.5em}input{border:none}.form-control::-ms-clear{display:none}"]
|
|
14319
14347
|
},] }
|
|
14320
14348
|
];
|
|
14321
14349
|
TextFilterComponent.ctorParameters = function () { return [
|
|
14322
|
-
{ type: ListSettingsService }
|
|
14350
|
+
{ type: ListSettingsService },
|
|
14351
|
+
{ type: i1.LocalStorageService }
|
|
14323
14352
|
]; };
|
|
14324
14353
|
TextFilterComponent.propDecorators = {
|
|
14325
14354
|
title: [{ type: i0.Input }],
|
|
@@ -20077,7 +20106,8 @@
|
|
|
20077
20106
|
version: version || 0,
|
|
20078
20107
|
mimeGroup: content ? content.contents ? content.contents[0].mimegroup : null : null,
|
|
20079
20108
|
digest: content ? content.contents ? content.contents[0].digest : null : null,
|
|
20080
|
-
contentId: content ? content.contents ? content.id : null : null
|
|
20109
|
+
contentId: content ? content.contents ? content.id : null : null,
|
|
20110
|
+
mimeType: content ? content.contents ? content.contents[0].mimetype : null : null,
|
|
20081
20111
|
};
|
|
20082
20112
|
return { indexDataPreview: indexDataPreview, baseparams: baseparams };
|
|
20083
20113
|
}));
|
|
@@ -22867,11 +22897,16 @@
|
|
|
22867
22897
|
*/
|
|
22868
22898
|
InboxDetailsComponent.prototype.confirmInboxItem = function () {
|
|
22869
22899
|
var _this = this;
|
|
22900
|
+
this.preventClickThrough = true;
|
|
22901
|
+
setTimeout(function () {
|
|
22902
|
+
_this.preventClickThrough = false;
|
|
22903
|
+
}, 1000);
|
|
22870
22904
|
this.actionProcessing = this.inboxService
|
|
22871
22905
|
.removeItem(this.item)
|
|
22872
22906
|
.subscribe(function () {
|
|
22873
22907
|
_this.notify.success(_this.translate.instant('eo.inbox.activity.confirm.success'));
|
|
22874
22908
|
_this.eventService.trigger(i1.EnaioEvent.INBOX_ITEM_CONFIRMED, _this.item);
|
|
22909
|
+
_this.item = undefined;
|
|
22875
22910
|
_this.inboxService.refreshInboxState();
|
|
22876
22911
|
}, i1.Utils.catch(null, this.translate.instant('eo.process.item.remove.fail')));
|
|
22877
22912
|
};
|
|
@@ -22940,7 +22975,7 @@
|
|
|
22940
22975
|
InboxDetailsComponent.decorators = [
|
|
22941
22976
|
{ type: i0.Component, args: [{
|
|
22942
22977
|
selector: 'eo-inbox-details',
|
|
22943
|
-
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",
|
|
22978
|
+
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",
|
|
22944
22979
|
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)}"]
|
|
22945
22980
|
},] }
|
|
22946
22981
|
];
|
|
@@ -24588,10 +24623,10 @@
|
|
|
24588
24623
|
this.http = http;
|
|
24589
24624
|
this.userService = userService;
|
|
24590
24625
|
this.config = config;
|
|
24591
|
-
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.
|
|
24626
|
+
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.4", "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" }];
|
|
24592
24627
|
this.ctrl = {
|
|
24593
24628
|
productName: 'yuuvis® RAD client',
|
|
24594
|
-
clientVersion: '9.0.0-rc.
|
|
24629
|
+
clientVersion: '9.0.0-rc.4'
|
|
24595
24630
|
};
|
|
24596
24631
|
this.licenses = {
|
|
24597
24632
|
'MIT': {
|
|
@@ -26656,77 +26691,75 @@
|
|
|
26656
26691
|
exports.ɵ1 = ɵ1;
|
|
26657
26692
|
exports.ɵa = PendingChangesGuard;
|
|
26658
26693
|
exports.ɵb = UploadOverlayGuard;
|
|
26659
|
-
exports.ɵba =
|
|
26660
|
-
exports.ɵbb =
|
|
26661
|
-
exports.ɵbc =
|
|
26662
|
-
exports.ɵbd =
|
|
26663
|
-
exports.ɵbe =
|
|
26664
|
-
exports.ɵbf =
|
|
26665
|
-
exports.ɵbg =
|
|
26666
|
-
exports.ɵbh =
|
|
26667
|
-
exports.ɵbi =
|
|
26668
|
-
exports.ɵbj =
|
|
26669
|
-
exports.ɵbk =
|
|
26670
|
-
exports.ɵbl =
|
|
26671
|
-
exports.ɵbm =
|
|
26672
|
-
exports.ɵbn =
|
|
26673
|
-
exports.ɵbo =
|
|
26674
|
-
exports.ɵbp =
|
|
26675
|
-
exports.ɵbq =
|
|
26676
|
-
exports.ɵbr =
|
|
26677
|
-
exports.ɵbs =
|
|
26678
|
-
exports.ɵbt =
|
|
26679
|
-
exports.ɵbu =
|
|
26680
|
-
exports.ɵbv =
|
|
26681
|
-
exports.ɵbw =
|
|
26682
|
-
exports.ɵbx =
|
|
26683
|
-
exports.ɵby =
|
|
26684
|
-
exports.ɵbz =
|
|
26694
|
+
exports.ɵba = DownloadOriginalActionComponent;
|
|
26695
|
+
exports.ɵbb = DownloadPdfActionComponent;
|
|
26696
|
+
exports.ɵbc = OpenDocumentActionComponent;
|
|
26697
|
+
exports.ɵbd = EmailActionComponent;
|
|
26698
|
+
exports.ɵbe = EmailLinkActionComponent;
|
|
26699
|
+
exports.ɵbf = EmailOriginalActionComponent;
|
|
26700
|
+
exports.ɵbg = EmailPdfActionComponent;
|
|
26701
|
+
exports.ɵbh = ClipboardActionComponent;
|
|
26702
|
+
exports.ɵbi = ClipboardLinkActionComponent;
|
|
26703
|
+
exports.ɵbj = ClipboardOriginalActionComponent;
|
|
26704
|
+
exports.ɵbk = ClipboardPdfActionComponent;
|
|
26705
|
+
exports.ɵbl = FavoriteActionComponent;
|
|
26706
|
+
exports.ɵbm = DeleteActionComponent;
|
|
26707
|
+
exports.ɵbn = DeleteComponent;
|
|
26708
|
+
exports.ɵbo = OpenVersionsActionComponent;
|
|
26709
|
+
exports.ɵbp = RestoreVersionActionComponent;
|
|
26710
|
+
exports.ɵbq = DeletePreparedActionComponent;
|
|
26711
|
+
exports.ɵbr = AddSubscriptionActionComponent;
|
|
26712
|
+
exports.ɵbs = AddSubscriptionComponent;
|
|
26713
|
+
exports.ɵbt = RemoveSubscriptionActionComponent;
|
|
26714
|
+
exports.ɵbu = WorkflowActionComponent;
|
|
26715
|
+
exports.ɵbv = WorkflowComponent;
|
|
26716
|
+
exports.ɵbw = CustomActionsComponent;
|
|
26717
|
+
exports.ɵbx = AddResubmissionActionComponent;
|
|
26718
|
+
exports.ɵby = AddResubmissionComponent;
|
|
26719
|
+
exports.ɵbz = UpdateResubmissionActionComponent;
|
|
26685
26720
|
exports.ɵc = AppShellRoutingModule;
|
|
26686
|
-
exports.ɵca =
|
|
26687
|
-
exports.ɵcb =
|
|
26688
|
-
exports.ɵcc =
|
|
26689
|
-
exports.ɵcd =
|
|
26690
|
-
exports.ɵce =
|
|
26691
|
-
exports.ɵcf =
|
|
26692
|
-
exports.ɵcg =
|
|
26693
|
-
exports.ɵch =
|
|
26694
|
-
exports.ɵci =
|
|
26695
|
-
exports.ɵcj =
|
|
26696
|
-
exports.ɵck =
|
|
26697
|
-
exports.ɵcl =
|
|
26698
|
-
exports.ɵcm =
|
|
26699
|
-
exports.ɵcn =
|
|
26700
|
-
exports.ɵco =
|
|
26701
|
-
exports.ɵcp =
|
|
26702
|
-
exports.ɵcq =
|
|
26703
|
-
exports.ɵcr =
|
|
26704
|
-
exports.ɵcs =
|
|
26705
|
-
exports.ɵct = EoClientRoutingModule;
|
|
26706
|
-
exports.ɵcu = ProcessStateComponent;
|
|
26721
|
+
exports.ɵca = ShareObjectActionComponent;
|
|
26722
|
+
exports.ɵcb = ShareObjectComponent;
|
|
26723
|
+
exports.ɵcc = CutActionComponent;
|
|
26724
|
+
exports.ɵcd = FinalizeActionComponent;
|
|
26725
|
+
exports.ɵce = DefinalizeActionComponent;
|
|
26726
|
+
exports.ɵcf = DeleteContentActionComponent;
|
|
26727
|
+
exports.ɵcg = UnlockActionComponent;
|
|
26728
|
+
exports.ɵch = SimpleWorkflowActionComponent;
|
|
26729
|
+
exports.ɵci = PreventDoubleClickDirective;
|
|
26730
|
+
exports.ɵcj = TrapFocusDirective;
|
|
26731
|
+
exports.ɵck = EditIconComponent;
|
|
26732
|
+
exports.ɵcl = DuetimeInfoComponent;
|
|
26733
|
+
exports.ɵcm = PrepareContentExistsInfoComponent;
|
|
26734
|
+
exports.ɵcn = StoredQueryModule;
|
|
26735
|
+
exports.ɵco = ObjectStateRoutingModule;
|
|
26736
|
+
exports.ɵcp = InboxStateRoutingModule;
|
|
26737
|
+
exports.ɵcq = PrepareStateRoutingModule;
|
|
26738
|
+
exports.ɵcr = EoClientRoutingModule;
|
|
26739
|
+
exports.ɵcs = ProcessStateComponent;
|
|
26707
26740
|
exports.ɵd = AppProcessComponent;
|
|
26708
|
-
exports.ɵe =
|
|
26709
|
-
exports.ɵf =
|
|
26710
|
-
exports.ɵg =
|
|
26711
|
-
exports.ɵh =
|
|
26712
|
-
exports.ɵi =
|
|
26713
|
-
exports.ɵj =
|
|
26714
|
-
exports.ɵk =
|
|
26715
|
-
exports.ɵl =
|
|
26716
|
-
exports.ɵm =
|
|
26717
|
-
exports.ɵn =
|
|
26718
|
-
exports.ɵo =
|
|
26719
|
-
exports.ɵp =
|
|
26720
|
-
exports.ɵq =
|
|
26721
|
-
exports.ɵr =
|
|
26722
|
-
exports.ɵs =
|
|
26723
|
-
exports.ɵt =
|
|
26724
|
-
exports.ɵu =
|
|
26725
|
-
exports.ɵv =
|
|
26726
|
-
exports.ɵw =
|
|
26727
|
-
exports.ɵx =
|
|
26728
|
-
exports.ɵy =
|
|
26729
|
-
exports.ɵz =
|
|
26741
|
+
exports.ɵe = PipesModule;
|
|
26742
|
+
exports.ɵf = UnsubscribeOnDestroy;
|
|
26743
|
+
exports.ɵg = QueryScopeSelectComponent;
|
|
26744
|
+
exports.ɵh = IndexdataSummaryEntryComponent;
|
|
26745
|
+
exports.ɵi = OrderByPipe;
|
|
26746
|
+
exports.ɵj = TreeNodeComponent;
|
|
26747
|
+
exports.ɵk = DatepickerService;
|
|
26748
|
+
exports.ɵl = YearRangeDirective;
|
|
26749
|
+
exports.ɵm = ReferenceFinderComponent;
|
|
26750
|
+
exports.ɵn = fadeInOut;
|
|
26751
|
+
exports.ɵo = ReferenceFinderService;
|
|
26752
|
+
exports.ɵp = ReferenceFinderEntryComponent;
|
|
26753
|
+
exports.ɵq = DynamicListFilterComponent;
|
|
26754
|
+
exports.ɵr = ListFilterComponent;
|
|
26755
|
+
exports.ɵs = PaginationComponent;
|
|
26756
|
+
exports.ɵt = ProcessFormModule;
|
|
26757
|
+
exports.ɵu = ProcessFormComponent;
|
|
26758
|
+
exports.ɵv = ActionComponentAnchorDirective;
|
|
26759
|
+
exports.ɵw = OpenDocumentComponent;
|
|
26760
|
+
exports.ɵx = CopyActionComponent;
|
|
26761
|
+
exports.ɵy = OpenContextActionComponent;
|
|
26762
|
+
exports.ɵz = DownloadActionComponent;
|
|
26730
26763
|
|
|
26731
26764
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
26732
26765
|
|