@depict-ai/ui 3.0.16 → 3.0.17
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 -3
- package/ES10/index.d.ts +2 -2
- package/ES10/index.js +3 -3
- package/latest/index.cjs +3 -3
- package/latest/index.d.ts +2 -2
- package/latest/index.js +3 -3
- package/package.json +1 -1
- package/server/ES10/index.cjs +3 -3
- package/server/ES10/index.d.ts +2 -2
- package/server/ES10/index.js +3 -3
- package/server/latest/index.cjs +3 -3
- package/server/latest/index.d.ts +2 -2
- package/server/latest/index.js +3 -3
package/ES10/index.cjs
CHANGED
|
@@ -83,7 +83,7 @@ $parcel$export(module.exports, "defaultColsAtSize", () => $33eed84f447aa0c0$expo
|
|
|
83
83
|
$parcel$export(module.exports, "defaultCategoryTitlePlugin", () => $33eed84f447aa0c0$export$7bf543b9d9be2c22);
|
|
84
84
|
$parcel$export(module.exports, "version", () => $aa1938dec50d6c12$export$83d89fbfd8236492);
|
|
85
85
|
/*! Depict.ai search and product listing SDK */
|
|
86
|
-
const $aa1938dec50d6c12$export$83d89fbfd8236492 = "3.0.
|
|
86
|
+
const $aa1938dec50d6c12$export$83d89fbfd8236492 = "3.0.17";
|
|
87
87
|
const $9d19451330d04c3c$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<svg xmlns=http://www.w3.org/2000/svg viewBox="0 0 14 26"><path d="M2 24.656c-.078 0-.156-.016-.234-.047s-.133-.066-.187-.129c-.117-.117-.176-.258-.176-.422s.059-.305.176-.422l10.371-10.371L1.578 2.883c-.117-.117-.176-.258-.176-.422s.059-.305.176-.422.258-.176.422-.176.305.059.422.176l10.805 10.793a.59.59 0 0 1 .176.434c0 .172-.059.305-.176.422L2.422 24.48a.42.42 0 0 1-.199.129.54.54 0 0 1-.223.047zm0 0"fill=#0f0f0f>`);
|
|
88
88
|
function $9d19451330d04c3c$export$8be2714ec7f169ee() {
|
|
89
89
|
let props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
@@ -7959,7 +7959,7 @@ function $f70cc6dfcadf0fd5$export$d7841e452f2e59a8(_ref) {
|
|
|
7959
7959
|
get_extra_filters_button_ === null || get_extra_filters_button_ === void 0 || get_extra_filters_button_(make_open_filters_button());
|
|
7960
7960
|
get_extra_sorting_button_ === null || get_extra_sorting_button_ === void 0 || get_extra_sorting_button_(make_open_sorting_button());
|
|
7961
7961
|
$52FdA$solidjs.createEffect(() => {
|
|
7962
|
-
if (sort_and_filter_disabled_()) {
|
|
7962
|
+
if (sort_and_filter_disabled_ !== null && sort_and_filter_disabled_ !== void 0 && sort_and_filter_disabled_()) {
|
|
7963
7963
|
// If someone changes the layout to slider-without-filters dynamically, close sorting and filters
|
|
7964
7964
|
set_filters_open(false);
|
|
7965
7965
|
set_sorting_open(false);
|
|
@@ -7967,7 +7967,7 @@ function $f70cc6dfcadf0fd5$export$d7841e452f2e59a8(_ref) {
|
|
|
7967
7967
|
});
|
|
7968
7968
|
return $52FdA$solidjsweb.createComponent((0, $52FdA$solidjs.Show), {
|
|
7969
7969
|
get when() {
|
|
7970
|
-
return !sort_and_filter_disabled_();
|
|
7970
|
+
return !(sort_and_filter_disabled_ !== null && sort_and_filter_disabled_ !== void 0 && sort_and_filter_disabled_());
|
|
7971
7971
|
},
|
|
7972
7972
|
get children() {
|
|
7973
7973
|
const _el$5 = $52FdA$solidjsweb.getNextElement($f70cc6dfcadf0fd5$var$_tmpl$3),
|
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 = "3.0.
|
|
13
|
+
export const version = "3.0.17";
|
|
14
14
|
export type SDKColsAtSize = [number, number?][];
|
|
15
15
|
/**
|
|
16
16
|
* Transform SDK ColsAtSize into valid Layout ColsAtSize
|
|
@@ -974,7 +974,7 @@ export function CategoryPage<OriginalDisplay extends Display, OutputDisplay exte
|
|
|
974
974
|
category_title: typeof CategoryTitle | typeof embedded_num_products;
|
|
975
975
|
on_listing_query_change?: (new_listing_query?: ListingQuery | undefined, old_listing_query?: ListingQuery | undefined) => void;
|
|
976
976
|
content_blocks_by_row?: ContentBlocksByRow;
|
|
977
|
-
layout?:
|
|
977
|
+
layout?: PossibleLayout;
|
|
978
978
|
}): import("@depict-ai/utilishared/latest").Node_Array;
|
|
979
979
|
export function BreadCrumbs<T extends Display>({
|
|
980
980
|
depict_category
|
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 = "3.0.
|
|
13
|
+
const $8db9a15135765c11$export$83d89fbfd8236492 = "3.0.17";
|
|
14
14
|
const $ca6ab5f08bd28bca$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<svg xmlns=http://www.w3.org/2000/svg viewBox="0 0 14 26"><path d="M2 24.656c-.078 0-.156-.016-.234-.047s-.133-.066-.187-.129c-.117-.117-.176-.258-.176-.422s.059-.305.176-.422l10.371-10.371L1.578 2.883c-.117-.117-.176-.258-.176-.422s.059-.305.176-.422.258-.176.422-.176.305.059.422.176l10.805 10.793a.59.59 0 0 1 .176.434c0 .172-.059.305-.176.422L2.422 24.48a.42.42 0 0 1-.199.129.54.54 0 0 1-.223.047zm0 0"fill=#0f0f0f>`);
|
|
15
15
|
function $ca6ab5f08bd28bca$export$8be2714ec7f169ee() {
|
|
16
16
|
let props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
@@ -7886,7 +7886,7 @@ function $7396052a1484264f$export$d7841e452f2e59a8(_ref) {
|
|
|
7886
7886
|
get_extra_filters_button_ === null || get_extra_filters_button_ === void 0 || get_extra_filters_button_(make_open_filters_button());
|
|
7887
7887
|
get_extra_sorting_button_ === null || get_extra_sorting_button_ === void 0 || get_extra_sorting_button_(make_open_sorting_button());
|
|
7888
7888
|
$8tj43$createEffect(() => {
|
|
7889
|
-
if (sort_and_filter_disabled_()) {
|
|
7889
|
+
if (sort_and_filter_disabled_ !== null && sort_and_filter_disabled_ !== void 0 && sort_and_filter_disabled_()) {
|
|
7890
7890
|
// If someone changes the layout to slider-without-filters dynamically, close sorting and filters
|
|
7891
7891
|
set_filters_open(false);
|
|
7892
7892
|
set_sorting_open(false);
|
|
@@ -7894,7 +7894,7 @@ function $7396052a1484264f$export$d7841e452f2e59a8(_ref) {
|
|
|
7894
7894
|
});
|
|
7895
7895
|
return $8tj43$createComponent((0, $8tj43$Show), {
|
|
7896
7896
|
get when() {
|
|
7897
|
-
return !sort_and_filter_disabled_();
|
|
7897
|
+
return !(sort_and_filter_disabled_ !== null && sort_and_filter_disabled_ !== void 0 && sort_and_filter_disabled_());
|
|
7898
7898
|
},
|
|
7899
7899
|
get children() {
|
|
7900
7900
|
const _el$5 = $8tj43$getNextElement($7396052a1484264f$var$_tmpl$3),
|
package/latest/index.cjs
CHANGED
|
@@ -77,7 +77,7 @@ $parcel$export(module.exports, "defaultColsAtSize", () => $a3280f0aad997933$expo
|
|
|
77
77
|
$parcel$export(module.exports, "defaultCategoryTitlePlugin", () => $a3280f0aad997933$export$7bf543b9d9be2c22);
|
|
78
78
|
$parcel$export(module.exports, "version", () => $b757f75811f3261f$export$83d89fbfd8236492);
|
|
79
79
|
/*! Depict.ai search and product listing SDK */
|
|
80
|
-
const $b757f75811f3261f$export$83d89fbfd8236492 = "3.0.
|
|
80
|
+
const $b757f75811f3261f$export$83d89fbfd8236492 = "3.0.17";
|
|
81
81
|
const $0f313083912e447a$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<svg xmlns=http://www.w3.org/2000/svg viewBox="0 0 14 26"><path d="M2 24.656c-.078 0-.156-.016-.234-.047s-.133-.066-.187-.129c-.117-.117-.176-.258-.176-.422s.059-.305.176-.422l10.371-10.371L1.578 2.883c-.117-.117-.176-.258-.176-.422s.059-.305.176-.422.258-.176.422-.176.305.059.422.176l10.805 10.793a.59.59 0 0 1 .176.434c0 .172-.059.305-.176.422L2.422 24.48a.42.42 0 0 1-.199.129.54.54 0 0 1-.223.047zm0 0"fill=#0f0f0f>`);
|
|
82
82
|
function $0f313083912e447a$export$8be2714ec7f169ee(props = {}) {
|
|
83
83
|
return (() => {
|
|
@@ -7470,7 +7470,7 @@ function $f8f64d05c525825b$export$d7841e452f2e59a8({
|
|
|
7470
7470
|
get_extra_filters_button_?.(make_open_filters_button());
|
|
7471
7471
|
get_extra_sorting_button_?.(make_open_sorting_button());
|
|
7472
7472
|
$gVhhF$solidjs.createEffect(() => {
|
|
7473
|
-
if (sort_and_filter_disabled_()) {
|
|
7473
|
+
if (sort_and_filter_disabled_?.()) {
|
|
7474
7474
|
// If someone changes the layout to slider-without-filters dynamically, close sorting and filters
|
|
7475
7475
|
set_filters_open(false);
|
|
7476
7476
|
set_sorting_open(false);
|
|
@@ -7478,7 +7478,7 @@ function $f8f64d05c525825b$export$d7841e452f2e59a8({
|
|
|
7478
7478
|
});
|
|
7479
7479
|
return $gVhhF$solidjsweb.createComponent((0, $gVhhF$solidjs.Show), {
|
|
7480
7480
|
get when() {
|
|
7481
|
-
return !sort_and_filter_disabled_();
|
|
7481
|
+
return !sort_and_filter_disabled_?.();
|
|
7482
7482
|
},
|
|
7483
7483
|
get children() {
|
|
7484
7484
|
const _el$5 = $gVhhF$solidjsweb.getNextElement($f8f64d05c525825b$var$_tmpl$3),
|
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 = "3.0.
|
|
13
|
+
export const version = "3.0.17";
|
|
14
14
|
export type SDKColsAtSize = [number, number?][];
|
|
15
15
|
/**
|
|
16
16
|
* Transform SDK ColsAtSize into valid Layout ColsAtSize
|
|
@@ -974,7 +974,7 @@ export function CategoryPage<OriginalDisplay extends Display, OutputDisplay exte
|
|
|
974
974
|
category_title: typeof CategoryTitle | typeof embedded_num_products;
|
|
975
975
|
on_listing_query_change?: (new_listing_query?: ListingQuery | undefined, old_listing_query?: ListingQuery | undefined) => void;
|
|
976
976
|
content_blocks_by_row?: ContentBlocksByRow;
|
|
977
|
-
layout?:
|
|
977
|
+
layout?: PossibleLayout;
|
|
978
978
|
}): import("@depict-ai/utilishared/latest").Node_Array;
|
|
979
979
|
export function BreadCrumbs<T extends Display>({
|
|
980
980
|
depict_category
|
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 = "3.0.
|
|
10
|
+
const $ec291e0010116877$export$83d89fbfd8236492 = "3.0.17";
|
|
11
11
|
const $fbbadcb080ad1d4a$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<svg xmlns=http://www.w3.org/2000/svg viewBox="0 0 14 26"><path d="M2 24.656c-.078 0-.156-.016-.234-.047s-.133-.066-.187-.129c-.117-.117-.176-.258-.176-.422s.059-.305.176-.422l10.371-10.371L1.578 2.883c-.117-.117-.176-.258-.176-.422s.059-.305.176-.422.258-.176.422-.176.305.059.422.176l10.805 10.793a.59.59 0 0 1 .176.434c0 .172-.059.305-.176.422L2.422 24.48a.42.42 0 0 1-.199.129.54.54 0 0 1-.223.047zm0 0"fill=#0f0f0f>`);
|
|
12
12
|
function $fbbadcb080ad1d4a$export$8be2714ec7f169ee(props = {}) {
|
|
13
13
|
return (() => {
|
|
@@ -7400,7 +7400,7 @@ function $cdea4cf8c5c071ef$export$d7841e452f2e59a8({
|
|
|
7400
7400
|
get_extra_filters_button_?.(make_open_filters_button());
|
|
7401
7401
|
get_extra_sorting_button_?.(make_open_sorting_button());
|
|
7402
7402
|
$9HbP8$createEffect(() => {
|
|
7403
|
-
if (sort_and_filter_disabled_()) {
|
|
7403
|
+
if (sort_and_filter_disabled_?.()) {
|
|
7404
7404
|
// If someone changes the layout to slider-without-filters dynamically, close sorting and filters
|
|
7405
7405
|
set_filters_open(false);
|
|
7406
7406
|
set_sorting_open(false);
|
|
@@ -7408,7 +7408,7 @@ function $cdea4cf8c5c071ef$export$d7841e452f2e59a8({
|
|
|
7408
7408
|
});
|
|
7409
7409
|
return $9HbP8$createComponent((0, $9HbP8$Show), {
|
|
7410
7410
|
get when() {
|
|
7411
|
-
return !sort_and_filter_disabled_();
|
|
7411
|
+
return !sort_and_filter_disabled_?.();
|
|
7412
7412
|
},
|
|
7413
7413
|
get children() {
|
|
7414
7414
|
const _el$5 = $9HbP8$getNextElement($cdea4cf8c5c071ef$var$_tmpl$3),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@depict-ai/ui",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.17",
|
|
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
|
@@ -83,7 +83,7 @@ $parcel$export(module.exports, "defaultColsAtSize", () => $33eed84f447aa0c0$expo
|
|
|
83
83
|
$parcel$export(module.exports, "defaultCategoryTitlePlugin", () => $33eed84f447aa0c0$export$7bf543b9d9be2c22);
|
|
84
84
|
$parcel$export(module.exports, "version", () => $aa1938dec50d6c12$export$83d89fbfd8236492);
|
|
85
85
|
/*! Depict.ai search and product listing SDK */
|
|
86
|
-
const $aa1938dec50d6c12$export$83d89fbfd8236492 = "3.0.
|
|
86
|
+
const $aa1938dec50d6c12$export$83d89fbfd8236492 = "3.0.17";
|
|
87
87
|
const $9d19451330d04c3c$var$_tmpl$ = ["<svg", ' xmlns="http://www.w3.org/2000/svg"', ' viewBox="0 0 14 26"><path d="M2 24.656c-.078 0-.156-.016-.234-.047s-.133-.066-.187-.129c-.117-.117-.176-.258-.176-.422s.059-.305.176-.422l10.371-10.371L1.578 2.883c-.117-.117-.176-.258-.176-.422s.059-.305.176-.422.258-.176.422-.176.305.059.422.176l10.805 10.793a.59.59 0 0 1 .176.434c0 .172-.059.305-.176.422L2.422 24.48a.42.42 0 0 1-.199.129.54.54 0 0 1-.223.047zm0 0" fill="#0f0f0f"></path></svg>'];
|
|
88
88
|
function $9d19451330d04c3c$export$8be2714ec7f169ee() {
|
|
89
89
|
var _$escape2, _$escape3;
|
|
@@ -6527,7 +6527,7 @@ function $f70cc6dfcadf0fd5$export$d7841e452f2e59a8(_ref) {
|
|
|
6527
6527
|
get_extra_filters_button_ === null || get_extra_filters_button_ === void 0 || get_extra_filters_button_(make_open_filters_button());
|
|
6528
6528
|
get_extra_sorting_button_ === null || get_extra_sorting_button_ === void 0 || get_extra_sorting_button_(make_open_sorting_button());
|
|
6529
6529
|
$3hooq$solidjs.createEffect(() => {
|
|
6530
|
-
if (sort_and_filter_disabled_()) {
|
|
6530
|
+
if (sort_and_filter_disabled_ !== null && sort_and_filter_disabled_ !== void 0 && sort_and_filter_disabled_()) {
|
|
6531
6531
|
// If someone changes the layout to slider-without-filters dynamically, close sorting and filters
|
|
6532
6532
|
set_filters_open(false);
|
|
6533
6533
|
set_sorting_open(false);
|
|
@@ -6535,7 +6535,7 @@ function $f70cc6dfcadf0fd5$export$d7841e452f2e59a8(_ref) {
|
|
|
6535
6535
|
});
|
|
6536
6536
|
return $3hooq$solidjsweb.createComponent((0, $3hooq$solidjs.Show), {
|
|
6537
6537
|
get when() {
|
|
6538
|
-
return !sort_and_filter_disabled_();
|
|
6538
|
+
return !(sort_and_filter_disabled_ !== null && sort_and_filter_disabled_ !== void 0 && sort_and_filter_disabled_());
|
|
6539
6539
|
},
|
|
6540
6540
|
get children() {
|
|
6541
6541
|
return $3hooq$solidjsweb.ssr($f70cc6dfcadf0fd5$var$_tmpl$3, $3hooq$solidjsweb.ssrHydrationKey(), $3hooq$solidjsweb.escape(make_open_filters_button(true, true)), $3hooq$solidjsweb.escape(middle_elements_ === null || middle_elements_ === void 0 ? void 0 : middle_elements_()), $3hooq$solidjsweb.escape(make_open_sorting_button(true, true)));
|
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 = "3.0.
|
|
13
|
+
export const version = "3.0.17";
|
|
14
14
|
export type SDKColsAtSize = [number, number?][];
|
|
15
15
|
/**
|
|
16
16
|
* Transform SDK ColsAtSize into valid Layout ColsAtSize
|
|
@@ -974,7 +974,7 @@ export function CategoryPage<OriginalDisplay extends Display, OutputDisplay exte
|
|
|
974
974
|
category_title: typeof CategoryTitle | typeof embedded_num_products;
|
|
975
975
|
on_listing_query_change?: (new_listing_query?: ListingQuery | undefined, old_listing_query?: ListingQuery | undefined) => void;
|
|
976
976
|
content_blocks_by_row?: ContentBlocksByRow;
|
|
977
|
-
layout?:
|
|
977
|
+
layout?: PossibleLayout;
|
|
978
978
|
}): import("@depict-ai/utilishared/latest").Node_Array;
|
|
979
979
|
export function BreadCrumbs<T extends Display>({
|
|
980
980
|
depict_category
|
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 = "3.0.
|
|
13
|
+
const $8db9a15135765c11$export$83d89fbfd8236492 = "3.0.17";
|
|
14
14
|
const $ca6ab5f08bd28bca$var$_tmpl$ = ["<svg", ' xmlns="http://www.w3.org/2000/svg"', ' viewBox="0 0 14 26"><path d="M2 24.656c-.078 0-.156-.016-.234-.047s-.133-.066-.187-.129c-.117-.117-.176-.258-.176-.422s.059-.305.176-.422l10.371-10.371L1.578 2.883c-.117-.117-.176-.258-.176-.422s.059-.305.176-.422.258-.176.422-.176.305.059.422.176l10.805 10.793a.59.59 0 0 1 .176.434c0 .172-.059.305-.176.422L2.422 24.48a.42.42 0 0 1-.199.129.54.54 0 0 1-.223.047zm0 0" fill="#0f0f0f"></path></svg>'];
|
|
15
15
|
function $ca6ab5f08bd28bca$export$8be2714ec7f169ee() {
|
|
16
16
|
var _$escape2, _$escape3;
|
|
@@ -6454,7 +6454,7 @@ function $7396052a1484264f$export$d7841e452f2e59a8(_ref) {
|
|
|
6454
6454
|
get_extra_filters_button_ === null || get_extra_filters_button_ === void 0 || get_extra_filters_button_(make_open_filters_button());
|
|
6455
6455
|
get_extra_sorting_button_ === null || get_extra_sorting_button_ === void 0 || get_extra_sorting_button_(make_open_sorting_button());
|
|
6456
6456
|
$b8hua$createEffect(() => {
|
|
6457
|
-
if (sort_and_filter_disabled_()) {
|
|
6457
|
+
if (sort_and_filter_disabled_ !== null && sort_and_filter_disabled_ !== void 0 && sort_and_filter_disabled_()) {
|
|
6458
6458
|
// If someone changes the layout to slider-without-filters dynamically, close sorting and filters
|
|
6459
6459
|
set_filters_open(false);
|
|
6460
6460
|
set_sorting_open(false);
|
|
@@ -6462,7 +6462,7 @@ function $7396052a1484264f$export$d7841e452f2e59a8(_ref) {
|
|
|
6462
6462
|
});
|
|
6463
6463
|
return $b8hua$createComponent((0, $b8hua$Show), {
|
|
6464
6464
|
get when() {
|
|
6465
|
-
return !sort_and_filter_disabled_();
|
|
6465
|
+
return !(sort_and_filter_disabled_ !== null && sort_and_filter_disabled_ !== void 0 && sort_and_filter_disabled_());
|
|
6466
6466
|
},
|
|
6467
6467
|
get children() {
|
|
6468
6468
|
return $b8hua$ssr($7396052a1484264f$var$_tmpl$3, $b8hua$ssrHydrationKey(), $b8hua$escape(make_open_filters_button(true, true)), $b8hua$escape(middle_elements_ === null || middle_elements_ === void 0 ? void 0 : middle_elements_()), $b8hua$escape(make_open_sorting_button(true, true)));
|
package/server/latest/index.cjs
CHANGED
|
@@ -77,7 +77,7 @@ $parcel$export(module.exports, "defaultColsAtSize", () => $a3280f0aad997933$expo
|
|
|
77
77
|
$parcel$export(module.exports, "defaultCategoryTitlePlugin", () => $a3280f0aad997933$export$7bf543b9d9be2c22);
|
|
78
78
|
$parcel$export(module.exports, "version", () => $b757f75811f3261f$export$83d89fbfd8236492);
|
|
79
79
|
/*! Depict.ai search and product listing SDK */
|
|
80
|
-
const $b757f75811f3261f$export$83d89fbfd8236492 = "3.0.
|
|
80
|
+
const $b757f75811f3261f$export$83d89fbfd8236492 = "3.0.17";
|
|
81
81
|
const $0f313083912e447a$var$_tmpl$ = ["<svg", ' xmlns="http://www.w3.org/2000/svg"', ' viewBox="0 0 14 26"><path d="M2 24.656c-.078 0-.156-.016-.234-.047s-.133-.066-.187-.129c-.117-.117-.176-.258-.176-.422s.059-.305.176-.422l10.371-10.371L1.578 2.883c-.117-.117-.176-.258-.176-.422s.059-.305.176-.422.258-.176.422-.176.305.059.422.176l10.805 10.793a.59.59 0 0 1 .176.434c0 .172-.059.305-.176.422L2.422 24.48a.42.42 0 0 1-.199.129.54.54 0 0 1-.223.047zm0 0" fill="#0f0f0f"></path></svg>'];
|
|
82
82
|
function $0f313083912e447a$export$8be2714ec7f169ee(props = {}) {
|
|
83
83
|
return $5vyXB$solidjsweb.ssr($0f313083912e447a$var$_tmpl$, $5vyXB$solidjsweb.ssrHydrationKey(), $5vyXB$solidjsweb.ssrAttribute("width", $5vyXB$solidjsweb.escape(props.width_, true) ?? 14, false) + $5vyXB$solidjsweb.ssrAttribute("height", $5vyXB$solidjsweb.escape(props.height_, true) ?? 26, false));
|
|
@@ -6086,7 +6086,7 @@ function $f8f64d05c525825b$export$d7841e452f2e59a8({
|
|
|
6086
6086
|
get_extra_filters_button_?.(make_open_filters_button());
|
|
6087
6087
|
get_extra_sorting_button_?.(make_open_sorting_button());
|
|
6088
6088
|
$5vyXB$solidjs.createEffect(() => {
|
|
6089
|
-
if (sort_and_filter_disabled_()) {
|
|
6089
|
+
if (sort_and_filter_disabled_?.()) {
|
|
6090
6090
|
// If someone changes the layout to slider-without-filters dynamically, close sorting and filters
|
|
6091
6091
|
set_filters_open(false);
|
|
6092
6092
|
set_sorting_open(false);
|
|
@@ -6094,7 +6094,7 @@ function $f8f64d05c525825b$export$d7841e452f2e59a8({
|
|
|
6094
6094
|
});
|
|
6095
6095
|
return $5vyXB$solidjsweb.createComponent((0, $5vyXB$solidjs.Show), {
|
|
6096
6096
|
get when() {
|
|
6097
|
-
return !sort_and_filter_disabled_();
|
|
6097
|
+
return !sort_and_filter_disabled_?.();
|
|
6098
6098
|
},
|
|
6099
6099
|
get children() {
|
|
6100
6100
|
return $5vyXB$solidjsweb.ssr($f8f64d05c525825b$var$_tmpl$3, $5vyXB$solidjsweb.ssrHydrationKey(), $5vyXB$solidjsweb.escape(make_open_filters_button(true, true)), $5vyXB$solidjsweb.escape(middle_elements_?.()), $5vyXB$solidjsweb.escape(make_open_sorting_button(true, true)));
|
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 = "3.0.
|
|
13
|
+
export const version = "3.0.17";
|
|
14
14
|
export type SDKColsAtSize = [number, number?][];
|
|
15
15
|
/**
|
|
16
16
|
* Transform SDK ColsAtSize into valid Layout ColsAtSize
|
|
@@ -974,7 +974,7 @@ export function CategoryPage<OriginalDisplay extends Display, OutputDisplay exte
|
|
|
974
974
|
category_title: typeof CategoryTitle | typeof embedded_num_products;
|
|
975
975
|
on_listing_query_change?: (new_listing_query?: ListingQuery | undefined, old_listing_query?: ListingQuery | undefined) => void;
|
|
976
976
|
content_blocks_by_row?: ContentBlocksByRow;
|
|
977
|
-
layout?:
|
|
977
|
+
layout?: PossibleLayout;
|
|
978
978
|
}): import("@depict-ai/utilishared/latest").Node_Array;
|
|
979
979
|
export function BreadCrumbs<T extends Display>({
|
|
980
980
|
depict_category
|
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 = "3.0.
|
|
10
|
+
const $ec291e0010116877$export$83d89fbfd8236492 = "3.0.17";
|
|
11
11
|
const $fbbadcb080ad1d4a$var$_tmpl$ = ["<svg", ' xmlns="http://www.w3.org/2000/svg"', ' viewBox="0 0 14 26"><path d="M2 24.656c-.078 0-.156-.016-.234-.047s-.133-.066-.187-.129c-.117-.117-.176-.258-.176-.422s.059-.305.176-.422l10.371-10.371L1.578 2.883c-.117-.117-.176-.258-.176-.422s.059-.305.176-.422.258-.176.422-.176.305.059.422.176l10.805 10.793a.59.59 0 0 1 .176.434c0 .172-.059.305-.176.422L2.422 24.48a.42.42 0 0 1-.199.129.54.54 0 0 1-.223.047zm0 0" fill="#0f0f0f"></path></svg>'];
|
|
12
12
|
function $fbbadcb080ad1d4a$export$8be2714ec7f169ee(props = {}) {
|
|
13
13
|
return $i7OB2$ssr($fbbadcb080ad1d4a$var$_tmpl$, $i7OB2$ssrHydrationKey(), $i7OB2$ssrAttribute("width", $i7OB2$escape(props.width_, true) ?? 14, false) + $i7OB2$ssrAttribute("height", $i7OB2$escape(props.height_, true) ?? 26, false));
|
|
@@ -6016,7 +6016,7 @@ function $cdea4cf8c5c071ef$export$d7841e452f2e59a8({
|
|
|
6016
6016
|
get_extra_filters_button_?.(make_open_filters_button());
|
|
6017
6017
|
get_extra_sorting_button_?.(make_open_sorting_button());
|
|
6018
6018
|
$i7OB2$createEffect(() => {
|
|
6019
|
-
if (sort_and_filter_disabled_()) {
|
|
6019
|
+
if (sort_and_filter_disabled_?.()) {
|
|
6020
6020
|
// If someone changes the layout to slider-without-filters dynamically, close sorting and filters
|
|
6021
6021
|
set_filters_open(false);
|
|
6022
6022
|
set_sorting_open(false);
|
|
@@ -6024,7 +6024,7 @@ function $cdea4cf8c5c071ef$export$d7841e452f2e59a8({
|
|
|
6024
6024
|
});
|
|
6025
6025
|
return $i7OB2$createComponent((0, $i7OB2$Show), {
|
|
6026
6026
|
get when() {
|
|
6027
|
-
return !sort_and_filter_disabled_();
|
|
6027
|
+
return !sort_and_filter_disabled_?.();
|
|
6028
6028
|
},
|
|
6029
6029
|
get children() {
|
|
6030
6030
|
return $i7OB2$ssr($cdea4cf8c5c071ef$var$_tmpl$3, $i7OB2$ssrHydrationKey(), $i7OB2$escape(make_open_filters_button(true, true)), $i7OB2$escape(middle_elements_?.()), $i7OB2$escape(make_open_sorting_button(true, true)));
|