@abi-software/map-side-bar 2.4.0-isan-0 → 2.4.0-isan-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.
package/dist/map-side-bar.js
CHANGED
|
@@ -10265,18 +10265,28 @@ const rO = function(e = {}) {
|
|
|
10265
10265
|
},
|
|
10266
10266
|
methods: {
|
|
10267
10267
|
onFlatmapClick: function(e) {
|
|
10268
|
-
this
|
|
10268
|
+
this.emitPMRActionClick({
|
|
10269
|
+
type: "Flatmap",
|
|
10270
|
+
resource: e
|
|
10271
|
+
});
|
|
10269
10272
|
},
|
|
10270
10273
|
onSimulationClick: function(e) {
|
|
10274
|
+
this.emitPMRActionClick({
|
|
10275
|
+
type: "Simulation",
|
|
10276
|
+
resource: e
|
|
10277
|
+
});
|
|
10278
|
+
},
|
|
10279
|
+
emitPMRActionClick: function(e) {
|
|
10271
10280
|
const t = {
|
|
10272
|
-
|
|
10281
|
+
...e,
|
|
10282
|
+
name: this.entry.title,
|
|
10273
10283
|
description: this.entry.description,
|
|
10274
|
-
|
|
10284
|
+
apiLocation: this.envVars.API_LOCATION
|
|
10275
10285
|
};
|
|
10276
|
-
this.$emit("
|
|
10286
|
+
this.$emit("pmr-action-click", t);
|
|
10277
10287
|
}
|
|
10278
10288
|
}
|
|
10279
|
-
}, uO = (e) => (Jr("data-v-
|
|
10289
|
+
}, uO = (e) => (Jr("data-v-9e96e46c"), e = e(), Zr(), e), cO = {
|
|
10280
10290
|
class: "dataset-card-container",
|
|
10281
10291
|
ref: "container"
|
|
10282
10292
|
}, dO = {
|
|
@@ -10365,7 +10375,7 @@ function xO(e, t, n, r, o, a) {
|
|
|
10365
10375
|
], 512)
|
|
10366
10376
|
], 512);
|
|
10367
10377
|
}
|
|
10368
|
-
const D0 = /* @__PURE__ */ Rn(lO, [["render", xO], ["__scopeId", "data-v-
|
|
10378
|
+
const D0 = /* @__PURE__ */ Rn(lO, [["render", xO], ["__scopeId", "data-v-9e96e46c"]]), kO = {
|
|
10369
10379
|
name: "BadgesGroup",
|
|
10370
10380
|
components: { Button: rn },
|
|
10371
10381
|
props: {
|
|
@@ -21201,11 +21211,8 @@ const c9 = {
|
|
|
21201
21211
|
hoverChanged: function(e) {
|
|
21202
21212
|
this.$emit("hover-changed", e);
|
|
21203
21213
|
},
|
|
21204
|
-
|
|
21205
|
-
this.$emit("
|
|
21206
|
-
},
|
|
21207
|
-
onSimulationClicked: function(e) {
|
|
21208
|
-
this.$emit("simulation-clicked", e);
|
|
21214
|
+
onPmrActionClick: function(e) {
|
|
21215
|
+
this.$emit("pmr-action-click", e);
|
|
21209
21216
|
},
|
|
21210
21217
|
// resetSearch: Resets the results, and page, and variable results ratio
|
|
21211
21218
|
// Does not: reset filters, search input, or search history
|
|
@@ -21439,11 +21446,10 @@ function h9(e, t, n, r, o, a) {
|
|
|
21439
21446
|
class: "dataset-card",
|
|
21440
21447
|
entry: h,
|
|
21441
21448
|
envVars: n.envVars,
|
|
21442
|
-
|
|
21443
|
-
onSimulationClicked: a.onSimulationClicked,
|
|
21449
|
+
onPmrActionClick: a.onPmrActionClick,
|
|
21444
21450
|
onMouseenter: (y) => a.hoverChanged(h),
|
|
21445
21451
|
onMouseleave: t[2] || (t[2] = (y) => a.hoverChanged(void 0))
|
|
21446
|
-
}, null, 8, ["entry", "envVars", "
|
|
21452
|
+
}, null, 8, ["entry", "envVars", "onPmrActionClick", "onMouseenter"])) : U("", !0)
|
|
21447
21453
|
]))), 128)),
|
|
21448
21454
|
re(m, {
|
|
21449
21455
|
class: "pagination",
|
|
@@ -21463,7 +21469,7 @@ function h9(e, t, n, r, o, a) {
|
|
|
21463
21469
|
_: 1
|
|
21464
21470
|
}, 8, ["body-style"]);
|
|
21465
21471
|
}
|
|
21466
|
-
const ug = /* @__PURE__ */ Rn(c9, [["render", h9], ["__scopeId", "data-v-
|
|
21472
|
+
const ug = /* @__PURE__ */ Rn(c9, [["render", h9], ["__scopeId", "data-v-8eb34693"]]), v9 = {
|
|
21467
21473
|
name: "ExternalResourceCard",
|
|
21468
21474
|
components: {
|
|
21469
21475
|
Button: rn
|
|
@@ -22074,23 +22080,8 @@ const fg = /* @__PURE__ */ Rn(Y9, [["render", r$], ["__scopeId", "data-v-a569bcf
|
|
|
22074
22080
|
setDrawerOpen: function(e = !0) {
|
|
22075
22081
|
this.drawerOpen = e;
|
|
22076
22082
|
},
|
|
22077
|
-
|
|
22078
|
-
|
|
22079
|
-
type: "Flatmap",
|
|
22080
|
-
data: e
|
|
22081
|
-
};
|
|
22082
|
-
this.$emit("actionClick", t);
|
|
22083
|
-
},
|
|
22084
|
-
onSimulationClicked: function(e) {
|
|
22085
|
-
const t = {
|
|
22086
|
-
type: "Simulation",
|
|
22087
|
-
title: "View simulation",
|
|
22088
|
-
apiLocation: this.envVars.API_LOCATION,
|
|
22089
|
-
name: e.title,
|
|
22090
|
-
description: e.description,
|
|
22091
|
-
resource: e.resource
|
|
22092
|
-
};
|
|
22093
|
-
this.$emit("actionClick", t);
|
|
22083
|
+
onPmrActionClick: function(e) {
|
|
22084
|
+
this.$emit("actionClick", e);
|
|
22094
22085
|
},
|
|
22095
22086
|
/**
|
|
22096
22087
|
* @vuese
|
|
@@ -22194,11 +22185,10 @@ function l$(e, t, n, r, o, a) {
|
|
|
22194
22185
|
envVars: n.envVars,
|
|
22195
22186
|
ref_for: !0,
|
|
22196
22187
|
ref: "searchTab_" + v.id,
|
|
22197
|
-
|
|
22198
|
-
onSimulationClicked: a.onSimulationClicked,
|
|
22188
|
+
onPmrActionClick: a.onPmrActionClick,
|
|
22199
22189
|
onSearchChanged: (p) => a.searchChanged(v.id, p),
|
|
22200
22190
|
onHoverChanged: t[2] || (t[2] = (p) => a.hoverChanged(p))
|
|
22201
|
-
}, null, 8, ["contextCardEntry", "envVars", "
|
|
22191
|
+
}, null, 8, ["contextCardEntry", "envVars", "onPmrActionClick", "onSearchChanged"])), [
|
|
22202
22192
|
[yt, v.id === n.activeTabId]
|
|
22203
22193
|
])
|
|
22204
22194
|
], 64))), 128))
|
|
@@ -22209,7 +22199,7 @@ function l$(e, t, n, r, o, a) {
|
|
|
22209
22199
|
}, 8, ["modelValue"])
|
|
22210
22200
|
], 512);
|
|
22211
22201
|
}
|
|
22212
|
-
const f$ = /* @__PURE__ */ Rn(o$, [["render", l$], ["__scopeId", "data-v-
|
|
22202
|
+
const f$ = /* @__PURE__ */ Rn(o$, [["render", l$], ["__scopeId", "data-v-26636995"]]);
|
|
22213
22203
|
export {
|
|
22214
22204
|
f$ as SideBar
|
|
22215
22205
|
};
|