ps-toolkit-ui 0.0.61 → 0.0.65
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 +6 -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 +4 -1
- package/esm2015/lib/classes/table.class.js +2 -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
|
@@ -988,6 +988,11 @@
|
|
|
988
988
|
HelperClass.getNow = function () {
|
|
989
989
|
return moment.now();
|
|
990
990
|
};
|
|
991
|
+
HelperClass.getMoment = function (i, f) {
|
|
992
|
+
if (i === void 0) { i = null; }
|
|
993
|
+
if (f === void 0) { f = null; }
|
|
994
|
+
return moment__namespace(i, f);
|
|
995
|
+
};
|
|
991
996
|
HelperClass.getDateRemain = function (l, dt) {
|
|
992
997
|
var d = parseInt(dt.substring(6, dt.length - 2), 10);
|
|
993
998
|
var now = moment.now();
|
|
@@ -7247,7 +7252,7 @@
|
|
|
7247
7252
|
p.RelatedId = this_1.permissions.RelatedId;
|
|
7248
7253
|
p.Area = this_1.permissions.Area;
|
|
7249
7254
|
p.Controller = this_1.permissions.Controller;
|
|
7250
|
-
p.Action = this_1.permissions.Action + option.Action;
|
|
7255
|
+
p.Action = (this_1.permissions.Action ? this_1.permissions.Action : '') + option.Action;
|
|
7251
7256
|
opt.url = '/File' + p.getUrl() + '/{}';
|
|
7252
7257
|
opt.urlNewTab = true;
|
|
7253
7258
|
}
|