@resolveio/client-lib-core 1.1.6 → 1.1.8
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/esm2020/lib/auth/auth.service.mjs +4 -1
- package/esm2020/lib/core.component.mjs +4 -1
- package/esm2020/lib/widgets/dialog/dialog.login.content.mjs +3 -3
- package/fesm2015/resolveio-client-lib-core.mjs +8 -2
- package/fesm2015/resolveio-client-lib-core.mjs.map +1 -1
- package/fesm2020/resolveio-client-lib-core.mjs +8 -2
- package/fesm2020/resolveio-client-lib-core.mjs.map +1 -1
- package/lib/auth/auth.service.d.ts +1 -0
- package/package.json +1 -1
|
@@ -2894,7 +2894,7 @@ DialogLoginContent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
|
|
|
2894
2894
|
</style>
|
|
2895
2895
|
<form [formGroup]="form" novalidate>
|
|
2896
2896
|
<div class="modal-header">
|
|
2897
|
-
<h4 class="modal-title"><
|
|
2897
|
+
<h4 class="modal-title"><b>Login</b></h4>
|
|
2898
2898
|
<button type="button" class="close" aria-label="Close" (click)="_activeModal.dismiss()">
|
|
2899
2899
|
<span aria-hidden="true">×</span>
|
|
2900
2900
|
</button>
|
|
@@ -3045,7 +3045,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImpor
|
|
|
3045
3045
|
</style>
|
|
3046
3046
|
<form [formGroup]="form" novalidate>
|
|
3047
3047
|
<div class="modal-header">
|
|
3048
|
-
<h4 class="modal-title"><
|
|
3048
|
+
<h4 class="modal-title"><b>Login</b></h4>
|
|
3049
3049
|
<button type="button" class="close" aria-label="Close" (click)="_activeModal.dismiss()">
|
|
3050
3050
|
<span aria-hidden="true">×</span>
|
|
3051
3051
|
</button>
|
|
@@ -4248,6 +4248,9 @@ class AuthService {
|
|
|
4248
4248
|
framework: { isAngular: true }
|
|
4249
4249
|
});
|
|
4250
4250
|
}
|
|
4251
|
+
setEnvironment(environment) {
|
|
4252
|
+
this.environment = environment;
|
|
4253
|
+
}
|
|
4251
4254
|
setUserHasPhoneNumber(value) {
|
|
4252
4255
|
this.userHasPhoneNumber = value;
|
|
4253
4256
|
}
|
|
@@ -4925,6 +4928,9 @@ class CoreComponent extends BaseComponent {
|
|
|
4925
4928
|
if (this.environment && this.environment.MS_ALLOWED) {
|
|
4926
4929
|
this._auth.setupMSSingleSignOn(this.environment);
|
|
4927
4930
|
}
|
|
4931
|
+
else if (this.environment) {
|
|
4932
|
+
this._auth.setEnvironment(this.environment);
|
|
4933
|
+
}
|
|
4928
4934
|
this._auth.setUserHasPhoneNumber(this.userHasPhoneNumber);
|
|
4929
4935
|
// this._services._app.setCustomHomePage(this.customHomePage);
|
|
4930
4936
|
// this._services._app.setLogo(this.logo);
|