@appcorp/app-corp-vista 0.2.98 → 0.2.99

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.
@@ -98,13 +98,13 @@ var VistaTableBodyV1 = function (_a) {
98
98
  !loading && tableBodyRows.length > 0 && (tableBodyRows === null || tableBodyRows === void 0 ? void 0 : tableBodyRows.map(function (row) {
99
99
  var ref = (0, uuid_1.v4)();
100
100
  return (react_1.default.createElement("tr", { key: ref, className: exports.rowClasses }, tableBodyCols.map(function (_a) {
101
- var _b, _c;
101
+ var _b, _c, _d, _e, _f, _g, _h;
102
102
  var key = _a.key, componentType = _a.componentType, expression = _a.expression;
103
103
  var computedValue = '';
104
104
  if (Array.isArray(key) && componentType === vista_table_type_1.VISTA_TABLE_CELL_TYPE.OBJECT) {
105
- var _d = key[0].split(util_functions_1.VALUE_DELIMITER.COLON), option1aKey = _d[0], option1bKey = _d[1];
106
- var _e = key[0].split(util_functions_1.VALUE_DELIMITER.COLON), option2aKey = _e[0], option2bKey = _e[1];
107
- computedValue = (_b = row[option1aKey || option1bKey]) === null || _b === void 0 ? void 0 : _b[option2aKey || option2bKey];
105
+ var _j = (_b = key[0]) === null || _b === void 0 ? void 0 : _b.split(util_functions_1.VALUE_DELIMITER.COLON), option1aKey = _j[0], option1bKey = _j[1];
106
+ var _k = (_c = key[1]) === null || _c === void 0 ? void 0 : _c.split(util_functions_1.VALUE_DELIMITER.COLON), option2aKey = _k[0], option2bKey = _k[1];
107
+ computedValue = (((_e = (_d = row[key === null || key === void 0 ? void 0 : key[0]]) === null || _d === void 0 ? void 0 : _d.key) === null || _e === void 0 ? void 0 : _e[1]) || ((_f = row[option1aKey]) === null || _f === void 0 ? void 0 : _f[option2aKey])) || ((_g = row[option1bKey]) === null || _g === void 0 ? void 0 : _g[option2bKey]);
108
108
  }
109
109
  else if (Array.isArray(key) && componentType === vista_table_type_1.VISTA_TABLE_CELL_TYPE.MULTIPLE_TEXT_LINES) {
110
110
  if (expression) {
@@ -127,7 +127,7 @@ var VistaTableBodyV1 = function (_a) {
127
127
  computedValue = row.id;
128
128
  }
129
129
  var reff = (0, uuid_1.v4)();
130
- return (react_1.default.createElement(react_1.Fragment, { key: reff }, (_c = componentMap[componentType]) === null || _c === void 0 ? void 0 : _c.call(componentMap, computedValue, rowActions)));
130
+ return (react_1.default.createElement(react_1.Fragment, { key: reff }, (_h = componentMap[componentType]) === null || _h === void 0 ? void 0 : _h.call(componentMap, computedValue, rowActions)));
131
131
  })));
132
132
  }))));
133
133
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appcorp/app-corp-vista",
3
- "version": "0.2.98",
3
+ "version": "0.2.99",
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",