@abi-software/flatmapvuer 1.13.3 → 1.13.4-simulation.1
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/flatmapvuer.js +2769 -2414
- package/dist/flatmapvuer.umd.cjs +14 -14
- package/dist/style.css +1 -1
- package/package.json +2 -2
- package/src/App.vue +14 -0
- package/src/assets/styles.scss +12 -0
- package/src/components/FlatmapVuer.vue +1168 -646
- package/src/components/MultiFlatmapVuer.vue +2 -0
- package/src/components/index.js +17 -3
- package/src/services/apsTestData.js +40 -0
- package/src/services/flatmapKnowledge.js +1 -0
- package/src/services/flatmapLoader.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abi-software/flatmapvuer",
|
|
3
|
-
"version": "1.13.
|
|
3
|
+
"version": "1.13.4-simulation.1",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist/*",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"./src/*": "./src/*"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@abi-software/map-utilities": "1.8.
|
|
47
|
+
"@abi-software/map-utilities": "1.8.3",
|
|
48
48
|
"@abi-software/sparc-annotation": "0.3.2",
|
|
49
49
|
"@abi-software/svg-sprite": "1.0.3",
|
|
50
50
|
"@element-plus/icons-vue": "^2.3.1",
|
package/src/App.vue
CHANGED
|
@@ -80,6 +80,7 @@
|
|
|
80
80
|
:enableOpenMapUI="true"
|
|
81
81
|
:flatmapAPI="flatmapAPI"
|
|
82
82
|
:disableUI="disableUI"
|
|
83
|
+
:sparcAPI="sparcAPI"
|
|
83
84
|
@open-pubmed-url="onOpenPubmedUrl"
|
|
84
85
|
@pathway-selection-changed="onPathwaySelectionChanged"
|
|
85
86
|
@flatmapChanged="onFlatmapChanged"
|
|
@@ -231,6 +232,15 @@ export default {
|
|
|
231
232
|
}
|
|
232
233
|
},
|
|
233
234
|
},
|
|
235
|
+
computed : {
|
|
236
|
+
testDataLocation() {
|
|
237
|
+
return import.meta.env.VITE_TEST_DATA_LOCATION
|
|
238
|
+
|
|
239
|
+
},
|
|
240
|
+
sparcAPI() {
|
|
241
|
+
return import.meta.env.VITE_API_LOCATION
|
|
242
|
+
},
|
|
243
|
+
},
|
|
234
244
|
provide() {
|
|
235
245
|
return {
|
|
236
246
|
$annotator: this.annotator,
|
|
@@ -290,6 +300,10 @@ export default {
|
|
|
290
300
|
"taxo": "NCBITaxon:1",
|
|
291
301
|
"displayWarning": true
|
|
292
302
|
},
|
|
303
|
+
FC: {
|
|
304
|
+
taxo: 'FC',
|
|
305
|
+
uuid: "7720709d-683c-5def-a1e5-8d7c3b0784f7",
|
|
306
|
+
},
|
|
293
307
|
},
|
|
294
308
|
tooltipContent: undefined,
|
|
295
309
|
tStyle: {
|
package/src/assets/styles.scss
CHANGED
|
@@ -3,3 +3,15 @@
|
|
|
3
3
|
@import url('https://fonts.googleapis.com/css?family=Asap:400,400i,500,600,700&display=swap');
|
|
4
4
|
|
|
5
5
|
$--color-primary: $app-primary-color !default;
|
|
6
|
+
|
|
7
|
+
.flatmap-dropdown {
|
|
8
|
+
min-width: 160px !important;
|
|
9
|
+
.el-select-dropdown__item {
|
|
10
|
+
white-space: nowrap;
|
|
11
|
+
text-align: left;
|
|
12
|
+
&.is-selected {
|
|
13
|
+
color: $app-primary-color;
|
|
14
|
+
font-weight: normal;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|