@abi-software/mapintegratedvuer 1.20.1 → 1.21.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.
Files changed (42) 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-BS6t7w_i.js +50 -0
  5. package/dist/Flatmap-BejxA0uz.js +193 -0
  6. package/dist/Iframe-BWbhTjCR.js +18 -0
  7. package/dist/MultiFlatmap-nlmsH-Ib.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/src/mixins/DynamicMarkerMixin.js +3 -3
  29. package/vite.bundle-build.js +19 -4
  30. package/vite.config.js +16 -1
  31. package/babel.config.js +0 -0
  32. package/dist/ConnectivityGraph-C2SH21O2.js +0 -123
  33. package/dist/ContentMixin-DyNQa5V5.js +0 -1725
  34. package/dist/Flatmap-2O4GdIZV.js +0 -203
  35. package/dist/Iframe-ComVJ_Ev.js +0 -20
  36. package/dist/MultiFlatmap-oVdJqKEz.js +0 -317
  37. package/dist/Plot-CYyVTjHQ.js +0 -25
  38. package/dist/Scaffold-DXGZqxdu.js +0 -305
  39. package/dist/Simulation-DNOubbSn.js +0 -28
  40. package/dist/index-BkejiyeA.js +0 -79223
  41. package/dist/style-3VbUVJif.js +0 -57
  42. package/static.json +0 -7
@@ -1,123 +0,0 @@
1
- import { _ as c, N as h, E as m } from "./index-BkejiyeA.js";
2
- import { C as y } from "./ContentMixin-DyNQa5V5.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: h
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((a) => a.label).join(", ");
71
- this.onConnectivityHovered(i);
72
- },
73
- onConnectivityHovered: function(t) {
74
- const i = {
75
- connectivityInfo: this.entry.connectivityInfo,
76
- label: t,
77
- data: t ? this.getConnectivityDatasets(t) : []
78
- };
79
- m.emit("connectivity-hovered", i);
80
- },
81
- getConnectivityDatasets: function(t) {
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) => {
86
- const e = i.find(
87
- (r) => r.name.toLowerCase().trim() === n.toLowerCase().trim()
88
- );
89
- e && o.push({
90
- id: e.id,
91
- label: e.name
92
- });
93
- }), o;
94
- }
95
- }
96
- }, C = { class: "viewer-container" };
97
- function u(t, i, a, o, s, n) {
98
- const e = p("MapUtilitiesConnectivityGraph");
99
- return d(), l("div", C, [
100
- v(e, {
101
- entry: n.graphEntry,
102
- mapServer: n.mapServer,
103
- sckanVersion: n.sckanVersion,
104
- connectivityFromMap: n.connectivityFromMap,
105
- connectivityError: n.connectivityError,
106
- origins: n.origins,
107
- components: n.components,
108
- destinations: n.destinations,
109
- originsWithDatasets: n.originsWithDatasets,
110
- componentsWithDatasets: n.componentsWithDatasets,
111
- destinationsWithDatasets: n.destinationsWithDatasets,
112
- hasSingleConnectivityList: n.hasSingleConnectivityList,
113
- originsCombinations: n.originsCombinations,
114
- componentsCombinations: n.componentsCombinations,
115
- destinationsCombinations: n.destinationsCombinations,
116
- onTapNode: n.onTapNode
117
- }, null, 8, ["entry", "mapServer", "sckanVersion", "connectivityFromMap", "connectivityError", "origins", "components", "destinations", "originsWithDatasets", "componentsWithDatasets", "destinationsWithDatasets", "hasSingleConnectivityList", "originsCombinations", "componentsCombinations", "destinationsCombinations", "onTapNode"])
118
- ]);
119
- }
120
- const W = /* @__PURE__ */ c(g, [["render", u], ["__scopeId", "data-v-70988bee"]]);
121
- export {
122
- W as default
123
- };