@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.
- package/doc/changelog.md +6 -0
- package/esm2020/src/app/core/form/entity/entity-editor.class.mjs +2 -2
- package/esm2020/src/app/core/install/install-upgrade-card.component.mjs +7 -4
- package/esm2020/src/environments/environment.mjs +6 -2
- package/fesm2015/sumaris-net.ngx-components.mjs +12 -5
- package/fesm2015/sumaris-net.ngx-components.mjs.map +1 -1
- package/fesm2020/sumaris-net.ngx-components.mjs +12 -5
- package/fesm2020/sumaris-net.ngx-components.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -11672,12 +11672,16 @@ const environment = Object.freeze({
|
|
|
11672
11672
|
},
|
|
11673
11673
|
{
|
|
11674
11674
|
host: 'sih.sfa.sc',
|
|
11675
|
-
port:
|
|
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
|
|
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
|
-
//
|
|
23464
|
-
if (this.platform.
|
|
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) {
|