@depict-ai/ui 1.4.18 → 1.4.19
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 +13 -7
- package/ES10/index.d.ts +1 -1
- package/ES10/index.js +14 -8
- package/latest/index.cjs +5 -2
- package/latest/index.d.ts +1 -1
- package/latest/index.js +6 -3
- package/package.json +4 -4
- package/server/ES10/index.cjs +13 -7
- package/server/ES10/index.d.ts +1 -1
- package/server/ES10/index.js +14 -8
- package/server/latest/index.cjs +5 -2
- package/server/latest/index.d.ts +1 -1
- package/server/latest/index.js +6 -3
package/ES10/index.cjs
CHANGED
|
@@ -61,7 +61,7 @@ $parcel$export(module.exports, "defaultColsAtSize", () => $33eed84f447aa0c0$expo
|
|
|
61
61
|
$parcel$export(module.exports, "defaultCategoryTitlePlugin", () => $33eed84f447aa0c0$export$7bf543b9d9be2c22);
|
|
62
62
|
$parcel$export(module.exports, "version", () => $aa1938dec50d6c12$export$83d89fbfd8236492);
|
|
63
63
|
/*! Depict.ai search and product listing SDK */
|
|
64
|
-
const $aa1938dec50d6c12$export$83d89fbfd8236492 = "1.4.
|
|
64
|
+
const $aa1938dec50d6c12$export$83d89fbfd8236492 = "1.4.19";
|
|
65
65
|
|
|
66
66
|
// Errors caused by SDK consuming code interfacing with the SDK, not the SDK itself or other Depict packages
|
|
67
67
|
class $95e4006e1dcb5b72$export$e1d52e4f0c7557a1 extends Error {}
|
|
@@ -5499,6 +5499,7 @@ function $1c819dc9d820a149$export$5646050d516e06bc(_ref) {
|
|
|
5499
5499
|
} = _ref;
|
|
5500
5500
|
const placeholder_crumb_data = [,,,];
|
|
5501
5501
|
const crumb_data = $52FdA$solidjs.createMemo(() => get_api_crumb_data() || placeholder_crumb_data);
|
|
5502
|
+
const href_accessor = $52FdA$depictaiutilishared.use_href_accessor();
|
|
5502
5503
|
return $52FdA$solidjsweb.createComponent((0, $1b3cf201cdd38687$export$b69d0d92862de18b), {
|
|
5503
5504
|
severity_: "error",
|
|
5504
5505
|
message_: "BreadCrumbs failed",
|
|
@@ -5509,14 +5510,19 @@ function $1c819dc9d820a149$export$5646050d516e06bc(_ref) {
|
|
|
5509
5510
|
return crumb_data();
|
|
5510
5511
|
},
|
|
5511
5512
|
children: (display_accessor, index) => {
|
|
5512
|
-
const
|
|
5513
|
+
const is_last = $52FdA$solidjs.createMemo(() => {
|
|
5514
|
+
var _crumb_data;
|
|
5515
|
+
return index === ((_crumb_data = crumb_data()) === null || _crumb_data === void 0 ? void 0 : _crumb_data.length) - 1;
|
|
5516
|
+
});
|
|
5517
|
+
const url = $52FdA$solidjs.createMemo(() => {
|
|
5513
5518
|
var _display_accessor;
|
|
5514
|
-
return
|
|
5515
|
-
to_url_: (_display_accessor = display_accessor()) === null || _display_accessor === void 0 ? void 0 : _display_accessor.page_url,
|
|
5516
|
-
filter_query_param_prefix_: filter_query_param_prefix_,
|
|
5517
|
-
sorting_query_param_: sorting_query_param_
|
|
5518
|
-
});
|
|
5519
|
+
return is_last() ? href_accessor() : (_display_accessor = display_accessor()) === null || _display_accessor === void 0 ? void 0 : _display_accessor.page_url;
|
|
5519
5520
|
});
|
|
5521
|
+
const href = $52FdA$solidjs.createMemo(() => $a68b73fd7ba0853f$export$43cd1e747fecd42e({
|
|
5522
|
+
to_url_: url(),
|
|
5523
|
+
filter_query_param_prefix_: filter_query_param_prefix_,
|
|
5524
|
+
sorting_query_param_: sorting_query_param_
|
|
5525
|
+
}));
|
|
5520
5526
|
return [$52FdA$solidjsweb.createComponent((0, $52FdA$solidjs.Show), {
|
|
5521
5527
|
get when() {
|
|
5522
5528
|
return display_accessor();
|
package/ES10/index.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ import { CategorySuggestion, SearchSuggestionsResponse } from "@depict-ai/types/
|
|
|
7
7
|
import { BaseSearchRequest } from "@depict-ai/types/api/BaseSearchRequest";
|
|
8
8
|
import { SearchSuggestionsRequest } from "@depict-ai/types/api/SearchSuggestionsRequest";
|
|
9
9
|
import { ProductListingRequest } from "@depict-ai/types/api/ProductListingRequest";
|
|
10
|
-
export const version = "1.4.
|
|
10
|
+
export const version = "1.4.19";
|
|
11
11
|
declare class SDKError extends Error {}
|
|
12
12
|
export class ProductCardError extends SDKError {
|
|
13
13
|
constructor(templateError: Error);
|
package/ES10/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { add_to_version_info as $8tj43$add_to_version_info, report as $8tj43$report, observer as $8tj43$observer, catchify as $8tj43$catchify, useExpandingContainer as $8tj43$useExpandingContainer, standard_price_format as $8tj43$standard_price_format, Amazing_Slider as $8tj43$Amazing_Slider, slider_snap_css as $8tj43$slider_snap_css, slider_fading_factory as $8tj43$slider_fading_factory, make_random_classname as $8tj43$make_random_classname, dlog as $8tj43$dlog, hex_to_rgb as $8tj43$hex_to_rgb, relative_luminance_from_rgb as $8tj43$relative_luminance_from_rgb, javascript_media_query as $8tj43$javascript_media_query, n_col_styling_with_dist as $8tj43$n_col_styling_with_dist, layout_get_visible_recs_without_partial_rows as $8tj43$layout_get_visible_recs_without_partial_rows, layout_get_total_rec_amount_for_row as $8tj43$layout_get_total_rec_amount_for_row, layout_media_query_header as $8tj43$layout_media_query_header, fetch_recs as $8tj43$fetch_recs, snakeCasifyObject as $8tj43$snakeCasifyObject, instant_exec_on_suspect_history_change as $8tj43$instant_exec_on_suspect_history_change, base_url as $8tj43$base_url, get_depict_id as $8tj43$get_depict_id, get_user_id as $8tj43$get_user_id, get_session_id as $8tj43$get_session_id, make_url_with_query_params as $8tj43$make_url_with_query_params, fetch_retry as $8tj43$fetch_retry, add_version_query_params as $8tj43$add_version_query_params, dwarn as $8tj43$dwarn, sort_obj as $8tj43$sort_obj, edit_current_page_meta_tags as $8tj43$edit_current_page_meta_tags, base64_encode_unicode as $8tj43$base64_encode_unicode, base64_decode_unicode as $8tj43$base64_decode_unicode, queueMacroTask as $8tj43$queueMacroTask, is_debug as $8tj43$is_debug, make_asyncIterable_exiter as $8tj43$make_asyncIterable_exiter, href_change_ipns as $8tj43$href_change_ipns, ContainedImage as $8tj43$ContainedImage, buildThresholdList as $8tj43$buildThresholdList, deparallelize_no_drop as $8tj43$deparallelize_no_drop, insert_surfaces as $8tj43$insert_surfaces } from "@depict-ai/utilishared/ES10";
|
|
1
|
+
import { add_to_version_info as $8tj43$add_to_version_info, report as $8tj43$report, observer as $8tj43$observer, catchify as $8tj43$catchify, useExpandingContainer as $8tj43$useExpandingContainer, standard_price_format as $8tj43$standard_price_format, Amazing_Slider as $8tj43$Amazing_Slider, slider_snap_css as $8tj43$slider_snap_css, slider_fading_factory as $8tj43$slider_fading_factory, make_random_classname as $8tj43$make_random_classname, dlog as $8tj43$dlog, hex_to_rgb as $8tj43$hex_to_rgb, relative_luminance_from_rgb as $8tj43$relative_luminance_from_rgb, javascript_media_query as $8tj43$javascript_media_query, n_col_styling_with_dist as $8tj43$n_col_styling_with_dist, layout_get_visible_recs_without_partial_rows as $8tj43$layout_get_visible_recs_without_partial_rows, layout_get_total_rec_amount_for_row as $8tj43$layout_get_total_rec_amount_for_row, layout_media_query_header as $8tj43$layout_media_query_header, fetch_recs as $8tj43$fetch_recs, snakeCasifyObject as $8tj43$snakeCasifyObject, instant_exec_on_suspect_history_change as $8tj43$instant_exec_on_suspect_history_change, base_url as $8tj43$base_url, get_depict_id as $8tj43$get_depict_id, get_user_id as $8tj43$get_user_id, get_session_id as $8tj43$get_session_id, make_url_with_query_params as $8tj43$make_url_with_query_params, fetch_retry as $8tj43$fetch_retry, add_version_query_params as $8tj43$add_version_query_params, dwarn as $8tj43$dwarn, sort_obj as $8tj43$sort_obj, edit_current_page_meta_tags as $8tj43$edit_current_page_meta_tags, use_href_accessor as $8tj43$use_href_accessor, base64_encode_unicode as $8tj43$base64_encode_unicode, base64_decode_unicode as $8tj43$base64_decode_unicode, queueMacroTask as $8tj43$queueMacroTask, is_debug as $8tj43$is_debug, make_asyncIterable_exiter as $8tj43$make_asyncIterable_exiter, href_change_ipns as $8tj43$href_change_ipns, ContainedImage as $8tj43$ContainedImage, buildThresholdList as $8tj43$buildThresholdList, deparallelize_no_drop as $8tj43$deparallelize_no_drop, insert_surfaces as $8tj43$insert_surfaces } from "@depict-ai/utilishared/ES10";
|
|
2
2
|
import { template as $8tj43$template, getNextElement as $8tj43$getNextElement, insert as $8tj43$insert, effect as $8tj43$effect, classList as $8tj43$classList, createComponent as $8tj43$createComponent, getNextMarker as $8tj43$getNextMarker, addEventListener as $8tj43$addEventListener, runHydrationEvents as $8tj43$runHydrationEvents, memo as $8tj43$memo, delegateEvents as $8tj43$delegateEvents, setAttribute as $8tj43$setAttribute, spread as $8tj43$spread, mergeProps as $8tj43$mergeProps, Dynamic as $8tj43$Dynamic, use as $8tj43$use, style as $8tj43$style, className as $8tj43$className, isServer as $8tj43$isServer } from "solid-js/web";
|
|
3
3
|
import { ErrorBoundary as $8tj43$ErrorBoundary, createSignal as $8tj43$createSignal, createMemo as $8tj43$createMemo, untrack as $8tj43$untrack, createEffect as $8tj43$createEffect, getOwner as $8tj43$getOwner, Show as $8tj43$Show, runWithOwner as $8tj43$runWithOwner, Index as $8tj43$Index, onCleanup as $8tj43$onCleanup, createRoot as $8tj43$createRoot, on as $8tj43$on, For as $8tj43$For, createRenderEffect as $8tj43$createRenderEffect, createComputed as $8tj43$createComputed, batch as $8tj43$batch, createResource as $8tj43$createResource, createReaction as $8tj43$createReaction, Suspense as $8tj43$Suspense } from "solid-js";
|
|
4
4
|
import $8tj43$babelruntimehelpersclassPrivateFieldSet from "@babel/runtime/helpers/classPrivateFieldSet";
|
|
@@ -8,7 +8,7 @@ import $8tj43$babelruntimehelpersdefineProperty from "@babel/runtime/helpers/def
|
|
|
8
8
|
/*! Depict.ai search and product listing SDK */
|
|
9
9
|
import { register_es_version } from "../multi_import_deduplicator.mjs";
|
|
10
10
|
register_es_version("ui", "ES10");
|
|
11
|
-
const $8db9a15135765c11$export$83d89fbfd8236492 = "1.4.
|
|
11
|
+
const $8db9a15135765c11$export$83d89fbfd8236492 = "1.4.19";
|
|
12
12
|
|
|
13
13
|
// Errors caused by SDK consuming code interfacing with the SDK, not the SDK itself or other Depict packages
|
|
14
14
|
class $f3b7124b76123e44$export$e1d52e4f0c7557a1 extends Error {}
|
|
@@ -5446,6 +5446,7 @@ function $52efc9ae4382e25a$export$5646050d516e06bc(_ref) {
|
|
|
5446
5446
|
} = _ref;
|
|
5447
5447
|
const placeholder_crumb_data = [,,,];
|
|
5448
5448
|
const crumb_data = $8tj43$createMemo(() => get_api_crumb_data() || placeholder_crumb_data);
|
|
5449
|
+
const href_accessor = $8tj43$use_href_accessor();
|
|
5449
5450
|
return $8tj43$createComponent((0, $74777e8fe65b3dcb$export$b69d0d92862de18b), {
|
|
5450
5451
|
severity_: "error",
|
|
5451
5452
|
message_: "BreadCrumbs failed",
|
|
@@ -5456,14 +5457,19 @@ function $52efc9ae4382e25a$export$5646050d516e06bc(_ref) {
|
|
|
5456
5457
|
return crumb_data();
|
|
5457
5458
|
},
|
|
5458
5459
|
children: (display_accessor, index) => {
|
|
5459
|
-
const
|
|
5460
|
+
const is_last = $8tj43$createMemo(() => {
|
|
5461
|
+
var _crumb_data;
|
|
5462
|
+
return index === ((_crumb_data = crumb_data()) === null || _crumb_data === void 0 ? void 0 : _crumb_data.length) - 1;
|
|
5463
|
+
});
|
|
5464
|
+
const url = $8tj43$createMemo(() => {
|
|
5460
5465
|
var _display_accessor;
|
|
5461
|
-
return
|
|
5462
|
-
to_url_: (_display_accessor = display_accessor()) === null || _display_accessor === void 0 ? void 0 : _display_accessor.page_url,
|
|
5463
|
-
filter_query_param_prefix_: filter_query_param_prefix_,
|
|
5464
|
-
sorting_query_param_: sorting_query_param_
|
|
5465
|
-
});
|
|
5466
|
+
return is_last() ? href_accessor() : (_display_accessor = display_accessor()) === null || _display_accessor === void 0 ? void 0 : _display_accessor.page_url;
|
|
5466
5467
|
});
|
|
5468
|
+
const href = $8tj43$createMemo(() => $2855bffe06ef7a03$export$43cd1e747fecd42e({
|
|
5469
|
+
to_url_: url(),
|
|
5470
|
+
filter_query_param_prefix_: filter_query_param_prefix_,
|
|
5471
|
+
sorting_query_param_: sorting_query_param_
|
|
5472
|
+
}));
|
|
5467
5473
|
return [$8tj43$createComponent((0, $8tj43$Show), {
|
|
5468
5474
|
get when() {
|
|
5469
5475
|
return display_accessor();
|
package/latest/index.cjs
CHANGED
|
@@ -55,7 +55,7 @@ $parcel$export(module.exports, "defaultColsAtSize", () => $a3280f0aad997933$expo
|
|
|
55
55
|
$parcel$export(module.exports, "defaultCategoryTitlePlugin", () => $a3280f0aad997933$export$7bf543b9d9be2c22);
|
|
56
56
|
$parcel$export(module.exports, "version", () => $b757f75811f3261f$export$83d89fbfd8236492);
|
|
57
57
|
/*! Depict.ai search and product listing SDK */
|
|
58
|
-
const $b757f75811f3261f$export$83d89fbfd8236492 = "1.4.
|
|
58
|
+
const $b757f75811f3261f$export$83d89fbfd8236492 = "1.4.19";
|
|
59
59
|
|
|
60
60
|
// Errors caused by SDK consuming code interfacing with the SDK, not the SDK itself or other Depict packages
|
|
61
61
|
class $7dd1edb2ee2b43ad$export$e1d52e4f0c7557a1 extends Error {}
|
|
@@ -5126,6 +5126,7 @@ function $e53b2e7e632ac4cb$export$5646050d516e06bc({
|
|
|
5126
5126
|
}) {
|
|
5127
5127
|
const placeholder_crumb_data = [,,,];
|
|
5128
5128
|
const crumb_data = $gVhhF$solidjs.createMemo(() => get_api_crumb_data() || placeholder_crumb_data);
|
|
5129
|
+
const href_accessor = $gVhhF$depictaiutilishared.use_href_accessor();
|
|
5129
5130
|
return $gVhhF$solidjsweb.createComponent((0, $edafe91daf3091d7$export$b69d0d92862de18b), {
|
|
5130
5131
|
severity_: "error",
|
|
5131
5132
|
message_: "BreadCrumbs failed",
|
|
@@ -5136,8 +5137,10 @@ function $e53b2e7e632ac4cb$export$5646050d516e06bc({
|
|
|
5136
5137
|
return crumb_data();
|
|
5137
5138
|
},
|
|
5138
5139
|
children: (display_accessor, index) => {
|
|
5140
|
+
const is_last = $gVhhF$solidjs.createMemo(() => index === crumb_data()?.length - 1);
|
|
5141
|
+
const url = $gVhhF$solidjs.createMemo(() => is_last() ? href_accessor() : display_accessor()?.page_url);
|
|
5139
5142
|
const href = $gVhhF$solidjs.createMemo(() => $1ab22f2cd39b3061$export$43cd1e747fecd42e({
|
|
5140
|
-
to_url_:
|
|
5143
|
+
to_url_: url(),
|
|
5141
5144
|
filter_query_param_prefix_: filter_query_param_prefix_,
|
|
5142
5145
|
sorting_query_param_: sorting_query_param_
|
|
5143
5146
|
}));
|
package/latest/index.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ import { CategorySuggestion, SearchSuggestionsResponse } from "@depict-ai/types/
|
|
|
7
7
|
import { BaseSearchRequest } from "@depict-ai/types/api/BaseSearchRequest";
|
|
8
8
|
import { SearchSuggestionsRequest } from "@depict-ai/types/api/SearchSuggestionsRequest";
|
|
9
9
|
import { ProductListingRequest } from "@depict-ai/types/api/ProductListingRequest";
|
|
10
|
-
export const version = "1.4.
|
|
10
|
+
export const version = "1.4.19";
|
|
11
11
|
declare class SDKError extends Error {}
|
|
12
12
|
export class ProductCardError extends SDKError {
|
|
13
13
|
constructor(templateError: Error);
|
package/latest/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { add_to_version_info as $9HbP8$add_to_version_info, report as $9HbP8$report, observer as $9HbP8$observer, catchify as $9HbP8$catchify, useExpandingContainer as $9HbP8$useExpandingContainer, standard_price_format as $9HbP8$standard_price_format, Amazing_Slider as $9HbP8$Amazing_Slider, slider_snap_css as $9HbP8$slider_snap_css, slider_fading_factory as $9HbP8$slider_fading_factory, make_random_classname as $9HbP8$make_random_classname, dlog as $9HbP8$dlog, hex_to_rgb as $9HbP8$hex_to_rgb, relative_luminance_from_rgb as $9HbP8$relative_luminance_from_rgb, javascript_media_query as $9HbP8$javascript_media_query, n_col_styling_with_dist as $9HbP8$n_col_styling_with_dist, layout_get_visible_recs_without_partial_rows as $9HbP8$layout_get_visible_recs_without_partial_rows, layout_get_total_rec_amount_for_row as $9HbP8$layout_get_total_rec_amount_for_row, layout_media_query_header as $9HbP8$layout_media_query_header, fetch_recs as $9HbP8$fetch_recs, snakeCasifyObject as $9HbP8$snakeCasifyObject, instant_exec_on_suspect_history_change as $9HbP8$instant_exec_on_suspect_history_change, base_url as $9HbP8$base_url, get_depict_id as $9HbP8$get_depict_id, get_user_id as $9HbP8$get_user_id, get_session_id as $9HbP8$get_session_id, sort_obj as $9HbP8$sort_obj, fetch_retry as $9HbP8$fetch_retry, add_version_query_params as $9HbP8$add_version_query_params, dwarn as $9HbP8$dwarn, make_url_with_query_params as $9HbP8$make_url_with_query_params, edit_current_page_meta_tags as $9HbP8$edit_current_page_meta_tags, base64_encode_unicode as $9HbP8$base64_encode_unicode, base64_decode_unicode as $9HbP8$base64_decode_unicode, queueMacroTask as $9HbP8$queueMacroTask, is_debug as $9HbP8$is_debug, make_asyncIterable_exiter as $9HbP8$make_asyncIterable_exiter, href_change_ipns as $9HbP8$href_change_ipns, ContainedImage as $9HbP8$ContainedImage, buildThresholdList as $9HbP8$buildThresholdList, deparallelize_no_drop as $9HbP8$deparallelize_no_drop, insert_surfaces as $9HbP8$insert_surfaces } from "@depict-ai/utilishared/latest";
|
|
1
|
+
import { add_to_version_info as $9HbP8$add_to_version_info, report as $9HbP8$report, observer as $9HbP8$observer, catchify as $9HbP8$catchify, useExpandingContainer as $9HbP8$useExpandingContainer, standard_price_format as $9HbP8$standard_price_format, Amazing_Slider as $9HbP8$Amazing_Slider, slider_snap_css as $9HbP8$slider_snap_css, slider_fading_factory as $9HbP8$slider_fading_factory, make_random_classname as $9HbP8$make_random_classname, dlog as $9HbP8$dlog, hex_to_rgb as $9HbP8$hex_to_rgb, relative_luminance_from_rgb as $9HbP8$relative_luminance_from_rgb, javascript_media_query as $9HbP8$javascript_media_query, n_col_styling_with_dist as $9HbP8$n_col_styling_with_dist, layout_get_visible_recs_without_partial_rows as $9HbP8$layout_get_visible_recs_without_partial_rows, layout_get_total_rec_amount_for_row as $9HbP8$layout_get_total_rec_amount_for_row, layout_media_query_header as $9HbP8$layout_media_query_header, fetch_recs as $9HbP8$fetch_recs, snakeCasifyObject as $9HbP8$snakeCasifyObject, instant_exec_on_suspect_history_change as $9HbP8$instant_exec_on_suspect_history_change, base_url as $9HbP8$base_url, get_depict_id as $9HbP8$get_depict_id, get_user_id as $9HbP8$get_user_id, get_session_id as $9HbP8$get_session_id, sort_obj as $9HbP8$sort_obj, fetch_retry as $9HbP8$fetch_retry, add_version_query_params as $9HbP8$add_version_query_params, dwarn as $9HbP8$dwarn, make_url_with_query_params as $9HbP8$make_url_with_query_params, edit_current_page_meta_tags as $9HbP8$edit_current_page_meta_tags, use_href_accessor as $9HbP8$use_href_accessor, base64_encode_unicode as $9HbP8$base64_encode_unicode, base64_decode_unicode as $9HbP8$base64_decode_unicode, queueMacroTask as $9HbP8$queueMacroTask, is_debug as $9HbP8$is_debug, make_asyncIterable_exiter as $9HbP8$make_asyncIterable_exiter, href_change_ipns as $9HbP8$href_change_ipns, ContainedImage as $9HbP8$ContainedImage, buildThresholdList as $9HbP8$buildThresholdList, deparallelize_no_drop as $9HbP8$deparallelize_no_drop, insert_surfaces as $9HbP8$insert_surfaces } from "@depict-ai/utilishared/latest";
|
|
2
2
|
import { template as $9HbP8$template, getNextElement as $9HbP8$getNextElement, insert as $9HbP8$insert, effect as $9HbP8$effect, classList as $9HbP8$classList, createComponent as $9HbP8$createComponent, getNextMarker as $9HbP8$getNextMarker, addEventListener as $9HbP8$addEventListener, runHydrationEvents as $9HbP8$runHydrationEvents, memo as $9HbP8$memo, delegateEvents as $9HbP8$delegateEvents, setAttribute as $9HbP8$setAttribute, spread as $9HbP8$spread, mergeProps as $9HbP8$mergeProps, Dynamic as $9HbP8$Dynamic, use as $9HbP8$use, style as $9HbP8$style, className as $9HbP8$className, isServer as $9HbP8$isServer } from "solid-js/web";
|
|
3
3
|
import { ErrorBoundary as $9HbP8$ErrorBoundary, createSignal as $9HbP8$createSignal, createMemo as $9HbP8$createMemo, untrack as $9HbP8$untrack, createEffect as $9HbP8$createEffect, getOwner as $9HbP8$getOwner, Show as $9HbP8$Show, runWithOwner as $9HbP8$runWithOwner, Index as $9HbP8$Index, onCleanup as $9HbP8$onCleanup, createRoot as $9HbP8$createRoot, on as $9HbP8$on, For as $9HbP8$For, createRenderEffect as $9HbP8$createRenderEffect, createComputed as $9HbP8$createComputed, batch as $9HbP8$batch, createResource as $9HbP8$createResource, createReaction as $9HbP8$createReaction, Suspense as $9HbP8$Suspense } from "solid-js";
|
|
4
4
|
|
|
5
5
|
/*! Depict.ai search and product listing SDK */
|
|
6
6
|
import { register_es_version } from "../multi_import_deduplicator.mjs";
|
|
7
7
|
register_es_version("ui", "latest");
|
|
8
|
-
const $ec291e0010116877$export$83d89fbfd8236492 = "1.4.
|
|
8
|
+
const $ec291e0010116877$export$83d89fbfd8236492 = "1.4.19";
|
|
9
9
|
|
|
10
10
|
// Errors caused by SDK consuming code interfacing with the SDK, not the SDK itself or other Depict packages
|
|
11
11
|
class $4fd48cb976bf1789$export$e1d52e4f0c7557a1 extends Error {}
|
|
@@ -5076,6 +5076,7 @@ function $dfa5b6f7c5e421df$export$5646050d516e06bc({
|
|
|
5076
5076
|
}) {
|
|
5077
5077
|
const placeholder_crumb_data = [,,,];
|
|
5078
5078
|
const crumb_data = $9HbP8$createMemo(() => get_api_crumb_data() || placeholder_crumb_data);
|
|
5079
|
+
const href_accessor = $9HbP8$use_href_accessor();
|
|
5079
5080
|
return $9HbP8$createComponent((0, $b7436a6d1fd64e3b$export$b69d0d92862de18b), {
|
|
5080
5081
|
severity_: "error",
|
|
5081
5082
|
message_: "BreadCrumbs failed",
|
|
@@ -5086,8 +5087,10 @@ function $dfa5b6f7c5e421df$export$5646050d516e06bc({
|
|
|
5086
5087
|
return crumb_data();
|
|
5087
5088
|
},
|
|
5088
5089
|
children: (display_accessor, index) => {
|
|
5090
|
+
const is_last = $9HbP8$createMemo(() => index === crumb_data()?.length - 1);
|
|
5091
|
+
const url = $9HbP8$createMemo(() => is_last() ? href_accessor() : display_accessor()?.page_url);
|
|
5089
5092
|
const href = $9HbP8$createMemo(() => $4147651646da990a$export$43cd1e747fecd42e({
|
|
5090
|
-
to_url_:
|
|
5093
|
+
to_url_: url(),
|
|
5091
5094
|
filter_query_param_prefix_: filter_query_param_prefix_,
|
|
5092
5095
|
sorting_query_param_: sorting_query_param_
|
|
5093
5096
|
}));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@depict-ai/ui",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.19",
|
|
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,9 +236,9 @@
|
|
|
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": "^1.1.
|
|
240
|
-
"@depict-ai/types": "^1.0.
|
|
241
|
-
"@depict-ai/utilishared": "^1.0.
|
|
239
|
+
"@depict-ai/plp-styling": "^1.1.2",
|
|
240
|
+
"@depict-ai/types": "^1.0.37",
|
|
241
|
+
"@depict-ai/utilishared": "^1.0.38",
|
|
242
242
|
"solid-js": "^1.7.3"
|
|
243
243
|
},
|
|
244
244
|
"type": "module",
|
package/server/ES10/index.cjs
CHANGED
|
@@ -61,7 +61,7 @@ $parcel$export(module.exports, "defaultColsAtSize", () => $33eed84f447aa0c0$expo
|
|
|
61
61
|
$parcel$export(module.exports, "defaultCategoryTitlePlugin", () => $33eed84f447aa0c0$export$7bf543b9d9be2c22);
|
|
62
62
|
$parcel$export(module.exports, "version", () => $aa1938dec50d6c12$export$83d89fbfd8236492);
|
|
63
63
|
/*! Depict.ai search and product listing SDK */
|
|
64
|
-
const $aa1938dec50d6c12$export$83d89fbfd8236492 = "1.4.
|
|
64
|
+
const $aa1938dec50d6c12$export$83d89fbfd8236492 = "1.4.19";
|
|
65
65
|
|
|
66
66
|
// Errors caused by SDK consuming code interfacing with the SDK, not the SDK itself or other Depict packages
|
|
67
67
|
class $95e4006e1dcb5b72$export$e1d52e4f0c7557a1 extends Error {}
|
|
@@ -4306,6 +4306,7 @@ function $1c819dc9d820a149$export$5646050d516e06bc(_ref) {
|
|
|
4306
4306
|
} = _ref;
|
|
4307
4307
|
const placeholder_crumb_data = [,,,];
|
|
4308
4308
|
const crumb_data = $3hooq$solidjs.createMemo(() => get_api_crumb_data() || placeholder_crumb_data);
|
|
4309
|
+
const href_accessor = $3hooq$depictaiutilishared.use_href_accessor();
|
|
4309
4310
|
return $3hooq$solidjsweb.createComponent((0, $1b3cf201cdd38687$export$b69d0d92862de18b), {
|
|
4310
4311
|
severity_: "error",
|
|
4311
4312
|
message_: "BreadCrumbs failed",
|
|
@@ -4315,14 +4316,19 @@ function $1c819dc9d820a149$export$5646050d516e06bc(_ref) {
|
|
|
4315
4316
|
return crumb_data();
|
|
4316
4317
|
},
|
|
4317
4318
|
children: (display_accessor, index) => {
|
|
4318
|
-
const
|
|
4319
|
+
const is_last = $3hooq$solidjs.createMemo(() => {
|
|
4320
|
+
var _crumb_data;
|
|
4321
|
+
return index === ((_crumb_data = crumb_data()) === null || _crumb_data === void 0 ? void 0 : _crumb_data.length) - 1;
|
|
4322
|
+
});
|
|
4323
|
+
const url = $3hooq$solidjs.createMemo(() => {
|
|
4319
4324
|
var _display_accessor;
|
|
4320
|
-
return
|
|
4321
|
-
to_url_: (_display_accessor = display_accessor()) === null || _display_accessor === void 0 ? void 0 : _display_accessor.page_url,
|
|
4322
|
-
filter_query_param_prefix_: filter_query_param_prefix_,
|
|
4323
|
-
sorting_query_param_: sorting_query_param_
|
|
4324
|
-
});
|
|
4325
|
+
return is_last() ? href_accessor() : (_display_accessor = display_accessor()) === null || _display_accessor === void 0 ? void 0 : _display_accessor.page_url;
|
|
4325
4326
|
});
|
|
4327
|
+
const href = $3hooq$solidjs.createMemo(() => $a68b73fd7ba0853f$export$43cd1e747fecd42e({
|
|
4328
|
+
to_url_: url(),
|
|
4329
|
+
filter_query_param_prefix_: filter_query_param_prefix_,
|
|
4330
|
+
sorting_query_param_: sorting_query_param_
|
|
4331
|
+
}));
|
|
4326
4332
|
return [$3hooq$solidjsweb.createComponent((0, $3hooq$solidjs.Show), {
|
|
4327
4333
|
get when() {
|
|
4328
4334
|
return display_accessor();
|
package/server/ES10/index.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ import { CategorySuggestion, SearchSuggestionsResponse } from "@depict-ai/types/
|
|
|
7
7
|
import { BaseSearchRequest } from "@depict-ai/types/api/BaseSearchRequest";
|
|
8
8
|
import { SearchSuggestionsRequest } from "@depict-ai/types/api/SearchSuggestionsRequest";
|
|
9
9
|
import { ProductListingRequest } from "@depict-ai/types/api/ProductListingRequest";
|
|
10
|
-
export const version = "1.4.
|
|
10
|
+
export const version = "1.4.19";
|
|
11
11
|
declare class SDKError extends Error {}
|
|
12
12
|
export class ProductCardError extends SDKError {
|
|
13
13
|
constructor(templateError: Error);
|
package/server/ES10/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { add_to_version_info as $b8hua$add_to_version_info, report as $b8hua$report, observer as $b8hua$observer, catchify as $b8hua$catchify, useExpandingContainer as $b8hua$useExpandingContainer, standard_price_format as $b8hua$standard_price_format, Amazing_Slider as $b8hua$Amazing_Slider, slider_snap_css as $b8hua$slider_snap_css, slider_fading_factory as $b8hua$slider_fading_factory, make_random_classname as $b8hua$make_random_classname, dlog as $b8hua$dlog, hex_to_rgb as $b8hua$hex_to_rgb, relative_luminance_from_rgb as $b8hua$relative_luminance_from_rgb, javascript_media_query as $b8hua$javascript_media_query, n_col_styling_with_dist as $b8hua$n_col_styling_with_dist, layout_get_visible_recs_without_partial_rows as $b8hua$layout_get_visible_recs_without_partial_rows, layout_get_total_rec_amount_for_row as $b8hua$layout_get_total_rec_amount_for_row, layout_media_query_header as $b8hua$layout_media_query_header, fetch_recs as $b8hua$fetch_recs, snakeCasifyObject as $b8hua$snakeCasifyObject, instant_exec_on_suspect_history_change as $b8hua$instant_exec_on_suspect_history_change, base_url as $b8hua$base_url, get_depict_id as $b8hua$get_depict_id, get_user_id as $b8hua$get_user_id, get_session_id as $b8hua$get_session_id, make_url_with_query_params as $b8hua$make_url_with_query_params, fetch_retry as $b8hua$fetch_retry, add_version_query_params as $b8hua$add_version_query_params, dwarn as $b8hua$dwarn, sort_obj as $b8hua$sort_obj, edit_current_page_meta_tags as $b8hua$edit_current_page_meta_tags, base64_encode_unicode as $b8hua$base64_encode_unicode, base64_decode_unicode as $b8hua$base64_decode_unicode, queueMacroTask as $b8hua$queueMacroTask, make_asyncIterable_exiter as $b8hua$make_asyncIterable_exiter, href_change_ipns as $b8hua$href_change_ipns, ContainedImage as $b8hua$ContainedImage, deparallelize_no_drop as $b8hua$deparallelize_no_drop, insert_surfaces as $b8hua$insert_surfaces } from "@depict-ai/utilishared/ES10";
|
|
1
|
+
import { add_to_version_info as $b8hua$add_to_version_info, report as $b8hua$report, observer as $b8hua$observer, catchify as $b8hua$catchify, useExpandingContainer as $b8hua$useExpandingContainer, standard_price_format as $b8hua$standard_price_format, Amazing_Slider as $b8hua$Amazing_Slider, slider_snap_css as $b8hua$slider_snap_css, slider_fading_factory as $b8hua$slider_fading_factory, make_random_classname as $b8hua$make_random_classname, dlog as $b8hua$dlog, hex_to_rgb as $b8hua$hex_to_rgb, relative_luminance_from_rgb as $b8hua$relative_luminance_from_rgb, javascript_media_query as $b8hua$javascript_media_query, n_col_styling_with_dist as $b8hua$n_col_styling_with_dist, layout_get_visible_recs_without_partial_rows as $b8hua$layout_get_visible_recs_without_partial_rows, layout_get_total_rec_amount_for_row as $b8hua$layout_get_total_rec_amount_for_row, layout_media_query_header as $b8hua$layout_media_query_header, fetch_recs as $b8hua$fetch_recs, snakeCasifyObject as $b8hua$snakeCasifyObject, instant_exec_on_suspect_history_change as $b8hua$instant_exec_on_suspect_history_change, base_url as $b8hua$base_url, get_depict_id as $b8hua$get_depict_id, get_user_id as $b8hua$get_user_id, get_session_id as $b8hua$get_session_id, make_url_with_query_params as $b8hua$make_url_with_query_params, fetch_retry as $b8hua$fetch_retry, add_version_query_params as $b8hua$add_version_query_params, dwarn as $b8hua$dwarn, sort_obj as $b8hua$sort_obj, edit_current_page_meta_tags as $b8hua$edit_current_page_meta_tags, use_href_accessor as $b8hua$use_href_accessor, base64_encode_unicode as $b8hua$base64_encode_unicode, base64_decode_unicode as $b8hua$base64_decode_unicode, queueMacroTask as $b8hua$queueMacroTask, make_asyncIterable_exiter as $b8hua$make_asyncIterable_exiter, href_change_ipns as $b8hua$href_change_ipns, ContainedImage as $b8hua$ContainedImage, deparallelize_no_drop as $b8hua$deparallelize_no_drop, insert_surfaces as $b8hua$insert_surfaces } from "@depict-ai/utilishared/ES10";
|
|
2
2
|
import { ssr as $b8hua$ssr, ssrHydrationKey as $b8hua$ssrHydrationKey, ssrClassList as $b8hua$ssrClassList, escape as $b8hua$escape, insert as $b8hua$insert, createComponent as $b8hua$createComponent, ssrAttribute as $b8hua$ssrAttribute, ssrElement as $b8hua$ssrElement, Dynamic as $b8hua$Dynamic, ssrStyle as $b8hua$ssrStyle, isServer as $b8hua$isServer, mergeProps as $b8hua$mergeProps } from "solid-js/web";
|
|
3
3
|
import { ErrorBoundary as $b8hua$ErrorBoundary, createSignal as $b8hua$createSignal, createMemo as $b8hua$createMemo, untrack as $b8hua$untrack, createEffect as $b8hua$createEffect, getOwner as $b8hua$getOwner, Show as $b8hua$Show, Index as $b8hua$Index, onCleanup as $b8hua$onCleanup, For as $b8hua$For, createRenderEffect as $b8hua$createRenderEffect, createComputed as $b8hua$createComputed, on as $b8hua$on, batch as $b8hua$batch, createRoot as $b8hua$createRoot, runWithOwner as $b8hua$runWithOwner, createResource as $b8hua$createResource, createReaction as $b8hua$createReaction, Suspense as $b8hua$Suspense } from "solid-js";
|
|
4
4
|
import $b8hua$babelruntimehelpersclassPrivateFieldSet from "@babel/runtime/helpers/classPrivateFieldSet";
|
|
@@ -8,7 +8,7 @@ import $b8hua$babelruntimehelpersdefineProperty from "@babel/runtime/helpers/def
|
|
|
8
8
|
/*! Depict.ai search and product listing SDK */
|
|
9
9
|
import { register_es_version } from "../../multi_import_deduplicator.mjs";
|
|
10
10
|
register_es_version("ui", "ES10");
|
|
11
|
-
const $8db9a15135765c11$export$83d89fbfd8236492 = "1.4.
|
|
11
|
+
const $8db9a15135765c11$export$83d89fbfd8236492 = "1.4.19";
|
|
12
12
|
|
|
13
13
|
// Errors caused by SDK consuming code interfacing with the SDK, not the SDK itself or other Depict packages
|
|
14
14
|
class $f3b7124b76123e44$export$e1d52e4f0c7557a1 extends Error {}
|
|
@@ -4253,6 +4253,7 @@ function $52efc9ae4382e25a$export$5646050d516e06bc(_ref) {
|
|
|
4253
4253
|
} = _ref;
|
|
4254
4254
|
const placeholder_crumb_data = [,,,];
|
|
4255
4255
|
const crumb_data = $b8hua$createMemo(() => get_api_crumb_data() || placeholder_crumb_data);
|
|
4256
|
+
const href_accessor = $b8hua$use_href_accessor();
|
|
4256
4257
|
return $b8hua$createComponent((0, $74777e8fe65b3dcb$export$b69d0d92862de18b), {
|
|
4257
4258
|
severity_: "error",
|
|
4258
4259
|
message_: "BreadCrumbs failed",
|
|
@@ -4262,14 +4263,19 @@ function $52efc9ae4382e25a$export$5646050d516e06bc(_ref) {
|
|
|
4262
4263
|
return crumb_data();
|
|
4263
4264
|
},
|
|
4264
4265
|
children: (display_accessor, index) => {
|
|
4265
|
-
const
|
|
4266
|
+
const is_last = $b8hua$createMemo(() => {
|
|
4267
|
+
var _crumb_data;
|
|
4268
|
+
return index === ((_crumb_data = crumb_data()) === null || _crumb_data === void 0 ? void 0 : _crumb_data.length) - 1;
|
|
4269
|
+
});
|
|
4270
|
+
const url = $b8hua$createMemo(() => {
|
|
4266
4271
|
var _display_accessor;
|
|
4267
|
-
return
|
|
4268
|
-
to_url_: (_display_accessor = display_accessor()) === null || _display_accessor === void 0 ? void 0 : _display_accessor.page_url,
|
|
4269
|
-
filter_query_param_prefix_: filter_query_param_prefix_,
|
|
4270
|
-
sorting_query_param_: sorting_query_param_
|
|
4271
|
-
});
|
|
4272
|
+
return is_last() ? href_accessor() : (_display_accessor = display_accessor()) === null || _display_accessor === void 0 ? void 0 : _display_accessor.page_url;
|
|
4272
4273
|
});
|
|
4274
|
+
const href = $b8hua$createMemo(() => $2855bffe06ef7a03$export$43cd1e747fecd42e({
|
|
4275
|
+
to_url_: url(),
|
|
4276
|
+
filter_query_param_prefix_: filter_query_param_prefix_,
|
|
4277
|
+
sorting_query_param_: sorting_query_param_
|
|
4278
|
+
}));
|
|
4273
4279
|
return [$b8hua$createComponent((0, $b8hua$Show), {
|
|
4274
4280
|
get when() {
|
|
4275
4281
|
return display_accessor();
|
package/server/latest/index.cjs
CHANGED
|
@@ -55,7 +55,7 @@ $parcel$export(module.exports, "defaultColsAtSize", () => $a3280f0aad997933$expo
|
|
|
55
55
|
$parcel$export(module.exports, "defaultCategoryTitlePlugin", () => $a3280f0aad997933$export$7bf543b9d9be2c22);
|
|
56
56
|
$parcel$export(module.exports, "version", () => $b757f75811f3261f$export$83d89fbfd8236492);
|
|
57
57
|
/*! Depict.ai search and product listing SDK */
|
|
58
|
-
const $b757f75811f3261f$export$83d89fbfd8236492 = "1.4.
|
|
58
|
+
const $b757f75811f3261f$export$83d89fbfd8236492 = "1.4.19";
|
|
59
59
|
|
|
60
60
|
// Errors caused by SDK consuming code interfacing with the SDK, not the SDK itself or other Depict packages
|
|
61
61
|
class $7dd1edb2ee2b43ad$export$e1d52e4f0c7557a1 extends Error {}
|
|
@@ -3977,6 +3977,7 @@ function $e53b2e7e632ac4cb$export$5646050d516e06bc({
|
|
|
3977
3977
|
}) {
|
|
3978
3978
|
const placeholder_crumb_data = [,,,];
|
|
3979
3979
|
const crumb_data = $5vyXB$solidjs.createMemo(() => get_api_crumb_data() || placeholder_crumb_data);
|
|
3980
|
+
const href_accessor = $5vyXB$depictaiutilishared.use_href_accessor();
|
|
3980
3981
|
return $5vyXB$solidjsweb.createComponent((0, $edafe91daf3091d7$export$b69d0d92862de18b), {
|
|
3981
3982
|
severity_: "error",
|
|
3982
3983
|
message_: "BreadCrumbs failed",
|
|
@@ -3986,8 +3987,10 @@ function $e53b2e7e632ac4cb$export$5646050d516e06bc({
|
|
|
3986
3987
|
return crumb_data();
|
|
3987
3988
|
},
|
|
3988
3989
|
children: (display_accessor, index) => {
|
|
3990
|
+
const is_last = $5vyXB$solidjs.createMemo(() => index === crumb_data()?.length - 1);
|
|
3991
|
+
const url = $5vyXB$solidjs.createMemo(() => is_last() ? href_accessor() : display_accessor()?.page_url);
|
|
3989
3992
|
const href = $5vyXB$solidjs.createMemo(() => $1ab22f2cd39b3061$export$43cd1e747fecd42e({
|
|
3990
|
-
to_url_:
|
|
3993
|
+
to_url_: url(),
|
|
3991
3994
|
filter_query_param_prefix_: filter_query_param_prefix_,
|
|
3992
3995
|
sorting_query_param_: sorting_query_param_
|
|
3993
3996
|
}));
|
package/server/latest/index.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ import { CategorySuggestion, SearchSuggestionsResponse } from "@depict-ai/types/
|
|
|
7
7
|
import { BaseSearchRequest } from "@depict-ai/types/api/BaseSearchRequest";
|
|
8
8
|
import { SearchSuggestionsRequest } from "@depict-ai/types/api/SearchSuggestionsRequest";
|
|
9
9
|
import { ProductListingRequest } from "@depict-ai/types/api/ProductListingRequest";
|
|
10
|
-
export const version = "1.4.
|
|
10
|
+
export const version = "1.4.19";
|
|
11
11
|
declare class SDKError extends Error {}
|
|
12
12
|
export class ProductCardError extends SDKError {
|
|
13
13
|
constructor(templateError: Error);
|
package/server/latest/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { add_to_version_info as $i7OB2$add_to_version_info, report as $i7OB2$report, observer as $i7OB2$observer, catchify as $i7OB2$catchify, useExpandingContainer as $i7OB2$useExpandingContainer, standard_price_format as $i7OB2$standard_price_format, Amazing_Slider as $i7OB2$Amazing_Slider, slider_snap_css as $i7OB2$slider_snap_css, slider_fading_factory as $i7OB2$slider_fading_factory, make_random_classname as $i7OB2$make_random_classname, dlog as $i7OB2$dlog, hex_to_rgb as $i7OB2$hex_to_rgb, relative_luminance_from_rgb as $i7OB2$relative_luminance_from_rgb, javascript_media_query as $i7OB2$javascript_media_query, n_col_styling_with_dist as $i7OB2$n_col_styling_with_dist, layout_get_visible_recs_without_partial_rows as $i7OB2$layout_get_visible_recs_without_partial_rows, layout_get_total_rec_amount_for_row as $i7OB2$layout_get_total_rec_amount_for_row, layout_media_query_header as $i7OB2$layout_media_query_header, fetch_recs as $i7OB2$fetch_recs, snakeCasifyObject as $i7OB2$snakeCasifyObject, instant_exec_on_suspect_history_change as $i7OB2$instant_exec_on_suspect_history_change, base_url as $i7OB2$base_url, get_depict_id as $i7OB2$get_depict_id, get_user_id as $i7OB2$get_user_id, get_session_id as $i7OB2$get_session_id, sort_obj as $i7OB2$sort_obj, fetch_retry as $i7OB2$fetch_retry, add_version_query_params as $i7OB2$add_version_query_params, dwarn as $i7OB2$dwarn, make_url_with_query_params as $i7OB2$make_url_with_query_params, edit_current_page_meta_tags as $i7OB2$edit_current_page_meta_tags, base64_encode_unicode as $i7OB2$base64_encode_unicode, base64_decode_unicode as $i7OB2$base64_decode_unicode, queueMacroTask as $i7OB2$queueMacroTask, make_asyncIterable_exiter as $i7OB2$make_asyncIterable_exiter, href_change_ipns as $i7OB2$href_change_ipns, ContainedImage as $i7OB2$ContainedImage, deparallelize_no_drop as $i7OB2$deparallelize_no_drop, insert_surfaces as $i7OB2$insert_surfaces } from "@depict-ai/utilishared/latest";
|
|
1
|
+
import { add_to_version_info as $i7OB2$add_to_version_info, report as $i7OB2$report, observer as $i7OB2$observer, catchify as $i7OB2$catchify, useExpandingContainer as $i7OB2$useExpandingContainer, standard_price_format as $i7OB2$standard_price_format, Amazing_Slider as $i7OB2$Amazing_Slider, slider_snap_css as $i7OB2$slider_snap_css, slider_fading_factory as $i7OB2$slider_fading_factory, make_random_classname as $i7OB2$make_random_classname, dlog as $i7OB2$dlog, hex_to_rgb as $i7OB2$hex_to_rgb, relative_luminance_from_rgb as $i7OB2$relative_luminance_from_rgb, javascript_media_query as $i7OB2$javascript_media_query, n_col_styling_with_dist as $i7OB2$n_col_styling_with_dist, layout_get_visible_recs_without_partial_rows as $i7OB2$layout_get_visible_recs_without_partial_rows, layout_get_total_rec_amount_for_row as $i7OB2$layout_get_total_rec_amount_for_row, layout_media_query_header as $i7OB2$layout_media_query_header, fetch_recs as $i7OB2$fetch_recs, snakeCasifyObject as $i7OB2$snakeCasifyObject, instant_exec_on_suspect_history_change as $i7OB2$instant_exec_on_suspect_history_change, base_url as $i7OB2$base_url, get_depict_id as $i7OB2$get_depict_id, get_user_id as $i7OB2$get_user_id, get_session_id as $i7OB2$get_session_id, sort_obj as $i7OB2$sort_obj, fetch_retry as $i7OB2$fetch_retry, add_version_query_params as $i7OB2$add_version_query_params, dwarn as $i7OB2$dwarn, make_url_with_query_params as $i7OB2$make_url_with_query_params, edit_current_page_meta_tags as $i7OB2$edit_current_page_meta_tags, use_href_accessor as $i7OB2$use_href_accessor, base64_encode_unicode as $i7OB2$base64_encode_unicode, base64_decode_unicode as $i7OB2$base64_decode_unicode, queueMacroTask as $i7OB2$queueMacroTask, make_asyncIterable_exiter as $i7OB2$make_asyncIterable_exiter, href_change_ipns as $i7OB2$href_change_ipns, ContainedImage as $i7OB2$ContainedImage, deparallelize_no_drop as $i7OB2$deparallelize_no_drop, insert_surfaces as $i7OB2$insert_surfaces } from "@depict-ai/utilishared/latest";
|
|
2
2
|
import { ssr as $i7OB2$ssr, ssrHydrationKey as $i7OB2$ssrHydrationKey, ssrClassList as $i7OB2$ssrClassList, escape as $i7OB2$escape, insert as $i7OB2$insert, createComponent as $i7OB2$createComponent, ssrAttribute as $i7OB2$ssrAttribute, ssrElement as $i7OB2$ssrElement, Dynamic as $i7OB2$Dynamic, ssrStyle as $i7OB2$ssrStyle, isServer as $i7OB2$isServer, mergeProps as $i7OB2$mergeProps } from "solid-js/web";
|
|
3
3
|
import { ErrorBoundary as $i7OB2$ErrorBoundary, createSignal as $i7OB2$createSignal, createMemo as $i7OB2$createMemo, untrack as $i7OB2$untrack, createEffect as $i7OB2$createEffect, getOwner as $i7OB2$getOwner, Show as $i7OB2$Show, Index as $i7OB2$Index, onCleanup as $i7OB2$onCleanup, For as $i7OB2$For, createRenderEffect as $i7OB2$createRenderEffect, createComputed as $i7OB2$createComputed, on as $i7OB2$on, batch as $i7OB2$batch, createRoot as $i7OB2$createRoot, runWithOwner as $i7OB2$runWithOwner, createResource as $i7OB2$createResource, createReaction as $i7OB2$createReaction, Suspense as $i7OB2$Suspense } from "solid-js";
|
|
4
4
|
|
|
5
5
|
/*! Depict.ai search and product listing SDK */
|
|
6
6
|
import { register_es_version } from "../../multi_import_deduplicator.mjs";
|
|
7
7
|
register_es_version("ui", "latest");
|
|
8
|
-
const $ec291e0010116877$export$83d89fbfd8236492 = "1.4.
|
|
8
|
+
const $ec291e0010116877$export$83d89fbfd8236492 = "1.4.19";
|
|
9
9
|
|
|
10
10
|
// Errors caused by SDK consuming code interfacing with the SDK, not the SDK itself or other Depict packages
|
|
11
11
|
class $4fd48cb976bf1789$export$e1d52e4f0c7557a1 extends Error {}
|
|
@@ -3927,6 +3927,7 @@ function $dfa5b6f7c5e421df$export$5646050d516e06bc({
|
|
|
3927
3927
|
}) {
|
|
3928
3928
|
const placeholder_crumb_data = [,,,];
|
|
3929
3929
|
const crumb_data = $i7OB2$createMemo(() => get_api_crumb_data() || placeholder_crumb_data);
|
|
3930
|
+
const href_accessor = $i7OB2$use_href_accessor();
|
|
3930
3931
|
return $i7OB2$createComponent((0, $b7436a6d1fd64e3b$export$b69d0d92862de18b), {
|
|
3931
3932
|
severity_: "error",
|
|
3932
3933
|
message_: "BreadCrumbs failed",
|
|
@@ -3936,8 +3937,10 @@ function $dfa5b6f7c5e421df$export$5646050d516e06bc({
|
|
|
3936
3937
|
return crumb_data();
|
|
3937
3938
|
},
|
|
3938
3939
|
children: (display_accessor, index) => {
|
|
3940
|
+
const is_last = $i7OB2$createMemo(() => index === crumb_data()?.length - 1);
|
|
3941
|
+
const url = $i7OB2$createMemo(() => is_last() ? href_accessor() : display_accessor()?.page_url);
|
|
3939
3942
|
const href = $i7OB2$createMemo(() => $4147651646da990a$export$43cd1e747fecd42e({
|
|
3940
|
-
to_url_:
|
|
3943
|
+
to_url_: url(),
|
|
3941
3944
|
filter_query_param_prefix_: filter_query_param_prefix_,
|
|
3942
3945
|
sorting_query_param_: sorting_query_param_
|
|
3943
3946
|
}));
|