@sumaris-net/ngx-components 2.4.87 → 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 +3 -0
- 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 +11 -4
- package/fesm2015/sumaris-net.ngx-components.mjs.map +1 -1
- package/fesm2020/sumaris-net.ngx-components.mjs +11 -4
- package/fesm2020/sumaris-net.ngx-components.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -11626,12 +11626,16 @@ const environment = Object.freeze({
|
|
|
11626
11626
|
},
|
|
11627
11627
|
{
|
|
11628
11628
|
host: 'sih.sfa.sc',
|
|
11629
|
-
port:
|
|
11629
|
+
port: 443
|
|
11630
11630
|
},
|
|
11631
11631
|
{
|
|
11632
11632
|
host: 'test.sumaris.net',
|
|
11633
11633
|
port: 443
|
|
11634
11634
|
},
|
|
11635
|
+
{
|
|
11636
|
+
host: 'open.sumaris.net',
|
|
11637
|
+
port: 443
|
|
11638
|
+
},
|
|
11635
11639
|
{
|
|
11636
11640
|
host: 'server.e-is.pro',
|
|
11637
11641
|
port: 443
|
|
@@ -23050,9 +23054,12 @@ class AppInstallUpgradeCard {
|
|
|
23050
23054
|
// Check for install links
|
|
23051
23055
|
this.installLinks = this.getCompatibleInstallLinks(links);
|
|
23052
23056
|
if (isNotEmptyArray(this.installLinks)) {
|
|
23053
|
-
console.info(`[install-upgrade-card] Find
|
|
23057
|
+
console.info(`[install-upgrade-card] Find installation links ${this.installLinks.map(l => l.url).join(',')}`);
|
|
23054
23058
|
await sleep(1000); // Add a delay, for animation
|
|
23055
23059
|
}
|
|
23060
|
+
else {
|
|
23061
|
+
console.info(`[install-upgrade-card] No installation or upgrade links to display.`);
|
|
23062
|
+
}
|
|
23056
23063
|
}
|
|
23057
23064
|
}
|
|
23058
23065
|
finally {
|
|
@@ -23061,8 +23068,8 @@ class AppInstallUpgradeCard {
|
|
|
23061
23068
|
}
|
|
23062
23069
|
}
|
|
23063
23070
|
getCompatibleInstallLinks(installLinks) {
|
|
23064
|
-
//
|
|
23065
|
-
if (this.platform.
|
|
23071
|
+
// Already an native App: not need to install
|
|
23072
|
+
if (this.platform.isApp())
|
|
23066
23073
|
return undefined;
|
|
23067
23074
|
// If mobile web: return all
|
|
23068
23075
|
if (this.platform.isMobileWeb()) {
|