@depict-ai/ui 3.0.13 → 3.0.15
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 +7 -4
- package/ES10/index.d.ts +1 -1
- package/ES10/index.js +7 -4
- package/latest/index.cjs +7 -4
- package/latest/index.d.ts +1 -1
- package/latest/index.js +7 -4
- package/package.json +2 -2
- package/server/ES10/index.cjs +7 -4
- package/server/ES10/index.d.ts +1 -1
- package/server/ES10/index.js +7 -4
- package/server/latest/index.cjs +7 -4
- package/server/latest/index.d.ts +1 -1
- package/server/latest/index.js +7 -4
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.15";
|
|
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] : {};
|
|
@@ -7140,6 +7140,7 @@ function $484eec37514a982e$export$3925f87b1545cfc6(_ref) {
|
|
|
7140
7140
|
}, {
|
|
7141
7141
|
defer: true
|
|
7142
7142
|
}));
|
|
7143
|
+
$52FdA$solidjs.createEffect(() => layout() === "slider" && !doesnt_have_content_blocks() && $52FdA$depictaiutilishared.dwarn("Slider layout doesn't support content blocks yet"));
|
|
7143
7144
|
/*
|
|
7144
7145
|
This suspense ensures that if someone has async templates, we still show placeholders until the product cards actually have finished rendering (automagically since they're createResource's)
|
|
7145
7146
|
We're creating it outside the <Show> so that we can benefit from <For>'s optimisation between changing results
|
|
@@ -9672,6 +9673,7 @@ function $9cbefc32b9dab36d$export$e2bf8ce7779e827e(props) {
|
|
|
9672
9673
|
return newId;
|
|
9673
9674
|
});
|
|
9674
9675
|
$52FdA$solidjs.onCleanup(() => $bdea39a75c454f4f$export$f50b88e2a00918b5(props.on_listing_query_change)());
|
|
9676
|
+
const is_slider = $52FdA$solidjs.createMemo(() => props.layout === "slider");
|
|
9675
9677
|
const grid_spacing_override = $52FdA$solidjs.createMemo(() => {
|
|
9676
9678
|
const {
|
|
9677
9679
|
grid_spacing: grid_spacing
|
|
@@ -9718,14 +9720,15 @@ function $9cbefc32b9dab36d$export$e2bf8ce7779e827e(props) {
|
|
|
9718
9720
|
return depict_category.listing_query.type;
|
|
9719
9721
|
}),
|
|
9720
9722
|
i18n_: i18n_,
|
|
9723
|
+
// default disable quicklinks and breadcrumbs for sliders
|
|
9721
9724
|
show_quicklinks_: $52FdA$solidjs.createMemo(() => {
|
|
9722
9725
|
var _props$show_quicklink;
|
|
9723
|
-
return (_props$show_quicklink = props.show_quicklinks) !== null && _props$show_quicklink !== void 0 ? _props$show_quicklink :
|
|
9726
|
+
return (_props$show_quicklink = props.show_quicklinks) !== null && _props$show_quicklink !== void 0 ? _props$show_quicklink : !is_slider();
|
|
9724
9727
|
}),
|
|
9725
9728
|
category_title_: category_title,
|
|
9726
9729
|
show_breadcrumbs_: $52FdA$solidjs.createMemo(() => {
|
|
9727
9730
|
var _props$show_breadcrum;
|
|
9728
|
-
return (_props$show_breadcrum = props.show_breadcrumbs) !== null && _props$show_breadcrum !== void 0 ? _props$show_breadcrum :
|
|
9731
|
+
return (_props$show_breadcrum = props.show_breadcrumbs) !== null && _props$show_breadcrum !== void 0 ? _props$show_breadcrum : !is_slider();
|
|
9729
9732
|
}),
|
|
9730
9733
|
current_sorting_: current_sorting_,
|
|
9731
9734
|
router_: router_,
|
|
@@ -9742,7 +9745,7 @@ function $9cbefc32b9dab36d$export$e2bf8ce7779e827e(props) {
|
|
|
9742
9745
|
layout_options_: $52FdA$solidjs.createMemo(() => ({
|
|
9743
9746
|
cols_at_size: $5401a6698b0c0658$export$6daf8749b65a1b77(props.cols_at_size),
|
|
9744
9747
|
...grid_spacing_override(),
|
|
9745
|
-
layout: props.layout
|
|
9748
|
+
layout: props.layout
|
|
9746
9749
|
})),
|
|
9747
9750
|
product_card_template_: product_card_template,
|
|
9748
9751
|
sorting_query_param_: sorting_query_param_,
|
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.15";
|
|
14
14
|
export type SDKColsAtSize = [number, number?][];
|
|
15
15
|
/**
|
|
16
16
|
* Transform SDK ColsAtSize into valid Layout ColsAtSize
|
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.15";
|
|
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] : {};
|
|
@@ -7067,6 +7067,7 @@ function $7faea0096f14b59b$export$3925f87b1545cfc6(_ref) {
|
|
|
7067
7067
|
}, {
|
|
7068
7068
|
defer: true
|
|
7069
7069
|
}));
|
|
7070
|
+
$8tj43$createEffect(() => layout() === "slider" && !doesnt_have_content_blocks() && $8tj43$dwarn("Slider layout doesn't support content blocks yet"));
|
|
7070
7071
|
/*
|
|
7071
7072
|
This suspense ensures that if someone has async templates, we still show placeholders until the product cards actually have finished rendering (automagically since they're createResource's)
|
|
7072
7073
|
We're creating it outside the <Show> so that we can benefit from <For>'s optimisation between changing results
|
|
@@ -9599,6 +9600,7 @@ function $f5f54892fd0c7d9f$export$e2bf8ce7779e827e(props) {
|
|
|
9599
9600
|
return newId;
|
|
9600
9601
|
});
|
|
9601
9602
|
$8tj43$onCleanup(() => $01c33966d9ddb108$export$f50b88e2a00918b5(props.on_listing_query_change)());
|
|
9603
|
+
const is_slider = $8tj43$createMemo(() => props.layout === "slider");
|
|
9602
9604
|
const grid_spacing_override = $8tj43$createMemo(() => {
|
|
9603
9605
|
const {
|
|
9604
9606
|
grid_spacing: grid_spacing
|
|
@@ -9645,14 +9647,15 @@ function $f5f54892fd0c7d9f$export$e2bf8ce7779e827e(props) {
|
|
|
9645
9647
|
return depict_category.listing_query.type;
|
|
9646
9648
|
}),
|
|
9647
9649
|
i18n_: i18n_,
|
|
9650
|
+
// default disable quicklinks and breadcrumbs for sliders
|
|
9648
9651
|
show_quicklinks_: $8tj43$createMemo(() => {
|
|
9649
9652
|
var _props$show_quicklink;
|
|
9650
|
-
return (_props$show_quicklink = props.show_quicklinks) !== null && _props$show_quicklink !== void 0 ? _props$show_quicklink :
|
|
9653
|
+
return (_props$show_quicklink = props.show_quicklinks) !== null && _props$show_quicklink !== void 0 ? _props$show_quicklink : !is_slider();
|
|
9651
9654
|
}),
|
|
9652
9655
|
category_title_: category_title,
|
|
9653
9656
|
show_breadcrumbs_: $8tj43$createMemo(() => {
|
|
9654
9657
|
var _props$show_breadcrum;
|
|
9655
|
-
return (_props$show_breadcrum = props.show_breadcrumbs) !== null && _props$show_breadcrum !== void 0 ? _props$show_breadcrum :
|
|
9658
|
+
return (_props$show_breadcrum = props.show_breadcrumbs) !== null && _props$show_breadcrum !== void 0 ? _props$show_breadcrum : !is_slider();
|
|
9656
9659
|
}),
|
|
9657
9660
|
current_sorting_: current_sorting_,
|
|
9658
9661
|
router_: router_,
|
|
@@ -9669,7 +9672,7 @@ function $f5f54892fd0c7d9f$export$e2bf8ce7779e827e(props) {
|
|
|
9669
9672
|
layout_options_: $8tj43$createMemo(() => ({
|
|
9670
9673
|
cols_at_size: $a9c7ba6087881ac2$export$6daf8749b65a1b77(props.cols_at_size),
|
|
9671
9674
|
...grid_spacing_override(),
|
|
9672
|
-
layout: props.layout
|
|
9675
|
+
layout: props.layout
|
|
9673
9676
|
})),
|
|
9674
9677
|
product_card_template_: product_card_template,
|
|
9675
9678
|
sorting_query_param_: sorting_query_param_,
|
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.15";
|
|
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 (() => {
|
|
@@ -6696,6 +6696,7 @@ function $fe76fb463cc60b89$export$3925f87b1545cfc6({
|
|
|
6696
6696
|
}, {
|
|
6697
6697
|
defer: true
|
|
6698
6698
|
}));
|
|
6699
|
+
$gVhhF$solidjs.createEffect(() => layout() === "slider" && !doesnt_have_content_blocks() && $gVhhF$depictaiutilishared.dwarn("Slider layout doesn't support content blocks yet"));
|
|
6699
6700
|
/*
|
|
6700
6701
|
This suspense ensures that if someone has async templates, we still show placeholders until the product cards actually have finished rendering (automagically since they're createResource's)
|
|
6701
6702
|
We're creating it outside the <Show> so that we can benefit from <For>'s optimisation between changing results
|
|
@@ -9030,6 +9031,7 @@ function $48567ac5b39bac56$export$e2bf8ce7779e827e(props) {
|
|
|
9030
9031
|
return newId;
|
|
9031
9032
|
});
|
|
9032
9033
|
$gVhhF$solidjs.onCleanup(() => $deaaf04362a1bc71$export$f50b88e2a00918b5(props.on_listing_query_change)());
|
|
9034
|
+
const is_slider = $gVhhF$solidjs.createMemo(() => props.layout === "slider");
|
|
9033
9035
|
const grid_spacing_override = $gVhhF$solidjs.createMemo(() => {
|
|
9034
9036
|
const {
|
|
9035
9037
|
grid_spacing: grid_spacing
|
|
@@ -9076,9 +9078,10 @@ function $48567ac5b39bac56$export$e2bf8ce7779e827e(props) {
|
|
|
9076
9078
|
return depict_category.listing_query.type;
|
|
9077
9079
|
}),
|
|
9078
9080
|
i18n_: i18n_,
|
|
9079
|
-
|
|
9081
|
+
// default disable quicklinks and breadcrumbs for sliders
|
|
9082
|
+
show_quicklinks_: $gVhhF$solidjs.createMemo(() => props.show_quicklinks ?? !is_slider()),
|
|
9080
9083
|
category_title_: category_title,
|
|
9081
|
-
show_breadcrumbs_: $gVhhF$solidjs.createMemo(() => props.show_breadcrumbs ??
|
|
9084
|
+
show_breadcrumbs_: $gVhhF$solidjs.createMemo(() => props.show_breadcrumbs ?? !is_slider()),
|
|
9082
9085
|
current_sorting_: current_sorting_,
|
|
9083
9086
|
router_: router_,
|
|
9084
9087
|
get_breadcrumb_accessor_: accessor => $gVhhF$solidjs.createComputed(() => breadcrumb_signal_[1](accessor())),
|
|
@@ -9094,7 +9097,7 @@ function $48567ac5b39bac56$export$e2bf8ce7779e827e(props) {
|
|
|
9094
9097
|
layout_options_: $gVhhF$solidjs.createMemo(() => ({
|
|
9095
9098
|
cols_at_size: $4e04be41243c3d80$export$6daf8749b65a1b77(props.cols_at_size),
|
|
9096
9099
|
...grid_spacing_override(),
|
|
9097
|
-
layout: props.layout
|
|
9100
|
+
layout: props.layout
|
|
9098
9101
|
})),
|
|
9099
9102
|
product_card_template_: product_card_template,
|
|
9100
9103
|
sorting_query_param_: sorting_query_param_,
|
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.15";
|
|
14
14
|
export type SDKColsAtSize = [number, number?][];
|
|
15
15
|
/**
|
|
16
16
|
* Transform SDK ColsAtSize into valid Layout ColsAtSize
|
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.15";
|
|
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 (() => {
|
|
@@ -6626,6 +6626,7 @@ function $2d25e42846eac370$export$3925f87b1545cfc6({
|
|
|
6626
6626
|
}, {
|
|
6627
6627
|
defer: true
|
|
6628
6628
|
}));
|
|
6629
|
+
$9HbP8$createEffect(() => layout() === "slider" && !doesnt_have_content_blocks() && $9HbP8$dwarn("Slider layout doesn't support content blocks yet"));
|
|
6629
6630
|
/*
|
|
6630
6631
|
This suspense ensures that if someone has async templates, we still show placeholders until the product cards actually have finished rendering (automagically since they're createResource's)
|
|
6631
6632
|
We're creating it outside the <Show> so that we can benefit from <For>'s optimisation between changing results
|
|
@@ -8960,6 +8961,7 @@ function $961b5c64bef4662f$export$e2bf8ce7779e827e(props) {
|
|
|
8960
8961
|
return newId;
|
|
8961
8962
|
});
|
|
8962
8963
|
$9HbP8$onCleanup(() => $d8dbf52fea1773e2$export$f50b88e2a00918b5(props.on_listing_query_change)());
|
|
8964
|
+
const is_slider = $9HbP8$createMemo(() => props.layout === "slider");
|
|
8963
8965
|
const grid_spacing_override = $9HbP8$createMemo(() => {
|
|
8964
8966
|
const {
|
|
8965
8967
|
grid_spacing: grid_spacing
|
|
@@ -9006,9 +9008,10 @@ function $961b5c64bef4662f$export$e2bf8ce7779e827e(props) {
|
|
|
9006
9008
|
return depict_category.listing_query.type;
|
|
9007
9009
|
}),
|
|
9008
9010
|
i18n_: i18n_,
|
|
9009
|
-
|
|
9011
|
+
// default disable quicklinks and breadcrumbs for sliders
|
|
9012
|
+
show_quicklinks_: $9HbP8$createMemo(() => props.show_quicklinks ?? !is_slider()),
|
|
9010
9013
|
category_title_: category_title,
|
|
9011
|
-
show_breadcrumbs_: $9HbP8$createMemo(() => props.show_breadcrumbs ??
|
|
9014
|
+
show_breadcrumbs_: $9HbP8$createMemo(() => props.show_breadcrumbs ?? !is_slider()),
|
|
9012
9015
|
current_sorting_: current_sorting_,
|
|
9013
9016
|
router_: router_,
|
|
9014
9017
|
get_breadcrumb_accessor_: accessor => $9HbP8$createComputed(() => breadcrumb_signal_[1](accessor())),
|
|
@@ -9024,7 +9027,7 @@ function $961b5c64bef4662f$export$e2bf8ce7779e827e(props) {
|
|
|
9024
9027
|
layout_options_: $9HbP8$createMemo(() => ({
|
|
9025
9028
|
cols_at_size: $b5cccc8ee7d24677$export$6daf8749b65a1b77(props.cols_at_size),
|
|
9026
9029
|
...grid_spacing_override(),
|
|
9027
|
-
layout: props.layout
|
|
9030
|
+
layout: props.layout
|
|
9028
9031
|
})),
|
|
9029
9032
|
product_card_template_: product_card_template,
|
|
9030
9033
|
sorting_query_param_: sorting_query_param_,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@depict-ai/ui",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.15",
|
|
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",
|
|
@@ -236,7 +236,7 @@
|
|
|
236
236
|
"@babel/plugin-transform-typescript": "^7.22.9",
|
|
237
237
|
"@babel/runtime": "latest",
|
|
238
238
|
"@babel/runtime-corejs3": "^7.22.6",
|
|
239
|
-
"@depict-ai/plp-styling": "^2.0.
|
|
239
|
+
"@depict-ai/plp-styling": "^2.0.3",
|
|
240
240
|
"@depict-ai/types": "^5.0.2",
|
|
241
241
|
"@depict-ai/utilishared": "^2.0.6",
|
|
242
242
|
"solid-js": "^1.8.1"
|
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.15";
|
|
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;
|
|
@@ -5983,6 +5983,7 @@ function $484eec37514a982e$export$3925f87b1545cfc6(_ref) {
|
|
|
5983
5983
|
}, {
|
|
5984
5984
|
defer: true
|
|
5985
5985
|
}));
|
|
5986
|
+
$3hooq$solidjs.createEffect(() => layout() === "slider" && !doesnt_have_content_blocks() && $3hooq$depictaiutilishared.dwarn("Slider layout doesn't support content blocks yet"));
|
|
5986
5987
|
/*
|
|
5987
5988
|
This suspense ensures that if someone has async templates, we still show placeholders until the product cards actually have finished rendering (automagically since they're createResource's)
|
|
5988
5989
|
We're creating it outside the <Show> so that we can benefit from <For>'s optimisation between changing results
|
|
@@ -8088,6 +8089,7 @@ function $9cbefc32b9dab36d$export$e2bf8ce7779e827e(props) {
|
|
|
8088
8089
|
return newId;
|
|
8089
8090
|
});
|
|
8090
8091
|
$3hooq$solidjs.onCleanup(() => $bdea39a75c454f4f$export$f50b88e2a00918b5(props.on_listing_query_change)());
|
|
8092
|
+
const is_slider = $3hooq$solidjs.createMemo(() => props.layout === "slider");
|
|
8091
8093
|
const grid_spacing_override = $3hooq$solidjs.createMemo(() => {
|
|
8092
8094
|
const {
|
|
8093
8095
|
grid_spacing: grid_spacing
|
|
@@ -8134,14 +8136,15 @@ function $9cbefc32b9dab36d$export$e2bf8ce7779e827e(props) {
|
|
|
8134
8136
|
return depict_category.listing_query.type;
|
|
8135
8137
|
}),
|
|
8136
8138
|
i18n_: i18n_,
|
|
8139
|
+
// default disable quicklinks and breadcrumbs for sliders
|
|
8137
8140
|
show_quicklinks_: $3hooq$solidjs.createMemo(() => {
|
|
8138
8141
|
var _props$show_quicklink;
|
|
8139
|
-
return (_props$show_quicklink = props.show_quicklinks) !== null && _props$show_quicklink !== void 0 ? _props$show_quicklink :
|
|
8142
|
+
return (_props$show_quicklink = props.show_quicklinks) !== null && _props$show_quicklink !== void 0 ? _props$show_quicklink : !is_slider();
|
|
8140
8143
|
}),
|
|
8141
8144
|
category_title_: category_title,
|
|
8142
8145
|
show_breadcrumbs_: $3hooq$solidjs.createMemo(() => {
|
|
8143
8146
|
var _props$show_breadcrum;
|
|
8144
|
-
return (_props$show_breadcrum = props.show_breadcrumbs) !== null && _props$show_breadcrum !== void 0 ? _props$show_breadcrum :
|
|
8147
|
+
return (_props$show_breadcrum = props.show_breadcrumbs) !== null && _props$show_breadcrum !== void 0 ? _props$show_breadcrum : !is_slider();
|
|
8145
8148
|
}),
|
|
8146
8149
|
current_sorting_: current_sorting_,
|
|
8147
8150
|
router_: router_,
|
|
@@ -8158,7 +8161,7 @@ function $9cbefc32b9dab36d$export$e2bf8ce7779e827e(props) {
|
|
|
8158
8161
|
layout_options_: $3hooq$solidjs.createMemo(() => ({
|
|
8159
8162
|
cols_at_size: $5401a6698b0c0658$export$6daf8749b65a1b77(props.cols_at_size),
|
|
8160
8163
|
...grid_spacing_override(),
|
|
8161
|
-
layout: props.layout
|
|
8164
|
+
layout: props.layout
|
|
8162
8165
|
})),
|
|
8163
8166
|
product_card_template_: product_card_template,
|
|
8164
8167
|
sorting_query_param_: sorting_query_param_,
|
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.15";
|
|
14
14
|
export type SDKColsAtSize = [number, number?][];
|
|
15
15
|
/**
|
|
16
16
|
* Transform SDK ColsAtSize into valid Layout ColsAtSize
|
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.15";
|
|
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;
|
|
@@ -5910,6 +5910,7 @@ function $7faea0096f14b59b$export$3925f87b1545cfc6(_ref) {
|
|
|
5910
5910
|
}, {
|
|
5911
5911
|
defer: true
|
|
5912
5912
|
}));
|
|
5913
|
+
$b8hua$createEffect(() => layout() === "slider" && !doesnt_have_content_blocks() && $b8hua$dwarn("Slider layout doesn't support content blocks yet"));
|
|
5913
5914
|
/*
|
|
5914
5915
|
This suspense ensures that if someone has async templates, we still show placeholders until the product cards actually have finished rendering (automagically since they're createResource's)
|
|
5915
5916
|
We're creating it outside the <Show> so that we can benefit from <For>'s optimisation between changing results
|
|
@@ -8015,6 +8016,7 @@ function $f5f54892fd0c7d9f$export$e2bf8ce7779e827e(props) {
|
|
|
8015
8016
|
return newId;
|
|
8016
8017
|
});
|
|
8017
8018
|
$b8hua$onCleanup(() => $01c33966d9ddb108$export$f50b88e2a00918b5(props.on_listing_query_change)());
|
|
8019
|
+
const is_slider = $b8hua$createMemo(() => props.layout === "slider");
|
|
8018
8020
|
const grid_spacing_override = $b8hua$createMemo(() => {
|
|
8019
8021
|
const {
|
|
8020
8022
|
grid_spacing: grid_spacing
|
|
@@ -8061,14 +8063,15 @@ function $f5f54892fd0c7d9f$export$e2bf8ce7779e827e(props) {
|
|
|
8061
8063
|
return depict_category.listing_query.type;
|
|
8062
8064
|
}),
|
|
8063
8065
|
i18n_: i18n_,
|
|
8066
|
+
// default disable quicklinks and breadcrumbs for sliders
|
|
8064
8067
|
show_quicklinks_: $b8hua$createMemo(() => {
|
|
8065
8068
|
var _props$show_quicklink;
|
|
8066
|
-
return (_props$show_quicklink = props.show_quicklinks) !== null && _props$show_quicklink !== void 0 ? _props$show_quicklink :
|
|
8069
|
+
return (_props$show_quicklink = props.show_quicklinks) !== null && _props$show_quicklink !== void 0 ? _props$show_quicklink : !is_slider();
|
|
8067
8070
|
}),
|
|
8068
8071
|
category_title_: category_title,
|
|
8069
8072
|
show_breadcrumbs_: $b8hua$createMemo(() => {
|
|
8070
8073
|
var _props$show_breadcrum;
|
|
8071
|
-
return (_props$show_breadcrum = props.show_breadcrumbs) !== null && _props$show_breadcrum !== void 0 ? _props$show_breadcrum :
|
|
8074
|
+
return (_props$show_breadcrum = props.show_breadcrumbs) !== null && _props$show_breadcrum !== void 0 ? _props$show_breadcrum : !is_slider();
|
|
8072
8075
|
}),
|
|
8073
8076
|
current_sorting_: current_sorting_,
|
|
8074
8077
|
router_: router_,
|
|
@@ -8085,7 +8088,7 @@ function $f5f54892fd0c7d9f$export$e2bf8ce7779e827e(props) {
|
|
|
8085
8088
|
layout_options_: $b8hua$createMemo(() => ({
|
|
8086
8089
|
cols_at_size: $a9c7ba6087881ac2$export$6daf8749b65a1b77(props.cols_at_size),
|
|
8087
8090
|
...grid_spacing_override(),
|
|
8088
|
-
layout: props.layout
|
|
8091
|
+
layout: props.layout
|
|
8089
8092
|
})),
|
|
8090
8093
|
product_card_template_: product_card_template,
|
|
8091
8094
|
sorting_query_param_: sorting_query_param_,
|
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.15";
|
|
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));
|
|
@@ -5582,6 +5582,7 @@ function $fe76fb463cc60b89$export$3925f87b1545cfc6({
|
|
|
5582
5582
|
}, {
|
|
5583
5583
|
defer: true
|
|
5584
5584
|
}));
|
|
5585
|
+
$5vyXB$solidjs.createEffect(() => layout() === "slider" && !doesnt_have_content_blocks() && $5vyXB$depictaiutilishared.dwarn("Slider layout doesn't support content blocks yet"));
|
|
5585
5586
|
/*
|
|
5586
5587
|
This suspense ensures that if someone has async templates, we still show placeholders until the product cards actually have finished rendering (automagically since they're createResource's)
|
|
5587
5588
|
We're creating it outside the <Show> so that we can benefit from <For>'s optimisation between changing results
|
|
@@ -7504,6 +7505,7 @@ function $48567ac5b39bac56$export$e2bf8ce7779e827e(props) {
|
|
|
7504
7505
|
return newId;
|
|
7505
7506
|
});
|
|
7506
7507
|
$5vyXB$solidjs.onCleanup(() => $deaaf04362a1bc71$export$f50b88e2a00918b5(props.on_listing_query_change)());
|
|
7508
|
+
const is_slider = $5vyXB$solidjs.createMemo(() => props.layout === "slider");
|
|
7507
7509
|
const grid_spacing_override = $5vyXB$solidjs.createMemo(() => {
|
|
7508
7510
|
const {
|
|
7509
7511
|
grid_spacing: grid_spacing
|
|
@@ -7550,9 +7552,10 @@ function $48567ac5b39bac56$export$e2bf8ce7779e827e(props) {
|
|
|
7550
7552
|
return depict_category.listing_query.type;
|
|
7551
7553
|
}),
|
|
7552
7554
|
i18n_: i18n_,
|
|
7553
|
-
|
|
7555
|
+
// default disable quicklinks and breadcrumbs for sliders
|
|
7556
|
+
show_quicklinks_: $5vyXB$solidjs.createMemo(() => props.show_quicklinks ?? !is_slider()),
|
|
7554
7557
|
category_title_: category_title,
|
|
7555
|
-
show_breadcrumbs_: $5vyXB$solidjs.createMemo(() => props.show_breadcrumbs ??
|
|
7558
|
+
show_breadcrumbs_: $5vyXB$solidjs.createMemo(() => props.show_breadcrumbs ?? !is_slider()),
|
|
7556
7559
|
current_sorting_: current_sorting_,
|
|
7557
7560
|
router_: router_,
|
|
7558
7561
|
get_breadcrumb_accessor_: accessor => $5vyXB$solidjs.createComputed(() => breadcrumb_signal_[1](accessor())),
|
|
@@ -7568,7 +7571,7 @@ function $48567ac5b39bac56$export$e2bf8ce7779e827e(props) {
|
|
|
7568
7571
|
layout_options_: $5vyXB$solidjs.createMemo(() => ({
|
|
7569
7572
|
cols_at_size: $4e04be41243c3d80$export$6daf8749b65a1b77(props.cols_at_size),
|
|
7570
7573
|
...grid_spacing_override(),
|
|
7571
|
-
layout: props.layout
|
|
7574
|
+
layout: props.layout
|
|
7572
7575
|
})),
|
|
7573
7576
|
product_card_template_: product_card_template,
|
|
7574
7577
|
sorting_query_param_: sorting_query_param_,
|
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.15";
|
|
14
14
|
export type SDKColsAtSize = [number, number?][];
|
|
15
15
|
/**
|
|
16
16
|
* Transform SDK ColsAtSize into valid Layout ColsAtSize
|
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.15";
|
|
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));
|
|
@@ -5512,6 +5512,7 @@ function $2d25e42846eac370$export$3925f87b1545cfc6({
|
|
|
5512
5512
|
}, {
|
|
5513
5513
|
defer: true
|
|
5514
5514
|
}));
|
|
5515
|
+
$i7OB2$createEffect(() => layout() === "slider" && !doesnt_have_content_blocks() && $i7OB2$dwarn("Slider layout doesn't support content blocks yet"));
|
|
5515
5516
|
/*
|
|
5516
5517
|
This suspense ensures that if someone has async templates, we still show placeholders until the product cards actually have finished rendering (automagically since they're createResource's)
|
|
5517
5518
|
We're creating it outside the <Show> so that we can benefit from <For>'s optimisation between changing results
|
|
@@ -7434,6 +7435,7 @@ function $961b5c64bef4662f$export$e2bf8ce7779e827e(props) {
|
|
|
7434
7435
|
return newId;
|
|
7435
7436
|
});
|
|
7436
7437
|
$i7OB2$onCleanup(() => $d8dbf52fea1773e2$export$f50b88e2a00918b5(props.on_listing_query_change)());
|
|
7438
|
+
const is_slider = $i7OB2$createMemo(() => props.layout === "slider");
|
|
7437
7439
|
const grid_spacing_override = $i7OB2$createMemo(() => {
|
|
7438
7440
|
const {
|
|
7439
7441
|
grid_spacing: grid_spacing
|
|
@@ -7480,9 +7482,10 @@ function $961b5c64bef4662f$export$e2bf8ce7779e827e(props) {
|
|
|
7480
7482
|
return depict_category.listing_query.type;
|
|
7481
7483
|
}),
|
|
7482
7484
|
i18n_: i18n_,
|
|
7483
|
-
|
|
7485
|
+
// default disable quicklinks and breadcrumbs for sliders
|
|
7486
|
+
show_quicklinks_: $i7OB2$createMemo(() => props.show_quicklinks ?? !is_slider()),
|
|
7484
7487
|
category_title_: category_title,
|
|
7485
|
-
show_breadcrumbs_: $i7OB2$createMemo(() => props.show_breadcrumbs ??
|
|
7488
|
+
show_breadcrumbs_: $i7OB2$createMemo(() => props.show_breadcrumbs ?? !is_slider()),
|
|
7486
7489
|
current_sorting_: current_sorting_,
|
|
7487
7490
|
router_: router_,
|
|
7488
7491
|
get_breadcrumb_accessor_: accessor => $i7OB2$createComputed(() => breadcrumb_signal_[1](accessor())),
|
|
@@ -7498,7 +7501,7 @@ function $961b5c64bef4662f$export$e2bf8ce7779e827e(props) {
|
|
|
7498
7501
|
layout_options_: $i7OB2$createMemo(() => ({
|
|
7499
7502
|
cols_at_size: $b5cccc8ee7d24677$export$6daf8749b65a1b77(props.cols_at_size),
|
|
7500
7503
|
...grid_spacing_override(),
|
|
7501
|
-
layout: props.layout
|
|
7504
|
+
layout: props.layout
|
|
7502
7505
|
})),
|
|
7503
7506
|
product_card_template_: product_card_template,
|
|
7504
7507
|
sorting_query_param_: sorting_query_param_,
|