@abi-software/flatmapvuer 1.13.1-demo.0 → 1.13.1-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 +2718 -2440
- package/dist/flatmapvuer.umd.cjs +11 -11
- package/dist/style.css +1 -1
- package/package.json +2 -2
- package/src/components/FlatmapVuer.vue +1131 -673
- package/src/components/MultiFlatmapVuer.vue +2 -14
- package/src/components/index.js +17 -3
- package/src/services/flatmapKnowledge.js +1 -0
- package/src/services/flatmapLoader.js +1 -1
|
@@ -93,7 +93,6 @@
|
|
|
93
93
|
:showLocalSettings="showLocalSettings"
|
|
94
94
|
:showOpenMapButton="showOpenMapButton"
|
|
95
95
|
:showPathwayFilter="showPathwayFilter"
|
|
96
|
-
@trackEvent="trackEvent"
|
|
97
96
|
:externalLegends="externalLegends"
|
|
98
97
|
/>
|
|
99
98
|
|
|
@@ -107,6 +106,7 @@
|
|
|
107
106
|
import { markRaw } from 'vue'
|
|
108
107
|
import EventBus from './EventBus'
|
|
109
108
|
import FlatmapVuer from './FlatmapVuer.vue'
|
|
109
|
+
import FlatmapError from './FlatmapError.vue'
|
|
110
110
|
import flatmap from '../services/flatmapLoader.js'
|
|
111
111
|
import {
|
|
112
112
|
ElCol as Col,
|
|
@@ -136,6 +136,7 @@ export default {
|
|
|
136
136
|
Select,
|
|
137
137
|
Popover,
|
|
138
138
|
FlatmapVuer,
|
|
139
|
+
FlatmapError,
|
|
139
140
|
},
|
|
140
141
|
created: function () {
|
|
141
142
|
this.loadMapManager();
|
|
@@ -644,19 +645,6 @@ export default {
|
|
|
644
645
|
let map = this.getCurrentFlatmap();
|
|
645
646
|
map.setConnectionType(type);
|
|
646
647
|
},
|
|
647
|
-
/**
|
|
648
|
-
* @public
|
|
649
|
-
* Function to track events.
|
|
650
|
-
* @arg {Object} `data`
|
|
651
|
-
*/
|
|
652
|
-
trackEvent: function (data) {
|
|
653
|
-
const taggingData = {
|
|
654
|
-
'event': 'interaction_event',
|
|
655
|
-
'location': 'flatmap',
|
|
656
|
-
...data,
|
|
657
|
-
};
|
|
658
|
-
this.$emit('trackEvent', taggingData);
|
|
659
|
-
},
|
|
660
648
|
},
|
|
661
649
|
props: {
|
|
662
650
|
/**
|
package/src/components/index.js
CHANGED
|
@@ -1,6 +1,20 @@
|
|
|
1
1
|
// The Vue build version to load with the `import` command
|
|
2
2
|
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
|
|
3
|
-
import FlatmapVuer from
|
|
4
|
-
import MultiFlatmapVuer from
|
|
3
|
+
import FlatmapVuer from './FlatmapVuer.vue'
|
|
4
|
+
import MultiFlatmapVuer from './MultiFlatmapVuer.vue'
|
|
5
|
+
import { FlatmapQueries } from '../services/flatmapQueries.js'
|
|
6
|
+
import {
|
|
7
|
+
getKnowledgeSource,
|
|
8
|
+
getKnowledgeSourceFromProvenance,
|
|
9
|
+
loadAndStoreKnowledge,
|
|
10
|
+
} from '../services/flatmapKnowledge.js'
|
|
5
11
|
|
|
6
|
-
export {
|
|
12
|
+
export {
|
|
13
|
+
FlatmapQueries,
|
|
14
|
+
FlatmapVuer,
|
|
15
|
+
getKnowledgeSource,
|
|
16
|
+
getKnowledgeSourceFromProvenance,
|
|
17
|
+
loadAndStoreKnowledge,
|
|
18
|
+
MultiFlatmapVuer,
|
|
19
|
+
}
|
|
20
|
+
// export { FlatmapVuer, MultiFlatmapVuer };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* a single source for the flatmap-viewer library import
|
|
3
3
|
*/
|
|
4
|
-
import * as flatmap from 'https://cdn.jsdelivr.net/npm/@abi-software/flatmap-viewer@4.
|
|
4
|
+
import * as flatmap from 'https://cdn.jsdelivr.net/npm/@abi-software/flatmap-viewer@4.5.3/+esm';
|
|
5
5
|
|
|
6
6
|
export default flatmap;
|