@appcorp/app-corp-vista 0.2.96 → 0.2.97

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.
@@ -106,7 +106,7 @@ var VistaTableBodyV1 = function (_a) {
106
106
  }
107
107
  else if (Array.isArray(key) && componentType === vista_table_type_1.VISTA_TABLE_CELL_TYPE.MULTIPLE_TEXT_LINES) {
108
108
  if (expression) {
109
- computedValue = key.map(function (k) { return expression(row[k]); });
109
+ computedValue = key.map(function (k) { return expression(row[k], row); });
110
110
  }
111
111
  else {
112
112
  computedValue = key.map(function (k) { return row[k]; });
@@ -115,7 +115,7 @@ var VistaTableBodyV1 = function (_a) {
115
115
  else {
116
116
  computedValue = row[key];
117
117
  if (expression) {
118
- computedValue = expression(row[key]);
118
+ computedValue = expression(row[key], row);
119
119
  }
120
120
  }
121
121
  if (componentType === vista_table_type_1.VISTA_TABLE_CELL_TYPE.CREATED_UPDATED_AT) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appcorp/app-corp-vista",
3
- "version": "0.2.96",
3
+ "version": "0.2.97",
4
4
  "scripts": {
5
5
  "build": "yarn clean && yarn build:ts && cp package.json lib && cp README.md lib && cp yarn.lock lib",
6
6
  "build:next": "next build",