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.
- package/bundles/ps-toolkit-ui.umd.js +5 -4
- package/bundles/ps-toolkit-ui.umd.js.map +1 -1
- package/bundles/ps-toolkit-ui.umd.min.js +1 -1
- package/bundles/ps-toolkit-ui.umd.min.js.map +1 -1
- package/esm2015/lib/classes/form.class.js +5 -4
- package/esm2015/lib/classes/string.class.js +2 -2
- package/fesm2015/ps-toolkit-ui.js +5 -4
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/package.json +1 -1
- package/ps-toolkit-ui.metadata.json +1 -1
|
@@ -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 =
|
|
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 =
|
|
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) *
|
|
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);
|