@abi-software/map-side-bar 1.2.0-beta.3 → 1.2.0-beta.4
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.common.js +70 -56
- package/dist/map-side-bar.common.js.map +1 -1
- package/dist/map-side-bar.css +1 -1
- package/dist/map-side-bar.umd.js +70 -56
- package/dist/map-side-bar.umd.js.map +1 -1
- package/dist/map-side-bar.umd.min.js +1 -1
- package/dist/map-side-bar.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/src/components/DatasetCard.vue +5 -3
- package/src/components/ImageGallery.vue +14 -1
package/package.json
CHANGED
|
@@ -11,6 +11,8 @@
|
|
|
11
11
|
<image-gallery v-if="dataIsReady"
|
|
12
12
|
:datasetId="discoverId"
|
|
13
13
|
:datasetVersion="version"
|
|
14
|
+
:name="entry.name"
|
|
15
|
+
:description="entry.description"
|
|
14
16
|
:envVars="envVars"
|
|
15
17
|
:images="entry.images"
|
|
16
18
|
:scaffolds="entry.scaffolds"
|
|
@@ -44,11 +46,11 @@
|
|
|
44
46
|
<div>
|
|
45
47
|
<el-button v-if="entry.simulation" @click="openRepository" size="mini" class="button" icon="el-icon-view">View repository</el-button>
|
|
46
48
|
</div>
|
|
47
|
-
|
|
49
|
+
|
|
48
50
|
<div>
|
|
49
51
|
<el-button v-if="entry.simulation" @click="openSimulation" size="mini" class="button" icon="el-icon-view">View simulation</el-button>
|
|
50
52
|
</div>
|
|
51
|
-
|
|
53
|
+
|
|
52
54
|
<!--
|
|
53
55
|
<div>
|
|
54
56
|
<el-button v-if="entry.segmentation" @click="openSegmentation" size="mini" class="button" icon="el-icon-view">View segmentation</el-button>
|
|
@@ -242,7 +244,7 @@ export default {
|
|
|
242
244
|
let action = {
|
|
243
245
|
label: undefined,
|
|
244
246
|
resource: resource,
|
|
245
|
-
|
|
247
|
+
discoverId: this.dataLocation,
|
|
246
248
|
apiLocation: this.envVars.API_LOCATION,
|
|
247
249
|
version: this.version,
|
|
248
250
|
contextCardUrl: this.entry.contextualInformation ? this.getFileFromPath(this.discoverId, this.version,this.entry.contextualInformation) : undefined,
|
|
@@ -115,6 +115,14 @@ export default {
|
|
|
115
115
|
type: String,
|
|
116
116
|
default: "",
|
|
117
117
|
},
|
|
118
|
+
name: {
|
|
119
|
+
type: String,
|
|
120
|
+
default: "",
|
|
121
|
+
},
|
|
122
|
+
description: {
|
|
123
|
+
type: String,
|
|
124
|
+
default: "",
|
|
125
|
+
},
|
|
118
126
|
},
|
|
119
127
|
data() {
|
|
120
128
|
return {
|
|
@@ -306,13 +314,18 @@ export default {
|
|
|
306
314
|
apiLocation: this.envVars.API_LOCATION,
|
|
307
315
|
version: this.datasetVersion,
|
|
308
316
|
title: "View simulation",
|
|
309
|
-
type: "Simulation"
|
|
317
|
+
type: "Simulation",
|
|
318
|
+
name: this.name,
|
|
319
|
+
description: this.description,
|
|
320
|
+
discoverId: this.datasetId,
|
|
321
|
+
dataset: `${this.envVars.ROOT_URL}/datasets/${this.datasetId}?type=dataset`
|
|
310
322
|
};
|
|
311
323
|
this.scicrunchItems.push({
|
|
312
324
|
id: "simulation",
|
|
313
325
|
title: resource,
|
|
314
326
|
type: "Simulation",
|
|
315
327
|
userData: action,
|
|
328
|
+
|
|
316
329
|
});
|
|
317
330
|
}
|
|
318
331
|
}
|