@sumaris-net/ngx-components 1.12.8 → 1.12.9

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.
@@ -566,7 +566,7 @@
566
566
  var nextOffset = (opts && opts.offset || 0) + pageData.length;
567
567
  if (nextOffset < total) {
568
568
  result.fetchMore = function (_) { return __awaiter(_this, void 0, void 0, function () {
569
- return __generator(this, function (_a) {
569
+ return __generator(this, function (_b) {
570
570
  return [2 /*return*/, suggestFromArray(filteredItems, undefined /*OPTIMISATION: already applied*/, Object.assign(Object.assign({}, opts), { offset: nextOffset, skipSort: true, excludedIds: undefined // OPTIMISATION: already filtered
571
571
  }))];
572
572
  });
@@ -738,7 +738,8 @@
738
738
  }
739
739
  function splitByProperty(array, propertyName) {
740
740
  return (array || []).reduce(function (res, value) {
741
- var key = value === null || value === void 0 ? void 0 : value[propertyName];
741
+ var _a;
742
+ var key = (_a = value) === null || _a === void 0 ? void 0 : _a[propertyName];
742
743
  if (isNotNil(key)) {
743
744
  res[key] = value;
744
745
  }