@getlupa/vue 0.24.0 → 0.24.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/lupaSearch.js +5 -2
- package/dist/lupaSearch.mjs +5 -2
- package/package.json +1 -1
package/dist/lupaSearch.js
CHANGED
|
@@ -28610,6 +28610,9 @@ const _sfc_main$Z = /* @__PURE__ */ vue.defineComponent(__spreadProps(__spreadVa
|
|
|
28610
28610
|
const facetKeyClass = vue.computed(() => {
|
|
28611
28611
|
return `lupa-facet-${facet.value.key}`;
|
|
28612
28612
|
});
|
|
28613
|
+
const facetWrapperKeyClass = vue.computed(() => {
|
|
28614
|
+
return `lupa-facet-wrapper-${facet.value.key}`;
|
|
28615
|
+
});
|
|
28613
28616
|
const facetLabel = vue.computed(() => {
|
|
28614
28617
|
var _a26;
|
|
28615
28618
|
return getTranslatedFacetKey(props.facet, (_a26 = searchResultOptions.value.filters) == null ? void 0 : _a26.translations);
|
|
@@ -28673,7 +28676,7 @@ const _sfc_main$Z = /* @__PURE__ */ vue.defineComponent(__spreadProps(__spreadVa
|
|
|
28673
28676
|
key: 0,
|
|
28674
28677
|
ref_key: "facetPanel",
|
|
28675
28678
|
ref: facetPanel,
|
|
28676
|
-
class: "lupa-search-result-facet-display",
|
|
28679
|
+
class: vue.normalizeClass(["lupa-search-result-facet-display", { [facetWrapperKeyClass.value]: true }]),
|
|
28677
28680
|
"data-cy": "lupa-search-result-facet-display"
|
|
28678
28681
|
}, [
|
|
28679
28682
|
vue.createElementVNode("div", {
|
|
@@ -28700,7 +28703,7 @@ const _sfc_main$Z = /* @__PURE__ */ vue.defineComponent(__spreadProps(__spreadVa
|
|
|
28700
28703
|
onClick: clear
|
|
28701
28704
|
}, vue.toDisplayString(_ctx.options.labels.facetClear), 1)) : vue.createCommentVNode("", true)
|
|
28702
28705
|
])) : vue.createCommentVNode("", true)
|
|
28703
|
-
],
|
|
28706
|
+
], 2)) : vue.createCommentVNode("", true);
|
|
28704
28707
|
};
|
|
28705
28708
|
}
|
|
28706
28709
|
}));
|
package/dist/lupaSearch.mjs
CHANGED
|
@@ -28608,6 +28608,9 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
|
|
|
28608
28608
|
const facetKeyClass = computed(() => {
|
|
28609
28609
|
return `lupa-facet-${facet.value.key}`;
|
|
28610
28610
|
});
|
|
28611
|
+
const facetWrapperKeyClass = computed(() => {
|
|
28612
|
+
return `lupa-facet-wrapper-${facet.value.key}`;
|
|
28613
|
+
});
|
|
28611
28614
|
const facetLabel = computed(() => {
|
|
28612
28615
|
var _a26;
|
|
28613
28616
|
return getTranslatedFacetKey(props.facet, (_a26 = searchResultOptions.value.filters) == null ? void 0 : _a26.translations);
|
|
@@ -28671,7 +28674,7 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
|
|
|
28671
28674
|
key: 0,
|
|
28672
28675
|
ref_key: "facetPanel",
|
|
28673
28676
|
ref: facetPanel,
|
|
28674
|
-
class: "lupa-search-result-facet-display",
|
|
28677
|
+
class: normalizeClass(["lupa-search-result-facet-display", { [facetWrapperKeyClass.value]: true }]),
|
|
28675
28678
|
"data-cy": "lupa-search-result-facet-display"
|
|
28676
28679
|
}, [
|
|
28677
28680
|
createElementVNode("div", {
|
|
@@ -28698,7 +28701,7 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
|
|
|
28698
28701
|
onClick: clear
|
|
28699
28702
|
}, toDisplayString(_ctx.options.labels.facetClear), 1)) : createCommentVNode("", true)
|
|
28700
28703
|
])) : createCommentVNode("", true)
|
|
28701
|
-
],
|
|
28704
|
+
], 2)) : createCommentVNode("", true);
|
|
28702
28705
|
};
|
|
28703
28706
|
}
|
|
28704
28707
|
}));
|