ps-toolkit-ui 0.2.55 → 0.2.58

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.
@@ -127,6 +127,9 @@
127
127
  Plaque: 'پلاک',
128
128
  DriverName: 'نام راننده',
129
129
  Name: 'نام',
130
+ ProvinceId: 'استان',
131
+ CityId: 'شهر',
132
+ PostalCode: 'کدپستی',
130
133
  Title: 'عنوان',
131
134
  Text: 'متن',
132
135
  Date: 'تاریخ',
@@ -273,7 +276,6 @@
273
276
  LoadingDot: '<span class="dot-spinner black"><div class="bounce1"></div><div class="bounce2"></div><div class="bounce3"></div></span>',
274
277
  LoadingDotWhite: '<span class="dot-spinner white"><div class="bounce1"></div><div class="bounce2"></div><div class="bounce3"></div></span>',
275
278
  Loading: 'در حال {} <span class="dot-spinner"><div class="bounce1"></div><div class="bounce2"></div><div class="bounce3"></div></span>',
276
- LoadingComp: 'در حال {} <span class="dot-spinner comp"><div class="bounce1"></div><div class="bounce2"></div><div class="bounce3"></div></span>',
277
279
  LoadingEmpty: '<span class="dot-spinner"><div class="bounce1"></div><div class="bounce2"></div><div class="bounce3"></div></span>',
278
280
  LoadingTable: '<i class="fas fa-spin fa-spinner m-l-5-p icon"></i> در حال {} <span class="dot-spinner black"><div class="bounce1"></div><div class="bounce2"></div><div class="bounce3"></div></span>',
279
281
  EmptyData: 'اطلاعاتی برای نمایش وجود ندارد',
@@ -6716,13 +6718,15 @@
6716
6718
  labelResend_1.value = _this.login.l('ReSendCodeRemain', [m > 9 ? m : "0" + m, s > 9 ? s : "0" + s]);
6717
6719
  };
6718
6720
  labelResend_1.onClick = function () {
6719
- labelResend_1.name = '(' + _this.login.l('LoadingComp', 'Send') + ')';
6721
+ if (labelResend_1.value !== 'ReSendCodeDes') {
6722
+ return;
6723
+ }
6724
+ labelResend_1.value = '(' + _this.login.l('Loading', 'Send') + ')';
6720
6725
  new RequestClass(_this.config.environment).send(_this.login.sendCodeUrl, exports.Method.Post, loginForm_1.data(), null, function () {
6721
- labelResend_1.name = 'ReSendCodeDes';
6722
6726
  code_1.progress.start();
6723
6727
  }, function (error) {
6724
6728
  HelperClass.addNotification(_this.login.l(error));
6725
- labelResend_1.name = 'ReSendCodeDes';
6729
+ labelResend_1.value = 'ReSendCodeDes';
6726
6730
  });
6727
6731
  };
6728
6732
  code_1.displayLabel = this.loginTemplate === 'Main';