@abi-software/mapintegratedvuer 1.16.3-simulation.1 → 1.17.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.
- package/dist/ConnectivityGraph-DbqPx-8k.js +125 -0
- package/dist/{ContentMixin-CN4E1Tcm.js → ContentMixin-R9Bw7Ou4.js} +545 -270
- package/dist/Flatmap-BYUfDJ9B.js +202 -0
- package/dist/{Iframe-NY9zAQZz.js → Iframe-2ofJ9NJW.js} +2 -2
- package/dist/{MultiFlatmap-C8gAg-MI.js → MultiFlatmap-CYxpB20e.js} +25 -18
- package/dist/{Plot-DH_Px9IB.js → Plot-DmQzP7lz.js} +2 -2
- package/dist/{Scaffold-C6XY3IQb.js → Scaffold-C8x1IHb9.js} +53 -79
- package/dist/Simulation-D9pblkqI.js +28 -0
- package/dist/{index-DaB85Tpy.js → index-raNlNgsS.js} +30069 -28444
- package/dist/mapintegratedvuer.js +1 -1
- package/dist/mapintegratedvuer.umd.cjs +238 -4270
- package/dist/{DynamicMarkerMixin-ToiTtIcj.js → style-QpNSY6to.js} +1 -1
- package/dist/style.css +1 -1
- package/package.json +6 -11
- package/src/App.vue +265 -283
- package/src/assets/styles.scss +1 -1
- package/src/components/ContentVuer.vue +5 -1
- package/src/components/ContextCard.vue +1 -0
- package/src/components/EventBus.js +3 -0
- package/src/components/MapContent.vue +9 -8
- package/src/components/SplitDialog.vue +5 -6
- package/src/components/SplitFlow.vue +491 -469
- package/src/components/scripts/utilities.js +16 -1
- package/src/components/viewers/ConnectivityGraph.vue +146 -0
- package/src/components/viewers/Flatmap.vue +84 -136
- package/src/components/viewers/MultiFlatmap.vue +9 -5
- package/src/components/viewers/Simulation.vue +15 -66
- package/src/components.d.ts +1 -3
- package/src/main.js +3 -9
- package/src/mixins/ContentMixin.js +391 -420
- package/src/stores/connectivities.js +6 -1
- package/src/stores/entries.js +1 -1
- package/src/stores/splitFlow.js +366 -427
- package/dist/Flatmap-D7eEw_Q5.js +0 -103398
- package/dist/Simulation-Bb3HbeD4.js +0 -72
- package/src/components/DummyRouteComponent.vue +0 -1
- package/src/components/EventBus.ts +0 -13
- package/src/components/FloatingWindow.vue +0 -125
- package/src/components/PlotComponent.vue +0 -56
- package/src/services/mapping.js +0 -69
- package/src/stores/mapping.js +0 -29
- package/src/stores/simulationPlotStore.js +0 -104
- package/src/types/simulation.js +0 -18
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
import { _ as h, B as m, E as r } from "./index-raNlNgsS.js";
|
|
2
|
+
import { C as y } from "./ContentMixin-R9Bw7Ou4.js";
|
|
3
|
+
import { resolveComponent as p, openBlock as d, createElementBlock as l, createVNode as v } from "vue";
|
|
4
|
+
const g = {
|
|
5
|
+
name: "ConnectivityGraph",
|
|
6
|
+
mixins: [y],
|
|
7
|
+
components: {
|
|
8
|
+
MapUtilitiesConnectivityGraph: m
|
|
9
|
+
},
|
|
10
|
+
computed: {
|
|
11
|
+
graphEntry() {
|
|
12
|
+
return this.entry.resource;
|
|
13
|
+
},
|
|
14
|
+
connectivityError() {
|
|
15
|
+
return {};
|
|
16
|
+
},
|
|
17
|
+
connectivityFromMap() {
|
|
18
|
+
var t;
|
|
19
|
+
return ((t = this.entry.graphPayload) == null ? void 0 : t.connectivityFromMap) || null;
|
|
20
|
+
},
|
|
21
|
+
origins() {
|
|
22
|
+
var t;
|
|
23
|
+
return ((t = this.entry.graphPayload) == null ? void 0 : t.origins) || [];
|
|
24
|
+
},
|
|
25
|
+
components() {
|
|
26
|
+
var t;
|
|
27
|
+
return ((t = this.entry.graphPayload) == null ? void 0 : t.components) || [];
|
|
28
|
+
},
|
|
29
|
+
destinations() {
|
|
30
|
+
var t;
|
|
31
|
+
return ((t = this.entry.graphPayload) == null ? void 0 : t.destinations) || [];
|
|
32
|
+
},
|
|
33
|
+
originsWithDatasets() {
|
|
34
|
+
var t;
|
|
35
|
+
return ((t = this.entry.graphPayload) == null ? void 0 : t.originsWithDatasets) || [];
|
|
36
|
+
},
|
|
37
|
+
componentsWithDatasets() {
|
|
38
|
+
var t;
|
|
39
|
+
return ((t = this.entry.graphPayload) == null ? void 0 : t.componentsWithDatasets) || [];
|
|
40
|
+
},
|
|
41
|
+
destinationsWithDatasets() {
|
|
42
|
+
var t;
|
|
43
|
+
return ((t = this.entry.graphPayload) == null ? void 0 : t.destinationsWithDatasets) || [];
|
|
44
|
+
},
|
|
45
|
+
hasSingleConnectivityList() {
|
|
46
|
+
var t;
|
|
47
|
+
return ((t = this.entry.graphPayload) == null ? void 0 : t.hasSingleConnectivityList) || !1;
|
|
48
|
+
},
|
|
49
|
+
originsCombinations() {
|
|
50
|
+
var t;
|
|
51
|
+
return ((t = this.entry.graphPayload) == null ? void 0 : t.originsCombinations) || [];
|
|
52
|
+
},
|
|
53
|
+
componentsCombinations() {
|
|
54
|
+
var t;
|
|
55
|
+
return ((t = this.entry.graphPayload) == null ? void 0 : t.componentsCombinations) || [];
|
|
56
|
+
},
|
|
57
|
+
destinationsCombinations() {
|
|
58
|
+
var t;
|
|
59
|
+
return ((t = this.entry.graphPayload) == null ? void 0 : t.destinationsCombinations) || [];
|
|
60
|
+
},
|
|
61
|
+
mapServer() {
|
|
62
|
+
return this.entry.mapServer || null;
|
|
63
|
+
},
|
|
64
|
+
sckanVersion() {
|
|
65
|
+
return this.entry.sckanVersion || null;
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
methods: {
|
|
69
|
+
onTapNode: function(t) {
|
|
70
|
+
const i = t.map((s) => s.label).join(", ");
|
|
71
|
+
this.onConnectivityHovered(i), i || r.emit("show-connectivity", {
|
|
72
|
+
featureIds: [this.entry.resource]
|
|
73
|
+
});
|
|
74
|
+
},
|
|
75
|
+
onConnectivityHovered: function(t) {
|
|
76
|
+
const i = {
|
|
77
|
+
connectivityInfo: this.graphEntry,
|
|
78
|
+
label: t,
|
|
79
|
+
data: t ? this.getConnectivityDatasets(t) : []
|
|
80
|
+
};
|
|
81
|
+
r.emit("connectivity-hovered", i);
|
|
82
|
+
},
|
|
83
|
+
getConnectivityDatasets: function(t) {
|
|
84
|
+
var o;
|
|
85
|
+
const i = ((o = this.entry.graphPayload) == null ? void 0 : o.allWithDatasets) || [], s = t.split(",");
|
|
86
|
+
let a = [];
|
|
87
|
+
return s.forEach((n) => {
|
|
88
|
+
const e = i.find(
|
|
89
|
+
(c) => c.name.toLowerCase().trim() === n.toLowerCase().trim()
|
|
90
|
+
);
|
|
91
|
+
e && a.push({
|
|
92
|
+
id: e.id,
|
|
93
|
+
label: e.name
|
|
94
|
+
});
|
|
95
|
+
}), a;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
}, u = { class: "viewer-container" };
|
|
99
|
+
function C(t, i, s, a, o, n) {
|
|
100
|
+
const e = p("MapUtilitiesConnectivityGraph");
|
|
101
|
+
return d(), l("div", u, [
|
|
102
|
+
v(e, {
|
|
103
|
+
entry: n.graphEntry,
|
|
104
|
+
mapServer: n.mapServer,
|
|
105
|
+
sckanVersion: n.sckanVersion,
|
|
106
|
+
connectivityFromMap: n.connectivityFromMap,
|
|
107
|
+
connectivityError: n.connectivityError,
|
|
108
|
+
origins: n.origins,
|
|
109
|
+
components: n.components,
|
|
110
|
+
destinations: n.destinations,
|
|
111
|
+
originsWithDatasets: n.originsWithDatasets,
|
|
112
|
+
componentsWithDatasets: n.componentsWithDatasets,
|
|
113
|
+
destinationsWithDatasets: n.destinationsWithDatasets,
|
|
114
|
+
hasSingleConnectivityList: n.hasSingleConnectivityList,
|
|
115
|
+
originsCombinations: n.originsCombinations,
|
|
116
|
+
componentsCombinations: n.componentsCombinations,
|
|
117
|
+
destinationsCombinations: n.destinationsCombinations,
|
|
118
|
+
onTapNode: n.onTapNode
|
|
119
|
+
}, null, 8, ["entry", "mapServer", "sckanVersion", "connectivityFromMap", "connectivityError", "origins", "components", "destinations", "originsWithDatasets", "componentsWithDatasets", "destinationsWithDatasets", "hasSingleConnectivityList", "originsCombinations", "componentsCombinations", "destinationsCombinations", "onTapNode"])
|
|
120
|
+
]);
|
|
121
|
+
}
|
|
122
|
+
const b = /* @__PURE__ */ h(g, [["render", C], ["__scopeId", "data-v-485c95c8"]]);
|
|
123
|
+
export {
|
|
124
|
+
b as default
|
|
125
|
+
};
|