@abi-software/map-side-bar 2.6.0 → 2.6.1-beta.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/map-side-bar.js +23 -14
- package/dist/map-side-bar.umd.cjs +27 -27
- package/dist/style.css +1 -1
- package/package.json +2 -2
- package/src/components/SearchFilters.vue +46 -9
- package/src/components/SearchHistory.vue +1 -0
package/dist/map-side-bar.js
CHANGED
|
@@ -19909,7 +19909,7 @@ const u9 = {
|
|
|
19909
19909
|
this.searchHistory.splice(t, 1), this.savedSearchHistory = this.searchHistory.filter((n) => n.saved), this.updateSearchHistory();
|
|
19910
19910
|
}
|
|
19911
19911
|
}
|
|
19912
|
-
}, qi = (e) => (lo("data-v-
|
|
19912
|
+
}, qi = (e) => (lo("data-v-6df00440"), e = e(), co(), e), d9 = {
|
|
19913
19913
|
key: 0,
|
|
19914
19914
|
class: "history-container"
|
|
19915
19915
|
}, f9 = {
|
|
@@ -20093,7 +20093,7 @@ function I9(e, t, n, r, o, a) {
|
|
|
20093
20093
|
})
|
|
20094
20094
|
])) : W("", !0);
|
|
20095
20095
|
}
|
|
20096
|
-
const bm = /* @__PURE__ */ er(u9, [["render", I9], ["__scopeId", "data-v-
|
|
20096
|
+
const bm = /* @__PURE__ */ er(u9, [["render", I9], ["__scopeId", "data-v-6df00440"]]), wm = (e, t) => {
|
|
20097
20097
|
const n = e.__vccOpts || e;
|
|
20098
20098
|
for (const [r, o] of t)
|
|
20099
20099
|
n[r] = o;
|
|
@@ -22326,14 +22326,22 @@ const ri = function(e) {
|
|
|
22326
22326
|
return [];
|
|
22327
22327
|
},
|
|
22328
22328
|
onCascadeTagsPopoverShown: function() {
|
|
22329
|
-
var
|
|
22330
|
-
const e = this.$refs.cascadeTagsPopover, t = this.$refs.cascader;
|
|
22331
|
-
if (
|
|
22332
|
-
const
|
|
22333
|
-
|
|
22334
|
-
|
|
22335
|
-
|
|
22336
|
-
|
|
22329
|
+
var r, o;
|
|
22330
|
+
const e = this.$refs.cascadeTagsPopover, t = document.querySelector(".mapcontent"), n = this.$refs.cascader;
|
|
22331
|
+
if (n && e) {
|
|
22332
|
+
const s = ((r = n.contentRef) == null ? void 0 : r.style.zIndex) * 1 + 1, i = (o = e.popperRef) == null ? void 0 : o.contentRef;
|
|
22333
|
+
i && (i.style.zIndex = s, t ? t.append(i) : document.body.append(i), window.dispatchEvent(new Event("resize")));
|
|
22334
|
+
}
|
|
22335
|
+
},
|
|
22336
|
+
/**
|
|
22337
|
+
* Move the cascader(panel) under map container
|
|
22338
|
+
* so that it will work on fulscreen mode
|
|
22339
|
+
*/
|
|
22340
|
+
replaceCascader: function() {
|
|
22341
|
+
const e = document.querySelector(".mapcontent"), t = this.$refs.cascader;
|
|
22342
|
+
if (t) {
|
|
22343
|
+
const n = t.contentRef;
|
|
22344
|
+
e ? e.append(n) : document.body.append(n);
|
|
22337
22345
|
}
|
|
22338
22346
|
}
|
|
22339
22347
|
},
|
|
@@ -22343,10 +22351,10 @@ const ri = function(e) {
|
|
|
22343
22351
|
this.envVars.ALGOLIA_KEY,
|
|
22344
22352
|
this.envVars.PENNSIEVE_API_LOCATION
|
|
22345
22353
|
)), this.algoliaClient.initIndex(this.envVars.ALGOLIA_INDEX), this.populateCascader().then(() => {
|
|
22346
|
-
this.cascaderIsReady = !0, this.checkShowAllBoxes(), this.setCascader(this.entry.filterFacets), this.cssMods(), this.$emit("cascaderReady");
|
|
22354
|
+
this.cascaderIsReady = !0, this.checkShowAllBoxes(), this.setCascader(this.entry.filterFacets), this.cssMods(), this.$emit("cascaderReady"), this.replaceCascader();
|
|
22347
22355
|
});
|
|
22348
22356
|
}
|
|
22349
|
-
}, K9 = (e) => (lo("data-v-
|
|
22357
|
+
}, K9 = (e) => (lo("data-v-0c43d5c0"), e = e(), co(), e), W9 = { class: "filters" }, G9 = {
|
|
22350
22358
|
key: 0,
|
|
22351
22359
|
class: "cascader-tag"
|
|
22352
22360
|
}, J9 = { class: "el-tags-container" }, Z9 = { class: "el-tags-container" }, Y9 = { class: "search-filters transition-box" }, X9 = {
|
|
@@ -22386,8 +22394,9 @@ function nL(e, t, n, r, o, a) {
|
|
|
22386
22394
|
width: 200,
|
|
22387
22395
|
trigger: "hover",
|
|
22388
22396
|
teleported: !1,
|
|
22389
|
-
"popper-class": "cascade-tags-popover",
|
|
22390
22397
|
ref: "cascadeTagsPopover",
|
|
22398
|
+
persistent: !1,
|
|
22399
|
+
"popper-class": "cascade-tags-popper",
|
|
22391
22400
|
onShow: a.onCascadeTagsPopoverShown
|
|
22392
22401
|
}, {
|
|
22393
22402
|
default: R(() => [
|
|
@@ -22491,7 +22500,7 @@ function nL(e, t, n, r, o, a) {
|
|
|
22491
22500
|
])
|
|
22492
22501
|
]);
|
|
22493
22502
|
}
|
|
22494
|
-
const oy = /* @__PURE__ */ er(q9, [["render", nL], ["__scopeId", "data-v-
|
|
22503
|
+
const oy = /* @__PURE__ */ er(q9, [["render", nL], ["__scopeId", "data-v-0c43d5c0"]]);
|
|
22495
22504
|
var rL = async function(e) {
|
|
22496
22505
|
if (!e.ok) {
|
|
22497
22506
|
let t = await e.json();
|