@depict-ai/ui 1.4.21 → 1.4.22
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 +4 -1
- package/ES10/index.d.ts +1 -1
- package/ES10/index.js +4 -1
- package/latest/index.cjs +4 -1
- package/latest/index.d.ts +1 -1
- package/latest/index.js +4 -1
- package/package.json +1 -1
- package/server/ES10/index.cjs +4 -1
- package/server/ES10/index.d.ts +1 -1
- package/server/ES10/index.js +4 -1
- package/server/latest/index.cjs +4 -1
- package/server/latest/index.d.ts +1 -1
- package/server/latest/index.js +4 -1
package/ES10/index.cjs
CHANGED
|
@@ -64,7 +64,7 @@ $parcel$export(module.exports, "defaultColsAtSize", () => $33eed84f447aa0c0$expo
|
|
|
64
64
|
$parcel$export(module.exports, "defaultCategoryTitlePlugin", () => $33eed84f447aa0c0$export$7bf543b9d9be2c22);
|
|
65
65
|
$parcel$export(module.exports, "version", () => $aa1938dec50d6c12$export$83d89fbfd8236492);
|
|
66
66
|
/*! Depict.ai search and product listing SDK */
|
|
67
|
-
const $aa1938dec50d6c12$export$83d89fbfd8236492 = "1.4.
|
|
67
|
+
const $aa1938dec50d6c12$export$83d89fbfd8236492 = "1.4.22";
|
|
68
68
|
const $858fdcf73148519f$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<img>`, 1);
|
|
69
69
|
function $858fdcf73148519f$export$e6fffe67d4cdd848(whatToWatch) {
|
|
70
70
|
const [size, setSize] = $52FdA$solidjs.createSignal(0);
|
|
@@ -3924,6 +3924,7 @@ function $19438fea513c9d01$export$5e4aed86c12acdd9(_ref) {
|
|
|
3924
3924
|
last_loaded = +new Date();
|
|
3925
3925
|
is_first_load = true;
|
|
3926
3926
|
});
|
|
3927
|
+
// percentage_in_view_ has equals: false so it should update even when set to the same value. That is to make sure that if the user bounces around below the "viewport" of our product listing we still start fetching as soon as is_loading_more becomes false again and we get IntersectionObserverEntries
|
|
3927
3928
|
$52FdA$solidjs.createEffect($52FdA$depictaiutilishared.catchify(async () => {
|
|
3928
3929
|
const be_above_percentage = is_first_load ? 50 : 75; // if first load, load earlier
|
|
3929
3930
|
if (percentage_in_view_() < be_above_percentage || is_loading_more) return;
|
|
@@ -3996,6 +3997,8 @@ function $45c16e404a883f74$export$63dd0350f8559dda(_ref) {
|
|
|
3996
3997
|
// No product card in view and not after last card, assume first card
|
|
3997
3998
|
return 0;
|
|
3998
3999
|
return last / displays_by_key_().size * 100;
|
|
4000
|
+
}, undefined, {
|
|
4001
|
+
equals: false
|
|
3999
4002
|
});
|
|
4000
4003
|
}
|
|
4001
4004
|
|
package/ES10/index.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ import { CategorySuggestion, SearchSuggestionsResponse } from "@depict-ai/types/
|
|
|
7
7
|
import { BaseSearchRequest } from "@depict-ai/types/api/BaseSearchRequest";
|
|
8
8
|
import { SearchSuggestionsRequest } from "@depict-ai/types/api/SearchSuggestionsRequest";
|
|
9
9
|
import { ProductListingRequest } from "@depict-ai/types/api/ProductListingRequest";
|
|
10
|
-
export const version = "1.4.
|
|
10
|
+
export const version = "1.4.22";
|
|
11
11
|
/**
|
|
12
12
|
* Returns an accessor that will update when the size of the provided element changes, to be used with ResponsiveImg
|
|
13
13
|
*/
|
package/ES10/index.js
CHANGED
|
@@ -8,7 +8,7 @@ import $8tj43$babelruntimehelpersdefineProperty from "@babel/runtime/helpers/def
|
|
|
8
8
|
/*! Depict.ai search and product listing SDK */
|
|
9
9
|
import { register_es_version } from "../multi_import_deduplicator.mjs";
|
|
10
10
|
register_es_version("ui", "ES10");
|
|
11
|
-
const $8db9a15135765c11$export$83d89fbfd8236492 = "1.4.
|
|
11
|
+
const $8db9a15135765c11$export$83d89fbfd8236492 = "1.4.22";
|
|
12
12
|
const $56047603f9d212b6$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<img>`, 1);
|
|
13
13
|
function $56047603f9d212b6$export$e6fffe67d4cdd848(whatToWatch) {
|
|
14
14
|
const [size, setSize] = $8tj43$createSignal(0);
|
|
@@ -3868,6 +3868,7 @@ function $6d2962bc9370f884$export$5e4aed86c12acdd9(_ref) {
|
|
|
3868
3868
|
last_loaded = +new Date();
|
|
3869
3869
|
is_first_load = true;
|
|
3870
3870
|
});
|
|
3871
|
+
// percentage_in_view_ has equals: false so it should update even when set to the same value. That is to make sure that if the user bounces around below the "viewport" of our product listing we still start fetching as soon as is_loading_more becomes false again and we get IntersectionObserverEntries
|
|
3871
3872
|
$8tj43$createEffect($8tj43$catchify(async () => {
|
|
3872
3873
|
const be_above_percentage = is_first_load ? 50 : 75; // if first load, load earlier
|
|
3873
3874
|
if (percentage_in_view_() < be_above_percentage || is_loading_more) return;
|
|
@@ -3940,6 +3941,8 @@ function $e6dd9dfff4603d8c$export$63dd0350f8559dda(_ref) {
|
|
|
3940
3941
|
// No product card in view and not after last card, assume first card
|
|
3941
3942
|
return 0;
|
|
3942
3943
|
return last / displays_by_key_().size * 100;
|
|
3944
|
+
}, undefined, {
|
|
3945
|
+
equals: false
|
|
3943
3946
|
});
|
|
3944
3947
|
}
|
|
3945
3948
|
|
package/latest/index.cjs
CHANGED
|
@@ -58,7 +58,7 @@ $parcel$export(module.exports, "defaultColsAtSize", () => $a3280f0aad997933$expo
|
|
|
58
58
|
$parcel$export(module.exports, "defaultCategoryTitlePlugin", () => $a3280f0aad997933$export$7bf543b9d9be2c22);
|
|
59
59
|
$parcel$export(module.exports, "version", () => $b757f75811f3261f$export$83d89fbfd8236492);
|
|
60
60
|
/*! Depict.ai search and product listing SDK */
|
|
61
|
-
const $b757f75811f3261f$export$83d89fbfd8236492 = "1.4.
|
|
61
|
+
const $b757f75811f3261f$export$83d89fbfd8236492 = "1.4.22";
|
|
62
62
|
const $19950faaac026e09$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<img>`, 1);
|
|
63
63
|
function $19950faaac026e09$export$e6fffe67d4cdd848(whatToWatch) {
|
|
64
64
|
const [size, setSize] = $gVhhF$solidjs.createSignal(0);
|
|
@@ -3630,6 +3630,7 @@ function $3f08fe2992a2a8ca$export$5e4aed86c12acdd9({
|
|
|
3630
3630
|
last_loaded = +new Date();
|
|
3631
3631
|
is_first_load = true;
|
|
3632
3632
|
});
|
|
3633
|
+
// percentage_in_view_ has equals: false so it should update even when set to the same value. That is to make sure that if the user bounces around below the "viewport" of our product listing we still start fetching as soon as is_loading_more becomes false again and we get IntersectionObserverEntries
|
|
3633
3634
|
$gVhhF$solidjs.createEffect($gVhhF$depictaiutilishared.catchify(async () => {
|
|
3634
3635
|
const be_above_percentage = is_first_load ? 50 : 75; // if first load, load earlier
|
|
3635
3636
|
if (percentage_in_view_() < be_above_percentage || is_loading_more) return;
|
|
@@ -3701,6 +3702,8 @@ function $4117463e2939f5f4$export$63dd0350f8559dda({
|
|
|
3701
3702
|
// No product card in view and not after last card, assume first card
|
|
3702
3703
|
return 0;
|
|
3703
3704
|
return last / displays_by_key_().size * 100;
|
|
3705
|
+
}, undefined, {
|
|
3706
|
+
equals: false
|
|
3704
3707
|
});
|
|
3705
3708
|
}
|
|
3706
3709
|
|
package/latest/index.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ import { CategorySuggestion, SearchSuggestionsResponse } from "@depict-ai/types/
|
|
|
7
7
|
import { BaseSearchRequest } from "@depict-ai/types/api/BaseSearchRequest";
|
|
8
8
|
import { SearchSuggestionsRequest } from "@depict-ai/types/api/SearchSuggestionsRequest";
|
|
9
9
|
import { ProductListingRequest } from "@depict-ai/types/api/ProductListingRequest";
|
|
10
|
-
export const version = "1.4.
|
|
10
|
+
export const version = "1.4.22";
|
|
11
11
|
/**
|
|
12
12
|
* Returns an accessor that will update when the size of the provided element changes, to be used with ResponsiveImg
|
|
13
13
|
*/
|
package/latest/index.js
CHANGED
|
@@ -5,7 +5,7 @@ import { createSignal as $9HbP8$createSignal, onCleanup as $9HbP8$onCleanup, Err
|
|
|
5
5
|
/*! Depict.ai search and product listing SDK */
|
|
6
6
|
import { register_es_version } from "../multi_import_deduplicator.mjs";
|
|
7
7
|
register_es_version("ui", "latest");
|
|
8
|
-
const $ec291e0010116877$export$83d89fbfd8236492 = "1.4.
|
|
8
|
+
const $ec291e0010116877$export$83d89fbfd8236492 = "1.4.22";
|
|
9
9
|
const $e8ffe11ed01df0fe$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<img>`, 1);
|
|
10
10
|
function $e8ffe11ed01df0fe$export$e6fffe67d4cdd848(whatToWatch) {
|
|
11
11
|
const [size, setSize] = $9HbP8$createSignal(0);
|
|
@@ -3577,6 +3577,7 @@ function $056f6ac0a6caa919$export$5e4aed86c12acdd9({
|
|
|
3577
3577
|
last_loaded = +new Date();
|
|
3578
3578
|
is_first_load = true;
|
|
3579
3579
|
});
|
|
3580
|
+
// percentage_in_view_ has equals: false so it should update even when set to the same value. That is to make sure that if the user bounces around below the "viewport" of our product listing we still start fetching as soon as is_loading_more becomes false again and we get IntersectionObserverEntries
|
|
3580
3581
|
$9HbP8$createEffect($9HbP8$catchify(async () => {
|
|
3581
3582
|
const be_above_percentage = is_first_load ? 50 : 75; // if first load, load earlier
|
|
3582
3583
|
if (percentage_in_view_() < be_above_percentage || is_loading_more) return;
|
|
@@ -3648,6 +3649,8 @@ function $0e0b96a8dc1ad492$export$63dd0350f8559dda({
|
|
|
3648
3649
|
// No product card in view and not after last card, assume first card
|
|
3649
3650
|
return 0;
|
|
3650
3651
|
return last / displays_by_key_().size * 100;
|
|
3652
|
+
}, undefined, {
|
|
3653
|
+
equals: false
|
|
3651
3654
|
});
|
|
3652
3655
|
}
|
|
3653
3656
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@depict-ai/ui",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.22",
|
|
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
|
@@ -64,7 +64,7 @@ $parcel$export(module.exports, "defaultColsAtSize", () => $33eed84f447aa0c0$expo
|
|
|
64
64
|
$parcel$export(module.exports, "defaultCategoryTitlePlugin", () => $33eed84f447aa0c0$export$7bf543b9d9be2c22);
|
|
65
65
|
$parcel$export(module.exports, "version", () => $aa1938dec50d6c12$export$83d89fbfd8236492);
|
|
66
66
|
/*! Depict.ai search and product listing SDK */
|
|
67
|
-
const $aa1938dec50d6c12$export$83d89fbfd8236492 = "1.4.
|
|
67
|
+
const $aa1938dec50d6c12$export$83d89fbfd8236492 = "1.4.22";
|
|
68
68
|
function $858fdcf73148519f$export$e6fffe67d4cdd848(whatToWatch) {
|
|
69
69
|
const [size, setSize] = $3hooq$solidjs.createSignal(0);
|
|
70
70
|
const resizeObserver = new ResizeObserver($3hooq$depictaiutilishared.catchify(records => {
|
|
@@ -3063,6 +3063,7 @@ function $19438fea513c9d01$export$5e4aed86c12acdd9(_ref) {
|
|
|
3063
3063
|
last_loaded = +new Date();
|
|
3064
3064
|
is_first_load = true;
|
|
3065
3065
|
});
|
|
3066
|
+
// percentage_in_view_ has equals: false so it should update even when set to the same value. That is to make sure that if the user bounces around below the "viewport" of our product listing we still start fetching as soon as is_loading_more becomes false again and we get IntersectionObserverEntries
|
|
3066
3067
|
$3hooq$solidjs.createEffect($3hooq$depictaiutilishared.catchify(async () => {
|
|
3067
3068
|
const be_above_percentage = is_first_load ? 50 : 75; // if first load, load earlier
|
|
3068
3069
|
if (percentage_in_view_() < be_above_percentage || is_loading_more) return;
|
|
@@ -3135,6 +3136,8 @@ function $45c16e404a883f74$export$63dd0350f8559dda(_ref) {
|
|
|
3135
3136
|
// No product card in view and not after last card, assume first card
|
|
3136
3137
|
return 0;
|
|
3137
3138
|
return last / displays_by_key_().size * 100;
|
|
3139
|
+
}, undefined, {
|
|
3140
|
+
equals: false
|
|
3138
3141
|
});
|
|
3139
3142
|
}
|
|
3140
3143
|
|
package/server/ES10/index.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ import { CategorySuggestion, SearchSuggestionsResponse } from "@depict-ai/types/
|
|
|
7
7
|
import { BaseSearchRequest } from "@depict-ai/types/api/BaseSearchRequest";
|
|
8
8
|
import { SearchSuggestionsRequest } from "@depict-ai/types/api/SearchSuggestionsRequest";
|
|
9
9
|
import { ProductListingRequest } from "@depict-ai/types/api/ProductListingRequest";
|
|
10
|
-
export const version = "1.4.
|
|
10
|
+
export const version = "1.4.22";
|
|
11
11
|
/**
|
|
12
12
|
* Returns an accessor that will update when the size of the provided element changes, to be used with ResponsiveImg
|
|
13
13
|
*/
|
package/server/ES10/index.js
CHANGED
|
@@ -8,7 +8,7 @@ import $b8hua$babelruntimehelpersdefineProperty from "@babel/runtime/helpers/def
|
|
|
8
8
|
/*! Depict.ai search and product listing SDK */
|
|
9
9
|
import { register_es_version } from "../../multi_import_deduplicator.mjs";
|
|
10
10
|
register_es_version("ui", "ES10");
|
|
11
|
-
const $8db9a15135765c11$export$83d89fbfd8236492 = "1.4.
|
|
11
|
+
const $8db9a15135765c11$export$83d89fbfd8236492 = "1.4.22";
|
|
12
12
|
function $56047603f9d212b6$export$e6fffe67d4cdd848(whatToWatch) {
|
|
13
13
|
const [size, setSize] = $b8hua$createSignal(0);
|
|
14
14
|
const resizeObserver = new ResizeObserver($b8hua$catchify(records => {
|
|
@@ -3007,6 +3007,7 @@ function $6d2962bc9370f884$export$5e4aed86c12acdd9(_ref) {
|
|
|
3007
3007
|
last_loaded = +new Date();
|
|
3008
3008
|
is_first_load = true;
|
|
3009
3009
|
});
|
|
3010
|
+
// percentage_in_view_ has equals: false so it should update even when set to the same value. That is to make sure that if the user bounces around below the "viewport" of our product listing we still start fetching as soon as is_loading_more becomes false again and we get IntersectionObserverEntries
|
|
3010
3011
|
$b8hua$createEffect($b8hua$catchify(async () => {
|
|
3011
3012
|
const be_above_percentage = is_first_load ? 50 : 75; // if first load, load earlier
|
|
3012
3013
|
if (percentage_in_view_() < be_above_percentage || is_loading_more) return;
|
|
@@ -3079,6 +3080,8 @@ function $e6dd9dfff4603d8c$export$63dd0350f8559dda(_ref) {
|
|
|
3079
3080
|
// No product card in view and not after last card, assume first card
|
|
3080
3081
|
return 0;
|
|
3081
3082
|
return last / displays_by_key_().size * 100;
|
|
3083
|
+
}, undefined, {
|
|
3084
|
+
equals: false
|
|
3082
3085
|
});
|
|
3083
3086
|
}
|
|
3084
3087
|
|
package/server/latest/index.cjs
CHANGED
|
@@ -58,7 +58,7 @@ $parcel$export(module.exports, "defaultColsAtSize", () => $a3280f0aad997933$expo
|
|
|
58
58
|
$parcel$export(module.exports, "defaultCategoryTitlePlugin", () => $a3280f0aad997933$export$7bf543b9d9be2c22);
|
|
59
59
|
$parcel$export(module.exports, "version", () => $b757f75811f3261f$export$83d89fbfd8236492);
|
|
60
60
|
/*! Depict.ai search and product listing SDK */
|
|
61
|
-
const $b757f75811f3261f$export$83d89fbfd8236492 = "1.4.
|
|
61
|
+
const $b757f75811f3261f$export$83d89fbfd8236492 = "1.4.22";
|
|
62
62
|
function $19950faaac026e09$export$e6fffe67d4cdd848(whatToWatch) {
|
|
63
63
|
const [size, setSize] = $5vyXB$solidjs.createSignal(0);
|
|
64
64
|
const resizeObserver = new ResizeObserver($5vyXB$depictaiutilishared.catchify(records => {
|
|
@@ -2803,6 +2803,7 @@ function $3f08fe2992a2a8ca$export$5e4aed86c12acdd9({
|
|
|
2803
2803
|
last_loaded = +new Date();
|
|
2804
2804
|
is_first_load = true;
|
|
2805
2805
|
});
|
|
2806
|
+
// percentage_in_view_ has equals: false so it should update even when set to the same value. That is to make sure that if the user bounces around below the "viewport" of our product listing we still start fetching as soon as is_loading_more becomes false again and we get IntersectionObserverEntries
|
|
2806
2807
|
$5vyXB$solidjs.createEffect($5vyXB$depictaiutilishared.catchify(async () => {
|
|
2807
2808
|
const be_above_percentage = is_first_load ? 50 : 75; // if first load, load earlier
|
|
2808
2809
|
if (percentage_in_view_() < be_above_percentage || is_loading_more) return;
|
|
@@ -2874,6 +2875,8 @@ function $4117463e2939f5f4$export$63dd0350f8559dda({
|
|
|
2874
2875
|
// No product card in view and not after last card, assume first card
|
|
2875
2876
|
return 0;
|
|
2876
2877
|
return last / displays_by_key_().size * 100;
|
|
2878
|
+
}, undefined, {
|
|
2879
|
+
equals: false
|
|
2877
2880
|
});
|
|
2878
2881
|
}
|
|
2879
2882
|
|
package/server/latest/index.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ import { CategorySuggestion, SearchSuggestionsResponse } from "@depict-ai/types/
|
|
|
7
7
|
import { BaseSearchRequest } from "@depict-ai/types/api/BaseSearchRequest";
|
|
8
8
|
import { SearchSuggestionsRequest } from "@depict-ai/types/api/SearchSuggestionsRequest";
|
|
9
9
|
import { ProductListingRequest } from "@depict-ai/types/api/ProductListingRequest";
|
|
10
|
-
export const version = "1.4.
|
|
10
|
+
export const version = "1.4.22";
|
|
11
11
|
/**
|
|
12
12
|
* Returns an accessor that will update when the size of the provided element changes, to be used with ResponsiveImg
|
|
13
13
|
*/
|
package/server/latest/index.js
CHANGED
|
@@ -5,7 +5,7 @@ import { createSignal as $i7OB2$createSignal, onCleanup as $i7OB2$onCleanup, Err
|
|
|
5
5
|
/*! Depict.ai search and product listing SDK */
|
|
6
6
|
import { register_es_version } from "../../multi_import_deduplicator.mjs";
|
|
7
7
|
register_es_version("ui", "latest");
|
|
8
|
-
const $ec291e0010116877$export$83d89fbfd8236492 = "1.4.
|
|
8
|
+
const $ec291e0010116877$export$83d89fbfd8236492 = "1.4.22";
|
|
9
9
|
function $e8ffe11ed01df0fe$export$e6fffe67d4cdd848(whatToWatch) {
|
|
10
10
|
const [size, setSize] = $i7OB2$createSignal(0);
|
|
11
11
|
const resizeObserver = new ResizeObserver($i7OB2$catchify(records => {
|
|
@@ -2750,6 +2750,7 @@ function $056f6ac0a6caa919$export$5e4aed86c12acdd9({
|
|
|
2750
2750
|
last_loaded = +new Date();
|
|
2751
2751
|
is_first_load = true;
|
|
2752
2752
|
});
|
|
2753
|
+
// percentage_in_view_ has equals: false so it should update even when set to the same value. That is to make sure that if the user bounces around below the "viewport" of our product listing we still start fetching as soon as is_loading_more becomes false again and we get IntersectionObserverEntries
|
|
2753
2754
|
$i7OB2$createEffect($i7OB2$catchify(async () => {
|
|
2754
2755
|
const be_above_percentage = is_first_load ? 50 : 75; // if first load, load earlier
|
|
2755
2756
|
if (percentage_in_view_() < be_above_percentage || is_loading_more) return;
|
|
@@ -2821,6 +2822,8 @@ function $0e0b96a8dc1ad492$export$63dd0350f8559dda({
|
|
|
2821
2822
|
// No product card in view and not after last card, assume first card
|
|
2822
2823
|
return 0;
|
|
2823
2824
|
return last / displays_by_key_().size * 100;
|
|
2825
|
+
}, undefined, {
|
|
2826
|
+
equals: false
|
|
2824
2827
|
});
|
|
2825
2828
|
}
|
|
2826
2829
|
|