@eo-sdk/client 7.16.8 → 7.16.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/app/eo-framework/object-details/object-history/object-history.component.d.ts +3 -2
- package/bundles/eo-sdk-client-projects-eo-sdk-core.umd.js +4 -2
- package/bundles/eo-sdk-client-projects-eo-sdk-core.umd.js.map +1 -1
- package/bundles/eo-sdk-client-projects-eo-sdk-core.umd.min.js.map +1 -1
- package/bundles/eo-sdk-client.umd.js +26 -19
- package/bundles/eo-sdk-client.umd.js.map +1 -1
- package/bundles/eo-sdk-client.umd.min.js +1 -1
- package/bundles/eo-sdk-client.umd.min.js.map +1 -1
- package/eo-sdk-client.metadata.json +1 -1
- package/esm2015/app/eo-client/about-state/about-state.component.js +3 -3
- package/esm2015/app/eo-framework/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/process/details/process-details.component.js +6 -9
- package/esm2015/app/eo-framework/process/history/process-history.component.js +2 -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/fesm2015/eo-sdk-client-projects-eo-sdk-core.js +4 -2
- package/fesm2015/eo-sdk-client-projects-eo-sdk-core.js.map +1 -1
- package/fesm2015/eo-sdk-client.js +22 -19
- package/fesm2015/eo-sdk-client.js.map +1 -1
- package/package.json +2 -2
- package/projects/eo-sdk/core/package.json +1 -1
|
@@ -19344,7 +19344,7 @@
|
|
|
19344
19344
|
_this.cd = cd;
|
|
19345
19345
|
_this.eventService = eventService;
|
|
19346
19346
|
_this._history = [];
|
|
19347
|
-
|
|
19347
|
+
// history: DmsObjectHistoryEntry[] = [];
|
|
19348
19348
|
_this.filters = [];
|
|
19349
19349
|
_this.visibleFilter = { select: true, input: true };
|
|
19350
19350
|
_this.eventService
|
|
@@ -19356,6 +19356,16 @@
|
|
|
19356
19356
|
});
|
|
19357
19357
|
return _this;
|
|
19358
19358
|
}
|
|
19359
|
+
Object.defineProperty(ObjectHistoryComponent.prototype, "history", {
|
|
19360
|
+
get: function () {
|
|
19361
|
+
return this._history;
|
|
19362
|
+
},
|
|
19363
|
+
set: function (historyObj) {
|
|
19364
|
+
this._history = historyObj;
|
|
19365
|
+
},
|
|
19366
|
+
enumerable: false,
|
|
19367
|
+
configurable: true
|
|
19368
|
+
});
|
|
19359
19369
|
Object.defineProperty(ObjectHistoryComponent.prototype, "params", {
|
|
19360
19370
|
get: function () {
|
|
19361
19371
|
return this._params;
|
|
@@ -19377,7 +19387,7 @@
|
|
|
19377
19387
|
this.filters.push(type);
|
|
19378
19388
|
}
|
|
19379
19389
|
// todo: ChangeDetection should not work here, Hä?
|
|
19380
|
-
this.history = this.
|
|
19390
|
+
this.history = this.history.filter(function (entry) { return _this.filters.indexOf(entry.group) === -1; });
|
|
19381
19391
|
};
|
|
19382
19392
|
ObjectHistoryComponent.prototype.trackByIndex = function (index, item) {
|
|
19383
19393
|
return index;
|
|
@@ -19386,11 +19396,12 @@
|
|
|
19386
19396
|
var _this = this;
|
|
19387
19397
|
this.dmsService
|
|
19388
19398
|
.getHistory(id, type)
|
|
19389
|
-
.
|
|
19390
|
-
_this.
|
|
19399
|
+
.pipe(operators.map(function (res) {
|
|
19400
|
+
_this.history = res.reverse();
|
|
19391
19401
|
_this.toggleFilter(['INFORMATIONAL', true]);
|
|
19392
19402
|
_this.cd.markForCheck();
|
|
19393
|
-
})
|
|
19403
|
+
}))
|
|
19404
|
+
.subscribe();
|
|
19394
19405
|
};
|
|
19395
19406
|
return ObjectHistoryComponent;
|
|
19396
19407
|
}(UnsubscribeOnDestroy));
|
|
@@ -22472,16 +22483,14 @@
|
|
|
22472
22483
|
var _this = this;
|
|
22473
22484
|
this.locked = this.workItem.state === 'PERSON';
|
|
22474
22485
|
this.preventClickThrough = true;
|
|
22475
|
-
setTimeout(function () {
|
|
22476
|
-
_this.preventClickThrough = false;
|
|
22477
|
-
}, 1000);
|
|
22486
|
+
setTimeout(function () { return _this.preventClickThrough = false; }, 1000);
|
|
22478
22487
|
var _b = this.workItem, form = _b.form, data = _b.data;
|
|
22479
22488
|
var workItem = { form: form, data: data };
|
|
22480
22489
|
this.workItemIndexdata = form && data ? workItem : null;
|
|
22481
22490
|
// fetch history
|
|
22482
22491
|
this.bpmService
|
|
22483
22492
|
.getProcessHistory(this.workItem.processId)
|
|
22484
|
-
.
|
|
22493
|
+
.pipe(operators.map(function (res) {
|
|
22485
22494
|
res.forEach(function (item) {
|
|
22486
22495
|
if (item.editor) {
|
|
22487
22496
|
item.data.image = _this.userService.getUserImageUri(item.editor.id);
|
|
@@ -22490,7 +22499,8 @@
|
|
|
22490
22499
|
// sort by number because this is the auto-incrementing
|
|
22491
22500
|
// index of added history entries
|
|
22492
22501
|
_this.history = res.sort(function (a, b) { return b.number - a.number; });
|
|
22493
|
-
})
|
|
22502
|
+
}))
|
|
22503
|
+
.subscribe();
|
|
22494
22504
|
};
|
|
22495
22505
|
InboxDetailsComponent.prototype.trackByCode = function (index, item) {
|
|
22496
22506
|
return item.code;
|
|
@@ -22564,7 +22574,7 @@
|
|
|
22564
22574
|
ProcessHistoryComponent.decorators = [
|
|
22565
22575
|
{ type: i0.Component, args: [{
|
|
22566
22576
|
selector: 'eo-process-history',
|
|
22567
|
-
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\">{{
|
|
22577
|
+
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",
|
|
22568
22578
|
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
22569
22579
|
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}"]
|
|
22570
22580
|
},] }
|
|
@@ -22575,9 +22585,7 @@
|
|
|
22575
22585
|
|
|
22576
22586
|
var ProcessDetailsComponent = /** @class */ (function (_super) {
|
|
22577
22587
|
__extends(ProcessDetailsComponent, _super);
|
|
22578
|
-
function ProcessDetailsComponent(bpmService, userService, systemService,
|
|
22579
|
-
// private processService: ProcessService,
|
|
22580
|
-
selection, clipboardService, translate, router) {
|
|
22588
|
+
function ProcessDetailsComponent(bpmService, userService, systemService, selection, clipboardService, translate, router) {
|
|
22581
22589
|
var _this = _super.call(this) || this;
|
|
22582
22590
|
_this.bpmService = bpmService;
|
|
22583
22591
|
_this.userService = userService;
|
|
@@ -22606,9 +22614,7 @@
|
|
|
22606
22614
|
this.history = [];
|
|
22607
22615
|
this.locked = false;
|
|
22608
22616
|
this.loading = true;
|
|
22609
|
-
setTimeout(function () {
|
|
22610
|
-
_this.process();
|
|
22611
|
-
}, 0);
|
|
22617
|
+
setTimeout(function () { return _this.process(); }, 0);
|
|
22612
22618
|
}
|
|
22613
22619
|
},
|
|
22614
22620
|
enumerable: false,
|
|
@@ -22647,6 +22653,7 @@
|
|
|
22647
22653
|
item.data.image = _this.userService.getUserImageUri(item.editor.id);
|
|
22648
22654
|
}
|
|
22649
22655
|
});
|
|
22656
|
+
console.log({ history: history });
|
|
22650
22657
|
_this.history = history.sort(function (a, b) { return b.number - a.number; });
|
|
22651
22658
|
}
|
|
22652
22659
|
});
|
|
@@ -24177,10 +24184,10 @@
|
|
|
24177
24184
|
this.http = http;
|
|
24178
24185
|
this.userService = userService;
|
|
24179
24186
|
this.config = config;
|
|
24180
|
-
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": "7.16.
|
|
24187
|
+
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": "7.16.9", "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" }];
|
|
24181
24188
|
this.ctrl = {
|
|
24182
24189
|
productName: 'yuuvis® RAD client',
|
|
24183
|
-
clientVersion: '7.16.
|
|
24190
|
+
clientVersion: '7.16.9'
|
|
24184
24191
|
};
|
|
24185
24192
|
this.licenses = {
|
|
24186
24193
|
'MIT': {
|