@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.
- package/bundles/sumaris-net.ngx-components.umd.js +4 -1
- package/bundles/sumaris-net.ngx-components.umd.js.map +1 -1
- package/bundles/sumaris-net.ngx-components.umd.min.js +1 -1
- package/bundles/sumaris-net.ngx-components.umd.min.js.map +1 -1
- package/esm2015/src/app/core/table/table.class.js +5 -2
- package/fesm2015/sumaris-net.ngx-components.js +4 -1
- package/fesm2015/sumaris-net.ngx-components.js.map +1 -1
- package/package.json +1 -1
|
@@ -27953,10 +27953,13 @@
|
|
|
27953
27953
|
return (this.i18nColumnPrefix || '') + changeCaseToUnderscore(columnName).toUpperCase();
|
|
27954
27954
|
};
|
|
27955
27955
|
AppTable.prototype.generateTableId = function () {
|
|
27956
|
+
var _a;
|
|
27956
27957
|
var id = this.location.path(true)
|
|
27957
27958
|
.replace(/[?].*$/g, '')
|
|
27958
27959
|
.replace(/\/[\d]+/g, '_id')
|
|
27959
|
-
+ '_'
|
|
27960
|
+
+ '_'
|
|
27961
|
+
// Get a component unique name - See https://stackoverflow.com/questions/60114682/how-to-access-components-unique-encapsulation-id-in-angular-9
|
|
27962
|
+
+ (((_a = this.constructor['ɵcmp']) === null || _a === void 0 ? void 0 : _a.id) || this.constructor.name);
|
|
27960
27963
|
//if (this.debug) console.debug("[table] id = " + id);
|
|
27961
27964
|
return id;
|
|
27962
27965
|
};
|