@getlupa/client 1.12.0 → 1.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.iife.js +2 -1
- package/dist/lupaSearch.js +2 -1
- package/dist/lupaSearch.mjs +2 -1
- package/dist/lupaSearch.umd.js +2 -1
- package/package.json +2 -2
package/dist/lupaSearch.iife.js
CHANGED
|
@@ -9525,6 +9525,7 @@ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
|
9525
9525
|
if (!width || !grid) {
|
|
9526
9526
|
return;
|
|
9527
9527
|
}
|
|
9528
|
+
screenStore.setScreenWidth({ width });
|
|
9528
9529
|
const { currentScreenWidth } = storeToRefs(screenStore);
|
|
9529
9530
|
const screenWidth = (_a = currentScreenWidth.value) != null ? _a : "xl";
|
|
9530
9531
|
columnCount.value = grid.columns[screenWidth];
|
|
@@ -15555,8 +15556,8 @@ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
|
15555
15556
|
const handleResize = () => {
|
|
15556
15557
|
const doc2 = document.documentElement;
|
|
15557
15558
|
doc2.style.setProperty("--lupa-full-height", `${window.innerHeight}px`);
|
|
15558
|
-
searchResultStore.setColumnCount({ width: window.innerWidth, grid: props.options.grid });
|
|
15559
15559
|
screenStore.setScreenWidth({ width: window.innerWidth });
|
|
15560
|
+
searchResultStore.setColumnCount({ width: window.innerWidth, grid: props.options.grid });
|
|
15560
15561
|
};
|
|
15561
15562
|
const handleUrlChange = (params) => {
|
|
15562
15563
|
var _a;
|
package/dist/lupaSearch.js
CHANGED
|
@@ -9525,6 +9525,7 @@ const useSearchResultStore = defineStore("searchResult", () => {
|
|
|
9525
9525
|
if (!width || !grid) {
|
|
9526
9526
|
return;
|
|
9527
9527
|
}
|
|
9528
|
+
screenStore.setScreenWidth({ width });
|
|
9528
9529
|
const { currentScreenWidth } = storeToRefs(screenStore);
|
|
9529
9530
|
const screenWidth = (_a = currentScreenWidth.value) != null ? _a : "xl";
|
|
9530
9531
|
columnCount.value = grid.columns[screenWidth];
|
|
@@ -15555,8 +15556,8 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
15555
15556
|
const handleResize = () => {
|
|
15556
15557
|
const doc2 = document.documentElement;
|
|
15557
15558
|
doc2.style.setProperty("--lupa-full-height", `${window.innerHeight}px`);
|
|
15558
|
-
searchResultStore.setColumnCount({ width: window.innerWidth, grid: props.options.grid });
|
|
15559
15559
|
screenStore.setScreenWidth({ width: window.innerWidth });
|
|
15560
|
+
searchResultStore.setColumnCount({ width: window.innerWidth, grid: props.options.grid });
|
|
15560
15561
|
};
|
|
15561
15562
|
const handleUrlChange = (params) => {
|
|
15562
15563
|
var _a;
|
package/dist/lupaSearch.mjs
CHANGED
|
@@ -9523,6 +9523,7 @@ const useSearchResultStore = defineStore("searchResult", () => {
|
|
|
9523
9523
|
if (!width || !grid) {
|
|
9524
9524
|
return;
|
|
9525
9525
|
}
|
|
9526
|
+
screenStore.setScreenWidth({ width });
|
|
9526
9527
|
const { currentScreenWidth } = storeToRefs(screenStore);
|
|
9527
9528
|
const screenWidth = (_a = currentScreenWidth.value) != null ? _a : "xl";
|
|
9528
9529
|
columnCount.value = grid.columns[screenWidth];
|
|
@@ -15553,8 +15554,8 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
15553
15554
|
const handleResize = () => {
|
|
15554
15555
|
const doc2 = document.documentElement;
|
|
15555
15556
|
doc2.style.setProperty("--lupa-full-height", `${window.innerHeight}px`);
|
|
15556
|
-
searchResultStore.setColumnCount({ width: window.innerWidth, grid: props.options.grid });
|
|
15557
15557
|
screenStore.setScreenWidth({ width: window.innerWidth });
|
|
15558
|
+
searchResultStore.setColumnCount({ width: window.innerWidth, grid: props.options.grid });
|
|
15558
15559
|
};
|
|
15559
15560
|
const handleUrlChange = (params) => {
|
|
15560
15561
|
var _a;
|
package/dist/lupaSearch.umd.js
CHANGED
|
@@ -9527,6 +9527,7 @@ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
|
9527
9527
|
if (!width || !grid) {
|
|
9528
9528
|
return;
|
|
9529
9529
|
}
|
|
9530
|
+
screenStore.setScreenWidth({ width });
|
|
9530
9531
|
const { currentScreenWidth } = storeToRefs(screenStore);
|
|
9531
9532
|
const screenWidth = (_a = currentScreenWidth.value) != null ? _a : "xl";
|
|
9532
9533
|
columnCount.value = grid.columns[screenWidth];
|
|
@@ -15557,8 +15558,8 @@ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
|
15557
15558
|
const handleResize = () => {
|
|
15558
15559
|
const doc2 = document.documentElement;
|
|
15559
15560
|
doc2.style.setProperty("--lupa-full-height", `${window.innerHeight}px`);
|
|
15560
|
-
searchResultStore.setColumnCount({ width: window.innerWidth, grid: props.options.grid });
|
|
15561
15561
|
screenStore.setScreenWidth({ width: window.innerWidth });
|
|
15562
|
+
searchResultStore.setColumnCount({ width: window.innerWidth, grid: props.options.grid });
|
|
15562
15563
|
};
|
|
15563
15564
|
const handleUrlChange = (params) => {
|
|
15564
15565
|
var _a;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@getlupa/client",
|
|
3
|
-
"version": "1.12.
|
|
3
|
+
"version": "1.12.1",
|
|
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.12.
|
|
23
|
+
"@getlupa/vue": "0.12.1",
|
|
24
24
|
"@rushstack/eslint-patch": "^1.3.2",
|
|
25
25
|
"@tsconfig/node18": "^2.0.1",
|
|
26
26
|
"@types/jsdom": "^21.1.1",
|