ps-toolkit-ui 1.13.64 → 1.13.66

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.
@@ -7507,6 +7507,9 @@
7507
7507
  this.rulesModal = new ModalClass(this.config.environment, this.login.l, 'Rules', 'sm');
7508
7508
  var rulesLabel = new InputClass(this.config.environment, this.login.l, 'RulesLabel', null, exports.InputType.Label, 'm-t-10', 'RulesLabel');
7509
7509
  var rules = new InputClass(this.config.environment, this.login.l, 'Rules', null, exports.InputType.Label, 'w-80 m-r-10 m-t-10', this.login.rules);
7510
+ rulesLabel.onClick = function () {
7511
+ _this.rulesModal.show();
7512
+ };
7510
7513
  this.rulesModal.form = new FormClass(this.config.environment, this.login.l, 'Rules');
7511
7514
  this.rulesModal.form.inputs = [rules];
7512
7515
  if (this.login.type === 'Sms') {
@@ -7527,7 +7530,7 @@
7527
7530
  sendCodeForm_1.inputs = [
7528
7531
  this.mobile,
7529
7532
  sendCode
7530
- ].concat(this.login.rules != null ? [rulesLabel, rules] : []);
7533
+ ].concat(this.login.rules != null ? [rulesLabel] : []);
7531
7534
  sendCode.onClick = function () {
7532
7535
  sendCodeForm_1.submit();
7533
7536
  };