@esfaenza/es-table 11.2.111 → 11.2.112
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/esfaenza-es-table.umd.js +4 -3
- package/bundles/esfaenza-es-table.umd.js.map +1 -1
- package/bundles/esfaenza-es-table.umd.min.js +1 -1
- package/bundles/esfaenza-es-table.umd.min.js.map +1 -1
- package/esm2015/lib/components/es-table/es_table.component.js +4 -3
- package/fesm2015/esfaenza-es-table.js +3 -2
- package/fesm2015/esfaenza-es-table.js.map +1 -1
- package/package.json +1 -1
|
@@ -4280,7 +4280,7 @@
|
|
|
4280
4280
|
if (throttle === void 0) { throttle = true; }
|
|
4281
4281
|
var _a, _b;
|
|
4282
4282
|
return __awaiter(this, void 0, void 0, function () {
|
|
4283
|
-
var firstItemGroupOrNoGrouping, prefs, cols, updatedPrefs, repository, source, i, thsCache, i, th, i, prefs, cols, updatedPrefs, repository, source, i;
|
|
4283
|
+
var firstItemGroupOrNoGrouping, prefs, cols, updatedPrefs, repository, source, i, arr, thsCache, i, th, i, prefs, cols, updatedPrefs, repository, source, i;
|
|
4284
4284
|
var _this = this;
|
|
4285
4285
|
return __generator(this, function (_t) {
|
|
4286
4286
|
switch (_t.label) {
|
|
@@ -4357,9 +4357,10 @@
|
|
|
4357
4357
|
// Se mi baso su direttive ma nelle preference è presente anche solo una colonna non presente nelle direttive
|
|
4358
4358
|
// vuol dire che l'es-table è cambiata quindi non imposto preference
|
|
4359
4359
|
if (((_b = this.EsThsDirective) === null || _b === void 0 ? void 0 : _b.length) > 0) {
|
|
4360
|
+
arr = this.EsThsDirective.toArray();
|
|
4360
4361
|
thsCache = {};
|
|
4361
|
-
for (i = 0; i <
|
|
4362
|
-
th =
|
|
4362
|
+
for (i = 0; i < arr.length; i++) {
|
|
4363
|
+
th = arr[i];
|
|
4363
4364
|
thsCache[th.th] = th;
|
|
4364
4365
|
}
|
|
4365
4366
|
for (i = 0; i < repository.length; i++) {
|