@sumaris-net/ngx-components 1.23.22 → 1.23.23

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.
@@ -24132,10 +24132,13 @@ class AppTable {
24132
24132
  return (this.i18nColumnPrefix || '') + changeCaseToUnderscore(columnName).toUpperCase();
24133
24133
  }
24134
24134
  generateTableId() {
24135
+ var _a;
24135
24136
  const id = this.location.path(true)
24136
24137
  .replace(/[?].*$/g, '')
24137
24138
  .replace(/\/[\d]+/g, '_id')
24138
- + '_' + this.constructor.name;
24139
+ + '_'
24140
+ // Get a component unique name - See https://stackoverflow.com/questions/60114682/how-to-access-components-unique-encapsulation-id-in-angular-9
24141
+ + (((_a = this.constructor['ɵcmp']) === null || _a === void 0 ? void 0 : _a.id) || this.constructor.name);
24139
24142
  //if (this.debug) console.debug("[table] id = " + id);
24140
24143
  return id;
24141
24144
  }