@depict-ai/ui 3.0.0 → 3.0.1
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 +8 -6
- package/ES10/index.d.ts +1 -1
- package/ES10/index.js +8 -6
- package/latest/index.cjs +8 -6
- package/latest/index.d.ts +1 -1
- package/latest/index.js +8 -6
- package/package.json +1 -1
- package/server/ES10/index.cjs +6 -4
- package/server/ES10/index.d.ts +1 -1
- package/server/ES10/index.js +6 -4
- package/server/latest/index.cjs +6 -4
- package/server/latest/index.d.ts +1 -1
- package/server/latest/index.js +6 -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.1";
|
|
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] : {};
|
|
@@ -6079,14 +6079,14 @@ async function $e270e9f953fcbc58$var$_run_display_transformers_for_rest2(merchan
|
|
|
6079
6079
|
}
|
|
6080
6080
|
if (page_url_creator || category_transformer) for (const category_display_array of [breadcrumbs, quick_links]) {
|
|
6081
6081
|
if (!category_display_array) continue;
|
|
6082
|
-
const page_urls = await (page_url_creator || category_transformer)({
|
|
6082
|
+
const page_urls = await $52FdA$solidjs.runWithOwner(owner, () => (page_url_creator || category_transformer)({
|
|
6083
6083
|
merchant: merchant,
|
|
6084
6084
|
market: market,
|
|
6085
6085
|
data: [...category_display_array],
|
|
6086
6086
|
...(page_url_creator ? {
|
|
6087
6087
|
type: "categories"
|
|
6088
6088
|
} : {})
|
|
6089
|
-
});
|
|
6089
|
+
}));
|
|
6090
6090
|
$e270e9f953fcbc58$var$_classPrivateMethodGet(this, $e270e9f953fcbc58$var$_guard_url_creator_length, $e270e9f953fcbc58$var$_guard_url_creator_length2).call(this, category_display_array, page_urls);
|
|
6091
6091
|
for (let i = 0; i < category_display_array.length; i++)
|
|
6092
6092
|
// Copy over getters so we sneakily can make this reactive
|
|
@@ -8219,7 +8219,9 @@ function $1c819dc9d820a149$export$5646050d516e06bc(_ref) {
|
|
|
8219
8219
|
var _display_accessor;
|
|
8220
8220
|
return $a68b73fd7ba0853f$export$43cd1e747fecd42e({
|
|
8221
8221
|
to_url_: (_display_accessor = display_accessor()) === null || _display_accessor === void 0 ? void 0 : _display_accessor.page_url,
|
|
8222
|
-
filter_query_param_prefix_:
|
|
8222
|
+
filter_query_param_prefix_:
|
|
8223
|
+
// page_url here can be a getter if that was added in the display transformers as a way of making this reactive
|
|
8224
|
+
filter_query_param_prefix_,
|
|
8223
8225
|
sorting_query_param_: sorting_query_param_
|
|
8224
8226
|
});
|
|
8225
8227
|
});
|
|
@@ -8706,7 +8708,7 @@ function $8b366fdb0c76194d$var$clear_if_opened_new_tab_with_sideways_url_params_
|
|
|
8706
8708
|
});
|
|
8707
8709
|
tracking_function_for_plp_results(plp_results_);
|
|
8708
8710
|
}
|
|
8709
|
-
const $c3a7faae6f2b93c9$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<div class=statement style=white-space:pre-wrap>No
|
|
8711
|
+
const $c3a7faae6f2b93c9$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<div class=statement style=white-space:pre-wrap>No listingId specified, this is probably unintentional. Make sure to create (and insert) the CategoryPage *after* you have specified a listingId.`),
|
|
8710
8712
|
$c3a7faae6f2b93c9$var$_tmpl$2 = /*#__PURE__*/$52FdA$solidjsweb.template(`<div class=buttons><button class="ok major">`);
|
|
8711
8713
|
function $c3a7faae6f2b93c9$export$7af06a63c5a976c9(el, listing_id, i18n_) {
|
|
8712
8714
|
if (!(0, $52FdA$depictaiutilishared.is_debug)) return; // Just to make sure we don't show this in production
|
|
@@ -8718,7 +8720,7 @@ function $c3a7faae6f2b93c9$export$7af06a63c5a976c9(el, listing_id, i18n_) {
|
|
|
8718
8720
|
return $52FdA$solidjs.runWithOwner(owner, () => $52FdA$solidjs.createEffect(() => {
|
|
8719
8721
|
if (!document.documentElement.contains(element)) return;
|
|
8720
8722
|
if (!listing_id()) {
|
|
8721
|
-
const warning = "No
|
|
8723
|
+
const warning = "No listingId specified, this is probably unintentional. Make sure to create (and insert) the CategoryPage *after* you have specified a listingId.";
|
|
8722
8724
|
$52FdA$depictaiutilishared.dwarn(warning);
|
|
8723
8725
|
const {
|
|
8724
8726
|
close_toast_: close_toast_
|
package/ES10/index.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ import { ProductListingRequestV3 } from "@depict-ai/types/api/ProductListingRequ
|
|
|
11
11
|
import { GetListingRequest } from "@depict-ai/types/api/GetListingRequest";
|
|
12
12
|
import { BaseSearchRequestV3 } from "@depict-ai/types/api/BaseSearchRequestV3";
|
|
13
13
|
import { SearchFilter as _SearchFilter2 } from "@depict-ai/types/api/SearchRequestV2";
|
|
14
|
-
export const version = "3.0.
|
|
14
|
+
export const version = "3.0.1";
|
|
15
15
|
/** @jsxImportSource solid-js */
|
|
16
16
|
export function GenericSliderArrowButton(props?: {
|
|
17
17
|
width_?: number;
|
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.1";
|
|
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] : {};
|
|
@@ -6006,14 +6006,14 @@ async function $284849364a6ef73a$var$_run_display_transformers_for_rest2(merchan
|
|
|
6006
6006
|
}
|
|
6007
6007
|
if (page_url_creator || category_transformer) for (const category_display_array of [breadcrumbs, quick_links]) {
|
|
6008
6008
|
if (!category_display_array) continue;
|
|
6009
|
-
const page_urls = await (page_url_creator || category_transformer)({
|
|
6009
|
+
const page_urls = await $8tj43$runWithOwner(owner, () => (page_url_creator || category_transformer)({
|
|
6010
6010
|
merchant: merchant,
|
|
6011
6011
|
market: market,
|
|
6012
6012
|
data: [...category_display_array],
|
|
6013
6013
|
...(page_url_creator ? {
|
|
6014
6014
|
type: "categories"
|
|
6015
6015
|
} : {})
|
|
6016
|
-
});
|
|
6016
|
+
}));
|
|
6017
6017
|
$284849364a6ef73a$var$_classPrivateMethodGet(this, $284849364a6ef73a$var$_guard_url_creator_length, $284849364a6ef73a$var$_guard_url_creator_length2).call(this, category_display_array, page_urls);
|
|
6018
6018
|
for (let i = 0; i < category_display_array.length; i++)
|
|
6019
6019
|
// Copy over getters so we sneakily can make this reactive
|
|
@@ -8146,7 +8146,9 @@ function $52efc9ae4382e25a$export$5646050d516e06bc(_ref) {
|
|
|
8146
8146
|
var _display_accessor;
|
|
8147
8147
|
return $2855bffe06ef7a03$export$43cd1e747fecd42e({
|
|
8148
8148
|
to_url_: (_display_accessor = display_accessor()) === null || _display_accessor === void 0 ? void 0 : _display_accessor.page_url,
|
|
8149
|
-
filter_query_param_prefix_:
|
|
8149
|
+
filter_query_param_prefix_:
|
|
8150
|
+
// page_url here can be a getter if that was added in the display transformers as a way of making this reactive
|
|
8151
|
+
filter_query_param_prefix_,
|
|
8150
8152
|
sorting_query_param_: sorting_query_param_
|
|
8151
8153
|
});
|
|
8152
8154
|
});
|
|
@@ -8633,7 +8635,7 @@ function $a4777acaffa35a82$var$clear_if_opened_new_tab_with_sideways_url_params_
|
|
|
8633
8635
|
});
|
|
8634
8636
|
tracking_function_for_plp_results(plp_results_);
|
|
8635
8637
|
}
|
|
8636
|
-
const $1145661fd3ca5519$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<div class=statement style=white-space:pre-wrap>No
|
|
8638
|
+
const $1145661fd3ca5519$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<div class=statement style=white-space:pre-wrap>No listingId specified, this is probably unintentional. Make sure to create (and insert) the CategoryPage *after* you have specified a listingId.`),
|
|
8637
8639
|
$1145661fd3ca5519$var$_tmpl$2 = /*#__PURE__*/$8tj43$template(`<div class=buttons><button class="ok major">`);
|
|
8638
8640
|
function $1145661fd3ca5519$export$7af06a63c5a976c9(el, listing_id, i18n_) {
|
|
8639
8641
|
if (!(0, $8tj43$is_debug)) return; // Just to make sure we don't show this in production
|
|
@@ -8645,7 +8647,7 @@ function $1145661fd3ca5519$export$7af06a63c5a976c9(el, listing_id, i18n_) {
|
|
|
8645
8647
|
return $8tj43$runWithOwner(owner, () => $8tj43$createEffect(() => {
|
|
8646
8648
|
if (!document.documentElement.contains(element)) return;
|
|
8647
8649
|
if (!listing_id()) {
|
|
8648
|
-
const warning = "No
|
|
8650
|
+
const warning = "No listingId specified, this is probably unintentional. Make sure to create (and insert) the CategoryPage *after* you have specified a listingId.";
|
|
8649
8651
|
$8tj43$dwarn(warning);
|
|
8650
8652
|
const {
|
|
8651
8653
|
close_toast_: close_toast_
|
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.1";
|
|
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 (() => {
|
|
@@ -5589,14 +5589,14 @@ class $e1d6c0f3d89d531c$export$e015ed2f2950f2e3 {
|
|
|
5589
5589
|
}
|
|
5590
5590
|
if (page_url_creator || category_transformer) for (const category_display_array of [breadcrumbs, quick_links]) {
|
|
5591
5591
|
if (!category_display_array) continue;
|
|
5592
|
-
const page_urls = await (page_url_creator || category_transformer)({
|
|
5592
|
+
const page_urls = await $gVhhF$solidjs.runWithOwner(owner, () => (page_url_creator || category_transformer)({
|
|
5593
5593
|
merchant: merchant,
|
|
5594
5594
|
market: market,
|
|
5595
5595
|
data: [...category_display_array],
|
|
5596
5596
|
...(page_url_creator ? {
|
|
5597
5597
|
type: "categories"
|
|
5598
5598
|
} : {})
|
|
5599
|
-
});
|
|
5599
|
+
}));
|
|
5600
5600
|
this.#guard_url_creator_length(category_display_array, page_urls);
|
|
5601
5601
|
for (let i = 0; i < category_display_array.length; i++)
|
|
5602
5602
|
// Copy over getters so we sneakily can make this reactive
|
|
@@ -7716,7 +7716,9 @@ function $e53b2e7e632ac4cb$export$5646050d516e06bc({
|
|
|
7716
7716
|
children: (display_accessor, index) => {
|
|
7717
7717
|
const href = $gVhhF$solidjs.createMemo(() => $1ab22f2cd39b3061$export$43cd1e747fecd42e({
|
|
7718
7718
|
to_url_: display_accessor()?.page_url,
|
|
7719
|
-
filter_query_param_prefix_:
|
|
7719
|
+
filter_query_param_prefix_:
|
|
7720
|
+
// page_url here can be a getter if that was added in the display transformers as a way of making this reactive
|
|
7721
|
+
filter_query_param_prefix_,
|
|
7720
7722
|
sorting_query_param_: sorting_query_param_
|
|
7721
7723
|
}));
|
|
7722
7724
|
return [$gVhhF$solidjsweb.createComponent((0, $gVhhF$solidjs.Show), {
|
|
@@ -8166,7 +8168,7 @@ function $ef972f5c10b1c5b4$var$clear_if_opened_new_tab_with_sideways_url_params_
|
|
|
8166
8168
|
});
|
|
8167
8169
|
tracking_function_for_plp_results(plp_results_);
|
|
8168
8170
|
}
|
|
8169
|
-
const $bb9760b7a8acdc18$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div class=statement style=white-space:pre-wrap>No
|
|
8171
|
+
const $bb9760b7a8acdc18$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div class=statement style=white-space:pre-wrap>No listingId specified, this is probably unintentional. Make sure to create (and insert) the CategoryPage *after* you have specified a listingId.`),
|
|
8170
8172
|
$bb9760b7a8acdc18$var$_tmpl$2 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div class=buttons><button class="ok major">`);
|
|
8171
8173
|
function $bb9760b7a8acdc18$export$7af06a63c5a976c9(el, listing_id, i18n_) {
|
|
8172
8174
|
if (!(0, $gVhhF$depictaiutilishared.is_debug)) return; // Just to make sure we don't show this in production
|
|
@@ -8176,7 +8178,7 @@ function $bb9760b7a8acdc18$export$7af06a63c5a976c9(el, listing_id, i18n_) {
|
|
|
8176
8178
|
}) => $gVhhF$solidjs.runWithOwner(owner, () => $gVhhF$solidjs.createEffect(() => {
|
|
8177
8179
|
if (!document.documentElement.contains(element)) return;
|
|
8178
8180
|
if (!listing_id()) {
|
|
8179
|
-
const warning = "No
|
|
8181
|
+
const warning = "No listingId specified, this is probably unintentional. Make sure to create (and insert) the CategoryPage *after* you have specified a listingId.";
|
|
8180
8182
|
$gVhhF$depictaiutilishared.dwarn(warning);
|
|
8181
8183
|
const {
|
|
8182
8184
|
close_toast_: close_toast_
|
package/latest/index.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ import { ProductListingRequestV3 } from "@depict-ai/types/api/ProductListingRequ
|
|
|
11
11
|
import { GetListingRequest } from "@depict-ai/types/api/GetListingRequest";
|
|
12
12
|
import { BaseSearchRequestV3 } from "@depict-ai/types/api/BaseSearchRequestV3";
|
|
13
13
|
import { SearchFilter as _SearchFilter2 } from "@depict-ai/types/api/SearchRequestV2";
|
|
14
|
-
export const version = "3.0.
|
|
14
|
+
export const version = "3.0.1";
|
|
15
15
|
/** @jsxImportSource solid-js */
|
|
16
16
|
export function GenericSliderArrowButton(props?: {
|
|
17
17
|
width_?: number;
|
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.1";
|
|
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 (() => {
|
|
@@ -5519,14 +5519,14 @@ class $7fa23e2a0079eca4$export$e015ed2f2950f2e3 {
|
|
|
5519
5519
|
}
|
|
5520
5520
|
if (page_url_creator || category_transformer) for (const category_display_array of [breadcrumbs, quick_links]) {
|
|
5521
5521
|
if (!category_display_array) continue;
|
|
5522
|
-
const page_urls = await (page_url_creator || category_transformer)({
|
|
5522
|
+
const page_urls = await $9HbP8$runWithOwner(owner, () => (page_url_creator || category_transformer)({
|
|
5523
5523
|
merchant: merchant,
|
|
5524
5524
|
market: market,
|
|
5525
5525
|
data: [...category_display_array],
|
|
5526
5526
|
...(page_url_creator ? {
|
|
5527
5527
|
type: "categories"
|
|
5528
5528
|
} : {})
|
|
5529
|
-
});
|
|
5529
|
+
}));
|
|
5530
5530
|
this.#guard_url_creator_length(category_display_array, page_urls);
|
|
5531
5531
|
for (let i = 0; i < category_display_array.length; i++)
|
|
5532
5532
|
// Copy over getters so we sneakily can make this reactive
|
|
@@ -7646,7 +7646,9 @@ function $dfa5b6f7c5e421df$export$5646050d516e06bc({
|
|
|
7646
7646
|
children: (display_accessor, index) => {
|
|
7647
7647
|
const href = $9HbP8$createMemo(() => $4147651646da990a$export$43cd1e747fecd42e({
|
|
7648
7648
|
to_url_: display_accessor()?.page_url,
|
|
7649
|
-
filter_query_param_prefix_:
|
|
7649
|
+
filter_query_param_prefix_:
|
|
7650
|
+
// page_url here can be a getter if that was added in the display transformers as a way of making this reactive
|
|
7651
|
+
filter_query_param_prefix_,
|
|
7650
7652
|
sorting_query_param_: sorting_query_param_
|
|
7651
7653
|
}));
|
|
7652
7654
|
return [$9HbP8$createComponent((0, $9HbP8$Show), {
|
|
@@ -8096,7 +8098,7 @@ function $e7fce80abe608e01$var$clear_if_opened_new_tab_with_sideways_url_params_
|
|
|
8096
8098
|
});
|
|
8097
8099
|
tracking_function_for_plp_results(plp_results_);
|
|
8098
8100
|
}
|
|
8099
|
-
const $cc6f5b69378cd164$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<div class=statement style=white-space:pre-wrap>No
|
|
8101
|
+
const $cc6f5b69378cd164$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<div class=statement style=white-space:pre-wrap>No listingId specified, this is probably unintentional. Make sure to create (and insert) the CategoryPage *after* you have specified a listingId.`),
|
|
8100
8102
|
$cc6f5b69378cd164$var$_tmpl$2 = /*#__PURE__*/$9HbP8$template(`<div class=buttons><button class="ok major">`);
|
|
8101
8103
|
function $cc6f5b69378cd164$export$7af06a63c5a976c9(el, listing_id, i18n_) {
|
|
8102
8104
|
if (!(0, $9HbP8$is_debug)) return; // Just to make sure we don't show this in production
|
|
@@ -8106,7 +8108,7 @@ function $cc6f5b69378cd164$export$7af06a63c5a976c9(el, listing_id, i18n_) {
|
|
|
8106
8108
|
}) => $9HbP8$runWithOwner(owner, () => $9HbP8$createEffect(() => {
|
|
8107
8109
|
if (!document.documentElement.contains(element)) return;
|
|
8108
8110
|
if (!listing_id()) {
|
|
8109
|
-
const warning = "No
|
|
8111
|
+
const warning = "No listingId specified, this is probably unintentional. Make sure to create (and insert) the CategoryPage *after* you have specified a listingId.";
|
|
8110
8112
|
$9HbP8$dwarn(warning);
|
|
8111
8113
|
const {
|
|
8112
8114
|
close_toast_: close_toast_
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@depict-ai/ui",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.1",
|
|
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.1";
|
|
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;
|
|
@@ -4994,14 +4994,14 @@ async function $e270e9f953fcbc58$var$_run_display_transformers_for_rest2(merchan
|
|
|
4994
4994
|
}
|
|
4995
4995
|
if (page_url_creator || category_transformer) for (const category_display_array of [breadcrumbs, quick_links]) {
|
|
4996
4996
|
if (!category_display_array) continue;
|
|
4997
|
-
const page_urls = await (page_url_creator || category_transformer)({
|
|
4997
|
+
const page_urls = await $3hooq$solidjs.runWithOwner(owner, () => (page_url_creator || category_transformer)({
|
|
4998
4998
|
merchant: merchant,
|
|
4999
4999
|
market: market,
|
|
5000
5000
|
data: [...category_display_array],
|
|
5001
5001
|
...(page_url_creator ? {
|
|
5002
5002
|
type: "categories"
|
|
5003
5003
|
} : {})
|
|
5004
|
-
});
|
|
5004
|
+
}));
|
|
5005
5005
|
$e270e9f953fcbc58$var$_classPrivateMethodGet(this, $e270e9f953fcbc58$var$_guard_url_creator_length, $e270e9f953fcbc58$var$_guard_url_creator_length2).call(this, category_display_array, page_urls);
|
|
5006
5006
|
for (let i = 0; i < category_display_array.length; i++)
|
|
5007
5007
|
// Copy over getters so we sneakily can make this reactive
|
|
@@ -6721,7 +6721,9 @@ function $1c819dc9d820a149$export$5646050d516e06bc(_ref) {
|
|
|
6721
6721
|
var _display_accessor;
|
|
6722
6722
|
return $a68b73fd7ba0853f$export$43cd1e747fecd42e({
|
|
6723
6723
|
to_url_: (_display_accessor = display_accessor()) === null || _display_accessor === void 0 ? void 0 : _display_accessor.page_url,
|
|
6724
|
-
filter_query_param_prefix_:
|
|
6724
|
+
filter_query_param_prefix_:
|
|
6725
|
+
// page_url here can be a getter if that was added in the display transformers as a way of making this reactive
|
|
6726
|
+
filter_query_param_prefix_,
|
|
6725
6727
|
sorting_query_param_: sorting_query_param_
|
|
6726
6728
|
});
|
|
6727
6729
|
});
|
package/server/ES10/index.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ import { ProductListingRequestV3 } from "@depict-ai/types/api/ProductListingRequ
|
|
|
11
11
|
import { GetListingRequest } from "@depict-ai/types/api/GetListingRequest";
|
|
12
12
|
import { BaseSearchRequestV3 } from "@depict-ai/types/api/BaseSearchRequestV3";
|
|
13
13
|
import { SearchFilter as _SearchFilter2 } from "@depict-ai/types/api/SearchRequestV2";
|
|
14
|
-
export const version = "3.0.
|
|
14
|
+
export const version = "3.0.1";
|
|
15
15
|
/** @jsxImportSource solid-js */
|
|
16
16
|
export function GenericSliderArrowButton(props?: {
|
|
17
17
|
width_?: number;
|
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.1";
|
|
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;
|
|
@@ -4921,14 +4921,14 @@ async function $284849364a6ef73a$var$_run_display_transformers_for_rest2(merchan
|
|
|
4921
4921
|
}
|
|
4922
4922
|
if (page_url_creator || category_transformer) for (const category_display_array of [breadcrumbs, quick_links]) {
|
|
4923
4923
|
if (!category_display_array) continue;
|
|
4924
|
-
const page_urls = await (page_url_creator || category_transformer)({
|
|
4924
|
+
const page_urls = await $b8hua$runWithOwner(owner, () => (page_url_creator || category_transformer)({
|
|
4925
4925
|
merchant: merchant,
|
|
4926
4926
|
market: market,
|
|
4927
4927
|
data: [...category_display_array],
|
|
4928
4928
|
...(page_url_creator ? {
|
|
4929
4929
|
type: "categories"
|
|
4930
4930
|
} : {})
|
|
4931
|
-
});
|
|
4931
|
+
}));
|
|
4932
4932
|
$284849364a6ef73a$var$_classPrivateMethodGet(this, $284849364a6ef73a$var$_guard_url_creator_length, $284849364a6ef73a$var$_guard_url_creator_length2).call(this, category_display_array, page_urls);
|
|
4933
4933
|
for (let i = 0; i < category_display_array.length; i++)
|
|
4934
4934
|
// Copy over getters so we sneakily can make this reactive
|
|
@@ -6648,7 +6648,9 @@ function $52efc9ae4382e25a$export$5646050d516e06bc(_ref) {
|
|
|
6648
6648
|
var _display_accessor;
|
|
6649
6649
|
return $2855bffe06ef7a03$export$43cd1e747fecd42e({
|
|
6650
6650
|
to_url_: (_display_accessor = display_accessor()) === null || _display_accessor === void 0 ? void 0 : _display_accessor.page_url,
|
|
6651
|
-
filter_query_param_prefix_:
|
|
6651
|
+
filter_query_param_prefix_:
|
|
6652
|
+
// page_url here can be a getter if that was added in the display transformers as a way of making this reactive
|
|
6653
|
+
filter_query_param_prefix_,
|
|
6652
6654
|
sorting_query_param_: sorting_query_param_
|
|
6653
6655
|
});
|
|
6654
6656
|
});
|
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.1";
|
|
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));
|
|
@@ -4547,14 +4547,14 @@ class $e1d6c0f3d89d531c$export$e015ed2f2950f2e3 {
|
|
|
4547
4547
|
}
|
|
4548
4548
|
if (page_url_creator || category_transformer) for (const category_display_array of [breadcrumbs, quick_links]) {
|
|
4549
4549
|
if (!category_display_array) continue;
|
|
4550
|
-
const page_urls = await (page_url_creator || category_transformer)({
|
|
4550
|
+
const page_urls = await $5vyXB$solidjs.runWithOwner(owner, () => (page_url_creator || category_transformer)({
|
|
4551
4551
|
merchant: merchant,
|
|
4552
4552
|
market: market,
|
|
4553
4553
|
data: [...category_display_array],
|
|
4554
4554
|
...(page_url_creator ? {
|
|
4555
4555
|
type: "categories"
|
|
4556
4556
|
} : {})
|
|
4557
|
-
});
|
|
4557
|
+
}));
|
|
4558
4558
|
this.#guard_url_creator_length(category_display_array, page_urls);
|
|
4559
4559
|
for (let i = 0; i < category_display_array.length; i++)
|
|
4560
4560
|
// Copy over getters so we sneakily can make this reactive
|
|
@@ -6271,7 +6271,9 @@ function $e53b2e7e632ac4cb$export$5646050d516e06bc({
|
|
|
6271
6271
|
children: (display_accessor, index) => {
|
|
6272
6272
|
const href = $5vyXB$solidjs.createMemo(() => $1ab22f2cd39b3061$export$43cd1e747fecd42e({
|
|
6273
6273
|
to_url_: display_accessor()?.page_url,
|
|
6274
|
-
filter_query_param_prefix_:
|
|
6274
|
+
filter_query_param_prefix_:
|
|
6275
|
+
// page_url here can be a getter if that was added in the display transformers as a way of making this reactive
|
|
6276
|
+
filter_query_param_prefix_,
|
|
6275
6277
|
sorting_query_param_: sorting_query_param_
|
|
6276
6278
|
}));
|
|
6277
6279
|
return [$5vyXB$solidjsweb.createComponent((0, $5vyXB$solidjs.Show), {
|
package/server/latest/index.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ import { ProductListingRequestV3 } from "@depict-ai/types/api/ProductListingRequ
|
|
|
11
11
|
import { GetListingRequest } from "@depict-ai/types/api/GetListingRequest";
|
|
12
12
|
import { BaseSearchRequestV3 } from "@depict-ai/types/api/BaseSearchRequestV3";
|
|
13
13
|
import { SearchFilter as _SearchFilter2 } from "@depict-ai/types/api/SearchRequestV2";
|
|
14
|
-
export const version = "3.0.
|
|
14
|
+
export const version = "3.0.1";
|
|
15
15
|
/** @jsxImportSource solid-js */
|
|
16
16
|
export function GenericSliderArrowButton(props?: {
|
|
17
17
|
width_?: number;
|
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.1";
|
|
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));
|
|
@@ -4477,14 +4477,14 @@ class $7fa23e2a0079eca4$export$e015ed2f2950f2e3 {
|
|
|
4477
4477
|
}
|
|
4478
4478
|
if (page_url_creator || category_transformer) for (const category_display_array of [breadcrumbs, quick_links]) {
|
|
4479
4479
|
if (!category_display_array) continue;
|
|
4480
|
-
const page_urls = await (page_url_creator || category_transformer)({
|
|
4480
|
+
const page_urls = await $i7OB2$runWithOwner(owner, () => (page_url_creator || category_transformer)({
|
|
4481
4481
|
merchant: merchant,
|
|
4482
4482
|
market: market,
|
|
4483
4483
|
data: [...category_display_array],
|
|
4484
4484
|
...(page_url_creator ? {
|
|
4485
4485
|
type: "categories"
|
|
4486
4486
|
} : {})
|
|
4487
|
-
});
|
|
4487
|
+
}));
|
|
4488
4488
|
this.#guard_url_creator_length(category_display_array, page_urls);
|
|
4489
4489
|
for (let i = 0; i < category_display_array.length; i++)
|
|
4490
4490
|
// Copy over getters so we sneakily can make this reactive
|
|
@@ -6201,7 +6201,9 @@ function $dfa5b6f7c5e421df$export$5646050d516e06bc({
|
|
|
6201
6201
|
children: (display_accessor, index) => {
|
|
6202
6202
|
const href = $i7OB2$createMemo(() => $4147651646da990a$export$43cd1e747fecd42e({
|
|
6203
6203
|
to_url_: display_accessor()?.page_url,
|
|
6204
|
-
filter_query_param_prefix_:
|
|
6204
|
+
filter_query_param_prefix_:
|
|
6205
|
+
// page_url here can be a getter if that was added in the display transformers as a way of making this reactive
|
|
6206
|
+
filter_query_param_prefix_,
|
|
6205
6207
|
sorting_query_param_: sorting_query_param_
|
|
6206
6208
|
}));
|
|
6207
6209
|
return [$i7OB2$createComponent((0, $i7OB2$Show), {
|