@getlupa/vue 0.18.4 → 0.18.5
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/lupaSearch.js +2 -2
- package/dist/lupaSearch.mjs +2 -2
- package/package.json +1 -1
package/dist/lupaSearch.js
CHANGED
|
@@ -21764,8 +21764,8 @@ const _sfc_main$_ = /* @__PURE__ */ vue.defineComponent({
|
|
|
21764
21764
|
const facetKeyClass = vue.computed(() => `lupa-facet-active-filter-${props.filter.key}`);
|
|
21765
21765
|
const { searchResultOptions } = storeToRefs(useOptionsStore());
|
|
21766
21766
|
const units = vue.computed(() => {
|
|
21767
|
-
var _a;
|
|
21768
|
-
return (_a = searchResultOptions.value.filters.facets.stats.units) != null ?
|
|
21767
|
+
var _a, _b, _c, _d, _e;
|
|
21768
|
+
return (_e = (_d = (_c = (_b = (_a = searchResultOptions.value) == null ? void 0 : _a.filters) == null ? void 0 : _b.facets) == null ? void 0 : _c.stats) == null ? void 0 : _d.units) != null ? _e : {};
|
|
21769
21769
|
});
|
|
21770
21770
|
function handleClick() {
|
|
21771
21771
|
emit("remove", { filter: props.filter });
|
package/dist/lupaSearch.mjs
CHANGED
|
@@ -21762,8 +21762,8 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
|
|
|
21762
21762
|
const facetKeyClass = computed(() => `lupa-facet-active-filter-${props.filter.key}`);
|
|
21763
21763
|
const { searchResultOptions } = storeToRefs(useOptionsStore());
|
|
21764
21764
|
const units = computed(() => {
|
|
21765
|
-
var _a;
|
|
21766
|
-
return (_a = searchResultOptions.value.filters.facets.stats.units) != null ?
|
|
21765
|
+
var _a, _b, _c, _d, _e;
|
|
21766
|
+
return (_e = (_d = (_c = (_b = (_a = searchResultOptions.value) == null ? void 0 : _a.filters) == null ? void 0 : _b.facets) == null ? void 0 : _c.stats) == null ? void 0 : _d.units) != null ? _e : {};
|
|
21767
21767
|
});
|
|
21768
21768
|
function handleClick() {
|
|
21769
21769
|
emit("remove", { filter: props.filter });
|