ps-toolkit-ui 0.0.67 → 0.0.68
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 +4 -1
- 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 +5 -2
- package/fesm2015/ps-toolkit-ui.js +4 -1
- 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
|
@@ -992,10 +992,13 @@
|
|
|
992
992
|
if (i === void 0) { i = null; }
|
|
993
993
|
if (f === void 0) { f = null; }
|
|
994
994
|
if (i == null) {
|
|
995
|
-
return moment__namespace;
|
|
995
|
+
return moment__namespace();
|
|
996
996
|
}
|
|
997
997
|
return moment__namespace(i, f);
|
|
998
998
|
};
|
|
999
|
+
HelperClass.getMomentAdd = function (a, s) {
|
|
1000
|
+
return moment__namespace().add(-1, 'month');
|
|
1001
|
+
};
|
|
999
1002
|
HelperClass.getDateRemain = function (l, dt) {
|
|
1000
1003
|
var d = parseInt(dt.substring(6, dt.length - 2), 10);
|
|
1001
1004
|
var now = moment.now();
|