@abi-software/mapintegratedvuer 1.18.0 → 1.18.2
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/{ConnectivityGraph-Bs-lKYZR.js → ConnectivityGraph-CdOdGm7w.js} +2 -2
- package/dist/{ContentMixin-DdcqAvf4.js → ContentMixin-Ce5ybiWA.js} +63 -56
- package/dist/{Flatmap-7SmySiz0.js → Flatmap-Bche6143.js} +5 -5
- package/dist/{Iframe-BqotmM4i.js → Iframe-BP4siZ5B.js} +2 -2
- package/dist/{MultiFlatmap-x3GEBnUb.js → MultiFlatmap-YpZljER9.js} +3 -3
- package/dist/{Plot-B-1imQY1.js → Plot-Dd__Ycu1.js} +2 -2
- package/dist/{Scaffold-C6-zfB3X.js → Scaffold-CJVIeMpG.js} +4 -3
- package/dist/{Simulation-5zuCkV0O.js → Simulation-ePncD0sx.js} +2 -2
- package/dist/{index-Dop9gDcW.js → index-DOdcCNMv.js} +18558 -18352
- package/dist/mapintegratedvuer.js +1 -1
- package/dist/mapintegratedvuer.umd.cjs +188 -188
- package/dist/{style-Bqxs_o_d.js → style-B0cTFTJA.js} +1 -1
- package/dist/style.css +1 -1
- package/package.json +5 -5
- package/src/components/ContentBar.vue +15 -8
- package/src/components/SplitFlow.vue +8 -2
- package/src/components/viewers/Flatmap.vue +1 -1
- package/src/components/viewers/Scaffold.vue +1 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abi-software/mapintegratedvuer",
|
|
3
|
-
"version": "1.18.
|
|
3
|
+
"version": "1.18.2",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"serve": "vite --host --force",
|
|
@@ -52,11 +52,11 @@
|
|
|
52
52
|
"*.js"
|
|
53
53
|
],
|
|
54
54
|
"dependencies": {
|
|
55
|
-
"@abi-software/flatmapvuer": "1.13.
|
|
56
|
-
"@abi-software/map-side-bar": "2.14.
|
|
57
|
-
"@abi-software/map-utilities": "1.8.
|
|
55
|
+
"@abi-software/flatmapvuer": "1.13.4",
|
|
56
|
+
"@abi-software/map-side-bar": "2.14.5",
|
|
57
|
+
"@abi-software/map-utilities": "1.8.3",
|
|
58
58
|
"@abi-software/plotvuer": "1.0.7",
|
|
59
|
-
"@abi-software/scaffoldvuer": "1.15.
|
|
59
|
+
"@abi-software/scaffoldvuer": "1.15.6",
|
|
60
60
|
"@abi-software/simulationvuer": "3.0.16",
|
|
61
61
|
"@abi-software/sparc-annotation": "0.3.2",
|
|
62
62
|
"@abi-software/svg-sprite": "1.0.4",
|
|
@@ -58,11 +58,11 @@
|
|
|
58
58
|
</template>
|
|
59
59
|
<template #reference>
|
|
60
60
|
<div v-show="contextCardEntry">
|
|
61
|
-
<div v-show="contextCardVisible" class="
|
|
61
|
+
<div v-show="contextCardVisible" class="information" @click="contextCardVisible = false">
|
|
62
62
|
Hide information
|
|
63
63
|
<el-icon><el-icon-arrow-up /></el-icon>
|
|
64
64
|
</div>
|
|
65
|
-
<div v-show="!contextCardVisible" class="
|
|
65
|
+
<div v-show="!contextCardVisible" class="information" @click="contextCardVisible = true">
|
|
66
66
|
Show information
|
|
67
67
|
<el-icon><el-icon-arrow-down /></el-icon>
|
|
68
68
|
</div>
|
|
@@ -339,11 +339,13 @@ export default {
|
|
|
339
339
|
.shrink {
|
|
340
340
|
flex-shrink: 1;
|
|
341
341
|
min-width: 0;
|
|
342
|
-
overflow:hidden;
|
|
343
342
|
}
|
|
344
343
|
|
|
345
344
|
.information-group {
|
|
346
345
|
margin-left: auto;
|
|
346
|
+
margin-right: 12px;
|
|
347
|
+
height: 100%;
|
|
348
|
+
position: relative;
|
|
347
349
|
}
|
|
348
350
|
|
|
349
351
|
.toolbar-title {
|
|
@@ -354,14 +356,18 @@ export default {
|
|
|
354
356
|
font-weight: normal;
|
|
355
357
|
line-height: 20px;
|
|
356
358
|
margin-left: 1rem;
|
|
357
|
-
|
|
359
|
+
overflow: hidden;
|
|
360
|
+
text-overflow: ellipsis;
|
|
361
|
+
white-space: nowrap;
|
|
358
362
|
}
|
|
359
363
|
|
|
360
364
|
.select-box {
|
|
365
|
+
width: fit-content;
|
|
361
366
|
max-width: 200px;
|
|
367
|
+
min-width: 0;
|
|
362
368
|
z-index: 5;
|
|
363
369
|
flex-shrink: 1;
|
|
364
|
-
|
|
370
|
+
|
|
365
371
|
:deep(.el-select__wrapper) {
|
|
366
372
|
color: $app-primary-color;
|
|
367
373
|
height: 29px;
|
|
@@ -427,13 +433,13 @@ export default {
|
|
|
427
433
|
}
|
|
428
434
|
|
|
429
435
|
.source-chip {
|
|
430
|
-
padding: 4px;
|
|
436
|
+
padding: 4px!important;
|
|
431
437
|
margin-left: 2px;
|
|
432
438
|
margin-right:2px;
|
|
433
439
|
background-color: $app-primary-color;
|
|
434
440
|
border-color: $app-primary-color;
|
|
435
441
|
color: #fff;
|
|
436
|
-
font-size: 11px;
|
|
442
|
+
font-size: 11px !important;
|
|
437
443
|
&:hover {
|
|
438
444
|
color: #fff !important;
|
|
439
445
|
background-color: #ac76c5 !important;
|
|
@@ -454,7 +460,7 @@ export default {
|
|
|
454
460
|
flex-shrink: 0;
|
|
455
461
|
}
|
|
456
462
|
|
|
457
|
-
.
|
|
463
|
+
.information {
|
|
458
464
|
font-size: 12px;
|
|
459
465
|
margin-top: 0;
|
|
460
466
|
display: flex;
|
|
@@ -463,6 +469,7 @@ export default {
|
|
|
463
469
|
gap: 4px;
|
|
464
470
|
color: $app-primary-color;
|
|
465
471
|
cursor: pointer;
|
|
472
|
+
line-height: normal;
|
|
466
473
|
}
|
|
467
474
|
|
|
468
475
|
}
|
|
@@ -110,10 +110,15 @@ const getAllFacetLabels = (children) => {
|
|
|
110
110
|
return labels;
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
+
const getFacetsFromAction = (action) => {
|
|
114
|
+
const actionFacets = action.facets ? action.facets : action.labels ? action.labels : [];
|
|
115
|
+
return actionFacets;
|
|
116
|
+
}
|
|
113
117
|
|
|
114
118
|
const getAnatomyTermsForFilters = (action, availableNameCurieMapping) => {
|
|
115
119
|
const facets = [];
|
|
116
|
-
|
|
120
|
+
const actionFacets = getFacetsFromAction(action);
|
|
121
|
+
for (const facet of actionFacets) {
|
|
117
122
|
if (facet in availableNameCurieMapping) {
|
|
118
123
|
facets.push(availableNameCurieMapping[facet]);
|
|
119
124
|
} else {
|
|
@@ -327,7 +332,8 @@ export default {
|
|
|
327
332
|
};
|
|
328
333
|
const filters = [];
|
|
329
334
|
const facets = getAnatomyTermsForFilters(action, this.availableNameCurieMapping);
|
|
330
|
-
const
|
|
335
|
+
const actionFacets = getFacetsFromAction(action);
|
|
336
|
+
const facetString = actionFacets.join(', ');
|
|
331
337
|
facets.forEach(facet => filters.push({...sendAction, facet}));
|
|
332
338
|
this.$refs.sideBar.addFilter(filters);
|
|
333
339
|
// GA Tagging
|