@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
|
@@ -12170,14 +12170,8 @@
|
|
|
12170
12170
|
this.LOGIN_VIEWS = exports.LoginViews;
|
|
12171
12171
|
this.loading = false;
|
|
12172
12172
|
this.hasError = false;
|
|
12173
|
+
this.isSetup = false;
|
|
12173
12174
|
}
|
|
12174
|
-
Object.defineProperty(TotpAuthComponent.prototype, "isSetup", {
|
|
12175
|
-
get: function () {
|
|
12176
|
-
return this.view === exports.LoginViews.TotpSetup;
|
|
12177
|
-
},
|
|
12178
|
-
enumerable: true,
|
|
12179
|
-
configurable: true
|
|
12180
|
-
});
|
|
12181
12175
|
/**
|
|
12182
12176
|
* In case of a setup we need the user to be authorized
|
|
12183
12177
|
* first.
|
|
@@ -12191,6 +12185,7 @@
|
|
|
12191
12185
|
return [4 /*yield*/, this.loginService.switchLoginMode(this.credentials)];
|
|
12192
12186
|
case 1:
|
|
12193
12187
|
_a.sent();
|
|
12188
|
+
this.isSetup = true;
|
|
12194
12189
|
_a.label = 2;
|
|
12195
12190
|
case 2: return [2 /*return*/];
|
|
12196
12191
|
}
|