@getlupa/client 1.17.8 → 1.17.9
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.iife.js +4 -3
- package/dist/lupaSearch.js +4 -3
- package/dist/lupaSearch.mjs +4 -3
- package/dist/lupaSearch.umd.js +4 -3
- package/package.json +2 -2
package/dist/lupaSearch.iife.js
CHANGED
|
@@ -13457,7 +13457,8 @@ var __async = (__this, __arguments, generator) => {
|
|
|
13457
13457
|
var _a, _b, _c, _d;
|
|
13458
13458
|
return __spreadProps2(__spreadValues2({}, f2), {
|
|
13459
13459
|
label: (_d = (_c = (_a = translations == null ? void 0 : translations.keyTranslations) == null ? void 0 : _a[f2.key]) != null ? _c : (_b = facets2 == null ? void 0 : facets2.find((ft) => ft.key === f2.key)) == null ? void 0 : _b.label) != null ? _d : capitalize$1(f2.key),
|
|
13460
|
-
value: getTranslatedFacetValue({ key: f2.key }, { title: f2.value }, translations)
|
|
13460
|
+
value: getTranslatedFacetValue({ key: f2.key }, { title: f2.value }, translations),
|
|
13461
|
+
originalValue: f2.value
|
|
13461
13462
|
});
|
|
13462
13463
|
});
|
|
13463
13464
|
};
|
|
@@ -26563,7 +26564,7 @@ and ensure you are accounting for this risk.
|
|
|
26563
26564
|
toggleTermFilter(
|
|
26564
26565
|
// TODO: Fix any
|
|
26565
26566
|
paramsStore.appendParams,
|
|
26566
|
-
{ type: "terms", value: filter2.
|
|
26567
|
+
{ type: "terms", value: filter2.originalValue, key: filter2.key },
|
|
26567
26568
|
optionStore.getQueryParamName,
|
|
26568
26569
|
currentFilters.value
|
|
26569
26570
|
);
|
|
@@ -26571,7 +26572,7 @@ and ensure you are accounting for this risk.
|
|
|
26571
26572
|
case "hierarchy":
|
|
26572
26573
|
toggleHierarchyFilter(
|
|
26573
26574
|
paramsStore.appendParams,
|
|
26574
|
-
{ type: "hierarchy", value: filter2.
|
|
26575
|
+
{ type: "hierarchy", value: filter2.originalValue, key: filter2.key },
|
|
26575
26576
|
optionStore.getQueryParamName,
|
|
26576
26577
|
currentFilters.value,
|
|
26577
26578
|
true
|
package/dist/lupaSearch.js
CHANGED
|
@@ -13457,7 +13457,8 @@ const getLabeledFilters = (filters, facets2, translations) => {
|
|
|
13457
13457
|
var _a, _b, _c, _d;
|
|
13458
13458
|
return __spreadProps2(__spreadValues2({}, f2), {
|
|
13459
13459
|
label: (_d = (_c = (_a = translations == null ? void 0 : translations.keyTranslations) == null ? void 0 : _a[f2.key]) != null ? _c : (_b = facets2 == null ? void 0 : facets2.find((ft) => ft.key === f2.key)) == null ? void 0 : _b.label) != null ? _d : capitalize$1(f2.key),
|
|
13460
|
-
value: getTranslatedFacetValue({ key: f2.key }, { title: f2.value }, translations)
|
|
13460
|
+
value: getTranslatedFacetValue({ key: f2.key }, { title: f2.value }, translations),
|
|
13461
|
+
originalValue: f2.value
|
|
13461
13462
|
});
|
|
13462
13463
|
});
|
|
13463
13464
|
};
|
|
@@ -26563,7 +26564,7 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
|
|
|
26563
26564
|
toggleTermFilter(
|
|
26564
26565
|
// TODO: Fix any
|
|
26565
26566
|
paramsStore.appendParams,
|
|
26566
|
-
{ type: "terms", value: filter2.
|
|
26567
|
+
{ type: "terms", value: filter2.originalValue, key: filter2.key },
|
|
26567
26568
|
optionStore.getQueryParamName,
|
|
26568
26569
|
currentFilters.value
|
|
26569
26570
|
);
|
|
@@ -26571,7 +26572,7 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
|
|
|
26571
26572
|
case "hierarchy":
|
|
26572
26573
|
toggleHierarchyFilter(
|
|
26573
26574
|
paramsStore.appendParams,
|
|
26574
|
-
{ type: "hierarchy", value: filter2.
|
|
26575
|
+
{ type: "hierarchy", value: filter2.originalValue, key: filter2.key },
|
|
26575
26576
|
optionStore.getQueryParamName,
|
|
26576
26577
|
currentFilters.value,
|
|
26577
26578
|
true
|
package/dist/lupaSearch.mjs
CHANGED
|
@@ -13455,7 +13455,8 @@ const getLabeledFilters = (filters, facets2, translations) => {
|
|
|
13455
13455
|
var _a, _b, _c, _d;
|
|
13456
13456
|
return __spreadProps2(__spreadValues2({}, f2), {
|
|
13457
13457
|
label: (_d = (_c = (_a = translations == null ? void 0 : translations.keyTranslations) == null ? void 0 : _a[f2.key]) != null ? _c : (_b = facets2 == null ? void 0 : facets2.find((ft) => ft.key === f2.key)) == null ? void 0 : _b.label) != null ? _d : capitalize$1(f2.key),
|
|
13458
|
-
value: getTranslatedFacetValue({ key: f2.key }, { title: f2.value }, translations)
|
|
13458
|
+
value: getTranslatedFacetValue({ key: f2.key }, { title: f2.value }, translations),
|
|
13459
|
+
originalValue: f2.value
|
|
13459
13460
|
});
|
|
13460
13461
|
});
|
|
13461
13462
|
};
|
|
@@ -26561,7 +26562,7 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
|
|
|
26561
26562
|
toggleTermFilter(
|
|
26562
26563
|
// TODO: Fix any
|
|
26563
26564
|
paramsStore.appendParams,
|
|
26564
|
-
{ type: "terms", value: filter2.
|
|
26565
|
+
{ type: "terms", value: filter2.originalValue, key: filter2.key },
|
|
26565
26566
|
optionStore.getQueryParamName,
|
|
26566
26567
|
currentFilters.value
|
|
26567
26568
|
);
|
|
@@ -26569,7 +26570,7 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
|
|
|
26569
26570
|
case "hierarchy":
|
|
26570
26571
|
toggleHierarchyFilter(
|
|
26571
26572
|
paramsStore.appendParams,
|
|
26572
|
-
{ type: "hierarchy", value: filter2.
|
|
26573
|
+
{ type: "hierarchy", value: filter2.originalValue, key: filter2.key },
|
|
26573
26574
|
optionStore.getQueryParamName,
|
|
26574
26575
|
currentFilters.value,
|
|
26575
26576
|
true
|
package/dist/lupaSearch.umd.js
CHANGED
|
@@ -13459,7 +13459,8 @@ var __async = (__this, __arguments, generator) => {
|
|
|
13459
13459
|
var _a, _b, _c, _d;
|
|
13460
13460
|
return __spreadProps2(__spreadValues2({}, f2), {
|
|
13461
13461
|
label: (_d = (_c = (_a = translations == null ? void 0 : translations.keyTranslations) == null ? void 0 : _a[f2.key]) != null ? _c : (_b = facets2 == null ? void 0 : facets2.find((ft) => ft.key === f2.key)) == null ? void 0 : _b.label) != null ? _d : capitalize$1(f2.key),
|
|
13462
|
-
value: getTranslatedFacetValue({ key: f2.key }, { title: f2.value }, translations)
|
|
13462
|
+
value: getTranslatedFacetValue({ key: f2.key }, { title: f2.value }, translations),
|
|
13463
|
+
originalValue: f2.value
|
|
13463
13464
|
});
|
|
13464
13465
|
});
|
|
13465
13466
|
};
|
|
@@ -26565,7 +26566,7 @@ and ensure you are accounting for this risk.
|
|
|
26565
26566
|
toggleTermFilter(
|
|
26566
26567
|
// TODO: Fix any
|
|
26567
26568
|
paramsStore.appendParams,
|
|
26568
|
-
{ type: "terms", value: filter2.
|
|
26569
|
+
{ type: "terms", value: filter2.originalValue, key: filter2.key },
|
|
26569
26570
|
optionStore.getQueryParamName,
|
|
26570
26571
|
currentFilters.value
|
|
26571
26572
|
);
|
|
@@ -26573,7 +26574,7 @@ and ensure you are accounting for this risk.
|
|
|
26573
26574
|
case "hierarchy":
|
|
26574
26575
|
toggleHierarchyFilter(
|
|
26575
26576
|
paramsStore.appendParams,
|
|
26576
|
-
{ type: "hierarchy", value: filter2.
|
|
26577
|
+
{ type: "hierarchy", value: filter2.originalValue, key: filter2.key },
|
|
26577
26578
|
optionStore.getQueryParamName,
|
|
26578
26579
|
currentFilters.value,
|
|
26579
26580
|
true
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@getlupa/client",
|
|
3
|
-
"version": "1.17.
|
|
3
|
+
"version": "1.17.9",
|
|
4
4
|
"main": "dist/lupaSearch.js",
|
|
5
5
|
"module": "dist/index.mjs",
|
|
6
6
|
"types": "dist/src/index.d.ts",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
22
|
"@getlupa/client-sdk": "^1.3.4",
|
|
23
|
-
"@getlupa/vue": "0.17.
|
|
23
|
+
"@getlupa/vue": "0.17.9",
|
|
24
24
|
"@rushstack/eslint-patch": "^1.3.2",
|
|
25
25
|
"@tsconfig/node18": "^2.0.1",
|
|
26
26
|
"@types/jsdom": "^21.1.1",
|