ps-toolkit-ui 0.0.9 → 0.0.10
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 +3 -0
- 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/helper.class.js +4 -1
- package/fesm2015/ps-toolkit-ui.js +3 -0
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/lib/classes/helper.class.d.ts +1 -0
- package/package.json +1 -1
- package/ps-toolkit-ui.metadata.json +1 -1
|
@@ -982,6 +982,9 @@
|
|
|
982
982
|
var v = e.find(function (x) { return x.Value === dt; });
|
|
983
983
|
return "<span class=\"status " + v.Class + "\">" + l(v.Name) + '</span>';
|
|
984
984
|
};
|
|
985
|
+
HelperClass.getNow = function () {
|
|
986
|
+
return moment__namespace();
|
|
987
|
+
};
|
|
985
988
|
HelperClass.getDateRemain = function (l, dt) {
|
|
986
989
|
var d = parseInt(dt.substring(6, dt.length - 2), 10);
|
|
987
990
|
var now = moment.now();
|