@abi-software/mapintegratedvuer 1.20.1 → 1.21.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.
Files changed (41) hide show
  1. package/cypress.config.js +8 -7
  2. package/dist/ConnectivityGraph-CZMROk9r.js +121 -0
  3. package/dist/ContentMixin-Vn34n5t2.js +1672 -0
  4. package/dist/DynamicMarkerMixin-B087dVL_.js +50 -0
  5. package/dist/Flatmap-Bm7m_5m_.js +193 -0
  6. package/dist/Iframe-BWbhTjCR.js +18 -0
  7. package/dist/MultiFlatmap-JziqSEwL.js +303 -0
  8. package/dist/Plot-ChbPsDZX.js +28 -0
  9. package/dist/Scaffold-C6f7c7Ha.js +308 -0
  10. package/dist/Simulation-DcJScRYo.js +25 -0
  11. package/dist/connectivities-UXTqf7_0.js +35743 -0
  12. package/dist/mapintegratedvuer.js +43234 -3
  13. package/dist/mapintegratedvuer.umd.cjs +556 -297
  14. package/dist/style.css +2 -1
  15. package/eslint.config.js +33 -0
  16. package/package.json +61 -76
  17. package/src/assets/fonts.scss +2 -0
  18. package/src/assets/header-icon.scss +2 -1
  19. package/src/assets/styles.scss +2 -3
  20. package/src/components/CustomSplitter.vue +3 -3
  21. package/src/components/SearchControls.vue +1 -1
  22. package/src/components/index.js +1 -0
  23. package/src/components/scripts/simulation_data.js +461 -0
  24. package/src/components/viewers/Flatmap.vue +11 -7
  25. package/src/components/viewers/MultiFlatmap.vue +12 -8
  26. package/src/components.d.ts +6 -2
  27. package/src/main.js +2 -1
  28. package/vite.bundle-build.js +19 -4
  29. package/vite.config.js +16 -1
  30. package/babel.config.js +0 -0
  31. package/dist/ConnectivityGraph-C2SH21O2.js +0 -123
  32. package/dist/ContentMixin-DyNQa5V5.js +0 -1725
  33. package/dist/Flatmap-2O4GdIZV.js +0 -203
  34. package/dist/Iframe-ComVJ_Ev.js +0 -20
  35. package/dist/MultiFlatmap-oVdJqKEz.js +0 -317
  36. package/dist/Plot-CYyVTjHQ.js +0 -25
  37. package/dist/Scaffold-DXGZqxdu.js +0 -305
  38. package/dist/Simulation-DNOubbSn.js +0 -28
  39. package/dist/index-BkejiyeA.js +0 -79223
  40. package/dist/style-3VbUVJif.js +0 -57
  41. package/static.json +0 -7
@@ -1,57 +0,0 @@
1
- import { mapStores as o } from "pinia";
2
- import { u as p } from "./index-BkejiyeA.js";
3
- const l = function(t) {
4
- return t ? [...new Set(t.map((e) => JSON.stringify(e)))].map(
5
- (e) => JSON.parse(e)
6
- ) : [];
7
- }, u = {
8
- computed: {
9
- ...o(p)
10
- },
11
- methods: {
12
- flatmapPanZoomCallback: function(t) {
13
- if (this.mouseHovered) {
14
- const e = {
15
- paneIndex: this.entry.id,
16
- eventType: "panZoom",
17
- payload: t,
18
- type: this.entry.type
19
- };
20
- this.$emit("resource-selected", e);
21
- }
22
- },
23
- /**
24
- * Function used for updating the flatmap markers.
25
- * We set the markers based on what was searched and the flatmap clusters them.
26
- */
27
- flatmapMarkerUpdate(t) {
28
- if (!this.flatmapReady) return;
29
- let e = t;
30
- if (e || (e = this.getFlatmapImp()), e) {
31
- let a = this.settingsStore.globalSettings.displayMarkers ? this.settingsStore.markers : [];
32
- a = l(a), e.clearMarkers(), e.clearDatasetMarkers(), e.addDatasetMarkers(a), this.entry.type === "MultiFlatmap" && this.restoreFeaturedMarkers(e);
33
- }
34
- },
35
- // removeMarkersNotOnFlatmap: rewrites the dataset marker list to only include markers that are on the flatmap
36
- removeMarkersNotOnFlatmap(t, e) {
37
- let a = t.anatomicalIdentifiers, m = [];
38
- for (let i = 0; i < e.length; i++) {
39
- let r = e[i], n = { id: r.id, terms: [] };
40
- for (let s = 0; s < r.terms.length; s++)
41
- a.includes(r.terms[s]) && n.terms.push(r.terms[s]);
42
- m.push(n);
43
- }
44
- return m;
45
- },
46
- flatmapReadyForMarkerUpdates: function(t) {
47
- if (t) {
48
- t.enablePanZoomEvents(!0), this.flatmapReady = !0;
49
- const e = t.mapImp;
50
- this.flatmapMarkerUpdate(e);
51
- }
52
- }
53
- }
54
- };
55
- export {
56
- u as D
57
- };
package/static.json DELETED
@@ -1,7 +0,0 @@
1
- {
2
- "root": "dist",
3
- "clean_urls": true,
4
- "routes": {
5
- "/**": "index.html"
6
- }
7
- }