@eo-sdk/client 8.16.0-rc.5 → 8.16.0-rc.6
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-client/login/login.component.d.ts +1 -0
- package/assets/_default/config/main.json +2 -2
- package/bundles/eo-sdk-client.umd.js +25 -14
- 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 +7 -4
- package/esm2015/app/eo-client/inbox-state/inbox-state/inbox-state.component.js +7 -5
- package/esm2015/app/eo-client/login/login.component.js +3 -2
- package/esm2015/app/eo-framework/form-elements/datetime/year-range/year-range.directive.js +6 -4
- package/esm2015/app/eo-framework/inbox-details/inbox-details.component.js +5 -3
- package/esm2015/app/eo-framework/ui/outside-click/outside-click.directive.js +3 -2
- package/fesm2015/eo-sdk-client.js +25 -14
- package/fesm2015/eo-sdk-client.js.map +1 -1
- package/package.json +2 -2
- package/projects/eo-sdk/core/package.json +1 -1
|
@@ -37,13 +37,13 @@
|
|
|
37
37
|
"docu": {
|
|
38
38
|
"link": "https://help.optimal-systems.com/yuuvisRAD/v80/user/client/###userLang###/index.html",
|
|
39
39
|
"label": "eo.sidebar.help.manual"
|
|
40
|
-
}
|
|
41
|
-
"headerLogo": "./assets/_default/theme/splash.svg"
|
|
40
|
+
}
|
|
42
41
|
},
|
|
43
42
|
"dashboardTitle": "yuuvis® RAD client",
|
|
44
43
|
"dashboardBackgroundImage": "./assets/_default/theme/bgr-dashboard.jpg",
|
|
45
44
|
"sideBarHeaderImage": "./assets/_default/theme/bgr_sidebar.jpg",
|
|
46
45
|
"navBarLogo":"./assets/_default/theme/logo.svg",
|
|
46
|
+
"appLogo": "assets/_default/theme/splash.svg",
|
|
47
47
|
"systemStatusUpdateInterval": 30000,
|
|
48
48
|
"objectDetailsTabs": {"master": ["summary", "indexdata", "history", "links"], "slave": ["preview"]}
|
|
49
49
|
}
|
|
@@ -3594,7 +3594,8 @@
|
|
|
3594
3594
|
};
|
|
3595
3595
|
OutsideClickDirective.prototype.onClick = function (event, targetElement) {
|
|
3596
3596
|
var overlayContainer = document.querySelector('.cdk-overlay-container');
|
|
3597
|
-
if (this.active && !this._elementRef.nativeElement.contains(targetElement)
|
|
3597
|
+
if (this.active && !this._elementRef.nativeElement.contains(targetElement)
|
|
3598
|
+
&& (overlayContainer && overlayContainer.hasChildNodes() ? !overlayContainer.contains(targetElement) : true)) {
|
|
3598
3599
|
this.onOutsideEvent(event);
|
|
3599
3600
|
}
|
|
3600
3601
|
};
|
|
@@ -7274,9 +7275,11 @@
|
|
|
7274
7275
|
YearRangeDirective.prototype.onKeyDown = function (event) {
|
|
7275
7276
|
var input = event.target;
|
|
7276
7277
|
var year = +input.value;
|
|
7277
|
-
if (year &&
|
|
7278
|
-
|
|
7279
|
-
|
|
7278
|
+
if (year && year < this.rangeMin) {
|
|
7279
|
+
input.value = '' + this.rangeMin;
|
|
7280
|
+
}
|
|
7281
|
+
else if (year && year > this.rangeMax) {
|
|
7282
|
+
input.value = '' + this.rangeMax;
|
|
7280
7283
|
}
|
|
7281
7284
|
else {
|
|
7282
7285
|
this.selectedYear = "" + year;
|
|
@@ -22865,8 +22868,10 @@
|
|
|
22865
22868
|
.find(this.applySelection.in)
|
|
22866
22869
|
.focus$.pipe(operators.takeUntil(this.componentDestroyed$))
|
|
22867
22870
|
.subscribe(function (item) {
|
|
22868
|
-
|
|
22869
|
-
|
|
22871
|
+
if (item) {
|
|
22872
|
+
_this.item = item;
|
|
22873
|
+
_this.storageService.setItem(_this.storageKeyLastItemID, _this.item.id);
|
|
22874
|
+
}
|
|
22870
22875
|
});
|
|
22871
22876
|
}
|
|
22872
22877
|
};
|
|
@@ -24275,6 +24280,7 @@
|
|
|
24275
24280
|
label: host ? host : 'local',
|
|
24276
24281
|
value: host || ''
|
|
24277
24282
|
}); });
|
|
24283
|
+
this.appLogo = this.config.getRaw('appLogo');
|
|
24278
24284
|
}
|
|
24279
24285
|
LoginComponent.prototype.ngOnInit = function () {
|
|
24280
24286
|
if (this.route.snapshot.params['logout']) {
|
|
@@ -24319,7 +24325,7 @@
|
|
|
24319
24325
|
LoginComponent.decorators = [
|
|
24320
24326
|
{ type: i0.Component, args: [{
|
|
24321
24327
|
selector: 'eo-login',
|
|
24322
|
-
template: "<div class=\"eo-login-container\" [style.background-image]=\"backgroundImage\">\n <div class=\"eo-login\">\n\n <div class=\"head\" *ngIf=\"!cloudEnvironment\">\n <eo-icon [iconSrc]=\"
|
|
24328
|
+
template: "<div class=\"eo-login-container\" [style.background-image]=\"backgroundImage\">\n <div class=\"eo-login\">\n\n <div class=\"head\" *ngIf=\"!cloudEnvironment\">\n <eo-icon [iconSrc]=\"appLogo\"></eo-icon>\n </div>\n\n <div class=\"invalid\" *ngIf=\"invalid\" translate>eo.state.login.msg.invalid</div>\n\n <form (ngSubmit)=\"login()\" #loginForm=\"ngForm\">\n\n <fieldset [ngClass]=\"{loading: loading}\">\n\n <div class=\"form-item\" *ngIf=\"native\" [ngClass]=\"{empty: !profiles || profiles.length === 0}\">\n <p-dropdown [options]=\"profiles\" placeholder=\"host\"\n [editable]=\"true\" [required]=\"true\"\n [autoWidth]=\"false\"\n [(ngModel)]=\"form.host\" name=\"profile\">\n <ng-template let-profile pTemplate=\"item\">\n <div class=\"option-row\">\n <div>{{profile.label}}</div>\n <eo-icon [iconSrc]=\"'assets/_default/svg/ic_clear.svg'\"\n (click)=\"removeProfile(profile.value)\"></eo-icon>\n </div>\n </ng-template>\n </p-dropdown>\n <label translate>eo.state.login.host</label>\n </div>\n\n <!-- form login -->\n <ng-container *ngIf=\"!cloudEnvironment; else tplCloudLogin\">\n <div class=\"form-item\">\n <input type=\"text\" class=\"form-control\" id=\"username\" placeholder=\"{{'eo.state.login.username'|translate}}\"\n [disabled]=\"loading\" autofocus\n [(ngModel)]=\"form.username\" name=\"username\" required tabindex=\"1\">\n <label for=\"username\" translate>eo.state.login.username</label>\n </div>\n <div class=\"form-item\">\n <input type=\"password\" class=\"form-control\" id=\"password\"\n placeholder=\"{{'eo.state.login.password'|translate}}\"\n [disabled]=\"loading\"\n [(ngModel)]=\"form.password\" name=\"password\" required tabindex=\"2\">\n <label for=\"password\" translate>eo.state.login.password</label>\n </div>\n </ng-container>\n\n <!-- cloud login -->\n <ng-template #tplCloudLogin>\n <div class=\"form-item\">\n <input type=\"text\" class=\"form-control\" id=\"tenant\" placeholder=\"{{'eo.state.login.tenant'|translate}}\"\n [disabled]=\"loading\" autofocus\n [(ngModel)]=\"form.tenant\" name=\"tenant\" required tabindex=\"1\">\n <label for=\"tenant\" translate>eo.state.login.tenant</label>\n </div>\n </ng-template>\n\n </fieldset>\n <div class=\"actions\">\n <button type=\"submit\" class=\"primary\" [disabled]=\"!loginForm.form.valid || loading\"\n [ngClass]=\"{spinner: loading}\"\n translate tabindex=\"3\">eo.state.login.submit</button>\n </div>\n </form>\n\n </div>\n</div>\n",
|
|
24323
24329
|
styles: [":host{align-items:stretch;bottom:0;flex-flow:row;left:0;position:absolute;right:0;top:0}.eo-login-container,:host{display:flex;justify-content:center}.eo-login-container{background-position:50%;background-size:cover;width:100%}.eo-login-container .eo-login{align-items:stretch;display:flex;flex-flow:column;justify-content:center;width:400px}@media (max-width:432px){.eo-login-container .eo-login{box-sizing:border-box;padding:0 var(--app-pane-padding);width:100%}}.eo-login-container .eo-login .head{display:flex;justify-content:flex-end;padding-bottom:calc(var(--app-pane-padding)*3)}.eo-login-container .eo-login .head eo-icon{color:var(--text-color-hint);height:auto;margin:0;min-width:120px;width:60%}.eo-login-container .eo-login .invalid{color:var(--color-error);margin-bottom:var(--app-pane-padding)}.eo-login-container .eo-login fieldset{background:var(--color-white);border:0;border-radius:2px;box-shadow:0 2px 8px 0 rgba(var(--color-black-rgb),.26);padding:0}.eo-login-container .eo-login fieldset .form-item{align-items:center;border-bottom:1px solid var(--list-item-border-color);display:flex;flex-flow:row nowrap}.eo-login-container .eo-login fieldset .form-item>*{flex:1 1 auto}.eo-login-container .eo-login fieldset .form-item label{color:var(--text-color-caption);flex:0 0 auto;padding:0 calc(var(--app-pane-padding)/2)}.eo-login-container .eo-login fieldset input{background:transparent;border:0;box-sizing:border-box;margin:0;padding:calc(var(--app-pane-padding)*0.75) calc(var(--app-pane-padding)/2);width:100%}.eo-login-container .eo-login fieldset input:-webkit-autofill{-webkit-box-shadow:0 0 0 30px #fff inset}.eo-login-container .eo-login fieldset input:last-child{border-bottom:0}.eo-login-container .eo-login fieldset.empty .ui-dropdown-trigger,.eo-login-container .eo-login fieldset.loading{opacity:.5}.eo-login-container .eo-login .actions{display:flex;flex-flow:row nowrap;justify-content:flex-end}.eo-login-container .eo-login .actions button{margin-top:var(--app-pane-padding)}.eo-login-container .eo-login .actions button[disabled]{opacity:.9}"]
|
|
24324
24330
|
},] }
|
|
24325
24331
|
];
|
|
@@ -24533,10 +24539,10 @@
|
|
|
24533
24539
|
this.http = http;
|
|
24534
24540
|
this.userService = userService;
|
|
24535
24541
|
this.config = config;
|
|
24536
|
-
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.16.0-rc.
|
|
24542
|
+
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.16.0-rc.6", "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" }];
|
|
24537
24543
|
this.ctrl = {
|
|
24538
24544
|
productName: 'yuuvis® RAD client',
|
|
24539
|
-
clientVersion: '8.16.0-rc.
|
|
24545
|
+
clientVersion: '8.16.0-rc.6'
|
|
24540
24546
|
};
|
|
24541
24547
|
this.licenses = {
|
|
24542
24548
|
'MIT': {
|
|
@@ -24578,7 +24584,10 @@
|
|
|
24578
24584
|
this.getUserLang();
|
|
24579
24585
|
this.getDocumentation();
|
|
24580
24586
|
this.backgroundImage = "url(" + this.config.getDashboardBackgroundImage() + ")";
|
|
24581
|
-
this.headerLogo = this.config.getRaw(
|
|
24587
|
+
this.headerLogo = this.config.getRaw('about.headerLogo');
|
|
24588
|
+
if (!this.headerLogo) {
|
|
24589
|
+
this.headerLogo = this.config.getRaw('appLogo');
|
|
24590
|
+
}
|
|
24582
24591
|
}
|
|
24583
24592
|
AboutStateComponent.prototype.getDocumentation = function () {
|
|
24584
24593
|
var docu = this.config.getRaw('about.docu');
|
|
@@ -26105,10 +26114,12 @@
|
|
|
26105
26114
|
});
|
|
26106
26115
|
var lastInboxItemID = this.storageService.getItem(this.storageKeyLastItemID);
|
|
26107
26116
|
if (lastInboxItemID) {
|
|
26108
|
-
|
|
26109
|
-
|
|
26110
|
-
|
|
26111
|
-
|
|
26117
|
+
if (this.gridData) {
|
|
26118
|
+
var item_1 = this.gridData.find(function (i) { return i.id === lastInboxItemID; });
|
|
26119
|
+
if (item_1) {
|
|
26120
|
+
this.selectFirst = false;
|
|
26121
|
+
setTimeout(function () { return _this.eoGrid.selectRow(item_1); }, 500);
|
|
26122
|
+
}
|
|
26112
26123
|
}
|
|
26113
26124
|
}
|
|
26114
26125
|
};
|