@eo-sdk/client 8.0.0-rc.7 → 8.2.0-rc.1
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 +2 -2
- package/app/eo-framework/object-details/object-history/object-history.component.d.ts +3 -2
- package/app/eo-framework-core/api/plugins.service.d.ts +3 -2
- package/assets/_default/config/main.json +0 -4
- package/bundles/eo-sdk-client-projects-eo-sdk-core.umd.js +26 -14
- 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 +57 -32
- package/bundles/eo-sdk-client.umd.js.map +1 -1
- package/bundles/eo-sdk-client.umd.min.js +1 -1
- package/bundles/eo-sdk-client.umd.min.js.map +1 -1
- package/eo-sdk-client.metadata.json +1 -1
- package/esm2015/app/eo-client/about-state/about-state.component.js +4 -4
- package/esm2015/app/eo-framework/app-shell/app-bar/side-bar/side-bar.component.js +2 -2
- package/esm2015/app/eo-framework/form-elements/datetime/datepicker/datepicker.component.js +2 -2
- package/esm2015/app/eo-framework/form-elements/datetime/datetime.component.js +2 -2
- package/esm2015/app/eo-framework/inbox-details/inbox-details.component.js +5 -6
- package/esm2015/app/eo-framework/object-details/object-history/object-history.component.js +14 -7
- package/esm2015/app/eo-framework/object-form/object-form/object-form.component.js +2 -2
- package/esm2015/app/eo-framework/process/details/process-details.component.js +6 -9
- package/esm2015/app/eo-framework/process/history/process-history.component.js +2 -2
- package/esm2015/app/eo-framework/tab-container/tab-view-nav/tab-view-nav.component.js +1 -1
- package/esm2015/app/eo-framework/upload-overlay/upload-overlay.component.js +4 -4
- package/esm2015/app/eo-framework-core/api/plugins.service.js +10 -3
- package/esm2015/projects/eo-sdk/core/lib/config/translate-json-loader.js +11 -2
- package/esm2015/projects/eo-sdk/core/lib/model/dms-object-history.model.js +1 -1
- package/esm2015/projects/eo-sdk/core/lib/service/bpm/bpm.service.js +1 -1
- package/esm2015/projects/eo-sdk/core/lib/service/dms/dms.service.js +5 -3
- package/esm2015/projects/eo-sdk/core/lib/service/search/search.service.js +4 -4
- package/esm2015/projects/eo-sdk/core/lib/service/user/user.service.js +7 -6
- package/fesm2015/eo-sdk-client-projects-eo-sdk-core.js +23 -11
- package/fesm2015/eo-sdk-client-projects-eo-sdk-core.js.map +1 -1
- package/fesm2015/eo-sdk-client.js +40 -30
- 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/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Injectable, NgZone, Pipe, NgModule, EventEmitter, Injector, ɵɵdefineInjectable, ɵɵinject, ErrorHandler, Optional, SkipSelf, Component, Input, Output, ViewEncapsulation, ElementRef, Renderer2, Directive, HostListener, ChangeDetectionStrategy, ChangeDetectorRef, ViewChild, HostBinding, forwardRef, ViewChildren, ViewContainerRef, ContentChildren, ANALYZE_FOR_ENTRY_COMPONENTS, InjectionToken, Inject, ComponentFactoryResolver, ContentChild, QueryList } from '@angular/core';
|
|
1
|
+
import { Injectable, ApplicationRef, NgZone, Pipe, NgModule, EventEmitter, Injector, ɵɵdefineInjectable, ɵɵinject, ErrorHandler, Optional, SkipSelf, Component, Input, Output, ViewEncapsulation, ElementRef, Renderer2, Directive, HostListener, ChangeDetectionStrategy, ChangeDetectorRef, ViewChild, HostBinding, forwardRef, ViewChildren, ViewContainerRef, ContentChildren, ANALYZE_FOR_ENTRY_COMPONENTS, InjectionToken, Inject, ComponentFactoryResolver, ContentChild, QueryList } from '@angular/core';
|
|
2
2
|
import { DecimalPipe, PercentPipe, CurrencyPipe, DatePipe, getLocaleDateTimeFormat, FormatWidth, getLocaleTimeFormat, getLocaleDateFormat, CommonModule, Location, PlatformLocation } from '@angular/common';
|
|
3
3
|
import { HttpClient, HttpResponse, HttpErrorResponse, HttpClientModule, HTTP_INTERCEPTORS, HttpHeaders } from '@angular/common/http';
|
|
4
4
|
import { ReplaySubject, BehaviorSubject, from, forkJoin, of, Subject, fromEvent, AsyncSubject, Observable } from 'rxjs';
|
|
@@ -770,7 +770,7 @@ SelectionService.ctorParameters = () => [
|
|
|
770
770
|
|
|
771
771
|
const UNDOCK_WINDOW_NAME = 'eoViewer';
|
|
772
772
|
class PluginsService {
|
|
773
|
-
constructor(backend, notifications, clipboard, logger, translate, dmsService, router, agentService, eventService, userService, ngZone) {
|
|
773
|
+
constructor(backend, notifications, clipboard, logger, translate, dmsService, router, agentService, eventService, userService, appRef, ngZone) {
|
|
774
774
|
this.backend = backend;
|
|
775
775
|
this.notifications = notifications;
|
|
776
776
|
this.clipboard = clipboard;
|
|
@@ -781,6 +781,7 @@ class PluginsService {
|
|
|
781
781
|
this.agentService = agentService;
|
|
782
782
|
this.eventService = eventService;
|
|
783
783
|
this.userService = userService;
|
|
784
|
+
this.appRef = appRef;
|
|
784
785
|
this.ngZone = ngZone;
|
|
785
786
|
this.agentAction = {
|
|
786
787
|
OPEN: 'eo.agent.action.open',
|
|
@@ -821,6 +822,11 @@ class PluginsService {
|
|
|
821
822
|
// todo: create inreface for API
|
|
822
823
|
getApi() {
|
|
823
824
|
return {
|
|
825
|
+
detectChanges: () => {
|
|
826
|
+
setTimeout(() => {
|
|
827
|
+
this.appRef.tick();
|
|
828
|
+
}, 500);
|
|
829
|
+
},
|
|
824
830
|
router: {
|
|
825
831
|
get: () => this.router
|
|
826
832
|
},
|
|
@@ -1013,6 +1019,7 @@ PluginsService.ctorParameters = () => [
|
|
|
1013
1019
|
{ type: AgentService },
|
|
1014
1020
|
{ type: EventService },
|
|
1015
1021
|
{ type: UserService },
|
|
1022
|
+
{ type: ApplicationRef },
|
|
1016
1023
|
{ type: NgZone }
|
|
1017
1024
|
];
|
|
1018
1025
|
|
|
@@ -4042,7 +4049,7 @@ class SideBarComponent extends UnsubscribeOnDestroy {
|
|
|
4042
4049
|
}
|
|
4043
4050
|
getDocumentation() {
|
|
4044
4051
|
const docu = this.config.getRaw('about.docu');
|
|
4045
|
-
const link = docu.link.replace('###userLang###', this.userLang);
|
|
4052
|
+
const link = docu.link.replace('###userLang###', this.userLang.substring(0, 2));
|
|
4046
4053
|
this.docu = Object.assign(Object.assign({}, docu), { link });
|
|
4047
4054
|
}
|
|
4048
4055
|
getUserLang() {
|
|
@@ -6083,7 +6090,7 @@ class DatepickerComponent {
|
|
|
6083
6090
|
// emitted when a new value is set by the picker
|
|
6084
6091
|
this.onDateChanged = new EventEmitter();
|
|
6085
6092
|
this.onCanceled = new EventEmitter();
|
|
6086
|
-
const locale = translate.currentLang.replace('zh', 'zh-cn'); // BUG: moment does not support 'zh'
|
|
6093
|
+
const locale = (translate.currentLang || translate.defaultLang).replace('zh', 'zh-cn'); // BUG: moment does not support 'zh'
|
|
6087
6094
|
moment$1.locale(locale);
|
|
6088
6095
|
let startDay = moment$1().startOf('week').day();
|
|
6089
6096
|
this.monthsShort = moment$1.monthsShort();
|
|
@@ -6294,7 +6301,7 @@ class DatetimeComponent {
|
|
|
6294
6301
|
this.propagateChange = (_) => {
|
|
6295
6302
|
};
|
|
6296
6303
|
this.datePipe = new LocaleDatePipe(translate);
|
|
6297
|
-
this.locale = this.translate.currentLang.replace('zh', 'zh-cn'); // BUG: moment does not support 'zh'
|
|
6304
|
+
this.locale = (this.translate.currentLang || this.translate.defaultLang).replace('zh', 'zh-cn'); // BUG: moment does not support 'zh'
|
|
6298
6305
|
moment$2.locale(this.locale);
|
|
6299
6306
|
}
|
|
6300
6307
|
set withTime(value) {
|
|
@@ -9484,7 +9491,7 @@ class ObjectFormComponent extends UnsubscribeOnDestroy {
|
|
|
9484
9491
|
}
|
|
9485
9492
|
else {
|
|
9486
9493
|
if (element.type === 'DATETIME' && data[element.name]) {
|
|
9487
|
-
value = new Date(data[element.name]);
|
|
9494
|
+
value = new Date(`${data[element.name]}${element.withtime ? '' : 'T00:00:00'}`);
|
|
9488
9495
|
}
|
|
9489
9496
|
else {
|
|
9490
9497
|
value = data[element.name];
|
|
@@ -17500,7 +17507,7 @@ TabViewNavComponent.decorators = [
|
|
|
17500
17507
|
{ type: Component, args: [{
|
|
17501
17508
|
selector: 'eo-tab-view-nav',
|
|
17502
17509
|
template: "<div cdkDropList cdkDropListOrientation=\"horizontal\" [cdkDropListData]=\"tabs\" (cdkDropListDropped)=\"onHeaderDrop.emit($event)\">\r\n <ng-template ngFor let-tab [ngForOf]=\"tabs\">\r\n <li cdkDrag [cdkDragData]=\"tab\" [cdkDragDisabled]=\"!dndEnabled\" [class]=\"getDefaultHeaderClass(tab)\" [ngStyle]=\"tab.headerStyle\" role=\"presentation\"\r\n [ngClass]=\"{'ui-tabview-selected ui-state-active': tab.selected, 'ui-state-disabled': tab.disabled}\"\r\n (click)=\"clickTab($event,tab)\" *ngIf=\"!tab.closed\">\r\n <a [attr.id]=\"tab.id + '-label'\" href=\"#\" role=\"tab\" [attr.aria-selected]=\"tab.selected\" [attr.aria-controls]=\"tab.id\">\r\n <span class=\"ui-tabview-left-icon fa\" [ngClass]=\"tab.leftIcon\" *ngIf=\"tab.leftIcon\"></span>\r\n <span class=\"ui-tabview-title\">{{tab.header}}</span>\r\n <span class=\"ui-tabview-right-icon fa\" [ngClass]=\"tab.rightIcon\" *ngIf=\"tab.rightIcon\"></span>\r\n </a>\r\n <span *ngIf=\"tab.closable\" class=\"ui-tabview-close pi pi-times\" (click)=\"clickClose($event,tab)\"></span>\r\n </li>\r\n </ng-template>\r\n</div>",
|
|
17503
|
-
styles: [".cdk-drop-list{display:flex;flex-wrap:
|
|
17510
|
+
styles: [".cdk-drop-list{display:flex;flex-wrap:wrap;margin-right:30px;overflow:auto hidden;width:100%}.cdk-drop-list::-webkit-scrollbar{height:0}.cdk-drag{cursor:pointer}.cdk-drag a{pointer-events:none}.cdk-drag-preview{border:none;list-style:none;opacity:.3}.cdk-drag-placeholder{border:none;list-style:none;opacity:.7}.cdk-drop-list-dragging .cdk-drag{cursor:move;transition:transform .25s cubic-bezier(0,0,.2,1)}.cdk-drag-animating{transition:transform .3s cubic-bezier(0,0,.2,1)}"]
|
|
17504
17511
|
},] }
|
|
17505
17512
|
];
|
|
17506
17513
|
TabViewNavComponent.propDecorators = {
|
|
@@ -17534,7 +17541,7 @@ class ObjectHistoryComponent extends UnsubscribeOnDestroy {
|
|
|
17534
17541
|
this.cd = cd;
|
|
17535
17542
|
this.eventService = eventService;
|
|
17536
17543
|
this._history = [];
|
|
17537
|
-
|
|
17544
|
+
// history: DmsObjectHistoryEntry[] = [];
|
|
17538
17545
|
this.filters = [];
|
|
17539
17546
|
this.visibleFilter = { select: true, input: true };
|
|
17540
17547
|
this.eventService
|
|
@@ -17545,6 +17552,12 @@ class ObjectHistoryComponent extends UnsubscribeOnDestroy {
|
|
|
17545
17552
|
}
|
|
17546
17553
|
});
|
|
17547
17554
|
}
|
|
17555
|
+
set history(historyObj) {
|
|
17556
|
+
this._history = historyObj;
|
|
17557
|
+
}
|
|
17558
|
+
get history() {
|
|
17559
|
+
return this._history;
|
|
17560
|
+
}
|
|
17548
17561
|
set params(p) {
|
|
17549
17562
|
this._params = p;
|
|
17550
17563
|
this.fetchHistory(p.id, p.type);
|
|
@@ -17561,7 +17574,7 @@ class ObjectHistoryComponent extends UnsubscribeOnDestroy {
|
|
|
17561
17574
|
this.filters.push(type);
|
|
17562
17575
|
}
|
|
17563
17576
|
// todo: ChangeDetection should not work here, Hä?
|
|
17564
|
-
this.history = this.
|
|
17577
|
+
this.history = this.history.filter(entry => this.filters.indexOf(entry.group) === -1);
|
|
17565
17578
|
}
|
|
17566
17579
|
trackByIndex(index, item) {
|
|
17567
17580
|
return index;
|
|
@@ -17569,11 +17582,12 @@ class ObjectHistoryComponent extends UnsubscribeOnDestroy {
|
|
|
17569
17582
|
fetchHistory(id, type) {
|
|
17570
17583
|
this.dmsService
|
|
17571
17584
|
.getHistory(id, type)
|
|
17572
|
-
.
|
|
17573
|
-
this.
|
|
17585
|
+
.pipe(map((res) => {
|
|
17586
|
+
this.history = res.reverse();
|
|
17574
17587
|
this.toggleFilter(['INFORMATIONAL', true]);
|
|
17575
17588
|
this.cd.markForCheck();
|
|
17576
|
-
})
|
|
17589
|
+
}))
|
|
17590
|
+
.subscribe();
|
|
17577
17591
|
}
|
|
17578
17592
|
}
|
|
17579
17593
|
ObjectHistoryComponent.decorators = [
|
|
@@ -19343,7 +19357,7 @@ class UploadOverlayComponent {
|
|
|
19343
19357
|
}
|
|
19344
19358
|
if (!this.invalidInput) {
|
|
19345
19359
|
this.setFileOver(true);
|
|
19346
|
-
this.onFilesDropped(transfer.files);
|
|
19360
|
+
this.onFilesDropped(Array.from(transfer.files));
|
|
19347
19361
|
}
|
|
19348
19362
|
}
|
|
19349
19363
|
}
|
|
@@ -19409,8 +19423,8 @@ class UploadOverlayComponent {
|
|
|
19409
19423
|
// clear queue when new files are added
|
|
19410
19424
|
// todo: remove in future releases to support collective file adding
|
|
19411
19425
|
this.queue = [];
|
|
19412
|
-
for (let
|
|
19413
|
-
this.queue.push(new UploadFileItem(
|
|
19426
|
+
for (let file of fileItems) {
|
|
19427
|
+
this.queue.push(new UploadFileItem(file));
|
|
19414
19428
|
}
|
|
19415
19429
|
// bind ESC key listener for closing the dialog as late as possible
|
|
19416
19430
|
if (!this.escKeyListener) {
|
|
@@ -20527,16 +20541,14 @@ class InboxDetailsComponent extends UnsubscribeOnDestroy {
|
|
|
20527
20541
|
setupWorkItem() {
|
|
20528
20542
|
this.locked = this.workItem.state === 'PERSON';
|
|
20529
20543
|
this.preventClickThrough = true;
|
|
20530
|
-
setTimeout(() =>
|
|
20531
|
-
this.preventClickThrough = false;
|
|
20532
|
-
}, 1000);
|
|
20544
|
+
setTimeout(() => this.preventClickThrough = false, 1000);
|
|
20533
20545
|
const { form, data } = this.workItem;
|
|
20534
20546
|
const workItem = { form, data };
|
|
20535
20547
|
this.workItemIndexdata = form && data ? workItem : null;
|
|
20536
20548
|
// fetch history
|
|
20537
20549
|
this.bpmService
|
|
20538
20550
|
.getProcessHistory(this.workItem.processId)
|
|
20539
|
-
.
|
|
20551
|
+
.pipe(map(res => {
|
|
20540
20552
|
res.forEach(item => {
|
|
20541
20553
|
if (item.editor) {
|
|
20542
20554
|
item.data.image = this.userService.getUserImageUri(item.editor.id);
|
|
@@ -20545,7 +20557,8 @@ class InboxDetailsComponent extends UnsubscribeOnDestroy {
|
|
|
20545
20557
|
// sort by number because this is the auto-incrementing
|
|
20546
20558
|
// index of added history entries
|
|
20547
20559
|
this.history = res.sort((a, b) => b.number - a.number);
|
|
20548
|
-
})
|
|
20560
|
+
}))
|
|
20561
|
+
.subscribe();
|
|
20549
20562
|
}
|
|
20550
20563
|
trackByCode(index, item) {
|
|
20551
20564
|
return item.code;
|
|
@@ -20614,7 +20627,7 @@ class ProcessHistoryComponent {
|
|
|
20614
20627
|
ProcessHistoryComponent.decorators = [
|
|
20615
20628
|
{ type: Component, args: [{
|
|
20616
20629
|
selector: 'eo-process-history',
|
|
20617
|
-
template: "<div class=\"process-history\">\r\n\r\n <div class=\"filter\">\r\n <div class=\"input\" [ngClass]=\"{inactive: !history?.length}\">\r\n <eo-icon [iconSrc]=\"'assets/_default/svg/ic_filter.svg'\"></eo-icon>\r\n <input type=\"text\" [ngModelOptions]=\"{standalone: true}\" [(ngModel)]=\"filterterm\">\r\n\r\n </div>\r\n <eo-icon [iconSrc]=\"'assets/_default/svg/ic_clear.svg'\" (click)=\"filterterm = null\" *ngIf=\"filterterm\"></eo-icon>\r\n </div>\r\n\r\n\r\n <ng-template #empty>\r\n <eo-error-message [emptyState]=\"{icon: 'ic_no-file.svg', text: 'eo.timeline.empty', className: 'history empty'}\"></eo-error-message>\r\n </ng-template>\r\n\r\n\r\n <div class=\"history eo-timeline\" [ngClass]=\"{single: history?.length === 1}\" *ngIf=\"history?.length; else empty\">\r\n\r\n <div class=\"timeline-entry\"\r\n *ngFor=\"let entry of history | historyFilter:filterterm; trackBy: trackByIndex\"\r\n [ngClass]=\"{user: entry.editor, error: entry.type === 'error' || entry?.errorType}\">\r\n\r\n <div class=\"when\">\r\n <div class=\"date\">{{entry.time | localeDate: 'eoShortDate'}}</div>\r\n <div class=\"time\">{{entry.time | localeDate: 'eoShortTime'}}</div>\r\n </div>\r\n <div class=\"marker\">\r\n <img *ngIf=\"entry.editor\"\r\n title=\"{{entry.editor.lastname}}, {{entry.editor.firstname}} ({{entry.editor.name}})\"\r\n [src]=\"entry.data?.image\">\r\n </div>\r\n <div class=\"what\">\r\n <div class=\"title\">{{
|
|
20630
|
+
template: "<div class=\"process-history\">\r\n\r\n <div class=\"filter\">\r\n <div class=\"input\" [ngClass]=\"{inactive: !history?.length}\">\r\n <eo-icon [iconSrc]=\"'assets/_default/svg/ic_filter.svg'\"></eo-icon>\r\n <input type=\"text\" [ngModelOptions]=\"{standalone: true}\" [(ngModel)]=\"filterterm\">\r\n\r\n </div>\r\n <eo-icon [iconSrc]=\"'assets/_default/svg/ic_clear.svg'\" (click)=\"filterterm = null\" *ngIf=\"filterterm\"></eo-icon>\r\n </div>\r\n\r\n\r\n <ng-template #empty>\r\n <eo-error-message [emptyState]=\"{icon: 'ic_no-file.svg', text: 'eo.timeline.empty', className: 'history empty'}\"></eo-error-message>\r\n </ng-template>\r\n\r\n\r\n <div class=\"history eo-timeline\" [ngClass]=\"{single: history?.length === 1}\" *ngIf=\"history?.length; else empty\">\r\n\r\n <div class=\"timeline-entry\"\r\n *ngFor=\"let entry of history | historyFilter:filterterm; trackBy: trackByIndex\"\r\n [ngClass]=\"{user: entry.editor, error: entry.type === 'error' || entry?.errorType}\">\r\n\r\n <div class=\"when\">\r\n <div class=\"date\">{{entry.time | localeDate: 'eoShortDate'}}</div>\r\n <div class=\"time\">{{entry.time | localeDate: 'eoShortTime'}}</div>\r\n </div>\r\n <div class=\"marker\">\r\n <img *ngIf=\"entry.editor\"\r\n title=\"{{entry.editor.lastname}}, {{entry.editor.firstname}} ({{entry.editor.name}})\"\r\n [src]=\"entry.data?.image\">\r\n </div>\r\n <div class=\"what\">\r\n <div class=\"title\">{{entry.title}}</div>\r\n\r\n <div class=\"description\" *ngIf=\"entry.data?.periodFireTime && entry.type === 'DEADLINE_START'; else description\">\r\n <div class=\"deadline-fire\">\r\n <eo-icon [iconSrc]=\"'assets/_default/svg/ic_timer.svg'\"></eo-icon>\r\n <span>{{entry.data.periodFireTime | localeDate}}</span>\r\n </div>\r\n </div>\r\n <ng-template #description>\r\n <div class=\"description\">\r\n {{'eo.process.details.history.entry.type.' + entry.type + '.title'|translate}}\r\n </div>\r\n </ng-template>\r\n\r\n <div class=\"meta\" *ngIf=\"entry.performer?.length\">\r\n <span *ngFor=\"let p of entry.performer; trackBy: trackByIndex\">\r\n {{p.label}}\r\n </span>\r\n </div>\r\n </div>\r\n\r\n </div>\r\n </div>\r\n</div>\r\n",
|
|
20618
20631
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
20619
20632
|
styles: [":host .process-history{display:flex;flex:1;flex-direction:column;height:100%;min-height:0;min-width:0}:host .history{flex:1 1 auto;overflow-y:auto;padding:var(--app-pane-padding)}:host .filter{background-color:var(--panel-background-lightgrey);border-bottom:1px solid var(--main-background);display:flex;flex:1;flex:0 0 auto;flex-direction:row;justify-content:space-between;min-height:0;min-width:0}:host .filter .input{background-color:var(--color-white);border:1px solid var(--main-background);display:flex;flex-flow:row nowrap;margin:calc(var(--app-pane-padding)/2);padding:2px 2px 2px 0}:host .filter .input.inactive{opacity:.5;pointer-events:none}:host .filter .input input{background-color:transparent;border:0}:host .filter .input eo-icon{margin:0 calc(var(--app-pane-padding)/4)}:host .filter .input eo-icon,:host .filter>eo-icon{align-self:center;color:var(--text-color-hint);height:16px;width:16px}:host .filter>eo-icon{box-sizing:content-box;cursor:pointer;flex:0 0 auto;padding:calc(var(--app-pane-padding)/2)}:host .timeline-entry.user img{border:2px solid var(--text-color-hint);border-radius:50%;height:30px;width:30px;z-index:1}:host .timeline-entry.user .marker:before{display:none}:host .timeline-entry .what{padding-bottom:0;width:66%}:host .timeline-entry .what .deadline-fire{align-items:center;display:flex;padding-bottom:4px}:host .timeline-entry .what .description{color:var(--text-color-body)}.deadline-fire :host .timeline-entry .what .description{align-items:center;display:flex;flex-flow:row nowrap}.deadline-fire :host .timeline-entry .what .description eo-icon{color:var(--text-color-hint);height:18px;width:18px}.deadline-fire :host .timeline-entry .what .description span{padding:0 calc(var(--app-pane-padding)/4)}:host .timeline-entry .what .meta{display:flex;flex-flow:row wrap;margin-bottom:calc(var(--app-pane-padding)/4)}:host .timeline-entry .what .meta span{background-color:rgba(var(--color-black-rgb),.08);border-radius:2px;display:block;font-size:var(--font-caption);margin:0 calc(var(--app-pane-padding)/4) calc(var(--app-pane-padding)/4) 0;padding:2px 4px}:host .timeline-entry.error .what .title{color:var(--color-error)}:host .timeline-entry.error .marker:before{align-items:center;border-color:var(--color-error);border-width:4px;color:var(--color-error);content:\"!\";display:flex;flex-flow:column;font-weight:var(--font-weight-bold);justify-content:center}"]
|
|
20620
20633
|
},] }
|
|
@@ -20624,9 +20637,7 @@ ProcessHistoryComponent.propDecorators = {
|
|
|
20624
20637
|
};
|
|
20625
20638
|
|
|
20626
20639
|
class ProcessDetailsComponent extends UnsubscribeOnDestroy {
|
|
20627
|
-
constructor(bpmService, userService, systemService,
|
|
20628
|
-
// private processService: ProcessService,
|
|
20629
|
-
selection, clipboardService, translate, router) {
|
|
20640
|
+
constructor(bpmService, userService, systemService, selection, clipboardService, translate, router) {
|
|
20630
20641
|
super();
|
|
20631
20642
|
this.bpmService = bpmService;
|
|
20632
20643
|
this.userService = userService;
|
|
@@ -20649,9 +20660,7 @@ class ProcessDetailsComponent extends UnsubscribeOnDestroy {
|
|
|
20649
20660
|
this.history = [];
|
|
20650
20661
|
this.locked = false;
|
|
20651
20662
|
this.loading = true;
|
|
20652
|
-
setTimeout(() =>
|
|
20653
|
-
this.process();
|
|
20654
|
-
}, 0);
|
|
20663
|
+
setTimeout(() => this.process(), 0);
|
|
20655
20664
|
}
|
|
20656
20665
|
}
|
|
20657
20666
|
get item() {
|
|
@@ -20689,6 +20698,7 @@ class ProcessDetailsComponent extends UnsubscribeOnDestroy {
|
|
|
20689
20698
|
item.data.image = this.userService.getUserImageUri(item.editor.id);
|
|
20690
20699
|
}
|
|
20691
20700
|
});
|
|
20701
|
+
console.log({ history });
|
|
20692
20702
|
this.history = history.sort((a, b) => b.number - a.number);
|
|
20693
20703
|
}
|
|
20694
20704
|
});
|
|
@@ -22113,10 +22123,10 @@ class AboutStateComponent {
|
|
|
22113
22123
|
this.http = http;
|
|
22114
22124
|
this.userService = userService;
|
|
22115
22125
|
this.config = config;
|
|
22116
|
-
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": "8.
|
|
22126
|
+
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": "8.2.0-rc.1", "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": "6.0.0-beta.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" }];
|
|
22117
22127
|
this.ctrl = {
|
|
22118
22128
|
productName: 'yuuvis® RAD client',
|
|
22119
|
-
clientVersion: '8.
|
|
22129
|
+
clientVersion: '8.2.0-rc.1'
|
|
22120
22130
|
};
|
|
22121
22131
|
this.licenses = {
|
|
22122
22132
|
'MIT': {
|
|
@@ -22161,7 +22171,7 @@ class AboutStateComponent {
|
|
|
22161
22171
|
}
|
|
22162
22172
|
getDocumentation() {
|
|
22163
22173
|
const docu = this.config.getRaw('about.docu');
|
|
22164
|
-
const link = docu.link.replace('###userLang###', this.userLang);
|
|
22174
|
+
const link = docu.link.replace('###userLang###', this.userLang.substring(0, 2));
|
|
22165
22175
|
this.docu = Object.assign(Object.assign({}, docu), { link });
|
|
22166
22176
|
}
|
|
22167
22177
|
getUserLang() {
|