@getlupa/vue 0.12.2 → 0.12.3
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 +4 -6
- package/dist/lupaSearch.mjs +4 -6
- package/package.json +1 -1
package/dist/lupaSearch.js
CHANGED
|
@@ -6104,12 +6104,10 @@ const _sfc_main$Q = /* @__PURE__ */ vue.defineComponent({
|
|
|
6104
6104
|
} = storeToRefs(searchResultStore);
|
|
6105
6105
|
const currentFilters = vue.computed(() => filters.value);
|
|
6106
6106
|
const currentDisplayFilters = vue.computed(
|
|
6107
|
-
() => hideFiltersOnExactMatchForKeys.value.length ? displayFilters.value.filter(
|
|
6108
|
-
|
|
6109
|
-
|
|
6110
|
-
|
|
6111
|
-
}
|
|
6112
|
-
) : displayFilters.value
|
|
6107
|
+
() => hideFiltersOnExactMatchForKeys.value.length ? displayFilters.value.filter((f2) => {
|
|
6108
|
+
var _a;
|
|
6109
|
+
return !((_a = hideFiltersOnExactMatchForKeys.value) == null ? void 0 : _a.includes(f2.key)) || getNormalizedString(currentQueryText.value) !== getNormalizedString(f2.value);
|
|
6110
|
+
}) : displayFilters.value
|
|
6113
6111
|
);
|
|
6114
6112
|
const hasFilters = vue.computed(() => {
|
|
6115
6113
|
var _a;
|
package/dist/lupaSearch.mjs
CHANGED
|
@@ -6102,12 +6102,10 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
|
6102
6102
|
} = storeToRefs(searchResultStore);
|
|
6103
6103
|
const currentFilters = computed(() => filters.value);
|
|
6104
6104
|
const currentDisplayFilters = computed(
|
|
6105
|
-
() => hideFiltersOnExactMatchForKeys.value.length ? displayFilters.value.filter(
|
|
6106
|
-
|
|
6107
|
-
|
|
6108
|
-
|
|
6109
|
-
}
|
|
6110
|
-
) : displayFilters.value
|
|
6105
|
+
() => hideFiltersOnExactMatchForKeys.value.length ? displayFilters.value.filter((f2) => {
|
|
6106
|
+
var _a;
|
|
6107
|
+
return !((_a = hideFiltersOnExactMatchForKeys.value) == null ? void 0 : _a.includes(f2.key)) || getNormalizedString(currentQueryText.value) !== getNormalizedString(f2.value);
|
|
6108
|
+
}) : displayFilters.value
|
|
6111
6109
|
);
|
|
6112
6110
|
const hasFilters = computed(() => {
|
|
6113
6111
|
var _a;
|