@eo-sdk/client 7.16.8 → 7.16.11
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/app/eo-framework-core/api/plugins.service.d.ts +3 -2
- package/bundles/eo-sdk-client-projects-eo-sdk-core.umd.js +7 -5
- 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 +1 -1
- package/bundles/eo-sdk-client-projects-eo-sdk-core.umd.min.js.map +1 -1
- package/bundles/eo-sdk-client.umd.js +35 -21
- 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/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-core/api/plugins.service.js +10 -3
- 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/fesm2015/eo-sdk-client-projects-eo-sdk-core.js +7 -5
- package/fesm2015/eo-sdk-client-projects-eo-sdk-core.js.map +1 -1
- package/fesm2015/eo-sdk-client.js +32 -22
- package/fesm2015/eo-sdk-client.js.map +1 -1
- package/package.json +2 -2
- package/projects/eo-sdk/core/package.json +1 -1
|
@@ -1152,7 +1152,7 @@
|
|
|
1152
1152
|
|
|
1153
1153
|
var UNDOCK_WINDOW_NAME = 'eoViewer';
|
|
1154
1154
|
var PluginsService = /** @class */ (function () {
|
|
1155
|
-
function PluginsService(backend, notifications, clipboard, logger, translate, dmsService, router, agentService, eventService, userService, ngZone) {
|
|
1155
|
+
function PluginsService(backend, notifications, clipboard, logger, translate, dmsService, router, agentService, eventService, userService, appRef, ngZone) {
|
|
1156
1156
|
var _this = this;
|
|
1157
1157
|
this.backend = backend;
|
|
1158
1158
|
this.notifications = notifications;
|
|
@@ -1164,6 +1164,7 @@
|
|
|
1164
1164
|
this.agentService = agentService;
|
|
1165
1165
|
this.eventService = eventService;
|
|
1166
1166
|
this.userService = userService;
|
|
1167
|
+
this.appRef = appRef;
|
|
1167
1168
|
this.ngZone = ngZone;
|
|
1168
1169
|
this.agentAction = {
|
|
1169
1170
|
OPEN: 'eo.agent.action.open',
|
|
@@ -1213,6 +1214,11 @@
|
|
|
1213
1214
|
PluginsService.prototype.getApi = function () {
|
|
1214
1215
|
var _this = this;
|
|
1215
1216
|
return {
|
|
1217
|
+
detectChanges: function () {
|
|
1218
|
+
setTimeout(function () {
|
|
1219
|
+
_this.appRef.tick();
|
|
1220
|
+
}, 500);
|
|
1221
|
+
},
|
|
1216
1222
|
router: {
|
|
1217
1223
|
get: function () { return _this.router; }
|
|
1218
1224
|
},
|
|
@@ -1424,6 +1430,7 @@
|
|
|
1424
1430
|
{ type: AgentService },
|
|
1425
1431
|
{ type: i1.EventService },
|
|
1426
1432
|
{ type: i1.UserService },
|
|
1433
|
+
{ type: i0.ApplicationRef },
|
|
1427
1434
|
{ type: i0.NgZone }
|
|
1428
1435
|
]; };
|
|
1429
1436
|
|
|
@@ -10589,7 +10596,7 @@
|
|
|
10589
10596
|
}
|
|
10590
10597
|
else {
|
|
10591
10598
|
if (element.type === 'DATETIME' && data[element.name]) {
|
|
10592
|
-
value = new Date(data[element.name] +
|
|
10599
|
+
value = new Date("" + data[element.name] + (element.withtime ? '' : 'T00:00:00'));
|
|
10593
10600
|
}
|
|
10594
10601
|
else {
|
|
10595
10602
|
value = data[element.name];
|
|
@@ -19344,7 +19351,7 @@
|
|
|
19344
19351
|
_this.cd = cd;
|
|
19345
19352
|
_this.eventService = eventService;
|
|
19346
19353
|
_this._history = [];
|
|
19347
|
-
|
|
19354
|
+
// history: DmsObjectHistoryEntry[] = [];
|
|
19348
19355
|
_this.filters = [];
|
|
19349
19356
|
_this.visibleFilter = { select: true, input: true };
|
|
19350
19357
|
_this.eventService
|
|
@@ -19356,6 +19363,16 @@
|
|
|
19356
19363
|
});
|
|
19357
19364
|
return _this;
|
|
19358
19365
|
}
|
|
19366
|
+
Object.defineProperty(ObjectHistoryComponent.prototype, "history", {
|
|
19367
|
+
get: function () {
|
|
19368
|
+
return this._history;
|
|
19369
|
+
},
|
|
19370
|
+
set: function (historyObj) {
|
|
19371
|
+
this._history = historyObj;
|
|
19372
|
+
},
|
|
19373
|
+
enumerable: false,
|
|
19374
|
+
configurable: true
|
|
19375
|
+
});
|
|
19359
19376
|
Object.defineProperty(ObjectHistoryComponent.prototype, "params", {
|
|
19360
19377
|
get: function () {
|
|
19361
19378
|
return this._params;
|
|
@@ -19377,7 +19394,7 @@
|
|
|
19377
19394
|
this.filters.push(type);
|
|
19378
19395
|
}
|
|
19379
19396
|
// todo: ChangeDetection should not work here, Hä?
|
|
19380
|
-
this.history = this.
|
|
19397
|
+
this.history = this.history.filter(function (entry) { return _this.filters.indexOf(entry.group) === -1; });
|
|
19381
19398
|
};
|
|
19382
19399
|
ObjectHistoryComponent.prototype.trackByIndex = function (index, item) {
|
|
19383
19400
|
return index;
|
|
@@ -19386,11 +19403,12 @@
|
|
|
19386
19403
|
var _this = this;
|
|
19387
19404
|
this.dmsService
|
|
19388
19405
|
.getHistory(id, type)
|
|
19389
|
-
.
|
|
19390
|
-
_this.
|
|
19406
|
+
.pipe(operators.map(function (res) {
|
|
19407
|
+
_this.history = res.reverse();
|
|
19391
19408
|
_this.toggleFilter(['INFORMATIONAL', true]);
|
|
19392
19409
|
_this.cd.markForCheck();
|
|
19393
|
-
})
|
|
19410
|
+
}))
|
|
19411
|
+
.subscribe();
|
|
19394
19412
|
};
|
|
19395
19413
|
return ObjectHistoryComponent;
|
|
19396
19414
|
}(UnsubscribeOnDestroy));
|
|
@@ -22472,16 +22490,14 @@
|
|
|
22472
22490
|
var _this = this;
|
|
22473
22491
|
this.locked = this.workItem.state === 'PERSON';
|
|
22474
22492
|
this.preventClickThrough = true;
|
|
22475
|
-
setTimeout(function () {
|
|
22476
|
-
_this.preventClickThrough = false;
|
|
22477
|
-
}, 1000);
|
|
22493
|
+
setTimeout(function () { return _this.preventClickThrough = false; }, 1000);
|
|
22478
22494
|
var _b = this.workItem, form = _b.form, data = _b.data;
|
|
22479
22495
|
var workItem = { form: form, data: data };
|
|
22480
22496
|
this.workItemIndexdata = form && data ? workItem : null;
|
|
22481
22497
|
// fetch history
|
|
22482
22498
|
this.bpmService
|
|
22483
22499
|
.getProcessHistory(this.workItem.processId)
|
|
22484
|
-
.
|
|
22500
|
+
.pipe(operators.map(function (res) {
|
|
22485
22501
|
res.forEach(function (item) {
|
|
22486
22502
|
if (item.editor) {
|
|
22487
22503
|
item.data.image = _this.userService.getUserImageUri(item.editor.id);
|
|
@@ -22490,7 +22506,8 @@
|
|
|
22490
22506
|
// sort by number because this is the auto-incrementing
|
|
22491
22507
|
// index of added history entries
|
|
22492
22508
|
_this.history = res.sort(function (a, b) { return b.number - a.number; });
|
|
22493
|
-
})
|
|
22509
|
+
}))
|
|
22510
|
+
.subscribe();
|
|
22494
22511
|
};
|
|
22495
22512
|
InboxDetailsComponent.prototype.trackByCode = function (index, item) {
|
|
22496
22513
|
return item.code;
|
|
@@ -22564,7 +22581,7 @@
|
|
|
22564
22581
|
ProcessHistoryComponent.decorators = [
|
|
22565
22582
|
{ type: i0.Component, args: [{
|
|
22566
22583
|
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\">{{
|
|
22584
|
+
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
22585
|
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
22569
22586
|
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
22587
|
},] }
|
|
@@ -22575,9 +22592,7 @@
|
|
|
22575
22592
|
|
|
22576
22593
|
var ProcessDetailsComponent = /** @class */ (function (_super) {
|
|
22577
22594
|
__extends(ProcessDetailsComponent, _super);
|
|
22578
|
-
function ProcessDetailsComponent(bpmService, userService, systemService,
|
|
22579
|
-
// private processService: ProcessService,
|
|
22580
|
-
selection, clipboardService, translate, router) {
|
|
22595
|
+
function ProcessDetailsComponent(bpmService, userService, systemService, selection, clipboardService, translate, router) {
|
|
22581
22596
|
var _this = _super.call(this) || this;
|
|
22582
22597
|
_this.bpmService = bpmService;
|
|
22583
22598
|
_this.userService = userService;
|
|
@@ -22606,9 +22621,7 @@
|
|
|
22606
22621
|
this.history = [];
|
|
22607
22622
|
this.locked = false;
|
|
22608
22623
|
this.loading = true;
|
|
22609
|
-
setTimeout(function () {
|
|
22610
|
-
_this.process();
|
|
22611
|
-
}, 0);
|
|
22624
|
+
setTimeout(function () { return _this.process(); }, 0);
|
|
22612
22625
|
}
|
|
22613
22626
|
},
|
|
22614
22627
|
enumerable: false,
|
|
@@ -22647,6 +22660,7 @@
|
|
|
22647
22660
|
item.data.image = _this.userService.getUserImageUri(item.editor.id);
|
|
22648
22661
|
}
|
|
22649
22662
|
});
|
|
22663
|
+
console.log({ history: history });
|
|
22650
22664
|
_this.history = history.sort(function (a, b) { return b.number - a.number; });
|
|
22651
22665
|
}
|
|
22652
22666
|
});
|
|
@@ -24177,10 +24191,10 @@
|
|
|
24177
24191
|
this.http = http;
|
|
24178
24192
|
this.userService = userService;
|
|
24179
24193
|
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.
|
|
24194
|
+
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.11", "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
24195
|
this.ctrl = {
|
|
24182
24196
|
productName: 'yuuvis® RAD client',
|
|
24183
|
-
clientVersion: '7.16.
|
|
24197
|
+
clientVersion: '7.16.11'
|
|
24184
24198
|
};
|
|
24185
24199
|
this.licenses = {
|
|
24186
24200
|
'MIT': {
|