@depict-ai/ui 4.10.31 → 4.10.32
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 +13 -1
- package/ES10/index.d.ts +1 -1
- package/ES10/index.js +13 -1
- package/latest/index.cjs +13 -1
- package/latest/index.d.ts +1 -1
- package/latest/index.js +13 -1
- package/package.json +4 -4
- package/server/ES10/index.cjs +13 -1
- package/server/ES10/index.d.ts +1 -1
- package/server/ES10/index.js +13 -1
- package/server/latest/index.cjs +13 -1
- package/server/latest/index.d.ts +1 -1
- package/server/latest/index.js +13 -1
package/ES10/index.cjs
CHANGED
|
@@ -115,7 +115,7 @@ $parcel$export(module.exports, "BreadCrumbs", () => $335c02c1241a9ca8$export$5b7
|
|
|
115
115
|
$parcel$export(module.exports, "QuickLinks", () => $335c02c1241a9ca8$export$de035477d6fef996);
|
|
116
116
|
$parcel$export(module.exports, "CategoryPage", () => $c10e33c4681f8c9b$export$e2bf8ce7779e827e);
|
|
117
117
|
/*! Depict.ai search and product listing SDK */
|
|
118
|
-
const $aa1938dec50d6c12$export$83d89fbfd8236492 = "4.10.
|
|
118
|
+
const $aa1938dec50d6c12$export$83d89fbfd8236492 = "4.10.32";
|
|
119
119
|
function $3e17e871e9d0911d$export$d9f36cf74e24d595(media_query) {
|
|
120
120
|
const signal = $52FdA$solidjs.createSignal(false);
|
|
121
121
|
$52FdA$solidjs.onCleanup($52FdA$depictaiutilishared.javascript_media_query(media_query, _ref => {
|
|
@@ -8592,6 +8592,14 @@ function $c19709057a32b2e7$export$780a853d15174484(_ref) {
|
|
|
8592
8592
|
}
|
|
8593
8593
|
}));
|
|
8594
8594
|
}
|
|
8595
|
+
|
|
8596
|
+
/** Shopify Lite's storefront (theme-static depict-content-blocks.js) treats screens up to 990px wide as phones. */
|
|
8597
|
+
const $c494ba5ea2d4d0b4$export$1e15d45642067bf0 = "(max-width: 990px)";
|
|
8598
|
+
function $c494ba5ea2d4d0b4$export$894065271726d798(visibility, isPhone) {
|
|
8599
|
+
if (visibility === "desktop") return !isPhone;
|
|
8600
|
+
if (visibility === "mobile") return isPhone;
|
|
8601
|
+
return true;
|
|
8602
|
+
}
|
|
8595
8603
|
const $0c035bbe7e30b438$export$af2c67164f68e9e9 = (content, aspectRatio) => {
|
|
8596
8604
|
const {
|
|
8597
8605
|
link: link,
|
|
@@ -8607,6 +8615,7 @@ function $0c035bbe7e30b438$export$7a92d995f1bf3592(history_content_blocks_, plp_
|
|
|
8607
8615
|
let hasSeenContentBlock = false;
|
|
8608
8616
|
const [historyContentBlocks, setHistoryContentBlocks] = history_content_blocks_;
|
|
8609
8617
|
const contentComponents = new Map();
|
|
8618
|
+
const isPhone = $3e17e871e9d0911d$export$d9f36cf74e24d595((0, $c494ba5ea2d4d0b4$export$1e15d45642067bf0));
|
|
8610
8619
|
const delayedServerBlocks = $52FdA$solidjs.createMemo(prev => {
|
|
8611
8620
|
var _plp_meta;
|
|
8612
8621
|
// Do not update the server blocks while the products request is loading, to avoid this: https://depictaiworkspace.slack.com/archives/C01JB6E7K7G/p1750861454651319
|
|
@@ -8633,7 +8642,10 @@ function $0c035bbe7e30b438$export$7a92d995f1bf3592(history_content_blocks_, plp_
|
|
|
8633
8642
|
if (!(blocksFromHistory !== null && blocksFromHistory !== void 0 && blocksFromHistory.length) && !hasSeenContentBlock) return developerProvided;
|
|
8634
8643
|
const content = [...(developerProvided || [])];
|
|
8635
8644
|
hasSeenContentBlock = true;
|
|
8645
|
+
const phone = isPhone();
|
|
8636
8646
|
blocksFromHistory.forEach(row => {
|
|
8647
|
+
// Leave a block hidden on this device out before placement, so products fill its cells instead of a gap.
|
|
8648
|
+
if (!$c494ba5ea2d4d0b4$export$894065271726d798(row.visibility, phone)) return;
|
|
8637
8649
|
const {
|
|
8638
8650
|
content: {
|
|
8639
8651
|
link: link,
|
package/ES10/index.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ 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.10.
|
|
14
|
+
export const version = "4.10.32";
|
|
15
15
|
/**
|
|
16
16
|
* Use `javascript_media_query` but return a reactive accessor instead of taking a callback function
|
|
17
17
|
*/
|
package/ES10/index.js
CHANGED
|
@@ -10,7 +10,7 @@ import $8tj43$babelruntimehelpersclassPrivateFieldGet from "@babel/runtime/helpe
|
|
|
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.10.
|
|
13
|
+
const $8db9a15135765c11$export$83d89fbfd8236492 = "4.10.32";
|
|
14
14
|
function $00a5b94f0c11efbb$export$d9f36cf74e24d595(media_query) {
|
|
15
15
|
const signal = $8tj43$createSignal(false);
|
|
16
16
|
$8tj43$onCleanup($8tj43$javascript_media_query(media_query, _ref => {
|
|
@@ -8487,6 +8487,14 @@ function $3b772ef9a35560fe$export$780a853d15174484(_ref) {
|
|
|
8487
8487
|
}
|
|
8488
8488
|
}));
|
|
8489
8489
|
}
|
|
8490
|
+
|
|
8491
|
+
/** Shopify Lite's storefront (theme-static depict-content-blocks.js) treats screens up to 990px wide as phones. */
|
|
8492
|
+
const $3a2a35df91c580c6$export$1e15d45642067bf0 = "(max-width: 990px)";
|
|
8493
|
+
function $3a2a35df91c580c6$export$894065271726d798(visibility, isPhone) {
|
|
8494
|
+
if (visibility === "desktop") return !isPhone;
|
|
8495
|
+
if (visibility === "mobile") return isPhone;
|
|
8496
|
+
return true;
|
|
8497
|
+
}
|
|
8490
8498
|
const $12ff24fdc4b26d88$export$af2c67164f68e9e9 = (content, aspectRatio) => {
|
|
8491
8499
|
const {
|
|
8492
8500
|
link: link,
|
|
@@ -8502,6 +8510,7 @@ function $12ff24fdc4b26d88$export$7a92d995f1bf3592(history_content_blocks_, plp_
|
|
|
8502
8510
|
let hasSeenContentBlock = false;
|
|
8503
8511
|
const [historyContentBlocks, setHistoryContentBlocks] = history_content_blocks_;
|
|
8504
8512
|
const contentComponents = new Map();
|
|
8513
|
+
const isPhone = $00a5b94f0c11efbb$export$d9f36cf74e24d595((0, $3a2a35df91c580c6$export$1e15d45642067bf0));
|
|
8505
8514
|
const delayedServerBlocks = $8tj43$createMemo(prev => {
|
|
8506
8515
|
var _plp_meta;
|
|
8507
8516
|
// Do not update the server blocks while the products request is loading, to avoid this: https://depictaiworkspace.slack.com/archives/C01JB6E7K7G/p1750861454651319
|
|
@@ -8528,7 +8537,10 @@ function $12ff24fdc4b26d88$export$7a92d995f1bf3592(history_content_blocks_, plp_
|
|
|
8528
8537
|
if (!(blocksFromHistory !== null && blocksFromHistory !== void 0 && blocksFromHistory.length) && !hasSeenContentBlock) return developerProvided;
|
|
8529
8538
|
const content = [...(developerProvided || [])];
|
|
8530
8539
|
hasSeenContentBlock = true;
|
|
8540
|
+
const phone = isPhone();
|
|
8531
8541
|
blocksFromHistory.forEach(row => {
|
|
8542
|
+
// Leave a block hidden on this device out before placement, so products fill its cells instead of a gap.
|
|
8543
|
+
if (!$3a2a35df91c580c6$export$894065271726d798(row.visibility, phone)) return;
|
|
8532
8544
|
const {
|
|
8533
8545
|
content: {
|
|
8534
8546
|
link: link,
|
package/latest/index.cjs
CHANGED
|
@@ -109,7 +109,7 @@ $parcel$export(module.exports, "BreadCrumbs", () => $1f4925833f07df29$export$5b7
|
|
|
109
109
|
$parcel$export(module.exports, "QuickLinks", () => $1f4925833f07df29$export$de035477d6fef996);
|
|
110
110
|
$parcel$export(module.exports, "CategoryPage", () => $14f289047713d67a$export$e2bf8ce7779e827e);
|
|
111
111
|
/*! Depict.ai search and product listing SDK */
|
|
112
|
-
const $b757f75811f3261f$export$83d89fbfd8236492 = "4.10.
|
|
112
|
+
const $b757f75811f3261f$export$83d89fbfd8236492 = "4.10.32";
|
|
113
113
|
function $b54e6192d0caa293$export$d9f36cf74e24d595(media_query) {
|
|
114
114
|
const signal = $gVhhF$solidjs.createSignal(false);
|
|
115
115
|
$gVhhF$solidjs.onCleanup($gVhhF$depictaiutilishared.javascript_media_query(media_query, ({
|
|
@@ -8139,6 +8139,14 @@ function $32c662f618f5d80d$export$780a853d15174484({
|
|
|
8139
8139
|
}
|
|
8140
8140
|
}));
|
|
8141
8141
|
}
|
|
8142
|
+
|
|
8143
|
+
/** Shopify Lite's storefront (theme-static depict-content-blocks.js) treats screens up to 990px wide as phones. */
|
|
8144
|
+
const $05b9da7b91793a99$export$1e15d45642067bf0 = "(max-width: 990px)";
|
|
8145
|
+
function $05b9da7b91793a99$export$894065271726d798(visibility, isPhone) {
|
|
8146
|
+
if (visibility === "desktop") return !isPhone;
|
|
8147
|
+
if (visibility === "mobile") return isPhone;
|
|
8148
|
+
return true;
|
|
8149
|
+
}
|
|
8142
8150
|
const $0a80939bf0a1e9cc$export$af2c67164f68e9e9 = (content, aspectRatio) => {
|
|
8143
8151
|
const {
|
|
8144
8152
|
link: link,
|
|
@@ -8154,6 +8162,7 @@ function $0a80939bf0a1e9cc$export$7a92d995f1bf3592(history_content_blocks_, plp_
|
|
|
8154
8162
|
let hasSeenContentBlock = false;
|
|
8155
8163
|
const [historyContentBlocks, setHistoryContentBlocks] = history_content_blocks_;
|
|
8156
8164
|
const contentComponents = new Map();
|
|
8165
|
+
const isPhone = $b54e6192d0caa293$export$d9f36cf74e24d595((0, $05b9da7b91793a99$export$1e15d45642067bf0));
|
|
8157
8166
|
const delayedServerBlocks = $gVhhF$solidjs.createMemo(prev => {
|
|
8158
8167
|
// Do not update the server blocks while the products request is loading, to avoid this: https://depictaiworkspace.slack.com/archives/C01JB6E7K7G/p1750861454651319
|
|
8159
8168
|
if (products_request_loading_()) return prev;
|
|
@@ -8179,7 +8188,10 @@ function $0a80939bf0a1e9cc$export$7a92d995f1bf3592(history_content_blocks_, plp_
|
|
|
8179
8188
|
if (!blocksFromHistory?.length && !hasSeenContentBlock) return developerProvided;
|
|
8180
8189
|
const content = [...(developerProvided || [])];
|
|
8181
8190
|
hasSeenContentBlock = true;
|
|
8191
|
+
const phone = isPhone();
|
|
8182
8192
|
blocksFromHistory.forEach(row => {
|
|
8193
|
+
// Leave a block hidden on this device out before placement, so products fill its cells instead of a gap.
|
|
8194
|
+
if (!$05b9da7b91793a99$export$894065271726d798(row.visibility, phone)) return;
|
|
8183
8195
|
const {
|
|
8184
8196
|
content: {
|
|
8185
8197
|
link: link,
|
package/latest/index.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ 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.10.
|
|
14
|
+
export const version = "4.10.32";
|
|
15
15
|
/**
|
|
16
16
|
* Use `javascript_media_query` but return a reactive accessor instead of taking a callback function
|
|
17
17
|
*/
|
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.10.
|
|
10
|
+
const $ec291e0010116877$export$83d89fbfd8236492 = "4.10.32";
|
|
11
11
|
function $dc9262ef6f786812$export$d9f36cf74e24d595(media_query) {
|
|
12
12
|
const signal = $9HbP8$createSignal(false);
|
|
13
13
|
$9HbP8$onCleanup($9HbP8$javascript_media_query(media_query, ({
|
|
@@ -8037,6 +8037,14 @@ function $f916989c4b1be9f7$export$780a853d15174484({
|
|
|
8037
8037
|
}
|
|
8038
8038
|
}));
|
|
8039
8039
|
}
|
|
8040
|
+
|
|
8041
|
+
/** Shopify Lite's storefront (theme-static depict-content-blocks.js) treats screens up to 990px wide as phones. */
|
|
8042
|
+
const $46de6aba0746da31$export$1e15d45642067bf0 = "(max-width: 990px)";
|
|
8043
|
+
function $46de6aba0746da31$export$894065271726d798(visibility, isPhone) {
|
|
8044
|
+
if (visibility === "desktop") return !isPhone;
|
|
8045
|
+
if (visibility === "mobile") return isPhone;
|
|
8046
|
+
return true;
|
|
8047
|
+
}
|
|
8040
8048
|
const $486360b09f0d5729$export$af2c67164f68e9e9 = (content, aspectRatio) => {
|
|
8041
8049
|
const {
|
|
8042
8050
|
link: link,
|
|
@@ -8052,6 +8060,7 @@ function $486360b09f0d5729$export$7a92d995f1bf3592(history_content_blocks_, plp_
|
|
|
8052
8060
|
let hasSeenContentBlock = false;
|
|
8053
8061
|
const [historyContentBlocks, setHistoryContentBlocks] = history_content_blocks_;
|
|
8054
8062
|
const contentComponents = new Map();
|
|
8063
|
+
const isPhone = $dc9262ef6f786812$export$d9f36cf74e24d595((0, $46de6aba0746da31$export$1e15d45642067bf0));
|
|
8055
8064
|
const delayedServerBlocks = $9HbP8$createMemo(prev => {
|
|
8056
8065
|
// Do not update the server blocks while the products request is loading, to avoid this: https://depictaiworkspace.slack.com/archives/C01JB6E7K7G/p1750861454651319
|
|
8057
8066
|
if (products_request_loading_()) return prev;
|
|
@@ -8077,7 +8086,10 @@ function $486360b09f0d5729$export$7a92d995f1bf3592(history_content_blocks_, plp_
|
|
|
8077
8086
|
if (!blocksFromHistory?.length && !hasSeenContentBlock) return developerProvided;
|
|
8078
8087
|
const content = [...(developerProvided || [])];
|
|
8079
8088
|
hasSeenContentBlock = true;
|
|
8089
|
+
const phone = isPhone();
|
|
8080
8090
|
blocksFromHistory.forEach(row => {
|
|
8091
|
+
// Leave a block hidden on this device out before placement, so products fill its cells instead of a gap.
|
|
8092
|
+
if (!$46de6aba0746da31$export$894065271726d798(row.visibility, phone)) return;
|
|
8081
8093
|
const {
|
|
8082
8094
|
content: {
|
|
8083
8095
|
link: link,
|
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"url": "git+https://github.com/depict-org/depict-ui.git",
|
|
6
6
|
"directory": "browser-tags-v2/packages/ui"
|
|
7
7
|
},
|
|
8
|
-
"version": "4.10.
|
|
8
|
+
"version": "4.10.32",
|
|
9
9
|
"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.",
|
|
10
10
|
"packageManager": "yarn@3.2.2",
|
|
11
11
|
"sass": "styles.scss",
|
|
@@ -241,9 +241,9 @@
|
|
|
241
241
|
"@babel/plugin-transform-typescript": "^7.22.9",
|
|
242
242
|
"@babel/runtime": "^7.22.6",
|
|
243
243
|
"@babel/runtime-corejs3": "^7.22.6",
|
|
244
|
-
"@depict-ai/plp-styling": "^4.6.
|
|
245
|
-
"@depict-ai/types": "^5.6.
|
|
246
|
-
"@depict-ai/utilishared": "^2.6.
|
|
244
|
+
"@depict-ai/plp-styling": "^4.6.23",
|
|
245
|
+
"@depict-ai/types": "^5.6.21",
|
|
246
|
+
"@depict-ai/utilishared": "^2.6.21",
|
|
247
247
|
"solid-js": "^1.9.10"
|
|
248
248
|
},
|
|
249
249
|
"type": "module",
|
package/server/ES10/index.cjs
CHANGED
|
@@ -115,7 +115,7 @@ $parcel$export(module.exports, "BreadCrumbs", () => $335c02c1241a9ca8$export$5b7
|
|
|
115
115
|
$parcel$export(module.exports, "QuickLinks", () => $335c02c1241a9ca8$export$de035477d6fef996);
|
|
116
116
|
$parcel$export(module.exports, "CategoryPage", () => $c10e33c4681f8c9b$export$e2bf8ce7779e827e);
|
|
117
117
|
/*! Depict.ai search and product listing SDK */
|
|
118
|
-
const $aa1938dec50d6c12$export$83d89fbfd8236492 = "4.10.
|
|
118
|
+
const $aa1938dec50d6c12$export$83d89fbfd8236492 = "4.10.32";
|
|
119
119
|
function $3e17e871e9d0911d$export$d9f36cf74e24d595(media_query) {
|
|
120
120
|
const signal = $3hooq$solidjs.createSignal(false);
|
|
121
121
|
$3hooq$solidjs.onCleanup($3hooq$depictaiutilishared.javascript_media_query(media_query, _ref => {
|
|
@@ -7030,6 +7030,14 @@ function $c19709057a32b2e7$export$780a853d15174484(_ref) {
|
|
|
7030
7030
|
}
|
|
7031
7031
|
}));
|
|
7032
7032
|
}
|
|
7033
|
+
|
|
7034
|
+
/** Shopify Lite's storefront (theme-static depict-content-blocks.js) treats screens up to 990px wide as phones. */
|
|
7035
|
+
const $c494ba5ea2d4d0b4$export$1e15d45642067bf0 = "(max-width: 990px)";
|
|
7036
|
+
function $c494ba5ea2d4d0b4$export$894065271726d798(visibility, isPhone) {
|
|
7037
|
+
if (visibility === "desktop") return !isPhone;
|
|
7038
|
+
if (visibility === "mobile") return isPhone;
|
|
7039
|
+
return true;
|
|
7040
|
+
}
|
|
7033
7041
|
const $0c035bbe7e30b438$export$af2c67164f68e9e9 = (content, aspectRatio) => {
|
|
7034
7042
|
const {
|
|
7035
7043
|
link: link,
|
|
@@ -7045,6 +7053,7 @@ function $0c035bbe7e30b438$export$7a92d995f1bf3592(history_content_blocks_, plp_
|
|
|
7045
7053
|
let hasSeenContentBlock = false;
|
|
7046
7054
|
const [historyContentBlocks, setHistoryContentBlocks] = history_content_blocks_;
|
|
7047
7055
|
const contentComponents = new Map();
|
|
7056
|
+
const isPhone = $3e17e871e9d0911d$export$d9f36cf74e24d595((0, $c494ba5ea2d4d0b4$export$1e15d45642067bf0));
|
|
7048
7057
|
const delayedServerBlocks = $3hooq$solidjs.createMemo(prev => {
|
|
7049
7058
|
var _plp_meta;
|
|
7050
7059
|
// Do not update the server blocks while the products request is loading, to avoid this: https://depictaiworkspace.slack.com/archives/C01JB6E7K7G/p1750861454651319
|
|
@@ -7071,7 +7080,10 @@ function $0c035bbe7e30b438$export$7a92d995f1bf3592(history_content_blocks_, plp_
|
|
|
7071
7080
|
if (!(blocksFromHistory !== null && blocksFromHistory !== void 0 && blocksFromHistory.length) && !hasSeenContentBlock) return developerProvided;
|
|
7072
7081
|
const content = [...(developerProvided || [])];
|
|
7073
7082
|
hasSeenContentBlock = true;
|
|
7083
|
+
const phone = isPhone();
|
|
7074
7084
|
blocksFromHistory.forEach(row => {
|
|
7085
|
+
// Leave a block hidden on this device out before placement, so products fill its cells instead of a gap.
|
|
7086
|
+
if (!$c494ba5ea2d4d0b4$export$894065271726d798(row.visibility, phone)) return;
|
|
7075
7087
|
const {
|
|
7076
7088
|
content: {
|
|
7077
7089
|
link: link,
|
package/server/ES10/index.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ 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.10.
|
|
14
|
+
export const version = "4.10.32";
|
|
15
15
|
/**
|
|
16
16
|
* Use `javascript_media_query` but return a reactive accessor instead of taking a callback function
|
|
17
17
|
*/
|
package/server/ES10/index.js
CHANGED
|
@@ -10,7 +10,7 @@ import $b8hua$babelruntimehelpersclassPrivateFieldGet from "@babel/runtime/helpe
|
|
|
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.10.
|
|
13
|
+
const $8db9a15135765c11$export$83d89fbfd8236492 = "4.10.32";
|
|
14
14
|
function $00a5b94f0c11efbb$export$d9f36cf74e24d595(media_query) {
|
|
15
15
|
const signal = $b8hua$createSignal(false);
|
|
16
16
|
$b8hua$onCleanup($b8hua$javascript_media_query(media_query, _ref => {
|
|
@@ -6925,6 +6925,14 @@ function $3b772ef9a35560fe$export$780a853d15174484(_ref) {
|
|
|
6925
6925
|
}
|
|
6926
6926
|
}));
|
|
6927
6927
|
}
|
|
6928
|
+
|
|
6929
|
+
/** Shopify Lite's storefront (theme-static depict-content-blocks.js) treats screens up to 990px wide as phones. */
|
|
6930
|
+
const $3a2a35df91c580c6$export$1e15d45642067bf0 = "(max-width: 990px)";
|
|
6931
|
+
function $3a2a35df91c580c6$export$894065271726d798(visibility, isPhone) {
|
|
6932
|
+
if (visibility === "desktop") return !isPhone;
|
|
6933
|
+
if (visibility === "mobile") return isPhone;
|
|
6934
|
+
return true;
|
|
6935
|
+
}
|
|
6928
6936
|
const $12ff24fdc4b26d88$export$af2c67164f68e9e9 = (content, aspectRatio) => {
|
|
6929
6937
|
const {
|
|
6930
6938
|
link: link,
|
|
@@ -6940,6 +6948,7 @@ function $12ff24fdc4b26d88$export$7a92d995f1bf3592(history_content_blocks_, plp_
|
|
|
6940
6948
|
let hasSeenContentBlock = false;
|
|
6941
6949
|
const [historyContentBlocks, setHistoryContentBlocks] = history_content_blocks_;
|
|
6942
6950
|
const contentComponents = new Map();
|
|
6951
|
+
const isPhone = $00a5b94f0c11efbb$export$d9f36cf74e24d595((0, $3a2a35df91c580c6$export$1e15d45642067bf0));
|
|
6943
6952
|
const delayedServerBlocks = $b8hua$createMemo(prev => {
|
|
6944
6953
|
var _plp_meta;
|
|
6945
6954
|
// Do not update the server blocks while the products request is loading, to avoid this: https://depictaiworkspace.slack.com/archives/C01JB6E7K7G/p1750861454651319
|
|
@@ -6966,7 +6975,10 @@ function $12ff24fdc4b26d88$export$7a92d995f1bf3592(history_content_blocks_, plp_
|
|
|
6966
6975
|
if (!(blocksFromHistory !== null && blocksFromHistory !== void 0 && blocksFromHistory.length) && !hasSeenContentBlock) return developerProvided;
|
|
6967
6976
|
const content = [...(developerProvided || [])];
|
|
6968
6977
|
hasSeenContentBlock = true;
|
|
6978
|
+
const phone = isPhone();
|
|
6969
6979
|
blocksFromHistory.forEach(row => {
|
|
6980
|
+
// Leave a block hidden on this device out before placement, so products fill its cells instead of a gap.
|
|
6981
|
+
if (!$3a2a35df91c580c6$export$894065271726d798(row.visibility, phone)) return;
|
|
6970
6982
|
const {
|
|
6971
6983
|
content: {
|
|
6972
6984
|
link: link,
|
package/server/latest/index.cjs
CHANGED
|
@@ -109,7 +109,7 @@ $parcel$export(module.exports, "BreadCrumbs", () => $1f4925833f07df29$export$5b7
|
|
|
109
109
|
$parcel$export(module.exports, "QuickLinks", () => $1f4925833f07df29$export$de035477d6fef996);
|
|
110
110
|
$parcel$export(module.exports, "CategoryPage", () => $14f289047713d67a$export$e2bf8ce7779e827e);
|
|
111
111
|
/*! Depict.ai search and product listing SDK */
|
|
112
|
-
const $b757f75811f3261f$export$83d89fbfd8236492 = "4.10.
|
|
112
|
+
const $b757f75811f3261f$export$83d89fbfd8236492 = "4.10.32";
|
|
113
113
|
function $b54e6192d0caa293$export$d9f36cf74e24d595(media_query) {
|
|
114
114
|
const signal = $5vyXB$solidjs.createSignal(false);
|
|
115
115
|
$5vyXB$solidjs.onCleanup($5vyXB$depictaiutilishared.javascript_media_query(media_query, ({
|
|
@@ -6633,6 +6633,14 @@ function $32c662f618f5d80d$export$780a853d15174484({
|
|
|
6633
6633
|
}
|
|
6634
6634
|
}));
|
|
6635
6635
|
}
|
|
6636
|
+
|
|
6637
|
+
/** Shopify Lite's storefront (theme-static depict-content-blocks.js) treats screens up to 990px wide as phones. */
|
|
6638
|
+
const $05b9da7b91793a99$export$1e15d45642067bf0 = "(max-width: 990px)";
|
|
6639
|
+
function $05b9da7b91793a99$export$894065271726d798(visibility, isPhone) {
|
|
6640
|
+
if (visibility === "desktop") return !isPhone;
|
|
6641
|
+
if (visibility === "mobile") return isPhone;
|
|
6642
|
+
return true;
|
|
6643
|
+
}
|
|
6636
6644
|
const $0a80939bf0a1e9cc$export$af2c67164f68e9e9 = (content, aspectRatio) => {
|
|
6637
6645
|
const {
|
|
6638
6646
|
link: link,
|
|
@@ -6648,6 +6656,7 @@ function $0a80939bf0a1e9cc$export$7a92d995f1bf3592(history_content_blocks_, plp_
|
|
|
6648
6656
|
let hasSeenContentBlock = false;
|
|
6649
6657
|
const [historyContentBlocks, setHistoryContentBlocks] = history_content_blocks_;
|
|
6650
6658
|
const contentComponents = new Map();
|
|
6659
|
+
const isPhone = $b54e6192d0caa293$export$d9f36cf74e24d595((0, $05b9da7b91793a99$export$1e15d45642067bf0));
|
|
6651
6660
|
const delayedServerBlocks = $5vyXB$solidjs.createMemo(prev => {
|
|
6652
6661
|
// Do not update the server blocks while the products request is loading, to avoid this: https://depictaiworkspace.slack.com/archives/C01JB6E7K7G/p1750861454651319
|
|
6653
6662
|
if (products_request_loading_()) return prev;
|
|
@@ -6673,7 +6682,10 @@ function $0a80939bf0a1e9cc$export$7a92d995f1bf3592(history_content_blocks_, plp_
|
|
|
6673
6682
|
if (!blocksFromHistory?.length && !hasSeenContentBlock) return developerProvided;
|
|
6674
6683
|
const content = [...(developerProvided || [])];
|
|
6675
6684
|
hasSeenContentBlock = true;
|
|
6685
|
+
const phone = isPhone();
|
|
6676
6686
|
blocksFromHistory.forEach(row => {
|
|
6687
|
+
// Leave a block hidden on this device out before placement, so products fill its cells instead of a gap.
|
|
6688
|
+
if (!$05b9da7b91793a99$export$894065271726d798(row.visibility, phone)) return;
|
|
6677
6689
|
const {
|
|
6678
6690
|
content: {
|
|
6679
6691
|
link: link,
|
package/server/latest/index.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ 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.10.
|
|
14
|
+
export const version = "4.10.32";
|
|
15
15
|
/**
|
|
16
16
|
* Use `javascript_media_query` but return a reactive accessor instead of taking a callback function
|
|
17
17
|
*/
|
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.10.
|
|
10
|
+
const $ec291e0010116877$export$83d89fbfd8236492 = "4.10.32";
|
|
11
11
|
function $dc9262ef6f786812$export$d9f36cf74e24d595(media_query) {
|
|
12
12
|
const signal = $i7OB2$createSignal(false);
|
|
13
13
|
$i7OB2$onCleanup($i7OB2$javascript_media_query(media_query, ({
|
|
@@ -6531,6 +6531,14 @@ function $f916989c4b1be9f7$export$780a853d15174484({
|
|
|
6531
6531
|
}
|
|
6532
6532
|
}));
|
|
6533
6533
|
}
|
|
6534
|
+
|
|
6535
|
+
/** Shopify Lite's storefront (theme-static depict-content-blocks.js) treats screens up to 990px wide as phones. */
|
|
6536
|
+
const $46de6aba0746da31$export$1e15d45642067bf0 = "(max-width: 990px)";
|
|
6537
|
+
function $46de6aba0746da31$export$894065271726d798(visibility, isPhone) {
|
|
6538
|
+
if (visibility === "desktop") return !isPhone;
|
|
6539
|
+
if (visibility === "mobile") return isPhone;
|
|
6540
|
+
return true;
|
|
6541
|
+
}
|
|
6534
6542
|
const $486360b09f0d5729$export$af2c67164f68e9e9 = (content, aspectRatio) => {
|
|
6535
6543
|
const {
|
|
6536
6544
|
link: link,
|
|
@@ -6546,6 +6554,7 @@ function $486360b09f0d5729$export$7a92d995f1bf3592(history_content_blocks_, plp_
|
|
|
6546
6554
|
let hasSeenContentBlock = false;
|
|
6547
6555
|
const [historyContentBlocks, setHistoryContentBlocks] = history_content_blocks_;
|
|
6548
6556
|
const contentComponents = new Map();
|
|
6557
|
+
const isPhone = $dc9262ef6f786812$export$d9f36cf74e24d595((0, $46de6aba0746da31$export$1e15d45642067bf0));
|
|
6549
6558
|
const delayedServerBlocks = $i7OB2$createMemo(prev => {
|
|
6550
6559
|
// Do not update the server blocks while the products request is loading, to avoid this: https://depictaiworkspace.slack.com/archives/C01JB6E7K7G/p1750861454651319
|
|
6551
6560
|
if (products_request_loading_()) return prev;
|
|
@@ -6571,7 +6580,10 @@ function $486360b09f0d5729$export$7a92d995f1bf3592(history_content_blocks_, plp_
|
|
|
6571
6580
|
if (!blocksFromHistory?.length && !hasSeenContentBlock) return developerProvided;
|
|
6572
6581
|
const content = [...(developerProvided || [])];
|
|
6573
6582
|
hasSeenContentBlock = true;
|
|
6583
|
+
const phone = isPhone();
|
|
6574
6584
|
blocksFromHistory.forEach(row => {
|
|
6585
|
+
// Leave a block hidden on this device out before placement, so products fill its cells instead of a gap.
|
|
6586
|
+
if (!$46de6aba0746da31$export$894065271726d798(row.visibility, phone)) return;
|
|
6575
6587
|
const {
|
|
6576
6588
|
content: {
|
|
6577
6589
|
link: link,
|