@depict-ai/ui 4.3.9 → 4.3.10
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 +4 -4
- package/ES10/index.js +4 -1
- package/latest/index.cjs +4 -1
- package/latest/index.d.ts +4 -4
- package/latest/index.js +4 -1
- package/package.json +1 -1
- package/server/ES10/index.cjs +4 -1
- package/server/ES10/index.d.ts +4 -4
- package/server/ES10/index.js +4 -1
- package/server/latest/index.cjs +4 -1
- package/server/latest/index.d.ts +4 -4
- package/server/latest/index.js +4 -1
package/ES10/index.cjs
CHANGED
|
@@ -100,7 +100,7 @@ $parcel$export(module.exports, "BreadCrumbs", () => $335c02c1241a9ca8$export$5b7
|
|
|
100
100
|
$parcel$export(module.exports, "QuickLinks", () => $335c02c1241a9ca8$export$de035477d6fef996);
|
|
101
101
|
$parcel$export(module.exports, "CategoryPage", () => $c10e33c4681f8c9b$export$e2bf8ce7779e827e);
|
|
102
102
|
/*! Depict.ai search and product listing SDK */
|
|
103
|
-
const $aa1938dec50d6c12$export$83d89fbfd8236492 = "4.3.
|
|
103
|
+
const $aa1938dec50d6c12$export$83d89fbfd8236492 = "4.3.10";
|
|
104
104
|
const $5401a6698b0c0658$var$transform_elements = sorted_cols_at_size => {
|
|
105
105
|
const cols_at_size = [];
|
|
106
106
|
for (let i = 0; i < sorted_cols_at_size.length; i++) {
|
|
@@ -2089,6 +2089,9 @@ function $e57cd46536ad992e$export$2c9f9bf2092486aa(props) {
|
|
|
2089
2089
|
const {
|
|
2090
2090
|
listings: listings
|
|
2091
2091
|
} = decoded;
|
|
2092
|
+
if (!listings)
|
|
2093
|
+
// Sometimes backend returns a JSON containing an error instead, bail in that case
|
|
2094
|
+
return [];
|
|
2092
2095
|
const baseData = {
|
|
2093
2096
|
merchant: merchant,
|
|
2094
2097
|
market: market,
|
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 _SearchFilter3 } from "@depict-ai/types/api/SearchRequestV2";
|
|
13
|
-
export const version = "4.3.
|
|
13
|
+
export const version = "4.3.10";
|
|
14
14
|
declare const LISTING_ID = "listingId";
|
|
15
15
|
declare const EXTERNAL_ID = "externalId";
|
|
16
16
|
type ScrollRestorationData = {
|
|
@@ -873,7 +873,7 @@ export function LooksSliderOrGrid(props: {
|
|
|
873
873
|
locale_: string;
|
|
874
874
|
imagePlaceholderAspectRatio_: number | string;
|
|
875
875
|
title_?: JSX.Element;
|
|
876
|
-
class_
|
|
876
|
+
class_?: string;
|
|
877
877
|
FavoriteButton_?: (props: {
|
|
878
878
|
display_: Accessor<ModernDisplay | null | undefined>;
|
|
879
879
|
}) => JSX.Element;
|
|
@@ -1398,7 +1398,7 @@ type OpenModalParams<OriginalDisplay extends Display, OutputDisplay extends Mode
|
|
|
1398
1398
|
* Open the modal with support for alignment.
|
|
1399
1399
|
* @returns {void}
|
|
1400
1400
|
*/
|
|
1401
|
-
export const open_modal_with_alignment: <OriginalDisplay extends Display, OutputDisplay extends
|
|
1401
|
+
export const open_modal_with_alignment: <OriginalDisplay extends Display, OutputDisplay extends unknown>(openModalParams: OpenModalParams<OriginalDisplay, OutputDisplay>) => void;
|
|
1402
1402
|
export function open_search_with_shift_slash(open_search: VoidFunction): () => void;
|
|
1403
1403
|
export interface PageReplacer {
|
|
1404
1404
|
readonly render_: () => Node_Array;
|
|
@@ -1476,5 +1476,5 @@ export function CategoryPage<OriginalDisplay extends Display, OutputDisplay exte
|
|
|
1476
1476
|
content_blocks_by_row?: ContentBlocksByRow;
|
|
1477
1477
|
layout?: PossibleLayout;
|
|
1478
1478
|
filterModalParent_?: HTMLElement | ShadowRoot;
|
|
1479
|
-
}): import("@depict-ai/utilishared
|
|
1479
|
+
}): import("@depict-ai/utilishared").Node_Array;
|
|
1480
1480
|
export type { SearchFilter } from "@depict-ai/types/api/SearchRequestV3";
|
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.3.
|
|
13
|
+
const $8db9a15135765c11$export$83d89fbfd8236492 = "4.3.10";
|
|
14
14
|
const $a9c7ba6087881ac2$var$transform_elements = sorted_cols_at_size => {
|
|
15
15
|
const cols_at_size = [];
|
|
16
16
|
for (let i = 0; i < sorted_cols_at_size.length; i++) {
|
|
@@ -1999,6 +1999,9 @@ function $bb34cd283e904784$export$2c9f9bf2092486aa(props) {
|
|
|
1999
1999
|
const {
|
|
2000
2000
|
listings: listings
|
|
2001
2001
|
} = decoded;
|
|
2002
|
+
if (!listings)
|
|
2003
|
+
// Sometimes backend returns a JSON containing an error instead, bail in that case
|
|
2004
|
+
return [];
|
|
2002
2005
|
const baseData = {
|
|
2003
2006
|
merchant: merchant,
|
|
2004
2007
|
market: market,
|
package/latest/index.cjs
CHANGED
|
@@ -94,7 +94,7 @@ $parcel$export(module.exports, "BreadCrumbs", () => $1f4925833f07df29$export$5b7
|
|
|
94
94
|
$parcel$export(module.exports, "QuickLinks", () => $1f4925833f07df29$export$de035477d6fef996);
|
|
95
95
|
$parcel$export(module.exports, "CategoryPage", () => $14f289047713d67a$export$e2bf8ce7779e827e);
|
|
96
96
|
/*! Depict.ai search and product listing SDK */
|
|
97
|
-
const $b757f75811f3261f$export$83d89fbfd8236492 = "4.3.
|
|
97
|
+
const $b757f75811f3261f$export$83d89fbfd8236492 = "4.3.10";
|
|
98
98
|
const $4e04be41243c3d80$var$transform_elements = sorted_cols_at_size => {
|
|
99
99
|
const cols_at_size = [];
|
|
100
100
|
for (let i = 0; i < sorted_cols_at_size.length; i++) {
|
|
@@ -1984,6 +1984,9 @@ function $a3bbfa5fdaa39f3a$export$2c9f9bf2092486aa(props) {
|
|
|
1984
1984
|
const {
|
|
1985
1985
|
listings: listings
|
|
1986
1986
|
} = decoded;
|
|
1987
|
+
if (!listings)
|
|
1988
|
+
// Sometimes backend returns a JSON containing an error instead, bail in that case
|
|
1989
|
+
return [];
|
|
1987
1990
|
const baseData = {
|
|
1988
1991
|
merchant: merchant,
|
|
1989
1992
|
market: market,
|
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 _SearchFilter3 } from "@depict-ai/types/api/SearchRequestV2";
|
|
13
|
-
export const version = "4.3.
|
|
13
|
+
export const version = "4.3.10";
|
|
14
14
|
declare const LISTING_ID = "listingId";
|
|
15
15
|
declare const EXTERNAL_ID = "externalId";
|
|
16
16
|
type ScrollRestorationData = {
|
|
@@ -873,7 +873,7 @@ export function LooksSliderOrGrid(props: {
|
|
|
873
873
|
locale_: string;
|
|
874
874
|
imagePlaceholderAspectRatio_: number | string;
|
|
875
875
|
title_?: JSX.Element;
|
|
876
|
-
class_
|
|
876
|
+
class_?: string;
|
|
877
877
|
FavoriteButton_?: (props: {
|
|
878
878
|
display_: Accessor<ModernDisplay | null | undefined>;
|
|
879
879
|
}) => JSX.Element;
|
|
@@ -1398,7 +1398,7 @@ type OpenModalParams<OriginalDisplay extends Display, OutputDisplay extends Mode
|
|
|
1398
1398
|
* Open the modal with support for alignment.
|
|
1399
1399
|
* @returns {void}
|
|
1400
1400
|
*/
|
|
1401
|
-
export const open_modal_with_alignment: <OriginalDisplay extends Display, OutputDisplay extends
|
|
1401
|
+
export const open_modal_with_alignment: <OriginalDisplay extends Display, OutputDisplay extends unknown>(openModalParams: OpenModalParams<OriginalDisplay, OutputDisplay>) => void;
|
|
1402
1402
|
export function open_search_with_shift_slash(open_search: VoidFunction): () => void;
|
|
1403
1403
|
export interface PageReplacer {
|
|
1404
1404
|
readonly render_: () => Node_Array;
|
|
@@ -1476,5 +1476,5 @@ export function CategoryPage<OriginalDisplay extends Display, OutputDisplay exte
|
|
|
1476
1476
|
content_blocks_by_row?: ContentBlocksByRow;
|
|
1477
1477
|
layout?: PossibleLayout;
|
|
1478
1478
|
filterModalParent_?: HTMLElement | ShadowRoot;
|
|
1479
|
-
}): import("@depict-ai/utilishared
|
|
1479
|
+
}): import("@depict-ai/utilishared").Node_Array;
|
|
1480
1480
|
export type { SearchFilter } from "@depict-ai/types/api/SearchRequestV3";
|
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.3.
|
|
10
|
+
const $ec291e0010116877$export$83d89fbfd8236492 = "4.3.10";
|
|
11
11
|
const $b5cccc8ee7d24677$var$transform_elements = sorted_cols_at_size => {
|
|
12
12
|
const cols_at_size = [];
|
|
13
13
|
for (let i = 0; i < sorted_cols_at_size.length; i++) {
|
|
@@ -1897,6 +1897,9 @@ function $07ef910e8ef6b783$export$2c9f9bf2092486aa(props) {
|
|
|
1897
1897
|
const {
|
|
1898
1898
|
listings: listings
|
|
1899
1899
|
} = decoded;
|
|
1900
|
+
if (!listings)
|
|
1901
|
+
// Sometimes backend returns a JSON containing an error instead, bail in that case
|
|
1902
|
+
return [];
|
|
1900
1903
|
const baseData = {
|
|
1901
1904
|
merchant: merchant,
|
|
1902
1905
|
market: market,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@depict-ai/ui",
|
|
3
|
-
"version": "4.3.
|
|
3
|
+
"version": "4.3.10",
|
|
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
|
@@ -100,7 +100,7 @@ $parcel$export(module.exports, "BreadCrumbs", () => $335c02c1241a9ca8$export$5b7
|
|
|
100
100
|
$parcel$export(module.exports, "QuickLinks", () => $335c02c1241a9ca8$export$de035477d6fef996);
|
|
101
101
|
$parcel$export(module.exports, "CategoryPage", () => $c10e33c4681f8c9b$export$e2bf8ce7779e827e);
|
|
102
102
|
/*! Depict.ai search and product listing SDK */
|
|
103
|
-
const $aa1938dec50d6c12$export$83d89fbfd8236492 = "4.3.
|
|
103
|
+
const $aa1938dec50d6c12$export$83d89fbfd8236492 = "4.3.10";
|
|
104
104
|
const $5401a6698b0c0658$var$transform_elements = sorted_cols_at_size => {
|
|
105
105
|
const cols_at_size = [];
|
|
106
106
|
for (let i = 0; i < sorted_cols_at_size.length; i++) {
|
|
@@ -1844,6 +1844,9 @@ function $e57cd46536ad992e$export$2c9f9bf2092486aa(props) {
|
|
|
1844
1844
|
const {
|
|
1845
1845
|
listings: listings
|
|
1846
1846
|
} = decoded;
|
|
1847
|
+
if (!listings)
|
|
1848
|
+
// Sometimes backend returns a JSON containing an error instead, bail in that case
|
|
1849
|
+
return [];
|
|
1847
1850
|
const baseData = {
|
|
1848
1851
|
merchant: merchant,
|
|
1849
1852
|
market: market,
|
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 _SearchFilter3 } from "@depict-ai/types/api/SearchRequestV2";
|
|
13
|
-
export const version = "4.3.
|
|
13
|
+
export const version = "4.3.10";
|
|
14
14
|
declare const LISTING_ID = "listingId";
|
|
15
15
|
declare const EXTERNAL_ID = "externalId";
|
|
16
16
|
type ScrollRestorationData = {
|
|
@@ -873,7 +873,7 @@ export function LooksSliderOrGrid(props: {
|
|
|
873
873
|
locale_: string;
|
|
874
874
|
imagePlaceholderAspectRatio_: number | string;
|
|
875
875
|
title_?: JSX.Element;
|
|
876
|
-
class_
|
|
876
|
+
class_?: string;
|
|
877
877
|
FavoriteButton_?: (props: {
|
|
878
878
|
display_: Accessor<ModernDisplay | null | undefined>;
|
|
879
879
|
}) => JSX.Element;
|
|
@@ -1398,7 +1398,7 @@ type OpenModalParams<OriginalDisplay extends Display, OutputDisplay extends Mode
|
|
|
1398
1398
|
* Open the modal with support for alignment.
|
|
1399
1399
|
* @returns {void}
|
|
1400
1400
|
*/
|
|
1401
|
-
export const open_modal_with_alignment: <OriginalDisplay extends Display, OutputDisplay extends
|
|
1401
|
+
export const open_modal_with_alignment: <OriginalDisplay extends Display, OutputDisplay extends unknown>(openModalParams: OpenModalParams<OriginalDisplay, OutputDisplay>) => void;
|
|
1402
1402
|
export function open_search_with_shift_slash(open_search: VoidFunction): () => void;
|
|
1403
1403
|
export interface PageReplacer {
|
|
1404
1404
|
readonly render_: () => Node_Array;
|
|
@@ -1476,5 +1476,5 @@ export function CategoryPage<OriginalDisplay extends Display, OutputDisplay exte
|
|
|
1476
1476
|
content_blocks_by_row?: ContentBlocksByRow;
|
|
1477
1477
|
layout?: PossibleLayout;
|
|
1478
1478
|
filterModalParent_?: HTMLElement | ShadowRoot;
|
|
1479
|
-
}): import("@depict-ai/utilishared
|
|
1479
|
+
}): import("@depict-ai/utilishared").Node_Array;
|
|
1480
1480
|
export type { SearchFilter } from "@depict-ai/types/api/SearchRequestV3";
|
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.3.
|
|
13
|
+
const $8db9a15135765c11$export$83d89fbfd8236492 = "4.3.10";
|
|
14
14
|
const $a9c7ba6087881ac2$var$transform_elements = sorted_cols_at_size => {
|
|
15
15
|
const cols_at_size = [];
|
|
16
16
|
for (let i = 0; i < sorted_cols_at_size.length; i++) {
|
|
@@ -1754,6 +1754,9 @@ function $bb34cd283e904784$export$2c9f9bf2092486aa(props) {
|
|
|
1754
1754
|
const {
|
|
1755
1755
|
listings: listings
|
|
1756
1756
|
} = decoded;
|
|
1757
|
+
if (!listings)
|
|
1758
|
+
// Sometimes backend returns a JSON containing an error instead, bail in that case
|
|
1759
|
+
return [];
|
|
1757
1760
|
const baseData = {
|
|
1758
1761
|
merchant: merchant,
|
|
1759
1762
|
market: market,
|
package/server/latest/index.cjs
CHANGED
|
@@ -94,7 +94,7 @@ $parcel$export(module.exports, "BreadCrumbs", () => $1f4925833f07df29$export$5b7
|
|
|
94
94
|
$parcel$export(module.exports, "QuickLinks", () => $1f4925833f07df29$export$de035477d6fef996);
|
|
95
95
|
$parcel$export(module.exports, "CategoryPage", () => $14f289047713d67a$export$e2bf8ce7779e827e);
|
|
96
96
|
/*! Depict.ai search and product listing SDK */
|
|
97
|
-
const $b757f75811f3261f$export$83d89fbfd8236492 = "4.3.
|
|
97
|
+
const $b757f75811f3261f$export$83d89fbfd8236492 = "4.3.10";
|
|
98
98
|
const $4e04be41243c3d80$var$transform_elements = sorted_cols_at_size => {
|
|
99
99
|
const cols_at_size = [];
|
|
100
100
|
for (let i = 0; i < sorted_cols_at_size.length; i++) {
|
|
@@ -1754,6 +1754,9 @@ function $a3bbfa5fdaa39f3a$export$2c9f9bf2092486aa(props) {
|
|
|
1754
1754
|
const {
|
|
1755
1755
|
listings: listings
|
|
1756
1756
|
} = decoded;
|
|
1757
|
+
if (!listings)
|
|
1758
|
+
// Sometimes backend returns a JSON containing an error instead, bail in that case
|
|
1759
|
+
return [];
|
|
1757
1760
|
const baseData = {
|
|
1758
1761
|
merchant: merchant,
|
|
1759
1762
|
market: market,
|
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 _SearchFilter3 } from "@depict-ai/types/api/SearchRequestV2";
|
|
13
|
-
export const version = "4.3.
|
|
13
|
+
export const version = "4.3.10";
|
|
14
14
|
declare const LISTING_ID = "listingId";
|
|
15
15
|
declare const EXTERNAL_ID = "externalId";
|
|
16
16
|
type ScrollRestorationData = {
|
|
@@ -873,7 +873,7 @@ export function LooksSliderOrGrid(props: {
|
|
|
873
873
|
locale_: string;
|
|
874
874
|
imagePlaceholderAspectRatio_: number | string;
|
|
875
875
|
title_?: JSX.Element;
|
|
876
|
-
class_
|
|
876
|
+
class_?: string;
|
|
877
877
|
FavoriteButton_?: (props: {
|
|
878
878
|
display_: Accessor<ModernDisplay | null | undefined>;
|
|
879
879
|
}) => JSX.Element;
|
|
@@ -1398,7 +1398,7 @@ type OpenModalParams<OriginalDisplay extends Display, OutputDisplay extends Mode
|
|
|
1398
1398
|
* Open the modal with support for alignment.
|
|
1399
1399
|
* @returns {void}
|
|
1400
1400
|
*/
|
|
1401
|
-
export const open_modal_with_alignment: <OriginalDisplay extends Display, OutputDisplay extends
|
|
1401
|
+
export const open_modal_with_alignment: <OriginalDisplay extends Display, OutputDisplay extends unknown>(openModalParams: OpenModalParams<OriginalDisplay, OutputDisplay>) => void;
|
|
1402
1402
|
export function open_search_with_shift_slash(open_search: VoidFunction): () => void;
|
|
1403
1403
|
export interface PageReplacer {
|
|
1404
1404
|
readonly render_: () => Node_Array;
|
|
@@ -1476,5 +1476,5 @@ export function CategoryPage<OriginalDisplay extends Display, OutputDisplay exte
|
|
|
1476
1476
|
content_blocks_by_row?: ContentBlocksByRow;
|
|
1477
1477
|
layout?: PossibleLayout;
|
|
1478
1478
|
filterModalParent_?: HTMLElement | ShadowRoot;
|
|
1479
|
-
}): import("@depict-ai/utilishared
|
|
1479
|
+
}): import("@depict-ai/utilishared").Node_Array;
|
|
1480
1480
|
export type { SearchFilter } from "@depict-ai/types/api/SearchRequestV3";
|
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.3.
|
|
10
|
+
const $ec291e0010116877$export$83d89fbfd8236492 = "4.3.10";
|
|
11
11
|
const $b5cccc8ee7d24677$var$transform_elements = sorted_cols_at_size => {
|
|
12
12
|
const cols_at_size = [];
|
|
13
13
|
for (let i = 0; i < sorted_cols_at_size.length; i++) {
|
|
@@ -1667,6 +1667,9 @@ function $07ef910e8ef6b783$export$2c9f9bf2092486aa(props) {
|
|
|
1667
1667
|
const {
|
|
1668
1668
|
listings: listings
|
|
1669
1669
|
} = decoded;
|
|
1670
|
+
if (!listings)
|
|
1671
|
+
// Sometimes backend returns a JSON containing an error instead, bail in that case
|
|
1672
|
+
return [];
|
|
1670
1673
|
const baseData = {
|
|
1671
1674
|
merchant: merchant,
|
|
1672
1675
|
market: market,
|