ps-toolkit-ui 0.0.60 → 0.0.64
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 -2
- 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 +2 -2
- package/esm2015/lib/classes/helper.class.js +4 -1
- package/esm2015/lib/classes/table.class.js +2 -2
- package/fesm2015/ps-toolkit-ui.js +5 -2
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/lib/classes/form.class.d.ts +3 -3
- 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,9 @@
|
|
|
988
988
|
HelperClass.getNow = function () {
|
|
989
989
|
return moment.now();
|
|
990
990
|
};
|
|
991
|
+
HelperClass.getMoment = function (i, f) {
|
|
992
|
+
return moment__namespace(i, f);
|
|
993
|
+
};
|
|
991
994
|
HelperClass.getDateRemain = function (l, dt) {
|
|
992
995
|
var d = parseInt(dt.substring(6, dt.length - 2), 10);
|
|
993
996
|
var now = moment.now();
|
|
@@ -1889,7 +1892,7 @@
|
|
|
1889
1892
|
c.selected = false;
|
|
1890
1893
|
if (onlyChild) {
|
|
1891
1894
|
c.children.forEach(function (ch) {
|
|
1892
|
-
_this.unCheck(ch);
|
|
1895
|
+
_this.unCheck(onlyChild, ch);
|
|
1893
1896
|
});
|
|
1894
1897
|
}
|
|
1895
1898
|
};
|
|
@@ -7247,7 +7250,7 @@
|
|
|
7247
7250
|
p.RelatedId = this_1.permissions.RelatedId;
|
|
7248
7251
|
p.Area = this_1.permissions.Area;
|
|
7249
7252
|
p.Controller = this_1.permissions.Controller;
|
|
7250
|
-
p.Action = this_1.permissions.Action + option.Action;
|
|
7253
|
+
p.Action = (this_1.permissions.Action ? this_1.permissions.Action : '') + option.Action;
|
|
7251
7254
|
opt.url = '/File' + p.getUrl() + '/{}';
|
|
7252
7255
|
opt.urlNewTab = true;
|
|
7253
7256
|
}
|