ps-toolkit-ui 0.0.83 → 0.0.87
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/ps-toolkit-ui.umd.js +4 -2
- package/bundles/ps-toolkit-ui.umd.js.map +1 -1
- package/bundles/ps-toolkit-ui.umd.min.js +1 -1
- package/bundles/ps-toolkit-ui.umd.min.js.map +1 -1
- package/esm2015/lib/components/login/login.component.js +5 -3
- package/fesm2015/ps-toolkit-ui.js +4 -2
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/package.json +1 -1
|
@@ -6713,6 +6713,8 @@
|
|
|
6713
6713
|
loginForm_1.subName = this.l('LoginSmsSubTitle', '');
|
|
6714
6714
|
loginForm_1.onSuccess = function (result) {
|
|
6715
6715
|
_this.login.setCookie(result);
|
|
6716
|
+
console.log(_this.login.steps);
|
|
6717
|
+
console.log(result);
|
|
6716
6718
|
if (_this.login.steps.length > 2 && result.CurrentUser === null) {
|
|
6717
6719
|
_this.login.steps[2].show(result.StepData);
|
|
6718
6720
|
}
|
|
@@ -6760,11 +6762,11 @@
|
|
|
6760
6762
|
};
|
|
6761
6763
|
var loginStep = new LoginStepClass(loginForm_1);
|
|
6762
6764
|
loginStep.show = function () {
|
|
6763
|
-
_this.login.active =
|
|
6765
|
+
_this.login.active = 1;
|
|
6764
6766
|
};
|
|
6765
6767
|
var sendCodeStep = new LoginStepClass(sendCodeForm);
|
|
6766
6768
|
sendCodeStep.show = function () {
|
|
6767
|
-
_this.login.active =
|
|
6769
|
+
_this.login.active = 0;
|
|
6768
6770
|
};
|
|
6769
6771
|
this.login.steps.unshift(loginStep);
|
|
6770
6772
|
this.login.steps.unshift(sendCodeStep);
|