@c8y/ngx-components 1009.0.31 → 1009.0.34

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.
@@ -11975,14 +11975,8 @@ var TotpAuthComponent = /** @class */ (function () {
11975
11975
  this.LOGIN_VIEWS = LoginViews;
11976
11976
  this.loading = false;
11977
11977
  this.hasError = false;
11978
+ this.isSetup = false;
11978
11979
  }
11979
- Object.defineProperty(TotpAuthComponent.prototype, "isSetup", {
11980
- get: function () {
11981
- return this.view === LoginViews.TotpSetup;
11982
- },
11983
- enumerable: true,
11984
- configurable: true
11985
- });
11986
11980
  /**
11987
11981
  * In case of a setup we need the user to be authorized
11988
11982
  * first.
@@ -11996,6 +11990,7 @@ var TotpAuthComponent = /** @class */ (function () {
11996
11990
  return [4 /*yield*/, this.loginService.switchLoginMode(this.credentials)];
11997
11991
  case 1:
11998
11992
  _a.sent();
11993
+ this.isSetup = true;
11999
11994
  _a.label = 2;
12000
11995
  case 2: return [2 /*return*/];
12001
11996
  }