@depict-ai/ui 4.0.19 → 4.0.21
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 +3 -7
- package/ES10/index.d.ts +1 -1
- package/ES10/index.js +3 -7
- package/latest/index.cjs +3 -7
- package/latest/index.d.ts +1 -1
- package/latest/index.js +3 -7
- package/package.json +1 -1
- package/server/ES10/index.cjs +4 -5
- package/server/ES10/index.d.ts +1 -1
- package/server/ES10/index.js +4 -5
- package/server/latest/index.cjs +4 -5
- package/server/latest/index.d.ts +1 -1
- package/server/latest/index.js +4 -5
package/ES10/index.cjs
CHANGED
|
@@ -95,7 +95,7 @@ $parcel$export(module.exports, "defaultCategoryTitlePlugin", () => $33eed84f447a
|
|
|
95
95
|
$parcel$export(module.exports, "version", () => $aa1938dec50d6c12$export$83d89fbfd8236492);
|
|
96
96
|
$parcel$export(module.exports, "SearchField", () => $98aef9965764903d$export$316f6f283ae64765);
|
|
97
97
|
/*! Depict.ai search and product listing SDK */
|
|
98
|
-
const $aa1938dec50d6c12$export$83d89fbfd8236492 = "4.0.
|
|
98
|
+
const $aa1938dec50d6c12$export$83d89fbfd8236492 = "4.0.21";
|
|
99
99
|
|
|
100
100
|
/**
|
|
101
101
|
* Symbol used to identify the version of a SearchModal function. Values right now: 1 = 1st gen classic modal, 2 = second gen modal
|
|
@@ -1692,7 +1692,7 @@ let $c95c6dd9e93acd82$export$44dad306455dddf;
|
|
|
1692
1692
|
DEPICT_ID["PLP_CATEGORY"] = "depict-plp-category";
|
|
1693
1693
|
})($c95c6dd9e93acd82$export$44dad306455dddf || ($c95c6dd9e93acd82$export$44dad306455dddf = {}));
|
|
1694
1694
|
var $29e5dbeb69da7a36$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<button class=back type=button>`),
|
|
1695
|
-
$29e5dbeb69da7a36$var$_tmpl$2 = /*#__PURE__*/$52FdA$solidjsweb.template(`<div class=search-field><!$><!/><div class=field><input class=query tabindex=0><button type=button class=clear></button></div><button class="submit major"type=button>`);
|
|
1695
|
+
$29e5dbeb69da7a36$var$_tmpl$2 = /*#__PURE__*/$52FdA$solidjsweb.template(`<div class=search-field role=search><!$><!/><div class=field><input class=query tabindex=0><button type=button class=clear></button></div><button class="submit major"type=button>`);
|
|
1696
1696
|
function $29e5dbeb69da7a36$export$b94867ecbd698f21(_ref) {
|
|
1697
1697
|
let {
|
|
1698
1698
|
search_field_value_: search_field_value_,
|
|
@@ -2521,13 +2521,10 @@ var $ce467edb5343cfcd$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<div
|
|
|
2521
2521
|
function $ce467edb5343cfcd$export$94026ee33dbabc26(props) {
|
|
2522
2522
|
return (() => {
|
|
2523
2523
|
var _el$ = $52FdA$solidjsweb.getNextElement($ce467edb5343cfcd$var$_tmpl$);
|
|
2524
|
-
$52FdA$solidjsweb.classList(_el$, {
|
|
2525
|
-
["s-image-container"]: true
|
|
2526
|
-
});
|
|
2527
2524
|
$52FdA$solidjsweb.insert(_el$, () => props.children);
|
|
2528
2525
|
$52FdA$solidjsweb.effect(_p$ => {
|
|
2529
2526
|
var _v$ = "padding-bottom:calc(calc(1 / ".concat(props.aspectRatio, ") * 100%)"),
|
|
2530
|
-
_v$2 = props.class;
|
|
2527
|
+
_v$2 = "s-image-container" + (props.class ? " " + props.class : "");
|
|
2531
2528
|
_p$.e = $52FdA$solidjsweb.style(_el$, _v$, _p$.e);
|
|
2532
2529
|
_v$2 !== _p$.t && $52FdA$solidjsweb.className(_el$, _p$.t = _v$2);
|
|
2533
2530
|
return _p$;
|
|
@@ -13745,7 +13742,6 @@ function $a60bc7692ce52705$export$44f738469d5570cf(_ref) {
|
|
|
13745
13742
|
// This is very semi-scientific but I hope it works (seems to, albeit laggy see comment where this value gets used)
|
|
13746
13743
|
return fakeField.getBoundingClientRect().top;
|
|
13747
13744
|
});
|
|
13748
|
-
$52FdA$solidjs.createEffect(() => console.log("absoluteFieldTop", fakeField, absoluteFieldTop(), "changing", addedToBody));
|
|
13749
13745
|
const pxOffCenter = Math.abs($52FdA$solidjs.untrack(innerWidthReactive) / 2 - (left + width / 2));
|
|
13750
13746
|
const openDuration_ = pxOffCenter > 100 ? 250 : 125; // faster animations if little left-right movement
|
|
13751
13747
|
const closeDuration_ = pxOffCenter > 100 ? 150 : 100;
|
package/ES10/index.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ import { ProductListingRequestV3 } from "@depict-ai/types/api/ProductListingRequ
|
|
|
10
10
|
import { GetListingRequest } from "@depict-ai/types/api/GetListingRequest";
|
|
11
11
|
import { BaseSearchRequestV3 } from "@depict-ai/types/api/BaseSearchRequestV3";
|
|
12
12
|
import { SearchFilter as _SearchFilter2 } from "@depict-ai/types/api/SearchRequestV2";
|
|
13
|
-
export const version = "4.0.
|
|
13
|
+
export const version = "4.0.21";
|
|
14
14
|
/**
|
|
15
15
|
* Symbol used to identify the version of a SearchModal function. Values right now: 1 = 1st gen classic modal, 2 = second gen modal
|
|
16
16
|
*/
|
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.0.
|
|
13
|
+
const $8db9a15135765c11$export$83d89fbfd8236492 = "4.0.21";
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
16
|
* Symbol used to identify the version of a SearchModal function. Values right now: 1 = 1st gen classic modal, 2 = second gen modal
|
|
@@ -1607,7 +1607,7 @@ let $c3820807ac1e6fd7$export$44dad306455dddf;
|
|
|
1607
1607
|
DEPICT_ID["PLP_CATEGORY"] = "depict-plp-category";
|
|
1608
1608
|
})($c3820807ac1e6fd7$export$44dad306455dddf || ($c3820807ac1e6fd7$export$44dad306455dddf = {}));
|
|
1609
1609
|
var $584c06c09cf4609d$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<button class=back type=button>`),
|
|
1610
|
-
$584c06c09cf4609d$var$_tmpl$2 = /*#__PURE__*/$8tj43$template(`<div class=search-field><!$><!/><div class=field><input class=query tabindex=0><button type=button class=clear></button></div><button class="submit major"type=button>`);
|
|
1610
|
+
$584c06c09cf4609d$var$_tmpl$2 = /*#__PURE__*/$8tj43$template(`<div class=search-field role=search><!$><!/><div class=field><input class=query tabindex=0><button type=button class=clear></button></div><button class="submit major"type=button>`);
|
|
1611
1611
|
function $584c06c09cf4609d$export$b94867ecbd698f21(_ref) {
|
|
1612
1612
|
let {
|
|
1613
1613
|
search_field_value_: search_field_value_,
|
|
@@ -2436,13 +2436,10 @@ var $801e8845d3fa3653$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<div>`);
|
|
|
2436
2436
|
function $801e8845d3fa3653$export$94026ee33dbabc26(props) {
|
|
2437
2437
|
return (() => {
|
|
2438
2438
|
var _el$ = $8tj43$getNextElement($801e8845d3fa3653$var$_tmpl$);
|
|
2439
|
-
$8tj43$classList(_el$, {
|
|
2440
|
-
["s-image-container"]: true
|
|
2441
|
-
});
|
|
2442
2439
|
$8tj43$insert(_el$, () => props.children);
|
|
2443
2440
|
$8tj43$effect(_p$ => {
|
|
2444
2441
|
var _v$ = "padding-bottom:calc(calc(1 / ".concat(props.aspectRatio, ") * 100%)"),
|
|
2445
|
-
_v$2 = props.class;
|
|
2442
|
+
_v$2 = "s-image-container" + (props.class ? " " + props.class : "");
|
|
2446
2443
|
_p$.e = $8tj43$style(_el$, _v$, _p$.e);
|
|
2447
2444
|
_v$2 !== _p$.t && $8tj43$className(_el$, _p$.t = _v$2);
|
|
2448
2445
|
return _p$;
|
|
@@ -13660,7 +13657,6 @@ function $937791b86d3d1509$export$44f738469d5570cf(_ref) {
|
|
|
13660
13657
|
// This is very semi-scientific but I hope it works (seems to, albeit laggy see comment where this value gets used)
|
|
13661
13658
|
return fakeField.getBoundingClientRect().top;
|
|
13662
13659
|
});
|
|
13663
|
-
$8tj43$createEffect(() => console.log("absoluteFieldTop", fakeField, absoluteFieldTop(), "changing", addedToBody));
|
|
13664
13660
|
const pxOffCenter = Math.abs($8tj43$untrack(innerWidthReactive) / 2 - (left + width / 2));
|
|
13665
13661
|
const openDuration_ = pxOffCenter > 100 ? 250 : 125; // faster animations if little left-right movement
|
|
13666
13662
|
const closeDuration_ = pxOffCenter > 100 ? 150 : 100;
|
package/latest/index.cjs
CHANGED
|
@@ -89,7 +89,7 @@ $parcel$export(module.exports, "defaultCategoryTitlePlugin", () => $a3280f0aad99
|
|
|
89
89
|
$parcel$export(module.exports, "version", () => $b757f75811f3261f$export$83d89fbfd8236492);
|
|
90
90
|
$parcel$export(module.exports, "SearchField", () => $c0a0659cf97e8eb2$export$316f6f283ae64765);
|
|
91
91
|
/*! Depict.ai search and product listing SDK */
|
|
92
|
-
const $b757f75811f3261f$export$83d89fbfd8236492 = "4.0.
|
|
92
|
+
const $b757f75811f3261f$export$83d89fbfd8236492 = "4.0.21";
|
|
93
93
|
|
|
94
94
|
/**
|
|
95
95
|
* Symbol used to identify the version of a SearchModal function. Values right now: 1 = 1st gen classic modal, 2 = second gen modal
|
|
@@ -1611,7 +1611,7 @@ let $0b6e2070a98de347$export$44dad306455dddf;
|
|
|
1611
1611
|
DEPICT_ID["PLP_CATEGORY"] = "depict-plp-category";
|
|
1612
1612
|
})($0b6e2070a98de347$export$44dad306455dddf || ($0b6e2070a98de347$export$44dad306455dddf = {}));
|
|
1613
1613
|
var $66b8b9a9613c141d$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<button class=back type=button>`),
|
|
1614
|
-
$66b8b9a9613c141d$var$_tmpl$2 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div class=search-field><!$><!/><div class=field><input class=query tabindex=0><button type=button class=clear></button></div><button class="submit major"type=button>`);
|
|
1614
|
+
$66b8b9a9613c141d$var$_tmpl$2 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div class=search-field role=search><!$><!/><div class=field><input class=query tabindex=0><button type=button class=clear></button></div><button class="submit major"type=button>`);
|
|
1615
1615
|
function $66b8b9a9613c141d$export$b94867ecbd698f21({
|
|
1616
1616
|
search_field_value_: search_field_value_,
|
|
1617
1617
|
input_field_ref_: input_field_ref_,
|
|
@@ -2414,13 +2414,10 @@ var $93304d59a9747aa6$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div
|
|
|
2414
2414
|
function $93304d59a9747aa6$export$94026ee33dbabc26(props) {
|
|
2415
2415
|
return (() => {
|
|
2416
2416
|
var _el$ = $gVhhF$solidjsweb.getNextElement($93304d59a9747aa6$var$_tmpl$);
|
|
2417
|
-
$gVhhF$solidjsweb.classList(_el$, {
|
|
2418
|
-
["s-image-container"]: true
|
|
2419
|
-
});
|
|
2420
2417
|
$gVhhF$solidjsweb.insert(_el$, () => props.children);
|
|
2421
2418
|
$gVhhF$solidjsweb.effect(_p$ => {
|
|
2422
2419
|
var _v$ = `padding-bottom:calc(calc(1 / ${props.aspectRatio}) * 100%)`,
|
|
2423
|
-
_v$2 = props.class;
|
|
2420
|
+
_v$2 = "s-image-container" + (props.class ? " " + props.class : "");
|
|
2424
2421
|
_p$.e = $gVhhF$solidjsweb.style(_el$, _v$, _p$.e);
|
|
2425
2422
|
_v$2 !== _p$.t && $gVhhF$solidjsweb.className(_el$, _p$.t = _v$2);
|
|
2426
2423
|
return _p$;
|
|
@@ -12918,7 +12915,6 @@ function $5cbaffcb5602e671$export$44f738469d5570cf({
|
|
|
12918
12915
|
// This is very semi-scientific but I hope it works (seems to, albeit laggy see comment where this value gets used)
|
|
12919
12916
|
return fakeField.getBoundingClientRect().top;
|
|
12920
12917
|
});
|
|
12921
|
-
$gVhhF$solidjs.createEffect(() => console.log("absoluteFieldTop", fakeField, absoluteFieldTop(), "changing", addedToBody));
|
|
12922
12918
|
const pxOffCenter = Math.abs($gVhhF$solidjs.untrack(innerWidthReactive) / 2 - (left + width / 2));
|
|
12923
12919
|
const openDuration_ = pxOffCenter > 100 ? 250 : 125; // faster animations if little left-right movement
|
|
12924
12920
|
const closeDuration_ = pxOffCenter > 100 ? 150 : 100;
|
package/latest/index.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ import { ProductListingRequestV3 } from "@depict-ai/types/api/ProductListingRequ
|
|
|
10
10
|
import { GetListingRequest } from "@depict-ai/types/api/GetListingRequest";
|
|
11
11
|
import { BaseSearchRequestV3 } from "@depict-ai/types/api/BaseSearchRequestV3";
|
|
12
12
|
import { SearchFilter as _SearchFilter2 } from "@depict-ai/types/api/SearchRequestV2";
|
|
13
|
-
export const version = "4.0.
|
|
13
|
+
export const version = "4.0.21";
|
|
14
14
|
/**
|
|
15
15
|
* Symbol used to identify the version of a SearchModal function. Values right now: 1 = 1st gen classic modal, 2 = second gen modal
|
|
16
16
|
*/
|
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.0.
|
|
10
|
+
const $ec291e0010116877$export$83d89fbfd8236492 = "4.0.21";
|
|
11
11
|
|
|
12
12
|
/**
|
|
13
13
|
* Symbol used to identify the version of a SearchModal function. Values right now: 1 = 1st gen classic modal, 2 = second gen modal
|
|
@@ -1529,7 +1529,7 @@ let $f86ba724282f6690$export$44dad306455dddf;
|
|
|
1529
1529
|
DEPICT_ID["PLP_CATEGORY"] = "depict-plp-category";
|
|
1530
1530
|
})($f86ba724282f6690$export$44dad306455dddf || ($f86ba724282f6690$export$44dad306455dddf = {}));
|
|
1531
1531
|
var $5285d2814d0fac0c$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<button class=back type=button>`),
|
|
1532
|
-
$5285d2814d0fac0c$var$_tmpl$2 = /*#__PURE__*/$9HbP8$template(`<div class=search-field><!$><!/><div class=field><input class=query tabindex=0><button type=button class=clear></button></div><button class="submit major"type=button>`);
|
|
1532
|
+
$5285d2814d0fac0c$var$_tmpl$2 = /*#__PURE__*/$9HbP8$template(`<div class=search-field role=search><!$><!/><div class=field><input class=query tabindex=0><button type=button class=clear></button></div><button class="submit major"type=button>`);
|
|
1533
1533
|
function $5285d2814d0fac0c$export$b94867ecbd698f21({
|
|
1534
1534
|
search_field_value_: search_field_value_,
|
|
1535
1535
|
input_field_ref_: input_field_ref_,
|
|
@@ -2332,13 +2332,10 @@ var $f18d425032111270$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<div>`);
|
|
|
2332
2332
|
function $f18d425032111270$export$94026ee33dbabc26(props) {
|
|
2333
2333
|
return (() => {
|
|
2334
2334
|
var _el$ = $9HbP8$getNextElement($f18d425032111270$var$_tmpl$);
|
|
2335
|
-
$9HbP8$classList(_el$, {
|
|
2336
|
-
["s-image-container"]: true
|
|
2337
|
-
});
|
|
2338
2335
|
$9HbP8$insert(_el$, () => props.children);
|
|
2339
2336
|
$9HbP8$effect(_p$ => {
|
|
2340
2337
|
var _v$ = `padding-bottom:calc(calc(1 / ${props.aspectRatio}) * 100%)`,
|
|
2341
|
-
_v$2 = props.class;
|
|
2338
|
+
_v$2 = "s-image-container" + (props.class ? " " + props.class : "");
|
|
2342
2339
|
_p$.e = $9HbP8$style(_el$, _v$, _p$.e);
|
|
2343
2340
|
_v$2 !== _p$.t && $9HbP8$className(_el$, _p$.t = _v$2);
|
|
2344
2341
|
return _p$;
|
|
@@ -12836,7 +12833,6 @@ function $0e562a5b247b1fc2$export$44f738469d5570cf({
|
|
|
12836
12833
|
// This is very semi-scientific but I hope it works (seems to, albeit laggy see comment where this value gets used)
|
|
12837
12834
|
return fakeField.getBoundingClientRect().top;
|
|
12838
12835
|
});
|
|
12839
|
-
$9HbP8$createEffect(() => console.log("absoluteFieldTop", fakeField, absoluteFieldTop(), "changing", addedToBody));
|
|
12840
12836
|
const pxOffCenter = Math.abs($9HbP8$untrack(innerWidthReactive) / 2 - (left + width / 2));
|
|
12841
12837
|
const openDuration_ = pxOffCenter > 100 ? 250 : 125; // faster animations if little left-right movement
|
|
12842
12838
|
const closeDuration_ = pxOffCenter > 100 ? 150 : 100;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@depict-ai/ui",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.21",
|
|
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
|
@@ -95,7 +95,7 @@ $parcel$export(module.exports, "defaultCategoryTitlePlugin", () => $33eed84f447a
|
|
|
95
95
|
$parcel$export(module.exports, "version", () => $aa1938dec50d6c12$export$83d89fbfd8236492);
|
|
96
96
|
$parcel$export(module.exports, "SearchField", () => $98aef9965764903d$export$316f6f283ae64765);
|
|
97
97
|
/*! Depict.ai search and product listing SDK */
|
|
98
|
-
const $aa1938dec50d6c12$export$83d89fbfd8236492 = "4.0.
|
|
98
|
+
const $aa1938dec50d6c12$export$83d89fbfd8236492 = "4.0.21";
|
|
99
99
|
|
|
100
100
|
/**
|
|
101
101
|
* Symbol used to identify the version of a SearchModal function. Values right now: 1 = 1st gen classic modal, 2 = second gen modal
|
|
@@ -1373,7 +1373,7 @@ let $c95c6dd9e93acd82$export$44dad306455dddf;
|
|
|
1373
1373
|
DEPICT_ID["PLP_CATEGORY"] = "depict-plp-category";
|
|
1374
1374
|
})($c95c6dd9e93acd82$export$44dad306455dddf || ($c95c6dd9e93acd82$export$44dad306455dddf = {}));
|
|
1375
1375
|
var $29e5dbeb69da7a36$var$_tmpl$ = ["<button", ' class="back" type="button"', ">", "</button>"],
|
|
1376
|
-
$29e5dbeb69da7a36$var$_tmpl$2 = ["<div", ' class="search-field"><!--$-->', '<!--/--><div class="field"><input class="', '" tabindex="0"', '><button type="button" class="clear"', ' style="', '">', "</button></div>", "</div>"];
|
|
1376
|
+
$29e5dbeb69da7a36$var$_tmpl$2 = ["<div", ' class="search-field" role="search"><!--$-->', '<!--/--><div class="field"><input class="', '" tabindex="0"', '><button type="button" class="clear"', ' style="', '">', "</button></div>", "</div>"];
|
|
1377
1377
|
function $29e5dbeb69da7a36$export$b94867ecbd698f21(_ref) {
|
|
1378
1378
|
let {
|
|
1379
1379
|
search_field_value_: search_field_value_,
|
|
@@ -1961,9 +1961,9 @@ function $1c819dc9d820a149$export$5646050d516e06bc(_ref) {
|
|
|
1961
1961
|
}
|
|
1962
1962
|
});
|
|
1963
1963
|
}
|
|
1964
|
-
var $ce467edb5343cfcd$var$_tmpl$ = ["<div", '
|
|
1964
|
+
var $ce467edb5343cfcd$var$_tmpl$ = ["<div", ' style="', '"', ">", "</div>"];
|
|
1965
1965
|
function $ce467edb5343cfcd$export$94026ee33dbabc26(props) {
|
|
1966
|
-
return $3hooq$solidjsweb.ssr($ce467edb5343cfcd$var$_tmpl$, $3hooq$solidjsweb.ssrHydrationKey(),
|
|
1966
|
+
return $3hooq$solidjsweb.ssr($ce467edb5343cfcd$var$_tmpl$, $3hooq$solidjsweb.ssrHydrationKey(), $3hooq$solidjsweb.ssrStyle("padding-bottom:calc(calc(1 / ".concat(props.aspectRatio, ") * 100%)")), $3hooq$solidjsweb.ssrAttribute("class", "s-image-container" + (props.class ? " " + $3hooq$solidjsweb.escape(props.class, true) : ""), false), $3hooq$solidjsweb.escape(props.children));
|
|
1967
1967
|
}
|
|
1968
1968
|
let $e4e98e5080f4386e$var$browserIsBugged = false;
|
|
1969
1969
|
function $e4e98e5080f4386e$export$2972b890694ced75(callback, _ref) {
|
|
@@ -11302,7 +11302,6 @@ function $a60bc7692ce52705$export$44f738469d5570cf(_ref) {
|
|
|
11302
11302
|
// This is very semi-scientific but I hope it works (seems to, albeit laggy see comment where this value gets used)
|
|
11303
11303
|
return fakeField.getBoundingClientRect().top;
|
|
11304
11304
|
});
|
|
11305
|
-
$3hooq$solidjs.createEffect(() => console.log("absoluteFieldTop", fakeField, absoluteFieldTop(), "changing", addedToBody));
|
|
11306
11305
|
const pxOffCenter = Math.abs($3hooq$solidjs.untrack(innerWidthReactive) / 2 - (left + width / 2));
|
|
11307
11306
|
const openDuration_ = pxOffCenter > 100 ? 250 : 125; // faster animations if little left-right movement
|
|
11308
11307
|
const closeDuration_ = pxOffCenter > 100 ? 150 : 100;
|
package/server/ES10/index.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ import { ProductListingRequestV3 } from "@depict-ai/types/api/ProductListingRequ
|
|
|
10
10
|
import { GetListingRequest } from "@depict-ai/types/api/GetListingRequest";
|
|
11
11
|
import { BaseSearchRequestV3 } from "@depict-ai/types/api/BaseSearchRequestV3";
|
|
12
12
|
import { SearchFilter as _SearchFilter2 } from "@depict-ai/types/api/SearchRequestV2";
|
|
13
|
-
export const version = "4.0.
|
|
13
|
+
export const version = "4.0.21";
|
|
14
14
|
/**
|
|
15
15
|
* Symbol used to identify the version of a SearchModal function. Values right now: 1 = 1st gen classic modal, 2 = second gen modal
|
|
16
16
|
*/
|
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.0.
|
|
13
|
+
const $8db9a15135765c11$export$83d89fbfd8236492 = "4.0.21";
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
16
|
* Symbol used to identify the version of a SearchModal function. Values right now: 1 = 1st gen classic modal, 2 = second gen modal
|
|
@@ -1288,7 +1288,7 @@ let $c3820807ac1e6fd7$export$44dad306455dddf;
|
|
|
1288
1288
|
DEPICT_ID["PLP_CATEGORY"] = "depict-plp-category";
|
|
1289
1289
|
})($c3820807ac1e6fd7$export$44dad306455dddf || ($c3820807ac1e6fd7$export$44dad306455dddf = {}));
|
|
1290
1290
|
var $584c06c09cf4609d$var$_tmpl$ = ["<button", ' class="back" type="button"', ">", "</button>"],
|
|
1291
|
-
$584c06c09cf4609d$var$_tmpl$2 = ["<div", ' class="search-field"><!--$-->', '<!--/--><div class="field"><input class="', '" tabindex="0"', '><button type="button" class="clear"', ' style="', '">', "</button></div>", "</div>"];
|
|
1291
|
+
$584c06c09cf4609d$var$_tmpl$2 = ["<div", ' class="search-field" role="search"><!--$-->', '<!--/--><div class="field"><input class="', '" tabindex="0"', '><button type="button" class="clear"', ' style="', '">', "</button></div>", "</div>"];
|
|
1292
1292
|
function $584c06c09cf4609d$export$b94867ecbd698f21(_ref) {
|
|
1293
1293
|
let {
|
|
1294
1294
|
search_field_value_: search_field_value_,
|
|
@@ -1876,9 +1876,9 @@ function $52efc9ae4382e25a$export$5646050d516e06bc(_ref) {
|
|
|
1876
1876
|
}
|
|
1877
1877
|
});
|
|
1878
1878
|
}
|
|
1879
|
-
var $801e8845d3fa3653$var$_tmpl$ = ["<div", '
|
|
1879
|
+
var $801e8845d3fa3653$var$_tmpl$ = ["<div", ' style="', '"', ">", "</div>"];
|
|
1880
1880
|
function $801e8845d3fa3653$export$94026ee33dbabc26(props) {
|
|
1881
|
-
return $b8hua$ssr($801e8845d3fa3653$var$_tmpl$, $b8hua$ssrHydrationKey(),
|
|
1881
|
+
return $b8hua$ssr($801e8845d3fa3653$var$_tmpl$, $b8hua$ssrHydrationKey(), $b8hua$ssrStyle("padding-bottom:calc(calc(1 / ".concat(props.aspectRatio, ") * 100%)")), $b8hua$ssrAttribute("class", "s-image-container" + (props.class ? " " + $b8hua$escape(props.class, true) : ""), false), $b8hua$escape(props.children));
|
|
1882
1882
|
}
|
|
1883
1883
|
let $6db93f70c2db1486$var$browserIsBugged = false;
|
|
1884
1884
|
function $6db93f70c2db1486$export$2972b890694ced75(callback, _ref) {
|
|
@@ -11217,7 +11217,6 @@ function $937791b86d3d1509$export$44f738469d5570cf(_ref) {
|
|
|
11217
11217
|
// This is very semi-scientific but I hope it works (seems to, albeit laggy see comment where this value gets used)
|
|
11218
11218
|
return fakeField.getBoundingClientRect().top;
|
|
11219
11219
|
});
|
|
11220
|
-
$b8hua$createEffect(() => console.log("absoluteFieldTop", fakeField, absoluteFieldTop(), "changing", addedToBody));
|
|
11221
11220
|
const pxOffCenter = Math.abs($b8hua$untrack(innerWidthReactive) / 2 - (left + width / 2));
|
|
11222
11221
|
const openDuration_ = pxOffCenter > 100 ? 250 : 125; // faster animations if little left-right movement
|
|
11223
11222
|
const closeDuration_ = pxOffCenter > 100 ? 150 : 100;
|
package/server/latest/index.cjs
CHANGED
|
@@ -89,7 +89,7 @@ $parcel$export(module.exports, "defaultCategoryTitlePlugin", () => $a3280f0aad99
|
|
|
89
89
|
$parcel$export(module.exports, "version", () => $b757f75811f3261f$export$83d89fbfd8236492);
|
|
90
90
|
$parcel$export(module.exports, "SearchField", () => $c0a0659cf97e8eb2$export$316f6f283ae64765);
|
|
91
91
|
/*! Depict.ai search and product listing SDK */
|
|
92
|
-
const $b757f75811f3261f$export$83d89fbfd8236492 = "4.0.
|
|
92
|
+
const $b757f75811f3261f$export$83d89fbfd8236492 = "4.0.21";
|
|
93
93
|
|
|
94
94
|
/**
|
|
95
95
|
* Symbol used to identify the version of a SearchModal function. Values right now: 1 = 1st gen classic modal, 2 = second gen modal
|
|
@@ -1297,7 +1297,7 @@ let $0b6e2070a98de347$export$44dad306455dddf;
|
|
|
1297
1297
|
DEPICT_ID["PLP_CATEGORY"] = "depict-plp-category";
|
|
1298
1298
|
})($0b6e2070a98de347$export$44dad306455dddf || ($0b6e2070a98de347$export$44dad306455dddf = {}));
|
|
1299
1299
|
var $66b8b9a9613c141d$var$_tmpl$ = ["<button", ' class="back" type="button"', ">", "</button>"],
|
|
1300
|
-
$66b8b9a9613c141d$var$_tmpl$2 = ["<div", ' class="search-field"><!--$-->', '<!--/--><div class="field"><input class="', '" tabindex="0"', '><button type="button" class="clear"', ' style="', '">', "</button></div>", "</div>"];
|
|
1300
|
+
$66b8b9a9613c141d$var$_tmpl$2 = ["<div", ' class="search-field" role="search"><!--$-->', '<!--/--><div class="field"><input class="', '" tabindex="0"', '><button type="button" class="clear"', ' style="', '">', "</button></div>", "</div>"];
|
|
1301
1301
|
function $66b8b9a9613c141d$export$b94867ecbd698f21({
|
|
1302
1302
|
search_field_value_: search_field_value_,
|
|
1303
1303
|
input_field_ref_: input_field_ref_,
|
|
@@ -1868,9 +1868,9 @@ function $e53b2e7e632ac4cb$export$5646050d516e06bc({
|
|
|
1868
1868
|
}
|
|
1869
1869
|
});
|
|
1870
1870
|
}
|
|
1871
|
-
var $93304d59a9747aa6$var$_tmpl$ = ["<div", '
|
|
1871
|
+
var $93304d59a9747aa6$var$_tmpl$ = ["<div", ' style="', '"', ">", "</div>"];
|
|
1872
1872
|
function $93304d59a9747aa6$export$94026ee33dbabc26(props) {
|
|
1873
|
-
return $5vyXB$solidjsweb.ssr($93304d59a9747aa6$var$_tmpl$, $5vyXB$solidjsweb.ssrHydrationKey(),
|
|
1873
|
+
return $5vyXB$solidjsweb.ssr($93304d59a9747aa6$var$_tmpl$, $5vyXB$solidjsweb.ssrHydrationKey(), $5vyXB$solidjsweb.ssrStyle(`padding-bottom:calc(calc(1 / ${props.aspectRatio}) * 100%)`), $5vyXB$solidjsweb.ssrAttribute("class", "s-image-container" + (props.class ? " " + $5vyXB$solidjsweb.escape(props.class, true) : ""), false), $5vyXB$solidjsweb.escape(props.children));
|
|
1874
1874
|
}
|
|
1875
1875
|
let $3ea8e0af95b5b7d2$var$browserIsBugged = false;
|
|
1876
1876
|
function $3ea8e0af95b5b7d2$export$2972b890694ced75(callback, {
|
|
@@ -10547,7 +10547,6 @@ function $5cbaffcb5602e671$export$44f738469d5570cf({
|
|
|
10547
10547
|
// This is very semi-scientific but I hope it works (seems to, albeit laggy see comment where this value gets used)
|
|
10548
10548
|
return fakeField.getBoundingClientRect().top;
|
|
10549
10549
|
});
|
|
10550
|
-
$5vyXB$solidjs.createEffect(() => console.log("absoluteFieldTop", fakeField, absoluteFieldTop(), "changing", addedToBody));
|
|
10551
10550
|
const pxOffCenter = Math.abs($5vyXB$solidjs.untrack(innerWidthReactive) / 2 - (left + width / 2));
|
|
10552
10551
|
const openDuration_ = pxOffCenter > 100 ? 250 : 125; // faster animations if little left-right movement
|
|
10553
10552
|
const closeDuration_ = pxOffCenter > 100 ? 150 : 100;
|
package/server/latest/index.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ import { ProductListingRequestV3 } from "@depict-ai/types/api/ProductListingRequ
|
|
|
10
10
|
import { GetListingRequest } from "@depict-ai/types/api/GetListingRequest";
|
|
11
11
|
import { BaseSearchRequestV3 } from "@depict-ai/types/api/BaseSearchRequestV3";
|
|
12
12
|
import { SearchFilter as _SearchFilter2 } from "@depict-ai/types/api/SearchRequestV2";
|
|
13
|
-
export const version = "4.0.
|
|
13
|
+
export const version = "4.0.21";
|
|
14
14
|
/**
|
|
15
15
|
* Symbol used to identify the version of a SearchModal function. Values right now: 1 = 1st gen classic modal, 2 = second gen modal
|
|
16
16
|
*/
|
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.0.
|
|
10
|
+
const $ec291e0010116877$export$83d89fbfd8236492 = "4.0.21";
|
|
11
11
|
|
|
12
12
|
/**
|
|
13
13
|
* Symbol used to identify the version of a SearchModal function. Values right now: 1 = 1st gen classic modal, 2 = second gen modal
|
|
@@ -1215,7 +1215,7 @@ let $f86ba724282f6690$export$44dad306455dddf;
|
|
|
1215
1215
|
DEPICT_ID["PLP_CATEGORY"] = "depict-plp-category";
|
|
1216
1216
|
})($f86ba724282f6690$export$44dad306455dddf || ($f86ba724282f6690$export$44dad306455dddf = {}));
|
|
1217
1217
|
var $5285d2814d0fac0c$var$_tmpl$ = ["<button", ' class="back" type="button"', ">", "</button>"],
|
|
1218
|
-
$5285d2814d0fac0c$var$_tmpl$2 = ["<div", ' class="search-field"><!--$-->', '<!--/--><div class="field"><input class="', '" tabindex="0"', '><button type="button" class="clear"', ' style="', '">', "</button></div>", "</div>"];
|
|
1218
|
+
$5285d2814d0fac0c$var$_tmpl$2 = ["<div", ' class="search-field" role="search"><!--$-->', '<!--/--><div class="field"><input class="', '" tabindex="0"', '><button type="button" class="clear"', ' style="', '">', "</button></div>", "</div>"];
|
|
1219
1219
|
function $5285d2814d0fac0c$export$b94867ecbd698f21({
|
|
1220
1220
|
search_field_value_: search_field_value_,
|
|
1221
1221
|
input_field_ref_: input_field_ref_,
|
|
@@ -1786,9 +1786,9 @@ function $dfa5b6f7c5e421df$export$5646050d516e06bc({
|
|
|
1786
1786
|
}
|
|
1787
1787
|
});
|
|
1788
1788
|
}
|
|
1789
|
-
var $f18d425032111270$var$_tmpl$ = ["<div", '
|
|
1789
|
+
var $f18d425032111270$var$_tmpl$ = ["<div", ' style="', '"', ">", "</div>"];
|
|
1790
1790
|
function $f18d425032111270$export$94026ee33dbabc26(props) {
|
|
1791
|
-
return $i7OB2$ssr($f18d425032111270$var$_tmpl$, $i7OB2$ssrHydrationKey(),
|
|
1791
|
+
return $i7OB2$ssr($f18d425032111270$var$_tmpl$, $i7OB2$ssrHydrationKey(), $i7OB2$ssrStyle(`padding-bottom:calc(calc(1 / ${props.aspectRatio}) * 100%)`), $i7OB2$ssrAttribute("class", "s-image-container" + (props.class ? " " + $i7OB2$escape(props.class, true) : ""), false), $i7OB2$escape(props.children));
|
|
1792
1792
|
}
|
|
1793
1793
|
let $4ea56971d92eb0cd$var$browserIsBugged = false;
|
|
1794
1794
|
function $4ea56971d92eb0cd$export$2972b890694ced75(callback, {
|
|
@@ -10465,7 +10465,6 @@ function $0e562a5b247b1fc2$export$44f738469d5570cf({
|
|
|
10465
10465
|
// This is very semi-scientific but I hope it works (seems to, albeit laggy see comment where this value gets used)
|
|
10466
10466
|
return fakeField.getBoundingClientRect().top;
|
|
10467
10467
|
});
|
|
10468
|
-
$i7OB2$createEffect(() => console.log("absoluteFieldTop", fakeField, absoluteFieldTop(), "changing", addedToBody));
|
|
10469
10468
|
const pxOffCenter = Math.abs($i7OB2$untrack(innerWidthReactive) / 2 - (left + width / 2));
|
|
10470
10469
|
const openDuration_ = pxOffCenter > 100 ? 250 : 125; // faster animations if little left-right movement
|
|
10471
10470
|
const closeDuration_ = pxOffCenter > 100 ? 150 : 100;
|