ps-toolkit-ui 1.22.42 → 1.22.43
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 +1 -3
- 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/table.class.js +2 -2
- package/esm2015/lib/components/form/table/form.table.component.js +1 -3
- package/fesm2015/ps-toolkit-ui.js +1 -3
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/package.json +1 -1
|
@@ -4152,7 +4152,7 @@
|
|
|
4152
4152
|
}
|
|
4153
4153
|
var result = Object.keys(this.sumRowBase).reduce(function (result, key) {
|
|
4154
4154
|
result[key] = checks_1.reduce(function (total, item) {
|
|
4155
|
-
return total + (item
|
|
4155
|
+
return total + (item[key] || 0);
|
|
4156
4156
|
}, 0);
|
|
4157
4157
|
return result;
|
|
4158
4158
|
}, {});
|
|
@@ -7563,13 +7563,11 @@
|
|
|
7563
7563
|
var text = (_a = event.clipboardData) === null || _a === void 0 ? void 0 : _a.getData('text');
|
|
7564
7564
|
var data = JSON.parse(text);
|
|
7565
7565
|
var maxPriority = Math.max.apply(Math, __spread(this.inp.table.rows.map(function (x) { return x.Data.Priority; })));
|
|
7566
|
-
console.log(maxPriority);
|
|
7567
7566
|
if (data.table === this.inp.table.name) {
|
|
7568
7567
|
(_b = this.inp.table.rows).push.apply(_b, __spread(data.rows.map(function (row, idx) {
|
|
7569
7568
|
if (!isNaN(maxPriority)) {
|
|
7570
7569
|
row.Priority = maxPriority + idx + 1;
|
|
7571
7570
|
}
|
|
7572
|
-
console.log(row.Priority);
|
|
7573
7571
|
row.Id = parseInt(HelperClass.random(5, false, false), 10);
|
|
7574
7572
|
return {
|
|
7575
7573
|
Data: row,
|