@sumaris-net/ngx-components 2.4.86 → 2.4.88

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.
@@ -11672,12 +11672,16 @@ const environment = Object.freeze({
11672
11672
  },
11673
11673
  {
11674
11674
  host: 'sih.sfa.sc',
11675
- port: 80
11675
+ port: 443
11676
11676
  },
11677
11677
  {
11678
11678
  host: 'test.sumaris.net',
11679
11679
  port: 443
11680
11680
  },
11681
+ {
11682
+ host: 'open.sumaris.net',
11683
+ port: 443
11684
+ },
11681
11685
  {
11682
11686
  host: 'server.e-is.pro',
11683
11687
  port: 443
@@ -23448,9 +23452,12 @@ class AppInstallUpgradeCard {
23448
23452
  // Check for install links
23449
23453
  this.installLinks = this.getCompatibleInstallLinks(links);
23450
23454
  if (isNotEmptyArray(this.installLinks)) {
23451
- console.info(`[install-upgrade-card] Find install links ${this.installLinks.map(l => l.url).join(',')}`);
23455
+ console.info(`[install-upgrade-card] Find installation links ${this.installLinks.map(l => l.url).join(',')}`);
23452
23456
  yield sleep(1000); // Add a delay, for animation
23453
23457
  }
23458
+ else {
23459
+ console.info(`[install-upgrade-card] No installation or upgrade links to display.`);
23460
+ }
23454
23461
  }
23455
23462
  }
23456
23463
  finally {
@@ -23460,8 +23467,8 @@ class AppInstallUpgradeCard {
23460
23467
  });
23461
23468
  }
23462
23469
  getCompatibleInstallLinks(installLinks) {
23463
- // Cordova already running: not need to install
23464
- if (this.platform.isCapacitor())
23470
+ // Already an native App: not need to install
23471
+ if (this.platform.isApp())
23465
23472
  return undefined;
23466
23473
  // If mobile web: return all
23467
23474
  if (this.platform.isMobileWeb()) {
@@ -30051,7 +30058,7 @@ class AppEntityEditor extends AppTabEditor {
30051
30058
  var _a;
30052
30059
  return __awaiter(this, void 0, void 0, function* () {
30053
30060
  this.markAsLoading();
30054
- yield this.load((_a = this.data) === null || _a === void 0 ? void 0 : _a.id);
30061
+ yield this.load((_a = this.data) === null || _a === void 0 ? void 0 : _a.id, { fetchPolicy: "network-only" });
30055
30062
  });
30056
30063
  }
30057
30064
  unload(opts) {