ps-toolkit-ui 1.13.64 → 1.13.67

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.
@@ -110,7 +110,8 @@
110
110
  Register: 'ثبت کد تایید نرم افزار',
111
111
  DeviceId: 'کد نرم افزار: {}',
112
112
  Copy: 'کپی',
113
- RulesLabel: 'ورود شما به معنای پذیرش <span class="c-p c-blue">شرایط و قوانین حریم‌خصوصی</span> است'
113
+ RulesLabel: 'ورود شما به معنای پذیرش <span class="c-p c-blue">شرایط و قوانین حریم‌خصوصی</span> است',
114
+ RulesTitle: 'شرایط و قوانین حریم‌خصوصی'
114
115
  },
115
116
  Footer: {
116
117
  Copyright: 'تمامی حقوق این وبسایت برای پارت سیلیکون محفوظ است.',
@@ -7504,9 +7505,12 @@
7504
7505
  }
7505
7506
  LoginComponent.prototype.ngOnInit = function () {
7506
7507
  var _this = this;
7507
- this.rulesModal = new ModalClass(this.config.environment, this.login.l, 'Rules', 'sm');
7508
+ this.rulesModal = new ModalClass(this.config.environment, this.login.l, 'RulesTitle', 'sm');
7508
7509
  var rulesLabel = new InputClass(this.config.environment, this.login.l, 'RulesLabel', null, exports.InputType.Label, 'm-t-10', 'RulesLabel');
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
+ var rules = new InputClass(this.config.environment, this.login.l, 'RulesTitle', null, exports.InputType.Label, 'w-80 m-r-10 m-t-10', this.login.rules);
7511
+ rulesLabel.onClick = function () {
7512
+ _this.rulesModal.show();
7513
+ };
7510
7514
  this.rulesModal.form = new FormClass(this.config.environment, this.login.l, 'Rules');
7511
7515
  this.rulesModal.form.inputs = [rules];
7512
7516
  if (this.login.type === 'Sms') {
@@ -7527,7 +7531,7 @@
7527
7531
  sendCodeForm_1.inputs = [
7528
7532
  this.mobile,
7529
7533
  sendCode
7530
- ].concat(this.login.rules != null ? [rulesLabel, rules] : []);
7534
+ ].concat(this.login.rules != null ? [rulesLabel] : []);
7531
7535
  sendCode.onClick = function () {
7532
7536
  sendCodeForm_1.submit();
7533
7537
  };