@resolveio/client-lib-core 1.1.4 → 1.1.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.
@@ -2766,6 +2766,7 @@ class DialogLoginContent {
2766
2766
  this._activeModal = _activeModal;
2767
2767
  this._fb = _fb;
2768
2768
  this.msAllowed = false;
2769
+ this.showLoginText = true;
2769
2770
  }
2770
2771
  ngOnInit() {
2771
2772
  this.form = this._fb.group({
@@ -2795,7 +2796,7 @@ class DialogLoginContent {
2795
2796
  }
2796
2797
  }
2797
2798
  DialogLoginContent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DialogLoginContent, deps: [{ token: i1$4.NgbActiveModal }, { token: i2.FormBuilder }], target: i0.ɵɵFactoryTarget.Component });
2798
- DialogLoginContent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.0", type: DialogLoginContent, selector: "ng-component", inputs: { msAllowed: "msAllowed" }, ngImport: i0, template: `
2799
+ DialogLoginContent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.0", type: DialogLoginContent, selector: "ng-component", inputs: { msAllowed: "msAllowed", showLoginText: "showLoginText" }, ngImport: i0, template: `
2799
2800
  <style>
2800
2801
  collapse-table {
2801
2802
  width: 100%;
@@ -2905,7 +2906,7 @@ DialogLoginContent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
2905
2906
  <div class="col-lg-6">
2906
2907
  <div class="contactimg">
2907
2908
  <img src="/assets/images/loginsignup/formimg.jpg" alt="images" class="img-fluid">
2908
- <div class="textbox">
2909
+ <div class="textbox" *ngIf="showLoginText">
2909
2910
  <div class="login-logo"><img src="/assets/images/loginsignup/login-logo.png" alt="images"></div>
2910
2911
  The All-in-One Solution for Tracking Inventory, Ordering, POs, Management, and Much More!
2911
2912
  </div>
@@ -3056,7 +3057,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImpor
3056
3057
  <div class="col-lg-6">
3057
3058
  <div class="contactimg">
3058
3059
  <img src="/assets/images/loginsignup/formimg.jpg" alt="images" class="img-fluid">
3059
- <div class="textbox">
3060
+ <div class="textbox" *ngIf="showLoginText">
3060
3061
  <div class="login-logo"><img src="/assets/images/loginsignup/login-logo.png" alt="images"></div>
3061
3062
  The All-in-One Solution for Tracking Inventory, Ordering, POs, Management, and Much More!
3062
3063
  </div>
@@ -3097,6 +3098,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImpor
3097
3098
  }]
3098
3099
  }], ctorParameters: function () { return [{ type: i1$4.NgbActiveModal }, { type: i2.FormBuilder }]; }, propDecorators: { msAllowed: [{
3099
3100
  type: Input
3101
+ }], showLoginText: [{
3102
+ type: Input
3100
3103
  }] } });
3101
3104
 
3102
3105
  // tslint:disable-next-line:component-class-suffix
@@ -4181,9 +4184,10 @@ class DialogService {
4181
4184
  modalRef.componentInstance.showArraySubData = showArraySubData;
4182
4185
  return modalRef.result;
4183
4186
  }
4184
- login(msAllowed) {
4187
+ login(msAllowed, showLoginText = true) {
4185
4188
  const modalRef = this.openDialog(DialogLoginContent);
4186
4189
  modalRef.componentInstance.msAllowed = msAllowed;
4190
+ modalRef.componentInstance.showLoginText = showLoginText;
4187
4191
  return modalRef.result;
4188
4192
  }
4189
4193
  register() {
@@ -4419,7 +4423,7 @@ class AuthService {
4419
4423
  this.userAgentApplication.loginRedirect(graphScopes);
4420
4424
  }
4421
4425
  loginModal() {
4422
- return this._ds.login(!this.environment || !this.environment.MS_ALLOWED ? false : true);
4426
+ return this._ds.login(!this.environment || !this.environment.MS_ALLOWED ? false : true, !this.environment || !this.environment.HIDE_LOGIN_TEXT ? true : false);
4423
4427
  }
4424
4428
  removeUser(id) {
4425
4429
  return new Promise((resolve, reject) => {