ps-toolkit-ui 0.2.17 → 0.2.18

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.
@@ -6651,6 +6651,7 @@
6651
6651
  code_1.focus();
6652
6652
  }, 100);
6653
6653
  };
6654
+ this.mobile.displayLabel = this.loginTemplate === 'Main';
6654
6655
  sendCodeForm_1.inputs = [
6655
6656
  this.mobile,
6656
6657
  sendCode
@@ -6698,6 +6699,7 @@
6698
6699
  labelResend_1.name = 'ReSendCodeDes';
6699
6700
  });
6700
6701
  };
6702
+ code_1.displayLabel = this.loginTemplate === 'Main';
6701
6703
  var login = new InputClass(this.config.environment, this.l, 'LoginSms', 'fa-duotone fa-sign-in-alt', exports.InputType.Submit);
6702
6704
  loginForm_1.inputs = [
6703
6705
  this.mobile,
@@ -6737,9 +6739,12 @@
6737
6739
  }
6738
6740
  };
6739
6741
  this.username = new InputClass(this.config.environment, this.l, 'Username', 'fa-duotone fa-user', exports.InputType.Text, 'm-b-10 h-45', '', true, 4, 50);
6742
+ var password = new InputClass(this.config.environment, this.l, 'Password', 'fa-duotone fa-key', exports.InputType.Password, 'm-b-10 h-45', '', true, 5, 50);
6743
+ this.username.displayLabel = this.loginTemplate === 'Main';
6744
+ password.displayLabel = this.loginTemplate === 'Main';
6740
6745
  loginForm_2.inputs = [
6741
6746
  this.username,
6742
- new InputClass(this.config.environment, this.l, 'Password', 'fa-duotone fa-key', exports.InputType.Password, 'm-b-10 h-45', '', true, 5, 50),
6747
+ password,
6743
6748
  login
6744
6749
  ];
6745
6750
  login.onClick = function () {