@abi-software/mapintegratedvuer 1.17.3 → 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-CKIf0I87.js → ConnectivityGraph-CNtSLKGZ.js} +19 -21
- package/dist/{ContentMixin-NLNFG_hM.js → ContentMixin-BImmmP1E.js} +167 -198
- package/dist/{Flatmap-DHIsuG3u.js → Flatmap-CakK_75H.js} +3 -3
- package/dist/{Iframe-CGY2MkCp.js → Iframe-C7E9XJu7.js} +2 -2
- package/dist/{MultiFlatmap-DMu4KUod.js → MultiFlatmap-DnDXuvTw.js} +3 -3
- package/dist/{Plot-BAew77Nh.js → Plot-CxCj3uTj.js} +2 -2
- package/dist/Scaffold-D1NyLNzW.js +304 -0
- package/dist/{Simulation-BJx5DtiY.js → Simulation-Br3Grrd6.js} +2 -2
- package/dist/{index-CgeNF-PU.js → index-qyfmiqHe.js} +18648 -18794
- package/dist/mapintegratedvuer.js +1 -1
- package/dist/mapintegratedvuer.umd.cjs +177 -174
- package/dist/{style-CCOYYK7g.js → style-DezYtA61.js} +1 -1
- package/dist/style.css +1 -1
- package/package.json +3 -3
- package/src/components/SplitDialog.vue +0 -1
- package/src/components/SplitFlow.vue +1 -0
- package/src/components/viewers/ConnectivityGraph.vue +1 -9
- package/src/components/viewers/Scaffold.vue +130 -78
- package/src/mixins/ContentMixin.js +9 -60
- package/src/stores/connectivities.js +10 -1
- package/dist/Scaffold-CB4NmIv6.js +0 -284
|
@@ -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
|
};
|