@abi-software/map-side-bar 2.14.3-demo.0 → 2.14.4-demo.0
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/dist/map-side-bar.js +3057 -3052
- package/dist/map-side-bar.umd.cjs +26 -26
- package/dist/style.css +1 -1
- package/package.json +2 -2
- package/src/components/ConnectivityInfo.vue +3 -3
- package/src/components/DatasetCard.vue +4 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abi-software/map-side-bar",
|
|
3
|
-
"version": "2.14.
|
|
3
|
+
"version": "2.14.4-demo.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
46
|
"@abi-software/gallery": "1.3.0",
|
|
47
|
-
"@abi-software/map-utilities": "
|
|
47
|
+
"@abi-software/map-utilities": "1.8.2",
|
|
48
48
|
"@abi-software/svg-sprite": "^1.0.2",
|
|
49
49
|
"@element-plus/icons-vue": "^2.3.1",
|
|
50
50
|
"algoliasearch": "^4.10.5",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
size="small"
|
|
34
34
|
class="alert-chip"
|
|
35
35
|
@click="showAlertMessage"
|
|
36
|
-
v-if="entry.featuresAlert"
|
|
36
|
+
v-if="entry.featuresAlert?.length"
|
|
37
37
|
>
|
|
38
38
|
<el-icon class="alert"><el-icon-warn-triangle-filled /></el-icon>
|
|
39
39
|
Notes
|
|
@@ -291,7 +291,7 @@
|
|
|
291
291
|
<div
|
|
292
292
|
ref="alertElement"
|
|
293
293
|
class="content-container content-container-alert"
|
|
294
|
-
v-if="entry.featuresAlert"
|
|
294
|
+
v-if="entry.featuresAlert?.length"
|
|
295
295
|
>
|
|
296
296
|
<div class="block attribute-title-container">
|
|
297
297
|
<span class="attribute-title">Notes</span>
|
|
@@ -799,7 +799,7 @@ export default {
|
|
|
799
799
|
}
|
|
800
800
|
|
|
801
801
|
// Alert (Notes)
|
|
802
|
-
if (this.entry.featuresAlert) {
|
|
802
|
+
if (this.entry.featuresAlert?.length) {
|
|
803
803
|
const alertContent = this.entry.featuresAlert
|
|
804
804
|
.map((alert) => this.formatAlertText(alert))
|
|
805
805
|
.join('\n');
|
|
@@ -242,6 +242,7 @@ export default {
|
|
|
242
242
|
title: 'View Flatmap',
|
|
243
243
|
type: 'Flatmap',
|
|
244
244
|
discoverId: this.discoverId,
|
|
245
|
+
doi: this.entry.doi,
|
|
245
246
|
version: this.version,
|
|
246
247
|
}
|
|
247
248
|
this.items['Flatmaps'].push({
|
|
@@ -328,6 +329,7 @@ export default {
|
|
|
328
329
|
s3uri: this.entry.s3uri,
|
|
329
330
|
title: 'View plot',
|
|
330
331
|
type: 'Plot',
|
|
332
|
+
doi: this.entry.doi,
|
|
331
333
|
discoverId: this.discoverId,
|
|
332
334
|
version: this.version,
|
|
333
335
|
}
|
|
@@ -372,6 +374,7 @@ export default {
|
|
|
372
374
|
title: "View 3D scaffold",
|
|
373
375
|
type: "Scaffold",
|
|
374
376
|
discoverId: this.discoverId,
|
|
377
|
+
doi: this.entry.doi,
|
|
375
378
|
apiLocation: this.envVars.API_LOCATION,
|
|
376
379
|
version: this.version,
|
|
377
380
|
banner: this.thumbnail,
|
|
@@ -442,6 +445,7 @@ export default {
|
|
|
442
445
|
title: 'View simulation',
|
|
443
446
|
type: 'Simulation',
|
|
444
447
|
discoverId: this.discoverId,
|
|
448
|
+
doi: this.entry.doi,
|
|
445
449
|
version: this.version,
|
|
446
450
|
}
|
|
447
451
|
this.items['Simulations'].push({
|