ps-toolkit-ui 0.2.49 → 0.2.52

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.
@@ -94,7 +94,7 @@
94
94
  },
95
95
  Login: {
96
96
  ReSendCodeDes: '(ارسال مجدد)',
97
- ReSendCodeRemain: '{} : {} مانده تا دریافت مجدد کد',
97
+ ReSendCodeRemain: '<div class="ltr d-ib"><div class="t-c d-ib w-20-p">{}</div>:<div class="t-c d-ib w-20-p">{}</div></div> مانده تا دریافت مجدد کد',
98
98
  Code: 'کد تایید',
99
99
  Base: 'نام سایت',
100
100
  BaseDesc: 'توضیحات سایت',
@@ -1484,23 +1484,24 @@
1484
1484
  var Progress = /** @class */ (function () {
1485
1485
  function Progress(secs) {
1486
1486
  var _this = this;
1487
- this.percent = 98;
1487
+ this.percent = 100;
1488
1488
  this.onEnd = null;
1489
1489
  this.onStart = null;
1490
1490
  this.onTick = null;
1491
1491
  this.start = function () {
1492
1492
  _this.remainSecs = _this.secs;
1493
- _this.percent = 98;
1493
+ _this.percent = 100;
1494
1494
  if (_this.onStart) {
1495
1495
  _this.onStart();
1496
1496
  }
1497
1497
  _this.interVal = setInterval(function () {
1498
- _this.percent = (_this.remainSecs / _this.secs) * 98;
1498
+ _this.percent = (_this.remainSecs / _this.secs) * 100;
1499
1499
  if (_this.remainSecs === 0) {
1500
1500
  clearInterval(_this.interVal);
1501
1501
  if (_this.onEnd) {
1502
1502
  _this.onEnd();
1503
1503
  }
1504
+ return;
1504
1505
  }
1505
1506
  if (Number.isInteger(_this.remainSecs)) {
1506
1507
  var m = Math.floor(_this.remainSecs / 60);