@esfaenza/es-table 11.2.83-beta5 → 11.2.83-beta8

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.
@@ -4998,8 +4998,9 @@
4998
4998
  */
4999
4999
  EsTableComponent.prototype.dbClickEditOrSingleClickRowSelection = function ($event, rowItem, item, rowIndex) {
5000
5000
  var _this = this;
5001
+ var _a;
5001
5002
  // Tutti i click su una cella già in edit non devono effettuare la selezione della riga
5002
- if ((this.DynamicRowColumnsDefinition.length > 0 && rowItem.edits[item._hash]._editing) ||
5003
+ if ((this.DynamicRowColumnsDefinition.length > 0 && rowItem.edits && ((_a = rowItem.edits[item._hash]) === null || _a === void 0 ? void 0 : _a._editing)) ||
5003
5004
  rowItem._editing)
5004
5005
  return;
5005
5006
  // Se ho fatto click col control attaccato esco subito dato che deve solo permettere la navigazione dei link
@@ -5142,7 +5143,7 @@
5142
5143
  */
5143
5144
  EsTableComponent.prototype.finalizeUserEdit = function (rowItem, item, columnIndex) {
5144
5145
  rowItem._editing = false;
5145
- var old = rowItem.old_value;
5146
+ var old = this.DynamicRowColumnsDefinition.length > 0 ? rowItem.edits[item._hash].old_value : rowItem.old_value;
5146
5147
  var niu = item[rowItem.PropertyName];
5147
5148
  var olddate = this.dateExts.getDateConvertion(old);
5148
5149
  var niudate = this.dateExts.getDateConvertion(niu);
@@ -5159,8 +5160,9 @@
5159
5160
  return { id: "", description: "" };
5160
5161
  };
5161
5162
  EsTableComponent.prototype.mousedown = function (event, rowItem, item) {
5163
+ var _a;
5162
5164
  // Tutti i click su una cella già in edit non devono effettuare la selezione della riga
5163
- if ((this.DynamicRowColumnsDefinition.length > 0 && rowItem.edits[item._hash]._editing) ||
5165
+ if ((this.DynamicRowColumnsDefinition.length > 0 && rowItem.edits && ((_a = rowItem.edits[item._hash]) === null || _a === void 0 ? void 0 : _a._editing)) ||
5164
5166
  rowItem._editing)
5165
5167
  return;
5166
5168
  var id = event.currentTarget.id;