@getlupa/vue 0.12.0 → 0.12.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 +2 -1
- package/dist/lupaSearch.mjs +2 -1
- package/package.json +1 -1
package/dist/lupaSearch.js
CHANGED
|
@@ -4301,6 +4301,7 @@ const useSearchResultStore = defineStore("searchResult", () => {
|
|
|
4301
4301
|
if (!width || !grid) {
|
|
4302
4302
|
return;
|
|
4303
4303
|
}
|
|
4304
|
+
screenStore.setScreenWidth({ width });
|
|
4304
4305
|
const { currentScreenWidth } = storeToRefs(screenStore);
|
|
4305
4306
|
const screenWidth = (_a = currentScreenWidth.value) != null ? _a : "xl";
|
|
4306
4307
|
columnCount.value = grid.columns[screenWidth];
|
|
@@ -10347,8 +10348,8 @@ const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
|
|
|
10347
10348
|
const handleResize = () => {
|
|
10348
10349
|
const doc = document.documentElement;
|
|
10349
10350
|
doc.style.setProperty("--lupa-full-height", `${window.innerHeight}px`);
|
|
10350
|
-
searchResultStore.setColumnCount({ width: window.innerWidth, grid: props.options.grid });
|
|
10351
10351
|
screenStore.setScreenWidth({ width: window.innerWidth });
|
|
10352
|
+
searchResultStore.setColumnCount({ width: window.innerWidth, grid: props.options.grid });
|
|
10352
10353
|
};
|
|
10353
10354
|
const handleUrlChange = (params) => {
|
|
10354
10355
|
var _a;
|
package/dist/lupaSearch.mjs
CHANGED
|
@@ -4299,6 +4299,7 @@ const useSearchResultStore = defineStore("searchResult", () => {
|
|
|
4299
4299
|
if (!width || !grid) {
|
|
4300
4300
|
return;
|
|
4301
4301
|
}
|
|
4302
|
+
screenStore.setScreenWidth({ width });
|
|
4302
4303
|
const { currentScreenWidth } = storeToRefs(screenStore);
|
|
4303
4304
|
const screenWidth = (_a = currentScreenWidth.value) != null ? _a : "xl";
|
|
4304
4305
|
columnCount.value = grid.columns[screenWidth];
|
|
@@ -10345,8 +10346,8 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
10345
10346
|
const handleResize = () => {
|
|
10346
10347
|
const doc = document.documentElement;
|
|
10347
10348
|
doc.style.setProperty("--lupa-full-height", `${window.innerHeight}px`);
|
|
10348
|
-
searchResultStore.setColumnCount({ width: window.innerWidth, grid: props.options.grid });
|
|
10349
10349
|
screenStore.setScreenWidth({ width: window.innerWidth });
|
|
10350
|
+
searchResultStore.setColumnCount({ width: window.innerWidth, grid: props.options.grid });
|
|
10350
10351
|
};
|
|
10351
10352
|
const handleUrlChange = (params) => {
|
|
10352
10353
|
var _a;
|