ps-toolkit-ui 1.19.85 → 1.19.87
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 -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 +4 -3
- package/esm2015/lib/components/table/row/table.row.component.js +2 -2
- package/fesm2015/ps-toolkit-ui.js +4 -3
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/package.json +1 -1
|
@@ -3686,7 +3686,7 @@
|
|
|
3686
3686
|
}, []);
|
|
3687
3687
|
};
|
|
3688
3688
|
TableRowComponent.prototype.getCell = function (col) {
|
|
3689
|
-
this.table.getCell(this.row
|
|
3689
|
+
this.table.getCell(this.row, col);
|
|
3690
3690
|
};
|
|
3691
3691
|
TableRowComponent.prototype.getCol = function (n) {
|
|
3692
3692
|
var c = this.row.Data;
|
|
@@ -9693,12 +9693,12 @@
|
|
|
9693
9693
|
TableClass.prototype.getCell = function (row, col) {
|
|
9694
9694
|
var e_5, _b;
|
|
9695
9695
|
// console.log('getCell');
|
|
9696
|
-
var cv = _.get(row, col.name);
|
|
9696
|
+
var cv = _.get(row.Data, col.name);
|
|
9697
9697
|
if (cv === null) {
|
|
9698
9698
|
return col.default ? col.default : '';
|
|
9699
9699
|
}
|
|
9700
9700
|
else if (col.fun != null) {
|
|
9701
|
-
return col.fun(row);
|
|
9701
|
+
return col.fun(row.Data);
|
|
9702
9702
|
}
|
|
9703
9703
|
else if (col.enum !== null) {
|
|
9704
9704
|
return this.l(EnumUtils.getKeyByValue(col.enum, cv));
|
|
@@ -9796,6 +9796,7 @@
|
|
|
9796
9796
|
else if (col.type === exports.TableCollType.PlaqueText) {
|
|
9797
9797
|
return "<div class=\"ltr\">" + HelperClass.ToReadablePlaque(cv) + "</div>";
|
|
9798
9798
|
}
|
|
9799
|
+
console.log(cv, this.l(cv));
|
|
9799
9800
|
return this.l(cv);
|
|
9800
9801
|
};
|
|
9801
9802
|
TableClass.prototype.excel = function () {
|