@abi-software/mapintegratedvuer 1.22.0 → 1.23.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-BBZ3Dgat.js → ConnectivityGraph-Cao0C1-G.js} +2 -2
- package/dist/{ContentMixin-B-O_IwPg.js → ContentMixin-4t04VWoF.js} +61 -60
- package/dist/{DynamicMarkerMixin-B9iqtP_f.js → DynamicMarkerMixin-tATj70ym.js} +1 -1
- package/dist/{Flatmap-BoEFI50b.js → Flatmap-DF4FAwLY.js} +3 -3
- package/dist/{Iframe-Slj-LQTF.js → Iframe-DbQ22y53.js} +2 -2
- package/dist/{MultiFlatmap-l6aBn6x3.js → MultiFlatmap-Dwy9gbWC.js} +3 -3
- package/dist/{Plot-CIhEip5b.js → Plot-COXE_H78.js} +2 -2
- package/dist/{Scaffold-D5ZGCDvt.js → Scaffold-9ubjNzcD.js} +2 -2
- package/dist/Simulation-CR-yKjxu.js +32 -0
- package/dist/{connectivities-Br3MpoAv.js → connectivities-DhBMlBSj.js} +1 -1
- package/dist/mapintegratedvuer.js +387 -332
- package/dist/mapintegratedvuer.umd.cjs +90 -90
- package/dist/style.css +1 -1
- package/package.json +6 -6
- package/src/components/ContextCard.vue +15 -3
- package/src/components/DatasetHeader.vue +4 -1
- package/src/components/MapContent.vue +8 -0
- package/src/components/viewers/Simulation.vue +23 -1
- package/vite.config.js +27 -4
- package/dist/Simulation-C5o5DXRb.js +0 -25
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as r } from "./ContentMixin-
|
|
1
|
+
import { C as e, _ as t, b as n } from "./connectivities-DhBMlBSj.js";
|
|
2
|
+
import { t as r } from "./ContentMixin-4t04VWoF.js";
|
|
3
3
|
import { createElementBlock as i, createVNode as a, openBlock as o, resolveComponent as s } from "vue";
|
|
4
4
|
//#region src/components/viewers/ConnectivityGraph.vue
|
|
5
5
|
var c = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { N as e, O as t, b as n, i as r, n as i, r as a, s as o, t as s, u as c, v as l, y as u } from "./connectivities-DhBMlBSj.js";
|
|
2
2
|
import { markRaw as d } from "vue";
|
|
3
3
|
import { mapStores as f } from "pinia";
|
|
4
4
|
//#region node_modules/@abi-software/flatmapvuer/src/services/flatmapQueries.js
|
|
@@ -34,7 +34,7 @@ var p = function(e) {
|
|
|
34
34
|
return i < a ? -1 : +(i > a);
|
|
35
35
|
}, y = function() {
|
|
36
36
|
this.initialise = function(e) {
|
|
37
|
-
this.flatmapAPI = e, this.destinations = [], this.origins = [], this.components = [], this.destinationsWithDatasets = [], this.originsWithDatasets = [], this.componentsWithDatasets = [], this.destinationsCombinations = [], this.originsCombinations = [], this.componentsCombinations = [], this.singleConnectivityList = [], this.hasSingleConnectivityList = !1, this.rawURLs = [], this.controller = void 0, this.uberons = [], this.lookUp = [], this.connectivitySource = "map", this.noMapConnectivity = !1;
|
|
37
|
+
this.flatmapAPI = e, this.destinations = [], this.origins = [], this.components = [], this.destinationsWithDatasets = [], this.originsWithDatasets = [], this.componentsWithDatasets = [], this.destinationsCombinations = [], this.originsCombinations = [], this.componentsCombinations = [], this.singleConnectivityList = [], this.hasSingleConnectivityList = !1, this.rawURLs = [], this.expertConsultants = [], this.controller = void 0, this.uberons = [], this.lookUp = [], this.connectivitySource = "map", this.noMapConnectivity = !1;
|
|
38
38
|
}, this.createTooltipData = async function(e, t) {
|
|
39
39
|
let n;
|
|
40
40
|
n = t.feature.hyperlinks && t.feature.hyperlinks.length > 0 ? t.feature.hyperlinks : this.rawURLs;
|
|
@@ -65,6 +65,7 @@ var p = function(e) {
|
|
|
65
65
|
title: t.label,
|
|
66
66
|
featureId: t.resource,
|
|
67
67
|
hyperlinks: n,
|
|
68
|
+
"expert-consultants": this.expertConsultants,
|
|
68
69
|
provenanceTaxonomy: t.provenanceTaxonomy,
|
|
69
70
|
provenanceTaxonomyLabel: r,
|
|
70
71
|
connectivitySource: this.connectivitySource,
|
|
@@ -129,29 +130,29 @@ var p = function(e) {
|
|
|
129
130
|
}, this.retrieveFlatmapKnowledgeForEvent = async function(e, t) {
|
|
130
131
|
this.controller && this.controller.abort(), this.controller = new AbortController();
|
|
131
132
|
let n = t.resource;
|
|
132
|
-
if (this.destinations = [], this.origins = [], this.components = [], this.destinationsWithDatasets = [], this.originsWithDatasets = [], this.componentsWithDatasets = [], this.destinationsCombinations = [], this.originsCombinations = [], this.componentsCombinations = [], this.singleConnectivityList = [], this.rawURLs = [], !n || n.length === 0 || !n[0]) return;
|
|
133
|
+
if (this.destinations = [], this.origins = [], this.components = [], this.destinationsWithDatasets = [], this.originsWithDatasets = [], this.componentsWithDatasets = [], this.destinationsCombinations = [], this.originsCombinations = [], this.componentsCombinations = [], this.singleConnectivityList = [], this.rawURLs = [], this.expertConsultants = [], !n || n.length === 0 || !n[0]) return;
|
|
133
134
|
let r = await this.queryForConnectivityNew(e, n[0]);
|
|
134
135
|
return await Promise.all([r]);
|
|
135
|
-
}, this.queryForConnectivityNew = async function(e,
|
|
136
|
-
let
|
|
137
|
-
return this.connectivitySource =
|
|
138
|
-
(this.connectivitySource === "map" ? this.queryMapConnectivity(e.mapMetadata.uuid,
|
|
139
|
-
if (this.checkConnectivityExists(
|
|
136
|
+
}, this.queryForConnectivityNew = async function(e, n, r = "map", i = !0) {
|
|
137
|
+
let a = /^sckan-(\d{4})/.exec(e.knowledgeSource || ""), o = (a ? Number(a[1]) : 0) >= 2026, s = e.mapMetadata.uuid, c = this.flatmapAPI;
|
|
138
|
+
return this.connectivitySource = o ? "sckan" : r, o && (this.singleConnectivityList = await t(c, s, n)), new Promise((t) => {
|
|
139
|
+
(this.connectivitySource === "map" ? this.queryMapConnectivity(e.mapMetadata.uuid, n) : e.queryKnowledge(n)).then((r) => {
|
|
140
|
+
if (this.checkConnectivityExists(r)) {
|
|
140
141
|
this.connectivitySource === "map" && (this.noMapConnectivity = !1);
|
|
141
|
-
let
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
}) : n
|
|
145
|
-
} else this.connectivitySource === "map" ? (this.connectivitySource = "sckan", this.noMapConnectivity = !0, e.queryKnowledge(
|
|
146
|
-
if (this.checkConnectivityExists(
|
|
147
|
-
let
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
}) :
|
|
151
|
-
} else
|
|
152
|
-
}).catch(() =>
|
|
142
|
+
let n = r;
|
|
143
|
+
i ? this.processConnectivity(e, n).then((e) => {
|
|
144
|
+
r.references && (this.rawURLs = [...r.references]), r["expert-consultants"] && (this.expertConsultants = [...r["expert-consultants"]]), t(e);
|
|
145
|
+
}) : t(n);
|
|
146
|
+
} else this.connectivitySource === "map" ? (this.connectivitySource = "sckan", this.noMapConnectivity = !0, e.queryKnowledge(n).then((n) => {
|
|
147
|
+
if (this.checkConnectivityExists(n)) {
|
|
148
|
+
let r = n;
|
|
149
|
+
i ? this.processConnectivity(e, r).then((e) => {
|
|
150
|
+
n.references && (this.rawURLs = [...n.references]), n["expert-consultants"] && (this.expertConsultants = [...n["expert-consultants"]]), t(e);
|
|
151
|
+
}) : t(r);
|
|
152
|
+
} else t(!1);
|
|
153
|
+
}).catch(() => t(!1))) : t(!1);
|
|
153
154
|
}).catch((e) => {
|
|
154
|
-
e.name === "AbortError" || console.warn(`Unable to get the knowledge for the entity ${
|
|
155
|
+
e.name === "AbortError" || console.warn(`Unable to get the knowledge for the entity ${n}.`), t(!1);
|
|
155
156
|
});
|
|
156
157
|
});
|
|
157
158
|
}, this.queryMapConnectivity = async function(e, t) {
|
|
@@ -1229,7 +1230,7 @@ var w = {
|
|
|
1229
1230
|
showIdInTooltip: { default: !0 }
|
|
1230
1231
|
},
|
|
1231
1232
|
computed: {
|
|
1232
|
-
...f(
|
|
1233
|
+
...f(a, l, i, s),
|
|
1233
1234
|
idNamePair() {
|
|
1234
1235
|
return this.splitFlowStore.idNamePair;
|
|
1235
1236
|
},
|
|
@@ -1277,7 +1278,7 @@ var w = {
|
|
|
1277
1278
|
},
|
|
1278
1279
|
getState: function() {},
|
|
1279
1280
|
openMap: function(e) {
|
|
1280
|
-
|
|
1281
|
+
n.emit("OpenNewMap", e), this.trackOpenMap(`open_new_${e}_map`);
|
|
1281
1282
|
},
|
|
1282
1283
|
onMapmanagerLoaded: function(e) {
|
|
1283
1284
|
this.settingsStore.updateMapManager(e);
|
|
@@ -1301,16 +1302,16 @@ var w = {
|
|
|
1301
1302
|
return !1;
|
|
1302
1303
|
},
|
|
1303
1304
|
searchSuggestions: function() {},
|
|
1304
|
-
resourceSelected: function(e,
|
|
1305
|
-
let r =
|
|
1305
|
+
resourceSelected: function(e, t) {
|
|
1306
|
+
let r = t[0];
|
|
1306
1307
|
if (this.resourceHasAction(r)) {
|
|
1307
|
-
|
|
1308
|
+
n.emit("PopoverActionClick", r);
|
|
1308
1309
|
return;
|
|
1309
1310
|
}
|
|
1310
1311
|
let i, a = !1, o = {
|
|
1311
1312
|
paneIndex: this.entry.id,
|
|
1312
1313
|
type: e,
|
|
1313
|
-
resource:
|
|
1314
|
+
resource: t,
|
|
1314
1315
|
internalName: void 0,
|
|
1315
1316
|
eventType: void 0
|
|
1316
1317
|
};
|
|
@@ -1346,7 +1347,7 @@ var w = {
|
|
|
1346
1347
|
type: "Facet",
|
|
1347
1348
|
facets: [C(r.data.id)]
|
|
1348
1349
|
})), o.eventType = "selected", a = !0);
|
|
1349
|
-
i &&
|
|
1350
|
+
i && n.emit("PopoverActionClick", i), a && this.$emit("resource-selected", o);
|
|
1350
1351
|
},
|
|
1351
1352
|
resourceHasAction: function(e) {
|
|
1352
1353
|
return e && (e.type === "URL" || e.type === "Search" || e.type === "Neuron Search" || e.type == "Facet" || e.type == "Facets");
|
|
@@ -1480,26 +1481,26 @@ var w = {
|
|
|
1480
1481
|
}
|
|
1481
1482
|
},
|
|
1482
1483
|
onAnnotationOpen: function(e) {
|
|
1483
|
-
|
|
1484
|
+
n.emit("annotation-open", e);
|
|
1484
1485
|
},
|
|
1485
1486
|
onAnnotationClose: function() {
|
|
1486
|
-
|
|
1487
|
+
n.emit("sidebar-annotation-close");
|
|
1487
1488
|
},
|
|
1488
1489
|
updateOfflineAnnotationEnabled: function(e) {
|
|
1489
|
-
|
|
1490
|
+
n.emit("update-offline-annotation-enabled", e);
|
|
1490
1491
|
},
|
|
1491
1492
|
onConnectivityInfoOpen: function(e) {
|
|
1492
|
-
|
|
1493
|
+
n.emit("connectivity-info-open", e);
|
|
1493
1494
|
},
|
|
1494
1495
|
onConnectivityError: function(e) {
|
|
1495
|
-
|
|
1496
|
+
n.emit("connectivity-error", e);
|
|
1496
1497
|
},
|
|
1497
1498
|
onConnectivityInfoClose: function() {
|
|
1498
|
-
|
|
1499
|
+
n.emit("connectivity-info-close");
|
|
1499
1500
|
},
|
|
1500
1501
|
onSidebarAnnotationClose: function() {},
|
|
1501
1502
|
onNeuronConnectionFeatureClick: function(e) {
|
|
1502
|
-
|
|
1503
|
+
n.emit("neuron-connection-feature-click", e);
|
|
1503
1504
|
},
|
|
1504
1505
|
showConnectivity: function() {},
|
|
1505
1506
|
showConnectivityTooltips: function() {},
|
|
@@ -1545,28 +1546,28 @@ var w = {
|
|
|
1545
1546
|
};
|
|
1546
1547
|
},
|
|
1547
1548
|
loadConnectivityExplorerConfig: async function(e) {
|
|
1548
|
-
let
|
|
1549
|
+
let t = e.mapImp, i = r(t), a = e.mockup ? t.resource : t.uuid, s = [];
|
|
1549
1550
|
if (!this.connectivityKnowledge[i]) {
|
|
1550
1551
|
this.flatmapQueries = d(new y()), this.flatmapQueries.initialise(this.flatmapAPI);
|
|
1551
|
-
let e = await
|
|
1552
|
+
let e = await o(t, this.flatmapQueries);
|
|
1552
1553
|
this.connectivityKnowledge[i] = e.filter((e) => e.connectivity?.length).sort((e, t) => e.label.localeCompare(t.label));
|
|
1553
1554
|
}
|
|
1554
|
-
if (!this.connectivityKnowledge[
|
|
1555
|
-
let e =
|
|
1556
|
-
this.connectivityKnowledge[
|
|
1555
|
+
if (!this.connectivityKnowledge[a]) {
|
|
1556
|
+
let e = t.pathways?.paths || {};
|
|
1557
|
+
this.connectivityKnowledge[a] = this.connectivityKnowledge[i].filter((t) => t.id in e);
|
|
1557
1558
|
}
|
|
1558
|
-
if (!this.connectivityFilterOptions[
|
|
1559
|
-
let
|
|
1560
|
-
this.connectivityKnowledge[
|
|
1561
|
-
let
|
|
1559
|
+
if (!this.connectivityFilterOptions[a] && !e.mockup && (this.connectivityFilterOptions[a] = await e.getFilterOptions(t, this.connectivityKnowledge[a])), e.mockup) {
|
|
1560
|
+
let n = e.getTermNerveMaps() || {}, r = JSON.parse(JSON.stringify(this.connectivityKnowledge[a]));
|
|
1561
|
+
this.connectivityKnowledge[a] = r.map((e) => {
|
|
1562
|
+
let t = e;
|
|
1562
1563
|
if (e.nerves?.length) {
|
|
1563
|
-
let r = e.nerves.flat(Infinity).reduce((e,
|
|
1564
|
-
r?.length && (s.push(...r),
|
|
1564
|
+
let r = e.nerves.flat(Infinity).reduce((e, t) => (t in n && e.push(n[t]), e), []);
|
|
1565
|
+
r?.length && (s.push(...r), t["nerve-label"] = r.sort((e, t) => e.nerve.localeCompare(t.nerve)));
|
|
1565
1566
|
}
|
|
1566
|
-
return
|
|
1567
|
-
}).filter((e) => e["nerve-label"]), this.connectivityFilterOptions[
|
|
1568
|
-
let i = JSON.parse(JSON.stringify(this.connectivityFilterOptions[
|
|
1569
|
-
this.connectivityFilterOptions[
|
|
1567
|
+
return t;
|
|
1568
|
+
}).filter((e) => e["nerve-label"]), this.connectivityFilterOptions[a] || (this.connectivityFilterOptions[a] = await e.getFilterOptions(t, this.connectivityKnowledge[a])), s = s.map((e) => e.nerve.toLowerCase());
|
|
1569
|
+
let i = JSON.parse(JSON.stringify(this.connectivityFilterOptions[a]));
|
|
1570
|
+
this.connectivityFilterOptions[a] = i.map((e) => {
|
|
1570
1571
|
if (e.key === "scaffold.connectivity.nerve") {
|
|
1571
1572
|
let t = e.children.filter((e) => s.includes(e.label.toLowerCase()));
|
|
1572
1573
|
return {
|
|
@@ -1576,8 +1577,8 @@ var w = {
|
|
|
1576
1577
|
}
|
|
1577
1578
|
return e;
|
|
1578
1579
|
});
|
|
1579
|
-
} else this.connectivityFilterSources[
|
|
1580
|
-
this.connectivitiesStore.updateFilterOptions(this.connectivityFilterOptions), this.connectivitiesStore.updateGlobalConnectivities(this.connectivityKnowledge),
|
|
1580
|
+
} else this.connectivityFilterSources[a] || (this.connectivityFilterSources[a] = e.getFilterSources()), this.connectivitiesStore.updateFilterSources(this.connectivityFilterSources);
|
|
1581
|
+
this.connectivitiesStore.updateFilterOptions(this.connectivityFilterOptions), this.connectivitiesStore.updateGlobalConnectivities(this.connectivityKnowledge), n.emit("species-layout-connectivity-update");
|
|
1581
1582
|
},
|
|
1582
1583
|
knowledgeTooltipQuery: async function(e) {
|
|
1583
1584
|
await this.flatmapQueries.retrieveFlatmapKnowledgeForEvent(this.flatmapService.mapImp, { resource: [e.id] });
|
|
@@ -1587,21 +1588,21 @@ var w = {
|
|
|
1587
1588
|
provenanceTaxonomy: e.taxons,
|
|
1588
1589
|
feature: []
|
|
1589
1590
|
});
|
|
1590
|
-
return t.knowledgeSource =
|
|
1591
|
+
return t.knowledgeSource = r(this.flatmapService.mapImp), t.mapId = this.flatmapService.mapImp.mapMetadata.id, t.mapuuid = this.flatmapService.mapImp.mapMetadata.uuid, t["nerve-label"] = e["nerve-label"], t.ready = !0, t;
|
|
1591
1592
|
},
|
|
1592
1593
|
getKnowledgeTooltip: async function(e) {
|
|
1593
1594
|
this.tooltipEntry = [], e.data.forEach((e) => this.tooltipEntry.push({
|
|
1594
1595
|
title: e.label,
|
|
1595
1596
|
featureId: [e.id],
|
|
1596
1597
|
ready: !1
|
|
1597
|
-
})),
|
|
1598
|
-
let
|
|
1599
|
-
for (let
|
|
1600
|
-
this.tooltipEntry = await Promise.all(
|
|
1598
|
+
})), n.emit("connectivity-info-open", this.tooltipEntry);
|
|
1599
|
+
let t = [];
|
|
1600
|
+
for (let n = 0; n < e.data.length; n++) t.push(await this.knowledgeTooltipQuery(e.data[n]));
|
|
1601
|
+
this.tooltipEntry = await Promise.all(t), this.tooltipEntry.map((e) => e.featureId[0]).length > 0 && n.emit("connectivity-info-open", this.tooltipEntry);
|
|
1601
1602
|
},
|
|
1602
|
-
changeConnectivitySource: async function(e,
|
|
1603
|
+
changeConnectivitySource: async function(e, t) {
|
|
1603
1604
|
let { entry: r, connectivitySource: i } = e, a = this?.flatmapService?.mapImp?.mapMetadata.uuid;
|
|
1604
|
-
|
|
1605
|
+
t.includes(a) || (t.push(a), await this.flatmapQueries.queryForConnectivityNew(this.flatmapService.mapImp, r.featureId[0], i), this.tooltipEntry = this.tooltipEntry.map((e) => e.featureId[0] === r.featureId[0] ? this.flatmapQueries.updateTooltipData(e) : e), n.emit("connectivity-info-open", this.tooltipEntry));
|
|
1605
1606
|
},
|
|
1606
1607
|
trackEvent: function(e) {
|
|
1607
1608
|
u.sendEvent(e);
|
|
@@ -1630,7 +1631,7 @@ var w = {
|
|
|
1630
1631
|
data: function() {
|
|
1631
1632
|
return {
|
|
1632
1633
|
apiLocation: void 0,
|
|
1633
|
-
activeSpecies:
|
|
1634
|
+
activeSpecies: c,
|
|
1634
1635
|
scaffoldCamera: void 0,
|
|
1635
1636
|
mainStyle: {
|
|
1636
1637
|
height: this.entry.datasetTitle ? "calc(100% - 30px)" : "100%",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { S as e, _ as t, b as n, y as r } from "./connectivities-DhBMlBSj.js";
|
|
2
2
|
import "./mapintegratedvuer.js";
|
|
3
|
-
import { t as i } from "./ContentMixin-
|
|
4
|
-
import { t as a } from "./DynamicMarkerMixin-
|
|
3
|
+
import { t as i } from "./ContentMixin-4t04VWoF.js";
|
|
4
|
+
import { t as a } from "./DynamicMarkerMixin-tATj70ym.js";
|
|
5
5
|
import { createBlock as o, createCommentVNode as s, createElementBlock as c, createVNode as l, openBlock as u, resolveComponent as d } from "vue";
|
|
6
6
|
import { FlatmapVuer as f } from "@abi-software/flatmapvuer";
|
|
7
7
|
import "@abi-software/flatmapvuer/dist/style.css";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as e } from "./connectivities-
|
|
2
|
-
import { t } from "./ContentMixin-
|
|
1
|
+
import { _ as e } from "./connectivities-DhBMlBSj.js";
|
|
2
|
+
import { t } from "./ContentMixin-4t04VWoF.js";
|
|
3
3
|
import { createElementBlock as n, createElementVNode as r, openBlock as i } from "vue";
|
|
4
4
|
//#region src/components/viewers/Iframe.vue
|
|
5
5
|
var a = {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { S as e, _ as t, b as n, c as r, u as i, y as a } from "./connectivities-DhBMlBSj.js";
|
|
2
2
|
import "./mapintegratedvuer.js";
|
|
3
|
-
import { t as o } from "./ContentMixin-
|
|
4
|
-
import { t as s } from "./DynamicMarkerMixin-
|
|
3
|
+
import { t as o } from "./ContentMixin-4t04VWoF.js";
|
|
4
|
+
import { t as s } from "./DynamicMarkerMixin-tATj70ym.js";
|
|
5
5
|
import { createBlock as c, createCommentVNode as l, createElementBlock as u, createVNode as d, openBlock as f, resolveComponent as p } from "vue";
|
|
6
6
|
import { MultiFlatmapVuer as m } from "@abi-software/flatmapvuer";
|
|
7
7
|
import "@abi-software/flatmapvuer/dist/style.css";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as e } from "./connectivities-
|
|
2
|
-
import { t } from "./ContentMixin-
|
|
1
|
+
import { _ as e } from "./connectivities-DhBMlBSj.js";
|
|
2
|
+
import { t } from "./ContentMixin-4t04VWoF.js";
|
|
3
3
|
import { createBlock as n, openBlock as r, resolveComponent as i } from "vue";
|
|
4
4
|
import { PlotVuer as a } from "@abi-software/plotvuer";
|
|
5
5
|
import "@abi-software/plotvuer/dist/style.css";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { S as e, _ as t, a as n, b as r, o as i } from "./connectivities-DhBMlBSj.js";
|
|
2
2
|
import "./mapintegratedvuer.js";
|
|
3
|
-
import { t as a } from "./ContentMixin-
|
|
3
|
+
import { t as a } from "./ContentMixin-4t04VWoF.js";
|
|
4
4
|
import { createBlock as o, createCommentVNode as s, createElementBlock as c, markRaw as l, openBlock as u, resolveComponent as d } from "vue";
|
|
5
5
|
import { ScaffoldVuer as f } from "@abi-software/scaffoldvuer";
|
|
6
6
|
import "@abi-software/scaffoldvuer/dist/style.css";
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { _ as e } from "./connectivities-DhBMlBSj.js";
|
|
2
|
+
import { t } from "./ContentMixin-4t04VWoF.js";
|
|
3
|
+
import { createBlock as n, createElementBlock as r, openBlock as i, resolveComponent as a } from "vue";
|
|
4
|
+
import { SimulationVuer as o } from "@abi-software/simulationvuer";
|
|
5
|
+
import "@abi-software/simulationvuer/dist/style.css";
|
|
6
|
+
//#region src/components/viewers/Simulation.vue
|
|
7
|
+
var s = {
|
|
8
|
+
name: "Simulation",
|
|
9
|
+
mixins: [t],
|
|
10
|
+
components: { SimulationVuer: o },
|
|
11
|
+
data: function() {
|
|
12
|
+
return { isCrossOriginIsolated: window.crossOriginIsolated === !0 };
|
|
13
|
+
},
|
|
14
|
+
computed: { id: function() {
|
|
15
|
+
return this.entry.resource ? this.entry.resource : this.entry.discoverId;
|
|
16
|
+
} }
|
|
17
|
+
}, c = {
|
|
18
|
+
key: 1,
|
|
19
|
+
class: "simulation-unsupported"
|
|
20
|
+
};
|
|
21
|
+
function l(e, t, o, s, l, u) {
|
|
22
|
+
let d = a("SimulationVuer");
|
|
23
|
+
return e.isCrossOriginIsolated ? (i(), n(d, {
|
|
24
|
+
key: 0,
|
|
25
|
+
apiLocation: e.apiLocation,
|
|
26
|
+
id: u.id,
|
|
27
|
+
ref: "simulation"
|
|
28
|
+
}, null, 8, ["apiLocation", "id"])) : (i(), r("div", c, " Simulations require a cross-origin isolated page (for SharedArrayBuffer support). This browser or host is not configured for it. "));
|
|
29
|
+
}
|
|
30
|
+
var u = /*#__PURE__*/ e(s, [["render", l], ["__scopeId", "data-v-627e2ba4"]]);
|
|
31
|
+
//#endregion
|
|
32
|
+
export { u as default };
|
|
@@ -35799,4 +35799,4 @@ var oW = _e("connectivities", {
|
|
|
35799
35799
|
}
|
|
35800
35800
|
});
|
|
35801
35801
|
//#endregion
|
|
35802
|
-
export { He as $,
|
|
35802
|
+
export { He as $, pU as A, De as B, aV as C, aU as D, fU as E, be as F, je as G, Oe as H, xe as I, Pe as J, Me as K, Se as L, SV as M, wU as N, cU as O, ye as P, Be as Q, we as R, RH as S, uU as T, ke as U, Ee as V, Ae as W, Re as X, Le as Y, ze as Z, kU as _, HU as a, Xe as at, EU as b, FU as c, IU as d, Ue as et, RU as f, zU as g, NU as h, UU as i, Je as it, hy as j, xy as k, PU as l, jU as m, iW as n, Ge as nt, VU as o, Ye as ot, MU as p, Ne as q, YU as r, qe as rt, GU as s, oW as t, We as tt, AU as u, OU as v, ry as w, qV as x, DU as y, Te as z };
|