@depict-ai/ui 4.7.25 → 4.7.26
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/ES10/index.cjs +2 -9
- package/ES10/index.d.ts +2 -2
- package/ES10/index.js +2 -9
- package/latest/index.cjs +2 -9
- package/latest/index.d.ts +2 -2
- package/latest/index.js +2 -9
- package/package.json +1 -1
- package/server/ES10/index.cjs +2 -9
- package/server/ES10/index.d.ts +2 -2
- package/server/ES10/index.js +2 -9
- package/server/latest/index.cjs +2 -9
- package/server/latest/index.d.ts +2 -2
- package/server/latest/index.js +2 -9
package/ES10/index.cjs
CHANGED
|
@@ -110,7 +110,7 @@ $parcel$export(module.exports, "BreadCrumbs", () => $335c02c1241a9ca8$export$5b7
|
|
|
110
110
|
$parcel$export(module.exports, "QuickLinks", () => $335c02c1241a9ca8$export$de035477d6fef996);
|
|
111
111
|
$parcel$export(module.exports, "CategoryPage", () => $c10e33c4681f8c9b$export$e2bf8ce7779e827e);
|
|
112
112
|
/*! Depict.ai search and product listing SDK */
|
|
113
|
-
const $aa1938dec50d6c12$export$83d89fbfd8236492 = "4.7.
|
|
113
|
+
const $aa1938dec50d6c12$export$83d89fbfd8236492 = "4.7.26";
|
|
114
114
|
let $0deb6ff75e3d67c6$var$elementsHoveredSignal;
|
|
115
115
|
let $0deb6ff75e3d67c6$var$consumersSignal;
|
|
116
116
|
function $0deb6ff75e3d67c6$export$d4d96868197be50e() {
|
|
@@ -143,7 +143,7 @@ function $0deb6ff75e3d67c6$var$doHeavyCalculations() {
|
|
|
143
143
|
const elementAtTouch = new Map();
|
|
144
144
|
const updateSet = () => setElementsHovered(new Set([...elementAtTouch.values()].filter(v => v)));
|
|
145
145
|
const setPositionHandler = $52FdA$depictaiutilisharedlatest.catchify(evt => {
|
|
146
|
-
for (const touch of evt.changedTouches) elementAtTouch.set(touch.identifier,
|
|
146
|
+
for (const touch of evt.changedTouches) elementAtTouch.set(touch.identifier, document.elementFromPoint(touch.clientX, touch.clientY));
|
|
147
147
|
updateSet();
|
|
148
148
|
});
|
|
149
149
|
const deleteTouchHandler = $52FdA$depictaiutilisharedlatest.catchify(evt => {
|
|
@@ -153,9 +153,6 @@ function $0deb6ff75e3d67c6$var$doHeavyCalculations() {
|
|
|
153
153
|
addEventListener("touchstart", setPositionHandler, {
|
|
154
154
|
passive: true
|
|
155
155
|
});
|
|
156
|
-
addEventListener("touchmove", setPositionHandler, {
|
|
157
|
-
passive: true
|
|
158
|
-
});
|
|
159
156
|
addEventListener("touchend", deleteTouchHandler, {
|
|
160
157
|
passive: true
|
|
161
158
|
});
|
|
@@ -164,14 +161,10 @@ function $0deb6ff75e3d67c6$var$doHeavyCalculations() {
|
|
|
164
161
|
});
|
|
165
162
|
$52FdA$solidjs.onCleanup(() => {
|
|
166
163
|
removeEventListener("touchstart", setPositionHandler);
|
|
167
|
-
removeEventListener("touchmove", setPositionHandler);
|
|
168
164
|
removeEventListener("touchend", deleteTouchHandler);
|
|
169
165
|
removeEventListener("touchcancel", deleteTouchHandler);
|
|
170
166
|
});
|
|
171
167
|
}
|
|
172
|
-
function $0deb6ff75e3d67c6$var$getElementAtTouch(touch) {
|
|
173
|
-
return document.elementFromPoint(touch.clientX, touch.clientY);
|
|
174
|
-
}
|
|
175
168
|
function $e7a7d2fe8a8217d8$export$54299a3c81f5425() {
|
|
176
169
|
const d = document;
|
|
177
170
|
const [isVisible, setIsVisible] = $52FdA$solidjs.createSignal(d.visibilityState !== "hidden");
|
package/ES10/index.d.ts
CHANGED
|
@@ -11,9 +11,9 @@ import { GetListingRequest } from "@depict-ai/types/api/GetListingRequest";
|
|
|
11
11
|
import { BaseSearchRequestV3 } from "@depict-ai/types/api/BaseSearchRequestV3";
|
|
12
12
|
import { FeaturedInDisplay } from "@depict-ai/types/api/FeaturedInResponseV3";
|
|
13
13
|
import { SearchFilter as _SearchFilter3 } from "@depict-ai/types/api/SearchRequestV2";
|
|
14
|
-
export const version = "4.7.
|
|
14
|
+
export const version = "4.7.26";
|
|
15
15
|
/**
|
|
16
|
-
* Returns a set containing the element
|
|
16
|
+
* Returns a set containing the element where every element currently touching the screen started touching it.
|
|
17
17
|
*/
|
|
18
18
|
export function useMobileHover(): import("solid-js").Accessor<Set<Element>>;
|
|
19
19
|
/**
|
package/ES10/index.js
CHANGED
|
@@ -10,7 +10,7 @@ import { createStore as $8tj43$createStore, reconcile as $8tj43$reconcile } from
|
|
|
10
10
|
/*! Depict.ai search and product listing SDK */
|
|
11
11
|
import { register_es_version } from "../multi_import_deduplicator.mjs";
|
|
12
12
|
register_es_version("ui", "ES10");
|
|
13
|
-
const $8db9a15135765c11$export$83d89fbfd8236492 = "4.7.
|
|
13
|
+
const $8db9a15135765c11$export$83d89fbfd8236492 = "4.7.26";
|
|
14
14
|
let $715f7f2e53146662$var$elementsHoveredSignal;
|
|
15
15
|
let $715f7f2e53146662$var$consumersSignal;
|
|
16
16
|
function $715f7f2e53146662$export$d4d96868197be50e() {
|
|
@@ -43,7 +43,7 @@ function $715f7f2e53146662$var$doHeavyCalculations() {
|
|
|
43
43
|
const elementAtTouch = new Map();
|
|
44
44
|
const updateSet = () => setElementsHovered(new Set([...elementAtTouch.values()].filter(v => v)));
|
|
45
45
|
const setPositionHandler = $8tj43$catchify(evt => {
|
|
46
|
-
for (const touch of evt.changedTouches) elementAtTouch.set(touch.identifier,
|
|
46
|
+
for (const touch of evt.changedTouches) elementAtTouch.set(touch.identifier, document.elementFromPoint(touch.clientX, touch.clientY));
|
|
47
47
|
updateSet();
|
|
48
48
|
});
|
|
49
49
|
const deleteTouchHandler = $8tj43$catchify(evt => {
|
|
@@ -53,9 +53,6 @@ function $715f7f2e53146662$var$doHeavyCalculations() {
|
|
|
53
53
|
addEventListener("touchstart", setPositionHandler, {
|
|
54
54
|
passive: true
|
|
55
55
|
});
|
|
56
|
-
addEventListener("touchmove", setPositionHandler, {
|
|
57
|
-
passive: true
|
|
58
|
-
});
|
|
59
56
|
addEventListener("touchend", deleteTouchHandler, {
|
|
60
57
|
passive: true
|
|
61
58
|
});
|
|
@@ -64,14 +61,10 @@ function $715f7f2e53146662$var$doHeavyCalculations() {
|
|
|
64
61
|
});
|
|
65
62
|
$8tj43$onCleanup(() => {
|
|
66
63
|
removeEventListener("touchstart", setPositionHandler);
|
|
67
|
-
removeEventListener("touchmove", setPositionHandler);
|
|
68
64
|
removeEventListener("touchend", deleteTouchHandler);
|
|
69
65
|
removeEventListener("touchcancel", deleteTouchHandler);
|
|
70
66
|
});
|
|
71
67
|
}
|
|
72
|
-
function $715f7f2e53146662$var$getElementAtTouch(touch) {
|
|
73
|
-
return document.elementFromPoint(touch.clientX, touch.clientY);
|
|
74
|
-
}
|
|
75
68
|
function $a35e6f680c5bbc60$export$54299a3c81f5425() {
|
|
76
69
|
const d = document;
|
|
77
70
|
const [isVisible, setIsVisible] = $8tj43$createSignal(d.visibilityState !== "hidden");
|
package/latest/index.cjs
CHANGED
|
@@ -104,7 +104,7 @@ $parcel$export(module.exports, "BreadCrumbs", () => $1f4925833f07df29$export$5b7
|
|
|
104
104
|
$parcel$export(module.exports, "QuickLinks", () => $1f4925833f07df29$export$de035477d6fef996);
|
|
105
105
|
$parcel$export(module.exports, "CategoryPage", () => $14f289047713d67a$export$e2bf8ce7779e827e);
|
|
106
106
|
/*! Depict.ai search and product listing SDK */
|
|
107
|
-
const $b757f75811f3261f$export$83d89fbfd8236492 = "4.7.
|
|
107
|
+
const $b757f75811f3261f$export$83d89fbfd8236492 = "4.7.26";
|
|
108
108
|
let $8bf678c45948a297$var$elementsHoveredSignal;
|
|
109
109
|
let $8bf678c45948a297$var$consumersSignal;
|
|
110
110
|
function $8bf678c45948a297$export$d4d96868197be50e() {
|
|
@@ -137,7 +137,7 @@ function $8bf678c45948a297$var$doHeavyCalculations() {
|
|
|
137
137
|
const elementAtTouch = new Map();
|
|
138
138
|
const updateSet = () => setElementsHovered(new Set([...elementAtTouch.values()].filter(v => v)));
|
|
139
139
|
const setPositionHandler = $gVhhF$depictaiutilisharedlatest.catchify(evt => {
|
|
140
|
-
for (const touch of evt.changedTouches) elementAtTouch.set(touch.identifier,
|
|
140
|
+
for (const touch of evt.changedTouches) elementAtTouch.set(touch.identifier, document.elementFromPoint(touch.clientX, touch.clientY));
|
|
141
141
|
updateSet();
|
|
142
142
|
});
|
|
143
143
|
const deleteTouchHandler = $gVhhF$depictaiutilisharedlatest.catchify(evt => {
|
|
@@ -147,9 +147,6 @@ function $8bf678c45948a297$var$doHeavyCalculations() {
|
|
|
147
147
|
addEventListener("touchstart", setPositionHandler, {
|
|
148
148
|
passive: true
|
|
149
149
|
});
|
|
150
|
-
addEventListener("touchmove", setPositionHandler, {
|
|
151
|
-
passive: true
|
|
152
|
-
});
|
|
153
150
|
addEventListener("touchend", deleteTouchHandler, {
|
|
154
151
|
passive: true
|
|
155
152
|
});
|
|
@@ -158,14 +155,10 @@ function $8bf678c45948a297$var$doHeavyCalculations() {
|
|
|
158
155
|
});
|
|
159
156
|
$gVhhF$solidjs.onCleanup(() => {
|
|
160
157
|
removeEventListener("touchstart", setPositionHandler);
|
|
161
|
-
removeEventListener("touchmove", setPositionHandler);
|
|
162
158
|
removeEventListener("touchend", deleteTouchHandler);
|
|
163
159
|
removeEventListener("touchcancel", deleteTouchHandler);
|
|
164
160
|
});
|
|
165
161
|
}
|
|
166
|
-
function $8bf678c45948a297$var$getElementAtTouch(touch) {
|
|
167
|
-
return document.elementFromPoint(touch.clientX, touch.clientY);
|
|
168
|
-
}
|
|
169
162
|
function $55cbacb79d3e0cea$export$54299a3c81f5425() {
|
|
170
163
|
const d = document;
|
|
171
164
|
const [isVisible, setIsVisible] = $gVhhF$solidjs.createSignal(d.visibilityState !== "hidden");
|
package/latest/index.d.ts
CHANGED
|
@@ -11,9 +11,9 @@ import { GetListingRequest } from "@depict-ai/types/api/GetListingRequest";
|
|
|
11
11
|
import { BaseSearchRequestV3 } from "@depict-ai/types/api/BaseSearchRequestV3";
|
|
12
12
|
import { FeaturedInDisplay } from "@depict-ai/types/api/FeaturedInResponseV3";
|
|
13
13
|
import { SearchFilter as _SearchFilter3 } from "@depict-ai/types/api/SearchRequestV2";
|
|
14
|
-
export const version = "4.7.
|
|
14
|
+
export const version = "4.7.26";
|
|
15
15
|
/**
|
|
16
|
-
* Returns a set containing the element
|
|
16
|
+
* Returns a set containing the element where every element currently touching the screen started touching it.
|
|
17
17
|
*/
|
|
18
18
|
export function useMobileHover(): import("solid-js").Accessor<Set<Element>>;
|
|
19
19
|
/**
|
package/latest/index.js
CHANGED
|
@@ -7,7 +7,7 @@ import { createStore as $9HbP8$createStore, reconcile as $9HbP8$reconcile } from
|
|
|
7
7
|
/*! Depict.ai search and product listing SDK */
|
|
8
8
|
import { register_es_version } from "../multi_import_deduplicator.mjs";
|
|
9
9
|
register_es_version("ui", "latest");
|
|
10
|
-
const $ec291e0010116877$export$83d89fbfd8236492 = "4.7.
|
|
10
|
+
const $ec291e0010116877$export$83d89fbfd8236492 = "4.7.26";
|
|
11
11
|
let $4eb0a704f8f30273$var$elementsHoveredSignal;
|
|
12
12
|
let $4eb0a704f8f30273$var$consumersSignal;
|
|
13
13
|
function $4eb0a704f8f30273$export$d4d96868197be50e() {
|
|
@@ -40,7 +40,7 @@ function $4eb0a704f8f30273$var$doHeavyCalculations() {
|
|
|
40
40
|
const elementAtTouch = new Map();
|
|
41
41
|
const updateSet = () => setElementsHovered(new Set([...elementAtTouch.values()].filter(v => v)));
|
|
42
42
|
const setPositionHandler = $9HbP8$catchify(evt => {
|
|
43
|
-
for (const touch of evt.changedTouches) elementAtTouch.set(touch.identifier,
|
|
43
|
+
for (const touch of evt.changedTouches) elementAtTouch.set(touch.identifier, document.elementFromPoint(touch.clientX, touch.clientY));
|
|
44
44
|
updateSet();
|
|
45
45
|
});
|
|
46
46
|
const deleteTouchHandler = $9HbP8$catchify(evt => {
|
|
@@ -50,9 +50,6 @@ function $4eb0a704f8f30273$var$doHeavyCalculations() {
|
|
|
50
50
|
addEventListener("touchstart", setPositionHandler, {
|
|
51
51
|
passive: true
|
|
52
52
|
});
|
|
53
|
-
addEventListener("touchmove", setPositionHandler, {
|
|
54
|
-
passive: true
|
|
55
|
-
});
|
|
56
53
|
addEventListener("touchend", deleteTouchHandler, {
|
|
57
54
|
passive: true
|
|
58
55
|
});
|
|
@@ -61,14 +58,10 @@ function $4eb0a704f8f30273$var$doHeavyCalculations() {
|
|
|
61
58
|
});
|
|
62
59
|
$9HbP8$onCleanup(() => {
|
|
63
60
|
removeEventListener("touchstart", setPositionHandler);
|
|
64
|
-
removeEventListener("touchmove", setPositionHandler);
|
|
65
61
|
removeEventListener("touchend", deleteTouchHandler);
|
|
66
62
|
removeEventListener("touchcancel", deleteTouchHandler);
|
|
67
63
|
});
|
|
68
64
|
}
|
|
69
|
-
function $4eb0a704f8f30273$var$getElementAtTouch(touch) {
|
|
70
|
-
return document.elementFromPoint(touch.clientX, touch.clientY);
|
|
71
|
-
}
|
|
72
65
|
function $5e3d278ef4c80cd7$export$54299a3c81f5425() {
|
|
73
66
|
const d = document;
|
|
74
67
|
const [isVisible, setIsVisible] = $9HbP8$createSignal(d.visibilityState !== "hidden");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@depict-ai/ui",
|
|
3
|
-
"version": "4.7.
|
|
3
|
+
"version": "4.7.26",
|
|
4
4
|
"description": "Base package containing the actual UI of Depict UI along with translations, with a not-simplified API. We recommend using @depict-ai/js-ui or @depict-ai/react-ui instead.",
|
|
5
5
|
"packageManager": "yarn@3.2.2",
|
|
6
6
|
"sass": "styles.scss",
|
package/server/ES10/index.cjs
CHANGED
|
@@ -110,7 +110,7 @@ $parcel$export(module.exports, "BreadCrumbs", () => $335c02c1241a9ca8$export$5b7
|
|
|
110
110
|
$parcel$export(module.exports, "QuickLinks", () => $335c02c1241a9ca8$export$de035477d6fef996);
|
|
111
111
|
$parcel$export(module.exports, "CategoryPage", () => $c10e33c4681f8c9b$export$e2bf8ce7779e827e);
|
|
112
112
|
/*! Depict.ai search and product listing SDK */
|
|
113
|
-
const $aa1938dec50d6c12$export$83d89fbfd8236492 = "4.7.
|
|
113
|
+
const $aa1938dec50d6c12$export$83d89fbfd8236492 = "4.7.26";
|
|
114
114
|
let $0deb6ff75e3d67c6$var$elementsHoveredSignal;
|
|
115
115
|
let $0deb6ff75e3d67c6$var$consumersSignal;
|
|
116
116
|
function $0deb6ff75e3d67c6$export$d4d96868197be50e() {
|
|
@@ -143,7 +143,7 @@ function $0deb6ff75e3d67c6$var$doHeavyCalculations() {
|
|
|
143
143
|
const elementAtTouch = new Map();
|
|
144
144
|
const updateSet = () => setElementsHovered(new Set([...elementAtTouch.values()].filter(v => v)));
|
|
145
145
|
const setPositionHandler = $3hooq$depictaiutilisharedlatest.catchify(evt => {
|
|
146
|
-
for (const touch of evt.changedTouches) elementAtTouch.set(touch.identifier,
|
|
146
|
+
for (const touch of evt.changedTouches) elementAtTouch.set(touch.identifier, document.elementFromPoint(touch.clientX, touch.clientY));
|
|
147
147
|
updateSet();
|
|
148
148
|
});
|
|
149
149
|
const deleteTouchHandler = $3hooq$depictaiutilisharedlatest.catchify(evt => {
|
|
@@ -153,9 +153,6 @@ function $0deb6ff75e3d67c6$var$doHeavyCalculations() {
|
|
|
153
153
|
addEventListener("touchstart", setPositionHandler, {
|
|
154
154
|
passive: true
|
|
155
155
|
});
|
|
156
|
-
addEventListener("touchmove", setPositionHandler, {
|
|
157
|
-
passive: true
|
|
158
|
-
});
|
|
159
156
|
addEventListener("touchend", deleteTouchHandler, {
|
|
160
157
|
passive: true
|
|
161
158
|
});
|
|
@@ -164,14 +161,10 @@ function $0deb6ff75e3d67c6$var$doHeavyCalculations() {
|
|
|
164
161
|
});
|
|
165
162
|
$3hooq$solidjs.onCleanup(() => {
|
|
166
163
|
removeEventListener("touchstart", setPositionHandler);
|
|
167
|
-
removeEventListener("touchmove", setPositionHandler);
|
|
168
164
|
removeEventListener("touchend", deleteTouchHandler);
|
|
169
165
|
removeEventListener("touchcancel", deleteTouchHandler);
|
|
170
166
|
});
|
|
171
167
|
}
|
|
172
|
-
function $0deb6ff75e3d67c6$var$getElementAtTouch(touch) {
|
|
173
|
-
return document.elementFromPoint(touch.clientX, touch.clientY);
|
|
174
|
-
}
|
|
175
168
|
function $e7a7d2fe8a8217d8$export$54299a3c81f5425() {
|
|
176
169
|
const d = document;
|
|
177
170
|
const [isVisible, setIsVisible] = $3hooq$solidjs.createSignal(d.visibilityState !== "hidden");
|
package/server/ES10/index.d.ts
CHANGED
|
@@ -11,9 +11,9 @@ import { GetListingRequest } from "@depict-ai/types/api/GetListingRequest";
|
|
|
11
11
|
import { BaseSearchRequestV3 } from "@depict-ai/types/api/BaseSearchRequestV3";
|
|
12
12
|
import { FeaturedInDisplay } from "@depict-ai/types/api/FeaturedInResponseV3";
|
|
13
13
|
import { SearchFilter as _SearchFilter3 } from "@depict-ai/types/api/SearchRequestV2";
|
|
14
|
-
export const version = "4.7.
|
|
14
|
+
export const version = "4.7.26";
|
|
15
15
|
/**
|
|
16
|
-
* Returns a set containing the element
|
|
16
|
+
* Returns a set containing the element where every element currently touching the screen started touching it.
|
|
17
17
|
*/
|
|
18
18
|
export function useMobileHover(): import("solid-js").Accessor<Set<Element>>;
|
|
19
19
|
/**
|
package/server/ES10/index.js
CHANGED
|
@@ -10,7 +10,7 @@ import { createStore as $b8hua$createStore, reconcile as $b8hua$reconcile } from
|
|
|
10
10
|
/*! Depict.ai search and product listing SDK */
|
|
11
11
|
import { register_es_version } from "../../multi_import_deduplicator.mjs";
|
|
12
12
|
register_es_version("ui", "ES10");
|
|
13
|
-
const $8db9a15135765c11$export$83d89fbfd8236492 = "4.7.
|
|
13
|
+
const $8db9a15135765c11$export$83d89fbfd8236492 = "4.7.26";
|
|
14
14
|
let $715f7f2e53146662$var$elementsHoveredSignal;
|
|
15
15
|
let $715f7f2e53146662$var$consumersSignal;
|
|
16
16
|
function $715f7f2e53146662$export$d4d96868197be50e() {
|
|
@@ -43,7 +43,7 @@ function $715f7f2e53146662$var$doHeavyCalculations() {
|
|
|
43
43
|
const elementAtTouch = new Map();
|
|
44
44
|
const updateSet = () => setElementsHovered(new Set([...elementAtTouch.values()].filter(v => v)));
|
|
45
45
|
const setPositionHandler = $b8hua$catchify(evt => {
|
|
46
|
-
for (const touch of evt.changedTouches) elementAtTouch.set(touch.identifier,
|
|
46
|
+
for (const touch of evt.changedTouches) elementAtTouch.set(touch.identifier, document.elementFromPoint(touch.clientX, touch.clientY));
|
|
47
47
|
updateSet();
|
|
48
48
|
});
|
|
49
49
|
const deleteTouchHandler = $b8hua$catchify(evt => {
|
|
@@ -53,9 +53,6 @@ function $715f7f2e53146662$var$doHeavyCalculations() {
|
|
|
53
53
|
addEventListener("touchstart", setPositionHandler, {
|
|
54
54
|
passive: true
|
|
55
55
|
});
|
|
56
|
-
addEventListener("touchmove", setPositionHandler, {
|
|
57
|
-
passive: true
|
|
58
|
-
});
|
|
59
56
|
addEventListener("touchend", deleteTouchHandler, {
|
|
60
57
|
passive: true
|
|
61
58
|
});
|
|
@@ -64,14 +61,10 @@ function $715f7f2e53146662$var$doHeavyCalculations() {
|
|
|
64
61
|
});
|
|
65
62
|
$b8hua$onCleanup(() => {
|
|
66
63
|
removeEventListener("touchstart", setPositionHandler);
|
|
67
|
-
removeEventListener("touchmove", setPositionHandler);
|
|
68
64
|
removeEventListener("touchend", deleteTouchHandler);
|
|
69
65
|
removeEventListener("touchcancel", deleteTouchHandler);
|
|
70
66
|
});
|
|
71
67
|
}
|
|
72
|
-
function $715f7f2e53146662$var$getElementAtTouch(touch) {
|
|
73
|
-
return document.elementFromPoint(touch.clientX, touch.clientY);
|
|
74
|
-
}
|
|
75
68
|
function $a35e6f680c5bbc60$export$54299a3c81f5425() {
|
|
76
69
|
const d = document;
|
|
77
70
|
const [isVisible, setIsVisible] = $b8hua$createSignal(d.visibilityState !== "hidden");
|
package/server/latest/index.cjs
CHANGED
|
@@ -104,7 +104,7 @@ $parcel$export(module.exports, "BreadCrumbs", () => $1f4925833f07df29$export$5b7
|
|
|
104
104
|
$parcel$export(module.exports, "QuickLinks", () => $1f4925833f07df29$export$de035477d6fef996);
|
|
105
105
|
$parcel$export(module.exports, "CategoryPage", () => $14f289047713d67a$export$e2bf8ce7779e827e);
|
|
106
106
|
/*! Depict.ai search and product listing SDK */
|
|
107
|
-
const $b757f75811f3261f$export$83d89fbfd8236492 = "4.7.
|
|
107
|
+
const $b757f75811f3261f$export$83d89fbfd8236492 = "4.7.26";
|
|
108
108
|
let $8bf678c45948a297$var$elementsHoveredSignal;
|
|
109
109
|
let $8bf678c45948a297$var$consumersSignal;
|
|
110
110
|
function $8bf678c45948a297$export$d4d96868197be50e() {
|
|
@@ -137,7 +137,7 @@ function $8bf678c45948a297$var$doHeavyCalculations() {
|
|
|
137
137
|
const elementAtTouch = new Map();
|
|
138
138
|
const updateSet = () => setElementsHovered(new Set([...elementAtTouch.values()].filter(v => v)));
|
|
139
139
|
const setPositionHandler = $5vyXB$depictaiutilisharedlatest.catchify(evt => {
|
|
140
|
-
for (const touch of evt.changedTouches) elementAtTouch.set(touch.identifier,
|
|
140
|
+
for (const touch of evt.changedTouches) elementAtTouch.set(touch.identifier, document.elementFromPoint(touch.clientX, touch.clientY));
|
|
141
141
|
updateSet();
|
|
142
142
|
});
|
|
143
143
|
const deleteTouchHandler = $5vyXB$depictaiutilisharedlatest.catchify(evt => {
|
|
@@ -147,9 +147,6 @@ function $8bf678c45948a297$var$doHeavyCalculations() {
|
|
|
147
147
|
addEventListener("touchstart", setPositionHandler, {
|
|
148
148
|
passive: true
|
|
149
149
|
});
|
|
150
|
-
addEventListener("touchmove", setPositionHandler, {
|
|
151
|
-
passive: true
|
|
152
|
-
});
|
|
153
150
|
addEventListener("touchend", deleteTouchHandler, {
|
|
154
151
|
passive: true
|
|
155
152
|
});
|
|
@@ -158,14 +155,10 @@ function $8bf678c45948a297$var$doHeavyCalculations() {
|
|
|
158
155
|
});
|
|
159
156
|
$5vyXB$solidjs.onCleanup(() => {
|
|
160
157
|
removeEventListener("touchstart", setPositionHandler);
|
|
161
|
-
removeEventListener("touchmove", setPositionHandler);
|
|
162
158
|
removeEventListener("touchend", deleteTouchHandler);
|
|
163
159
|
removeEventListener("touchcancel", deleteTouchHandler);
|
|
164
160
|
});
|
|
165
161
|
}
|
|
166
|
-
function $8bf678c45948a297$var$getElementAtTouch(touch) {
|
|
167
|
-
return document.elementFromPoint(touch.clientX, touch.clientY);
|
|
168
|
-
}
|
|
169
162
|
function $55cbacb79d3e0cea$export$54299a3c81f5425() {
|
|
170
163
|
const d = document;
|
|
171
164
|
const [isVisible, setIsVisible] = $5vyXB$solidjs.createSignal(d.visibilityState !== "hidden");
|
package/server/latest/index.d.ts
CHANGED
|
@@ -11,9 +11,9 @@ import { GetListingRequest } from "@depict-ai/types/api/GetListingRequest";
|
|
|
11
11
|
import { BaseSearchRequestV3 } from "@depict-ai/types/api/BaseSearchRequestV3";
|
|
12
12
|
import { FeaturedInDisplay } from "@depict-ai/types/api/FeaturedInResponseV3";
|
|
13
13
|
import { SearchFilter as _SearchFilter3 } from "@depict-ai/types/api/SearchRequestV2";
|
|
14
|
-
export const version = "4.7.
|
|
14
|
+
export const version = "4.7.26";
|
|
15
15
|
/**
|
|
16
|
-
* Returns a set containing the element
|
|
16
|
+
* Returns a set containing the element where every element currently touching the screen started touching it.
|
|
17
17
|
*/
|
|
18
18
|
export function useMobileHover(): import("solid-js").Accessor<Set<Element>>;
|
|
19
19
|
/**
|
package/server/latest/index.js
CHANGED
|
@@ -7,7 +7,7 @@ import { createStore as $i7OB2$createStore, reconcile as $i7OB2$reconcile } from
|
|
|
7
7
|
/*! Depict.ai search and product listing SDK */
|
|
8
8
|
import { register_es_version } from "../../multi_import_deduplicator.mjs";
|
|
9
9
|
register_es_version("ui", "latest");
|
|
10
|
-
const $ec291e0010116877$export$83d89fbfd8236492 = "4.7.
|
|
10
|
+
const $ec291e0010116877$export$83d89fbfd8236492 = "4.7.26";
|
|
11
11
|
let $4eb0a704f8f30273$var$elementsHoveredSignal;
|
|
12
12
|
let $4eb0a704f8f30273$var$consumersSignal;
|
|
13
13
|
function $4eb0a704f8f30273$export$d4d96868197be50e() {
|
|
@@ -40,7 +40,7 @@ function $4eb0a704f8f30273$var$doHeavyCalculations() {
|
|
|
40
40
|
const elementAtTouch = new Map();
|
|
41
41
|
const updateSet = () => setElementsHovered(new Set([...elementAtTouch.values()].filter(v => v)));
|
|
42
42
|
const setPositionHandler = $i7OB2$catchify(evt => {
|
|
43
|
-
for (const touch of evt.changedTouches) elementAtTouch.set(touch.identifier,
|
|
43
|
+
for (const touch of evt.changedTouches) elementAtTouch.set(touch.identifier, document.elementFromPoint(touch.clientX, touch.clientY));
|
|
44
44
|
updateSet();
|
|
45
45
|
});
|
|
46
46
|
const deleteTouchHandler = $i7OB2$catchify(evt => {
|
|
@@ -50,9 +50,6 @@ function $4eb0a704f8f30273$var$doHeavyCalculations() {
|
|
|
50
50
|
addEventListener("touchstart", setPositionHandler, {
|
|
51
51
|
passive: true
|
|
52
52
|
});
|
|
53
|
-
addEventListener("touchmove", setPositionHandler, {
|
|
54
|
-
passive: true
|
|
55
|
-
});
|
|
56
53
|
addEventListener("touchend", deleteTouchHandler, {
|
|
57
54
|
passive: true
|
|
58
55
|
});
|
|
@@ -61,14 +58,10 @@ function $4eb0a704f8f30273$var$doHeavyCalculations() {
|
|
|
61
58
|
});
|
|
62
59
|
$i7OB2$onCleanup(() => {
|
|
63
60
|
removeEventListener("touchstart", setPositionHandler);
|
|
64
|
-
removeEventListener("touchmove", setPositionHandler);
|
|
65
61
|
removeEventListener("touchend", deleteTouchHandler);
|
|
66
62
|
removeEventListener("touchcancel", deleteTouchHandler);
|
|
67
63
|
});
|
|
68
64
|
}
|
|
69
|
-
function $4eb0a704f8f30273$var$getElementAtTouch(touch) {
|
|
70
|
-
return document.elementFromPoint(touch.clientX, touch.clientY);
|
|
71
|
-
}
|
|
72
65
|
function $5e3d278ef4c80cd7$export$54299a3c81f5425() {
|
|
73
66
|
const d = document;
|
|
74
67
|
const [isVisible, setIsVisible] = $i7OB2$createSignal(d.visibilityState !== "hidden");
|