@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.
- 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
|
@@ -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
|
}
|