@churchillliving/se-ui-toolkit 6.53.416 → 6.53.417

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.
@@ -5931,11 +5931,16 @@
5931
5931
  GridComponent.prototype.onClickEvent = function (column, row) {
5932
5932
  var _a, _b, _c;
5933
5933
  if (column.type === exports.EGridColumnType.LINK && (column.editLink === false || column.editLink === undefined) && column.editable !== true && column.disabled !== true) {
5934
- var a = document.createElement('a');
5935
- a.href = (_a = row[column.field + '_obj']) === null || _a === void 0 ? void 0 : _a.hyperlink;
5936
- // a.target = "_blank";
5937
- a.target = column.target ? column.target : '_blank',
5938
- a.click();
5934
+ if (column && column.onClick && column.disabled !== true && ((_b = (_a = row[column.field]) === null || _a === void 0 ? void 0 : _a.action) === null || _b === void 0 ? void 0 : _b.disabled) !== true) {
5935
+ column.onClick(row);
5936
+ }
5937
+ else {
5938
+ var a = document.createElement('a');
5939
+ a.href = (_c = row[column.field + '_obj']) === null || _c === void 0 ? void 0 : _c.hyperlink;
5940
+ // a.target = "_blank";
5941
+ a.target = column.target ? column.target : '_blank',
5942
+ a.click();
5943
+ }
5939
5944
  }
5940
5945
  if (column.type === exports.EGridColumnType.DATE && row[column.field]) {
5941
5946
  this.calenderPreviousValue = row[column.field];
@@ -5946,9 +5951,9 @@
5946
5951
  column.minutesInterval) {
5947
5952
  this.defaultDate = new Date(setMinutesInterval(new Date()));
5948
5953
  }
5949
- if (column && column.onClick && column.disabled !== true && ((_c = (_b = row[column.field]) === null || _b === void 0 ? void 0 : _b.action) === null || _c === void 0 ? void 0 : _c.disabled) !== true) {
5950
- column.onClick(row);
5951
- }
5954
+ // if (column && column.onClick && column.disabled !== true && row[column.field]?.action?.disabled !== true) {
5955
+ // column.onClick(row);
5956
+ // }
5952
5957
  };
5953
5958
  // set the select value of multi-select
5954
5959
  GridComponent.prototype.showOption = function (column, row) {