blixify-ui-web 1.2.135 → 1.2.136

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.
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/data/dataTemplate/index.tsx"],"names":[],"mappings":"AAqCA,OAAO,KASN,MAAM,OAAO,CAAC;AA2Ff,OAAO,EACL,iBAAiB,EAKlB,MAAM,kBAAkB,CAAC;AAoG1B,eAAO,MAAM,YAAY,mFAy7avB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/data/dataTemplate/index.tsx"],"names":[],"mappings":"AAqCA,OAAO,KASN,MAAM,OAAO,CAAC;AA4Ff,OAAO,EACL,iBAAiB,EAKlB,MAAM,kBAAkB,CAAC;AAoG1B,eAAO,MAAM,YAAY,mFA07avB,CAAC"}
@@ -8243,7 +8243,7 @@ exports.DataTemplate = (0, react_1.forwardRef)(function (props, ref) {
8243
8243
  !eachModel.disabled;
8244
8244
  });
8245
8245
  spaceTableData.forEach(function (eachData, index) {
8246
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
8246
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
8247
8247
  var clonedEachData = JSON.parse(JSON.stringify(eachData));
8248
8248
  var allValues = Object.values(clonedEachData);
8249
8249
  var title = "";
@@ -8383,8 +8383,9 @@ exports.DataTemplate = (0, react_1.forwardRef)(function (props, ref) {
8383
8383
  data["ribbonText"] = ribbonText;
8384
8384
  var eachDataGridImage = "";
8385
8385
  var gridFallbackImg = (_j = (_h = props.bareSettings) === null || _h === void 0 ? void 0 : _h.bareListGridFallbackImg) === null || _j === void 0 ? void 0 : _j.call(_h, eachData, selectedTData);
8386
- if (clonedEachData[imageTag] && clonedEachData[imageTag] !== " - ") {
8387
- eachDataGridImage = (_l = (_k = clonedEachData[imageTag]) === null || _k === void 0 ? void 0 : _k.props) === null || _l === void 0 ? void 0 : _l.src;
8386
+ var cellImageSrc = (0, utils_1.handleGetRenderedImageSrc)(clonedEachData[imageTag]);
8387
+ if (cellImageSrc) {
8388
+ eachDataGridImage = cellImageSrc;
8388
8389
  }
8389
8390
  else if (gridFallbackImg) {
8390
8391
  if (typeof gridFallbackImg === "string") {
@@ -8398,9 +8399,7 @@ exports.DataTemplate = (0, react_1.forwardRef)(function (props, ref) {
8398
8399
  data["imageUrl"] = eachDataGridImage;
8399
8400
  }
8400
8401
  else {
8401
- data["img"] = clonedEachData[imageTag]
8402
- ? (_o = (_m = clonedEachData[imageTag]) === null || _m === void 0 ? void 0 : _m.props) === null || _o === void 0 ? void 0 : _o.src
8403
- : "";
8402
+ data["img"] = (0, utils_1.handleGetRenderedImageSrc)(clonedEachData[imageTag]);
8404
8403
  }
8405
8404
  gridData.push(data);
8406
8405
  });