@c8y/ngx-components 1010.0.27 → 1010.0.30
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/bundles/c8y-ngx-components.umd.js +2 -7
- package/bundles/c8y-ngx-components.umd.js.map +1 -1
- package/bundles/c8y-ngx-components.umd.min.js +1 -1
- package/bundles/c8y-ngx-components.umd.min.js.map +1 -1
- package/c8y-ngx-components.metadata.json +1 -1
- package/core/login/totp-auth.component.d.ts +1 -1
- package/esm2015/core/login/totp-auth.component.js +3 -4
- package/esm5/core/login/totp-auth.component.js +3 -8
- package/fesm2015/c8y-ngx-components.js +2 -3
- package/fesm2015/c8y-ngx-components.js.map +1 -1
- package/fesm5/c8y-ngx-components.js +2 -7
- package/fesm5/c8y-ngx-components.js.map +1 -1
- package/package.json +2 -2
|
@@ -12679,14 +12679,8 @@ var TotpAuthComponent = /** @class */ (function () {
|
|
|
12679
12679
|
this.LOGIN_VIEWS = LoginViews;
|
|
12680
12680
|
this.loading = false;
|
|
12681
12681
|
this.hasError = false;
|
|
12682
|
+
this.isSetup = false;
|
|
12682
12683
|
}
|
|
12683
|
-
Object.defineProperty(TotpAuthComponent.prototype, "isSetup", {
|
|
12684
|
-
get: function () {
|
|
12685
|
-
return this.view === LoginViews.TotpSetup;
|
|
12686
|
-
},
|
|
12687
|
-
enumerable: true,
|
|
12688
|
-
configurable: true
|
|
12689
|
-
});
|
|
12690
12684
|
/**
|
|
12691
12685
|
* In case of a setup we need the user to be authorized
|
|
12692
12686
|
* first.
|
|
@@ -12700,6 +12694,7 @@ var TotpAuthComponent = /** @class */ (function () {
|
|
|
12700
12694
|
return [4 /*yield*/, this.loginService.switchLoginMode(this.credentials)];
|
|
12701
12695
|
case 1:
|
|
12702
12696
|
_a.sent();
|
|
12697
|
+
this.isSetup = true;
|
|
12703
12698
|
_a.label = 2;
|
|
12704
12699
|
case 2: return [2 /*return*/];
|
|
12705
12700
|
}
|