@depict-ai/ui 4.0.22 → 4.0.24
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 +1 -2
- package/ES10/index.d.ts +3 -3
- package/ES10/index.js +1 -2
- package/README.md +2 -1
- package/latest/index.cjs +1 -2
- package/latest/index.d.ts +3 -3
- package/latest/index.js +1 -2
- package/package.json +1 -1
- package/server/ES10/index.cjs +1 -2
- package/server/ES10/index.d.ts +3 -3
- package/server/ES10/index.js +1 -2
- package/server/latest/index.cjs +1 -2
- package/server/latest/index.d.ts +3 -3
- package/server/latest/index.js +1 -2
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.24";
|
|
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
|
|
@@ -9121,7 +9121,6 @@ async function $e270e9f953fcbc58$var$_run_display_transformers_for_rest2(merchan
|
|
|
9121
9121
|
const {
|
|
9122
9122
|
display_transformers: display_transformers
|
|
9123
9123
|
} = this;
|
|
9124
|
-
if (!display_transformers) return input_data;
|
|
9125
9124
|
const product_transformer = display_transformers === null || display_transformers === void 0 ? void 0 : display_transformers.products;
|
|
9126
9125
|
const category_transformer = display_transformers === null || display_transformers === void 0 ? void 0 : display_transformers.categories;
|
|
9127
9126
|
const content_result_transformer = display_transformers === null || display_transformers === void 0 ? void 0 : display_transformers.contentResults;
|
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.24";
|
|
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
|
*/
|
|
@@ -1211,7 +1211,7 @@ export function CategoryPage<OriginalDisplay extends Display, OutputDisplay exte
|
|
|
1211
1211
|
on_listing_query_change?: (new_listing_query?: ListingQuery | undefined, old_listing_query?: ListingQuery | undefined) => void;
|
|
1212
1212
|
content_blocks_by_row?: ContentBlocksByRow;
|
|
1213
1213
|
layout?: PossibleLayout;
|
|
1214
|
-
}): import("@depict-ai/utilishared").Node_Array;
|
|
1214
|
+
}): import("@depict-ai/utilishared/latest").Node_Array;
|
|
1215
1215
|
export function BreadCrumbs<T extends Display>({
|
|
1216
1216
|
depict_category
|
|
1217
1217
|
}: {
|
|
@@ -1351,7 +1351,7 @@ type OpenModalParams<OriginalDisplay extends Display, OutputDisplay extends Mode
|
|
|
1351
1351
|
* Open the modal with support for alignment.
|
|
1352
1352
|
* @returns {void}
|
|
1353
1353
|
*/
|
|
1354
|
-
export const open_modal_with_alignment: <OriginalDisplay extends Display, OutputDisplay extends
|
|
1354
|
+
export const open_modal_with_alignment: <OriginalDisplay extends Display, OutputDisplay extends ModernDisplay>(openModalParams: OpenModalParams<OriginalDisplay, OutputDisplay>) => void;
|
|
1355
1355
|
export function open_search_with_shift_slash(open_search: VoidFunction): () => void;
|
|
1356
1356
|
export interface PageReplacer {
|
|
1357
1357
|
readonly render_: () => Node_Array;
|
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.24";
|
|
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
|
|
@@ -9036,7 +9036,6 @@ async function $284849364a6ef73a$var$_run_display_transformers_for_rest2(merchan
|
|
|
9036
9036
|
const {
|
|
9037
9037
|
display_transformers: display_transformers
|
|
9038
9038
|
} = this;
|
|
9039
|
-
if (!display_transformers) return input_data;
|
|
9040
9039
|
const product_transformer = display_transformers === null || display_transformers === void 0 ? void 0 : display_transformers.products;
|
|
9041
9040
|
const category_transformer = display_transformers === null || display_transformers === void 0 ? void 0 : display_transformers.categories;
|
|
9042
9041
|
const content_result_transformer = display_transformers === null || display_transformers === void 0 ? void 0 : display_transformers.contentResults;
|
package/README.md
CHANGED
|
@@ -9,4 +9,5 @@ Breaking changes:
|
|
|
9
9
|
- 1.3.0 moved `depict-filter-sort-mobile-modal-container` from being a class to being an id
|
|
10
10
|
- 1.4.0 Added `brand_` translation string to Locale.
|
|
11
11
|
- 2.0.0 Made `enable_content_search` `true` by default. Redesigned filter counts.
|
|
12
|
-
- 3.0.19 (first `latest` tagged release of version 3): Please see this [migration guide](https://docs.depict.ai/other-guides/sdk-migration-v2-v3)
|
|
12
|
+
- 3.0.19 (first `latest` tagged release of version 3): Please see this [migration guide](https://docs.depict.ai/other-guides/sdk-migration-v2-v3)
|
|
13
|
+
- 4.x.x: See https://docs.depict.ai/other-guides/sdk-migration-v3-v4
|
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.24";
|
|
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
|
|
@@ -8499,7 +8499,6 @@ class $e1d6c0f3d89d531c$export$e015ed2f2950f2e3 {
|
|
|
8499
8499
|
const {
|
|
8500
8500
|
display_transformers: display_transformers
|
|
8501
8501
|
} = this;
|
|
8502
|
-
if (!display_transformers) return input_data;
|
|
8503
8502
|
const product_transformer = display_transformers?.products;
|
|
8504
8503
|
const category_transformer = display_transformers?.categories;
|
|
8505
8504
|
const content_result_transformer = display_transformers?.contentResults;
|
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.24";
|
|
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
|
*/
|
|
@@ -1211,7 +1211,7 @@ export function CategoryPage<OriginalDisplay extends Display, OutputDisplay exte
|
|
|
1211
1211
|
on_listing_query_change?: (new_listing_query?: ListingQuery | undefined, old_listing_query?: ListingQuery | undefined) => void;
|
|
1212
1212
|
content_blocks_by_row?: ContentBlocksByRow;
|
|
1213
1213
|
layout?: PossibleLayout;
|
|
1214
|
-
}): import("@depict-ai/utilishared").Node_Array;
|
|
1214
|
+
}): import("@depict-ai/utilishared/latest").Node_Array;
|
|
1215
1215
|
export function BreadCrumbs<T extends Display>({
|
|
1216
1216
|
depict_category
|
|
1217
1217
|
}: {
|
|
@@ -1351,7 +1351,7 @@ type OpenModalParams<OriginalDisplay extends Display, OutputDisplay extends Mode
|
|
|
1351
1351
|
* Open the modal with support for alignment.
|
|
1352
1352
|
* @returns {void}
|
|
1353
1353
|
*/
|
|
1354
|
-
export const open_modal_with_alignment: <OriginalDisplay extends Display, OutputDisplay extends
|
|
1354
|
+
export const open_modal_with_alignment: <OriginalDisplay extends Display, OutputDisplay extends ModernDisplay>(openModalParams: OpenModalParams<OriginalDisplay, OutputDisplay>) => void;
|
|
1355
1355
|
export function open_search_with_shift_slash(open_search: VoidFunction): () => void;
|
|
1356
1356
|
export interface PageReplacer {
|
|
1357
1357
|
readonly render_: () => Node_Array;
|
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.24";
|
|
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
|
|
@@ -8417,7 +8417,6 @@ class $7fa23e2a0079eca4$export$e015ed2f2950f2e3 {
|
|
|
8417
8417
|
const {
|
|
8418
8418
|
display_transformers: display_transformers
|
|
8419
8419
|
} = this;
|
|
8420
|
-
if (!display_transformers) return input_data;
|
|
8421
8420
|
const product_transformer = display_transformers?.products;
|
|
8422
8421
|
const category_transformer = display_transformers?.categories;
|
|
8423
8422
|
const content_result_transformer = display_transformers?.contentResults;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@depict-ai/ui",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.24",
|
|
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.24";
|
|
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
|
|
@@ -7288,7 +7288,6 @@ async function $e270e9f953fcbc58$var$_run_display_transformers_for_rest2(merchan
|
|
|
7288
7288
|
const {
|
|
7289
7289
|
display_transformers: display_transformers
|
|
7290
7290
|
} = this;
|
|
7291
|
-
if (!display_transformers) return input_data;
|
|
7292
7291
|
const product_transformer = display_transformers === null || display_transformers === void 0 ? void 0 : display_transformers.products;
|
|
7293
7292
|
const category_transformer = display_transformers === null || display_transformers === void 0 ? void 0 : display_transformers.categories;
|
|
7294
7293
|
const content_result_transformer = display_transformers === null || display_transformers === void 0 ? void 0 : display_transformers.contentResults;
|
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.24";
|
|
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
|
*/
|
|
@@ -1211,7 +1211,7 @@ export function CategoryPage<OriginalDisplay extends Display, OutputDisplay exte
|
|
|
1211
1211
|
on_listing_query_change?: (new_listing_query?: ListingQuery | undefined, old_listing_query?: ListingQuery | undefined) => void;
|
|
1212
1212
|
content_blocks_by_row?: ContentBlocksByRow;
|
|
1213
1213
|
layout?: PossibleLayout;
|
|
1214
|
-
}): import("@depict-ai/utilishared").Node_Array;
|
|
1214
|
+
}): import("@depict-ai/utilishared/latest").Node_Array;
|
|
1215
1215
|
export function BreadCrumbs<T extends Display>({
|
|
1216
1216
|
depict_category
|
|
1217
1217
|
}: {
|
|
@@ -1351,7 +1351,7 @@ type OpenModalParams<OriginalDisplay extends Display, OutputDisplay extends Mode
|
|
|
1351
1351
|
* Open the modal with support for alignment.
|
|
1352
1352
|
* @returns {void}
|
|
1353
1353
|
*/
|
|
1354
|
-
export const open_modal_with_alignment: <OriginalDisplay extends Display, OutputDisplay extends
|
|
1354
|
+
export const open_modal_with_alignment: <OriginalDisplay extends Display, OutputDisplay extends ModernDisplay>(openModalParams: OpenModalParams<OriginalDisplay, OutputDisplay>) => void;
|
|
1355
1355
|
export function open_search_with_shift_slash(open_search: VoidFunction): () => void;
|
|
1356
1356
|
export interface PageReplacer {
|
|
1357
1357
|
readonly render_: () => Node_Array;
|
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.24";
|
|
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
|
|
@@ -7203,7 +7203,6 @@ async function $284849364a6ef73a$var$_run_display_transformers_for_rest2(merchan
|
|
|
7203
7203
|
const {
|
|
7204
7204
|
display_transformers: display_transformers
|
|
7205
7205
|
} = this;
|
|
7206
|
-
if (!display_transformers) return input_data;
|
|
7207
7206
|
const product_transformer = display_transformers === null || display_transformers === void 0 ? void 0 : display_transformers.products;
|
|
7208
7207
|
const category_transformer = display_transformers === null || display_transformers === void 0 ? void 0 : display_transformers.categories;
|
|
7209
7208
|
const content_result_transformer = display_transformers === null || display_transformers === void 0 ? void 0 : display_transformers.contentResults;
|
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.24";
|
|
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
|
|
@@ -6721,7 +6721,6 @@ class $e1d6c0f3d89d531c$export$e015ed2f2950f2e3 {
|
|
|
6721
6721
|
const {
|
|
6722
6722
|
display_transformers: display_transformers
|
|
6723
6723
|
} = this;
|
|
6724
|
-
if (!display_transformers) return input_data;
|
|
6725
6724
|
const product_transformer = display_transformers?.products;
|
|
6726
6725
|
const category_transformer = display_transformers?.categories;
|
|
6727
6726
|
const content_result_transformer = display_transformers?.contentResults;
|
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.24";
|
|
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
|
*/
|
|
@@ -1211,7 +1211,7 @@ export function CategoryPage<OriginalDisplay extends Display, OutputDisplay exte
|
|
|
1211
1211
|
on_listing_query_change?: (new_listing_query?: ListingQuery | undefined, old_listing_query?: ListingQuery | undefined) => void;
|
|
1212
1212
|
content_blocks_by_row?: ContentBlocksByRow;
|
|
1213
1213
|
layout?: PossibleLayout;
|
|
1214
|
-
}): import("@depict-ai/utilishared").Node_Array;
|
|
1214
|
+
}): import("@depict-ai/utilishared/latest").Node_Array;
|
|
1215
1215
|
export function BreadCrumbs<T extends Display>({
|
|
1216
1216
|
depict_category
|
|
1217
1217
|
}: {
|
|
@@ -1351,7 +1351,7 @@ type OpenModalParams<OriginalDisplay extends Display, OutputDisplay extends Mode
|
|
|
1351
1351
|
* Open the modal with support for alignment.
|
|
1352
1352
|
* @returns {void}
|
|
1353
1353
|
*/
|
|
1354
|
-
export const open_modal_with_alignment: <OriginalDisplay extends Display, OutputDisplay extends
|
|
1354
|
+
export const open_modal_with_alignment: <OriginalDisplay extends Display, OutputDisplay extends ModernDisplay>(openModalParams: OpenModalParams<OriginalDisplay, OutputDisplay>) => void;
|
|
1355
1355
|
export function open_search_with_shift_slash(open_search: VoidFunction): () => void;
|
|
1356
1356
|
export interface PageReplacer {
|
|
1357
1357
|
readonly render_: () => Node_Array;
|
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.24";
|
|
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
|
|
@@ -6639,7 +6639,6 @@ class $7fa23e2a0079eca4$export$e015ed2f2950f2e3 {
|
|
|
6639
6639
|
const {
|
|
6640
6640
|
display_transformers: display_transformers
|
|
6641
6641
|
} = this;
|
|
6642
|
-
if (!display_transformers) return input_data;
|
|
6643
6642
|
const product_transformer = display_transformers?.products;
|
|
6644
6643
|
const category_transformer = display_transformers?.categories;
|
|
6645
6644
|
const content_result_transformer = display_transformers?.contentResults;
|