ps-toolkit-ui 1.6.6 → 1.6.9

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.
@@ -6977,15 +6977,6 @@
6977
6977
  _this.login.onSuccess(result);
6978
6978
  }
6979
6979
  };
6980
- loginForm_1.onFailed = function (msg) {
6981
- code_1.clear();
6982
- _this.mobile.error = exports.InputError.NotExist;
6983
- _this.mobile.type = exports.InputType.Mobile;
6984
- setTimeout(function () {
6985
- _this.mobile.focus();
6986
- }, 100);
6987
- _this.login.steps[0].show();
6988
- };
6989
6980
  var code_1 = new InputClass(this.config.environment, this.login.l, 'Code', 'fa-duotone fa-unlock-alt', exports.InputType.Number, 'm-b-20 h-45', null, true, 1111, 9999);
6990
6981
  var labelResend_1 = new InputClass(this.config.environment, this.login.l, 'ReSendCodeDes', null, exports.InputType.Label, 'comp resend-code h-45');
6991
6982
  code_1.progress = new Progress(120);
@@ -7027,6 +7018,7 @@
7027
7018
  };
7028
7019
  var sendCodeStep = new LoginStepClass(sendCodeForm_1);
7029
7020
  sendCodeStep.show = function () {
7021
+ _this.mobile.type = exports.InputType.Mobile;
7030
7022
  _this.login.active = 0;
7031
7023
  };
7032
7024
  this.login.steps.unshift(loginStep);