@getlupa/client 1.24.0 → 1.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.
@@ -34803,6 +34803,9 @@ and ensure you are accounting for this risk.
34803
34803
  const facetKeyClass = computed(() => {
34804
34804
  return `lupa-facet-${facet.value.key}`;
34805
34805
  });
34806
+ const facetWrapperKeyClass = computed(() => {
34807
+ return `lupa-facet-wrapper-${facet.value.key}`;
34808
+ });
34806
34809
  const facetLabel = computed(() => {
34807
34810
  var _a26;
34808
34811
  return getTranslatedFacetKey(props.facet, (_a26 = searchResultOptions.value.filters) == null ? void 0 : _a26.translations);
@@ -34866,7 +34869,7 @@ and ensure you are accounting for this risk.
34866
34869
  key: 0,
34867
34870
  ref_key: "facetPanel",
34868
34871
  ref: facetPanel,
34869
- class: "lupa-search-result-facet-display",
34872
+ class: normalizeClass(["lupa-search-result-facet-display", { [facetWrapperKeyClass.value]: true }]),
34870
34873
  "data-cy": "lupa-search-result-facet-display"
34871
34874
  }, [
34872
34875
  createBaseVNode("div", {
@@ -34893,7 +34896,7 @@ and ensure you are accounting for this risk.
34893
34896
  onClick: clear
34894
34897
  }, toDisplayString(_ctx.options.labels.facetClear), 1)) : createCommentVNode("", true)
34895
34898
  ])) : createCommentVNode("", true)
34896
- ], 512)) : createCommentVNode("", true);
34899
+ ], 2)) : createCommentVNode("", true);
34897
34900
  };
34898
34901
  }
34899
34902
  }));
@@ -34803,6 +34803,9 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent(__spreadProps2(__spreadValue
34803
34803
  const facetKeyClass = computed(() => {
34804
34804
  return `lupa-facet-${facet.value.key}`;
34805
34805
  });
34806
+ const facetWrapperKeyClass = computed(() => {
34807
+ return `lupa-facet-wrapper-${facet.value.key}`;
34808
+ });
34806
34809
  const facetLabel = computed(() => {
34807
34810
  var _a26;
34808
34811
  return getTranslatedFacetKey(props.facet, (_a26 = searchResultOptions.value.filters) == null ? void 0 : _a26.translations);
@@ -34866,7 +34869,7 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent(__spreadProps2(__spreadValue
34866
34869
  key: 0,
34867
34870
  ref_key: "facetPanel",
34868
34871
  ref: facetPanel,
34869
- class: "lupa-search-result-facet-display",
34872
+ class: normalizeClass(["lupa-search-result-facet-display", { [facetWrapperKeyClass.value]: true }]),
34870
34873
  "data-cy": "lupa-search-result-facet-display"
34871
34874
  }, [
34872
34875
  createBaseVNode("div", {
@@ -34893,7 +34896,7 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent(__spreadProps2(__spreadValue
34893
34896
  onClick: clear
34894
34897
  }, toDisplayString(_ctx.options.labels.facetClear), 1)) : createCommentVNode("", true)
34895
34898
  ])) : createCommentVNode("", true)
34896
- ], 512)) : createCommentVNode("", true);
34899
+ ], 2)) : createCommentVNode("", true);
34897
34900
  };
34898
34901
  }
34899
34902
  }));
@@ -34801,6 +34801,9 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent(__spreadProps2(__spreadValue
34801
34801
  const facetKeyClass = computed(() => {
34802
34802
  return `lupa-facet-${facet.value.key}`;
34803
34803
  });
34804
+ const facetWrapperKeyClass = computed(() => {
34805
+ return `lupa-facet-wrapper-${facet.value.key}`;
34806
+ });
34804
34807
  const facetLabel = computed(() => {
34805
34808
  var _a26;
34806
34809
  return getTranslatedFacetKey(props.facet, (_a26 = searchResultOptions.value.filters) == null ? void 0 : _a26.translations);
@@ -34864,7 +34867,7 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent(__spreadProps2(__spreadValue
34864
34867
  key: 0,
34865
34868
  ref_key: "facetPanel",
34866
34869
  ref: facetPanel,
34867
- class: "lupa-search-result-facet-display",
34870
+ class: normalizeClass(["lupa-search-result-facet-display", { [facetWrapperKeyClass.value]: true }]),
34868
34871
  "data-cy": "lupa-search-result-facet-display"
34869
34872
  }, [
34870
34873
  createBaseVNode("div", {
@@ -34891,7 +34894,7 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent(__spreadProps2(__spreadValue
34891
34894
  onClick: clear
34892
34895
  }, toDisplayString(_ctx.options.labels.facetClear), 1)) : createCommentVNode("", true)
34893
34896
  ])) : createCommentVNode("", true)
34894
- ], 512)) : createCommentVNode("", true);
34897
+ ], 2)) : createCommentVNode("", true);
34895
34898
  };
34896
34899
  }
34897
34900
  }));
@@ -34805,6 +34805,9 @@ and ensure you are accounting for this risk.
34805
34805
  const facetKeyClass = computed(() => {
34806
34806
  return `lupa-facet-${facet.value.key}`;
34807
34807
  });
34808
+ const facetWrapperKeyClass = computed(() => {
34809
+ return `lupa-facet-wrapper-${facet.value.key}`;
34810
+ });
34808
34811
  const facetLabel = computed(() => {
34809
34812
  var _a26;
34810
34813
  return getTranslatedFacetKey(props.facet, (_a26 = searchResultOptions.value.filters) == null ? void 0 : _a26.translations);
@@ -34868,7 +34871,7 @@ and ensure you are accounting for this risk.
34868
34871
  key: 0,
34869
34872
  ref_key: "facetPanel",
34870
34873
  ref: facetPanel,
34871
- class: "lupa-search-result-facet-display",
34874
+ class: normalizeClass(["lupa-search-result-facet-display", { [facetWrapperKeyClass.value]: true }]),
34872
34875
  "data-cy": "lupa-search-result-facet-display"
34873
34876
  }, [
34874
34877
  createBaseVNode("div", {
@@ -34895,7 +34898,7 @@ and ensure you are accounting for this risk.
34895
34898
  onClick: clear
34896
34899
  }, toDisplayString(_ctx.options.labels.facetClear), 1)) : createCommentVNode("", true)
34897
34900
  ])) : createCommentVNode("", true)
34898
- ], 512)) : createCommentVNode("", true);
34901
+ ], 2)) : createCommentVNode("", true);
34899
34902
  };
34900
34903
  }
34901
34904
  }));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getlupa/client",
3
- "version": "1.24.0",
3
+ "version": "1.24.1",
4
4
  "main": "dist/lupaSearch.js",
5
5
  "module": "dist/lupaSearch.mjs",
6
6
  "types": "dist/index.d.ts",
@@ -20,7 +20,7 @@
20
20
  },
21
21
  "devDependencies": {
22
22
  "@getlupa/client-sdk": "^1.8.1",
23
- "@getlupa/vue": "0.24.0",
23
+ "@getlupa/vue": "0.24.1",
24
24
  "@rushstack/eslint-patch": "^1.12.0",
25
25
  "@tsconfig/node18": "^18.2.4",
26
26
  "@types/jsdom": "^21.1.7",