@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
|
@@ -3053,7 +3053,8 @@ class OutsideClickDirective extends UnsubscribeOnDestroy {
|
|
|
3053
3053
|
}
|
|
3054
3054
|
onClick(event, targetElement) {
|
|
3055
3055
|
const overlayContainer = document.querySelector('.cdk-overlay-container');
|
|
3056
|
-
if (this.active && !this._elementRef.nativeElement.contains(targetElement)
|
|
3056
|
+
if (this.active && !this._elementRef.nativeElement.contains(targetElement)
|
|
3057
|
+
&& (overlayContainer && overlayContainer.hasChildNodes() ? !overlayContainer.contains(targetElement) : true)) {
|
|
3057
3058
|
this.onOutsideEvent(event);
|
|
3058
3059
|
}
|
|
3059
3060
|
}
|
|
@@ -6491,9 +6492,11 @@ class YearRangeDirective {
|
|
|
6491
6492
|
onKeyDown(event) {
|
|
6492
6493
|
const input = event.target;
|
|
6493
6494
|
const year = +input.value;
|
|
6494
|
-
if (year &&
|
|
6495
|
-
|
|
6496
|
-
|
|
6495
|
+
if (year && year < this.rangeMin) {
|
|
6496
|
+
input.value = '' + this.rangeMin;
|
|
6497
|
+
}
|
|
6498
|
+
else if (year && year > this.rangeMax) {
|
|
6499
|
+
input.value = '' + this.rangeMax;
|
|
6497
6500
|
}
|
|
6498
6501
|
else {
|
|
6499
6502
|
this.selectedYear = `${year}`;
|
|
@@ -20817,8 +20820,10 @@ class InboxDetailsComponent extends UnsubscribeOnDestroy {
|
|
|
20817
20820
|
.find(this.applySelection.in)
|
|
20818
20821
|
.focus$.pipe(takeUntil(this.componentDestroyed$))
|
|
20819
20822
|
.subscribe((item) => {
|
|
20820
|
-
|
|
20821
|
-
|
|
20823
|
+
if (item) {
|
|
20824
|
+
this.item = item;
|
|
20825
|
+
this.storageService.setItem(this.storageKeyLastItemID, this.item.id);
|
|
20826
|
+
}
|
|
20822
20827
|
});
|
|
20823
20828
|
}
|
|
20824
20829
|
}
|
|
@@ -22111,6 +22116,7 @@ class LoginComponent {
|
|
|
22111
22116
|
label: host ? host : 'local',
|
|
22112
22117
|
value: host || ''
|
|
22113
22118
|
}));
|
|
22119
|
+
this.appLogo = this.config.getRaw('appLogo');
|
|
22114
22120
|
}
|
|
22115
22121
|
ngOnInit() {
|
|
22116
22122
|
if (this.route.snapshot.params['logout']) {
|
|
@@ -22153,7 +22159,7 @@ class LoginComponent {
|
|
|
22153
22159
|
LoginComponent.decorators = [
|
|
22154
22160
|
{ type: Component, args: [{
|
|
22155
22161
|
selector: 'eo-login',
|
|
22156
|
-
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]=\"
|
|
22162
|
+
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",
|
|
22157
22163
|
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}"]
|
|
22158
22164
|
},] }
|
|
22159
22165
|
];
|
|
@@ -22367,10 +22373,10 @@ class AboutStateComponent {
|
|
|
22367
22373
|
this.http = http;
|
|
22368
22374
|
this.userService = userService;
|
|
22369
22375
|
this.config = config;
|
|
22370
|
-
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.
|
|
22376
|
+
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" }];
|
|
22371
22377
|
this.ctrl = {
|
|
22372
22378
|
productName: 'yuuvis® RAD client',
|
|
22373
|
-
clientVersion: '8.16.0-rc.
|
|
22379
|
+
clientVersion: '8.16.0-rc.6'
|
|
22374
22380
|
};
|
|
22375
22381
|
this.licenses = {
|
|
22376
22382
|
'MIT': {
|
|
@@ -22412,7 +22418,10 @@ class AboutStateComponent {
|
|
|
22412
22418
|
this.getUserLang();
|
|
22413
22419
|
this.getDocumentation();
|
|
22414
22420
|
this.backgroundImage = `url(${this.config.getDashboardBackgroundImage()})`;
|
|
22415
|
-
this.headerLogo = this.config.getRaw(
|
|
22421
|
+
this.headerLogo = this.config.getRaw('about.headerLogo');
|
|
22422
|
+
if (!this.headerLogo) {
|
|
22423
|
+
this.headerLogo = this.config.getRaw('appLogo');
|
|
22424
|
+
}
|
|
22416
22425
|
}
|
|
22417
22426
|
getDocumentation() {
|
|
22418
22427
|
const docu = this.config.getRaw('about.docu');
|
|
@@ -23937,10 +23946,12 @@ class InboxStateComponent extends UnsubscribeOnDestroy {
|
|
|
23937
23946
|
});
|
|
23938
23947
|
const lastInboxItemID = this.storageService.getItem(this.storageKeyLastItemID);
|
|
23939
23948
|
if (lastInboxItemID) {
|
|
23940
|
-
|
|
23941
|
-
|
|
23942
|
-
|
|
23943
|
-
|
|
23949
|
+
if (this.gridData) {
|
|
23950
|
+
const item = this.gridData.find(i => i.id === lastInboxItemID);
|
|
23951
|
+
if (item) {
|
|
23952
|
+
this.selectFirst = false;
|
|
23953
|
+
setTimeout(() => this.eoGrid.selectRow(item), 500);
|
|
23954
|
+
}
|
|
23944
23955
|
}
|
|
23945
23956
|
}
|
|
23946
23957
|
}
|