ps-toolkit-ui 1.16.8 → 1.16.9

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.
@@ -1444,6 +1444,12 @@
1444
1444
  }
1445
1445
  return '<span class="ltr d-ib">' + moment__namespace(d).locale('fa').format('jYYYY/jMM/jDD HH:mm') + '</span>';
1446
1446
  };
1447
+ HelperClass.getDateRemainSec = function (l, dt, c) {
1448
+ if (c === void 0) { c = 2; }
1449
+ var d = parseInt(dt.substring(6, dt.length - 2), 10);
1450
+ var now = moment.now();
1451
+ return (d - now) / 1000;
1452
+ };
1447
1453
  HelperClass.getDateRemainFull = function (l, dt, c) {
1448
1454
  if (c === void 0) { c = 2; }
1449
1455
  var d = parseInt(dt.substring(6, dt.length - 2), 10);