@abi-software/mapintegratedvuer 1.17.3-simulation.2 → 1.17.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/{ConnectivityGraph-9pXPgFJR.js → ConnectivityGraph-CNtSLKGZ.js} +19 -21
- package/dist/{ContentMixin-DIqgKIz6.js → ContentMixin-BImmmP1E.js} +521 -295
- package/dist/Flatmap-CakK_75H.js +202 -0
- package/dist/{Iframe-CCEA3d9c.js → Iframe-C7E9XJu7.js} +2 -2
- package/dist/{MultiFlatmap-Cuke1uNp.js → MultiFlatmap-DnDXuvTw.js} +3 -3
- package/dist/{Plot-B4oTBVAT.js → Plot-CxCj3uTj.js} +2 -2
- package/dist/Scaffold-D1NyLNzW.js +304 -0
- package/dist/Simulation-Br3Grrd6.js +28 -0
- package/dist/{index-_b4VBGHk.js → index-qyfmiqHe.js} +22862 -27602
- package/dist/mapintegratedvuer.js +1 -1
- package/dist/mapintegratedvuer.umd.cjs +232 -4291
- package/dist/style-DezYtA61.js +57 -0
- package/dist/style.css +1 -1
- package/package.json +5 -10
- package/src/App.vue +258 -285
- package/src/assets/styles.scss +1 -1
- package/src/components/ContextCard.vue +1 -0
- package/src/components/EventBus.js +3 -0
- package/src/components/MapContent.vue +4 -9
- package/src/components/SplitDialog.vue +6 -2
- package/src/components/SplitFlow.vue +445 -504
- package/src/components/scripts/utilities.js +1 -1
- package/src/components/viewers/ConnectivityGraph.vue +1 -9
- package/src/components/viewers/Flatmap.vue +83 -166
- package/src/components/viewers/Scaffold.vue +130 -78
- package/src/components/viewers/Simulation.vue +11 -118
- package/src/components.d.ts +0 -3
- package/src/main.js +3 -9
- package/src/mixins/ContentMixin.js +384 -496
- package/src/mixins/DynamicMarkerMixin.js +17 -50
- package/src/stores/connectivities.js +10 -1
- package/src/stores/entries.js +1 -1
- package/src/stores/settings.js +0 -4
- package/src/stores/splitFlow.js +352 -425
- package/dist/Flatmap-D7GVPV7o.js +0 -103422
- package/dist/Scaffold-Czz8X5kL.js +0 -310
- package/dist/Simulation-BKmz8zwm.js +0 -107
- package/dist/style-CM86xE3J.js +0 -119
- package/src/components/DummyRouteComponent.vue +0 -1
- package/src/components/EventBus.ts +0 -13
- package/src/components/FloatingWindow.vue +0 -142
- package/src/components/PlotComponent.vue +0 -56
- package/src/services/mapping.js +0 -69
- package/src/services/testData.js +0 -71
- package/src/stores/mapping.js +0 -29
- package/src/stores/simulationPlotStore.js +0 -124
- package/src/types/simulation.js +0 -18
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { _ as
|
|
2
|
-
import { C as y } from "./ContentMixin-
|
|
1
|
+
import { _ as c, B as h, E as m } from "./index-qyfmiqHe.js";
|
|
2
|
+
import { C as y } from "./ContentMixin-BImmmP1E.js";
|
|
3
3
|
import { resolveComponent as p, openBlock as d, createElementBlock as l, createVNode as v } from "vue";
|
|
4
4
|
const g = {
|
|
5
5
|
name: "ConnectivityGraph",
|
|
6
6
|
mixins: [y],
|
|
7
7
|
components: {
|
|
8
|
-
MapUtilitiesConnectivityGraph:
|
|
8
|
+
MapUtilitiesConnectivityGraph: h
|
|
9
9
|
},
|
|
10
10
|
computed: {
|
|
11
11
|
graphEntry() {
|
|
@@ -67,38 +67,36 @@ const g = {
|
|
|
67
67
|
},
|
|
68
68
|
methods: {
|
|
69
69
|
onTapNode: function(t) {
|
|
70
|
-
const i = t.map((
|
|
71
|
-
this.onConnectivityHovered(i)
|
|
72
|
-
featureIds: [this.entry.resource]
|
|
73
|
-
});
|
|
70
|
+
const i = t.map((a) => a.label).join(", ");
|
|
71
|
+
this.onConnectivityHovered(i);
|
|
74
72
|
},
|
|
75
73
|
onConnectivityHovered: function(t) {
|
|
76
74
|
const i = {
|
|
77
|
-
connectivityInfo: this.
|
|
75
|
+
connectivityInfo: this.entry.connectivityInfo,
|
|
78
76
|
label: t,
|
|
79
77
|
data: t ? this.getConnectivityDatasets(t) : []
|
|
80
78
|
};
|
|
81
|
-
|
|
79
|
+
m.emit("connectivity-hovered", i);
|
|
82
80
|
},
|
|
83
81
|
getConnectivityDatasets: function(t) {
|
|
84
|
-
var
|
|
85
|
-
const i = ((
|
|
86
|
-
let
|
|
87
|
-
return
|
|
82
|
+
var s;
|
|
83
|
+
const i = ((s = this.entry.graphPayload) == null ? void 0 : s.allWithDatasets) || [], a = t.split(",");
|
|
84
|
+
let o = [];
|
|
85
|
+
return a.forEach((n) => {
|
|
88
86
|
const e = i.find(
|
|
89
|
-
(
|
|
87
|
+
(r) => r.name.toLowerCase().trim() === n.toLowerCase().trim()
|
|
90
88
|
);
|
|
91
|
-
e &&
|
|
89
|
+
e && o.push({
|
|
92
90
|
id: e.id,
|
|
93
91
|
label: e.name
|
|
94
92
|
});
|
|
95
|
-
}),
|
|
93
|
+
}), o;
|
|
96
94
|
}
|
|
97
95
|
}
|
|
98
|
-
},
|
|
99
|
-
function
|
|
96
|
+
}, C = { class: "viewer-container" };
|
|
97
|
+
function u(t, i, a, o, s, n) {
|
|
100
98
|
const e = p("MapUtilitiesConnectivityGraph");
|
|
101
|
-
return d(), l("div",
|
|
99
|
+
return d(), l("div", C, [
|
|
102
100
|
v(e, {
|
|
103
101
|
entry: n.graphEntry,
|
|
104
102
|
mapServer: n.mapServer,
|
|
@@ -119,7 +117,7 @@ function C(t, i, s, a, o, n) {
|
|
|
119
117
|
}, null, 8, ["entry", "mapServer", "sckanVersion", "connectivityFromMap", "connectivityError", "origins", "components", "destinations", "originsWithDatasets", "componentsWithDatasets", "destinationsWithDatasets", "hasSingleConnectivityList", "originsCombinations", "componentsCombinations", "destinationsCombinations", "onTapNode"])
|
|
120
118
|
]);
|
|
121
119
|
}
|
|
122
|
-
const
|
|
120
|
+
const W = /* @__PURE__ */ c(g, [["render", u], ["__scopeId", "data-v-70988bee"]]);
|
|
123
121
|
export {
|
|
124
|
-
|
|
122
|
+
W as default
|
|
125
123
|
};
|